Call for BROWSE operations (the name TIA_BROWSE_ALL_VARIABLES 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 parameter: identifier and namespaceIndex). 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/arrayItem[0]/operationType
Constant Value: BROWSE
Data Type: String
nodeID: Defines the identification of the OPC/UA node. It is split in 2 parameter:
- Identifier:
Parameter Name: operations[0]/nodeId/identifier
Data Type: String or Numeric - NamespaceIndex:
Parameter Name: operations[0]/nodeId/namespaceIndex
Data Type: String
In every namespace, each ID must be unique (it is possible to use the String “7617” and the Numeric 7167 together in one namespace) - identifierType (optional): Searches for the Identifier with a fixes Data Type.
Parameter Name: operations[0]/identifierType
Constant Value: Numeric, UUID, String, Byte String
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/arrayItem[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
NOTE: The specific commands are NOT defined here!
Output parameters
You can return all output parameter like this:
Parameter Name: /
Data Type: String
If you want to get only selected output parameter, 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.