TW572807B - Calibrating system for correcting tool length in a cutting machine center - Google Patents

Calibrating system for correcting tool length in a cutting machine center Download PDF

Info

Publication number
TW572807B
TW572807B TW88106417A TW88106417A TW572807B TW 572807 B TW572807 B TW 572807B TW 88106417 A TW88106417 A TW 88106417A TW 88106417 A TW88106417 A TW 88106417A TW 572807 B TW572807 B TW 572807B
Authority
TW
Taiwan
Prior art keywords
tool
length
cutting
program
tool length
Prior art date
Application number
TW88106417A
Other languages
Chinese (zh)
Inventor
Michael Huan-Chung Chiu
Su-Yun Chang
Original Assignee
Michael Huan-Chung Chiu
Su-Yun Chang
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Michael Huan-Chung Chiu, Su-Yun Chang filed Critical Michael Huan-Chung Chiu
Priority to TW88106417A priority Critical patent/TW572807B/en
Application granted granted Critical
Publication of TW572807B publication Critical patent/TW572807B/en

Links

Landscapes

  • Numerical Control (AREA)

Description

572807 五、發明說明(1) 德+ ί t明係與數值控制工具機有關,詳而言之,係指〆 ^二心機之刀具長度補正校正系統,該量測系統係利 :又疋多數及辅以巨集程式,可使切削中心機能方便快速 及準確的校正刀具長度。 按’數值控制工具機具有多個不同功能之刀具,町變 換的破η又於主軸上,以對工件進行各種不同形式之切削加 ^般之數值控制工具機所使用之刀具數,少則十幾 士’夕則數十支。由於刀具均會磨耗或因更換之關係,使 付刀長改變,因此欲加工工件前,均須對刀具作校正,俾 切削時,能有正確之進刀量。 習知之刀長校正係以人工操作,以人為之方式對每一 支刀具一一的校正,人工記錄刀具長度,並計算補正量, 再輸入數值於工具機。此一方式之缺失在於整個過程具有 相當多之人為操作因素,不論在記錄、輸入與計算數值 時,均甚易發生誤差,且人工量測之方式相當耗時不便。 ^幸由之校正方式除了上述之人為方式外,晚近係有刀 具庫官理褒置,作為管理刀具之用。然而此種管理裝置仍 有其缺失,其一為:該刀具庫管理裝置所費不貲,須花費 數十萬元,增加業者成本。其二為:該管理裝置所為之刀 長校正,乃係使某一種類或同一類型之刀具凸伸於刀具夾 頭外相同長度,惟此種校正方式太過硬性,刀具於裝設時 須仔細的度量凸伸長度,且亦須對每一同類型刀具調整於 相同長度,再作基礎刀長與真正刀長之校正,校正作業相 當不便。再者,若刀具仍在可使用狀態,惟其長度已短於572807 V. Description of the invention (1) Germany + ί is related to the numerical control machine tool. In detail, it refers to the tool length correction and correction system of the 二 ^ 2 heart machine. The measurement system is beneficial: the majority and Supplemented with a macro program, the cutting center can easily and quickly correct the tool length. According to the 'numerical control', the machine tool has a number of different functions of the tool, and the break of the machine transformation is on the spindle to perform various different types of cutting on the workpiece. The numerical control of the number of tools used by the machine tool is as small as ten There are dozens of princes' evenings. Because the tools are worn or changed due to replacement, the length of the tool is changed. Therefore, the tool must be calibrated before machining the workpiece. 正确 When cutting, you can have the correct amount of feed. The conventional tool length correction is manual operation, which manually corrects each tool one by one, manually records the tool length, calculates the correction amount, and then inputs the value to the machine. The shortcoming of this method is that the entire process has a lot of human operating factors. No matter when recording, inputting and calculating values, errors are easy to occur, and the manual measurement method is quite time-consuming and inconvenient. ^ Fortunately, in addition to the artificial method described above, a tool library management system has recently been set up to manage tools. However, such a management device still has its shortcomings. One is that the tool magazine management device is expensive and requires hundreds of thousands of yuan, increasing the cost of the operator. The second is: the tool length correction performed by the management device is to make a certain type or the same type of tool protrude beyond the tool chuck by the same length, but this correction method is too rigid, the tool must be carefully installed The measurement of convex elongation must also be adjusted to the same length for each tool of the same type, and then the basic tool length and the true tool length are corrected, which is quite inconvenient. Furthermore, if the tool is still usable, its length is shorter than

572807 五、發明說明(2) 所須之凸伸長度,即無法使用,$免造成浪費。 種切ii明f於解決上揭諸缺失,*主要目的在於提供-發生。“機之刀長補正校正系統,其可排除人為誤差之 本發明之另一目的在於提供一種切削中心機之刀長補 正杈正=統,其對於刀長之校正快速便利。572807 V. Description of the invention (2) The required convex elongation cannot be used, and $ will not cause waste. This kind of solution reveals the defects in the solution, * the main purpose is to provide-happen. "Machine tool length correction correction system, which can eliminate human error. Another object of the present invention is to provide a tool center correction system for cutting center machines, which is fast and convenient for tool length correction.

^ 為此,一步瞭解本發明之‘目的、特徵以及所達成之功 效,以下雔舉本發明一較佳實施例,並配合圖式詳細說明 於后,其中,圖式之安排為: f 圖(A )( β)係僅顯示一種切削中心機之操作面板。 ,亡圖係本發明一較佳實施例之流程圖。 一 第三圖係本發明一較佳實施例對刀具校正基本刀長之 不意圖。 第四圖係本發明之較佳實施例於校正完刀具基本長度 之資料示意圖。 第五圖係本發明較佳實施例對刀具校正真正刀長之示 意圖。 表一係本發明較佳實施例所應用之切削中心機之G指 令模組可使用之巨集程式編號。 表二係本發明較佳實施例所應用之切削中心機之Μ指 令模組可使用之巨集程式編號。 ^ 表三係本發明較佳實施例所應用之切削中心機之其它 模組之變數號碼表。 表四為係本發明較佳實施例所應用之切削中心機之巨^ To this end, one step to understand the purpose, characteristics and achieved effects of the present invention, a preferred embodiment of the present invention is enumerated below, and described in detail with the drawings, wherein the arrangement of the drawings is: f 图 ( A) (β) is the operation panel of only one type of cutting center machine. The dead picture is a flowchart of a preferred embodiment of the present invention. A third figure is not intended for correcting the basic tool length of a tool in a preferred embodiment of the present invention. The fourth figure is a schematic diagram of the data of the preferred embodiment of the present invention after the basic length of the tool is corrected. The fifth figure is a schematic view of a preferred embodiment of the present invention for correcting the true tool length of a tool. Table 1 shows the macro program numbers that can be used by the G instruction module of the cutting center machine applied in the preferred embodiment of the present invention. Table 2 shows the macro program numbers that can be used by the M instruction module of the cutting center machine applied in the preferred embodiment of the present invention. ^ Table 3 is a variable number list of other modules of the cutting center machine used in the preferred embodiment of the present invention. Table 4 shows the advantages of the cutting center machine used in the preferred embodiment of the present invention.

