📝 Protocol

BACnet/IP Integration: Object Model, Services and Field Pitfalls

6S Teknoloji · 03.12.2026 · 6 min read

BACnet/IP Integration: Object Model, Services and Field Pitfalls — 6S Teknoloji

As an energy monitoring project grows, meters and power analyzers stop being the only data sources. Chillers, air handling units, UPS systems, lighting panels and building management system (BMS) controllers often publish their own measurements over BACnet. BACnet is an open communication protocol designed for building automation and standardized as ASHRAE 135 and ISO 16484-5. BACnet/IP is the variant carried over UDP on Ethernet networks. This article looks at the object model, the core services and the errors most often seen in the field when connecting BACnet/IP to a monitoring platform.

The BACnet Object Model: Device, Object and Property

In Modbus you read a value by its register address; in BACnet everything is described as objects. Every device on the network has exactly one Device object and a unique device instance number. Each measurement, status or setpoint inside the device is a separate object, addressed by two pieces of information: the object type and the instance number. The protocol packs both into a single 32-bit object identifier, with the upper 10 bits holding the type and the lower 22 bits holding the instance.

Every object has properties. For monitoring, the most important one is Present_Value, the current value of the point. Properties such as Object_Name, Units, Status_Flags and Out_Of_Service tell you how to interpret that value. The object types you will meet most often are:

  • Analog Input / Output / Value: continuous values such as temperature, voltage, current and power.
  • Binary Input / Output / Value: two-state information such as on/off or alarm present/absent.
  • Multi-state Value: enumerated states such as operating mode or system status.
  • Trend Log and Schedule: records and time programs kept inside the device itself.

One important detail: the same physical measurement can be published with different object types by different manufacturers. One device exposes input voltage as an Analog Input while another exposes it as an Analog Value. Assuming the type without reading the point list is one of the most common mistakes on the first day of an integration.

How BACnet/IP Communicates: UDP, BVLC and Services

BACnet/IP uses UDP port 47808 by default (0xBAC0 in hexadecimal). Every packet has three layers: the BVLC header specific to BACnet/IP, the NPDU carrying network layer information, and the APDU holding the actual request or response. For confirmed services the client assigns a one-byte invoke ID to each request, and the response comes back with the same ID. A successful read ends in a ComplexACK; a failed read ends in an Error PDU carrying an error class and an error code.

ServicePurposeIntegration note
Who-Is / I-AmDiscovering devices on the networkRelies on broadcasts; does not cross VLAN or router boundaries
ReadPropertyReading one property of one objectThe simplest and most widely supported read method
ReadPropertyMultipleReading several properties in one requestNot supported by every device; large responses need segmentation
WritePropertyWriting a setpoint or commandShould not be used without understanding the Priority_Array
SubscribeCOVReceiving a notification when a value changesSubscriptions expire and must be renewed

Be especially careful on the write side. For commandable objects the effective value is decided by a priority array with sixteen levels. A write at the wrong level can override the BMS control logic or have no effect at all. For a monitoring-only integration, staying with read services is the safest path.

Discovery or a Static Point List?

Automatic discovery is one of the most praised BACnet features: a Who-Is broadcast goes out, devices announce themselves with I-Am, and their object lists are read. Broadcasts, however, stop at the subnet boundary. Reaching devices on other VLANs requires a BBMD (BACnet Broadcast Management Device) or Foreign Device Registration, and on facility networks segmented by firewalls that infrastructure is often missing.

The alternative is a static map built from the manufacturer point list, usually a spreadsheet export, an EDE file or a reference guide. If the device IP address, object type and instance number are known, a ReadProperty request can be sent directly as unicast. This approach is more deterministic, is not affected by network broadcasts and shows clearly which point fails and why. The cost is preparing the list by hand and tracking firmware differences.

The Most Common BACnet/IP Errors in the Field

