JP2020204980A - Nc program creation method and deceleration controller of machine tool - Google Patents
Nc program creation method and deceleration controller of machine tool Download PDFInfo
- Publication number
- JP2020204980A JP2020204980A JP2019113241A JP2019113241A JP2020204980A JP 2020204980 A JP2020204980 A JP 2020204980A JP 2019113241 A JP2019113241 A JP 2019113241A JP 2019113241 A JP2019113241 A JP 2019113241A JP 2020204980 A JP2020204980 A JP 2020204980A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- program
- drill
- deceleration
- hole
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Numerical Control (AREA)
Abstract
Description
本発明は、油圧機器のマニフォールドや射出成形金型等の、交差する複数の穴をドリルで加工するNCプログラムの作成方法および工作機械の減速制御装置に関する。 The present invention relates to a method for creating an NC program for drilling a plurality of intersecting holes such as a manifold of a hydraulic device and an injection molding die, and a deceleration control device for a machine tool.
例えば、射出成形で用いる金型には溶融した高温の樹脂が毎ショット流入して、金型が加熱される。金型は用いる樹脂の種類にもよるが、適切な温度範囲が決められている。そのため、金型には冷却水やスチーム等の冷却、温熱媒体を流通させる多数の通路が形成されている。これらの通路の中には、図15、16に示すように、互いに交差する通路がある。 For example, the molten high-temperature resin flows into the mold used in injection molding every shot to heat the mold. The appropriate temperature range is determined for the mold, although it depends on the type of resin used. Therefore, the mold is formed with a large number of passages for cooling cooling water, steam, etc., and for circulating a heating medium. Among these passages, there are passages that intersect each other, as shown in FIGS. 15 and 16.
図15、16において、ワーク200には、先の工程で形成された第1の穴202と、後の工程で形成された第2の穴204が形成されている。第2の穴204を形成する際、加工に用いるドリルTの先端が第1の穴202の空間に到達すると、該ドリルTを送る送り軸装置に作用する反力または負荷は急激に減少する。また、ドリルTの先端が第1の穴202の空間を横断し、反対側の内面に到達すると送り軸装置に作用する反力または負荷は急激に増加する。これにより、ドリルが破損したり、穴の交差部にバリが発生することがある。
In FIGS. 15 and 16, the
特許文献1には、加工穴が貫通穴であったり、穴どうしが干渉するときのように、加工工程や加工条件を修正する必要がある場合に、CAD/CAMシステム上でNC加工に最適な加工工程と切削条件を自動決定するようにしたNCデータ自動作成装置が記載されている。
特許文献1のNCデータ自動作成装置では、CAD/CAMにより、3次元ソリッドモデルであるワークの穴データを用いているので、計算負荷が大きく、簡単に工作機械に実装したり、工作機械の近傍に専用の装置を配置することができない。
In the NC data automatic creation device of
本発明は、こうした従来技術の問題を解決することを技術課題としており、交差する複数の穴をドリルで加工する第1のNCプログラムから、交差する穴を加工するときに、ドリルの送り速度を減速させる第2のNCプログラムを、NC工作機械に付属する機械制御装置の演算ユニットに計算負荷を殆どかけずに、簡単かつ迅速に自動作成するようにした、NCプログラムの作成方法および工作機械の減速制御装置を提供することを目的としている。 The present invention has a technical problem of solving such a problem of the prior art, and from the first NC program for drilling a plurality of intersecting holes, the feed speed of the drill is adjusted when machining the intersecting holes. An NC program creation method and a machine tool that automatically creates a second NC program to decelerate easily and quickly with almost no computational load on the arithmetic unit of the machine control device attached to the NC machine tool. It is an object of the present invention to provide a deceleration control device.
上述の目的を達成するために、本発明によれば、ドリルを工具として用い、複数の穴を加工する第1のNCプログラムと、加工に使用する工具のデータとに基づいて、ワーク内で交差する穴を加工する際に、工具の送り速度を減速させた第2のNCプログラムを自動作成するNCプログラムの作成方法において、ドリルの形状を複数の直線の集合体でモデル化し、ワークに従前に形成されている穴と前記直線との交点を演算し、前記演算結果に基づいて、ドリルの先端が前記従前に形成されている穴内に侵入する前に、該ドリルの送り速度を減速する減速開始点と、該ドリルが前記穴を横断して、ワークに再び進入した後に該ドリルの送り速度の減速を終了する減速終了点とを演算し、前記減速開始点および減速終了点に基づいて、前記第1のNCプログラムを修正した第2のNCプログラムを生成するようにしたNCプログラムの作成方法が提供される。 In order to achieve the above object, according to the present invention, the first NC program for drilling a plurality of holes using a drill as a tool and the data of the tool used for machining intersect in the work. In the method of creating an NC program that automatically creates a second NC program that slows down the feed speed of the tool when machining a hole to be drilled, the shape of the drill is modeled with an aggregate of a plurality of straight lines, and the work is prioritized. The intersection of the formed hole and the straight line is calculated, and based on the calculation result, deceleration is started to reduce the feed speed of the drill before the tip of the drill enters the previously formed hole. The point and the deceleration end point at which the deceleration of the feed speed of the drill ends after the drill crosses the hole and re-enters the work are calculated, and based on the deceleration start point and the deceleration end point, the deceleration end point is calculated. Provided is a method of creating an NC program in which a second NC program modified from the first NC program is generated.
更に、本発明によれば、ドリルを工具として用い、複数の穴を加工する第1のNCプログラムと、加工に使用する工具のデータとに基づいて、ワーク内で交差する穴を加工する際に、工具の送り速度を減速させた第2のNCプログラムを作成する工作機械の減速制御装置において、ドリルの形状を複数の直線の集合体でモデル化するときの直線の数を少なくともパラメータとして格納するパラメータ格納部と、工具径を含んだ工具情報を取得する工具情報取得部と、NC装置の読取解釈部から前記第1のNCプログラムのドリルの工具軌跡を取得する工具軌跡取得部と、前記工具情報と前記工具軌跡から直線の集合体で表した工具モデルと穴の円柱モデルとを生成するモデル生成部と、前記工具モデルの各直線と前記円柱モデルから工具と穴との交差位置を演算する交差位置演算部と、前記演算した交差位置から、減速開始位置および減速終了位置を演算する減速開始、終了位置演算部と、前記演算した減速開始位置および減速終了位置に基づいて、前記第1のNCプログラムを修正して第2のNCプログラムを生成するNCプログラム生成部とを具備する工作機械の減速制御装置が提供される。 Further, according to the present invention, when a drill is used as a tool and a hole intersecting in a work tool is machined based on a first NC program for drilling a plurality of holes and data of a tool used for machining. , Create a second NC program that slows down the feed rate of the tool. In the deceleration control device of a machine tool, store at least the number of straight lines when modeling the shape of a drill with an aggregate of a plurality of straight lines as a parameter. A parameter storage unit, a tool information acquisition unit that acquires tool information including a tool diameter, a tool trajectory acquisition unit that acquires a tool trajectory of the drill of the first NC program from a reading / interpretation unit of an NC device, and the tool. A model generator that generates a tool model represented by an aggregate of straight lines from information and the tool locus and a cylindrical model of a hole, and an intersection position between a tool and a hole are calculated from each straight line of the tool model and the cylindrical model. The first deceleration start position and deceleration end position are calculated from the intersection position calculation unit and the calculated intersection position based on the deceleration start and end position calculation units and the calculated deceleration start position and deceleration end position. A machine tool deceleration control device is provided that includes an NC program generator that modifies the NC program to generate a second NC program.
第1のNCプログラムを作成するときは、穴が交差することを気にせず、決められた位置に一定の送り速度で穴をあける指令をするだけであり、容易にプログラミングできる。そして、本発明によれば、加工済みの穴である円柱と、ドリル形状をモデル化した直線との交点を演算するだけでよいので、小さな演算負荷で、ワーク内で交差する穴を加工する際に、工具の送り速度を減速させた第2のNCプログラムを自動作成することが可能となる。従って、工作機械が標準で備えている機械制御装置に本発明の演算処理を行うソフトウェアを追加しても、ほとんど演算負荷をかけることなく、第2のNCプログラムを作成することができる。また、汎用のパソコンに本発明を実施するためのソフトウェアを搭載して機械制御装置に付加する方法で、既存の工作機械を容易に機能アップすることもできる。 When creating the first NC program, it is easy to program by simply giving a command to make a hole at a predetermined position at a constant feed rate without worrying about the intersection of the holes. Then, according to the present invention, it is only necessary to calculate the intersection of the cylinder, which is a machined hole, and the straight line that models the drill shape. Therefore, when machining a hole that intersects in the work with a small calculation load. In addition, it is possible to automatically create a second NC program in which the feed rate of the tool is reduced. Therefore, even if the software for performing the arithmetic processing of the present invention is added to the machine control device provided as standard in the machine tool, the second NC program can be created with almost no computational load. Further, the existing machine tool can be easily upgraded by installing the software for carrying out the present invention on a general-purpose personal computer and adding it to the machine control device.
以下、添付図面を参照して、本願発明の好ましい実施形態を説明する。
図1を参照すると、減速制御装置10は、工作機械のNC装置100に供給されるNCプログラム(本明細書では第1のNCプログラムと称する)に基づいて、新たなNCプログラム(本明細書では第2のNCプログラムと称する)を生成する。NC装置100は、一般的なNC装置と同様に、読取解釈部102、補間部104およびサーボ演算部106を含む。読取解釈部102は、第1のNCプログラムを読取り解釈して、移動指令を補間部104に出力する。補間部104は、入力された移動指令に基づき補間周期毎の位置指令値を演算し、該位置指令値をサーボ演算部106に送出する。サーボ演算部106は、位置指令値に基づいてX軸およびY軸などの各送り軸のサーボモータ108へ供給する電流値を演算し、各送り軸のサーボモータ108を駆動する。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
Referring to FIG. 1, the
減速制御装置10は入力部12、パラメータ格納部14、工具情報取得部16、工具軌跡取得部18、モデル生成部20、交差位置演算部22、減速開始終了位置演算部24、NCプログラム生成部26、記憶部28および表示部30を主要な構成要素として具備している。パラメータ格納部14、工具情報取得部16、工具軌跡取得部18、モデル生成部20、交差位置演算部22、減速開始終了位置演算部24、NCプログラム生成部26および記憶部28は、CPU(中央演算素子)、RAM(ランダムアクセスメモリ)やROM(リードオンリーメモリ)のようなメモリ装置、HDD(ハードディスクドライブ)やSSD(ソリッドステートドライブ)のような記憶デバイス、出入力ポート、および、これらを相互接続する双方向バスを含むコンピュータおよび関連するソフトウェアから構成することができる。
The
入力部12は、後述するように、第2のNCプログラムを生成するために必要なパラメータをオペレータが減速制御装置10に入力するための要素であって、キーボードやタッチパネル等から形成することができる。表示部30は、減速制御装置10による演算結果を表示するための構成要素であって、液晶ディスプレイやタッチパネルから形成することができる。入力部12および表示部30を共通のタッチパネルにより形成してもよい。
As will be described later, the
パラメータ格納部14は、入力部12を通じてオペレーターが入力したパラメータを格納する。オペレーターが入力するパラメータは、工具を定義する直線の数n、工具先端の形状を表す形状パラメータ、減速送り速度、減速を開始する位置を決定するための開始点パラメータ、および減速を解除または終了する位置を決定するための終了点パラメータを含むことができる。これらのパラメータは、使用する工具の工具番号に関連させて格納するようにできる。また、これらのパラメータは、入力部12に表示されるパラメータ設定画面から容易に入力することができる。
The
以下、図2〜図4のフローチャートを参照しつつ、減速制御装置10の各部の作用を一層詳細に説明する。
先ず、減速制御装置10が起動すると、フラグi、j、mにそれぞれ1、0、0が入力され(ステップS10)、オペレーターによって入力されているパラメータがパラメータ格納部14からモデル生成部20に読み込まれる(ステップS12)。
Hereinafter, the operation of each part of the
First, when the
NC装置100へNCプログラムが供給されると、減速制御装置10は、読取解釈部102から第1のNCプログラムをブロック毎に読み取る(ステップS14)。工具情報取得部16は、NC装置100の読取解釈部102が、読取り解釈した第1のNCプログラムに基づき工具の情報、特に工具径を取得する(ステップS16)。NCプログラムには、通常、加工に用いる工具が工具番号または多数の工具を格納した工具マガジンの工具ポット番号にて指示されているので、工具情報取得部16は、工具径その他の工具情報を別途工具番号と関連させて予め格納しておいたり、或いは、他のサーバー(図示せず)にアクセスして、加工に用いる工具の工具情報を取得するようにできる。工具情報取得部16が取得した工具情報はモデル生成部20へ出力される。
When the NC program is supplied to the
工具軌跡取得部18は、NC装置100の読取解釈部102が、読取り解釈した第1のNCプログラムに基づき、使用する工具の加工開始点、加工終了点および方向に関する工具軌跡情報を取得する。取得した工具軌跡は穴情報として記憶部28に出力され、(m+1)に関連付けて格納される(ステップS18)。
The tool
次に、ステップS20において、フラグmが0であるか否かが判定される。m=0の場合(ステップS20でYesの場合)は、今回の加工以前にワークに穴が加工されていないことを意味している。この場合、今回の加工によって他の穴と交差する穴は形成されないので、第1のNCプログラムを修正せずに(ステップS22)、フラグmに1を加えてステップS14へ戻り、第1のNCプログラムの次のブロックが読み込まれる。 Next, in step S20, it is determined whether or not the flag m is 0. When m = 0 (Yes in step S20), it means that no hole has been machined in the work before this machining. In this case, since the hole intersecting with other holes is not formed by this processing, the first NC program is not modified (step S22), the flag m is added with 1 and the process returns to step S14, and the first NC is performed. The next block of the program is loaded.
ステップS20でNoの場合、つまり今回の加工以前にワークに穴が加工されている場合、モデル生成部20は、パラメータ格納部14からのパラメータと、工具情報取得部16からの工具情報に基づいて、今回これから加工に使用する工具(図5)をモデル化する(ステップS26)。図5において、モデル化した工具であるモデル工具MTは、円柱の本体部MT1と、本体部MT1の一端に設けられた円錐状の先端部MT2とを有している。
If No in step S20, that is, if a hole has been machined in the workpiece before the current machining, the
モデル生成部20、また、パラメータ格納部14から読み取った工具を定義する直線の数nに応じて、図7に示すように、モデル工具MTの本体部MT1の側面に沿った工具の軸方向の直線Li(i=2…n)を設定し、直線Liによって工具を近似する。図7では、直線の数はn=4であるが、直線の数nはこれに限定されず2以上の整数とすることができる。直線の数nが2以上の場合には、直線Liは、工具の中心軸線周りに等間隔に設定される。
モデル生成部20は、更に、パラメータ格納部14から読み取った形状パラメータに基づいて先端部MT2を生成し、直線Ti(i=2…n)を設定する。形状パラメータは、例えば、通常のドリルの場合、図8に示すように、円錐形状の先端部MT2の軸方向の長さLTと、工具の中心軸線Oに対する円錐の母線の角度θとを含むことができる。先端部MT2が図9に示すように接頭円錐形状(ガンドリル)であっても、長さLTと、角度θで先端部MT2の形状を規定することができる。LT=0またはθ=0の場合は、先端部がフラットな円筒形状の本体部MT1のみを有したモデル工具MTとなる。
The
次に、モデル生成部20は、記憶部28に格納されている従前の加工により形成された穴(穴跡と記載する)に関連した情報のうちフラグmに関連付けられている穴情報を読み込み(ステップS28)、穴跡(図6)をモデル化する(ステップS30)。図6において、モデル化した穴跡であるモデル穴MHは、円柱状の穴本体から成る。モデル穴MHは中心軸線OHと開始面SSと終点面SEとを有している。
Next, the
次に、後述するように、各直線LiおよびTiとモデル穴MHとの交点が演算される(ステップS32)。次いで、ステップS34において、全ての直線LiおよびTiについて、モデル穴MHとの交点の演算が終了したか否かが判定される。ステップS34でNoの場合、つまり、全ての直線LiおよびTiについて、モデル穴MHとの交点の演算が終了していない場合、iに1を加えて(ステップS36)、ステップS32へ戻り、次の直線Li+1およびTi+1について、交点が演算される。 Next, as will be described later, the intersection of each straight line L i and T i and the model hole M H is calculated (step S32). Next, in step S34, it is determined whether or not the calculation of the intersection with the model hole MH has been completed for all the straight lines L i and T i . If No at step S34, that is, for all linear L i and T i, if the calculation of the intersection of the model holes M H has not been completed, 1 is added to i (step S36), returns to step S32 , The intersection is calculated for the next straight lines L i + 1 and T i + 1 .
ステップS34において、Yesの場合、つまり、全ての直線LiおよびTiについてモデル穴MHとの交点の演算が終了している場合、パラメータ格納部14から読み込まれた減速開始位置および減速終了位置に基づいて、減速開始点および減速終了点が演算される(ステップS38)。減速開始点は、演算した交点から手前へ開始点パラメータの距離だけシフトした位置であり、減速終了点は、演算した交点から奥へ終了点パラメータの距離シフトした位置である。開始点パラメータおよび終了点パラメータは、演算した交点からの余裕距離或いは安全距離を表している。通常、開始点パラメータは、終了点パラメータより短く設定される。何故なら、ドリルの先端が演算した交点の手前に差し掛かったら減速を開始し、演算した交点をドリルの先端部(円錐部)から本体部(円柱部)が通過したら減速を終了する、つまりドリルの先端部の長さLTだけ減速終了点を奥へ移動させる必要があるからである。
In step S34, if Yes, the words, if the calculation of the intersection of the model holes M H for all linear L i and T i are finished, deceleration start position and the deceleration end position is read from the
次いで、ステップS40において、全ての穴跡について、減速開始点および減速終了点を求めたか否かが判定される。ステップS40においてYesの場合、減速開始終了位置演算部24において演算された減速開始点および減速終了点は、NCプログラム生成部26に出力される。NCプログラム生成部26では、減速開始点および減速終了点に基づいて、第1のNCプログラムの当該ブロックの工具の減速開始位置、減速送り速度および減速終了位置の部分が修正され(ステップS44)、第2のNCプログラムとしてNC装置100へ出力される。
Next, in step S40, it is determined whether or not the deceleration start point and the deceleration end point have been obtained for all the hole traces. In the case of Yes in step S40, the deceleration start point and the deceleration end point calculated by the deceleration start / end
次いで、ステップS46において、フラグi、jがリセットされるとともに、フラグmに1が加えられ、フローチャートはステップS14へ戻り、第1のNCプログラムの次のブロックが読み込まれる。 Then, in step S46, the flags i and j are reset, 1 is added to the flag m, the flowchart returns to step S14, and the next block of the first NC program is read.
全ての穴跡について上述の減速開始点および減速終了点の演算が完了していない場合(ステップS40でNoの場合)、フラグjに1を加えて(ステップS42)、フローチャートはステップS28へ戻り、次の穴跡に関連した情報がモデル生成部20へ読み込まれる。
When the above-mentioned calculation of the deceleration start point and the deceleration end point is not completed for all the hole traces (when No in step S40), 1 is added to the flag j (step S42), and the flowchart returns to step S28. Information related to the next hole trace is read into the
次に図4を参照して、直線Liとモデル穴MHとの交点の求め方を説明する。上述のように、モデル生成部20において、直線の数nに応じてモデル工具MTの本体部MT1の側面に沿った工具の軸方向の直線Li(i=2…n)が設定される(ステップS50)。次に、図10に示すように、交差位置演算部22において、X、Y、Z座標軸上に1本の直線Liと、モデル穴MHが設定される(ステップS52)。交差位置演算部22は、図11に示すように、円柱の中心軸線OHがZ軸に一致するように、モデル穴MHを回転および並進移動させ、直線Liも同じ条件で回転および並進移動する(ステップS54)と共に、図11において破線で示すように、モデル穴MHの高さ範囲(Z軸方向の範囲)以外の直線Liの部分を消去する。
Next, with reference to FIG. 4, how to find the intersection of the straight line L i and the model hole M H will be described. As described above, in the
交点位置演算部22は、次いで、図12に示すように、モデル穴MHおよび直線LiをXY平面に投影し、XY平面内で、円Cと直線Li′との交点IP1(X1,Y1)、IP2(X2,Y2)を算出する(ステップS56)。このとき、交点IP1、IP2が存在しない場合(ステップS58でNoの場合)、フローチャートはステップS34へ移動し、全ての直線Liについて、モデル穴MHとの交点の演算が終了したか否かが判定される。
The intersection
交点IP1、IP2が存在する場合(ステップS58でYesの場合)、交点IP1(X1,Y1)、IP2(X2,Y2)に基づいて、交点IP1、IP2のZ座標が算出される(ステップS60)。次いで、IP1(X1,Y1,Z1)、IP2(X2,Y2,Z2)に関して、ステップS54で行った回転、並進移動に対して逆方向の回転、並進移動を行い、モデル穴MHと直線Liとの交点を算出する(ステップS62)。演算結果や交差の回数、修正した第2のNCプログラム等は、表示部30に表示することができる。
If the intersection point I P1, I P2 is present (Yes in step S58), the intersection point I P1 (X 1, Y 1 ), based on the I P2 (X 2, Y 2 ), the intersection I P1, I P2 The Z coordinate is calculated (step S60). Next, with respect to I P1 (X 1 , Y 1 , Z 1 ) and I P2 (X 2 , Y 2 , Z 2 ), the rotation and translation movement in the opposite direction to the rotation and translation movement performed in step S54 are performed. , The intersection of the model hole M H and the straight line L i is calculated (step S62). The calculation result, the number of intersections, the modified second NC program, and the like can be displayed on the
直線Tiとモデル穴MHとの交点も同様に求めることができる。ステップS56の2次元座標における直線と円との交点演算や、ステップS54およびステップS62の座標の回転、並進変換の演算は、従来技術のドリルの3次元ソリッドモデルと、穴形状の3次元ソリッドモデルとの交差位置の演算と比べ、コンピュータにとっては遥かに軽負荷の作業である。 The intersection of the straight line T i and the model hole M H can be obtained in the same manner. The calculation of the intersection of a straight line and a circle in the two-dimensional coordinates of step S56, the rotation of the coordinates of steps S54 and S62, and the calculation of translational conversion are the three-dimensional solid model of the conventional drill and the three-dimensional solid model of the hole shape. It is a much lighter task for the computer than the calculation of the intersection position with.
図15、16を用いて、本発明の実施形態の第1の穴202の加工後に第2の穴204をあける場合についての第1のNCプログラム(変換前)と第2のNCプログラム(変換後)を説明する。第2の穴204をあけるときのNCプログラムの原点Aは、図示の通りワーク200の一角に設定し、X軸、Y軸、Z軸を定義する。第2の穴204を加工する部分の第1のNCプログラムは、次のように作成されている。
Using FIGS. 15 and 16, the first NC program (before conversion) and the second NC program (after conversion) in the case of drilling the
G17Z100.0
X-12.5Y10.0
Z50.0
G01Z0.0F40
G00Z100.0
この第1のNCプログラムは、工具先端部の基準位置(通常は先端部と本体部との境界面の中心)を座標(−12.5,10,100)に位置決めし、回転している工具をまずZ=50(ワークの加工表面)まで移動する。続けて工具送り速度40mm/minでZ=0の位置まで50mm切削送りし(穴204が貫通)、その後元の座標のZ=100へ早送りで戻ることを表している。
G17Z100.0
X-12.5Y10.0
Z50.0
G01Z0.0F40
G00Z100.0
This first NC program positions the reference position of the tool tip (usually the center of the boundary surface between the tip and the main body) at the coordinates (-12.5, 10, 100) and rotates the tool. First, move to Z = 50 (processed surface of the work). It means that the tool feed speed is 40 mm / min, the cutting feed is 50 mm to the position of Z = 0 (the
この第1のNCプログラムを変換して第2のNCプログラムを生成すると次のようになる。
G17Z100.0
X-12.5Y10.0
Z50.0
G01Z35.0F40
G01Z15.0F15
G01Z0.0F40
G00Z100.0
これは、座標(−12.5,10,100)からZ=50まで工具を移動する部分は、第1のNCプログラムと同じである。その後、Z=35(第1の穴202の手前の減速開始位置)まで送り速度40mm/minで移動し、続けて送り速度を15mm/minに減速した状態でZ=15(減速終了位置)まで移動し(第1の穴202と完全に交差し終わって)、続けて送り速度を40mm/minに復活させてZ=0の位置まで移動して穴204を貫通させる。その後、元の座標Z=100へ早送りで戻ることを表している。
この例では、「G01Z0.0F40」が「G01Z35.0F40」「G01Z15.0F15」「G01Z0.0F40」の3つの工程に分解され、Z座標が35−15の間で減速されていることが理解されよう。
When the first NC program is converted to generate the second NC program, the result is as follows.
G17Z100.0
X-12.5Y10.0
Z50.0
G01Z35.0F40
G01Z15.0F15
G01Z0.0F40
G00Z100.0
This is the same as the first NC program in that the part that moves the tool from the coordinates (-12.5, 10, 100) to Z = 50. After that, it moves to Z = 35 (deceleration start position in front of the first hole 202) at a feed rate of 40 mm / min, and then moves to Z = 15 (deceleration end position) with the feed rate reduced to 15 mm / min. It moves (completely intersects the first hole 202), then restores the feed rate to 40 mm / min and moves to the position of Z = 0 to penetrate the
In this example, it is understood that "G01Z0.0F40" is decomposed into three steps of "G01Z35.0F40", "G01Z15.0F15" and "G01Z0.0F40", and the Z coordinate is decelerated between 35-15. Yeah.
上述の実施形態では、工作機械において実際に加工中に、減速制御装置10は、第1のNCプログラムを先読みすることによって、逐次、第2のNCプログラムを出力するようになっていたが、本発明はこれに限定されずに、NC装置100へ第1のNCプログラムを供給する前に、一括して、第1のNCプログラムの全体に亘って修正し、第2のNCプログラムを生成するようにしてもよい。
In the above-described embodiment, the
10 減速制御装置
12 入力部
14 パラメータ格納部
16 工具情報取得部
18 工具軌跡取得部
20 モデル生成部
22 交差位置演算部
24 減速開始、終了位置演算部
26 NCプログラム生成部
28 記憶部
30 表示部
100 NC装置
10
Claims (3)
ドリルの形状を複数の直線の集合体でモデル化し、
ワークに従前に形成されている穴と前記直線との交差位置を演算し、
前記演算結果に基づいて、ドリルの先端が前記従前に形成されている穴内に進入する前に、該ドリルの送り速度を減速する減速開始点と、該ドリルが前記穴を横断して、ワークに再び進入した後に該ドリルの送り速度の減速を終了する減速終了点とを演算し、
前記減速開始点および減速終了点に基づいて、前記第1のNCプログラムを修正した第2のNCプログラムを生成する
ことを特徴としたNCプログラムの作成方法。 Based on the first NC program that uses a drill as a tool to machine multiple holes and the data of the tool used for machining, the tool feed speed is reduced when drilling intersecting holes in the workpiece. In the method of creating an NC program for creating a second NC program,
Model the shape of the drill with a collection of multiple straight lines
Calculate the intersection position of the hole formed before the work and the straight line,
Based on the calculation result, before the tip of the drill enters the previously formed hole, the deceleration start point for decelerating the feed rate of the drill and the drill cross the hole to form a work. After re-entering, the deceleration end point at which the deceleration of the feed speed of the drill ends is calculated.
A method for creating an NC program, which comprises generating a second NC program modified from the first NC program based on the deceleration start point and the deceleration end point.
ドリルの形状を複数の直線の集合体でモデル化するときの直線の数を少なくともパラメータとして格納するパラメータ格納部と、
工具径を含んだ工具情報を取得する工具情報取得部と、
NC装置の読取解釈部から前記第1のNCプログラムのドリルの工具軌跡を取得する工具軌跡取得部と、
前記工具情報と前記工具軌跡から直線の集合体で表した工具モデルと穴の円柱モデルとを生成するモデル生成部と、
前記工具モデルの各直線と前記円柱モデルから工具と穴との交差位置を演算する交差位置演算部と、
前記演算した交差位置から、減速開始位置および減速終了位置を演算する減速開始、終了位置演算部と、
前記演算した減速開始位置および減速終了位置に基づいて、前記第1のNCプログラムを修正して第2のNCプログラムを生成するNCプログラム生成部と、
を具備することを特徴とした工作機械の減速制御装置。 Based on the first NC program that uses a drill as a tool to drill multiple holes and the data of the tool used for machining, the feed speed of the tool is reduced when drilling intersecting holes in the workpiece. In the deceleration control device of the machine tool that creates the second NC program
A parameter storage unit that stores at least the number of straight lines as parameters when modeling the shape of a drill with a collection of multiple straight lines,
Tool information acquisition unit that acquires tool information including tool diameter,
A tool locus acquisition unit that acquires the tool locus of the drill of the first NC program from the reading / interpretation unit of the NC device, and a tool locus acquisition unit.
A model generator that generates a tool model represented by an aggregate of straight lines from the tool information and the tool locus, and a cylindrical model of a hole.
An intersection position calculation unit that calculates the intersection position between the tool and the hole from each straight line of the tool model and the cylinder model.
From the calculated intersection position, the deceleration start and deceleration start and deceleration end position calculation units that calculate the deceleration start position and deceleration end position, and
An NC program generator that modifies the first NC program and generates a second NC program based on the calculated deceleration start position and deceleration end position.
A machine tool deceleration control device characterized by being equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019113241A JP6765478B1 (en) | 2019-06-18 | 2019-06-18 | NC program creation method and machine tool deceleration control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019113241A JP6765478B1 (en) | 2019-06-18 | 2019-06-18 | NC program creation method and machine tool deceleration control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6765478B1 JP6765478B1 (en) | 2020-10-07 |
JP2020204980A true JP2020204980A (en) | 2020-12-24 |
Family
ID=72706619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019113241A Active JP6765478B1 (en) | 2019-06-18 | 2019-06-18 | NC program creation method and machine tool deceleration control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6765478B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005321890A (en) * | 2004-05-06 | 2005-11-17 | Kawasaki Heavy Ind Ltd | Erroneous working preventing device and method |
JP2012016793A (en) * | 2010-07-09 | 2012-01-26 | Sugino Machine Ltd | Piercing control method and piercing device |
-
2019
- 2019-06-18 JP JP2019113241A patent/JP6765478B1/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005321890A (en) * | 2004-05-06 | 2005-11-17 | Kawasaki Heavy Ind Ltd | Erroneous working preventing device and method |
JP2012016793A (en) * | 2010-07-09 | 2012-01-26 | Sugino Machine Ltd | Piercing control method and piercing device |
Also Published As
Publication number | Publication date |
---|---|
JP6765478B1 (en) | 2020-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10007254B2 (en) | CAM integrated CNC control of machines | |
JP6012712B2 (en) | Tool path generation method, tool path generation device, and tool path generation program | |
CN103116316B (en) | Numerical control machining control method adapted to type or dimensional change of cutting tool | |
EP3137955B1 (en) | Beam tool pathing for 3d compound contours using machining path surfaces to maintain a single solid representation of objects | |
JP5406105B2 (en) | Method and apparatus for generating control data for tool control in machine tools | |
US20220379380A1 (en) | Hybrid additive and subtractive manufacturing | |
JP2019082852A (en) | Postprocessor device, processing program generation method, cnc machining system, and program for processing program generation | |
CN109725602A (en) | Numerical control device and method, CNC machine, computer-readable information recording medium | |
US10007251B2 (en) | Machine tool control device and machine tool | |
KR100898034B1 (en) | Method for regulating a path of an instrument | |
JP6765478B1 (en) | NC program creation method and machine tool deceleration control device | |
JP2008046913A (en) | Numerical control device of machine tools | |
JP7041660B2 (en) | Tool path generation method, tool path generation device and machine tool control device | |
JP6980151B1 (en) | Machining program generator, machining program generation method and machine learning method | |
JP2010027018A (en) | Device for creating machining information, method, and program | |
JP2009538744A (en) | Method for controlling turning and NC machine suitable for turning | |
US20200319618A1 (en) | Evaluation work piece, non-transitory computer readable medium recording a machining program and non-transitory computer readable medium recording a data structure | |
JP6219866B2 (en) | Numerical control device with display function and display program | |
US6681144B1 (en) | Process and system for working a workpiece through numerically controlled machine tools | |
JP2018051692A (en) | Jog support device for off-line programming, jog support method and jog support program | |
JPS60259362A (en) | Copying machine for closed area software potential line | |
CN116662694A (en) | Visual method for realizing cutter cutting process display in webpage environment | |
Liu | Towards smart and competitive sustainable machining | |
Gao et al. | Research on high-precision geometric simulation for turning machining based on tool driven | |
Suh et al. | Man–Machine Interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190618 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200818 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200915 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6765478 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |