文档介绍:本科生毕业设计
(申请学士学位)
论文题目基于Modbus通信协议的智能仪表OPC服务器的开发
作者姓名程龙
所学专业名称自动化
指导教师汪先兵
2012年5月20日
学生: (签字)
学号:2008210263
论文答辩日期:2012年5月26日
指导教师: (签字)
目录
摘要 1
Abstract 1
1 绪论 2
课题的选题背景及意义 2
OPC技术国内外发展现状 3
本课题主要研究内容 3
2 Modbus总线技术 4
现场总线技术 4
Modbus技术历史 4
Modbus通信协议 4
Modbus数据模型 4
Modbus地址参数表及通信结构 5
Modbus 兼容分类 5
3 OPC技术规范 6
OPC技术历史 6
OPC技术规范 6
7
OPC服务器数据访问方式 8
同步数据访问 8
异步数据访问 9
4 Modbus OPC数据访问服务器的实现 9
OPC服务器要求分析 9
OPC服务器结构框架 9
OPC服务器需要实现的功能 11
OPC服务器开发步骤 12
服务器组和项属性实现 12
服务器与客户端传送机制 13
服务器与客户端异步通报方式传送机制 13
服务器与客户端连接点方式传送机制 14
OPC对象和接口 15
5 OPC服务器的实验测试 15
结论 18
参考文献 18
附录1 OPC组件的部分实现代码 19
附录2 实验设备及运行环境 21
致谢 22
基于Modbus通信协议的智能仪表OPC服务器的开发
摘要: OPC(OLE for Process Control)是过程控制软硬件与基于Windows平台的应用程序之间的通信通道,它已经成为现代工业自动化控制领域的标准,被广大厂商和用户所接受。Modbus通信协议是监控系统自动化设备的通信标准,中。随着Modbus技术和OPC技术的发展,以及它们在工业领域中发挥的作用日益增加,研究基于Modbus的OPC数据访问服务器成为了一个重要课题。
本课题在Modbus协议和OPC规范基础上,详细介绍了基于Modbus通信协议的OPC服务器的原理和开发过程。具体论述了OPC技术优点;OPC传输的三种方法---同步访问、异步访问、订阅实现过程中的关键技术;以及服务器实现过程中的关键技术。
关键词:Modbus通信协议;;智能仪表
OPC Server Development of Intelligent Instrument based on the munication Protocol
Abstract: OPC (OLE for Process Control) is a process control hardware and software based on Windows platform between the application program and munication channel, it has e a modern industrial automation and control standards, by the vast number of manufacturers and users to accept. munication protocol of Modbus is monitoring system automation equipment, communications standards, the Modbus can be message transmission in . With the Modbus technology and OPC technology development, as well as in the industrial field play an increasing role, based on the Modbus OPC data access server es an important problem.
This topic in the Modbus agreement and the OPC standard foundation, described in detail based on munication protocol of Modbus OPC server principle and development p