PLC特殊功能模块温度控制模块.ppt
- 格式:ppt
- 大小:2.23 MB
- 文档页数:25
基于组态软件的S7-200 PLC温度控制系统中文摘要随着自动化水平不断提高,人们对自动化的要求也不断提高。
近几年,飞速发展的计算机技术在各行各业得到广泛应用。
但是,以之相对应,传统的工业控制软件有开发周期长,重复使用率低,价格高,修改难等缺点。
随着越来越多的自动化设备不断得到应用,人们对工业控制软件的要求也不断提高,传统的工业控制软件已无法满足用户的要求。
如何方便快捷的使用工业控制软件设计出灵活有效的自动控制系统已成为一个很重要的课题。
本设计以S7-200 PLC为核心,向上,通过PPI通信和上位机通讯;向下,通过模拟量输入输出模块EM235,对温度对象采样与输出控制。
在上位机,使用组态软件MCGS绘出工艺流程、动画效果等所需的组态界面;通过变量与动画对象的连接,使动画效果与实际变量相对应,这样可以很方便的从组态界面上看到系统实际情况并控制PLC的各个参数。
在温度采样上,使用PT100热电阻进行采样,使用脉宽调制电路对输出电压进行控制,进而形成完整的温度控制系统。
本文分别通过硬件的选择、设计、使用,软件的选择、编写等方面详细介绍系统各个模块的原理、设计和使用。
实验证明,以PLC作为控制器的核心,使用组态软件作为上位机,控制PLC,再通过PLC编程控制温度对象,这种设计方式方式可以方便快捷灵活的设计出符合要求的控制系统。
关键字:MCGS组态软件,PPI通讯,PLC ,温度控制系统S7-200 PLC Temperature Control System Based onConfiguration SoftwareAbstractWith the continuous development of the industral automatization,it set higher requirements for the automatics.These years, computer technology have been developing rapidly and are widely used in every walk of life.In the other hand,however,the traditional industry controlling software bring with it critical shortcomings such as long development cycle,low reusability,high price and immobility.As more and more automatic equipments are applied and the requirements for industrial control software are higher and higher,the traditional industry controlling software can’t meet customers’ dema nd any more.How to design a flexible and effective automatic control system fastly and conveniently by using industrial control software has become a very important topic.This thesis focus on S7-200 PLC,which communicating,upward,with upper monitor through PPI,and also sampling temperature and outputing control single downward through Analog I/O module--EM235.Necessary configuration interface such as software process and animation effects are accomplished by using MCGS configuration software in upper monitor;Through connecting variable to animation effects,making animation effects the counterpart of actual variable,thus make it convenient to see actual situation and to control each parameter of PLC in configuration interface.In term of temperature sampling,thermal resistor PT100 are used to take sample,PWM are used to control output voltage,so that a complete temperature control system are formed.This Thesis introduce the principle,design, application of the each system module in detail,which including the type selection,design and application of the hardware,and the selection and writing of the software.Experiments prove that the design solution which using PLC as control core to control temperature object,configuration software as upper monitor to control PLC,could achieve a desirable control system conveniently, quickly and flexiblely.Key words: MCGS configuration software, PPI communication, PLC, temperature control system目录中文摘要 (I)ABSTRACT................................................................................................................................ I I 目录. (III)第1章绪论 (1)1.1温度控制系统研究背景 (1)1.2PLC概况 (2)1.2.1 PLC的定义 (2)1.2.2 PLC的特点 (2)1.2.3 PLC的国内外状况 (3)1.2.4 PLC未来展望 (3)1.3组态软件 (4)1.3.1 组态软件背景 (4)1.3.2 监控组态软件的最新发展情况 (4)1.3.3 组态软件的未来 (6)1.4研究主要内容 (6)第2章硬件电路的设计 (8)2.1系统的组成 (8)2.1.1 控制系统结构图 (8)2.1.2 系统的硬件组成 (9)2.2硬件的连接 (10)第3章PLC程序设计 (12)3.1系统的控制要求 (12)3.2系统工作过程 (12)3.3系统开关量的分配 (14)3.4系统使用内存分配 (15)3.5S7-200PLC自带PID模块设定 (16)3.5.1 PID简介 (16)3.5.2 S7-200 PLC自带PID的设置 (17)3.6PLC程序设计 (18)3.6.1 程序流程图 (18)3.6.2 主程序 (18)3.6.3 子程序 (23)3.7S7-200PLC PPI通讯设置 (24)第4章MCGS组态软件设计 (26)4.1MCGS组态软件概述 (26)4.1.1 MCGS嵌入版组态软件的主要功能 (26)4.1.2 MCGS 软件结构 (28)4.2监控系统功能设计 (29)4.2.1 组态软件的设计要求 (29)4.2.2 组态功能设计 (29)4.3MCGS组态界面设计 (30)4.4设备窗口 (34)4.5变量定义及连接 (36)4.5.1 实时数据库定义 (36)4.5.2 变量连接 (36)4.6运行策略 (37)第5章系统测试 (39)5.1组态测试 (39)5.2系统测试 (41)5.2.1 各种参数的响应曲线图 (41)5.2.2 曲线分析 (44)总结 (45)参考文献 (46)致谢............................................................................................................... 错误!未定义书签。