五、發明說明(3) 集程式中之引數位址與變數之對照表。 資料較佳實施例所應用之切削中心機之位置 補正實施例所應用之切削中心機之工具 表七係本發明較佳實施例之程式。 , ΐ:ξ ξ i:明—較佳實施例提出說明: 佳實施:中心機之刀長補正校正系統之較 刼作面板係如第一圖所示。 則中^機上,其 該工具機係内建有若干巨集程式巨隼裎守^曰 數指令等的組合,使用久插瞀 二巨集耘式乃疋以變 控制、刺齡v 用各種异1^介面資料輸出入、 程式、y刀歧等命令,以執行專用機能之副程式化的 設i巨i :G指令模組與M指令模組則具有供操作者將: G°扑人儲存於内之程式序列,其程式編號分別為. 令且·Μ 9〇1〇〜N〇.9019之程式序列,如表一;以指 模、,·· No.900 1〜ν〇·9009之程式序列,如表二。 於該切削中心機内,其變數係具有局部變數、共通變 、雨=及系統變數等三種,局部變數之號碼為·· #卜#32,共 =變數之號碼為:#100〜#149,以及#500〜#599;系統變數 ,巨集介面輸入之變數號碼為:#1000〜#1035;巨集介 ,輪出之變數號碼為:#1100〜#1135;工具補正之變數號 ^為·β 〇〇〇〇 #lxXXX或#2000〜#2χχχ ;工件座標系補正之 Μ數號碼為·· #5201〜#5326; G指令模組之變數號碼為: 572807 五、發明說明(4) #400卜#4021、#42G卜#4221;其它模組之變 #4m 〜#4120、#43〇卜#4320; # 置資料之 二:公 #500卜#51〇6。巨集程式規格時,未定義的變數m 的變數使用。 默則把當空 發明人為使該工具機能執行本發㈣ 係自行編寫若干巨集程式,如表七,ϋ將該等ij:, 表-"'表二之G、Μ模組之程式序列中。於㈣"式儲存於 100指令(code)用以呼叫編號ν〇9010之程式.以" 指令呼叫NO.90U之程式;以"15〇"指令呼叫Ν〇’ 1 式;以"16&"指令呼,0.9〇13之程式;以"2〇〇"指令2 = No· 9017之程式;以"250"指令呼叫Ν〇· 9〇18之程式· ” 255”指令呼叫No· 9019之程式。而於Μ模組中,以"1〇〇 令呼叫Ν〇·900 1之程式;以” 2〇〇,,指令呼叫Ν〇·9〇〇8之程曰 式0 茲將本發明之操作過程輔以巨集程式說明如下,兑 業流程如第三圖所示: ’八 首先將工具機之模式選擇開關切換至MDf模式,輸入 1 Μ2 00π指令,系統即會執行仏模組中Ν〇· 9〇〇8之程式,該程 式之内容如下文所示: 程式編號V. Description of the invention (3) Comparison table between the argument address and the variable in the program. The position of the cutting center machine used in the preferred embodiment of the data is corrected. The tool of the cutting center machine used in the embodiment is corrected. Table 7 shows the program of the preferred embodiment of the present invention. , Ϊ́: ξ ξ i: Ming—The preferred embodiment provides a description: Good implementation: The comparison of the blade length correction system of the center machine is shown in the first figure. Then on the machine, the machine tool system has a number of macro programs, such as a combination of instructions, and a number of instructions. The use of the long plug two macros is to change the control, stabbing v Different 1 ^ interface data input and output, programs, y knife and other commands to perform the special function of the sub-programmed settings i giant i: G command module and M command module have for the operator to: G ° The program sequence stored in the program sequence number is. Let the program sequence of · M 9〇10〇 ~ N〇.9019, as shown in Table 1; with finger, ··· No. 900 1 ~ ν〇 · 9009 The program sequence is shown in Table 2. In this cutting center machine, its variables are three types: local variables, common variables, rain = and system variables. The number of local variables is ####, the number of common = variables is: # 100 ~ # 149, and # 500 ~ # 599; system variables, the variable number entered by the macro interface is: # 1000 ~ # 1035; macro, the variable number of the rotation is: # 1100 ~ # 1135; the variable number of the tool correction ^ is · β 〇〇〇〇 # lxXXX or # 2000 ~ # 2χχχ; The number of the M coordinate of the workpiece coordinate system is # 5201 ~ # 5326; The variable number of the G command module is: 572807 V. Description of the invention (4) # 400 卜# 4021, # 42G 卜 # 4221; Other module changes # 4m ~ # 4120, # 43〇 卜 # 4320; # # 2 of data: Public # 500 卜 # 51〇6. In the macro program specification, an undefined variable m is used. By default, the inventor of Dangkong made some macro programs by himself to make this tool function execute, such as Table VII, and put these ij :, TABLE- " 'Table 2 of the G and M modules in the program sequence . The "㈣" type is stored in the 100 command (code) to call the program of the number ν〇9010. The "quote" command is used to call the program NO.90U; the "" 15〇 " command is used to call Ν〇 '1; 16 & " Instruction call, 0.9〇13 program; " 2〇〇 " Program 2 = No · 9017 program; " 250 " Program call 〇〇9〇18 program · "255" instruction Call the program of No. 9019. In the M module, a program called "No. 900 1" is called with "100", and a process called "No. 900" is called "0". The operation of the present invention will be described below. The process supplemented by a macro program is explained below, and the exchange process is shown in the third figure: 'E. First, switch the mode selection switch of the machine tool to the MDf mode, enter the 1 Μ2 00π instruction, and the system will execute Ν in the module. · The program of 900, whose content is as follows: Program number

09008 SETVN500 C,,,,, SETVN500[WORKCO〇R,COUNTER,FINDER06,FINDER10] ---------------- (2)09008 SETVN500 C ,,,,, SETVN500 [WORKCO〇R, COUNTER, FINDER06, FINDER10] ---------------- (2)

572807 五、發明說明(5) · SETVN5 04 [XC,YC,XI,Yl,X2, Y2, X3, Y3] ----------------(3) SETVN512[T0TAL-T,T00L-N,T2PART,T2CHECK,DELTA- D, NEXTT00L] (4) #1 = 1 ----------------(5) WHILE[#1LE20]D01 (6) #[ 499 + #l ]=〇 ——-(7) #1=#1 + 1 ---------------一一(8) END1 (9) #501 = 1 ------------ ——(10) #502 = 3 ---------------( 1 1 ) #503 = 5 (12) #512=16 (13) M99 (14) 本程式係用以(重新)設定系統之起始參數。 式(1 )為清除系統所用之參數及定義;式(2 )與式(4 ) 為命名及定義,如計數器,尋邊器等。式(3)為定義若干 座標。式(5)為設定變數#1之值等於1 ;式(6)至式(9),由 WHILE D0,至END係為一復歸執行之程式流程之控制命令, 於條件式成立時,可於單節間重覆執行。此一復歸之執行 流程係將變數#5〇〇〜#519之值全部歸零。 式(10)至式(13)則再分別定義變數# 501、#502、#503 與#51 2之值,其中,本實施例將該變數#512之值係設定為 16,為本較佳實施例所應用之切削中心機所使·用之刀具572807 V. Description of the invention (5) · SETVN5 04 [XC, YC, XI, Yl, X2, Y2, X3, Y3] ---------------- (3) SETVN512 [T0TAL -T, T00L-N, T2PART, T2CHECK, DELTA- D, NEXTT00L] (4) # 1 = 1 ---------------- (5) WHILE [# 1LE20] D01 ( 6) # [499 + #l] = 〇 ——- (7) # 1 = # 1 + 1 --------------- one one (8) END1 (9) # 501 = 1 ------------ —— (10) # 502 = 3 --------------- (1 1) # 503 = 5 (12) # 512 = 16 (13) M99 (14) This program is used to (re) set the initial parameters of the system. Equation (1) is the parameters and definitions used for clearing the system; Equations (2) and (4) are names and definitions, such as counters, edge seekers, etc. Equation (3) defines a number of coordinates. Equation (5) is to set the value of variable # 1 equal to 1; Equations (6) to (9), from WHILE D0 to END are control commands for a program flow that is executed recursively. When the conditional formula is established, the Repeatedly executed between blocks. The execution process of this return is to reset all the values of the variables # 5〇〇 ~ # 519 to zero. Equations (10) to (13) define the values of the variables # 501, # 502, # 503, and # 51 2 respectively, where the value of the variable # 512 is set to 16 in this embodiment, which is preferred. Cutting tools used in the examples

