7.2 UA_Disconnect

FB-Name UA_Disconnect
This Function Block is used to close a transport connection of an OPC UA session.
VAR_INPUT
BExecuteBOOLOn rising edge connection is terminated.
BConnectionHdlDWORDConnection handle of connection to be closed.
BTimeoutTIMEMaximum time to close the connection.
VAR_OUTPUT
BDoneBOOLFB has completed its task.
BBusyBOOLThe FB is not finished and new output values are to be expected.
BErrorBOOLSignals that an error has occurred within the FB.
BErrorIDDWORDError code.
Notes: Calling UA_Disconnect (even in case of timeout or error) will release the ConnectionHdl, all node-handles and MonitoredItems.
UA_Disconnect
BOOLExecuteDoneBOOL
DWORDConnectionHdlBusyBOOL
TIMETimeoutErrorBOOL
ErrorIDDWORD