【正文】
ation field and the future trend of development of the vending machine ,Using PLC control vending machine, choose the right plan and make reasonable hardware selection, design and the I/O configuration, debugging input PC, determines the design scheme. This paper introduced in detail the vending machines, hardware position, and pleted PLC external hookup. Write in PLC ladder diagram, the paper USES is when mitsubishi PLC ladderdiagram special piled software to write. Introduces the basic principle of vending machine and the working process, specifying the programmable controller in the vending machine in the role. Program involves a vending machine work most of the process. Use of PLC controlled vending machines, improve the stability of the system, ensure the vending machine can have a longterm and stable operation. Keywords: vending machine,PLC,FX2N 基于 PLC 的自動售貨機控制 2 目錄 摘 要 ......................................................................................................................... 0 Abstract ..................................................................................................................... 1 緒論 ........................................................................................................................... 4 第 1 章 自動售貨機簡介 ......................................................................................... 5 自動售貨機的起源和發(fā)展 ......................................................................... 5 自動售貨機的發(fā)展現(xiàn)狀和發(fā)展前景 ........................................................ 6 第 2 章 可編程控制器 PLC 簡介 ........................................................................... 8 PLC 概述 .................................................................................................... 8 可編程控制器的產(chǎn)生和發(fā)展 .......................................................... 8 PLC 的發(fā)展前 景和主要品牌 ......................................................... 9 PLC 的工作原理 ...................................................................................... 10 PLC 的硬件組成 ........................................................................... 10 PLC 的工作原理 ........................................................................... 11 PLC 應(yīng)用的特點及編程語言 ....................................................... 12 第 3 章 硬幣驗鈔機構(gòu)及原理 ............................................................................... 14 硬幣驗鈔機構(gòu) ........................................................................................... 14 硬幣的識別原理 ....................................................................................... 14 第 4 章 自動售貨機的 PLC 程序設(shè)計 ................................................................. 17 硬件設(shè)計分析 .......................................................................................... 17 控制要求分析 ................................................................................ 17 I/O 點統(tǒng)計 ..................................................................................... 17 PLC 選擇 ....................................................................................... 18 CD4511 七段數(shù)碼管譯碼器 ......................................................... 18 軟件設(shè)計分析 .......................................................................................... 19 基于 PLC 的自動售貨機控制 3 I/O 分配表 ..................................................................................... 19 程序流程圖的編制 ........................................................................ 20 系統(tǒng)軟件設(shè)計梯形圖 ................................................................... 21 自動售貨機控制系統(tǒng)外部接線圖 ............................................... 22 第 5 章 仿真與分析 .................