Formalization and Visualization of Non-binary PLC Programs

Programmable Logic Controllers (PLCs) have been of great eminence in manufacturing systems and will probably remain predominant for some time to come. To allow reimplementation on a new hardware and visualization of existing code, a formalization approach for PLC programs is proposed. The method presented here is not restricted to binary operations in the PLC code but also considers digital operations. In order to achieve compact visualization and efficient re-implementation an abstraction of the low level Instruction List (IL) programs is developed. The formalization of the abstracted code results in a compact finite state machine representation. The method is implemented using JAVA and XML technologies. The IL is converted to XML, the XML document object model (DOM) is used for parsing and scalable vector graphics (SVG) is employed to graphically represent the resulting automata. The presented approach is illustrated using STEP 5 IL from Siemens. The method is however generic, other IL dialects could be parsed if the corresponding description files are built.

[1]  Philippe Schnoebelen,et al.  Towards the automatic verification of PLC programs written in Instruction List , 2000, Smc 2000 conference proceedings. 2000 ieee international conference on systems, man and cybernetics. 'cybernetics evolving to systems, humans, organizations, and their complex interactions' (cat. no.0.

[2]  Thomas Hughes Programmable Controllers , 1997 .

[3]  S. Lamperiere-Couffin,et al.  Formal validation of PLC programs: A survey , 1999, 1999 European Control Conference (ECC).

[4]  Georg Frey,et al.  A re-engineering approach for PLC programs using finite automata and UML , 2004, Proceedings of the 2004 IEEE International Conference on Information Reuse and Integration, 2004. IRI 2004..

[5]  M.B. Younis,et al.  Visualization of PLC programs using XML , 2004, Proceedings of the 2004 American Control Conference.

[6]  Georg Frey,et al.  Formalization of PLC programs to sustain reliability , 2004, IEEE Conference on Robotics, Automation and Mechatronics, 2004..

[7]  William Moses Modelling control systems using IEC 61499 , 2001 .

[8]  Hanno Wupper,et al.  What is the method in applying formal methods to PLC applications , 2000 .