modbus通信协议在tcp ip上的实现本科毕业设计.docVIP

  • 4
  • 0
  • 约2.16万字
  • 约 33页
  • 2017-02-05 发布于辽宁
  • 举报

modbus通信协议在tcp ip上的实现本科毕业设计.doc

MODBUS通信协议在TCP/IP上的实现 摘要: 伴随着批评家的鄙夷和使用者的称赞, TCP 的确已不再是新生事物。更何况对于自 1979 年就开始使用的 协议,为其增加基于以太网 TCP/IP 的传输技术是绝对由必要的。协议本身的 服务和对象模式在TCP 中都没有改变,并简单地采用 TCP/IP 作为数据传输协议。这使得拥有了一系列协议,目前包括传统的 -RTU 、 -Plus 和 -TCP 。所有这些协议都使用相同的应用层协议-规定了统一的用户数据和通讯服务。分析/TCP协议构成,通过采用套接字与多线程技术,设计出基于 /TCP协议的工业以太网通信网络,分析出客户端/服务器的通信模式的主要特性,并给出其具体实现过程所构建的基于 /TCP与的工业以太网可实现工业现场数据采集、处理及通信等功能,为工业自动化领域的实时网络化通信提供了一种有效的解决方案。 关键词:MODBUS/TCP 、以太网 、 套接字、 工业 、 TCP/IP MODBUS protocol implementate in the TCP/IP Abstract: With the contempt of critics and users praise, MODBUS / TCP is indeed no longer a novelty. Moreover, since 1979 began to use the MODBUS protocol, for increase in Ethernet-based TCP / IP transmission technology is absolutely the necessary. MODBUS protocol itself and the object model service MODBUS / TCP were not changed, and simply use TCP / IP as a data transfer protocol. This makes the MODBUS have a series of agreements, currently including traditional MODBUS-RTU, MODBUS-Plus and MODBUS-TCP. All these protocols use the same application layer protocol - provides a unified user data and communication services. Analysis of MODBUS / TCP protocol composition, through the use of socket and multi-threading technology, designed based on MODBUS / TCP protocol Ethernet communications network, analyze the client / server model of the main characteristics of the communication, and gives specific implementation process. Constructed based on MODBUS / TCP and MODBUS industrial Ethernet can achieve industrial data acquisition, processing and communications functions for industrial automation, real-time communication network provides an effective solution. Keywords: MODBUS / TCP、 Ethernet 、sockets 、industry 、TCP / IP 第1章 引言 1.1 研究背景 在现代化工业控制中, 由于被控对象、测控装置等物理设备的地域分散性, 以及控制与监控等任务对实时性的要求, 不同设备之间现场交互性信息的传递越来越多。但传统的工业控制系统软件存在着一些问题。不具备开放性,各个部分的联系过于紧密,使系统过于复杂。这样使系统的更新、扩展和升级变得非常困难,对系统任何一部分的修改都有可能对其它部分造成影响,从而导致大量且烦琐的软件和硬件的修改。传统的工业控制软件开发中出现的另一个主要问题是软件的重复开发,软件不能够复用,资源不能共

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档