Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:automation:02-glossary:bacnet-hidden [2020/01/13 11:45] jan_kozak |
en:automation:02-glossary:bacnet-hidden [2020/01/13 12:12] (current) mkudlacek |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== BACnet ====== | ====== BACnet ====== | ||
- | The BACnet (Building Automation Control Network) protocol was created as a standard for communication between various building automation devices. Its concept is characterized by user-friendliness, notable ruggedness and a possibility of implementation into simple and cheap devices. BACnet has been developed since 1980's, but its full ISO certification no. 16484-5 was issued only in 2003. As of today, its most recent update was released in [[https://www.iso.org/standard/71935.html|2017]]. | + | The BACnet (Building Automation Control Network) protocol was created as a standard for communication between various building automation devices. Its concept is characterized by user-friendliness, notable ruggedness and a possibility of implementation into simple and cheap devices. BACnet has been developed since 1980's, but its full ISO certification no. 16484-5 was issued only in 2003, with its most recent update released in [[https://www.iso.org/standard/71935.html|2017]]. |
- | Specifikace protokolu se nejvíce věnuje samotné výměně dat a definuje přes jaká fyzická rozhraní komunikace může probíhat. K dispozici je mimo jiné BACnet/IP pro síťovou komunikaci, BACnet MS/TP pro RS485 ale i BACnet/Zigbee pro úsporné bezdrátové sítě typu "mesh". | + | The protocol's specification focuses mostly on the data exchange itself and defines through which physical interfaces can devices communicate. Available is BACnet/IP for a network communication, BACnet MS/TP for serial communication through an RS485 interface, but also BACnet/Zigbee for low-power mesh wireless networks. |
- | Stejně jako oborově nejbližší protokol Modbus i BACnet funguje v režimu master/slave. Jedno (či více) master zařízení iniciuje komunikaci se slave zařízeními a vyčítá nebo zapisuje do nich hodnoty. Zajímavé je, že zařízení může být zároveň master i slave a může tak propojit komunikaci mezi různými fyzickými rozhraními. Efektivně se tak bude chovat jako router a přeposílat komunikaci např. mezi BACnet/IP a BACnet MS/TP. | + | BACnet operates in a master/slave mode - a feature shared with its closest counterpart Modbus. One or more master devices initiate communication with slave devices and read or write values into them. It is not without interest a device can serve simultaneously as master and slave, allowing it to act as a bridge between different physical interfaces. In this mode, the device effectively functions as a router and relays communication between, for example, BACnet/IP and BACnet MS/TP. |
- | Stěžejním prvkem BACnetu je způsob výměny informací. Z protokolu Modbus jsme zvyklí, že musíme předem znát přesnou definici zařízení se kterým budeme komunikovat. BACnet nám umožňuje si neznámé zařízení "osahat" a zjistit, jaké objekty a vlastnosti nám jsou dostupné. Právě "objekt" (angl. object) je jeden ze základních pojmů, které budeme s protokolem BACnet používat. | + | The core of BACnet is its method of data exchange. A well-known disadvantage of Modbus is the need to precisely specify devices we want to communicate with. BACnet, on the other hand, allows us to "discover" the device and find out which objects and properties are available on it. The "object" is one of the most basic terms we will use throughout the protocol. |
- | Každé BACnet zařízení sdílí informace pomocí objektů, což je definice podobná datovému bodu. Objekt tedy reprezentuje např. konkrétní vstup nebo výstup, provozní hodnotu zařízení apod. Každý objekt má své "vlastnosti" (angl. properties), což jsou skutečné hodnoty daného objektu. Abychom měli práci s neznámým zařízením jednodušší, definuje standard seznam vlastností, které každý objekt musí implementovat. Jsou jím např. název vlastnosti, její jednoznačný číselný identifikátor a její aktuální hodnota. Dalšími vlastnostmi mohou být název jednotky ve které je aktuální hodnota, její mezní hodnoty apod. Těchto vlastností je definováno více jak 500 a další jsou ponechané jako volně definovatelné pro výrobce zařízení. | + | Each BACnet device shares information through objects, which take the form of a definition similar to a data point. That means a single object represents one specific input/output, one operating value of the device etc. Each object has its properties, eg. real values of the said object. To make our work with an unknown device easier, the standard defines a list of properties each object must implement. Among these mandatory properties is, for example, a property name, its unique numerical identification and its current value. Other properties may include a quantity the current value represents, its threshold values etc. Currently, there are over 500 of such specified properties and many more can be defined freely by device vendors. |
- | Z Modbusu jsme zvyklí na komunikaci pomocí funkcí pro vyčítání a zapisování dat do registrů a coilů. BACnet tyto funkce pojmenovává službami (angl. services) a definuje jich přes 30. Služeb, které každé zařízení musí podporovat a se kterými přijdete nejčastěji do styku je ale jenom pár. Jsou to služby pro hledání zařízení na síti (služba Who-is), zjištování jeho objektů (služba Who-has) a služby pro vyčítání a zapisování hodnot vlastností (Read-property a Write-property). | + | Modbus users are also probably used to communicate through functions for reading or writing data into registers and coils. BACnet designates these functions as services and defines over 30 of them. However, there are only few services each device must support (and which you will encounter most frequently). These are services for looking up devices in the network (the Who-is service), describing its objects (the Who-has service) and read/write functions for editing property values (Read-property + Write-property). |
- | Instalačním technikům je ale většina definic důkladně skryta a umožňuje tak soustředit se na to nejdůležitější - uvedení zařízení do provozu. BACnet zařízení lze jednoduše přidávat a vyměňovat a protokol dává záruku, že zařízení různých výrobců spolu bude fungovat. | + | However, it is worth noting that most of BACnet definitions are well-hidden. This allows the BACnet users to focus on the most important task - to integrate the device into the network. BACnet devices can be easily added or swapped, while the protocol guarantees interoperability of devices from various vendors. |