Setting up the BACnet driver in Niagara 4, from local device to export table
Configuring BACnet in Niagara 4: local device, IP and MS/TP ports, discovering devices and points, alarm, schedule and trend log extensions, and the export table.
BACnet is the protocol you’ll use most in Niagara, and the driver can do far more than pull in a few points. Niagara can act as a BACnet client, reading and writing other devices’ data, and as a BACnet server, presenting its own data to other systems as BACnet objects. Setting it up properly at the start avoids a lot of rework later.
The local device
Before anything else, configure the station’s own BACnet identity under BacnetNetwork › Local Device:
- Device instance. It must be unique across the whole BACnet internetwork, which on a big site might include other contractors’ systems. Clashes cause odd, intermittent faults; see duplicate device instances.
- Object name. Also unique, and something meaningful.
Agree both with whoever manages the site’s BACnet numbering before you start.
Network ports
Under the network’s Bacnet Comm › Network you add one port for each BACnet network the station connects to:
- IP port for BACnet/IP. Choose the right network adapter (JACEs often have two), the UDP port (47808 by default) and the BACnet network number.
- MS/TP port for RS-485 trunks. Set the serial port, the station’s MAC address, the baud rate, Max Master and the network number.
Every BACnet network on the site needs a unique network number. If the JACE routes between IP and MS/TP, it becomes a BACnet router, and those numbers matter even more. For trunk wiring and settings, see RS-485 and MS/TP wiring.
If devices sit on other IP subnets, you’ll also need BBMD or foreign device registration so discovery can reach them.
Discovering and adding devices
Open the Bacnet Device Manager and press Discover. Niagara sends a Who-Is, and devices reply with their instance number, address and vendor. Narrow the instance range on big sites so discovery doesn’t take forever. Select what you need, add the devices, and give them sensible names.
If nothing comes back, work through why BACnet/IP devices aren’t discovered.
Discovering and adding points
In each device’s Points extension, discover the device’s objects and add the ones you need. Niagara maps BACnet object types to point types automatically: analogue inputs become numeric points, binary outputs become boolean writables, multi-state values become enum points, and so on.
A few things to check as you add them:
- Names and facets. Rename points to your standard, and set units and decimal places. Some devices send units, many don’t.
- Write priority. For writable points, check which BACnet priority Niagara writes at, and make sure it fits with anything else writing to the same object.
- Polling or COV. Niagara can poll values or subscribe to change-of-value (COV) notifications. COV cuts network traffic on busy MS/TP trunks, but not every device supports it well. The network’s tuning policies control poll rates and stale timeouts.
- Tags. Tag points as you add them. It makes everything later easier; see tagging and hierarchies.
Device extensions beyond points
Each BACnet device in Niagara has more than a points folder.
Alarms. If the device generates its own BACnet alarms (intrinsic alarming or event enrolment), Niagara can receive them, provided the station is a recipient in the device’s notification class. Received alarms then flow through Niagara’s normal alarm routing.
Schedules. Niagara can read and edit the BACnet schedule objects inside a controller, or push a Niagara schedule out to a device. This keeps time control in the controller, so it survives comms loss, while still being editable from the front end.
Trend logs. If the controller logs its own data in BACnet trend log objects, Niagara can import those records into Niagara histories. That’s useful where controllers log faster than Niagara could poll.
Config. Gives access to the device’s objects and properties directly. Handy for fault-finding and for reading properties that aren’t exposed as points.
Niagara as a BACnet server: the export table
Sometimes another system needs data from Niagara: a third-party BMS, an energy platform, or another contractor’s supervisor. Under the local device’s Export Table, you can expose Niagara points as BACnet objects. Other BACnet clients will then see the station as a BACnet device, with those objects available to read and, if you allow it, to write.
Only export what’s genuinely needed, name the objects clearly, and be deliberate about which objects allow writes.
A setup checklist
- Agree device instances, network numbers and IP addresses with the site.
- Configure the local device and network ports.
- Discover devices in sensible instance ranges, then add and rename them.
- Discover and add points, setting names, facets, tags and write priorities.
- Set up alarms, schedules and trend logs where the controllers use them.
- Export points only where another system needs them.
- Check device and point status. Everything should be ok, with nothing down or stale.