PLC梯形图向结构文本转换的算法及实现  被引量:4

Algorithm and Realization of Transformation from PLC Ladder Diagram to Structured Text

在线阅读下载全文

作  者:黄柳文[1,2] 刘伟[2] 刘占清[2] 

机构地区:[1]中国科学院研究生院,北京100039 [2]中国科学院沈阳计算技术研究所,辽宁沈阳110171

出  处:《小型微型计算机系统》2011年第2期339-341,共3页Journal of Chinese Computer Systems

基  金:国家科技支撑计划课题项目(2007BAP20B01)资助

摘  要:通过分析IEC61131-3标准规定的PLC梯形图语言及结构文本语言,提出对梯形图不同图元分类处理实现梯形图向结构文本转换的算法.该算法引入了虚节点,通过对虚节点的合并建立AOV图,按AOV图拓扑排序的顺序对不同类型节点分类处理,实现梯形图向结构文本的转换,并给出转换实例.该算法具有通用性,能转换任何复杂逻辑梯形图,已成功应用到高档数控国家工程研究中心的蓝天系列数控系统.An algorithm of transformation from PLC ladder Diagram (LD ) to structured text (ST) based on treating LD components separately in accordance with their type after Analysis of the IEC 6 1131-3 standard about PLC LD and ST. In this algorithm, virtual node is introduced. Virtual nodes are combined to establish activity on vertex ( AOV) diagraph. Nodes are treated according to their type and the topological sorting of the AOV diagraph, then the transformation from LD to ST is achieved. The rules of treating the nodes and a transformation are present. The algorithm is a general transformation algorithm for transformation any complex LD to ST. It is applied to Lantian series numerical control system successfully in National Engineering Research Center for High-End CNC.

关 键 词:梯形图 结构文本 IEC 61131—3 AOV图 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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