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] OFDWORD

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.

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