TW491742B - Drilling program generator for CNC - Google Patents

Drilling program generator for CNC Download PDF

Info

Publication number
TW491742B
TW491742B TW90100353A TW90100353A TW491742B TW 491742 B TW491742 B TW 491742B TW 90100353 A TW90100353 A TW 90100353A TW 90100353 A TW90100353 A TW 90100353A TW 491742 B TW491742 B TW 491742B
Authority
TW
Taiwan
Prior art keywords
drilling
scope
patent application
program
hole
Prior art date
Application number
TW90100353A
Other languages
Chinese (zh)
Inventor
Ming-Hung Wu
Original Assignee
Ming-Hung Wu
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 Ming-Hung Wu filed Critical Ming-Hung Wu
Priority to TW90100353A priority Critical patent/TW491742B/en
Application granted granted Critical
Publication of TW491742B publication Critical patent/TW491742B/en

Links

Abstract

The present invention relates to a drilling program generator for CNC, and a method for generating CNC drilling program, and a computer readable recording medium for recording the function for the computer executing generating CNC drilling program. According to the present invention, a customer is only required to provide the original program and input the drilling-related data, then a series of complicated layout and computation are completed by the CNC drilling program generator of the present invention, with no need for executing CAD/CAM or PE2, nor manual computation. Thus, the drilling program can have high precision, the efficiency can be greatly improved, and the labor cost is reduced.

Description

491742 經濟部智慧財產局員工消費合作社印製 A7 B7_;_;_五、發明說明(1 ) 發明背景 1 .發明領域 本發明係關於CNC ( Computer Nemeric Control )系統之 程式,詳言之,係關於CNC鑽孔程式產生器,及產生CNC 鑽孔程式之方法,與用於記錄了使電腦執行產生CNC鑽孔 程式之功能之電腦可謂取之記錄媒體。 2 .先前技術說明 目前一般之CNC鑽孔程式,通常需要多道繁瑣之編輯及 計算程序始能完成。如圖1所示,一開始必須取得鑽孔之 原始程式並進入 CAD/CAM ( Computer-Aided Design / Computer - Aided Manufacture ),進行排版及編輯 等之作業,約需耗費數小時之時間。再經由PE2軟體作編 輯及計算,如零點設定、鑽頭轉換、印刷孔、檢測孔、開 槽孔及圓形孔等,均需經由人工計算再键入PE2中,不但 作業時間長,檔案大,嚴重地影響生產線之作業。並且人 為編輯易發生錯誤,必須經過試鑽之作業,確定程式無誤 後始可進行量產。另外,若是對於少量多樣之鑽孔作業, 先前非常繁瑣之作業,卻只能作少量之工作,非常不划 算。 通常電子線路設計者僅提供單片程式給印刷電路板工 廠,工程師必須編輯並計算鑽孔程式,且須在CAD / CAM 及PE2下作業,數小時只能處理數條程式,不僅浪費時間 且人為之計算操作又難免錯誤,需要修正重新計算,工作 效率無法提昇。 -4- 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再491742 A7 B7 printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs _; _; _V. Description of the Invention (1) Background of the Invention 1. Field of the Invention The present invention relates to a program of a CNC (Computer Nemeric Control) system. In particular, it is about A CNC drilling program generator, a method for generating a CNC drilling program, and a computer-readable recording medium for recording a computer that causes a computer to execute the function of generating a CNC drilling program. 2. The previous technical description At present, the general CNC drilling program usually requires many complicated editing and calculation procedures before it can be completed. As shown in Figure 1, at the beginning, the original program for drilling must be obtained and entered into CAD / CAM (Computer-Aided Design / Computer-Aided Manufacture) for typesetting and editing. It takes about several hours. PE2 software is used for editing and calculation, such as zero point setting, drill conversion, printing holes, testing holes, slotted holes and round holes, etc., which need to be manually entered into PE2 through manual calculation. Not only does the operation take a long time, the file is large, and serious Ground affects the operation of the production line. In addition, human editing is prone to errors, and trial drilling must be performed to ensure that the program is correct before mass production can begin. In addition, for a small variety of drilling operations, the previous very tedious work, but only a small amount of work, is very cost-effective. Usually electronic circuit designers only provide single-chip programs to printed circuit board factories. Engineers must edit and calculate drilling programs, and must operate under CAD / CAM and PE2. Only a few programs can be processed for several hours, which is not only a waste of time and human The calculation operation is unavoidable, and it needs to be revised and recalculated, and the work efficiency cannot be improved. -4- This paper size is applicable to China National Standard (CNS) A4 (210 X 297 mm) (Please read the precautions on the back before

訂· :線' 經濟部智慧財產局員工消費合作社印製 491742 A7 _B7_;___ 五、發明說明(2 ) 大量生產前通常需要經過少量多樣之試作,而目前之作 業流程都是以上述之方式來進行,面對高度競爭之需要, 實無法達到高效率且快速之要求,因此,有必要提供一創 新且具進步性的裝置及方法,以克服上述問題。 發明概述 本發明之目的在於提供一 CNC鑽孔程式產生器,依據鑽 孔之原始程式及客戶輸入之鑽孔數據資料,以產生於CNC 機具上執行之鑽孔程式。整個過程僅需數秒即可完成,完 全不必經由CAD/CAM及PE2之作業,亦不須人工之計算。 因此,鑽孔程式之準確度相當高,並且效率可大幅地提 昇,及降低人事成本。 本發明之另一目的在於提供一種產生CNC鑽孔程式之方 法,只要輸入必要之鑽孔原始程式及鑽孔數據資料,即可 完全自動地產生CNC鑽孔程式,以進一步實現自動化之目 標。 本發明之又一目的在於提供一種記錄了使電腦產生CNC 鑽孔程式之功能之程式之電腦可讀取之記錄媒體,使CNC 鑽孔程式產生器得以實現。 對習於此藝之人士而言,本發.明之優點將在下面之較佳 具體實施例說明後將變得更為明確,該較佳具體實施例係 配合圖式之說明敘述。本發明可由其他及不同之具體實施 例實施而其細節亦可修改。因此,較佳具體實施例及圖式 之說明均係作為說明之目的,而非限制本發明。 圖式簡述 -5- 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁)Order ·: Line 'Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 491742 A7 _B7 _; ___ V. Description of Invention (2) Before mass production, a small number of diverse trials are usually required, and the current operation processes are all in the above manner. In the face of the need for high competition, it is impossible to meet the requirements of high efficiency and speed. Therefore, it is necessary to provide an innovative and progressive device and method to overcome the above problems. SUMMARY OF THE INVENTION The object of the present invention is to provide a CNC drilling program generator to generate a drilling program to be executed on a CNC machine according to the original drilling program and the drilling data input by the customer. The whole process can be completed in just a few seconds, without the need for CAD / CAM and PE2 operations, and without manual calculations. Therefore, the accuracy of the drilling program is quite high, and the efficiency can be greatly improved, and the personnel cost can be reduced. Another object of the present invention is to provide a method for generating a CNC drilling program. As long as the necessary drilling original program and drilling data are input, the CNC drilling program can be generated completely automatically to further achieve the goal of automation. Yet another object of the present invention is to provide a computer-readable recording medium that records a program that enables a computer to generate a CNC drilling program function, so that the CNC drilling program generator can be realized. For those who are familiar with this art, the advantages of the present invention will become clearer after the description of the preferred embodiment, which is described in conjunction with the description of the drawings. The invention can be implemented by other and different embodiments and its details can be modified. Therefore, the descriptions of the preferred embodiments and the drawings are for the purpose of illustration, rather than limiting the present invention. Schematic description -5- This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) (Please read the precautions on the back before filling this page)

