The open CNC system based on PC, which relates to a numerical control system based on Windows, to solve the existing real-time numerical control system of the Windows is poor, the development of high cost and poor compatibility between hardware and software based on the WINCE numerical control system based. The real-time scheduling module of the invention is used for connecting and scheduling real-time tasks is established between PC and hardware interface board; the CNC module is used to establish a shared memory area in PC's memory and connection with real-time scheduling module, and through real-time scheduling module and real-time scheduling tasks to achieve position control function; the PLC module to realize the real-time task scheduling the logic control function by real-time scheduling module; man-machine interface module will enter the path of the program, set the operation mode, the system configuration data transmitted to the real-time tasks and real-time task execution results to the user; real-time scheduling module, CNC module and PLC module are embedded in the Windows operating system is a man-machine interface module a general Windows program.
【技術實現步驟摘要】
本專利技術涉及一種基于Windows操作系統的數控系統。
技術介紹
目前,Windows系列操作系統在PC機上占據著統治地位,它標準美觀的 圖形用戶接口(GUI)、方便快捷的操作方式,不但已經被普通用戶所接受,而 且在工業應用領域內的用戶也越來越多。然而Windows是一個多任務的操作系統,PC機軟硬件資源被多個程序共 享,導致系統的實時性不好,如果系統資源被其它程序占用,CNC程序就無 法滿足實時性的要求,而CNC程序對實時性和連續性要求非常高,因此 Windows操作系統環境下很難保證實時性,難以應用在實時控制系統中。目前解決Windows實時性問題主要有以下兩種方式-(1) 使用專門的實時內核開發工具,如通用的RTX開發環境就能開發出實 時內核,但是這種開發環境往往價格都比較高,而且這種系統的實時性好壞 很大程度上取決于開發人員對開發環境的理解和掌握程度,如果用得不好反 而會影響系統的實時性;(2) 采用WINCE系統,這種操作系統能夠解決實時性的問題,但是它的 軟、硬件兼容性不好,尤其是系統中不能借用第三方的軟、硬件資源,如CAN 的通信功能就不能在WINCE系統上實現。
技術實現思路
本專利技術為解決現有的CNC系統存在的實時性較差、開發成本較高以及基 于WINCE的數控系統存在的軟硬件兼容性較差的問題,提供一種基于PC機 的開放式數控系統。本專利技術包括以下單元PC機1 ,所述PC機1基于Windows操作系統;數控設備2,用于接收PC機1發出的控制命令并完成數控加工的實時任 務的執行;硬件接口板3,用于建立PC機1和數控設備2之間的連接并作為中 ...
【技術保護點】
基于PC機的開放式數控系統,它包括以下單元:PC機(1),所述PC機(1)基于Windows操作系統;數控設備(2),用于接收PC機(1)發出的控制命令并完成數控加工的實時任務的執行;硬件接口板(3),用于建立PC機 (1)和數控設備(2)之間的連接并作為中斷源產生停止PC機(1)其它任務、僅執行數控加工的實時任務的中斷信號;其特征在于它還包括以下單元:CNC模塊(5),通過實時調度模塊(4)調度實時任務來實現從零件加工程序中產生數控機床 刀具的運動路徑,管理程序緩沖區中存儲的零件加工程序、編譯零件加工程序、工具路徑插補、軸位置控制、與實時調度模塊(4)通信,并在PC機(1)的內存中建立共享內存區(8)以及與實時調度模塊(4)連接;PLC模塊(6),通過實時調度模塊( 4)調度的實時任務來完成開關量的邏輯控制、模擬量控制和過程控制的功能;人機界面模塊(7),通過共享內存區(8)輸入路徑程序、設置運行方式、進行系統的數據配置,并通過共享內存區(8)接收數控加工的實時任務反饋的執行結果,再將執行結果顯 ...
【技術特征摘要】
【專利技術屬性】
技術研發人員:李鳳閣,佟為明,李彬,楊鋒,唐貴杰,
申請(專利權)人:哈爾濱工業大學,
類型:發明
國別省市:93[中國|哈爾濱]
還沒有人留言評論。發表了對其他瀏覽者有用的留言會獲得科技券。