baner - AGH
baner - BG
C   Z   A   S   O   P   I   S   M   A        E   L   E   K   T   R   O   N   I   C   Z   N   E        A   G   H


Running and testing the programs created in IEC 61131-3 languages.

Marcin Jamro, Bartosz Trybus

Vol. 17, no. 1 (2013), s. 43-52

Full text: pdfPDF

Abstract:

This paper presents new features for testing and running of IEC 61131-3 POUs (Program Organization Units) which are available in the CPDev engineering environment. Testing can be done either via simulation or in on-line mode. A data sources mechanism is used to test programs running on various target platforms. There are tools for the debugging of programs created in graphical languages like FBD or LD, as well as a tool for the final commissioning. One of the newest mechanisms added to CPDev environment is the possibility of defining POU-oriented tests. Two ways of specifying unit tests for functions, function blocks or programs are available i.e. via the dedicated test definition language CPTest or using tables.

W artykule przedstawiono nowe rozszerzenia pakietu inżynierskiego CPDev umożliwiające testowanie i uruchamianie jednostek organizacyjnych oprogramowania zdefiniowanych w normie IEC 61131-3 (PN/EN 61131-3). Testowanie realizowane jest za pomocą symulacji lub w trybie on-line. Mechanizm źródeł danych umożliwia testowanie programów uruchamianych na różnych platformach docelowych. Przedstawiono narzędzia umożliwiające debugowanie programów utworzonych w językach graficznych FBD i LD oraz wykorzystywane w końcowej fazie rozruchu (commissioning). Ostatnio wprowadzono w środowisku CPDev możliwość definiowania testów zorientowanych na jednostki organizacyjne oprogramowania takie jak funkcje, bloki funkcjonalne lub programy. Takie testy jednostkowe można określać za pomocą specjalizowanego języka CPTest lub w formie tabeli.

DOI: dx.doi.org/10.7494/automat.2013.17.1.43