- 14
- 0
- 约1.94万字
- 约 61页
- 2016-05-19 发布于湖北
- 举报
毕业设计说明书
题 目:基于PLC和组态的自动售货机系统 学院(直属系): 机械工程与自动化学院
年级专业: 09级机械电子工程
姓 名: 杨潞
学 号: 332009010607139
指 导 教 师: 饶 莉
完 成 时 间: 2013年5月30日
摘 要
本设计主要应用了大学期间所学习的CAD、PLC、力控组态等知识,完成对自动售货机系统的控制和监控模拟。文章首先对各功能组件的结构进行设计,包括进币结构的设计、出货机构的设计和退币机构的设计等,接着利用西门子PLCS7200来实现对整个系统的控制,包括CPU的选型及模块配置、主电路的设计和控制电路的设计等,最后运用力控组态软件实现了自动售货机交易的真实画面和环境的监控模拟。基于PLC的自动售货系统稳定性好,能实现长期的稳定运行。
【关键词】自动售货机;组态;PLC;编程;模拟
Abstract
CAD, PLC and the power control configuration of such knowledge are mainly used in this design. The vending machine system for control and monitoring is completed. This paper introduces the design of each function module structure design. It includes shipping structure design, the coin structure design and refund mechanism design. PLC of S7200 is used to realize to control the entire system. It is includes the selection and design of module configuration, the main circuit of CPU and control circuit design. The use of Sunwayland software is used to realize the monitoring of vending machine business reality and environment simulation. Based on PLC ,the stability of vending system achieve a stable long-term operation.
Key words: the vending machine; configuration; PLC; programming; simulate
目 录
1前言 3
1.1自动售货机的设计背景 3
1.2 国内外自动售货机的研究现状 3
1.3 自动售货机设计的主要工作 4
2系统的总体方案 6
2.1工艺过程 6
2.2 系统的总体方案 7
3系统结构的设计 9
3.1 纸币进币机构的设计 9
3.2 出货机构的设计 11
3.3 硬币的入口机构和退硬币机构的设计 12
4硬件电路的设计 14
4.1 PLC的选型及其模块配置 14
4.2 主电路的设计 18
4.3 控制电路的设计 19
5 PLC程序的设计及仿真 22
5.1 PLC程序的设计 22
5.1.1主程序的设计 22
5.1.2 进币程序的设计 23
5.1.3 钱币进入钱包程序的设计 24
5.1.4 币值比较对应可选商品程序的设计 25
5.1.5 选择商品程序的设计 26
5.1.6 退币程序的设计 27
5.2 PLC程序仿真 28
6 监控组态设计 32
6.1组态程序的设计 32
6.1.1建立工程 32
6.1.2创建点 32
6.1.3定义I/O 设备 34
6.1.4 创建窗口 36
6.2 自动售货机状态模拟实现 37
6.2.1 关于脚本的介绍 37
6.2.2 商品出货动画界面的设计 42
6.2.3 投纸币动画界面的设计 44
6.2.4 投纸币动画界面的设计 48
6.2.5 商品选择按钮动画界面的设计 50
6.2.6自动售货机整体界面的设计 51
结 论 54
总结与体会 55
致 谢 56
参考文献 57
附录一 电气原理图 58
附录二 PLC 程序 58
附录三 PLC组态联机程序 58
附录四 部分组态联机图 58
1前言
1.1自动售货机的设计背景
自动售货机
原创力文档

文档评论(0)