首页 | 本学科首页   官方微博 | 高级检索  
     

基于OPC规范的客户/服务器模型设计
引用本文:季胜鹏,林中达.基于OPC规范的客户/服务器模型设计[J].电力自动化设备,2002,22(11):59-62.
作者姓名:季胜鹏  林中达
作者单位:东南大学,动力工程系,江苏,南京,210096
摘    要:简要介绍了基于OPC规范的数据实时通信,着重分析了采用OPC技术的客户/服务器模型和实现该模型的MFC和ATL编程技术。MFC和ATL分别以嵌套类和多重继承的原理实现OPC接口,都以包容模型实现了OPCServer对象、OPCCroup对象、OPCItem对象。在客户端MFC和ATL分别通过单接口和双接口的编程方法实现与OPC服务器的通信。通过实践得出结论,在工业控制领域中对控制系统进行符合OPC规范的客户/服务器模型设计,并采用MFC或ATL的编程技术实现OPC控制软件是可行和高效的。

关 键 词:OPC规范  客户/服务器  模型  设计  计算机控制系统
文章编号:1006-6047(2002)11-0059-04

Client/Server model design based on OPC specifications
JI Sheng-peng,LIN Zhong-da.Client/Server model design based on OPC specifications[J].Electric Power Automation Equipment,2002,22(11):59-62.
Authors:JI Sheng-peng  LIN Zhong-da
Abstract:The real time data communication based on OPC(Object Linking and Embedding for Process Control)specifications is introduced.The Client /Server model using OPC technique and the MFC(Microsoft Fundation Class)and ATL(Active Template Library)programming technique for its implementation is emphasized.MFC and ATL realize OPC interfacing with the theory of embedding and multi-inheritance respectively,and both implement OPCServer object,OPCGroup object and OPCItem object with containment .At OPCClient ,MFC and ATL realize the communication between OPCServer and OPCClient with the programming method of single interface and dual interface respectively.The practice shows that the Client /Server model design according to OPC specifications and the implementation of OPC control software using MFC or ATL programming technique is practical and efficient in industrial control domain.
Keywords:OPC  COM  MFC  ATL  Client /Server  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《电力自动化设备》浏览原始摘要信息
点击此处可从《电力自动化设备》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号