《基于PLC自动售货机控制系统设计》由会员分享,可在线阅读,更多相关《基于PLC自动售货机控制系统设计(37页珍藏版)》请在金锄头文库上搜索。
1、成都理工大学工程技术学院毕业论文基于基于 PLC 自动售货机控制系统设计自动售货机控制系统设计作者姓名:郭静真专业名称:电气工程及其自动化指导教师:孙莉莉 讲师基于 PLC 自动售货机控制系统设计I摘要摘要自动售货机是现在日常生活中越来越普及的工具,是科技时代的必然产物,他解决了劳动力需求的同时还带给了人们智能化。它是集 声、光、机、电于一体的智能科技产物,进入 21 世纪,自动售货机也 将进一步向节省资源和能源以及高功能化的方向发展。使未来的自动 售货机不仅仅具有售货功能,而是更加多元化,及人性化;如:手机支付、 远程联机管理、个性的 LCD 广告显示屏、更节能。自动售货机的普及 在某种程度
2、上能反映一个国家的科技发展水平,是一个国家文明程度 的象征。实践和直觉告诉我们,自动售货机在中国的横空出世,必将 为国内的食品、香烟、饮料等诸多行业的发展带来新的契机,中国的 现代文明又将以自动售货机的应用和普及开启一个新的里程碑! 本次设计是把售货机分成上机位和下机位,主要介绍了上机位的 设计,上机位的控制系统是基于可编程控制器,然后以一次交易过程 为例,把交易过程分为四个状态,即初始状态,投币状态,购买状态 和退币状态。然后分别对程序块进行编程。具体说明了可编程序控制 器在自动售货机中的作用。在 PLC 梯形图的编写时,文中采用的 CX- programmer 作为程序编程软件来进行编写。
3、程序涉及到了自动售货机 工作的绝大部分过程。利用 PLC 控制的自动售货机提高了系统的稳定 性,保证自动售货机能够长期稳定运行。关键词:关键词:自动售货机 PLC CX-programmer基于 PLC 自动售货机控制系统设计IIAbstractThe vending machine is now in daily life is becoming more and more popular tool, is the inevitable product of the era of science and technology, he solved the labor demand also
4、brings people intelligent. It is a set of sound, light, machine, electricity in one intelligent technology products, to enter in twenty-first Century, vending machines will also be further saving resources and energy and high functional direction. Vending machines in the future not only with the sal
5、es function, but more diversified, and humanity; such as: mobile phone, remote on-line payment management, personalized LCD advertising display, energy saving. The vending machine popularization can reflect a countrys level of scientific and technological development to a certain extent, is a symbol
6、 of the degree of civilization of a country. Practice and intuition tells us, was born at a vending machine in China, will bring new opportunities for the development of domestic food, cigarettes, drinks and many other industries, Chinas modern civilization will be the vending machine application an
7、d popularization of opening a new milepost!This design is divided into upper and lower machine seat, mainly introduced the design of the flight control system, the position is based on programmable controller, and then to process a transaction, for example, the transaction process is divided into fo
8、ur states, namely, the initial state, the state, the purchase of state and coin state. Then block programming. Specify the programmable controller in the vending machine function. In the PLC trapezoidal chart compilation, CX-programmer uses the programming software to be written as. The procedure in
9、volved the vending machine work most of the process. To improve the system stability using the PLC control vending machine, the guarantee vending machines be able to long- term stable operation.Keywords: vending machine ,PLC ,CX-programmer基于 PLC 自动售货机控制系统设计III目录目录摘要.IAbstract.II 目录 .III 前言 .1 1 自动售货
10、机控制设计 .2 1.1 设计要求 .2 1.2 控制要求 .21.3 光传感器 .3 1.4 数码管显示 .5 1.5 货币的识别原理 .5 1.6 货币的贮存和退币 .5 2 自动售货机的硬件 .6 2.1 PLC 部分.6 2.2 LCD 部分 .6 2.3 GSM/GPRS 模块.7 2.4 电机的驱动部分和电机的 510 控制阵列 .7 3 PLC 的设计要求 .9 3.1 PLC 的应用选择.9 3.2 欧姆龙 CP1H 可编程控制器.12 3.2.1 CP1H 的特点.13 3.2.2 CP1H 基本功能.144 PLC 的程序设计 .15 4.1 余额比较过程 .17 4.2 投币过程 .