7.9 UA_NodeGetInformation
| FB-Name | UA_NodeGetInformation | ||
| This Function Block is used to get the node information. | |||
| VAR_INPUT | |||
| B | Execute | BOOL | On rising edge node information will be read. |
| B | ConnectionHdl | DWORD | Connection handle. |
| B | NodeID | UANodeID | See UANodeID |
| 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. |
| E | ErrorID | DWORD | Error code. |
| B | NodeGetInfoErrorIDs | ARRAY [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. |
| B | NodeInfo | UANodeInformation | See 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 | ||||||
| BOOL | Execute | Done | BOOL | |||
| DWORD | ConnectionHdl | Busy | BOOL | |||
| STRUCT | NodeID | Error | BOOL | |||
| TIME | Timeout | ErrorID | DWORD | |||
| NodeGetInfoErrorIDs | ARRAY OF DWORD | |||||
| NodeInfo | UANodeInformation | |||||