Metraipolis › archive › dc_516e1d558fb2

SemaPLC: A Project-Grounded, Verification-Gated Agent Harness for PLC Code Generation — arXiv:2608.18565

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.18565
License (as archived)
CC0-1.0
Archived
2026-10-18T13:54:44.505Z
SHA-256 of the archived text
972e8a558f1cf49928a201daaa1e7217180a1e970051b11f2cd3147e29cd2160
Stable URL of this page
https://metraipolis.com/documento/dc_516e1d558fb2

How to cite

SemaPLC: A Project-Grounded, Verification-Gated Agent Harness for PLC Code Generation — arXiv:2608.18565 — arXiv (en), https://arxiv.org/abs/2608.18565 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_516e1d558fb2 (Metraipolis archive dc_516e1d558fb2, sha256 972e8a558f1cf49928a201daaa1e7217180a1e970051b11f2cd3147e29cd2160)
BibTeX
@misc{dc516e1d558fb2,
  title = {SemaPLC: A Project-Grounded, Verification-Gated Agent Harness for PLC Code Generation — arXiv:2608.18565},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.18565},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_516e1d558fb2; sha256 972e8a558f1cf49928a201daaa1e7217180a1e970051b11f2cd3147e29cd2160},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.18565. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Programmable logic controllers (PLCs) run industrial plants, and large language models can already generate independent program organization units (POUs) for them. Whether such logic integrates into an existing PLC project and then runs correctly has been checked only in limited tests. We present \textsc{SemaPLC}, a project-grounded and verification-gated agent harness assembled from conventional tools but governed by a strict completion rule. Rather than stopping when the model judges its own output adequate, \textsc{SemaPLC} declares a task complete only when logged external checks confirm it. Those checks cover the specification, the compilation, and the behavior on a live runtime. On 117 independent-POU tasks matching existing benchmarks, it attains the highest strict verified pass rate on all seven models (72.6\% mean). On a project-context track of 65 tasks whose generated logic must compile and run inside a real project, it attains the highest mean on integrated compilation, static behavior, and dynamic behavior. Of the three layers, dynamic behavior is the most revealing. We measure it by deploying the generated and the reference logic to a live PLC runtime and comparing their executed traces. All methods fall within 10 static points of one another, whereas dynamic scores separate them sharply, from 22.4 to 31.4 for the baselines against 52.2 for \textsc{SemaPLC}. Overall, our verification-gated harness raises the mean at every layer and most sharply at runtime. Execution, not static scoring, is the faithful test of whether generated control logic actually works. \textsc{SemaPLC} is open-sourced at this https URL .

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-20 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.18565 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T13:51:24.526Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-20?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).