【正文】
基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 14 頁 共 25 頁 按下下限位,洗衣機(jī)開始脫水 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 15 頁 共 25 頁 脫水九秒后,洗衣機(jī)完成工作,停止運(yùn)行 按下停止按鈕,所有工作狀態(tài)都停止運(yùn)行 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 16 頁 共 25 頁 若進(jìn)水時(shí)間超過九秒沒達(dá)到上限位或出水時(shí)間超過九秒沒達(dá)到下限位,洗衣機(jī)停止運(yùn)行,報(bào)警指示燈亮。 當(dāng)洗衣過程中,進(jìn)水時(shí)若時(shí)間超過設(shè)定時(shí)間仍未達(dá)到上水位或排水時(shí)間超過設(shè)定時(shí)間仍未達(dá)到下水位水位,報(bào)警,指示燈亮,洗滌電機(jī)停止轉(zhuǎn)動 設(shè)計(jì)要求 ( 1)根據(jù)題目要求正確連線; ( 2)實(shí)現(xiàn) PLC 與組態(tài)王之間的正常通信; ( 3)在組態(tài)王中繪制能夠正確反映題目要求的畫面,定義相關(guān)變量,進(jìn)行 相應(yīng)的動畫鏈接,且實(shí)物與畫面能夠雙向監(jiān)控; ( 4)對 進(jìn)水口指示燈亮 的次數(shù)進(jìn)行計(jì)數(shù),計(jì)數(shù)到十次后將次數(shù)清零。將桶內(nèi)水排完。為了更好的洗滌衣服,我們設(shè)定洗滌電機(jī)正轉(zhuǎn),反轉(zhuǎn)相互交替三次。運(yùn)行燈亮。 【關(guān)鍵詞】 組態(tài)王 監(jiān)測 控制 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 2 頁 共 25 頁 Abstract Configuration Wang Kaifa monitoring system software, is the new industrial automatic control system, it in a standard industrial puter software and hardware platform of integrated system to replace the traditional closed system. It has a strong adaptability, good openness, easy to expand, economy, short development cycle, etc. Usually can put such a system is divided into three control layer, monitoring layer and management hierarchy. Which to connect control layer, monitoring layer on the connection management, it not only realize realtime monitoring and control of the scene, and in the automatic control system, configuration development the important role of plete transmission. Configuration software also provides participants with visual monitor screen, is advantageous to the participants realtime monitoring on site. Moreover, it can make full use of the Windows graphical editing function, easily constitute a monitor screen, and display control device in animation state, has the alarm window, such as real time trend curve, can be convenient to generate various reports. 【 key words 】 kingview monitoring control 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 3 頁 共 25 頁 第一章 課題設(shè)計(jì)與要求 課題要求 全自動洗衣機(jī)是我們?nèi)粘I钪泻芷毡槭褂玫淖詣踊娖鳎o我們的生活帶來了方便,演示模塊如右圖所示,下面我們將模擬全自動洗衣機(jī),了解其工作原理。組態(tài)軟件也為試驗(yàn)者提供了可視化監(jiān)控畫面,有利于試驗(yàn)者實(shí)時(shí)現(xiàn)場監(jiān)控。通??梢园堰@樣的系統(tǒng)劃分為控制層、監(jiān)控層、管理層三個層次結(jié)構(gòu)?;?PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 1 頁 共 25 頁 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 【摘要】 組態(tài)王開發(fā)監(jiān)控系統(tǒng)軟件,是新型的工業(yè)自動控制系統(tǒng),它以標(biāo)準(zhǔn)的工業(yè)計(jì)算機(jī)軟、硬件平臺構(gòu)成的集成系統(tǒng)取代傳統(tǒng)的封閉式系統(tǒng)。它具有適應(yīng)性強(qiáng)、開放性好、易于擴(kuò)展、經(jīng)濟(jì)、開發(fā)周期短等優(yōu)點(diǎn)。其中監(jiān)控層對下連接控制層,對上連接管理層,它不但實(shí)現(xiàn)對現(xiàn)場的實(shí)時(shí)監(jiān)測與控制,且在自動控制系統(tǒng)中完成上傳下達(dá)、組態(tài)開發(fā)的重要作用。而且,它能充分利用 Windows 的圖形編輯功能,方便地構(gòu)成監(jiān)控畫面,并以動畫方式顯示控制設(shè)備的狀態(tài),具有報(bào)警窗口、實(shí)時(shí)趨勢曲線等,可便利的生成各種報(bào)表。 工作流程: 啟動:按下啟動按鈕進(jìn)水口開始進(jìn)水,進(jìn)水口指示燈亮,當(dāng)水位達(dá)到高水位限制開關(guān)的時(shí)候,停止進(jìn)水。 洗衣過程:當(dāng)進(jìn)水完成后,洗滌電機(jī)開始轉(zhuǎn)動,運(yùn)行指示燈亮。正反 轉(zhuǎn)切換前需先停止,當(dāng)設(shè)定洗滌次數(shù)完成時(shí),排水燈亮,洗滌電機(jī)停止轉(zhuǎn)動。當(dāng)水排完后,洗滌電機(jī)啟動,將衣服甩干,當(dāng)設(shè)定的時(shí)間結(jié)束時(shí),洗衣完成,排水燈熄滅,運(yùn)行指示等滅。繪制報(bào)警畫 面,大于 3次進(jìn)行報(bào)警; ( 5)實(shí)現(xiàn) 進(jìn)水口指示燈亮 的次數(shù)的實(shí)時(shí)曲線顯示; ( 6)實(shí)現(xiàn) 進(jìn)水口指示燈亮 的次數(shù)的歷史曲線顯示 。 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 17 頁 共 25 頁 進(jìn)水次數(shù)統(tǒng)計(jì) 基于 PLC 和組態(tài)王的洗衣機(jī)控制系統(tǒng)設(shè)計(jì) 第 18 頁 共 25 頁 報(bào)警與曲線設(shè)置