期刊文献+

基于uC/OS-II和lwIP设计Modbus服务器网关

Design of Modbus Server Gateway Based on uC/OS-II & lwIP
下载PDF
导出
摘要 通过Modbus RTU/ASCII协议和Modbus TCP协议的相互转换,实现以太网设备和串行设备间的无缝通信.网关设计采用模块化方法,lwIP数据的收发和Modbus协议的转换使用多进程并行工作的模式.通过建立多个缓冲区存储Modbus消息,有效地解决了消息收发速度和处理速度不匹配的问题,保证所有的消息都能得到处理,大大地提高了吞吐量. A Modbus server gateway is designed based on uC/OS-Ⅱ and lwIP. By the conversion of Modbus RTU/ASCII and Modbus TCP protocols, Modbus equipments over serial line and TCP/IP can communicate seamlessly and easily. Composed of several modules, the gateway creates multi-thread to deal with the receiving and sending of 1wIP and the switching between Modbus RTU/ASCII and Modbus TCP. It also sets up a number of buffers to store Modbus frames. This mechanism effectively solves the problem that network packet collecting speed does not match the processing speed, ensures that all the Modbus frame can be processed sooner or later, and increases the data throughput greatly.
出处 《河海大学常州分校学报》 2007年第4期91-94,113,共5页 Journal of Hohai University Changzhou
关键词 Modbus服务器网关 MODBUS TCP MODBUS ASCII/RTU uC/OS—Ⅱ 1wIP modbus server gateway modbus TCP modbus ASCII/RTU uC/OS-Ⅱ 1wIP
  • 相关文献

参考文献6

  • 1Modbus Organization. Modbus message on TCP/ IP implementation guide[EB/OL]. (2002-06-08)[2007-04-02]. http: //www.modbus.org. 被引量:1
  • 2DS271F3. CS8900A Product data sheet[EB/OL]. (2004-09) [2007-04-02]. http://www.cirrus.com/.Cirrus Logic Inc. 被引量:1
  • 3Labrosse J J.嵌入式实时操作系统uC/OS-Ⅱ[M].2版.邵贝贝,译.北京:北京航空航天大学出版社社,2003:40-153. 被引量:5
  • 4STEVENSWR.TCP/IP详解卷1:协议[M].北京:机械工业出版社,2000.. 被引量:10
  • 5陈渝等编著..源码开放的嵌入式系统软件分析与实践 基于SkyEye和ARM开发平台[M].北京:北京航空航天大学出版社,2004:515.
  • 6Dunkels A. Design and implementation of the lwIP TCP / IP stack [EB / OL].(2001-01-20) [ 2007-04-03 ]. http ://www.sics. se / -adam / lwip / doc / lwip.pdf. 被引量:1

共引文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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