首页 | 本学科首页   官方微博 | 高级检索  
     

PLC源程序编码方法与解释执行算法设计
引用本文:卓保特,栾勇,刘伟,刘占清.PLC源程序编码方法与解释执行算法设计[J].计算机工程与应用,2012,48(14):68-73.
作者姓名:卓保特  栾勇  刘伟  刘占清
作者单位:1. 中国科学院研究生院,北京100049;中国科学院沈阳计算技术研究所,沈阳110168
2. 中国科学院沈阳计算技术研究所,沈阳110168;沈阳高精数控技术有限公司,沈阳110168
基金项目:国家科技重大专项课题(No.2009ZX04009-013);国家重点基础研究发展规划(973)(No.2011CB302400)
摘    要:传统PLC源程序的编译方法,虽然执行速度快,占用资源少,但可移植性差不够灵活;传统PLC源程序的解释方法虽然灵活性好,但执行速度慢且占用存储空间大。为了兼顾存储空间、执行速度和可移植性,给出了一种PLC源程序的编码方法,减少了存储空间,简化了解释执行算法,并在表达式求值算法和传统PLC解释执行算法的基础之上,充分利用逻辑运算的性质,提出了改进的PLC解释执行算法,大大减少了逻辑运算的步数,提高了PLC系统运行的速度。

关 键 词:可编程控制器  SIPROM  编码  逻辑运算  解释算法

Design of PLC source coding and interpretation algorithm
ZHUO Baote , LUAN Yong , LIU Wei , LIU Zhanqing.Design of PLC source coding and interpretation algorithm[J].Computer Engineering and Applications,2012,48(14):68-73.
Authors:ZHUO Baote  LUAN Yong  LIU Wei  LIU Zhanqing
Affiliation:2,3 1.Graduate University,Chinese Academy of Sciences,Beijing 100049,China 2.Shenyang Institute of Computing Technology,Chinese Academy of Sciences,Shenyang 110168,China 3.Shenyang Golding NC Tech.Co.,Ltd.,Shenyang 110168,China
Abstract:Traditional PLC source program compilation methods,although fast,small footprint,but are not flexible enough and poor portability;traditional interpretation methods of PLC source program have good flexibility,but the execution is slow and it takes up storage space.In order to take into account the storage space,execution speed and portability,it gives a PLC source coding method to reduce the storage space,simplify the interpretation algorithm,based on the expression evaluation and the traditional PLC source interpretation algorithm,to take full advantage of the nature of logic operation,it proposes an improved PLC source interpretation algorithm,greatly reducing the number of logical steps,and improves the speed of the PLC system operation.
Keywords:programmable logic controllers  SIPROM  coding  logical operation  interpretation algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号