plc在多組搶答系統(tǒng)的應(yīng)用.doc
plc在多組搶答系統(tǒng)的應(yīng)用,plc在多組搶答系統(tǒng)的應(yīng)用摘 要隨著電子技術(shù)的發(fā)展,plc在社會(huì)生活中應(yīng)用越來(lái)越廣泛。鑒于此,結(jié)合社會(huì)生活,為了方便學(xué)校和各級(jí)組織知識(shí)競(jìng)賽,設(shè)計(jì)了一個(gè)智力搶答器。在借鑒別人成果的基礎(chǔ)之上,又設(shè)計(jì)了一段懲罰程序,應(yīng)用經(jīng)驗(yàn)設(shè)計(jì)法,使程序看上去更加簡(jiǎn)潔、易懂。懲罰程序的加入使競(jìng)賽更加具有競(jìng)爭(zhēng)意味,體現(xiàn)競(jìng)賽的宗旨。數(shù)字顯示和檢...
內(nèi)容介紹
此文檔由會(huì)員 承風(fēng)沐光 發(fā)布 PLC在多組搶答系統(tǒng)的應(yīng)用
摘 要
隨著電子技術(shù)的發(fā)展,PLC在社會(huì)生活中應(yīng)用越來(lái)越廣泛。鑒于此,結(jié)合社會(huì)生活,為了方便學(xué)校和各級(jí)組織知識(shí)競(jìng)賽,設(shè)計(jì)了一個(gè)智力搶答器。在借鑒別人成果的基礎(chǔ)之上,又設(shè)計(jì)了一段懲罰程序,應(yīng)用經(jīng)驗(yàn)設(shè)計(jì)法,使程序看上去更加簡(jiǎn)潔、易懂。懲罰程序的加入使競(jìng)賽更加具有競(jìng)爭(zhēng)意味,體現(xiàn)競(jìng)賽的宗旨。數(shù)字顯示和檢測(cè)燈雙重顯現(xiàn),確保搶答組的顯現(xiàn)的準(zhǔn)確無(wú)誤。數(shù)字顯示是利用兩個(gè)七段數(shù)碼管和BCD指令實(shí)現(xiàn)的,應(yīng)用數(shù)字顯示和分組燈同時(shí)顯示搶答組數(shù)可以防止在數(shù)碼管損壞或分組燈有一個(gè)損壞的情況下準(zhǔn)確顯示搶答組。
搶答器的程序是用GX-Developer軟件的指令完成,將各個(gè)輸入/輸出端子和實(shí)際控制系統(tǒng)中的按扭、所需控制設(shè)備正確連接,完成硬件的安裝。正常工作時(shí)程序存放在存儲(chǔ)卡中,若要修改程序,先將PLC設(shè)定在STOP狀態(tài)下,運(yùn)行GX-Developer編程軟件,打開(kāi)搶答器程序,即可在線調(diào)試,也可用編程器進(jìn)行調(diào)試。此次下載安裝了GX-simulator三菱編程模擬仿真軟件,對(duì)程序進(jìn)行了虛擬調(diào)試。并進(jìn)行了拼寫(xiě)檢查,程序能夠?qū)崿F(xiàn)預(yù)定的效果。
關(guān)鍵詞:智力競(jìng)賽,數(shù)字顯示,搶答器
THE APPLICATION OF PLC IN MULTIPLE ANSWER SYSTEM
ABSTRACT
With the development of electronic technology, the applications of PLC in the social life are more and more widely. Combining with social life, I design a mental Responder for the schools and organizations at all levels to facilitate knowledge competition. Learning from others in the basis of the results, I design a punishment procedure by using the method of experience design and make the program looks more concise. You can understand it easily. Punishment procedure was added, means that races is more competitive, reflecting the purpose of competition. Dual digital display and test lights are to ensure the accuracy of the answer in group show. Two seven-segment digital displays are the use of digital control and BCD instructions implementation, and application of digital display and grouping a few lights at the same time display answering group can prevent damage to in groups in the digital tube lights have a case of damage accurately display answering group.
I use the instructions of GX-Developer to complete the producer. With each input/output terminals and the actual control system of the button connected. You complete the correct installation. During normal working procedures, if stored in memory, the first revision procedures set in the PLC operation condition, Stop GX-Developer programming software, open contest, online testing program, usable also programmer debugging. Then download and install the simulator GX - simulation software ladder program, and makes a spell checking, the program can achieve the expected results.
KEY WORDS: Quiz, statistics, Responder
目 錄
前 言 1
第1章 PLC相關(guān)知識(shí) 2
1.1 PLC的由來(lái) 2
1.2 系統(tǒng)程序指令 3
第2章 搶答器的PLC選型及控制要求 5
2.1 選擇PLC類(lèi)型 5
2.1.1 PLC系統(tǒng)設(shè)備選型 5
2.2 I/O分配 6
2.3 系統(tǒng)控制要求 7
第3章 搶答器的數(shù)字顯示 9
3.1 譯碼器 9
3.1.1 七段顯示譯碼器 9
3.1.2 譯碼器 10
3.2 顯示器件 10
3.2.1 七段共陽(yáng)極數(shù)碼管 10
3.2.2 譯碼器與數(shù)碼管的連接 12
第4章 搶答程序設(shè)計(jì) 13
4.1 程序設(shè)計(jì) 13
4.1.1 違例程序設(shè)計(jì) 13
4.1.2 搶答程序設(shè)計(jì) 13
4.1.3 數(shù)碼顯示 13
4.2 程序流程圖 13
4.3 控制面板 15
4.4 梯形圖程序 16
第5章 程序仿真調(diào)試 19
5.1 調(diào)試軟件 19
5.2 調(diào)試狀態(tài) 19
結(jié) 論 25
謝 辭 26
參考文獻(xiàn) 27
附 錄 28
外文資料翻譯 33