Call for BROWSE operations (the name BROWSE is the arbitrarily chosen name for this call)
Input Parameter
For the Browse connector call, you need to configure the “operationType ” and the “nodeId“(consisting of 2 mandatory parameters: “identifier” and “namespaceIndex” and one optional parameter: “identifierType”). Furthermore, you need to define the “operationTarget”, a “returnSet” and “filterSettings” (optional).
operationType: Defines which operation you want to execute, in this case, “BROWSE”.
Parameter Name: operations[0]/operationType
Constant Value: BROWSE
Data Type: String
nodeId: Defines the identification of the OPC UA node. It is split in 3 parameters (two mandatory and one optional):
- identifier:
Parameter Name: operations[0]/nodeId/identifier
Data Type: String - namespaceIndex:
Parameter Name: operations[0]/nodeId/namespaceIndex
Data Type: String
Possible Values: All numbers from 0 to 65535. - identifierType (optional): Searches for the Identifier with a fixed Data Type.
Parameter Name: operations[0]/identifierType
Data Type: String
Constant Value: Numeric, UUID, String, Byte String
Note: In every namespace, each ID must be unique for its own identifierType (it is possible to use the String “7617” and the Numeric 7167 together in one namespace)
operationTarget: You can browse references forward, backward or in both directions. Choose between the basic attributes (simple) or further ones, depending on the class (extended).
Parameter Name: operations[0]/operationTarget
Data Type: String
Constant Value: Choose between
- SIMPLE_ALL_CHILDREN
- SIMPLE_ALL_PARENTS
- SIMPLE_BOTH
- EXTENDED_ALL_CHILDREN
- EXTENDED_ALL_PARENTS
- EXTENDED_BOTH
returnSet:
Parameter Name: operations[0]/returnSet
Data Type: String
Constant Value: LIST
filterSettings (optional):
- type:
Parameter Name: operations[0]/filterSettings/filter/filterType
Data Type: String
Constant Value: NODE_CLASS - value:
Parameter Name: operations[0]/filterSettings/filter/filterValue
Data Type: String
Constant Value: Choose between- DATA_TYPE
- METHOD
- OBJECT
- OBJECT_TYPE
- REFERENCE_TYPE
- VARIABLE
- VARIABLE_TYPE
- VIEW
- UNSPECIFIED
Batch Operations
It is possible to execute multiple different OPC UA Operations with one connector call. In order to do that, the number in the operations[X] path must be used. Each number represents one OPC UA Operation.
A batch call with two BROWSE-Operations would look as follows (only constant values are provided with bold letters):
First READ Operation:
- operations[0]/nodeId/identifierType
- operations[0]/nodeId/namespaceIndex
- operations[0]/nodeId/identifier
- operations[0]/operationType BROWSE
- operations[0]/operationTarget
- operations[0]/returnSet LIST
Second BROWSE Operation:
- operations[1]/nodeId/identifierTyp
- operations[1]/nodeId/namespaceIndex
- operations[1]/nodeId/identifier
- operations[1]/operationType BROWSE
- operations[1]/operationTarget
- operations[1]/returnSet LIST
Note: The specific commands are NOT defined here!
Output parameters
You can return all output parameters like this:
Parameter Name: /
Data Type: String
If you want to get only selected output parameters, use the following syntax:
Parameter Name: operationsResult/[0]/browseResult/children/nodes/
Data Type: depends on the parameter you want to be returned.
For now only the complete unformatted JSON will be returned.