【正文】
PLC 外圍接線圖 ....................................................................................................................... 23 自動(dòng)售貨機(jī)模擬操作面板 ...................................................................................................... 24 第六章 總結(jié) ...................................................................................................................................... 25 個(gè)人總結(jié) ................................................................................................................................... 25 致謝 ........................................................................................................................................... 25 參考文獻(xiàn) .............................................................................................................................................. 26 附錄 外文資料 ................................................................................................................................... 27 緒 論 自動(dòng)售貨機(jī)的理論背景與實(shí)際意義 自動(dòng)售貨機(jī)是一種全新的商業(yè)零售形式, 20 世紀(jì) 70 年代自日本和歐美發(fā)展起來(lái)。利用 PLC 控制的自動(dòng)售貨機(jī)提高了系統(tǒng)的穩(wěn)定性,保證自動(dòng)售貨 機(jī)能夠長(zhǎng)期穩(wěn)定運(yùn)行。在 PLC 梯形圖的編寫時(shí),文中采用的是西門子 PLC 梯形圖專用編譯軟件 STEP7 來(lái)進(jìn)行編寫。 文中詳盡地介紹了自動(dòng)售貨機(jī)的各硬件組成,并完成了 PLC 外部接線圖。程序涉及到了自動(dòng)售貨機(jī)工作的絕大部分過(guò)程。 The I/O point distribution。 在中國(guó) ,自動(dòng)售貨機(jī) 1999 年開(kāi)始進(jìn)人中國(guó)市場(chǎng).如今,在機(jī)場(chǎng)、地鐵、商場(chǎng)、公園等客流較大的場(chǎng)所,已不難發(fā)現(xiàn)自動(dòng)售貨機(jī)的身影。但由于售貨機(jī)分布零散、范圍廣闊的特點(diǎn),自動(dòng)售貨機(jī)在為消費(fèi)者帶來(lái)方便的同時(shí),也為經(jīng)營(yíng)者在監(jiān)控、管理、維護(hù)等方面帶來(lái)很大的不便。 自動(dòng)售貨機(jī)設(shè)計(jì)的主要內(nèi)容 ; ( 2 分鐘)不按任何按鍵,自動(dòng)售貨機(jī)將退還所投硬幣; ,對(duì)應(yīng)的物品指示燈亮綠燈; 綠燈時(shí),按下相應(yīng)的按鍵,相應(yīng)的物品排出,同時(shí)指示燈綠燈閃爍; ,自動(dòng)售貨機(jī)會(huì)自動(dòng)將余款退還顧客; ( 20 秒)無(wú)操作,自動(dòng)售貨機(jī)會(huì)自動(dòng)將余款退還顧客; ,按下退款按鍵,自動(dòng)售貨機(jī)會(huì)自動(dòng)將余款退還顧客; ,對(duì)應(yīng)的物品指示燈亮紅燈,顧客按下相應(yīng)的按鍵無(wú)反應(yīng)(不出物品,不減余額),并向總部發(fā)送所缺物品的信息。首先就得根據(jù)設(shè)計(jì)內(nèi)容和控制要求準(zhǔn)確畫出它的順序功能圖,再根據(jù)所畫出的順序功能圖準(zhǔn)確設(shè)計(jì)出它的梯形圖,這樣才能真正理解本次自動(dòng)售貨機(jī)的控制原理。 自動(dòng)售貨機(jī) 解放了人力,方便了生活,創(chuàng)造了效益,方便廣大的市民 。硬件主要由中央處理器 CPU、存貯器、輸入 /輸出單元以及編程器、電源和智能輸入 /輸出單元等構(gòu)成。 PLC 總的發(fā)展趨勢(shì)是向高集成度、小體積、大容量、高速度、易使用、高性能方向發(fā)展。 PLC及其有關(guān)的外圍設(shè)備都應(yīng)該按易于與工業(yè)控制系統(tǒng)形成一個(gè)整體,易于擴(kuò)展其功能的原則而設(shè)計(jì)。日立、東芝、橫河、立石、光洋、夏普等公司。 PLC 的工作原理 PLC 的工作原理與計(jì)算機(jī)的工作原理基本是一致的,可以簡(jiǎn)單地表述為在系統(tǒng)程序的管理下,通過(guò)運(yùn)行應(yīng)用程序完成用戶任務(wù)。 PLC 的掃描全過(guò)程如圖 22 所示。 ( 3) 輸出刷新階段 當(dāng)所有指令執(zhí)行完畢后,將輸出狀態(tài)寄存器中的內(nèi)容,依次送到輸出鎖存電路,并通過(guò)一定輸出方式輸出,驅(qū)動(dòng)外部相應(yīng)執(zhí)行元件工作,這才形成 PLC 的實(shí)際輸出。它提供的編程語(yǔ)言通常有以下 5 種:梯形圖( LAD)、語(yǔ)句表( STL)、順序功能圖( SFC)、功能塊圖( FBD)和結(jié)構(gòu)文本( ST)。 ( 4)功能完善 在 PLC 內(nèi)部具有許多控制功能,諸如時(shí)序、計(jì)算機(jī)、主控繼電器以及移位寄存器、中間寄存器等。 ( 8)可實(shí)現(xiàn)三電一體化 PLC 將電控(邏輯控制)、電儀(過(guò)程控制)和電結(jié)(運(yùn)動(dòng)控制)這三電集于一體。定時(shí)器指令表見(jiàn)表 31。 在實(shí)際生活中,我們見(jiàn)到的售貨機(jī)可以銷售一些簡(jiǎn)單的日用品,如飲料、常用藥品和小的生活保健用品等。當(dāng)按下選擇 A 商品的價(jià)格時(shí),售貨機(jī)進(jìn)行減法運(yùn)算,從投入的貨幣總值中減去 A商品的價(jià)格同時(shí)啟動(dòng)相應(yīng)的電機(jī),提取 A 號(hào)商品到出貨口。 自動(dòng)售貨機(jī) I/O 點(diǎn)的分配 輸入 /輸出單元通常也稱 I/O 單元或 I/O 模塊,是 PLC 與工業(yè)生產(chǎn)現(xiàn)場(chǎng)之間的連接部件。順序功能圖提供了一種組織程序的圖形方法,在順序功能圖中允許和別的語(yǔ)言編程的程序嵌套。 梯形圖語(yǔ)言是在傳統(tǒng)電器控制系統(tǒng)中常用的接觸器、繼電器等圖形表達(dá)符號(hào)的基礎(chǔ)上演變而來(lái)的。 在梯形圖中,有兩根豎直的直線,被稱為母線,現(xiàn)在很多 PLC 只 保留了左邊的母線,而把右邊的母線略去不寫。如果沒(méi)有能流,則線圈未被激勵(lì),“能流”在任何時(shí)刻都不會(huì)通過(guò)接點(diǎn)自右向左流。網(wǎng)絡(luò) 2是一元信號(hào)到加十。網(wǎng)絡(luò) 6 是當(dāng)余額大于或等于五角時(shí),如果沒(méi)按下食品五角按鍵,則食品五角綠燈常亮。同理,網(wǎng)絡(luò) 8 至網(wǎng)絡(luò) 12 是食品一元控制程序,網(wǎng)絡(luò) 13 至網(wǎng)絡(luò) 17 是飲料一元控制程序,網(wǎng)絡(luò)18 至網(wǎng)絡(luò) 22 是飲料兩元控制程序,網(wǎng)絡(luò) 23 至網(wǎng)絡(luò) 27 是日用兩元控制程序,網(wǎng)絡(luò) 28 至網(wǎng)絡(luò) 32 是日用三元控制程序。網(wǎng)絡(luò) 3 37 分別是找五角、找一元。一個(gè)平??此坪?jiǎn)單使用方便的自動(dòng)售貨機(jī),其實(shí)并不是那么容易就做成的。經(jīng)過(guò)多次修改以及調(diào)試,我們最終獲得成功,實(shí)現(xiàn)了預(yù)期的功能。 自動(dòng)售貨機(jī)是由于勞動(dòng)密集型的產(chǎn)業(yè)構(gòu)造 向技術(shù)密集型社會(huì)轉(zhuǎn)變的產(chǎn)物。 通過(guò)本次課程設(shè)計(jì),我的收獲很大,對(duì) PLC 的編程有了更進(jìn)一步的掌握,增加了我的實(shí)踐動(dòng)手能力。再次,感謝指導(dǎo)老師的幫助,在設(shè)計(jì)過(guò)程中遇到難題時(shí),指導(dǎo)老師總是耐心的提供幫助,在這里向老師表示由衷地感謝?,F(xiàn)代電氣控制及 PLC 應(yīng)用技術(shù) . 可編程控制器原理及應(yīng)用電器與 PLC 控制技術(shù)北京:機(jī)械工業(yè)出版社, 2021 【 8】 宋繼玉北京:中國(guó)勞動(dòng)出版社, 1998 【 10】 嚴(yán)盈富t satisfied with the current manufacturing industry foreground, also can39。s machine bine, for resolve the very plicated problem to look for the best path We e in sight of the control that links after the electric appliances in various situation, that is already the that time generation past, now of after use in the mold a perhaps simple equipments of grassroots control that the electric appliances can do for the low level only。 The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to bee tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and dates, the ROM can do deposit of the data permanence in the saving machine, but RAM only for the CPU putes the temporary calculation usage of hour of buffer space. The PLC anti interference is very and excellent, our root need not concern its service life and the work situation bad, these all problems have already no longer bee the topic that we fail, but stay to our is a concern to e to internal resources of make use of the PLC to strengthen the control ability of the equipments for us, make our equipments more gentle. PLC language is not we imagine of edit collected materials the language or language of Cs to carry on weaving the distance, but the trapezoid diagram that the adoption is original after the electric appliances to control, make the electrical engineering teacher while weaving to write the procedure very easy prehended the PLC language, and a lot of non electricity professional also very quickly know and go deep into to the PLC. Is PLC one of the advantage above and only, this is also one part that the people prehend more and easily, in a lot of equipments, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easiest, small is not a main error perhaps you can still accept。 to be good very. At a lot of situations, the list is a smooth movement that can39。 A work of half is also 2 and can send out similar to accept the data, but can39。t do other works. When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and bine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo e together knock on door to have a conversation, after dialogue plete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initi