- AutorIn
- E. Maier Fraunhofer Gesellschaft, Institut für Kognitive Systeme
- M. StillerFraunhofer Gesellschaft, Institut für Kognitive Systeme
- Titel
- Evaluating LLM-Generated Structured Text for Industrial Automation
- Zitierfähige Url:
- https://nbn-resolving.org/urn:nbn:de:bsz:l189-qucosa2-1030710
- Konferenz
- 22. AALE-Konferenz. Rosenheim, 25. Februar - 27. Februar 2026
- Quellenangabe
- Tagungsband AALE 2026
; Mechatronische Systeme für die Automatisierung: Fortschritt durch Präzision und Qualität
Herausgeber: Hochschule für Technik, Wirtschaft und Kultur Leipzig
Erscheinungsort: Leipzig
Erscheinungsjahr: 2026
Seiten: 467-475
ISBN: 978-3-910103-08-5 - Erstveröffentlichung
- 2026
- DOI
- https://doi.org/10.33968/2026.47
- Abstract (EN)
- This study presents a controlled empirical evaluation of a large language model (GPT-4o) for the automatic generation of industrial Structured Text (ST) code from standardized flowchart specifications. Unlike prior work, which primarily relies on textual prompts, iterative refinement, or human-in-theloop corrections, this study employs zero-shot code generation from ISO 5807–compliant flowcharts, ensuring standardized and unambiguous task definitions. We systematically assess performance across three real-world automation scenarios of increasing complexity and under varying temperature settings, examining compilation success, functional correctness, structural quality, and adherence to specification. Results reveal a strong dependence of model performance on task complexity, with simpler and moderately complex tasks yielding high rates of compilable and functionally correct code, while the most complex scenario consistently challenged the model’s semantic fidelity and variable handling. Lower temperature settings improved compilation and instruction adherence, whereas higher temperatures increased variability without functional gains. These findings provide empirical insights into the capabilities and limitations of LLM-based PLC code generation, highlighting conditions under which such models can reliably support industrial automation and delineating the boundaries of current zero-shot generation. The study lays a foundation for future work on task decomposition, iterative refinement, and model comparison to enhance practical applicability.
- Freie Schlagwörter (DE)
- 22. Konferenz für Angewandte Automatisierungstechnik in Lehre und Entwicklung an Hochschulen (AALE)
- Freie Schlagwörter (EN)
- Large language models, PLC programming, Structured Text, industrial automation, code generation, ISO 5807, zero-shot evaluation, functional correctness, code quality, task complexity
- Publizierende Institution
- Hochschule für Technik, Wirtschaft und Kultur Leipzig, Leipzig
- Version / Begutachtungsstatus
- publizierte Version / Verlagsversion
- URN Qucosa
- urn:nbn:de:bsz:l189-qucosa2-1030710
- Veröffentlichungsdatum Qucosa
- 13.03.2026
- Dokumenttyp
- Konferenzbeitrag
- Sprache des Dokumentes
- English
- Lizenz / Rechtehinweis
CC BY 4.0