Input Parameter
For the WRITE 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 mandatory “targetType” and “value”.
operationType: Defines which operation you want to execute, in this case, “WRITE”.
Parameter Name: operationType
Constant Value: WRITE
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: nodeId/identifier
Data Type: String - namespaceIndex:
Parameter Name: nodeId/namespaceIndex
Data Type: Integer
Possible Values: All numbers from 0 to 65535. - identifierType (optional): Searches for the Identifier with a fixed Data Type.
Parameter Name: identifierType
Data Type: String
Possible Values: 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)
targetType: The OPC UA Datatype that is mapped to the Simplifier Datatype
Parameter Name: targetType
Data Type: String
Possible Values: Double, String, Numeric ,Complete List for OPC UA Datatypes:
value The value, which is going to be written into the nodes.
Parameter Name: value
Data Type: String, Float, Integer (depends on targetType used)
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.
- operations[0]/nodeId/identifierType
- operations[0]/nodeId/namespaceIndex
- operations[0]/nodeId/identifier
- operations[0]/operationType
- operations[0]/targetType
- operations[0]/value
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: operationResults[0]/newValue/value (exemplary)
Data Type: depends on the parameter you want to be returned.