期刊文献+

基于Modbus-RTU协议的串口通信软件实现 被引量:12

Implementation of serial communication software based on Modbus-RTU protocol
下载PDF
导出
摘要 研究MODBUS协议的RTU传输模式,设计RTU模式的信息帧格式;以PC机作为主机,采用VB中的MScomm控件实现MODBUS协议通信的串口通信软件;以C8051F340作为从机,采用中断方式实现串口数据的接收和发送.经过和C8051F340的多次运行测试,主-从通信过程稳定性好,RTU信息数据传输可靠,很好的实现了MODBUS协议的主从式通信. The RTU transmission mode of Modbus protocol was studied, and the information frame format of RTU mode was designed. The serial port data was received and sent by interrupt mode by using MSComm control in VB to realize the serial communication soft-ware of Modbus protocol with PC as the host and with C8051F340 as the slave. After the multiple running tests with C8051F340 , themaster-slave communication process is stable, and the RTU information data transmission is reliable, indicatcommunication of the Modbus protocol was well implemented.
出处 《内蒙古科技大学学报》 CAS 2017年第4期372-376,共5页 Journal of Inner Mongolia University of Science and Technology
关键词 MODBUS协议 RTU模式 功能码 CRC 串口通信 Modbus protocol RTU mode Function Code CRC Serial communication
  • 相关文献

参考文献1

二级参考文献4

共引文献13

同被引文献65

引证文献12

二级引证文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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