Automation Change Management
PLC Version Control: Approved Versions, Git and the Native IDE Tools
Git against approved versions: how the two models differ, what each detects on a running controller, and why ladder logic is hard to diff.
PLC version control keeps every version of a controller program, records who changed it and why, and lets engineers compare versions and roll back. In a plant it has one extra job that ordinary software version control was never designed for: telling you whether the program running in the controller still matches the version that was approved, because a controller can be edited while it runs.
Two models answer that job differently. Dedicated change management tools use an approved-version workflow built around the running device. Git, which most vendors’ engineering tools now support in some form, is built around the engineer’s project. This page explains both, the native Git options now inside the vendor IDEs, why binary project files make Git hard, and how to choose. It sits under the automation change management hub.
This page explains the two models, Git and approved versions, and how they differ. The PLC version control field guide covers rollout, the tools as they hold up in real deployments, cost and regulation.
Two models of PLC version control
The approved-version model treats each device as the unit. There is one approved version per controller, robot or HMI. An engineer checks it out, edits it in the vendor’s own software, and checks it back in, where it is reviewed and approved. Scheduled jobs upload from the device and compare it with the approved version, so an online edit made outside the process shows up as drift. AMDT’s octoplant describes this workflow on its own site, and FactoryTalk AssetCentre works on a similar principle in Rockwell estates.
The Git model treats the project as the unit. Engineers commit changes to a repository, work on branches, open a merge or pull request, and the change is reviewed before it reaches the main branch. It is how software teams work, and it suits engineering teams building and reusing code across many machines.
| Dimension | Approved-version workflow | Git workflow |
|---|---|---|
| Unit of control | The device and its approved version | The project and its branches |
| Built for | Operating and maintaining a running fleet | Developing and reusing code |
| Detects online edits on the controller | Yes, through scheduled upload and compare | Not by itself; needs a device backup tool |
| Parallel development | Limited; usually one change at a time per device | Native: branches and merges |
| Who it suits | Maintenance, plant controls, quality and auditors | Engineering teams, OEMs, integrators |
| Binary project files | Handled through vendor-aware compare | Stored, but not meaningfully diffed or merged |
| Audit trail | Built in, with approval records | Commit history; approvals depend on the platform |
Neither model is complete on its own. An OEM building twenty machines from one code base needs branches. A plant running those machines for fifteen years needs to know what is in each one tonight. That is why the market is converging: Git-native tools such as Copia DeviceLink now back up running devices, and approved-version tools are adding better engineering workflows.
Native Git in the vendor IDEs
The biggest change in PLC version control over the last few years is that the engineering tools themselves now integrate with Git or similar systems. The details vary by release, so treat the table as a guide and confirm against your version.
| Engineering tool | Vendor | How it supports version control | What it means for a plant |
|---|---|---|---|
| TIA Portal with the Version Control Interface | Siemens | Exports project objects to a file workspace that an external system such as Git manages. The export format is new in V21 (November 2025): Siemens says it allows established version control systems such as Git to be integrated for the first time, for LAD, FBD, SCL, data blocks, PLC data types and mixed-language blocks (Siemens) | Git becomes practical for Siemens projects, with care over which objects are exported |
| SIMATIC AX | Siemens | Code-first environment built on VS Code, with text-based source and Git workflows (ARC). In June 2026 Siemens added XLad, which it calls the first text-based ladder programming tool, with integrated support for Git and CI/CD and editing in both graphical and text form (Siemens) | Software-style development for new Siemens projects, now including ladder kept as text; existing TIA projects stay where they are |
| FactoryTalk Design Studio | Rockwell Automation | Cloud-based, with “integrated version control, change tracking and streamlined workflows for sharing, reviewing and merging” (Rockwell). Rockwell’s documentation describes commit, push and pull to a “remote repository”, with merge conflicts resolved per file and change history that supports compare and restore; it names neither Git nor branches (Rockwell docs) | Version control and merging for Logix projects, delivered from the cloud, through Rockwell’s own commit, push and pull workflow |
| Studio 5000 Logix Designer with Rockwell’s VCS Custom Tools | Rockwell Automation | Free, MIT-licensed command-line tools on GitHub that explode an L5X export into text files, then commit, diff and restore through Git, converting to and from ACD with the Logix Designer SDK (GitHub) | Git for Logix projects, with the prerequisites and limits listed below the table |
| CODESYS with CODESYS Git | CODESYS Group | CODESYS Git 1.7.0.0 (January 2025) stores projects as text-based JSON, needs no local Git, and supports merge, diff, branch views and history with GitHub and GitLab. It is part of the Professional Developer Edition subscription and requires CODESYS 3.5.19.30 or later (CODESYS Store) | Applies to the many controllers built on CODESYS, including ABB Automation Builder |
| TwinCAT 3 | Beckhoff | Visual Studio-based, with project items stored as separate files that work with Git (Beckhoff) | One of the most Git-friendly PLC environments |
| PLCnext Engineer | Phoenix Contact | Version control integration, with Git and SVN support (PLCnext help) | Git for PLCnext projects |
| Ignition 8.3 | Inductive Automation | Gateway configuration stored as files on disk, which can be placed under Git (Inductive Automation) | SCADA and HMI configuration joins the same workflow as code |
Rockwell’s own Git tooling for Logix. Rockwell publishes ra-logix-designer-vcs-custom-tools
on GitHub, free under the MIT license. l5xplode explodes and implodes an L5X file into text
files, and l5xgit adds l5x2acd, commit, difftool and restoreacd, so a Logix project can
be committed, compared and restored through Git and converted to and from ACD. The tools need
Logix Designer and the Logix Designer SDK, they hook into the Tools menu, and Rockwell’s end-to-end
tests need V38 or later with SDK 2.2 or later. Rockwell lists the limits itself: source-protected
content “mutates with each export”, projects that do not verify cannot be converted, formats may
change, encoded Add-On Instructions can break ordering on merge, and exports made from the GUI
lack the SDK’s dependency metadata. Rockwell does not take contributions to the repository. For
pipelines, ra-logix-cicd is a Jenkins example under the MIT license, linked to application
technique LOGIX-AT002, “Industrial DevOps: CI/CD for Logix Control Systems”
(ra-logix-cicd).
CODESYS is moving toward text projects. CODESYS File-Based Storage 1.0.0.0 (6 August 2026) is a text project format with normalized line endings, listed as compatible with CODESYS Git 2.0.0.0 (CODESYS Store). CODESYS’s July 2026 roadmap lists Git for the third quarter of 2026 with file-based storage as the backend; saving in the format needs the Professional Developer Edition, and it requires SP22 (CODESYS roadmap). CODESYS 4 is a planned web-based IDE whose backend can run on a desktop, a server, the cloud or the PLC, with text projects managed in a version control system such as Git, SVN or Mercurial (CODESYS 4 help). The roadmap set its V1.0.0.0 for September 2026 with a limited scope (libraries and CI/CD) and a license fee after 2028. Whether it has shipped is unconfirmed, so check with CODESYS before planning around it.
What this does not cover. Every one of these is single-vendor and engineering-side. With one partial exception, none of them uploads from a running device on a schedule, covers robots, drives or a 2004 controller, or produces an audit trail of who changed which device on the floor. The exception is TwinCAT Multiuser (3.1.4024.0 and later): it keeps a Git-based “local” source control system on the target controller and records the user, timestamp and change each time a program is downloaded or changed online (Beckhoff). It covers only Beckhoff targets and works at download time rather than on a schedule, but it is the nearest native answer to what is running. The gap beyond it is the reason multi-vendor tools still exist, and it is covered in our PLC version control software comparison.
Why binary project files complicate Git
Git was designed for text. It stores any file, but its diff, merge and blame features only make sense when changes appear as lines.

