IoT Write
x/iotWrite: Universal acquisition write node, delegates to protocol-specific write node by driver.
Requires: rulego-components-iot (opens new window)
# Configuration
| Field | Type | Description | Default |
|---|---|---|---|
| driver | string | Protocol: modbus/s7/eip/snmp/opcua/mc/fins/dlt645/iec104 | Required |
| (others) | — | Passed to protocol write node (server/points/timeout) | — |
# Input/Output
- Input: msg.Data with
[{"name","addr","type","value"}], supports${msg.xx}templates - Output: Success/Failure routing
# Supported drivers
| driver | Delegate node |
|---|---|
| modbus | x/modbusWrite |
| s7 | x/s7Write |
| eip | x/eipWrite |
| snmp | x/snmpWrite |
| opcua | x/opcuaWrite |
| mc | x/mcWrite |
| fins | x/finsWrite |
| dlt645 | x/dlt645Write |
| iec104 | x/iec104Write |
# Example
{
"driver": "modbus",
"server": "tcp://192.168.1.100:502",
"points": [
{"name": "setTemp", "addr": "40001", "type": "INT16", "value": "${msg.targetTemp}"}
]
}
1
2
3
4
5
6
7
2
3
4
5
6
7
Edit this page on GitHub (opens new window)
Last Updated: 2026/07/29, 07:07:39