Blog

Integrating Mixed-Vendor and Legacy Systems Into One BMS

How gateways, networks and protocol translation make a mixed-vendor, legacy building of chillers, meters and controllers behave as one coordinated BMS.

Tan Kok XinTan Kok XinBuilding Automation & BMS Fundamentals
Illustration of one central screen wired to a row of different control panels and meters

Part 10 of 16 in Cobler's Building Automation and BMS Fundamentals course. New here? See the course page.

The chillers in the office tower arrived with the building. The energy meters came in a retrofit years later, and the lighting panel came from whoever won that tender.

Then new pumps brought yet another maker's controller. Most buildings grow like this, and very few are built from one brand.

In Part 9 we met BACnet, Modbus and the gateway between them. Now we need to join a whole building's worth of mixed equipment into one BMS (building management system), and some of it is badly documented.

Integrating mixed-vendor and legacy systems into one BMS means getting all that equipment to report to one supervisory system, and take commands from it. We'll need three things:

  • gateways that translate
  • a network to carry the data
  • a point map that states exactly what every value means

Why a building ends up a mix

A building collects equipment over decades. Each item was bought by a different project, installed by a different contractor, and chosen to solve a different problem. That history causes three practical difficulties:

  • Equipment installed years apart. A controller from 2010 and one from 2024 were designed to different assumptions. Even from the same maker, the older one may not support what the newer one expects.
  • Different makers, different protocols. A mixed building speaks both BACnet, built for whole-building systems, and Modbus, common inside meters, drives and chillers. It often has a proprietary language too, which a manufacturer created for its own products and never fully published.
  • Missing documentation. The contractor who commissioned the old lighting panel has moved on. The register map, the list that says what each Modbus register holds, was on a laptop that no longer exists.

So a large part of integration work is rediscovering what the equipment already reports, but nobody wrote down. Each piece works well on its own. What's missing is an introduction, because nobody has ever made them talk to each other.

Gateways

So the first tool is the gateway from Part 9. It reads one protocol on one side and offers the same values in another protocol on the other side.

In the office tower, the BMS runs on BACnet, and the three chillers speak Modbus. A gateway reads each chiller's registers and republishes the values as named BACnet points.

Then the head-end can display, trend and alarm on the chillers like any other equipment. That's the server and screens where operators watch and command the building, from Part 3.

But a gateway doesn't make old equipment smarter. The chiller still runs its own internal control exactly as before. What the gateway does is make the chiller's data readable by the rest of the building. Whether that data is correct depends on how carefully the gateway was configured.

Point mapping

So how do we make sure it's correct? Point mapping is the job of telling the gateway where to find every value and how to turn it into a correct, named point.

The inputs are the manufacturer's register map and the building's naming rules. The output is a mapping table that the gateway follows.

Here's part of a mapping table for chiller CH-1 in the office tower. The register numbers, raw values and scaling are an illustration, because the real ones come from the chiller manufacturer's register map.

Modbus register

Raw value

What the map says

Scaling

BACnet point on the BMS

Read or write

40001

60

Chilled water supply temperature, tenths of °C

× 0.1

CH-1 CHW Supply Temp = 6.0 °C

Read

40002

120

Chilled water return temperature, tenths of °C

× 0.1

CH-1 CHW Return Temp = 12.0 °C

Read

40003

1

Run status: 0 = off, 1 = running

none

CH-1 Status = Running

Read

40004

72

Percent of full load

none

CH-1 Load = 72%

Read

40010

60

Chilled water setpoint, tenths of °C

× 0.1

CH-1 CHW Setpoint = 6.0 °C

Read and write

The 6 °C supply and 12 °C return match the office tower's design temperatures. Now let's take the first row and follow it through the six checks a careful integrator makes.

1. Address. "40001" is a naming convention. The leading 4 means a holding register, the kind used for most readings and settings, and 0001 means the first one. But on the wire, many devices number that same register as address 0.

If the gateway and the register map count differently, every value shifts by one register. Then the BMS shows the return temperature under the supply temperature's name. The fix is to test one known value first, before mapping the rest.

