基于PLC的自动售货机控制系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

河南理工大学毕业设计(论文)说明书I摘要随着科技的不断发展,PLC在工程中的应用大家有目共睹,PLC在各个领域已占得一席之地,并将有更好的发展。我国人口数量庞大,自动售货机在人们的生活中扮演越来越重要的角色,从长远来看其具有广阔的发展空间。本次设计的自动售货机为饮料自动售货机,贩卖的商品性质明确,适于放置在短时间人口流动比较大的地方,比如餐厅。首先通过与单片机和液压等控制的对比,确定采用PLC来控制自动售货机,然后分析自动售货机的结构和工作原理,明白自动售货机的贩卖过程,以便为硬件的选择做准备。通过自动售货机的功能分析作出硬件框图,根据硬件框图选择所需要的PLC、货币识别器、电动机和接触器。根据I/O分配表对PLC选型,并画出外部接线图。根据控制系统流程图编写符合自动售货机功能的程序。如果购物后有剩余金额,则可按退币按钮退币。梯形图的编写通过GXDeveloper来完成,完成梯形图后可以在三菱PLC仿真软件GXSimulator6c进行调试和仿真。最后用MCGS作出组态效果。组态仿真图中自动售货机包括按钮、指示灯、投币口、取物口、退币口等部分。关键词:自动售货机;PLC;梯形图;MCGS河南理工大学毕业设计(论文)说明书IIABSTRACTWiththedevelopmentofscienceandtechnology,theapplicationofPLCinengineeringeverybodybeobvioustopeople,PLChasoccupiedaspaceforonepersonineveryfield,andwillhaveabetterdevelopment.Becauseofthelargenumberofpopulation,thevendingmachineisplayingamoreandmoreimportantroleinpeople'slife,inthelongrunithasbroadspacefordevelopment.Thedesignoftheautomaticvendingmachineforbeveragevendingmachine,thenatureofthegoodssoldintheclear,adaptedtobeplacedinashorttimepopulationflowofrelativelylargeareas,suchasrestaurant.First,bycomparingwiththesinglechipmicrocomputerandhydrauliccontrol,andadoptPLCtocontrolthevendingmachine,thenanalyzesthestructureandworkingprincipleofautomaticvendingmachinessellingprocess,understandthevendingmachine,topreparefortheselectionofhardware.Throughvendingmachinefunctionanalysistomakethehardwareblockdiagram,accordingtothehardwareblockdiagram,selectthedesiredPLCcurrencyrecognizer,motorandcontactor.AccordingtotheI/OdistributionlistonthePLCselection,anddrawtheexternalwiringdiagram.Accordingtotheflowchartofcontrolsystempreparedwithvendingmachineprogram.Iftheshoppingaftertheremainingamount,thenpressthecoinbuttoncoin.TrapezoidalchartcompilationdonebyGXDeveloper,completeladderdiagramcanbedebuggedandsimulatedinMitsubishiPLCsimulationsoftwareGXSimulator6c.Finally,MCGSmadetheconfigurationeffect.Configurationsimulationdiagramofthevendingmachinecomprisesabutton,indicatorlight,theslot,fetchingport,acoinrefundpart.Keywords:vendingmachine;PLC;ladderdiagram;MCGS河南理工大学毕业设计(论文)说明书III目录1绪论.........................................................................................................................................11.1自动售货机的研究背景及意义...................................................................................11.2研究自动售货机的目的...............................................................................................11.3本设计研究的内容.......................................................................................................22自动售货机的功能分析.........................................................................................................32.1自动售货机主控单元的确定.......................................................................................32.1.1PLC的部分功能.................................................................................................32.1.2确定自动售货机的主控单元为PLC................................................................42.2自动售货机的售货方法...............................................................................................52.3自动售货机的空间结构...............................................................................................62.4自动售货机的功能.......................................................................................................62.5自动售货机的购物使用流程.......................................................................................83自动售货机的硬件部分.........................................................................................................93.1控制电路硬件组成框图...............................................................................................93.2确定自动售货机使用的PLC类型...........................................................................103.3货币识别器选型.........................................................................................................123.3.1硬币的识别原理...............................................................................................133.3.2纸币的识别原理...............................................................................................133.4自动售货机电机及其它选择.....................................................................................144自动售货机的软件设计.......................................................................................................164.1自动售货机的控制系统流程图.................................................................................164.2自动售货机的程序部分.............................................................................................174.2.1程序中用到的部分指令...................................................................................174.2.2自动售货机的控制程序...................................................................................184.3程序的调试部分.........................................................................................................264.3.1GXDeveloper....................................................................................................264.3.2程序调试...........................................................................................................264.4基于MCGS组态的自动售货机仿真..........

1 / 41
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功