摘要
RTU/DPU等自动化装置的软件系统中,实时数据库和可编程逻辑控制模块是重要的软件组成部分。在分析国内外可编程逻辑软件实现的基础上,和实时数据库结合,提出了一种适合在自动化装置中运行的IEC61131-3可编程控制设计方案。介绍了可编程逻辑的开发环境和运行环境。从任务和资源的配置、全局变量、局部变量、数据库对象的使用、任务的调度等方面,讲述了自动化装置中运行环境的构造。实时数据库可以实现逻辑模块和任务的灵活定义,编译型代码可以高效运行,进而完成各种自动化功能。
In software systems of automation devices such as RTU/DPU,real-time database and programmable logic control module are important software components.Based on the analysis of the implementation of programmable logic software at home and abroad and the combination of real-time database,a programmable control architecture of IEC61131-3 suitable for running in automation devices is proposed.The development environment and running environment of programmable logic are introduced.From the aspects of task and resource allocation,the use of global variables,local variables,database objects,task scheduling and so on,the design of running environment in automation device is described in detail.Real-time database can realize flexible definition of logical modules and tasks,compiled code can run efficiently,and then realize various automation functions.
作者
范三龙
秦成虎
FAN Sanlong;QIN Chenghu(Guodian Nanjing Automation Co.,LTD.,Nanjing 210000,China)
出处
《工业仪表与自动化装置》
2019年第6期14-17,121,共5页
Industrial Instrumentation & Automation