设计简介
摘 要
随着现代社会科技和经济的飞速发展,人们已经迈进了一个高科技时代,同时人们也逐渐的学会享受生活,为了满足人们的生活追求,自动售货机开始迅速的普及。作为自动控制技术发展产物之一的PLC无人自动售货机,在人们的日常生活中已经得到了广泛的应用,已成为一种全新的商业零售形式。同时经济的快速增长使的人们的消费水平不断提高,大量的消费品被生产出来,这需要大量的物品流通渠道来消费这些生产出来的消费品,在以前主要是通过超级市场来销售,但现在自动售货机使人们多了一种选择。它的出现使消费模式和销售环境发生了巨大的变化,相对于超级市场、百货购物中心等销售模式而言,无人自动售货机没有场地上的局限,而且购物便利。
本文简要介绍了课题研究的意义,自动售货机在国内外的研究动态,主要设计的是基于西门子S7-200 系列PLC构成的自动售货机控制系统,包括自动售货机控制系统硬件设计,软件的设计,I/O分配,系统控制流程图,PLC梯形图程序的编写和系统梯形图的调试仿真。
关键词: PLC; 自动售货机控制系统; 梯形图; 调试
ABSTRACT
With the development of the modern technology and society's rapid economic, people have entered an era of high technology, but it also gradually learn to enjoy life, to pursue in order to meet people's lives, vending machines began to spread rapidly. Automatic control technology development as one of the products of the PLC unattended vending machines, in people's daily life has been widely used, has become a new form of commercial retail. While rapid economic growth has enabled the continuous improvement of people's consumption level, a large number of consumer goods were produced, which requires a large number of items to consume these distribution channels produced consumer goods, in the past mainly through supermarkets to sell, but now vending freighter make people more of a choice. It appears that consumption patterns and sales environment has undergone tremendous change, as opposed to supermarkets, department stores, shopping centers, sales model, nobody no vending machines on site limitations and shopping convenience.
This article briefly describes the significance of the research, the research of the vending machine at home and abroad, the main design is design a vending machines control system consisting of PLC based on Siemens S7-200 series, including vending machine control system hardware design, software design , I / O assignment, the flow of the system control, write the PLC ladder program and the debug simulation of the system ladder.
Keywords: PLC; vending machine control system; ladder; debugging
目 录
摘 要 III
ABSTRACT IV
绪论 6
1.1 课题研究的意义 6
1.2 国内外研究动态 6
2. 自动售货机控制系统的整体设计方案 8
2.1 自动售货机的工作原理 8
2.2 自动售货机设计的基本思路 8
2.3 自动售货机控制系统设计的基本内容 8
2.3.1 主要内容 8
2.3.2 拟解决的关键性问题 8
2.4 自动售货机控制系统设计的步骤 9
3. 自动售货机控制系统硬件的设计 10
3.1 自动售货机的控制要求分析 10
3.2 PLC型号的选择 10
3.2.1 PLC的概念 10
3.2.2 PLC的工作原理 14
3.2.3 PLC的循环扫描 15
3.2.4 PLC的硬件组成 15
4. 自动售货机控制系统软件的设计 16
4.1 PLC软件系统设计的方法 16
4.2 I/O口的分配 16
4. 3 自动售货机控制流程图设计 17
4.4 自动售货机控制梯形图程序的设计 17
4.4.1 计币部分设计 17
4.4.2 比较部分设计 18
4.4.3 选择部分设计 19
4.4.4 余额计算部分设计 19
5. 自动售货机控制系统的调试 28
5.1 系统的仿真调试 28
5.2 系统调试的方法 28
5.3系统仿真运行分析 29
结论 30
致 谢 31
参考文献 32
ABSTRACT IV
绪论 6
1.1 课题研究的意义 6
1.2 国内外研究动态 6
2. 自动售货机控制系统的整体设计方案 8
2.1 自动售货机的工作原理 8
2.2 自动售货机设计的基本思路 8
2.3 自动售货机控制系统设计的基本内容 8
2.3.1 主要内容 8
2.3.2 拟解决的关键性问题 8
2.4 自动售货机控制系统设计的步骤 9
3. 自动售货机控制系统硬件的设计 10
3.1 自动售货机的控制要求分析 10
3.2 PLC型号的选择 10
3.2.1 PLC的概念 10
3.2.2 PLC的工作原理 14
3.2.3 PLC的循环扫描 15
3.2.4 PLC的硬件组成 15
4. 自动售货机控制系统软件的设计 16
4.1 PLC软件系统设计的方法 16
4.2 I/O口的分配 16
4. 3 自动售货机控制流程图设计 17
4.4 自动售货机控制梯形图程序的设计 17
4.4.1 计币部分设计 17
4.4.2 比较部分设计 18
4.4.3 选择部分设计 19
4.4.4 余额计算部分设计 19
5. 自动售货机控制系统的调试 28
5.1 系统的仿真调试 28
5.2 系统调试的方法 28
5.3系统仿真运行分析 29
结论 30
致 谢 31
参考文献 32


