Alfred Theorin
Department of Automatic Control, Lund University, Lund, Sweden
Charlotta Johnsson
Department of Automatic Control, Lund University, Lund, Sweden
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp140961257Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:133, s. 1257-1263
Publicerad: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
Grafchart is a graphical programming language which extends Sequential Function Charts (SFC); the PLC standard languages for sequential; parallel; and general state-transition oriented automation applications. SFC is widely used and accepted for industrial automation. Grafchart adds higher level features to SFC such as hierarchical structuring; reusable procedures; and exception handling to make it convenient to implement and maintain large applications.
Functional Mock-up Interface (FMI) is a standard to combine dynamic system models for technical system developed in various tools. Tools can export models as Functional Mock-up Units (FMUs) which can be combined with other FMUs to compose the whole system.
In this paper adding FMI for Co-Simulation support to JGrafchart; a free implementation of the Grafchart language; is conceptually evaluated. It is discussed how JGrafchart fits into the FMI for Co-Simulation framework and potential ways to implement this are discussed.
[1] IEC. IEC 61131-3: Programmable controllers – Part 3: Programming Languages. Tech. rep. International
Electrotechnical Commission, 1993.
[2] Alfred Theorin. Adapting Grafchart for Industrial Automation. Licentiate Thesis ISRN LUTFD2/TFRT--3260--SE. Department of Automatic Control, Lund University, Sweden, 2013-05.
[3] FMI Development Group. Functional Mockup Interface for Model Exchange and Co-Simulation – 2.0 Release Candidate 1. Tech. rep. Modelica Association, 2013-10.
[4] Modelica Association. Modelica. URL: https://www.modelica.org/ (visited on 2013-12-08).
[5] Karl-Erik Årzén, Rasmus Olsson, and Johan Åkesson. “Grafchart for Procedural Operator Support Tasks”. In: Proceedings of the 15th IFAC World Congress, Barcelona, Spain. 2002-07.
[6] Andreas Stolt. Robotic Assembly and Contact Force Control. Licentiate Thesis ISRN LUTFD2/TFRT--3256--SE. Department of Automatic Control, Lund University, Sweden, 2012-12.
[7] Anna Benktson and Sofia Dahlberg. Modeling of Avionics Systems using JGrafchart and True-Time. Master’s Thesis ISRN LUTFD2/TFRT--5907--SE. Department of Automatic Control, Lund University, Sweden, 2012.
[8] SOA4D Forge. DPWS4J Core. URL: https://forge.soa4d.org/projects/dpws4j/ (visited on 2013-12-07).
[9] Alfred Theorin, Lisa Ollinger, and Charlotta Johnsson. “Service-oriented Process Control with Grafchart and the Devices Profile for Web Services”. In: Service Orientation in Holonic and Multi Agent Manufacturing and Robotics. Ed. by Theodor Borangiu, Andre Thomas, and Damien Trentesaux. Vol. 472. Studies in Computational Intelligence. Springer Berlin Heidelberg, 2013-01, pp. 213–228. ISBN: 978-3-642-35851-7. DOI: 10.1007/978-3-642-35852-4_14.
[10] Isolde Dressler. Code Generation from JGrafchart to Modelica. Master’s Thesis ISRN LUTFD2/TFRT--5726--SE. Department of Automatic Control, Lund University, Sweden, 2004-03.
[11] Ana Llorente. Code Generation from JGrafchart to ATMEL AVR. Master’s Thesis ISRN LUTFD2/TFRT--5749--SE. Department of Automatic Control, Lund University, Sweden, 2005-01.
[12] Alfred Theorin and Charlotta Johnsson. “An Interactive PID Learning Module for Educational Purposes”. In: Submitted to The 19th World Congress of the International Federation of Automatic Control (IFAC). 2014-08.
[13] Hilding Elmqvist et al. “State Machines in Modelica”. In: Proceedings of 9th International Modelica Conference, Munich, Germany, September. 2012, pp. 3–5.
[14] JModelica.org. PyFMI. URL: http://www.jmodelica.org/page/4924 (visited on 2013-12-08).
[15] The Regents of the University of California. JFMI - A Java Wrapper for the Functional Mock-up Interface. URL: http://ptolemy.eecs.berkeley.edu/java/jfmi/index.htm (visited on 2013-12-08).
[16] Todd Fast, TimothyWall, Liang Chen. Java Native Access (JNA). URL: https://github.com/twall/jna (visited on 2013-12-08).