洛阳理工学院毕业设计(论文)
基于PLC的装配流水线的控制系统设计
摘 要
随着微电子技术和计算机技术的不断发展,PLC在处理速度、控制功能、通信能力及控制领域成为工业自动化领域中最重要、应用最广泛的控制设备之一,并已成为现代工业生产自动化的重要支柱。
对装配流水线的控制进行了分析设计,该系统主要引入了PLC编程控制器的控制方式,实现了对装配流水线的工作状态的在线监测和系统自动控制。设计的控制系统具有较高的实用性,能够进行启动、移位、复位工作,较好地达到预期目标。
本次设计是装配流水线控制的模拟,主要是模拟流水线上产品所经加工过程的控制和生动的表示。模拟主要流水线有四个操作过程(包括入库),传输带用四段指示灯表示,以指示灯的明暗来显示产品在运输这一状态。分析控制对象我们选择用移位寄存器控制来实现控制目的,每隔5秒寄存器移位一次,从而控制相应操作的执行。
关键词:装配流水线,PLC,控制系统
I
洛阳理工学院毕业设计(论文)
DESIGN OF CONTROL SYSTEM OF ASSEMBLY LINE
BASED ON PLC
ABSTRACT
With the development of the microelectronics technology and computer technology, PLC in processing speed, control function, communication ability and control fields have new breakthrough. Become one of the most important control equipment in the field of industrial automation, the most widely used, and has become an important pillar of the modern industrial production automation.
Control of the assembly line are analyzed and designed, the system is mainly introduced PLC control programming controller, realized the on-line monitoring system of assembly line and the working state of automatic control. Practical design of the control system has high, can start, shift work, reset, can reach the expected goal.
The design is simulated assembly line controle, simulation is the main line of products through the control of process and the vivid representation. Simulation of main line is four operations (including storage), transmission belt with four indicates, to display the products in the transportation of this state to light shade. Analysis of the control object we choose to use the shift register control to achieve the control objective, every 5 seconds of shift register once, so as to control the corresponding operations.
KEY WORDS: assembling line, plc, the control system
II
洛阳理工学院毕业设计(论文)
目 录
前 言 ................................................................................................ 1 第1章 绪论 ...................................................................................... 2
1.1 课题研究的背景 ................................................................... 2 1.2 课题研究的现状 ................................................................... 2
1.2.1 可编程控制器简介 ..................................................... 2 1.2.2 装配流水线简介 ......................................................... 4 1.3 课题研究的目的和意义 ....................................................... 5 1.4 方案设计与介绍 ................................................................... 6 第2章 可编程控制器 ....................................................................... 8
2.1 PLC的基本结构和各部分的作用 ........................................ 8 2.2 PLC的工作原理 .................................................................... 9
2.2.1 输入刷新阶段 ............................................................. 9 2.2.2 程序执行阶段 ............................................................. 9 2.2.3 输出刷新阶段 ............................................................. 9
第3章 硬件设计 ............................................................................. 11
3.1 整体要求 ............................................................................. 11 3.2 PLC机型选择 ..................................................................... 11
3.2.1 S7-200 PLC特性 ....................................................... 12 3.2.2 S7-200主要功能模块介绍 ........................................ 12 3.3 I/O接线图及地址分配 ........................................................ 13 3.4 主电路的设计 ..................................................................... 15 第4章 软件设计 ............................................................................. 16
4.1 软件的组成及作用 ............................................................. 16
4.1.1 软件的分类 ............................................................... 16 4.1.2 应用软件的编辑语言 ............................................... 16 4.2 工作流程图 ......................................................................... 16 4.3 梯形图 ................................................................................ 19 结 论 .............................................................................................. 26
III
洛阳理工学院毕业设计(论文)
谢 辞 ................................................................................................ 27 参考文献 .......................................................................................... 28 附 录 .............................................................................................. 29
IV