R. Campos-Rebelo, F. Pereira, F. Moutinho, L. Gomes
{"title":"From IOPT Petri nets to C: An automatic code generator tool","authors":"R. Campos-Rebelo, F. Pereira, F. Moutinho, L. Gomes","doi":"10.1109/INDIN.2011.6034908","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":378407,"journal":{"name":"2011 9th IEEE International Conference on Industrial Informatics","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"29","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 9th IEEE International Conference on Industrial Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INDIN.2011.6034908","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 29
Abstract
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.