首页> 外文期刊>Computers in Industry >Exceptions in a Programmable Logic Controller implementation based on ADA
【24h】

Exceptions in a Programmable Logic Controller implementation based on ADA

机译:基于ADA的可编程逻辑控制器实现中的异常

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:在这项工作中,我们提出了一种基于ADA编程语言的IEC 61131-3可编程逻辑控制器(PLC)软件模型的实现。显示了IEC 61131-3到ADA转换器的指南。该编译器将允许在编译ADA代码之后获得可执行代码。通过这种方式,可以通过常规的ADA编译器或运行时环境来管理PLC系统标准所预见的大多数错误情况,从而提高了软件质量。另外,我们展示了如何以两种方式管理用户或系统定义的错误情况:首先,通过以IEC语言提出类似ADA的异常声明;其次,通过显示错误任务的实现,这些任务在IEC 61131标准的第8部分中进行了说明。因此,我们得出结论,ADA是PLC的合适目标语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号