Skip to content

Version control for TIA Portal

TIA Portal Git: version control for PLC code

Treat PLC code like software: built-in Git version control right inside AnyAutomation Studio. Stage, commit, diff, push and pull.

TIA Portal V15-V21 · GitLab, GitHub, Azure DevOps

Git for your automation project

  • Readable block diffs

    See line by line what changed in a block between two versions, and review it before you commit.

  • Tests versioned with the code

    SCL unit test suites are plain-text JSON files. You version and review them together with the code.

  • Branches and any remote

    Create, switch and merge branches, then sync with GitLab, GitHub, Azure DevOps or your own server.

Git for TIA Portal means versioning PLC code like software: commit changes, view diffs, manage branches and sync with a remote. AnyAutomation Studio brings a built-in Git source control straight into the IDE, without leaving the editor. Code the AI for PLC programming generates lands in the same history, reviewable as a diff.

How does Git work in AnyAutomation Studio?

Through the source control view you stage and commit changes to blocks and project files, view diffs, manage branches and push, pull or sync with any Git remote: GitLab, GitHub, Azure DevOps or self-hosted. Because SCL unit test suites are plain-text JSON files next to the project, you version tests and code together. Details in the Git client documentation.

How does it fit Openness, tests and CI/CD?

Git is the basis of the end-to-end flow: AI generates → Openness imports → unit tests verify → Git and CI/CD track every change. Studio also works with the version control workspaces of TIA Portal itself, the Version Control Interface (VCI): you manage them from TIA Portal V17 and connect, export and synchronize objects from V20. Teams moving away from a central backup archive find what Studio covers, and what it does not, on the page for teams leaving a central backup archive.

Test suites live as JSON next to the project and run against PLCSIM Advanced or a real S7.

Frequently asked questions

Can you version TIA Portal projects with Git?

Yes. AnyAutomation Studio ships with built-in Git version control that lets you stage, commit, diff blocks and project files and sync with a remote.

How does Git work in AnyAutomation Studio?

Through a source control view in the IDE: stage and commit changes, view diffs, manage branches and push, pull and sync, the familiar Git workflow for PLC code.

What is the difference from the Version Control Interface (VCI)?

VCI is the interface in TIA Portal that links project objects to files in a workspace folder, one file per object. AnyAutomation Studio uses it: in Version Control Workspaces you connect objects, export and import them and see in the Workspace Status which side changed (from TIA Portal V20, changes from Pro). In addition, Studio offers the export folder, the Git client, AI generation and unit tests in the same IDE.

Can I version SCL unit test suites with Git?

Yes. Test suites are plain-text JSON files next to your project file and can be staged, committed, diffed and reviewed like any other code.

Does it work with GitLab and GitHub?

Yes. You can sync with any Git remote: GitLab, GitHub, Azure DevOps or self-hosted.

How do I set up a Git workflow for TIA Portal?

Export the blocks to files, put the export folder under Git, commit each change with a message and review diffs before you import back into the project. The blog post Git workflow for TIA projects walks through it step by step.

Try it now

Version and test your PLC code

Try AnyAutomation Studio free for 30 days, no credit card. For TIA Portal V15-V21 and CODESYS 3.5.

Free account required: sign in with your email address and a code, then the download starts.

Questions? support@anyautomation.ch