TW201721317A - Cutting path generation method for conversational controller of CNC machine tool which comprises selecting a two-dimensional drawing sheet file of which data are converted into first and second enclosed curves, and based on which an intermediate enclosed fitting curve is generated to form a band-like curved surface - Google Patents

Cutting path generation method for conversational controller of CNC machine tool which comprises selecting a two-dimensional drawing sheet file of which data are converted into first and second enclosed curves, and based on which an intermediate enclosed fitting curve is generated to form a band-like curved surface Download PDF

Info

Publication number
TW201721317A
TW201721317A TW104141605A TW104141605A TW201721317A TW 201721317 A TW201721317 A TW 201721317A TW 104141605 A TW104141605 A TW 104141605A TW 104141605 A TW104141605 A TW 104141605A TW 201721317 A TW201721317 A TW 201721317A
Authority
TW
Taiwan
Prior art keywords
depth
enclosed
closed curve
cutting path
curved surface
Prior art date
Application number
TW104141605A
Other languages
Chinese (zh)
Other versions
TWI578128B (en
Inventor
Pin-Yuang Pien
Original Assignee
Hurco Automation Ltd
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 Hurco Automation Ltd filed Critical Hurco Automation Ltd
Priority to TW104141605A priority Critical patent/TWI578128B/en
Priority to CN201610994225.2A priority patent/CN106843139B/en
Application granted granted Critical
Publication of TWI578128B publication Critical patent/TWI578128B/en
Publication of TW201721317A publication Critical patent/TW201721317A/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

A cutting path generation method according to the present invention comprises: selecting a two-dimensional drawing sheet file, converting data of the two-dimensional drawing sheet file into a plurality of line segments, such that the plurality of line segments are combinable to form at least two enclosed curves, then selecting a first enclosed curve and a second enclosed curve and setting a coplanar first depth of the first enclosed curve and a second coplanar depth of the second enclosed curve, and then generating an intermediate enclosed fitting curve between the first depth and the second depth, and combining the first enclosed curve, the second enclosed curve, and the intermediate enclosed fitting curve to form a band-like curved surface; and generating a cutting path through calculation on the band-like curved surface. Such an interactive controller provides assistance to an operator to supplement a CAM process for machining, saves employment of CAD/CAM programmer, and is applicable to fast, small-volume and diverse production, and may greatly save manufacturing cost.

Description

CNC工具機對話式控制器的切削路徑生成方法Cutting path generation method of CNC machine tool dialogue controller

本發明有關於一種應用對話式控制器生成CNC工具機切削路徑的方法,特別是指一種無須編撰CAD/CAM程式而是採用2維圖紙形成2.5維或是簡易3維模具的切削路徑生成方法。The invention relates to a method for generating a cutting path of a CNC machine tool by using a dialog controller, in particular to a cutting path generation method for forming a 2.5-dimensional or a simple 3-dimensional mold by using a 2-dimensional drawing without writing a CAD/CAM program.

電腦數值控制 (Computer Numeric Control; CNC)工具機包含CNC車床、CNC銑床、CNC線切割...等等,惟工業用型的CNC工具機裡都必需配備專屬的控制器才能精密作動,因此,CNC工具機的控制器即為CNC加工機具的大腦,它的型號通常標示於機台螢幕的上方。Computer Numeric Control (CNC) machine tools include CNC lathes, CNC milling machines, CNC wire cutting, etc., but the industrial CNC machine tools must be equipped with a dedicated controller to operate precisely, therefore, The CNC machine tool's controller is the brain of the CNC machine tool, and its model is usually marked on the top of the machine screen.

當CNC工具機開始執行加工時,CNC程式的指令就被送到CNC控制器做解讀,而CNC控制器於指令解讀完成後,將透過CNC工具機裡的機電系統及驅動系統(例如:伺服馬達、滾珠螺桿及軸承、光學尺及其回授系統)做出符合CNC程式指令所要求的作動。When the CNC machine tool starts machining, the CNC program instructions are sent to the CNC controller for interpretation. After the CNC controller completes the command interpretation, it will pass through the electromechanical system and drive system in the CNC machine tool (for example: servo motor). , ball screw and bearing, optical ruler and its feedback system) to make the action required by the CNC program instructions.

早期CNC控制器只接受CNC碼、Macro或APT來作動,但是隨著PC的發展,後來便以PC為基礎來發展控制器,並有對話式(Conversational)或是參數式(Parametric)的控制器誕生,它可以不用依靠CNC程式,單憑接受使用者輸入工件圖形上的參數數值即可進行加工。Early CNC controllers only accepted CNC code, Macro or APT to operate, but with the development of PC, PC controllers were developed to develop controllers with Conversational or Parametric controllers. Born, it can be processed without the need to rely on the CNC program to accept the user's input of the parameter values on the workpiece pattern.

PC-Based CNC控制器的核心軟體組件包括:作業系統(OS)、人機介面(MMI)、可程式邏輯控制(PLC)、解譯器(Interpreter)、運動控制、傳輸控制等;而核心硬體組接包括:工業級電腦、I/O板、運動控制軸卡、資料傳輸板、類比訊號控制板等。另外,伺服組件包括:AC/DC伺服驅動器、馬達、步進馬達及主軸馬達等。The core software components of the PC-Based CNC controller include: operating system (OS), human machine interface (MMI), programmable logic control (PLC), interpreter, motion control, transmission control, etc. The body group includes: industrial computer, I/O board, motion control axis card, data transmission board, analog signal control board, etc. In addition, the servo components include: AC/DC servo drives, motors, stepper motors, and spindle motors.

由於PC-Based控制器的發展,日後CNC控制器將能與CAD/CAM、網路、製程監控軟體結合,未來可預期將會有智能式的CNC加工機誕生於世,而有關於加工機的智能化將有多個面向發展,如:加工智慧化以及生產智慧化。Due to the development of PC-Based controllers, CNC controllers will be able to be combined with CAD/CAM, network and process monitoring software in the future. In the future, it is expected that there will be intelligent CNC machining machines born in the world, and there are processing machines. There will be multiple developments in intelligence, such as processing intelligence and production intelligence.

其中,加工智慧化講求控制器可負擔工件圖形的辨識、能針對不同的加工區塊安排不同的切削刀具、不同的多刀工法組合、自動的殘料切除、特屬不同材料的切削參數、工序的先後排程,具完整的加工對策與智能;溝通人性化講求具有語音、文字和視訊影像等通訊功能,能與生產計劃調度系統聯網,下載工作指令和加工程式,工件試切時可在螢幕上觀察加工過程,並可以通過手機查詢。Among them, the processing wisdom requires the controller to bear the identification of the workpiece pattern, can arrange different cutting tools for different processing blocks, different multi-tool combination, automatic residual material removal, cutting parameters and processes of different materials. The sequence is scheduled, with complete processing countermeasures and intelligence; communication humanization emphasizes communication functions such as voice, text and video images, can be networked with the production planning and scheduling system, download work orders and processing programs, and the workpiece can be cut on the screen during trial cutting. Observe the processing and check it on your mobile phone.

生產智慧化講求將工作數據統計分析和刀具壽命管理,以及故障報警顯示。未來的機台能連線上網並排除故障,會配備各種微型感測器以監控切削力、振動、熱變形等所產生的誤差,並自動加以補償或調整機床工作狀態,以提高機床的工作精度和穩定性。Production intelligence requires statistical analysis of work data and tool life management, as well as fault alarm display. In the future, the machine can connect to the Internet and troubleshoot. It will be equipped with various miniature sensors to monitor the error caused by cutting force, vibration, thermal deformation, etc., and automatically compensate or adjust the working state of the machine to improve the working accuracy of the machine. And stability.

而在CNC控制器進入高階的Windows-based之後,CNC已進入模組化時代,就像手機一樣各種功能會不斷的加入,例如原本只做切削模擬的廠商,現在已經和某些工具機所生產的機台做同步連結,除了可做基本的刀具路徑模擬之外,也可做刀具與機台或夾治具之間的防撞模擬。After the CNC controller enters the high-end Windows-based, the CNC has entered the era of modularization. Just like the mobile phone, various functions will be added continuously. For example, the manufacturer who only used the cutting simulation has already produced it with some machine tools. The machine is synchronized, in addition to the basic tool path simulation, it can also be used to simulate the collision between the tool and the machine or fixture.

CNC工具機的規格表,通常都會說明採用哪一種CNC控制器,但也有些工具機廠會列出幾種控制器,好讓使用者自己指定要哪種控制器。其中對話式控制器較著名的如Hurco對話式控制器或Fanuc對話式控制器,僅針對2.5D形狀加工。The specification table of the CNC machine tool usually indicates which kind of CNC controller is used, but some tool machine manufacturers will list several controllers so that the user can specify which controller to use. Among them, the dialogue controller is more famous, such as Hurco dialogue controller or Fanuc dialogue controller, only for 2.5D shape processing.

