Test the PLC program before anyone stands at the machine
Most PLC programs are tested by hand: force an input, watch an output, tick a line in a checklist. It is slow, it is rarely repeated after a change, and the result depends on who did it. TAIPilot lets your AI assistant run the same checks as automated tests in S7-PLCSIM Advanced — repeatable, with virtual time, and with a report you can hand to a customer.
How it works
- Requirements from the specification. The control specification is read into numbered requirements, each with its own id (
tia_requirements). - A plant model answers the PLC. A small model of the process — tank level, pumps, valves, pressure — runs next to PLCSIM Advanced and feeds the inputs the way the real plant would (
tia_plant_model). This is virtual commissioning without a 3D model. - Tests drive the program. A test sets inputs, runs PLC cycles with virtual time and checks outputs and data-block values (
tia_plcsim_test). A test suite groups the tests and links each one to the requirements it proves (tia_test_suite). - A FAT report at the end. The suite produces a report in HTML, Excel and Markdown: verdict per test, a chart of the recorded signals and a traceability matrix from requirement to test.
Because the simulation uses virtual time, a run is much faster than real time — about 25× in our demo project.
A real example: BPS-1 booster pump station
The public demo project BPS-1 has 35 requirements and 23 tests. Version 1.0 of its program contains three realistic defects; the suite finds all three. One of them: the dry-run protection releases at the wrong level, so the pumps restart at 10 % and cycle. Test T08 fails in v1.0 and passes in v1.1, and the report shows a chart for each. The whole run — project, two compile and download rounds, two suite runs — took 4.5 minutes.
Read the BPS-1 case study or download the demo package and run it yourself.
What the FAT report contains
- A verdict for every test: PASS, FAIL, known deviation (XFAIL) or not applicable.
- A chart of the recorded signals for every test, so a failure can be seen, not only read.
- A traceability matrix: every requirement, the tests that cover it and their results.
- An overall verdict for the FAT round, for example “passed with known deviations”.
Nothing touches a real PLC
Downloads go to S7-PLCSIM by default. A real PLC needs an explicit interface and your confirmation, and a policy can forbid it completely. See Security & trust.
What you need
- TIA Portal with Openness and S7-PLCSIM Advanced (the demo was run with S7-PLCSIM Advanced V8 on TIA Portal V21).
- An MCP client such as Claude, Cursor or VS Code with GitHub Copilot.
- Logic tests in PLCSIM are part of the Pro plan; test suites, plant models, requirements traceability and FAT reports are part of Ultra. The 72-hour demo trial includes all of them on the demo project. See pricing.