cs.SEOct 20, 2026

From Code Generator to Engineering Companion: A Plant-aware Agent for PLC Programming

Authors: Joschka Kersting, Gesa Benndorf

Organizations: Fraunhofer IOSB-INA Lemgo, Germany

Abstract

Programmable Logic Controller (PLC) coding remains a manual, IDE-centric task that demands constant context switching between documentation, project files, and code editors. Recent work has demonstrated that retrieval-augmented large language models can generate vendor-compliant Structured Text at high compilation rates \cite{pred}, yet these systems treat code generation as a one-shot pipeline: the engineer submits a query and receives code, with no persistent knowledge of the specific plant. We present a plant-aware conversational copilot that extends this paradigm in three directions: plant-specific context ingestion, a chat-first interaction model for explanation and debugging, and a graduated tool-access ladder from chat to deployment. The system is designed for real plant infrastructure and keeps the engineer in control of each step that produces real-world effects.

Figures & tables

Explore similar work

CardsList
  1. PLCWorld: Benchmarking LLM-Generated PLC Programs in Closed-Loop Plant Simulation

    Oct 2, 2026Yunji Kim, Yunseok Lee, Hyunwoo Seo +2LLM-Based Program SynthesisCode Generation

  2. Exploring the Agentic Frontier of Verilog Code Generation

    Mar 19, 2026Patrick Yubeaton, Siddharth Garg, Chinmay HegdeCode GenerationAgentic Code Generation

  3. Retrieval-grounded robot program generation and simulation-based correction via Model Context Protocol

    Aug 13, 2026Zhichao Zhou, Siyuan Chen, Omkar Salunkhe +3Code Generation for RoboticsLLM-Based Program Synthesis