而近十年隨著來PC的高度發展,PC-Based控制器的發展已遍及全球,從西門子(Siemens) 的Window-based 840D到海德漢(HEIDENHAIN) iTNC-530控制器,以及近年來最保守的發那科(Fanuc)也發展了OpenCNC 160i 系列控制器,這些PC-Based控制器的OS已從早期的DOS發展到現在的Windows作業系統(WindowsXP或Windows2000),在Windows的開放式環境之下,智慧型的CAD/CAM將相競植入,因此,對話式(或稱參數式)的功能也會漸趨落後。In the past ten years, with the development of PCs, the development of PC-Based controllers has spread all over the world, from Siemens' Window-based 840D to HEIDENHAIN iTNC-530 controllers, and the most conservative in recent years. Fanuc also developed the OpenCNC 160i series of controllers. The OS of these PC-Based controllers has evolved from early DOS to the current Windows operating system (WindowsXP or Windows2000), under the open environment of Windows. Smart CAD/CAM will be competing, so the function of dialogue (or parametric) will gradually fall behind.

另外,對話式控制器的競爭對手為CAD/CAM編程與Windows的開放式環境,而一般大型機械加工廠皆須聘用專門的CAD/CAM程式員(programmer),並搭配加工人員(operator)對CAD/CAM設定的加工程序與條件,進行機械加工。In addition, the competitors of the dialogue controller are CAD/CAM programming and the open environment of Windows, and the general large-scale mechanical processing factory must employ a special CAD/CAM programmer and cooperate with the operator to CAD. Machining procedures and conditions set by /CAM are machined.

但對於小型機械加工廠而言,一般加工人員僅熟稔CNC機械的加工條件(如刀表、刀庫、對刀、刀參數),並了解整個作業程序(Sequence),因此,加工人員只需對於已知加工程序與條件,讀懂機械設計圖紙(mechanical drawing),無需額外進行CAD編程,僅須透過對話式控制器的協助來補足CAM程序,以進行機械加工,省除CAD/CAM程式員之聘用,可大幅節省製作成本,故對話式控制器的優勢在於著重於快速且少量的多樣性製造,適合製作一些2.5D或簡易3D的模具使用。However, for small mechanical processing plants, the general processing personnel are only familiar with the machining conditions of CNC machinery (such as tool table, tool magazine, tool setting, knife parameters), and understand the entire operating sequence (Sequence), therefore, the processing personnel only need to Knowing the machining procedures and conditions, reading the mechanical drawing, without additional CAD programming, only need to supplement the CAM program with the help of the dialogue controller for machining, eliminating the CAD/CAM programmer. Hiring can save a lot of production costs, so the advantage of the dialogue controller is to focus on the rapid and small amount of versatile manufacturing, suitable for making some 2.5D or simple 3D molds.

本發明的主要目的在於提供一種採用對話式控制器生成2.5維或是簡易3維模具切削路徑的方法,藉此讓對話式控制器協助加工人員來補足CAM程序進行機械加工,省除CAD/CAM程式員之聘用,適用於快速且少量的多樣性製造,可大幅節省製作成本。The main object of the present invention is to provide a method for generating a 2.5-dimensional or simple 3-dimensional mold cutting path by using a dialog controller, thereby allowing the dialog controller to assist the processing personnel to complement the CAM program for machining, eliminating CAD/CAM. The programmer's hiring is suitable for fast and small-scale manufacturing, which can save a lot of production costs.

為達前述目的,本發明CNC工具機對話式控制器的切削路徑生成方法,包含:選擇一二維圖紙檔案;將上述二維圖紙檔案的資料轉換為複數個線段;將上述複數線段組合形成至少兩個封閉曲線;選擇一第一封閉曲線以及一第二封閉曲線,其中上述第一封閉曲線與第二封閉曲線之間可為互相接觸狀態,亦可為互相不接觸狀態;設定上述第一封閉曲線共平面的第一深度以及上述第二封閉曲線共平面的第二深度,其中,上述第一深度不同於上述第二深度;在上述第一深度至第二深度之間產生至少一擬合介中封閉曲線,上述至少一擬合介中封閉曲線的共平面深度不同於上述第一深度與第二深度;將上述第一封閉曲線、第二封閉曲線以及至少一擬合介中封閉曲線結合產生一帶狀曲面;演算上述帶狀曲面產生一切削路徑。To achieve the foregoing objective, the method for generating a cutting path of a dialog box controller of a CNC machine tool according to the present invention comprises: selecting a two-dimensional drawing file; converting the data of the two-dimensional drawing file into a plurality of line segments; and combining the plurality of line segments to form at least a two closed curve; a first closed curve and a second closed curve are selected, wherein the first closed curve and the second closed curve may be in contact with each other, or may be in a state of no contact with each other; a first depth of the coplanar plane of the curve and a second depth of the coplanar plane of the second closed curve, wherein the first depth is different from the second depth; and at least one fitting medium is generated between the first depth to the second depth a closed curve in which the coplanar depth of the closed curve in the at least one fitting is different from the first depth and the second depth; combining the first closed curve, the second closed curve and the at least one fitting medium closed curve A strip-shaped surface; calculating the strip-shaped surface to generate a cutting path.

