当前位置:首页 > 六路抢答器
桂林电子科技大学信息科技学院
六路抢答器设计(论文)说明书
题 目:基于FX2N-PLC六路抢答器设计 系 别: 机电工程系 专 业: 机械电子工程 学生姓名: 学 号: 指导教师:
职 称:
题目类型:理论研究 实验研究 工程设计 √ 工程技术研究 √ 软件开发 应用研究
2014年 12 月 31 日
摘 要
随着我国经济和文化实业的发展,在很多公开竞争场合要求有公正的竞争裁决,诸如证券、股票交易及各种智力竞赛等,因此出现了抢答器。最初的抢答器是由优先权编码器构成的逻辑电路,其运算速度慢,线路复杂,可靠性不高,功能也比较简单,特别是当抢答路数很多时,实现起来就更加困难。因此,一种能够体现竞赛的公开、公平、公正性的知识竞赛抢答器成为一种需求。
本设计将以PLC为核心设计了系统结构图、程序指令、梯形图以及输入输出端子的分配方案,在保留了原始抢答器的基本功能的同时又增加一系列的实用功能并简化其电路结构,其将以其控制方便,灵活,只要改变输入PLC的控制程序,便可改变竞赛抢答器的抢答方案,从而使得竞赛不断完善其公平、公正性。 关键词:PLC;竞赛抢答器;四位七段译码器
Abstract
With the rapid development of China's economy and cultural industry, in many public occasions require a fair competition competition award, such as securities, stock trading and various intelligence contest, so there was a responder. Responder was initially logic circuit formed by the priority encoder, the operation speed slow, circuit complexity, reliability is not high, the function is simple, especially when the answer way many, achieve more difficult. Therefore, one can reflect the competition of open, fair, justice of the knowledge contest Responder become a demand.
This design take PLC as the core design of the system structure diagram, program instructions, ladder diagram as well as input and output terminal assignment, in retaining the basic function of the original responder and increase a series of practical functions and simplify the circuit structure, which will be its convenient control, flexible, as long as the change in the input control program PLC, responder scheme can change the contest Responder, which makes the competition and constantly improve its fairness, impartiality.
Key words:plc;Race responder; Four of the seven segment decoder
目 录
引言 ................................................................................................................................................ 1 1 整体方案选择 ................................................................................................................... 2
1.1 整体功能介绍 .............................................................................................................. 2 1.2 控制要求 ....................................................................................................................... 2
2 硬件电路设计 ................................................................................................................... 3
2.1 控制分析 ....................................................................................................................... 3 2.1 外部接线图 ................................................................................................................... 4
3 软件设计 ............................................................................................................................. 5
3.1 I/O地址分配 ............................................................................................................... 5 3.2 结构流程图 ................................................................................................................... 6 3.3 程序运行分析 .............................................................................................................. 7
3.1.1 主程序................................................................................................................. 7 3.1.2 数码管动态扫描程序 ..................................................................................... 7
4 调试 ........................................................................................................................................ 7
4.1 调试过程 ....................................................................................................................... 7 4.2 调试结果 ....................................................................................................................... 7
5 结论 ........................................................................................................................................ 8 谢辞 ................................................................................................................................................ 9 参考文献 ................................................................................................................................... 10 附录一:..................................................................................................................................... 11 附录二: ................................................................................................................................... 12
共分享92篇相关文档