A compiled program is not the source
The controller holds what it needs to run. That is not the same artefact an engineer needs to change something in three years.
Whether you can get a workable program back out of the controller is genuinely contested, and that is the point. Search the question and you will find confident answers in both directions, sometimes on the same website: that the newer Siemens families keep tag names and comments in the controller and give them back on upload, and that the controller holds compiled code only and the comments live in the offline project. The answer varies by platform, by firmware, by the version of the engineering tool and by how the program was downloaded in the first place.
You do not need to resolve that argument. You need to not depend on it. Ask for the project, not for the reassurance that you could always pull it off the controller.
Where block protection is switched on, the question does not arise at all: the logic is hidden by design, and what remains readable is the block's interface and the fact that it is called. That can be a legitimate choice for a vendor's own library. It is not a legitimate state for the blocks that describe your process.
The project file carries a date, and the date is a lock
Engineering projects are version-stamped, and the stamp is one way.
Siemens documents this plainly for TIA Portal. A project made in version 14 or later opens in a newer version after you confirm the upgrade, and it is then rewritten with the newer file extension. Projects from version 13 and earlier have to pass through version 14 first. What the documentation does not offer is a way back: once the project is upgraded it is not saved to the older format again, so the only reliable rollback is the copy you archived before opening it.
The consequence for a buyer is small and sharp. "Here are the project files" is not an answer. The answer is the version number. If the work was done in a version newer than the one your own people or your next supplier run, those files are not usable until somebody buys an upgrade, and the upgrade is a decision you did not know you were making.
The same shape of problem exists on the other platforms, under different names and with different rules. Ask the version question regardless of whose controller it is.
The tool that opens it is licensed, and the licence is not yours
Reading an industrial project usually requires the manufacturer's engineering software, and that software is sold, not given. A handover that assumes the recipient already owns a seat is a handover that works only for people who already had one.
This is worth settling in writing before the work starts, because it decides what your options are later. Either you hold a licence, or your next supplier does, or you have accepted that changing the machine means going back to the same firm. All three are defensible. Only the third one tends to be chosen by accident.
Drawings you can read, and drawings you can change
A PDF of the electrical schematic lets you understand the panel. It does not let you modify it, and the next person to add a sensor will redraw what already exists or, more often, will not draw it at all and will leave the cabinet and the documentation permanently out of step.
Ask for the editable source alongside the PDF, in whatever package it was drawn in. If the answer is that there is no source because the drawings were made after the fact from the finished cabinet, that is useful to know on day one rather than in year four.
A backup is a hypothesis until somebody restores it
Backups of controllers and operator panels are routinely included in a handover and almost never tested. An untested backup is a claim about the future, and the claim fails in ordinary ways: the firmware on the replacement unit is not the firmware the backup came from, the restore needs a tool nobody kept, the panel's recipe data was never in scope, the archive is complete but nobody can say which of the three files is the current one.
The test is not difficult and it belongs in the acceptance, while the integrator is still on site and still has an interest in the answer. Restore it onto something, in front of the people who will have to do it alone at two in the morning.
What to put in the order
None of this is a negotiation if it is written down before the work starts. It becomes a negotiation afterwards, and by then the leverage has moved.
- The source project for every controller and panel, named by tool and by exact version.
- A statement of which blocks, if any, carry protection, and why.
- Electrical drawings in editable form as well as PDF.
- Backups of controllers and panels, with the firmware versions they were taken from recorded.
- One restore performed during acceptance, by your people, with the supplier watching rather than doing.
- Who holds which engineering licences, stated rather than assumed.
- Confirmation in writing that the code and documentation are yours to take elsewhere.
A supplier who intends to hand all of this over loses nothing by agreeing to it in the order. The reaction to the list is itself informative.
The same gap is a security gap
This is usually filed as a commercial problem about supplier lock-in. It is also, quietly, the reason several security obligations cannot be met.
If nobody can open the program, nobody can tell whether it changed. Change detection on a control system is not a product you buy; it starts with somebody being able to read what is supposed to be there. If the backup has never been restored, the recovery plan is a document rather than a capability, and recovery is what regulators ask about first because it is the one thing that is easy to test. And a machine whose logic nobody in the building understands cannot be assessed for risk at all, because nobody can say what an abnormal command would even look like.
None of that argues for buying anything. It argues for asking for what you already paid for, on the day it is handed over.
This guide is published in English and in Polish. The two editions are not translations of each other: the Polish one is written for a company commissioning the work in Poland and closes on what the KSC act expects of the same artefacts.
Questions
Can we not just upload the program from the controller if we lose the project?
Sometimes, partially, and you cannot know in advance. The publicly available technical writing contradicts itself on whether the newer Siemens families return tag names and comments on upload, because the answer depends on the platform, the firmware, the version of the engineering tool and how the program was downloaded in the first place. Where block protection is switched on the logic is hidden by design. Treat upload as a salvage route, never as the plan.
Why does the version of the engineering tool matter?
Because the project file carries it and the upgrade runs one way. Siemens documents that a TIA Portal project made in version 14 or later opens in a newer version once you confirm the upgrade, that projects from version 13 and earlier must pass through version 14 first, and that the upgraded project is not written back to the older format. If your supplier worked in a newer version than you or your next supplier run, the files are unusable until somebody buys an upgrade.
What should the order say about the code?
That the source project for every controller and panel is delivered, named by tool and exact version; which blocks if any carry protection and why; drawings in editable form as well as PDF; backups with the firmware versions they were taken from; one restore performed during acceptance by your people; who holds which engineering licences; and that the code and documentation are yours to take elsewhere.
Is a PDF of the electrical schematic enough?
To understand the panel, yes. To change it, no. Without the editable source the next person to add a sensor either redraws what already exists or draws nothing, and the cabinet and the documentation drift apart permanently. Ask for the source alongside the PDF, and if there is no source because the drawings were made after the fact, it is better to learn that on day one.
How does any of this relate to NIS2 or the KSC act?
Change detection on a control system starts with somebody being able to read what is supposed to be there, and recovery is the obligation an auditor can test most easily. A program nobody can open and a backup nobody has restored turn both of those into paperwork. The commercial problem and the compliance problem have the same root.
Does a supplier lose anything by agreeing to this?
A supplier who intended to hand it over loses nothing by writing it into the order. The cost is a few lines in a document before the work starts, rather than a negotiation afterwards when the leverage has moved. The reaction to the list is itself informative.
Sources
- Siemens, TIA Portal documentation, compatibility between TIA Portal versions: docs.tia.siemens.cloud. Cited for the forward-only upgrade of projects from version 14 onward and for the requirement that earlier projects pass through version 14.
- The disagreement over what an upload returns is drawn from the publicly available technical writing on the question, which contradicts itself. It is cited here as a reason not to rely on upload rather than as a finding about any particular controller.
- Liscere, GD-2026-01, "NIS2 and the Polish KSC act: who is covered and by when": liscere.com
- Liscere, GD-2026-05, on where the deadlines in national transposition actually come from: liscere.com
Cite this article
@misc{liscere_gd_2026_06,
author = {{Liscere}},
title = {You paid for the machine. Check that you also got the program},
howpublished = {Liscere Guides GD-2026-06},
year = {2026},
month = nov,
url = {https://liscere.com/research/gd-2026-06/}
}