其中,上述二維圖紙檔案為DXF格式,上述帶狀曲面為3D曲面,而上述帶狀曲面呈現一斜面凹穴或一斜面凸島樣態。Wherein, the two-dimensional drawing file is in a DXF format, and the strip-shaped curved surface is a 3D curved surface, and the strip-shaped curved surface presents a beveled pocket or a beveled convex island.

於一較佳實施例中,上述擬合介中封閉曲線是以等分層偏移方式生成;而上述複數線段包含直線、圓弧以及聚合線的其中至少一種。In a preferred embodiment, the closed curve in the fitting medium is generated by an equal layer offset manner; and the plurality of line segments includes at least one of a straight line, an arc, and an aggregate line.

本發明特點在於透過導入的二維圖紙檔,經過操作界面讓使用者手動指定兩個封閉曲線,再由兩封閉曲線深度差距之間設定參數形成多數擬合介中封閉曲線,藉以形成一2.5維或簡易三維的帶狀曲面,再由對話式控制器產生一切削路徑,如此既可省除CAD/CAM程式員之聘用和加工程式編輯時間,大幅節省製作成本。The invention is characterized in that through the imported two-dimensional drawing file, the user manually specifies two closed curves through the operation interface, and then sets a majority of the closed curve in the fitting curve between the two closed curve depth differences, thereby forming a 2.5-dimensional shape. Or a simple three-dimensional strip surface, and then a cutting path generated by the dialog controller, which can save the editing time of the CAD/CAM programmer and the editing time of the processing program, and greatly save the production cost.

茲為便於更進一步對本發明之構造、使用及其特徵有更深一層明確、詳實的認識與瞭解,爰舉出較佳實施例,配合圖式詳細說明如下:In order to further clarify and understand the structure, the use and the features of the present invention, the preferred embodiment is described in detail with reference to the following drawings:

請參閱圖1所示,本發明應用於一CNC工具機的對話式控制器1中,上述對話式控制器1的主要畫面包含有一顯示區2以及複數個位於上述顯示區2周圍的選擇功能區3,首先,使用者將游標移動到插入事件欄位30點選,藉以新增一切削事件。Referring to FIG. 1 , the present invention is applied to a dialog controller 1 of a CNC machine tool. The main screen of the dialog controller 1 includes a display area 2 and a plurality of selection functional areas located around the display area 2 . 3. First, the user moves the cursor to the insertion event field 30 to select a new cutting event.

請參閱圖2所示,當點選加入切削事件後,上述選擇功能區3將顯示出多種不同的切削類型欄位,上述切削類型欄位包含:(position)位置欄位31、(holes)孔洞欄位32、(line arc)線弧欄位33、(contour)輪廓欄位34以及(pocket)凹穴/凸島欄位35,使用者須點選上述凹穴/凸島欄位35,隨後上述顯示區2將顯示出複數個不同的切削樣態提供使用者選擇,上述切削樣態包含:圓形凹穴、方形凹穴、不規則凹穴以及斜錐面凹穴凸島。隨後,使用者將游標移動至上述顯示區2的斜錐面凹穴凸島位置點選,藉以加入一切削斜錐面凹穴凸島事件完成。Referring to FIG. 2, when the cutting event is clicked, the selection function area 3 will display a plurality of different cutting type fields, and the cutting type field includes: (position) position field 31, (holes) hole Field 32, (line arc) line arc field 33, (contour) contour field 34, and (pocket) pocket/robe field 35, the user must click on the above-mentioned pocket/pellet field 35, followed by The above display area 2 will display a plurality of different cutting patterns to provide a user selection, and the cutting patterns include: circular pockets, square pockets, irregular pockets, and inclined cone-shaped pocket islands. Subsequently, the user moves the cursor to the position of the inclined cone surface convex island of the display area 2, thereby adding a cutting cone surface pocket convex island event.

請參閱圖3所示,當事件選擇完成後,使用者將游標移動至(import path)輸入路徑欄位36點選,隨後使用者選取需加工的二維圖紙檔案,上述對話式控制器1將解析上述二維圖紙檔案中的複數個線段樣態,並將上述複數線段組合形成至少兩個封閉曲線,再由上述顯示區2顯示出上述二維圖紙檔案的加工圖案20;後續使用者必須任意選擇上述加工圖案20中的兩個封閉曲線,如圖所示,上述加工圖案20的粗實線設為一第一封閉曲線21,而上述加工圖案20的粗虛線設為第二封閉曲線22。Referring to FIG. 3, after the event selection is completed, the user moves the cursor to the input path field 36, and then the user selects the 2D drawing file to be processed, and the dialog controller 1 will Parsing a plurality of line segment patterns in the two-dimensional drawing file, and combining the plurality of line segments to form at least two closed curves, and then displaying, by the display area 2, the processing pattern 20 of the two-dimensional drawing file; subsequent users must arbitrarily Two closed curves in the above-described processing pattern 20 are selected. As shown, the thick solid line of the processing pattern 20 is set as a first closed curve 21, and the thick broken line of the processed pattern 20 is set as the second closed curve 22.

