G4LTL-ST: Automatic Generation of PLC Programs
Chih-Hong Cheng, Chung-Hao Huang, Harald Ruess, Stefan Stattelmann

TL;DR
G4LTL-ST automatically generates IEC 61131-3 Structured Text control code for industrial PLCs from complex timed behavioral specifications expressed in extended linear temporal logic, simplifying control design.
Contribution
It introduces a novel synthesis algorithm that handles non-linear and timing constraints, and supports engineers in refining specifications for realizability.
Findings
Successfully synthesizes control code from complex LTL specifications.
Supports non-linear arithmetic and timing constraints in synthesis.
Provides guidance for engineers to refine specifications when synthesis fails.
Abstract
G4LTL-ST automatically synthesizes control code for industrial Programmable Logic Controls (PLC) from timed behavioral specifications of input-output signals. These specifications are expressed in a linear temporal logic (LTL) extended with non-linear arithmetic constraints and timing constraints on signals. G4LTL-ST generates code in IEC 61131-3-compatible Structured Text, which is compiled into executable code for a large number of industrial field-level devices. The synthesis algorithm of G4LTL-ST implements pseudo-Boolean abstraction of data constraints and the compilation of timing constraints into LTL, together with a counterstrategy-guided abstraction refinement synthesis loop. Since temporal logic specifications are notoriously difficult to use in practice, G4LTL-ST supports engineers in specifying realizable control problems by suggesting suitable restrictions on the behavior…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Petri Nets in System Modeling · Embedded Systems Design Techniques
