Blog/M-Center

M-Center25 August 20266 minutes

From M-Bus to BACnet IP: getting meter data into building automation

The building automation system speaks BACnet. The meters speak M-Bus and Modbus. In between is a translation that is technically unspectacular – and yet regularly leads to projects in which two trades talk past each other.

Key points

  • BACnet thinks in objects, M-Bus in telegrams – the mapping is the actual work.
  • The naming convention decides whether the building automation is still readable in five years.
  • BBMD is needed as soon as BACnet has to cross subnet boundaries.
  • The M-Center is certified for BACnet IP as B-ASC; the function requires a licence.

Two worlds, two ways of thinking

M-Bus is telegram-oriented: the master asks a meter, and the meter replies with its complete data record. BACnet, by contrast, is object-oriented: every reading is an object of its own with type, instance number, name and unit, which the building automation can read individually.

So the translation is not about passing bytes through but about mapping: an M-Bus data record with twelve values becomes twelve BACnet objects. Who does this, and by which rule the objects are named, needs to be settled at the start.

BACnet IP settings in the EMU M-Center web interface with BBMD, D-Net number, port and device instance number
Four settings, nothing more. BACnet IP in the M-Center: activation, BBMD for broadcasts across subnet boundaries, D-Net number, port and device instance number. Open full view: BACnet IP settings in the EMU M-Center web interface with BBMD, D-Net number, port and device instance number

The naming convention is not a formality

The most common pitfall: objects named after the device number. Meter_0815_Value3 is clear on commissioning day and worthless three years later – at the latest after the first device replacement.

A hierarchy by location and function works better: property, building, floor, metering point, quantity. It survives a device change because the metering point stays the same even when the device behind it is replaced. The same logic applies to MQTT topics.

Agree on the scheme before the first object is created. Renaming afterwards means re-linking every connection in the building automation.

BBMD: when BACnet has to cross subnets

BACnet/IP works with broadcasts, and broadcasts stop at the subnet boundary. As soon as the building automation and the metering system sit in different network segments – in practice almost always, because metering usually gets its own VLAN – you need a BBMD, a BACnet Broadcast Management Device.

The EMU M-Center includes the BBMD function and is certified for BACnet IP as B-ASC. The BACnet function requires a licence; the order number is in the datasheet.

Several consumers, one source

An advantage that often gets lost in planning: the building automation is not the only consumer. The same M-Center passes the same values in parallel via MQTT to a dashboard, via (s)FTP or e-mail as CSV to billing and via Modbus TCP to another system.

This defuses a typical debate. The question “do the meter data belong to the building automation or to energy management?” does not need an answer, because both get them – from the same source, with the same timestamps.

Clarify before talking to the controls engineer

  • Which readings does the building automation really need – all of them or five per meter?
  • In which network segment is the building automation, and is BBMD needed?
  • Which scheme is used to name the objects?
  • Which update rate is required, and can the fieldbus deliver it at all?
  • Who maintains the object list when a meter is replaced?

The second question is most often asked too late, the last one almost never – and it is the one that hurts after three years.

Frequently asked questions


Is the EMU M-Center BACnet-certified?

Yes, for BACnet IP as B-ASC, including the BBMD function for communication across subnet boundaries. The BACnet function is enabled with a licence.

What do I need a BBMD for?

BACnet/IP uses broadcasts, which stop at the subnet boundary. If the building automation and the metering system are in different network segments – for example because metering has its own VLAN – a BBMD connects the segments.

Can the building automation get the same meter data as energy management?

Yes. The M-Center reads once and passes the values on at the same time via BACnet IP, OPC UA, MQTT, Modbus TCP and as CSV, JSON or Excel by (s)FTP and e-mail.

Read more


SEITEEMU M-CenterProduct TXTIntegrating third-party meters: untangling a mixed meter landscapeBlog post TXTPlanning MQTT topics: a scheme that survives a device replacementBlog post

Questions about your project?


Send us your meter list and the target system. We will tell you what works together – and what does not.

Phone
+41 (0)41 545 03 00

Technical support
helpdesk [at] emuag.ch
Support form →