Most problems come not from the protocol itself but from how the point list is interpreted and from network details. Check the following items one by one while bringing a site online:

  1. Confusing object name with instance number. The "Name" column in point lists is often the object name, not the instance. Requests that treat the name as an instance come back with an unknown-object error.
  2. Wrong object type. If a measurement assumed to be an Analog Input is defined as an Analog Value on the device, the read fails even with the correct instance.
  3. Firmware differences. Some points listed in the manual may not exist in the firmware of the device on site. Removing a point that produces the same error every cycle keeps the logs clean.
  4. Discovery-dependent libraries. Some libraries try to discover the device before every read; when discovery fails, the point reads never happen.
  5. Port conflicts. If a second BACnet application on the same computer is already bound to UDP 47808, the socket cannot be opened. Diagnostic tools can use an ephemeral source port, because unicast replies return to the port the request came from.
  6. Unexpected packets. A socket listening on 47808 also receives I-Am and Who-Is broadcasts from other devices. If the reader does not quietly discard them, the whole read cycle can break.
  7. Data type assumptions. Present_Value is not always a Real; some points answer as Unsigned, Signed or Enumerated. The parser must recognize all of these types.

Designing the Data Pipeline for Monitoring

You do not need to move every BMS point into the energy platform. Plan measurement points (voltage, current, power, temperature) and alarm or status points as separate groups. Track the failure rate per point: one point dropping out suggests a point list problem, while all points dropping out together suggests a network or device fault. Polling an unresponsive device on every cycle keeps the line busy for nothing; circuit breaker logic that backs off after repeated failures helps. A local buffer in the reading layer also ensures that data is not lost during a network outage.

BACnet/IP Reading in 6S Teknoloji

The 6S Teknoloji field agent, running on the site PC, includes a BACnet/IP reader that builds UDP packets directly without an external BACnet library. It uses the confirmed ReadProperty service to read the Present_Value property and supports the Analog Value, Binary Value and Multi-state Value object types. Requests are sent in batches, responses are matched by invoke ID, and failed points are logged with their error class and code. No Who-Is/I-Am discovery runs at runtime; object type, instance and property are defined by hand from the manufacturer documentation. On site, this method reads input, bypass and output electrical values, battery status and Binary Value alarm points from a Vertiv Liebert EXL S1 UPS, and active alarms are processed as a list.

The collected data is sent to the server over MQTT. The agent never deletes a record before the server acknowledges it (ACK) and keeps a thirty-day buffer in its local SQLite queue; the server retains raw readings for thirteen months. The same agent also reads Modbus TCP/RTU and M-Bus devices. WriteProperty, COV subscriptions, BBMD registration and MS/TP are not part of the 6S Teknoloji BACnet reader today; if you need them, plan them through the BMS itself or a suitable gateway.

Related Content

Integrations — Modbus, M-Bus, MQTTWhat Is MQTT? Protocol, Broker & QoS GuideIndustrial Energy Management Systemenergy monitoring systemM-Bus protocol guideModbus RTU integrationChiller COP and kW/ton Efficiency CalculationMulti-Time Tariff (T1/T2/T3) Explained

FAQ

Which port does BACnet/IP use?
The default is UDP port 47808 (0xBAC0 in hexadecimal). Only one application on a computer can bind to that port, so if a second BACnet application is running the socket cannot be opened. Firewalls must also allow UDP 47808 traffic in both directions.
Can a BACnet device be read without Who-Is discovery?
Yes. If the device IP address, object type and instance number are known, a ReadProperty request can be sent directly as unicast. The 6S Teknoloji field agent does not run discovery either; it takes its point map from a list defined by hand from the manufacturer documentation.
What does the unknown-object error mean?
The device is reporting that it does not recognize the requested combination of object type and instance. The most common causes are treating an object name as an instance, choosing the wrong object type, and a point from the manual that does not exist in the device firmware.

Monitor Your Facility with 6S Teknoloji

See 6S Teknoloji at Your Facility

Explore the system with your own data in a demo session.