(论文 字数:21009 页数;47)摘 要:随着工业自动化水平的迅速提高,计算机在工业领域的广泛应用,人们对工业自动化的要求越来越高,种类繁多的控制设备和过程监控装置在工业领域的应用,使得传统的工业控制软件已无法满足用户的各种需求。MCGS工控组态软件的出现为解决一些实际工程问题提供了一种崭新的方法,因为它能够很好地解决传统工业控制软件存在的种种问题,使用户能根据自己的控制对象和控制目的任意组态,完成最终的自动化控制工程。 本文从工程实际出发,介绍了工控组态软件MCGS及其基于MCGS开发的恒温水箱组态监控系统。详述了该系统的硬件组成、控制方法、组态过程、组态软件的运行环境及在此运行环境下控制器参数的设定。该系统具有界面友好、参数在线整定方便、扩展性强等优点。MCGS的水箱温度监控系统通过RS232通讯总线与PLC连接,实时曲线输出显示该系统运行稳定、可靠性高。
关键词 MCGS,RS232,恒温水箱组态监控系统
ABSTRACT :With the fast improvement of industrial automatization level, and the broad application of computer in industrial field, people have more and more requirements for industrial automatization, and the apply for kinds of controlling equipments and process monitoring devices in the industrial field, makes the traditional industrial controlling software can not meet different forms of needs for users any more, but the appearance of MCGS supplies a new way in settlement of some practical project matters, as it could solve kinds of problems within traditional industrial controlling software very well, so that the users could fulfil the final automatization controlling project according to his own controlling object and cotrolling target random configuration.
This paper, from the point of project practice, described MCGS and the constant temperature water tank monitor and control System based on the MCGS. It explained the composed hardware, controlling method, configuration process, the operation environment of configuration software and the setting of controller parameter under this environment. The system enjoys the advantages of interface friendlyness, parameter on-line setting convenience, and expansibility intensity etc. The water tank instant temperature monitoring system of MCGS is connected with PLC by RS232 Communication head line, and the real time curve export shows the system runs steadily, and with high reliability.
Key words MCGS; RS232; constant temperature water tank monitor and control system
目 录
第一章绪论 5 1.1序言 5 1.2课题来源及背景 5 1.3本系统技术要求 6 1.4可行性论证 6 1.4.1系统硬件和软件选择 6 1.4.2工作流程说明 6 第二章系统的整体设计 8 2.1系统硬件设计 8 2.1.1松下PLC的概叙 9 2.1.2可编程序控制器的功能和应用 9 2.1.3系统通讯 10 2.1.4RS232的电气特性 11 2.1.5RS232连接器的机械特性 12 2.2系统软件设计 12 2.2.1MCGS软件的设计 12 2.2.2PID算法的设计与实现 13 3.1MCGS组态软件的整体结构 16 3.2MCGS组态软件五大组成部分 17 3.3MCGS组态软件的工作方式 17 3.4组建新工程的一般过程 18 第四章组态系统的实现 20 4.1系统的组建 20 4.2用户窗口设计 21 4.2.1组态设计 21 4.3运行策略的设计 25 4.3.1启动策略的设计 25 4.3.2退出策略的设计 26 4.3.3循环策略的设计 27 4.4实时数据库设计 31 4.4.1MCGS实时数据库的概述 31 4.4.2数据对象的类型 32 4.4.3数据对象的定义 34 4.4.4数据对象的作用域 35 4.4.5本系统用到的数据 36 4.5设备窗口的设计 36 4.6主控窗口的设计 39 4.6.1菜单组态 39 4.6.2菜单操作 42 4.7系统安全 42 总结 43 参考文献 44 致谢 45 附录一计算机源程序 46
第一章 绪论 1.1 序言 在人类的生活环境中,温度扮演着极其重要的角色。温度是工业生产中常见的工艺参数之一,任何物理变化和化学反应过程都与温度密切相关,因此温度控制是生产自动化的重要任务。对于不同生产情况和工艺要求下的温度控制,所采用的加热方式,燃料,控制方案也有所不同。无论你生活在哪里,从事什么工作,无时无刻不在与温度打着交道。自18世纪工业革命以来,工业发展对是否能掌握温度有着绝对的联系。在冶金、钢铁、石化、水泥、玻璃、医药等等行业,可以说几乎%80的工业部门都不得不考虑着温度的因素。 |