Title |
Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced |
Authors |
- E. Blanco Viñuela, D. Darvas
CERN, Geneva, Switzerland
- Gy. Sallai
BUTE, Budapest, Hungary
|
Abstract |
Testing Programmable Logic Controllers (PLCs) is challenging, partially due to the lack of tools for testing. Isolating a part of the PLC program, feeding it with test inputs and checking the test outputs often require manual work and physical hardware. The Siemens PLCSIM Advanced tool can simulate PLCs and provide a rich application programming interface (API). This paper presents a new CERN made tool based on PLCSIM Advanced and the TIA Portal Openness API. The tool takes a test case described in an intuitive, tabular format, which is then executed with the full PLC program or a selected part of it, effectively allowing unit testing. The inputs can be fed and the outputs can be captured via the PLCSIM API. This way the tests can be executed and evaluated automatically, without manual work or physical hardware. Therefore, it is possible to provide an automated and scalable continuous testing solution for PLC programs to reveal errors as early as possible.
|
Paper |
download WEPHA018.PDF [0.437 MB / 4 pages] |
Poster |
download WEPHA018_POSTER.PDF [1.026 MB] |
Export |
download ※ BibTeX
※ LaTeX
※ Text/Word
※ RIS
※ EndNote |
Conference |
ICALEPCS2019 |
Series |
International Conference on Accelerator and Large Experimental Physics Control Systems (17th) |
Location |
New York, NY, USA |
Date |
05-11 October 2019 |
Publisher |
JACoW Publishing, Geneva, Switzerland |
Editorial Board |
Karen S. White (ORNL, Oak Ridge, TN, USA); Kevin A. Brown (BNL, Upton, NY, USA); Philip S. Dyer (BNL, Upton, NY, USA); Volker RW Schaa (GSI, Darmstadt, Germany) |
Online ISBN |
978-3-95450-209-7 |
Online ISSN |
2226-0358 |
Received |
27 September 2019 |
Accepted |
09 October 2019 |
Issue Date |
30 August 2020 |
DOI |
doi:10.18429/JACoW-ICALEPCS2019-WEPHA018 |
Pages |
1107-1110 |
Copyright |
Published by JACoW Publishing under the terms of the Creative Commons Attribution 3.0 International license. Any further distribution of this work must maintain attribution to the author(s), the published article's title, publisher, and DOI. |
|