【正文】
反沖洗標(biāo)志 X12 結(jié)束反沖洗 Y13 正常過濾標(biāo)志 Y3 反沖洗氣閥開關(guān) Y4 反沖洗水閥開關(guān) 4 軟件方案的設(shè)計 本設(shè)計將整個控制過程分為兩部分正常恒水位過濾和滿足條件后的氣水反沖洗過程將正常的恒水位過濾過程采用梯形圖的主程序來實現(xiàn)根據(jù)主程序的邏輯判斷來調(diào)用氣水反沖洗過程的子程序由于 PLC 采用循環(huán)掃描的方式執(zhí)行程序這樣便能 實現(xiàn)整個控制過程的順利執(zhí)行 41 濾池正常過濾恒水位程序設(shè)計 正常濾水工作期間每個濾池在現(xiàn)場 PLC 的控制下依據(jù)液位傳感器檢測到得液位值得變化情況及時調(diào)整出水閥的啟閉保證濾池恒水位運(yùn)行 語句表如下 LD X1 OR M100 ANI X2 OUT M100 LD M100 MPS ANI X7 OUT Y1 MPP ANI X10 OUT Y0 LD X4 OR X5 OUT Y11 報警顯示 LD Y0 AND Y1 OUT Y13 正常過濾顯示 上面一段程序只是對液位進(jìn)行相應(yīng)閥門啟閉控制 42 濾池反沖洗控制程序設(shè)計 反沖洗啟動條件有三個人機(jī)界面進(jìn)行反沖洗屬于強(qiáng)制反沖洗定時反沖洗按水頭損失情況進(jìn)行反沖洗 使用停電保持型 PLC 元件進(jìn)行編程來表示反沖洗的啟動條件程序如下 LD M100 ANI Y12 ANI T250 ANI C100 OUT T250 K1000 LD T250 RST T250 OUT C100 K864 LD C100 OUT M101 LD M100 ANI C101 ANI T251 OUT T251 K1000 LD T251 OUT C101 K540 RST T251 LD C101 OUT M102 LD X3 OR M101 OR Y12 AND M102 LD X6 AND M102 ORB ANI X12 OUT Y12 接下來是反沖洗過程的控制 LD Y12 ANI X11 OR X12 OUT Y1 LDI Y12 AND T105 OUT Y0 LD X11 MPS ANI T105 OUT Y2 MPP ANI T100 OUT T100 K360 LD T100 OUT C0 K10 LD X11 MPS ANI T102 OUT Y6 MRD ANI T101 OUT Y5 MPP ANI C0 OUT Y3 LD C0 OUT T101 K100 LD T101 OUT T102 K50 LD T102 OUT M103 LD M103 MPS ANI C1 OUT Y4 MRD ANI T104 OUT Y7 MPP ANI T105 OUT Y10 LD M103 ANI T103 OUT T103 K360 LD T103 OUT C1 K10 LD C1 OUT T104 K100 LD T104 OUT T105 K50 LDP X12 RST C0 RST C1 RST C100 RST C101 以上便是控制系統(tǒng)的程序出于雙線圈考慮把它們整合在一起梯形圖如下 圖 61 濾池正常過濾液位控制 圖 62 反沖洗控制條件 a b c d 圖 3 反沖洗控制 運(yùn)用組態(tài)軟件和三菱 FX0N系列 PLC連機(jī)通信設(shè)計以及運(yùn)用 MCGS組態(tài)軟件對PLC的運(yùn)行狀態(tài)進(jìn)行監(jiān)控實現(xiàn)遠(yuǎn)程控制的目的實現(xiàn)了組態(tài)軟件和 PLC的通信運(yùn)用了串口通 信以及串口轉(zhuǎn)換器連接到計算機(jī)上達(dá)到了設(shè)計的要求 圖 1 MCGS 組態(tài)監(jiān)控效果圖 圖 2 實時數(shù)據(jù)庫 圖 3 控制運(yùn)行策略 圖 4 設(shè)備屬性設(shè)置 圖 5 編寫腳本程序 Siemenss7 系列歐姆龍 CQM2020 年 6 月 13日[1] 李展峰鄒振裕 水廠濾池自動反沖洗控制 [J] 電氣應(yīng)用 2020 08 [2] 陳曉 PLC在水廠自動控制系統(tǒng)中的應(yīng)用 [J] 電工技術(shù) 2020 06 [3] 束慶和 PLC控制技術(shù)在污水處理系統(tǒng)中的應(yīng)用 [J] 科技資訊 2020 04 [4] 王會敏韋文廣 [J] 自動化技術(shù)與應(yīng)用 2020 05 [5] 韓慶瑤王建英袁興華 [J] 機(jī) 械設(shè)計與制造2020 09 [6] 鄒振裕 羅永恒 李展峰 [J]工業(yè)水處理 2020 01 [7] 張偉 馬龍華 錢積新 PLC 在自來水廠濾池控制中的應(yīng)用 [J]化工自動化及儀表 2020 01 [8] 杜慧琳 [J] 科技風(fēng) 2020 05 [9] 李輝 [J] 科技創(chuàng)新導(dǎo)報 2020 16 [10] 張建煜 吳文紅 [J] 電工技術(shù) 2020 04 Resitas waste water plant ANUL XII NR1 2020 ISSN 14537394 [14] Rob Mackenzie MSAIEE Phoenix Contact The future of automation – profi February 2020 [15] Chris du Toit WSP Consulting Engineers The design documentation and maintenance of PLC software May 2020 附 錄 A 參考外文文獻(xiàn)原文 The design documentation and maintenance of PLC software By ChrisduToit WSP Consulting Engineers There are a little of books courses or training manuals on the design documentation and maintenance of programmable logic control PLC software Many people are also keep the opinion that if PLC software works ie it performs its intended function it is good software and if it does not work it is bad software If software is written for an application where it will be missioned and never touched again neither for alterations nor for faultfinding the effectiveness thereof can essentially be measured by how good the control is Such applications however are few and far between and do not warrants further discussion By far the vast majority of software applications are used where someone usually not the designer will access it for faultfinding andor alterations There are applications where modifications must be made to an existing PLC which might be relatively full in terms of memory capacity or there might be an application in a new PLC where memory capacity is limited In such cases the effectiveness of the software is measured by its effective use of available memory Other good software principles might therefore have to be scarified cud in order to provide software for minimum memory consumption In most Cases however memory is relatively cheap and therefore not a huge problem We can thus concentrate on the issues related to the majority of PLC applications Many other areas can still be defined if required The principle however shows that specific data areas are reserved for specific functions The advantage is that if one has to add to the software one knows in which areas of the database to look for spare words registers if les or coils rather than searching through an entire database consisting of very haphazard allocations In some PLCs these data areas can even be made local to a specific section of softw