/42 A7 五、發明說明(3 ) 經濟部智慧財產局員工消費合作社印製 圖1為習用產生CNC鑽孔程式之流程圖; 圖2為本發明CNC鑽孔程式產生器之流程圖;及 圖3為本發明CNC鑽孔程式產生器所顯示之畫面。 發明詳述 圖2為本發明CNC鑽孔程式產生器之流程圖,請配合參 考圖3。客戶必須提供鑽孔之原始程式,並輸入於圖3之原 始程式路徑檔名之攔位a中,本發明之CNC鑽孔程式產生 器中之掃描裝置掃描鑽孔之原始程式,可得到鑽頭之數目 及鑽孔之座標值等資料,並顯示於圖3畫面中之鑽頭數目 之攔位q。客戶亦可指定將完成之CNC鑽孔程式存入轉換 程式路徑檔名之攔位b中。 客戶依照圖3畫面之顯示順序輸入鐵孔數據資料,績孔 數據資料包括輸入使用之象限於欄位c、單片之寬(X ) 於欄位d、單片之高(γ )於攔位e,並決定是否排版 (Y / N )於櫚位f。若有排版則須於攔位g中輸入橫排之片 數、欄位h中輸入橫排間隔之距離、攔位i中輸入直排之片 數及欄位j中輸入直排間隔之距離。另外,可於櫚位k中選 擇電路板為單面或雙面。輸入上述之資料後’該CNC鑽孔 程式產生器則初步地算出實際之·總長寬顯示於欄位1及m, 及裁板之總長寬顯示於攔位η及〇。 依據鑽孔之原始程式,鑽頭之數目(如Τ1、Τ2等)會顯 示於欄位q。鑽針之直徑須輸入在攔位r,若有需要作開槽 孔或圓形孔,則須於個別之鑽頭橫列之欄位s中輸入X或 Y,表示將於X軸方向或Y軸方向開槽孔或圓形孔。並須 -6- 請 先 閱 讀 背 面 之 注 意· 事 項/ 42 A7 V. Explanation of the invention (3) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs Figure 1 is a flowchart of conventional CNC drilling program generation; Figure 2 is a flowchart of CNC drilling program generator of the present invention; 3 is a picture displayed by the CNC drilling program generator of the present invention. Detailed description of the invention Fig. 2 is a flow chart of the CNC drilling program generator of the present invention, please refer to Fig. 3 for cooperation. The customer must provide the original program for drilling and enter it in the block a of the original program path file name in Figure 3. The scanning device in the CNC drilling program generator of the present invention scans the original program for drilling to obtain the drill bit. The data such as the number and the coordinates of the drilled holes are shown in the stop q of the number of drill bits in the screen of FIG. 3. The customer can also specify that the completed CNC drilling program is stored in the stop b of the path name of the conversion program. The customer enters the iron hole data in accordance with the display sequence of the screen in Figure 3. The data of the hole data is limited to the field c, the width of the single piece (X) is in the field d, and the height of the single piece (γ) is in the stop. e, and decide whether or not to typeset (Y / N) at f. If there is typesetting, the number of horizontal rows must be entered in block g, the distance between horizontal rows in field h, the number of vertical rows in block i, and the distance between vertical rows in field j. In addition, the circuit board can be selected as single-sided or double-sided in bit k. After inputting the above information, the CNC drilling program generator initially calculated the actual total length and width displayed in columns 1 and m, and the total length and width of the panel displayed in the stops η and 〇. According to the original drilling program, the number of drill bits (such as T1, T2, etc.) will be displayed in the field q. The diameter of the drill pin must be entered in the stop r. If a slotted hole or a circular hole is required, X or Y must be entered in the column s of the individual drill bit row, indicating that it will be in the X or Y axis direction. Directional slotted or round holes. And -6- Please read the notes and events on the back first

