
The function block AntcasTCP.Client provides a TCP server for Antcas Control.
The input activates the socket and allows, if true, the connection.
The input sets the port of the TCP server. This should be defined directly.
This input/output variable defines the communication between the client function block and the individual rw-function blocks. Note the global variable AntcasTCP_uiMAX_RW_FB: UINT. This defines the maximum number of function blocks. The default value is 1024.
The output xConnected provides information about the communication status. This is true if a connection has been successfully established and all data have been synchronized.
The output provides information about the communication status. This is true if an error has occurred. This can be the case when the connection timeout is reached or when the handshake fails.