Skip to content

Working with AI

A Scadora project is a folder of plain text files: screens, tag tables, connections and alarms in JSON, scripts in JavaScript. An AI assistant that works with files can therefore build a project together with an engineer: add tags and alarms, draw screens, write scripts and reports, and find mistakes.

  • The project on disk is text. Each screen and each tag table is a separate file (Project on disk). Changes show up line by line in git.
  • Command-line check. scadora check <project> --json checks the project the way the editor does, and all scripts the way the Check button does: missing tags and screens, typos in function names, wrong system function parameters. The exit code is 1 when there are errors, so the assistant fixes them and checks again.
  • JSON schemas of the files at scadora.app/schemas/ or via scadora schema <folder>: which properties each screen element and each driver’s settings have.
  • AGENTS.md. scadora new <folder> creates an empty project and a file of rules for AI assistants: where things are, how to check, what not to make up.
  • An index for AI tools at scadora.app/llms.txt: documentation pages with descriptions.
  • Changes reach the server at once. A running server notices saved files and applies them, and network download sends the project to a bench server.
  • Familiar names. Scripts are JavaScript, and system functions are named as in WinCC (ActivateScreen, SetBit), so an AI that knows WinCC understands them without hints.
  1. Install Scadora. scadora.exe is in the installation folder next to the editor.

  2. Create a project: scadora new C:\Projects\Boiler --name "Boiler house".

  3. Open the folder in an AI assistant that works with files and commands (Claude Code, Codex, Cursor and others) and describe the task, for example:

    Build a boiler house project on the simulator: boiler temperature, a pump with start command and feedback, an overheat alarm with a limit the operator can change, and a screen with a trend. Run scadora check . --json after every change and fix the errors.

  4. Open the project in the Scadora editor: review the screens, adjust the layout and run it on the simulator.

We tried this ourselves: a boiler house project was built from files alone. The first check found the typo HMI.ShowMesage in a button script and a trend on tags without an archive. After the fixes the check passed and the server ran the project.

  • Controller addresses. DB1.DBD0, 40001 and the like come from the PLC program or the TIA Portal import, not from guessing. An AI is good at turning a symbol table into tags.
  • How screens look. The AI places elements by coordinates and cannot see the result. Review the screens in the editor.
  • A running plant. Do not let an AI assistant change the project of a running plant or write to tags without an engineer. Test on a bench or a copy.
  • Passwords and keys do not belong in project files.