Modbus RTU, MQTT, and OPC UA in Telemetry
How to place Modbus RTU, MQTT, and OPC UA at the right layer of a remote telemetry system without confusing field protocols with upstream data movement.
You should leave with a practical protocol-boundary model for Modbus RTU, MQTT, and OPC UA in unattended-site telemetry.
Key questions
- Where does Modbus RTU belong in telemetry?
- When should remote telemetry use MQTT?
- When is OPC UA useful for remote sites?
Modbus RTU, MQTT, and OPC UA in Telemetry
Modbus RTU, MQTT, and OPC UA are often discussed as if they are competing answers to one question. In real remote telemetry systems, they usually belong at different layers. Modbus RTU is often closest to legacy field devices. MQTT often fits event-oriented movement across constrained or cloud-connected paths. OPC UA often fits richer industrial interoperability when systems need structured context and stronger integration semantics.
The risk is choosing a protocol by popularity instead of by layer. A remote site can use Modbus RTU locally, convert or buffer at a gateway, publish MQTT upstream, and still expose structured data elsewhere through OPC UA. The architecture matters more than the label.
Quick answer
Use Modbus RTU near field devices when legacy equipment, meters, drives, or simple controllers already speak it. Use MQTT when the telemetry path benefits from lightweight publish-style movement, report-by-exception, and broker-based distribution. Use OPC UA when the upstream environment needs richer context, industrial interoperability, and structured information models. Do not force one protocol to solve every layer.
Layer model
| Layer | Common protocol fit | What the layer should own | | --- | --- | --- | | Field device layer | Modbus RTU, vendor serial, discrete/analog I/O | Reading actual site signals and device registers | | Local cabinet or gateway layer | Modbus TCP, gateway mapping, local logic, buffering | Polling, translation, deadbands, timestamps, store-and-forward | | Transport and event layer | MQTT, HTTPS APIs, brokered telemetry | Efficient upstream movement and event distribution | | Supervisory or integration layer | OPC UA, SCADA protocols, historian connectors | Context, naming, system interoperability, operator visibility |
Many failed telemetry projects happen because the team skips the gateway layer and expects the upstream platform to clean up field ambiguity later.
Modbus RTU strengths and limits
Modbus RTU is durable because it is simple and common. It is useful for:
- meters;
- analyzers;
- drives;
- packaged equipment;
- legacy controllers;
- and small remote devices with stable register maps.
Its weakness is context. A register value does not explain whether the signal is stale, noisy, scaled correctly, or meaningful under the current site state. That context usually has to be added by the RTU, gateway, SCADA, or historian layer.
MQTT strengths and limits
MQTT is attractive in telemetry because it can support efficient publish-style data movement. It fits when:
- the site should report by exception;
- bandwidth or data-plan discipline matters;
- several consumers need the same telemetry stream;
- cloud ingestion or broker-based routing is part of the design;
- and the team can define topic structure, payload contracts, and retained-message behavior.
MQTT becomes weak when teams treat it as magic structure. A broker does not fix bad signal naming, weak event logic, poor timestamps, or unclear ownership of units and state.
OPC UA strengths and limits
OPC UA can be useful when the system needs richer industrial context, not just lightweight transport. It often fits:
- plant-level integration;
- supervisory systems;
- structured equipment models;
- vendor-neutral interoperability;
- and environments where OT systems already expect OPC UA.
For small remote telemetry sites, OPC UA may be heavier than necessary unless there is a clear consumer that benefits from it.
The conversion point: where the layers meet
In a working architecture the three protocols rarely compete — they hand over to each other. A typical chain: a flow computer or PLC exposes registers over Modbus RTU; the site gateway polls those registers on a schedule or on exception, timestamps and buffers the values; the gateway republishes northbound as MQTT messages for telemetry consumers, or serves them as OPC UA objects where the consumer is a SCADA or historian platform that models assets rather than messages.
Two design rules follow. First, convert once, at the gateway — chains of converters (Modbus to a proprietary format to MQTT to a database writer) lose timestamps, quality flags and alarm context at every hop. Second, keep the field-side polling independent of the uplink: when the backhaul drops, Modbus polling and local buffering continue, and the uplink layers simply receive the backfill later. If a backhaul outage stops field data collection, the conversion point was placed in the wrong device.
What Modbus RTU cannot do
Modbus RTU’s limits are structural, and naming them prevents the commonest architecture error — asking the field layer to behave like an information layer. There are no timestamps in the protocol: a value’s time is whenever the master read it, so event sequencing across devices is approximate by construction. There is no quality flag: a register holding its last value and a register holding a live value look identical, which is why stale-data handling has to be built at the gateway. There is no security: no authentication, no encryption, so the serial segment must be physically or architecturally protected. And polling is sequential — every device on the bus waits its turn, so cycle time grows with device count and baud rate; a bus that polls thirty devices is a seconds-class system no matter how fast each transaction is.
None of this makes Modbus RTU a poor choice. It makes it a field-layer choice: superb at moving register values between nearby equipment, wrong for time-critical event reconstruction or direct exposure to anything untrusted. The gateway patterns on this page exist precisely to cover those four gaps — timestamping at read time, marking quality, terminating the insecure segment, and republishing upward in protocols that carry context.
Protocol decision checklist
Before choosing the stack, answer:
- Which devices must be read locally?
- Where will scaling, units, naming, and bad-quality handling be applied?
- What happens during network loss?
- Which system is the first trustworthy consumer of the data?
- Does the upstream platform need events, current state, history, or structured equipment context?
- Who will troubleshoot protocol failures at 2 a.m.?