Palettes, templates and bulk deployment in Niagara 4
Stop building the same logic twice in Niagara 4: custom palettes, device templates, tag-based linking, bulk deployment from a spreadsheet and station templates.
The engineers who get through Niagara jobs quickly aren’t faster at clicking. They just don’t build the same thing twice. Niagara 4 gives you three levels of reuse: palettes for pieces of logic, templates for whole configured units, and station templates for the starting point of every job.
Palettes
A palette is a library of components you drag into a station. Niagara comes with plenty: kitControl, the drivers, schedules, alarms, histories, kitPx, hierarchies and so on. Open them from the palette sidebar.
You can also keep your own palettes. A custom palette is just a file holding components you’ve built and tested, for example:
- duty/standby pump logic with changeover and fault handover
- a frost protection block
- an optimum start routine
- standard alarm extensions with your company’s limits and text
- a run-hours counter with a reset button
- standard folder structures for an AHU or a boiler house
Keep your palettes under version control in a shared location so the whole team uses the same tested blocks. A bug fixed once is then fixed on every new job.
Templates
A template goes a step further. It packages a configured component, often a whole device with its points, logic, alarms, histories, tags and graphics, into a reusable .ntpl file with deployment rules built in.
You make one by right-clicking a finished, tested component and choosing to make a template. The template editor lets you set:
- Info: name, vendor, version and description, plus notes on what changed in each version. Templates are versioned, so you can improve them over time.
- Configuration: the properties you want to be asked about each time the template is deployed, such as a device address, a duty pump selection or a setpoint. Add a short tip for each so whoever deploys it knows what to enter.
- Inputs and outputs: the connections the template needs to existing points in the station. You can give each one a hint written as a tag query. When the template is deployed, Niagara looks for points matching those tags and links them automatically.
- Graphics: the PX files that travel with the template.
Device templates stay tied to their driver, so a Modbus meter template deploys as a Modbus device with all its points ready. That’s where good tagging pays off: well-tagged points let templates wire themselves in.
Before turning a graphic into part of a template, relativise its ORDs so it works wherever it’s deployed.
Deploying templates
Drag a template from the templates sidebar onto the right place in the station, answer the configuration prompts, and it’s built. The Template Service keeps track of what’s been deployed and from which version.
Bulk deployment
For many identical devices, such as ten energy meters or fifty FCUs, Niagara can deploy a template many times from a spreadsheet:
- Export the template’s configuration to a spreadsheet. It creates one column for each configurable property.
- Fill in one row per device: folder, name, address, and any other settings.
- Use the template manager’s bulk deploy to build them all in one go.
Twenty devices with points, alarms, histories, tags and graphics can appear in about a minute. A mistake in the template appears twenty times too, so test it thoroughly on one device before scaling up.
Station templates
The New Station Wizard builds every new station from a station template. Make your own from a clean station that already contains:
- your standard services setup, alarm classes and recipients, and history settings
- standard users, roles and categories (see users, roles and nav files)
- your tag dictionaries and hierarchy definitions
- standard folders, PX banner and home page shell
- your custom palettes ready to hand
Every new job then starts from the same well-tested base, and every site you hand over looks familiar to the next engineer.
What it’s worth commercially
For a contractor, reusable engineering is a margin issue, not just a tidiness one. If your standard AHU template takes a day to build once and saves half a day on every AHU after that, it’s paid for itself by the second unit. Standardisation also makes service work faster, because every site is laid out the same way.