基于深度遍历的S7-300系列可编程控制器梯形图程序自动生成算法研究  

Research On Ladder Program Auto-Producing Alogorithm of S7-300 Series PLC Based on Depth-First Traversal

在线阅读下载全文

作  者:袁佳溢[1] 路林吉[1] 

机构地区:[1]上海交通大学自动化系

出  处:《微型电脑应用》2013年第1期28-30,共3页Microcomputer Applications

摘  要:提出基于西门子S7-300系列PLC的梯形图程序自动生成软件作为一种替代工程设计人员手写PLC梯形图代码的解决方案。编程人员根据规则给出系统的流程图和硬件的地址表并输入到该软件,梯形图就能自动生成。在这个转换的过程中,用树形的数据结构来表示流程图中各个模块之间的逻辑关系,并对其进行深度遍历以表达该逻辑关系。根据该逻辑关系,并将模块的内容转化成对应的PLC符号,即可生成对应的梯形图。A kind of Ladder program auto-producing software based on Siemens S7-300 series PLC is introduced in this article as a solution to replace manually writing ladder code.That means ladder program can be produced according to system flow chart and hardware I/O address list inputted by programmer based on programming rule.During transferring that information into ladder pro-gram,logical relation between ladder program modules is described in tree structure and sorted by depth-first traversal.According to the logical relation,ladder program can be produced after replacing flow chart modules with ladder program symbols.

关 键 词:梯形图自动生成 流程图 树形结构 深度遍历 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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