M-Bus address planner

Check an M-Bus primary address plan before commissioning: duplicates, meters left at address 0, and reserved addresses.

M-Bus and pulse Updated Free, no sign-up

Plan

One per meter, separated by commas, spaces or new lines

Address plan

Fix the plan first

Addresses in use, 1 to 250
2
Addresses still free
248
  • Pass: Every meter has an entry3 addresses
  • Pass: No duplicates
  • Pass: No meter left at 0
  • Fail: Special or reserved addresses used251–252 are reserved; 253 selects by secondary address; 254–255 are broadcasts: 254
How it’s calculated

Valid assigned primary addresses = 1…250remaining capacity = 250 − unique assigned addresses

Choose the devices that read these meters.

Build a system

The plan is not ready to commission: special or reserved address 254.

Tip: Label each meter with its primary address as you set it. A duplicate found on site costs far more than one found here.

How M-Bus primary addressing works

Every meter on a wired M-Bus segment needs its own primary address between 1 and 250. Address 0 is where most meters ship, and 251 to 255 have special roles, so a plan that uses them, or gives two meters the same address, fails at commissioning. The checker finds those problems before anyone is on site.

Addresses 1 to 250

One meter per address; 250 addresses per bus

The master reads a meter by sending a request to its primary address. Two meters on the same address both reply at once, their frames collide and the master reads neither.

Address 0

Unconfigured

Most meters leave the factory at 0. A bus with several meters still at 0 has the same problem as any duplicate. Set each meter’s address, with the manufacturer’s tool or through the M-Bus master, before connecting them together.

Addresses 251 to 255

253: secondary addressing; 254 and 255: broadcast

These are not meter addresses. 253 tells the bus that a meter has been selected by its secondary address, the eight-digit identity every meter carries. 254 and 255 are broadcasts. 251 and 252 are reserved.

Secondary addressing avoids setting primary addresses at all: the master finds each meter by its unique identity number. It is slower to scan and not every master supports it, which is why most small sites still use primary addresses. More than 250 meters on one bus needs secondary addressing or a second segment.

M-Bus address plan examples

Six heat meters, ready to commission

Each of the six meters has its own address, none is left at 0 and none is special. The plan shows Ready to commission, with 244 addresses free for later meters.

Address plan Ready to commission Open in the calculator

A duplicate and a meter left at 0

Two meters are set to 3, so neither can be read reliably, and one is still at 0. The checker says Fix the plan first and names both. Readdress one of the pair to 4 and the unconfigured meter to 6.

Address plan Fix the plan first Open in the calculator

A reserved address

254 is a broadcast address that every meter on the bus answers, so it cannot pick out one meter, and with more than one meter the replies collide. The plan shows Fix the plan first: move the meter to an ordinary address such as 3.

Address plan Fix the plan first Open in the calculator

M-Bus primary address ranges

What each primary address means on a wired M-Bus network (EN 13757-2 and the OMS specification).

AddressUse
0Unconfigured: how most meters ship
1 to 250One meter each
251Reserved
252Reserved
253Selects a meter by its secondary address
254Broadcast; every meter replies, so only for a bus with one meter
255Broadcast with no reply

Download this table (CSV)

Questions about M-Bus primary addresses

How many meters can be on one M-Bus?

Up to 250 by primary address. In practice the master’s supply sets the limit first: each meter draws one or more unit loads of 1.5 mA, and the cable’s resistance and capacitance limit the length. The wired M-Bus segment calculator checks those.

What is the difference between primary and secondary addressing?

A primary address is a number from 1 to 250 you set on each meter. A secondary address is the meter’s own eight-digit identity, usually its serial number, set at the factory. Secondary addressing needs no setup but takes longer to scan.

Can two buses use the same addresses?

Yes. Addresses only have to be unique on one bus, so a second M-Bus master or a second segment can start again at 1.

Limits of this result

  • This checks a plan on paper. It does not find, read or readdress meters.
  • Secondary addressing depends on the meter and the master; check it with the equipment on site.
  • Bus power, cable length and the number of unit loads are separate checks: see the wired M-Bus segment budget.

Measure it continuously

A ZHM connects one M-Bus meter and reports it wirelessly, so there is no shared bus to address; wired masters with many meters follow this plan.

Related guides

Sources

  1. OMS Specification Volume 2: Primary Communication (opens in a new tab) (PDF) OMS Group, Issue 5.0.1, 2023-12
  2. M-Bus data-link layer documentation (opens in a new tab) M-Bus Usergroup, documentation revision 4.8