Abstract
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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.