论文部分内容阅读
重点研究了基于可扩展标记语言(XMLe,Xtensible Markup Language)的Eth-erCAT工业以太网协议解析器技术和实现方法.介绍了EtherCAT协议报文格式和特点,分析了以太网数据侦听器和协议解析器的结构,针对通用以太网解析器在工业以太网领域应用的局限性,提出使用XML语言描述协议报文的方法,在此基础上开发出一种开放式、可重构的EtherCAT协议解析器.实验结果表明基于XML的协议报文描述方法及解析器能够有效地描述和解析EtherCAT协议报文,使用者可以根据解析对象格式使用XML语言自定义、修改和扩展协议解析规则,获得清晰、直观的解析结果.
The paper focuses on the Eth-erCAT IE protocol parser based on XMLe (Xtensible Markup Language) and its implementation method.It introduces the format and characteristics of EtherCAT protocol message, analyzes the Ethernet data listener and protocol In order to overcome the limitation of Ethernet parser in the field of industrial Ethernet, this paper proposes a method to describe protocol message using XML language. Based on this, an open and reconfigurable EtherCAT protocol analysis The experimental results show that the method and parser of protocol message based on XML can describe and parse the EtherCAT protocol message effectively, and the user can customize, modify and extend the protocol parsing rules by XML language according to the format of parsing object to obtain clear, Intuitive analytical results.