洛阳理工学院毕业设计(论文)I基于PLC的自动送料装车控制系统设计摘要可编程序逻辑控制器(Programmablelogiccontroller)简称PLC,由于PLC的可靠性高、环境适应性强、灵活通用、使用方便、维护简单,所以PLC的应用领域在迅速扩大。尤其是近几年来,PLC的成本下降,功能又不段增强,所以,目前PLC在国内外已被广泛应用于各个行业。本设计是为了实现送料小车的手动和自动化的转化,改变以往小车的单纯手动送料,减少了劳动力,提高了生产效率,实现了自动化生产。而且本送料小车的设计是由于工作环境恶劣,不允许人进入工作环境的情况下而产生的。首先,用PLC编程实现送料系统的基本功能。其次,画出组态仿真画面,定义组态变量,对组态中的一些基本量如(管道中物料的流动)进行仿真。然后,把PLC程序和组态结合,通过数据连接,实现通信。最后,运行PLC程序及组态仿真程序,实现组态对整个系统实时监控。在实现组态控制时,本文详细的介绍了组态王软件的编程及通信,使读者很容易的了解组态王软件运行仿真过程。关键词:PLC,组态王,监控,仿真洛阳理工学院毕业设计(论文)IIDesignofautomaticloadingcontrolsystembasedonPLCABSTRACTProgrammablelogiccontrollerreferredtoPLC,becauseofthehighreliabilityPLCadaptability,flexibility,environment,useconvenient,simplemaintenance,sotheapplicationofPLCintherapidlyexpanding.Especiallyinrecentyears,thecostofPLCdownandfunctionincreasing,so,atthemoment,PLCathomeandabroad,hasbeenwidelyusedinvariousindustries.Inordertoachievethedesignofthecarfeedthetransformationofmanualandautomated,simpletochangethepast,carmanualfeed,areductionoftheworkforce,increasedproductivity,automatedproduction!Feedingandthecarisdesignedtobeasaresultofbadworkingconditionsarenotallowedtoentertheworkingenvironmentofthecircumstancesformed.First,programswithPLCrealizesfeedsystem'sbasicfunction.Next,drawstheconfigurationsimulationpicture,thedefinitionconfigurationvariable,like(inpipelinematerialflowing)carriesonthesimulationtoconfigurationsomefundamentalquantities.Then,thePLCprocedureandtheconfigurationunion,throughthedataconnection,realizesthecorrespondence.Finally,movesthePLCprocedureandtheconfigurationsimulatedprogram,realizestheconfigurationreal-timemonitoringoverallsystem.Whenrealizestheconfigurationcontrol,thisarticledetailedintroductionconfigurationkingsoftware'sprogrammingandthecorrespondence,causedthereaderveryeasytounderstandtheconfigurationkingsoftwaremovementsimulationprocess.KEYWORDS:PLC,configuration,monitoring,simulation洛阳理工学院毕业设计(论文)III目录前言................................................................................................1第1章概述......................................................................................21.1可编程控制技术的发展状况................................................21.2基于PLC控制的自动送料装车系统简介...........................31.3PLC的特点...........................................................................31.4PLC的应用领域....................................................................4第2章系统硬件设计.......................................................................62.1系统硬件的设计...................................................................62.1.1自动送料装车系统控制工艺要求...............................62.1.2主电路的设计..............................................................72.1.3I/O地址分配...............................................................72.1.4PLC外部接线图的设计..............................................8第3章系统软件设计.....................................................................103.1系统功能的分析与设计.....................................................103.2系统结构的分析与设计.....................................................113.2.1I/O信号的分析与设计..............................................113.2.2数据结构的分析与设计............................................123.3程序设计的常用方法.........................................................123.4PLC程序设计.....................................................................143.4.1PLC程序流程图.......................................................143.4.2PLC梯形图设计.......................................................153.5组态监控系统设计.............................................................173.5.1监控系统的形成背景...............................................173.5.2组态王工程的建立...................................................183.5.3组态画面的建立.......................................................203.54定义IO设备............................................................233.5.5构造数据库..............................................................24洛阳理工学院毕业设计(论文)IV3.5.6建立动画连接.............................................................263.5.7应用程序命令语言.....................................................27第4章系统软硬件调试.................................................................304.1软件调试概述.....................................................................304.2通信协议.............................................................................314.3PLC软件测试.....................................................................324.3.1PLC程序的模拟调试..................................................324.3.2PLC程序下载.............................................................324.4组态调试.............................................................................344.4.1组态通讯调试...........................................................344.4.2组态监控仿真...........................................................354.4.3导航菜单..................................................................37结论..............................................................................................39谢辞................................................................................................41参考文献....................................