【正文】
........................................................................................ 2 第二章 多路搶答器的實現(xiàn)工具 ........................................................................................ 4 PLC的功能特點 .................................................................................................... 4 PLC系統(tǒng)的基本結(jié)構(gòu) ............................................................................................. 4 PLC的編程語言 .................................................................................................... 4 本章小結(jié) ............................................................................................................. 5 第三章 系統(tǒng)硬件設計 ...................................................................................................... 6 PLC硬件的選擇 ................................................................................................... 6 硬件總體結(jié)構(gòu)框圖及分析 ..................................................................................... 7 基于 PLC的搶答器 I/O總接線圖及分析 ............................................................... 9 基于 PLC的搶答器編程元件地址分配表 ..................................................... 9 PLC輸入 /輸出總接線圖 ............................................................................. 9 搶答硬件部分的設計及分析 ................................................................................11 搶答計分硬件部分的設計及分析 .........................................................................11 搶答倒計時硬件部分的設計及分析 ..................................................................... 12 蜂鳴器功能硬件部分的設計及分析 ..................................................................... 13 時間顯示硬件部分的設計及分析 ........................................................................ 14 溫度顯示硬件部分的設計及分析 ........................................................................ 14 .......................................................................................................... 15 第四章 軟件系統(tǒng)設計 .................................................................................................... 16 ........................................................................ 16 搶答計分程序設計流程圖及其程序 ..................................................................... 18 搶答倒計時程序設計的流程圖及其程序 .............................................................. 22 蜂鳴器程序設計的流程圖及其程序 ..................................................................... 25 時間顯示程序設計的流程圖及其程序分析 .......................................................... 26 溫度顯示程序設計及分析 ................................................................................... 28 FX2N4ADPT溫度傳感器輸入模塊概述 ..................................................... 28 溫度顯示程序設計的流程圖及其程序 ........................................................ 29 本章小結(jié) ........................................................................................................... 31 第五章 軟件調(diào)試 ........................................................................................................... 32 系統(tǒng)軟件仿真 ................................................................................................... 32 PLC仿真軟件 GX Simulator ...................................................................... 32 仿真結(jié)果 ................................................................................................. 33 參 考 文 獻 .................................................................................................................. 35 致 謝 ........................................................................................................................... 36 附 錄 ........................................................................................................................... 37 湖州師范學院求真學院本科 畢業(yè)論文 1 前言 搶答器作為一種電子產(chǎn)品,早已廣泛應用于各種智力和知識競賽等場合,但目前所使用的搶答器有的電路比較復雜不便于制作,可靠性低,實現(xiàn)起來很困難。這些搶答器已相當成熟,但是隨著功能增多,電路也越復雜,并且成本偏高,故障率高,顯示方式簡單或者沒有,無法準確判斷搶按按鈕的行為,也不便于參數(shù)調(diào)節(jié)及功能的升級換代。 本次設計我選用了最具特色和極有代表性的三菱 FX2N系列 PLC對八路搶答器 進行編程設計和實物 控制 。在各項比賽中不僅可以準確、公正和直接地判斷出第一個搶答者是。 湖州師范學院求真學院本科畢業(yè)論文 2 第一章 緒論 課題研究的目的和意義 搶答器已經(jīng)越來越多的出現(xiàn)在我們的學習生活和電視節(jié)目當中,例如在學校里經(jīng)常會舉辦各種各樣的智力競賽,就會用到搶答器。 由于 PLC 具有的優(yōu)點及特點,使得我們編程靈活,系統(tǒng)安裝和維修簡單 ,且在搶答器的制作時能夠更加方便和精準,使競賽真正達到公平、公正、公開。而 PLC具有通用性強、使用方便、適應面廣、可靠性高、抗干擾能力強、編程簡單等特點,且以微處理器為基礎 ,綜合了計算機技術(shù)、自動控制技術(shù)和網(wǎng)絡通信技術(shù)等現(xiàn)代科技而發(fā)展起來的一種新型工業(yè)自動控制裝置,是將計算機技術(shù)應用于工業(yè)控制領域的新產(chǎn)品。 關鍵詞: 八路搶答器,系統(tǒng),動態(tài)掃描 PLCbased multiResponder Control System Design Abstract: The design of the use of Mitsubishi FX2N Series PLC as a core ponent of this design to plete an eightway control system for the production. The system ponents for eight or eight players in each group to answer at the same time Total station holds the start/stop switch, to answer in the start button, reset button to answer in the host prompts quiet buttons and manually set the scoring button substation and so on. Substation will have an answer in the button. The system consists of sevensegment LED display countdown, substation number, player points and the current time, temperature conditions, and as charged by the PLCdriven device. Because the system has a lot of sevensegment digital tube, so I used the dynamic scanning method to reduce the number of ports. There is a buzzer prompt to answer in the beginning, to answer in reset, the answer overtime, to answer in nonpliance, no one answer in his place and quiet Tips. There are 17 lightemitting diodes. with a total station 1 is used to display and answer no one to answer in overtime, each subunits used to display the answer in his two successful and to answer in nonpliance. The design, the hardware circuit design using AUTOCAD software。 因為系統(tǒng)中有很多七段數(shù)碼管, 所以我運用了動態(tài)掃描的方法來減少端口數(shù)。 MuWFA5uxY7JvnD6YWRr Wwc^vR9CpbK!zn%MzXNQExJB8VK% W7m$ZA5JdkVWce9APz^FvJzwYWCcyAh*bnxBvaFQH8YHV$amp。MuWFA5uxY7JvnD6YWRrWwc^vR9CpbK! zn%MzFA5uxY7JnD6YWRr Wwc^vR9CpbK!zn%Mz849Gx^Gjqv^$UE9wEwZQcUE%amp。 MuWFA5uxY7JnD6YWRrWwc^vR9CpbK! zn%Mz849Gx^Gjqv^$UE9wEwZQcUE% amp。 MuWFA5ux^Gj qv^$UE9wEwZQcUE%