Abstract—Programmable Logic Controllers (PLC) are
an essential part of automated industrial production
processes since their first implementation, so
understanding the IEC 61131 standard and, above all,
section three defines the programming languages allowed
by PLCs take relevance over time. This work describes
each of the programming languages described in IEC
61131-3. Additionally, it implements an automation system
based on Structured Text with a Human Machine
Interface (HMI). The plant is a temperature process with a
classic control system developed using Matlab tools, such
as System Identification, PID Tuner, and Simulink. For
the HMI, was implemented the Codesys Group industrial
automation process platform. The Simulink PLC Coder
toolbox allows the strengthening of the connection between
the control system and the HMI. This program generates
the Structured Text of a control system developed in
Simulink. For the analysis of results, the control behavior
compared between Simulink and the system produced in
Codesys Group obtained an error of less than 0.34%.
Index Terms— Classic Control, IEC 61131-3, Simulink PLC
Coder, Structured Text, Programmable Logic Controllers.
Resumen— Los Controladores Lógicos Programables (PLC)
son una parte esencial de los procesos de producción industrial
automatizada desde su primera implementación, por lo que la
comprensión del estándar IEC 61131 y, sobre todo, la sección tres
que define los lenguajes de programación que permiten que los
PLC toman relevancia con el tiempo. Este trabajo describe cada
uno de los lenguajes de programación descritos en el estándar
IEC 61131-3. Además, implementa un sistema de automatización
This manuscript was sent on October 11, 2021 and accepted on November
30, 2021.
A. F. Barrera-Cuestas student of the Universidad Distrital Francisco José
de Caldas. Bogotá, Colombia. (e-mail: afbarrerac@correo.udistrital.edu.co).
M. G. Mantilla-Castañeda student of the Universidad Distrital Francisco
José de Caldas. Bogotá, Colombia. (e-mail:
mgmantillac@correo.udistrital.edu.co).
D. A. Giral-Ramírez professor of the Universidad Distrital Francisco José
de Caldas. Bogotá, Colombia. (e-mail: dagiralr@udistrital.edu.co).
O. D. Montoya-Giraldo professor of the Universidad Distrital Francisco
José de Caldas. Bogotá, Colombia. (e-mail: odmontoyag@udistrital.edu.co).
basado en texto estructurado con una interfaz hombre-
máquina (HMI). La planta es un proceso de temperatura con un
sistema de control clásico desarrollado con herramientas de
Matlab, como System Identification, PID Tuner y Simulink. Para
la HMI, se implementó la plataforma de procesos de
automatización industrial del Grupo Codesys. El toolbox
Simulink PLC Coder permite reforzar la conexión entre el
sistema de control y el HMI. Este programa genera el Texto
Estructurado de un sistema de control desarrollado en Simulink.
Para el análisis de resultados, el comportamiento del control
comparado entre Simulink y el sistema producido en Codesys
obtuvo un error inferior al 0,34%.
Palabras claves— Control Clásico, IEC 61131-3, Simulink
PLC Coder, Lenguaje Estructurado, Controladores Lógicos
Programables.
I. INTRODUCTION
OR diversification, technology control systems require the
incorporation of electronic, electrical, information, and
advanced manufacturing technologies in the means of
production for the automation and digitization of processes,
which is a requirement for new models of energy business and
an opportunity for government-academia (research) -industrial
technology synchrony in a sector that in its transition seeks to
integrate: renewable sources, direct current (DC) transport
systems, energy storage, distributed generation, measurement
systems, smart grids and the participation of end-users.
Elements, in their structure, are associated with new energy
generation and efficiency technologies, such as those targeted
by Industry 4.0, which has different technological trends.
Since their creation in the 60s, Programmable Logic
Controllers (PLC) have become indispensable devices when
carrying out an automation process and are relevant elements
in the challenges proposed by the industry. In the same way,
their constant updating, not only at the hardware level but at
the level of software and programming languages, allow these
instruments to keep at the forefront to the point of being seen
as an ideal option to face the fourth industrial revolution,
where, reduction of production times, optimization of the
levels of quality and resources used will allow us to enter into
this revolution; and, in turn, lead the industry to focus on
caring for the environment [1].