【正文】
安徽汽車職業(yè)技術學院 畢業(yè)設計 自動售貨機 (飲水機 )的 PLC 系統(tǒng)設計 班 級: 1020班 專 業(yè): 機電一體化 姓 名: 學 號: 指導教師: XXXXXXX 2021 年 10 月 摘 要 本論文設計的是 基于 西門子 S7200 系列 PLC 構成的自動售貨機控制系統(tǒng),本文闡述了自動售貨機的來源與發(fā)展,以及它在國內外發(fā)展的現(xiàn)狀,對自動售貨機的方案進行了論證,介紹了 PLC 的基本組成 、特點以及工作原理,對 基于 西門子 S7200 系列 PLC 構成的自動售貨機系統(tǒng)整體設計過程進行較為細致的論述。 文中詳盡地介紹了自動售貨機的各硬件組成,并完成了 PLC 外部接線圖。在 PLC 梯形圖的編寫時,文中采用的是西門子 PLC 梯形圖專用編譯軟件 STEP7 來進行編寫。介紹了自動售貨機的基本原理以及工作流程去幫助大家理解,然后把程序分為幾個程序塊,分別對程序塊進行編程。具體說明了可編邏輯控制器在自動售貨機中的作用。程序涉及到了自動售貨機工作的絕大部分過程。利用 PLC 控制的自動售貨機提高了系統(tǒng)的穩(wěn)定性,保證自動售貨 機能夠長期穩(wěn)定運行。 關鍵詞 : PLC;梯形圖; I/O 點的分配;自動售貨機 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 自動售貨機的理論背景與實際意義 .........................................................................................4 自動售貨機設計的主要內容 .....................................................................................................4 自動售貨機設計的基本思路 .....................................................................................................4 第一章 引言 .........................................................................................................................................6 本設計的意義 ..............................................................................................................................6 認識 PLC ....................................................................................................................................6 第二章 PLC的概述 .............................................................................................................................7 PLC 的定義 ..................................................................................................................................7 PLC 的簡介 ..................................................................................................................................7 PLC 的工作原理 ..........................................................................................................................7 PLC 的循環(huán)掃描工作 ..................................................................................................................8 PLC 的硬件組成 ..........................................................................................................................9 PLC 的編程語言 ..........................................................................................................................9 PLC 的特點 ..................................................................................................................................9 第三章 自動售貨機的設計 .............................................................................................................11 自動售貨機設計軟元件 ...........................................................................................................11 定時器 ................................................................................................................................11 數(shù)學運算指令 ....................................................................................................................11 自動售貨機的基本功能 .......................................................................................................... 12 自動售貨機 I/O點的分配 ...................................................................................................... 12 順序功能圖( SFC) ............................................................................................................... 13 梯形圖( LAD) ...................................................................................................................... 13 什么是梯形圖( LAD) ................................................................................................... 13 自動售貨機設計的梯形圖( LAD) .............................................................................. 14 第四章 工藝流程和工作過程分析 ................................................................................................ 22 工藝流程 ................................................................................................................................... 22 工作過程分析 ........................................................................................................................... 22 第五章 硬件設計 ...................................................................................