ModbusTCPComState (ENUM)

TYPE ModbusTCPComState :

Attributes:
qualified_only
InOut:

Name

Initial

Comment

OFF

0

no action performed on socket, e.g. if slave is disabled.

CONNECTING

1

TCP connect request is currently running

CONNECTED

2

TCP connection is established

DISCONNECTING

3

TCP connection is aborted (by application)

SOCKET_ERROR

4

a TCP socket error occured, e.g. if read/write failed due to a disconnected cable etc.