【正文】
PLC 外圍接線圖 ....................................................................................................................... 23 自動售貨機模擬操作面板 ...................................................................................................... 24 第六章 總結 ...................................................................................................................................... 25 個人總結 ................................................................................................................................... 25 致謝 ........................................................................................................................................... 25 參考文獻 .............................................................................................................................................. 26 附錄 外文資料 ................................................................................................................................... 27 緒 論 自動售貨機的理論背景與實際意義 自動售貨機是一種全新的商業(yè)零售形式, 20 世紀 70 年代自日本和歐美發(fā)展起來。利用 PLC 控制的自動售貨機提高了系統(tǒng)的穩(wěn)定性,保證自動售貨 機能夠長期穩(wěn)定運行。在 PLC 梯形圖的編寫時,文中采用的是西門子 PLC 梯形圖專用編譯軟件 STEP7 來進行編寫。 文中詳盡地介紹了自動售貨機的各硬件組成,并完成了 PLC 外部接線圖。程序涉及到了自動售貨機工作的絕大部分過程。 The I/O point distribution。 在中國 ,自動售貨機 1999 年開始進人中國市場.如今,在機場、地鐵、商場、公園等客流較大的場所,已不難發(fā)現(xiàn)自動售貨機的身影。但由于售貨機分布零散、范圍廣闊的特點,自動售貨機在為消費者帶來方便的同時,也為經(jīng)營者在監(jiān)控、管理、維護等方面帶來很大的不便。 自動售貨機設計的主要內(nèi)容 ; ( 2 分鐘)不按任何按鍵,自動售貨機將退還所投硬幣; ,對應的物品指示燈亮綠燈; 綠燈時,按下相應的按鍵,相應的物品排出,同時指示燈綠燈閃爍; ,自動售貨機會自動將余款退還顧客; ( 20 秒)無操作,自動售貨機會自動將余款退還顧客; ,按下退款按鍵,自動售貨機會自動將余款退還顧客; ,對應的物品指示燈亮紅燈,顧客按下相應的按鍵無反應(不出物品,不減余額),并向總部發(fā)送所缺物品的信息。首先就得根據(jù)設計內(nèi)容和控制要求準確畫出它的順序功能圖,再根據(jù)所畫出的順序功能圖準確設計出它的梯形圖,這樣才能真正理解本次自動售貨機的控制原理。 自動售貨機 解放了人力,方便了生活,創(chuàng)造了效益,方便廣大的市民 。硬件主要由中央處理器 CPU、存貯器、輸入 /輸出單元以及編程器、電源和智能輸入 /輸出單元等構成。 PLC 總的發(fā)展趨勢是向高集成度、小體積、大容量、高速度、易使用、高性能方向發(fā)展。 PLC及其有關的外圍設備都應該按易于與工業(yè)控制系統(tǒng)形成一個整體,易于擴展其功能的原則而設計。日立、東芝、橫河、立石、光洋、夏普等公司。 PLC 的工作原理 PLC 的工作原理與計算機的工作原理基本是一致的,可以簡單地表述為在系統(tǒng)程序的管理下,通過運行應用程序完成用戶任務。 PLC 的掃描全過程如圖 22 所示。 ( 3) 輸出刷新階段 當所有指令執(zhí)行完畢后,將輸出狀態(tài)寄存器中的內(nèi)容,依次送到輸出鎖存電路,并通過一定輸出方式輸出,驅(qū)動外部相應執(zhí)行元件工作,這才形成 PLC 的實際輸出。它提供的編程語言通常有以下 5 種:梯形圖( LAD)、語句表( STL)、順序功能圖( SFC)、功能塊圖( FBD)和結構文本( ST)。 ( 4)功能完善 在 PLC 內(nèi)部具有許多控制功能,諸如時序、計算機、主控繼電器以及移位寄存器、中間寄存器等。 ( 8)可實現(xiàn)三電一體化 PLC 將電控(邏輯控制)、電儀(過程控制)和電結(運動控制)這三電集于一體。定時器指令表見表 31。 在實際生活中,我們見到的售貨機可以銷售一些簡單的日用品,如飲料、常用藥品和小的生活保健用品等。當按下選擇 A 商品的價格時,售貨機進行減法運算,從投入的貨幣總值中減去 A商品的價格同時啟動相應的電機,提取 A 號商品到出貨口。 自動售貨機 I/O 點的分配 輸入 /輸出單元通常也稱 I/O 單元或 I/O 模塊,是 PLC 與工業(yè)生產(chǎn)現(xiàn)場之間的連接部件。順序功能圖提供了一種組織程序的圖形方法,在順序功能圖中允許和別的語言編程的程序嵌套。 梯形圖語言是在傳統(tǒng)電器控制系統(tǒng)中常用的接觸器、繼電器等圖形表達符號的基礎上演變而來的。 在梯形圖中,有兩根豎直的直線,被稱為母線,現(xiàn)在很多 PLC 只 保留了左邊的母線,而把右邊的母線略去不寫。如果沒有能流,則線圈未被激勵,“能流”在任何時刻都不會通過接點自右向左流。網(wǎng)絡 2是一元信號到加十。網(wǎng)絡 6 是當余額大于或等于五角時,如果沒按下食品五角按鍵,則食品五角綠燈常亮。同理,網(wǎng)絡 8 至網(wǎng)絡 12 是食品一元控制程序,網(wǎng)絡 13 至網(wǎng)絡 17 是飲料一元控制程序,網(wǎng)絡18 至網(wǎng)絡 22 是飲料兩元控制程序,網(wǎng)絡 23 至網(wǎng)絡 27 是日用兩元控制程序,網(wǎng)絡 28 至網(wǎng)絡 32 是日用三元控制程序。網(wǎng)絡 3 37 分別是找五角、找一元。一個平??此坪唵问褂梅奖愕淖詣邮圬洐C,其實并不是那么容易就做成的。經(jīng)過多次修改以及調(diào)試,我們最終獲得成功,實現(xiàn)了預期的功能。 自動售貨機是由于勞動密集型的產(chǎn)業(yè)構造 向技術密集型社會轉(zhuǎn)變的產(chǎn)物。 通過本次課程設計,我的收獲很大,對 PLC 的編程有了更進一步的掌握,增加了我的實踐動手能力。再次,感謝指導老師的幫助,在設計過程中遇到難題時,指導老師總是耐心的提供幫助,在這里向老師表示由衷地感謝?,F(xiàn)代電氣控制及 PLC 應用技術 . 可編程控制器原理及應用電器與 PLC 控制技術北京:機械工業(yè)出版社, 2021 【 8】 宋繼玉北京:中國勞動出版社, 1998 【 10】 嚴盈富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