ArduinoModbus - modbusTCPClient.begin()

Description

Start the Modbus TCP client with the specified parameters.

Syntax

modbusTCPClient.begin(ip, port);

Parameters

  • ip - the IP Address the client will connect to
  • port - port to the client will connect to

Returns

1 on success, 0 on failure