沈阳工程学院课程设计IPLC在三种液体混合控制的应用摘要在上世纪60年代末PLC的出现,便以其独特的优点得到迅速地发展和普及,并在冶金、机械、纺织、轻工、化工等众多行业中取代了传统的继电器控制。掌握可编程序控制器的工作原理,具备设计、调试和维护可编程序控制器控制系统的能力,已经成为现代工业对电气技术人员和相关工科学生的基本要求。将PLC用于多种液体混合控制系统,对于学习和在工业上的应用,尤其是在化工工业上的应用显得非常的重要。设计以三种液体混合控制系统为例,根据设计要求对其硬件系统组成、软件系统设计和整个系统的整合调试等有关设计及制作过程做简单的介绍和说明,以阐述PLC在多种液体混合控制系统中应用。同时,设计采用西门子(SIEMENS)公司的S7-200系列机型进行了控制系统的PLC程序设计,并且利用组态王软件对系统自动运行、运行画面同步显示成功地进行了画面组态。关键词:多种液体,混合装置,自动控制PLC在三种液体混合控制中的应用IIPLC-BASEDAVARIETYOFLIQUIDMIXEDCONTROLSYSTEMDESIGNABSTRACTInthe60'sattheendofthelastcenturytheemergenceofPLC,theadvantagesofitsuniquerapiddevelopmentandpopularizationof,andinmetallurgy,machinery,textile,lightindustry,chemicalindustryandmanyotherindustriestoreplacethetraditionalElectricalrelaycontrol.PLCmastertheworkingprinciple,withthedesign,commissioningandmaintenanceofPLCcontrolsystems,hasbecomeamodernindustrialelectricaltechniciansandengineeringstudentsthebasicrequirements.WillbeusedPLConavarietyofliquidmixedcontrolsystem,forthestudyandapplicationinindustry,especiallyinthechemicalindustryitisveryimportantapplications.Thedesigntakethreekindofliquidsmixedcontrolsystemasanexample,designrequirementsinaccordancewithitshardwaresystems,softwaresystemdesignanddebugtheentiresystem,suchastheintegrationofthedesignandproductionprocessofdoingabriefintroductionanddescription.ToexpositthatPLCappliesinavarietyofliquidmixedcontrolsystem.Atthesametime,thedesignoftheuseofSiemensS7-200seriesmodelsforthePLCcontrolsystemprogramming,andusethesoftwareonthesystemKingviewrunautomatically,runthescreensimultaneouslyshowthesuccessfulconductoftheconfigurationscreen.KEYWORDS:Avarietyofliquid,Mixeddevices,Automaticcontrol,Configuration沈阳工程学院课程设计目录摘要··································································································IABSTRACT·························································································II第一章概述······················································································11.1课题内容·················································································11.1.1选题的目的······································································11.1.2课题设计的意义································································11.1.3课题设计方案···································································11.2PLC的简介··············································································1第二章系统硬件设计············································································22.1系统控制要求···········································································22.2硬件设计·················································································32.2.1PLC机型的选择·······························································32.2.2混合装置的基本组成·························································42.2.3液体混合装置运行流程分析················································42.2.4液体混合装置电气原理图···················································52.2.5PLCI/O点分配及外部硬件接线图········································6第三章系统软件程序设计······································································83.1PLC的编程要求和编程方法·························································83.1.1编程要求·········································································83.1.2编程方法·········································································93.2STEP7-Micro/WIN32编程软件介绍···············································93.2.1STEP7-Micro/WIN32编程软件·············································93.2.2STEP7-Micro/WIN32编程软件的主要功能·····························103.3液体混合系统运行流程图···························································123.4PLC程序设计··········································································143.4.1内部继电器说明·······························································143.4.2梯形图···········································································14总结································································································17参考文献···························································································18沈阳工程学院课程设计1第一章概述1.1课题内容1.1.1选题的目的借助实验室设备熟悉工业生产中PLC的应用,进一步了解所学可编程控制器的型号和原理,熟悉其编程方式。而多种液体混合装置的控制更常见于工业生产中,尤其见于化学化工业中,便于学有所用。1.1.2课题设计的意义用PLC进行开关量控制的实例很多,在冶金、机械、纺织、轻工、化工、铁路等行业几乎都需用到它,如机床电控、食品加工、印刷机械、电梯、自动化仓库、生产流水线等方面的逻辑控制,都广泛应用PLC来取代传统的继电器控制。本次设计是将PLC用于多种液体混合物装置的控制,对学习与实用是很好的结合。1.1.3课题设计方案采用S7-200系列机型进行程序设计,利用组态王软件对自动装料运行进行画面组态。1.2PLC的简介在工业生产过程中,大量的开关量顺序控制,它按照逻辑条件进行顺序动作,并按照逻辑关系进行连锁保护动作的控制,及大量离散量的数据采集。传统上,这些功能是通过气动或电气控制系统来实现的。1968年美国GM(通用汽车)公司提出取代继电气控制装置的要求,第二年,美国数字公司研制出了基于集成电路和电子技术的控制装置,首次采用程序化的手段应用于电气控制,这就是第一代可编程序控制器,称ProgrammableController(PC)。随着个人计算机(简称PC)发展起来后,为了方便,也为了反映可编程控制器的功能特点,可编程序控制器定名为ProgrammableLogicController(PLC)。PLC在三种液体混合控制中的应用2第二章系统硬件设计2.1系统控制要求如图2-1所示为三种液体混合的装置结构示意图。SL1、SL2、SL3、SL4为液面传感器,液面淹没时接通,三种液体(液体A、液体B、液体C)的流入和混合液体D流出分别由电磁阀YV1、YV2、YV3、YV4控制,M为搅匀电动机。M搅匀电动机混合液体D阀门液面传感器SL4液面传感器SL3液面传感器SL2液面传感器SL1液体A阀门液体B阀门液体C阀门图2-1三种液体混合的装置结构示意图要求如下:1.初始状态:当装置投入运行时,容器内为放空状态。2.起动操作:按下启动按钮SB1,装置开始按规定工作,液体A阀门打开,液体A流入容器。当液面到达SL2时,关闭液体A阀门,打开B阀门。当液面到达SL3时,关闭液体B阀门,打开C阀