Version: V3.0.3 Previous Update: 13-11-2026

BuildIt โ€“ JSON Configuration

Documentation

How to write JSON templates for PLC Tags, Rungs and Alarms

Rockwell Studio 5000 ยท BuildIt

Version History

VersionDateInitialsDescription
V3.0.104-11-2026HHAJson Configuration Document
V3.0.211-11-2026SGLTemplate-based configuration rules, BuildIt linking, generation, troubleshooting and appendix
V3.0.318-11-2026Worksheet 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 typeBuildIt moduleWhat it createsOutput file
PLC TagsTagTags and alias tags for a Studio 5000 tag importRA_TAGS_<function>.csv
RungsRungLadder rungs (with rung comments) for one routineRA_RUNGS_<function>.l5x
AlarmsAlarmTag-based alarm definitions for the alarm importRA_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_CM
Important: Do not copy finished values such as E1A_KAA_M10K2 from Studio 5000 into the JSON file. A fixed value is the same for every row, so every generated tag, rung or alarm would get the same name. Use Studio 5000 only to find the pattern, then replace each value that changes with the matching placeholder.

The working method used in this document

  1. Find one finished example of the tag, rung or alarm in Studio 5000.
  2. Find the worksheet columns that hold the values which change from row to row.
  3. Replace those values with {Column Name} placeholders. Keep everything else as fixed text.
  4. Save the JSON file, link it to the function in BuildIt and generate a test file.
  5. 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.

RuleDetails
Exact headerThe 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 columnTags 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 cellAn 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 valuesAlarm 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)