UA_TranslatePathList
This Function Block is used to get the node parameters of a node using paths of the node for multiple nodes. This function block is commonly used to program against type definitions.
|
|
|
|
UA_TranslatePathList |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
BOOL |
– |
|
Execute |
Done |
|
– |
BOOL |
|
DWORD |
– |
|
ConnectionHdl |
Busy |
|
– |
BOOL |
|
UINT |
– |
|
BrowsePathsCount |
Error |
|
– |
BOOL |
|
ARRAY OF UABrowsePath |
– |
|
BrowsePaths |
ErrorID |
|
– |
L_IOCP_ErrorId |
|
TIME |
– |
|
Timeout |
TargetNodeIDs |
|
– |
ARRAY OF UAExpandedNodeID |
|
|
|
|
|
TargetErrorIDs |
|
– |
ARRAY OF L_IOCP_ErrorId |
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Execute BOOL |
FALSEäTRUE |
On rising edge FB performs its task. |
|
ConnectionHdl DWORD |
Connection handle. |
|
|
BrowsePathsCount UINT |
Number of UABrowsePath in Array of BrowsePaths. |
|
|
BrowsePaths ARRAY OF UABrowsePath |
An Array of UABrowsePath with node parameters for starting node and relative path. |
|
|
Timeout TIME |
Maximum time to response. |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
Done BOOL |
TRUE |
Signals has completed its task. |
|
Busy BOOL |
TRUE |
The FB is not finished and new output values are to be expected. |
|
Error BOOL |
TRUE |
An error has occurred in the service request or in a specific node access. For details see ErrorID and / or NodeErrorIDs. |
|
ErrorID L_IOCP_ErrorId |
If Error = TRUE:Error code for a failed service request. |
|
|
TargetNodeIDs ARRAY OF UAExpandedNodeID |
Node parameters for target nodes mentioned by BrowsePaths at the input of this FB. |
|
|
TargetErrorIDs ARRAY OF L_IOCP_ErrorId |
Contains an error code for each element of the Target NodeIDs array. |
|