Tag
A practitioner builds a deterministic four-gate validation harness (graph check, safety audit, headless CODESYS compile, soft-PLC scan-cycle tests) to verify LLM-generated IEC 61131-3 PLC programs, showing that vendor compilers and simulators are better judges than LLM-as-judge for safety-critical code.
This paper presents ESBMC-LLB, a formal verification approach to detect Ladder Logic Bombs in IEC 61131-3 PLC programs by synthesizing triggers and using ESBMC-PLC+ as the verification engine, achieving high detection rates on public datasets.