摘要
软PLC是PLC技术的发展方向,本文在分析几种常见软PLC控制方案后,提出了一种基于μC/OSⅡ-实时操作系统的软PLC体系结构,并详细分析了各系统模块的功能。给出了软PLC开发系统编译器的实现方法。分析了基于μC/OSⅡ-的运行系统的工作原理,并研究了实时任务的创建和调度。最后,给出了实时任务的指令表实现方法。目前,本软PLC已经成功移植到原型平台中,其运行稳定。
SoftPLC is the orientation of PLC technology. A SoftPLC system structure based on embedded operation system μC/OS-Ⅱ was put forward after study of the control structure of SoftPLC system, and the function of system modules were analyzed. The compiler implementation of SoftPLC development system was given out. The working principle, task creation and task scheduling of running system were analyzed and researched. The implementation of the PLC command was described and presented. At present, this SoftPLC has been transplanted on prototyping.platform, and running with stable operation and good performance.
出处
《机床与液压》
北大核心
2008年第5期5-8,共4页
Machine Tool & Hydraulics
基金
国家自然科学基金资助项目(604040191)