I摘要PLC控制是目前工业上最常用的自动化控制方法,由于其控制方便,能够承受恶劣的环境,因此,在工业上优于单片机的控制。PLC将传统的继电器控制技术、计算机技术和通信技术融为一体,专门为工业控制而设计,具有功能强、通用灵活、可靠性高、环境适应性强、编程简单、使用方便以及体积小、重量轻、功耗低等一系列优点,因此在工业上的应用越来越广泛。本文主要讲述PLC在材料分拣系统中的应用,利用可编程控制器(PLC),设计成本低、效率高的材料自动分拣装置。以PLC为主控制器,结合气动装置、传感技术、位置控制等技术,现场控制产品的自动分拣。系统具有自动化程度高、运行稳定、精度高、易控制的特点,可根据不同对象,稍加修改本系统即可实现要求。关键词:可编程控制器,分拣装置,控制系统,传感器ABSTRACTPLCcontrolisthemostcommonlyusedindustrialautomationcontrolmethod,becauseofitsconvenientcontroltowithstandanadverseenvironment,itisbetterthanMCUcontrolintheindustrial.PLCtraditionalrelaycontroltechnology,computerandcommunicationtechnologiesareintegratedspecificallyforindustrialcontrolanddesign,havestrongfunction,commonflexible,highreliabilityandenvironmentaladaptability,andprogrammingsimple,easytouseandsmallsize,lightweight,aseriesoflow-poweradvantagesinindustrialapplicationsbecomemoreextensive.ThispaperfocusesonthePLCinthecannedbeverageproduction,Thedesignofanautomaticsortingdevicewithlowcostandhighefficiencyispresentedinthepaper,whichregardsprogrammablelogiccontroller(PLC)asthemastercontrollerandcombinespneumaticdevice,sensingtechnology,positioncontrolandothertechnologytoimplementautomaticselectingoftheproductslive.Thedeviceischaracteristicofhighautomation,steadyrunning,highprecisionandeasycontrol,whichcanfulfilltherequirementaccordingtodifferentsituationswithlittlemodifications.Keywords:programmablelogiccontroller,sortingdevice,controlsystem,sensorsII目录摘要..........................................................................................................................................................I目录.............................................................................................................................................................II绪论............................................................................................................................................................1第1章材料分拣装置结构及总体设计....................................................................................................21.1材料分拣装置工作过程概述.........................................................................................................21.2系统的技术指标............................................................................................................................31.3系统的设计要求............................................................................................................................3第2章控制系统的硬件设计....................................................................................................................52.1系统的硬件结构............................................................................................................................52.2系统关键技术................................................................................................................................52.3检测元件与执行装置的选择.........................................................................................................8第3章控制系统的软件设计..................................................................................................................153.1控制系统流程图设计...................................................................................................................153.2控制系统程序设计.......................................................................................................................16第4章控制系统的调试..........................................................................................................................224.1硬件调试......................................................................................................................................224.2软件调试......................................................................................................................................224.3整体调试......................................................................................................................................23结论........................................................................................................................................................24展望........................................................................................................................................................25致谢..........................................................................................................................................................26参考文献....................................................................................................................................................27附录..........................................................................................................................................................281绪论分拣是把很多货物按品种从不同的地点和单位分配到所设置的场地的作业。按分拣的手段不同,可分为人工分拣、机械分拣和自动分拣。目前自动分拣已逐渐成为主流,因为自动分拣是从货物进入分拣系统送到指定的分配位置为止,都是按照人们的指令靠自动分拣装置来完成的。这种装置是由接受分拣指示情报的控制装置、计算机网络,把到达分拣位置的货物送到别处的的搬送装置。由于全部采用机械自动作业,因此,分拣处理能力较大,分拣分类数量也较多。随着社会的不断发展,市场的竞争也越来越激烈,因此各个生产企业都迫切地需要改进生产技术,提高生产效率,尤其在需要进行材料分拣的企业,以往一直采用人工分拣的方法,致使生产效率低,生产成本高,企业的竞争能力差,材料的自动分拣已成为企业的唯一选择。针对上述问题,利用PLC技术