Call for WRITE operations (the name TIA_WRITE is the arbitrarily chosen name for this call)
Input Parameter
For the WRITE Connector Call, you need to configure the “operationType ” and the “nodeId” (consisting of 2 parameters: identifier and namespaceIndex). Furthermore, you need to define the operationTarget and the value.
operationType: Defines which operation you want to execute, in this case, “WRITE”.
Parameter Name: operations/arrayItem[0]/operationType
Constant Value: WRITE
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
Constant Value: 84 - NamespaceIndex:
Parameter Name: operations[0]/nodeId/namespaceIndex
Data Type: String
Constant Value: 0
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:
Parameter Name: operations[0]/operationTarget
Constant Value: Choose between
- WITHOUT_EVERYTHING
- WRITE_ONLY
- CONFIRM_ONLY
- WRITE_THEN_CONFIRM
- READ_ONLY
- READ_THEN_WRITE
- READ_THEN_CONFIRM
- READ_THEN_WRITE_THEN_CONFIRM
values The values, which are going to be written into the nodes.
Parameter Name: operations[0]/value
Data Type: String
The position of the values will equal the position of the node. For example, if node a is on the first position and node b on the second, whereas value x is on the first and value y on the second position then value x will be written into node a and value y into node b.
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]/newValue/value (exemplary)
Data Type: depends on the parameter you want to be returned.
For now, only the complete unformatted JSON will be returned.