mlsanityData to 7 Oct 2026

ChatGPT for PLC/DCS Control Logic Generation

arXiv 2305.15809 ↗First posted 25 May 2023cs.SE cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) providing generative AI have become popular to support software engineers in creating, summarizing, optimizing, and documenting source code. It is still unknown how LLMs can support control engineers using typical control programming languages in programming tasks. Researchers have explored GitHub CoPilot or DeepMind AlphaCode for source code generation but did not yet tackle control logic programming. The contribution of this paper is an exploratory study, for which we created 100 LLM prompts in 10 representative categories to analyze control logic generation for of PLCs and DCS from natural language. We tested the prompts by generating answers with ChatGPT using the GPT-4 LLM. It generated syntactically correct IEC 61131-3 Structured Text code in many cases and demonstrated useful reasoning skills that could boost control engineer productivity. Our prompt collection is the basis for a more formal LLM benchmark to test and compare such models for control logic generation.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 7 of its 22 references that are in the map. First posted on arXiv 25 May 2023.

Builds on

7 of 22 references.

References · 7

  1. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  2. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  3. 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
  4. 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
  5. 2023A Categorical Archive of ChatGPT Failurescited by 167
  6. 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
  7. 2022Automatic Code Documentation Generation Using GPT-3cited by 37

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 3; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Capabilities of Large Language Models in Control Engineering: A Benchmark Study on GPT-4, Claude 3 Opus, and Gemini 1.0 Ultra
  2. 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
  3. 2025Automating Modelica Module Generation Using Large Language Models: A Case Study on Building Control Description Language
  4. 2026LLM4RTL: Tool-Assisted LLM for RTL Generation
  5. 2025Evaluating and Improving Large Language Models for Competitive Program Generation
  6. 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMs
  7. 2025Empowering AI to Generate Better AI Code: Guided Generation of Deep Learning Projects with LLMs
  8. 2023Chain-of-Thought in Neural Code Generation: From and For Lightweight Language Models