Formal Verification of PLC Programs Using the B Method

  • Haniel Barbosa
  • David Déharbe
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7316)


In this paper we propose an approach to verify PLC programs, a common platform to control systems in the industry. Programs written in the languages of the IEC 61131-3 standard are automatically translated to B machines and are then amenable to formal analysis of safety constraints and general structural properties of the application. This approach thus integrates formal methods into existing industrial processes.


B method PLC safety critical systems formal methods 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    IEC: IEC 61131-3 - Programmable controllers. International Electrotechnical Comission Standards (2003)Google Scholar
  2. 2.
    Abrial, Jr.: The B-book: assigning programs to meanings. Cambridge University Press, Cambridge (2005)Google Scholar
  3. 3.
    PLCopen: XML Formats for IEC 61131-3. PLCopen Technical Committee 6 (2009)Google Scholar
  4. 4.
    Leuschel, M., Butler, M.: ProB: A Model Checker for B. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FME 2003. LNCS, vol. 2805, pp. 855–874. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  5. 5.
    Farines, J., de Queiroz, M.H., da Rocha, V.G., Carpes, A.A.M., Vernadat, F., Crégut, X.: A model-driven engineering approach to formal verification of PLC programs. In: IEEE EFTA (2011)Google Scholar
  6. 6.
    Ljungkrantz, O., Åkesson, K., Fabian, M., Yuan, C.: A Formal Specification language for PLC-based Control Logic. In: Proc. of 8th IEEE International Conference on Industrial Informatics, pp. 1067–1072 (2010)Google Scholar
  7. 7.
    Soliman, D., Frey, G.: Verification and Validation of Safety Applications based on PLcopen Safety Function Blocks using Timed Automata in Uppaal. In: Proceedings of the Second IDAC Workshop on Dependable Control of Discrete Systems (DCDS), pp. 39–44 (2009)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Haniel Barbosa
    • 1
  • David Déharbe
    • 1
  1. 1.Departamento de Informática e Matemática AplicadaUFRNBrazil

Personalised recommendations