Client_TCP_StateCode
Client_TCP_StateCode (ENUM)
TYPE Client_TCP_StateCode: IDLE
Attributes: qualified_only
InOut:
IDLE
0
Idle, initialize outputs (immediately after startup / after the Error state)
READY
10
Ready to transmit Modbus telegrams
CHECK_INPUT
20
Checking inputs for changes
RESOLVE
21
Conversion of sHostAddress into an IP address
RESOLVED
22
Successful completion of name resolution
SET_PARAMETER
23
Configuring the socket with the TCP parameters
PENDING
30
Socket configuration / configuration of the TCP keep-alive - function
PREPARING
31
Setting the IP address and port of the TCP server
CONNECT
40
Establishing the connection between the client and the server
CONNECTION_CHECK
41
Checking the successfully established connection
CONNECTED
50
Connection between the client and the server was successfully established
SEND
60
Sending the Modbus request telegram (Request)
CHECK_SEND
61
Checking whether sending the Modbud request telegram ( Request) is possible
RECEIVE
70
Receiving the Modbus response telegram (Response)
CHECK_RECEIVE
71
Checking whether receiving the Modbus response telegram ( Response) is possible
ERROR
99
Error state / connection teardown
Last updated