其中,上述二維圖紙檔案為DXF格式,而上述複數線段包含有直線、圓弧以及聚合線的其中至少一種,又上述第一封閉曲線21的線段種類以及數量可不相同於上述第二封閉曲線22。Wherein, the two-dimensional drawing file is in the DXF format, and the plurality of line segments include at least one of a straight line, an arc and an aggregation line, and the type and number of the line segments of the first closed curve 21 may be different from the second closed curve 22 .

請參閱圖4所示,於選擇上述第一封閉曲線21以及第二封閉曲線22後,上述顯示區2將形成一參數列表23以及一物件圖案24,使用者再將游標依序移動至上述參數列表23的(D1)第一深度欄位231以及(D2)第二深度欄位232,分別指定上述第一封閉曲線21共平面的第一深度數值以及上述第二封閉曲線22共平面的第二深度數值,其中,上述第一深度須不同於上述第二深度。Referring to FIG. 4, after selecting the first closed curve 21 and the second closed curve 22, the display area 2 will form a parameter list 23 and an object pattern 24, and the user will sequentially move the cursor to the above parameters. The (D1) first depth field 231 and the (D2) second depth field 232 of the list 23 respectively specify a first depth value of the coplanar plane of the first closed curve 21 and a second plane of the second closed curve 22 a depth value, wherein the first depth is different from the second depth.

請參閱圖5所示,於輸入上述第一深度與第二深度的數值完成後,使用者再將游標移動至上述參數列表23的(Rough peck increment)進給量欄位233,輸入進給量數值後,上述第一封閉曲線21以及第二封閉曲線22將以等距偏移方式生成至少一擬合介中封閉曲線25,其中,上述擬合介中封閉曲線25的共平面深度必須不同於上述第一深度與第二深度。Referring to FIG. 5, after the values of the first depth and the second depth are input, the user moves the cursor to the (Rough peck increment) feed amount field 233 of the parameter list 23, and inputs the feed amount. After the value, the first closed curve 21 and the second closed curve 22 will generate at least one fitting medium closed curve 25 in an equidistant offset manner, wherein the coplanar depth of the closed curve 25 in the above fitting medium must be different from The first depth and the second depth are as described above.

最後,上述對話式控制器1將把上述第一封閉曲線21、第二封閉曲線22以及至少一擬合介中封閉曲線25結合產生一帶狀曲面26;並將上述帶狀曲面26演算產生一切削路徑(圖未示)。其中,上述帶狀曲面26會參考所設定的第一深度(D1)及第二深度(D2),經由計算後呈現一斜面凹穴或一斜面凸島的3D曲面樣態。Finally, the above-described dialog controller 1 combines the first closed curve 21, the second closed curve 22, and the at least one fitting medium closed curve 25 to produce a strip-shaped curved surface 26; and the strip-shaped curved surface 26 is calculated to generate a Cutting path (not shown). The strip curved surface 26 refers to the set first depth (D1) and the second depth (D2), and is calculated to represent a 3D curved surface of a beveled pocket or a beveled convex island.

請參閱圖6所示,於輸入上述進給量數值後,使用者再把游標移動至上述選擇功能區3的(PREVIEW)預覽欄位37點選,上述顯示區2將轉換上述帶狀曲面26與切削路經的資料形成一加工預覽圖案27,使用者在確認上述加工預覽圖案27後,可以依據不同需求,重新設定上述第一封閉曲線21的第一深度、第二封閉曲線22的第二深度或是上述擬合介中封閉曲線25的共平面深度的進給量(RK),直至符合產品加工需求。Referring to FIG. 6, after inputting the above feed amount value, the user moves the cursor to the (PREVIEW) preview field 37 of the selected function area 3, and the display area 2 converts the strip surface 26 Forming a preview pattern 27 with the data of the cutting path, after confirming the processing preview pattern 27, the user can reset the first depth of the first closed curve 21 and the second second closed curve 22 according to different requirements. The depth is either the feed amount (RK) of the coplanar depth of the closed curve 25 as described above, until it meets the product processing requirements.

