標題: 小型邏輯控制器之研究
A Study on the Small Logic Controller
作者: 羅仕炫
Shyh-Shan Luo
成維華
Wei-Hua Chieng
機械工程學系
關鍵字: 中央行控裝置;C.T.C.(centralized traffic control)
公開日期: 1999
摘要: 在本篇論文中,我們發展一套可以建構在8051單晶片的小型邏輯控制器,使用者可以經由WINPC32中的階梯圖編輯環境產生IL指令(或直接編輯Instruction List),經由解譯程式轉換成8051單晶片所能執行的組合語言,再下載至8051晶片上執行。IL指令由七個主要部分組成,分別為I/O邏輯、布林運算、數學運算、比較功能、流程控制、計時器及計數器等。最後我們把小型邏輯控制器實作在軌道號誌機控制上,由小型邏輯控制器偵測每一個號誌閘柄與轉轍器閘柄信號,經聯鎖機制的判斷,建立plc控制程式來控制號誌機的顯示。在此例中,我們利用WINPC32中的GPE功能,建立C.T.C.(centralized traffic control)模擬裝置,當聯鎖機制模擬無誤後,再將控制命令解譯成8051組合語言下載至小型邏輯控制器上。
The thesis describes the development of a set of small logic controllers, based on an 8051 single chip. The user can generate an Instruction List (IL) through the editing environment of the WINPC32 ladder diagram (or directly edit an IL). Machine code can be download to 8051 microprocessor through a compilation of the instruction list language into executable assembly codes. The instruction list consists of seven main utilities. They are I/O logic, Boolean operation, mathematical operation, comparative functions, flow control, timer, and counter. Finally we implemented a small logical controller to the control of railway signals. After the small logical controller detects signals from all signal levers and switch levers, it performs a judgement based on an interlocking mechanism. A PLC control program is used to control the lights displayed on the signals. In the example, we used the GPE function in WINPC32 to establish a C.T.C. (centralized traffic control) simulation device. After the interlocking mechanism had been simulated correctly, the control commands were compiled into 8051 assembly language and downloaded to the small logical controller.
URI: http://140.113.39.130/cdrfb3/record/nctu/#NT880489094
http://hdl.handle.net/11536/66131
顯示於類別:畢業論文