Write
Calling this method triggers writing to tags, such that the values are written to the OPC UA server. Writing to tags requires that the tag is defined as a Write_Only tag. Read_Only tags causes an error if they are tried to be written to.
Write operations are deterministic, which means that the order of writes are guaranteed. They will be written to the OPC UA server in the same order as they are issued.
If the connection to the OPC UA server is down, from a temporary network outage, write operations are buffered in the Edge Device. As soon as the network connection is restored, the write operations will be executed, still preserving the order.
Method Name: Write
Payload: The example below shows 3 write operations to 3 different tags.
{
    "writes": 
    [
        {
            "id": "tag1",
            "value": 1
        },
        {
            "id": "tag2",
            "value": 2
        },
        {
            "id": "tag3",
            "value": 3
        }
    ]
}Result If the write operation succeeds, the following is returned:
{
    "status":200,
    "payload":null
}Last updated
Was this helpful?