编号淮安信息职业技术学院毕业论文题目基于S7-200系列PLC的自动售货机系统的设计学生姓名XXX学号XXX院系XXX专业XXX班级XXX指导教师XXX顾问教师XXX二〇一四年六月摘要I摘要本论文设计的是基于西门子S7-200系列PLC构成的自动售货机监控系统,本文阐述了自动售货机的来源与发展,以及它在国内外发展的现状,对自动售货机的方案进行了论证,介绍了PLC的基本组成、特点以及工作原理,对基于西门子S7-200系列PLC构成的自动售货机系统整体设计过程进行较为细致的论述。文中详尽地介绍了自动售货机的各硬件组成,并完成了PLC外部接线图。在PLC梯形图的编写时,文中采用的是西门子PLC梯形图专用编译软件STEP7来进行编写。介绍了自动售货机的基本原理以及工作流程,然后以一次交易过程为例,把交易过程分为几个程序块,然后分别对程序块进行编程。具体说明了可编程序控制器在自动售货机中的作用。程序涉及到了自动售货机工作的绝大部分过程。利用PLC控制的自动售货机提高了系统的稳定性,保证自动售货机能够长期稳定运行。关键词:自动售货机、PLC、顺序功能图、梯形图、I/O点的分配AbstractIIAbstract(外语专业的需要)ThisthesisisthedesignofvendingmachinemonitorsystembasedonS7-200seriesPLCSiemensform,Thispaperdescribestheoriginanddevelopmentofvendingmachine,anditsdevelopmentstatusathomeandabroad,theschemedesignofvendingmachinesweredemonstrated,IntroducedthePLCbasiccomposition,characteristicsandworkprinciple,TheoveralldesignofthevendingmachinesystemcomposedofPLCS7-200seriesSiemensprocessbasedonamoredetaileddiscussion.Thepaperdescribesindetailthevarioushardwarecomponentsofvendingmachines,andcompletedthePLCexternalwiringdiagram.WhenPLCtrapezoidalchartcompilation,thispaperusesistheSiemensPLCladderspecialcompilersoftwareSTEP7towrite.Introducesthebasicprincipleandworkingprocessofautomaticvendingmachine,andthentoatransactionprocessasanexample,thetransactionprocessisdividedintoseveralblocks,Thentheblockprogramming.Specifytheprogrammablecontrollerinthevendingmachinefunction.Theprocedureinvolvedthevendingmachineworkmostoftheprocess.ToimprovethesystemstabilityusingthePLCcontrolvendingmachine,vendingmachinecanensurethelong-termstableoperation.Keywords:Thedistributionofthevendingmachine,PLC,sequentialfunctionchart,ladderdiagram,I/Opoint目录III目录摘要.............................................................................................................................IABSTRACT(外语专业的需要)..............................................................................II第一章绪论...................................................................................................................11.1自动售货机的理论背景.......................................................................................11.2自动售货机设计的主要内容...............................................................................11.3自动售货机设计的基本思路...............................................................................2第二章PLC的简述....................................................................................................32.1PLC的定义...........................................................................................................32.2PLC的简介...........................................................................................................32.3PLC的工作原理...................................................................................................42.4PLC的结构...........................................................................................................52.5PLC的特点...........................................................................................................62.6PLC的应用领域...................................................................................................6第三章自动售货机的简述.........................................................................................83.1自动售货机的简介...............................................................................................83.2自动售货机的组成...............................................................................................83.3自动售货机的未来发展.......................................................................................9第四章自动售货机模型PLC控制系统设计.........................................................134.1自动售货机设计软元件.....................................................................................134.1.1定时器...........................................................................................................134.1.2数学运算指令...............................................................................................134.2自动售货机的流程图.........................................................................................144.3自动售货机的基本功能.....................................................................................154.4梯形图(LAD).................................................................................................164.4.1什么是梯形图(LAD)...............................................................................164.4.2自动售货机程序...........................................................................................184.6系统的调试与检测.............................................................................................21第五章总结与展望...................................................................................................23致谢...........................................................................................................................25参考文献.......................................................................................................................26附录1自动售货机的程序..........................................................................................28第一章绪论1第一章