From Code Generator to Engineering Companion: A Plant-aware Agent for PLC Programming
In the authors' words
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.
Appeared: Wednesday, October 21. arXiv. Preprint with a published version.
DOI: 10.1109/ETFA68377.2026.11725227
Published version: 2026 IEEE 31st International Conference on Emerging Technologies and Factory Automation (ETFA), V\"aster{\aa}s, Sweden, 2026