|
Modelirovanie i Analiz Informatsionnykh Sistem, 2013, Volume 20, Number 2, Pages 104–120
(Mi mais301)
|
|
|
|
This article is cited in 7 scientific papers (total in 7 papers)
Modeling, Specification and Construction of PLC-programs
E. V. Kuzmin, V. A. Sokolov P. G. Demidov Yaroslavl State University, Sovetskaya str., 14, Yaroslavl, 150000, Russia
Abstract:
A new approach to construction of reliable discrete PLC-programs with timers — programming based on specification and verification — is proposed.
Timers are modelled in a discrete way.
For the specification of a program behavior we use the linear-time temporal logic LTL.
Programming is carried out in the ST-language according to a LTL-specification.
A new approach to programming of PLC is shown by an example.
The proposed programming approach provides an ability of a correctness analysis of PLC-programs using the model checking method.
The programming requires fulfillment of the following two conditions:
1) a value of each variable should be changed not more than once per one full PLC-program implementation (per one full working cycle of PLC);
2) a value of each variable should only be changed in one place of a PLC-program.
Under the proposed approach the change of the value of each program variable is described by a pair of LTL-formulas. The first LTL-formula describes situations that increase the value of the corresponding variable, the second LTL-formula specifies conditions leading to a decrease of the variable value.
The LTL-formulas (used for specification of the corresponding variable behavior) are constructive in the sense that they construct the PLC-program, which satisfies temporal properties expressed by these formulas.
Thus, the programming of PLC is reduced to the construction of LTL-specification of the behavior of each program variable.
Keywords:
programmable pogic controllers, software engineering, modeling and specification of PLC-programs.
Received: 10.01.2013
Citation:
E. V. Kuzmin, V. A. Sokolov, “Modeling, Specification and Construction of PLC-programs”, Model. Anal. Inform. Sist., 20:2 (2013), 104–120
Linking options:
https://www.mathnet.ru/eng/mais301 https://www.mathnet.ru/eng/mais/v20/i2/p104
|
Statistics & downloads: |
Abstract page: | 560 | Full-text PDF : | 182 | References: | 77 |
|