Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Hardware Simulation for Testing IEC 61131-3

Holmqvist, Johan and Ulander, Adrian (2005) In MSc Theses
Department of Automatic Control
Abstract
Testing of control code written in IEC 61131-3 has long been a strenuous manual process. The focus in this master's thesis is on building a simulator of an Alfa Laval separator to enable testing of control code. In this particular case, the control code being tested is written and executed in a soft PLC called TwinCAT. The simulator for testing code is written in C#. When testing code, automated tests are preferred because it enables easy regression testing. For this purpose a testing tool using a customized script language has been developed. Testing with a simulator is also beneficial because errors can be found early in the development process, thus reducing the number of errors left to be found when testing on hardware. Comparison... (More)
Testing of control code written in IEC 61131-3 has long been a strenuous manual process. The focus in this master's thesis is on building a simulator of an Alfa Laval separator to enable testing of control code. In this particular case, the control code being tested is written and executed in a soft PLC called TwinCAT. The simulator for testing code is written in C#. When testing code, automated tests are preferred because it enables easy regression testing. For this purpose a testing tool using a customized script language has been developed. Testing with a simulator is also beneficial because errors can be found early in the development process, thus reducing the number of errors left to be found when testing on hardware. Comparison tests show that the simulator performs sufficiently well for testing of control code. (Less)
Please use this url to cite or link to this publication:
author
Holmqvist, Johan and Ulander, Adrian
supervisor
organization
year
type
H3 - Professional qualifications (4 Years - )
subject
publication/series
MSc Theses
report number
TFRT-5739
ISSN
0280-5316
language
English
id
8847881
date added to LUP
2016-03-18 10:03:58
date last changed
2016-03-18 10:03:58
@misc{8847881,
  abstract     = {{Testing of control code written in IEC 61131-3 has long been a strenuous manual process. The focus in this master's thesis is on building a simulator of an Alfa Laval separator to enable testing of control code. In this particular case, the control code being tested is written and executed in a soft PLC called TwinCAT. The simulator for testing code is written in C#. When testing code, automated tests are preferred because it enables easy regression testing. For this purpose a testing tool using a customized script language has been developed. Testing with a simulator is also beneficial because errors can be found early in the development process, thus reducing the number of errors left to be found when testing on hardware. Comparison tests show that the simulator performs sufficiently well for testing of control code.}},
  author       = {{Holmqvist, Johan and Ulander, Adrian}},
  issn         = {{0280-5316}},
  language     = {{eng}},
  note         = {{Student Paper}},
  series       = {{MSc Theses}},
  title        = {{Hardware Simulation for Testing IEC 61131-3}},
  year         = {{2005}},
}