常州机电职业技术学院
毕业设计(论文)
系部: 电气工程系
专业: 自动化(电气的运行与控制)
题目: 自动售货机的PLC控制
目录
摘要 4
绪论 6
自动售货机设计目的和意义 6
7
8
自动售货机设计的基本思路 9
第2章 PLC的概述 10
PLC的定义 10
PLC的简介 10
PLC的工作原理 10
PLC的循环扫描工作 11
PLC的编程语言 12
PLC的特点 12
13
第3章自动售货机PLC控制设计方案研究 15
15
1)机箱采用钢结构,有较高的防磁、防尘、防冲击的能力。 15
2)机箱内有专用底板,底板上又IPC和ISA插槽。 15
3)机箱内有专门电源,电源有较强的抗干扰能力。 15
4)要求具有长时间工作能力。 15
PLC自动售货控制系统 15
自动售货机设计的基本思路 16
自动售货机设计的主要内容 17
第4章自动售货机PLC控制(系统)设计 17
PLC各I/O地址分配 17
(LAD) 19
19
21
MCGS组态程序设计说明 28
、调试中出现的问题及解决方法 29
结论 31
致谢 32
参考文献 33
摘要
本文主要介绍了自动售货机的基本原理以及工作流程,然后以一次交易过程为例,把交易过程分为几个程序块,然后分别对程序块进行编程。具体的说明了可编程控制器在自动售货机中的作用。在接收到货币已输入的前提下,靠触摸或者控制按钮输入信号使控制器启动相关位置的机械装置完成规定动作,将货物输出。自动售货机是台机电一体化的自动化装置,再接收到货币已输入的前提下,靠触摸控制按钮输入信号使控制器启动相关位置的机械装置完成规定动作,将货物输出。当顾客按下需要买的商品所对应的按键时,数码管上显示出该商品的的价格,然后顾客需要将货币投入投币口,数码管上显示出所投币额。当按下确认键,则自动售货机将对投入的货币与商品的价格进行比较。如果投入的币额足够时,则自动送出商品,并且把多余的钱找回,在数码管上显示出来。如果两者币的相等,则直接送出商品。如果投入的币额不足时。
则报警,报警时间3秒。当顾客一旦按下确认键3秒后,自动售货机将自动恢复到初始状态,此时顾客才可以进行下一次购货操作。本次设计用到了以前学过的PLC编程设计,参考了电子电路的设计方法
关键字:自动售货机 PLC 编程
Abstract
This paper describes the basic principle of automatic vending machines and work processes, and then a course of dealing, for example, the transaction process is divided into several blocks, and then program the block respectively. Specific instructions of the programmable controller's role in the vending machines. Receiving the money has been entered under the premise of control buttons or by touching the input signal to the controller starts the location of the mechanical devices related plete the action, the goods output. Vending machines are electromechanical integration, automation devices, stop receiving money under the premise has been entered, by touching the control button input signal to the controller starts the location of mechanical equipment related plete the action, the goods output. W
自动售货机的PLC控制_毕业论文 来自淘豆网m.daumloan.com转载请标明出处.