FB-Name |
UA_Browse |
|||
This Function Block is used to navigate through the Address Space. Passing a starting node, the server retuns a list of nodes by references.The MaxArray size is configured for the controller must be passed as the RequestMaxReferencePerNode in the firmeware service call. |
||||
VAR_INPUT |
||||
B |
Execute |
BOOL |
FB performs its task on rising edge on this input. |
|
B |
ConnectionHdl |
DWORD |
Connection handle. |
|
E |
ViewDescription |
UAViewDescription |
Optional: Shall be an empty parameter if NOT browsing a View. |
|
B |
BrowseDescription |
UABrowseDescription |
Starting Node and other information for navigation. Hint: This parameter is ignored if the ContinuationPointIn is not 0 |
|
B |
ContinuationPointIn |
DWORD |
If set to 0 the browse starts with starting node. If set to ContinuationPointOut it can be used for browse next service. |
|
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. |
|
B |
ErrorID |
DWORD |
Error code. |
|
B |
BrowseResultCount |
UINT |
The number of entries in the BrowseResult array
|
|
B |
BrowseResult |
ARRAY OFUAReferenceDescription |
List of references and target node information for the node passing the filter criteria in the request Length is vendor-specific (MAX_ELEMENTS_BROWSERESULT). See Constants of Array Lengths Hint: MaxSize is initialized by a predefined fixed size |
|
B |
ContinuationPointOut |
DWORD |
Set when the server was not able to to deliver all results. Can be used to copy it to ContinuationPointIn for browse next service |
|
Notes: - |
|
|
UA_Browse |
|
|
||
BOOL |
|
Execute |
|
Done |
|
BOOL |
DWORD |
|
ConnectionHdl |
|
Busy |
|
BOOL |
UAViewDescription |
|
ViewDescription |
|
Error |
|
BOOL |
UABrowseDescription |
|
BrowseDescription |
|
ErrorID |
|
DWORD |
DWORD |
|
ContinuationPointIn |
|
BrowseResultCount |
|
UINT |
TIME |
|
Timeout |
|
BrowseResult |
|
ARRAY OFUAReferenceDescription |
|
|
|
|
ContinuationPointOut |
|
DWORD |
|
|
|
|
|
|
|