f裝 頁 I 訂 線 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 491742 經濟部智慧財產局員工消費合作社印製 A7 B7 五、發明說明(4 ) 於攔位t*u輪入開槽孔之長度或圓形孔之直徑,此時,鑽 孔心數據資料已輸入完畢,本發明之CNC鑽孔程式產生器 即可依據原始程式及鑽孔之數據資料自動地計算以產生可 於CNC機具上執行之鑽孔程式。 依據原始程式及鑽孔之數據資料,首先,當輸入之使用 象限為1或4時,則呼叫副程式A,執行零點設定(χ軸) 之計算,如式(1 )所列: Q-12.〇〇8-x + 2 + 25.4 (1) 其中Χ為實際總長寬。Q值之固定格式為6位數,且小數 點前保持兩位數否則補0,並且不標示小數點,例如:若 Q值經計算為1.234,則存入格式内容位置内之值應為 0123 40。所謂之「格式内容位置」為在cnc鑽孔程式中q 值應放置之特定的「格式内容位置」。 若輸入之使用象限為2或3時,則呼叫副程式Β,執行零 點設定(Υ軸)之計算,如式(2 )所列: Q= 12.008 -y + 2 + 25.4 ( 2 ) 其中y為實際總長寬。 依據輸入之數據資料,鑽針之直徑以公厘(mm )為單 位’因此’必須轉換為以英叶(.inch )為單位,當實際鐵 頭為一般孔時計算(鑽針直徑/25.4 )並存入「格式内容位 置」中,當實際鑽頭為方形孔或圓形孔時計算 (1.2/25.4)或(3.0/25.4)並存入「格式内容位置」中。 如下式: 為一般孔時,〇[丁]:丁 =鑽針直徑/25.4 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) ·. 491742 經濟部智慧財產局員工消費合作社印製 A7 五、發明說明( 為方形孔時,C[T]:1 2_/25 4 為圓形孔時,C[T]:3.〇mm/25j 依據輸入欄位k之值,可知電路^ 各板疋否為雙面,若為雙 面則呼叫副程式C。每支鐵針必 心、加值,亦即每支鑽針之 直徑加0.15英吋,並存入「格式内容位置」中。; 依據輸入之鑽孔數據資料,若須 T右肩用特疋 < 鑽針作開槽孔 或圓形孔,則須呼叫副程式D,勃广、土 、 Λ 執订馬達自動降速,並存 入特定鑽針後之「格式内容位置」中。 在鐵孔程式之格式中,第—支鑽頭(則固定鑽印刷 孔。此時啤叫副程式Ε ’執行印刷孔計#。印刷孔為4孔, 依裁j之大小以決定印刷孔之位置,其座標以下列四個式 子計算,並將計算值轉換為固定之格式,存入「格式内容 位置」内。 (0, -3.8 + 25·4 ) ( 3 ) (X + 25.4, _3.8 + 25.4 ) ( 4 ) (x-25.4, (y + 3.8 ) -25.4) ( 5 ) (〇,( y + 3.8 )+ 25.4 ) ( 6 ) 計算印刷孔之位置座標後,計算檢測孔位置座標(〇.2, -3.8 + 25.4),並存入「格式内容位置」内。 *第一支鑽頭(T01 )鑽完印刷孔後,則取得鐵孔原始 程式内之第一支鑽頭之資料,並轉換為第二支鑽頭 (T02 ),同樣地,鑽孔原始程式内之所有鑽頭資料均加工 計算。接著取得輸入之鑽孔數據資料,檢查是否鑽開槽孔 或圓形孔,若有則執行副程式F或G,執行開槽孔或圓形 -8 - 本紙張尺度適用中國國家標準(CNS)A4規格⑽χ 297公爱 (請先閲讀背面之注意事項再填寫本頁)f Binding page I Binding This paper size is applicable to Chinese National Standard (CNS) A4 (210 X 297 mm) 491742 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (4) At the stop t * u The length of the slotted hole or the diameter of the circular hole is entered at this time. At this time, the drilling core data has been entered. The CNC drilling program generator of the present invention can automatically calculate according to the original program and the drilling data. To generate a drilling program that can be executed on a CNC machine. According to the original program and the drilling data, first, when the input use quadrant is 1 or 4, the subprogram A is called to perform the calculation of the zero setting (χ axis), as listed in formula (1): Q-12 .008-x + 2 + 25.4 (1) where X is the actual total length and width. The fixed format of the Q value is 6 digits, and two digits are kept before the decimal point, otherwise 0 is added, and the decimal point is not marked. For example: if the Q value is calculated as 1.234, the value stored in the format content position should be 0123 40. The so-called "format content position" is a specific "format content position" where the q value should be placed in the cnc drilling program. If the input quadrant is 2 or 3, call subroutine B and perform the calculation of zero setting (Z axis), as listed in formula (2): Q = 12.008 -y + 2 + 25.4 (2) where y is Actual total length and width. According to the input data, the diameter of the drill pin is in millimeters (mm). Therefore, it must be converted into English leaves (.inch). The calculation is performed when the actual iron head is a general hole (drill pin diameter / 25.4) And stored in "format content position", when the actual drill bit is a square hole or a circular hole, it is calculated (1.2 / 25.4) or (3.0 / 25.4) and stored in "format content position". When it is a general hole, 〇 [丁]: 丁 = drill pin diameter / 25.4 This paper size is applicable to China National Standard (CNS) A4 (210 X 297 mm) (Please read the precautions on the back before filling in this Page) ·. 491742 A7 printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 5. Description of the invention (C [T]: 1 2_ / 25 4 when it is a circular hole, C [T]: 3.〇 mm / 25j According to the value of the input field k, we can know whether the circuit ^ is double-sided, if it is double-sided, it will call the subroutine C. Each iron pin must be centered and value-added, that is, the diameter of each drill pin Add 0.15 inches, and save it in "format content location". According to the input drilling data, if you need to use special 疋 < drill pin for slotted or round hole on the right shoulder, you must call the subroutine D, Bo Guang, Tu, Λ The order motor is automatically reduced in speed and stored in the "format content position" after a specific drill bit. In the format of the iron hole program, the first drill bit (fixed to drill printing holes. This When the beer called subroutine Ε 'execute printing hole meter #. The printing hole is 4 holes, according to the size of the j to determine the position of the printing hole, its coordinates are below Four formulas are calculated, and the calculated value is converted into a fixed format and stored in the "format content location". (0, -3.8 + 25 · 4) (3) (X + 25.4, _3.8 + 25.4) ( 4) (x-25.4, (y + 3.8)-25.4) (5) (〇, (y + 3.8) + 25.4) (6) After calculating the position coordinates of the printing hole, calculate the position coordinates of the detection hole (0.2, -3.8 + 25.4), and stored in the "format content location". * After the first drill bit (T01) finishes printing the hole, the data of the first drill bit in the original program of the iron hole is obtained and converted into the second For the drill bit (T02), similarly, all the drill bit data in the original drilling program is processed and calculated. Then the obtained drilling data is obtained, and it is checked whether a slotted hole or a circular hole is drilled. If there is a subroutine F or G, perform slotted holes or round -8-This paper size applies Chinese National Standard (CNS) A4 specifications ⑽χ 297 public love (Please read the precautions on the back before filling this page)

五、發明說明(6 A7 B7 孔之計算,並存入「格式内容位置」 下式子所示: 開槽孔之計算如以 經濟部智慧財產局員工消費合作社印製 (t-r ) + 2 + 25.4 = L ( inch ) 若Y軸不變,則格式内容之值為 X (n + L) YmG85X ( n - l ) Ym 若X軸不變,則格式内容之值為 XnY (m + L) G85XnY (m-L) 其中t為輸入之開槽孔長度值,^為鑽針直徑值,n為原 始程式< X軸座標值,m為原始程式之γ軸座標值。 圓形孔之計算如以下式子所示: [u- (3.0-2) ]~25.4-P (inch) ( 10 ) XnYmG84P , 、(11 ) 其中U為輸入之圓形孔之直徑值,n為原始程式之X軸座 標值,m為原始程式之γ軸座標值。 依據輸入之鑽孔數據資料,若需排版則呼叫副程式h, 執订排版计算。排版〈意為在相同之鐵頭及相同之原始程 式下’須重覆鑽橫排多片或直排多片。因&,排版計算為 依據橫排或直排之片數及間隔進行計算,格式内容之值如 下式所示: R (g-l) M20X[ (d + h) ^ 25 4]γ (12) R (1) M20XY[ (e+J) , 25 4] (13) 其中d為單片之寬之輸入值’e為單片之高之輸入值,g 為輸入橫排之片數,h為輸入橫排間隔之距離,4輸入直 排之片數,j為輸入直排間隔之距離。 -9. (7 (8) (9)V. Description of the invention (6 A7 B7 hole calculation, and stored in the "format content location" as shown in the following formula: The calculation of slotted holes is as printed on the consumer cooperative of the Intellectual Property Bureau of the Ministry of Economy (tr) + 2 + 25.4 = L (inch) If the Y-axis is unchanged, the value of the format content is X (n + L) YmG85X (n-l) Ym If the X-axis is not changed, the value of the format content is XnY (m + L) G85XnY ( mL) where t is the input slotted hole length value, ^ is the diameter of the drill pin, n is the original program < X-axis coordinate value, and m is the γ-axis coordinate value of the original program. The calculation of the circular hole is as follows: As shown: [u- (3.0-2)] ~ 25.4-P (inch) (10) XnYmG84P,, (11) where U is the diameter value of the input circular hole, n is the X-axis coordinate value of the original program, m is the coordinate value of the γ axis of the original program. According to the input drilling data, if the typesetting is required, the subprogram h is called to perform the typesetting calculation. The typesetting means that the same iron head and the same original program must be used. Overlay multiple pieces horizontally or vertically. Because of &, the typesetting calculation is based on the number and interval of horizontal or vertical pieces. The value of the format content is as follows: As shown: R (gl) M20X [(d + h) ^ 25 4] γ (12) R (1) M20XY [(e + J), 25 4] (13) where d is the input value of the width of a single piece 'e is the input value for the height of a single piece, g is the number of pieces for the horizontal row, h is the distance for the horizontal row, 4 is the number for the vertical row, and j is the distance for the vertical row. -9. 7 (8) (9)

(請先閱讀背面之注意事 1-11 項再本頁) •線- 491742 I---本 經濟部智慧財產局員工消費合作社印製 副程式 執行功能敛述 A ; 零點設定(X軸) B 零點設定(Y軸) C --------- 自動加值 ---- - "•10- 说尺度適用中國國家標:y^)Ar規格(210 X 297公爱Γ A7 B7 五、發明說明( 每一個鑽頭完成鑽孔後,必須作 、 ,、作獠,則孔測試,亦即檢測 I亥鑽頭在鑽孔之過程中是否指妒 、 T疋么刼^。因此,在鑽頭完成電路 板之鑽孔後’必須呼叫副藉γ t Ί田」%式I以執行檢測孔位置之計 算,並存入「格式内容位置」。 若原始程式已至Μ30,則表示程式結束,已無下一個绩 頭,鑽孔程式亦須以Μ30結束程式;若未到胸,則表示 還有下-個鐵頭,因此必須重覆執行圖RL〇〇pi之流 程,直到程式結束。 本發明之CNC蹲孔程式產生器,另包括一顯示介面,如 圖3之晝面所示’可顯示所必須輸人之鑽孔數據資料並計 算顯示總鐵孔數及鑽孔之預估#用。因此,使用者可依據 畫面之指依序地輸人必須的鑽孔數據資肖,輸入後可 立即產生CNC鐵孔程式,同時可得到鑽孔之預估費用,完 全不需要人工之計算,可大幅地提昇效率。 本發明亦可設置於網路上,客戶只要提㈣孔原始程式 及輸入鑽孔之數據資料,本發明即可產生cnc鑽孔程式提 i、、、、5客戶,以進一步地提昇效率與便利。 為更了解上述說明中之副程式功能,茲列表說明,如下 表1所示: (請先閱讀背面之注意事項再填寫本頁)(Please read the notes 1-11 on the back first, and then this page) • Line-491742 I --- The execution function of the printed subprogram of the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs summarizes A; Zero setting (X axis) B Zero setting (Y axis) C --------- Automatic value added--&10; said scale applies to Chinese national standard: y ^) Ar specifications (210 X 297 public love Γ A7 B7 V. Description of the invention (After each drill bit has finished drilling, it must be done, ,, and 獠, then the hole test, that is, whether the drill bit refers to jealousy, T 疋 刼 ^ in the process of drilling. Therefore, in After the drill bit completes the drilling of the circuit board, 'must call the vice borrower γ tΊ 田'% formula I to perform the calculation of the position of the detection hole and store it in the "format content position". If the original program has reached M30, it means the program is over, There is no next record, and the drilling program must end the program with M30; if it does not reach the chest, it means that there is another iron head, so it must repeat the process of RL〇〇pi until the program ends. The invented CNC squat hole program generator also includes a display interface, as shown in the daytime surface of Figure 3. You must enter the drilling data and calculate the total number of iron holes and the estimated number of drilling holes. Therefore, the user can input the necessary drilling data in sequence according to the instructions on the screen. Generate CNC iron hole program, and get the estimated cost of drilling at the same time. It does not need manual calculation at all, which can greatly improve the efficiency. The invention can also be set on the Internet. According to the data, the present invention can generate cnc drilling programs to provide customers i ,,,, and 5 to further improve efficiency and convenience. In order to better understand the functions of the subroutines in the above description, the following table describes them, as shown in Table 1 below: (Please read the notes on the back before filling this page)

491742 A7 B7491742 A7 B7

E i、發明說明(8 馬達自動降速 έρ席i[孑L»E i. Description of the invention (8 motors automatically decelerate έρρi [孑 L »

F 開槽孔計算F Slotted hole calculation

G 圓形孔計算G round hole calculation

H 排版計算 請 先 閱 背 _ I本 經濟部智慧財產局員工消費合作社印製 檢測孔 本發明亦包括一利用程式以產生CNC鑽孔程式之方法, 其包括以下步騾: (1) 接收鑽孔之原始程式; (2) 輸入鑽孔數據資料; (3) 依據原始程式及輸入之象限資料以計算零點設定 值; (4) 依據原始程式及鑽孔數據資料執行開槽孔或圓形孔 計算;及 (5) 依據鑽孔數據資料執行排版計算。 經由掃描鑽孔之原始程式,可取得鑽頭之數目及績孔之 座標值。輸入鑽孔數據資料必須輸入使用之象限、單片之 見及南、排版之長、寬及數量、電路板為單面或雙面、蹲 頭之直徑、開槽孔及圓形孔之大小。上述之鑽孔數據資料 必須於顯示裝置之畫面上顯示,同時可顯示計算後之總鐵 孔數及鑽孔之預估費用。 因此’依據本方法及上述之流程與程式,客戶只要提供 原始程式及輸入鑽孔數據資料,則一連串繁瑣之排版及計 之 注 意- 事 項H Typesetting calculation, please read it first. I The consumer property cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs has printed a testing hole. The invention also includes a method for generating a CNC drilling program by using a program, which includes the following steps: (1) Receive the drilling Original program; (2) input drilling data; (3) calculate the zero set value based on the original program and the input quadrant data; (4) perform slotted or circular hole calculation based on the original program and drilling data ; And (5) Perform typesetting calculations based on the drilling data. By scanning the original program of drilling, the number of drill bits and the coordinate value of the hole can be obtained. To enter the drilling data, you must enter the quadrant used, the view of the single chip, the length, width, and number of the layout, the single-sided or double-sided circuit board, the diameter of the squatting head, and the size of the slotted and circular holes. The above drilling data must be displayed on the screen of the display device. At the same time, the total number of iron holes and the estimated cost of drilling can be displayed. Therefore, according to this method and the above-mentioned processes and programs, as long as the customer provides the original program and enters the drilling data, a series of tedious typesetting and planning attention-events

算工作’完全由本發明之CNC鑽孔程式產生器來完成,不 -11 -The calculation work is completely performed by the CNC drilling program generator of the present invention.

491742 A7 五、發明說明( 須進入CAD/CAM及ΡΕ2Φ,十:r炻/ …… 之計算,可節省大 里之人事成本。 前述之方法可藉由電腦程式指令完成。該等電腦程式产 令可載人-電腦或其他可程式之資料處理裝置以執行上 . 寺%月“王式指令斫可儲存於電腦可讀取之 备己錄媒體(如磁帶,磁片 本适 :士兹片,先碟,硬碟,1C記憶體等記錄 媒f豆),以供後續載入電腦中使用。目此,本發明另揭示 -種記錄了用以使電腦執行本發明方法之功能切式之: 腦可讀取之記錄媒體。 私 唯上述A犯例僅為說明本發明之原理及其功效,而非限 制本發明。因A,習於此技術之人士對上述實施例所做之 修改及變化仍不達背本發明之精神。本發明之_範圍應 如後述之申請專利範圍所列。 “ (請先閲讀背面之注意事項再 --- 本頁) .丨線· 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐)491742 A7 V. Description of the invention (CAD / CAM and PE2Φ, 10: r 炻 / ...... calculations can be entered, which can save personnel costs in Dali. The aforementioned methods can be completed by computer program instructions. These computer program production orders can be Manned-computer or other programmable data processing device for execution. Temple% month "King-style instruction" can be stored in a computer-readable recording media (such as magnetic tapes, magnetic disks: Shizi films, first Disks, hard disks, 1C memory and other recording media) for subsequent loading into a computer. For this reason, the present invention also discloses a method for recording the functions used to make a computer execute the method of the present invention: brain A readable recording medium. The above-mentioned A case is only for explaining the principle and effect of the present invention, rather than limiting the present invention. Because of A, those skilled in this technology will still make modifications and changes to the above embodiments. Does not meet the spirit of the present invention. The scope of the present invention should be listed in the scope of the patent application described below. "(Please read the precautions on the back before this page-). Cooperative printed paper Chinese National Standard (CNS) A4 size (210 X 297 mm)

Claims (1)

^1742^ 1742 申請專利範圍 經濟部智慧財產局員工消費合作社印製 1 · 一種CNC鑽孔程式產生器,包括: 一掃描裝置,用以掃描鑽孔之原始程式; 一輸入裝置,用以輸入鑽孔數據資料; 一零點設定計算裝置,用以依據原始程式及鑽孔數據资 料產生零點設定值; ; ^ 一鑽孔計算裝置,用以依據原始程式及鑽孔數據資料執 行開槽孔或圓形孔計算;及 排版计算裝置,用以依據鐵孔數據資料執行排版計 算。 V 2 .如申請專利範圍第1項之CNC鑽孔程式產生器,其中該 掃描裝置可掃描得鑽頭之數目及鑽孔之座標值。 3 .如申請專利範圍第1項之CNC鑽孔程式產生器,其中該 鑽孔數據資料包括單片之寬及高、排版之長、寬及數 量、電路板為單面或雙面、鑽頭之直徑、開槽孔及圓形 孔之大小。 4 ·如申請專利範圍第1項之CNC鑽孔程式產生器,另包括 一加值計算裝置,若電路板為雙面,則每支鑽針之直徑 加值。 5 ·如申請專利範圍第1項之CNC鑽孔程式產生器,另包栝 一印刷孔計算裝置,用以依據電路板之大小,決定印刷 孔之位置。 6 ·如申請專利範圍第1項之CNC鑽孔程式產生器,另包栝 一檢測孔計算裝置,用以計算每支鑽針之檢測孔位置, 以偵測鑽針是否損毀。 ____ - 13- 本A張尺度適用中國國家標準(CNS)A4規格(21〇 χ 29?公釐) --------訂---------·線丨j (請先閱讀背面之注意事項再填寫本頁) 491742 A8 B8 C8 D8 經濟部智慧財產局員工消費合作社印製 六、申請專利範圍 7. 如申請專利範圍第i項之CNC鑽孔程式產生器,另包括 -顯示裝置’用以顯示所必須輪人之鑽孔數據資料並顯 示計算後總鑽孔數及鑽孔之預估費用。 8. -種產生CNC鑽孔程式之方法,包括以下步驟: 接收鑽孔之原始程式; 輸入鑽孔數據資料; 依據原始程式及鑽孔數據資料以計算零點設定值; 依據原始程式及鑽孔數據資料執行開槽孔或圓形孔計 算;及 依據鑽孔數據資料執行排版計算。 9·如申㈤專利圍第8項之方法,更包含掃描鐵孔之原始 程式並取得鑽頭之數目及鑽孔之座標值之步驟。 10. 如申4專利範圍第8項之方法,其中該輸入鐵孔數據資 料(步騾更包含輸入單片之寬及高、排版之長、寬及數 量、私路板為單面或雙面、鑽頭之直徑、開槽孔及圓形 孔之大小之步騾。 11. 如申請專利範圍第8項之方法,另包括一加值計算步 騾,若電路板為雙面,則每支鑽針之直徑加值。 12. 如申請專利範圍第8項之方法,另包括一依據電路板之 大小’計算印刷孔之位置之步驟。 Π.如申請專利範圍第8項之方法,另包括一計算每支鑽針 之檢測孔位置,以偵測鑽針是否損毁之步騾。 --------訂--------1 J (請先閱讀背面之注音P事項再填寫本頁) :¾ 14·如申請專利範圍第8項之方法,更包含顯示所必須輪入 之鑽孔數據資料,並顯示計算後之總鑽孔數及鑽孔之預Patent application scope Printed by the Consumer Cooperative of Intellectual Property Bureau of the Ministry of Economics1. A CNC drilling program generator, including: a scanning device to scan the original program of drilling; an input device to input drilling data; A zero-point setting calculation device for generating zero-point setting values based on the original program and drilling data; ^ a drilling calculation device for performing slotted or circular hole calculations based on the original program and drilling data; And a typesetting calculation device for performing typesetting calculations based on the iron hole data. V 2. The CNC drilling program generator according to item 1 of the scope of patent application, wherein the scanning device can scan the number of drill bits and the coordinates of the drilled holes. 3. If the CNC drilling program generator of item 1 of the scope of patent application, the drilling data includes the width and height of a single piece, the length, width and number of typesets, the circuit board is single-sided or double-sided, and the drill bit Diameter, size of slotted hole and round hole. 4 · If the CNC drilling program generator in item 1 of the patent application scope includes a value-added calculation device, if the circuit board is double-sided, the diameter of each drill pin is added. 5 · If the CNC drilling program generator in item 1 of the patent application scope, it also includes a printed hole calculation device to determine the position of the printed hole according to the size of the circuit board. 6 · If the CNC drilling program generator of item 1 of the patent application scope, an additional detection hole calculation device is used to calculate the detection hole position of each drill pin to detect whether the drill pin is damaged. ____-13- This A-sheet scale applies the Chinese National Standard (CNS) A4 specification (21〇χ 29? Mm) -------- Order --------- · Line 丨 j (Please (Please read the notes on the back before filling this page) 491742 A8 B8 C8 D8 Printed by the Consumers' Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs 6. Application for patent scope 7. If the CNC drilling program generator of item i of the patent scope is applied, it also includes -Display device 'is used to display the drilling data of the necessary turners and display the calculated total number of holes and the estimated cost of drilling. 8.-A method for generating a CNC drilling program, including the following steps: receiving the original drilling program; inputting drilling data; calculating the zero point setting value based on the original program and drilling data; according to the original program and drilling data Slotted or round hole calculations are performed on the data; typesetting calculations are performed based on the drilling data. 9. The method in item 8 of the patent application for Shenyang, further includes the steps of scanning the original program of the iron hole and obtaining the number of drill bits and the coordinates of the drilled holes. 10. The method of item 8 in the scope of patent application No. 4, wherein the input iron hole data (steps include inputting the width and height of a single piece, typesetting length, width, and quantity, and the private circuit board is single-sided or double-sided , The diameter of the drill bit, the size of the slotted hole and the size of the circular hole. 11. If the method in the scope of patent application No. 8 includes a value-added calculation step, if the circuit board is double-sided, each drill Needle diameter added value. 12. If the method in the scope of patent application for item 8 includes a step of calculating the position of the printed hole according to the size of the circuit board. Π. If the method in scope of patent application for item 8 includes another Calculate the detection hole position of each drill pin to detect the step of whether the drill pin is damaged. -------- Order -------- 1 J (Please read the note P on the back before reading (Fill in this page): ¾ 14 · If the method in the 8th scope of the patent application, it also includes displaying the drilling data that must be turned in, and the calculated total number of holes and the prediction of drilling. 491742 經 濟 部 智 慧 財 產 局 員 工 消 費 合 社 印 製 ------ -- I。 本紙張尺度義中關家標準_)Α4ϋ (21Q x 297公爱) A8 B8 C8 D8 申請專利範圍 估費用之步騾。 15. —種記錄了使電腦產生cnc鑽孔程式之方法之程式的電 腦可讀取之記錄媒體,.其中該方法包括: 用以接收鑽孔之原始程式之步騾; 用以輸入鑽孔數據資料之步騾; 用以依據原始程式及鑽孔數據資料以計算零點設定值之 步騾; 用以依據原始程式及鑽孔數據資料執行開槽孔或圓形孔 計算之步騾;及 用以依據鑽孔數據資料執行排版計算之步驟。 16·如申請專利範圍第15項之記錄媒體,其中該方法更包 含用以掃描鑽孔之原始程式並取得鑽頭之數目及鑽孔之 座標值之步騾。 17.如申請專利範圍第15項之記錄媒體,其中該方法更包 含用以輸入單片之寬及高、排版之長、寬及數量、電路 板為單面或雙面、鑽頭之直徑、開槽孔及圓形孔之大小 之步驟。 18·如申請專利範圍第15項之記錄媒體,其中該方法另包 括一加值計算步騾,若電路板為雙面,則每支鑽針之直 徑加值。 19.如申請專利範圍第15項之記錄媒體,其中該方法另包 括一依據電路板之大小,計算印刷孔之位置之步騾。 2〇·如申請專利範圍第第15項之記錄媒體,其中該方法另 包括一計算每支鑽針之檢測孔位置,以偵測鑽針是否損 -15- --------^---------^ 1^ (請先閱讀背面之注意事項再填寫本頁) 491742 A8 B8 C8 D8 六、申請專利範圍 毀之步騾。 21.如申請專利範圍第15項之記錄媒體,其中該方法更包 含用以顯示所必須輸入之鑽孔數據資料,並顯示計算後 之總鑽孔數及鑽孔之預估費用之步騾。 (請先閱讀背面之注意事項再1#^本頁) · 本 經濟部智慧財產局員工消費合作社印製 -16- » ϋ ϋ ϋ ϋ n n n I I ϋ ϋ ϋ 1· n n n n ϋ I ϋ n n n ϋ I I I n ϋ n ϋ I 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐)491742 Printed by the Consumer Affairs Corporation of the Intellectual Property Bureau of the Ministry of Economic Affairs -------I. The standard of this paper is Zhongguanjia Standard_) Α4ϋ (21Q x 297 public love) A8 B8 C8 D8 Scope of patent application Estimated cost steps. 15. —A computer-readable recording medium that records a method for generating a cnc drilling program from a computer. The method includes: Steps for receiving the original program for drilling; Inputting drilling data Steps for data; Steps for calculating the zero set value based on the original program and drilling data; Steps for performing slotted or circular hole calculations based on the original program and drilling data; and Steps for performing layout calculations based on drilling data. 16. The recording medium according to item 15 of the scope of patent application, wherein the method further includes steps for scanning the original program for drilling and obtaining the number of drill bits and the coordinates of the drilling. 17. The recording medium according to item 15 of the scope of patent application, wherein the method further includes inputting the width and height of a single piece, the length, width, and quantity of a typeset, whether the circuit board is single-sided or double-sided, the diameter of a drill, Slot and round hole size steps. 18. If the recording medium of item 15 of the scope of patent application, the method further includes a value-added calculation step. If the circuit board is double-sided, the diameter of each drill pin is added. 19. The recording medium according to item 15 of the scope of patent application, wherein the method further includes a step of calculating the position of the printing hole according to the size of the circuit board. 20. If the recording medium of item 15 of the scope of patent application, the method further includes calculating the position of the detection hole of each drill pin to detect whether the drill pin is damaged -15 --------- ^ --------- ^ 1 ^ (Please read the notes on the back before filling out this page) 491742 A8 B8 C8 D8 VI. Steps to destroy the scope of patent application. 21. If the recording medium of the scope of application for patent No.15, the method further includes steps for displaying the drilling data that must be entered, and displaying the calculated total number of holes and the estimated cost of drilling. (Please read the notes on the back before 1 # ^ this page) · Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs-16- »ϋ ϋ ϋ ϋ nnn II ϋ ϋ 1 · nnnn nn I ϋ nnn ϋ III n ϋ n ϋ I This paper size is applicable to China National Standard (CNS) A4 (210 X 297 mm)
TW90100353A 2001-01-08 2001-01-08 Drilling program generator for CNC TW491742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90100353A TW491742B (en) 2001-01-08 2001-01-08 Drilling program generator for CNC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90100353A TW491742B (en) 2001-01-08 2001-01-08 Drilling program generator for CNC

Publications (1)

Publication Number Publication Date
TW491742B true TW491742B (en) 2002-06-21

Family

ID=21676965

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90100353A TW491742B (en) 2001-01-08 2001-01-08 Drilling program generator for CNC

Country Status (1)

Country Link
TW (1) TW491742B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI414219B (en) * 2010-03-29 2013-11-01 Zhen Ding Technology Co Ltd System and method for manufacturing slot in printed circuit board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI414219B (en) * 2010-03-29 2013-11-01 Zhen Ding Technology Co Ltd System and method for manufacturing slot in printed circuit board

Similar Documents

Publication Publication Date Title
EP3451206B1 (en) Method, apparatus, and device for generating a visual model layout of a space
USRE37803E1 (en) Chemical data handling system
CN107239923A (en) Generate the method and device of Application for Materials
TW491742B (en) Drilling program generator for CNC
CN113139371A (en) Visual chart construction method, device and system and storage medium
CN112700301B (en) Method for generating previewable clothing scheme
US11288435B1 (en) Failure analysis apparatus, computer readable recording medium and failure analysis method
JP6133763B2 (en) Production information management device, production information management method and program
JP5168706B2 (en) Automatic definition system of data retrieval item information in electronic form system
JP2763453B2 (en) Circuit diagram creation apparatus and circuit diagram creation method
JP4828318B2 (en) Multiple form integrated printing method, system and program
JP3847946B2 (en) How to create a measurement result file for an image measuring machine
JP2000293592A (en) Layout data conversion method and device, and storage medium
TW201322008A (en) System and method for generating report related to part of product
JP2744081B2 (en) Measurement support device
JP3757057B2 (en) Method for creating a recording medium on which bonding coordinates are recorded
JP3270274B2 (en) Evaluation support system
JPH05298378A (en) Method for managing design drawing
JP2017199226A (en) Program editing method, program development support device, and programmable controller
JPH03105555A (en) Picture editing control system
CN115526993A (en) Three-dimensional model construction method and device, electronic equipment and storage medium
JP2015005184A (en) System, method and program for electronic typesetting
CN116578217A (en) Engineering drawing-based tolerance interface operation method and electronic equipment
JP2020119480A (en) System for easily creating database application from format data
JP3000315B2 (en) Tablet input slip and slip input method

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees