FB-Name

UA_TranslatePath

This Function Block is used to get the node parameters of a node using path of the node.

VAR_INPUT

B

Execute

BOOL

FB performs its task on rising edge on this input.

B

ConnectionHdl

DWORD

Connection handle.

B

StartNodeID

STRUCT

See UANodeID. Structure UANodeID with node parameters for starting node.

B

RelativePath

STRING

Path of the Target node; BNF of RelativePath is defined in OPC 10000-4.

B

Timeout

TIME

Time to response.

VAR_OUTPUT

B

TargetNodeID

STRUCT

See UANodeID. Structure UANodeID with node parameters. For target node mentioned by RelativePath at the input of this FB.

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: This FB is deprecated and just for backward compatibility – better use UA_TranslatePathList

UA_TranslatePath

BOOL

Execute

TargetNodeID

STRUCT

DWORD

ConnectionHdl

Done

BOOL

STRUCT

StartNodeID

Busy

BOOL

STRING

RelativePath

Error

BOOL

TIME

Timeout

ErrorID

DWORD