From IOPT Petri nets to C: an Automatic Code Generator Tool

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

23 Citations (Scopus)


This paper presents a tool for automatic generation of ANSI C code from models expressed in IOPT (Input-Output Place-Transition) Petri Nets. The inputs of the tool are PNML (Petri Nets Mark-up Language) files containing the IOPT Petri net models. The tool has two different interfaces: one relying on a simple graphical interface (amenable to be used by humans), and a second one with a command line interface (amenable to be used by humans as well as by other computational systems supporting tools interaction). The tool also allows the user to tune some parts of the automatically generated code considering some characteristics of the implementation platform improving the performance of the generated code. Generated code can be directly deployed into specific controllers; PIC low-cost microcontrollers as well as general purpose PCs have been used for validation.
Original languageUnknown
Title of host publicationIEEE International Conference on Industrial Informatics
Pages390 - 395
Publication statusPublished - 1 Jan 2011
Event9th IEEE International Conference on Industrial Informatics (INDIN) - Lisbon, Portugal
Duration: 26 Jul 201129 Jul 2011


Conference9th IEEE International Conference on Industrial Informatics (INDIN)

Cite this