洛阳理工学院毕业设计(论文)基于PLC的自动售货机控制系统的设计摘要此次设计是基于PLC的自动售货机控制系统,首先分析了无人自动售货机的发展历程及发展前景,然后根据其的功能特点详细设计了在此次设计中所需要实现的功能,根据设计功能进行自动售货机的硬件及软件的设计和选型。在进行硬件设计时选用型号为XINX的步进驱动电机,硬币和纸币识别两种货币处理装置,弹簧推送式的送出机构,需要用到的按钮及指示灯种类,以三菱FX-2N-48MR型PLC为主控制器,软件设计时,基于GXDeveloper编程软件,采用梯形图进行系统控制程序的设计,包括投币累加、比较选择购买和退币复位程序,并采用GX—Simulator来进行程序的调试,最后使用组态王软件进行自动售货机的仿真。该设计是基于市场需要进行的相关功能的设计及仿真,提高了可靠性,符合市场的需求。关键词:自动售货机,可编程序控制器,梯形图I洛阳理工学院毕业设计(论文)ThedesignofthecontrolsystemforvendingmachinebasedonPLCABSTRACTThedesignisavendingmachinebasedonPLCcontrolsystem,thefirstanalysisofthedevelopmentanddevelopmentprospectsofvendingmachine,thenaccordingtothefeaturesofthedetaileddesigninthedesignoftheneedtoimplementthefunction.Accordingtothefunctionaldesignofthedesignandselectionofhardwareandsoftwareoftheautomaticvendingmachine.InhardwaredesignselectsthetypeXINXintodrivingmotor,coinsandpapercurrencyrecognitiontwocurrencyhandlingapparatus,springpushthesendingmechanism,needtousethebuttonsandindicatorspecies,withMitsubishiFX-2N-48MRtypePLCbasedcontroller,softwaredesign,baseontheGXdeveloperprogrammingsoftwarebyladderdiagramofsystemcontrolprogramdesign,includingcoinaccumulation,comparisonandselectionofpurchaseandthecoinreductionprogram,andtheGXsimulatortocarryouttheprogramdebugging.Finally,Kingviewsoftwarevendingmachinesimulation.Thedesignisbasedonthemarketneedfortherelevantfunctionaldesignandsimulation,improvethereliability,inlinewiththemarketdemand.KEYWORDS:Vendingmachine,Programmablecontroller,LadderdiagramII洛阳理工学院毕业设计(论文)目录前言........................................................................................1第1章自动售货机介绍....................................31.1自动售货机功能分析.............................31.2本次设计的主要内容.............................4第2章自动售货机硬件设计......................52.1自动售货机控制子系统设计.......52.2自动售货机硬件组成.............................62.3PLC介绍及选择...................................................62.3.1PLC产生及发展........................................62.3.2PLC硬件组成...............................................72.3.3PLC的工作原理........................................72.3.4PLC的功能.......................................................82.3.5PLC的选择.......................................................82.4货币识别器选型........................................102.4.1硬币识别...................................................112.4.2纸币识别...................................................112.5送出机构..............................................................122.6电机选择..............................................................122.7按钮与指示灯选择.................................132.8显示装置..............................................................13第3章自动售货机软件设计..................143.1自动售货机控制流程图..................143.2自动售货机程序设计.........................143.2.1程序中所需要用到的部分主要指令......................................................................153....