BACnet/IP Protocol Training

Interactive Learning Tool for Building Automation and Control Networks over IP

BACnet/IP Protocol Overview

BACnet (Building Automation and Control Networks) is a communication protocol designed specifically for building automation and control systems. BACnet/IP extends this protocol to operate over IP networks using UDP transport.

Application Layer (APDU)

BACnet services, objects, and properties

Network Layer (NPDU)

Routing and addressing information

BACnet Virtual Link Layer (BVLL)

BACnet Virtual Link Control (BVLC) header

Transport Layer (UDP)

Port 47808 (0xBAC0)

Internet Protocol (IP)

IPv4/IPv6 addressing and routing

Ethernet

Physical network interface

Key Features

  • Interoperability: Vendor-independent communication
  • Object-Oriented: Standardized data representation
  • Scalable: Support for large networks
  • Reliable: UDP-based with error handling
  • Secure: IP-based security mechanisms

Protocol Standards

  • ANSI/ASHRAE 135-2024: Latest BACnet standard
  • ISO 16484-5: International standard
  • Port 47808: Default UDP port (0xBAC0)
  • IPv4/IPv6: Both supported
  • Broadcast/Unicast: Communication modes

BACnet/IP Header Structure

BACnet Virtual Link Control (BVLC) Header

The BVLC header is the first part of every BACnet/IP packet and contains control information for the virtual link layer.

BVLC Header Format (4 bytes)

Total length of BVLC message in bytes
81
0A
00
16
BVLC Header (4 bytes)

NPDU Structure

Network Protocol Control Information (NPCI):

  • Version (1 byte): 0x01
  • Control (1 byte): Message control flags
  • DNET (2 bytes): Destination network
  • DLEN (1 byte): Destination address length
  • DADR (0-255 bytes): Destination address
  • SNET (2 bytes): Source network
  • SLEN (1 byte): Source address length
  • SADR (0-255 bytes): Source address
  • Hop Count (1 byte): TTL for routing

APDU Structure

Application Protocol Data Unit:

  • PDU Type (4 bits): Service type
  • Segmented (1 bit): Message segmentation
  • More Follows (1 bit): Additional segments
  • Segmented Response (1 bit): Response type
  • Reserved (1 bit): Future use
  • Max Segments (3 bits): Maximum segments
  • Max APDU (4 bits): Maximum APDU size
  • Invoke ID (1 byte): Transaction ID
  • Service Choice (1 byte): BACnet service
  • Service Request: Actual data

Interactive Header Builder

Build your own BACnet/IP packet header and see the hex representation.

Configure BVLC Header

Configure NPDU

Configure APDU (Read Property Request)

Generated Packet

Packet Analysis

BACnet/IP Communication Process

Client
Device
→
BACnet
Network
→
Server
Device

Device Discovery

Who-Is Service: Broadcast request to discover devices

Device Response

I-Am Service: Device announces its presence

Read Property

Read-Property Service: Request object property value

Write Property

Write-Property Service: Set object property value

Communication Flow Example: HVAC Temperature Control

  1. Discovery: Building Management System broadcasts Who-Is request
  2. Response: HVAC controllers respond with I-Am messages
  3. Monitoring: BMS reads temperature values using Read-Property
  4. Control: BMS adjusts setpoints using Write-Property
  5. Alarms: Controllers send COV notifications for out-of-range values

BACnet Services

  • Alarm and Event Services: Notifications and acknowledgments
  • File Access Services: File transfer operations
  • Object Access Services: Read/Write property values
  • Remote Device Management: Device configuration
  • Virtual Terminal Services: Remote terminal access

BACnet Objects

  • Analog Input/Output/Value: Continuous values
  • Binary Input/Output/Value: On/off states
  • Multi-state Input/Output/Value: Enumerated states
  • Device Object: Device identification
  • Schedule Object: Time-based control
  • Trend Log Object: Historical data

BACnet/IP Workplace Applications

🏢 Commercial Office Building

Application: Integrated building management system controlling HVAC, lighting, and security.

BACnet/IP Usage:

  • Central BMS reads temperature sensors from multiple floors
  • Controls VAV boxes, chillers, and air handling units
  • Integrates with lighting controllers for energy optimization
  • Connects to access control systems for occupancy-based control

Benefits: 30% energy savings, unified interface, reduced maintenance costs

🏭 Manufacturing Facility

Application: Environmental control for clean rooms and production areas.

BACnet/IP Usage:

  • Monitors air quality parameters (temperature, humidity, pressure)
  • Controls specialized HVAC equipment for process requirements
  • Integrates with fire suppression and safety systems
  • Provides real-time alarming for critical parameters

Benefits: Compliance with regulations, product quality assurance, safety

🏥 Healthcare Facility

Application: Critical environment control for patient safety and comfort.

BACnet/IP Usage:

  • Maintains precise temperature and humidity in operating rooms
  • Controls isolation room pressure differentials
  • Integrates with nurse call and emergency systems
  • Monitors equipment rooms for medical devices

Benefits: Patient safety, regulatory compliance, energy efficiency

🏫 Educational Campus

Application: Multi-building campus energy management.

BACnet/IP Usage:

  • Centralized control of HVAC systems across multiple buildings
  • Scheduling based on class schedules and occupancy
  • Integration with utility meters for demand response
  • Remote monitoring and control from central facilities

Benefits: Reduced operating costs, sustainability goals, centralized management

Implementation Best Practices

  • Plan network architecture for scalability
  • Implement proper security measures
  • Use standardized device profiles
  • Document all device configurations
  • Establish maintenance procedures
  • Train operators on BACnet concepts

Common Integration Challenges

  • Network configuration and routing
  • Device compatibility issues
  • Security implementation
  • Performance optimization
  • Troubleshooting communication problems
  • Managing large device populations

💡 Pro Tips for BACnet/IP Implementation

  • Network Segmentation: Use VLANs to separate BACnet traffic from other network traffic
  • BBMD Strategy: Implement BACnet Broadcast Management Devices for multi-subnet communication
  • Security: Use firewalls and access control lists to protect BACnet networks
  • Monitoring: Implement network monitoring tools to track BACnet communication health
  • Documentation: Maintain accurate device databases and network diagrams

Knowledge Check

Test your understanding of BACnet/IP protocol concepts.

1. What is the default UDP port for BACnet/IP communication?

502 (0x01F6)
161 (0x00A1)
47808 (0xBAC0)
80 (0x0050)

2. Which service is used for device discovery in BACnet?

Read-Property
Who-Is
Write-Property
Subscribe-COV

3. What does BVLC stand for in BACnet/IP?

BACnet Virtual Link Connection
BACnet Virtual Link Control
BACnet Virtual Link Configuration
BACnet Virtual Link Communication

4. Which organization developed the BACnet standard?

IEEE
ASHRAE
ISO
NIST

5. In BACnet, what represents physical or logical information points?

Services
Protocols
Objects
Packets