IoTPublished 7 min read

What Is BACnet and How Is It Integrated With Modbus in a Building BMS?

BACnet is the building automation protocol standardised by the American Society of Heating, Refrigerating and Air Conditioning Engineers (ASHRAE) as ASHRAE 135, and it models equipment as objects with properties. Modbus devices such as meters and chillers join a BACnet Building Management System (Building BMS) through a gateway that polls their registers and exposes them as BACnet objects.

What Is BACnet and How Is It Integrated With Modbus in a Building BMS?

BACnet (Building Automation and Control networks) is the open protocol defined by ASHRAE 135 and ISO 16484 Part 5 that represents building equipment as standard objects with named properties and engineering units. Modbus devices, such as energy meters, VFDs (variable frequency drives) and chillers, are integrated into a BACnet Building Management System (Building BMS) through a protocol gateway or BMS controller that polls their Modbus registers and exposes each value as a BACnet object, defined in a points mapping table. This guide concerns the Building BMS, not the Battery Management System (Battery BMS) used in battery packs.

How does BACnet model data?

Every BACnet device has a Device object with an instance number that must be unique across the whole internetwork. Values are standard object types such as Analog Input, Analog Output, Analog Value, Binary Input, Binary Output, Binary Value and Multi State Value, plus objects for schedules, trend logs and alarm notification classes. Each object carries properties such as Present_Value, Units, Status_Flags and Object_Name. Clients use services such as ReadProperty, ReadPropertyMultiple and WriteProperty, find devices with Who Is and I Am, and receive change of value (COV) notifications through SubscribeCOV. Commandable objects hold a 16 level priority array so that, for example, a life safety override outranks a schedule. BACnet runs over BACnet/IP (UDP port 47808), MS/TP (Master Slave/Token Passing) on RS 485, and BACnet Secure Connect (BACnet/SC), which carries BACnet over Transport Layer Security (TLS) secured WebSocket connections.

How does BACnet differ from Modbus?

The differences below explain why a mapping table is the core artefact of any BACnet and Modbus integration.

BACnet compared with Modbus for building integration
AspectBACnetModbus
Data modelObjects with names, units and statusNumbered 16 bit registers and single bit coils with no built in meaning
DiscoveryWho Is and I Am, readable object listsNone; a vendor register map document is required
Data typesReal, enumerated, boolean and others with engineering units16 bit words; 32 bit values span two registers with vendor specific word order
EventsChange of value subscriptions, alarms and notification classesPolling only
Command arbitration16 level priority array with relinquish defaultLast write wins
Typical devicesAir handling unit controllers, VAV (variable air volume) controllers, plant controllersEnergy meters, VFDs, chillers, generators, inverters
TransportsBACnet/IP, MS/TP over RS 485, BACnet/SCModbus TCP on port 502, Modbus RTU over RS 485

What is the step by step integration procedure?

For each Modbus device to be exposed in the Building BMS:

  • Step 1: Obtain the vendor register map for the exact device model and firmware version, and record serial settings or IP address and unit ID.
  • Step 2: Build the points list: BACnet object type, instance, name, units and COV increment on one side; Modbus function code, register address, data type, word order, scale factor and read or write access on the other.
  • Step 3: Allocate BACnet device instances and network numbers centrally so none collide across the site.
  • Step 4: Configure the gateway communication: baud rate, parity and stop bits for Modbus RTU, or IP and port for Modbus TCP, plus timeouts and polling intervals per point group.
  • Step 5: Map points and handle data types: combine register pairs into 32 bit floats in the correct word order, apply scaling, and map bit fields to Binary or Multi State objects.
  • Step 6: Expose writes only where the sequence of operation requires them, set the BACnet priority used and define relinquish defaults.
  • Step 7: Test each point end to end against the device display or a calibrated reading, and test each write by observing the equipment response.
  • Step 8: Verify alarms and COV notifications reach the BMS front end and trend logs record at the specified interval.
  • Step 9: Hand over the points list, gateway configuration backup and network diagram.

How should you name and organise mapped points?

A consistent naming convention decides whether operators can use the integrated system. Agree one pattern before mapping, for example building, floor, system, equipment and point, such as B1 L3 AHU02 SupplyAirTemp, and apply it to Object_Name on every gateway. Keep units in the BACnet Units property rather than in the name. Group gateway objects by source device so a failed Modbus device shows up as a block of points with a fault status, not as scattered stale values. Set the Reliability or Status_Flags fault indication when Modbus polling times out, instead of leaving the last good value in Present_Value, so the BMS front end can alarm on communication loss. Finally, set COV increments per point type (for example 0.2 °C for temperatures and 1% for valve positions) so that change of value traffic reflects meaningful changes rather than sensor noise.

