梯形图转语句表的等效网络合并方法研究  被引量:1

Research on equivalent network merging method for LAD conversion to STL

在线阅读下载全文

作  者:廖义奎[1] 李智[2] 李为民[1] 韦卫星[1] 陈钧[1] 

机构地区:[1]广西民族大学物理与电子工程学院,南宁530006 [2]桂林电子科技大学电子工程学院,广西桂林541004

出  处:《计算机工程与应用》2011年第18期64-67,共4页Computer Engineering and Applications

基  金:广西教育厅科研项目(No.200322);广西民族大学重大项目(No.0409013)~~

摘  要:目前常用梯形图转语句表方法有拓扑排序、二叉树、广义表、串并联归并等,但在梯形图编辑软件中难于直接同图形编辑的描述对应起来,编程难度也较大。为解决这些问题,提出了一种等效网络合并方法,采用一个矩阵和相关的PLC梯形图符号来描述一个梯形图,并用一种类似于电阻网络的合并算法来实现梯形图的合并,变成一个最简化的合并图,然后再从该合并图生成语句表。该方法在编辑软件中梯形图的描述与转语句表运算采用完全相同的数据结构,并可从编辑软件中动态绘制梯形的合并过程,具有直观、易于理解、易于编程等优点。Currently used LAdder Diagram(LAD) conversion to Step Ladder Instruction(STL) methods are topological sort, binary tree,generalized form,series and parallel merging and so on.But it is difficult to directly correspond together with the description and the graphics editing in the LAD editing software.The programming for the method is very difficult.To solve the above problems,this paper proposes a merger of equivalent network method.The method uses a matrix and PLC LAD related symbols to describe a LAD,and with a look like the resistor network merging method to implement the merger of LAD.It becomes one of the most simplified merge map,then generates STL from the merge diagram.The method has the advantage in the editing software that is LAD description and conversion to STL operation using the same data structure,and editing software from dynamic rendering trapezoidal integration process.The operation has advantages of intuitive,easy to understand,easy to program and so on.

关 键 词:嵌入式PLC 梯形图 语句表 等效网络合并方法 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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