BuildIt โ JSON Configuration
Documentation
How to write JSON templates for PLC Tags, Rungs and Alarms
Rockwell Studio 5000 ยท BuildIt
Version History
| Version | Date | Initials | Description |
|---|---|---|---|
| V3.0.1 | 04-11-2026 | HHA | Json Configuration Document |
| V3.0.2 | 11-11-2026 | SGL | Template-based configuration rules, BuildIt linking, generation, troubleshooting and appendix |
| V3.0.3 | 18-11-2026 | Worksheet column screenshots linked to the JSON files; alarm example uses the function sheet columns |
Introduction to BuildIt JSON Configuration
Purpose of This Document
This document explains how to write the JSON configuration files that the Rockwell Adv generator in BuildIt uses to create Studio 5000 PLC tags, ladder rungs and alarms. It covers the three file types, how to link a file to a function in BuildIt, how to run the generator and how to solve common errors.
Who this document is for
Automation engineers who prepare BuildIt configurations for a project. You should know how to read tags, rungs and alarms in Studio 5000 and how the project worksheet (made from the IO list) is laid out. You do not need programming knowledge.
The three file types
| File type | BuildIt module | What it creates | Output file |
|---|---|---|---|
| PLC Tags | Tag | Tags and alias tags for a Studio 5000 tag import | RA_TAGS_<function>.csv |
| Rungs | Rung | Ladder rungs (with rung comments) for one routine | RA_RUNGS_<function>.l5x |
| Alarms | Alarm | Tag-based alarm definitions for the alarm import | RA_Alarms_<function>.xml |
How BuildIt Uses a JSON File
A BuildIt JSON file is a template, not a list of finished tags, rungs or alarms. You write the pattern of one tag, rung or alarm once. BuildIt then repeats that pattern for every row of the worksheet and fills in the values that change from row to row.
The values that change are written as placeholders: a worksheet column name in curly braces, for example {Tag} or {Description}. When BuildIt processes a row, it replaces each placeholder with the value of that column in the row.
Example: one template, many results
Template (in the JSON file): "NAME": "{Tag}_DIN_CM"
Worksheet row 1: Tag = E1A_KAA_S101 -> E1A_KAA_S101_DIN_CM
Worksheet row 2: Tag = E1A_KAA_S102 -> E1A_KAA_S102_DIN_CM
Worksheet row 3: Tag = E1A_KAA_S103 -> E1A_KAA_S103_DIN_CMThe working method used in this document
- Find one finished example of the tag, rung or alarm in Studio 5000.
- Find the worksheet columns that hold the values which change from row to row.
- Replace those values with {Column Name} placeholders. Keep everything else as fixed text.
- Save the JSON file, link it to the function in BuildIt and generate a test file.
- Compare the generated output with the Studio 5000 example.
Placeholders
A placeholder is the exact worksheet column header inside curly braces. The tables below list the rules for each file type.
| Rule | Details |
|---|---|
| Exact header | The text inside the braces must match the column header in row 1 of the worksheet sheet exactly, including spaces, capital letters and brackets. {Tag Part 2} and {Tag part 2} are different columns. |
| Unknown column | Tags and Alarms: a placeholder for a column that does not exist becomes empty text. Rungs: an unknown {Column} written directly in Comment or CDATA stays in the output as typed, and an unknown column in a data mapping becomes empty text. Always check the output for empty or unreplaced values. |
| Empty cell | An empty worksheet cell becomes empty text. |
| Characters not allowed (Tags and Alarms) | In Tag and Alarm files, the column name inside a placeholder must not contain a full stop ., colon :, exclamation mark ! or square brackets [ ]. For example {PLC No.} or {T. Funk} stops the generation with an error. Rename the column in the worksheet (for example PLC No) or use a different column. |
| Literal braces (Tags and Alarms) | To write a real curly brace in a Tag or Alarm value, type it twice: {{ or }}. |
| Special values | Alarm files also have the built-in placeholders {module_name}, {Dint_nr}, {fault} and {severity} (see section Alarms JSON File Configuration). Rung files use {data1}, {data2} and so on (see section Rungs JSON File Configuration). |
The Worksheet
BuildIt reads the values for the placeholders from the project worksheet (.xlsx, .xlsm, .xls or .csv) that you upload on the Generate page. Figure 1 shows the DIN sheet of a real project worksheet: the sheet is named after the function, row 1 holds the column headers, and every following row is one device.

Figure 1 โ DIN sheet of the project worksheet (excerpt of the DuBois IO list V99, some columns hidden)
๐ Please log in to continue reading this document.