Claude Code for PLC programming

If you came here looking for Claude Code for PLC, you're in the right place. PLC Assist is an AI coding agent built specifically for industrial automation — same idea as Claude Code, but for the IDE your PLC actually runs in: CODESYS, Beckhoff TwinCAT, or Siemens TIA Portal.

Like Claude Code, PLC Assist accepts natural-language prompts, reads your project for context, and writes code in your editor. Unlike Claude Code, it knows IEC 61131-3, compiles your code in your PLC IDE, and fixes errors on its own.

Under the hood, PLC Assist runs on Anthropic's Claude — the same model family that powers Claude Code — tuned for the patterns and pitfalls of industrial automation.

Why a separate AI tool exists for PLC

  • Claude Code can't see your PLC project. CODESYS, TwinCAT and TIA Portal are not VS Code or JetBrains — they have proprietary IDEs with no extension API the way software editors do. PLC Assist runs as a local bridge inside your IDE so it has live access to your POUs, GVLs, DUTs, and the compile output.
  • Industrial code has different rules. Real-time constraints, graphical languages (FBD/LD/SFC/CFC), vendor library quirks, and Structured Text idioms that don't map cleanly to general-purpose languages. The agent is trained on PLC-specific patterns, not retrofitted.
  • Compile loop, not just suggestion. PLC Assist doesn't just write code — it compiles, reads the actual error messages from your PLC IDE, and fixes them autonomously. That's the workflow that makes industrial code tractable for AI.

Supported platforms

  • CODESYS V3 — all CODESYS-based PLCs (Schneider Electric, WAGO, Festo, Lenze, Bosch Rexroth, and more)
  • Beckhoff TwinCAT 3 — full project read/write via TwinCAT COM interop
  • Siemens TIA Portal V19+ — coming soon

One agent across CODESYS, Beckhoff TwinCAT, and Siemens TIA Portal — same prompts, same compile-and-fix loop on every platform. Read how the multiplatform agent works for system integrators, OEMs, and engineering services firms.

Frequently asked questions

Does PLC Assist actually use Claude?

Yes — PLC Assist runs on Anthropic's Claude. Code generation and multi-step reasoning use Claude Sonnet; faster jobs (file description, chat summarization) use Claude Haiku. The agent is tuned for IEC 61131-3 and the quirks of CODESYS, TwinCAT, and TIA Portal.

Can I use Claude Code directly to write PLC code?

Claude Code is excellent for software development, but it can't see inside CODESYS, Beckhoff TwinCAT, or Siemens TIA Portal — those IDEs don't expose a terminal or filesystem the way software projects do. PLC Assist runs the same Claude models with a small bridge that sits inside your PLC IDE so the agent has live project access.

Which Claude models does PLC Assist use?

By default, code generation runs on Claude Sonnet (the latest version available) for accuracy on multi-step tasks. Lightweight jobs — describing PDFs and images you upload, summarizing long chats — run on Claude Haiku for speed. You'll see the model name in your usage dashboard.

Is my PLC code sent to Anthropic?

Only the context the agent needs to answer your prompt is sent — and only to Anthropic, not to third parties. Your full project stays on your local machine. We don't train on your code.

Looking for the original Claude Code instead? It's a great tool — for software development. For PLC code, you need a tool that talks to your PLC IDE — and PLC Assist runs on the same Claude models you already trust.

Looking for Claude Code for PLC? Try PLC Assist free.

25 AI requests, no credit card. Connect to your IDE in 5 minutes.