摘要
介绍XML文件的特点、优势和语法结构,分析PLC梯形图的数据结构,提出采用XML作为梯形图编程的标准数据。详细阐明了PLC程序与XML文件之间转换的实现思路,给出了基于.NET的具体的转换算法。通过实例实现了PLC梯形图文件与XML文件之间的转换。
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.
出处
《中国仪器仪表》
2008年第3期54-57,共4页
China Instrumentation