Bluemation

Modbus TCP vs Modbus RTU: Differences and When to Use Each

Same data model, two completely different physical layers. Here's how we decide whether a device goes on RS-485 as RTU or on Ethernet as TCP, and what happens when a project needs to mix both.

Back to Blog

Modbus: the industrial protocol that's been alive for over 40 years

Modbus was born in 1979, created by Modicon (now Schneider Electric) as a simple communication protocol for its own PLCs. Four decades later it remains one of the most widely used protocols in industry, and not out of sheer inertia: it's open and free (no licenses or royalties), it has an extremely simple data model (coils, discrete inputs, input registers and holding registers), and practically every manufacturer of drives, power meters, energy analyzers and industrial sensors implements it by default. That combination of simplicity and universal adoption is why it remains, to this day, the common denominator for integrating equipment from different manufacturers.

What confuses many engineers starting out is that "Modbus" is actually two different protocols that share a data model but not a physical layer or a way of transporting messages: Modbus RTU and Modbus TCP.

Modbus RTU: serial master-slave communication

Modbus RTU runs over a serial line, typically RS-485 (two wires, multidrop, up to 32 devices per segment without a repeater) or RS-232 (point to point). It's a strictly master-slave architecture: a single master polls, and up to 247 slaves, each with a unique address from 1 to 247, respond only when directly polled. There's no slave-to-slave communication, and no slave can initiate a transmission on its own.

Typical speeds range from 9600 to 115200 baud, and the frame format is binary and compact, with error checking via CRC. It's the natural choice for low-cost field devices — temperature probes, entry-level drives, energy meters — where the cost of an Ethernet interface isn't justified, and for installations where RS-485 wiring is already in place and replacing it makes no sense.

Modbus TCP: the same data model over Ethernet

Modbus TCP encapsulates exactly the same data model — the same coils and registers — inside a standard TCP/IP packet, typically over port 502. By riding on Ethernet, it inherits its advantages: much higher speeds, structured cabling with switches instead of a shared serial bus, and the ability for multiple clients (a SCADA system, an HMI and a PLC, for example) to read the same device at the same time — something Modbus RTU can't natively do, since it only allows one master per segment.

The trade-off is that every device needs an Ethernet interface, which on very simple or low-cost equipment may not be available or may add noticeable cost per component.

RTU vs TCP, point by point

Aspect Modbus RTU Modbus TCP
Physical layer RS-485 / RS-232 (serial) Ethernet
Addressing Slave ID (1-247) IP address + optional Unit ID
Simultaneous masters One per segment Multiple clients at once
Typical speed 9600 – 115200 baud 10/100/1000 Mbps
Cabling Twisted pair, multidrop bus Network cable, star topology with switches
Cost per device Low Medium (requires Ethernet interface)

Modbus RTU/TCP gateways: same language, different physical layer

When a project needs to bring older field devices — an RS-485 probe, a legacy energy meter — into a modern, Ethernet-based architecture, the usual solution is a Modbus RTU/TCP gateway: a small unit that exposes toward the TCP network the same registers the serial device offers on its RS-485 bus, translating between the two formats transparently for the master. This is exactly the logic we apply in the multiprotocol system described in our article on BMS with a Wago PLC, where solar inverters and power analyzers coexist in the same architecture regardless of whether they natively speak RTU or TCP.

Common mistakes when mixing RTU and TCP in the same project

Most issues in Modbus projects don't come from the protocol itself, but from implementation details that vary between manufacturers:

  • Register addressing with a different offset: some manufacturers number registers starting at 0 and others at 1 in their documentation, which leads to reading the wrong register if it isn't verified against that specific device's manual.
  • Incorrect line termination on RS-485: forgetting the 120-ohm termination resistors at the ends of the bus causes reflections and intermittent communication errors, especially on long buses.
  • Timeouts misconfigured when mixing RTU and TCP through a gateway: a TCP master expecting a response as fast as a native Ethernet device might give up on an RTU slave that simply takes longer to respond over the serial bus.
  • Exceeding the maximum bus length or slave count without adding an RS-485 repeater, which degrades the signal gradually and in ways that are hard to diagnose.
  • Confusing the Unit ID on pure TCP: when there's no gateway involved, many Modbus TCP devices ignore the Unit ID and the IP address is enough; assuming a slave ID is needed without checking generates unnecessary configuration errors.

When to choose RTU and when to choose TCP

The decision is rarely a matter of preference — it comes down to the project's context. Modbus RTU makes sense for low-cost sensors and actuators, remote installations with limited available bandwidth or existing RS-485 wiring, and small panels with few devices where an Ethernet interface per unit isn't worth it. Modbus TCP is the natural choice as a project scales up — many devices, several lines — when multiple systems need to read the same data point at once (a SCADA system and a PLC polling the same power analyzer, for example), or when the installation already uses industrial Ethernet as its backbone and adding one more Modbus TCP device is trivial.

How Modbus fits into a modern architecture

Modbus still lives at the field layer, close to the sensor and the actuator, while newer protocols like OPC UA or MQTT operate at the integration layer, feeding SCADA, IIoT platforms or the ERP. In practice, most projects combine both levels: field devices speak Modbus (RTU or TCP as needed), and a PLC or gateway aggregates that data and exposes it upward over a more modern protocol, without that meaning Modbus gets replaced at the level where it remains the simplest, most reliable option.

How we work with it at Bluemation

At Bluemation we decide between RTU and TCP — or between mixing both through a gateway — based on the specific project, not a default preference: we evaluate the device count, the distance, the existing wiring, and which other systems need access to the same data. That decision is part of every PLC programming or industrial protocol integration project we take on.

If you have equipment from different manufacturers that needs to be integrated into a single architecture, regardless of which protocol it speaks natively, check out our PLC programming service or get in touch with us. We'll help you define the communications architecture before you buy the first piece of equipment.

Let's Connect

Ready to transform your industrial processes?

Let's discuss how our automation solutions can drive efficiency and innovation in your business.

Chat with us