Chat
Ask for logic. Get it checked.
It can, if something checks it and shows you what it found. LADX generates ladder from a description and runs the editor's own validator and a seal-in check over the result before it reaches the canvas, listing anything they object to. Structured Text is checked as it arrives, and Auto-fix can send the errors back to the model. The final review is still an engineer's.
The problem
Can AI write PLC ladder logic that actually works?
General AI assistants write plausible PLC code. Plausible is not the bar when the code runs a machine, and reading it carefully enough to be sure takes about as long as writing it would have.
What it does
What Chat does
It writes onto the canvas, not into a chat bubble
Answers arrive as rungs in the ladder editor: editable, runnable, and yours. Select a rung and ask what it does, or ask for a permissive to be added to it.
Checked, with every problem shown
Generated ladder goes through the editor's own validator and a seal-in check before it reaches the canvas. Structured Text is compiled as it arrives by the LADV compiler, the one the Wartens virtual PLCs use, which checks every name, type, literal and block call, alongside a structural check. Auto-fix sends any errors back to the model, up to three times, showing you each attempt. Code that passes can be run on a LADV controller in the VPLC lab with one click.
Free models, or any model on your key
With no key of your own it runs on free models through LADX's OpenRouter account. Connect OpenRouter, Anthropic, OpenAI, or any OpenAI-compatible endpoint including a local Ollama, and any model is available. Pick a model per conversation or leave it on Auto.
It knows the project it is in
Tag names, existing routines, the target platform, and the design basis you filled in. Answers use the tags you already have rather than inventing new ones.
Questions
And what it doesn't do, because you would find out anyway.
Why does ChatGPT get ladder logic wrong?
Because nothing checks it. A model asked for a seal-in will often write a latch leg containing only the motor contact, which latches the motor on and leaves the stop button doing nothing. It looks right and it is a defect. The fix is not a better prompt, it is a check in the loop and an engineer who reads what it found.
Which AI models can LADX use?
Free models with no key of your own, through LADX's OpenRouter account, or any model through your own key: OpenRouter, Anthropic, OpenAI, or any OpenAI compatible endpoint. Because generated code is validated before it is shown, a small free model is usually good enough, which is the practical point of validating rather than trusting.
Does my code get sent anywhere?
The prompt and the program go to one model provider: the one whose key you connected or, with no key of your own, a free model reached through LADX's OpenRouter account. LADX trains on nothing.
What doesn't it do?
- It drafts. Whether the interlock is sufficient for the hazard is an engineering judgement and stays with you.
- A check proves code is well formed, not that it is correct. Simulation helps; it is not a safety case.
- Free models are rate-limited by the provider, not by us. The queue you occasionally hit is theirs.