2015届湖北汽车工业学院科技学院毕业设计(论文)
湖北汽车工业学院
毕 业 设 计(论 文)
基于PLC的自动售货机控制系统设
题 目:
计
系 别: 专 业: 班 级: 学生姓名: 学 号: 指导教师:
电气工程系 自动化 ***** ***** *********** 吴岳敏
2015届湖北汽车工业学院科技学院毕业设计(论文)
摘要
随着时代的进步,科技快速发展,工程中大量运用到PLC,PLC在各个领域有着不可或缺的一席之地,而且会有更好的发展。我国人口数量多,自动售货机在人们的生活中有着有来越重要的作用,从长远来看,自动售货机具有广阔的发展空间。这次设计的自动售货机为贩卖饮料的自动售货机,适合放在短时间人口流动比较大的地方,如快餐店,贩卖的商品性质很明确。首先可以通过与单片机和液压等控制的对比,来确定采用PLC控制自动售货机,然后再分析自动售货机的工作原理和结构,理解自动售货机的贩卖的过程,以便为硬件选择做好准备。通过分析自动售货机的功能作出硬件框图,根据硬件框图选择所需要的货币识别器、电动机、接触器和PLC。根据I/O分配表对PLC选型,并作出外部接线图。然后根据控制系统流程图编写适用自动售货机功能的程序。若购物后有剩余金额,则可按“退币”按钮退币。梯形图的编写利用GX Developer来完成,完成梯形图后可在三菱PLC仿真软件 GX Simulator 6c上进行调试和仿真。最后利用MCGS作出组态效果。组态仿真图中自动售货机包括投币口、退币口、按钮、取物口、指示灯等部分。
关键词: PLC; 自动售货机;梯形图; MCGS
2015届湖北汽车工业学院科技学院毕业设计(论文)
ABSTRACT
Along with the progress of the times, the rapid development of science and technology, the engineering application to PLC, PLC in every field has an indispensable place, and will have better development. China has a large population, and vending machine is more and more important in people's life. In the long run, the vending machine has a vast development space.. This design of vending machines for vending machines, suitable for the short time of the population flow of places, such as fast food shops, the commodity nature of the sale is clear. First by comparing with single chip microcomputer and hydraulic control, to determine the vending machine is controlled by PLC, and then analyze the structure and working principle of the automatic vending machine, vending machines selling process understanding, so as to the choice of hardware ready. By analyzing the function of the vending machine, the hardware block diagram is made, and the currency identifier, motor, contactor and PLC are selected according to the hardware block diagram.. According to the I/O distribution table, PLC selection and make the external wiring diagram. And then according to the control system flow chart to write the application of the vending machine function. If there is a surplus after shopping, you can press the coin button back currency. The ladder diagram of the preparation of the use of Developer GX to complete the ladder can be completed after the MITSUBISHI PLC simulation software Simulator 6C GX debugging and simulation. Finally, the configuration effect is made by MCGS. The vending machine configuration simulation diagram including the slot, coin mouth, buttons, lights and other parts, goods.
Keywords: vending machine; PLC; ladder diagram; MCGS
2015届湖北汽车工业学院科技学院毕业设计(论文)
目 录
第一章 绪论 ......................................................... - 1 -
1.1 自动售货机的研究背景及意义 .................................... - 1 - 1.2 研究自动售货机的目的 .......................................... - 2 - 1.3 本设计研究的内容 .............................................. - 2 - 第二章 功能分析 ..................................................... - 3 -
2.1 自动售货机主控单元的确定 ...................................... - 3 -
2.1.1 PLC的部分功能 ........................................... - 3 - 2.1.2 确定自动售货机的主控单元为PLC ........................... - 4 - 2.2 自动售货机的售货方法 .......................................... - 6 - 2.3 自动售货机的空间结构 .......................................... - 6 - 2.4 自动售货机的功能 .............................................. - 7 - 2.5 自动售货机的购物使用流程 ...................................... - 8 - 第三章 硬件部分 .................................................... - 10 -
3.1 控制电路硬件组成框图 ......................................... - 10 - 3.2 确定自动售货机使用的PLC类型 ................................. - 11 - 3.3 货币识别器选型 ............................................... - 14 -
3.3.1 硬币的识别原理 .......................................... - 14 - 3.3.2 纸币的识别原理 .......................................... - 15 - 3.4 自动售货机电机及其它选择 ..................................... - 16 - 第四章 软件设计 .................................................... - 17 -
控制系统 ......................................................... - 18 - 4.2 自动售货机的程序部分 ......................................... - 18 -
4.2.1 程序中用到的部分指令 .................................... - 18 - 4.2.2 自动售货机的控制程序 .................................... - 19 -
相关推荐: