Function Description

The function block UA_SubscriptionDelete is used to delete a subscription.

Representation in FBD

Parameter Description

Input parameters:

Name

Type

Comment

EXECUTE

BOOL

FB performs its task on rising edge on this input.

CONNECTIONHDL

DWORD

Connection handle

TIMEOUT

TIME

Maximum time to response

Output parameters:

Name

Type

Comment

DONE

BOOL

FB has successfully 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. Set to true is either ErrorID or any of the NodeErrorIDs indicates an error.

ERRORID

DWORD

Error code.

Runtime Error

Refer to the Appendix for a list of OPC UA detected error codes.