UA_Browse

This Function Block is used to navigate through the address space. Passing a starting node, the server returns a list of nodes by references.

 

 

 

UA_Browse

 

 

 

BOOL

–

 

Execute

Done

 

–

BOOL

DWORD

–

 

ConnectionHdl

Busy

 

–

BOOL

UABrowseDescription

–

 

BrowseDescription

Error

 

–

BOOL

DWORD

–

 

ContinuationPointIn

ErrorID

 

–

L_IOCP_ErrorId

TIME

–

 

Timeout

BrowseResultCount

 

–

UINT

 

 

 

 

BrowseResult

 

–

ARRAY OF UAReferenceDescription

 

 

 

 

ContinuationPointOut

 

–

DWORD

               

Inputs

Name

Data type

Information/possible settings

Execute

BOOL

FALSEäTRUE

On rising edge FB performs its task.

ConnectionHdl

DWORD

Connection handle.

BrowseDescription

UABrowseDescription

Starting Node and other information for navigation. See UABrowseDescription.

This parameter is ignored if the ContinuationPointIn is not 0

ContinuationPointIn

DWORD

If set to 0 the browse starts with starting node. If set to ContinuationPointOut it can be used for browse_next service.

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.

BrowseResultCount

UINT

The number of entries in the BrowseResult array

BrowseResult

List of references and target node information for the node