FB-Name |
UA_NodeGetHandleList |
|||
This Function Block is used to get node handles for multiple nodes. |
||||
VAR_INPUT |
||||
B |
Execute |
BOOL |
FB performs its task on rising edge on this input. |
|
B |
ConnectionHdl |
DWORD |
Connection handle. |
|
B |
NodeIDCount |
UINT |
Number of NodeIDs in Array of NodeIDs. |
|
B |
NodeIDs |
ARRAY OFUANodeID |
Length is vendor-specific (MAX_ELEMENTS_NODELIST). See Constants of Array Lengths Array length of NodeIDs and NodeHdls must be same. |
|
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 OFDWORD |
Array of NodeErrorIDs. Contains an error code for each valid element of the NodeIds array. Length is vendor-specific (MAX_ELEMENTS_NODELIST). See Constants of Array Lengths Shall be same size like the NodesIDs array length. |
|
B |
NodeHdls |
ARRAY OFDWORD |
Array of Node Handles. Length is vendor-specific (MAX_ELEMENTS_NODELIST). See Constants of Array Lengths Array length of NodeIDs and NodeHdls must be same. |
|
Notes: The NodeHdl is a reference to the internal management object for the node in the client. However, the internal client implementation shall also register the node at the server (“RegisterNode”). This enables the OPC UA Server to optimize the communication. |
|
|
UA_NodeGetHandleList |
|
|
||
BOOL |
|
Execute |
|
Done |
|
BOOL |
DWORD |
|
ConnectionHdl |
|
Busy |
|
BOOL |
UINT |
|
NodeIDCount |
|
Error |
|
BOOL |
ARRAY OF STRUCT |
|
NodeIDs |
|
ErrorID |
|
DWORD |
TIME |
|
Timeout |
|
NodeErrorIDs |
|
ARRAY OF DWORD |
|
|
|
|
NodeHdls |
|
ARRAY OF DWORD |
|
|
|
|
|
|
|