Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 15

BACnet Basics

Generally Understandable
BACnet Basics

René Quirighetti
Siemens Switzerland Ltd., Building Technologies Group

October 2005 Seite 1


BA-System Levels
• Positioning of BACnet in the CEN Level Scheme

Standards: Management
BACnet Level

Standard: Automation
BACnet Level

Standard: Field
LonMark Level
Konnex
BACnet

October 2005 Seite 2


Protocol Layers and their Meaning
• Data Transport • Data Interpretation
– Network Layer – Application Layer
– Link Layer • Services
– Physical Layer • Objects

BACnet Application Layer

BACnet Network Layer


TCP/IP Dial-up
ISO 8802-2 MS / TP
PTP LonTalk
ETHERNET ARCNET RS 485 RS 232

October 2005 Seite 3


Data Transport: The Bus
• Flexibility by different media
• Media request for distinct link layers
– Ethernet / TCP/IP: TCP/IP provides access to company
networks
– LonTalk: including all media defined there
– Point to Point (PTP): mainly used for modem
connections
– Arcnet
– MS/TP

October 2005 Seite 4


Data Transport: The Network Layer
• BACnet provides a homogeneous network layer
– Routing through different busses is possible, eg. from a
modem link (PTP) through Ethernet to all LonTalk
segments
– Annex J of the BACnet Standard defines the routing
through a TCP/IP network. This ensures the integration
of a BACnet network into a company network
• The homogeneous network layer is important for the
flexibility of BACnet internetworking

October 2005 Seite 5


Example: Networks
• Routers:
– Are working on network layer, i.e. they are totally independent
from the application layer
– Standard routers in IP-networks, i.e. BACnet can be integrated in
any given company network
MS60 - Shell
File Edit Applications Settings Help

Standard (off the shelf) On

75 %
2 2 .4 C
Out sit e: 29.5 C

Of f
%
232 P2 2 . 4

21.0C

75

On
%
C

IP- Router
Date: 2.9.94 User : Muller Unacknowledged alarms: 1
Time: 14:45 Level: 3 High priority alarms :3

BACnet on
Ethernet/IP

BACnet on Ethernet/IP Intermediate BACnet


Network LON-IP
(Internet) router BACnet on LON
e.g. WAN
Ethernet-IP
Any standard
WAN / LAN-IP

October 2005 Seite 6


Application: Objects
• Datapoint objects • Miscellaneous objects
– Analogue in / out / value – Device object (provides
– Binary in / out / value device informations)
– Multistep in / out / value – Schedule object / calendar
– Accumulatior / Pulse object
Converter – Trenddata object
• Alarm handling objects – Loop object
– Notification class – Program / file object
(distribution of alarm – Virtual terminal object
messages)
– Event enrollment (defining
the alarm conditions)

October 2005 Seite 7


Application: Object Properties
• Properties are parameters of object-identifier
object-name
[75]
[77]
BACnetObjectIdentifier,
CharacterString,
objects object-type
present-value
[79]
[85]
BACnetObjectType,
REAL,
– Examples: present value, description
device-type
[28]
[31]
CharacterString OPTIONAL,
CharacterString OPTIONAL,
alarm limits, name, status status-flags [111] BACnetStatusFlags,
event-state [36] BACnetEventState,
• Bacnet distinguishes reliability [103] BACnetReliability OPTIONAL,
out-of-service [81] BOOLEAN,
between mandatory and update-interval [118] Unsigned OPTIONAL,
optional properties units
min-pres-value
[117]
[69]
BACnetEngineeringUnits,
REAL OPTIONAL,
• Properties may either be read max-pres-value
resolution
[65]
[106]
REAL OPTIONAL,
REAL OPTIONAL
only or also writable, i.e. cov-increment [22] REAL OPTIONAL,
time-delay [113] Unsigned OPTIONAL,
modifyable by BACnet notification-class [17] Unsigned OPTIONAL,
services) high-limit [45] REAL OPTIONAL,

