Open Access Open Access  Restricted Access Subscription or Fee Access

Development of a Tool for Automatic Generation of GRAFCET Control Code Using Arduino IDE

(*) Corresponding author

Authors' affiliations



In this work, the development and the implementation of a computer platform to establish control actions in pneumatic and hydraulic systems are shown, as a tool to improve the practical knowledge of the students of professional careers on process control for equipment and systems. For this reason, the research has been divided into two phases: the formulation of a Boolean model for the translation of GRAFCET diagrams to the Arduino® code, and the design of a graphical environment in order to simulate circuit sequences by means of GRAFCET diagrams and the communication with programmable automata. The GRAFINO® tool developed in the latter has been conceived as a Graphical User Interface (GUI) for the Windows operating systems described, implementing the patterns V, Model-View-Controller (MVC) and Object-Oriented Programming (OOP) in the design environment. The GRAFINO® tool has been validated by its application to a case study of automation and has showed a high potential as an adequate alternative to the more expensive PLC hardware and as a didactic tool for educational purposes and its extension to other commercial software, such as MATLAB and Octave.
Copyright © 2019 Praise Worthy Prize - All rights reserved.


Boolean Model; Control; GRAFCET; GRAFINO; PLC

Full Text:



E. Alphonsus and M. Abdullah, A review on the applications of programmable logic controllers (PLCs), Renewable and Sustainable Energy Reviews, vol. 60, pp. 1185–1205, 2016.

J. S. Um, Introduction to the Fourth Industrial Revolution, Drones as Cyber-Physical Systems, Springer Singapore, pp. 1-20, 2019.

J.O. Han, J. W. Shin, J.C. Kim, and S.H. Oh, Design 2-Speed Transmission for Compact Electric Vehicle Using Dual Brake System, Applied Sciences, vol. 9, no. 9, pp. 1-12, 2019.

O. Lazzarini Lemos, F. Fagundes Silveira, F. Cutigi Ferrari, and A. Garcia, The impact of Software Testing education on code reliability: An empirical assessment, Journal of Systems and Software, vol. 137, pp. 497–511, 2018.

M. Dolores Gallego, S. Bueno, F. José Racero, and J. Noyes, Open source software: The effects of training on acceptance, Computers in Human Behavior, vol. 49, pp. 390–399, 2015.

K.M. Birare, Analysis of Design Pattern to Develop Object-Oriented Systems, International Journal of Applied Evolutionary Computation (IJAEC), vol. 10, no. 3, pp. 1-9, 2019.

Oussalem, O., Kourchi, M., Idadoub, H., Jenkal, S., Rachdy, A., Ajaamoum, M., Oubella, M., Realization of a Control Platform of a Photovoltaic System Optimized by MPPT Strategy 'Perturb and Observe', (2019) International Review of Automatic Control (IREACO), 12 (3), pp. 115-122.

A. Carpeño, D. Contreras, S. López, M. Ruiz, D. Sanz, G. de Arcas, S. Esquembri, J. Vega, and R. Castro, 3D virtual world remote laboratory to assist in designing advanced user defined DAQ systems based on FlexRIO and EPICS, Fusion Engineering and Design, vol. 112, pp. 1059–1062, 2016.

M. Matúšová, and E. Hrušková, Applying the Computer Aided Systems in Education Process, Management Systems in Production Engineering, vol. 27, no. 1, pp. 46-50, 2019.

Z. Cui, Z. Tian, Y. Zhang, Z. Bi, and S. Fu, Study on real time 3D imaging of streak tube lidar based on LabVIEW, Optik, vol. 157, pp. 768-773, 2018.

R. Shah, and A.B. Pandey, Concept for automated sorting robotic arm, Procedia Manufacturing, vol. 20, pp. 400-405, 2018.

Tihane, A., Boulaid, M., Ihlal, A., Nya, M., Design and Implementation of a Low Cost Automatic Variable Load and Data Acquisition for Characterization of Photovoltaic Modules Simultaneously, (2016) International Review of Automatic Control (IREACO), 9 (1), pp. 48-54.

Smirnov, Y., Halimon, V., Double Layer Gateway Model for Connection Between Production Network and Enterprise Network, (2015) International Review of Automatic Control (IREACO), 8 (1), pp. 44-50.

C.H. Chen, L. Luoh, and M.H. Guo, A new design and implementation of hardware accelerator for line detection, Microprocessors and Microsystems, vol. 61, pp. 179-197, 2018.

F. Schumacher, S. Schrock, and A. Fay, Transforming hierarchical concepts of GRAFCET into a suitable petri net formalism, Management, and Control, vol. 7, no. 1, pp. 295–300, 2013.

P. Ritchie, Practical Microsoft Visual Studio 2015, Springer, pp. 101-112, 2016.

J. Hughes, Arduino: A Technical Reference: A Handbook for Technicians, O’Reilly Media, pp.31-38, 2016.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2023 Praise Worthy Prize