Function Description

The function block UA_MonitoredItemRmvList is used to remove multiple nodes from a subscription using a list of node handles.

Representation in FBD

Parameter Description

Input parameters:

Name

Type

Comment

EXECUTE

BOOL

FB performs its task on rising edge on this input.

SUBSCRIPTIONHDL

DWORD

Subscription handle.

MONITOREDITEMHDLCOUNT

UINT

Number of valid elements in the array to remove.

MONITOREDITEMHDLS

ANY_ARRAY_DWORD

Array of Monitored Node Handles

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.

NODEERRORIDS

ANY_ARRAY_DWORD

Array of DWORD. Contains an error code for each valid element of the NOEHDLS array.

Runtime Error

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