請參閱圖7所示,由前述對話式控制器1的操作實際可知,本發明切削路徑的生成方法,主要包含:選擇一二維圖紙檔案;將上述二維圖紙檔案的資料轉換為複數個線段;將上述複數線段組合形成至少兩個封閉曲線;選擇一第一封閉曲線21以及一第二封閉曲線22,其中上述第一封閉曲線21與第二封閉曲線22之間不會互相接觸;設定上述第一封閉曲線21共平面的第一深度以及上述第二封閉曲線22共平面的第二深度,其中,上述第一深度不同於上述第二深度;在上述第一深度至第二深度之間產生至少一擬合介中封閉曲線25,上述至少一擬合介中封閉曲線25的共平面深度不同於上述第一深度與第二深度;將上述第一封閉曲線21、第二封閉曲線22以及至少一擬合介中封閉曲線25結合產生一帶狀曲面26;演算上述帶狀曲面26產生一切削路徑。Referring to FIG. 7 , it is actually known from the operation of the foregoing dialog controller 1 that the method for generating a cutting path of the present invention mainly includes: selecting a two-dimensional drawing file; converting the data of the two-dimensional drawing file into a plurality of line segments. Combining the plurality of line segments to form at least two closed curves; selecting a first closed curve 21 and a second closed curve 22, wherein the first closed curve 21 and the second closed curve 22 do not contact each other; a first depth of the first closed curve 21 coplanar and a second depth of the second closed curve 22 coplanar, wherein the first depth is different from the second depth; and the first depth to the second depth is generated At least one fitting medium closed curve 25, wherein the at least one fitting medium has a coplanar depth different from the first depth and the second depth; and the first closed curve 21, the second closed curve 22, and at least A fitting medium closed curve 25 combines to produce a strip-shaped curved surface 26; the above-described strip-shaped curved surface 26 is calculated to produce a cutting path.

上述所舉實施例,僅用為方便說明本發明並非加以限制,在不離本發明精神範疇,熟悉此一行業技藝人士依本發明申請專利範圍及創作說明所作之各種簡易變形與修飾,均仍應含括於以下申請專利範圍中。The above-mentioned embodiments are not intended to limit the scope of the present invention, and various simple modifications and modifications made by those skilled in the art in accordance with the scope of the invention and the description of the invention should still be made without departing from the spirit of the invention. It is included in the scope of the following patent application.

1‧‧‧對話式控制器
2‧‧‧顯示區
20‧‧‧加工圖案
21‧‧‧第一封閉曲線
22‧‧‧第二封閉曲線
23‧‧‧參數列表
231‧‧‧第一深度欄位
232‧‧‧第二深度欄位
233‧‧‧進給量欄位
24‧‧‧物件圖案
25‧‧‧擬合介中封閉曲線
26‧‧‧帶狀曲面
27‧‧‧加工預覽圖案
3‧‧‧選擇功能區
30‧‧‧插入事件欄位
31‧‧‧活塞欄位
32‧‧‧孔洞欄位
33‧‧‧線弧欄位
34‧‧‧輪廓欄位
35‧‧‧凹穴/凸島欄位
36‧‧‧輸入路徑欄位
37‧‧‧預覽欄位
1‧‧‧Dialog controller
2‧‧‧ display area
20‧‧‧Processing patterns
21‧‧‧ first closed curve
22‧‧‧second closed curve
23‧‧‧Parameter list
231‧‧‧First depth field
232‧‧‧Second depth field
233‧‧‧Feeding field
24‧‧‧ object pattern
25‧‧‧Fitting closure curve
26‧‧‧Striped surface
27‧‧‧Process preview pattern
3‧‧‧Select the functional area
30‧‧‧Insert event field
31‧‧‧Piston field
32‧‧‧ hole field
33‧‧‧Line arc field
34‧‧‧ contour field
35‧‧‧ Pocket/Convex Field
36‧‧‧Input path field
37‧‧‧Preview field

圖1為對話式控制器原始畫面的示意圖; 圖2為對話式控制器插入選擇切削事件的示意圖; 圖3對話式控制器圖形導入界面形成兩封閉曲線的示意圖; 圖4為對話式控制器設定第一深度與第二深度的示意圖; 圖5為對話式控制器設定擬合介中封閉曲線的示意圖; 圖6為對話式控制器形成帶狀曲面的示意圖; 圖7為切削路徑生成方法的流程圖。Figure 1 is a schematic diagram of the original screen of the dialog controller; Figure 2 is a schematic diagram of the dialog controller inserting and selecting the cutting event; Figure 3 is a schematic diagram of the graphical controller import interface forming two closed curves; Figure 4 is the dialog controller setting Schematic diagram of the first depth and the second depth; FIG. 5 is a schematic diagram of the closed controller setting the closed curve in the dialogue controller; FIG. 6 is a schematic diagram of the dialog controller forming a strip curved surface; FIG. 7 is a flow chart of the cutting path generating method Figure.

Claims (6)

