期刊文献+

通用串口到Modbus RTU的协议转换器设计与实现 被引量:10

Design and Implementation of Protocol Converter Between General Serial Port and Modbus RTU
在线阅读 下载PDF
导出
摘要 为了实现RS-232/485通用串口设备接入Modbus总线,设计了一种通用串口到Modbus RTU的协议转换器,以IAP12C5A60S2单片机为主控制器;介绍了硬件结构和电路实现方法,结合Modbus RTU协议规范提出了软件设计思想,分析协议转换关键问题并给出了解决办法;最后,采用串口调试工具STC-ISP和RCP-972仪表对协议转换器进行测试和分析,结果表明主设备发出命令帧后100 ms内收到协议转换器回传的数据帧,协议转换器能够正确实现协议转换和报文转发功能。 In order to realize equipment with RS--232/485 general serial port accessing to Modbus bus, this paper designed a protocol converter between general serial port and Modbus RTU, which used single chip microcomputer IAP12C5A60S2 as CPU. First, introduced hardware structure and implementation method of circuit. Referenced to Modbus RTU protocol specifications, presented software design ide- as. Then, analyzed the key problems of protocol conversion and presented solutions. At last, tested and analyzed protocol converter by using serial port debug tool STC--ISP and instrument RCP--972. Test results indicate that data frame of protocol converter will return to main e- quipment in 100ms after command frame is sent out, and protocol converter can realize function of protocol conversion and message retrans- mission properly.
出处 《计算机测量与控制》 北大核心 2014年第2期604-606,共3页 Computer Measurement &Control
基金 国家自然科学基金项目(61063010) 云南省教育厅科学研究基金项目(2013Y364 2011Y123)
关键词 通用串口 MODBUS RTU 协议转换 单片机 双串口 general serial port Modbus RTU protocol conversion single chip microcomputer double serial port
  • 相关文献

参考文献8

二级参考文献23

共引文献102

同被引文献53

  • 1卞鸿巍,金志华,田蔚风.基于Pcomm组合导航系统高效串行通讯技术实现[J].系统工程与电子技术,2005,27(1):66-68. 被引量:3
  • 2李喜东,刘波涛,刘刚.Modbus RTU串行通讯协议在工业现场的应用[J].自动化技术与应用,2005,24(7):37-40. 被引量:71
  • 3文林,熊智,曾庆化,刘建业.通用导航串口数据接收协议的研究与应用[J].航空计算技术,2005,35(3):89-91. 被引量:3
  • 4Comer D E.计算机网络与互联网[M].徐良贤译.北京:电子工业出版社,1998.
  • 5HSI BS 6387(1994),Specification for performance requirements forcables required to maintain circuit integrity under fire conditions[S].’.
  • 6GA 306 — 2007,阻燃及耐火电缆塑料绝缘阻燃及耐火电缆分级和要求第2部分:耐火电缆[S].
  • 7霍良.变电站电气试验车通过技术鉴定[J].中国铁路,1993,2:36.
  • 8Modhus- IDA. Modbus Measuring on TCP/IP Implementation Guide V1. 0b [EB/OL]. http: //www. modbus, org. org. Oc- tober 24, 2006.
  • 9申普兵,行明顺,王兆祥,等.汁算机网络与通信[M].北京:人民邮电出版社,2006.
  • 10Modbus-IDA.Modbus Measuring on TCP/IP Implementation Guide V1.0b[OB/OL].http://www.modbus.org.org.October 24,2006.

引证文献10

二级引证文献38

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部