TWI684841B - Program code generating method and device of multi-axis machine tool for machining inclined plane the same - Google Patents

Program code generating method and device of multi-axis machine tool for machining inclined plane the same Download PDF

Info

Publication number
TWI684841B
TWI684841B TW107131737A TW107131737A TWI684841B TW I684841 B TWI684841 B TW I684841B TW 107131737 A TW107131737 A TW 107131737A TW 107131737 A TW107131737 A TW 107131737A TW I684841 B TWI684841 B TW I684841B
Authority
TW
Taiwan
Prior art keywords
reference plane
machine tool
axis
plane
coordinate conversion
Prior art date
Application number
TW107131737A
Other languages
Chinese (zh)
Other versions
TW202011131A (en
Inventor
邊平遠
Original Assignee
捷準科技股份有限公司
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 捷準科技股份有限公司 filed Critical 捷準科技股份有限公司
Priority to TW107131737A priority Critical patent/TWI684841B/en
Priority to CN201811512450.3A priority patent/CN110883499B/en
Application granted granted Critical
Publication of TWI684841B publication Critical patent/TWI684841B/en
Publication of TW202011131A publication Critical patent/TW202011131A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23PMETAL-WORKING NOT OTHERWISE PROVIDED FOR; COMBINED OPERATIONS; UNIVERSAL MACHINE TOOLS
    • B23P13/00Making metal objects by operations essentially involving machining but not covered by a single other subclass
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1671Programme controls characterised by programming, planning systems for manipulators characterised by simulation, either to verify existing program or to create and verify new program, CAD/CAM oriented, graphic oriented programming systems

Abstract

The present invention relates to a program code generating method of a multi-axis machine tool for machining inclined plane, and makes the machine tool generates a program code for processing a plurality of planes which have different directions featured. The method comprises steps below: an obtaining step which gets directional features of a first reference plane and a second reference plane; a converting step which gets a coordinate conversion parameter by coordinate transforming the directional features between the first reference plane and second reference plane; a testing step which uses the coordinate conversion parameter to process a motion test for a cutter shaft and a working table of the machine tool ; a combination step which generates an assembler code from the coordinate conversion parameter adds a program code for processing the first reference plane, so that the machine tool can process the second reference plane after using the assembler code to process the first reference plane.

Description

加工傾斜平面的多軸工具機的程式碼產生方法及其裝置Method and device for generating code of multi-axis machine tool for processing inclined plane

本發明為一種多軸工具機的程式碼產生方法及其裝置,由指一種加工傾斜平面的多軸工具機的程式碼產生方法及其裝置。The invention is a method and device for generating a code of a multi-axis machine tool, and refers to a method and a device for generating a code of a multi-axis machine tool for processing an inclined plane.

在當前製造工程中,五軸CNC工具機越來越多地用於加工工業。五軸CNC工具機是指一種具有三個正交軸和多個旋轉軸的CNC工具機,該工具機利用主軸使切削刀具旋轉以從工件中移除材料;然後再利用旋轉軸使工件能以一定角度傾斜,以進行傾斜平面加工或動態地重新定向切削刀具來執行複雜的多軸切削加工。然而,由於自由度的增加伴隨著工件設置和工件編程的複雜性的提高,這兩者對於傳統加工操作都是重大的挑戰。In current manufacturing engineering, five-axis CNC machine tools are increasingly used in the processing industry. A five-axis CNC machine tool refers to a CNC machine tool with three orthogonal axes and multiple rotation axes. The machine tool uses a spindle to rotate the cutting tool to remove material from the workpiece; then the rotation axis is used to enable the workpiece to Tilt at a certain angle to perform tilted planar machining or dynamically reorient the cutting tool to perform complex multi-axis cutting. However, as the increased degrees of freedom are accompanied by increased complexity of workpiece setup and workpiece programming, both of these are significant challenges to traditional machining operations.

五軸CNC工具機的實用性有明顯上升的趨勢,可歸因於兩類主要的加工應用。第一個主要應用是製造複雜的幾何形狀,要求精確控制刀具或工件的姿態,以完成複雜的空間幾何形狀的加工。此應用通常是針對複雜的曲面,使用具有不同刀軸偏擺角度的輪廓路徑加工。五軸加工的第二個主要應用是製造需要在多個平面上加工的三軸或四軸工件,通過使用五軸CNC工具機可以減少誤差並提高效率。與傳統的三軸或四軸加工相比,優勢在於操作者無需執行多個設置,重新建立刀具或工件原點偏移設置,並且在受到三軸或四軸工具機限制的情況下,為每個加工工序中建立多個工件程式。這種應用通常被稱為在傾斜平面上的五軸加工,為五軸CNC工具機的主要應用需求。The practicality of the five-axis CNC machine tool has a clear upward trend, which can be attributed to two main types of processing applications. The first main application is the manufacture of complex geometries, which requires precise control of the attitude of the tool or workpiece to complete the processing of complex spatial geometries. This application is usually for complex curved surfaces, using contour paths with different tool axis deflection angles. The second main application of five-axis machining is to manufacture three- or four-axis workpieces that need to be processed on multiple planes. By using a five-axis CNC machine tool, errors can be reduced and efficiency can be improved. Compared with the traditional three-axis or four-axis machining, the advantage is that the operator does not need to perform multiple settings, re-establish the tool or workpiece origin offset setting, and when limited by the three-axis or four-axis machine tool, Create multiple workpiece programs in each processing operation. This application is commonly referred to as 5-axis machining on an inclined plane, and is the main application requirement for 5-axis CNC machine tools.

雖然前述傾斜平面上的五軸加工基本上是在各種工件平面上的三軸加工,但實際上工序流程有著顯著的不同。對於五軸傾斜平面加工,由於需要控制額外的自由度,且工具機台的種類及實際機構的設計亦有所不同,造成加工程序中的位置指令和相對座標系轉換的複雜性大幅增加。Although the aforementioned five-axis machining on the inclined plane is basically a three-axis machining on various workpiece planes, the actual process flow is significantly different. For five-axis inclined plane machining, due to the need to control additional degrees of freedom, and the type of machine tool and the design of the actual mechanism are also different, the complexity of the position command and the relative coordinate system conversion in the machining program is greatly increased.

舉例來說,在傳統三軸CNC加工機對於加工路徑的設定中,只要參考點及刀具的實際作用位置相同,同樣的程式碼可以應用於不同的工具機上,並得到相同的加工結果;但使用五軸CNC加工機來加工在路徑上具有傾斜平面的路徑時,由於牽涉到參考座標系的轉換,且座標系的轉換又牽涉到機台本身的尺寸或種類,因此同樣輪廓路徑的程式碼應用於不同的工具機上時,可能會得到不同的加工形狀,甚至因為五軸CNC加工機的種類不同而無法讀取。For example, in the setting of the processing path of the traditional three-axis CNC machine, as long as the reference point and the actual position of the tool are the same, the same code can be applied to different machine tools and get the same processing result; When using a five-axis CNC machining machine to process a path with an inclined plane on the path, the conversion of the reference coordinate system is involved, and the conversion of the coordinate system also involves the size or type of the machine itself, so the same contour path code When applied to different machine tools, different processing shapes may be obtained, and even the five-axis CNC processing machine may not be readable due to different types.

因此,五軸CNC工具機所執行的工件程序大多需要透過額外的電腦設備,而由專門對應實際運用的工具機的CaD(計算機輔助設計)和CaM(計算機輔助製造)軟體生成,而不同於傳統三軸CNC加工機的工件編程通常可以直接於工具機上透過手動或是控制系統內建的對話式編輯器來完成編程,使得五軸CNC工具機難以直接於機台上即時修改加工編程。Therefore, most of the workpiece programs executed by the five-axis CNC machine tool need to be generated by additional computer equipment, and are generated by CaD (Computer Aided Design) and CaM (Computer Aided Manufacturing) software specifically corresponding to the actual machine tool, which is different from the traditional The workpiece programming of the three-axis CNC machining machine can usually be done directly on the machine tool through manual or the built-in interactive editor of the control system, making it difficult for the five-axis CNC machine tool to modify the machining program directly on the machine.

本發明之主要目的在於提供一種用於加工傾斜平面的多軸工具機的編碼方法,讓使用者能在不需要仰賴外部設備的條件下,直接透過在工具機產生用於加工傾斜平面的程式碼。The main purpose of the present invention is to provide a coding method for a multi-axis machine tool for processing inclined planes, allowing users to directly generate code for processing inclined planes on the machine tool without relying on external equipment .

本發明之次要目的在於提供一種用於加工傾斜平面的多軸工具機,讓使用者能在不需要仰賴外部CaD/CaM系統的條件下,直接透過在工具機產生應用於傾斜平面加工的程式碼。The secondary objective of the present invention is to provide a multi-axis machine tool for machining inclined planes, allowing users to directly generate programs for machining inclined planes without relying on an external CaD/CaM system. code.

為達到上述目的,本發明加工傾斜平面的多軸工具機的程式碼產生方法,使一工具機產生加工具有複數個不同的方向特徵的平面所需的程式碼,包含:一取得步驟、一轉換步驟、一測試步驟及一結合步驟。In order to achieve the above object, the method for generating a code of a multi-axis machine tool for processing inclined planes of the present invention enables a machine tool to generate the code required for processing a plane with a plurality of different directional features, including: an obtaining step and a conversion Steps, a test step and a combination step.

於上述取得步驟中,取得一第一參考平面及一第二參考平面的方向特徵;然後再於轉換步驟中,透過座標轉換取得上述第一參考平面的方向特徵與上述第二參考平面的方向特徵之間的座標轉換參數;更詳細的說,於一實施例中,是透過矩陣運算取得上述座標轉換參數。In the obtaining step, obtain the directional features of a first reference plane and a second reference plane; then in the conversion step, obtain the directional features of the first reference plane and the directional features of the second reference plane through coordinate transformation Coordinate conversion parameters between; in more detail, in an embodiment, the coordinate conversion parameters are obtained through matrix operations.

於上述測試步驟中,利用上述座標轉換參數讓上述工具機的一刀軸及一工作台進行一測試運動,並於確認上述測試運動是否可進行;以避免數學上有解,但實際工具機做不到的問題。In the above test steps, the coordinate conversion parameters are used to allow a cutter axis and a workbench of the machine tool to perform a test movement, and to confirm whether the test movement can be performed; to avoid mathematical solutions, but the actual machine tool does not To the problem.

最後於結合步驟中,將上述座標轉換參數加入一應用於上述第一參考平面加工的程式碼而產生一組合程式碼,使上述工具機能利用上述組合程式碼於上述第一參考平面進行加工後,繼續於上述第二參考平面進行加工。Finally, in the combining step, the coordinate conversion parameter is added to a code applied to the processing of the first reference plane to generate a combined code, so that the tool can use the combined code to process on the first reference plane. Continue processing on the second reference plane.

關於第一參考平面的方向特徵及上述第二參考平面的方向特徵的取得方式,於一實施例中,上述第一參考平面的方向特徵是透過預設的方式產生;上述第二參考平面的方向特徵是透過感測一定位件的位置的感測器產生複數個位置參數後,由複數個上述位置參數產生;其中,該預設平面特徵於不同實施例中可為一水平面的平面特徵或可由上述工具機的運動軸的方向來決定;該定位件於不同實施例中可以為一刀頭的邊緣或是尖端、又或是一探針,亦可以是用以夾持並移動一加工件的工作台;上述感測器於不同實施例中可以透過感測上述定位件的位置或是運動方式來產生上述位置參數。Regarding the way of acquiring the directional feature of the first reference plane and the directional feature of the second reference plane, in an embodiment, the directional feature of the first reference plane is generated by a preset method; the direction of the second reference plane The feature is that after generating a plurality of position parameters through a sensor that senses the position of a positioning element, the position parameters are generated from the plurality of position parameters; wherein, the preset plane feature may be a horizontal plane feature in different embodiments or may be The direction of the motion axis of the above machine tool is determined; in different embodiments, the positioning member may be the edge or tip of a cutter head, or a probe, or may be used to hold and move a work piece. In different embodiments, the sensor can generate the position parameter by sensing the position or movement of the positioning element.

於另一實施例中,中,上述第一參考平面的方向特徵及上述第二參考平面的方向特徵是由透過一3D模型取得。In another embodiment, the directional feature of the first reference plane and the directional feature of the second reference plane are obtained through a 3D model.

此外,為了使刀頭尖端的旋轉中心不與加工間接觸而影響加工,於一實施例中,在上述取得步驟中,可進一步取得上述工具機的一刀軸與上述第二參考平面之間的夾角。In addition, in order to prevent the rotation center of the tip of the cutter head from being in contact with the machining and affecting the machining, in one embodiment, in the obtaining step, an angle between a cutter axis of the machine tool and the second reference plane may be further obtained .

而本發明所提供的加工傾斜平面的多軸工具機,能產生加工具有複數個不同的方向特徵的平面所需的程式碼,具有受到所控制的三個不同方向的直線軸及兩個旋轉軸帶動而進行相對運動的工作台及刀頭,上述工具機包含:一取得模組、一計算模組及一結合模組。The multi-axis machine tool for processing inclined planes provided by the present invention can generate codes required for processing planes with a plurality of different directional characteristics, and has three linear axes and two rotation axes controlled by different directions The working table and the cutter head that are driven to perform relative motion. The above machine tool includes: an acquisition module, a calculation module and a combination module.

上述取得模組,用以取得上述第一參考平面及上述第二參考平面的方向特徵;上述計算模組,透過座標轉換取得上述第一參考平面的方向特徵與上述第二參考平面的方向特徵之間的座標轉換參數;而上述結合模組,將上述座標轉換參數加入一應用於上述工具機的程式碼而產生一組合程式碼,使上述工具機利用上述組合程式碼加工具有複數個不同方向特徵的平面。The obtaining module is used to obtain the directional characteristics of the first reference plane and the second reference plane; the calculation module obtains the directional characteristics of the first reference plane and the directional characteristics of the second reference plane through coordinate conversion Coordinate conversion parameters between; the above-mentioned combination module adds the coordinate conversion parameters to a code applied to the machine tool to generate a combined code, so that the machine tool uses the combined code to process a plurality of different direction features Plane.

其中,上述計算模組計算出上述座標轉換參數後,上述工具機將利用上述座標轉換參數使上述刀頭及上述工作台進行一測試運動,確認上述測試運動可進行後,才作動上述結合模組。After the calculation module calculates the coordinate conversion parameters, the machine tool will use the coordinate conversion parameters to make the cutter head and the worktable perform a test movement. After confirming that the test movement can be performed, the combination module is activated. .

關於上述取得模組的詳細種類,於一實施例中,上述取得模組包含至少一感測一定位件的位置的感測器;上述第二參考平面的方向特徵是透過上述感測器產生複數個位置參數後,由複數個上述位置參數產;於同實施例中,上述第一參考平面的方向特徵是透過預設的方式產生,但是並沒有限制產生上述第一參考平面的方向特徵的裝置種類。Regarding the detailed types of the acquisition module, in one embodiment, the acquisition module includes at least one sensor that senses the position of a positioning element; the directional feature of the second reference plane is a complex number generated by the sensor After a position parameter, it is generated by a plurality of the above position parameters; in the same embodiment, the direction feature of the first reference plane is generated by a preset method, but there is no limit to the device that generates the direction feature of the first reference plane species.

於另一實施例中,上述取得模組包含一用以輸入一3D模型的模型讀取裝置,上述第一參考平面的方向特徵及上述第二參考平面的方向特徵是由透過上述3D模型取得。In another embodiment, the acquiring module includes a model reading device for inputting a 3D model. The directional features of the first reference plane and the directional features of the second reference plane are acquired through the 3D model.

為了方便使用者能直接觀察到上述第一參考平面及上述第二參考平面之間的空間關係,於一實施例中,上述工具機包含一對話式操作介面,能於一虛擬空間中顯示上述第一參考平面及上述第二參考平面之間的空間關係。In order to facilitate the user to directly observe the spatial relationship between the first reference plane and the second reference plane, in one embodiment, the machine tool includes a conversational operation interface, which can display the first reference plane in a virtual space. The spatial relationship between a reference plane and the above-mentioned second reference plane.

由以上說明可知,本發明的特點在於在不需要仰賴外部CaD / CaM系統條件下,就能直接透過工具機產生加工多個傾斜面加工的加工編程。透過將多個傾斜平面各自設置為具有位置、方向的個別獨立的工作座標系,使得在編碼時,只要知道於該傾斜平面上的座標參考點位置以及於該傾斜平面上的加工路徑,即可透過座標轉換參數而在該平面上使用類似一般於水平面加工時的輸入參數進行路徑設定;且其中,於產生座標轉換參數後,工具機還會實際測試是否能於上述座標轉換參數所轉換出來的座標平面上進行運動,確保該座標轉換參數能實際進行運用,As can be seen from the above description, the present invention is characterized in that it can directly generate machining programming for machining multiple inclined surfaces through the machine tool without relying on the external CaD/CaM system. By setting a plurality of inclined planes as independent working coordinate systems with positions and directions, it is sufficient to know the position of the coordinate reference point on the inclined plane and the processing path on the inclined plane when coding Through the coordinate conversion parameters, the path setting on the plane is similar to the input parameters generally used in horizontal plane processing; and among them, after the coordinate conversion parameters are generated, the machine tool will actually test whether it can be converted by the above coordinate conversion parameters Movement on the coordinate plane to ensure that the coordinate conversion parameters can be actually used,

使CNC工具機能確實的根據該座標轉換參數及加工該傾斜平面的加工指令,自動地透過機器運動學計算來重新定位實際的工件或切削刀具的加工控制來執行每個傾斜平面上的加工,而能輕易地完成五軸傾斜平面工件的加工程序。The CNC tool function can reliably reposition the actual workpiece or cutting tool through the machine kinematics calculation according to the coordinate conversion parameters and the processing instructions for processing the inclined plane to execute the processing on each inclined plane, and It can easily complete the processing program of five-axis inclined plane workpieces.

茲為便於更進一步對本發明之構造、使用及其特徵有更深一層明確、詳實的認識與瞭解,爰舉出較佳實施例,配合圖式詳細說明如下:In order to facilitate a deeper and more clear and detailed understanding and understanding of the structure, use and characteristics of the present invention, the preferred embodiment is cited, and the detailed description in conjunction with the drawings is as follows:

請參照圖1至圖3所示,本發明所提供的加工傾斜平面的多軸工具機10,透過執行本發明所提供的加工傾斜平面的多軸工具機10的程式碼產生方法來加工一加工件30,於一較佳實施例中,上述工具機10包含一工作頭部11、一用以固定上述加工件30的工作台12、一用以執行上述程式碼產生方法的取得模組20、一計算模組21、一結合模組22、一記憶模組23以及一程式執行模組24。Please refer to FIGS. 1 to 3, the multi-axis machine tool 10 for processing inclined planes provided by the present invention can process a process by executing the code generation method of the multi-axis machine tool 10 for processing inclined planes provided by the present invention In a preferred embodiment, the machine tool 10 includes a working head 11, a workbench 12 for fixing the processing member 30, and an acquisition module 20 for executing the above code generation method. A computing module 21, a combination module 22, a memory module 23, and a program execution module 24.

如圖1所示,於本實施例中,上述工作頭部11裝設有一刀頭111,上述刀頭111受到一S軸伺服馬達112帶動而於一刀軸112a上進行旋轉以加工上述加工件30,上述工作頭部11受到一X軸伺服馬達113、一Z軸伺服馬達114及一B軸伺服馬達115(圖1未示)帶動而可於使上述刀頭111於一平行於地面的X軸113a及一垂直於地面的Z軸114a上運動、並於一B軸115a上進行旋轉。As shown in FIG. 1, in the present embodiment, the working head 11 is equipped with a cutter head 111, which is driven by an S-axis servo motor 112 to rotate on a cutter shaft 112 a to process the machining piece 30 The working head 11 is driven by an X-axis servo motor 113, a Z-axis servo motor 114, and a B-axis servo motor 115 (not shown in FIG. 1) to make the cutter head 111 parallel to the X axis of the ground 113a and a Z axis 114a perpendicular to the ground move and rotate on a B axis 115a.

關於上述工作台12,於本實施例中,上述工作台12具有一受到一C軸伺服馬達121帶動而可於一C軸121a上旋轉的第一旋轉台13,上述第一旋轉台13連接一受到一A軸伺服馬達122帶動而可於一垂直於上述C軸121a的A軸122a上旋轉的第二旋轉台14,且上述第二旋轉台14還受到一Y軸伺服馬達123帶動而可於一同時垂直於上述Z軸114a及上述X軸113a的Y軸123a上做直線運動,使得固定於上述工作台12的上述加工件30與上述刀頭111之間能在6個自由度上進行相對運動。Regarding the above-mentioned table 12, in this embodiment, the above-mentioned table 12 has a first rotating table 13 driven by a C-axis servo motor 121 to rotate on a C-axis 121a. The first rotating table 13 is connected to a Driven by an A-axis servo motor 122, the second rotating table 14 can rotate on an A-axis 122a perpendicular to the C-axis 121a, and the second rotating table 14 is also driven by a Y-axis servo motor 123. A linear motion is performed on the Y axis 123a perpendicular to the Z axis 114a and the X axis 113a at the same time, so that the workpiece 30 fixed to the table 12 and the cutter head 111 can be opposed in 6 degrees of freedom movement.

請參考圖3所示,上述取得模組20用以取得一應用於加工的第一參考平面40及一應用於加工第二參考平面41的特徵資訊,上述特徵資訊包含位於一參考點位置以及用以對應於該參考平面的方向特徵;在硬體上,上述取得模組20包含複數個感測定位件的位置的感測器201,一供使用者輸入參數資料的參數輸入單元202以及一用以接收一外部電子裝置所產生的資料的外部輸入單元203。Please refer to FIG. 3, the above acquiring module 20 is used to acquire a first reference plane 40 for processing and a second reference plane 41 for processing feature information, the feature information includes a reference point position and In order to correspond to the directional characteristics of the reference plane; on hardware, the acquisition module 20 includes a plurality of sensors 201 that sense the position of the positioning element, a parameter input unit 202 for the user to input parameter data, and a An external input unit 203 for receiving data generated by an external electronic device.

在不同的實施例中,上述定位件可為安裝在上述工作頭部11的刀頭111或是探針,透過感測上述刀頭111或上述探針與上述加工間接觸的邊緣或是尖端位置來取得複數個位置座標;或可為上述工作台12,利用上述工作台12移動上述加工件30時的位置來取得上述位置座標而取得複數個位置參數,以便之後利用上述複數個位置參數定位出定義上述第一、第二參考平面40、41的上述參考點及上述方向特徵;其中,上述感測器201可以是安裝於各軸上來感測上述定位件於移動後位置的回饋編碼器,亦可以是感測各軸上的上述定位件的動作變化量來取得上述複數個位置參數;上述參數輸入單元202可為一設置在上述工具機10的鍵盤及滑鼠,上述外部輸入單元203可為一連接USB或是網路的接口,以作為一3D模型的模型讀取裝置。In different embodiments, the positioning member may be a cutter head 111 or a probe mounted on the working head 11 by sensing the edge or tip position of the cutter head 111 or the probe and the processing contact To obtain a plurality of position coordinates; or for the table 12, use the position of the table 12 when moving the workpiece 30 to obtain the position coordinates and obtain a plurality of position parameters, so as to use the plurality of position parameters to locate Define the reference point and the direction feature of the first and second reference planes 40, 41; wherein, the sensor 201 may be a feedback encoder mounted on each axis to sense the position of the positioning member after movement, and The plurality of position parameters may be acquired by sensing the movement variation of the positioning member on each axis; the parameter input unit 202 may be a keyboard and a mouse provided on the machine tool 10, and the external input unit 203 may be An interface connected to a USB or a network is used as a 3D model reading device.

上述計算模組21,用以在取得上述第一參考平面40的方向特徵與上述第二參考平面41的方向特徵後,上述計算模組21透過座標轉換來取得上述第一參考平面40的方向特徵與上述第二參考平面41的方向特徵之間的座標轉換參數50。The calculation module 21 is used to obtain the directional characteristics of the first reference plane 40 through coordinate transformation after acquiring the directional characteristics of the first reference plane 40 and the directional characteristics of the second reference plane 41 The coordinate conversion parameter 50 between the directional features of the second reference plane 41 described above.

上述結合模組22,用以將上述座標轉換參數50加入一應用於上述工具機10去執行加工的程式碼而產生一組合程式碼60,使上述工具機10利用上述組合程式碼60加工具有複數個不同方向特徵的平面。The combination module 22 is used to add the coordinate conversion parameter 50 to a program code applied to the machine tool 10 to perform processing to generate a combined program code 60, so that the machine tool 10 uses the combined program code 60 to process a complex number Feature planes with different directions.

關於上述工具機10及上述程式碼產生方法的具體作動流程,請參考圖2所示,本發明所提供的工具機10於一實施例中,可以利用三種不同的方式取得上述第一參考平面40及上述第二參考平面41的平面特徵,分別為:手動實際的操作上述工具機10的刀頭111或是工作台12取得、手動直接輸入參數取得以及透過3D模型的檔案來取得等三種方式,以下將分別敘述上述三種方式的實際作動流程。For the specific operation flow of the machine tool 10 and the method for generating the code, please refer to FIG. 2. In an embodiment of the machine tool 10 provided by the present invention, the first reference plane 40 can be obtained by three different methods. The plane characteristics of the second reference plane 41 are: three methods: manually and actually operating the cutter head 111 or the table 12 of the machine tool 10, manually inputting parameters directly, and obtaining through a 3D model file. The actual operation flow of the above three methods will be described below.

於本實施例中透過手動實際的操作上述工具機10的刀軸112a或是工作台12取得上述方向特徵的方式,請參考圖1至圖5所示,首先,執行上述取得步驟:於上述取得步驟中,操作人員先將上述加工件30設置於上述工作台12上,並於上述對話式操作介面70的傾斜平面設定介面71的對話式程式編輯介面73上選擇一手動操作輸入模式701,然後透過作為上述參數輸入單元202的手動寸動(JOG)輸入或如圖中的手動脈衝產生器(MPG)來操作上述工具機10,讓上述工作台12及上述刀軸112a產生相對移動,並讓安裝於上述刀軸112a上的刀頭111或探針接觸上述加工件30,然後讓上述工具機10讀取安裝於上述工具機10上的上述感測器201的反饋,將以將物理信號轉換對應實際的座標位置的複數個上述位置參數,最後透過複數個上述位置參數定義出上述第一參考平面40及上述第二參考平面41及其方向特徵,然後透過上述對話式操作介面70中的一3D模型可視化介面72顯示於一連接上述工具機10的螢幕上,讓使用者能在上述螢幕上顯示一虛擬空間中的上述第一參考平面40及上述第二參考平面41之間的空間關係,並將上述方向特徵傳送至上述計算模組21。In this embodiment, by manually operating the cutter shaft 112a of the machine tool 10 or the table 12 to obtain the above directional characteristics, please refer to FIGS. 1 to 5. First, perform the above obtaining step: In the step, the operator first sets the processing piece 30 on the workbench 12 and selects a manual operation input mode 701 on the dialogue program editing interface 73 of the inclined plane setting interface 71 of the dialogue operation interface 70, and then Operate the machine tool 10 through a manual jog (JOG) input as the parameter input unit 202 or a manual pulse generator (MPG) as shown in the figure, so that the table 12 and the cutter shaft 112a are relatively moved, and let The cutter head 111 or the probe mounted on the cutter shaft 112a contacts the workpiece 30, and then the machine tool 10 reads the feedback of the sensor 201 mounted on the machine tool 10 to convert the physical signal A plurality of the above position parameters corresponding to the actual coordinate position, and finally defining the first reference plane 40 and the second reference plane 41 and their directional characteristics through the plurality of position parameters, and then through one of the dialogue-based operating interfaces 70 The 3D model visualization interface 72 is displayed on a screen connected to the machine tool 10 so that the user can display the spatial relationship between the first reference plane 40 and the second reference plane 41 in a virtual space on the screen, And transmit the above-mentioned direction feature to the above-mentioned calculation module 21.

然後,如圖4、圖5所示,上述計算模組21取得上述第一參考平面40及上述第二參考平面41的方向特徵後,透過矩陣運算進行座標轉換計算而取得上述第一參考平面40的方向特徵與上述第二參考平面41的方向特徵之間的座標轉換參數50,並透過上述對話式操作介面70中的一3D模型可視化介面72將結果顯示出來;Then, as shown in FIGS. 4 and 5, after the calculation module 21 obtains the directional characteristics of the first reference plane 40 and the second reference plane 41, the coordinate conversion calculation is performed through matrix calculation to obtain the first reference plane 40 The coordinate conversion parameter 50 between the directional features of the second reference plane 41 and the directional features of the second reference plane 41, and the results are displayed through a 3D model visualization interface 72 in the dialogic operating interface 70;

舉例來說,如圖5所示,假設第一參考平面40與第二參考平面41之間的相對關係可以透過描述第二參考平面41相對於第第一參考平面40於Z軸,新的X軸和新的Z軸的進行系列的旋轉而得。那麼只要透過Z1、新的X和新的Z軸的三個角度I、J、K與X、Y、Z中的平移相結合,就可以由上述第一參考平面40的特徵來描述上述第二參考平面41。於本實施例中,當G代碼進行編程時,這樣的表示法通常用一名為傾斜的工作平面命令“G68.2 X_ Y_ Z_ I_ J_ K_”的形式表示(可參照圖7)。這意指任何後續的各軸命令都將由工具機10的CNC系統透過使用上述傾斜的加工面命令所指定的新座標系執行。For example, as shown in FIG. 5, assume that the relative relationship between the first reference plane 40 and the second reference plane 41 can be described by describing the second reference plane 41 relative to the first reference plane 40 on the Z axis, the new X The axis and the new Z axis are obtained by a series of rotations. Then, as long as the three angles I, J, K of Z1, new X, and new Z axes are combined with the translation in X, Y, and Z, the second reference plane 40 can be used to describe the second Reference plane 41. In this embodiment, when the G code is programmed, such a notation is usually expressed in the form of a tilted work plane command "G68.2 X_Y_Z_I_J_K_" (refer to FIG. 7). This means that any subsequent axis commands will be executed by the CNC system of the machine tool 10 through the use of the new coordinate system specified by the tilted machining plane command.

其中,上述記憶模組23能將上述座標轉換參數50儲存起來儲存於上述記憶模組23中所建立的一傾斜平面資料庫231中,將對應不同的傾斜平面的上述座標轉換參數50以不同的ID進行區分的方式進行分類,供後續運用時能快速取得適用於該第一參考平面40及該第二參考平面41之間關係的上述座標轉換參數50。The memory module 23 can store the coordinate conversion parameters 50 in a tilt plane database 231 created in the memory module 23, and the coordinate conversion parameters 50 corresponding to different tilt planes can be different The IDs are classified in a distinguishing manner, so that the coordinate conversion parameters 50 applicable to the relationship between the first reference plane 40 and the second reference plane 41 can be quickly obtained during subsequent use.

之後,上述結合模組22讀取上述座標轉換參數50,然後利用一對話式程式編輯介面73或是一G代碼編輯介面74的其中一種來將應用在上述工具機10的程式碼(G代碼)中加入上述座標轉換參數50,而產生一組合程式碼60,並儲存於上述記憶模組23的一區域程式儲存器232中,讓上述工具機10能透過上述程式執行模組24的一區域程式執行單元241(G代碼解釋器/編輯器/動作核心)於讀取上述組合程式碼60後,透過上述程式執行模組24的一運動控制硬體介面242分別去控制上述X、Y、Z、A、B、C軸伺服馬達113、123、114、122、115、121,使上述工具機10能依照上述組合程式碼60加工具有複數個不同方向特徵的平面;其中,在本實施例中,上述區域程式儲存器232還連接一外部檔案輸入/輸出装置76(例如上述網路的接口),能將上述組合程式碼60由外部裝置輸入/輸出至其他的裝置中。After that, the combination module 22 reads the coordinate conversion parameters 50, and then uses one of a conversational program editing interface 73 or a G code editing interface 74 to apply the program code (G code) of the machine tool 10 The coordinate conversion parameter 50 is added to generate a combined program code 60 and stored in a regional program storage 232 of the memory module 23, so that the machine tool 10 can execute a regional program of the module 24 through the program The execution unit 241 (G code interpreter/editor/action core) reads the above-mentioned combined program code 60, and controls the above-mentioned X, Y, Z, and Z through a motion control hardware interface 242 of the above-mentioned program execution module 24, respectively. The A, B, and C axis servo motors 113, 123, 114, 122, 115, 121 enable the machine tool 10 to process a plurality of planes with features in different directions according to the combination code 60; wherein, in this embodiment, The local program storage 232 is also connected to an external file input/output device 76 (such as the network interface), which can input/output the combined program code 60 from an external device to other devices.

其中,於上述轉換步驟及上述結合步驟之間包含一測試步驟;於上述測試步驟中,上述工具機10將利用上述座標轉換參數50使上述刀頭111及上述工作台12實際進行一測試運動,以確認是否能於上述第二參考平面41上進行加工,並於確認上述測試運動可進行後才進行上述結合步驟。Among them, a test step is included between the conversion step and the combining step; in the test step, the machine tool 10 will use the coordinate conversion parameter 50 to make the cutter head 111 and the table 12 actually perform a test movement, In order to confirm whether it is possible to process on the second reference plane 41, and only after confirming that the test movement can be performed, the combining step is performed.

其中,關於上述組合程式碼60的詳細內容,請參考圖7所示,在本實施例中,上述組合程式碼60可以於上述G代碼編輯介面74進行編輯,其中,上述組合程式碼60包含一使上述工具機10於上述第一參考平面40運動的第一程式碼61(圖7中程式碼的前半的部分)及一使上述工具機10於上述第二參考平面41運動的第二程式碼62(圖7中程式碼的後半的部分),且上述第二程式碼62包含於最前面的上述座標轉換參數50以及後續使上述工具機10的上述刀軸112a及上述工作台12相對於一參考點並於上述第二參考平面41上進行相對運動的動作程式碼620。For the details of the above-mentioned combination code 60, please refer to FIG. 7, in this embodiment, the above-mentioned combination code 60 can be edited on the above-mentioned G-code editing interface 74, where the above-mentioned combination code 60 includes a The first code 61 (the first half of the code in FIG. 7) that moves the machine tool 10 on the first reference plane 40 and a second code that moves the machine tool 10 on the second reference plane 41 62 (the second half of the code in FIG. 7), and the second code 62 includes the coordinate conversion parameter 50 at the forefront and subsequently causes the cutter shaft 112a of the machine tool 10 and the table 12 to be relative to a An action code 620 that refers to a point and performs relative movement on the second reference plane 41.

為了在圖7中方便插入上述座標轉換參數50,如圖6所示,上述對話式操作介面70具有一管理介面75,讓使用者能以該上述管理介面75利用上述ID進行管理;其中,於該管理介面75中,除了直接以表示方向特徵的數字及ID顯示上述座標轉換參數50的種類外,上述管理介面75一樣包含上述3D模型可視化介面72以預覽顯示出一呈現上述第一參考平面40及上述第二參考平面41於空間中關係的3D視圖。In order to conveniently insert the coordinate conversion parameter 50 in FIG. 7, as shown in FIG. 6, the conversational operation interface 70 has a management interface 75 that allows the user to manage the ID using the management interface 75; In the management interface 75, in addition to directly displaying the types of the coordinate conversion parameters 50 with numbers and IDs indicating direction features, the management interface 75 also includes the 3D model visualization interface 72 to preview and display a first reference plane 40 And a 3D view of the relationship between the second reference plane 41 in space.

最後關於上述手動直接輸入參數或是透過3D模型檔案來取得上述第一參考平面40及上述第二參考平面41的方向特徵的方式,請參考圖8及圖9所示。Finally, please refer to FIG. 8 and FIG. 9 for the manner of obtaining the directional characteristics of the first reference plane 40 and the second reference plane 41 by directly inputting the parameters manually or through a 3D model file.

如圖8所示,當操作者決定透過手動直接輸入參數來產生上述第一參考平面40及上述第二參考平面41的方向特徵時,啟動上述傾斜平面設定介面71的一參數輸入模式702,如圖所示,於該模式中,可以利三個點來定義平面,或者兩個線來定義兩個軸。一旦輸入了必要的座標數據,CAD引擎將繪製可以通過擷取另一個原點或方位的映射轉換,來執行進一步的配置;且輸入後,一樣能透過上述3D模型可視化介面72預覽顯示上述第一參考平面40及上述第二參考平面41之間的空間關係。在定義了上述第一參考平面40及上述第二參考平面41後,一樣可以將結果保存於上述記憶模組23中;至於使用本方法於後續流程中上述工具機10是如何利用產生出來的上述第一參考平面40及上述第二參考平面41去產生上述座標轉換參數50以及如何進行後續加工的部份,由於前述段落已說明,在此就不加以贅述。As shown in FIG. 8, when the operator decides to directly input parameters to generate the directional characteristics of the first reference plane 40 and the second reference plane 41, a parameter input mode 702 of the inclined plane setting interface 71 is activated, such as As shown in the figure, in this mode, three points can be used to define a plane, or two lines to define two axes. Once the necessary coordinate data is entered, the CAD engine will draw a map transformation that can capture another origin or orientation to perform further configuration; and after input, it can also preview and display the above first through the 3D model visualization interface 72 The spatial relationship between the reference plane 40 and the above-mentioned second reference plane 41. After the first reference plane 40 and the second reference plane 41 are defined, the results can be saved in the memory module 23 as well; as for how the machine tool 10 uses the generated The first reference plane 40 and the second reference plane 41 are used to generate the coordinate conversion parameters 50 and how to perform subsequent processing. Since the foregoing paragraphs have been described, they will not be repeated here.

最後,關於透過3D模型檔案取得上述第一參考平面40及上述參考平面的方向特徵時,請參考圖9所示,首先,啟動上述傾斜平面設定介面71的一3D模型輸入模式703,然後透過上述輸入裝置取得預先建立的3D檔案(在本實施例中可為STEP或是IGES檔),然後再透過上述輸入裝置(可為一滑鼠標或是一觸摸螢幕)點選上述3D模型而設置出上述第一參考平面40。之後,透過上述輸入裝置在上述3D模型上選擇其他的點、軸或平面來選擇設置上述第二參考平面41,並將結果透過上述3D模型可視化介面72顯示於上述銀幕出來以進行驗證。一樣,當定義了上述第一參考平面40及上述第二參考平面41後,可以將其保存到上述記憶模組23中儲存,且同樣的,使用本方法於後續流程中上述工具機10是如何產生上述座標轉換參數50以及如何進行後續加工的部份,由於前述段落已說明,在此就不加以贅述。Finally, for obtaining the first reference plane 40 and the directional characteristics of the reference plane through the 3D model file, please refer to FIG. 9, first, activate a 3D model input mode 703 of the inclined plane setting interface 71, and then through the above The input device obtains a pre-created 3D file (in this embodiment, it can be a STEP or IGES file), and then clicks on the 3D model through the input device (which can be a mouse or a touch screen) to set the above The first reference plane 40. After that, another point, axis or plane is selected on the 3D model through the input device to select and set the second reference plane 41, and the result is displayed on the screen through the 3D model visualization interface 72 for verification. Similarly, when the first reference plane 40 and the second reference plane 41 are defined, they can be stored in the memory module 23 and stored, and similarly, how the machine tool 10 is used in the subsequent process using this method The above-mentioned coordinate conversion parameter 50 and how to perform subsequent processing are described in the foregoing paragraphs, and will not be repeated here.

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

10‧‧‧工具機10‧‧‧Tool machine

11‧‧‧工作頭部11‧‧‧Working head

111‧‧‧刀頭111‧‧‧Blade

112‧‧‧S軸伺服馬達112‧‧‧S-axis servo motor

112a‧‧‧刀軸112a‧‧‧Shaft

113‧‧‧X軸伺服馬達113‧‧‧X axis servo motor

113a‧‧‧X軸113a‧‧‧X axis

114‧‧‧Z軸伺服馬達114‧‧‧Z-axis servo motor

114a‧‧‧Z軸114a‧‧‧Z axis

115‧‧‧B軸伺服馬達115‧‧‧B axis servo motor

115a‧‧‧B軸115a‧‧‧B axis

12‧‧‧工作台12‧‧‧Workbench

121‧‧‧C軸伺服馬達121‧‧‧C axis servo motor

121a‧‧‧C軸121a‧‧‧C axis

122‧‧‧A軸伺服馬達122‧‧‧A axis servo motor

122a‧‧‧A軸122a‧‧‧A axis

123‧‧‧Y軸伺服馬達123‧‧‧Y axis servo motor

123a‧‧‧Y軸123a‧‧‧Y axis

13‧‧‧第一旋轉台13‧‧‧The first rotary table

14‧‧‧第二旋轉台14‧‧‧Second rotary table

20‧‧‧取得模組20‧‧‧ Get Module

201‧‧‧感測器201‧‧‧Sensor

202‧‧‧參數輸入單元202‧‧‧parameter input unit

203‧‧‧外部輸入單元203‧‧‧External input unit

21‧‧‧計算模組21‧‧‧computing module

22‧‧‧結合模組22‧‧‧Combined module

23‧‧‧記憶模組23‧‧‧Memory module

231‧‧‧傾斜平面資料庫231‧‧‧Tilt plane database

232‧‧‧區域程式儲存器232‧‧‧Regional program memory

24‧‧‧程式執行模組24‧‧‧Program execution module

241‧‧‧區域程式執行單元241‧‧‧ regional program execution unit

242‧‧‧運動控制硬體介面242‧‧‧Motion control hardware interface

30‧‧‧加工件30‧‧‧Machined parts

40‧‧‧第一參考平面40‧‧‧First reference plane

41‧‧‧第二參考平面41‧‧‧second reference plane

50‧‧‧座標轉換參數50‧‧‧Coordinate conversion parameters

60‧‧‧組合程式碼60‧‧‧Combined code

61‧‧‧第一程式碼61‧‧‧ First code

62‧‧‧第二程式碼62‧‧‧ Second code

620‧‧‧動作程式碼620‧‧‧Action code

70‧‧‧對話式操作介面70‧‧‧Dialog operation interface

701‧‧‧手動操作輸入模式701‧‧‧Manual operation input mode

702‧‧‧參數輸入模式702‧‧‧Parameter input mode

703‧‧‧3D模型輸入模式703‧‧‧3D model input mode

71‧‧‧傾斜平面設定介面71‧‧‧Tilt plane setting interface

72‧‧‧3D模型可視化介面72‧‧‧3D model visualization interface

73‧‧‧對話式程式編輯介面73‧‧‧Interactive programming interface

74‧‧‧G代碼編輯介面74‧‧‧G code editing interface

75‧‧‧管理介面75‧‧‧ Management interface

76‧‧‧外部檔案輸入/輸出装置76‧‧‧External file input/output device

圖1為本發明加工傾斜平面的多軸工具機的硬體示意圖; 圖2為圖1工具的的硬體方塊示意圖; 圖3為本發明加工傾斜平面的多軸工具機的程式碼產生方法於一實施例中的功能流程圖; 圖4為圖3的實施例中,透過手動操作工具機執行取得步驟的介面說明示意圖; 圖5為圖3的實施例中,如何透過對話式操作介面產生座標轉換參數的說明示意圖; 圖6為圖3的實施例中,管理座標轉換參數的管理介面示意圖; 圖7為圖3的實施例中,管理動作程式碼的介面示意圖。 圖8為圖3的實施例中,透過輸入參數執行取得步驟的介面說明示意圖; 圖9為圖3的實施例中,透過3D模型執行取得步驟的介面說明示意圖。1 is a schematic diagram of the hardware of the multi-axis machine tool for processing inclined planes according to the present invention; FIG. 2 is a schematic diagram of the hardware block of the tool of FIG. 1; A functional flowchart in an embodiment; FIG. 4 is a schematic diagram of an interface for performing an obtaining step by manually operating a machine tool in the embodiment of FIG. 3; FIG. 5 is how to generate coordinates through a dialog-based operating interface in the embodiment of FIG. 3 A schematic diagram for explaining conversion parameters; FIG. 6 is a schematic diagram of a management interface for managing coordinate conversion parameters in the embodiment of FIG. 3; FIG. 7 is a schematic diagram of an interface for managing action codes in the embodiment of FIG. FIG. 8 is a schematic diagram of an interface for performing an obtaining step through input parameters in the embodiment of FIG. 3; FIG. 9 is a schematic diagram of an interface for performing an obtaining step through a 3D model in the embodiment of FIG.

112‧‧‧S軸伺服馬達 112‧‧‧S-axis servo motor

113‧‧‧X軸伺服馬達 113‧‧‧X axis servo motor

114‧‧‧Z軸伺服馬達 114‧‧‧Z-axis servo motor

115‧‧‧B軸伺服馬達 115‧‧‧B axis servo motor

121‧‧‧C軸伺服馬達 121‧‧‧C axis servo motor

122‧‧‧A軸伺服馬達 122‧‧‧A axis servo motor

123‧‧‧Y軸伺服馬達 123‧‧‧Y axis servo motor

231‧‧‧傾斜平面資料庫 231‧‧‧Tilt plane database

232‧‧‧區域程式儲存器 232‧‧‧Regional program memory

241‧‧‧區域程式執行單元 241‧‧‧ regional program execution unit

242‧‧‧運動控制硬體介面 242‧‧‧Motion control hardware interface

71‧‧‧傾斜平面設定介面 71‧‧‧Tilt plane setting interface

72‧‧‧3D模型可視化介面 72‧‧‧3D model visualization interface

73‧‧‧對話式程式編輯介面 73‧‧‧Interactive programming interface

74‧‧‧G代碼編輯介面 74‧‧‧G code editing interface

76‧‧‧外部檔案輸入/輸出裝置 76‧‧‧External file input/output device

Claims (4)

一種加工傾斜平面的多軸工具機的程式碼產生方法,使一工具機產生加工具有複數個不同的方向特徵的平面所需的程式碼,包含:一取得步驟,取得一第一參考平面及一第二參考平面的方向特徵;一轉換步驟,透過座標轉換取得上述第一參考平面的方向特徵與上述第二參考平面的方向特徵之間的座標轉換參數;一測試步驟,利用上述座標轉換參數讓上述工具機的一刀軸及一工作台進行一測試運動,並於確認上述測試運動是否可進行;一結合步驟,於上述測試運動可進行時,將上述座標轉換參數加入一應用於上述第一參考平面加工的程式碼而產生一組合程式碼,使上述工具機能利用上述組合程式碼於上述第一參考平面進行加工後,繼續於上述第二參考平面進行加工;其中,上述第一參考平面的方向特徵及上述第二參考平面的方向特徵的產生方式包含:上述第一參考平面的方向特徵是透過預設的方式產生;上述第二參考平面的方向特徵是透過感測一定位件的位置的感測器產生複數個位置參數後,由複數個上述位置參數產生;或者,上述第一參考平面的方向特徵及上述第二參考平面的方向特徵是由透過一3D模型取得;的兩種方式的其中一種。 A method for generating a code of a multi-axis machine tool for processing inclined planes to enable a machine tool to generate a code required for processing a plane with a plurality of different directional characteristics, including: an obtaining step, obtaining a first reference plane and a The direction feature of the second reference plane; a conversion step, the coordinate conversion parameter between the direction feature of the first reference plane and the direction feature of the second reference plane is obtained through coordinate conversion; a test step, using the coordinate conversion parameter A cutter axis and a workbench of the above machine tool perform a test movement, and confirm whether the above test movement can be performed; a combination step, when the above test movement can be performed, add the above coordinate conversion parameters to one to apply to the first reference The plane processing code generates a combined code, so that the tool can use the combined code to process on the first reference plane, and then continue processing on the second reference plane; wherein, the direction of the first reference plane The method for generating the feature and the directional feature of the second reference plane includes: the directional feature of the first reference plane is generated by a preset method; the directional feature of the second reference plane is by sensing the position of a positioning member After the detector generates a plurality of position parameters, it is generated from a plurality of the above position parameters; or, the directional characteristics of the first reference plane and the directional characteristics of the second reference plane are obtained through a 3D model; One kind. 如請求項第1項所述加工傾斜平面的多軸工具機的程式碼產生方法,其中,於上述取得步驟中還取得上述工具機的一刀軸與上述第二參考平面之間的夾角。 The method for generating a code of a multi-axis machine tool for processing an inclined plane as described in claim 1, wherein, in the obtaining step, an angle between a tool axis of the machine tool and the second reference plane is also obtained. 一種加工傾斜平面的多軸工具機,能產生加工具有複數個不同的方向特徵的平面所需的程式碼,具有受到所控制的三個不同方向的直線軸及兩個旋轉軸帶動而進行相對運動的工作台及刀頭,上述工具機包含:一取得模組,用以取得上述第一參考平面及上述第二參考平面的方向特徵; 一計算模組,透過座標轉換取得上述第一參考平面的方向特徵與上述第二參考平面的方向特徵之間的座標轉換參數;一結合模組,將上述座標轉換參數加入一應用於上述工具機的程式碼而產生一組合程式碼,使上述工具機利用上述組合程式碼加工具有複數個不同方向特徵的平面;其中,上述計算模組計算出上述座標轉換參數後,上述工具機將利用上述座標轉換參數使上述刀頭及上述工作台進行一測試運動,確認上述測試運動可進行後,才作動上述結合模組;其中,上述取得模組取得上述第一參考平面及上述第二參考平面的方向特徵的方式包含:上述取得模組包含至少一感測一定位件的位置的感測器;上述第一參考平面的方向特徵是透過預設的方式產生;上述第二參考平面的方向特徵是透過上述感測器產生複數個位置參數後,由複數個上述位置參數產生;或者,上述取得模組包含一用以輸入一3D模型的模型讀取裝置,上述第一參考平面的方向特徵及上述第二參考平面的方向特徵是由透過上述3D模型取得;的兩種方式的其中一種。 A multi-axis machine tool for processing inclined planes, which can generate the codes required for processing planes with a plurality of different directional characteristics, with three linear axes controlled by two different directions and two rotation axes driven for relative movement The workbench and the cutter head of the machine tool include: an acquisition module for acquiring the directional characteristics of the first reference plane and the second reference plane; A calculation module, through coordinate conversion, obtains coordinate conversion parameters between the directional characteristics of the first reference plane and the directional characteristics of the second reference plane; a combination module adds the coordinate conversion parameters to an application to the machine tool Generates a combined code, so that the machine tool uses the combined code to process a plane with a plurality of features in different directions; wherein, after the calculation module calculates the coordinate conversion parameters, the machine tool will use the coordinates The conversion parameters enable the cutter head and the worktable to perform a test movement, and only after confirming that the test movement can be carried out, the combination module is activated; wherein, the acquisition module acquires the directions of the first reference plane and the second reference plane Features include: the acquisition module includes at least one sensor that senses the position of a positioning element; the directional feature of the first reference plane is generated by a preset method; the directional feature of the second reference plane is through After the sensor generates a plurality of position parameters, the plurality of position parameters are generated; or, the acquisition module includes a model reading device for inputting a 3D model, the directional characteristics of the first reference plane, and the first The directional features of the two reference planes are obtained through the above 3D model; one of two ways. 如請求項第3項所述加工傾斜平面的多軸工具機,其中,上述工具機包含一對話式操作介面,能於一虛擬空間中顯示上述第一參考平面及上述第二參考平面之間的空間關係。 The multi-axis machine tool for processing inclined planes as described in claim 3, wherein the machine tool includes a conversational operation interface that can display the space between the first reference plane and the second reference plane in a virtual space Spatial Relations.
TW107131737A 2018-09-10 2018-09-10 Program code generating method and device of multi-axis machine tool for machining inclined plane the same TWI684841B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107131737A TWI684841B (en) 2018-09-10 2018-09-10 Program code generating method and device of multi-axis machine tool for machining inclined plane the same
CN201811512450.3A CN110883499B (en) 2018-09-10 2018-12-11 Program generation method and device for machining inclined plane for multi-axis machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107131737A TWI684841B (en) 2018-09-10 2018-09-10 Program code generating method and device of multi-axis machine tool for machining inclined plane the same

Publications (2)

Publication Number Publication Date
TWI684841B true TWI684841B (en) 2020-02-11
TW202011131A TW202011131A (en) 2020-03-16

Family

ID=69745758

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107131737A TWI684841B (en) 2018-09-10 2018-09-10 Program code generating method and device of multi-axis machine tool for machining inclined plane the same

Country Status (2)

Country Link
CN (1) CN110883499B (en)
TW (1) TWI684841B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI744147B (en) 2020-12-24 2021-10-21 財團法人工業技術研究院 A method and a control host for a motion test of a movable machinery
CN113977192B (en) * 2021-11-01 2024-02-20 安徽应流航源动力科技有限公司 Method for machining reference hole without tool for casing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM481785U (en) * 2013-11-20 2014-07-11 Syntec Inc Control equipment and computer numerical control device for cutting machines
TWM516714U (en) * 2015-09-25 2016-02-01 國立虎尾科技大學 Angular error correction device for machine tools
TWI554856B (en) * 2015-10-30 2016-10-21 財團法人工業技術研究院 Apparatus and method for transforming nc programs
TW201725458A (en) * 2016-01-14 2017-07-16 Hurco Automation Ltd Device for automatically generating machine tool control commands and parameters and method thereof capable of being implemented in an auxiliary device operated independently from a machine tool control system, or being used as a sub-unit of the machine tool control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2736100Y (en) * 2004-04-30 2005-10-26 大连机床集团有限责任公司 Vertical machining center tool with five-shaft interlock function
ES2264850B1 (en) * 2004-05-25 2008-01-01 Fundacion Fatronik PORTABLE ROBOTIZED TOOL MACHINE-TOOL.
CN104815967B (en) * 2015-04-20 2016-09-07 鞍山千钢机械制造有限公司 A kind of can the containerless casting forming method of automatic sand draining and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM481785U (en) * 2013-11-20 2014-07-11 Syntec Inc Control equipment and computer numerical control device for cutting machines
TWM516714U (en) * 2015-09-25 2016-02-01 國立虎尾科技大學 Angular error correction device for machine tools
TWI554856B (en) * 2015-10-30 2016-10-21 財團法人工業技術研究院 Apparatus and method for transforming nc programs
TW201725458A (en) * 2016-01-14 2017-07-16 Hurco Automation Ltd Device for automatically generating machine tool control commands and parameters and method thereof capable of being implemented in an auxiliary device operated independently from a machine tool control system, or being used as a sub-unit of the machine tool control system

Also Published As

Publication number Publication date
CN110883499A (en) 2020-03-17
CN110883499B (en) 2021-08-10
TW202011131A (en) 2020-03-16

Similar Documents

Publication Publication Date Title
US10684609B2 (en) Program code generating method for tilted plane machining by multi-axis machine tool and device thereof
JP5620825B2 (en) Composite machining method and apparatus
JP5220183B2 (en) Numerical control device and control method of the numerical control device
KR20150044812A (en) Teaching system and teaching method
US20130338807A1 (en) Cam integrated cnc control of machines
KR20220044506A (en) Machining error compensation system and method during precision jig grinding process
TWI684841B (en) Program code generating method and device of multi-axis machine tool for machining inclined plane the same
JP2013117924A (en) Numerical control for performing processing by cut point command on tool rear surface
JP2019070953A (en) Machining program processing device and multiple-spindle machine equipped with the same
Yu et al. Post-processing algorithm of a five-axis machine tool with dual rotary tables based on the TCS method
JP4531297B2 (en) 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program
US20210405611A1 (en) Virtual computerized numerical control machine system and method
JP2675200B2 (en) robot
CN114518726A (en) Post-processing development method and device of four-axis semi-numerical control machine tool and numerical control machine tool equipment
WO2020133882A1 (en) Method for applying robot to reproduction machining
Basheer et al. CNC Software Control System Using Visual Basic
JP6732568B2 (en) Processing device and method of setting processing device
JP2002210654A (en) Multi-spindle nc polishing machine
Li et al. Sensitivity analysis between error motions and machined shape errors in five-axis machining centers: in case of S-shaped machining test by a square end mill
JP2005202792A (en) Tool height calculation device, calculation method therefor, and program
JP5636841B2 (en) Machining method and NC program creation device
JP2006190048A (en) Numerical control device for composite working machine
CN117787012A (en) Machining limit detection method for swing angle machine tool based on NX modeling module
JPH05108134A (en) Coordinates converting method for dividing correspondence of main axis
CN1319201A (en) Process and system for working workpiece through numerically controlled machine tools