UA_NodeReleaseHandleList

This Function Block is used to release a set of node handles. 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

 

–

L_IOCP_ErrorId

TIME

–

 

Timeout

NodeErrorIDs

 

–

Array of L_IOCP_ErrorId

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Execute

BOOL

FALSEäTRUE

On rising edge FB performs its task.

ConnectionHdl

DWORD

Connection handle.

NodeHdlCount

UINT

Number of Nodes in NodeHdls Array.

NodeHdls

ARRAY of DWORD

Array of Node handles to be released. Length of Array is MAX_ELEMENTS_NODELIST.

Timeout

TIME

Maximum time to response.

Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

Signals has completed its task.

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 or in a specific node access. For details see ErrorID and / or NodeErrorIDs.

ErrorID

L_IOCP_ErrorId L_IE1P_Error

If Error = TRUE:

Error code for a failed service request. Here you can find information on error or warning messages.

NodeErrorIDs

ARRAY of L_IOCP_ErrorId

If Error = TRUE and ErrorID = LUA_EADNODERESULTERROR:

Error code for each valid element of the NodeIDs array. Length of array is MAX_ELEMENTS_NODELIST. Array length of NodeIDs and NodeHdls must be same.