Function Description
The function block UA_Disconnect is used to close a transport connection of an OPC UA session.
Representation in FBD
Parameter Description
Name |
Type |
Comment |
---|---|---|
EXECUTE |
BOOL |
On rising edge connection is terminated. |
CONNECTIONHDL |
DWORD |
Connection handle of connection to be closed. |
TIMEOUT |
TIME |
Maximum time to close the connection. |
Name |
Type |
Comment |
---|---|---|
DONE |
BOOL |
FB has completed its task. |
BUSY |
BOOL |
The FB is not finished and new output values are to be expected. |
ERROR |
BOOL |
Signals that an error has occurred within the FB. |
ERRORID |
DWORD |
Runtime Error
Refer to the Appendix for a list of OPC UA detected error codes.