UA_MethodReleaseHandleList

This Function Block is used to release a set of method handles. After calling UA_MethodReleaseHandleList the Method handles will be invalid.

 

 

 

UA_MethodReleaseHandleList

 

 

 

BOOL

–

 

Execute

Done

 

–

BOOL

DWORD

–

 

ConnectionHdl

Busy

 

–

BOOL

UINT

–

 

MethodHdlCount

Error

 

–

BOOL

ARRAY of DWORD

–

 

MethodHdls

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.

MethodHdlCount

UINT

Number of Methods in MethodHdls Array.

MethodHdls

ARRAY of DWORD

Array of Method handles to be released. Length of Array is MAX_ELEMENTS_Methods.

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.

"FAST technology modules" reference manual:

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.