【正文】
功能強大、靈活,易學(xué)易用、體積小,重量輕,價格便宜的特點。而有關(guān)的外圍設(shè)備,都應(yīng)按易與工業(yè)系統(tǒng)連成一個整體,易 于擴充其功能的原則設(shè)計。 關(guān)鍵詞 可編程控制器 PLC 控制 應(yīng)用 2 Abstract PLC is a specialized in industrial environment and design of the application of the electronic device digital puting operations. It has high reliability and antiinterference ability strong, powerful, flexible, learn, and use, small volume, light weight, price cheap characteristics. build programs used in its internal memory, storage to perform the logic operation, order processing, timing, counting and arithmetic operation instructions, and digital or analog through the input and output, the control various types of machinery or the production process. And the peripheral devices, should according to easy and industrial system into a whole, easy to extend its function of the design principles. PLC application field, at present, PLC has been widely used in the domestic and foreign steel, petroleum, chemical industry, electric power, building materials, machinery manufacturing, automotive, light textile, transportation, environmental protection, and cultural entertainment industries. Keywords plc control application 3 一、 課程設(shè)計概述 可 編程程序控制器 (PLC)概述 PLC(可編程序控制器 )是一種數(shù)字運算操作的電子裝置 ,專為工業(yè)環(huán)境設(shè)計。 而 有關(guān)的外圍設(shè)備都應(yīng)該按易于與工業(yè)控制系統(tǒng)形成一個整體,易于擴展其功能的原則而設(shè)計。使用范圍可覆蓋從替代繼電器的簡單控制 到更復(fù)雜的自動化控制。如:沖壓機床,磨床,印刷機械,橡膠化工機械,中央空調(diào),電梯控制,運動系統(tǒng)。 本機集成 24 輸入 /16 輸出共 40 個數(shù)字量 I/O 點。 13K字節(jié)程序和數(shù)據(jù) 存儲空間。 2 個 RS485 通訊 /編程口,具有 PPI 通訊協(xié)議、MPI 通訊協(xié)議和自由方式通訊能力。用于較高要求的控制系統(tǒng),具有更多的輸入 /輸出點,更強的模塊擴展能力,更快的運行速度和功能更強的內(nèi)部集成特殊功能。 可以快速進(jìn)入,節(jié)省編程時間 。 基于標(biāo)準(zhǔn)的Windows 軟件 (類似于 Winword, Outlook 等標(biāo)準(zhǔn)應(yīng)用軟件 STEP 7Micro/WIN 編程軟件為用戶開發(fā)、編輯和監(jiān)控自己的應(yīng)用程序提供了良好的編程環(huán)境。適用于所有 SIMATIC S7200 PLC機型軟件編程。 具有密碼保護(hù)功能。這些特征包括:監(jiān)視 S7200 正在執(zhí)行的用戶程序狀態(tài),為 S7200 指定運行程序的掃描次數(shù),強制變量值等。 支持 TD 200 和 TD 200C 文本顯示界面 (TD 200 向?qū)?)。 機械手開始順序動作: 機械手下降:延時 1 秒后, Y1 滅,按 SQ1,表示到下限位的檢測信號,則 Y2 亮。 機械手上升:延時 1 秒后, Y2 滅,按 SQ2,表示到上限位的檢測信號,則 Y4 亮。 機械手下降:延時 1 秒后, Y5 滅,按 SQ1,到下限位后,則 Y6 亮。 機械手上升: Y6 滅,按 SQ2,到上限位后,則 Y5 亮,延時 1 秒, Y5滅。 9 三、 基于 PLC 的刀庫捷徑方向選擇控制 設(shè)計要求 加工中心刀庫回臺式模擬裝置,上面設(shè)有 8 把刀,每把刀有相應(yīng)的刀號地址,分別為 ??、 8。當(dāng)按下啟動開關(guān)后,如果傳感器沒有找到任何刀,電機將按順時針方向自動轉(zhuǎn)動,直到指傳感器檢測到某把刀,電機停轉(zhuǎn)。拔碼開關(guān)用來選擇刀號 。程序?qū)λx擇的刀號與當(dāng)前刀號進(jìn)行比較、運算,然后指揮電機按照離當(dāng)前刀號最近的方向旋轉(zhuǎn)(即最捷徑方向,正轉(zhuǎn)或反轉(zhuǎn)),轉(zhuǎn)到所選刀號位置后,電機停轉(zhuǎn) 刀庫捷徑方向選擇控制按鈕作用 如下表所示 名稱 輸入點 名稱 輸出點 啟動按鍵 刀庫正轉(zhuǎn) 送刀號按鍵 刀庫反轉(zhuǎn) 停止按鍵 數(shù)碼顯示 …… 傳感器感應(yīng)刀號地址 …..I0. 7 發(fā)送 刀號地址