




已阅读5页,还剩10页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
中 州 大 学 工 程 技 术 学 院可编程控制器课程设计设计题目: 抢答器plc控制系统设计 专 业: 电气自动化 班 级: 08电气(2)班 姓 名: 学 号: 指导教师: 摘要可编程序控制器(plc) 是一种新型的通用的自动控制装置,它将传统的继电器控制技术、计算机技术和通讯技术融为一体,是功能加强、编程简单、使用方便以及体积小、重量轻、功耗低等一系列优点。近年来随着科技的飞速发展,plc的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的plc应用系统中,plc往往是作为一个核心部件来使用,仅plc方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加以完善。plc的应用领域已经拓宽到了各个领域,在日常生活中,智能抢答器广泛的应用于各种竞赛和抢答场合。越来越多的抢答器投入市场,可是大部分的抢答器主要采用的是单片机系统;而单片机系统由于稳定性不高,所以我们设想是否可以利用plc进行抢答器的设计,所以我们小组针对此次毕业设计进行了软硬件的设计。基于此,我们采用了欧姆龙公司的plc 来实现智能抢答器控制系统的设计。 关键词: 抢答器 plc 自动控制装置summaryprogrammable logic controller (plc) is a new kind of general automatic control equipment, it will traditional relay control technology, computer technology and communication technology, and is a function, use convenient and simple programming, small volume, light weight, low power consumption, a series of advantages.in recent years, with the rapid development of science and technology, the application of plc is continuously to further, traditional control test on new pe updates. in real-time detection and automatic control of plc system and plc is often used as a core component of plc, knowledge is not enough only, still should according to specific hardware structure, and in light of the specific characteristics of the object software application, perfected.plc application domain has widened to each domain, in daily life, intelligence contest is widely used in various competitions and vies to answer first occasion. the contest is more, but most of the investment market is mainly adopts the responder scm system is, due to the stability and single-chip microcomputer system is not high, so we can imagine use plc to design contest for the team, so our graduation design of hardware and software design. based on this, we adopted omron plc to realize the intelligence of the company control system design contest.ckeywords: vies to answer first editor plc automatic control device第二章 抢答器设计内容21 plc抢答器的控制要求1 抢答器同时供8名选手或8个代表队比赛,分别用8个按钮s0 s7表示。2 设置一个系统清除和抢答控制开关s,该开关由主持人控制。3 抢答器具有锁存与显示功能。即选手按动按钮,锁存相应的编号,同时扬声器发出报警声响提示。选手抢答实行优先锁存,优先抢答选手的编号一直保持到主持人将系统清除为止。4 抢答器具有定时抢答功能,且一次抢答的时间由主持人设定(如30秒)。当主持人启动开始键后,定时器进行减计时,同时扬声器发出短暂的声响,声响持续的时间0.5秒左右。5 参赛选手在设定的时间内进行抢答,抢答有效,定时器停止工作,显示器上显示选手的编号和抢答的时间,并保持到主持人将系统清除为止。6 如果定时时间已到,无人抢答,本次抢答无效,系统报警并禁止抢答。基于以上控制要求,采用欧姆龙公司的plc为主要控制器。22 硬件与软件设计方案2. 2. 1 硬件设计(即i/o配线图) i/o通道分配如下表所示 输入sb0.00 主持人开关sb10.01 1号选手按纽sb20.02 2号选手按纽sb30.03 3号选手按纽sb40.04 4号选手按纽sb50.05 5号选手按纽sb60.06 6号选手按纽sb70.07 7号选手按纽sb80.08 8号选手按纽输出hr10.08 蜂鸣器hl110.00 1号选手指示灯hl210.01 2号选手指示灯hl310.02 3号选手指示灯hl410.03 4号选手指示灯hl510.04 5号选手指示灯hl610.05 6号选手指示灯hl710.06 7号选手指示灯hl810.07 8号选手指示灯hl911.00 时间倒计时数码显示hl1011.01 hl1111.02 hl1211.03 hl1311.04 hl1411.05 hl1511.06 hl1611.07 hl1712.00 选手编号数码显示hl1812.01 hl1912.02 hl2012.03 注:其中11.00接数码显示led管的1端 11.01接数码显示led管的2端 11.02接数码显示led管的4端 11.03接数码显示led管的8端 11.04接数码显示led管的1端 11.05接数码显示led管的2端 11.06接数码显示led管的4端 11.07接数码显示led管的8端 12.00接数码显示led管的1端 12.01接数码显示led管的2端 12.02接数码显示led管的4端 12.03接数码显示led管的8端抢答器i/o接线图如下图所示sbsb1sb2sb3sb4sb5sb6sb7sb8comcomcomcomcom24vhl2hl1hl5hl3hl4hl6hl7hl8hl9hl10hl11hl12hl13hl14hl15hl16hl17hl18hl19hl20hr220v抢答器i/o接线图22. 2 软件设计设计梯形图如下所示0.00200.050.06tim000200.050.00200.020.03tim000200.02200.000.010.00200.00tim000200.010.00tim000200.010.020.00200.030.04tim000200.03200.040.00200.040.05tim000200.060.00tim000200.060.07200.060.00200.070.08tim000200.07200.02200.07200.06200.05200.04200.03200.07200.06200.05200.04200.03200.02200.00200.01200.07200.06200.05200.04200.01200.03200.00200.0210.04200.07200.06200.05200.04200.02200.01200.00200.03200.0110.0010.0110.0210.03200.00200.07200.06200.05200.03200.02200.01200.00200.04200.07200.06200.04200.03200.02200.01200.00200.05200.05200.07200.04200.03200.02200.06200.00200.0110.0510.0610.07200.06200.05200.04200.03200.02200.01200.00200.070.00tim000tim000#03000.00tim00110.08tim001#0005tim000tim001253.13movtim00020111.00201.04201.0711.03201.0611.02201.1111.07201.1011.06201.0911.05201.0811.04201.0511.01253.13dmpx000012#00002. 3 程序设计与说明2. 3. 1 程序设计ld 0.01 and not tim000or 200.00 and 0.00and not tim000 out 200.04and 0.00 ld 0.06out 200.00 or 200.05ld 0.02 and not tim000or 200.01 and 0.00and not tim000 out 200.05and 0.00 ld 0.07out 200.01 or 200.06ld 0.03 and not tim000or 200.02 and 0.00and not tim000 out 200.06and 0.00 ld 0.08out 200.02 or 200.07ld 0.04 and not tim000or 200.03 and 0.00and not tim000 out 200.07and 0.00 ld 200.00out 200.03 and not 200.01ld 0.05 and not 200.02or 200.04 and not 200.03and not 200.04 out 10.02and not 200.05 ld 200.03and not 200.06 and not 200.00and not 200.07 and not 200.01out 10.00 and not 200.02ld 200.01 and not 200.04and not 200.00 and not 200.05and not 200.02 and not 200.06and not 200.03 and not 200.07and not 200.04 out 10.03and not 200.05 ld 200.04and not 200.06 and not 200.00and not 200.07 and not 200.01out 10.01 and not 200.02ld 200.02 and not 200.03and not 200.00 and not 200.05and not 200.01 and not 200.06and not 200.03 and not 200.07and not 200.04 out 10.04and not 200.05 ld 200.05and not 200.06 and not 200.00and not 200.07 and not 200.01and not 200.02 and not 200.06and not 200.03 out 10.07and not 200.04 ld 0.00and not 200.06 and not tim000and not 200.07 tim 000out 10.05 #0300ld 200.06 ld 0.00and not 200.00 ld tim 000and not 200.01 and not tim 001and not 200.02 or tim 001and not 200.03 and ldand not 200.04 tim 001and not 200.05 #0005and not 200.07 out 10.08out 10.06 ld 253.13ld 20
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年度生态科技园区绿色环保物业管理合作协议
- 2025年文化旅游资源整合采购项目委托代理服务协议
- 2025年企业档案数字化管理及在线交易合同
- 2025年度男方长期酗酒引发离婚事宜及子女安置综合协议
- 2025年甲级办公空间租赁与维护服务协议
- 2025年度淡水养殖技术交流与特种鱼塘承包合作框架协议
- 2025年化工原料管道运输委托合同
- 2025年智能硬件产品线上线下联销合作协议
- 2025年跨境电商物流仓储服务保证金垫付合同
- 2025年校园门卫队伍规范化建设与专业培训服务合同
- 广东省惠州市《综合知识和能力素质》公务员考试真题含答案
- GB/T 9797-2022金属及其他无机覆盖层镍、镍+铬、铜+镍和铜+镍+铬电镀层
- GB/T 33365-2016钢筋混凝土用钢筋焊接网试验方法
- GB/T 12750-2006半导体器件集成电路第11部分:半导体集成电路分规范(不包括混合电路)
- 《乒乓裁判规则规程》考试题库(附答案)
- 依托自主化装备建设分布式能源三联供项目
- 老年肌肉衰减综合征(肌少症)课件
- 山西省持有《危险废物经营许可证》单位一览表
- PCB全制程培训教材
- 烟草配送车辆GPS管理方案
- 中图法分类号与中图分类法查询
评论
0/150
提交评论