How do you bring existing heating, ventilation and air conditioning (HVAC) equipment into a Building BMS?

Start with a survey of each HVAC asset and its controller. Equipment with native BACnet joins the BMS network directly after addressing. Equipment with Modbus is mapped through a gateway as described above. Equipment with a proprietary protocol usually needs the manufacturer's interface card or gateway. Equipment with no communication at all is connected by hardwired I/O to a BMS controller: 0 to 10 V or 4 to 20 mA signals for analog values, dry contacts for status and alarms, and thermistor or RTD (resistance temperature detector) inputs for temperatures. A minimal points list for an air handling unit typically covers supply and return air temperature, fan command and status, valve position, filter differential pressure and a common alarm.

Before connecting anything, document the existing sequence of operation and decide which device remains in control. In most retrofits the local equipment controller keeps its control loops and safeties, and the Building BMS supervises: it reads status, issues enable commands and setpoints within agreed limits, and schedules operation. Moving control loops into the BMS is a larger change that needs a new sequence of operation, functional testing and a plan for what happens when the network fails.

Commissioning checklist

Before handover of the integrated system:

  • Unique BACnet device instances and network numbers documented.
  • Every point verified end to end with a recorded value and date.
  • Float word order and scaling verified with a known reference value.
  • Writes limited to required points, with priority and relinquish default documented.
  • MS/TP trunks terminated and biased correctly, with addresses and baud rate recorded.
  • Alarms, schedules and trend logs tested from the BMS front end.
  • BACnet/IP and Modbus TCP traffic confined to a building automation network segment.

Limitations

Older BACnet devices may not support ReadPropertyMultiple, segmentation or COV, which raises polling load. MS/TP throughput limits how many devices and points one trunk can serve, depending on baud rate and traffic. Fire and life safety systems should be integrated only through their listed interfaces and usually for monitoring only. BACnet/IP and Modbus have no built in authentication, so network segmentation, or BACnet/SC where supported, is required.

Sources and standards

Standards and specifications referenced in this guide:

  • ASHRAE 135 (BACnet)
  • ISO 16484 Part 5 (building automation data communication protocol)
  • Modbus Application Protocol Specification V1.1b3
  • Modbus over Serial Line Specification V1.02
  • TIA 485 A (RS 485 electrical interface)
BACnetModbusBuilding BMSHVACBuilding Automation

EmbedCrest Engineering Team

Embedded Systems Engineers at EmbedCrest Technology

Embedded systems, IoT and Edge AI engineering, delivered from Kalyan, Maharashtra, India.

FAQ

Frequently Asked Questions

What is BACnet and how is it integrated with Modbus in a building BMS?

BACnet is the ASHRAE 135 building automation protocol that represents equipment as objects with properties and units. Modbus devices are integrated by a gateway or BMS controller that polls their registers and publishes each value as a BACnet object, following a points mapping table that defines addresses, data types, word order, scaling and write access.

How are HVAC units without BACnet brought into a Building BMS?

Survey each HVAC asset first. Native BACnet equipment joins the network directly, Modbus equipment is mapped through a gateway, proprietary protocols need the manufacturer's interface, and equipment without communication is wired to a BMS controller using analog signals, dry contacts and temperature sensor inputs. Every point is then tested end to end.

Should a building use BACnet/IP or BACnet MS/TP?

BACnet/IP suits plant controllers, supervisory devices and anything already on Ethernet, because it is faster and easier to diagnose. MS/TP on RS 485 suits many small field controllers, such as VAV boxes, where running Ethernet to each device is impractical. Most buildings use both, joined by BACnet routers.

Why do Modbus float values read as wrong numbers in the BMS?

Wrong float values usually mean the two 16 bit registers are combined in the wrong word order, the register address is off by one because of zero or one based numbering, or a scale factor is missing. Compare a known value on the device display with the raw registers to identify which applies.

Ready to Build Your Embedded Solution?

From Edge AI to industrial IoT, our engineering team delivers end to end embedded systems solutions. Let us discuss your project requirements.

Discuss This With an Engineer