一種CNC工具機對話式控制器的切削路徑生成方法,包含: 選擇一二維圖紙檔案; 將上述二維圖紙檔案的資料轉換為複數個線段; 將上述複數線段組合形成至少兩個封閉曲線; 選擇一第一封閉曲線以及一第二封閉曲線; 設定上述第一封閉曲線共平面的第一深度以及上述第二封閉曲線共平面的第二深度,其中,上述第一深度不同於上述第二深度; 在上述第一深度至第二深度之間產生至少一擬合介中封閉曲線,上述至少一擬合介中封閉曲線的共平面深度不同於上述第一深度與第二深度; 將上述第一封閉曲線、第二封閉曲線以及至少一擬合介中封閉曲線結合產生一帶狀曲面; 演算上述帶狀曲面產生一切削路徑。A cutting path generation method for a CNC machine tool dialog controller, comprising: selecting a two-dimensional drawing file; converting the data of the two-dimensional drawing file into a plurality of line segments; combining the plurality of line segments to form at least two closed curves; a first closed curve and a second closed curve; a first depth of the first closed curve coplanar and a second depth of the second closed curve coplanar, wherein the first depth is different from the second depth; And generating at least one fitting median closed curve between the first depth and the second depth, wherein the at least one fitting medium has a coplanar depth different from the first depth and the second depth; The curve, the second closed curve and the at least one fitting medium closed curve combine to produce a strip-shaped curved surface; calculating the strip-shaped curved surface to generate a cutting path. 如申請專利範圍第1項所述之CNC工具機對話式控制器的切削路徑生成方法,其中,上述二維圖紙檔案為DXF格式。The method for generating a cutting path of a CNC machine tool dialog controller according to claim 1, wherein the two-dimensional drawing file is in a DXF format. 如申請專利範圍第1項所述之CNC工具機對話式控制器的切削路徑生成方法,其中,上述帶狀曲面為3D曲面。The cutting path generation method of the CNC machine tool dialog controller according to the first aspect of the invention, wherein the strip-shaped curved surface is a 3D curved surface. 如申請專利範圍第1項所述之CNC工具機對話式控制器的切削路徑生成方法,其中,上述擬合介中封閉曲線是以等分層偏移方式生成。The cutting path generation method of the CNC machine tool dialog controller according to claim 1, wherein the closed curve in the fitting is generated in an equal layer offset manner. 如申請專利範圍第1項所述之CNC工具機對話式控制器的切削路徑生成方法,其中,上述複數線段包含直線、圓弧以及聚合線的其中至少一種。The cutting path generation method of the CNC machine tool dialog controller according to claim 1, wherein the plurality of line segments include at least one of a straight line, an arc, and an aggregation line. 如申請專利範圍第1項所述之CNC工具機對話式控制器的切削路徑生成方法,其中,上述帶狀曲面呈現一斜面凹穴或一斜面凸島樣態。The method for generating a cutting path of a CNC machine tool dialog controller according to claim 1, wherein the strip-shaped curved surface presents a beveled pocket or a beveled convex island.
TW104141605A 2015-12-10 2015-12-10 The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool TWI578128B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104141605A TWI578128B (en) 2015-12-10 2015-12-10 The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool
CN201610994225.2A CN106843139B (en) 2015-12-10 2016-11-10 Method for generating CNC machine tool cutting path by using dialogue type controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104141605A TWI578128B (en) 2015-12-10 2015-12-10 The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool

Publications (2)

Publication Number Publication Date
TWI578128B TWI578128B (en) 2017-04-11
TW201721317A true TW201721317A (en) 2017-06-16

Family

ID=59145618

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104141605A TWI578128B (en) 2015-12-10 2015-12-10 The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool

Country Status (2)

Country Link
CN (1) CN106843139B (en)
TW (1) TWI578128B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760675B (en) * 2020-01-06 2022-04-11 財團法人工業技術研究院 Method for defect inspection of machining path

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830908B (en) * 2020-06-17 2021-06-15 上海烟草机械有限责任公司 Cylindrical envelope tool path generation method, system, terminal and medium based on two-dimensional linear graph
CN112241231B (en) * 2020-10-22 2021-12-07 北京字节跳动网络技术有限公司 Method, device and computer readable storage medium for constructing virtual assembly
CN114115129A (en) * 2021-11-15 2022-03-01 上海维宏电子科技股份有限公司 Part machining control method and device for converting plane graph into 2.5D model in numerical control system, processor and storage medium thereof

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432704A (en) * 1993-11-23 1995-07-11 Clemson University Adaptive lamina generation for shape dependent process control and/or object decomposition
TW411408B (en) * 1998-11-20 2000-11-11 Ind Tech Res Inst Speed rate control method and equipment in computer numeric control curve path
CN1241079C (en) * 2000-10-26 2006-02-08 西铁城时计株式会社 Method and device for automatically preparing processing program
JP4271159B2 (en) * 2005-02-25 2009-06-03 ファナック株式会社 Interactive numerical controller
US7761183B2 (en) * 2006-02-13 2010-07-20 Sullivan Douglas G Methods and systems for producing numerical control program files for controlling machine tools
US7821513B2 (en) * 2006-05-09 2010-10-26 Inus Technology, Inc. System and method for analyzing modeling accuracy while performing reverse engineering with 3D scan data
CN101506748A (en) * 2006-08-04 2009-08-12 赫克公司 System and method for surface finish management
CN100566951C (en) * 2006-09-28 2009-12-09 首钢莫托曼机器人有限公司 A kind of method that is used for generating robot cutting operation program off-line
CN101211175A (en) * 2006-12-29 2008-07-02 中国科学院沈阳计算技术研究所有限公司 Numerical control system graph-aided macro programming design method
US8185225B2 (en) * 2007-06-06 2012-05-22 Mitsubishi Electric Corporation Program creation apparatus, numerical control apparatus, program creation method
US9459616B2 (en) * 2007-08-03 2016-10-04 Hurco Companies, Inc. Universal conversational programming for machine tool systems
CN101308583B (en) * 2008-07-16 2010-07-14 永凯软件技术(上海)有限公司 Curved surface body line boundary model rebuilding method based on three-views and apparatus thereof
US20100036520A1 (en) * 2008-08-07 2010-02-11 Barbir Wesley V Method of carving three-dimensional artwork
TW201039165A (en) * 2009-04-21 2010-11-01 Lih Jaan Prec Machinery Co Ltd Servo computer numerical control (CNC) system for precision grinding
US8838419B2 (en) * 2011-06-24 2014-09-16 Mitsubishi Electric Research Laboratories, Inc. System and method for simulating machining objects
CN103197605B (en) * 2013-03-15 2015-04-22 重庆大学 Method of CNC automatic programming for gear hobbing based on standard template and expression driving
TWI510874B (en) * 2013-12-31 2015-12-01 Syntec Inc Numerical controller with tooling path repairing fuction and tooling path repairing method thereof
KR102207536B1 (en) * 2014-02-11 2021-01-26 두산공작기계 주식회사 In computer numarical control machine and method using thereof
CN104318607A (en) * 2014-09-29 2015-01-28 陈奕 Method for converting two-dimensional building image into three-dimensional structure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760675B (en) * 2020-01-06 2022-04-11 財團法人工業技術研究院 Method for defect inspection of machining path

Also Published As

Publication number Publication date
CN106843139B (en) 2019-04-16
CN106843139A (en) 2017-06-13
TWI578128B (en) 2017-04-11

Similar Documents

Publication Publication Date Title
TWI578128B (en) The Method of Cutting Path Generation for Dialogue Controller of CNC Machine Tool
CN104460525B (en) Method and system for building method of processing parts
CN106292539B (en) Numerical control programming device, numerical control machining system and method
CN103984288A (en) Automatic graphics parameterized programming system of numerical control honing machine
CN106735464B (en) A kind of slotting milling method of workpiece
CN102615161A (en) Control system of general two-dimensional numerical control spinning lathe
CN102081373B (en) Numerical control system for roll grinder and control method thereof
Oduola et al. A comparative study of product development process using computer numerical control and rapid prototyping methods
KR101405039B1 (en) Manufacturing process automation method and system
KR20100135513A (en) Numerical control system having graphic-based user interface
CN102809943A (en) Intelligent industrial control method
Vardhan et al. Multiaxis CNC programming and machining
Solvang et al. STEP-NC based industrial robot CAM system
CN113377070A (en) Tool method, system and equipment based on virtual manufacturing
TWI448357B (en) Method for grinding cutting tools and grinding machine
Adam et al. Review On Advanced Numerical Control In Manufacturing System
Codruta et al. Aspects concerning the simulation of roughing sculptural wooden surfaces in the concept of 5-CNC axes
Yurov et al. Visualization of metalworking processes in the development of simulation programs for equipment with numerical control
Lindberget Automatic generation of robot targets: A first step towards a flexible robotic solution for cutting customized mesh tray
Baldovino et al. Optimization of machine process parameters through 2D image layout enhancing and ArtCAM post-processing for 3D machining: Support program for the productivity and competitiveness of the metals and engineering industries
JP5763352B2 (en) NC program creation device
Bonnard et al. Integration of rapid manufacturing processes in a high-level numerical chain
KR20050031043A (en) Method for direct controling cnc machine and record medium recorded program thereof
Haddad et al. Intelligent generation of a STEP-NC program for machining prismatic workpiece
박대유 et al. Software Technology Integrated Smart Machine Tool Development for Mold Machining