摘要
在工业智能化过程中,现场总线设备之间需要信息交换,但种类繁多的总线通信协议造成了不同设备之间无法进行正确的信息交换。为解决这个问题,首先深入研究了MEWTOCOL-COM和MODBUS RTU(Remote Terminal Unit)两种现场总线协议通信的原理及其运行机制,分析了创建命令、地址和数据映射关系的方法,实现了两者协议间的快速命令、地址和数据的映射,设计了基于FPGA的硬件电路协议转换方案,搭建了实验平台进行MEWTOCOL-COM协议与MODBUS RTU协议之间的转换测试。实验结果表明,该种方法实现了两种网络协议间的转换,从而完成了MEWTOCOL-COM标准设备与MODBUS RTU标准设备的数据互通,且两种协议转换后的通信时延为微秒级。
The information is needed to exchange between fieldbus devices in industrial artificial intelligence.However,it is difficult to exchange data and information between equipments for various fieldbus communications protocol.In this paper,the principle and mechanism of MEWTOCOL-COM and MODBUS RTU(Remote Terminal Unit)were discussed.The quick commands,address and data were mapped between the two communications protocol.Moreover,a protocol conversion programme was designed based on FPGA.The platform was built up by hardware and software for exchange experiments between devices based on MEWTOCOL-COM and MODBUS RTU communications protocol.The experiments results showed that communications could be realized between the devices based on MEWTOCOL-COM and MODBUS RTU communications protocol,the transform between two protocol was implemented,and the communication time delay was completed within milliseconds.
作者
陈虎
陈倩
Chen Hu;Chen Qian(College of Electronical and Information Engineering,Chengdu Aeronautic Polytechnic,Chengdu 610100,China;College of Electronics and Information Engineering,Sichuan University,Chengdu 610064,China)
出处
《电子技术应用》
2019年第11期112-116,共5页
Application of Electronic Technique