Next Article in Journal
Fault Displacement Hazard Analysis Based on Probabilistic Seismic Hazard Analysis for Specific Nuclear Sites
Next Article in Special Issue
Petri Net Modeling for Ising Model Formulation in Quantum Annealing
Previous Article in Journal
Theories and Analysis of Functionally Graded Beams
Previous Article in Special Issue
Temporal Analysis of Influence of Resource Failures on Cyber-Physical Systems Based on Discrete Timed Petri Nets
Article

Petri Net-Based Semi-Compiled Code Generation for Programmable Logic Controllers

1
Faculty of Engineering, Mondragon Unibertsitatea, Goiru 2, 20500 Arrasate-Mondragón, Spain
2
Research and Development, Simumatik AB, Box 133, 54123 Skövde, Sweden
*
Author to whom correspondence should be addressed.
Academic Editors: Luis Gomes and João Paulo Barros
Appl. Sci. 2021, 11(15), 7161; https://doi.org/10.3390/app11157161
Received: 30 June 2021 / Revised: 28 July 2021 / Accepted: 30 July 2021 / Published: 3 August 2021
(This article belongs to the Special Issue Recent Advances in Petri Nets Modeling)
Industrial discrete event dynamic systems (DEDSs) are commonly modeled by means of Petri nets (PNs). PNs have the capability to model behaviors such as concurrency, synchronization, and resource sharing, compared to a step transition function chart or GRAphe Fonctionnel de Commande Etape Transition (GRAFCET) which is a particular case of a PN. However, there is not an effective systematic way to implement a PN in a programmable logic controller (PLC), and so the implementation of such a controller outside a PLC in some external software that will communicate with the PLC is very common. There have been some attempts to implement PNs within a PLC, but they are dependent on how the logic of places and transitions is programmed for each application. This work proposes a novel application-independent and platform-independent PN implementation methodology. This methodology is a systematic way to implement a PN controller within industrial PLCs. A great portion of the code will be validated automatically prior to PLC implementation. Net structure and marking evolution will be checked on the basis of PN model structural analysis, and only net interpretation will be manually coded and error-prone. Thus, this methodology represents a systematic and semi-compiled PN implementation method. A use case supported by a digital twin (DT) is shown where the automated solution required by a manufacturing system is carried out and executed in two different devices for portability testing, and the scan cycle periods are compared for both approaches. View Full-Text
Keywords: Petri nets; programmable logic controllers; process modeling; digital twin Petri nets; programmable logic controllers; process modeling; digital twin
Show Figures

Figure 1

MDPI and ACS Style

Azkarate, I.; Ayani, M.; Mugarza, J.C.; Eciolaza, L. Petri Net-Based Semi-Compiled Code Generation for Programmable Logic Controllers. Appl. Sci. 2021, 11, 7161. https://doi.org/10.3390/app11157161

AMA Style

Azkarate I, Ayani M, Mugarza JC, Eciolaza L. Petri Net-Based Semi-Compiled Code Generation for Programmable Logic Controllers. Applied Sciences. 2021; 11(15):7161. https://doi.org/10.3390/app11157161

Chicago/Turabian Style

Azkarate, Igor, Mikel Ayani, Juan C. Mugarza, and Luka Eciolaza. 2021. "Petri Net-Based Semi-Compiled Code Generation for Programmable Logic Controllers" Applied Sciences 11, no. 15: 7161. https://doi.org/10.3390/app11157161

Find Other Styles
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

1
Back to TopTop