7.7 UA_NodeGetHandleList
| 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 OF UANodeID | See UANodeID. Length is vendor-specific (MAX_ELEMENTS_NODELIST). | |
| 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 OF DWORD | Array of NodeErrorIDs. Contains an error code for each valid element of the NodeIds array. Length is vendor-specific (MAX_ELEMENTS_NODELIST). | |
| B | NodeHdls | ARRAY OF DWORD | 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 | |||||