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”.
Properties:
IPAddress, inherited from RDT_Base
RcvTimeout, inherited from RDT_Base
TrsTimeout, inherited from RDT_Base
Methods:
FlushRec, inherited from RDT_Base
ReceiveBytes, inherited from RDT_Base
SendBytes, inherited from RDT_Base
SetTLSContext, inherited from RDT_Base
Structure: