资源描述:
《毕业论文-自动售货机plc控制设计方案研究》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、专科生毕业设计(论文)摘要本文主要介绍了自动售货机的基本原理以及工作流程,然后以一次交易过程为例,把交易过程分为几个程序块,然后分别对程序块进行编程。具体的说明了可编程控制器在自动售货机中的作用。在接收到货币已输入的前提下,靠触摸或者控制按钮输入信号使控制器启动相关位置的机械装置完成规定动作,将货物输出。自动售货机是台机电一体化的自动化装置,再接收到货币已输入的前提下,靠触摸控制按钮输入信号使控制器启动相关位置的机械装置完成规定动作,将货物输出。当顾客按下需要买的商品所对应的按键时,数码管上显示出该商品的的
2、价格,然后顾客需要将货币投入投币口,数码管上显示出所投币额。当按下确认键,则自动售货机将对投入的货币与商品的价格进行比较。如果投入的币额足够时,则自动送出商品,并且把多余的钱找回,在数码管上显示出来。如果两者币的相等,则直接送出商品。如果投入的币额不足时,则报警,报警时间3秒。当顾客一旦按下确认键3秒后,自动售货机将自动恢复到初始状态,此时顾客才可以进行下一次购货操作。本次设计用到了以前学过的PLC编程设计,参考了电子电路的设计方法关键字:自动售货机PLC编程IV专科生毕业设计(论文)AbstractThi
3、spaperdescribesthebasicprincipleofautomaticvendingmachinesandworkprocesses,andthenacourseofdealing,forexample,thetransactionprocessisdividedintoseveralblocks,andthenprogramtheblockrespectively.Specificinstructionsoftheprogrammablecontroller'sroleinthevendi
4、ngmachines.Receivingthemoneyhasbeenenteredunderthepremiseofcontrolbuttonsorbytouchingtheinputsignaltothecontrollerstartsthelocationofthemechanicaldevicesrelatedtocompletetheaction,thegoodsoutput.Vendingmachinesareelectromechanicalintegration,automationdevi
5、ces,stopreceivingmoneyunderthepremisehasbeenentered,bytouchingthecontrolbuttoninputsignaltothecontrollerstartsthelocationofmechanicalequipmentrelatedtocompletetheaction,thegoodsoutput.Whencustomersneedtobuyaproductwhenitpressedthecorrespondingkey,theLEDdis
6、playonthepriceofthegoods,thenthecustomerwillneedtoinvestmoneyslot,thedigitaldisplayontheamountofthecoin.WhenyoupresstheEnterkey,thenthevendingmachinewillbeputintothecurrencyandcommoditypriceswerecompared.Iftheamountinvestedenoughmoney,thenautomaticallysend
7、goods,andtheextramoneyback,inthedigitaltubedisplay.Ifthetwocurrenciesareequal,thensendgoodsdirectly.Iftheamountofmoneyinvestedislessthanthealarmtime,alarmtime,3seconds.WhencustomerspresstheEnterkeyoncefor3seconds,vendingmachineswillautomaticallyreverttothe
8、initialstate,thenthecustomercanpurchasethenextoperation.ThisdesignusesapreviouslylearnedPLCprogrammingdesign,referencedesignofelectroniccircuits.Keywords:vendingmachinePLCProgrammingIV专科生毕业设计(论文)目录第1章绪论11.1选题