节点文献
基于CAN总线的OPC服务器端的程序设计
The Program Design of OPC Server Based on Can Field Bus
【作者】 陆晓燕;
【导师】 胡敦利;
【作者基本信息】 北方工业大学 , 检测技术与自动化装置, 2008, 硕士
【摘要】 OPC(OLE for Process Control)是用于工业过程控制的对象链接与嵌入技术。OPC为不同的厂商定义了硬件设备、软件和系统的公共接口,使得不同的系统、设备和软件之间能够互相连接、通信、操作,提高了系统的开放性,从而大大减少了系统集成过程中的重复开发,大幅度降低硬件和软件供应商的维护和开发成本,具有广泛的发展前景。本文简要介绍了OPC技术的产生、特点、应用和发展前景。设计了符合规范的OPC服务器的结构模式。在iCAN实验开发平台上,实现了OPC服务器对数据的实时读取和存储功能。论文的主要工作如下:1、通过OPC快速开发工具研究OPC的数据存取,实现OPC标准接口功能,开发了符合OPC规范的OPC数据访问服务器,实现了与第三方客户端软件的无缝连接和OPC服务器的注册。2、介绍了网络适配器CANET-E的功能及数据转换格式,实现了OPC服务器从CANET-E和iCAN功能模块组成的现场通讯网络中读取/发送数据的功能。3、基于ADO技术的SQL Server数据库的设计,实现实时数据的存储、查询功能。4、利用OPC客户端软件对OPC服务器进行测试。本课题设计的OPC服务器对CAN网络的实际通信状况进行了很好的监测,该设计具有可行性。
【Abstract】 OPC (OLE for Process Control), object linking and embedded technology ,has been widely applied in the field of industrial process control. OPC supplies manufacturers with a public interface for different hardware devices, software and system. In that case, equipments and software can connect, communicate, operate with each other, thus enhance the system expansive property. Since OPC can greatly save repeated design time during the system integration process and significantly cut down the costs for hardware and software maintenance, it has comprehensive developed prospect.In this paper, the producing, characters, application and prospect of OPC technology are intrduced first. OPC server based on CAN bus is designed which complies with the OPC specification. The functions, OPC server can access and store the real-time data, are realized on iCAN experiment development platform. This paper has several aspects as follows:First, by using OPC rapid development tool we do researches on OPC data access method , OPC standard interface functions are realized, and the OPC Data Access Server in line with the OPC standard is developed,。In our design the seamless connectivity with the third-party client software is realized, including the OPC server and OPC client communication mechanism and OPC server’s registration.Second, the functions and the data conversion format of CANET-E network adapter is introduced. We realized the information accessing function between the OPC server with the scene communication network comprising CANET-E and iCAN function modules.Third, SQL Server database based on ADO technology is designed which used for real-time data storage and query.Fourth, OPC server is tested using OPC client software.The OPC Server is a good monitor to the actual communication situation of CAN network. The design is feasible.
【Key words】 OPC; interface; CAN field bus; iCAN protocol; SQL Server database;
- 【网络出版投稿人】 北方工业大学 【网络出版年期】2008年 09期
- 【分类号】TP311.10;TP273.5
- 【被引频次】3
- 【下载频次】249