UA_Disconnect

This function block is used to close a transport connection of an OPC UA session. After calling this FB the connection handle is no longer valid.

 

 

 

 

UA_Disconnect

 

 

 

BOOL

–

 

Execute

Done

 

–

BOOL

DWORD

–

 

ConnectionHdl

Busy

 

–

BOOL

TIME

–

 

Timeout

Error

 

–

BOOL

 

 

 

 

ErrorID

 

–

L_IOCP_ErrorId

 

 

 

 

 

 

 

 

Name

Data type

Information/possible settings

Execute

BOOL

FALSEäTRUE

On rising edge connection is terminated.

ConnectionHdl

DWORD

Connection handle – of the connection to be closed.

Timeout

TIME

Maximum time to close the connection.

Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

Signals a connection has been closed successful.

Busy

BOOL

TRUE

The FB is not finished and new output values are to be expected.

Error

BOOL

TRUE

An error has occurred in the service request. For details see ErrorID.

ErrorID

L_IOCP_ErrorId L_IE1P_Error

If Error = TRUE:

Error number for the error that has occurred.

"FAST technology modules" reference manual: Here you can find information on error or warning messages.