PyLC: A Framework for Transforming and Validating PLC Software using Python']Python and Pynguin Test Generator

被引:4
|
作者
Salari, Mikael Ebrahimi [1 ]
Enoiu, Eduard Paul [1 ]
Afzal, Wasif [1 ]
Seceleanu, Cristina [1 ]
机构
[1] Malardalen Univ, Vasteras, Sweden
基金
欧盟地平线“2020”;
关键词
PLC; !text type='Python']Python[!/text; Code translation; FBD; ST; Pynguin; IEC; 61131-3; Translation validation;
D O I
10.1145/3555776.3577698
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Many industrial application domains utilize safety-critical systems to implement Programmable Logic Controllers (PLCs) software. These systems typically require a high degree of testing and stringent coverage measurements that can be supported by state-of-theart automated test generation techniques. However, their limited application to PLCs and corresponding development environments can impact the use of automated test generation. Thus, it is necessary to tailor and validate automated test generation techniques against relevant PLC tools and industrial systems to efficiently understand how to use them in practice. In this paper, we present a framework called PyLC, which handles PLC programs written in the Function Block Diagram and Structured Text languages such that programs can be transformed into Python. To this end, we use PyLC to transform industrial safety-critical programs, showing how our approach can be applied to manually and automatically create tests in the CODESYS development environment. We use behaviour-based, translation rules-based, and coverage-generated tests to validate the PyLC process. Our work shows that the transformation into Python can help bridge the gap between the PLC development tools, Python-based unit testing, and test generation.
引用
收藏
页码:1476 / 1485
页数:10
相关论文
共 50 条
  • [41] A New Design of Scientific Software Using Python and XML
    Lutz Gross
    Hans Mühlhaus
    Elspeth Thorne
    Ken Steube
    Pure and Applied Geophysics, 2008, 165 : 653 - 670
  • [42] Parallelizing X-ray Photon Correlation Spectroscopy Software Tools using Python']Python Multiprocessing
    Abeykoon, Sameera K.
    Lin, Meifeng
    van Dam, Kerstin Kleese
    2017 NEW YORK SCIENTIFIC DATA SUMMIT (NYSDS), 2017,
  • [43] PyBoKids: An Innovative Python']Python-Based Educational Framework Using Real and Simulated Arduino Robots
    Vega, Julio
    Canas, Jose M.
    ELECTRONICS, 2019, 8 (08)
  • [44] Developing an integrated design framework using python']python scripting for parametric CAD modelling of flange coupling
    Patil, K. R.
    Deshpande, Shaunak
    Joshi, Sumedh
    Raul, A. K.
    INTERNATIONAL JOURNAL OF INTERACTIVE DESIGN AND MANUFACTURING - IJIDEM, 2024, 18 (07): : 4451 - 4462
  • [45] Transforming Hydrology Python']Python Packages into Web Application Programming Interfaces: A Comprehensive Workflow Using Modern Web Technologies
    Pulla, Sarva T.
    Yasarer, Hakan
    Yarbrough, Lance D.
    WATER, 2024, 16 (18)
  • [46] MultiPaths: a Python']Python framework for analyzing multi-layer biological networks using diffusion algorithms
    Marin-Llao, Josep
    Mubeen, Sarah
    Perera-Lluna, Alexandre
    Hofmann-Apitius, Martin
    Picart-Armada, Sergio
    Domingo-Fernandez, Daniel
    BIOINFORMATICS, 2021, 37 (01) : 137 - 139
  • [47] Modeling A Loop Back Test For Radar Phased Array Digital Receiver Exciters Using Python']Python
    Mortensen, John
    Wickert, Mark
    2021 IEEE SPACE HARDWARE AND RADIO CONFERENCE (SHARC), 2021, : 17 - 20
  • [48] Development of an Ergonomically-Programmed Keyboard Layout for English, Tagalog, and Taglish Languages using Python']Python Software
    Juan, Angelica Louise P. San
    Revilla, Josefa Angelie D.
    Ani, Angelo C.
    Pesigan, Clarissa M.
    Mercado, Alan Marco S.
    INDUSTRIAL ENGINEERING AND MANAGEMENT SYSTEMS, 2022, 21 (04): : 598 - 612
  • [49] Scymol: A python']python-based software package for initializing and running molecular dynamics simulations using LAMMPS
    Assaf, Eli I.
    Maalouf, Elsa
    Liu, Xueyan
    Lin, Peng
    Erkens, Sandra
    SOFTWAREX, 2025, 29
  • [50] Software to Assist Visually Impaired People During the Craps Game Using Machine Learning on Python']Python Platform
    Hernandez Diaz, Nicolas
    Penaloza, Yersica C.
    Yuliana Rios, Y.
    Magre Colorado, Luz A.
    SMART TECHNOLOGIES, SYSTEMS AND APPLICATIONS, SMARTTECH-IC 2021, 2022, 1532 : 175 - 189