PLC梯形图向语句表的转换算法及实现  被引量:1

Algorithm and realization transformation from PLC ladder diagram to instruction list

在线阅读下载全文

作  者:孙玉霞[1] 李国屏[1] 夏端峰[1] 

机构地区:[1]湖北师范学院计算机科学与技术学院,湖北黄石435002

出  处:《湖北师范学院学报(自然科学版)》2012年第1期5-9,共5页Journal of Hubei Normal University(Natural Science)

基  金:湖北师范学院青年项目(2010C27)

摘  要:基于块生长观念提出了一种全新的将梯形图转化为语句表的转换算法。该转换算法以梯级为单位,采取"自左而右,自上而下"的扫描顺序,通过竖线标志来确定元件间的串并联关系,借助存放块(依据元件间的串并联关系不断生长的块)的栈来定位下次扫描的元件对象。该算法不仅能清晰地表达出梯形图各元件的逻辑关系,语句表转换过程准确快速,还能成功的实现梯级中包含多分支输出的复杂梯形图到语句表的转换。A new transformation algorithm which transformers the ladder diagram to PLC instruction list based on block-growth is prompted.This algorithm uses ladder step as the unit,scans the serial/parallel relationship among the components according to the sequence of "left-right" and "top-down",and locates the next component using stack.The data elements block in the stack grows according to the serial relationship between the components during the traverse.This algorithm can clearly express the logic relationship between the components in the ladder diagram,accurately and quickly translate the diagram into the instructions,and accomplish to translate the complex ladder diagram which includes multi-branch into the instruction list.

关 键 词:可编程控制器(PLC) 梯形图 指令表 块生长 

分 类 号:G250[文化科学—图书馆学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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