计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (29): 81-84.

• 网络、通信、安全 • 上一篇    下一篇

ZigBee无线网关在MODBUS通信中的应用

邢伟伟,白瑞林,孟 伟   

  1. 江南大学 轻工过程先进控制教育部重点实验室,智能控制研究所,江苏 无锡 214122
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-10-11 发布日期:2011-10-11

Application of ZigBee wireless gateway in MODBUS communication

XING Weiwei,BAI Ruilin,MENG Wei   

  1. Key Lab of Advanced Process Control for Light Industry(MoE),Institute of Intelligent Control,Jiangnan University,Wuxi,Jiangsu 214122,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-10-11 Published:2011-10-11

摘要: 为了解决工业现场设备通信电缆不利于组装和维护,提出了利用ZigBee网关将所有设备组成无线网络实现无线通信。利用ZigBee协议栈应用层完成协议数据转换,基于地址映射表完成MODBUS站号和无线网络地址的匹配,实现MODBUS和无线网络的网关功能,完成数据透明传输。实际测试表明,无线模块的发射功率、接受灵敏度、通信距离、误包率、速度满足工业应用的实时性安全性要求,改进网络性能比传统网络大大提升,已应用于实际PLC通信和参数配置中,可代替传统通信方式。

关键词: 无线网关, 地址映射, 工业总线

Abstract: In order to solve the communication cable in the industrial site equipment against assembly and maintenance,ZigBee gateway is used to assemble all equipment into a wireless network to realize wireless communications.The protocol data is transferred by the application layer of ZigBee protocol stack.Based on address mapping table the match is completed between MODBUS station number and wireless network address.Gateway functions are realized among MODBUS and wireless network.Data transparent transmission is completed.The actual test is made to prove that the transmitted power,accept sensitivity,communication distance,mistaken package rate,speed of wireless module meet industrial application of real-time security demands.The improved network performance compared to traditional network greatly ascends.The gateway has been applied in practical PLC communication and parameter configuration,and can replace the traditional way to communicate.

Key words: wireless gateway, address mapping, industrial bus