Parser of industrial Ethernet EtherCAT based on XML
-
摘要: 重点研究了基于可扩展标记语言(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.
-
Key words:
- XML(extensible markup language) /
- industrial Ethernet /
- EtherCAT /
- parser
-
[1] Gong Zhiyuan,Liu Bin,Yang Shunkun,et al.Analysis of industrial ethernet-s reliability and realtime performance //The Proceedings of 2009 8th International Conference on Reliability,Maintainability and Safety.Piscataway,NJ:Institute of Electrical and Electronics Engineers Inc,2009:1133-1136 [2] EtherCAT Technology Group (ETG).EtherCAT:The Ethernet fieldbus[J].PC Control,2005,7:14-19 [3] 郇极,肖文磊,刘艳强.工业以太网EtherCAT冗余和热插拔技术[J].北京航空航天大学学报,2009,2:158-161 Huan Ji,Xiao Wenlei,Liu Yanqiang.Redundancy and hot swap technology in industry Ethernet EtherCAT[J].Journal of Beijing University of Aeronautics and Astronautics,2009,2:158-161(in Chinese) [4] 郇极,刘艳强.工业以太网现场总线EtherCAT驱动程序设计及应用[M].北京:北京航空航天大学出版社,2010:5-10 Huan Ji,Liu Yanqiang.Driver design and application of industrial Ethernet fieldbus EtherCAT [M].Beijing:Beijing University of Aeronautics and Astronautics Press,2005:5-10(in Chinese) [5] Qadeer M A,Zahid M,Iqbal A,et al.Network traffic analysis and intrusion detection using packet sniffer //2nd International Conference on Communication Software and Networks,ICCSN 2010.Piscataway,NJ:IEEE Computer Society,2009:313-317 [6] Chafer I,Felser M.Precision of ethernet measurements based on software tools //The Proceedings of 12th IEEE Conference on Emerging Technologies and Factory Automation,2007 ETFA Programe.Piscataway,NJ:IEEE,2007:510-515 [7] Bansiya J,Davis C G.A hierarchical model for object-oriented design quality assessment [J].IEEE Transactions on Software Engineering,2002,28(1):4-17
点击查看大图
计量
- 文章访问数: 3917
- HTML全文浏览量: 243
- PDF下载量: 682
- 被引次数: 0