【正文】
樂(lè)等各個(gè)行業(yè)。PLC實(shí)質(zhì)是一種專門(mén)用于工業(yè)控制的計(jì)算機(jī),所以其硬件結(jié)構(gòu)基本上與微型計(jì)算機(jī)相同,主要由中央處理器(CPU)、存儲(chǔ)器(RAM、ROM)、輸入輸出器件(I/O接口)、電源及編程設(shè)備幾大部分組成。 PLC及過(guò)程控制技術(shù)的概述及發(fā)展可編程控制器是計(jì)算機(jī)家族中的一員,是在繼電器控制和計(jì)算機(jī)控制的基礎(chǔ)上開(kāi)發(fā)的產(chǎn)品,是為工業(yè)控制應(yīng)用而設(shè)計(jì)制造的以微處理器為核心,把自動(dòng)化技術(shù)、計(jì)算機(jī)技術(shù)和通訊技術(shù)融為一體的新型工業(yè)自動(dòng)控制裝置。隨著我國(guó)科學(xué)技術(shù)和經(jīng)濟(jì)的不斷發(fā)展,社會(huì)高度信息化,新的高科技技術(shù)不斷應(yīng)用到各個(gè)方面中,使得智能化已成為一種發(fā)展的必然趨勢(shì)。其應(yīng)用范圍覆蓋石油、化工、制藥、生物、醫(yī)療、水利、電力、冶金、輕工、紡織、建材、核能、環(huán)境等許多領(lǐng)域,在國(guó)民經(jīng)濟(jì)中占有極其重要的地位。在設(shè)計(jì)過(guò)程中,首先,進(jìn)行硬件的選擇、設(shè)計(jì)。我國(guó)近年來(lái)工業(yè)自動(dòng)化水平逐漸提高,PLC在許多行業(yè)得到了越來(lái)越廣泛的應(yīng)用。PLC是微電子技術(shù)和自動(dòng)控制技術(shù)相結(jié)合的產(chǎn)物,并受到計(jì)算機(jī)技術(shù)、通信技術(shù)的影響??刂坪诵囊許7300系列的CPU313C2DP為主,以電磁閥、壓力變送器、水泵、上位機(jī)、分隔式水槽等為輔構(gòu)成了單容水箱液位控制系統(tǒng),對(duì)整個(gè)液位控制系統(tǒng)進(jìn)行了硬件設(shè)計(jì)和軟件設(shè)計(jì)。關(guān)鍵詞:S7300;組態(tài)王;液位控制ABSTRACTProgrammable Logic Controller (PLC), one of the three pillars of modern industry automation, has gained rapidly development at the industry control field for its high reliability and flexibility. PLC is the product of the bination of microelectronic technology and automatic control technology, and it can be influenced by puter technology and munication technology. Recent years, as the level of the industry automation increased in our country, PLC has been widely used in more and more fields. Siemens PLC of the s7300 series has been the favor of many industries, with the characters of pacted structure, strong extensible ability, and high function/price ratio. This design is going to fulfill a liquid level control system, which is stable, safe, and affordable, using s7300 as the controller. The core is CPU313C2DP of S7300 series and the auxiliary parts contain a solenoid valve, a pressure transmitter, a motor, PC, a separatedtype tank and so on. In the design, software system and hardware system can be designed pletely.During the designing process, first of all, hardwires are chosen and designed. Second, module programming can be done to get normalized data and Position Control. Third, HMI can be finished using King software, which is used to control the liquid level, adjust the top and bottom limitation parameters online, monitor measured value of the liquid level, and meet the technical needs of controlling liquid level.Key Word: S7300;Kingview;Liquid level目 錄1 引言 1 1 PLC及過(guò)程控制技術(shù)的概述及發(fā)展 1 本課題研究的內(nèi)容與目的 42 液位控制系統(tǒng)硬件設(shè)計(jì) 5 液位控制系統(tǒng)的系統(tǒng)設(shè)計(jì) 5 PLC的選型 5 CPU型號(hào)的選擇 6 模擬量模塊(SM)的確定 6 電源模塊的選用 8 8 9 93 液位控制系統(tǒng)的軟件設(shè)計(jì) 11 11 11 PLC程序設(shè)計(jì) 12 固定頻率的設(shè)定 12 PLC控制要求和策略 12 PLC程序控制流程 12 STEP 7編程過(guò)程 13 16 “組態(tài)王”軟件界面 17 上位機(jī)組態(tài)畫(huà)面的創(chuàng)建 17 上位機(jī)組態(tài)軟件數(shù)據(jù)詞典的創(chuàng)建 18 設(shè)置上位機(jī)通訊連接設(shè)備 194 系統(tǒng)調(diào)試 21結(jié)論 22參考文獻(xiàn) 23附錄 24致謝 321 引言過(guò)程控制通常是指連續(xù)生產(chǎn)過(guò)程的自動(dòng)控制,是自動(dòng)化技術(shù)最重要的組成部分之一。假若我們能使用此系統(tǒng)來(lái)自動(dòng)維持液位的高度,那么工作人員便可輕易的在操作室獲知整個(gè)設(shè)備的儲(chǔ)水狀況,因此,液面高度是工業(yè)控制過(guò)程中一個(gè)重要的參數(shù),特別是在動(dòng)態(tài)的狀態(tài)下,采用適合的方法對(duì)液位進(jìn)行檢測(cè)、控制,不僅能收到很好的效果,而且提升了工作效率。因此,基于PLC的液位控制系統(tǒng)在現(xiàn)代工業(yè)控制系統(tǒng)中具有重要的意義。但是為了避免與個(gè)人計(jì)算機(jī)(Personal Computer)的簡(jiǎn)稱混淆,