PLCWorld: Benchmarking LLM-Generated PLC Programs in Closed-Loop Plant Simulation
Yunji Kim, Yunseok Lee, Hyunwoo Seo, Jaerim Choi, Woojin Lee
Abstract
Programmable logic controllers (PLCs) coordinate industrial equipment through sensor inputs and control commands. Evaluating LLM-generated PLC programs requires observing device and workpiece states to assess task completion and safety. We introduce PLCWorld, a closed-loop execution environment and benchmark coupling Structured Text (ST) execution with simulated plant responses and sensor feedback. Grounded in control relations from industrial PLC programs and engineering documentation, PLCWorld contains 100 synthetic tasks and 473 registered task-condition pairs across Motion Control and Material Handling, with difficulty defined by control-dependency scope. It reports Task Success and Safety Violation separately. Execution Gap measures the fraction of cases with task failure or observed safety violation among those assigned to programs passing a common submission-profile and I/O check. Validation combines practitioner review, reference and alternative programs, 542 targeted counterexamples, alignment checks, and independent ST runtime comparisons. Across six LLMs and four adapted generation-and-verification workflows, direct GPT-5.5 achieves 83.96% Task Success on Easy cases but 24.51% on Hard cases. The workflows show no consistent plant-level gains, and failures persist after upstream acceptance. Our code is available at https://yunji0516.github.io/PLCWorld/.
Create a lesson
Metadata
- Comments
- 29 pages, 8 figures. Project website: https://yunji0516.github.io/PLCWorld/
Related papers
Reproducing History Is Not Enough: Intervention-Level Assurance for LLM-Generated Simulators
Shared title terminologycs.AIAshraf Abdul-Muumin, Aniruddha Chattopadhyay, Noorbakhsh Golilarz et al.
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Shared title terminologycs.AIYuhan Bian, Haoyu Liu, Siyu Li et al.
JaxNaviSim: A GPU-Accelerated, Data-Driven Simulator and Learning Benchmark for Maritime Navigation
Shared title terminologycs.AIQuang Anh Pham, Janaka Chathuranga Brahmanage, Hue Tse Leong et al.
From Scientific Observations to Mechanisms: Benchmarking Hypothesis Generation by AI Scientists
Shared title terminologycs.AIXiaxun Xie, Qingqing Long, Meng Xiao et al.
AutoSciBench: Autonomous Benchmark Generation for Evaluating Scientific Agents
Shared title terminologycs.AIDongki Kim, Namkyeong Lee, Surag Nair et al.
RAGStress: A controlled benchmark for evaluating retrieval-augmented generation under knowledge-base degradation
Shared title terminologycs.AIShiqi Yang, Jiekai Ma, Gaoyuan Du