Exceptions in a programmable logic controller implementation based on ADA

被引:3
作者
Plaza, Inmaculada [1 ]
Medrano, Carlos [1 ]
机构
[1] Univ Zaragoza, Escuela Univ Politecn Teruel, Dept Ingn Elect & Comunicac, Teruel 44003, Spain
关键词
Programmable Logic Controller; IEC; 61131; exception; ADA;
D O I
10.1016/j.compind.2006.07.007
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this work we propose an implementation of IEC 61131-3 Programmable Logic Controller (PLC) software model based on ADA programming language. The guidelines for an IEC 61131-3 to ADA translator are shown. This translator would allow obtaining executable code after compiling the ADA code. In this way, most error conditions that the standard foresees for PLC systems can be managed by the usual ADA compilers or the run-time environment, thus improving software quality. In addition, we show how to manage user- or system-defined error conditions in two ways: first, by proposing ADA-like exception statements in IEC languages; second, by showing an implementation of the error tasks that are explained in part 8 of IEC 61131 standard. Therefore, we conclude that ADA is a suitable target language for PLC. (c) 2006 Elsevier B.V. All rights reserved.
引用
收藏
页码:347 / 354
页数:8
相关论文
共 8 条
[1]  
[Anonymous], 2003, 611313 IEC
[2]  
BARNES J, 1998, PROGRAMMING ADA 95
[3]  
Burns A., 2001, Real-time Systems and Programming Languages: Ada 95, Real-Time Java and Real-Time POSIX, V3rd
[4]   Exception handling for PLC-based process control software [J].
Godena, G ;
Colnaric, M .
MICROPROCESSORS AND MICROSYSTEMS, 2000, 24 (08) :407-414
[5]  
International Electrotechnical Commission (IEC), 2003, 611318 IEC
[6]  
Lewis R. W., 1998, Iet.
[7]  
PLAZA I, 2004, WORLD AUT C WAC 2004
[8]   Analysis and implementation of the IEC 61131-3 software model under POSIX Real-Time operating systems [J].
Plaza, Inmaculada ;
Medrano, Carlos ;
Blesa, Alfonso .
MICROPROCESSORS AND MICROSYSTEMS, 2006, 30 (08) :497-508