摘要
介绍可编程逻辑控制器(PLC)通用开发平台的设计与实现方法。该平台遵循IEC61131-3标准,基于Windows用VC++设计,用于实现PLC控制系统硬件配置、PLC控制程序设计、梯形图与指令表程序间的相互转换、程序调试、仿真运行、网络通信与实时监测等,是设计实现PLC控制系统必备的通用集成环境与实时监测受控现场状况的工具。本文重点研究了PLC控制系统的组态与控制程序可执行代码的实现方法,提出了基于图和二叉树的梯形图与指令表程序的转换算法。研究表明,该平台对控制系统的组态设计、PLC控制程序编制及控制流程的通用转换算法等特点,特别适用于逻辑关系复杂的自动化监控系统的设计与开发。
The design and realization of a general development platform for programmable logic controller (PLC) is presented. The platform is developed with Visual C ++ and conforms to the standard of IEC61131-3. It can be used to complete PLC control system configuration, programming, transformation between the ladder diagram and instruction list, program debugging, running simulation, network communication and real time system monitoring. It is a general integrated development environment and a tool for designing a control system and monitoring system operation. The paper focuses on the configuration of the control system and implementation of PLC programs; and proposes an algorithm for transformation between ladder diagram and instruction list based on digraph and binary tree. Study demonstrates that the platform especially suits for the design and development of automatic monitoring and control system that contains complex logic relations, and has the features such as control system configuration, PLC program editing, and general transformation algorithm for control flow, and etc.
出处
《仪器仪表学报》
EI
CAS
CSCD
北大核心
2007年第8期1486-1491,共6页
Chinese Journal of Scientific Instrument