Skip to main content

Modbus RTU (Serial)

Modbus RTU is the serial (RS-485 / RS-232) variant of Modbus. Equipment with only a serial interface — inverters, power meters, environmental sensors — communicates via RTU exclusively.

Because this gateway is TCP/IP based, it does not handle serial directly; it communicates through a Modbus RTU-over-TCP gateway (an RS-485-to-Ethernet converter).

A TCP gateway is mandatory

PlantPulse Edge itself has no RS-485 port. To attach serial equipment, you need one of the following.

  1. A Modbus gateway (converter) — Moxa MGate, Advantech EKI, USR-TCP232, ICP DAS tGW, etc.
  2. A serial module on the PLC — the PLC receives RTU serial and re-exposes it as Modbus TCP

Differences between RTU and TCP

ItemModbus TCPModbus RTU
Physical layerEthernetRS-485 / RS-232
Transmission unitTCP segmentSerial frame
Slave identificationIP + (Unit ID)Unit ID
Mapping through a gatewayDirect1 TCP IP + multiple Unit IDs
Response speedFastLimited by baud rate (typically 9600–115200 bps)

→ The most common arrangement is several slaves sharing one RS-485 line (= one converter IP). Register each slave as a separate connection with its own Unit ID.


Registration form entries

FieldWhat to enterExample
IP addressIP of the RTU-over-TCP gateway192.168.0.55
PortTCP port of the gateway502 (or 8899, 4001, depending on the converter)
Unit ID (slave-id)Serial slave address (1–247)1
Response timeout (request-timeout)Response wait time (ms)5000 (longer than for TCP)
The Unit ID is what matters

Unlike Modbus TCP, RTU has multiple slaves behind the same IP. A wrong Unit ID returns "another device's values." Check each slave's manual and DIP switch settings.

Converter-side configuration checklist

ItemRecommended value
ModeTransparent / Modbus TCP-RTU gateway
Baud rateSame as the slave (9600 / 19200 / 38400, etc.)
Data bits / stop bits / paritySame as the slave (usually 8N1)
RTU response timeout1000–3000 ms
Inter-frame delayAuto, or 5–10 ms

PLC address notation for tags

The tag address format is identical to Modbus TCP (see the Modbus TCP page).

NotationMeaning
holding-register:1Holding Register 1 (16-bit)
holding-register:1:REALHolding Register 1–2 (32-bit float)
coil:1Coil 1 (1 bit)
input-register:1Input Register 1 (16-bit, read-only)

5-digit and 6-digit notation (40001, 400001) is also accepted as-is.

5-digitMeaning
1xxxxDiscrete Input
0xxxxCoil
3xxxxInput Register
4xxxxHolding Register

Data format matching

Apply the table from Modbus TCP as-is. RTU does not require any separate format.


Common problems and solutions

SymptomPossible causeSolution
"Read timeout"RTU baud rate / parity mismatchMake the serial parameters of the converter and slave identical
Only one slave responds, the rest report "Slave not present"RS-485 termination resistor / wiring / Unit ID conflictCheck the termination resistor (120Ω) at the end of the line and for duplicate Unit IDs
No slave respondsConverter mode is not "TCP server"Set the converter to Modbus TCP-RTU gateway mode
Intermittent timeoutsSerial collision (multiple masters)Only one RS-485 master is allowed
32-bit floats corruptedByte/word order (same issue as Modbus TCP)Try variants such as :UDINT_LSWORD_FIRST

Next steps