节点文献

基于Modbus/RTU协议转换器的监控器网络查询控制系统

Network Inquiry and Control System to Controlmonitors Based on Modbus/RTU Protocol Convertor

【作者】 赵威

【导师】 耿恒山;

【作者基本信息】 河北工业大学 , 模式识别与智能系统, 2007, 硕士

【摘要】 目前,现场总线技术在工业生产的控制系统设计中已得到了广泛的应用,智能终端和网络相结合的控制方式逐渐在取代传统的集散控制方式和计算机分层控制方式。现场总线技术是过程控制、自动化仪表、计算机网络三种技术的综合发展。然而,多种总线共存、通信协议互不兼容是一个普遍存在的问题。本文在研究现场总线通信协议——MODBUS协议——的基础上,针对天威集团远程监控项目中PC机与现场设备通信协议不同的问题,设计开发了一种基于ARM+uCLinux嵌入式平台的转协议服务器和基于Windows平台的远程查询端。本系统主要采用了嵌入式、SOCKET和多线程技术,成功实现了上下位机之间的数据交换。而且解决了RS485接口实际驱动设备的数量远小于理论值所造成的问题。本系统已经是一个完整的转协议远程监控系统,并且在实际项目中进行了测试,实验证明,此系统具有运行可靠、成本低的优点。最后,本文对用Web实现本系统的方式进行了较为深入地探讨。并提出了一种针对本项目特点的、使用C语言实现的Web Server方案。

【Abstract】 Field bus technology has been widely used in control system design of industrial manufacturing nowadays. The traditional mode of distributed control and computer layered control was gradually substituted by the mode of intelligent terminal and network control. This technology combined the development of process control, automation instrument and computer network technology. Howerver, the existing of multi-bus and incompatibilities in the communication protocol was a common problem.On the basis of the study fieldbus communication protocol——MODBUS protocol, aim at the remote monitoring project of the TianWei Group, whose communication protocol has differences between the PC and field devices, a communication protocol conversion processor based on ARM+uCLinux Embedded Platform and an Remote-inquiry terminal based on Windows platform were presented. Embedded system, SOCKET, multi-threading technology were used and data exchange freely between PC and field devices were realized. Futhermore, a problem that the the number of monitoring equipment one RS485 interface can drive in practice is much less than that in theory, can be resolved in this way. This system is a complete protocol-conversion remote monitoring system, and has been tested in the actual project. Practice has proved that this system is reliable and low-cost.At last, an in-depth discussion on the way of realizing the system by Web was given. And considering the characteristic of the project, a Web Sever scheme relized by C Language was proposed.

【关键词】 Modbus/RTU协议转换ARMuCLinux多线程
【Key words】 Modbus/RTUProtocol conversionARMUCLinuxMultithreading
  • 【分类号】TP277
  • 【被引频次】12
  • 【下载频次】267
节点文献中: