需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):14706 | ![]() | |
折扣與優(yōu)惠:團購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘 要:隨著制造業(yè)的不斷發(fā)展,多功能數(shù)控機床的使用量越來越多,市場對它的技術(shù)要求也就越來越高。在計算機上模擬真實機床的操作過程是模塊化多功能臺式數(shù)控機床的一個重要功能,在多功能數(shù)控機床越來越的運用于教學(xué)的今天,仿真功能的應(yīng)用不僅能緩解某些高校教學(xué)過程機床數(shù)量少的問題,而且還能減少機床事故的發(fā)生,有效地保護了機床。還能提高教學(xué)效果。而仿真功能的實現(xiàn)則是依托于機床的上層軟件,所以上層軟件設(shè)計的好壞直接決定了仿真功能的優(yōu)劣。 模塊化多功能臺式數(shù)控機床的軟件部分可分為PC機上層控制系統(tǒng)和底層控制系統(tǒng)。 本次設(shè)計的主要內(nèi)容是PC機控制系統(tǒng)上層軟件設(shè)計,根據(jù)目前數(shù)控技術(shù)的發(fā)展情況并結(jié)合本次課題的要求,最終系統(tǒng)采用VC++6.0編寫,實現(xiàn)了數(shù)控代碼的仿真以及與下位機的交互功能,主要內(nèi)容有指令的編輯、數(shù)控仿真、以及通訊。該控制系統(tǒng)可分為數(shù)控仿真與底層通訊兩大模塊: 仿真模塊主要完成指令的仿真加工,即驅(qū)動仿真過程實施。通過 OpenGL動畫處理后形成 NC 加工過程的仿真。在整個過程中首先要對數(shù)控代碼進行預(yù)處理,及對其進行語法檢查和指令編輯,將數(shù)控代碼解析成仿真信息后,就可通過調(diào)用進行仿真演示。 通訊模塊主要負責(zé)與底層控制器進行通訊,從而完成加工指令的發(fā)送和實際的加工信息的采集。在通訊過程中,系統(tǒng)首先將解析好的代碼信息發(fā)送給底層控制器,再由底層控制器進行相應(yīng)處理,并返回給系統(tǒng)實時的坐標(biāo)值,這樣就能實時觀測到工件的加工狀態(tài)。 關(guān)鍵詞:數(shù)控仿真;OpenGL;下位機通訊
ABSTRACT:With the development of the manufacturing sector, the use of multi-function CNC machine tools, more and more of its technical requirements of the market is more and more high。On the computer simulate the real operation of the machine is a modular multi-functional desktop CNC machine tools is an important function of the multifunctional CNC machine tools increasingly used in teaching today, the simulation capabilities of applications not only can ease some of the teaching process machine a small number of issues, but also to reduce the occurrence of machine tools, the effective protection of the machine。But also improve the effectiveness of teaching。The simulation function implementation is relying on the upper machine software, so the upper software design quality directly determines the merits of the simulation function。 Modular CNC multifunctional desktop software part can be divided into the PC level control system and the underlying control systems. The design of the main contents of the top PC control system software design, based on current developments in digital technology combined with the requirements of this project, the final system written using VC + +6.0 achieve a numerical simulation code as well as with lower machine interactive features, the main contents of the editing commands, NC simulation, and communications. The control system can be divided into two major numerical simulation and the underlying communication modules: Simulation module of the completion of the simulation processing instructions that drive the simulation process implementation. Animated via OpenGL formed after NC machining process simulation. Throughout the process must first be pretreated NC code, and its command syntax checking and editing of CNC code is parsed into simulation information, can be simulated by calling the demo. Communication module is responsible for communication with the underlying controller, thus completing the processing of command and the actual processing of the transmission of information acquisition. In the communication process, the system will first resolve the underlying good code information is sent to the controller, and then dealt with accordingly by the underlying controller, and return to the system in real-time coordinates, so that we can live observations workpiece machining status. Keywords: NC simulation; OpenGL; Underlying communication |