Programming the OPC UA client blocks
5.5 FB232 UA_NodeGetHandleList
CP 443-1 OPC UA
Operating Instructions, 01/2017, C79000-G8976-C427-02
89
Done OUT BOOL 0, 1 Status parameter for block processing
• 0: Block execution aborted, not yet complet-
ed or not yet started
• 1: Block processing completed without er-
rors
Busy OUT BOOL 0, 1 Status parameter for block processing
• 0: Block not being processed
• 1: Block currently executing
Error OUT BOOL 0, 1 Error code
• 0: No error
• 1: An error has occurred. See "" parameter
"ErrorID".
ErrorID OUT DWORD See “Meaning” Output of the error number when "Error" = 1.
For the significance of the numbers, refer to the
section Error numbers (Page 107).
FB232 UA_NodeGetHandleList
5.5.1
Function and call interface - UA_NodeGetHandleList
Function of the block
With the block, you register nodeIDs on the connected UA server.
The UA server returns the handles. These are output by the block with the "NodeHdls"
parameter. You access the items of the node handles with the blocks "UA_ReadList" and
"UA_WriteList" at their input parameter "NodeHdls".
The nodeIDs of the target server that you specify in the "NodeIDs" input parameter must be
known to you. You store these in a UDT "UANodeIDs".
The number of target nodes at the input parameter "NodeIDCount" is always 1 so you need
to call the block separately for each nodeID