Modbus is not arcane: just a question-and-answer convention between devices
Meters, PLCs and temperature-humidity sensors in a switchgear cabinet mostly speak Modbus. There is nothing mystical about it: the master calls each slave in turn and each slave answers with register values. Get addresses, function codes, registers and byte order straight, and most on-site “it will not communicate” cases can be pinned down.

In a switchgear cabinet there is a meter, a PLC and two temperature-humidity sensors. The wiring is done, yet the platform shows no readings at all. The technician crouches by the cabinet and says one sentence: Modbus is not communicating.
It sounds like some deep technology, but taken apart it is just a question-and-answer convention the devices agreed on.
First, Modbus in plain language
One bus carries a master and several slaves. The master calls them one by one: is unit 1 there? Report the value in register 0. Unit 1 answers: here, the value is 250. Then the master asks unit 2.
What Modbus defines is exactly this: how to address a unit (slave address), what to ask for (function code), which stretch to read (register address), how many (quantity) and how to check the answer (CRC). It does not define how temperature is displayed or how alarms are handled — that is a layer above.
Modicon created it in 1979 for PLC communication and later published it; it became the most widely spoken “common language” on industrial sites. Old, simple and royalty-free, which is why it lasts.
Three common forms
Modbus RTU: runs over RS-485 or RS-232, binary, and is the most common form. Meters, temperature controllers, VFDs and PLCs mostly use it. Wiring is usually the A/B pair; parameters must match: baud rate, data bits, parity, stop bits. 9600 8N1 is a common combination, but a given site may differ.
Modbus ASCII: also serial, writes bytes as readable characters, slower, rarely seen now.
Modbus TCP: runs over Ethernet, default port 502, puts the RTU question-and-answer inside TCP, drops the CRC and relies on the network layer. Common between PLCs, gateways and hosts.
They are all called Modbus, but the wire underneath differs — the first place people get confused on site.
Four drawers: coils and registers
Modbus keeps data in four kinds of drawer: coils (readable and writable bits), discrete inputs (read-only bits), input registers (read-only values) and holding registers (readable and writable values).
Read coils with 01, discrete inputs with 02, input registers with 03, holding registers with 04; write a single coil with 05, a single register with 06, several with 15 and 16.
No need to memorise them: just know the four kinds exist and do not ask for the wrong address.
A more realistic example
Suppose slave 1 is a temperature-humidity transmitter, with temperature in holding register 0 at a scale of 0.1. The master sends: slave 01, function code 03, start address 0000, quantity 0001.
The slave answers: 01, 03, 02, 00 FA. The 02 means two bytes follow; 00 FA is 250 in decimal, and times 0.1 that is 25.0 °C.
The manual says 40001, while the frame may carry 0. 40001 is a naming convention, not the real address in the frame. Some manuals count from 0, some from 1 — the off-by-one is a classic trap.
Why the site keeps saying “not communicating”
Check the wire first: is A/B reversed, are the shield and ground handled, are 120 Ω terminators fitted at both ends on long runs.
Then the parameters: baud rate, data bits, parity and stop bits must match exactly between master and slave.
Then the address: any duplicate slave numbers on the bus, and is the number you are asking the right one.
Then the point table: is the function code right, is the register address off by one, is the quantity out of range.
Finally the data: a 32-bit value spans two registers and the word order may be reversed; signed versus unsigned and the scale factor have to be checked against the manual.
Keep that order. If the wire is not up, editing the point table until dawn changes nothing.
What Modbus can do
Read: voltage, current, power, energy, temperature, humidity, pressure, level, flow, VFD frequency, PLC status.
Write: start and stop, setpoints, frequency references, reset, remote switching.
Connect: chain a run of devices to a gateway, then feed SCADA, HMI panels or a cloud platform.
It suits sites with a modest point count and unremarkable real-time demands: distribution rooms, pump stations, water treatment, HVAC, greenhouses, workshop equipment and EV chargers.
It does not suit high-speed synchronised motion control, bulk files or video, or anything requiring strong authentication. It has no login, no encryption and no permissions — never expose port 502 straight to the internet.
Modbus only covers how to talk; the platform handles what comes after
Modbus answers how devices ask and reply. It does not answer what this register is called, what unit it is in, how history is stored, how a limit raises an alarm, or how a fault is handled remotely.
Those belong to the platform.
HG IoT connects over TCP and MQTT, brings device data in through a point table, then uses a device model to give data from different brands one name: temperature is temperature, energy is energy. Every report no longer has to remember a register address.
Once the data is in, you get real-time values, history curves, online/offline records, threshold alarms, remote IO and OTA. Accounts can run on public cloud, or deploy privately with Docker and keep the data in your own server room.
One thing to state clearly: the HG IoT access layer runs TCP and MQTT and does not provide a Modbus serial port directly. A Modbus device on site is usually converted by a gateway from RTU/TCP to MQTT or TCP, then connected against the point table. Choosing the gateway and matching points is part of the access assessment.
We do not reverse-engineer protocols or modify device hardware; whether a device can connect starts from its communication manual and point table.
Try one meter first
There is no need to connect the whole distribution room at once. Pick one meter or one PLC, get the wire, parameters, slave number and point table right, read one correct value, then walk through history and alarms.
Once one works, copying the rest means something.
If you have a Modbus device at hand, send the model, the communication manual and the point table. We will first decide where the gateway goes and how the points map, then talk about schedule.



