By Kurnia · Published November 13, 2026 · Version 1 · 21 min read
Building communication protocols
BACnet with objects and properties, Modbus with registers, MS/TP and IP networks, gateways, reading vendor points lists, and diagnosing communication faults
A hotel laundry fits a new energy meter on the third dryer, and the next day the BMS dashboard records a consumption of 111 million kWh for one machine. The new meter stores a 32-bit number in two registers in the reverse order from the old meter, while the gateway that translates Modbus to BACnet still uses the old register map. This chapter covers building communication protocols from the technician’s side: why buildings need a shared protocol, BACnet with devices, objects, properties, and command priority, Modbus with registers and the vendor register map, MS/TP networks and their addresses, BACnet/IP with routers and BBMDs, gateways and their limits, reading vendor points lists and conformance statements, and diagnosing communication faults. The basics of serial links, buses, registers, and error checking are referred to Chapter 5 · Computational. Its basis is the BACnet committee website, the GSA guide prepared by NIST, and the GSA technical guide, all United States documents. Changing addresses, network configuration, gateway mapping, and writing values to devices is set out as the authority of the systems integrator or the IT manager.
A hotel laundry monitors the electricity use of every washer and dryer through energy meters connected to the building BMS. The meters speak Modbus on one serial bus, and a gateway translates their data to BACnet so that it appears at the operator workstation. After the meter on the third dryer failed and was replaced with a meter from another manufacturer, the energy dashboard the next morning recorded 111 million kWh for one machine in one night. On the same day, the data from two other meters on that bus became slow and now and then read “offline”.
The cause lay in two places. The new meter stores its energy figure in two 16-bit registers in the reverse order from the old meter, and the gateway was still using the old meter’s register map. The new meter also left the factory with its default address setting, so one of the gateway’s requests waited for a reply that never came. The cables, the meter, and the BMS were all healthy; what was wrong was the agreement on what the data means. A technician who can read a vendor points list and understands the data path from the meter to the screen will find both causes from the desk, before anyone opens a panel.
Scope
This chapter covers communication protocols in buildings from the technician’s side: BACnet with objects and properties, Modbus with registers, MS/TP and IP networks, gateways, reading vendor points lists, and diagnosing communication faults. The technician reads, records, reports, and carries out the checks that are assigned. The documents used are the BACnet committee website and guidance from United States agencies; the BACnet standard itself, ANSI/ASHRAE 135, is a paid standard and its content is not copied here.
The basics of serial communication, RS-485, termination, bias, addresses, request-response protocols, registers, error checking, stale data, and layer-by-layer diagnosis are in Chapter 5 · Computational on field device data communication, and this chapter does not repeat them. Signed numbers and byte order are covered in Chapter 3 · Computational on numbers and data representation, PLC and HMI communication in Chapter 66 on advanced PLCs, and IP networks for CCTV in Chapter 95. The BMS architecture and the points list are in Chapter 32 · Buildings & Facilities on building management systems, alarms, trends, schedules, and manual overrides in Chapter 33 · Buildings & Facilities on alarms, trends, and schedules in the BMS, and energy meters in Chapter 34 · Buildings & Facilities on building energy dashboards.
Work outside the technician’s authority: changing device addresses, instance numbers, network numbers, baud rates, or MS/TP network parameters; changing IP addresses, router tables, or BBMD tables; changing gateway mapping; writing values, priorities, or out-of-service status to devices from a diagnostic tool; and ordering a device to stop communicating or to restart. That work belongs to the systems integrator and the building’s IT manager.
Why buildings need a shared protocol
A large building contains equipment from many manufacturers: air conditioning controllers, energy meters, chillers, lifts, lighting, and pumps. Without a shared language, every pair of devices needs a special interface. Interoperability is the ability of different control devices to work together toward a common objective by exchanging information digitally, and the GSA guide calls it the ultimate goal of the BACnet standardization effort.
BACnet is developed and maintained by the BACnet committee, the ASHRAE standards committee SSPC 135. The standard was first published as ANSI/ASHRAE Standard 135 in 1995 and became an ISO standard in 2004 as ISO 16484-5. The committee website states that BACnet defines messages, formats, and rules for exchanging data, commands, and status for heating, ventilating, and air conditioning, lighting, access control, elevators, security, and fire detection.
Modbus comes from the industrial world and is widely used in energy meters, variable frequency drives, and packaged equipment. Its difference from BACnet lies in the meaning of messages. The BACnet committee’s FAQ page explains that BACnet specifies the physical interconnection, routing, encoding, and meaning of messages, including its object and service definitions, while Modbus defines message encoding and physical interconnection options but does not address the meaning of messages. As a result, using a Modbus device requires the integrator to know how that device represents its information and then program a specific interface for it. For the technician, this means something simple: BACnet data carries its own name and units, while Modbus data is only a number whose meaning is in the vendor’s manual.
BACnet: devices, objects, and properties
Every BACnet device contains a set of objects, and each object has a type and a set of properties; there is always at least one object that represents the device itself. The Device object is the required object whose properties describe the device to the network, including the list of all objects in the device, the vendor name, and the model. Other objects represent inputs, outputs, values, schedules, calendars, or alarm notification classes, as the point types are described in Chapter 32 · Buildings & Facilities on building management systems.
Three properties must be present in every object: the object identifier, the object name, and the object type. The object identifier (Object_Identifier) is a 32-bit code that contains the object type and its instance number, and together they are unique within the device. The instance number of the Device object follows a different rule: it must be unique across the entire BACnet network, because it is used to identify the device. The GSA technical guide calls it the logical address that matters to BACnet and notes that there are over 4 million possible device instance numbers.
The properties a technician reads most often are the present value, units, status flags, reliability, and out-of-service status. The example analog input object in the description of the BACnet language shows a present value of 68.0 with units of degrees Fahrenheit, the description “Outside Air Temperature”, and the device type 10k thermistor. Because the units travel with the object, the operator workstation does not have to guess whether 68.0 is °F or °C.
Devices request data from each other through services. Only one service, reading a property (ReadProperty), must be executable by all BACnet devices. Other services include reading many properties at once, writing a property, subscribing to changes of value so that a device reports changes without being asked continually, and the Who-Is and I-Am pair for finding device addresses on the network.
Command priority is a 16-level arrangement that decides which command is carried out when several processes write to the same output. The GSA guide lists the standard levels: level 1 for manual life safety, 2 for automatic life safety, 5 for critical equipment control, 6 for minimum on and off time, and 8 for the manual operator; the other levels are available for the designer to assign. The present value follows the command from the filled level with the lowest number, and when all levels are empty, the object uses its default value. A manual command left at level 8 therefore beats a schedule that writes at a higher-numbered level (Example 6). How to deal with an override like that is covered in Chapter 33 · Buildings & Facilities on alarms, trends, and schedules in the BMS.
Modbus: registers and the vendor register map
Chapter 5 · Computational on field device data communication has already explained 16-bit registers, function codes, cyclic redundancy checks, and the trap of register numbering that starts from 1 in the manual but from 0 in the reading tool. In buildings, Modbus appears in two forms: serial Modbus over RS-485 for meters and variable frequency drives, and Modbus TCP over an IP network. The GSA technical guide lists Modbus TCP among the open methods for handing building system data to a third party, together with BACnet/IP.
The vendor’s register map is the table in the device manual that is the only source of the meaning of each register. What must be read from the register map before a number is trusted:
- The register number and how it is numbered, starting from 0 or from 1.
- The data type: unsigned 16-bit, signed 16-bit, 32-bit in two registers, or floating point.
- The register order for 32-bit numbers: whether the first register holds the high part or the low part.
- The scale and units, for example 0.1 V or 0.1 kWh per count.
- Access: read-only, or writable.
- The firmware version or model to which the map applies.
A 32-bit number stored in two registers is calculated with
where is the raw value, the content of the high register, and the content of the low register, each from 0 to 65,535. The engineering value is obtained by multiplying by the scale from the register map. If the order of the two registers is swapped, the result is far off, as in the opening case (Example 3). A signed 16-bit register is read as when is greater than 32,767, like the two’s complement numbers in Chapter 3 · Computational.
Writable registers in meters or variable frequency drives hold settings, for example the meter’s current transformer ratio or the motor frequency limits. Writing to those registers changes the behavior of the device remotely. The building technician only reads; register writing is done by the integrator with the approval of the equipment owner.
MS/TP networks
MS/TP (master-slave/token-passing) is a BACnet network over EIA-485 signaling, that is, the RS-485 of Chapter 5 · Computational, created by ASHRAE for low-cost controllers and unique to BACnet. Master devices take turns holding the token: only the master holding the token may transmit, and the token is then passed to the next master. The 1999 GSA guide gives its practical speed as about 76 kbps, with options from 9.6 kbps to 76 kbps, and places it as a network for unitary controllers, not a backbone network. The BACnet committee’s FAQ page still names MS/TP as a twisted pair networking technology specifically for building control applications.
Every device on one MS/TP network has a unique MAC address. According to the GSA guide, the valid addresses are 0 to 254, with 255 for broadcasts; addresses 128 to 254 are reserved for slave devices, and 0 to 127 are valid for both masters and slaves. The part of the address space that masters actually search is set by the Max_Master property of the Device object, with a default value of 127. That guide recommends reserving address 0 for the MS/TP router, dividing addresses per vendor in recorded ranges, and setting Max_Master to the highest address in use so that time is not wasted searching for new stations.
A MAC address only needs to be unique within one network. To deliver a message, BACnet combines the MAC address with the network number, the way a street address is combined with a city name, and a BACnet system can contain up to 65,535 networks, each with a unique number. Two controllers with address 5 on two different MS/TP networks are no problem, but two controllers with address 5 on the same network will collide like the duplicate addresses in Chapter 5 · Computational.
BACnet/IP, routers, and BBMDs
BACnet also runs over IP networks. The GSA technical guide explains that BACnet/IP uses UDP, because the BACnet protocol itself already provides guaranteed delivery, re-sequencing, and flow control, so it does not need TCP. BACnet uses broadcast messages to find devices, while standard IP routers do not forward broadcasts. A BBMD (BACnet Broadcast Management Device) is a device that forwards BACnet broadcast messages between IP subnets; only one device on each subnet needs to act as the BBMD. A device on another subnet can join as a foreign device by registering with a BBMD.
A BACnet router is a device that passes messages from one BACnet network to another without changing their form or content, for example from BACnet/IP to MS/TP. In many buildings, a building controller in the automation layer is also the router to one or more MS/TP networks below it. If that router fails, all the MS/TP devices behind it disappear from the operator workstation at once, even though the devices themselves keep working.
The building’s IP network is usually managed by IT, and its rules are strict. The GSA security guide, for example, prohibits BACnet/Ethernet on that agency’s wide area network, does not allow multicast over its wide area network, and prefers BACnet/SC over legacy BACnet/Ethernet connections. Those are the rules of a United States agency, but the pattern is common: IP addresses, subnets, and new connections to the building network are decided by the IT manager.
Gateways and their limits
A gateway is a device that translates between BACnet and another protocol, for example Modbus or a manufacturer’s proprietary protocol. The BACnet committee website distinguishes it from a router: a gateway must decode the messages on each network and then reformat the information, generally requires more configuration, commissioning, and maintenance, and is therefore not the preferred choice when devices that speak BACnet directly are available. A gateway still makes sense for connecting an existing Modbus network or equipment that has no BACnet interface.
The GSA guide compares protocol translation to language translation: something easy to express in one protocol can be difficult or impossible to express in another. Limits the technician needs to know:
- A gateway usually opens only part of the information in the system on the other side.
- Data can flow in one direction or in both directions.
- A point that can be read is not necessarily one that can be changed through the gateway.
- Schedules, alarms, and trend files of the old system may not be able to pass the gateway.
- Gateway capacity is limited, so expansion has to be planned.
The same guide asks for all these limits to be stated in the specification. A gateway also adds one more request-response step: the gateway polls the Modbus devices on its own cycle, and the BMS polls the gateway on another cycle. The age of the data on the screen is the sum of the two (Example 5).
Reading vendor points lists
Two vendor documents are read before a new device is connected or a fault is diagnosed. The Protocol Implementation Conformance Statement (PICS) is a document that every BACnet device is required to have and that lists that device’s BACnet capabilities: a product description, the services supported, the networks available, and a few other items. The GSA guide adds that the PICS states the supported object types, the writable properties, data link layer options such as Ethernet or MS/TP, and length limits for text such as object names.
The second document is the vendor points list: for BACnet devices, the list of objects with their object IDs and device IDs; for Modbus devices, the register map. The GSA guide asks for non-standard objects and properties to be documented complete with their structure and data types. The questions the technician asks while reading both: whether the supported network is the same as the installed network, whether the required points exist as standard objects, whether units and scale are stated, whether the map matches the version of the installed device, and whether there are writable points that need to be protected.
Diagnosing communication faults
Diagnosis starts from the pattern of symptoms. One device missing while the other devices on the same network are normal points to that device, its address, or its branch cable. All devices on one MS/TP network missing at once points to the router, the router’s power supply, or the main cable of that network. All networks missing from the operator workstation while the rooms stay cool points to the IP side or the operator workstation itself. Data that is present but makes no sense, as in the opening case, points to the register map, the scale, or the register order, not to the cables.
For the cable and signal layer, the check sequence from Chapter 5 · Computational on field device data communication applies: indicator lamps, cables, termination, settings, addresses, and then protocol. Above that, the BACnet committee website mentions the availability of BACnet diagnostic tools that technicians can use to analyze and diagnose devices and networks from any manufacturer. The GSA guide describes a protocol analyzer that captures messages on the network and displays their content, and records the experience that most operational problems come from improper device configuration or programming.
The same diagnostic tools can write properties, force values, order a device to stop communicating, or restart a device. The GSA guide notes that those two remote device management services, device communication control and device reinitialization, have optional password protection. The technician uses diagnostic tools in read and listen mode only, after the IT manager has approved their connection to the network, and records the results: time, device, address, symptom, and error counters before and after every change made by the authorized party.
Worked example
The numbers in the examples below are practice figures unless their origin is stated.
Example 1: reading an instance number from a numbering plan. The GSA guide gives an example device instance numbering plan with the pattern XXFFBBB, with XX from 00 to 40, FF 00 for the backbone network and 1 to 35 for floors or systems, and BBB the building number from 1 to 655. Instance number 0703226 means device 07 on floor or system 03 in building 226. With that pattern, one network holds at most 41 devices and one building at most devices, the same figure as in the guide. If the operator workstation shows two devices numbered 0703226, one of them breaks the plan and is reported to the integrator.
Example 2: an MS/TP address plan. One MS/TP network on floor 3 contains the router at address 0, vendor A’s controllers at addresses 1 to 20, and vendor B’s controllers at addresses 21 to 40. There are masters. With Max_Master at its default value of 127, the masters search for new stations at empty addresses that are never used. The technician records this finding in the report; setting Max_Master is the integrator’s decision, and if a new master is later added above address 40, that value would have to be changed in all masters.
Example 3: 32-bit register order. In the opening case, the energy registers of the new meter contain 3 and 16,960, with a scale of 0.1 kWh. If the first register is the high part, , that is, kWh, a reasonable figure for a dryer meter. If the gateway reads in the reverse order, , that is, kWh, the figure recorded on the dashboard. This error does not raise the error counter at all, because the message is intact; what is wrong is its meaning.
Example 4: scale and sign of a 16-bit register. The meter’s voltage register contains 2,304 with a scale of 0.1 V, so V. The register for the kitchen cold room temperature contains 65,486 with a scale of 0.1 °C and a signed data type. Because 65,486 is greater than 32,767, the value is , that is, °C. Read as unsigned, the result is °C, an impossible figure and a sign that the data type in the gateway mapping is wrong.
Example 5: data age through a gateway. The gateway polls 6 meters with 4 requests each, and each request-response takes 150 ms. One normal cycle is s. If one meter does not answer, each of its four requests waits for the 1 s timeout 3 times, that is, s, so the cycle becomes s. The BMS reads the gateway every 30 s, so the data of the healthy meters can be up to about s old on the screen. One dead meter slows down the data of five other meters, like the symptom of two meters “offline” in the opening case.
Example 6: reading command priority. The exhaust fan of the laundry ironing room keeps running every night, although its schedule turns it off at 22:00. A diagnostic tool in read mode shows level 8, manual operator, holding running, and level 16, used by this building’s schedule program, holding off. The present value follows the filled level with the lowest number, which is 8, so the fan runs. With a fan power of 7.5 kW, the fan running from 22:00 to 06:00 uses kWh per night. The technician reports the leftover manual command; releasing it is done by whoever holds the authority, according to Chapter 33 · Buildings & Facilities.
Stop conditions
- The diagnosis appears to require changing a MAC address, instance number, network number, baud rate, Max_Master, IP address, router or BBMD table, or gateway mapping: stop and hand it over to the systems integrator or the IT manager.
- A diagnostic tool is about to be used to write a property, fill or release a command priority, take an object out of service, or write a Modbus register: do not do it without the written approval of the equipment owner; hand it over to the integrator.
- A diagnostic tool offers a command to stop a device communicating or to restart a device: do not use it; hand it over to the integrator.
- Connecting a laptop, a diagnostic tool, or a new gateway to the building IP network or the BMS network has not been approved by the IT manager: postpone it until it is approved.
- Communication is lost on points used for safety decisions, for example isolation room pressure, smoke control fans, or fire alarm panel status: do not rely on the screen; check directly according to the building’s procedure and report to the supervisor and the owner of that system.
- Checking the bus cable would require work in a panel where the RS-485 terminals sit next to 230 V terminals: hand it over to an electrician with energy isolation and a work permit as in Chapter 76 on safe work.
Common misinterpretations
Guess what’s wrong first, then open the explanation.
Common misconception
BACnet devices understand each other as soon as they are connected.
Why is it wrong?
The BACnet committee website states that BACnet systems still require configuration and sometimes application development; only the simplest operations succeed by just connecting devices.
Common misconception
A gateway is the same as a router.
Why is it wrong?
A router passes BACnet messages on without changing them, while a gateway translates and opens only part of the information. Schedules, alarms, and trends of the other system often do not pass through it.
Common misconception
Modbus register numbers are the same for every brand of meter.
Why is it wrong?
The meaning of registers is set by the vendor, including the order of 32-bit registers, the scale, and the sign. A replacement meter from another manufacturer needs a new mapping.
Common misconception
If a message is damaged, the number is wrong.
Why is it wrong?
Error checking discards damaged messages, so the symptom is missing data. A number that is intact but impossible almost always comes from the mapping, as in Examples 3 and 4.
Common misconception
If the operator workstation loses a floor, the controllers on that floor are broken.
Why is it wrong?
When all the devices behind one router disappear together, the router, its power supply, or the main cable of that network is more likely to be the problem.
Links to other chapters
Chapter 5 · Computational on field device data communication provides the basics of serial links, RS-485, termination, addresses, registers, error checking, and layer-by-layer diagnosis used here. Chapter 3 · Computational covers signed numbers and byte order, Chapter 66 PLC and HMI communication, Chapter 6 · Computational control software security, and Chapter 95 IP addresses on CCTV network video recorders. The BMS architecture, point types, and points list are covered in Chapter 32 · Buildings & Facilities on building management systems, manual overrides and alarms in Chapter 33 · Buildings & Facilities on alarms, trends, and schedules in the BMS, and the energy meters whose data passes through gateways in Chapter 34 · Buildings & Facilities on building energy dashboards.
Exercises and worked solutions
The numbers in the exercises are for practice.
Try to answer first, then open the worked solution.
An energy register pair contains 0 and 52,000 with a scale of 0.1 kWh, the first register being the high part. How many kWh is that? What is the result if the order is read reversed?
Check my answer
See the worked solution
, that is, 5,200.0 kWh with a scale of 0.1. If reversed, , that is, 340,787,200.0 kWh, an impossible figure that points to the register order in the gateway mapping.
A signed current register contains 65,416 with a scale of 0.01 A. What is its value, and what is suspected?
Check my answer
See the worked solution
Because 65,416 is greater than 32,767, the value is , that is, A. A negative current on a load meter usually means a reversed current transformer or a sign that does indicate the direction of power, so the register map and the installation are checked by the authorized party, not adjusted by the technician.
An MS/TP network contains masters at addresses 0 to 25. How many empty addresses do the masters search if Max_Master stays at 127, and who decides on changing it?
Check my answer
See the worked solution
The highest address in use is 25, so empty addresses are also searched. The technician records it as a finding, while changing Max_Master in all masters is the integrator’s decision because it concerns network configuration.
This morning all 28 VAV controllers on floor 5 disappeared from the operator workstation, while the rooms on floor 5 stay cool. What is suspected first?
Check my answer
See the worked solution
Because all the controllers on one network disappeared together and the rooms are still controlled, the VAV controllers are most likely working and what has been cut off is the floor 5 router, its power supply, or the main cable of that network. The technician checks the router’s indicator lamps and supply according to procedure, and then reports to the integrator.
A vendor suggests using a diagnostic tool to write the present value of every point to see which ones change. What is the technician’s position?
Check my answer
See the worked solution
The technician refuses, because writing the present value changes the behavior of equipment and can leave a command at a priority that beats the schedule. The tool is used in read mode, and any writing is done by the integrator with the approval of the equipment owner.
A gateway polls 8 meters with 3 requests each at 100 ms per request-response, and the BMS reads the gateway every 20 s. What is the oldest data age when all meters are healthy?
Check my answer
See the worked solution
The gateway cycle is s. Adding the BMS read interval of 20 s, the oldest data age is about s, so fast changes shorter than that interval will not be seen on the screen.
References
External sources
- About the BACnet Standardbacnet.org
- FAQbacnet.org
- GSA Guide to Specifying Interoperable Building Automation and Control Systems Using ANSI/ASHRAE Standard 135-1995, BACnetnvlpubs.nist.gov
- The Language of BACnet-Objects, Properties and Servicesbacnet.org
- Building Technologies Technical Reference Guide Version 3.0gsa.gov
- IT Security Procedural Guide: Building Monitoring and Control (BMC) Systems Security Assessment Processgsa.gov
Revision history
| Date | Version | Change |
|---|---|---|
| November 13, 2026 | 1 | First published |
How to cite
Kurnia (2026). Building communication protocols: BACnet with objects and properties, Modbus with registers, MS/TP and IP networks, gateways, reading vendor points lists, and diagnosing communication faults. ARSTEMA Academy. Revised November 13, 2026. arstema.com/en/academy/konsep/protokol-komunikasi-gedung-bacnet-dengan-objek-dan-properti-modbus-dengan-register-jaringan-ms-tp-dan-ip-gateway-membaca-daftar-titik-vendor-serta-mendiagnosis-gangguan-komunikasi
Self-check · 3 questions
Check your understanding before moving on
Write your answer in your own words, then compare it with the worked solution from this chapter’s exercises. The system doesn’t judge open answers as right or wrong; you decide which parts you’ve understood.
An energy register pair contains 0 and 52,000 with a scale of 0.1 kWh, the first register being the high part. How many kWh is that? What is the result if the order is read reversed?
A signed current register contains 65,416 with a scale of 0.01 A. What is its value, and what is suspected?
An MS/TP network contains masters at addresses 0 to 25. How many empty addresses do the masters search if Max_Master stays at 127, and who decides on changing it?
Nearby chapters
Reading order by shelf: Electrical & Control · Chapter 105.
Reading order by shelf: Electrical & Control · Chapter 103.