引用本文:陈宇峰,张国忠,胡益民.ECM20电力监控模块OPC驱动程序实现[J].电力自动化设备,2002,(6):38-41
.Realization of OPC driver for electric management control module[J].Electric Power Automation Equipment,2002,(6):38-41
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3244次   下载 4 本文二维码信息
码上扫一扫!
ECM20电力监控模块OPC驱动程序实现
陈宇峰,张国忠,胡益民
作者单位
摘要:
介绍了一种使用VC 和OPC TookLkit工具包实现OPC驱动程序的通用方法。按照对驱动程序结构的要求,使用以上开发工具生成多个工程,共同组成程序框架。在对通信协议进行分析的基础上,进行实现方式的设计。按照协议的要求,在不同的协议层次上,分别实现协议的封装用分析。实现标准的OPC接口,可以直接和任何支持此规范的客房端进行通信,增强了适应性。程序还使用了多线程技术,使多个功能块可以同步运运行,缩短了程序循环周期,因而更具高效性。在iFix和多个标准OPC客户端得到了良好的运用,表明此方法在电力系统自动化和通信领域具有广泛的应用前景。
关键词:  ECM20 电力监控模块 OPC 驱动程序 EMCS协议 电力系统自动化
DOI:
分类号:TM76
基金项目:
Realization of OPC driver for electric management control module
CHEN Yu feng  ZHANG Guo zhong  HU Yi min
Abstract:
A general realization of OPC driver using Visual C++ and OPC Toolkit is explained. At first, according to the requirement for the driver, several projects are developed with the tools mentioned above to build up a framework. Then the realization method is designed based on the full analysis of the communication protocol. In different layers, the pack and unpack of the message are realized as required by the protocol. The standard OPC interface is applied to directly communication with clients who support the protocol and the compatibitity is thus improved.The muti thread technique is adopted to enable several functions running concurrenuy and the function circulation period is thus shorten to improve the efficiency.The driver now is applied well in iFix and oter OPC clients.It indicates that the method can be widely used in the automation and communication fields of electric system.
Key words:  electric management control module,EMCS protocol,driver,OPC

用微信扫一扫

用微信扫一扫