7.9 UA_NodeGetInformation

FB-Name UA_NodeGetInformation
This Function Block is used to get the node information.
VAR_INPUT
BExecuteBOOLOn rising edge node information will be read.
BConnectionHdlDWORDConnection handle.
BNodeIDUANodeIDSee UANodeID
BTimeoutTIMETime to response.
VAR_OUTPUT
BDoneBOOLFB has completed its task.
BBusyBOOLThe FB is not finished and new output values are to be expected.
BErrorBOOLSignals that an error has occurred within the FB.
EErrorIDDWORDError code.
BNodeGetInfoErrorIDsARRAY [0 .. 22] OF
DWORD

Array of DWORD. Contains an error code for each valid element of the NodeHdls array.

Shall be same size like number of UANodeInformation elements. This struct has 20 elements.
The NodeGetInfoErrorIDs have the same indices as in OPC 10000-6 specification defined, e.g. (Value = 13). The size of the array is from 0 to 22 where elements 0 and 1 are not being used.

BNodeInfoUANodeInformationSee UANodeInformation

Notes: Depending on the responded NodeClass (see UANodeClassMask) the corresponding NodeGetInfoErrorID shall have the following errors.

Elements, which are not in this NodeClass existing shall have PLCopenUA_Bad_AttributeIdUnknown.

Elements, which should exist but don’t, shall have PLCopenUA_Bad_AttributeIdInvalid.

Valid elements shall have OpcUa_Good.

UA_NodeGetInformation
BOOLExecuteDoneBOOL
DWORDConnectionHdlBusyBOOL
STRUCTNodeIDErrorBOOL
TIMETimeoutErrorIDDWORD
NodeGetInfoErrorIDsARRAY OF DWORD
NodeInfoUANodeInformation