【正文】
moderating the work through person39。 PLC 的發(fā)展已經(jīng)從單一的模式進入了通信的網(wǎng)絡(luò)時代,并同其它的 工 控網(wǎng)板 和 I/ O卡 板 輕易 的 進行共享。有 一 點可以說明的是我們 一 般會把急停按鈕的外部中斷 升至 最高級 別,從而保證安全。 中 斷并不是只有 一 個,有 時 會同 時存在幾個中斷,中斷具有優(yōu)先的級別,他們會根據(jù)人的要求去執(zhí)行更高級別的中斷。 信息的傳送 口 線有半 口 和并 口 之分:通常的 PLC 是 8 位機, 當(dāng) 然電有 16 位 機。如果表中的數(shù)據(jù)是 一 個 一 般設(shè)置的數(shù)據(jù)的話,那 只 是 一 般的 數(shù)據(jù)傳送,比如今天的油價上了 ,我 要 把油價的價格傳送到所有的輸油機上,那就是數(shù)據(jù)的共享;而當(dāng) 表中的數(shù)據(jù)是 一段控制 PLC 的 指令程序,那就很有難度了,比如你要控制一臺機器人 來 按你想 象的動作工 作,你會給它編制 一 段程序并以數(shù)據(jù)的形式發(fā)送過去。 HMl 的 廠 商 目前也越來越多 ,功能 也 越 來 越強, 價格也越來越低,使用的而越來越廣。 PLC 的內(nèi)部包含了具有 中央 處理器的 CPU,并帶有外部 I/ O 口擴展的 I/ O 接 口地址和存儲器三 大塊組成, CPU 的核 心 是由一個或多個累加器組成 ,它們具 有邏輯的數(shù)學(xué)運算能力,并能讀取程序存儲器的內(nèi)容通過計算后去馳動相符的存儲器和 I/ O 接 口 ; I/ O 口將內(nèi)部累加器和外部的輸入和輸 出 系統(tǒng)連接起 來 ,并將 利關(guān)的數(shù)據(jù)存入程序存儲器或者數(shù)據(jù)存儲器中:存儲器可以將 I/ O 口 輸入的數(shù)據(jù) 存入存儲器中,并在工 作 時 訓(xùn) 調(diào)轉(zhuǎn) 到累加 器和 I/ O 接口上,存儲器 分程序存儲器 ROM 和數(shù)據(jù)存儲器 RAM, ROM 可以將數(shù)據(jù)永久的存 入 存儲器 內(nèi) ,而 RAM 只能作為 CPU 計算時臨時計算使用的緩沖空間。 PLC 抗干擾是極其優(yōu)秀的 ,我們根本不 用 去關(guān)心它的使 用 壽命和 工 作 場合 的惡劣,這些所在的問題已不再成為我們失敗的主題,而留給我們的是關(guān)心如何來利用 PLC 的內(nèi)部資源為我們加強設(shè)備的控制能 力 ,使我們的設(shè)備更加的柔性。HMl 的前景可以說十分的看好。 信息輸送的形式有甲 工 位、半雙 工 位和全雙 工 位的分 別 。我們在發(fā)送數(shù)據(jù)的時候可以是一 位 一 位的發(fā)送給對力,也可以 8 位 8 位的將 數(shù)據(jù)發(fā)送到對方,一位和 8 位的卻別也就 是我們所說的串口發(fā)送數(shù)據(jù)和并口發(fā)送數(shù) 據(jù)。這種中斷中的中斷也就形成了中斷嵌套。 當(dāng) 我們在 工 作完一個 工 件時,給 PLC 一個信號,將 PLC 的內(nèi)部 計 數(shù)器加 1 來計算我們每天的工 作量時, 一 個簡單的計數(shù)器能解決問題, 當(dāng) 然它們也能夠 在停電的情況下保持?jǐn)?shù)據(jù),促使數(shù)據(jù)不丟失,這也是我們所 渴望的。組 態(tài) 軟件 可 以將所有 的 這些硬件連接起 來 ,通過更 直觀的動畫 片來 進行控制,并可以通過互聯(lián) 網(wǎng) 在異地進行控制,像神舟五號的 發(fā)射就是采用這種辦法來使飛船升空。sbrain and calculators, with the mode that person39。s power, the one who make operate reduces the otiose error. Cunently the HMI factory is also more and more, the function is also more and more strong, the price is also more and more low, the noodles of the usage are wide more and more. The HMI foreground can say that think to be good very. At a lot of situations, the list is is a smooth nlovement that 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 tile door and conlbine to continue with the one who knock on door a dialogue, tile telephone of this time rang, you signal hint to connect a telephone,after connecting the telephone through, remru 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 tile interruption to it, it has the authority, also having sex of have tile initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments,we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, tbr example lhe address of tile procedure, CPU of tired add tile machine data etc., be like to to stick down which the book that we see is when we open the door the page or simply make a mark,because we treat and would still need to continue immediately after book of see the behind. The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same Io do. this we must notice. 7 The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out the inteeruption of the higher Class according to person39。t answer the phone, the other party also。 But lead even is a fatal error greatly is what we can39。t guarantee the request of the higher quantity and highnew the image of the technique business enterprise. The people see in produce practice, automate brought the tremendousconvenience and 4 the product quantities for people up of assurance, also eased thepersonnel39。程序重新開始運行,但對中斷不會進行破壞。急停按鈕連接 PLC 內(nèi)部 CPU 的內(nèi)部 I/ 0 接口上,當(dāng) 按鈕給 CPU 一個外 部觸發(fā)信號時, CPU 對 I/ O 進行 再次榆測,確認(rèn)有外部觸發(fā)信號時,CPU 保護現(xiàn)場并將程序 計 數(shù)器 自 動轉(zhuǎn)到 相應(yīng)的外部 I/ 0 中斷程序中去, 當(dāng) 外部中斷程序處理完畢,程序計數(shù)器返 回 到 主 程序 繼續(xù)工 作。 CPU 總是按照我們的意愿去做心該做的事情, 但 你錯 誤 的給它 件事情,它也會同樣的去做,這點我們必須注意。 而異步是 應(yīng)用 范 范圍 最廣泛 的 ,這得益于它 的 技術(shù)難度 要求相對較小,同 時不需要配制專門的時鐘信號、它的特點存于,它的數(shù)據(jù)是問隔性的,離散性的發(fā)送和接受,當(dāng) CPU太忙 的時候可以停頓性去 工 作, 在 硬件上也減少 了 難度,同時數(shù)據(jù)的 丟失相對要少,我們可以通過數(shù)據(jù)的檢測來觀察我們發(fā)送的數(shù)據(jù)足否有錯誤,像奇偶法、累加法和八位效驗法等,都可以用來幫助我們檢測發(fā)送的數(shù)據(jù)是否有錯誤發(fā)生,通過反饋術(shù)進行辨別。 PLC 的 數(shù)據(jù)傳送只是將內(nèi)部 的 數(shù)據(jù)傳送到 對方的 一塊連續(xù) 的 地址中,我們把 它稱為一個表,對力的 PLC 通過讀取表中的數(shù)據(jù) 來 進行操作。并且 能夠通過編寫功能幫助程序 來 提供 各 種 力所能及的幫助, 使得操作存減少不必要的失誤。 PLC 的最大特點在于:電氣 工 程 師已 不 在 電氣的硬件上花費太多的心計,只 要將按鈕開關(guān)或感應(yīng)器的輸入點連接到 PLC 的輸入點上就能解決問題,通過輸出 點連接接觸器或繼電器來控制人功率的啟動設(shè)備,而小功率的輸出設(shè)備直接連接就可以。 PLC 的語言 并不是我們所想象 的 匯編語言或 C 語 言來 進行編程,而是采 用 原 有的繼電器控制的梯形圖,使得電氣工 程師 在 編寫程序時很容易就理解 了 PLC 的 語言,而且 很多的非電氣專業(yè) 人士也 對 PLC 很快認(rèn)識并深入。 在很多場合,單靠單機 的 控制是無法保證設(shè)備 的順暢 運行,而通過設(shè)備