2. Data type. Each Modbus register holds a 16-bit whole number, which is a number from 0 to 65,535. If the map says it's "signed", meaning it can be negative, the range is −32,768 to 32,767.

Larger values, such as a running energy total in kWh, are split across two registers, and the two halves can be sent in either order. If the gateway joins them the wrong way round, the BMS shows a huge, meaningless number. The register map says which data type each value uses.

3. Scaling and units. Modbus can't send 6.0 directly, so the chiller sends 60 and the map says "tenths of a degree". The gateway multiplies by 0.1 and labels the result in °C.

Leave out the scaling and the BMS shows 60 °C chilled water, and with the wrong factor it shows 0.6 °C. So compare each mapped value with a reading you trust, such as the chiller's own display or a calibrated thermometer on the pipe.

4. Timestamps and polling. Modbus devices only answer when asked, as we saw in Part 9. So the gateway asks each chiller for its values on a repeating cycle, which we call polling.

The value on the screen is only as fresh as the last successful answer. If the gateway polls every 30 seconds, a temperature on the BMS can be up to 30 seconds old. Add any delay further up the network.

The trend log from Part 8 also stamps each value with the time it was recorded. So the clocks on the gateway, controllers and head-end must agree, or events from different equipment appear in the wrong order.

5. Stale data. Say a chiller stops answering, because of a loose cable or a controller restart. Some gateways keep showing the last value they received. So the BMS shows a steady 6.0 °C that's no longer true, and on a trend it looks like a perfectly flat line.

A good integration gives every gateway a communication failure status and raises an alarm when it trips. It also marks the affected points as unreliable, so that no sequence acts on them.

6. Read or write. Most mapped points should be read-only, so the BMS watches them but can't change anything. A few need to be writable, such as a chiller's enable command or its chilled water setpoint in the last row of the table. That's because the plant sequence in Part 12 changes them.

Each writable point is a decision. Allow it only where the sequence needs it, limit the range the BMS may write, and record who can change it. The chiller's own safety controls stay in charge whatever the BMS writes.

Point mapping flow for chiller CH-1 register 40001 raw value 60 through address check data type scaling times 0.1 units and name to a BACnet point of 6.0 degrees C with timestamp communication status and read only access

Each mapped point gets the same checks: register, data type, scaling and units, timestamp, failure flag, and a read or write decision.

Once the first row passes all six checks, the rest of the table goes faster. The same mistakes tend to repeat across a whole register map.

The network

So the gateway now produces correct values. But how do those values travel from the plant room to the head-end?

It's tempting to treat the network as a given, cables in the wall that either work or don't. In a real building, that assumption is where many integration projects go wrong. A BMS network has two layers, and both have to be designed.

The field bus is the local wiring that links controllers and equipment in one area. That might be a row of pumps, or the room controllers on one floor. It's usually a simple twisted pair of wires running from device to device, a standard called RS-485.

It's slow, because it only carries small, frequent messages over short distances. Both protocols have a field bus form, called Modbus RTU and BACnet MS/TP.

The building backbone is the faster network, usually the same Ethernet and IP (Internet Protocol) networking that office computers use. It links the whole building and carries data up to the head-end. The IP forms of the two protocols are BACnet/IP and Modbus TCP.

Think of roads. The field bus is a village road, and the backbone is the highway between towns.

Two network layers in the office tower: an IP backbone linking the head-end supervisory controllers and a gateway and below it slower RS-485 field buses linking field controllers such as AHU-12A and the three chillers

The field bus links devices in one area. The backbone links the whole building to the head-end, and gateways and supervisory controllers sit where the two meet.

Designing the network means deciding how many devices share one field bus and how long the cable runs are. It also means deciding where the gateways sit and how the backbone is divided.

Why does that matter? If too many devices share one slow field bus, each one gets its turn less often, and data arrives late. A head-end acting on late data is making decisions about conditions that have already changed.

So a network that nobody designed is a common reason a sound BMS feels slow and unreliable in use.

Legacy systems

Now, almost every modernisation job meets the same situation. There's an old standalone system, such as a decade-old chiller controller or a lighting panel. It works well on its own, but the rest of the building can't see it.

