【溫馨提示】 dwg后綴的文件為CAD圖,可編輯,無(wú)水印,高清圖,,壓縮包內(nèi)文檔可直接點(diǎn)開(kāi)預(yù)覽,需要原稿請(qǐng)自助充值下載,請(qǐng)見(jiàn)壓縮包內(nèi)的文件及預(yù)覽,所見(jiàn)才能所得,請(qǐng)細(xì)心查看有疑問(wèn)可以咨詢(xún)QQ:414951605或1304139763
畢業(yè)設(shè)計(jì)(論文)任務(wù)書(shū)
填表時(shí)間: 2010 年 03月 15 日 (指導(dǎo)教師填表)
學(xué)生姓名
專(zhuān)業(yè)班級(jí)
指導(dǎo)教師
課題類(lèi)型
工程設(shè)計(jì)
題目
基于plc的飲料灌裝機(jī)控制系統(tǒng)設(shè)計(jì)
主要研究
目標(biāo)
(或研
究?jī)?nèi)容)
1. 研究并掌握飲料灌裝系統(tǒng)的功能;
2. 研究并掌握飲料灌裝系統(tǒng)的整體設(shè)計(jì)方案;
3. 熟練掌握PLC控制程序的設(shè)計(jì)方案;
4. 熟悉順控指令的編程方法;
課題要求、主要任務(wù)及數(shù)量(指圖紙規(guī)格、張數(shù),說(shuō)明書(shū)頁(yè)數(shù)、論文字?jǐn)?shù)等)
說(shuō)明書(shū)頁(yè)數(shù)不低于40頁(yè)
圖紙至少4張A1
確定設(shè)計(jì)方案及程序
進(jìn)度計(jì)劃
1—2周 選擇設(shè)計(jì)方向,收集資料,確定設(shè)計(jì)內(nèi)容
3—5周 根據(jù)設(shè)計(jì)內(nèi)容,擬定設(shè)計(jì)方案和措施
6—7 周 繪制設(shè)計(jì)的原理圖和程序圖
8—9周 撰寫(xiě)論文和設(shè)計(jì)過(guò)程
10—11周 校對(duì)論文,完善論文,論文答辯
主要參
考文獻(xiàn)
[ l]張文明.全自動(dòng)液體灌裝機(jī).北京:機(jī)械工業(yè)出版社,2003
[2]張桂香. 馬全廣.電器控制與PLC應(yīng)用.北京:化學(xué)工業(yè)出版社,2004
[3] 廖常初. PLC編程及應(yīng)用. 北京:機(jī)械工業(yè)出版社,2002
[4] 張桂香. 機(jī)電類(lèi)專(zhuān)業(yè)畢業(yè)設(shè)計(jì)指南. 北京: 機(jī)械工業(yè)出版社,2005
[5]羅芹芝.基于網(wǎng)絡(luò)的啤酒灌裝控制系統(tǒng).北京:機(jī)械工業(yè)出版社, 2001
[6]啤酒灌裝壓蓋機(jī)PLC控制系統(tǒng)設(shè)計(jì).劉永波,趙軍等.本溪冶金高等專(zhuān)科學(xué)校學(xué)報(bào),2001
指導(dǎo)教師簽字: 教研室主任簽字:
年 月 日
中文翻譯
可編程控制器技術(shù)討論與未來(lái)發(fā)展
隨著時(shí)代的發(fā)展,當(dāng)今的技術(shù)也日趨完善,競(jìng)爭(zhēng)愈演愈烈;單靠人工的操作已 不能滿足于目前的制造業(yè)前景,也無(wú)法保證更高質(zhì)量的要求和高新技術(shù)企業(yè)的形 象. 人們?cè)谏a(chǎn)實(shí)踐中看到,自動(dòng)化給人們帶來(lái)了極大的便利和產(chǎn)品質(zhì)量上的保 證,同時(shí)也減輕了人員的勞動(dòng)強(qiáng)度,減少了人員上的編制.在許多復(fù)雜的生產(chǎn)過(guò)程 中難以實(shí)現(xiàn)的目標(biāo)控制,整體優(yōu)化,最佳決策等,熟練的操作工,技術(shù)人員或?qū)?家, 管理者卻能夠容易判斷和操作,可以獲得滿意的效果.人工智能的研究目標(biāo)正 是利用計(jì)算機(jī)來(lái)實(shí)現(xiàn), 模擬這些智能行為,通過(guò)人腦與計(jì)算機(jī)協(xié)調(diào)工作,以人機(jī)結(jié) 合的模式,為解決十分復(fù)雜的問(wèn)題尋找最佳的途徑 我們?cè)诟鞣N場(chǎng)合看到了繼電器連接的控制,那已經(jīng)是時(shí)代的過(guò)去,如今的繼 電器只能作為低端的基層控制模塊或者簡(jiǎn)單的設(shè)備中使用到; PLC 的出現(xiàn)也成 而 為了劃時(shí)代的主題,通過(guò)極其穩(wěn)定的硬件穿插靈活的軟件控制,使得自動(dòng)化走向 了新的高潮. PLC 的最大特點(diǎn)在于:電氣工程師已不再電氣的硬件上花費(fèi)太多的心計(jì),只 要將按鈕開(kāi)關(guān)或感應(yīng)器的輸入點(diǎn)連接到 PLC 的輸入點(diǎn)上就能解決問(wèn)題, 通過(guò)輸出 點(diǎn)連接接觸器或繼電器來(lái)控制大功率的啟動(dòng)設(shè)備, 而小功率的輸出設(shè)備直接連接 就可以. PLC 的內(nèi)部包含了具有中央處理器的 CPU, 并帶有外部 I/O 口擴(kuò)展的 I/O 接口 地址和存儲(chǔ)器三大塊組成,CPU 的核心是由一個(gè)或者多個(gè)累加器組成,它們具有 邏輯的數(shù)學(xué)運(yùn)算能力, 并能讀取程序存儲(chǔ)器的內(nèi)容通過(guò)計(jì)算后去驅(qū)動(dòng)相應(yīng)的存儲(chǔ) 器和 I/O 接口;I/O 口將內(nèi)部累加器和外部的輸入和輸出系統(tǒng)連接起來(lái),并將相 關(guān)的數(shù)據(jù)存入程序存儲(chǔ)器或者數(shù)據(jù)存儲(chǔ)器中; 存儲(chǔ)器可以將 I/O 口輸入的數(shù)據(jù)存 入存儲(chǔ)器中,并在工作時(shí)調(diào)轉(zhuǎn)到累加器和 I/O 接口上,存儲(chǔ)器分程序存儲(chǔ)器 ROM 和數(shù)據(jù)存儲(chǔ)器 RAM,ROM 可以將數(shù)據(jù)永久的存入存儲(chǔ)器中,而 RAM 只能作為 CPU 計(jì)算時(shí)臨時(shí)計(jì)算使用的緩沖空間. PLC 的抗干擾是極其優(yōu)秀的,我們根本不用去關(guān)心它的使用壽命和工作場(chǎng)合 的惡劣,這些所有的問(wèn)題已不再成為我們失敗的主題,而留給我們的是關(guān)心如何 來(lái)利用 PLC 的內(nèi)部資源為我們加強(qiáng)設(shè)備的控制能力,使我們的設(shè)備更加的柔性. PLC 的語(yǔ)言并不是我們所想象的匯編語(yǔ)言或 C 語(yǔ)言來(lái)進(jìn)行編程,而是采用原 有的繼電器控制的梯形圖,使得電氣工程師在編寫(xiě)程序時(shí)很容易就理解了 PLC 的語(yǔ)言,而且很多的非電氣專(zhuān)業(yè)人士也對(duì) PLC 很快認(rèn)識(shí)并深入. 以上僅僅是 PLC 的優(yōu)點(diǎn)之一,這也是人們比較容易理解的一部分,在很多的 設(shè)備中,人們已不再希望看到太多的控制按鈕,它們不但容易損壞而且極易產(chǎn)生 人為的失誤,小的并不是主要的失誤也許你還能夠接受;但過(guò)大的甚至是致命的 失誤是我們無(wú)法容忍的.新的技術(shù)總是為了給我們帶來(lái)更安全和便捷的操作,使 得我們面臨的一大堆問(wèn)題一掃而光, 你有了解過(guò) HMI 嗎?這里說(shuō) HMI 你根本不清 楚它是什么,也沒(méi)有興趣了解,換一個(gè)中文把它說(shuō)明為觸摸屏或者人機(jī)界面你就 知道了,它和 PLC 的結(jié)合給了我們更大的空間. HMI 控制不僅僅是減少了控制按鈕,增加控制的靈活性,更主要的它是可順 序性的,而且在能夠改變數(shù)據(jù)輸入和數(shù)據(jù)輸出反饋,在溫度控制曲線的模擬也能 直觀的顯示出來(lái).并且能夠通過(guò)編寫(xiě)功能幫助程序來(lái)提供各種力所能及的幫助, 使得操作者減少不必要的失誤.HMI 的廠商目前也越來(lái)越多,功能也越來(lái)越強(qiáng), 價(jià)格也越來(lái)越低,使用的面越來(lái)越廣.HMI 的前景可以說(shuō)十分的看好. 在很多場(chǎng)合,單靠單機(jī)的控制是無(wú)法保證設(shè)備的順暢運(yùn)行,而通過(guò)設(shè)備與設(shè) 備的信息交流達(dá)到我們想要的效果.比如在前包裝和后工序的檢測(cè),我們就要將 包裝的信息反饋到檢測(cè)處,而檢測(cè)處的信息也要反饋到包裝來(lái).這樣通過(guò)信息共 享來(lái)使得兩者之間鏈接起來(lái), 形成一個(gè)共體, 從而使的兩者間的配合更加的緊密, 在彼此間達(dá)到映影相揮的效果. PLC 的通信已經(jīng)愈來(lái)愈體現(xiàn)它的價(jià)值,在 PLC 與 PLC 之間的通信,能夠通過(guò) 信息的溝通和數(shù)據(jù)的共享來(lái)保證設(shè)備之間的相互協(xié)調(diào),已達(dá)到互補(bǔ)的效果.PLC 之間的數(shù)據(jù)轉(zhuǎn)換采用 RS232 接口來(lái)傳送數(shù)據(jù),而 RS232 接口只能保證 10 米的傳 輸距離,如果在 1000 米的距離內(nèi)我們可以通過(guò) RS485 來(lái)進(jìn)行通信,更長(zhǎng)的距離 只能通過(guò) MODEL 來(lái)進(jìn)行傳輸. PLC 的數(shù)據(jù)傳送只是將內(nèi)部的數(shù)據(jù)傳送到對(duì)方的一塊連續(xù)的地址中,我們把 它稱(chēng)為一個(gè)表,對(duì)方的 PLC 通過(guò)讀取表中的數(shù)據(jù)來(lái)進(jìn)行操作.如果表中的數(shù)據(jù)是 一個(gè)一般設(shè)置的數(shù)據(jù)的話,那只是一般的數(shù)據(jù)傳送,比如今天的油價(jià)上升了,我 要把油價(jià)的價(jià)格傳送到所有的輸油機(jī)上,那就是數(shù)據(jù)的共享;而當(dāng)表中的數(shù)據(jù)是 一段控制 PLC 的指令程序,那就很有難度了,比如你要控制一臺(tái)機(jī)器人來(lái)按你想 象的動(dòng)作工作,你會(huì)給它編制一段程序并以數(shù)據(jù)的形式發(fā)送過(guò)去. 信息輸送的形式有單工位,半雙工位和全雙工位的分別.單工位的意義也就 是說(shuō)兩者之間,一個(gè)只能發(fā)送,而一個(gè)只能接收,比如一個(gè)特務(wù)他只能接收上司 的指示,而無(wú)法給上司回復(fù);半雙工位也就是兩個(gè)能都能發(fā)送和接受數(shù)據(jù),但不 能同時(shí)發(fā)送和接受,比如你打電話時(shí)是不能接電話,對(duì)方也一樣;而全雙工位是 兩者之間都能發(fā)送和接受數(shù)據(jù), 并可同時(shí)發(fā)送和接受. 像互聯(lián)網(wǎng)就是典型的例子. 信息輸送的過(guò)程也有同步和異步之分:同步的意義在于發(fā)送數(shù)據(jù)時(shí)數(shù)據(jù)線和 時(shí)鐘線是同步的,也就是數(shù)據(jù)信號(hào)和時(shí)鐘信號(hào)同時(shí)由 CPU 進(jìn)行發(fā)送,這需要彼此 都要專(zhuān)門(mén)的時(shí)鐘信號(hào)來(lái)進(jìn)行傳送和接送,并且是強(qiáng)制性的,這種方法的特點(diǎn)在于 它的速度極快,但相應(yīng)占用 CPU 的工作時(shí)間也相對(duì)的要長(zhǎng),同時(shí)技術(shù)難度也非常 的大.它的要求在于在一幀的數(shù)據(jù)傳送中不能有一位的誤差,不然的話整個(gè)數(shù)據(jù) 將發(fā)生錯(cuò)誤,這在硬件上是一個(gè)比較大的難度.在一些專(zhuān)用的設(shè)備中應(yīng)用的越來(lái) 越廣泛,像專(zhuān)用的醫(yī)療設(shè)備,數(shù)字信號(hào)設(shè)備等,在比較單一數(shù)據(jù)的傳輸中,它的 效果非常的好. 而異步是應(yīng)用范圍最廣泛的,這得益于它的技術(shù)難度相對(duì)要小,同時(shí)不需要 配制專(zhuān)門(mén)的時(shí)鐘信號(hào),它的特點(diǎn)在于,它的數(shù)據(jù)是間隔性的,離散性的發(fā)送和接 受,當(dāng) CPU 太忙的時(shí)候可以停頓性去工作,在硬件上也減少了難度,同時(shí)數(shù)據(jù)的 丟失相對(duì)要少,我們可以通過(guò)數(shù)據(jù)的檢測(cè)來(lái)觀察我們發(fā)送的數(shù)據(jù)是否有錯(cuò)誤,像 奇偶法,累加法和八位效驗(yàn)法等,都可以用來(lái)幫助我們檢測(cè)發(fā)送的數(shù)據(jù)是否有錯(cuò) 誤發(fā)生,通過(guò)反饋來(lái)進(jìn)行辨別. 信息的傳送口線有串口和并口之分: 通常的 PLC 是 8 位機(jī), 當(dāng)然也有 16 位機(jī). 我們?cè)诎l(fā)送數(shù)據(jù)的時(shí)候可以是一位一位的發(fā)送給對(duì)方, 也可以 8 位 8 位的將數(shù)據(jù) 發(fā)送到對(duì)方,一位和 8 位區(qū)別也就是我們所說(shuō)的串口發(fā)送數(shù)據(jù)和并口發(fā)送數(shù)據(jù). 串口速度比較慢,但只要兩條或者三條口線就能解決問(wèn)題,并能借用電話線來(lái)進(jìn) 行遠(yuǎn)程控制.而并口的傳送速度是極快的,它是串口的 256 倍,在短距離占有優(yōu) 勢(shì),由于是 TTL 電平,一般限于 1 米的范圍,它并不適用于長(zhǎng)距離的數(shù)據(jù)傳送, 這樣成本太昂貴了. 很多的情況下我們總喜歡采用串并轉(zhuǎn)換芯片來(lái)進(jìn)行傳輸,這種情況下不需要 我們進(jìn)行過(guò)于復(fù)雜的寄存器設(shè)置了,而直接通過(guò)數(shù)據(jù)傳送指令進(jìn)行數(shù)據(jù)交流,但 在通信中并不是一個(gè)十分可行的辦法, 因?yàn)樵诎l(fā)送數(shù)據(jù)的時(shí)候?qū)Ψ降?PLC 必須一 直等待你的數(shù)據(jù)輸出,它不能去做其他的工作. 當(dāng)你在看書(shū)的時(shí)候,你聽(tīng)到有人敲門(mén),你停下手上的事情,去打開(kāi)門(mén),并同 敲門(mén)者對(duì)話,這個(gè)時(shí)候電話響了,你示意接個(gè)電話,在接完電話后,回過(guò)頭來(lái)同 敲門(mén)者繼續(xù)對(duì)話, 對(duì)話完畢后, 你再繼續(xù)看你的書(shū), 這種情況我們把它稱(chēng)為中斷, 它具有權(quán)威性,也具有優(yōu)先性,PLC 具備了這樣的功能.它的特點(diǎn)在于我們?cè)谠O(shè) 備的操作過(guò)程中可能會(huì)遇到緊急的突發(fā)事件,我們要立刻的停下手上的工作,去 處理更重要的事情, 這種情況是我們經(jīng)常所遇到的, 在去執(zhí)行緊急的任務(wù)時(shí), PLC 總會(huì)先保存目前的狀態(tài),比如程序的地址,CPU 的累加器數(shù)據(jù)等,就像我們?nèi)ラ_(kāi) 門(mén)時(shí)要記下我們看的書(shū)在第幾頁(yè)了或者干脆作個(gè)記號(hào), 因?yàn)槲覀兇龝?huì)還要繼續(xù)接 著看后面的書(shū).CPU 總是按照我們的意愿去做應(yīng)該做的事情,但你錯(cuò)誤的給它一 件事情,它也會(huì)同樣的去做,這一點(diǎn)我們必須注意. 中斷并不是只有一個(gè),有時(shí)會(huì)同時(shí)存在幾個(gè)中斷,中斷具有優(yōu)先的級(jí)別,他 們會(huì)根據(jù)人的要求去執(zhí)行更高級(jí)別的中斷. 這種中斷中的中斷也就形成了中斷嵌 套.當(dāng)然中斷的級(jí)別根據(jù)各種 PLC 內(nèi)部 CPU 的資源有關(guān),同時(shí)也跟堆棧的容量大 小也有關(guān)系. 中斷的內(nèi)容有很多種,比如外部中斷,通信中的發(fā)送和接受中斷,定時(shí)和計(jì) 數(shù)的時(shí)鐘中斷,還有 WDT 復(fù)位中斷等,它們豐富了 CPU 在處理各種事務(wù)時(shí)響應(yīng)種 類(lèi).這樣講也許你并不能完全理解中斷的內(nèi)部結(jié)構(gòu)和操作順序,我們做一個(gè)小小 的例子來(lái)說(shuō)明. 每一個(gè)設(shè)備總是不會(huì)忘記有一個(gè)按鈕, 它也是在我們遇到緊急情況時(shí)使用的, 那就是急停按鈕.當(dāng)我們遇到人身事故和意外情況時(shí)我們只要按下它,機(jī)器立即 停止所有的操作,并等待處理完意外后再恢復(fù)操作.急停按鈕連接 PLC 內(nèi)部 CPU 的內(nèi)部 I/O 接口上,當(dāng)按鈕給 CPU 一個(gè)外部觸發(fā)信號(hào)時(shí),CPU 對(duì) I/O 進(jìn)行再次檢 測(cè),當(dāng)確認(rèn)有外部觸發(fā)信號(hào)時(shí),CPU 保護(hù)現(xiàn)場(chǎng)并將程序計(jì)數(shù)器自動(dòng)轉(zhuǎn)到相應(yīng)的外 部 I/O 中斷程序中去,當(dāng)外部中斷程序處理完畢,程序計(jì)數(shù)器返回到主程序繼續(xù) 工作.有一點(diǎn)可以說(shuō)明的是我們一般會(huì)把急停按鈕的外部中斷升至最高級(jí)別,從 而保證安全. 當(dāng)我們?cè)诠ぷ魍暌粋€(gè)工件時(shí),給 PLC 一個(gè)信號(hào),將 PLC 的內(nèi)部計(jì)數(shù)器加 1 來(lái) 計(jì)算我們一天的工作量時(shí),一個(gè)簡(jiǎn)單的計(jì)數(shù)器能解決問(wèn)題,當(dāng)然它們也能夠在掉 電的情況下保持?jǐn)?shù)據(jù),促使數(shù)據(jù)不丟失,這也是我們所渴望的. PLC 還具有高級(jí)計(jì)數(shù)器的功能,當(dāng)我們?cè)诮邮芤恍└咚俚臄?shù)據(jù)時(shí),這里所說(shuō) 的高速是在在微秒級(jí)的數(shù)據(jù),比如條碼掃描機(jī)在不斷的掃描數(shù)據(jù),數(shù)據(jù)處理器 DSP 計(jì)算的高速信號(hào)等,我們就要采用到高級(jí)計(jì)數(shù)器來(lái)幫助我們進(jìn)行計(jì)數(shù).它在 PLC 執(zhí)行程序時(shí)一旦發(fā)現(xiàn)高級(jí)計(jì)數(shù)器對(duì)應(yīng)的中斷,就會(huì)立即放下手上的工作.經(jīng) 過(guò)再次編程的梯形圖程序說(shuō)明我們?cè)趫?zhí)行程序時(shí)高級(jí)計(jì)數(shù)器會(huì)自動(dòng)的執(zhí)行對(duì)應(yīng) 的工作,從而將高級(jí)計(jì)數(shù)器的級(jí)別升至高一級(jí)別. 你也許聽(tīng)過(guò)太多的這個(gè)詞:"死機(jī)" ,大致的意思是 CPU 工作量過(guò)大,內(nèi)部資 源不足等情況造成程序無(wú)法運(yùn)行.PLC 也有類(lèi)似的情況,在 PLC 內(nèi)部有一個(gè)看門(mén) 狗 WDT,我們可以設(shè)置 WDT 一個(gè)程序運(yùn)行的時(shí)間,當(dāng)程序運(yùn)行過(guò)程中出現(xiàn)程序跳 轉(zhuǎn)錯(cuò)誤時(shí)或者程序繁忙時(shí),程序的運(yùn)行時(shí)間超過(guò) WDT 的設(shè)置時(shí)間,CPU 轉(zhuǎn)而 WDT 復(fù)位狀態(tài).程序重新開(kāi)始運(yùn)行,但對(duì)中斷不會(huì)進(jìn)行破壞. PLC 的發(fā)展已經(jīng)從單一的模式進(jìn)入了通信的網(wǎng)絡(luò)時(shí)代,并同其它的工控網(wǎng)板 和 I/O 卡板輕易的進(jìn)行共享.組態(tài)軟件可以將所有的這些硬件連接起來(lái),通過(guò)更 直觀的動(dòng)畫(huà)圖片來(lái)進(jìn)行控制,并可以通過(guò)互聯(lián)網(wǎng)在異地進(jìn)行控制,像神舟五號(hào)的 發(fā)射就是采用這種辦法來(lái)使飛船升空. 更高層次的發(fā)展需要我們不斷的努力來(lái)取得.PLC 的出現(xiàn)已經(jīng)足足影響了幾代 人, 我們也從上一輩的經(jīng)驗(yàn)中獲取了更多的知識(shí)和教訓(xùn), 來(lái)不斷的發(fā)展 PLC 技術(shù), 將它推向更高浪潮
外文資料翻譯
PLC technique discussion and future development
Along with the development of the ages, the technique that is nowadays is also gradually perfect, the competition plays more more strong; the operation that list depends the artificial has already can't satisfied with the current manufacturing industry foreground, also can't guarantee the request of the higher quantity and high new the image of the technique business enterprise. The people see in produce practice, automate brought the tremendous convenience and the product quantities for people up of assurance, also eased the personnel's labor strength, reduce the establishment on the personnel. The target control of the hard realization in many complicated production lines, whole and excellent turn, the best decision etc., well-trained operation work, technical personnel or expert, governor but can judge and operate easily, can acquire the satisfied result. The research target of the artificial intelligence makes use of the calculator exactly to carry out, imitate these intelligences behavior, moderating the work through person's brain and calculators, with the mode that person's machine combine, for resolve the very complicated problem to look for the best path We come in sight of the control that links after the electric appliances in various situation, that is already the that time generation past, now of after use in the mold a perhaps simple equipments of grass-roots control that the electric appliances can do for the low level only;And the PLC emergence also became the epoch-making topic, adding the vivid software control through a very and stable hardware, making the automation head for the new high tide. The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculationses of cost, as long as order the importation that the button switch or the importation of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can. PLC internal containment have the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people's address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation; The I/ O add inner part is tired the input and output system of the machine and exterior link, and deposit the related data into the procedure saving machine or data saving machine; The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to become tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and datas, the ROM can can do deposit of the data permanence in the saving machine, but RAM only for the CPU computes the temporary calculation usage of hour of buffer space. The PLC anti- interference is very and excellent, our root need not concern its service life and the work situation bad, these all problems have already no longer become the topic that we fail, but stay to our is a concern to come to internal resources of make use of the PLC to strengthen the control ability of the equipments for us, make our equipments more gentle. PLC language is not we imagine of edit collected materials the language or language of Cs to carry on weaving the distance, but the trapezoid diagram that the adoption is original after the electric appliances to control, make the electrical engineering teacher while weaving to write the procedure very easy comprehended the PLC language, and a lot of non- electricity professional also very quickly know and go deep into to the PLC. Is PLC one of the advantage above and only, this is also one part that the people comprehend more and easily, in a lot of equipmentses, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easiest, small is not a main error perhaps you can still accept; But lead even is a fatal error greatly is what we can't is tolerant of. New technique always for bringing more safe and convenient operation for us, make we a lot of problems for face on sweep but light, do you understand the HMI? Says the HMI here you basically not clear what it is, also have no interest understanding, change one inside text explains it into the touch to hold or man-machine interface you knew, it combines with the PLC to our larger space. HMI the control not only only is reduced the control press button, increase the vivid of the control, more main of it is can sequence of, and at can the change data input to output the feedback with data, control in the temperature curve of imitate but also can keep the manifestation of view to come out. And can write the function help procedure through a plait to provide the help of various what lies in one's power, the one who make operate reduces the otiose error. Currently 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 movement that can't guarantee the equipments by the control of the single machine, but pass the information exchanges of the equipments and equipments to attain the result that we want. For example fore pack and the examination of the empress work preface, we will arrive wrapping information feedback to examine the place, and examine the information of the place to also want the feedback to packing. Pass the information share thus to make both the chain connect, becoming a total body, the match of your that thus make is more close, at each other attain to reflect the result that mutually flick. The PLC correspondence has already come more more body now its value, at the PLC and correspondence between PLCs, can pass the communication of the information and the share of the datas to guarantee that of the equipments moderates mutually, the result that arrive already to repair with each other. Data conversion the adoption RS232 between PLC connect to come to the transmission data, but the RS232 pick up a people and can guarantee 10 meters only of deliver the distance, if in the distance of 1000 meters we can pass the RS485 to carry on the correspondence, the longer distance can pass the MODEL only to carry on deliver. The PLC data transmission is just to be called a form to it in a piece of and continuous address that the data of the inner part delivers the other party, we, the PLC of the other party passes to read data in the watch to carry on the operation. If the data that data in the watch is a to establish generally, that is just the general data transmission, for example today of oil price rise, I want to deliver the price of the oil price to lose the oil ally on board, that is the share of the data; But take data in the watch for an instruction procedure that controls the PLC, that had the difficulty very much, for example you have to control one pedestal robot to press the action work that you imagine, you will draw up for it the form that a procedure combine with the data sends out to pass by. The form that information transport contain single work, the half a work and the difference of a workses .The meaning of the single work also is to say both, a can send out only, but a can receive only, for example a spy he can receive the designation of the superior only, but can't give the superior reply; A work of half is also 2 and can can send out similar to accept the data, but can't send out and accept at the same time, for example when you make a phone call is to can't answer the phone, the other party also; But whole pair works is both can send out and accept the data, and can send out and accept at the same time. Be like the Internet is a typical example. The process that information transport also has synchronous and different step cent: The data line and the clock lines are synchronous when synchronous meaning lie in sending out the data, is also the data signal and the clock signals to be carry on by the CPU to send out at the same time, this needs to all want the specialized clock signal each other to carry on the transmission and connect to send, and is constrained, the characteristics of this kind of method lies in its speed very quick, but correspond work time of take up the CPU and also want to be long oppositely, at the same time the technique difficulty also very big. Its request lies in can'ting have an error margins in a datas deliver, otherwise the whole piece according to compare the occurrence mistake, this on the hardware is a bigger difficulty. Applied more and more extensive in some appropriative equipmentses, be like the appropriative medical treatment equipments, the numerical signal equipments...etc., in compare the one data deliver, its result is very good. And the different step is an application the most extensive, this receive benefit in it of technique difficulty is opposite and want to be small, at the same time not need to prepare the specialized clock signal, its characteristics to lie in, its data is partition, the long-lost send out and accept, be the CPU is too busy of time can grind to a stop sex to work, also reduced the difficulty on the hardware, the data throw to lose at the same time opposite want to be little, we can pass the examination of the data to observe whether the data that we send out has the mistake or not, be like strange accidentally the method, tired addition and eight efficacies method etc., can use to helps whether the data that we examine to send out have or not the mistake occurrence, pass the feedback to carry on the discriminator. A line of transmission of the information contain a string of and combine the cent of: The usual PLC is 8 machines, certainly also having 16 machines. We can be an at the time of sending out the data a send out to the other party, also can be 88 send out the data to the other party, an and 8 differentiationses are also the as that we say to send out the data and combine sends out the data. A speed is more and slowly, but as long as 2 or three lines can solve problem, and can use the telephone line to carry on the long range control. But combine the oscular transmission speed is very quick of, it is a string of oscular of 25600%, occupy the advantage in the short distance, the in view of the fact TTL electricity is even, being limited by the scope of one meter generally, it combine unwell used for the data transmission of the long pull, thus the cost is too expensive. Under a lot of circumstances we are total to like to adopt the string to combine the conversion chip to carry on deliver, under this kind of circumstance not need us to carry on to depositted the machine to establish too and complicatedly, but carry on the data exchanges through the data transmission instruction directly, but is not a very viable way in the correspondence, because the PLC of the other party must has been wait for your data exportation at the time of sending out the data, it can't do other works. When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and combine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo come together knock on door to have a conversation, after dialogue complete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the 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, for example the address of the procedure, CPU of tired add the 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 to do, this we must notice. 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 interruption of the higher Class according to person's request. This kind of breaks off the medium interruption to also became to break off the set. The Class that certainly break off is relevant according to various resources of CPU with internal PLC, also following a heap of capacity size of also relevant fasten. The contents that break off has a lot of kinds, for example the exterior break off, correspondence in of send out and accept the interruption and settle and the clock that count break off, still have the WDT to reset the interruption etc., they enriched the CPU to respond to the category while handle various business. Speak thus perhaps you can't comprehend the internal structure and operation orders of the interruption completely also, we do a very small example to explain. Each equipments always will not forget a button, it also is at we meet the urgent circumstance use of, that is nasty to stop the button. When we meet the Human body trouble and surprised circumstances we as long as press it, the machine stops all operations immediately, and wait for processing the over surprised empress recover the operation again.Nasty stop the internal I/ O of the internal CPU of the button conjunction PLC to connect up, be to press button an exterior to trigger signal for CPU, the CPU carries on to the I/ O to examine again, being to confirm to have the exterior to trigger the signal, CPU protection the spot breaks off procedure counts the machine turn the homologous exterior I/ O automatically in the procedure to go to also, be exterior interruption procedure processing complete, the procedure counts the machine to return the main procedure to continue to work.Have 1:00 can what to explain is we generally would nasty stop the button of exterior break off to rise to the tallest Class, thus guarantee the safety. When we are work a work piece, giving the PLC a signal, counting PLC inner part the machine add 1 to compute us for a day of workload, a count the machine and can solve problem in brief, certainly they also can keep the data under the condition of dropping the electricity, urging the data not to throw to lose, this is also what we hope earnestly. The PLC still has the function th