【正文】
圖 34 梯形圖 仿真圖 下面是兩張仿真過程中的截圖 當(dāng)接通啟動按鈕 ,定時器 T37 的值在 027s 時,輸出為 (東西綠燈), (南北紅燈)。 該指令為保持型接通延時定時器指令,當(dāng)定時器接通時,開始定時,當(dāng)定時器斷開時,停止計時,當(dāng)前值保持不變,當(dāng)定時器再次接通時,將繼續(xù)定時,當(dāng)累積的當(dāng)前值,大于或等于 PT 時,代表該指令的觸點接通,達到預(yù)設(shè)值后仍繼續(xù)計時,當(dāng)達到最大值 32767 時,停止計時,該定時器只能通過復(fù)位指令來復(fù)位,定時器的狀態(tài)為復(fù)位,當(dāng)前值被清零。 ( 5)結(jié)構(gòu)化文本語言( ST) 結(jié)構(gòu)化文本編程語言的特點:采用高級語言進行編程,可以完成較復(fù)雜的控制運算;需要有一定的計算機高級語言的知識和編程技巧,對工程設(shè)計人員要求較高。 ( 2)指令表語言( IL) 指令表表編程語言的特點是:采用助記符來表示操作功能,具有容易記憶,便于掌握;在手持編程器的鍵盤 上采用助記符表示,便于操作,可在無計算機的場合進行編程設(shè)計;與梯形圖有一一對應(yīng)關(guān)系。第四部分是程序掃描 過程。 PLC 掃描一次,就執(zhí)行 — 次自診斷檢查,確定 PLC 自身的動作是否正常。 PLC 就是這樣周而復(fù)始地重復(fù)上述循環(huán)掃描的。組合式(模塊式)PLC 包括 CPU 模塊, I/O 模塊,內(nèi)存模塊,電源模塊,底板或機架,這些模塊可按一定的規(guī)則組合配置。具體有: (1) 用于開關(guān)量控制 (2) 用于模擬量控制 (3) 用于數(shù)字量控制(4) 用于數(shù)據(jù)采集 (5)用于進行監(jiān)控 (6)用于聯(lián)網(wǎng)、通訊。 (6)體積小、重量輕、功耗低、維護方便。 (2)通用性強,控制程序可變,使用方便 。 ” 分類: (1)按結(jié)構(gòu)形式分類:根據(jù) PLC 的結(jié)構(gòu)形式,可將 PLC 分為整體式和模塊式 兩類。 主要內(nèi)容 在了解了 PLC 的各種功能的基礎(chǔ)上,熟悉 PLC 的結(jié)構(gòu)及工作原理,合理選擇符合要求的硬件和軟件,繪制出程序梯形圖,編出能實現(xiàn)功能的指令,完成對基于西門子S7200 PLC 的交通燈控制的設(shè)計。因此 20 多年來,這些大城市紛紛修建城市高速公路,在高速公路建設(shè)完成的初期,它們也曾有效的改善了交通 狀況。 change. Key words: traffic lights。 雖然 自交通燈誕生以來,其內(nèi)部的電路控制系統(tǒng)不斷 地 被改進,設(shè)計方法也多種多樣, 但隨著經(jīng)濟條件的升高,數(shù)字交通電路燈越來越不能滿足日益增加的交通壓力。 人、車、路三者關(guān)系的協(xié)調(diào),已成為交通管理部門需要解決的重要問題之一。 關(guān)鍵詞: 交通燈 控制系統(tǒng) PLC The design of traffic light’s control based on Siemens S7200 PLC Student majoring in Mechanical design and manufacturing automation Li Jinhui Tutor Lv Yongtian Abstract: The traffic control system is a unique public management system now, producing with logistics, travel and so on. The coordination of the relationship between people, vehicles and roads has bee one of the important issues which need to be addressed with traffic management. Since the traffic lights produced, the internal circuit control system has been improved and the design methods varied also, but with the increasing of economic conditions, digital traffic lights can not meet the increasing traffic pressure. Nowadays the PLC technology development quickly, the function of programmable control system bee