Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering ›› 2010, Vol. 36 ›› Issue (11): 80-82.

• Networks and Communications • Previous Articles     Next Articles

Research and Implementation of OPC Data Access Client

SU Lei1, LI Qian1, TANG Wei2   

  1. (1. School of Electrical and Information Engineering, Shaanxi University of Science and Technology, Xi’an 712021; 2. School of Papermaking Engineering, Shaanxi University of Science and Technology, Xi’an 712021)
  • Online:2010-06-05 Published:2010-06-05

OPC数据访问客户端的研究与实现

苏 磊1,李 茜1,汤 伟2   

  1. (1. 陕西科技大学电气与信息工程学院,西安 712021;2. 陕西科技大学造纸工程学院,西安 712021)
  • 作者简介:苏 磊(1982-),男,硕士研究生,主研方向:OPC技术;李 茜,教授、硕士;汤 伟,教授、博士
  • 基金资助:

    陕西省工业攻关基金资助项目(2007K07-07)

Abstract:

This paper introduces and analyzes the OPC DA 2.05A specification, implements Component Object Model(COM) object based on the Active Template Library(ATL), and realizes OPC client applications in VC++6.0 IDE. It gives the general steps and key technologies of OPC client implementation. It is tested and verified that this OPC client can realize stable and fast data exchange with standard OPC server by using Kepware’s OPC Server KEPServerEx V4.0.

Key words: OPC client, Active Template Library(ATL), Component Object Model(COM)

摘要:

介绍并分析OPC DA 2.05A规范,在VC++6.0开发环境下,基于活动模版库实现组件对象模型对象,进而实现OPC客户端程序,给出开发OPC客户端的一般步骤以及关键技术。采用Kepware公司的OPC服务器KEPServerEx V4.0测试,验证该OPC客户端可与标准OPC服务器进行稳定、快捷的数据交换。

关键词: OPC客户端, 活动模版库, 组件对象模型

CLC Number: