TY - GEN
T1 - Remote Debugger
T2 - 45th International Conference on Application and Theory of Petri Nets and Concurrency, Petri Nets 2024
AU - Pereira, Fernando
AU - Barros, João Paulo
AU - Moutinho, Filipe
AU - Costa, Anikó
AU - Campos-Rebelo, Rogério
AU - Gomes, Luís
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2024.
PY - 2024
Y1 - 2024
N2 - This paper describes an interactive tool to remotely debug, control, and monitor controllers designed using IOPT Petri nets. The controllers run on physical hardware devices using code automatically generated from a Petri net model. A web-based user interface allows remote controllers to analyze, test, and debug, present a graphical view of the original Petri net model, and mark an evolution in quasi-real-time. Debugging capabilities include execution pausing, step-by-step execution and continuous execution, and the definition of break-points associated with transition firing. Users may remotely force values on input signals and inspect the values of output signals to test conditions that would otherwise require physical interaction with the hardware systems. The tool records the evolution of all signals and state variables. These are presented as waveforms, and the respective data can be exported, allowing posterior analysis with external tools of systems running at high-speed execution rates, The tool is already integrated into the IOPT-Tools framework, runs in a standard web browser, and does not require additional software installation. The tool employs a lightweight protocol based on HTTP to communicate with the code running on the embedded controllers. The protocol was designed to minimize CPU, memory, and bandwidth resources. Thus, the controller code generated automatically by the IOPT-Tools framework includes a minimal HTTP server for communication with the debugger tool running on a browser. The paper presents an example of an application employing a simple car-park controller model.
AB - This paper describes an interactive tool to remotely debug, control, and monitor controllers designed using IOPT Petri nets. The controllers run on physical hardware devices using code automatically generated from a Petri net model. A web-based user interface allows remote controllers to analyze, test, and debug, present a graphical view of the original Petri net model, and mark an evolution in quasi-real-time. Debugging capabilities include execution pausing, step-by-step execution and continuous execution, and the definition of break-points associated with transition firing. Users may remotely force values on input signals and inspect the values of output signals to test conditions that would otherwise require physical interaction with the hardware systems. The tool records the evolution of all signals and state variables. These are presented as waveforms, and the respective data can be exported, allowing posterior analysis with external tools of systems running at high-speed execution rates, The tool is already integrated into the IOPT-Tools framework, runs in a standard web browser, and does not require additional software installation. The tool employs a lightweight protocol based on HTTP to communicate with the code running on the embedded controllers. The protocol was designed to minimize CPU, memory, and bandwidth resources. Thus, the controller code generated automatically by the IOPT-Tools framework includes a minimal HTTP server for communication with the debugger tool running on a browser. The paper presents an example of an application employing a simple car-park controller model.
KW - Code Generation
KW - Debug
KW - Design Automation
KW - Petri nets
KW - Remote Operation
KW - Test
UR - http://www.scopus.com/inward/record.url?scp=85197213307&partnerID=8YFLogxK
U2 - 10.1007/978-3-031-61433-0_19
DO - 10.1007/978-3-031-61433-0_19
M3 - Conference contribution
AN - SCOPUS:85197213307
SN - 978-3-031-61432-3
T3 - Lecture Notes in Computer Science
SP - 402
EP - 412
BT - Application and Theory of Petri Nets and Concurrency
A2 - Kristensen, Lars Michael
A2 - van der Werf, Jan Martijn
PB - Springer
CY - Cham
Y2 - 26 June 2024 through 28 June 2024
ER -