The function block UA_MethodGetHandleList is used to get the method handles for a method call.
WARNING | |
---|---|
Input |
Data type |
Description |
---|---|---|
Execute |
BOOL |
Upon a rising edge, the function block is being executed. Also refer to Behavior of Function Blocks with the Input Execute. |
Timeout |
TIME |
Maximum time to respond. Value range: 2 s...60 s If the value is out of range the upper or lower limit is applied. Default value: GPL.Timeout |
ConnectionHdl |
DWORD |
Connection handle. |
NodeIDCount |
UINT |
Number of node paths in the arrays ObjectNodeIDs and MethodNodeIDs. It must not exceed the value of GPL.MAX_ELEMENTS_METHOD. |
ObjectNodeIDs |
ARRAY [1..GPL. MAX_ELEMENTS_METHOD] OF UANodeID |
Array containing paths of object nodes. |
MethodNodeIDs |
ARRAY [1..GPL. MAX_ELEMENTS_METHOD] OF UANodeID |
Array containing paths of method nodes. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Indicates that the execution of the function block was completed successfully. |
Busy |
BOOL |
Indicates that the execution of the function block is in progress. |
Error |
BOOL |
Indicates that an error was detected during execution.
NOTE: Even if Error indicates FALSE, verify the corresponding ErrorIDs before processing the namespace indexes.
|
ErrorID |
Provides additional diagnostic information as a numeric value. For each specified namespace URI, a separate result is provided. |
|
ErrorIDs |
ARRAY [1..GPL. MAX_ELEMENTS_METHOD] OF ET_Result |
Array containing error codes for each node ID specified inside the arrays at the function block input. |
MethodHdls |
ARRAY [1..GPL.MAX_ELEMENTS_NODELIST] OF DWORD |
Array containing method handles for each node ID specified inside the arrays at the function block input. |