• DocumentCode
    3604607
  • Title

    POU-Oriented Unit Testing of IEC 61131-3 Control Software

  • Author

    Jamro, Marcin

  • Author_Institution
    Dept. of Comput. & Control Eng., Rzeszow Univ. of Technol., Rzeszow, Poland
  • Volume
    11
  • Issue
    5
  • fYear
    2015
  • Firstpage
    1119
  • Lastpage
    1129
  • Abstract
    Software testing is an important part of project development. Depending on system type and size, it is performed variously. Unit testing is one of the available approaches that is used to ensure that behavior of small software parts is consistent with requirements. It allows to improve software quality and decrease overall costs. Despite the fact that such an approach is commonly judged as a vital concept, it is not usual in control software. In this paper, the comprehensive approach to test the IEC 61131-3 software using unit tests is presented. It supports to create tests in two ways-either in textual and graphical IEC 61131-3 languages or in the CPTest+ dedicated test definition language. The latter is equipped with many advanced features, such as test fixtures and inclusions, parameterized and analog signal extensions, mock objects, as well as a few kinds of suites. The overall solution runs on the developer and testing station; hence, it does not have significant impact on performance of the control program and tests are more reliable and repeatable. To explain the concept, the simple running example is presented in this paper. The described solution has been introduced in the CPDev engineering environment for programming controllers.
  • Keywords
    control engineering computing; program testing; software quality; CPDev engineering environment; CPTest+ dedicated test definition language; IEC 61131-3 control software; POU-oriented unit testing; graphical IEC 61131-3 languages; software quality; software testing; textual IEC 61131-3 languages; Automation; Control systems; IEC Standards; Informatics; Software; Testing; Control software; IEC 61131-3; control software; testing; unit test;
  • fLanguage
    English
  • Journal_Title
    Industrial Informatics, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1551-3203
  • Type

    jour

  • DOI
    10.1109/TII.2015.2469257
  • Filename
    7206603