SemaPLC: A Project-Grounded, Verification-Gated Agent Harness for PLC Code Generation
Yanlun TuHWHuacan WangJin XieZiyue ZhouJie ZhouNingyan ZhuGe ChenWangyi ChenTengfei ZhouYifan ZhouDasheng YangXiaofeng Mou +2
Yanlun Tu
HWHuacan Wang
Jin Xie
Ziyue Zhou
Jie Zhou
Ningyan Zhu
Ge Chen
Wangyi Chen
Tengfei Zhou
Yifan Zhou
Dasheng Yang
Xiaofeng Mou
+14
SemaPLC is a project-grounded, verification-gated agent harness for generating programmable logic controller (PLC) code. It combines project context and reusable PLC skills with specification review, compilation, and live-runtime validation, completing only when recorded checks meet acceptance criteria for the current implementation; edits invalidate prior verdicts and failed checks guide bounded repair. Across seven language-model backbones, SemaPLC outperforms baselines on 117 independent-POU and 65 project-context tasks, achieving a mean verified-pass rate of 72.6% and dynamic score of 52.2, exceeding strongest baseline means by 8.7 points and 20.8 points respectively. Industrial deployment in KUKA's iiQworks shows a 45% efficiency improvement.

arXiv ·
· August 19, 2026