【正文】
安徽汽車職業(yè)技術(shù)學(xué)院 畢業(yè)設(shè)計(jì) 自動(dòng)售貨機(jī) (飲水機(jī) )的 PLC 系統(tǒng)設(shè)計(jì) 班 級(jí): 1020班 專 業(yè): 機(jī)電一體化 姓 名: 學(xué) 號(hào): 指導(dǎo)教師: XXXXXXX 2021 年 10 月 摘 要 本論文設(shè)計(jì)的是 基于 西門子 S7200 系列 PLC 構(gòu)成的自動(dòng)售貨機(jī)控制系統(tǒng),本文闡述了自動(dòng)售貨機(jī)的來源與發(fā)展,以及它在國內(nèi)外發(fā)展的現(xiàn)狀,對(duì)自動(dòng)售貨機(jī)的方案進(jìn)行了論證,介紹了 PLC 的基本組成 、特點(diǎn)以及工作原理,對(duì) 基于 西門子 S7200 系列 PLC 構(gòu)成的自動(dòng)售貨機(jī)系統(tǒng)整體設(shè)計(jì)過程進(jìn)行較為細(xì)致的論述。 文中詳盡地介紹了自動(dòng)售貨機(jī)的各硬件組成,并完成了 PLC 外部接線圖。在 PLC 梯形圖的編寫時(shí),文中采用的是西門子 PLC 梯形圖專用編譯軟件 STEP7 來進(jìn)行編寫。介紹了自動(dòng)售貨機(jī)的基本原理以及工作流程去幫助大家理解,然后把程序分為幾個(gè)程序塊,分別對(duì)程序塊進(jìn)行編程。具體說明了可編邏輯控制器在自動(dòng)售貨機(jī)中的作用。程序涉及到了自動(dòng)售貨機(jī)工作的絕大部分過程。利用 PLC 控制的自動(dòng)售貨機(jī)提高了系統(tǒng)的穩(wěn)定性,保證自動(dòng)售貨 機(jī)能夠長期穩(wěn)定運(yùn)行。 關(guān)鍵詞 : PLC;梯形圖; I/O 點(diǎn)的分配;自動(dòng)售貨機(jī) Abstract This graduation design is based on Siemens S7200 series PLC constitute a vending machine control system. The design describes the vending machine source and development, and its development both at home and abroad and the present condition of the vending machine scheme are discussed. The PLC basic position, characteristics and working principle be introduced. Detailed discussion is based on Siemens S7200 series PLC constitute a vending machine system overall design process. It is a detailed description of the vending machine of the hardware position and pleted PLC exterior wiring diagram in this graduation design. During the writing of the PLC ladder diagram, this paper uses is Siemens PLC ladder diagram special pile software article introduces the basic principle of the vending machine and the working process to help you depth of understanding, and then the program is divided into several blocks, to block respectively for programming. The programmable logic controller is specified in the role of the vending machine. Program involving vending machine work most of the process. Using PLC automatic vending machine improves the system39。s stability, which ensures the vending machine can have a longterm stable operation. Keywords: PLC: Ladder diagram。 The I/O point distribution。 vending machine 目 錄 摘 要 .....................................................................................................................................................2 緒 論 .......................................................................................................................................................4 自動(dòng)售貨機(jī)的理論背景與實(shí)際意義 .........................................................................................4 自動(dòng)售貨機(jī)設(shè)計(jì)的主要內(nèi)容 .....................................................................................................4 自動(dòng)售貨機(jī)設(shè)計(jì)的基本思路 .....................................................................................................4 第一章 引言 .........................................................................................................................................6 本設(shè)計(jì)的意義 ..............................................................................................................................6 認(rèn)識(shí) PLC ....................................................................................................................................6 第二章 PLC的概述 .............................................................................................................................7 PLC 的定義 ..................................................................................................................................7 PLC 的簡介 ..................................................................................................................................7 PLC 的工作原理 ..........................................................................................................................7 PLC 的循環(huán)掃描工作 ..................................................................................................................8 PLC 的硬件組成 ..........................................................................................................................9 PLC 的編程語言 ..........................................................................................................................9 PLC 的特點(diǎn) ..................................................................................................................................9 第三章 自動(dòng)售貨機(jī)的設(shè)計(jì) .............................................................................................................11 自動(dòng)售貨機(jī)設(shè)計(jì)軟元件 ...........................................................................................................11 定時(shí)器 ................................................................................................................................11 數(shù)學(xué)運(yùn)算指令 ....................................................................................................................11 自動(dòng)售貨機(jī)的基本功能 .......................................................................................................... 12 自動(dòng)售貨機(jī) I/O點(diǎn)的分配 ...................................................................................................... 12 順序功能圖( SFC) ............................................................................................................... 13 梯形圖( LAD) ...................................................................................................................... 13 什么是梯形圖( LAD) ................................................................................................... 13 自動(dòng)售貨機(jī)設(shè)計(jì)的梯形圖( LAD) .............................................................................. 14 第四章 工藝流程和工作過程分析 ................................................................................................ 22 工藝流程 ................................................................................................................................... 22 工作過程分析 ........................................................................................................................... 22 第五章 硬件設(shè)計(jì) ...................................................................................