Hardware. Firmware. Software. One engineering partner.Based in India · Working worldwide   Deutsch ↗
iTechGeeks engineering

OPC UA, MQTT and Modbus, implemented properly.

Implementing and translating the protocols industrial equipment speaks, including gateway development, register mapping, broker architecture and secure configuration.

Protocols are a means, not a goal

Nobody sets out to implement MQTT. They set out to see what a machine is doing from somewhere that is not next to the machine. The protocol work is what stands between those two states, and doing it badly produces a system that technically transfers data while remaining difficult to extend and impossible to trust.

We have written a detailed comparison of the three protocols you are most likely to encounter in OPC UA vs MQTT vs Modbus. This page is about the implementation work itself.

What we implement

  • Modbus, RTU and TCP, as client or server, including recovering undocumented register maps from equipment whose manual has been lost or was never accurate.
  • OPC UA, client and server, including information modelling so your data is browsable and typed rather than a flat list, and certificate handling that your team can actually operate.
  • MQTT, including topic namespace design, quality-of-service selection, retained messages, last will handling and broker architecture.
  • Sparkplug B, where multiple systems or vendors publish to a shared broker and a common convention is needed.
  • Translation between them, which is the most common request: reading Modbus or OPC UA at the machine and publishing MQTT northbound.
  • Serial and vendor protocols, where equipment speaks something proprietary and documentation is partial.

The parts that decide whether it works

Behaviour when things fail

A protocol implementation is easy to write for the case where everything is connected. What separates a system that survives a year in production is what it does when a device stops responding, when the network drops, when the broker restarts, or when a buffer fills. Those behaviours should be decided deliberately and tested by causing them, not discovered.

The data model

Whether it is an OPC UA address space or an MQTT topic namespace, the structure you choose will be depended upon by every consumer that follows. A structure that describes physical location survives; one that encodes wiring, vendor names or IP addresses breaks the first time anything is replaced.

Rate and volume

Polling faster than a value changes costs bus time, bandwidth and storage without producing information. Publishing on change with a heartbeat routinely reduces volume by an order of magnitude on slow-moving industrial signals, and on metered connections that is directly a monthly cost.

Security that is actually enabled

OPC UA supports certificates and encryption; MQTT supports TLS and access control. Both are regularly deployed with those features switched off because it made commissioning easier. We treat the secure configuration as part of the deliverable rather than as a later hardening exercise.

How we help

  • Assessment. What each device exposes, what upstream expects, and where translation should happen.
  • Gateway development. Firmware and software for acquisition, buffering, translation and publishing, on hardware suited to the environment.
  • Register map recovery. Establishing empirically what undocumented registers contain, including scaling, signedness and word order, verified against values you can independently confirm.
  • Namespace and model design. A structure that will still make sense when the estate has doubled.
  • Broker architecture. Local, cloud or both, with a considered position on persistence, access control and what happens during an outage.
  • Commissioning and testing. Including deliberately interrupting connections to confirm the system behaves as designed.

What you receive

The implementation and its source, the documented data model and mapping, the security configuration, and test evidence covering the failure behaviours that were specified.

Start a conversation

What speaks what?

Tell us what protocols your equipment offers, what your upstream systems expect, and whether documentation exists. Register maps or tag lists are the most useful thing to share.

Prefer email? Write to info@itechgeeks.in

Common questions

What clients ask before starting

Which protocol should we use?

It depends on what the equipment exposes, who has to interpret the data and where it has to travel. Our comparison of OPC UA, MQTT and Modbus sets out the decision in detail. In retrofit work the field layer is usually decided for you by the installed equipment.

Our equipment has no documentation for its registers. Can you still read it?

Usually yes. Register contents can be established empirically by reading values you can independently verify, such as ones the machine displays on its own panel, and adjusting until they agree. Scaling, signedness and word order are resolved the same way.

Can you translate between protocols?

Yes, and it is the most common request. Reading Modbus or OPC UA at the machine and publishing MQTT northbound is the standard arrangement for getting plant data to a cloud or corporate system.

Do you set up the MQTT broker as well?

Yes, including whether it should be local, cloud-based or both, along with persistence, access control per topic and the behaviour expected during an outage.

How do you test that it will not fall over?

By causing the failures deliberately: disconnecting devices, pulling the network, restarting the broker and filling buffers, then confirming the system behaves the way the design said it would.