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

