FB-Name

UA_NodeGetHandle

This Function Block is used to get the node handle.

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

NodeID

STRUCT

See UANodeID

B

Timeout

TIME

Time to response.

VAR_OUTPUT

B

NodeHdl

DWORD

Node handle.

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.

B

ErrorID

DWORD

Error code.

Notes: The NodeHdl is a reference to the internal management object for the node in the client. But the client shall also register the node at the server (“RegisterNode”). This enables the OPC UA Server to optimize the communication.

The scope of the NodeHdl is the connection. So a NodeHdl is unique for a connection but could be equal to a NodeHdl of another connection. This FB is deprecated and just for backward compatibility – better use UA_NodeGetHandleList

UA_NodeGetHandle

BOOL

Execute

NodeHdl

DWORD

DWORD

ConnectionHdl

Done

BOOL

STRUCT

NodeID

Busy

BOOL

TIME

Timeout

Error

BOOL

ErrorID

DWORD