【正文】
由于使用串行通信接口1,故雙擊工程瀏覽器的設(shè)備文件夾中的“COM1”圖標(biāo),在出現(xiàn)的對話框中設(shè)置波特率為19200bit/s。 串行通信接口參數(shù)設(shè)置選中“COM1”后,雙擊右側(cè)工作區(qū)出現(xiàn)的“新建…”圖標(biāo),在出現(xiàn)的對話框的“PLC”文件夾中選擇西門子的S7200系列,通信協(xié)議為PPI(),設(shè)置好單擊“下一步”直至“完成”,這樣在右側(cè)會出現(xiàn)剛生成的“新IO設(shè)備”圖標(biāo),通信設(shè)置結(jié)束。 通信協(xié)議的設(shè)置 新建工程與組態(tài)變量雙擊“”啟動工程管理器,新建一個工程,名為“恒壓供水系統(tǒng)”,雙擊新建工程打開工程瀏覽器,點(diǎn)擊工程瀏覽器中的“數(shù)據(jù)詞典”圖標(biāo),右面工作區(qū)會出現(xiàn)系統(tǒng)定義好的內(nèi)存變量。雙擊最下面的“新建…”圖標(biāo),彈出“定義變量”對話框(),開始定義輸入輸出變量。用同樣的方法組態(tài)所有變量()。 定義變量對話框 組態(tài)畫面(1) 建立新畫面單擊工程瀏覽器左側(cè)的“畫面”圖標(biāo),雙擊工作區(qū)“新建…”圖標(biāo),彈出“新畫面”對話框,輸入名稱點(diǎn)擊確定進(jìn)入組態(tài)王的開發(fā)系統(tǒng)。(2) 制作動態(tài)監(jiān)控畫面利用工具箱中各畫圖工具繪制監(jiān)控系統(tǒng)界面,然后進(jìn)行動畫連接。(3) 編寫控制流程程序雙擊工程瀏覽器左邊窗口“\文件\命令語言\應(yīng)用程序命令語言”進(jìn)行編程。(4) 按鈕、指示燈組態(tài)設(shè)定按鈕或文字鏈接的對象,按鈕既可以用來執(zhí)行某些命令,還可以 數(shù)據(jù)詞典中的變量列表輸入數(shù)據(jù)給某些變量,當(dāng)和外部的一些智能儀表、PLC等進(jìn)行連接時,會大大增加其數(shù)據(jù)傳輸?shù)暮啙嵭裕恢甘緹艚M態(tài)后用于顯示系統(tǒng)的工作狀態(tài)。 監(jiān)控系統(tǒng)界面在本系統(tǒng)中,根據(jù)需要共開發(fā)了5個界面,包括啟動界面(包含系統(tǒng)所有菜單)、系統(tǒng)運(yùn)行主界面、歷史和實時趨勢曲線、數(shù)據(jù)報表、報警界面。為了加強(qiáng)系統(tǒng)的安全性,系統(tǒng)還為不同的用戶設(shè)置了相應(yīng)的權(quán)限。通過主菜單界面可以調(diào)用不同的界面,也可根據(jù)需要在系統(tǒng)運(yùn)行主界面中改變壓力給定值。,主界面實時顯示了當(dāng)前時間,設(shè)定的水壓值和當(dāng)前水壓值,系統(tǒng)的自動/手動運(yùn)行情況,三臺水泵變頻/工頻運(yùn)行狀態(tài)、轉(zhuǎn)速、運(yùn)行頻率,各設(shè)備的故障報警顯示等。 城市小區(qū)恒壓供水系統(tǒng)監(jiān)控界面山東科技大學(xué)學(xué)士學(xué)位論文 結(jié)束語6 結(jié)束語本文針對城市小區(qū)供水的特點(diǎn),設(shè)計開發(fā)了一套基于PLC的變頻恒壓供水自動控制系統(tǒng)。該系統(tǒng)利用單臺變頻器實現(xiàn)多臺水泵電機(jī)的軟起動和調(diào)速,摒棄了原有的自耦降壓起動裝置,同時把水泵電機(jī)控制納入自動控制系統(tǒng)。壓力變送器采樣管網(wǎng)壓力信號經(jīng)PID處理傳送給變頻器,變頻器根據(jù)壓力大小調(diào)節(jié)電機(jī)轉(zhuǎn)速,通過改變水泵性能曲線來實現(xiàn)水泵的流量調(diào)節(jié),保證管網(wǎng)壓力恒定。該系統(tǒng)不僅有效地保證了供水系統(tǒng)管網(wǎng)壓力恒定,而且具有工作可靠、施工簡單、節(jié)能效果顯著、全自動控制、無二次污染等優(yōu)點(diǎn)。本文主要的工作如下:(1) 由PLC、變頻器實現(xiàn)生活用水的恒壓控制。系統(tǒng)采用PLC實現(xiàn)對多泵切換的控制。通過變頻器實現(xiàn)對三相水泵電機(jī)的軟啟動,由電動機(jī)的變頻調(diào)速實現(xiàn)對水壓的調(diào)節(jié)。(2) 通過對控制過程和原理的分析,利用西門子STEP7 MicroWIN編程軟件設(shè)計了一個用于恒壓供水系統(tǒng)的程序,本程序包括順序控制主程序,初始化子程序和中斷子程序三部分。(3) 對上位機(jī)組態(tài)監(jiān)控系統(tǒng)進(jìn)行了設(shè)計。根據(jù)泵站監(jiān)控要求,利用組態(tài)王軟件完成了泵站組態(tài)監(jiān)控畫面的各個功能的設(shè)計,系統(tǒng)界面清楚明了,易于操作,能動態(tài)地顯示當(dāng)前運(yùn)行情況、當(dāng)前水壓以及故障情況。通過本次畢業(yè)設(shè)計,不僅使我鞏固了對原有知識的掌握,還拓寬了我的知識面。在提高自己的同時,我也更加清楚的認(rèn)識到自己的一些不足之處。比如:在硬件設(shè)備之間的連接,I/O端口的分配,地址的分配這幾方面自己起初不是很了解,但經(jīng)過這半年的自學(xué),以及向老師、同學(xué)們請教,我對這些知識有了更深入的理解。通過這半年的實踐和學(xué)習(xí),我學(xué)到了很多課本中無法涉及到的知識,體會到了工程設(shè)計的復(fù)雜與困難,也感受到了親自做出成績的成功與喜悅,這些都為即將開始的研究生生活打下了堅實的基礎(chǔ)。在以后的學(xué)習(xí)和生活中,我會不斷的提高、充實自己,爭取獲得更大的成績。山東科技大學(xué)學(xué)士學(xué)位論文 參考文獻(xiàn)參考文獻(xiàn)[J],蘭州鐵道學(xué)院學(xué)報,2000,1:8488[M].北京:機(jī)械工業(yè)出版社,2002,135137,[J],電子技術(shù)應(yīng)用,2000,2:3839[M].北京:機(jī)械工業(yè)出版社,2002,244251 Logic Controller[J],the free wikipedia encyclopedia,2002,3:18[M].北京:機(jī)械工業(yè)出版社,2008,1416[M].北京:機(jī)械工業(yè)出版社,1998,316317,譚光儀,[J],四川工業(yè)學(xué)院學(xué)報,2003,3:57,李雄松,[J],電機(jī)電器技術(shù),1999,3:4548[M].重慶:重慶大學(xué)出版社,1996, 173174[J],南寧職業(yè)技術(shù)學(xué)院學(xué)報,2004,4:3845,[M].北京:中國水利水電出版社,2001,4560 K values of design variables versus specific speed for centrifugal pumps[J], Proceeding of the Institution of Mechanieal Engineers, 1999, 3: 219227,張偉,[J],山東輕工業(yè)學(xué)院學(xué)報,2007,3:123138 energysaving technolgy of waterinjection systems in domestic and abroad oil filed[J],Energy Convervation of Oilfiled 1998,9:1125 P the variable speed pump[J],NFPA Journal, 2004,5: 2633,[M].北京:機(jī)械工業(yè)出版社,2007,166169山東科技大學(xué)學(xué)士學(xué)位論文 致謝致謝首先衷心的感謝我的論文指導(dǎo)老師高宏巖老師。在我做畢業(yè)設(shè)計的過程中得到了高老師的悉心指導(dǎo)。從設(shè)計的開始到論文的定稿,整個過程處處凝結(jié)著老師的心血。高老師淵博的學(xué)識,嚴(yán)謹(jǐn)?shù)闹螌W(xué)態(tài)度,務(wù)實的工作作風(fēng)都深深地影響著我,并將成為我以后學(xué)習(xí)和工作的榜樣。在此謹(jǐn)向高老師表示最衷心的感謝。在這半年的畢業(yè)設(shè)計的過程中,我還得到了本組同學(xué)、本班同學(xué)的大力幫助,我們一起學(xué)習(xí),一起探討問題、解決問題。當(dāng)我遇到困難時,他們給了我許多好的建議和無私的幫助。在此,對所有給予我?guī)椭耐瑢W(xué)表示衷心的感謝。山東科技大學(xué)學(xué)士學(xué)位論文 附錄附錄附錄A 英文文獻(xiàn)Programmable logic controllerCynthia CooperFrom Wikipedia, the free encyclopediaA programmable logic controller or simply programmable controller is a digital puter used for automation of industrial processes, such as control of machinery on factory assembly lines. Unlike generalpurpose puters, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in batterybacked or nonvolatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.FeaturesControl panel with PLC (grey elements in the center). The unit consists of separate elements, from left to right。 power supply, controller, relay units for input and output.The main difference from other puters is that PLCs are armored for severe condition (dust, moisture, heat, cold, etc) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of plex positioning systems. Some even use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays or solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a puter network that plugs into the PLC.PLCs were invented as replacements for automated systems that would use hundreds or thousands of relays, cam timers, and drum sequencers. Often, a single PLC can be programmed to replace thousands of relays. Programmable controllers were initially adopted by the automotive manufacturing industry, where software revision replaced the rewiring of hardwired control panels when production models changed.Many of the earliest PLCs expressed all decision making logic in simple ladder logic which appeared similar to electrical schematic diagrams. The electricians were quite able to trace out circuit problems with schematic diagrams using ladder logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stackbased logic solver.The functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and munication capabilities of some modern PLCs are approximately equivalent to desktop puters. PLClike programming bined with remote I/O hardware, allow a generalpurpose desktop puter to overlap some PLCs in certain applications.Under the IEC 611313 standard, PLCs can be programmed us