第8頁 572807 五、發明說明(6) 數。^⑷之”_,,則為巨集程式之結束命令。 之刀L 日)所定義之變數值’將隨/著所應用之切削中心機 之刀具數目不同,而作更改。 俄 長之指令之程式完成後,接著進行後續之校正刀 你/杈正刀長時,首先校正刀具之基本長度,乃係於工 正器(2〇)…轴…,令主軸於歸零 i 於刀具(1〇)前端觸及該校正器(2〇),如 =:又想線所示,其位移之行程:L,"基本刀長之 ΐ料長又’㈣長度記錄於該刀具之資料内,料-基準 ^實際操作時,操作者於仰I模式下輸入"T0丨M6 "指令Page 8 572807 V. Description of the invention (6) Number. ^ ⑷ 之 "_, it is the end command of the macro program. The variable value 'defined by the knife L day) will be changed according to / depending on the number of cutting center tools used. Russian commander After the program is completed, the subsequent correction of the length of the knife is performed. When the length of the knife is corrected, the basic length of the tool is first corrected. It is tied to the tool (20) ... axis, so that the main axis returns to zero and the tool (1 〇) The front end touches the corrector (2〇), as shown by the line: the stroke of its displacement: L, " the basic tool length and the material length are recorded in the data of the tool. -Baseline ^ In actual operation, the operator enters the "T0 丨 M6" instruction in the I mode.

ΚΠί裝:Λ代㈣一把刀具,料,工具機會將 苐一把刀具裝到主軸上,復將模式選擇開關切換至RApiD 及HANDLE模式,並降低2軸校正之,於該刀具校正完 再於MDI模式下輸入"G250T02"指令該指令可呼叫本發明 之巨集程式,將第一把刀具之位移數值記錄起來作^一 基準數據,該工具機並取下第一把刀具,將第二把刀具裝 設於主軸上,以供進行基本刀長之校正。於第二把刀^之 Z軸校正完成後,同樣再於MDI模式下輸入"G25〇T〇3”指令, 此時,可同樣將第二把刀具之刀長數據記錄於工具機内,’ 並將第三把刀具換裝於主軸上,而可進行第三把刀且之美 本刀長之校正。下一把刀具則依此類推校正之。 土 以下兹將操作過程配合程式,說明上節之演繹關係·· 第9頁 572807 五、發明說明(7) 本較佳實施例係以第一把刀具開始校正美 先輸入”Τ01Μ6Π指令,如上所述,該,,τ〇1„係二 ^長,故 具,(當欲從第Ν把刀具開始校正時,貝^⑽表二^刀 復降低Ζ軸,於該刀具到達校正器(20)之^定言产y 7), 為所校正之基本刀長,此時於mm模式下τ 2,該指令輸入後,指令中之"G25 0"即會執行 : :之No· 9018程式,而"Τ2"則係代表下一把欲校正;=二 一把刀具(於下文中敘述),該程式内容如下· 0901 8 〜______^ #513 = #4120 _________——程式編號 #517 = #20 —_______,-----(15) #515 = #5023 —______------(16) -----(17、 #[#513+#512+2000]=#515 ___________ G91G28Z0 —一一 (18) M5 …一 (19) IF[#517EQ#〇]GOT010 ________ ; T#517M6 ______ (21) N10M99 — (22) (23) 於此程式内,式(2 1)係為一條件式。 此程式開始執行時,式(15)係將變數#4120代入變數 #513,由表三可知,該變數#4120係為先前讀入之工且機 能,亦即為"T01M6"指令所導入之第一把刀具,故 變數#513即代矣楚_加刀呈口老& 甘7士从, ,, '表第把刀具说碼,其值為1。式(16)係將 入變數#517,由表四可知,變數#20係為引數:ΚΠί loading: Λ replaces a tool, material, and tool. The tool will install a tool on the spindle, then switch the mode selection switch to RApiD and HANDLE mode, and reduce the 2-axis correction. Enter the "G250T02" instruction in the MDI mode. This instruction can call the macro program of the present invention to record the displacement value of the first tool as a reference data. The machine tool removes the first tool and changes the second tool. The tool is mounted on the spindle for correction of the basic tool length. After the Z-axis calibration of the second tool is completed, enter the "G25〇T〇3" command in the MDI mode. At this time, the tool length data of the second tool can also be recorded in the machine tool. ' And the third tool is mounted on the main shaft, and the third tool can be corrected for the beauty tool length. The next tool can be calibrated by analogy. The operation process will be described in the following section. Deductive relationship ... Page 9 572807 V. Description of the invention (7) This preferred embodiment starts with the first tool and enters the "T01M6Π" command, as described above. Long, therefore, (when the tool is to be corrected from the Nth position, the tool will be lowered to the Z axis, and the tool reaches the corrector (20) of the corrector (20) 7), which is corrected. The basic tool length is τ 2 in mm mode. After this command is entered, the " G25 0 " in the command will execute the :: No. 9018 program, and " Τ2 " represents the next Correction; = two tools (described below), the content of the program is as follows: 0901 8 ~ ______ ^ # 513 = # 412 0 _________—— program number # 517 = # 20 —_______, ----- (15) # 515 = # 5023 —______------ (16) ----- (17, # [# 513 + # 512 + 2000] = # 515 ___________ G91G28Z0 —One one (18) M5… one (19) IF [# 517EQ # 〇] GOT010 ________ ; T # 517M6 ______ (21) N10M99 — (22) (23) Here In the program, formula (2 1) is a conditional formula. When this program starts to run, formula (15) substitutes variable # 4120 into variable # 513. As can be seen from Table 3, the variable # 4120 is a previously read job. And the function, that is, the first tool introduced by the "T01M6" instruction, so the variable # 513 is on behalf of 矣 楚 _ 加 刀 湛 口 老 & Gan 7 Shicong ,,, 'The first tool in the table says, Its value is 1. Equation (16) will enter the variable # 517. As can be seen from Table 4, variable # 20 is an argument:

572807 五、發明說明(8) T於巨集程式内之變數號,使得共通變數#517成為引數丁位 址後面所加入之引數值。式(17)係設定#515為變數#5〇23 之值,由表五可知,變數#5023為Z軸之機械座標值,亦即 為該第一把刀具於所校正之處之座標值(即刀長數據),記 錄於 #515 中。式(18)為:#[#513 + #512 + 2〇〇〇]=#515,乃將 校正後之z轴座標值代入等號左邊之變數 #[#513 + #51 2 + 20 00 ]中,由於變數#513係為第一把刀具, 其值為1,變數#512係設定為16(由式(13)),故等號^邊572807 V. Description of the invention (8) The variable number of T in the macro program makes the common variable # 517 the argument value added after the argument address. Equation (17) is to set # 515 to the value of variable # 5〇23. As can be seen from Table 5, variable # 5023 is the mechanical coordinate value of the Z axis, which is the coordinate value of the first tool at the corrected position ( (The tool length data), recorded in # 515. Equation (18) is: # [# 513 + # 512 + 2〇〇〇] = # 515, which is to substitute the corrected z-axis coordinate value into the variable to the left of the equal sign # [# 513 + # 51 2 + 20 00] In the variable # 513 is the first tool, its value is 1, and the variable # 512 is set to 16 (by formula (13)), so the equal sign ^ side

即形成變數#201 7,而將該第一把刀具所校正之2軸座桿值 代入該變數#2017内。That is, the variable # 201 7 is formed, and the value of the 2-axis seat rod corrected by the first tool is substituted into the variable # 2017.

