Bacnet Basics
Bacnet Basics
Bacnet Basics
User's Guide
Table of Contents
BACnet Basics .............................................................................................................................................................. 1
What is BACnet? ...................................................................................................................................................1
BACnet objects ......................................................................................................................................................2
BACnet standard objects ...................................................................................................................... 2
BACnet vendor objects .......................................................................................................................... 2
BACnet device objects .......................................................................................................................... 3
BACnet properties.................................................................................................................................................3
BACnet optional properties ................................................................................................................... 3
BACnet proprietary properties .............................................................................................................. 3
BACnet routers ......................................................................................................................................................4
BACnet networks ..................................................................................................................................................4
BACnet MS/TP ....................................................................................................................................... 4
BACnet/IP .............................................................................................................................................. 5
BACnet addressing ...............................................................................................................................................6
Networks ................................................................................................................................................ 6
Objects ................................................................................................................................................... 7
Addressing summary............................................................................................................................. 8
Complete BACnet address formats ...................................................................................................... 9
To format a BACnet address ................................................................................................................. 9
Special rules with i-Vu Open systems ................................................................................................ 11
BACnet Basics
BACnet Basics
What is BACnet?
BACnet (Building Automation and Controls network) was developed by the American Society of Heating,
Refrigerating, and Air-Conditioning Engineers (ASHRAE). BACnet is an ISO global standard, American national
standard, a European pre-standard, and is used in more than 30 countries
BACnet is a data communication protocol, or set of communication rules, that ASHRAE created in order to
standardize communication between building automation system components. BACnet allows systems from
various vendors, such as HVAC, lighting, security and fire systems, to communicate with each other by
providing standardized methods for presenting, requesting, interpreting, and transporting information.
The BACnet specification defines all aspects of the BACnet protocol. This document focuses on the following:
Objects A BACnet object is a logical representation used in the BACnet protocol. It can be used to
represent many different aspects of a control system. Examples are0:
Services Information exchange between objects is provided by services. Services are used to perform
reads, writes, and I/O. The object that provides the service is a server and the object that requests the
service is the client. Most objects can be both a server and a client, depending on the system's needs.
Properties A property contains information about an object. Objects may contain a large collection of
properties, some of which may be required for the specific object type. Every object in BACnet must have
at least the following three properties:
object_identifier
object_name
object_type
BACnet resources
www.bacnet.org (http://www.bacnet.org)
www.ashrae.org (http://www.ashrae.org)
BACnet Basics
BACnet Basics
BACnet objects
BACnet is an object oriented protocol. I/O points, schedules, and devices are examples of objects. An object
may be a piece of data or a group of data points that perform a specific function.
Each object has a set of properties, such as the object's name, type, and present value, that describe its
behavior or govern its operation. Every property has a name and a value. The following are properties that
might exist in a BACnet analog input object:
Name
Value
Object_Name
Space Temperature
Object_Type
Analog Input
Present_Value
74.1
High_Limit
78
Low_Limit
68
Multi-state Input
Multi-state Output
Multi-state Value
Loop
Calendar
Notification Class
Command
LifeSafetyPoint
File
Program
Schedule
Trend Log
Group
Event Enrollment
Device
BACnet Basics
BACnet properties
Every object must have a collection of properties describing the object. Examples are:
BACnet Basics
BACnet Basics
BACnet routers
A BACnet router transmits BACnet messages between two BACnet networks. The networks can be different (IP
to MS/TP) or the same (IP to IP). The router sends appropriate messages between the networks in both
directions.
All i-Vu routers, such as the i-Vu Open Router and i-Vu Open Link, can function as a BACnet router.
BACnet networks
Different networking technologies provide varying levels of transport speed. The i-Vu Open BACnet network
types include:
BACnet MS/TP
MS/TP means Master-Slave/Token-Passing.
Master-Slave means that any device on the MS/TP bus has to be a master or a slave. A Master can initiate
communication when it has the token. Slaves can only respond to requests and can never initiate
communication or hold the token.
Token-Passing indicates that the entire MS/TP bus is controlled by a single token that is passed around from
master to master in order of MS/TP MAC address. Only the device with the token can initiate communication,
but any device can respond to a communication request.
MS/TP (Master-Slave/Token-Passing) is a datalink that is unique to BACnet. The MS/TP datalink sits on top of
an EIA-485 physical layer and uses common electronic components to provide a low cost implementation.
i-Vu Open systems use MS/TP at the lowest level of communication in the system. BACnet MS/TP is the sole
communication protocol used by i-Vu Open controllers. Communications on an MS/TP bus solely use MAC
addresses to direct messages.
Here are a few terms commonly used with BACnet MS/TP:
Polling for Masters: BACnet MS/TP network segments use a single token that is passed from master node to
master node in ascending address order. When a network is initialized, the lowest addressed node creates a
token, initiates any necessary communication, then incrementally polls the MS/TP bus until the next master
node is found. This process is called polling for masters.
Once the next master node is found, the token is passed to it and the process incrementally repeats until the
polling token is passed back to the original node (i.e. the node with the lowest MAC address).
BACnet Basics
Master found at 1
This sequence would continue until the first master device responds to the master polling. All i-Vu Open
devices are masters and would respond accordingly.
Max Info Frames: This is the maximum number of information frames that a node may send before it has to
pass the token. For example, a setting of 10 will allow the node with the token to initiate communication 10
times before it has to retire the token to the next master node on the network segment.
Token Count: The number of tokens received before polling for masters' sequence is initiated. This number is
set at 50 and is not configurable in i-Vu Open systems.
Network Overview
Below is a simplified sequence of operations for each node on the network:
1
Receive Token.
Increment the nodes token count, if the token count equals the Token Count parameter (as defined
above) then initiate the polling for masters sequence, or pass the token to the next node.
BACnet/IP
The BACnet/IP network allows BACnet messages to be communicated over IP local and wide area networks.
NOTE BACnet uses IP broadcasts to locate and communicate with other BACnet devices. These broadcasts
are normally blocked by IP routers. The BACnet specification outlines a method of using a BACnet Broadcast
Management Device (BBMD) that allows BACnet/IP communication across IP routers.
BACnet BBMD
BACnet/IP relies heavily on IP broadcasts. But in i-Vu Open systems deployed across multiple IP subnets, the
IP routers may block IP broadcasts. To address this issue, BACnet Broadcast Management Devices (BBMD's)
must be used.
Every subnet with a BACnet/IP router must have a BBMD configured in order for broadcasts from controllers
on that subnet to reach the rest of the routers on the network.
Every BBMD has a Broadcast Distribution Table (BDT). A BDT lists all of the IP addresses of other BBMD's on
the network. When a BBMD receives a BACnet broadcast on its local network segment, it forwards the
message to the other BBMD's through IP routers via unicasts. Once received, the receiving BBMD retransmits
the message on their subnet as an BACnet/IP broadcast.
BACnet routing with BBMD's is also referred to as "Annex J" routing because it is defined in that portion of the
BACnet specification.
A more thorough explanation of BBMD's is available in the BACnet/IP Tutorial at
http://www.bacnet.org/Tutorial/BACnetIP/default.html
http://www.bacnet.org/Tutorial/BACnetIP/default.html
BACnet Basics
BACnet Basics
Configuring BBMD's on i-Vu Open routers requires the BBMD Configuration Tool. See the BBMD Utility User
Guide for more information.
The following can function as a BBMD:
BACnet addressing
This section provides an overview of generic BACnet addressing and a detailed explanation of automatic
addressing in the i-Vu Open product line.
When using i-Vu Open, set unique addresses on every controller's rotary switches, prior to installation. i-Vu
then automatically generates BACnet addresses based on the rotary switches. Manual addressing is
necessary only for specific installation requirements or in case of a conflict with other BACnet systems.
A complete BACnet address must identify the object and the device that references it. An object ID is the
combination of the object type and its instance number. See BACnet standard objects (page 2) for common
object types.
Networks
The network number uniquely identifies a network in a BACnet system. i-Vu Open automatically generates all
network numbers.
Typical i-Vu systems have at least one MS/TP network with an IP backbone. All i-Vu Open systems must have
at least one MS/TP network. When using more than one MS/TP network, BACnet/IP must be used with i-Vu
Open routers to connect the MS/TP networks together with a single BACnet/IP backbone.
Network Numbers - Network numbers must be unique on a BACnet system regardless of the protocol.
BACnet MS/TP and BACnet/IP network numbers cannot be duplicated. A network number can range
from 1 65,534 (with 65,535 reserved for broadcasts).
BACnet/IP In an i-Vu Open system, all BACnet/IP devices (i-Vu Open web servers, i-Vu Open Routers,
etc.) default to a network number of 1600. We recommend you do not change this setting.
MS/TP MS/TP network numbers are determined by the router to the MS/TP network. Auto-generated
BACnet MS/TP network numbers take the following form:
161XX
16 = Carriers BACnet Vendor ID
1 = MS/TP network
XX = value of the routers rotary switches
NOTE In stand-alone systems, when no router is used, XX = 01
BACnet Basics
Objects
Point Objects
Point objects describe a point, such as analog or binary inputs and outputs. See BACnet standard objects
(page 2) for examples. In i-Vu Open, the default address of any point is initially configured at the factory.
Object name - an alpha-numeric string that describes a point and is unique within each device. Every
point name was carefully selected to briefly describe the point. We recommend that you do not modify
these names.
Example: The object name that represents zone temperature in a VVT Open Zone controller is
zone_temp.
Object type - an identifier that describes the specific type of point, such as an analog input, binary
output, etc. In i-Vu, an object type can be represented in many ways, numerically or with reserved words.
Example: An object type representing an analog input in i-Vu could be ai, analog-input, or 0.
Object instance - a numeric value (1 to 4194302) that must be unique to each object type in each
device. This value is set by the manufacturer and cannot be changed in i-Vu Open. Common points, such
as Outside Air Temperature, are usually found at the same instance number for consistency between
controllers.
Example: The object instance for zone temperature in a VVT Open Zone controller is 1.
Object ID - a combination of the object type and a unique instance number. For example, in i-Vu, AO:2
would be the second instance in a device of an analog output. The object ID is always unique because
object instances must be unique within the device.
Example: An object indentifier that represents zone temperature in a VVT Open Zone controller is AI:0.
Device Objects
i-Vu Open automatically generates the address of the device object, based on the device's rotary switch
setting.
MAC (Media Access Code) addresses are the lowest level addressing scheme in BACnet. In i-Vu Open
systems, MS/TP MAC addresses range from 1 99 and must be unique for each device within an MS/TP
network.
i-Vu uses the following conventions when auto-generating addresses:
MS/TP Controllers - the MS/TP MAC address is the two digit number defined by the rotary switches
NOTE The MAC address cannot be zero.
Routers - have a separate MAC address for each port. On MS/TP to IP routers, there is an IP and an
MS/TP MAC address. The IP MAC address is the IP address and BACnet port of the router. (Example:
192.168.1.100:0xBAC0 or 192.168.1.100.186.192). The MS/TP MAC address is always 0 on i-Vu
Open Routers and i-Vu Open Links. See the i-Vu Open Router or the i-Vu Open Link Installation Guide
for details on setting the IP address.
Device Instance must be unique within the entire system. It is the Instance number of the Device object
(Object type 8) in a BACnet system.
i-Vu uses the following conventions when auto-generating addresses:
Controllers - the device instance of controllers is a combination of the MS/TP network address and
MAC address for all controllers.
Example: A controller on network 16101 with a MAC Address set to 11 on the rotary switches has a
Device Instance number of 1610111.
Routers the Device Instance of routers is a combination of the BACnet/IP network number
(default: 1600) and the value of the routers rotary switches
Example: The router with rotary switches set for 01 will have a device instance of 160001.
Device name - an alpha-numeric string that is unique within the system, automatically generated as
device followed by the device instance.
Example: The device with instance 1610111 has a device name of device1610111.
BACnet Basics
BACnet Basics
Addressing summary
Legend
16 = Carrier's BACnet Vendor ID
xx = Router's rotary address (Router Address)
yy = Open controller's rotary address (MS/TP MAC Address)
Router:
BACnet IP network number = 1600
BACnet device instance number = 1600xx
BACnet device instance name = device1600xx
BACnet MS/TP network number = 161xx
MS/TP MAC address = 0 (fixed)
Open controllers that are connected to the router:
BACnet device instance number = 161xxyy
BACnet device instance name = device161xxyy
MS/TP MAC address = yy
BACnet MS/TP network number = 161xx (supplied by the router, defaults to 16101 if there is no router.)
If a routers MS/TP address is set to 200 and the connected Open controllers are auto-generated, their
settings will be:
BACnet MS/TP network number = 200
BACnet device instance number = 200xxyy
BACnet device instance name = device200xxyy
MS/TP MAC address = yy
BACnet Basics
NOTE Numeric values in a BACnet address can be entered using decimal or hexadecimal notation. Type 0x
before a hexadecimal value.
EXAMPLES
bacnet://1610101/
bacnet://device1610101/
bacnet://16101:0x1/
bacnet://this/
EXAMPLES
bacnet:///ai:2
bacnet:///analog-input:2
bacnet:///0:2
BACnet Basics
bacnet:///zone_temp
BACnet Basics
NOTES
For object type, you may type the abbreviation, the full name, or the object type number.
Some standard BACnet object type numbers are listed below. See the BACnet standard
for a complete list. For proprietary BACnet objects, see the object's manufacturer.
Use...
ai
ao
av
bi
bo
bv
dev
msi
mso
msv
Or...
analog-input
analog-output
analog-value
binary-input
binary-output
binary-value
device
multistate-input
multistate-output
multistate-value
Or...
0
1
2
3
4
5
8
13
14
19
Every object in a controller has a unique instance number, regardless of its control
program.
bacnet:////cov_increment
bacnet:////22
bacnet:////priority-array(12)
bacnet:////87(12)
TIP For standard BACnet objects, see the BACnet standard for property identifiers and
property identifier numbers. For proprietary BACnet objects, see the object's manufacturer.
EXAMPLE
Number (116)
bacnet:////@9
NOTE Priority levels 1 and 2 are reserved for manual and automatic life safety commands.
For more information on reserved priority levels see the BACnet standard.
Examples of BACnet addresses:
bacnet://1610101/ai:2
bacnet://1234:0x23/analog-input:2/
10
BACnet Basics
BACnet Basics
11