基于.NET的PLC程序与XML文件的转换 |
| |
引用本文: | 马远佳,秦付军.基于.NET的PLC程序与XML文件的转换[J].中国仪器仪表,2008(3):54-57. |
| |
作者姓名: | 马远佳 秦付军 |
| |
作者单位: | 西华大学机械工程与自动化学院,成都,610039 |
| |
摘 要: | 介绍XML文件的特点、优势和语法结构,分析PLC梯形图的数据结构,提出采用XML作为梯形图编程的标准数据。详细阐明了PLC程序与XML文件之间转换的实现思路,给出了基于.NET的具体的转换算法。通过实例实现了PLC梯形图文件与XML文件之间的转换。
|
关 键 词: | 可编程控制器 可扩展标识语言 梯形图 二叉树 程序 文件 转换算法 Based File Program 标准数据 梯形图编程 数据结构 分析 语法结构 优势 |
The Transition Between PLC Program and XML File Based on .NET |
| |
Abstract: | Introduced the trait, advantage and phrasing structure of the XML file, and analyzed the data structure of PLC ladder diagram, put forward using XML as the standard data of the ladder diagram language. The realization idea of transition between PLC program and XML file are described in detail, and given out the transition arithmetic based on .NET. At last, finished the transition between ladder diagram and XML file through a practical example. |
| |
Keywords: | PLC XML Ladder diagram Binary tree |
本文献已被 CNKI 维普 万方数据 等数据库收录! |
|