於此處須加以說明的是,由表六可知,變數號 #200卜#2000 + 11(所使用之變數為#2〇〇〇〜#25^5^之間$為工具 補正之變數號碼範圍,其變數可從#2〇〇〇開始使用,所使、 用之變數號可以讀取工具資料,或將值代入工具資料。式 (18)中列入一可變數:"#512 + 2〇〇〇",乃係使其值形成" 2〇16,其用意乃因為本實施例所應用之工具機之刀具數為 16把,而該可變數乃係使變數#20 0卜#2016等16個變數先 空出來,留待後述之步驟使用,令校正基本刀長之刀具之 刀長數據自變數#201 6以後(即#20 17)開始記錄。 /、 由是,式(18)為將第一把刀具之基本刀長校正數值 圯錄於·第十七個刀長補正位址中。此第十七 ’ 址即為對應該第一把刀具。 我補正位 上述所校正之刀具長度,係為對校正器所校正而得二 基本刀長,並非校正於工件時之真正刀長,故發明人乃^What needs to be explained here is that according to Table 6, it can be seen that the variable number # 200 卜 # 2000 + 11 (the variable used is between # 2〇〇〇 ~ # 25 ^ 5 ^ $ is the variable number range of the tool correction , Its variable can be used from # 2〇〇〇, the variable number used can read the tool data, or substitute the value into the tool data. In the formula (18) a variable is included: "# 512 + 2 〇〇〇 " is to make its value " 2〇16, which is because the number of tools of the machine tool applied in this embodiment is 16, and the variable number is the variable # 20 0 卜 # The 16 variables such as 2016 are vacated first, and are reserved for the following steps, so that the tool length data of the tool for correcting the basic tool length will be recorded after variable # 201 6 (that is, # 20 17). /, Therefore, formula (18) In order to record the basic tool length correction value of the first tool in the seventeenth tool length correction address. This seventeenth address is corresponding to the first tool. I am correcting the tool corrected above The length is two basic tool lengths obtained by correcting the corrector. It is not the actual tool length when correcting to the workpiece, so the inventor is ^

572807 五、發明1說明(9) :" --:- 將此基本刀長記錄於第一個刀長補正位址。 於切削中心機内具有二倍於刀具數目之z轴座標記錄 表’彳/、Z錄刀具之Z軸座標。本較佳實施例之工具機所使 用,刀具數為16把,該工具機内即有32個刀長補正位址, 其第一組刀具庫為第一個至第十六個刀長補正位址;而第 二組刀具庫為第十七個至第三十二個刀長補正位址。式 (18)所列之可變數:#512 + 2〇〇〇,乃係使所得之刀具校正 數值記錄於第二組刀具庫中。 表六之工具補正變數號,於變數號之下3位數係對應 於工具補正號,故式(18)所得之變數#201 7中之,,017,,即為 代表第十七個刀長補正位址,故第一把刀具之基本刀長校 正座彳示值即自動記錄於第十七個刀長補正位址内。 式(1 9 )係使主轴上昇至歸零處。式(2〇 )係使主轴停止轉 動。式(2 1 )所列之條件式,係指若不再繼續校正下一把刀 具,則程式流程會分歧至式(2 3 )。由於所輸入之指令 ” G250T2"中,"Τ”所導入之引數值為2,此引數值即為代入 變數#517中(式(16))之值,其不等於〇,故不符合式(21) 條件式,程式接下去執行式(22)。由於所輸入之引數值式 為2,故式(2 2)即形成τ 2 Μ 6之意,使該工具機取下第一把 刀具,將第二把刀具裝於主軸。由是可知,” ΤΝ,,中之"Ν,,, 係代表欲校正第Ν把刀具之意。 當第二把刀具裝設完成後,同樣於RAPID &HANDLE模 式下驅動主軸,以校正第二把刀具之基本刀長,俟刀長校 正完成後,於MDI模式下輸入指令” G25〇T3",此程式即再572807 V. Description of Invention 1 (9): "-:-Record this basic tool length at the first tool length correction address. In the cutting center machine, there is a z-axis coordinate record table which is twice the number of tools. 彳 /, Z records the Z-axis coordinates of the tools. The number of tools used in the preferred embodiment of the machine tool is 16, and there are 32 tool length correction addresses in the machine tool. The first set of tool magazines is the first to sixteenth tool length correction addresses. ; And the second group of tool magazines is the seventeenth to thirty-second tool length correction addresses. The variable number listed in formula (18): # 512 + 2000, is to make the obtained tool correction value recorded in the second group of tool magazines. The tool correction variable number in Table 6, the three digits below the variable number correspond to the tool correction number, so the variable # 201 7 obtained by formula (18), where, 017, represents the seventeenth knife length Correct the address, so the basic tool length correction seat of the first tool is automatically recorded in the seventeenth tool length correction address. Equation (1 9) raises the spindle to zero. Equation (20) makes the spindle stop rotating. The conditional expression listed in equation (2 1) means that if the next tool is no longer calibrated, the program flow will diverge to equation (2 3). Since the input value of the instruction "G250T2" and "quote" is 2, the value of this parameter is the value substituted into the variable # 517 (formula (16)), which is not equal to 0, so it does not meet the formula. (21) Conditional expression, the program then executes expression (22). Since the inputted numerical formula is 2, the formula (2 2) has the meaning of τ 2 Μ 6, so that the machine tool removes the first tool and installs the second tool on the spindle. It can be seen that "TN ,, Zhongzhi " N ,," represents the intention to correct the Nth tool. When the second tool is installed, the spindle is driven in the RAPID & HANDLE mode to correct the same. After the basic tool length of the second tool has been adjusted, enter the command "G25〇T3" in MDI mode, and the program will start again.

第12頁 572807 五、發明說明αο) 次從式(15)執行,此時,#513為代表第二把刀具(由先前 式(22)所導入),其值為2;式(16)之#517即為引數值3; 式(17)則為將第二把刀具所校正之基本刀長之座標值代入 於變數#51 5;式(18)中,等號左邊係形成變數#20 18,故 該刀具之刀長座標值係代入於變數# 2 〇 1 8,該座標值即記 錄於第二組刀具庫中之第十八個刀長補正位址;式(丨g )與 式(20)同樣為主軸歸零及主軸停止轉動;式(21)之條件式 仍不符合,故繼續式(22),其内容則為Τ3Μ6,用以將刀具 更換第三把刀具。 八 繼續此一作業方式,可校正其餘刀具之基本刀長,如 此可將所有刀具均校正完畢。 ’ 本發明可依序的校正所有刀具之基本刀長;惟於實際 作業上,通常待加工之工件只須使用到若干刀具,如此/ 於校正刀長時,亦可僅校正須使用到之刀具,而不用校正 全部刀具,只須於指令"G250TN,,中,將須使用到之第 刀具代入指令即可。 待校正到最後一支刀具時,即不必再換刀,故所輸入 係為"G25〇",則引數值為"空"(nuin,程式執行 = (21)時,條件式即成立’故程式分歧至式(23),回到主 私式,停止基本刀長校正之作業^ ^本較佳實施例係校正所有16支刀具,該等刀具所校正 2 =數據分別記錄於第二組刀具庫内,如第四圖所示复 J據分別以U〜L16代表。藉此,所有刀具均有一基本數、Page 12 572807 V. Description of the invention αο) From the formula (15), at this time, # 513 represents the second tool (imported from the previous formula (22)), and its value is 2; of formula (16) # 517 is the index value 3; Equation (17) is the coordinate value of the basic tool length corrected by the second tool in the variable # 51 5; In Equation (18), the left side of the equal sign forms the variable # 20 18 Therefore, the tool length coordinate value of the tool is substituted into the variable # 2 08. The coordinate value is recorded in the eighteenth tool length correction address in the second set of tool library; formula (丨 g) and formula ( 20) It is also the spindle return to zero and the spindle stops rotating; the conditional expression of formula (21) still does not meet, so continue formula (22), and its content is T3M6, which is used to replace the third tool. 8. Continue this operation method to adjust the basic length of the remaining tools, so that all the tools can be corrected. '' The present invention can sequentially correct the basic tool length of all tools; however, in practice, usually only a few tools are required for the workpiece to be processed, so when correcting the tool length, it is also possible to correct only the tools that are used Instead of calibrating all the tools, just insert the required tool in the command "G250TN," into the command. When the last tool is calibrated, there is no need to change tools, so the input is " G25〇 ", then the quote value is " empty " (nuin, program execution = (21), the conditional expression is Establish 'So the program diverges to equation (23), returns to the master-private mode, and stops the operation of basic tool length correction ^ ^ This preferred embodiment corrects all 16 tools, and these tools are corrected 2 = data are recorded in the first In the two sets of tool magazines, as shown in the fourth figure, the complex data is represented by U ~ L16. By this, all tools have a basic number,

