Cargando…

Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Blanco Viñuela, Enrique, Darvas, Dániel, Sallai, Gyula
Lenguaje:eng
Publicado: 2020
Materias:
Acceso en línea:https://dx.doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA018
http://cds.cern.ch/record/2777809
_version_ 1780971706690568192
author Blanco Viñuela, Enrique
Darvas, Dániel
Sallai, Gyula
author_facet Blanco Viñuela, Enrique
Darvas, Dániel
Sallai, Gyula
author_sort Blanco Viñuela, Enrique
collection CERN
description 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.
id cern-2777809
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2020
record_format invenio
spelling cern-27778092022-01-14T14:55:03Zdoi:10.18429/JACoW-ICALEPCS2019-WEPHA018http://cds.cern.ch/record/2777809engBlanco Viñuela, EnriqueDarvas, DánielSallai, GyulaTesting Solutions for Siemens PLCs Programs Based on PLCSIM AdvancedAccelerators and Storage RingsTesting 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.oai:cds.cern.ch:27778092020
spellingShingle Accelerators and Storage Rings
Blanco Viñuela, Enrique
Darvas, Dániel
Sallai, Gyula
Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title_full Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title_fullStr Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title_full_unstemmed Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title_short Testing Solutions for Siemens PLCs Programs Based on PLCSIM Advanced
title_sort testing solutions for siemens plcs programs based on plcsim advanced
topic Accelerators and Storage Rings
url https://dx.doi.org/10.18429/JACoW-ICALEPCS2019-WEPHA018
http://cds.cern.ch/record/2777809
work_keys_str_mv AT blancovinuelaenrique testingsolutionsforsiemensplcsprogramsbasedonplcsimadvanced
AT darvasdaniel testingsolutionsforsiemensplcsprogramsbasedonplcsimadvanced
AT sallaigyula testingsolutionsforsiemensplcsprogramsbasedonplcsimadvanced