工控组态软件(INTOUCH)研究与二次开发
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
河北工业大学
硕士学位论文
工控组态软件(INTOUCH)研究与二次开发
姓名:姜丽丽
申请学位级别:硕士
专业:控制科学与工程
指导教师:安连祥
2010-12
河北工业大学硕士学位论文
工控组态软件(INTOUCH)的研究与二次开发
摘要
在工业自动化的发展进程中,组态软件作为自动化软件的一个重要组成部分,正在逐步发展壮大,并且受到了越来越多的关注。组态软件是一种专门用于采集现场过程数据,管理和显示工业生产流程的专用软件,它是计算机技术在工业应用领域的拓展和延伸。随着工业自动化水平的不断提高,用户对生产系统的控制要求也更加多样化,组态软件应运而生并且逐步替代了传统的工业控制软件而被广大工程设计人员所采用。
美国Wonderware公司是世界上最早推出人机界面自动化软件的开发商。该公司的组态软件Intouch是最早进驻中国市场的监控软件之一,二十几年来在中国得到了广泛的应用和用户一致的好评。鉴于此,本文以天津皆诚冷轧薄板有限公司的1150mm可逆轧机项目为依托,研究组态软件Intouch在该项目监控系统中的应用。同时,为了弥补该组态软件在实际应用中的不足,提出以Intouch为二次开发平台,利用高级程序设计语言VB6.0,基于组件技术实现对其功能的扩展。
本文论述了1150mm可逆轧机控制系统的工艺流程及其自动化系统的设计,分析了监控系统的整体设计结构,针对各个环节的控制要求设计了监控界面,并且结合Access数据库和Intouch自带的脚本语言设计了中英文切换功能,实现了对工艺参数的存储和产量统计查询,编写了相应的脚本应用程序。在通讯方面,通过配置I/O Server服务器实现了与PLC的实时通讯,配置ODBC数据源管理器实现了对Access数据库的访问。同时,以组态软件Intouch为二次开发平台,基于COM组件技术,利用高级程序设计语言VB6.0开发了具有统计查询功能和计算功能的ActiveX控件,并嵌入Intouch中,弥补了其在应用中的不足。
实践证明,所设计的监控系统能够在线监控现场生产过程,实时的与PLC和其他应用软件进行数据交换。设计开发的ActiveX控件能够在Intouch中正常运行,实现与PLC的通讯,应用效果令人满意。
关键词:组态软件,Intouch,监控系统,脚本语言,ActiveX
i
工控组态软件(INTOUCH)的研究与二次开发
ii THE STUDY AND REDEVELOPMENT OF INDUSTRIAL CONTROL CONFIGUARTION SOFTWARE(INTOUCH)
ABSTRACT
In the development of industrial automation,more and more people attach importance to
industrial control configuartion software which is one of the most important part of automation software.Configuartion software is a kind of special software that is used to collect the on-site data and display the process of production,it is the expansion of computer technology service in industrial field.With the improvement of industrial automation,the demand of production control system is more diversified.Configuartion software reversal of past behaviour,gradually replace the traditional software and adopted by the designer.
Wonderware is a developer that design the human interface automation software and configuartion software.In the earlier time,Intouch is geted to be known as monitoring software by china and acquired by the users and applicated widely.Because of this,on the basis of Tianjin 1150mm reversing rolling mill,study the application of Intouch in this project.In the same time, according to the insufficiency of it,put forward the idea that use Intouch as a design platform, make use of the advanced programming language and COM module to redevelop.
This paper describes the process flows and the whole system design of the1150mm reversing rolling mill.Analyze the whole layout of the monitoring system,design the monitoring picture,use access database and language of Intouch to design the function of English–Chinese shift,store the process parameters and inquiry statistics.Introduce how to communicate between Intouch and PLC by using I/O Server,how to carry out data exchange between Intouch and database.At the same time,use Intouch as a design platform,on the basis of COM module, develop the ActiveX module by using advanced programming language,and import it into Intouch,compensate for the insufficient on application.
It can be concluded that the monitoring system can guard the production process on-line, exchange data with PLC and other application software.ActiveX module can work well in Intouch and communicate with PLC,the result is satisfactory.
KeyWords:Configuartion Software,Intouch,Monitoring System,QuickScript,ActiveX