摘要
随着工业生产的不断发展,工业控制软件日益复杂.传统的基于设备驱动程序的数据传输方式已经不能满足现实的需要,OPC标准通信协议应运而生.本文提出了一种在嵌入式实时操作系统VxWorks下开发OPC服务器应用软件的方法,并开发了一款遵循OPC数据存取规范的OPC服务器软件.该OPC服务器基于VxWorks提供的VxDCOM组件,相比基于Windows COM/DCOM的OPC服务器软件具有更高的稳定性和实时性.实验证明,该OPC服务器可以与Windows下或VxWorks下开发的的OPC客户端软件进行通信,并在功能与性能上都有不错的表现.
With the continuous development of industrial production,industrial control software becomes more and more complex. The traditional way of data transmission which is based on device driver can no longer meet the real needs,thus leads to the birth of the OPC—the standard communication protocol. This paper presents a method in developing OPC Server applications under VxWorks,a real-time embedded operating system and develops an OPC Server application following OPC Data Access Specification. This OPC Server is based on the VxDCOM component which is provided by VxWorks. Compared with those based on the Windows COM / DCOM,our Server has more stability and real-time property.Experiments show that the OPC server can communicate with standard OPC Clients under Windows or VxWorks operating system,and do well in both functionality and performance security.
出处
《南京师范大学学报(工程技术版)》
CAS
2014年第4期66-70,共5页
Journal of Nanjing Normal University(Engineering and Technology Edition)
基金
国家自然科学基金(61103017)
江苏省教育厅教育改革课题(2013JSJG124)
连云港市社会发展项目(SH1212)
连云港市科技公关项目(CG1215)