About Implementation of IEC 61131-3 IL Function Blocks in Standard Microcontrollers

Mirosław Chmiel, Jan Mocha, Edward Hrynkiewicz, Dariusz Polok

Abstract


The paper presents considerations on implementation of function blocks of the IL language, as fragments of control programs that use these blocks. Subsequently, the predefined function blocks of the IL language have been applied to implementation in a Central Processing Unit for a programmable controller based on standard microcontroller from such families as MCS-51, AVR and ARM with the Cortex-M3 core. The considerations refer to the IL language revision that is fully compliant with the IEC-61131-3 standards. The completed theoretical analysis demonstrated that the adopted method of the module description is really reasonable and offers substantial advantages as compared to direct calls of function modules already developed as subroutines. Also the executed experiments have proved the feasibility to arrange central units of programmable controllers on the basis of standard microcontrollers and such central units may be competitive to compact CPUs available on the market for typical PLCs.

Full Text:

PDF

References


F. Bonfati, P. D. Monari, and U. Sampieri, IEC 61131-3 Programming Methodology; Software engineering methods for industrial automated systems. ICS Triplex ISaGRAF, 2003.

J. A. Rehg and G. J. Sartori, Programmable Controllers. Prentice Hall, 2007.

K. H. John and M. Tiegelkamp, IEC 61131-3: Programming Industrial Automation Systems. Berlin Heidelberg: Springer-Verlag, 2010.

M. Chmiel, J. Mocha, E. Hrynkiewicz, and D. Polok, “About implementation of IEC 61131-3 IL operators in standard microcontrollers,” in Proceedings of 12th IFAC/IEEE International Conference on PDeS’13, Velke Karlovice, Czech Republic, September 25-27 2013, pp. 30–35.

K. Koo, G. S. Rho, W. H. Kwon, J. Park, and N. Chang, “Architectural Design of an RISC Processor for Programmable Logic Controllers,” Journal of Systems Architecture, vol. 44, no. 5, pp. 311–325, February 1998.

M. S. Boggs, T. L. Fulton, S. Hausman, G. McNabb, A. McNutt, and S. W. Stimmel, “Programmable Logic Controller – Method, System and Apparatus,” June 3 2003, US Patent No. US 6,574,743 B1.

M. Chmiel, J. Mocha, E. Hrynkiewicz, and A. Milik, “Central Processing Units for PLC implementation in Virtex-4 FPGA,” in Proceedings of the 18th IFAC World Congress, Milano, Italy, August 28-September 2 2011, pp. 7860–7865, vol. 18, part 1.

A. Milik, “High Level Synthesis – Reconfigurable Hardware Implementation of Programmable Logic Controller,” in PDeS’06, Brno, February 14-16 2006, pp. 138–143.

J. Mocha and D. Kania, “Hardware Implementation of a Control Program in FPGA Structures,” Electrical Review, vol. 88, no. 12/2012, pp. 95–100, 2012, (in Polish).

H. Berger, Automatic with STEP7 in STL and SCL – SIMATIC S7- 300/400 Programmable Controllers. Germany: Siemens AG, 2001.

J. Kulisz, M. Chmiel, and A. Malcher, “Generating time intervals in Programmable Logic Controllers,” in Proceedings of 12th IFAC/IEEE International Conference on PDeS’13, Velke Karlovice, Czech Republic, September 25-27 2013, pp. 42–47.

T. Białas, “The compact controller based on ’51 microcontroller, master thesis,,” Master’s thesis, Silesian University of Technology, Gliwice, 2012, (in Polish).

R. Zych, “The compact controller based on AVR microcontroller,” Master’s thesis, Silesian University of Technology, Gliwice, 2012, (in Polish).

M. Juraszek, “The compact controller based on ARM microcontroller,” Master’s thesis, Silesian University of Technology, Gliwice, 2012, (in Polish).

DCD, “DQ80251 – Revolutionary Quad-Pipelined Ultra High Performance 16/32-bit Configurable Microcontroller,” 2013.


Refbacks

  • There are currently no refbacks.


International Journal of Electronics and Telecommunications
is a periodical of Electronics and Telecommunications Committee
of Polish Academy of Sciences

eISSN: 2300-1933