作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (23): 246-248,. doi: 10.3969/j.issn.1000-3428.2009.23.086

• 工程应用技术与实现 • 上一篇    下一篇

基于IEC61131-3标准的PLC编程环境

秦 华1,2,夏清国1,付 钰3   

  1. (1. 西北工业大学计算机学院,西安 710129;2. 桂林空军学院3系,桂林 541003;3. EMC中国(上海)研发中心,上海 200433)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-12-05 发布日期:2009-12-05

PLC Programming Environment Based on IEC61131-3 Standard

QIN Hua1,2, XIA Qing-guo1, FU Yu3   

  1. (1. School of Computer, Northwestern Polytechnical University, Xi’an 710129; 2. No. 3 Dept., Guilin Air Force Academy, Guilin 541003;
    3. EMC China(Shanghai) R & D Center, Shanghai 200433)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-12-05 Published:2009-12-05

摘要: 针对目前PLC编程环境存在的问题,设计一种基于IEC61131-3标准的新型PLC编程开发环境,给出开发环境的模块构成,介绍各个模块实现时用到的数据结构和算法,分析其中较难实现的梯形图语言向指令表语言翻译的算法思想和实现步骤。实验结果表明,该系统用户界面友好、操作简单、功能全面,可支持多种PLC语言开发,方便用户对PLC的开发和使用,具有广阔的应用前景。

关键词: 可编程逻辑控制器, 梯形图, 指令表, IEC61131-3标准

Abstract: Aiming at the limitation and lack of the current editing software 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.

Key words: Programmable Logic Controller(PLC), Ladder Diagram(LD), Instruction List(IL), IEC61131-3 standard

中图分类号: