UA_MethodGetHandleList
This Function Block is used to get handles for multiple OPC UA methods. The handle is a reference to the internal management object for the Method call in the client.
|
|
|
|
UA_MethodGetHandleList |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
BOOL |
– |
|
Execute |
Done |
|
– |
BOOL |
|
DWORD |
– |
|
ConnectionHdl |
Busy |
|
– |
BOOL |
|
UINT |
– |
|
NodeIDCount |
Error |
|
– |
BOOL |
|
ARRAY of UANodeID |
– |
|
ObjectNodeIDs |
ErrorID |
|
– |
L_IOCP_ErrorId |
|
ARRAY of UANodeID |
– |
|
MethodNodeIDs |
NodeErrorIDs |
|
– |
ARRAY of L_IOCP_ErrorId |
|
TIME |
– |
|
Timeout |
MethodHdls |
|
– |
ARRAY of DWORD |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Execute BOOL |
FALSEäTRUE |
On rising edge FB performs its task. |
|
ConnectionHdl DWORD |
Connection handle. |
|
|
NodeIDCount UINT |
Number of NodeIDs in Array of NodeIDs. |
|
|
ObjectNodeIDs ARRAY of NodeID |
See UANodeID. Length of Array is MAX_ELEMENTS_NODELIST. Array length of NodeIDs and NodeHdls must be same. |
|
|
MethodNodeIDs ARRAY of NodeID |
See UANodeID. Length of Array is MAX_ELEMENTS_NODELIST. Array length of NodeIDs and NodeHdls must be same. |
|
|
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 |
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. |
|
|
MethodHdls ARRAY of DWORD |
Array of Method Handles. Length of array is MAX_ELEMENTS_NODELIST. Array length of NodeIDs and NodeHdls must be same. |
|