第13頁 572807 五、發明說明(11) 當所有之刀具(或須使用之刀具)均取得一比較基準 後,即可校正刀具之真正刀長。操作者可選擇任一把刀 具,來作為真正刀長之校正,本實施例同樣以第一把刀具 為說明: "同樣係輸入"T1M6"指令,使第一把刀具裝設於主軸 上,復將待加工之工件置於工件檯,降低主轴,於刀具 (1 0 )到達工件(3 0)之南度後,如第五圖假想線所示,即為 该刀具之加工"真正刀長,其行程為S1。復於μ d I模式下 輸入"G255"指令,其會呼叫No· 901 9程式,其程式内容如 下:Page 13 572807 V. Description of the invention (11) After all tools (or tools to be used) have obtained a comparison benchmark, the true tool length of the tool can be corrected. The operator can choose any tool as the correction of the actual tool length. In this embodiment, the first tool is also used as an explanation: " The same command is entered " T1M6 ", so that the first tool is installed on the spindle. Put the workpiece to be processed on the workpiece table, lower the spindle, and after the tool (1 0) reaches the south of the workpiece (30), as shown in the fifth imaginary line, it is the processing of the tool. The length of the knife is S1. In the μ d I mode, enter the "G255" command, it will call No. 901 9 program, and the program content is as follows:

09019 -____ #513=#4120 —— 一程式編號 ^ 〇 A \ #514=#5023 —- V Z4 ; / o c \ #[#513+2000]=#514 —. \ ^ 3 y / O O N #515=#[#513+#512+2000] #516=#515-#514 _ - Kil ) G91G28Z0 - - ) M5 — - v ^ y ; / ο η Λ # 1 一 1 V 〇 U ; 7Γ J. X ~ - WHILEi #1LE#5121D01 - - C〇l; VT 11 X ±J U ^ ΤΓ Λ JLJ LJ IT KJ ± U J \J X — IF「#1EO#5131GOT010 --- K〇 ^ ) C 0 0 \ #[ 20 0 0 + #l]-#[#5 1 2 + 2000 + #l]-#516 - Ml flifl ~itl 4-1 一 _ K〇〇 ) ------(34) END1 ----- C J b ) ------(36) 第14頁 572807 五、發明說明(12) M99 ----------(37) 式(24)係使刀具之號碼代入變數#513,為第一把刀 具。式(25)為將此真正刀長之Z軸座標值代入變數#514。09019 -____ # 513 = # 4120 —— a program number ^ 〇A \ # 514 = # 5023 —- V Z4; / oc \ # [# 513 + 2000] = # 514 —. \ ^ 3 y / OON # 515 = # [# 513 + # 512 + 2000] # 516 = # 515- # 514 _-Kil) G91G28Z0--) M5 —-v ^ y; / ο η Λ # 1-1 V 〇U; 7Γ J. X ~-WHILEi # 1LE # 5121D01--C〇l; VT 11 X ± JU ^ Γ Λ JLJ LJ IT KJ ± UJ \ JX — IF 「# 1EO # 5131GOT010 --- K〇 ^) C 0 0 \ # [20 0 0 + #l]-# [# 5 1 2 + 2000 + #l]-# 516-Ml flifl ~ itl 4-1 a_ K〇〇) ------ (34) END1 ---- -CJ b) ------ (36) Page 14 572807 V. Description of the invention (12) M99 ---------- (37) Formula (24) is to substitute the number of the tool into the variable # 513 is the first tool. Equation (25) is to substitute the Z-axis coordinate value of the real tool length into the variable # 514.

式(26)中,等號左邊形成變數#200 1,為第一組刀具庫中 之第一個刀長補正位址,故該第一把刀具之真正刀長數據 即代入於該第一個刀長補正位址中。式(2 7 )係使第十七個 刀長補正位址,變數#2017之值代入變數#515。式(28)係 將第十七個刀長補正位址所記錄之第一把刀具之基本刀長 之值--變數#515,減去第一把刀具之真正刀長之值變數 #514,即L1減S1,並將此相差值代入變數中。式(29) 係提刀;式(30)為使主軸停止轉動。 上述之L1減S1之值,係第一把刀具之基本刀長與真正 刀長之相差值,為基本刀長之校正高度,與工件表面之高 度差,該相差值係為一常數,由於每一把刀具之基本刀長 均已經校正,以供作為一比較之基準,因此,對於該16支 刀具而言,其基本刀長之校正高度與工件表面之高度差, 亦均為該常數,將該常數代入其餘刀具後,與其基本刀長 相加減,即可得到其餘刀具之真正刀長。In formula (26), the variable # 200 1 is formed to the left of the equal sign, which is the first tool length correction address in the first group of tool magazines, so the real tool length data of the first tool is substituted into the first one. Tool length correction address. Equation (2 7) is the seventeenth knife length correction address, and the value of variable # 2017 is substituted into variable # 515. Equation (28) is the value of the basic tool length of the first tool recorded in the seventeenth tool length correction address-variable # 515, minus the variable # 514 of the true tool length of the first tool, That is, L1 minus S1, and this phase difference value is substituted into the variable. Equation (29) is a lifting knife; equation (30) is to stop the spindle. The above-mentioned value of L1 minus S1 is the difference between the basic tool length of the first tool and the true tool length, which is the corrected height of the basic tool length and the height difference from the surface of the workpiece. The difference is a constant value. The basic length of a tool has been corrected to serve as a basis for comparison. Therefore, for the 16 tools, the difference between the corrected height of the basic length and the height of the workpiece surface is also the constant. After the constant is substituted into the remaining tools, the basic tool length is added and subtracted to obtain the true tool length of the remaining tools.

式(31)係設定變數#1之值為.1 ;式(32)所列之條件式 中,該變數#1之值小於#51 2之值(即式(13)所設定之值·· =),,故符合件式,程式於式(32)與式(36)間之迴圈中反 =執行。於式(33)中,變數#1之值與變數#513之值相等, ^二。為1,故程式分歧至式(35),使變數#丨之值加丨,成為, &式復回到式(32)執行,變數# 1之值仍小於#51 2,故Formula (31) sets the value of variable # 1 to .1; In the conditional formulae listed in formula (32), the value of variable # 1 is less than the value of # 51 2 (that is, the value set by formula (13) ... =), So it conforms to the piece form, and the program in the loop between formula (32) and (36) is reversed = executed. In equation (33), the value of variable # 1 is equal to the value of variable # 513, ^ 2. Is 1, the program diverges to equation (35), adds the value of the variable # 丨 to become, & returns to the execution of equation (32), the value of the variable # 1 is still less than # 51 2, so