It has no BACnet and no obvious way in. Tearing it out is the expensive, disruptive and often unnecessary answer.

So what if we bring out the data it already has? Most legacy equipment offers something:

  • A Modbus port. Connect it to a gateway and map it, as in the point-mapping example.
  • Dry contacts, simple switch contacts that open or close to show a state such as "running" or "fault". Wire them to spare digital inputs on a nearby BMS controller.
  • An analogue output, such as a 4 to 20 mA signal carrying a temperature. Wire it to a spare analogue input.

These are the same AI and DI points we met in Part 3. Where the documentation is gone, the integrator has to learn what each signal means by careful testing. For example, they switch the equipment on and off and watch which contact changes.

The old chiller controller keeps running its own logic exactly as before. But now the facility manager can see its temperatures, status and alarms on the same screen as everything else. That usually costs a fraction of replacing it, and causes far less disruption.

Replacement still has its place, when equipment is at the end of its life or when the old control logic itself is the problem. But "integrate first, replace only when there's a reason" is what separates a thoughtful upgrade from a rip-and-replace sales pitch.

Records to keep

In Part 9 we saw how undocumented, closed systems tie an owner to one supplier. Integration work creates exactly the records that prevent this. So make sure they're handed over and kept by the owner, not only by the contractor:

  1. The points list: every point, its name, units and where it comes from.
  2. The register maps from each manufacturer.
  3. The gateway mapping tables and configuration files, like the table in the point-mapping example.
  4. A network drawing showing field buses, backbone, gateways and addresses.

There's one more thing that changes once the head-end and gateways sit on an IP network. It changes who can reach the controls. A contractor can offer remote support without driving to site. But the same path, left unguarded, could let others in.

Who owns it

So now the office tower's mix of equipment shows up on one screen, and every mapped point can be trusted. But we've built something that runs over a network, with remote access, logins and files that matter.

So who's responsible for that network, who may log in and connect remotely, and what keeps running when it fails? That's Part 11: Who Owns the BMS Network?

Check your understanding

1. After a gateway is configured, the BMS shows CH-1's chilled water supply as 0.6 °C, but the chiller's own display shows 6.0 °C. What's the likely mistake?

Show the answer

A scaling error. The register holds 60, and the gateway has been told to multiply by 0.01 instead of 0.1.

Comparing a mapped value with a reading you trust, as in check 3, catches this before anyone relies on it.

2. CH-1's supply temperature trend shows a perfectly flat 6.0 °C for three hours, including a time when the chiller was switched off. What should you suspect first?

Show the answer

Stale data. The gateway has probably lost contact with the chiller and is still showing the last value it received.

Check the gateway's communication status and alarm, as in check 5.

Recap

  • Buildings collect equipment from different makers and years, often with missing documentation.
  • A gateway makes that equipment's data readable to one head-end, and point mapping makes it correct.
  • Each point needs the right address, data type, scaling and units, fresh timestamps, a communication failure flag and a deliberate choice of read or write.
  • The network has a slow field bus layer and a faster IP backbone, and it needs to be designed.
  • Legacy equipment can usually be brought in through a Modbus port, dry contacts or analogue signals, instead of being replaced.
  • The owner should hold the points list, register maps, gateway files and network drawing.

Go deeper on video (optional)

This video recaps how the open BACnet standard lets equipment from many makers share one network. That's the idea from Part 9 that we built on here. It's optional.

This is Part 10 of 16 in Cobler's Building Automation and BMS Fundamentals course. Previous: BACnet vs Modbus: The Two Languages Building Equipment Speaks. Next: Who Owns the BMS Network? Access, Backups and Recovery.

Cobler builds CobiNeural, a platform that shows a facility team its building's energy, water and indoor air data as live numbers across the whole site. To see how your building performs, talk to us.

FAQ

Frequently asked questions

Ask us about this topic

Something in this article you want to dig into — or a situation in your own building it doesn't quite cover? Send us your question. We don't run public comments; the team replies to you directly by email.

0/500

Keep reading