用户名: 密码: 验证码:
组态软件与PROFIBUS-DP的接口编程
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
EIMS(Embedded Intelligent Monitoring System)嵌入式智能监控系统是我们在研的全新的一套工业用监控系统,该系统采用目前国内嵌入式领域最新的技术进行硬件和软件集成,开发从系统总体设计、现场总线接口硬件及软件驱动、添加硬件设备驱动到组态软件中以及进行组态。因此构建一个在工业过程监控中应用的系统平台。在系统开发中在国内我们首次将PROFIBUS现场总线技术通过PC/104总线与WINCE操作系统和运行在WINCE操作系统上的组态软件MCGSE结合起来,进行了全新的研究尝试,并取得了一定成果,为系统的进一步完善打下了一定基础。
    Windows CE是微软公司的可定制嵌入式操作系统,并广泛地成功应用在掌上电脑、汽车地理信息定位、无线通讯等领域,2001年底开始向中国一般用户开放的WINCE3.0版本及2002年初在中国发布的WINCE.NET版本开始具备了在监控领域应用的功能,由于其自身的很多优点而体现出良好的应用前景,在此之前人们一般使用UNIX、QNX等操作系统来开发。
    MCGSE组态软件是昆仑通态公司开发的,运行于Windows CE.net操作系统上的嵌入式组态软件,具有功能强大使用方便的优点。但是在MCGSE上面应用的硬件设备的驱动程序需要由公司定做,因此不具有通用性。针对于我们所开发的系统来说不适用。因此,本论文的主要工作就是编写一个程序,使我们自己制作的硬件设备和驱动程序能够在组态软件中进行方便的使用。在编程过程中,我使用了自动化客户端程序和MCGSE组态软件进行数据交互,使用了自动化服务器端程序和我们自己的硬件的驱动程序进行数据的交互,使两方面能够成功的进行通信,并且只要在驱动程序中实现本论文程序中的自动化客户端接口,提供一个输出实时数据的函数,硬件驱动程序就可以通过该程序顺利的应用到MCGSE组态软件中,而且凡是符合Profibus-DP的从设备都可以自由的加到我们的硬件中去,因此,基本
    
    达到了论文的要求。
    因为目前国内进行EVC4.0编程的很少,可以得到的资料不多,基本是自己摸索,所以本论文是我的创新。
EIMS(Embedded Intelligent Monitoring System) is a new set of industrial monitoring system that is under development of us. This system takes advantage of the latest technology of the embedded field and integrates hardware with software. The developments of the system include the design of the whole system, the design of the interface of the hardware of the field bus and the driver of it, and adding the driver to the configuration software and configuration . Thus, we can build a system platform used in the industrial monitoring. During the developing of the system, the first time at home we integrated the PROFIBUS-DP with the Windows CE operating system and the configuration system running on the Windows CE system, that is MCGSE, through the PC/104 bus and made new experiment of the study. We have gotten some fruits, and provide the solid foundation for the further perfect of the system.
    Windows CE is the embedded operating system developed by Microsoft company and has been applied in the palm computer, the geography information location the car, the wireless communication and such fields. At the end of 2001, WINCE3.0 came to face the common users in china. At the beginning of 2002, WINCE.NET, having the function used in the monitoring field, was released in china. The future of it will be good because of so many merits of it. Before its release ,people used the other operating system such as UNIX and QNX to do development.
     MCGSE is a embedded configuration system developed by the KunLun TongTai company and runs on the WINCE.NET operating system with the merits such as the powerful function and advantageous utility. However, the drivers of the hardware applied in MCGSE is customized by the company. So it cannot be used in common, and not be
    
    applicable to our system. Therefore the major task is writing a program to apply the hardware and the drivers we developed to MCGSE easily. In the program , I provide a automation client to communicate with MCGSE, and also provide a automation sever to communicate with the driver of the hardware developed by we. By this means the two parts can communicate successfully through this program. The drivers can be applied to MCGSE only when they realized an automation client that can take advantage of the properties of the automation sever provided by this program and provided a function to output the real-time data. Moreover, all the slavers can be linked with the hardware if they accord with the Profibus-DP protocols. So the program has reached the require of this article.
     Now there are so few people programming with EVC4.0. Therefore I cannot get enough information and help. I was researching alone in the darkness at the most time . So in this article I have made some innovations.
引文
[1] Windows CE 设备驱动程序开发指南. 北京希望电子出版社. 1999
    [2] Windows CE高级开发指南. 电子工业出版社
    [3] Windows CE 程序员指南. 北京希望电子出版社. 1999
    [4] 刘波 马连川 张建明,嵌入式实时操作系统选用的初步分析,北方交通大学学报,2000.5
    [5] 宋然,嵌入式实时操作系统,自动化博览,2001.5
    [6] MCGS工控组态软件参考手册 北京昆仑通态自动化软件科技有限公司
    [7] MCGS工控组态软件用户手册 北京昆仑通态自动化软件科技有限公司
    [8]COM原理与应用 潘爱民 清华大学出版社
    [9]Visual C++实践与提高 孟繁晶 刘刀桂 中国铁道出版社
    [10] 阳宪惠. 现场总线技术及其应用. 北京:清华大学出版社,1999
    [11]Microsoft(r). Windows CE Device Driver Kit 
    [12]Microsoft(r). Windows CE Programmer's Guide
    [13]Microsoft(r). Windows CE User Interface Service Guide

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700