【正文】
字符開頭,用戶不能修改或刪除;用戶定義的變量的 ID 號從 101 開始向下排列,定義一個變量后(已經(jīng)保存),除變量類型不能修改外,變量的其他屬性都能修改。內存變量分為離散、整數(shù)、實數(shù)、信息等四種類型。其變量數(shù)據(jù)庫如圖 所示。圖 內部參數(shù)設定 軟件語言的編程在世紀星中,圖形控件的變化需要條件的觸發(fā)。世紀星本身所帶的類似 C 語言的命令語言來驅動應用程序,而且系統(tǒng)在定義動畫連接時支持動畫連接表達式。世紀星的命令語言是由簡單的判斷語句構成。本系統(tǒng)的命令語言的編程方法如圖 所示。圖 組態(tài)編程示意圖 組態(tài)畫面的動畫銜接 組態(tài)畫面的設計通過《世紀星組態(tài)軟件》設計出的立體車庫控制系統(tǒng)的組態(tài)監(jiān)控畫面如圖 所示。畫面中畫出了立體車庫控制系統(tǒng)的工作狀況,并對 PLC 梯形圖中用的輸入輸出都表示了出來。圖 立體車庫系統(tǒng)的組態(tài)畫面 動態(tài)銜接的介紹動畫連接就是建立畫面的圖素與數(shù)據(jù)庫變量的對應關系。這樣,現(xiàn)場狀態(tài)變化時,通過 I/O 接口,將引起實時數(shù)據(jù)庫中變量的變化,如果定義了一個畫面圖素(比如指針)與這個變量相關,我們將會看到指針在同步偏轉。動畫連接的引入是人機接口的一次突破,它把程序員從重復的圖形編程中解放出來,為程序員提供了標準的工業(yè)控制圖形界面,并且有可編程的命令語言連接來增強圖形界面的功能。圖形對象與變量之間有豐富的連接類型,給程序員設計圖形界面提供了極大的方便。圖形對象可以按動畫連接的要求改變顏色、尺寸、位置、填充百分數(shù)等,一個圖形對象又可以同時定義多個連接。把這些動畫連接組合起來,應用軟件將呈現(xiàn)出令人難以想象的圖形動畫效果。畫面編輯好以后,需要將畫面與前面定義的數(shù)據(jù)對象即變量關聯(lián)起來,以便運行時,畫面上的內容能隨變量變化。例如本設計既是在 PLC 被輸入了某種組合信號時,對應的存取動作。以下即為動畫連接的車位 7 運行圖為例的介紹。如圖 為車位 7開始下移。圖 車位 7 下移如圖 所示,即車位 7 工作時的動態(tài)畫面,系統(tǒng)運行后,車位 7 下行。圖 車位 7 實現(xiàn)取車如圖 所示,當汽車走出之后,車位 7 回位,以便其他車位操作。圖 車位 7 復原如圖 所示,車位 7 的存車過程與上圖相同,此圖為重新加載汽車后的歸位狀態(tài)。 本章小結 主要是立體車庫系統(tǒng)的軟件以及監(jiān)控系統(tǒng)的設計。首先選擇了編程軟件 CXProgrammer,并且對他的特點進行了詳細的介紹,然后設計了世紀星組態(tài)的監(jiān)控程序,并對具體的設計過程做了詳細的講述。結 論本文利用日本 OMRON 公司研制的 CPM2A PLC 成功的設計出了升降橫移式立體車庫的控制系統(tǒng)的控制程序,并且經(jīng)檢驗系統(tǒng)能很好的實現(xiàn)升降橫移式立體車庫的控制系統(tǒng)的設計要求。本論文一開始詳細介紹了升降橫移式立體車庫的控制系統(tǒng)的組成及各種器件的選擇,對于其中的設計細節(jié)做了詳細的描述。并且根據(jù)需要選擇了相應的軟件,編寫了符合要求的控制程序,然后又論述了升降橫移式立體車庫的控制系統(tǒng)的工作順序,截取實際的 PLC 梯形圖進行了詳細的講解。本系統(tǒng)基本實現(xiàn)了升降橫移式立體車庫的控制系統(tǒng)的控制要求并且利用世紀星組態(tài)軟件成功的實現(xiàn)監(jiān)控。在整體設計過程中按照提出問題,分析問題,解決問題的主導思想,對整個監(jiān)控系統(tǒng)的設計工作做出了細致的闡述。但是因為時間有限,所以本設計難免會存在一些瑕疵,經(jīng)過最后的檢測,發(fā)現(xiàn)本系統(tǒng)還存在著一些不足,主要表現(xiàn)在世紀星組態(tài)不能十分逼真的表現(xiàn)出車輛進出車庫所有運動步驟、程序設計上不能自動選擇最佳空位停車等功能。希望學弟學妹能設計出更完善的升降橫移式立體車庫控制系統(tǒng),使它能更好的服務于廣大人民。致 謝畢業(yè)設計,也許是我大學生涯交上的最后一個作業(yè)了。想借這次機會感謝四年以來給我?guī)椭乃欣蠋?、同學,你們的友誼是我人生的財富,是我生命中不可或缺的一部分。我首先要感謝我的畢業(yè)設計指導老師——魏靜敏老師,本論文是在導師魏靜敏老師的精心指導下完成的。在這期間魏老師淵博的學識,高尚的品格、嚴謹?shù)闹螌W態(tài)度以及兢兢業(yè)業(yè)的敬業(yè)精神,始終激勵鼓舞我不斷前進。她孜孜不倦的教誨和悉心全面的教導在畢業(yè)設計期間給予了我莫大的關懷與照顧,同時為我的畢業(yè)設計指出了方法,提出了很好的建議,并每周組織同組的同學一起研究。日月如梭,光陰似箭,轉眼間四年的大學學習即將結束?;仡欉@四年來緊張而又充實的學習生活,我感受頗多。不僅學到了許多新的理論知識,而且使自己分析問題和解決問題的能力得到了較好的鍛煉。面對探求科學知識的新的道路,站在新的起點,我更加充滿信心,充滿熱情和希望。感謝學校的各位老師,他們在我遇到困難時給予了大力幫助。感謝我的師弟師妹以及同班同學,他們在我的學習中給予了我很多的幫助,與他們之間的交流讓我受益匪淺。感謝所有關心、幫助過我的老師、同學和朋友們。參考文獻[1] 閏宏偉,潘宏俠 .立體停布庫在我國的發(fā)展前景綜述討論,2022 (3)[2] 摩根斯坦利 “中國汽車業(yè),2022 (3)[3] ,2022 (5)[4] ,2022 (1)[5] 郭宗仁,吳亦峰 ,2022:P512[6] 何波,:陜西科學技術出版社,:P140164[7] ,1999 (55)[8] 劉煒,張云生 .,1998[9] 土耀斌,李世武 , ,2022年7月,31卷第三期:P98101[10] 世紀星組態(tài)軟件 .北京世紀佳諾科技有限公司 ,2022:P60162[11] 袁秀英.組態(tài)控制技術.電子工業(yè)出版社,2022:P3238附錄 A 英文原文Programmable Logic Controllers (PLCs)1 About Programmable Logic Controllers (PLCs)PLCs (programmable logic controllers) are the control hubs for a wide variety of automated systems and processes. They contain multiple inputs and outputs that use transistors and other circuitry to simulate switches and relays to control equipment. They are programmable via software interfaced via standard puter interfaces and proprietary languages and work options. Programmable logic controllers I/O channel specifications include total number of points, number of inputs and outputs, ability to expand, and maximum number of channels. Number of points is the sum of the inputs and the outputs. PLCs may be specified by any possible bination of these values. Expandable units may be stacked or linked together to increase total control capacity. Maximum number of channels refers to the maximum total number of input and output channels in an expanded system. PLC system specifications to consider include scan time, number of instructions, data memory, and program memory. Scan time is the time required by the PLC to check the states of its inputs and outputs. Instructions are standard operations (such as math functions) available to PLC software. Data memory is the capacity for data storage. Program memory is the capacity for control software.Available inputs for programmable logic controllers include DC, AC, analog, thermocouple, RTD, frequency or pulse, transistor, and interrupt inputs. Outputs for PLCs include DC, AC, relay, analog, frequency or pulse, transistor, and triac. Programming options for PLCs include front panel, hand held, and puter. Programmable logic controllers use a variety of software programming languages for control. These include IEC 611313, sequential function chart (SFC), function block diagram (FBD), ladder diagram (LD), structured text (ST), instruction list (IL), relay ladder logic (RLL), flow chart, C, and Basic. The IEC 611313 programming environment provides support for five languages specified by the global standard: Sequential Function Chart, Function Block Diagram, Ladder Diagram, Structured Text, and Instruction List. This allows for multivendor patibility and multilanguage programming. SFC is a graphical language that provides coordination of program sequences, supporting alternative sequence selections and parallel sequences. FBD uses a broad function library to build plex procedures in a graphical format. Standard math and logic functions may be coordinated with customizable munication and interface functions. LD is a graphic language for discrete control and interlocking logic. It is pletely patible with FBD for discrete function control. ST is a text language used for plex mathematical procedures and calculations less well suited to graphical languages. IL is a lowlevel language similar to assembly code. It is used in relatively simple logic instructions. Relay Ladder Logic (RLL), or ladder diagrams, is the primary programming language for programmable logic controllers (PLCs). Ladder logic programming is a graphical representation of the program designed to look like relay logic. Flow Chart is a graphical language that describes sequential operations in a controller sequence or application. It is used to build modular, reusable function libraries. C is a high level programming language suited to handle the most plex putation, sequential, a