第15頁 572807 五、發明說明(13) 繼續執行式(33),於式(33)中,變數#1之值已與變數#51 3 不相當,故程式往下執行式(34),變數#1之值代入式(34) 後,式(34)即成:#2002 = # 2018-#516,變數 #2018 係對應 於第"一把刀具,為第一把刀具之基本刀長數據,與變數 #516之常數值相加減後,即為第二把刀具之真正刀長,而 此真正刀長之數據即自動記錄於第二個刀長補正位址變 數#2002中。 式(35)再使變數#1之值加1,成為3,程式又再回到式 (32),執行式(32)與式(33),俟執行到式(34)後,·式(34) 係成·· #2003 = #2019-#516,可得第三把刀具之真正刀長, 並記錄於第三個刀長補正位址-變數#2〇〇3中。 ’ 程式流程將如此反覆執行,而可依序求得各把刀具之 真正刀長數值,並分別δ己錄於號數相同之各個刀長補正位 址中。 當第1 6把刀具之真正刀長值亦取得後,式(3 5 )會使得 變數#1之值成為17,此時,程式再返回執行式(32)時己 與式(32)之條件不合(#1之值大於#51 2之值),故程式流程 係分歧至式(3 7 ),回到主程式。此.時,第一刀具庫之第一 個刀長補正位址至第十六個刀長補正位址即已分別記錄該 1 6支刀具之真正刀長數據,可進行加工工件之作業。、μ 操作者無論以任何一把刀具校正真正之刀長後 獲得相同結果,使第一刀具庫内之刀長補正位址記所: 刀具之真正刀長。蓋,依上揭程式,無論選擇那一^刀 具,於校得真正刀長後,即可得該把刀具之真正刀長與美 572807 五、發明說明(14) 本刀長冬相差值 均為相同,且經由不論以那-把刀具來校正, 真正校正之刀具d::長補正位址内。再者,由於 據,於式(33),即可 址内己有其真正刀長之數 不執行式(34))·。 冉冲斤真正刀長(亦即 本發明只須操作者經過簡單之摔作牛 有刀具對於待加工工件作步驟,即可取得所 量精確無誤。 负歎值,以使刀具之進刀 惟右操作者一時忘記校正基本 步驟盥指今瞎* . „ ^ , 个7长及具正刀長之操作 ^ I本系、洗亦提供有操作步驟說明(help)之# 月匕,輔助刼作者進行操作。 々力 操作者只須於MDI模式下輸入""指令 尸會執行G模組中之Ν〇·9013程式程式内容如下’’、、、 09013 ' #520 = #! 程式編號 (38) ----(39) · -(40) 一一---(41) -----(42) 一——-(43) 一 (44) IF[#520EQ250]GOT050 IF[#520EQ255]GOTO60 N50M00 (G250-BASIC-TOOL-LENGTH) (1·MDI-TN-M6) (2.HANDLE-FIND-Z-TO-TABLE)Page 15 572807 V. Description of the invention (13) Continue to execute formula (33). In formula (33), the value of variable # 1 is not equivalent to variable # 51 3, so the program executes formula (34) and variable down. After the value of # 1 is substituted into equation (34), equation (34) becomes: # 2002 = # 2018- # 516, the variable # 2018 corresponds to the first tool and is the basic length data of the first tool After adding and subtracting the constant value of the variable # 516, it is the real tool length of the second tool, and the data of the real tool length is automatically recorded in the second tool length correction address variable # 2002. Equation (35) then adds 1 to the value of variable # 1 to become 3, and the program returns to Equation (32), executes Equation (32) and Equation (33), and executes Equation (34). 34) The system is # 2003 = # 2019- # 516, the real tool length of the third tool can be obtained and recorded in the third tool length correction address-variable # 2〇03. ’The program flow will be executed repeatedly in this way, and the true tool length value of each tool can be obtained in order, and δ has been recorded in each tool length correction address with the same number. When the true length of the 16th tool is also obtained, equation (3 5) will make the value of variable # 1 become 17. At this time, the program returns to the condition of equation (32) when executing equation (32). Disagreement (the value of # 1 is greater than the value of # 51 2), so the program flow branches to the formula (3 7) and returns to the main program. At this time, the first tool length correction address to the sixteenth tool length correction address of the first tool magazine have already recorded the true tool length data of the 16 tools, which can be used to process the workpiece. , Μ The operator obtains the same result after correcting the true tool length with any tool, so that the tool length correction address in the first tool magazine: the true tool length of the tool. Cover, according to the opening program, no matter which ^ tool is selected, after the true knife length is obtained, you can get the true knife length of the knife and the United States 572807 V. Description of the invention (14) The difference between the long winter knife is the same And, the tool d :: long correction is actually corrected in the d :: long correction address regardless of which tool is used for correction. Furthermore, according to the data, in equation (33), that is, the number of the real knife length in the site already does not execute equation (34)). Ran Chongjin's true knife length (that is, the present invention only requires the operator to perform a step on the workpiece to be processed through a simple tossing of a knife to obtain a correct amount of accuracy. The operator forgot to correct the basic steps for a while. * „^, A 7-length operation with a positive knife length ^ I This department, washing also provides #Help Dagger for operation steps (help), assisting the author to carry out The operator only needs to input the "quote" command in the MDI mode to execute the No. 9013 program in the G module. The program content is as follows, '', 09013 '# 520 = #! Program number (38 ) ---- (39) ·-(40) one one --- (41) ----- (42) one --- (43) one (44) IF [# 520EQ250] GOT050 IF [# 520EQ255 ] GOTO60 N50M00 (G250-BASIC-TOOL-LENGTH) (1 · MDI-TN-M6) (2.HANDLE-FIND-Z-TO-TABLE)

572807 s(45) s(46) 〜s(47) 〜〜〜(48) 〜〜〜(49) 〜(5〇) s(5i) 一〜〜(52) s(53) 〜—(54)572807 s (45) s (46) ~ s (47) ~~~ (48) ~~~ (49) ~ (5〇) s (5i) one ~~ (52) s (53) ~-(54)

五、發明說明(15) (3·MDI-G250-TN) (4·HANDLE-FIND-Z-T0-TABLE) (5.MDI-G250-TN) (END-MDI-G250)V. Description of the Invention (15) (3 · MDI-G250-TN) (4 · HANDLE-FIND-Z-T0-TABLE) (5.MDI-G250-TN) (END-MDI-G250)

GOTOIOO N60M00 (G255-ALL-TOOL-TRUE-LENGTH) (1· _ -TN-M6) (2·HANDLE-FIND-Z-TO-PART) (3.MDI-G255)GOTOIOO N60M00 (G255-ALL-TOOL-TRUE-LENGTH) (1 · _ -TN-M6) (2 · HANDLE-FIND-Z-TO-PART) (3.MDI-G255)

