TWI704435B - Machining method and system performing simulation confirmation after starting machine tool - Google Patents
Machining method and system performing simulation confirmation after starting machine tool Download PDFInfo
- Publication number
- TWI704435B TWI704435B TW108130312A TW108130312A TWI704435B TW I704435 B TWI704435 B TW I704435B TW 108130312 A TW108130312 A TW 108130312A TW 108130312 A TW108130312 A TW 108130312A TW I704435 B TWI704435 B TW I704435B
- Authority
- TW
- Taiwan
- Prior art keywords
- processing
- program
- machine tool
- cnc controller
- computer
- Prior art date
Links
Images
Landscapes
- Numerical Control (AREA)
Abstract
Description
本揭露實施例是有關於一種加工方法及加工系統,且特別是有關於一種在啟動工具機之後進行模擬確認的加工方法與加工系統。 The embodiment of the disclosure relates to a processing method and processing system, and in particular to a processing method and processing system that performs simulation confirmation after starting the machine tool.
電腦數值控制(computer numerical control,CNC)工具機廣泛應用於工業界的加工操作。在進行操作時,須載入加工程式於CNC控制器中,並且必須設定關於機台的各種實際參數值,如刀長值、刀塔參數、各種補正值(offset)等。當前述加工程式以及各種實際參數值載入設定完成後,即可按下開始鍵(cycle start)對工件進行加工。然而,若是有人為操作失誤發生時,例如加工程式載入錯誤、各種實際參數值輸入錯誤等,即會發生異常(例如撞車)的情形。 Computer numerical control (CNC) machine tools are widely used in industrial processing operations. During operation, the machining program must be loaded into the CNC controller, and various actual parameter values of the machine must be set, such as tool length value, turret parameter, various offset values (offset), etc. After the aforementioned processing program and various actual parameter values are loaded and set, press the cycle start button to process the workpiece. However, if man-made operating errors occur, such as processing program loading errors, various actual parameter values input errors, etc., abnormalities (such as a car crash) will occur.
業界目前使用一些方法來減少或避免上述失誤發生。第一種是手寫數值控制(NC)程式,並使用模擬軟體進行刀具路徑模擬。此類的模擬軟體包括(1)CNC控制器內的模擬軟體、或(2)在一般電腦上獨立執行的模擬軟體。 The industry currently uses some methods to reduce or avoid the above-mentioned mistakes. The first is to write numerical control (NC) programs and use simulation software for tool path simulation. Such simulation software includes (1) the simulation software in the CNC controller, or (2) the simulation software that runs independently on a general computer.
第二種是使用泛用型電腦輔助設計(computer-aided design,CAD)或電腦輔助製造(computer-aided manufacturing,CAM)軟體來產生NC程式,然後使用模擬軟體進行刀具路徑模擬。這類的模擬軟體包含(1)CNC控制器內的模擬軟體、(2)在一般電腦上獨立執行之模擬軟體、或者(3)CAD/CAM軟體裡面的切削模擬功能。 The second is to use general-purpose computer-aided design (CAD) or computer-aided manufacturing (CAM) software to generate NC programs, and then use simulation software for tool path simulation. This type of simulation software includes (1) the simulation software in the CNC controller, (2) the simulation software that runs independently on a general computer, or (3) the cutting simulation function in the CAD/CAM software.
第三種是使用客製化CAD/CAM軟體產生NC程式,然後對程式進行切削模擬,就如上述第一種和第二種。 The third is to use customized CAD/CAM software to generate NC programs, and then perform cutting simulation on the programs, just like the first and second above.
上述三種方式皆屬於非線上(non on-line)的模擬,而與在工具機上面進行的實際加工製程沒有直接連結。因此,就算切削模擬無誤,實際在工具機上面啟動NC程式進行加工仍可能會出錯,例如,加工零點可能設定錯誤等、或者是操作人員裝錯刀具。 The above three methods are all non-on-line simulations, and are not directly connected to the actual machining process performed on the machine tool. Therefore, even if the cutting simulation is correct, there may still be errors when starting the NC program on the machine tool for processing. For example, the machining zero point may be set incorrectly, or the operator may install the wrong tool.
因此,需要一種能解決上述問題之加工方法及加工系統。 Therefore, there is a need for a processing method and processing system that can solve the above-mentioned problems.
本揭露之目的在於提出一種在啟動工具機之後進行模擬確認的加工方法與加工系統,能在工具機進行加工 程序期間(即線上),根據實際的加工相關參數進行模擬,以避免浪費加工時間及成本並能提升產品良率。 The purpose of this disclosure is to propose a processing method and processing system for simulation confirmation after starting the machine tool, which can be processed on the machine tool During the procedure (i.e. online), simulation is performed according to the actual processing related parameters to avoid wasting processing time and cost and to improve product yield.
根據本揭露之上述目的,提出一種在啟動工具機之後進行模擬確認的加工方法,其應用於電腦、電腦數值控制(CNC)控制器及工具機,其中CNC控制器與電腦及工具機耦接。加工方法包含:設置程式於CNC控制器中,程式具有等待互動程式碼;啟動工具機,以使工具機依據程式進行加工程序;在進行加工程序期間,當CNC控制器執行等待互動程式碼時,則暫時停止(暫停)工具機,以暫時停止加工程序;在暫停加工程序期間,藉由電腦取得CNC控制器之一組加工相關參數;在暫停加工程序期間,藉由電腦利用此組加工相關參數進行確認操作,其中確認操作包含根據該組加工相關參數和程式進行模擬,而預測出工具機繼續進行加工程序時是否會發生異常,以獲得確認操作之結果;若確認操作之結果符合放行條件,則藉由電腦傳送放行訊號給CNC控制器,以使CNC控制器控制工具機繼續加工程序。 According to the above objective of the present disclosure, a machining method for simulation confirmation after starting the machine tool is provided, which is applied to a computer, a computer numerical control (CNC) controller, and a machine tool, wherein the CNC controller is coupled to the computer and the machine tool. The processing method includes: setting the program in the CNC controller, the program has a waiting interactive program code; starting the machine tool so that the machine tool performs the processing procedure according to the program; during the processing procedure, when the CNC controller executes the waiting interactive program code, The machine tool is temporarily stopped (paused) to temporarily stop the processing program; during the pause of the processing program, a group of processing related parameters of the CNC controller is obtained by the computer; during the pause of the processing program, the computer uses this group of processing related parameters Perform a confirmation operation, which includes simulation based on the set of processing related parameters and programs, and predict whether an abnormality will occur when the machine tool continues the processing procedure to obtain the result of the confirmation operation; if the result of the confirmation operation meets the release conditions, The computer sends the release signal to the CNC controller, so that the CNC controller controls the machine tool to continue the processing program.
在一些實施例中,在設置程式於CNC控制器中之步驟包含:藉由電腦或手動方式將具有等待互動程式碼之程式傳送給CNC控制器。 In some embodiments, the step of setting the program in the CNC controller includes: sending the program with the waiting interactive program code to the CNC controller by computer or manually.
在一些實施例中,程式更包含加工程式碼,當CNC控制器執行加工程式碼時,控制工具機繼續加工程序,等待互動程式碼位於加工程式碼之前。 In some embodiments, the program further includes processing program code. When the CNC controller executes the processing program code, the machine tool is controlled to continue the processing procedure, waiting for the interactive program code to be before the processing program code.
在一些實施例中,程式更包含另一等待互動程式碼位於加工程式碼之中,此另一等待互動程式碼用以監測加工程序。 In some embodiments, the program further includes another waiting interactive program code in the processing program code, and the other waiting interactive program code is used to monitor the processing procedure.
在一些實施例中,加工相關參數包含程式零點、機器零點、刀具長度補正、刀具直徑補正、加工參數、工具機之構型與組態資料、或其任意組合。 In some embodiments, the processing-related parameters include program zero point, machine zero point, tool length compensation, tool diameter compensation, processing parameters, machine tool configuration and configuration data, or any combination thereof.
在一些實施例中,確認操作更包含比對此組加工相關參數與用以產生程式之模擬之參數。 In some embodiments, the confirmation operation further includes comparing the set of processing-related parameters with the simulation parameters used to generate the program.
在一些實施例中,加工方法更包含:若確認操作之結果不符合放行條件,則藉由電腦發送警告訊號,警告訊號包含聲音、影像、傳送至CNC控制器之停止執行指令、或其任意組合。 In some embodiments, the processing method further includes: if the result of the confirmation operation does not meet the release conditions, sending a warning signal by the computer, the warning signal includes sound, image, a stop execution command sent to the CNC controller, or any combination thereof .
在一些實施例中,加工方法更包含:在暫停加工程序期間,CNC控制器將啟動資訊寫入第一狀態參數中;在暫停加工程序期間,當電腦讀取具有啟動資訊之第一狀態參數時,電腦取得CNC控制器之該組加工相關參數並進行確認操作;若確認操作之結果符合放行條件,則電腦經由放行訊號將放行資訊寫入第二狀態參數;及當CNC控制器讀取具有放行資訊之第二狀態參數時,CNC控制器控制工具機繼續加工程序。上述內容涵蓋在電腦與CNC控制器的等待互動操作。一面,電腦等待CNC控制器將啟動資訊寫入第一狀態參數;另一面,CNC控制器等待電腦將放行資訊及/或停止執行資訊寫入第二狀態參數。藉此,可達到電腦與CNC控制器的互動。 In some embodiments, the processing method further includes: during the pause of the processing procedure, the CNC controller writes the start information into the first state parameter; during the pause of the processing procedure, when the computer reads the first state parameter with the start information , The computer obtains the processing related parameters of the CNC controller and performs the confirmation operation; if the result of the confirmation operation meets the release conditions, the computer writes the release information into the second state parameter through the release signal; and when the CNC controller reads the release When the second state parameter of the information, the CNC controller controls the machine tool to continue the processing procedure. The above content covers the waiting interactive operation between the computer and the CNC controller. On the one hand, the computer waits for the CNC controller to write the startup information into the first state parameter; on the other hand, the CNC controller waits for the computer to write the release information and/or stop execution information into the second state parameter. In this way, the interaction between the computer and the CNC controller can be achieved.
根據本揭露之上述目的,另提出一種在啟動工具機之後進行模擬確認的加工系統,其包含電腦、CNC控制器以及工具機。CNC控制器與電腦耦接並具有程式,程式具有等待互動程式碼。工具機與CNC控制器耦接以受其控制。其中,在啟動工具機以使工具機依據程式進行加工程序後,當CNC控制器執行等待互動程式碼而暫時停止工具機以暫停加工程序時,電腦取得CNC控制器之一組加工相關參數,並利用此組加工相關參數進行確認操作,其中確認操作包含根據該組加工相關參數和程式進行模擬,而預測出若工具機繼續進行加工程序時是否會發生異常,以獲得確認操作之結果。若確認操作之結果符合放行條件,則電腦傳送放行訊號給CNC控制器,以使CNC控制器控制工具機繼續加工程序。 According to the above objective of the present disclosure, another processing system for performing simulation confirmation after starting the machine tool is provided, which includes a computer, a CNC controller, and a machine tool. The CNC controller is coupled with the computer and has a program, and the program has a waiting interactive program code. The machine tool is coupled with the CNC controller to be controlled by it. Among them, after starting the machine tool to make the machine tool perform the processing procedure according to the program, when the CNC controller executes the waiting for interactive code and temporarily stops the machine tool to suspend the processing procedure, the computer obtains a set of processing related parameters of the CNC controller, and Use this group of processing-related parameters to perform confirmation operations, where the confirmation operation includes simulation based on the group of processing-related parameters and programs, and predict whether an abnormality will occur if the machine tool continues the processing program to obtain the result of the confirmation operation. If it is confirmed that the result of the operation meets the release conditions, the computer sends a release signal to the CNC controller so that the CNC controller controls the machine tool to continue the processing program.
在一些實施例中,程式更包含加工程式碼,當CNC控制器執行加工程式碼時,控制工具機繼續加工程序,等待互動程式碼位於加工程式碼之前。 In some embodiments, the program further includes processing program code. When the CNC controller executes the processing program code, the machine tool is controlled to continue the processing procedure, waiting for the interactive program code to be before the processing program code.
綜上所述,針對本揭露之在啟動工具機之後進行模擬確認的加工方法與加工系統,在暫停工具機的情況下,抓取CNC控制器有關加工設定的參數,並利用加工相關參數進行包含模擬的確認操作,當確認結果符合放行條件時,藉由CNC控制器控制工具機繼續加工程序。如果確認結果不符合放行條件,亦能提供警示或讓工具機中止加工程序,進而避免浪費加工時間及成本。本揭露的加工方法及加工系統屬於加工業最後一哩的確認,利用電腦與CNC控制 器之間的連結與互動,能在工具機實際加工的過程中,對加工相關參數進行模擬確認,以提升產品良率。 To sum up, for the processing method and processing system of the present disclosure that perform simulation confirmation after starting the machine tool, when the machine tool is paused, the parameters related to the processing settings of the CNC controller are captured, and the processing related parameters are used to include The simulated confirmation operation, when the confirmation result meets the release conditions, the CNC controller controls the machine tool to continue the processing procedure. If the confirmed result does not meet the release conditions, it can also provide a warning or let the machine tool suspend the processing procedure, thereby avoiding wasting processing time and cost. The processing method and processing system disclosed in this disclosure belong to the last mile confirmation of the processing industry, using computer and CNC control The connection and interaction between the machine tools can simulate and confirm the processing related parameters during the actual processing of the machine tool to improve the product yield.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above-mentioned features and advantages of the present disclosure more obvious and understandable, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
1‧‧‧加工系統 1‧‧‧Processing system
11‧‧‧電腦 11‧‧‧Computer
12‧‧‧CNC控制器 12‧‧‧CNC Controller
13‧‧‧工具機 13‧‧‧machine tool
20‧‧‧加工程序 20‧‧‧Processing program
201~212、S01~S08‧‧‧步驟 201~212, S01~S08‧‧‧Step
21、23‧‧‧等待互動操作 21、23‧‧‧Waiting for interactive operation
22‧‧‧加工操作 22‧‧‧Processing operation
30‧‧‧程式 30‧‧‧Program
31、33‧‧‧等待互動程式碼 31, 33‧‧‧Waiting for interactive code
32‧‧‧加工程式碼 32‧‧‧Processing code
SP1‧‧‧第一狀態參數 SP1‧‧‧The first state parameter
SP2‧‧‧第二狀態參數 SP2‧‧‧Second state parameter
從以下結合所附圖式所做的詳細描述,可對本揭露之態樣有更佳的了解。需注意的是,根據業界的標準實務,各特徵並未依比例繪示。事實上,為了使討論更為清楚,各特徵的尺寸都可任意地增加或減少。 From the following detailed description in conjunction with the accompanying drawings, a better understanding of the aspect of the disclosure can be obtained. It should be noted that, according to industry standard practices, each feature is not drawn to scale. In fact, in order to make the discussion clearer, the size of each feature can be increased or decreased arbitrarily.
〔圖1〕為本揭露一實施例之加工系統的方塊示意圖。 [Figure 1] is a block diagram of a processing system according to an embodiment of the disclosure.
〔圖2〕為本揭露一實施例之在啟動工具機之後進行模擬確認的加工方法的流程示意圖。 [Fig. 2] is a schematic flow diagram of a processing method for performing simulation confirmation after starting the machine tool according to an embodiment of the disclosure.
〔圖3〕為本揭露一實施例之程式與加工程序對應的示意圖。 [Figure 3] is a schematic diagram showing the correspondence between the program and the processing procedure of an embodiment of the disclosure.
〔圖4〕為本揭露一實施例之利用兩狀態參數來達成電腦與CNC控制器之雙向溝通的示意圖。 [Fig. 4] is a schematic diagram of using two state parameters to achieve two-way communication between the computer and the CNC controller according to an embodiment of the disclosure.
〔圖5〕為本揭露一實施例之在啟動工具機之後進行模擬確認的加工方法之應用的示意圖。 [FIG. 5] is a schematic diagram of the application of the processing method for performing simulation confirmation after starting the machine tool according to an embodiment of the disclosure.
以下仔細討論本揭露的實施例。然而,可以理解的是,實施例提供許多可應用的概念,其可實施於各式各樣的特定內容中。所討論與揭示的實施例僅供說明,並非用 以限定本揭露之範圍。本揭露的所有實施例揭露多種不同特徵,但這些特徵可依需求而單獨實施或結合實施。另外,關於本文中所使用之「第一」、「第二」、...等,並非特別指次序或順位的意思,其僅為了區別以相同技術用語描述的元件或操作。此外,本揭露所敘述之二元件之間的空間關係不僅適用於圖式所繪示之方位,亦適用於圖式所未呈現之方位,例如倒置之方位。此外,本揭露所稱二個部件的「連接」、「耦接」、「電性連接」或之類用語並非僅限制於此二者為直接的連接、耦接、或電性連接,亦可視需求而包含間接的連接、耦接、或電性連接。 The embodiments of the present disclosure are discussed in detail below. However, it can be understood that the embodiments provide many applicable concepts, which can be implemented in various specific contents. The embodiments discussed and disclosed are for illustration only, not for use To limit the scope of this disclosure. All the embodiments of the present disclosure disclose multiple different features, but these features can be implemented separately or in combination according to requirements. In addition, the "first", "second", ... etc. used in this text do not particularly refer to the meaning of order or sequence, but only to distinguish elements or operations described in the same technical terms. In addition, the spatial relationship between the two elements described in this disclosure is not only applicable to the orientation shown in the diagram, but also applicable to the orientation not shown in the diagram, such as the inverted orientation. In addition, the terms "connection", "coupling", "electrical connection" or the like between the two components mentioned in the present disclosure are not limited to the direct connection, coupling, or electrical connection of the two components. The requirement includes indirect connection, coupling, or electrical connection.
圖1為本揭露一實施例之加工系統1的方塊示意圖。如圖1所示,加工系統1包含電腦11、CNC控制器12以及工具機13。其中,電腦11與CNC控制器12耦接,例如是藉由有線連接或無線連接、或藉由區域網路(local network)或網際網路(Internet)而耦接。藉由相互耦接,電腦11與CNC控制器12可互傳訊號。本實施例不限制電腦11的實施態樣,其例如可包含所需硬體及軟體。CNC控制器12又與工具機13耦接,以控制工具機13。CNC控制器12藉由執行程式而控制工具機13進行各樣所需加工,例如切削加工。加工所需要設定的參數可由電腦11傳送至CNC控制器12或是由操作人員直接在CNC控制器12上設定。本實施例不限制工具機13的實施態樣,其可例如為車床、銑床、磨床、鑽床、沖床等。
FIG. 1 is a block diagram of a
圖2為本揭露一實施例之在啟動工具機13之後進行模擬確認之加工方法的流程示意圖。請參照圖1及圖2以說明本實施例之加工方法。進行步驟S01以設置程式於CNC控制器12中,且程式具有等待互動程式碼。舉例來說,可藉由電腦11將程式傳送給CNC控制器12。當然,在其他實施例中,可由作業人員以手動方式將程式安裝於CNC控制器12中。特別的是,本揭露的程式具有等待互動程式碼。一般而言,上述的程式可利用客製化CAD/CAM軟體來產生。在一實施例中,在利用軟體進行切削模擬初步確認無問題而產生程式後,可將等待互動程式碼***程式中,再將具有等待互動程式碼的程式設置於CNC控制器12中,但需注意的是,在進行上述切削模擬時,設定的參數通常不完整或不完全準確,所以就需要本揭露之進行模擬確認的加工方法。
2 is a schematic flowchart of a processing method for performing simulation confirmation after starting the
進行步驟S02以啟動工具機13,以使工具機13依據程式進行加工程序。舉例來說,可由操作人員按下CNC控制器12的CYCLE START按鍵來啟動工具機13。在其他實施例中,可藉由電腦11傳送啟動訊號以啟動工具機13。
Step S02 is performed to start the
進行步驟S03,在進行加工程序期間,當CNC控制器12執行等待互動程式碼時,則暫時停止工具機13,以暫停加工程序。
Step S03 is performed. During the processing procedure, when the
進行步驟S04以在暫停加工程序期間,藉由電腦11取得CNC控制器12之一組加工相關參數。加工相關參數例如包含程式零點、機器零點、刀具長度補正、刀具直徑
補正、加工參數(例如轉速、轉速百分比、進給速率、進給速率百分比等)、工具機13之構型與組態資料、或其任意組合等。在一實施例中,電腦11亦可下載CNC控制器12接下來要執行的程式部分,以進行後續的模擬。
Step S04 is performed to obtain a set of processing related parameters of the
進行步驟S05以藉由電腦11利用加工相關參數進行確認操作,確認操作包含根據加工相關參數和程式進行模擬,而預測出若工具機13繼續進行加工程序時是否會發生異常,以獲得確認操作之結果。模擬例如包含切削模擬、碰撞偵測、刀具路徑模擬、待切削零件之幾何形狀確認等等。
Step S05 is performed to use the
在一實施例中,程式中除了等待互動程式碼以外的部分是利用軟體進行參數設定以及模擬而得到,例如是刀具路徑模擬、切削模擬等。而本揭露實施例的確認操作可更包含比對上述設定的參數與本揭露的加工相關參數,以獲得確認操作的結果之一。亦即,在進行本揭露實施例的確認操作的模擬之前,可先比對實際的加工相關參數與先前用以產生程式之模擬的參數。 In one embodiment, the part of the program other than waiting for the interactive code is obtained by using software for parameter setting and simulation, such as tool path simulation, cutting simulation, etc. The confirmation operation of the embodiment of the present disclosure may further include comparing the above set parameters with the processing-related parameters of the present disclosure to obtain one of the results of the confirmation operation. That is, before performing the simulation of the confirmation operation in the embodiment of the present disclosure, the actual processing-related parameters can be compared with the previous simulation parameters used to generate the program.
進行步驟S06以判斷確認操作的結果是否符合放行條件,若結果為是,則進行步驟S07以藉由電腦11傳送放行訊號給CNC控制器12,以使CNC控制器12控制工具機13繼續加工程序。其中,放行訊號可包含繼續執行的指令或資訊。若確認操作的結果不符合放行條件,則進行步驟S08以藉由電腦11發送警告訊號,警告訊號例如包含聲音、影像、傳送至CNC控制器12之停止執行指令、或其一組合。其中,確認操作的結果不符合放行條件的狀況例如包含偵測
到碰撞、剩餘刀具壽命不足、或切削過程中的切削力過大等等。
Go to step S06 to determine whether the result of the confirmation operation meets the release conditions, if the result is yes, go to step S07 to send the release signal to the
在實務上,本揭露的加工方法及加工系統可提供防呆功能。以刀具為例來說,可能現場操作人員裝錯刀具,此時本揭露的加工方法就能抓出錯誤。在應用上,本揭露的加工方法可以實施於第一個待加工工件即可,當確認無誤時,之後的工件就不需要等待互動程式碼的執行了。 In practice, the processing method and processing system disclosed in this disclosure can provide foolproof functions. Take the tool as an example, it is possible that the on-site operator installs the wrong tool, and the processing method disclosed in this case can catch the error. In terms of application, the processing method disclosed in the present disclosure can be implemented on the first workpiece to be processed. When it is confirmed that it is correct, the subsequent workpieces do not need to wait for the execution of the interactive code.
需注意的是,本揭露是在工具機13暫停的期間來進行模擬確認。倘若不是在工具機13暫停的期間來進行模擬確認,而是在工具機13進行加工程序的同時,電腦亦進行模擬確認,此種情況下,若於執行實際切削過程一段時間之後,才偵測到問題,例如偵測到有碰撞情形,將浪費加工時間、成本以及刀具等。
It should be noted that this disclosure is to perform simulation confirmation during the pause of the
圖3為本揭露一實施例之程式與加工程序對應的示意圖。如圖3所示,CNC控制器12所執行的程式30係使工具機13進行加工程序20,因此程式30係對應加工程序20。程式30包含等待互動程式碼31以及加工程式碼32。當CNC控制器12執行到等待互動程式碼31時,暫時停止工具機13以暫停加工程序,亦即使加工程序20進入等待互動操作21,此時電腦11可利用實際的加工相關參數及加工程式碼32進行確認操作之模擬。當CNC控制器12執行加工程式碼32時,控制工具機13繼續加工程序20,亦即使加工程序20進入加工操作22。
3 is a schematic diagram showing the correspondence between the program and the processing procedure of an embodiment of the disclosure. As shown in FIG. 3, the
在本實施例中,等待互動程式碼31位於加工程式碼32之前,或者說等待互動操作21在加工操作22之前。另外,在其他實施例中,等待互動程式碼31可位於加工程式碼32之一適當位置。在本實施例中,舉例來說,等待互動程式碼31是位於程式30的最前面,使得在整個加工程序20的一開始就是等待互動操作21。另外,在其他實施例中,程式30可更包含另一等待互動程式碼33,等待互動程式碼33位於加工程式碼32之中,並可用以監測加工程序20。舉例來說,當加工程序20的加工操作22進行到某一階段時,可藉由等待互動程式碼33來暫停加工程序20,亦即使加工程序20進入另一等待互動操作23,使得電腦11可取得CNC控制器12之相關參數來進行監測。
In this embodiment, the waiting
圖4為本揭露一實施例之利用兩狀態參數來達成電腦11與CNC控制器12之等待互動操作21的雙向溝通的示意圖。如圖4所示,在本實施例中,第一狀態參數SP1與第二狀態參數SP2例如是CNC控制器12可控制之複數個參數的其中二者。在操作上,在暫停加工程序期間,CNC控制器12可將啟動資訊寫入第一狀態參數中。在暫停加工程序期間,當電腦11讀取具有啟動資訊的第一狀態參數SP1時,表示CNC控制器12已啟動(CYCLE START)工具機13且已暫時停止工具機13,因此電腦11可取得CNC控制器12之加工相關參數並進行確認操作。若確認操作之結果符合放行條件,則電腦11經由傳送給CNC控制器12的放行訊號而將放行資訊寫入第二狀態參數SP2。當CNC控制器12讀取
具有放行資訊之第二狀態參數SP2時,表示工具機13可繼續加工程序,因此CNC控制器12控制工具機13繼續加工程序。總括來說,CNC控制器12可將資訊寫入第一狀態參數SP1並可讀取第二狀態參數SP2,而電腦可讀取第一狀態參數SP1並可將資訊寫入第二狀態參數SP2,藉此可達成電腦11與CNC控制器12的雙向溝通。上述內容涵蓋在電腦11與CNC控制器12的等待互動操作中。一面,電腦11等待CNC控制器12將啟動資訊寫入第一狀態參數SP1;另一面,CNC控制器12等待電腦11將放行資訊及/或停止執行資訊寫入第二狀態參數SP2。藉此,可達到電腦11與CNC控制器12的互動。
FIG. 4 is a schematic diagram showing the use of two state parameters to achieve a two-way communication between the
圖5為本揭露一實施例之在啟動工具機之後進行模擬確認的加工方法的應用示意圖。如圖5所示,首先,在CNC控制器12端,讓工具機13正常作業(步驟201),然後按下CYCLE START按鍵(步驟202)以使工具機13進行實際的切削加工,即上述的加工程序20。接著,當CNC控制器12執行到***的等待互動程式碼時,暫停工具機13(步驟203)。此時,電腦11透過網路與CNC控制器12連線並讀取其狀態(步驟204),並判斷CNC控制器12是否處於CYCLE START(步驟205),這可例如由上述第一狀態參數SP1達成。若是,則由電腦11讀取CNC控制器12的加工相關參數(步驟206),亦可從CNC控制器12下載程式或是以電腦原有的程式來進行模擬。然後,判斷模擬結果是否正常(步驟207)。若是,則由電腦11傳送繼續執行指令給CNC控制
器12(步驟208),並透過網路傳送指令給CNC控制器12(步驟209),這可例如由上述第二狀態參數SP2達成。若否,則由電腦11傳送停止執行指令給CNC控制器12(步驟210)。此時,CNC控制器12等待電腦11所傳送的指令以判斷是否繼續之前暫停的加工程序(步驟211)。若是,則繼續加工程序(步驟212)。
FIG. 5 is an application schematic diagram of a processing method for performing simulation confirmation after starting the machine tool according to an embodiment of the disclosure. As shown in Figure 5, first, at the
由以上說明可知,針對本揭露之在啟動工具機之後進行模擬確認的加工方法與加工系統,在暫停工具機的情況下,抓取CNC控制器有關加工設定的參數,並利用加工相關參數進行包含模擬的確認操作,當確認結果符合放行條件時,藉由CNC控制器控制工具機繼續加工程序。如果確認結果不符合放行條件,亦能提供警示或讓工具機中止加工程序,進而避免浪費加工時間及成本。本揭露的加工方法及加工系統屬於加工業最後一哩的確認,利用電腦與CNC控制器之間的連結與互動,能在工具機實際加工的過程中,對加工相關參數進行模擬確認,以提升產品良率。 It can be seen from the above description that for the processing method and processing system of the present disclosure that perform simulation confirmation after the machine tool is started, when the machine tool is paused, the parameters related to the CNC controller processing settings are captured, and the processing-related parameters are used to include The simulated confirmation operation, when the confirmation result meets the release conditions, the CNC controller controls the machine tool to continue the processing procedure. If the confirmed result does not meet the release conditions, it can also provide a warning or let the machine tool suspend the processing procedure, thereby avoiding wasting processing time and cost. The processing method and processing system disclosed in this disclosure belong to the last mile confirmation of the processing industry. By using the connection and interaction between the computer and the CNC controller, the processing related parameters can be simulated and confirmed during the actual processing of the machine tool to improve Product yield.
以上概述了數個實施例的特徵,因此熟習此技藝者可以更了解本揭露的態樣。熟習此技藝者應了解到,其可輕易地把本揭露當作基礎來設計或修改其他的製程與結構,藉此實現和在此所介紹的這些實施例相同的目標及/或達到相同的優點。熟習此技藝者也應可明白,這些等效的建構並未脫離本揭露的精神與範圍,並且他們可以在不脫離本揭露精神與範圍的前提下做各種的改變、替換與變動。 The features of several embodiments are summarized above, so those who are familiar with the art can better understand the aspect of the disclosure. Those who are familiar with the art should understand that they can easily use the present disclosure as a basis to design or modify other processes and structures, thereby achieving the same goals and/or the same advantages as the embodiments described herein. . Those who are familiar with this art should also understand that these equivalent constructions do not depart from the spirit and scope of this disclosure, and they can make various changes, substitutions and alterations without departing from the spirit and scope of this disclosure.
S01~S08‧‧‧步驟 S01~S08‧‧‧Step
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130312A TWI704435B (en) | 2019-08-23 | 2019-08-23 | Machining method and system performing simulation confirmation after starting machine tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130312A TWI704435B (en) | 2019-08-23 | 2019-08-23 | Machining method and system performing simulation confirmation after starting machine tool |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI704435B true TWI704435B (en) | 2020-09-11 |
TW202109221A TW202109221A (en) | 2021-03-01 |
Family
ID=73644181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108130312A TWI704435B (en) | 2019-08-23 | 2019-08-23 | Machining method and system performing simulation confirmation after starting machine tool |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI704435B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5808432A (en) * | 1994-03-11 | 1998-09-15 | Matsushita Electric Industrial Co., Ltd. | Method of and apparatus for finely machining a workpiece with numerical control having a computer-aided simulated function |
TW475911B (en) * | 1993-09-08 | 2002-02-11 | Hurco Co Inc | Improved machine tool control system |
CN103752966A (en) * | 2014-01-28 | 2014-04-30 | 盐城工学院 | Blisk blade electrolytic machining intelligent control device and control method thereof |
TW201520711A (en) * | 2013-11-25 | 2015-06-01 | Inst Information Industry | Embedded system, fool-proof control method and computer-readable storage medium |
WO2019061481A1 (en) * | 2017-09-30 | 2019-04-04 | 西门子公司 | Fault diagnosis method and apparatus for numerical control machine tool |
WO2019082407A1 (en) * | 2017-10-26 | 2019-05-02 | 株式会社日立産機システム | Abnormality detection system and abnormality detection method |
TW201921203A (en) * | 2017-06-15 | 2019-06-01 | 詹姆斯 艾德蒙 三世 楚朗森 | Integrated CAD/CAM/CNC software for machine tool and machine tool therewith |
WO2019138475A1 (en) * | 2018-01-10 | 2019-07-18 | 三菱電機株式会社 | Numerical control device and numerical control system |
-
2019
- 2019-08-23 TW TW108130312A patent/TWI704435B/en active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW475911B (en) * | 1993-09-08 | 2002-02-11 | Hurco Co Inc | Improved machine tool control system |
US5808432A (en) * | 1994-03-11 | 1998-09-15 | Matsushita Electric Industrial Co., Ltd. | Method of and apparatus for finely machining a workpiece with numerical control having a computer-aided simulated function |
TW201520711A (en) * | 2013-11-25 | 2015-06-01 | Inst Information Industry | Embedded system, fool-proof control method and computer-readable storage medium |
CN103752966A (en) * | 2014-01-28 | 2014-04-30 | 盐城工学院 | Blisk blade electrolytic machining intelligent control device and control method thereof |
TW201921203A (en) * | 2017-06-15 | 2019-06-01 | 詹姆斯 艾德蒙 三世 楚朗森 | Integrated CAD/CAM/CNC software for machine tool and machine tool therewith |
WO2019061481A1 (en) * | 2017-09-30 | 2019-04-04 | 西门子公司 | Fault diagnosis method and apparatus for numerical control machine tool |
WO2019082407A1 (en) * | 2017-10-26 | 2019-05-02 | 株式会社日立産機システム | Abnormality detection system and abnormality detection method |
WO2019138475A1 (en) * | 2018-01-10 | 2019-07-18 | 三菱電機株式会社 | Numerical control device and numerical control system |
Also Published As
Publication number | Publication date |
---|---|
TW202109221A (en) | 2021-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4920785B2 (en) | Numerical control method and apparatus | |
US8326448B2 (en) | Method and device for operating a machine tool | |
US20140364989A1 (en) | Controller for controlling machine tool and robot | |
US8090557B2 (en) | Quality assurance method when operating an industrial machine | |
JP6127755B2 (en) | Information processing apparatus, control method for information processing apparatus, and control program | |
US9400496B2 (en) | Numerical controller with inter-path waiting function | |
TWI528123B (en) | Embedded system, fool-proof control method and computer-readable storage medium | |
US8862251B2 (en) | Controller for machine tool and machining-related data processing system provided therewith | |
US20080021591A1 (en) | Numerical controller having interference check function | |
US10459427B2 (en) | Numeric controller with notification of a CAM system in the event of a change in the subroutine | |
US20150051726A1 (en) | Method and Apparatus for an Automated Configuration of a Monitoring Function of an Industrial Robot | |
JP2020108918A (en) | Method and system for correcting error in processing device | |
KR20210062440A (en) | Manufacturing apparatus of machine tool using digital twin and the method thereof | |
CN1796046B (en) | System for automatic detecting collision of numerically controlled machine tool | |
US10678231B2 (en) | Production controller equipped with function of identifying cause upon operation stop of production facility including manufacturing facilities | |
TWI704435B (en) | Machining method and system performing simulation confirmation after starting machine tool | |
JP2004227047A (en) | Machining device | |
US11262727B2 (en) | Integrated simulation system having improved operability | |
JP2010231737A (en) | Numerical control device having interference check function | |
CN111300150A (en) | Intelligent production line product quality process control detection and feedback method | |
JP7448345B2 (en) | Communication control device | |
US10974385B2 (en) | Redundant, diverse collision monitoring | |
JP6705848B2 (en) | Control device and control system | |
JPH06282318A (en) | Mumerically controlled machine tool | |
US20160350317A1 (en) | Method for converting at least one safety configuration file |