DocumentCode
3662487
Title
Ambiguities in IEC 61131-3 ST and IL expression semantics
Author
Mário de Sousa
Author_Institution
INESC TEC - INESC Technology and Science and FEUP - University of Porto, Faculty of Engineering, Porto, Portugal
fYear
2015
fDate
7/1/2015 12:00:00 AM
Firstpage
1312
Lastpage
1317
Abstract
One of the aspects that affects the reliability of a software application is the programming language used for its development. In industrial automation applications, the most commonly used languages are those defined in the IEC 61131-3 standard. This work contains an analysis of the semantics of ST and IL expressions, and highlights ambiguities in the standard that might lead to seemingly correct code being executed and evaluated differently in distinct IEC 61131-3 execution environments. Examples of code that may be evaluated to different results are given, and an evaluation of several commercially available IEC 61131-3 compilers is made and compared. A static code analyzer was developed capable of identifying legal IEC 61131-3 code that may result in ambiguous behavior, and this analyzer was used to test source code currently in use in real-world control applications.
Keywords
Manganese
Publisher
ieee
Conference_Titel
Industrial Informatics (INDIN), 2015 IEEE 13th International Conference on
ISSN
1935-4576
Electronic_ISBN
2378-363X
Type
conf
DOI
10.1109/INDIN.2015.7281925
Filename
7281925
Link To Document