Skip to main content
NETWORKING · BUILDING AUTOMATION

What Is BACnet?

BACnet (Building Automation and Control networks) is the open data communication protocol that lets building equipment from different makers work together: heating, ventilation, air conditioning, lighting, access control and fire detection. Developed by ASHRAE and published as ANSI/ASHRAE Standard 135 and ISO 16484-5, it runs over IP networks as BACnet/IP and over RS-485 as BACnet MS/TP.

01

What BACnet is

BACnet (Building Automation and Control networks) is the open data communication protocol for building automation. It lets heating, ventilation and air conditioning plant, lighting, access control, security and fire detection systems from different manufacturers exchange data and work as one system.

BACnet was developed by ASHRAE, the American Society of Heating, Refrigerating and Air-Conditioning Engineers. Its committee first met in June 1987, and the protocol was published as ANSI/ASHRAE Standard 135 in 1995. It is also an international standard, ISO 16484-5. The current edition is ANSI/ASHRAE 135-2024, and the committee extends it through published addenda between editions.

The standard covers everything two devices need in order to work together: the physical connection, how messages are routed and encoded, and what they mean.

02

How BACnet works: objects, properties and services

BACnet describes every device as a collection of objects. A temperature sensor is an analogue input object, a fan command is a binary output, and the same model covers schedules, calendars, control loops and trend logs. Each object has properties, such as its name, its type and its present value. Devices act on objects through services, which are standard messages.

  • //
    Who-Is and I-Am. A device broadcasts Who-Is and the others answer I-Am, so a workstation can discover what is installed.
  • //
    ReadProperty and WriteProperty. The basic services for reading a value from an object or commanding a new one.
  • //
    Change of value (COV). A client subscribes to an object and is told when its value changes, instead of polling it repeatedly.
  • //
    Alarms and events. Devices report alarms with a priority and a notification class that decides who receives them.
03

BACnet/IP, MS/TP and BACnet/SC

The same objects and services travel over several kinds of network. Three are the ones to know today.

Network type Carried over Key facts Typical devices
BACnet/IP Ethernet or Wi-Fi, using UDP Default UDP port 47808 (hex BAC0); a BBMD passes broadcasts between subnets Building controllers, workstations and gateways
BACnet MS/TP RS-485 twisted pair Master-slave/token-passing; 9,600 to 115,200 bit/s; master addresses 0 to 127 Field controllers and sensors
BACnet/SC TLS 1.3 over WebSockets on IP networks Added to the standard in 2019; devices connect to a hub and identify themselves with certificates IP installations that need secure communication

MS/TP is the wiring most small controllers use, and it shares its physical layer with other RS-485 buses. BACnet routers join the network types together without changing the messages, so an MS/TP trunk on each floor can feed a BACnet/IP backbone.

Building network with a BACnet/IP backbone, routers to BACnet MS/TP trunks on each floor and a BACnet/SC hub
FIG · 01A typical building joins MS/TP trunks to a BACnet/IP backbone through routers, with BACnet/SC for secure links.
04

Routers, gateways and BBMDs

Three devices are often confused. A BACnet router passes messages between BACnet networks of different types and leaves their content alone. A gateway connects BACnet to something that is not BACnet, such as Modbus or KNX, and has to translate every message, which means more configuration and upkeep. The BACnet committee advises native BACnet devices where they exist, and gateways where they do not or where existing equipment is worth keeping.

The comparison with Modbus shows why. Because the meaning of the data is part of the BACnet standard, a workstation can read a controller it has never seen before. Modbus, which our FAQ on how Modbus works covers, defines how values are encoded but not what they mean, so every device needs its register map and some integration work.

A BBMD, or BACnet/IP broadcast management device, solves a problem particular to IP networks. BACnet discovery relies on broadcasts, and IP routers do not forward them. A BBMD on each subnet passes broadcasts to its peers on the others, and a computer on a subnet without one can register with a BBMD as a foreign device.

