期刊文献+

一种避免PLC无效指令执行的编译优化方法 被引量:5

Method of compilation optimization for avoiding the execution of useless instructions in PLC
在线阅读 下载PDF
导出
摘要 可编程控制器(PLC)在运行时有相当一部分处理器资源被对输出无任何影响的无效指令占用,这些无效指令的执行严重影响了系统的响应速度。针对这一问题,提出了PLC程序控制流程的理论优化方法,该方法避免了系统在运行时执行无效指令,并在此基础上进一步探讨了在有限代码空间限制条件下的实际工程优化方案。实验结果表明,这种编译优化方法可以有效缩短易产生无效指令PLC程序的扫描周期,提高系统的响应速度。 CPU resources are always seriously occupied by useless instructions, when programmable logic controller(PLC) are on the run time, which seriously slow down the system responses. In order to solve this problem, a compilation method was proposed to optimize PLC programme, and the execution of useless instructions was avoided. Furthermore, the optimization method under the constraints of limited code space was discussed in detail. The result of experiments indicates that the performance of PLC system is improved by this method obviously.
作者 章航平 严义
出处 《机电工程》 CAS 2009年第4期31-35,共5页 Journal of Mechanical & Electrical Engineering
基金 浙江省重大科技攻关资助项目(C11211)
关键词 可编程控制器 编译器 编译优化 梯形图 指令表 programmable logic controller(PLC) compiler compilation optimization ladder diagrams instruction list
  • 相关文献

参考文献9

  • 1DONANDT J. Improving Response Time of Programmable Logic Controllers by Use of a Boolean Coprocessor [ C ]// Proceedings of VLSI and Microelectronic Applications in Intelligent Peripherals and their Interconnection Networks. Hamburg: IEEE Comput. Soc. Press,1989:167 - 169.
  • 2KIM J. PARK J. KWON W H. Architecturc of a ladder logic solving processor for programmable controllers [ J]. Microprocessor and Mierosystems, 1992,16 ( 17 ) :369 - 379.
  • 3KOO K, RHO G, PARK J, et al. Architectural design of an RISC processor for programmable logic controllers[J]. Journal of Systems Architecture, 1998,44 ( 5 ) :311 - 325.
  • 4OHMAN M, JOHANSSON S, ARZEN K. Implementation aspects of the PLC standard IEC 1131 -3[J]. Control Engineering Practice, 1998,6 (4) :547 - 555.
  • 5JEONG S, KIM YS, KWON W H. Scheduling Algorithm for Programmable Logic Controllers with Remote I/Os [ C ]// Proceedings of Fourth International Workshop on Real-time Computing Systems and Applications. Washington: IEEE Computer Society, 2002 : 87 - 94.
  • 6PLAZA I, MEDRANO C, BLESA A. Analysis and implementation of the IEC 61131 -3 software model under POSIX real-time operating systems [ J]. Microprocessor and Microsystem ,2006,30( 8 ) :497 - 508.
  • 7KIM H S, KWON W H, CHANG N. A Translation Method for Ladder diagram with Application to a Manufacturing Process[ C ]//Proceedings of the IEEE International Conference on Robotics and Automation. Detroit: Robotics and Automation Society, 1999:793 - 798.
  • 8葛芬,吴宁.基于AOV图及二叉树的梯形图与指令表互换算法[J].南京航空航天大学学报,2006,38(6):754-758. 被引量:39
  • 9李彪,杨纪春.PLC指令代码的文法分析和翻译[J].机电工程,1999,16(1):22-26. 被引量:5

二级参考文献12

  • 1谭锦洁,程良鸿,殷学鹏.嵌入式PLC中梯形图到AOV图的映射[J].计算机测量与控制,2004,12(10):993-995. 被引量:24
  • 2吕俊白,施敏芳.PLC梯形图可视化编辑与语句表的自动生成[J].自动化仪表,2005,26(3):28-30. 被引量:9
  • 3王善永,陈思宁,施冲,刘国敏,赵雪飞.MB系列智能可编程逻辑控制器[J].电力系统自动化,2005,29(10):82-84. 被引量:45
  • 4上海起重电器厂.FX2系列可编程控制器使用手册[M].,1992..
  • 5何方山(台湾).可编程序设计范例大全[M].上海:同济大学出版社,1997..
  • 6严蔚敏 吴伟民.数据结构[M].北京:清华大学出版社,1997..
  • 7Karl-Heinz J,Tiegelkamp M.IEC61131-3:programming industrial automation systems[M].Berlin,Germany:Springer-Verlag Company,2001.
  • 8Kim H S,Kwon W H,Chang N.A translation method for ladder diagram with application to a manufacturing process[C]//Proceedings of the IEEE International Conference on Robotics and Automation.Detroit,Michigan:Robotics and Automation Society,1999:793-798.
  • 9Chmiel M,Hrynkiewicz E,Muszynski M.The way of ladder diagram analysis for small compact programmable controller[C]//the 6th Russian-Korean International Symposium on Science and Technology.Novosibirsk,Russia:IEEE Electron Devices Society,2002:169-173.
  • 10Suesut T,Inban P,Nilas P,et al.Interpretation petri net model to IEC61131-3:LD for programmable logic controller[C]//Proceedings of the IEEE Conference on Robotics,Automation and Mechatronics.Singapore:IEEE,2004:1107-1111.

共引文献42

同被引文献34

  • 1李慧强,程广河,王茂励,伊晓峰.基于ARM的编译型可编程序控制器系统研究[J].自动化与仪表,2009,24(10):42-44. 被引量:3
  • 2张礼兵,吴婷.基于软PLC编译系统目标代码生成的研究与实现[J].微计算机信息,2005,21(07S):85-86. 被引量:9
  • 3莫易敏,章德平,周哲.PLC梯形图转化为指令表算法及实现[J].控制工程,2006,13(6):573-576. 被引量:13
  • 4张卫丰,余岳辉.基于RTW的SVPWM DSP控制系统[J].电工技术学报,2007,22(3):102-106. 被引量:24
  • 5严蔚敏,吴伟民.数据结构[M].北京:清华大学出版社,2007.
  • 6Andrew W.Appel.软PLC技术研究与开发[D].成都:西华大学硕士论文,2007.
  • 7Andrew W.Appel.现代编译原理C语言描述[M].北京:人民邮电出版社,2006.
  • 8ALIA M A K , Using PLC for custom-design of a PID/PWM program to control a heater temperature [J]. American Journal of Applied Sciences, 2007,4 ( 5 ) : 307-316.
  • 9CHENWL, PIEN C H, FENG YP. Design of an FPGA- based Space Vector PWM Generator for Three-phase Volt- age-Sourced Inverters [ C ]//2ha IEEE International Confer- ence on Power and Energy( PECon 08) ,2008 : 584-588.
  • 10PONGIANNAN R K, YADAIAH N. FPGA based Space Vector PWM Control IC for Three Phase Induction Motor Drive[ C ]//IEEE International Conference on,2006: 2061- 2066.

引证文献5

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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