PLC语句表编程中堆栈方法研究  

The Research of Stack in PLC STL Programming

在线阅读下载全文

作  者:单启兵[1] 孔敏[2] 

机构地区:[1]安徽水利水电职业技术学院机电系,安徽合肥231603 [2]皖西学院机电学院,安徽六安237012

出  处:《宿州学院学报》2012年第5期16-18,共3页Journal of Suzhou University

基  金:安徽省自然科学基金资助项目"基于图理论的人工情感建模方法研究及其应用"(090412261x);安徽省教育厅自然科学研究重大项目"融合语义信息的结构化视频分析"(KJ2011ZD10)

摘  要:首先介绍了西门子S7-200PLC堆栈及相关的指令在语句表编程中的应用,然后研究了复杂的控制流程转化为语句表的方法与步骤。该方法关键是要分析整个控制流程中的块及块的串并联结构,使用LPS指令保护中间结果并弹出堆栈,下一级即之前保存的结果自动升顶。研究结果表明,该方法对于正确地编写语句表程序有一定的实际应用意义。The research of interconversion between complex control flow and instruction list becomes a key technique in PLC development. In this paper, we first introduce the stack and its instructions of SIEMENS S7-200 PLC STL in the sentence list programming,and then,we design methods and steps which could transform the complex control flow to the sentence list. The key is to analyze the block of the control flow and its series-parallel connection,to pop up the stack and to protect using LPS instructions,the results of the preservation before (i. e. the next level) the automatic promotion. Research results show that our proposed method has significant application meanings in sentence list programming.

关 键 词:PLC 堆栈 梯形图 语句表 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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