摘要
针对目前PLC编程环境存在的问题,设计一种基于IEC61131-3标准的新型PLC编程开发环境,给出开发环境的模块构成,介绍各个模块实现时用到的数据结构和算法,分析其中较难实现的梯形图语言向指令表语言翻译的算法思想和实现步骤。实验结果表明,该系统用户界面友好、操作简单、功能全面,可支持多种PLC语言开发,方便用户对PLC的开发和使用,具有广阔的应用前景。
Aiming at the limitation and lack of the current editing sotfware for PLC, this paper designs a new programming environment for PLC based on the IEC61131-3 standard. After given the development environment modules, it introduces data structure and algorithm of every module, focuses on the main ideas and realization steps of the translation algorithm between the Ladder Diagram(LD) and the Instruction List(IL). Experimental results show the programming system has a friendly user interface and complete functions, it is easy to operate and can support more than one kind of PLC language development, and what's more, this system provides great convenience for user developing and using PLC, so it has a broad application prospect.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第23期246-248,251,共4页
Computer Engineering