Many PLC projects are binary. A Studio 5000 project saved as an ACD file, an RSLogix 500 file or a classic STEP 7 project is a binary or database-style container. Git will keep every version, but a diff between two of them says only that the file changed. Two engineers editing the same binary project cannot merge their work; one of them has to redo theirs.
Text exports help, with limits. Rockwell’s L5X and Siemens’ VCI exports turn a project into XML or text. The diff becomes readable, but a single moved rung can show as dozens of changed lines, and some content, such as online tag values or certain module settings, may not round-trip cleanly. Treat the export as a view of the project, and test that a re-imported project matches the original before relying on it. Our Studio 5000 project structure page explains why structure decides how readable those diffs are.
| Project format | What Git sees | Practical consequence |
|---|---|---|
| Studio 5000 ACD, RSLogix 500, classic STEP 7 | A binary or database-style container | Every version is kept, but diffs and merges are meaningless; one engineer edits at a time |
| Rockwell L5X and Siemens VCI exports | XML or text | Readable diffs, noisy for moved rungs; test that the re-imported project matches the original |
| Projects stored as separate files, as in TwinCAT 3 | Many smaller XML or text files | The closest to normal software practice: per-object diffs, and merges become possible with care |
| SCADA configuration on disk, as in Ignition 8.3 | Configuration files | HMI and SCADA changes can be reviewed in the same way as code |
Repositories grow. Binary files of tens of megabytes, committed daily, inflate a repository quickly. Git LFS or a dedicated tool’s storage handles this; plain Git on a file share does not.
Diffing ladder logic
A useful compare answers what changed in terms an engineer recognises: this rung, this tag, this preset, this module. That needs a tool that understands the vendor’s format.
- Graphical, rung-level compare shows the old and new rung side by side with the changed instruction highlighted. Copia advertises “built-in rendering for ladder logic, function block diagrams, and structured text” (copia.io); octoplant’s Smart Compare offers graph, table and text views (AMDT Smart Compare).
- Vendor compare tools ship with several IDEs and compare two projects, or a project against the online controller.
- Data and configuration matter as much as logic. A changed timer preset, a modified I/O configuration or an altered safety parameter can change machine behaviour with no change to a single rung. Check that a compare covers them.
Making PLC version control stick on the plant floor
The technical choice is the easier half. Version control works in a plant when a few rules are agreed and kept.
Write down who may edit what. Online edits will always be needed to keep a line running. The rule is not “never edit online” but “every online edit is checked in, or reversed, by the next working day.” The nightly compare enforces it without anyone policing it.
Record why, not only what. A compare shows that a timer preset changed from 2.0 to 3.5 seconds. Only a change note says it was raised to stop nuisance trips on the infeed, and that the real fix is a sensor bracket. That note is what the next engineer needs.
Make integrators and OEMs part of it. Commissioning should end with the final project checked into the plant’s repository as the approved version, with the source, the passwords and the software release recorded. Our systems integrator scope of work guide shows how to put that in a contract.
Start with the lines that hurt most. Bring the most critical and most frequently changed equipment under control first. Early wins, such as a drift alert that caught a change before it caused a fault, do more for adoption than any policy.
Limits and open questions
- Process versus tooling. Version control fails when online edits bypass it. No tool fixes that without an agreed rule about who may edit what, and a compare that catches the exceptions.
- Licensing of native features. Some IDE Git features sit in higher editions or add-ons. Check what your existing licences include before assuming they are free. CODESYS Git, for example, is part of the Professional Developer Edition subscription, which the CODESYS US store lists at $660 a year for one user and $3,300 a year for five users on a network license (CODESYS Store), and the CODESYS roadmap mentions a license fee for CODESYS 4 after 2028. Rockwell’s VCS Custom Tools are free but need a licensed Logix Designer and SDK.
- Cloud engineering tools raise the same network and data questions as any cloud service touching OT. Agree them with the OT security owner first.
- Mixed estates. A plant with five vendors may end up with five Git integrations and still need a separate tool for the running devices.
How to evaluate a PLC version control approach
- Which of your engineering tools can store projects as text today, at your software versions?
- Do you need parallel development (OEM, integrator, multi-line standards) or mostly controlled maintenance changes?
- How will online edits on the floor be detected and reconciled?
- Can the compare show rungs, tags, data values and hardware configuration in a readable form?
- Who approves a change, and where is that approval recorded?
- Will integrators and OEMs work inside the same repository and process?
- What happens to legacy controllers whose tools have no Git support?
Deeper
- octoplant version control and change management: an approved-version model in detail
- Check-in and check-out: the edit cycle in the native tool
- Change detection: separating planned from unauthorized change
- PLC backup software: the device uploads that version control depends on
If a modernization is the moment to put this in place, our control system modernization work builds version control and approval into the new system from the start.
Frequently asked questions
What is PLC version control?
PLC version control keeps every saved version of a controller program, records who changed it and why, and lets engineers compare versions and return to an earlier one. In OT it also has to answer a question software teams rarely face: whether the program running in the controller still matches the approved version, because controllers can be edited live.
Can you use Git for PLC programs?
Yes, increasingly. TIA Portal, SIMATIC AX, CODESYS, TwinCAT, PLCnext Engineer and Ignition 8.3 offer some form of Git or source-control integration, and Rockwell's FactoryTalk Design Studio has its own commit, push and pull version control, which Rockwell does not call Git. Git works best where the project is stored as text. It works poorly on binary project files, and it does not back up running devices or detect an online edit by itself.
Why is it hard to diff ladder logic?
Many PLC project files are binary, so a text diff shows nothing useful. Even when a project is exported to XML, a single rung change can appear as many changed lines, and the meaning sits in rungs, tags, data values and hardware configuration rather than in lines of text. Readable compares need a tool that understands the vendor's format and shows the change graphically, rung by rung.
What is the difference between Git and an approved-version workflow?
Git is built for parallel development: branches, merges and reviews before code reaches the main line. An approved-version workflow is built for operations: one approved version per device, check-out and check-in around each change, and scheduled compares that flag when the running program drifts from it. Many plants now use Git for engineering projects and an approved-version tool for the running fleet.
Does the integrator or OEM need to use our version control?
They should, and it is easiest to require it in the contract. Ask that commissioning ends with the final project checked into the plant's repository as the approved version, that changes during warranty go through the same process, and that the plant holds the source and passwords. Without that, the plant's history starts with a version nobody can explain.
References and further reading
- FactoryTalk Design Studio PLC Programming Software · Rockwell Automation
- CODESYS Git · CODESYS Group
- TE1000 TwinCAT 3: Source Control · Beckhoff Automation
- Version Management using a VCS · Phoenix Contact, PLCnext Engineer help
- Version and Source Control Guide · Inductive Automation, Ignition 8.3 User Manual
- About octoplant · AMDTOne vendor's description of the approved-version, check-in and check-out workflow.
- Copia Source Control · Copia Automation
- Design Studio: Project version control · Rockwell AutomationCommit, push and pull against a remote repository, with merge conflicts resolved per file. Rockwell names neither Git nor branches.
- ra-logix-designer-vcs-custom-tools · Rockwell Automation, on GitHubRockwell's command-line tools for committing, diffing and restoring Logix projects through Git, with the limitations Rockwell lists.
- ra-logix-cicd · Rockwell Automation, on GitHubA Jenkins example for Logix, tied to application technique LOGIX-AT002, Industrial DevOps: CI/CD for Logix Control Systems.
- TwinCAT 3 Multiuser concept · Beckhoff Automation
- CODESYS Professional Developer Edition listings, US store · CODESYS Group
- CODESYS File-Based Storage · CODESYS Group
- CODESYS Roadmap 2026 Q3 · CODESYS GroupGit for Q3 2026 with file-based storage as the backend, and the planned CODESYS 4 web IDE.
- CODESYS 4 help: file-based storage · CODESYS Group
- Press release: TIA Portal V21, 11 November 2025 · Siemens
- Press release: SIMATIC AX and XLad, 18 June 2026 · Siemens