北京航空航天大学学报 ›› 2011, Vol. 37 ›› Issue (9): 1086-1090.

• 论文 • 上一篇    下一篇

基于XML的EtherCAT工业以太网协议解析技术

刘喆, 郇极, 刘艳强   

  1. 北京航空航天大学 机械工程及自动化学院, 北京 100191
  • 收稿日期:2010-04-28 出版日期:2011-09-30 发布日期:2011-10-03
  • 作者简介:刘 喆(1985-),男,河南郑州人,博士生,liuzhe_buaa@163.com.

Parser of industrial Ethernet EtherCAT based on XML

Liu Zhe, Huan Ji, Liu Yanqiang   

  1. School of Mechanical Engineering and Automation, Beijing University of Aeronautics and Astronautics, Beijing 100191, China
  • Received:2010-04-28 Online:2011-09-30 Published:2011-10-03

摘要: 重点研究了基于可扩展标记语言(XML,eXtensible Markup Language)的EtherCAT工业以太网协议解析器技术和实现方法.介绍了EtherCAT协议报文格式和特点,分析了以太网数据侦听器和协议解析器的结构,针对通用以太网解析器在工业以太网领域应用的局限性,提出使用XML语言描述协议报文的方法,在此基础上开发出一种开放式、可重构的EtherCAT协议解析器.实验结果表明基于XML的协议报文描述方法及解析器能够有效地描述和解析EtherCAT协议报文,使用者可以根据解析对象格式使用XML语言自定义、修改和扩展协议解析规则,获得清晰、直观的解析结果.

Abstract: The technology and realization method of industrial Ethernet EtherCAT parser based on extensible markup language(XML) were studied. The format of EtherCAT datagram was introduced. The structure of Ethernet probe and parser was analyzed. A method of protocol datagram description based on XML was proposed to deal with the problem that common Ethernet parsers are limitative in the applications of industrial Ethernet. Then an open and reconfigurable industrial Ethernet parser was designed. Performance test of the method of protocol datagram description and open parser was carried out. The implementation shows that the method of protocol datagram description based on XML can describe EtherCAT datagram clearly, and the open industrial Ethernet parser can parser EtherCAT datas. Users can define, modify and extend parsing rules according to the protocol object format, and obtain clear display of the protocol telegram.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发