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 条
  • [31] Research and deployment of a Python']Python-based software framework for large-scale physical experiment control
    Xia, Shouteng
    Zhang, Yinhong
    Qian, Sen
    Song, Ruiqiang
    Yang, Jie
    JOURNAL OF INSTRUMENTATION, 2023, 18 (10)
  • [32] Using software metrics for predicting vulnerable classes in java']java and python']python based systems
    Sultana, Kazi Zakia
    Anu, Vaibhav
    Chong, Tai-Yin
    INFORMATION SECURITY JOURNAL, 2024, 33 (03): : 251 - 267
  • [33] Geometrical Modeling and Performance Analysis of Textile Composites Using Python']Python Scripted Software Platforms
    Priyanka, Pragati
    Mali, H. S.
    Dixit, Anurag
    ADVANCES IN SIMULATION, PRODUCT DESIGN AND DEVELOPMENT, 2020, : 395 - 405
  • [34] The possibilities of using Python']Python language and its libraries in developing software for the oil and gas industry
    Badowski, Jakub
    NAFTA-GAZ, 2018, 74 (02): : 113 - 120
  • [35] Development of a Power Flow Software for Distribution System Analysis Based on Rectangular Voltage Using Python']Python Software Package
    Hakim, Lukmanul
    Wahidi, Muhamad
    Handoko, Trisno
    Gusmedi, Hem
    Soedjarwanto, Noer
    Milano, Federico
    2014 6TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY AND ELECTRICAL ENGINEERING (ICITEE), 2014, : 255 - 259
  • [36] Wideband 20 GHz RF Digitizer and Python']Python-based Open Application Framework for Test and Measurement
    Adnani, Nikhil
    Hember, Tim
    Helaly, Tarek
    Farhan, Mohammad
    Ward, Ian
    2013 IEEE AUTOTESTCON, 2013,
  • [37] A particle-filter based framework for inverse problems using ANSYS Fluent and Python']Python
    Marques Margotto, Bruno Henrique
    Polatschek Kopperschmidt, Carlos Eduardo
    Colac, Marcelo Jose
    da Silva, Wellington Betencurte
    Sampaio Dutra, Julio Cesar
    Silva de Abreu, Luiz Antonio
    PROCEEDINGS OF CHT-21 ICHMT INTERNATIONAL SYMPOSIUM ON ADVANCES IN COMPUTATIONAL HEAT TRANSFER, 2021, 2021,
  • [38] Accuracy Testing of Data Classification using Tensor Flow a Python']Python Framework in ANN Designing
    Chauhan, Neeraj
    Bhatt, Ashutosh Kr.
    Dwivedi, Rakesh Kr.
    Belwal, Rajendra
    PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON SYSTEM MODELING & ADVANCEMENT IN RESEARCH TRENDS (SMART), 2018, : 44 - 48
  • [39] Synconn_build : A python']python based synthetic dataset generator for testing and validating control-oriented neural networks for building dynamics prediction
    Chaudhary, Gaurav
    Johra, Hicham
    Georges, Laurent
    Austbo, Bjorn
    METHODSX, 2023, 11
  • [40] Automated Planning and Optimization of a Draping Processes Within the CATIA Environment Using a Python']Python Software Tool
    Koerber, M.
    Frommel, C.
    29TH INTERNATIONAL CONFERENCE ON FLEXIBLE AUTOMATION AND INTELLIGENT MANUFACTURING (FAIM 2019): BEYOND INDUSTRY 4.0: INDUSTRIAL ADVANCES, ENGINEERING EDUCATION AND INTELLIGENT MANUFACTURING, 2019, 38 : 808 - 815