FAQ · 01
Can a Modbus gateway connect to EtherNet/IP or BACnet?
Some can. Multi-protocol gateways map Modbus registers to EtherNet/IP tags or BACnet objects, and these are usually sold as protocol gateways. A gateway computer can do the same in software.
Read the full FAQ —
05

BACnet security and BACnet/SC

BACnet/IP and MS/TP were designed for closed building networks and have no encryption or authentication of their own, so security has traditionally relied on physical protection and network isolation. BACnet Secure Connect (BACnet/SC) changes that. It carries BACnet messages inside TLS 1.3 connections over WebSockets, and each device needs a certificate before it can join.

A BACnet/SC network is arranged around a hub, with an optional failover hub, and links to existing BACnet/IP and MS/TP networks through BACnet routers. Whichever version is in use, keep building networks segmented and off the public internet. For new products, a BACnet Testing Laboratories (BTL) listing shows that a device has passed independent testing.

06

BACnet on industrial PCs and IoT gateways

BACnet needs no special computer hardware. BACnet/IP and BACnet/SC run over an ordinary Ethernet port, and the protocol itself is software. That gives a computer three common roles in a building.

  • //
    Supervisor. Building management or operator workstation software discovers the controllers, displays their objects and stores trends.
  • //
    Gateway to IT systems. Gateway software reads BACnet objects and republishes them as MQTT or OPC UA for energy dashboards, analytics and cloud services. Our FAQ on the IIoT gateway explains the role.
  • //
    Bridge from other protocols. The same computer can poll Modbus meters or serial devices and present their values as BACnet objects to the building management system.
07

Choosing a computer for BACnet

Reaching MS/TP devices takes more care than BACnet/IP. The usual route is a BACnet router between the RS-485 trunk and the IP network. Some BACnet software can drive an RS-485 port directly, but token passing is sensitive to timing, so confirm that the software supports the port before relying on it.

Our industrial IoT gateways are mostly compact fanless computers with two or more Ethernet ports, and several add COM ports and 4G or 5G options. Our DIN rail PCs fit beside the controllers in a plant-room panel. BACnet support comes from the software installed on them, not from the hardware.

FAQ · 02
What is an MQTT gateway?
A device or piece of software that connects equipment which does not speak MQTT, such as Modbus meters, serial instruments, CAN networks or wireless sensors, to an MQTT broker. It reads data from those devices, publishes it as MQTT messages and can pass commands back the other way.
Read the full FAQ —
08

Quick answers on BACnet

BACnet: common questions

What does BACnet stand for?

Building Automation and Control networks. The name is a registered trademark of ASHRAE, the society that developed the protocol and still maintains it.

What is BACnet used for?

Linking building systems from different makers. A building automation system (BAS) uses it to monitor and control heating, ventilation, air conditioning, lighting, access and fire systems from one place. BACnet is the protocol, and the BAS is the system built with it.

What is the difference between BACnet/IP and BACnet MS/TP?

The network underneath. BACnet/IP runs over Ethernet using UDP port 47808. MS/TP runs over RS-485 at up to 115,200 bit/s, with devices passing a token. Routers join the two.

What is the difference between BACnet and Modbus?

BACnet defines what the data means. Modbus moves numbered registers and leaves their meaning to the register map of each maker. BACnet has standard objects, discovery and alarms. Gateways connect the two.

What is a BBMD in BACnet?

A BACnet/IP broadcast management device. It forwards BACnet broadcasts between IP subnets, which ordinary IP routers do not pass, so devices on different subnets can discover each other.

Is BACnet still used?

Yes, and it is still being developed. The 2024 edition of the standard is current, addenda continue to appear, and BACnet/SC has added the encryption and authentication that IT departments expect.

We supply industrial IoT gateways and DIN rail PCs with the operating system, COM port modes and network settings configured as standard, ready for the BACnet software your project uses.