Skip to main content

BACnet/IP

Device Production Ethernet

BACnet/IP via the Site Runtime bacnet (BVLC/NPDU ReadProperty/WriteProperty).

PropertyValue
Console protocol idbacnet-ip
Site Runtime pluginbacnet
TransportEthernet (TCP/UDP)
Readyes
Writeyes — through approved writes
Subscribe—
Device familiesB-AAC, B-ASC
Default group interval100 ms
MaturityProduction: complete driver (connection handling, address forms, batching, read and write)

Create the device​

  1. Open Connectivity → Devices and click Add device.
  2. Pick BACnet/IP in the protocol list.
  3. Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
  4. 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.

ParameterTypeDefaultRange / optionsRequiredDescription
Target Device IP Address
host
string—max 30 charsyes
Target Device Port
port
int478081 – 65535yes
Target Device Network
device_network
int00 – 65534noBACnet 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 MAC
device_mac
string—max 12 charsnoMAC 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 typesAddress 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.

PrefixObjectTypical type
AI, AO, AVAnalog input, output, valueFLOAT
BI, BO, BVBinary input, output, valueBIT
MSI, MSO, MSVMulti-state input, output, valueUINT8
ACC, PIVAccumulator, positive integer valueUINT32
IVInteger valueINT32
LAVLarge analog valueDOUBLE
CSV, DV, TVCharacterString, Date, Time valueSTRING
LO, BLOLighting output, binary lighting outputFLOAT, BIT
AddressTypeMeaning
AI1FLOATPresent value of analog input 1
AV10FLOATAnalog value 10
BO3BITBinary output 3
MSV2UINT8Multi-state value 2 (state number)
AI1.UnitsUINT8Engineering units code of AI1
AV10.High_LimitFLOATA property by name
AI1.Object_NameSTRINGThe object name
AI1.custom.8anyA property by numeric id (here 8)
AO1.NULLFLOATWrite 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​

SettingTypicalNote
Target Device IP AddressIP of the BACnet device or router
Target Device Port47808 (hex BAC0)Default BACnet/IP port.
Target Device Network0Set it, with the MAC, only for a device behind a router (0 to 65534).
Target Device MACemptyFor 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​

SymptomCauseFix
No answerWrong 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 badThe object does not exist, or the property is not readable.Check the object list with BACnet Scan.
Address refusedUnknown object prefix or property name.Use the prefixes above and the exact property name.
Value looks like a codeMulti-state values are numbers.Map state numbers in your consumer.
Write has no effectA higher priority holds the point.Release with .NULL, or use the right priority.