基于PLC梯形图图元状态的实时监控算法及实现  

Algorithm and Implementation of Real-time Monitoring Based on the State of Ladder Diagram Elements

在线阅读下载全文

作  者:王珍珠[1,2,3] 刘伟[2,3] 刘占清[2,3] 

机构地区:[1]中国科学院研究生院,北京100039 [2]中国科学院沈阳计算技术研究所,沈阳110168 [3]沈阳高精数控技术有限公司,沈阳110168

出  处:《组合机床与自动化加工技术》2011年第3期36-40,共5页Modular Machine Tool & Automatic Manufacturing Technique

基  金:国家科技重大专项(2009ZX04009-013)

摘  要:针对数控系统中的PLC,提出了一种根据PLC梯形图中各图元状态的变化实时监控的算法。该算法先依据PLC各图元扫描值(0或1)设置梯形图中各图元的状态(黄或绿),再根据各图元的状态来设置横线和竖线的状态,从而显示各条通路的状态(全绿为通否则不通)。用户在监控模式下可直观地看到PLC逻辑状态的变化,达到实时监控的目的。通过模拟验证,该算法已成功运用在高档数控国家工程研究中心的蓝天系列数控系统中。This paper proposes a algorithm of implementing real-time monitoring according changes of each node state in the Ladder Diagram based the PLC of numerical control system.Firstly,the algorithm sets the state(yellow or green) of each node of the Ladder Diagram according the scanning value(0 or 1) of each node on PLC.Secondly,the algorithm sets the state of horizontal and vertical line according each node state,then the state of the pathway is showing(all green stands for pass,otherwise no pass).Users can directly watch the logic state changes of PLC to achieve the purpose of real-time monitoring in the Monitor Mode.After simulation validation,the algorithm successfully runs in the Lan Tian series numerical control system of National Engineering Research Center for High-End CNC.

关 键 词:PLC 梯形图 实时监控 监控模式 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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