文档介绍:基于PLC控制的自动售货机
摘要
本文设计一套基于PLC的自动售货机控制系统,阐述了自动售货机的发展背景与前景,详细分析其功能和特点,提出了总体设计方案;选用型号为L293D的步进驱动电机,设计了平面式贮币、电磁阀退币的货币处理装置,双螺旋式的送出机构,为降低成本和开发周期,创造性的选用了集成键盘、显示、设置功能的控制面板;以三菱FX2N-32MR型PLC为主控制器,基于FXGP/WIN-C编程软件,采用顺序控制的程序设计思路,设计了系统控制程序,包括投币程序、比较选择购买程序和退币程序。
该设计提高了自动售货机的可靠性和执行效率,且系统维护容易,维修简单,有一定的市场推广价值。
关键词:自动售货机,可编程序控制器,梯形图
Based on PLC automatic vending machine system design
ABSTRACT
Chooses PC machine in the design to take the host workstation on position machine, the lower position machine uses PLC to make the controller, three PLC controllers respectively be from the workstation 1, from the workstation 2, from the workstation 3, in the article exhaustively introduced the automat various position, and pleted the PLC exterior wiring diagram. In the article has manufactured on the position machine user management contact surface.
The present paper key point places the PLC various hardware part the design and the introduction, the PLC trapezoidal chart Defers to in the overall design process “asks the question, the analysis question, solves the problem” the guiding ideology, has made the careful elaboration to the overall system design work.
KEY WORDS: the vending machine, Programmable controller, Ladder diagram
目录
第1章绪论 1
1
2
2
3
第2章自动售货机硬件结构设计 4
4
4
7
7
10
显示装置 10
本章小结 11
第3章总体设计方案 12
12
12
13
13
PLC控制系统设计编程要求及基本原则 14
14
15
系统硬件结构框图 16
第4章自动售货机控制系统设计 18
18
PLC选型 18
18
19
I/O点估算和PLC选型 20
I/O地址设计 21
流程设计 22
24
程序设计 25
25
投币程序 26
26
27
27
28
29
第5章仿真 30
30
具体事例的分析 31
结论 38
参考文献 39
致谢 40
附录 41
第1章绪论
自动售货机是可完成无人自动售货,集光、