Skip to main content
Log in

Construction and verification of PLC LD programs by the LTL specification

  • Published:
Automatic Control and Computer Sciences Aims and scope Submit manuscript

Abstract

An approach to the construction and verification of LD programs of programmable logic controllers (PLC) for discrete problems is proposed. The specification of the program behavior is performed using the linear temporal logic language (LTL). Programming is performed using the Ladder Diagram (LD) language by the LTL specification. The correctness analysis of the LTL specification is performed using the Cadence SMV symbolic model-checking tool. An approach to programming and verifying the PLC LD programs is shown using an example. The LD program, its LTL specification, and an SMV model are given for a discrete problem. This article is aimed at the description of an approach to PLC programming that will provide the correctness analysis of PLC LD programs using the model-checking method. Therefore, the variation in each programmable variable is described using a pair of LTL formulas. The first LTL formula describes situations in which the corresponding variable increases and the second LTL formula specifies conditions leading to a decrease in the variable. LTL formulas, which are considered to specify the behavior of variables, are constructive in the sense that the PLC program corresponding to the temporal properties expressed by these formulas is constructed by them. Thus, PLC programming is reduced to the construction of the LTL specification for the behavior of each programmed variable. In addition, the SMV model of the PLC LD program is constructed by the LTL specification. Then, the SMV model is analyzed for correctness (relative to additional conventional general-programming LTL properties) by the Cadence SMV symbolic model-checking tool.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Kuzmin, E.V., Sokolov, V.A., and Ryabukhin, D.A., Construction and verification of PLC-programs by LTL-specification, Model. Anal. Inform. Sist., 2013, vol. 20, no. 4, pp. 5–22.

    Google Scholar 

  2. Kuzmin, E.V., Ryabukhin, D.A., and Shipov, A.A., Construction and verification of PLC-programs by LTL-specification, Proc. Int. Sci.-Prac. Conf. “Tools and Methods of Program Analysis (TMPA-2013)” Kostroma, Kostr. State Tech. Univ, 2013, pp. 17–34.

    Google Scholar 

  3. Kuzmin, E.V. and Sokolov, V.A., Modeling, specification and construction of PLC-programs, Model. Anal. Inform. Sist., 2013, vol. 20, no. 2, pp. 104–120.

    Google Scholar 

  4. Kuzmin, E.V. and Sokolov, V.A., On construction and verification of PLC-programs, Model. Anal. Inform. Sist., 2012, vol. 19, no. 4, pp. 25–36.

    Google Scholar 

  5. Kuzmin, E.V. and Sokolov, V.A., On verification of PLC-programs written in the LD-language, Model. Anal. Inform. Sist., 2012, vol. 19, no. 2, pp. 138–144.

    Google Scholar 

  6. Petrov, I.V., Programmiruemye kontrollery. Standartnye jazyki i priemy prikladnogo proektirovanija, (Programmed Controllers. Standard Languages and Techniques of Applied Design), Moscow: SOLON, 2004.

    Google Scholar 

  7. Clark, E.M., Grumberg, O., and Peled, D.A., Model Checking, MIT, 2001.

    Google Scholar 

  8. CoDeSys. Controller Development System. http://www.3s-software.com/

  9. Parr, E.A., Programmable Controllers. An Engineer’s Guide, Newnes, 2003.

    Google Scholar 

  10. SMV. The Cadence SMV Model Checker. http://www.kenmcmil.com/smv.html

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to E. V. Kuzmin.

Additional information

Original Russian Text © E.V. Kuzmin, V.A. Sokolov, D.A. Ryabukhin, 2013, published in Modelirovanie i Analiz Informatsionnykh Sistem, 2013, No. 6, pp. 78–94.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kuzmin, E.V., Sokolov, V.A. & Ryabukhin, D.A. Construction and verification of PLC LD programs by the LTL specification. Aut. Control Comp. Sci. 48, 424–436 (2014). https://doi.org/10.3103/S014641161407013X

Download citation

  • Received:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.3103/S014641161407013X

Keywords

Navigation