Modbus register map
Unit ID 1 · TLS port 802 · client certificate required
Addresses are zero-based PDU addresses. Every register is an unsigned 16-bit integer, in Modbus byte order.
Holding registers
Read with FC03; write with FC06 or FC16. A multi-register write is atomic.
| Address | Parameter | Values / scale | Default |
|---|---|---|---|
| 0 | Enabled | 0 or 1 | 0 |
| 1 | Inflow setpoint | 0–1000 ÷ 100 L/s | 300 |
| 2 | Outflow setpoint | 0–1000 ÷ 100 L/s | 100 |
| 3 | Inlet blocked | 0 or 1 | 0 |
Input registers
Read with FC04.
| Address | Telemetry | Values / scale |
|---|---|---|
| 0 | Level | 0–10000 ÷ 100 percent |
| 1 | Actual inflow | ÷ 100 L/s |
| 2 | Actual outflow | ÷ 100 L/s |
| 3 | Process status | 0 stopped · 1 running · 2 fault |
| 4 | Alarms | Bit 0: level ≤10% · Bit 1: level ≥90% · Bit 2: inlet blocked |
Unsupported functions return exception 01; unknown addresses return 02; invalid values return 03. Writes accept setpoints; actual flows update on the next simulation tick.