【正文】
總線接口及有關(guān)電路。5:人機(jī)界面功能提供操作者以監(jiān)視機(jī)器/過程工作必需的信息。s concern more and coordination of the person,car,the road threes relation, have bee one of the important problems that the transportation management section demand city transportation control system is the calculator that useds for the city transportation data monitor,the transportation signal beacon control and transportation to appease prehensive management system, it is in the modern city transportation supervision conductor system to constitute part most importantly. Carry out the control method of the street corner transportation light system a lot of, can carry out with the standard logic spare part,programmable preface controller PLC,single slice machine etc. out the influence that the electric circuit wants to be subjected to the logic spare part,such as door, electric circuit to a large extent etc. with the standard logic spare part among them, adjust to try a work extremely not easy, and writer to single slice the luck use is not very either to acquaint with to the design development of carry on the system, therefore, the end writer chooses to use programmable controller PLC to carry out the design of the system function, pletion originally time the lesson establish of topic.Key word:The PLC transportation light procedure report design目 錄摘 要 1目 錄 31 引 言 4 PLC概述 4 PLC的功能 5 PLC的工作原理和結(jié)構(gòu) 5 PLC的工作原理 5 PLC的基本結(jié)構(gòu) 6 PLC的硬件介紹和選型 62 交通燈信號控制系統(tǒng)設(shè)計要求 7 十字路口交通燈控制實(shí)際情況 7 結(jié)合十字路口交通燈的路況模擬控制實(shí)驗 83 交通燈控制系統(tǒng)總體設(shè)計 9 9 10 交通燈控制系統(tǒng)軟件件設(shè)計 13 13 程序流程圖 14 交通燈交替順序控制設(shè)計 15 倒計時程序的設(shè)計 17 程序梯形圖 19 梯形圖對應(yīng)的語句表 214 PLC應(yīng)用及使用中的問題 23 系統(tǒng)電路干擾 23 工作環(huán)境 23 24 主要抗干擾措施 255 總 結(jié) 28 難點(diǎn)分析 28 收獲和體會 29謝 辭 30參考文獻(xiàn) 311 引 言 PLC概述 PLC是Programmable Logic Controller的縮寫,即可編程邏輯控制器。 PLC的工作原理和結(jié)構(gòu) PLC的工作原理 采用循環(huán)掃描方式。CPU的控制器控制CPU工作,由它讀取指令、解釋指令及執(zhí)行指令。2.2南北向和東西向行人道均設(shè)為通行綠燈和禁行紅燈。用PLC進(jìn)行順序控制是PLC的優(yōu)勢,也是PLC最基本的應(yīng)用。交通燈控制的PLC梯形圖如下東西紅燈工作延時東西綠燈工作延時東西黃燈工作延時南北綠燈閃爍延時南北紅燈工作東西綠燈閃爍東西綠燈工作東西黃燈工作000000380000000001380000002003380000TIM 0004TIM 00000250TIM 0000TIM 00040250TIM 00060200TIM 00070030002003380000TIM 0000TIM 00050020TIM 00010250TIM 00020030TIM 0006TIM 0007TIM 0000TIM 0001TIM 00030020TIM 0002002003380000TIM 0000TIM 0000002002002006002002TIM 0006TIM 0006TIM 0007TIM 0008TIM 00080005TIM 0007TIM 0005002004002005002006TIM 0001TIM 0001TIM 0002TIM 0008002000002001TIM 0003TIM 0002TIM 00090005380000TIM 0009TIM 0008002000002004002003啟動/停止按鈕南北紅燈工作延時東西綠燈閃爍延時南北綠燈工作延時南北黃燈工作延時東西紅燈工作南北綠燈閃爍南北綠燈工作南北黃燈工作事故報警END(001) 梯形圖對應(yīng)的語句表4 PLC應(yīng)用及使用中的問題 系統(tǒng)電路干擾PLC是一種用于工業(yè)生產(chǎn)自動化控制的設(shè)備,一般不需要采取什么措施,就可以直接在工業(yè)環(huán)境中使用。共模干擾是信號對地的電位差,主要由電網(wǎng)串入、地電位差及空間電磁輻射在信號線上感應(yīng)的共態(tài)(同方向)電壓疊加所形成。將PLC的IO線和大功率線分開走線,如必須在同一線槽內(nèi),分開捆扎交流線、直流線,若條件允許,分槽走線最好,這不僅能使其有盡可能大的空間距離,并能將干擾降到最低限度。PLC的輸出負(fù)載可能產(chǎn)生干擾,因此要采取措施加以控制,如直流輸出的續(xù)流管保護(hù),交流輸出的阻容吸收電路,晶體管及雙向晶閘管輸出的旁路電阻保護(hù)。信號源接地時,屏蔽層應(yīng)在信號側(cè)接地;不接地時,應(yīng)在PLC側(cè)接地;信號線中間有接頭時,屏蔽層應(yīng)牢固連接并進(jìn)行絕緣處理,一定要避免多點(diǎn)接地;多個測點(diǎn)信號的屏蔽雙絞線與多芯對絞總屏蔽電纜連接時,各屏蔽層應(yīng)相互連接好,