FB-Name

UA_NodeReleaseHandleList

This Function Block is used to release a set of node handles.

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

NodeHdlCount

UINT

Number of Nodes in NodeHdls Array.

B

NodeHdls

ARRAY OF DWORD

Array of Node handles to be released.Length is vendor-specific (MAX_ELEMENTS_NODELIST). See Constants of Array Lengths NULL is not a valid handle.

B

Timeout

TIME

Time to response.

VAR_OUTPUT

B

Done

BOOL

FB has completed its task.

B

Busy

BOOL

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

B

Error

BOOL

Signals that an error has occurred within the FB. Set to TRUE if either ErrorID or any of the NodeErrorIDs indicates an error.

B

ErrorID

DWORD

Error code.

B

NodeErrorIDs

ARRAY OF DWORD

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

Length is vendor-specific (MAX_ELEMENTS_NODELIST). See Constants of Array Lengths Shall be same size like the NodeHdls array length.

Notes: After calling UA_NodeReleaseHandleList the NodeHdls will be invalid.

UA_NodeReleaseHandleList

BOOL

Execute

Done

BOOL

DWORD

ConnectionHdl

Busy

BOOL

UINT

NodeHdlCount

Error

BOOL

ARRAY OF DWORD

NodeHdls

ErrorID

DWORD

TIME

Timeout

NodeErrorIDs

ARRAY OF DWORD