武汉科技大学学报(自然科学版)
武漢科技大學學報(自然科學版)
무한과기대학학보(자연과학판)
JOURNAL OF WUHAN UNIVERSITY OF SCIENCE AND TECHNOLOGY(NATURAL SCIENCE EDITION)
2014年
1期
70-74
,共5页
王吉停%张得礼%周来水
王吉停%張得禮%週來水
왕길정%장득례%주래수
迷宫算法%梯形图%AOV图
迷宮算法%梯形圖%AOV圖
미궁산법%제형도%AOV도
maze algorithm%ladder diagram%AOV graph
PLC梯形图语言向AOV图的转换过程中,各顶点的直接前驱元件和直接后继元件的确定最为关键也最为复杂。利用迷宫算法思想来实现AOV图顶点的直接前驱和直接后继顶点扫描。首先从AOV图顶点集合中选出一个元件,并判断顶点的类型,然后利用迷宫算法思想对各种类型顶点进行相应的扫描处理。实例表明,此策略能快速准确地实现梯形图向AOV图的转换;算法直观易懂,实用性及通用性良好。
PLC梯形圖語言嚮AOV圖的轉換過程中,各頂點的直接前驅元件和直接後繼元件的確定最為關鍵也最為複雜。利用迷宮算法思想來實現AOV圖頂點的直接前驅和直接後繼頂點掃描。首先從AOV圖頂點集閤中選齣一箇元件,併判斷頂點的類型,然後利用迷宮算法思想對各種類型頂點進行相應的掃描處理。實例錶明,此策略能快速準確地實現梯形圖嚮AOV圖的轉換;算法直觀易懂,實用性及通用性良好。
PLC제형도어언향AOV도적전환과정중,각정점적직접전구원건화직접후계원건적학정최위관건야최위복잡。이용미궁산법사상래실현AOV도정점적직접전구화직접후계정점소묘。수선종AOV도정점집합중선출일개원건,병판단정점적류형,연후이용미궁산법사상대각충류형정점진행상응적소묘처리。실례표명,차책략능쾌속준학지실현제형도향AOV도적전환;산법직관역동,실용성급통용성량호。
During the process of transforming PLC ladder diagram language to AOV graph ,scanning of direct predecessor and successor information of each vertex is the most important and complicated . This paper reports the use of maze algorithm to achieve the scanning .First ,an element from the set of AOV graph vertexes is selected and the type of vertex is identified .Then vertexes of each type are scanned with maze algorithm .Practical examples show that in this way the ladder diagram can be transformed into AOV graph quickly and accurately . The algorithm is simple and straightforward with good practicability and universality .