基于PLC的双面钻孔组合机床监控系统设计 下载本文

洛阳理工学院毕业设计(论文)

基于PLC的双面钻孔组合机床监控系统设计

摘 要

本文以双面钻孔组合机床为研究对象,通过分析机床的工作原理和运动形式,结合机床的电气控制要求,设计了以PLC为核心的主控制系统。

硬件方面进行了PLC选型,列出了I/O分配表,并绘制了接线图;软件方面以STEP 7-Micro/WIN32为编程软件编写梯形图并导出指令表;监控方面用组态王设计出组态监控画面实现对机床的实时监控。

将PLC技术应用到机床的电气化控制系统中,提高了机床的加工精度和可靠性,降低了设备故障率,方便了设备的维护,在节约经济成本的同时完全满足了批量生产的要求。

关键词:PLC,双面钻孔,组合机床,控制系统,组态

I

洛阳理工学院毕业设计(论文)

Design of Two-sided Drill Hole Modular Machine Tool Control System

Based on PLC

ABSTRACT

In this paper, two-sided combination drilling machine for the study, through the analysis of the principles and form of exercise to work the machine, combined machine electrical control requirements, the design of the PLC as the core of the main control system.

The PLC hardware aspects of the selection, a list of I/O allocation table and draw a wiring diagram; software in order for the programming software STEP 7-Micro/WIN32 ladder and export instruction sheet; surveillance design with kingview the configuration of the machine's monitor screen to achieve real-time monitoring.

The PLC technology will be applied to the machine control system electrification improves machining accuracy and reliability, reduce equipment failure rate, easy maintenance equipment costs while saving the economy to fully meet the requirements of mass production.

KEY WORDS: PLC, two-sided drilling, combination machine tools, control system, configuration

II

洛阳理工学院毕业设计(论文)

目 录

前 言 ................................................................................................ 1 第1章 绪论 ...................................................................................... 2

1.1 课题背景与意义 ................................................................... 2 1.2 组合机床概述及发展 ........................................................... 3

1.2.1 组合机床的简单概述 .................................................. 3 1.2.2 组合机床的发展趋势 .................................................. 3

第2章 控制方案的选择 ................................................................... 4

2.1 机床介绍及工作原理 ........................................................... 4 2.2 机床的控制要求 ................................................................... 5 2.3 控制方案的论述 ................................................................... 7

2.3.1 控制方案的比较 .......................................................... 7 2.3.2 控制方案的选定 .......................................................... 8

第3章 硬件设计 ............................................................................... 9

3.1 PLC的概述 ........................................................................... 9

3.1.1 PLC的发展与现状 ...................................................... 9 3.1.2 PLC的特点及优势 .................................................... 10 3.2 PLC控制系统设计 .............................................................. 12

3.2.1 PLC控制系统设计的原则与任务评估 ..................... 12 3.2.2 PLC控制系统设计的内容 ........................................ 13 3.2.3 PLC系统设计的一般步骤 ........................................ 13 3.3 PLC的选型 ......................................................................... 15 3.4 I/O地址分配表及接线图 .................................................... 15 3.5其他硬件的选择 .................................................................. 17 3.6主电路设计 .......................................................................... 20 第4章 软件设计 ............................................................................. 21

4.1 PLC的编程语言 .................................................................. 21 4.2 PLC的编程方法 .................................................................. 22 4.3编程软件介绍 ...................................................................... 23

III

洛阳理工学院毕业设计(论文)

4.4 PLC程序设计 ..................................................................... 23

4.4.1 设计思路和详细步骤 ................................................ 23 4.4.2 程序流程图 ................................................................ 29 4.4.3 程序梯形图 ................................................................ 30 4.4.4 程序指令表 ................................................................ 31

第5章 监控系统设计 ..................................................................... 33

5.1组态王软件介绍 .................................................................. 33

5.1.1 组态王软件的构成 .................................................... 33 5.1.2 组态王软件的功能与特点 ......................................... 33 5.2双面钻孔机床的组态 .......................................................... 34

5.2.1 新建工程 .................................................................... 34 5.2.2 定义设备 .................................................................... 35 5.2.3 定义数据变量 ............................................................ 36 5.2.4 组态画面设计 ............................................................ 37

第6章 系统调试 ............................................................................. 39

6.1 程序调试 ............................................................................. 39 6.2 组态调试 ............................................................................. 41 结 论 .............................................................................................. 44 谢 辞 .............................................................................................. 45 参考文献 .......................................................................................... 46 外文资料翻译 .................................................................................. 48

IV