GOTOIOO N70M00 (M200-RESET-ALL-DATA) N100M99 _________^ 該指令列中,"G168"係指執行牝.9〇13程式,而u(56 則指找尋使用π G250f’指令之操作步驟之指令,其中: π A”係為巨集程式呼叫指令之引數位址,由表四可知μ 引數位址Α所對照之變數為#丨。GOTOIOO N70M00 (M200-RESET-ALL-DATA) N100M99 _________ ^ In the command line, " G168 " refers to the execution of the 牝 .09〇13 program, and u (56 refers to the instruction to find the operation steps using the π G250f 'instruction , Where: “π A” is the argument address of the macro program call instruction. It can be seen from Table 4 that the argument of μ argument address A is # 丨.

上揭程式中,式(38)係定義變數#52〇等於#1, 引數位址A所代表之值:25〇。此時,變數#52〇即符人 (39)之條件式,且經由式(39)之指令格式,使 歧至程◎之順序號1G,%執行式(41)。 執灯式(41)後,係將式(42)至式(48)之内容顯示於二In the program, equation (38) defines that the variable # 52〇 is equal to # 1, and the value represented by the argument address A is: 25. At this time, the variable # 52〇 is in accordance with the conditional expression of the person (39), and through the instruction format of the expression (39), the sequence number 1G of the difference ◎ is executed, and the expression (41) is executed. After the lamp type (41), the contents of formulas (42) to (48) are displayed on the second

第18頁 572807 五、發明說明(16) 具機之螢幕上。式(42)之意思為·· G250指令係用以校正刀 具之基本刀長;式(43)為:於MDI模式下,輸入TNM6指令; 式(44)為:手動校正刀具之z軸長度;式(45)為:於〇ι模 式下輸入G250TN指令;式(46)及式(47)與式(44)、式(45) 相同;式(48)為:於校正完最後一支刀具後,於〇ι模式 下輸入G250指令,以結束程式。式(49)則使程式分歧至式 (56), 回到主程式。 士 ,樣的,操作者於MDI模式下輸入"G168A255丨丨指令,Page 18 572807 V. Description of the invention (16) On the screen of the machine. The meaning of equation (42) is that the G250 command is used to correct the basic tool length of the tool; equation (43) is: in the MDI mode, enter the TNM6 command; equation (44) is: manually correct the z-axis length of the tool; Equation (45) is: Enter the G250TN command in 〇ι mode; Equations (46) and (47) are the same as Equations (44) and (45); Equation (48) is: After the last tool is calibrated , Enter G250 command in 〇ι mode to end the program. Equation (49) diverges the equation to equation (56) and returns to the main equation. In the MDI mode, the operator inputs the "G168A255 丨" instruction,

時,系統即會執行該No· 9013程式,其符合式(40)之條件 使程式分歧至式(50),令式(51)〜(54)顯示於螢幕上,供 操作者瞭解校正真正刀長時之操作步驟及指令。 。於权正刀長之過程中,當有異常狀況發生,如斷電, =操作者因接電話、或被其他事件***,而混淆操作步驟 =,可再重新進行量測,於MDI模式下,重行輸入"M200” 曰7,即可於該工具機上,重新設定本系統之起始參數 俾從頭校正刀長。 ’At that time, the system will execute the No. 9013 program, which meets the conditions of formula (40) and diverges the program to formula (50), so that formulas (51) to (54) are displayed on the screen for the operator to understand the true tool calibration Long-term operation steps and instructions. . During the process of the right knife, when an abnormal situation occurs, such as power failure, = the operator confuses the operation steps due to a phone call, or was inserted by other events =, the measurement can be performed again. In the MDI mode, Re-enter " M200 ", say 7, you can reset the initial parameters of this system on this machine and correct the cutter length from the beginning.

本發明係利用切削中心機所原有之局部變數、共通變數及 系統變數,經過數學運算模式,加上對切削中心機之巨集 =式之設計,執行循環邏輯運算,藉以求得刀具欲加工工 件時之基本刀長,並直接記錄於工具機内。 基此,本發明具有下述功效: 一、、在求取刀具之刀長數據時,所有數值之運算係直 由程式所執行,並自動記錄於工具機之變數内,故本發 月完全排除任何人為的計算、抄寫、輸入數值等過程,不The invention uses the original local variables, common variables and system variables of the cutting center machine, performs mathematical operation mode, and adds the design of the macro = type of the cutting center machine to execute the cycle logic operation to obtain the tool to be processed. The basic tool length at the time of the workpiece is recorded directly in the machine. Based on this, the present invention has the following effects: 1. When calculating the tool length data of the tool, the calculation of all numerical values is directly performed by the program and automatically recorded in the variables of the machine tool, so this month is completely excluded Any artificial calculation, transcription, input of numerical values, etc.

第19.頁 572807Page 19.572807

會有人 正所須 校正其 獲得其 令,即 三 四 巧,無 五 新校正 真正刀 正° 為說·差之發生。 、本發明於求取刀長數值時,操作者只須 之刀具之基本刀長,及輸人適當指令,之後‘ 中一把刀具之真正刀長,輸入指令後## 餘刀具之真正刀長,換言之,僅須簡單的作 可馬上獲得刀長數值,操作快速、便利。〃 曰 、本發明利用程式計算數據,可求得精確之數值。 、應用本發明時,其操作過程簡便,無須高深技 論生手或熟手,均容易操作。Some people need to correct them to get their orders, that is, three or four, and no five new corrections. The true knife is positive. When the present invention obtains the cutter length value, the operator only needs the basic cutter length of the cutter, and enters an appropriate command, and then the actual cutter length of one of the cutters is entered. After the command is entered, ## the actual cutter length of the cutter In other words, only a simple operation can get the cutter length value immediately, and the operation is fast and convenient. 〃 Said that the present invention uses a program to calculate data to obtain accurate values. When applying the present invention, the operation process is simple, and no advanced or no-skilled expert is required, and it is easy to operate.

、當變換加工其他工件時,只須再以其中一刀具重 真正刀長,即可經由本發明而使其他刀具亦均獲得 長數據,可快速獲得刀長資料,無須再一支支校 須補充說明的是,本較佳實施例所揭露之程式並非用 以限制本發明,而係用以說明。舉凡依據本發明之技術思 想,所編寫出不同内容之程式來達成本發明之技術内容、 目的及作用時,均應視為本發明之範圍。When changing and processing other workpieces, only one of the tools is needed to re-emerge the actual tool length, and other tools can also obtain long data through the present invention, and the tool length information can be obtained quickly, without the need for another branch school to supplement It is noted that the program disclosed in the preferred embodiment is not intended to limit the present invention, but is used for explanation. For example, according to the technical ideas of the present invention, the programs written with different contents to achieve the technical contents, purposes and functions of the invention shall be regarded as the scope of the present invention.

例如,本程式應用於不同之工具機時,可根據工具機 所使用之刀具數量,將該變數#512設定成不同之刀具數, 則該可變數” #5 1 2 + 20 0 0”即變成不同數值,而會形成不同 之變數。而在本實施例中,該工具機之刀具數係固定為1 6 把,故式(18)、式(27)及式(·34)之可變數” #5 1 2 + 20 0 0”,即 可以"201 6Π取代,可得相同之結果。 而巨集程式之指令碼可自設成不同之G或Μ模組指令,For example, when this program is applied to different machine tools, the variable # 512 can be set to a different number of tools according to the number of tools used by the machine tool, and the variable number "# 5 1 2 + 20 0 0" becomes Different values will form different variables. However, in this embodiment, the number of tools of the machine tool is fixed to 16. Therefore, the variable numbers of the formulas (18), (27), and (· 34) are "# 5 1 2 + 20 0 0", That can be replaced by " 201 6Π, and the same result can be obtained. The macro program's script can be set to different G or M module commands.

第20頁 572807 五、發明說明(18) · \ 以作出相同之哞叫。 另,貴審查委員如有需要,申請人玎提供有關本發明 之相片及錄影帶供 貴審查委員參酌。 圖式簡單說明:Page 20 572807 V. Description of the Invention (18) · \ To make the same howl. In addition, if your review committee requires it, the applicant will provide photos and videotape of the present invention for your review committee's reference. Schematic description:

第一圖(A )( B )係僅顯示一種切削中心機之操作面板。 第二圖係本發明一較佳實施例之流程圖。 第三圖係本發明一較佳實施例對刀具校正基本刀長之 示意圖。 第四圖係本發明之較佳實施例於校正完刀具基本長度 之資料示意圖。 第五圖係本發明較佳實施例對刀具校正真刀長之示 意圖。 ’、 、表一係本發明較佳實施例所應用之切削中心機之G指 令模組可使用之巨集程式編號。The first picture (A) (B) shows only the operation panel of a cutting center machine. The second figure is a flowchart of a preferred embodiment of the present invention. The third figure is a schematic diagram of correcting a basic tool length of a tool according to a preferred embodiment of the present invention. The fourth figure is a schematic diagram of the data of the preferred embodiment of the present invention after the basic length of the tool is corrected. The fifth figure is a schematic diagram of a tool for correcting true tool length according to a preferred embodiment of the present invention. ′,, And Table 1 are macro program numbers that can be used by the G instruction module of the cutting center machine applied in the preferred embodiment of the present invention.

表一係本發明較佳實施例所應用之切削中心機之Μ指 々模組可使用之巨集程式編號。 表三係本發明較佳實施例所應用之機之其它 模組之變數號碼表。 ⑴τ 隹护Ϊ :為係本發明較佳實施例所應用之切削中心機之巨 本耘式中之引數位址與變數之對照表。 表五係本發明較&實施例所應用之切削中心機之位置Table 1 is the macro program number that the M of the cutting center machine used in the preferred embodiment of the present invention can use. Table 3 is a variable number list of other modules of the machine applied in the preferred embodiment of the present invention. ⑴τ 隹 Protection: It is a comparison table of the argument address and the variable in the giant cutting machine used in the preferred embodiment of the present invention. Table 5 shows the position of the cutting center machine used in the present invention compared with the & embodiment.

第21頁 572807 五、發明說明(19) 資料之變數號碼表。 。 表六係本發明較佳實施例所應用之切削中心機之工具 補正之變數號碼範圍表。 表七係本發明較佳實施例之程式。 圖號簡單說明: 工件(30) 刀具(10) 校正器(20)Page 21 572807 V. Description of the invention (19) Variable number table of information. . Table 6 is a table of variable number ranges for tool correction of the cutting center machine applied in the preferred embodiment of the present invention. Table 7 is the program of the preferred embodiment of the present invention. Brief description of drawing number: Workpiece (30) Tool (10) Corrector (20)

第22頁Page 22

Claims (1)

572807 六、申請專利範圍 ^ 1 · 一種切削中心機之刀長補正校正系統,該量測系統 係包含一系統程式,裝置於一切削中心機内,該系統程式 係包括若干巨集程式,可供設定、記錄、執行及運算切削 中心機内之參數(變數);該量測系統係包括下列流程: 一、 設定系統程式之起啟參數; 二、 選擇一基準點,驅動切削中心機主軸之z軸,校 ^若干刀具相對於該基準點之基本刀長,並使系統程式將 該等基本刀長之數值記錄於刀長補正位址中; 二三、選擇步驟二之其中一刀具,以切削中心機主軸之 軸杈正該刀具相對於待加工工件之真正刀長,並由系統 程式將該真正刀長之數值記錄於刀長補正位址中; 四、 由該系統程式計算步驟三中所選之刀具之直 長與基本刀長之相差值; 五、 由系統程式將該相差值代入其餘之刀具之刀 正位址,藉以計算得出該等其餘刀具之真正刀長數據 兄錄於刀長補正位址内,· ’ 藉此,可快速的求得刀具距離待加工工件之真正 長,且該等刀長數值並自動記錄於切削中心機中。 2·如申請專利範圍第丨項所述之量測系統,其中·牛 ,-所述之設u統程式之起啟參數,於系統執^ 或於系統程式執行中,均可重新設定。 執仃則 3.如申請專利範圍第!項所述之量測系統,其中 :統程式另包含有:一操作說明 進: 1測系統之操作步驟。 丁進仃該572807 VI. Scope of patent application ^ 1 · A tool length correction and correction system for a cutting center machine. The measurement system includes a system program installed in a cutting center machine. The system program includes several macro programs for setting. Record, execute, and calculate the parameters (variables) in the cutting center machine. The measurement system includes the following processes: 1. Setting the starting parameters of the system program; 2. Selecting a reference point to drive the z axis of the spindle of the cutting center machine. Calibrate the basic tool lengths of several tools relative to the reference point, and make the system program record the values of these basic tool lengths in the tool length correction address. Two or three, select one of the tools in step two to use the cutting center machine. The axis of the spindle is the true tool length of the tool relative to the workpiece to be processed, and the value of the true tool length is recorded in the tool length correction address by the system program; 4. The system program calculates the selected one in step three The difference between the straight length of the tool and the basic tool length; 5. The system program will calculate the difference into the positive knife address of the rest of the tools to calculate it. Wait for the true tool length data of the remaining tools to be recorded in the tool length correction address, so that you can quickly find the true length of the tool from the workpiece to be processed, and these tool length values are automatically recorded on the cutting center machine. in. 2. The measurement system as described in item 丨 of the scope of the patent application, in which the parameters of the start-up system program described in Niu,-can be reset during system execution or during system program execution. Enforcement Rule 3. If the scope of patent application is the first! The measurement system described in the above item, in which: the system program also includes: an operation instruction. Enter: 1 operation steps of the measurement system. Ding Jinqiang 第23頁 572807 六、 申請專利範圍 4·如+請專 驟二中,可校 5 ·如申請專 步騾二中,可校 6 ·如申請專 系統程式中有關 數而設定。 7·如申請專 等刀具之基本刀 刀具數目之一組 %錄於等數於刀 利範圍 正切削利範圍 正切削利範圍刀具數 利範圍長數據刀長補具數目 第1項所述之量測系統,其中· 中心機内所有刀具之基本刀長 第1項所述之量測系統,其中· 中心機内部份刀具之基本刀手。 第1項所述之量測系統,1中= 目之變數係隨著切削中心機之刀 \ 第1項所述之量測系統,其中. 該切削中心機内等數二 中’而該等真正刀長數據係 之另一組刀長補正位址中。 於 於Page 23 572807 6. Scope of patent application 4 · If + please go to the second middle school, you can check it 5 · If you want to go to the second middle school, you can check it 6 · If you want to apply for the relevant number in the system program, set it. 7 · If a group of basic knife number of tools for special tools is applied, the percentage is recorded in the range equal to the knife cutting range, the positive cutting cutting range, the positive cutting cutting range, the tool cutting range, and the long cutting data. Measuring system, among which: The basic measuring tool length of all the tools in the center machine is described in item 1. Among them, the basic cutting tool of the internal tool of the center machine. The measurement system described in item 1, 1 = the variable of the head is the measurement system with the cutting center machine \ The measurement system described in item 1, wherein. The tool length data is in another set of tool length correction addresses. In
TW88106417A 1999-04-22 1999-04-22 Calibrating system for correcting tool length in a cutting machine center TW572807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW88106417A TW572807B (en) 1999-04-22 1999-04-22 Calibrating system for correcting tool length in a cutting machine center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW88106417A TW572807B (en) 1999-04-22 1999-04-22 Calibrating system for correcting tool length in a cutting machine center

Publications (1)

Publication Number Publication Date
TW572807B true TW572807B (en) 2004-01-21

Family

ID=32733919

Family Applications (1)

Application Number Title Priority Date Filing Date
TW88106417A TW572807B (en) 1999-04-22 1999-04-22 Calibrating system for correcting tool length in a cutting machine center

Country Status (1)

Country Link
TW (1) TW572807B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI449589B (en) * 2008-12-26 2014-08-21 Foxnum Technology Co Ltd Testing system and method for parameter of cutting tool
CN113448286A (en) * 2020-03-24 2021-09-28 富鼎电子科技(嘉善)有限公司 Method, system, server and storage medium for automatically writing knife length
CN115629569A (en) * 2022-12-23 2023-01-20 赫比(成都)精密塑胶制品有限公司 Machine tool control method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI449589B (en) * 2008-12-26 2014-08-21 Foxnum Technology Co Ltd Testing system and method for parameter of cutting tool
CN113448286A (en) * 2020-03-24 2021-09-28 富鼎电子科技(嘉善)有限公司 Method, system, server and storage medium for automatically writing knife length
CN113448286B (en) * 2020-03-24 2023-05-12 富翔精密工业(昆山)有限公司 Automatic writing method, system, server and storage medium for cutter length
CN115629569A (en) * 2022-12-23 2023-01-20 赫比(成都)精密塑胶制品有限公司 Machine tool control method and system

Similar Documents

Publication Publication Date Title
US11809214B2 (en) Systems for visualizing teeth and treatment planning
EP1061331A2 (en) Vision measuring machine, method and medium
CN106670763B (en) A kind of calculation method of High Precision Automatic kludge
JP6400558B2 (en) Sequence control programming device, sequence control programming method, and work system
JP5045724B2 (en) Device information setting device
TW572807B (en) Calibrating system for correcting tool length in a cutting machine center
KR100918350B1 (en) Program construction assisting device and program execution device
CN111369279B (en) Engineering settlement method, system, device and storage medium based on Revit
CN112454011A (en) Method and device for correcting coordinate offset of workpiece of multi-axis machine tool, computer equipment and medium
TW201520709A (en) Apparatus for supporting the compilation of a sequence program
CN109143979A (en) Processing control method, system, readable storage medium storing program for executing and the equipment of numerical control device
JP5864387B2 (en) Process planning support device, process planning support method and program
JP5141889B2 (en) PLC program development support device
KR101660680B1 (en) System construction assist device, method, and recording medium
CN103530436B (en) Tooling layout drawing parameterization generation method based on AUTOCAD. NET API
US20090327967A1 (en) Engineering tool
EP1724650A1 (en) Sequence program editing apparatus
Dylewski et al. The optimal sequence of production orders, taking into account the cost of delays
JP3613764B2 (en) Program for converting molding conditions in injection molding machines
CN105373074A (en) Steam turbine blade processing method based on molded line adjustment
JP2010176309A (en) Machine tool, and method for presenting operating time of the same
KR101847417B1 (en) Automatic system of wire-cut electro discharge
DE102018215634A1 (en) Machining simulation device
CN103083100A (en) Dental denture processing method and system
KR20130110746A (en) Method for position correcting of tooling ball

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent