期刊文献+

PLC梯形图转化为指令表算法及实现 被引量:12

Algorithm and Realization of Transformation from PLC Ladder Diagram to Instruction Table
下载PDF
导出
摘要 针对目前PLC梯形图编辑软件的缺陷和不足,基于面向对象的设计思想,提出了一种全新的将梯形图转化为指令表的优化算法。介绍了语法检查、构造逻辑树结构和遍历树结构得到相应指令集三个具体过程的解决方案。结合灵活的类管理机制,将该算法应用于编辑软件,成功地解决了图形语言向文本语言的转化。由于指令程序比较接近于机器语言,将梯形图转换成指令表以后,通过指令解释器对指令表的解释得出程序的逻辑,可以在PC机上执行程序。使用该算法开发出来的PLC编辑软件,作为一个编写PLC程序的通用开发平台,它功能强大、操作简单、使用方便。 Aiming at the limitation and lack of the current editing software for PLC ladder diagram, based on the idea of oriented-object , an optimal algorithm to convert ladder diagram to instruction table is presented. A concrete solution of grammar checking, constructing logic tree and traversal of the tree to come up with instruction table are introduced. With flexible mechanism of class management, the algorithm is successfally applied to the editing software to realize the transformation from graph language to text language. As procedure is fairly close to the binary code, PLC ladder diagram is transformed to the instruction table, then the logic of procedure is educed through the explanation to the instruction table of interpreter, so that the procedure can be run on PC. The software based on this algorithm is powerful and simple to operate, and convenient to use.
出处 《控制工程》 CSCD 2006年第6期573-576,共4页 Control Engineering of China
关键词 梯形图 指令表 扫描 编译 ladder diagram instruction table tree scanning compile
  • 相关文献

参考文献7

  • 1McDermott K J,Yao W A.Developing a hybrid programmable logic controller platform for a flexible manufacturing system[J].International Journal of Flexible Manufacturing Systems,1997,9(4):367-374.
  • 2白艳艳,陈卫福,于春娜.开放式数控系统中软PLC的研究开发[J].机械管理开发,2005,20(3):24-25. 被引量:9
  • 3Lee J S,Hsu P L.An improved evaluation of ladder logic diagrams and petri nets for the sequence controller design in manufacturing systems[J].The International Journal of Advanced Manufacturing Technology,2004,24(3-4):279-287.
  • 4Lee G B,Han Z D,Lee J S.Automatic generation of ladder diagram with control Petri Net[J].Journal of Intelligent Manufacturing,2004,15(2):245-252.
  • 5高金刚,陈建春,刘雄伟.数控系统的软PLC系统开发[J].计算机测量与控制,2004,12(3):254-256. 被引量:24
  • 6Yin Y L,Rau H.Dynamic selection of sequencing rules for a class-based unit-load automated storage and retrieval system[J].The International Journal of Advanced Manufacturing Technology,2006,29(11-12):1259-1266.
  • 7黄延延,林跃,于海斌.软PLC技术研究及实现[J].计算机工程,2004,30(1):165-167. 被引量:83

二级参考文献9

共引文献98

同被引文献46

引证文献12

二级引证文献28

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部