自动药片装瓶机PLC控制系统设计毕业设计 2 联系客服

发布时间 : 星期六 文章自动药片装瓶机PLC控制系统设计毕业设计 2更新完毕开始阅读0deca968ed630b1c59eeb548

自动药片装瓶机PLC控制系统设计

摘 要

PLC可编程序控制器其实质是一种专用于工业控制的计算机,其硬件结构基本上与微型计算机相同。它采用一类可编程的存储器,用于其内部存储程序,执行逻辑运算、顺序控制、定时、计数与算术操作等面向用户的指令,并通过数字或模拟式输入/输出控制各种类型的机械或生产过程。

在现今医药行业中,自动装瓶机得到了广泛应用,它由PLC通过USS通信协议直接控制电动机。不仅能够实现对装药机方式运行的控制,而且能够根据需要灵活控制装药时间,达到节约电能,降低成本,提高生产效率等目的。PLC特有的I/O指示功能以及简便的PLC控制硬接线使得查找故障点十分迅速、方便。PLC主机工作可靠,本身故障率很低。所以,本文采用PLC设计装瓶机控制系统。

关键词:工业控制系统;PLC;自动装瓶机

The design of PLC control system about automatic

tablet bottling machine

Abstract

PLC programmable controller and its essence is a kind of special for industrial control computer, and its hardware structure is basically the same with micro computer. 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 user-oriented instructions, and through digital or analog input / output control various types of machinery or production process.

In today's pharmaceutical industry, automatic bottling machine has been widely used, it from the PLC through the USS communication 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

目 录

摘要……………………………………………………………………………………….I Abstract………………………………………………………………………………….II 绪论……………………………………………………………………………………….1 1 方案设计……………………………………………………………………………...2 1.1 任务描述……………………………………………………………………………2 1.2 生产工作过程和要求………………………………………………………………3 1.3 方案设计图…………………………………………………………………………4 1.4 系统总体设计………………………………………………………………………5 2 硬件设计……………………………………………………………………………...6 2.1 PLC的基本结构……………………………………………………………………6 2.1.1 PLC的软件结构………………………………………………………………….7 2.1.2 PLC的编程语言………………………………………………………………….8 2.1.3 用户程序结构…………………………………………………………………...10 2.2 PLC的基本工作原理……………………………………………………………..10 2.3 PLC控制系统的设计基本原则…………………………………………………..11 3 软件设计………………………………………………………………………….…13 3.1 PLC输入/输出(I/O)端口与资源分配……………………………………...…13 3.2 硬件系统结构方框图………………………………………………………….….13 3.3 软件系统设计与设备动作要求……………………………………………….….14 3.3.1 信号预处理块………………………………………………………………..….14 3.3.2 药瓶移位及药片装瓶模块………………………………………………….…..15 3.3.3 状态指示及药片计数块………………………………………………………...15

3.3.4 程序梯形图…………………………………………………………………..….16 4 程序调试…………………………………………………………………………….20 4.1 测试程序…………………………………………………………………………..20 4.2 调试总结…………………………………………………………………………..21 总结……………………………………………………………………………………...22 致谢……………………………………………………………………………………...23 参考文献………………………………………………………………………………...24