6S Teknoloji · 19.11.2026 · 6 min read
For water and heat meters, the most common wired interface in the field is M-Bus (Meter-Bus, the EN 13757 family). It sounds like a cousin of Modbus, but it behaves very differently: there is no register map, every data record describes its own unit and scale, and the same pair of wires both powers and talks to the meters. This guide covers the three things you need to read an M-Bus water meter reliably, namely wiring, addressing and decoding the telegram, with lessons we picked up on real installations.
M-Bus is a single-master, two-wire metering bus. The master, a level converter, powers the line and talks to meters by modulating voltage; meters answer by modulating the current they draw. It is slow by design, with 2400 baud being the most common setting. Data fields are little-endian, meaning the low byte comes first, which trips up technicians used to reading big-endian Modbus dumps. The biggest difference is that M-Bus data is self-describing: in every record the meter states which unit it uses for volume and how many decimal places apply. Wireless M-Bus is a separate physical layer; this article deals with the wired version.
The bus uses two wires with no polarity, so a meter still works if its terminals are swapped. Topology is flexible, allowing line, star or tree layouts, and unlike RS-485 no termination resistor is needed. Two limits still deserve attention. The first is load: each meter draws a defined current, and the level converter datasheet states how many meters it can supply. Exceed that and the bus voltage sags, so meters at the far end start answering intermittently. The second is cable length and capacitance: long runs distort frames at higher baud rates, which is why speed is lowered on large networks.
| Symptom | Likely cause | What to check |
|---|---|---|
| One meter never answers | Wrong address, baud mismatch, loose terminal | Connect it alone and confirm address and speed |
| Distant meters answer intermittently | Overload, long cable, poor splice | Measure bus voltage at the meter, review converter capacity |
| All meters vanish at once | Short circuit, master protection tripped | Split the bus into segments to isolate the fault |
| Corrupted frames or checksum errors | Noise, a second master on the line | Make sure only one reader polls the bus |
| Physically impossible volume | Scale factor misread | Compare the raw telegram with the meter display |
Every meter has a one-byte primary address. Address 0 is the factory default for unconfigured meters, 1 through 250 are assignable, 251 and 252 are reserved, 253 is used to talk to a meter selected by secondary addressing, and 254 and 255 are broadcast addresses. Because every meter on the bus answers a query to 254, use it only for testing with a single meter connected.
Secondary addressing relies on the meter identity: the meter is first selected by its identification number, manufacturer code, version and medium, and then read through address 253. It helps on large buses where nobody assigned primary addresses, or when a wildcard search is needed. The problem we see most often is that every meter leaves the box at address 0, which creates collisions much like a Modbus slave ID conflict. Assigning a unique primary address before commissioning, and writing it on the meter label and the panel list, is the most robust approach.
A standard read takes three steps: the master resets the meter link with SND_NKE, the meter acknowledges with the single character 0xE5, the master requests data with REQ_UD2, and the meter replies with an RSP_UD long frame. The frame formats are:
E5, acknowledgement.10 C A CS 16, used for commands.68 L L 68 C A CI data CS 16, carrying measurements.When the CI field is 0x72, a fixed header comes first: a BCD identification number, a three-letter manufacturer code, version, medium (0x07 for cold water), access counter and status byte. Variable data records follow. Each record's DIF byte gives the data length and coding (integer, BCD or floating point) plus a storage number, where storage 0 is the current value and higher numbers hold periodic snapshots such as month-end readings. The VIF byte defines unit and scale:
| VIF | Meaning | Resolution |
|---|---|---|
| 0x13 | Volume | 1 litre (0.001 m³) |
| 0x16 | Volume | 1 m³ |
| 0x3B | Volume flow | 0.001 m³/h |
| 0x22 | On time | Hours |
| 0x6D | Date and time | CP32 format |
To reach the building network, a level converter is usually paired with a serial-to-Ethernet device that tunnels M-Bus frames unchanged over TCP. These are the pitfalls we hit with that setup:
Water consumption is calculated from the cumulative volume index, not from instantaneous flow: consumption = last index − first index. Flow readings miss everything that happens between samples, whereas the index is the meter's own running total. An index that goes backwards points to a meter swap or reset, and a one-off giant jump points to a read error. The meter's periodic snapshot records are a handy reference for cross-checking monthly consumption calculated on the server.
The 6S Teknoloji field agent reads M-Bus meters through a TCP converter using primary addresses. It runs the SND_NKE, acknowledgement flush and REQ_UD2 sequence, derives frame length from the L field and decodes the EN 13757-3 long frame. From the fixed header it takes identification number, manufacturer, medium and status byte; from the variable records it takes total volume, current flow, reverse volume, operating hours, the meter clock and periodic snapshot volumes by storage number. Records with all bits set, which signal invalid data, are skipped. The current reader does not use secondary addressing, so each meter needs a unique primary address at commissioning.
Data is forwarded to the server over MQTT. If the link drops, readings are buffered in a SQLite queue on the site PC for at least 30 days and are never deleted before the server acknowledges them. The server derives daily water consumption from the day-over-day change in the cumulative m³ index, ignores single readings that exceed the previous day's index by a physically impossible margin, and keeps raw readings for 13 months.
Related Content
Explore the system with your own data in a demo session.