BACnet/IP
BACnet/IP via the Site Runtime bacnet (BVLC/NPDU ReadProperty/WriteProperty).
| Property | Value |
|---|---|
| Console protocol id | bacnet-ip |
| Site Runtime plugin | bacnet |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | B-AAC, B-ASC |
| Default group interval | 100 ms |
| Maturity | Production: complete driver (connection handling, address forms, batching, read and write) |
Create the device
- Open Connectivity → Devices and click Add device.
- Pick BACnet/IP in the protocol list.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.
Connection parameters
Every field the Console shows for this protocol. Required fields must be set before the device can be saved.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Target Device IP Addresshost | string | — | max 30 chars | yes | |
Target Device Portport | int | 47808 | 1 – 65535 | yes | |
Target Device Networkdevice_network | int | 0 | 0 – 65534 | no | BACnet network number the device is on. Only used when a device MAC is given. Leave at 0 for a device reachable directly at the address above. |
Target Device MACdevice_mac | string | — | max 12 chars | no | MAC of a device behind a BACnet router, as hex without separators - an MS/TP station is one octet such as 05, a B/IP address six such as C0A80164BAC0. When set, the IP address above must be the router. Leave empty for a device on this network. |
Tag addresses and data types
Supported data types: INT8, UINT8, UINT16, INT32, UINT32, FLOAT, DOUBLE, BIT, BOOL, STRING. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
INT8 | \w+\.UTC_Offset$ |
UINT8 | ^(MSI|MSO|MSV|ACC)[0-9]+$|\w+\.Update_Interval$|\w+\.Time_Delay$|\w+\.Notification_Class$|\w+\.Units$|\w+\.Event_State$|\w+\.Reliability$|\w+\.Object_Type$|\w+\.Polarity$|\w+\.custom.[0-9]+$|\w+\.System_Status$|\w+\.Protocol_Version$|\w+\.Protocol_Conformance_Class$|\w+\.Segmentation_Supported$|\w+\.APUD_Segment_Timeout$|\w+\.Number_Of_APDU_Retries$|\w+\.Max_Master$|\w+\.Max_Info_Frame$|\w+\.Pulse_Rate$|\w+\.Value_Before_Change$|\w+\.Notify_Type$ |
UINT16 | \w+\.Vendor_Identifier$|\w+\.Max_APDU_Length_Accepted$|\w+\.APUD_Timeout$ |
INT32 | ^(IV)[0-9]+$|\w+\.custom.[0-9]+$ |
UINT32 | ^(ACC|PIV)[0-9]+$|\w+\.custom.[0-9]+$ |
FLOAT | ^(AI|AO|AV|LO)[0-9]+$|^AO[0-9]+\.NULL$|\w+\.Min_Pres_Value$|\w+\.Max_Pres_Value$|\w+\.Resolution$|\w+\.COV_Increment$|\w+\.High_Limit$|\w+\.Low_Limit$|\w+\.Deadband$|\w+\.custom.[0-9]+$|\w+\.Scale$|\w+\.Prescale$ |
DOUBLE | ^(LAV)[0-9]+$|\w+\.custom.[0-9]+$ |
BIT | ^(BI|BO|BV|BLO)[0-9]+$|^BO[0-9]+\.NULL$|\w+\.custom.[0-9]+$ |
BOOL | \w+\.Out_Of_Service$|\w+\.custom.[0-9]+$|\w+\.Daylight_Savings_Status$ |
STRING | ^(CSV|DV|TV)[0-9]+$|\w+\.custom.[0-9]+$|\w+\.Object_Name$|\w+\.Description$|\w+\.Device_Type$|\w+\.Status_Flags$|\w+\.Vendor_Name$|\w+\.Model_Name$|\w+\.Firmware_Revision$|\w+\.Application_Software_Version$|\w+\.Location$|\w+\.Protocol_Service_Supported$|\w+\.Protocol_Object_Types_Supported$|\w+\.Serial_Number$|\w+\.Profile_Name$|\w+\.LOCAL_TIME$|\w+\.LOCAL_DATE$|\w+\.Value_Change_Time$ |
Addressing and notes
Address syntax and examples
<object type><instance>[.<property>]
Without a property the Present_Value is read and written.
| Prefix | Object | Typical type |
|---|---|---|
AI, AO, AV | Analog input, output, value | FLOAT |
BI, BO, BV | Binary input, output, value | BIT |
MSI, MSO, MSV | Multi-state input, output, value | UINT8 |
ACC, PIV | Accumulator, positive integer value | UINT32 |
IV | Integer value | INT32 |
LAV | Large analog value | DOUBLE |
CSV, DV, TV | CharacterString, Date, Time value | STRING |
LO, BLO | Lighting output, binary lighting output | FLOAT, BIT |
| Address | Type | Meaning |
|---|---|---|
AI1 | FLOAT | Present value of analog input 1 |
AV10 | FLOAT | Analog value 10 |
BO3 | BIT | Binary output 3 |
MSV2 | UINT8 | Multi-state value 2 (state number) |
AI1.Units | UINT8 | Engineering units code of AI1 |
AV10.High_Limit | FLOAT | A property by name |
AI1.Object_Name | STRING | The object name |
AI1.custom.8 | any | A property by numeric id (here 8) |
AO1.NULL | FLOAT | Write NULL to release a priority slot (writes) |
Property names are the BACnet names with underscores, such as Present_Value, Description, Out_Of_Service, Min_Pres_Value, Max_Pres_Value, COV_Increment, High_Limit, Low_Limit, Deadband, Status_Flags, Reliability.
The device is the BACnet device at the IP address in the connection form. The address only names the object, so there is no device instance in it.
Endianness
Not applicable. BACnet encodes typed values.
Typical settings
| Setting | Typical | Note |
|---|---|---|
| Target Device IP Address | IP of the BACnet device or router | |
| Target Device Port | 47808 (hex BAC0) | Default BACnet/IP port. |
| Target Device Network | 0 | Set it, with the MAC, only for a device behind a router (0 to 65534). |
| Target Device MAC | empty | For routed MS/TP devices. |
Use the BACnet Scan plugin to discover devices and their objects first. Group interval: 1000 ms for process values; BACnet devices are often slow, so do not poll faster than 1000 ms.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
| No answer | Wrong IP or port, the device is on another network, a firewall blocks UDP 47808. | Check the route. For a routed device set network and MAC. |
Tag bad | The object does not exist, or the property is not readable. | Check the object list with BACnet Scan. |
| Address refused | Unknown object prefix or property name. | Use the prefixes above and the exact property name. |
| Value looks like a code | Multi-state values are numbers. | Map state numbers in your consumer. |
| Write has no effect | A higher priority holds the point. | Release with .NULL, or use the right priority. |