Skip to Main content Skip to Navigation
Conference papers

Formalization and Verification of PLC Timers in Coq

Hai Wan 1 Gang Chen 2 Xiaoyu Song 1 Ming Gu 1 
1 FORMES - Formal Methods for Embedded Systems
LIAMA - Laboratoire Franco-Chinois d'Informatique, d'Automatique et de Mathématiques Appliquées, Inria Paris-Rocquencourt
Abstract : Programmable logic controllers (PLCs) are widely used in embedded systems. A timer plays a pivotal role in PLC real-time applications. The paper presents a formalization of TON-timers of PLC programs in the theorem proving system Coq. The behavior of a timer is characterized by a set of axioms at an abstract level. PLC programs with timers are modeled in Coq. As a case study, the quiz machine problem with timer is investigated. Relevant timing properties of practical interests are proposed and proven in Coq. This work unveils the hardness of timer modeling in embedded systems. It is an attempt of formally proving the correctness of PLC programs with timer control.
Document type :
Conference papers
Complete list of metadata

Cited literature [8 references]  Display  Hide  Download
Contributor : Hai Wan Connect in order to contact the contributor
Submitted on : Tuesday, March 8, 2011 - 7:00:10 AM
Last modification on : Friday, February 4, 2022 - 3:08:10 AM
Long-term archiving on: : Saturday, December 3, 2016 - 12:35:55 AM


Files produced by the author(s)


  • HAL Id : inria-00516011, version 1



Hai Wan, Gang Chen, Xiaoyu Song, Ming Gu. Formalization and Verification of PLC Timers in Coq. 33rd Annual IEEE International Computer Software and Applications Conference, Jul 2009, Seattle,Washington, United States. ⟨inria-00516011⟩



Record views


Files downloads