On your meters, Modbus often carries the consumption data that a building automation and control system must continuously monitor, log and analyse under Approved Document L[1][1]RegulationHM Government, Approved Document L, Volume 2: Buildings other than dwellings (2021 edition incorporating 2023 amendments), paragraphs 6.66 to 6.72See in sources ↓. That requirement applies to new non-domestic buildings, and to systems installed or replaced, where heating or air-conditioning output exceeds 180 kW. Modbus is a communication protocol that links an electricity meter, a gateway or a controller to the supervisory system. Modbus carries numbers without saying what they mean. A misread produces data that is wrong but plausible. Here we explain how to read a register map, compare the variants and demand the right documents.
Modbus carries registers without describing them, all the way into your BMS
What is Modbus?
The protocol was born in 1979 at Modicon, in industrial automation[2][2]Bodies and institutionsWikipedia, “Modbus”See in sources ↓. The brand now belongs to Schneider Electric. It is open and maintained by the Modbus Organization. It relies on a request-response architecture: the client queries, the server responds. Each frame carries a function code (read registers, write a setpoint) followed by a checksum. Devices communicate over RS-485 serial links or over Ethernet.
On site, a SCADA supervisory system (software that collects and displays equipment data) or a programmable logic controller, one of those small screenless industrial computers, polls each device at a fixed interval. The response time of each slave sets the pace of the bus. This is often the channel through which data from a meter in your metering strategy comes back, whoever supplies it.
Did you know? Since July 2020, the Modbus Organization has replaced the terms master-slave with client-server in its specifications[3][3]Press and announcementsModbus Organization, “Modbus Organization Replaces Master-Slave with Client-Server”, press release of 9 July 2020See in sources ↓. Your meters’ datasheets still talk about slaves, though.
What is a register map?
The frame carries only an address and a raw value. Function codes say how to read, never what to read. All the meaning lies in the supplier’s register map: data type, unit, scaling factor and word order for each address. It changes from one manufacturer to another, sometimes from one version of a communication module to the next.
Illustrative example: an electricity meter returns the value 123,456, encoded on 32 bits. With a factor of 1, it reads 123,456 Wh. With a factor of 1,000, it becomes 123,456 kWh.
Both readings look credible on screen. The error produces data that is wrong but plausible, and nothing flags it.
How do you read a Modbus meter from a BMS?
In a commercial building, the protocol is everywhere: Modbus electricity meters and Modbus energy meters, power meters on the main LV switchboard, UPS units, chillers, boilers, variable speed drives, even solar shading motors.
The BMS, which often speaks BACnet, reads this equipment through a Modbus gateway to BACnet or through a multi-protocol controller. The polling rate is set on the client side. A meter without a Modbus output reports in other ways: through pulse metering, M-Bus or LoRaWAN.
Modbus RTU, Modbus TCP, BACnet: three languages in the same building
Modbus RTU: the RS-485 serial link in switchboards
Modbus RTU (Remote Terminal Unit) runs over RS-485, a two-wire twisted-pair physical layer. The bus accepts addresses 1 to 247, address 0 being reserved for broadcast, a message sent to all devices at once[4][4]Standards and protocolsModbus Organization, “MODBUS over Serial Line Specification and Implementation Guide V1.02”See in sources ↓. A segment carries 32 unit loads, a unit load being a measure of what a standard device draws on the line, without a repeater and over 1,000 m at most at 9,600 baud[4][4]Standards and protocolsModbus Organization, “MODBUS over Serial Line Specification and Implementation Guide V1.02”See in sources ↓.
In practice, a main switchboard with more than 32 single-unit-load meters needs a repeater or a second segment. Baud rate and parity stay the same across the whole bus: a misconfigured device stops responding. Each frame ends with a CRC-16, a check code that causes corrupted frames to be rejected[4][4]Standards and protocolsModbus Organization, “MODBUS over Serial Line Specification and Implementation Guide V1.02”See in sources ↓.
Modbus TCP: the same message on the Ethernet network
Modbus TCP carries the same application message over the Ethernet network, via TCP (Transmission Control Protocol) on port 502[5][5]Standards and protocolsModbus Organization, “MODBUS Messaging on TCP/IP Implementation Guide V1.0b”See in sources ↓. A 7-byte MBAP header identifies the transaction and the unit. It makes the CRC of the serial version unnecessary[5][5]Standards and protocolsModbus Organization, “MODBUS Messaging on TCP/IP Implementation Guide V1.0b”See in sources ↓. Addressing is no longer limited by the bus but by the network.
Is TCP faster? Ethernet bandwidth does not set the polling rate: the supervisory system’s configuration does. In the switchboard, a serial-to-TCP gateway often links the two worlds.
No security by default on the building network
The protocol provides no authentication and no encryption: any device connected to the building network can read or write a register. Since 2018, the Modbus/TCP Security variant has encrypted exchanges with TLS, the protocol that also secures websites over HTTPS, on port 802[6][6]Standards and protocolsModbus Organization, “Modbus Security Protocol Specification” (published in 2018, revised since)See in sources ↓. It remains optional in the specification. For products sold in the European Union, the Cyber Resilience Act shifts the question to manufacturers: its main obligations apply to products with digital elements from 11 December 2027[7][7]RegulationRegulation (EU) 2024/2847 of the European Parliament and of the Council of 23 October 2024 (Cyber Resilience Act), Article 71See in sources ↓.
First measure, without waiting: separate the BMS network from the office IT network.
Modbus or BACnet for metering?
The table below sets the two variants against BACnet, the native protocol of most supervisory systems. One row matters more than the others: object discovery.
| Criterion | Modbus RTU | Modbus TCP | BACnet |
|---|---|---|---|
| Physical medium | RS-485 | Ethernet | IP or MS/TP |
| Devices per segment | 247 addresses, 32 loads [4] | Network limit | Depends on the network |
| Bus length | About 1,200 m [4] | Ethernet segment | Depends on the medium |
| Typical data rate | 9,600 to 115,200 bit/s | 100 Mbit/s typical | Depends on the medium |
| Error checking | CRC-16 [4] | MBAP header without CRC, checking left to the transport layer [5] | Depends on the layer |
| Object discovery | None | None | Built in [8] |
| Native security | None | None except Modbus/TCP Security [6] |
BACnet Secure Connect |
| Where you find it | Meters, power meters | UPS units, recent power meters | Controllers and BMS supervisory systems |
| Consequence for the gateway | Manual point-by-point mapping | Manual point-by-point mapping | Objects read as they are |
BACnet can describe itself: the supervisory system lists its objects through automatic discovery[8][8]Standards and protocolsANSI/ASHRAE 135-2024 and ISO 16484-5:2022, “Building automation and control systems (BACS) - Part 5: Data communication protocol” (BACnet)See in sources ↓. The metering protocol, by contrast, only delivers addresses. Manual mapping in the communication gateway becomes the weak point of the whole chain, the link where a misaligned register goes unnoticed.
Simple on paper, fragile in operation
Open and licence-free: what is true in the market’s promise
The protocol owes its place to real strengths: no licence fees, controlled costs, simple integration with every industrial manufacturer. Almost every product on the market claims to be compatible. Without automatic discovery, though, each supplier keeps its own register map.
Neutrality applies to the format, not to the content.
What a building owner should demand at handover of a Modbus package
Here are the seven questions to put to the integrator before signing off the snag list.
Expert tip Ask the integrator for a written answer on each point:
- The register map of each device: address, function code, type, scaling, unit, byte order
- The list of slaves with their addresses and serial parameters
- The bus layout drawing with terminations and length
- The reading of each point in the supervisory system, backed by a consistent value
- How the gateway behaves after a power cut
- The supplier and the version of the communication module
- The mapping between each BMS point name and the physical meter
If one of these answers is missing, better to find out during handover than at the first annual energy report.
Without these seven written answers, handover approves wiring, not data.
What Foobot does with the Modbus meters in your portfolio
Making metering data reliable before using it
Our BMS advisory starts by qualifying each point: disconnections, data gaps, duplicates and unexplained spikes. An electricity meter that reports a wrong value in real time costs more than a silent one.
We also track down invisible drifts, those slow deviations that no alarm flags.
Testing a Modbus package at handover and during the defects liability period
At handover, we test the chain point by point, from the meter to the supervisory screen. During the defects liability period (the first year after handover), we follow up the rectification of defects, on the serial link as well as in the BMS. We work independently of whoever sells the gateway.
Tracking your meters in an EMS, then optimising control if the building warrants it
Once the data is reliable, monitoring becomes useful. Foobot’s free EMS is used to track the consumption recorded by your Modbus meters. This service comes before any change to control. AI Control only comes last, and only if the building is genuinely complex.
A misread register triggers no alarm
A silent meter always gets noticed in the end. Wrong but plausible data passes through the supervisory system and then into reporting without the slightest signal. Demand the register map of each device. Have the chain tested, from meter to reporting, before signing off the snag list.
To place this protocol alongside the other languages of the building, read our article on BACnet and BMS protocols. To make use of your readings, see how to connect an EMS to the BMS or use the free Foobot EMS. Let’s start by checking what your meters are really saying.
Frequently asked questions about Modbus
How does the Modbus protocol work?
A client sends a request to a server identified by its address. The frame carries a function code, for example read registers, followed by an error check. The server returns the requested values or an exception code.
What is Modbus TCP?
Modbus TCP carries Modbus messages in TCP/IP packets over an Ethernet network, usually on port 502[5][5]Standards and protocolsModbus Organization, “MODBUS Messaging on TCP/IP Implementation Guide V1.0b”See in sources ↓. A 7-byte MBAP header includes the unit identifier and makes the CRC of the serial version unnecessary.
What is the difference between Modbus RTU and Modbus TCP?
The application message is identical. RTU runs over an RS-485 serial link with an address from 1 to 247 and a CRC[4][4]Standards and protocolsModbus Organization, “MODBUS over Serial Line Specification and Implementation Guide V1.02”See in sources ↓. TCP runs over Ethernet without a CRC[5][5]Standards and protocolsModbus Organization, “MODBUS Messaging on TCP/IP Implementation Guide V1.0b”See in sources ↓. The comparison table above details the other differences.
How do you communicate in Modbus?
Four pieces of information are enough. The device address and its link parameters: baud rate and parity on a serial link, IP address on TCP. Then the function code to send. Finally, the manufacturer’s register map, without which the response cannot be interpreted.
What is the difference between Modbus and RS-485?
Modbus is an application protocol: it defines requests and responses. RS-485 is an electrical physical layer: two wires, voltage levels and terminations. Modbus RTU often runs over RS-485, but is not limited to it.
What is the difference between Modbus and Ethernet?
Ethernet is the network that carries the frames, just as it carries your emails. Modbus TCP uses it without changing the content: Ethernet does not say whether a register holds kWh or Wh. Only the register map does.
Sources and references
8 sources.- [4]Modbus Organization, “MODBUS over Serial Line Specification and Implementation Guide V1.02”12/2006↑ 1 2 3 4
- [5]Modbus Organization, “MODBUS Messaging on TCP/IP Implementation Guide V1.0b”10/2006↑ 1 2 3 4
- [6]Modbus Organization, “Modbus Security Protocol Specification” (published in 2018, revised since)2018↑
- [8]ANSI/ASHRAE 135-2024 and ISO 16484-5:2022, “Building automation and control systems (BACS) - Part 5: Data communication protocol” (BACnet)2022↑
