基于PLC的全自动包装机系统设计设计

  • 格式:doc
  • 大小:2.28 MB
  • 文档页数:52

吉林化工学院毕业设计说明书

基于PLC的全自动包装机系统设计

The Design of Automatic Packaging Machine Control

System

Based on PLC

吉 林 化 工 学 院

Jilin Institute of Chemical Technology

独 创 声 明

本人郑重声明:所呈交的毕业设计(论文),是本人在指导老师的指导下,独立进行研究工作所取得的成果,成果不存在知识产权争议。尽我所知,除文中已经注明引用的内容外,本设计(论文)不含任何其他个人或集体已经发表或撰写过的作品成果。对本文的研究做出重要贡献的个人和集体均已在文中以明确方式标明。

本声明的法律后果由本人承担。

作者签名:

二〇一〇年九月二十日

毕业设计(论文)使用授权声明

本人完全了解滨州学院关于收集、保存、使用毕业设计(论文)的规定。

本人愿意按照学校要求提交学位论文的印刷本和电子版,同意学校保存学位论文的印刷本和电子版,或采用影印、数字化或其它复制手段保存设计(论文);同意学校在不以营利为目的的前提下,建立目录检索与阅览服务系统,公布设计(论文)的部分或全部内容,允许他人依法合理使用。

(保密论文在解密后遵守此规定)

作者签名:

二〇一〇年九月二十日

摘 要

全自动包装机系统生产工艺及主要设备,建立在机械电气特性的基础上,对在控制系统设计中如何充分利用现代控制技术、网络技术、现场总线技术、计算机技术等。全自动包装机控制系统达到国际先进水平进行了较深入的研究。论文充分考虑了成本、维护可靠性和先进性等诸多因素,提出了基于全自动包装机控制系统的实现方案,设计出全自动包装机控制系统的构成。

自动控制系统设置3个现场PLC 监控站和1个中心操作站。下位机系统采用PLC,上位机系统采用PC 或IPC(工业PC 机)。考虑到全自动包装机控制对系统安全性、可靠性、可维护性和灵活性的要求,本系统现场控制站选择西门子公司S7-300 系列的模块结构PLC,上位机选择工控机IPC。下位机编程采用STEP-7 V5.0 软件包进行PLC 软件设计。

建立高度全自动包装机控制系统,不仅可以加强整个系统的可靠性、准确性,还可以减少劳动强度,降低处理成本和节约能源。全自动包装机控制系统的建设将降低生产和维护成本,减轻生产及维护工人的劳动强度,并为生产工艺的进一步改进提供方便,具有很好的经济效益和社会效益。

关键词:全自动包装机,可编程控制器,硬件组态

Abstract

With the rapid development of the automatic control theory, industrial

control networks, computer networks and communication networks’

technology, in modern industrial occasion for the realization of people-oriented

work ethic, reducing the intensity of work, i increasing work efficiency,

production line of automatic control system which must have high reliability

and flexibility has become an important part of the study in the development of

the control industry.

The system uses Siemens S7-300 PLC programming software STEP7 to

conduct the reasonable control procedures design, in order to be able to vividly

reflect the actual operating and controlling process, making control scheme

flexible and operating simply achieving the whole control process of alcohol

distillation section.

Combined with the process of alcohol distillation section and based on the

function analysis towards PLC, in the case that taking full account of the cost,

maintaining reliability and many other factors ,this design accomplishes many

important functions such as analog input range conversion, analog volume

output range conversion, the edit of digital manual program and main program,

and so on, thus it improves the system’s real-time, anti-interference and

maneuverability, meets the actual needs in industrial process, achieves flexible

control scheme, operates simply and achieves control of the whole process of

alcohol distillation.

The system can conduct online- monitoring towards the operating

parameters, loop control, PID tuning, operating conditions of equipments and

system fault of the ethanol distillation system. It can effectively reduce labor

intensity, save productive cost, and improve the anti-jamming capability, the

level of the automation control and the reliability of the system.

Keywords: water treatment, programmable controller, hardware

configuration

摘 要 ································· I

Abstract ································ II

第1章 绪论 ······························· 1

1.1 选题的目的及意义 ·························· 1

1.1.1 选题的目的 ························ 1

1.1.2 选题的意义 ························ 1

1.2 全自动包装机系统国内外形势 ····················· 2

1.3 可编控制器的发展 ························ 3

1.3.1 可编程控制介绍 ······················ 3

1.3.2 可编程控制器功能 ····················· 3

1.3.3 可编程控制器特点 ····················· 4

1.3.4 可编程逻辑控制器发展史 ·················· 5

第2章 全自动包装机控制系统总体设计 ··················· 7

2.1 本课题研究的主要内容 ······················ 7

2.2 基于PLC的包装机生产工艺概述 ·················· 8

2.3 系统运行方式 ·························· 8

2.4 系统控制总框图 ························· 9

第3章 STEP7编程软件 ························ 10

3.1 SIMATIC S7-300基本构成 ··················· 10

3.2 SIMATIC S7-300基本功能 ··················· 11

3.3 STEP7软件概述 ························ 12

3.3.1 STEP7的硬件接口 ···················· 12

3.3.2 STEP7的授权 ······················ 12

3.3.3 STEP7的硬件组态 ···················· 13

3.3.4 STEP7中的块 ······················ 13

3.4 S7 PLCSIM仿真软件 ······················ 15

第4章 包装机控制系统设计 ······················· 17

4.1 I/O点的确立及硬件配置 ····················· 17

4.1.1 确定I/O表 ······················· 17

4.1.2 硬件配置 ························ 18

4.2 硬件组态 ··························· 18

4.2.1 建立项目 ························ 18

4.2.2 硬件组态 ························ 20

4.3 STEP 7编程 ·························· 22

4.31 编辑子程序 ························ 23

4.3.2 主程序OB1编制 ····················· 29

4.4上位机设置 ·························· 29

4.4.1连接测试与通讯诊断 ···················· 31

4.5 在线调试及仿真 ························ 32

参考文献 ······························· 34

结 论 ································ 35