PLCWorld:在闭环产线仿真中评测LLM生成的PLC程序
PLCWorld: Benchmarking LLM-Generated PLC Programs in Closed-Loop Plant Simulation
PLCWorld 是耦合 Structured Text(ST)执行与仿真产线响应、传感器反馈的闭环执行环境与基准,含 Motion Control 和 Material Handling 共 100 个合成任务、473 个任务-条件对,分别报告 Task Success 与 Safety Violation。
arXiv:2610.02982v2 Announce Type: replace 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/.
来源:arXiv (AI + Vision + Imaging) · arxiv.org