Skip to content

Output Datasources

An output datasource writes data out to an external system — a PLC, broker, or control application. Unlike input datasources, outputs have no model or tag mapping: they accept a JSON payload and deliver it to the target.

ProtocolCapability
OPC-UAWrite to a node (synchronous)
MQTTPublish to a topic (configurable QoS / retain)
Modbus TCPWrite to holding registers or coils
  1. Go to Datasources → Output, click + Create, and pick the protocol.

  2. Each protocol has its own fields. Secret fields are masked as *** after saving.

    {
    "endpoint": "opc.tcp://your-plc-host:4840",
    "securityPolicy": "None",
    "authentication": "Anonymous"
    }
  3. Save the output, then enable it. An output must be enabled before it will accept a test write.

Open the output’s details, find the Test Write action, enter a JSON payload, and send it. The result shows success or the protocol error returned by the target.

Write a single node:

{
"nodeId": "ns=2;s=Temperature",
"value": 42.5
}

A successful write returns a success result; a protocol error returns a message such as OPC UA: node not found or Modbus: address out of range.

SymptomLikely cause
Connection timeoutTarget unreachable — check network path, host, and port (MQTT 1883, Modbus 502).
Datasource disabled errorEnable the output before sending a test write.
Node not found (OPC-UA)Check the NodeId format and that the node exists on the server.
Address out of range (Modbus)Stay within Modicon ranges (coils 1+, holding registers 40001+).
Admin only (403)Test writes require an admin account.

See the Troubleshooting runbook for more.