Blog/Modbus

Modbus14 April 20265 minutes

Modbus TCP or Modbus RTU? A decision guide for metering projects

Both are called Modbus, both read the same registers, and yet the choice between them is rarely made on technical grounds. It is made on what is already installed in the building. That is not wrong, but it deserves a deliberate check.

Key points

  • The register model is identical; only the transport differs.
  • RTU: one master, one fieldbus, no IP addresses.
  • TCP: several clients at once, but one IP address per device.
  • Above a certain number of devices, operation matters more than technology.

What stays the same

Both variants use the same data model: 16-bit registers, read with the same function codes, usually 3 for holding and 4 for input registers. Larger values such as energy readings span several registers.

In practice this means the register table in the manual applies to both. Switching from RTU to TCP does not change how the measured values are mapped.

What differs

TransportRTU: RS-485 · TCP: Ethernet
FrameRTU: CRC16 and silent interval · TCP: MBAP header, checked by TCP
ParticipantsRTU: one master · TCP: several clients at once
AddressingRTU: slave address 1–247 · TCP: IP address plus unit identifier
PortTCP: 502
Typical pitfallsRTU: topology and termination · TCP: address allocation and firewall

The third difference matters most: with RTU only one master may talk. A control system polling the segment effectively occupies it alone. With TCP, several systems can read the same device in parallel.

The questions that decide

  1. What is already installed? An existing RS-485 segment is a strong argument, and so is existing Ethernet in the plant room.
  2. How many systems need the data? More than one argues against RTU as the only solution.
  3. How many devices? Every TCP device is a network node with an address, firmware and maintenance effort.
  4. Who runs the network? If IT has to approve every address individually, the device count becomes a project risk.
  5. Should data leave the building? Then neither RTU nor TCP is the answer, but MQTT.

The third way: consolidate

Above a certain number of devices, “RTU or TCP” is the wrong question. Twenty meters directly on the network mean twenty IP addresses, twenty firmware versions and twenty places where a reading can silently fail.

A gateway solves this: the EMU M-Center reads up to 64 devices via two RS-485 interfaces plus Modbus TCP over Ethernet, combines both into a single network node and passes the values on to BACnet IP, OPC UA, MQTT, (s)FTP and e-mail at the same time.

The decision then moves from the protocol level to the operational level – and that is usually the more honest question.

In short

Fieldbus installed, one control systemModbus RTU
Ethernet installed, few devicesModbus TCP
Several target systemsModbus TCP or gateway
Many devices, mixed protocolsGateway
Data should go to the cloudMQTT, usually via a gateway

For the installation pitfalls of RS-485, see the five most common pitfalls.

Frequently asked questions


What is the difference between Modbus TCP and Modbus RTU?

The data model is identical – 16-bit registers, the same function codes. The transport differs: RTU runs over RS-485 with CRC16 and a silent interval, TCP over Ethernet on port 502 with an MBAP header. With TCP several clients can read at once, with RTU only one master.

Can I use the same register table for both variants?

Yes. Register addresses, data types and byte order are the same. Switching from RTU to TCP does not change how the measured values are mapped.

When is a gateway better than a direct connection?

As soon as several target systems need the same data or the number of devices grows. Twenty directly connected meters mean twenty IP addresses and twenty things to maintain; a gateway combines them into one network node.

Read more


SEITERS-485 / Modbus RTUInterface SEITETCP/IP interfaceInterface TXTModbus RTU over RS-485: the five most common pitfalls when building the busBlog post

Questions about your project?


Send us your meter list and the target system. We will tell you what works together – and what does not.

Phone
+41 (0)41 545 03 00

Technical support
helpdesk [at] emuag.ch
Support form →