PLC源程序编码方法与解释执行算法设计  被引量:3

Design of PLC source coding and interpretation algorithm

在线阅读下载全文

作  者:卓保特[1,2] 栾勇[2,3] 刘伟[2,3] 刘占清[2,3] 

机构地区:[1]中国科学院研究生院,北京100049 [2]中国科学院沈阳计算技术研究所,沈阳110168 [3]沈阳高精数控技术有限公司,沈阳110168

出  处:《计算机工程与应用》2012年第14期68-73,共6页Computer Engineering and Applications

基  金:国家科技重大专项课题(No.2009ZX04009-013);国家重点基础研究发展规划(973)(No.2011CB302400)

摘  要:传统PLC源程序的编译方法,虽然执行速度快,占用资源少,但可移植性差不够灵活;传统PLC源程序的解释方法虽然灵活性好,但执行速度慢且占用存储空间大。为了兼顾存储空间、执行速度和可移植性,给出了一种PLC源程序的编码方法,减少了存储空间,简化了解释执行算法,并在表达式求值算法和传统PLC解释执行算法的基础之上,充分利用逻辑运算的性质,提出了改进的PLC解释执行算法,大大减少了逻辑运算的步数,提高了PLC系统运行的速度。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.

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

分 类 号:TP399[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象