RDT_Client
(FB)
FUNCTION_BLOCK RDT_Client EXTENDS RDT_Base IMPLEMENTS IRdtProtClient
Client FB that encapsulates NBS.TCP activities in Redundancy Data Transfer
To connect to a TCP Server at the endpoint defined with “ipAddress” and “uiPort” in “Initialize” method the input “xEnable” should set to “TRUE”. While setup the connection “xBusy” is “TRUE” but “xActive” is “FALSE”. After the connection is established “xActive” and “xBusy” are “TRUE” and the “itfConnection” output is valid. After closing the connection from the server side “xActive” becomes “FALSE””, “itfConnection” becomes invalid and “xDone” becomes “TRUE”.