基于PLC与组态王的货物自动识别控制系统设计 - 图文

2019-03-03 20:22

装 订 线 ……………….……. …………. …………. ……… ……………………. ………………. …………………

山东农业大学

毕 业 论 文

基于PLC与组态王的货物自动识别控制系统设计

院 部 专业班级 届 次 学生姓名 学 号 指导教师

二O 一О 年 六 月十 日

目录

摘要 ............................................................ I ABSTRACT ....................................................... II 引言 ............................................................ 1 1系统设计 ...................................................... 2 1.1 货物识别系统简介 ......................................... 2 1.1.1 系统简介 .............................................. 2 1.1.2 系统技术要求 .......................................... 2 1.2 系统的组成与要求 ......................................... 2 1.3 系统运行的选择 ........................................... 4 1.3.1 运行方式 .............................................. 4 1.3.2故障报警 ............................................... 4 2 识别技术的选择与设计 .......................................... 5 2.1 识别技术的选择 ........................................... 5 2.1.1条形码识别技术概述 ..................................... 5 2.2 识别系统的设计 ........................................... 5 2.2.1条形码的选择及应用 ..................................... 5 2.2.2条形码阅读器的选择及应用 ............................... 8 2.3 通信设计 ................................................. 8 3 PLC的选型与设计 ............................................ 11 3.1 PLC系统设计 ............................................. 11 3.1.1 PLC系统设计原则 ...................................... 11 3.1.2 PLC控制系统的硬件设计 ................................ 12 3.1.2.1 PLC的选型 ........................................ 12 3.1.2.2 输入/输出模块的选择 .............................. 12 3.1.2.3 开关量I/O点的节省和模拟量I/O模块的代用 ......... 13 3.1.2.4抗干扰措施 ........................................ 13 3.2 本项目的选型设计 ........................................ 14 3.2.1 PLC本项目的选型 ...................................... 14 3.2.2 本项目的硬件连接 ..................................... 15

i

3.3 软件设计 ................................................ 16 3.3.1 整体设计 ............................................. 16 3.3.2 其他处理子程序 ....................................... 17 4 上位机软件实现 ............................................... 20 4.1 监控系统的整体规划 ...................................... 20 4.1.1 监控系统开发的目的 ................................... 20 4.1.2 监控系统开发手段 ..................................... 20 4.1.3 组态王介绍 ........................................... 21 4.2 监控系统的功能模块 ...................................... 22 4.2.1 参数设置模块 ......................................... 22 4.2.2 数据词典设置模块 ..................................... 23 4.2.3 页面设置模块 ......................................... 24 4.2.3.1 首页 ............................................. 24 4.2.3.2 数据页面 ......................................... 25 4.2.3.3 数据页面实时曲线图 ............................... 26 4.2.3.4 报警页面 ......................................... 26 4.2.4 权限设置模块 ......................................... 27 5 结论 ......................................................... 29 参考文献 ....................................................... 31 致谢 ........................................................... 32 附录 ........................................................... 33 附录1 系统硬件连接图 ......................................... 33 附 录 2 PLC控制程序 ........................................ 34 附 录 3 组态王脚本程序 ....................................... 40

ii

Contents

Abstract…………………………………………………………………………………….Ⅰ Abstract………………………………………………………………………..……………Ⅱ Introduction………………………………………………………………………..…………1 1 System design………………………………………………….…………………………..2 1.1 Goods identification system introduction …….…………..…………………………..2 1.1.1 System Introduction………...………..……………….………………….……….2 1.1.2 System technical requirements………….…...………..………………….……….2 1.2The composition and the requirement of system…………….….……………….…….2 1.3The choose of system operating modes……………………….….………………..…..4 1.3.1 Ooperation mode……………………………….…..…..…………………..…….4 1.3.2Fault alarm………………………………..…………………………….…………4 2 Selection and design of recognition technology………………………………..………….5 2.1The recognition technology ……………………….……………………….………….5 2.1.1 Overview of barcode identification technology …..……...……………..……….5 2.2 The design of recognition system……………………………….…………………….5 2.2.1The selection and application of ammeters code…………….……………..…….5 2.2.2 The selection and application of Bar code reader ………….……………..……..8 2.3 Communication design…………………………………………..………..…………..9 3 The selection and design of PLC…………………………..………………………….…..12 3.1 PLC system design…………………………………...………………………………12 3.1.1 PLC system design principles…………………..………….……….…………..12 3.1.2The hardware ‘s design of PLC control system …………..…………………….13 3.1.2.1 PLC selection………….……………………………..………..…………..13 3.1.2.2 Input/output module choice……….……………….….…….……………..14 3.1.2.3 Switch I/O point ‘s save and analog I/O modules’ alternative …..…….….14 3.1.2.4 Anti-interference measures………………………....…….………….…….15 3.2 Onstrate type design……………………….………………..………………………..15 3.2.1 PLC onstrate selection……………………………………………….………….15 3.2.2 Onstrate the hardware connection…………….…..…………………………….17 3.3 Software design………………………………………..……………………….…….18

iii

3.3.1 Overall design of ……………………………..……………………..………18 3.3.2 Other processing procedure……………….………………………….………..19

4 PC software realization…………………………………………………………………….22 4.1The overall planning of monitoring system………………….….…………………..22 4.1.1 Monitoring system development purposes…………………………….…………22 4.1.2 Monitoring systems development methods ……………………………….……..22 4.1.3 Configuration WangJieShao …………………………………………….……….23 4.2 Monitoring system function module ………………………...….….……..…………..24

4.2.1The parameters set module……….…………..……...………………..…………24 4.2.2 Data dictionary Settings module……………………...…..…………….……….25 4.2.3Page Settings module ……………………………..……...…………….………..26 4.2.3.1 Page ……….……………………………..…..…………………………….26 4.2.3.2 Data page…………………………………..…..………………..………….27 4.2.3.3The real-time graph of data page ……………………………….…………..28 4.2.3.4 Alarm pages ………………………………………………………………..28 4.2.4 Permission. Module……………………………..….……………………………30 5 Conclusion……………………………………………………………..…………………..31 References……………………………………………………………………………………33 Acknowledgement………………………………….………..………………………………34 Appendix…………………………………………………………………..…………………35

Appendix 1 system hardware connection diagram ……………..………………………35 Appendix 2 attach recorded PLC control program………………..…………….………36 Appendix 3 Attach recorded three kingview scripts…….…….....………….…………..38

iv


基于PLC与组态王的货物自动识别控制系统设计 - 图文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:项目管理协会道德守则和职业操守

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: