mlsanityData to 14 Oct 2026

ESBMC-GraphPLC: Formal Verification of Graphical PLCopen XML Ladder Diagram Programs Using SMT-Based Model Checking

arXiv 2606.18941 ↗First posted 17 Jun 2026cs.PL cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

PLCopen XML defines two encoding formats for IEC 61131-3 Ladder Diagram programs: a textual encoding using <rung> elements, and a graphical encoding that represents rung logic as a directed graph of localId/refLocalId connections. ESBMC-PLC supported the textual format but parsed graphical exports from CONTROLLINO, Beremiz, and OpenPLC Editor into an empty GOTO intermediate representation, causing vacuous verification success. This paper presents ESBMC-GraphPLC, which closes this gap with a DFS-based graphical LD resolver. The resolver traverses the connection graph from leftPowerRail to each coil, extracts rung paths as Boolean contact conjunctions, and applies a three-tier I/O inference scheme. Ordering coils by rightPowerRail connectionPointIn sequence ensures SET coils process before RESET coils, matching IEC scan-cycle semantics. The graphical-to-IR conversion leaves the ESBMC backend unchanged. Validation on 3 graphical LD programs from CONTROLLINO/OpenPLC Editor shows all produce full GOTO IR with nondeterministic inputs and rung logic, versus the empty IR previously. All 3 verify SAFE at k=2 under 70ms. The 11 textual LD benchmarks are fully preserved, with no regression. Two Beremiz examples with no LD content or unsupported timer semantics are reported as discovered limitations. Artifact at Zenodo (DantasCordeiro2026graphical, doi:10.5281/zenodo.20699856).

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 5 of its 22 references that are in the map. First posted on arXiv 17 Jun 2026.

Builds on

5 of 22 references.

References · 5

  1. 2022K-ST: A Formal Executable Semantics of the Structured Text Language for PLCscited by 6
  2. 2022PLCverif: Status of a Formal Verification Tool for Programmable Logic Controllercited by 5
  3. 2021Towards establishing formal verification and inductive code synthesis in the PLC domaincited by 4
  4. 2025Formal Verification of PLCs as a Service: A CERN-GSI Safety-Critical Case Study (extended version)cited by 4
  5. 2026ESBMC-PLC: Formal Verification of IEC 61131-3 Ladder Diagram Programs Using SMT-Based Model Checkingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.