【正文】
自動藥片裝瓶機(jī) PLC 控制系統(tǒng)設(shè)計 院 系:機(jī)電與自動化學(xué)院 專業(yè)班級:電氣 工程及其自動化 0905 班 姓 名:張航 學(xué) 號: 20202031188 指導(dǎo)教師:屈虹 2020 年 6 月 自動藥片裝瓶機(jī) PLC 控制系統(tǒng)設(shè)計 The design of PLC control system about automatic tablet bottling machine I 摘 要 PLC 可編程序控制器 其 實(shí)質(zhì)是一種專用于工業(yè)控制的計算機(jī),其硬件結(jié)構(gòu)基本上與微型計算機(jī)相 同。 它采用一類可編程的存儲器,用于其內(nèi)部存儲程序,執(zhí)行邏輯運(yùn)算、順序控制、定時、計數(shù)與算術(shù)操作等面向用戶的指令,并通過數(shù)字或模擬式輸入 /輸出控制各種類型的機(jī)械或生產(chǎn)過程。 在現(xiàn)今醫(yī)藥行業(yè)中,自動裝瓶機(jī)得到了廣泛應(yīng)用,它由 PLC 通過 USS 通信協(xié)議直接控制電動機(jī)。不僅能夠?qū)崿F(xiàn)對裝藥機(jī)方式運(yùn)行的控制,而且能夠根據(jù)需要靈活控制裝藥時間,達(dá)到節(jié)約電能,降低成本,提高生產(chǎn)效率等目的。 PLC 特有的 I/O指示功能以及簡便的 PLC 控制硬接線使得查找故障點(diǎn)十分迅速、方便。 PLC 主機(jī)工作可靠,本身故障率很低。所以,本文采用 PLC 設(shè)計裝瓶機(jī)控制系統(tǒng)。 關(guān)鍵詞: 工業(yè)控制系統(tǒng) PLC 自動裝瓶機(jī) II Abstract PLC programmable controller and its essence is a kind of special for industrial control puter, and its hardware structure is basically the same with micro puter. It adopts a kind of programmable memory, for its internal storage procedures, the implementation of logical, sequential control, timing, counting and arithmetic operations such as useroriented instructions, and through digital or analog input / output control various types of machinery or production process. In today39。s pharmaceutical industry, automatic bottling machine has been widely used, it from the PLC through the USS munication protocol to control the motor directly. Not only can realize the charging machine operation control, and can flexibly control the charge time, save energy, reduce costs, improve production efficiency and other purposes. PLC special I / O indication function and simple PLC control hard wiring that find the point of failure is very rapid, convenient. PLC host work reliability, failure rate is very low. Therefore, this paper uses PLC to design a bottling machine control system. Key words: industrial control system PLC automatic bottling machine III 目 錄 摘要 ………………………………………………………………………………………. I Abstract…………………………………………………………………………………. II 緒論 ………………………………………………………………………………………. 1 1 方案設(shè)計 ……………………………………………………………………………... 2 任務(wù)描述 …………………………………………………………………………… 2 生產(chǎn)工作過程和要求 ……………………………………………………………… 3 方案設(shè) 計圖 ………………………………………………………………………… 4 系統(tǒng)總體設(shè)計 ……………………………………………………………………… 5 2 硬件設(shè)計 ……………………………………………………………………………... 6 PLC 的基本結(jié)構(gòu) …………………………………………………………………… 6 PLC 的軟件結(jié)構(gòu) …………………………………………………………………. 7 PLC 的編程語言 …………………………………………………………………. 8 用戶程序結(jié)構(gòu) ……… …………………………………………………………... 10 PLC 的基本工作原理 …………………………………………………………….. 10 PLC 控制系統(tǒng)的設(shè)計基本原則 ………………………………………………….. 11 3 軟件設(shè)計 ………………………………………………………………………….… 13 PLC 輸入/輸出 (I/ O)端口與資源分配 ……………………………………...… 13 硬件系統(tǒng)結(jié)構(gòu)方框圖 ………………………………………………………….…. 13 軟件系統(tǒng)設(shè)計與設(shè)備 動作要求 ……………………………………………….…. 14 信號預(yù)處理塊 ………………………………………………………………..…. 14 藥瓶移位及藥片裝瓶模塊 ………………………………………………….….. 15 狀態(tài)指示及藥片計數(shù)塊 ………………………………………………………... 15 程序梯形圖 …………………………………………………………………..…. 16 4 程序調(diào)試 ……………………………………………………………………………. 20 測試程序 ……… …………………………………………………………………. .20 調(diào)試總結(jié) ………………………………………………………………………….. 21 IV 總結(jié) ……………………………………………………………………………………... 22 致謝 ……………………………………………………………………………………... 23 參考文獻(xiàn) ………………………………………………………………………………... 241 緒 論 技術(shù)工藝是衡量一個企業(yè)是否具有先進(jìn)性,是否具備市場競爭力,是否能不斷領(lǐng)先于競爭者的重要指標(biāo)依據(jù)。隨著我國藥物生產(chǎn)設(shè)備 市場的迅猛發(fā)展,與之相關(guān)的生產(chǎn)技術(shù)應(yīng)用與研發(fā)必將成為業(yè)內(nèi)企業(yè)關(guān)注的焦點(diǎn)。了解國內(nèi)外藥物裝瓶設(shè)備生產(chǎn)技術(shù)的研發(fā)動向、工藝設(shè)備、技術(shù)應(yīng)用及趨勢對于企業(yè)提升產(chǎn)品技術(shù)規(guī)格,提高市場競爭力十分關(guān)鍵。 醫(yī)藥行業(yè)中,醫(yī)藥包裝機(jī)械產(chǎn)品種類豐富