PreviousNext
Help > Modbus Steps Reference > Open/Close Functions > Open TCP
Open TCP

This step configures and initializes a Modbus TCP connection with the device.

To configure this step open the Edit Step window from Sequence editor.

In the configuration dialog box, you can change the following settings:

·          Connection Name: connection used to communicate with the device.

·          Device IP Address: IP Address of the MODBUS Slave.

·          Port: communication port used for the TCP/IP communication. Default value is 502 for MODBUS over TCP.

·          Unit ID: device targeted by all Modbus master read and write operations.

·          Timeout: communication timeout in milliseconds for the specified connection.

Tip  You can use “localhost” as IP address.

Note  Please read Execution Trace and Steps Variables chapter to learn more about accessing configuration of this step.

 

See Also

Standard Functions

Custom Functions