✔ Communication Protocol

What is Modbus RTU? The most widespread, simplest serial protocol

Modbus was developed in 1979 and, thanks to its simplicity, is still one of the most widely used industrial protocols. The version that runs over a serial line is called Modbus RTU and mostly uses an RS-485 line.

Power analysers, meters, motor drives, temperature controllers and many sensors support Modbus RTU.

Highlights

  • RS-485 / RS-232
  • Master / Slave
  • Device addresses 1–247
  • ~1200 m
  • Open protocol

How does it work?

A line has one master (for example SCADA or a PLC) and one or more slaves (devices). The master asks each device in turn; devices only answer when asked and cannot send data on their own.

Data is held in coils (on/off values) and registers (16-bit numbers). Which value sits in which register is listed in the device manual's register map.

Hardware architecture

SCADA / PLCmasterUSB–RS485 or Serial PortconverterRS-485 Lineone cable, daisy chainDevice 1, 2, 3…analyser, meter, drive
  • Wiring: Devices are connected in a daisy chain. Star wiring (a separate cable to each device) causes reflections and communication errors.
  • Termination resistor: A 120 Ω resistor is fitted at the two far ends of the line only, not on devices in between.
  • Number of devices: A standard segment supports 32 unit loads. Use a repeater for more.
  • Settings: All devices on a line must share the same baud rate, parity and stop bits, and each must have a unique address.
  • Converters: Computers have no RS-485 port, so a USB–RS485 converter is used. In industrial settings choose an isolated converter.

Cable and material selection

  • Cable: Use cable made for RS-485: 120 Ω impedance, shielded, twisted pair. Twisting rejects noise; the shield blocks external interference. Ordinary signal or power cable may work over short runs but causes errors on long lines.
  • Reference (GND) wire: A third conductor for common reference alongside Data+ and Data– is recommended; it reduces errors caused by potential differences between devices.
  • Shield grounding: Usually ground the shield at a single point; grounding both ends can create a ground loop.
  • Routing: Do not run it in the same tray as motor cables or drive outputs.
  • Outdoors and between buildings: Use surge protectors on the line; between buildings, use a fibre converter where possible.
  • RS-232: Only suitable for short distances (about 15 metres) and a single device.

Distance limit and speed

The main limit of Modbus RTU is cable distance. An RS-485 line works up to about 1200 metres at lower speeds (e.g. 9600 bps); the higher the speed, the shorter the distance.

SituationSolution
Distance exceeds 1200 metresRS-485 repeater or fibre converter
Devices in different buildingsRS-485 / fibre converter or a Modbus TCP gateway
Devices in different citiesModbus TCP gateway + 4G/VPN or internet
Scan time is too longSplit the line, raise the speed or move to Modbus TCP

In short: Modbus RTU is cheap and simple, but you are limited by cable distance. With Modbus TCP, Ethernet, fibre and the internet would remove the distance limit in practice.

Advantages and disadvantages

Advantages

  • Very simple, easy to learn and implement
  • Available on almost every field device
  • Many devices on one cable, low cabling cost
  • No licence fee
  • No network (IP) configuration needed

Disadvantages

  • Limited cable distance (about 1200 m)
  • Slow; scan time grows as devices are added
  • Only one master at a time
  • No security (encryption, authentication)
  • No time stamps or event-based reporting
  • Register maps vary by vendor

Modbus RTU compared with similar protocols

Modbus RTUModbus TCPModbus RTU over TCP
MediumRS-485 serial lineEthernetEthernet (carries the RTU frame)
Distance~1200 mPractically unlimitedSerial side ~1200 m, network side unlimited
SpeedLowHighLimited by the serial line speed
Several masters at onceNoYesUsually no
CablingOne daisy-chained cableNetwork cable or switch per deviceSerial line + converter
Best forDevices in and near the panelPlant-wide, remote devicesBringing old serial devices onto the network

How to test it

  1. Plug the USB–RS485 converter into the computer and check which COM port it gets.
  2. Find the device's speed, parity, stop bit and address settings from the manual or device menu.
  3. Start by reading a known value from the register map (e.g. voltage); if it makes sense, the connection is right.
  4. If the value looks wrong, check the data type (16/32-bit, integer/float) and word order.
  5. If there is no answer at all, try swapping A/B, and check the termination resistor and address.

Testing with ATLAS SCADA

You can also run this test by configuring ATLAS SCADA as the Modbus master. Seeing the values directly on SCADA screens, trends and alarms verifies the installation end to end.

Let's review your project together

Let's work out together which architecture, hardware and cabling fit your facility.

Let's talk about your project