and so on

October 2005 Seite 8


Application: Services
• BACnet offers 38 services on application layer
– The services are partitioned in these 6 classes:
• Alarm handling
• Object access
• Device management
• Network security
• File access
• Virtual terminal
– Examples are: read, write, change of value notification,
time synchronisation alarm messaging
October 2005 Seite 9
Models: Real Device and BACnet Objects
• BACnet objects are modelling the view onto a device
through the network
– BACnet objects don’t define internal functionality of
devices (algorithm)
– BACnet objects give the outside view onto device
functions
– Example: The BACnet loop object is defined in a way,
that different loop algorithm e.g. PI, PID, sequence,
predictive control.. can be mapped

October 2005 Seite 10


Models: Client - Server Relations
• The client is claiming services of
the server
– The client
• subscribes for changes of
values Client-Server
• gives order for trend data Relations
registration
• defines alarm limits
– The server maintains an image of
the device functionality and
executes the services

October 2005 Seite 11


Model: Peer to Peer Communication
MS60 - Shell
MS60 - Shell MS60 - Shell File Edit Applications Settings Help
File Edit Applications Settings Help File Edit Applications Settings Help

O n
232 P
22. 4 C
Out sit e: 29.5 C

2 2 .4 C 21.0C

O n O n
232 P
22. 4 C 232 P
22. 4 C
Out sit e: 29.5 C Out sit e: 29.5 C
0 % 75 %

Of f On
2 2 .4 C 21.0C 2 2 .4 C 21.0C 75 %

0 % 75 % 0 % 75 %

Of f On Of f On
75 % 75 %

Management
Date: 2.9.94 User : Muller Unacknowledged alarms: 1
User : Muller Unacknowledged alarms: 1 User : Muller Unacknowledged alarms: 1 Time: 14:45 Level: 3 High priority alarms :3
Date: 2.9.94 Date: 2.9.94
Time: 14:45 Level: 3 High priority alarms :3 Time: 14:45 Level: 3 High priority alarms :3

Level

MS60 - Shell
File Edit Applications Settings Help

Router
O n
232 P
22. 4 C
Out sit e: 29.5 C

2 2 .4 C 21.0C

0 % 75 %

Of f On

Router
75 %

Date: 2.9.94 User : Muller Unacknowledged alarms: 1


Time: 14:45 Level: 3 High priority alarms :3

Automation
Level

Field
Level

October 2005 Seite 12


Example: COV-Handling
COV Client 1- Client subscribes for a
value (data point) of the
MS60 - Shell
File Edit Applications Settings Help

On
232 P2 2 . 4 C
Out sit e: 29.5 C

2 2 .4 C 21.0C

0 % 75 %

Of f On
75 %

Date: 2.9.94 User : Muller


Time: 14:45 Level: 3
Unacknowledged alarms: 1
High priority alarms :3

server
2. Server returns the value
together with the
1 2
acknowledgement
Router Router
3. Server returns the value
1 whenever it changes
4 3 4 4. Client renews or cancels
subscription

2
COV Server COV Client 3
COV Server

October 2005 Seite 13


Extensability of the BACnet Protocol
• The BACnet protocol is designed in a way, that
extensions are easily possible
– Extensions by the BACnet Standard Committee
(SSPC-135)
– Proprietary extensions by manufacturers
• Extensible are
– Objects: new objects or new properties
– New services
• Therefore BACnet is future proof

October 2005 Seite 14


Compatibility and Conformity
• Compatibility of BA-systems - Interoperability
– BACnet interoperability Building Blocks BIBBs and
device profiles provide an overview
– PICS give the details: client- or server-role, object
types, bus types....
• Conformity to the standard - a premise
– Only with conformity to the standard interoperability
becomes possible
– ASHRAE is defining test procedures
– BACnet Interest Group is about to define testbeds and
a certification process

October 2005 Seite 15

You might also like