【正文】
.................................................................20 I/O分配表..................................................................................................................21 硬件接線圖................................................................................................................22 .....................................................................................................................23第5章 系統(tǒng)調試............................................................................................................................27 調試設備...........................................................................................................................27 調試步驟...........................................................................................................................27第6章 心得體會(致謝)............................................................................................................29參考文獻.........................................................................................................................................30附表一: 梯形圖............................................................................................................................31附表二: 指令表............................................................................................................................35 摘 要在今天的工業(yè)生產中,可編程邏輯控制器(PLC)已經成為實現工業(yè)自動化的關鍵。本文簡要介紹了有關可編程邏輯控制器的一些基礎知識和簡單的應用,而且還介紹了PLC的技術特點,并重點在硬件、軟件和組態(tài)軟件方面進行了介紹,對他們在工業(yè)自動化中的典型應用、最新的技術發(fā)展趨勢也做了介紹。自動售貨機在中國有著廣闊的發(fā)展前景,文中介紹了自動售貨機的發(fā)展歷史和現狀。在這次的畢業(yè)設計中,我查閱了大量的資料,以PLC原理為基礎設計了自動售貨機系統(tǒng)。按照自動售貨機的工作方式,把一次交易過程分為:運行初期清零過程、投幣過程、價格比較過程、選擇商品過程、退幣過程。利用梯型圖編制各個過程的程序完成了設計的基本要求。 關鍵詞:自動售貨機;可編程邏輯控制器。 ABSTRACTIn today39。s industrial production, programmable logic controller (PLC) has bee the key to realize industrial automation. This paper briefly introduces the programmable logic controller some basic knowledge and simple application, but also introduces the technical characteristics of PLC, and mainly in hardware, software and configuration software are introduced, the typical application in industrial automation, the latest technology development trend is also introduced. Vending machine in China has a wide development prospect, this paper introduces the vending machine development history and current situation. In this graduation design, I refer to a large amount of material, with PLC principle for foundation design the vending machine system. According to the vending machine working way, a transaction process is divided into: early operation period reset process, coin process, price parison process, choose goods process, return money process. Use of ladder type planning each process procedures pleted the basic requirements of design.Keywords:Vending machine。Programmable logic controller.第1章 任務與要求本課題采用三菱PLCFX2N32MR對飲料飲料自動售貨機控制系統(tǒng)進行設計,首先對飲料飲料自動售貨機結構進行簡單介紹,然后根據系統(tǒng)的設計要求對飲料自動售貨機控制系統(tǒng)、檢測系統(tǒng)進行分析,給出飲料自動售貨機控制系統(tǒng)的總體設計思路,并通過I/O列表、I/O接線圖、梯形圖、指令表等對其控制系統(tǒng)進行了程序設計,控制程序經上機調試運行,其結果基本符合要求。 設計內容與要求1)簡單介紹飲料自動售貨機結構;2)分析飲料自動售貨機的控制系統(tǒng)、檢測系統(tǒng),確定其控制系統(tǒng)的總體設計思路;3)采用FX2N系列PLC作為飲料自動售貨機控制PLC,正確選取PLC型號,設計出其控制程序。4)控制程序上機調試。5)所設計的飲料自動售貨機控制程序,應符合飲料自動售貨機運行規(guī)則。如飲料自動售貨機收到識幣信號后,自動進行累計、外部金額顯示、顧客按鍵后自動推出商品和發(fā)出退幣找零等信號的電控系統(tǒng)。6)設計說明書要有硬件原理連接圖,I/O分配圖,程序梯形圖、指令表及相應的說明。要求文字流暢,圖形清晰,便于閱讀。有條件的設計方案要求在實驗室驗證其正確性。 FX2N32MR產品說明: FX系列PLC擁有無以匹及的速度,高級的功能邏輯選件以及定位控制等特點; FX2N