首页 | 官方网站   微博 | 高级检索  
     

PLC梯形图向结构文本转换的算法及实现
引用本文:黄柳文,刘伟,刘占清.PLC梯形图向结构文本转换的算法及实现[J].小型微型计算机系统,2011,32(2).
作者姓名:黄柳文  刘伟  刘占清
作者单位:1. 中国科学院,研究生院,北京,100039;中国科学院,沈阳计算技术研究所,辽宁,沈阳,110171
2. 中国科学院,沈阳计算技术研究所,辽宁,沈阳,110171
基金项目:国家科技支撑计划课题项目(2007BAP20B01)资助
摘    要:通过分析IEC61131-3标准规定的PLC梯形图语言及结构文本语言,提出对梯形图不同图元分类处理实现梯形图向结构文本转换的算法.该算法引入了虚节点,通过对虚节点的合并建立AOV图,按AOV图拓扑排序的顺序对不同类型节点分类处理,实现梯形图向结构文本的转换,并给出转换实例.该算法具有通用性,能转换任何复杂逻辑梯形图,已成功应用到高档数控国家工程研究中心的蓝天系列数控系统.

关 键 词:梯形图  结构文本  IEC61131-3  AOV图  

Algorithm and Realization of Transformation from PLC Ladder Diagram to Structured Text
HUANG Liu-wen,LIU Wei,LIU Zhan-qing.Algorithm and Realization of Transformation from PLC Ladder Diagram to Structured Text[J].Mini-micro Systems,2011,32(2).
Authors:HUANG Liu-wen  LIU Wei  LIU Zhan-qing
Affiliation:HUANG Liu-wen1,2,LIU Wei2,LIU Zhan-qing21(Graduate University of Chinese Academy of Sciences,Beijing 100039,China) 2(National Engineering Research Center for High-End CNC,Shenyang 110171,China)
Abstract: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 61131-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 ...
Keywords:ladder diagram  structured text  IEC 61131-3  AOV diagraph  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号