[go: up one dir, main page]

JPH06119029A - Method for creating approach route and retract route in NC processing - Google Patents

Method for creating approach route and retract route in NC processing

Info

Publication number
JPH06119029A
JPH06119029A JP26897992A JP26897992A JPH06119029A JP H06119029 A JPH06119029 A JP H06119029A JP 26897992 A JP26897992 A JP 26897992A JP 26897992 A JP26897992 A JP 26897992A JP H06119029 A JPH06119029 A JP H06119029A
Authority
JP
Japan
Prior art keywords
route
approach
retract
tool
zone
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.)
Pending
Application number
JP26897992A
Other languages
Japanese (ja)
Inventor
Yoshitaka Hashimoto
吉高 橋本
Kenrou Udono
研郎 鵜殿
Shuji Imura
修司 井村
Naoi Watanabe
直猪 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP26897992A priority Critical patent/JPH06119029A/en
Publication of JPH06119029A publication Critical patent/JPH06119029A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】 【目的】側面に切刃を有する工具で被削材を輪郭加工す
る場合におけるNCデータの作成時に、被削材の加工部
位、近傍の被削材形状、削り代量等を考慮した最適なア
プローチ(リトラクト)経路を自動作成すること。 【構成】アプローチ(リトラクト)経路パターンに予め
優先度を設定し、各パターン毎に作成されたZ値一定の
アプローチ(リトラクト)経路点列について、予め定め
た評価要素に対する評価点を求め、当該評価点が予め定
めた判定ゾーンのいずれに属するかを判定し、評価点が
前記判定ゾーンの採用不可ゾーンに属するとき、Z値を
変化させるアプローチ(リトラクト)経路を作成し、前
記の評価点を算出する。判定ゾーンの採用可ゾーンに属
する評価点を有する経路が存在する場合、優先度に従っ
て、採用するアプローチ(リトラクト)経路を決定し、
前記判定ゾーンの警告ゾーンに属する評価点を有するア
プローチ(リトラクト)経路のみが存在する場合、ワー
クと工具の距離の大小に従って、採用する経路を決定す
る。
(57) [Abstract] [Purpose] When creating NC data when contouring a work material with a tool having a cutting edge on the side surface, the work site of the work material, the shape of the work material in the vicinity, the amount of cutting etc. Automatically create an optimal approach (retract) route that takes into consideration. [Structure] Priorities are set in advance for approach (retract) route patterns, and for the approach (retract) route point sequence with a constant Z value created for each pattern, evaluation points for predetermined evaluation elements are obtained, and the evaluation is performed. It is determined which of the predetermined determination zones the point belongs to, and when the evaluation point belongs to the non-adoptable zone of the determination zone, an approach (retract) route for changing the Z value is created and the evaluation point is calculated. To do. If there is a route with an evaluation point that belongs to the adoptable zone of the judgment zone, determine the approach (retract) route to be adopted according to the priority,
When there is only an approach (retract) route having an evaluation point belonging to the warning zone of the determination zone, the route to be adopted is determined according to the size of the distance between the work and the tool.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、NC加工におけるNC
データの作成方法に関し、特に側面に切刃を有する工具
(フラットエンドミル)で被削材(ワーク)を輪郭加工
する場合等において、工具がワークに干渉することなく
当該工具をワークの切削開始点に切り込み、また、ワー
クの切削終了点から工具を逃がす、いわゆるアプローチ
経路およびリトラクト経路を自動的に作成する方法に関
する。
FIELD OF THE INVENTION The present invention relates to NC in NC processing.
Regarding the method of creating data, especially when contouring a work material (workpiece) with a tool having a cutting edge on the side (flat end mill), etc., use the tool as the cutting start point of the work without the tool interfering with the work. The present invention relates to a method for automatically creating a so-called approach path and retract path, in which a tool is released from a cutting end point of a workpiece.

【0002】[0002]

【従来の技術】一般に、NC装置により被削材(ワー
ク)を切削加工するに当たって、最近ではCADシステ
ム等を利用し、切削加工すべきワークの加工形状や、切
削に使用する工具等に関するデータを入力し、これらの
データに基づいて、当該工具の経路データを自動的に生
成し、NCデータを作成するNCデータ作成システムが
使用されるようになってきている。
2. Description of the Related Art Generally, when cutting a work (work) with an NC device, recently, using a CAD system or the like, data concerning a working shape of a work to be cut, a tool used for cutting, etc. An NC data creation system has been used in which the data is input, path data of the tool is automatically created based on these data, and NC data is created.

【0003】マシニングセンタを用いたNC装置により
被削材(ワーク)の輪郭加工(プロフィール加工)を行
う場合、NCデータとして、工具がワークに干渉するこ
となく当該工具をワークの切削開始点に切り込み、ま
た、ワークの切削終了点から工具を逃がす、いわゆるア
プローチ経路およびリトラクト経路を上記のごときNC
データ作成システムによって工具軌跡データとして作成
する必要が生じる。
When performing contour processing (profile processing) of a work material (workpiece) by an NC device using a machining center, the tool cuts into the cutting start point of the work piece as NC data without the tool interfering with the work piece. In addition, the so-called approach route and retract route that allow the tool to escape from the cutting end point of the workpiece are NC as described above.
It becomes necessary to create it as tool locus data by the data creation system.

【0004】一般的に、ワークの最初の切削開始点に至
る工具の経路(工具軌跡)は、加工対象ワークの取り代
(削り代)量に応じて、円弧または曲線等の滑らかな軌
跡を描きながら、徐々に工具をワークに対して切り込ん
でゆく切削アプローチ方法が加工条件上好ましい。リト
ラクト経路も同様である。
Generally, a tool path (tool locus) to a first cutting start point of a work draws a smooth locus such as an arc or a curve according to a machining allowance (cutting allowance) of a work to be machined. However, a cutting approach method in which the tool is gradually cut into the work is preferable in terms of processing conditions. The retract route is similar.

【0005】特開昭64−32310号公報には、アプ
ローチ経路の作成方法として、ワークの削り代量と工具
径からアプローチの高さと長さを求め、切り込み経路デ
ータからアプローチ長分のデータを読み込みその中から
座標系におけるZ値の最大値を求め、切削開始点から切
削経路データにおける多数の切削ポイントまでの直線距
離を求めて、前記したアプローチ高さと長さを基にして
Z値増分量を算出し、各切削ポイントのZ値増分量にZ
値の最大値を加算してアプローチポイントのZ座標値と
し、切削経路データの切削開始点の前に、該切削開始点
に続く各切削ポイントにおけるX、Y座標値と前記Z座
標値を持つ座標データを、前記切削開始点から逆向きに
付加する作成方法が開示されている。
In Japanese Patent Laid-Open No. 64-32310, as a method for creating an approach path, the approach height and length are obtained from the workpiece machining allowance and the tool diameter, and the approach length data is read from the cutting path data. The maximum value of the Z value in the coordinate system is obtained from that, and the linear distances from the cutting start point to many cutting points in the cutting path data are obtained, and the Z value increment is calculated based on the approach height and length described above. Calculate and add Z value increment of each cutting point
The maximum value is added to obtain the Z coordinate value of the approach point, and the coordinates having the X and Y coordinate values and the Z coordinate value at each cutting point following the cutting start point before the cutting start point of the cutting path data. A creation method is disclosed in which data is added in the reverse direction from the cutting start point.

【0006】[0006]

【発明が解決しようとする課題】前記の従来技術に示し
たアプローチ経路の作成方法は、先端部に切刃を有する
ボールエンドミルを用いて、ワーク上方から形状加工面
にアプローチする場合のアプローチ経路作成方法に関す
るものであり、形状加工面をボールエンドミルで切削加
工する場合には有効な手段であるが、側面に切刃を有す
るフラットエンドミルを用いてワークの輪郭加工(外形
形状を切削するプロフィール加工)を行う場合には適用
できず、NC装置における切削加工時に作業者がマニュ
アル操作でNC装置を操作しながら加工しているのが現
状である。
The method of creating an approach path described in the above-mentioned prior art uses the ball end mill having a cutting edge at the tip thereof to create an approach path when approaching a shaped surface from above the work. It is related to the method, and is an effective means when cutting a shaped surface with a ball end mill, but contour processing of a workpiece using a flat end mill having a cutting edge on the side surface (profile processing for cutting the external shape) However, the present situation is that the operator is manually operating the NC device while cutting the NC device.

【0007】すなわち、フラットエンドミルを用いてワ
ークの輪郭加工を行う場合には、加工形状、加工形態や
使用する工具が異なるため、また、自動車のプレス金型
の切削加工等においては特に加工形状が複雑となるた
め、ワークと工具との間に干渉が発生し得る場合には、
NC装置における切削加工時に作業者が、事前に座グリ
加工を行うことにより、工具の動作領域の安全性を確保
した後、垂直方向から工具をワークの切削開始点にアプ
ローチし、また、切削終了点から垂直に工具をワークか
らリトラクトする動作を行っていた。
That is, when the contouring of a work is performed by using a flat end mill, the machining shape, the machining mode and the tool to be used are different, and the machining shape is particularly remarkable in the cutting of a press die of an automobile. Due to the complexity, if interference can occur between the work and the tool,
During the cutting process in the NC device, the worker performs the spot facing process in advance to ensure the safety of the operation area of the tool, then approaches the cutting start point of the workpiece from the vertical direction and finishes the cutting. The operation of retracting the tool from the work was performed vertically from the point.

【0008】このため、作業者がNC装置に対して手動
割り込みで、加工部位、および、その近傍のワーク形状
により、工具の干渉を考慮しながらアプローチ、リトラ
クト動作を行っており、特にフラットエンドミルを使用
した輪郭加工の場合には、工具の先端部に切刃がなく、
側面に切刃を有するため、工具側面からのアプローチ、
リトラクト動作が必要となり、作業者が切削加工の終了
時まで監視している必要が生じる等、作業者に依存する
部分が多くなり、結果的にNC装置の自動運転による無
人加工を阻害する大きな要因となっていた。
For this reason, the operator manually approaches the NC device to perform approach and retract operations while considering the interference of the tool depending on the work site and the shape of the work in the vicinity thereof. Especially, a flat end mill is used. In the case of contouring used, there is no cutting edge at the tip of the tool,
Since it has a cutting edge on the side, approach from the side of the tool,
A large number of factors depend on the operator, such as the need for retract operation and the need for the operator to monitor until the end of cutting, and as a result, a major factor that hinders unattended machining by automatic operation of the NC device. It was.

【0009】従って、本発明は、前記の不都合を解消す
べくなされたものであって、側面に切刃を有する工具
(フラットエンドミル)で被削材(ワーク)を輪郭加工
する場合におけるNCデータの作成時に、ワークの加工
部位(形態)、および、その近傍のワークの形状や、削
り代(仕上げ代)量まで考慮した最適なアプローチ経路
およびリトラクト経路を自動的に作成することのできる
アプローチ経路およびリトラクト経路作成方法を提供す
ることにより、ワークと工具の干渉を防止し、NC装置
における切削加工時の無人加工運転を可能とすることを
目的とする。
Therefore, the present invention has been made to solve the above-mentioned inconvenience, and NC data of NC data in the case of contour-cutting a work (work) with a tool (flat end mill) having a cutting edge on the side surface is provided. At the time of creation, an optimum approach route and retract route that automatically consider the machining area (form) of the workpiece and the shape of the workpiece in the vicinity and the amount of cutting allowance (finishing allowance) An object of the present invention is to provide a retract route creating method to prevent interference between a work and a tool, and to enable unmanned machining operation during cutting in an NC device.

【0010】[0010]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明は、側面に切刃を有する工具で被削材を輪
郭加工するNC加工において、前記工具と被削材との間
のアプローチ経路およびリトラクト経路を作成する方法
であって、予め定めた優先度を持つ、複数のアプローチ
経路およびリトラクト経路のタイプ毎に、加工条件に基
づいて工具の垂直位置たるZ値一定のアプローチ経路点
列およびリトラクト経路点列を作成するステップと、作
成された前記アプローチ経路点列およびリトラクト経路
点列について、予め定めた評価要素に対する評価点を算
出し、当該評価点が、予め定めた判定ゾーンのいずれに
属するかを判定するステップと、前記Z値一定のアプロ
ーチ経路点列およびリトラクト経路点列の評価点が、前
記判定ゾーンの採用不可ゾーンに属するとき、Z値を変
化させてアプローチ経路およびリトラクト経路を作成
し、前記評価点を算出するステップとからなり、前記各
タイプのアプローチ経路点列およびリトラクト経路点列
の評価点のうち、前記判定ゾーンの採用可ゾーンに属す
る評価点を有するアプローチ経路およびリトラクト経路
が存在する場合、所定の判定基準に従って、加工に採用
するアプローチ経路およびリトラクト経路を決定し、前
記判定ゾーンの警告ゾーンに属する評価点を有するアプ
ローチ経路およびリトラクト経路のみが存在する場合、
所定の判定基準に従って、当該加工に採用するアプロー
チ経路およびリトラクト経路を決定することを特徴とす
る。
In order to achieve the above-mentioned object, the present invention provides an NC machining for contouring a work material with a tool having a cutting edge on a side surface thereof, in which the tool is cut between the tool and the work material. Of the approach path and the retract path, the approach path having a constant Z value, which is the vertical position of the tool based on the machining conditions, for each of a plurality of approach path and retract path types having a predetermined priority. A step of creating a point sequence and a retract route point sequence, and an evaluation point for a predetermined evaluation element is calculated for the created approach route point sequence and retract route point sequence, and the evaluation point is a predetermined determination zone. Which of the evaluation zones of the constant Z value constant approach path point sequence and retract path point sequence are determined in the determination zone. When belonging to the impossible zone, a step of changing the Z value to create an approach route and a retract route, and calculating the evaluation point is included, among the evaluation points of the approach route point sequence and the retract route point sequence of each type. When there is an approach route and a retract route having an evaluation point belonging to the adoptable zone of the determination zone, an approach route and a retract route to be adopted for processing are determined according to a predetermined determination criterion, and the warning zone of the determination zone is set. If there are only approach and retract routes that have an evaluation point to which they belong,
It is characterized in that the approach route and the retract route adopted for the processing are determined according to a predetermined criterion.

【0011】さらに、本発明は、判定ゾーンの採用可ゾ
ーンに属する評価点を有するアプローチ経路およびリト
ラクト経路が複数存在する場合、優先度の最も高いアプ
ローチ経路およびリトラクト経路を、また、前記判定ゾ
ーンの警告ゾーンに属する評価点を有するアプローチ経
路およびリトラクト経路のみが複数存在する場合、被削
材と工具の距離が最長のアプローチ経路およびリトラク
ト経路を、加工に採用するアプローチ経路およびリトラ
クト経路として選択することを特徴とする。
Further, according to the present invention, when there are a plurality of approach routes and retract routes having evaluation points belonging to the adoptable zone of the determination zone, the approach route and the retract route having the highest priority and the determination zone of the determination zone are set. If there are only multiple approach and retract routes that have evaluation points belonging to the warning zone, select the approach route and retract route with the longest distance between the work material and the tool as the approach route and retract route to be used for machining. Is characterized by.

【0012】[0012]

【作用】本発明に係るNC加工におけるアプローチ経路
およびリトラクト経路作成方法では、側面に切刃を有す
る工具で被削材を輪郭加工するNC装置において、工具
と被削材との間のアプローチ経路およびリトラクト経路
を作成するに当たって、予め、好ましいアプローチ経路
およびリトラクト経路のタイプの順に、例えば、円弧タ
イプの経路を第1の優先度、直線タイプの経路を第2の
優先度、逆円弧タイプの経路を第3の優先度として設定
してあり、各タイプのアプローチ経路およびリトラクト
経路を作成し評価する。
According to the method for creating the approach route and retract route in NC machining according to the present invention, in the NC device for contouring a work material with a tool having a cutting edge on the side surface, an approach route between the tool and the work material In creating the retract route, in advance, in order of the preferred approach route and retract route type, for example, the arc type route has the first priority, the linear type route has the second priority, and the reverse arc type route has the second priority. It is set as the third priority, and each type of approach route and retract route is created and evaluated.

【0013】この評価の方法として、アプローチ、リ
トラクトポイントとワークとの間の距離、アプロー
チ、リトラクトポイントがワークの取り代にかかるか否
か、工具のZ軸方向(垂直方向)移動量(Z座標値)
一定でアプローチ経路およびリトラクト経路が作成でき
るか、切削開始点に到達する前、あるいは、切削終了
点以後にワークを削り込むようなアプローチ経路および
リトラクト経路か否か、等の要素について、予め設定し
た評価点を求め、その評価点が予め設定した3つの判定
ゾーン、すなわち、採用可ゾーン、警告ゾーン、採用不
可ゾーンのいずれに入るかによって、算出したアプロー
チ経路およびリトラクト経路のうち、どのタイプのアプ
ローチ経路およびリトラクト経路を採用するかを決定す
るようにされる。
As the evaluation method, the approach, the distance between the retract point and the work, whether the approach and the retract point affect the stock removal of the work, the amount of movement of the tool in the Z-axis direction (vertical direction) (Z coordinate). value)
Whether the approach route and retract route can be created with a certain amount, whether the approach route and retract route are such that the workpiece is cut before reaching the cutting start point or after the cutting end point, etc. are set in advance. Which type of approach is selected from the approach route and the retract route, which are calculated depending on whether the evaluation point is obtained and which of the three judgment zones that are set in advance, that is, the adoptable zone, the warning zone, and the non-adoptable zone, are evaluated. It is made to decide whether to adopt the route and the retract route.

【0014】各タイプ毎に算出したアプローチ経路点列
およびリトラクト経路点列について計算した上記の評価
点が採用可ゾーンにある時には、予め設定した優先度の
順に、採用するアプローチ経路およびリトラクト経路を
決定し、警告ゾーンにある時には、アプローチ、リトラ
クトポイントと加工対象ワークとの間の距離が最大のア
プローチ経路およびリトラクト経路を選択し決定する。
When the above-mentioned evaluation points calculated for the approach route point sequence and the retract route point sequence calculated for each type are in the applicable zone, the approach route and the retract route to be adopted are determined in the order of the preset priority. However, when in the warning zone, the approach path and retract path having the maximum distance between the approach and retract points and the workpiece to be machined are selected and determined.

【0015】このために、NCデータ作成システムで
は、入力された加工条件を基に、予め設定された優先度
を持つアプローチ経路およびリトラクト経路パターン毎
に、先ず、Z値一定のアプローチ経路点列およびリトラ
クト経路点列が作成され、作成された前記アプローチ経
路点列およびリトラクト経路点列について、前記のよう
にして予め定めた評価要素に対する評価点が算出され
る。
For this reason, in the NC data creation system, based on the input processing conditions, first, for each approach route and retract route pattern having a preset priority, an approach route point sequence with a constant Z value and A retract route point sequence is created, and an evaluation point for the evaluation element predetermined as described above is calculated for the created approach route point sequence and retract route point sequence.

【0016】各パターンのアプローチ経路およびリトラ
クト経路の評価点が、予め定めた判定ゾーンのいずれに
属するかが判定され、前記Z値一定のアプローチ経路点
列およびリトラクト経路点列の評価点が、前記判定ゾー
ンの採用不可ゾーンに属するときには、Z値を変化させ
るアプローチ経路およびリトラクト経路が作成され、前
記と同様にして、評価点が算出される。
It is determined which of the predetermined determination zones the evaluation points of the approach route and the retract route of each pattern belong to, and the evaluation points of the approach route point sequence and the retract route point sequence having the constant Z value are the above-mentioned. When it belongs to the non-adoptable zone of the determination zone, the approach route and the retract route for changing the Z value are created, and the evaluation points are calculated in the same manner as described above.

【0017】次に、前記各タイプのアプローチ経路点列
およびリトラクト経路点列の評価点のうち、前記判定ゾ
ーンの採用可ゾーンに属する評価点を有するアプローチ
経路およびリトラクト経路が複数存在する場合は、所定
の判定基準、すなわち、予め定められた優先度の高い順
に従って、加工に採用するアプローチ経路およびリトラ
クト経路が決定され、前記判定ゾーンの警告ゾーンに属
する評価点を有するアプローチ経路およびリトラクト経
路のみが複数存在する場合には、所定の判定基準、すな
わち、工具とワーク間の距離の大小に従って、加工に採
用するアプローチ経路およびリトラクト経路が決定され
る。
Next, if there are a plurality of approach routes and retract routes having evaluation points belonging to the applicable zone of the judgment zone among the evaluation points of the approach route point sequences and retract route point sequences of each type, According to a predetermined criterion, that is, a predetermined high priority order, the approach route and the retract route to be adopted for processing are determined, and only the approach route and the retract route having the evaluation points belonging to the warning zone of the determination zone are set. When there are a plurality of them, the approach route and the retract route adopted for machining are determined according to a predetermined criterion, that is, the magnitude of the distance between the tool and the work.

【0018】[0018]

【実施例】本発明に係るNC加工におけるアプローチ経
路およびリトラクト経路作成方法について、実施例を挙
げ、添付の図面を参照しながら以下詳細に説明する。マ
シニングセンタを用いたNC装置により被削材(ワー
ク)の輪郭加工(プロフィール加工)を行う場合、NC
データとして、工具がワークに干渉することなく当該工
具をワークの切削開始点に切り込み、また、ワークの切
削終了点から工具を逃がす、いわゆるアプローチ経路お
よびリトラクト経路データを作成する必要が生じる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The approach route and retract route creating method in NC processing according to the present invention will be described below in detail with reference to the accompanying drawings. When performing contour processing (profile processing) of a work material (workpiece) with an NC device that uses a machining center, NC
As data, it is necessary to create so-called approach route and retract route data in which the tool is cut into the cutting start point of the work without interfering with the work and the tool is released from the cutting end point of the work.

【0019】特に、工具の側面に切刃を有するフラット
エンドミルを用いて切削加工する場合には、先端に切刃
を持たないため、工具の側面からワークに切り込んで行
き、工具の側面からワークを離脱して行くようなアプロ
ーチ経路およびリトラクト経路をとる必要がある。ま
た、ワークの最初の切削開始点に至る工具の経路(工具
軌跡)は、加工対象ワークの取り代(削り代)量に応じ
て、円弧または曲線等の滑らかな軌跡を描きながら、徐
々に工具をワークに対して切り込んでゆく切削アプロー
チ方法が加工条件上好ましい。リトラクト経路も同様で
ある。
In particular, when a flat end mill having a cutting edge on the side surface of the tool is used for cutting, since the cutting edge is not provided, the work piece is cut from the side surface of the tool to cut the workpiece from the side surface of the tool. It is necessary to take an approach route and a retract route that leave. In addition, the tool path (tool path) to the first cutting start point of the work gradually draws a tool while drawing a smooth path such as an arc or curve according to the machining allowance (cutting allowance) amount of the workpiece. The cutting approach method of cutting the workpiece into the work is preferable in terms of processing conditions. The retract route is similar.

【0020】図1は、フラットエンドミルを用いて切削
加工する場合のアプローチ経路およびリトラクト経路の
タイプを示す図である。図1において、ワークW上の点
Pが切削開始ポイントであり、Sは取り代である。この
ワークWに対して、工具T1のように円弧状の経路A1
でアプローチポイントQ1 から切削開始ポイントPまで
工具の側面の切刃でアプローチし、矢印Aの方向に切削
して行くタイプを円弧タイプと称し、工具T2 のように
直線状の経路A2 でアプローチポイントQ2 から切削開
始ポイントPまでアプローチし、切削開始ポイントPで
工具の進行方向をA方向に変え切削するタイプを直線タ
イプと称し、工具T3 のように切削方向(矢印A)とは
逆方向の円弧状経路A3 でアプローチポイントQ3 から
切削開始ポイントPまでアプローチし、切削開始ポイン
トPで工具の進行方向をA方向に変え切削するタイプを
逆円弧タイプと称することとする。
FIG. 1 is a diagram showing types of approach paths and retract paths when cutting is performed using a flat end mill. In FIG. 1, a point P on the work W is a cutting start point, and S is a machining allowance. For this work W, arcuate path A 1 as the tool T 1
The approach type from the approach point Q 1 to the cutting start point P with the cutting edge on the side of the tool and cutting in the direction of arrow A is called the arc type, and along the straight path A 2 like the tool T 2. A type of approaching from the approach point Q 2 to the cutting start point P and changing the advancing direction of the tool to the A direction at the cutting start point P is called a straight line type, and like the tool T 3 , the cutting direction (arrow A) is A type of approaching from the approach point Q 3 to the cutting start point P on the arcuate path A 3 in the reverse direction and changing the advancing direction of the tool to the A direction at the cutting start point P to perform cutting will be referred to as a reverse arc type.

【0021】リトラクト経路も同様に工具の切削進行方
向とワークからの逃げ方向により、工具T4 のように、
切削終了ポイントEから円弧状の経路A4 でワークWか
ら離脱し、リトラクトポイントQ4 に至る円弧タイプ、
工具T5 のように切削終了ポイントEで切削方向Aに方
向を変え、直線状の経路A5 でワークWから離脱し、リ
トラクトポイントQ5 に至る直線タイプ、工具T6 のよ
うに切削終了ポイントEで切削方向Aに方向を変え、逆
方向の円弧状の経路A6 でワークWから離脱し、リトラ
クトポイントQ6 に至る逆円弧タイプがある。
Similarly for the retract route, depending on the cutting progress direction of the tool and the escape direction from the work, like the tool T 4 ,
An arc type that leaves the work W along the arc-shaped path A 4 from the cutting end point E and reaches the retract point Q 4 .
Like the tool T 5 , the direction is changed to the cutting direction A at the cutting end point E, and the work W is separated from the work W along the straight path A 5 , and reaches the retract point Q 5 , and the cutting end point is set like the tool T 6. There is a reverse arc type in which the direction is changed to the cutting direction A by E, the work W is separated from the work W by a reverse arc-shaped path A 6 , and the retract point Q 6 is reached.

【0022】ここで、円弧タイプ(図1のT1 、T4
のアプローチ経路およびリトラクト経路は、切削開始ポ
イントPあるいは切削終了ポイントEから接線方向にス
ムーズに加工でき、工具軌跡との接続も滑らかに行え
る。これに対して、直線タイプ(図1のT2 、T5 )の
アプローチ経路およびリトラクト経路は、切削開始ポイ
ントPあるいは切削終了ポイントEで工具Tの進行方向
が変わるため、一時的にM/C側の負荷が変化し、加工
面での工具のビビリ、M/C停止の事態を招く危険があ
り、カッターマークがついてしまう問題がある。
Here, arc type (T 1 and T 4 in FIG. 1)
The approach route and the retract route can be smoothly machined in the tangential direction from the cutting start point P or the cutting end point E, and can be smoothly connected to the tool locus. On the other hand, in the straight type (T 2 and T 5 in FIG. 1) approach paths and retract paths, since the traveling direction of the tool T changes at the cutting start point P or the cutting end point E, the M / C is temporarily changed. There is a risk that the load on the side will change, chattering of the tool on the machining surface and M / C stoppage will occur, and that a cutter mark will be attached.

【0023】同様に、逆円弧タイプ(図1のT3
6 )のアプローチ経路およびリトラクト経路は、上記
直線タイプのアプローチ経路およびリトラクト経路と同
様の問題に加えて、切削開始ポイントPまでの間がアッ
パーカット(工具の回転方向と工具の進行方向が逆方向
の関係になる切削)になるため、円弧タイプ等に比べ、
工具に対する切削負荷が大となる問題がある。
Similarly, the reverse arc type (T 3 in FIG. 1,
The approach route and the retract route of T 6 ) have the same problems as those of the straight-line type approach route and the retract route, and in addition to the upper cut (the rotation direction of the tool and the traveling direction of the tool are opposite to each other) up to the cutting start point P. Since the cutting will be in a relation of direction), compared to arc type etc.,
There is a problem that the cutting load on the tool becomes large.

【0024】従って、本発明では、アプローチ経路およ
びリトラクト経路の作成において、円弧タイプの経路を
優先度1、直線タイプの経路を優先度2、逆円弧タイプ
の経路を優先度3とし、各タイプのアプローチ経路およ
びリトラクト経路を作成し、以下に説明する評価方法で
評価し、優先度の高いタイプのアプローチ経路およびリ
トラクト経路を採用し、アプローチ経路およびリトラク
ト経路データを作成するものである。
Therefore, according to the present invention, when creating the approach route and the retract route, the arc type route has the priority 1, the straight type route has the priority 2, and the reverse arc type route has the priority 3. An approach route and a retract route are created, evaluated by the evaluation method described below, a high priority type approach route and a retract route are adopted, and approach route and retract route data are created.

【0025】NCデータ作成システムにおいて、NCデ
ータの中心となるアプローチ経路およびリトラクト経路
データや工具軌跡データは、ワーク材質や形状に関する
データ、加工すべき形状に関するデータ、使用する工具
に関するデータ等の加工条件データを与え、ワークと工
具の干渉チェック等を行い、工具がワークに干渉するこ
となく、所定の切削開始ポイントにアプローチし、切削
終了ポイントまで切削した後、切削終了ポイントから工
具をリトラクトする一連の工具軌跡を算出することによ
り作成される。
In the NC data creation system, approach path and retract path data, which are the main NC data, and tool path data, are processing conditions such as data related to work material and shape, data related to shape to be processed, and data related to tool to be used. Gives data, checks the interference between the work and the tool, etc., without approaching the work, the tool approaches the predetermined cutting start point, cuts to the cutting end point, and then retracts the tool from the cutting end point. It is created by calculating the tool path.

【0026】図2は、ワークWの切削加工すべき形状と
工具Tとの関係を示す図であり、工具Tと工具Tを把持
するホルダ部、駆動軸等が、切削過程においてワークW
と不要な部分で接触することなく工具軌跡が作成される
必要がある。これを干渉回避(干渉チェック)といい、
同図に示す如く、クイル干渉回避A、ホルダ干渉回避
B、シャンク干渉回避C、工具側面干渉回避D、工具底
面(先端)干渉回避E等の干渉チェックが行われ、工具
軌跡、アプローチ経路およびリトラクト経路データが算
出される。
FIG. 2 is a view showing the relationship between the shape of the work W to be cut and the tool T. The tool T, the holder part for holding the tool T, the drive shaft, and the like are the work W in the cutting process.
It is necessary to create a tool path without contacting the unnecessary part. This is called interference avoidance (interference check),
As shown in the figure, interference checks such as quill interference avoidance A, holder interference avoidance B, shank interference avoidance C, tool side interference avoidance D, tool bottom (tip) interference avoidance E, etc. are performed, and the tool trajectory, approach path, and retract are performed. Route data is calculated.

【0027】算出されたアプローチ経路およびリトラク
ト経路がワークの切削加工に使用できるか否かは、ア
プローチ、リトラクトポイントとワークとの間の距離、
アプローチ、リトラクトポイントがワークの取り代に
かかるか否か、工具のZ軸方向(垂直方向)移動量
(Z座標値)一定でアプローチ経路およびリトラクト経
路が作成できるか、切削開始点に到達する前、あるい
は、切削終了点以後にワークを削り込むようなアプロー
チ経路およびリトラクト経路か否か、等の要素を評価し
て決定することになる。
Whether or not the calculated approach path and retract path can be used for cutting the work depends on the distance between the approach, the retract point and the work,
Whether the approach and retract points are applied to the work removal allowance, whether the approach path and retract path can be created with a constant Z-axis direction (vertical direction) movement amount (Z coordinate value) of the tool, or before the cutting start point is reached Alternatively, it is decided by evaluating factors such as whether or not the approach route and the retract route are such that the workpiece is cut after the cutting end point.

【0028】本発明では、これらの各評価要素について
の評価点について、算出したアプローチ経路およびリト
ラクト経路を加工対象ワークの切削に採用する際の障害
の度合いが小さい程小さく、障害が大きい程大きな評価
点となるように定め、また、各評価要素毎に、当該評価
要素が対象ワークの切削に採用する際に生じる影響度の
小さな評価要素程小さく、影響度の大きな評価要素程大
きな重み付けを有する、一種の評価関数として予め設定
してある。
In the present invention, with respect to the evaluation points for each of these evaluation elements, the smaller the degree of the obstacle when the calculated approach route and retract route are adopted for cutting the workpiece to be machined, the smaller the evaluation, and the larger the obstacle, the larger the evaluation. In addition, the evaluation element has a smaller weighting for each evaluation element, which has a smaller influence degree when the evaluation element is used for cutting the target work, and has a larger weighting for an evaluation element having a larger influence degree. It is preset as a kind of evaluation function.

【0029】そして、前記のように設定された評価点を
用いて、前述した各評価要素について、円弧タイプ、直
線タイプ、逆円弧タイプの各タイプ毎に算出したアプロ
ーチ経路点列およびリトラクト経路点列について、評価
点を計算し、その評価点が予め設定した3つの判定ゾー
ン、すなわち、採用可ゾーン、警告ゾーン、採用不可ゾ
ーンのいずれに入るかによって、算出したアプローチ経
路およびリトラクト経路のうち、どのタイプのアプロー
チ経路およびリトラクト経路を採用するかを決定する。
Then, using the evaluation points set as described above, the approach route point sequence and the retract route point sequence calculated for each of the above-mentioned evaluation elements for each of the arc type, the straight line type, and the reverse arc type. Of the approach route and retract route calculated depending on which of the three judgment zones that are set in advance, that is, the adoptable zone, the warning zone, and the non-admissible zone. Decide whether to adopt the type of approach and retract routes.

【0030】ここで、本発明では、各タイプ毎に算出し
たアプローチ経路点列およびリトラクト経路点列につい
て計算した上記の評価点が採用可ゾーンにある時には、
予め設定した優先度(円弧タイプ=優先度1、直線タイ
プ=優先度2、逆円弧タイプ=優先度3)の順に、加工
対象ワークの切削に採用するアプローチ経路およびリト
ラクト経路を決定し、警告ゾーンにある時には、アプロ
ーチ、リトラクトポイントと加工対象ワークとの間の距
離が最大のアプローチ経路およびリトラクト経路を選択
し決定する。
Here, in the present invention, when the evaluation points calculated for the approach route point sequence and the retract route point sequence calculated for each type are in the adoptable zone,
The approach route and retract route to be used for cutting the workpiece to be machined are determined in the order of preset priority (arc type = priority 1, straight line type = priority 2, reverse arc type = priority 3), and the warning zone , The approach path and retract path having the maximum distance between the approach and retract points and the workpiece to be machined are selected and determined.

【0031】図3は、以上のようにしてアプローチ経路
およびリトラクト経路を決定する際の工具とワークの関
係の一例を示す図である。図3(a)は、図示の形状に
ワークWを取り代Sで切削する場合について、工具T1
に示す円弧タイプ、工具T2に示す直線タイプ、工具T
3 に示す逆円弧タイプでそれぞれ算出したアプローチ経
路を示している。
FIG. 3 is a diagram showing an example of the relationship between the tool and the work when determining the approach route and the retract route as described above. 3 (a) is a case of cutting at the die S takes the workpiece W to the illustrated shape, the tool T 1
Arc type shown in, Tool T 2 straight type, Tool T
The approach paths calculated for each of the reverse arc types shown in 3 are shown.

【0032】工具T1 の円弧タイプのアプローチ経路
は、アプローチポイントQ1 がワークWにかかっており
干渉を生じる状態であり、評価点は採用不可ゾーンにな
り、工具T2 の直線タイプのアプローチ経路は、アプロ
ーチポイントQ2 が切削開始ポイントPに達する以前に
ワークの切削区間外で取り代Sにかかっている状態であ
り、評価点は警告ゾーンになる。工具T3 の逆円弧タイ
プのアプローチ経路は、ワークWとアプローチポイント
3 は充分に離れており、切削開始ポイントPに至る経
路にも問題はなく、評価点は採用ゾーンに入る。逆円弧
タイプのアプローチ経路は優先度が最も低いが、他に採
用ゾーンに入る評価点のアプローチ経路がないため、こ
の例では工具T3 による逆円弧タイプのアプローチ経路
が採用される。
In the arc type approach path of the tool T 1 , the approach point Q 1 is in contact with the work W and causes interference, and the evaluation point is in the non-applicable zone, and the straight path approach path of the tool T 2 is used. Is a state in which the machining allowance S is outside the cutting section of the work before the approach point Q 2 reaches the cutting start point P, and the evaluation point is the warning zone. In the inverse circular arc type approach path of the tool T 3 , the work W and the approach point Q 3 are sufficiently separated from each other, and there is no problem in the path to the cutting start point P, and the evaluation point enters the adoption zone. The reverse arc type approach path has the lowest priority, but there is no other approach path of the evaluation point that enters the adopted zone. Therefore, in this example, the reverse arc type approach path by the tool T 3 is adopted.

【0033】図3(b)は図示の形状にワークWを取り
代Sで切削する場合について、工具T1 に示す円弧タイ
プ、工具T2 に示す直線タイプでそれぞれ算出したアプ
ローチ経路を示している。前記と同様に、工具T1 の円
弧タイプのアプローチ経路の評価点は警告ゾーンに、工
具T2 の直線タイプのアプローチ経路の評価点は採用ゾ
ーンに入る。この場合も、直線タイプのアプローチ経路
は円弧タイプのアプローチ経路より優先度は低いが、採
用ゾーンにあるため、工具T2 による直線タイプのアプ
ローチ経路が採用される。
FIG. 3 (b) shows approach paths calculated respectively for the arc type shown in the tool T 1 and the straight line type shown in the tool T 2 when the work W is cut in the illustrated shape with the stock removal S. . Similarly to the above, the evaluation point of the arc type approach path of the tool T 1 is in the warning zone, and the evaluation point of the linear type approach path of the tool T 2 is in the adoption zone. In this case as well, the linear type approach route has a lower priority than the circular arc type approach route, but since it is in the adoption zone, the linear type approach route by the tool T 2 is adopted.

【0034】図3(c)も同様に、図示の形状にワーク
Wを取り代Sで切削する場合について、工具T1 に示す
円弧タイプ、工具T2 に示す直線タイプ、工具T3 に示
す逆円弧タイプでそれぞれ算出したアプローチ経路を示
している。この場合、どのタイプのアプローチ経路も、
アプローチポイントQ1 ないしQ3 において、ワークW
の対向面側の取り代Sにかかっており、評価点はいずれ
も警告ゾーンに入る。この場合は、アプローチポイント
1 ないしQ3 とワークWとの距離a、b、cのうち、
最大の距離bを持つ工具T2 による直線タイプのアプロ
ーチ経路が採用される。
Similarly in FIG. 3 (c), when the work W is cut into the shape shown in the drawing with the machining allowance S, the arc type shown in the tool T 1 , the straight type shown in the tool T 2 , and the reverse shown in the tool T 3. The approach paths calculated for each arc type are shown. In this case, any type of approach route
Work point W at approach points Q 1 to Q 3
It depends on the machining allowance S on the facing surface side, and the evaluation points are all in the warning zone. In this case, of the distances a, b, and c between the approach points Q 1 to Q 3 and the work W,
A linear type approach path with the tool T 2 having the maximum distance b is adopted.

【0035】図3(d)は、同様に、図示の形状にワー
クWを取り代Sで切削する場合について、工具T1 に示
す円弧タイプ、工具T2 に示す直線タイプ、工具T3
示す逆円弧タイプでそれぞれ算出したアプローチ経路を
示している。この場合、工具T1 の円弧タイプのアプロ
ーチ経路のみアプローチポイントQ1 において、ワーク
Wの対向面側の取り代Sにかかっており、評価点は警告
ゾーンに入り、工具T 2 の直線タイプ、工具T3 の逆円
弧タイプのアプローチ経路は問題がなく、評価点は採用
ゾーンに入り、優先度の高い工具T2 による直線タイプ
のアプローチ経路が採用される。
Similarly, FIG. 3 (d) shows a work shape as shown.
When cutting the W with the stock removal S, the tool T1Shown in
Circular arc type, tool T2Linear type, tool T shown in3To
The approach route calculated for each of the reverse arc types shown
Shows. In this case, the tool T1Arc type appro
Only approach route Q1At the work
It depends on the machining allowance S on the opposite side of W, and the evaluation point is a warning
Enter Zone, Tool T 2Straight type, tool T3Reverse circle of
There is no problem with the arc type approach route, and evaluation points are adopted
Enter the zone and have a high priority tool T2Straight line type
The approach route of is adopted.

【0036】図4は、本発明に係るアプローチ経路およ
びリトラクト経路を作成するためのNCデータ作成シス
テムの構成を示す図である。このNCデータ作成システ
ムは、中央処理装置を持ち、図形計算や表示制御、デー
タベース管理等の役割を持つコンピュータ2、大量の図
形情報を保存し更新することのできる磁気ディスクデー
タベース4、システムにおいて作成されたNCデータを
出力するNCデータ出力装置6、システムとその使用者
との対話の中心的装置であり、入力装置と連動して利用
されるディスプレイ装置8、ディスプレイ装置8に接続
されるタブレット10、キーボード12、マウス14、
ボリュームスイッチ16等の入力機器から構成されてい
る。
FIG. 4 is a diagram showing a configuration of an NC data creating system for creating an approach route and a retract route according to the present invention. This NC data creation system has a central processing unit and is used in a computer 2 having a role of graphic calculation, display control, database management, etc., a magnetic disk database 4 capable of storing and updating a large amount of graphic information, and created in the system. An NC data output device 6 for outputting NC data, a display device 8 which is a central device for dialogue between the system and its user and is used in conjunction with an input device, a tablet 10 connected to the display device 8, Keyboard 12, mouse 14,
It is composed of an input device such as a volume switch 16.

【0037】そして、前記のNCデータ作成システム
は、図5に示す論理構成図の如く多くのプログラムを有
している。各プログラムは分担する機能により次のよう
なモジュールに分類することができる。 NCデータ作成システム内の処理および情報の流れ
を制御するオペレーティングシステム32および制御モ
ジュール34、 各種の入力機器、例えば、キーボード12に対応し
た入力操作が円滑に行われるように援助する入力モジュ
ール44、 入力された情報をコマンド命令の形式に従って解釈
する入力解釈モジュール40、 表示情報の管理およびコマンドに従った表示処理を
行う表示モジュール38、 命令に対応したサブモジュールより構成されるコマ
ンドに従った図形処理を行う図形処理コマンドモジュー
ル24、 データベース54に保持されたNCデータ作成シス
テムに必要な大量の情報を効率よく検索および蓄積する
データベース操作モジュール50、 自動設計プログラムであるマクロプログラム28a
を実行するマクロモジュール28、 他のCADシステムやNCデータ作成システムとの
情報交換および連動処理を行う外部システムインタフェ
ース30等を備える。
The NC data creating system has many programs as shown in the logical configuration diagram of FIG. Each program can be classified into the following modules according to the function to be shared. Operating system 32 and control module 34 for controlling processing and information flow in the NC data creation system, various input devices, for example, input module 44 for assisting smooth input operation corresponding to keyboard 12, input An input interpreting module 40 for interpreting the displayed information according to a command command format, a display module 38 for managing display information and a display process according to the command, and a graphic process according to the command including a sub-module corresponding to the command. Figure processing command module 24 to perform, database operation module 50 for efficiently searching and accumulating a large amount of information necessary for the NC data creation system held in database 54, macro program 28a which is an automatic design program
A macro module 28 for executing the above, an external system interface 30 for exchanging information with another CAD system or an NC data creation system, and an interlocking process, and the like.

【0038】さらに、システムには、拡張性および保守
性を保つため、システムの構成および標準値等を記憶す
るシステム制御ファイル22、各コマンドの操作性およ
びプログラム制御手順を記憶するコマンド制御ファイル
42、表示装置の機種および構成を記憶する表示制御フ
ァイル36等の補助ファイルが用意されている。
Further, in order to maintain the expandability and maintainability of the system, a system control file 22 for storing the system configuration and standard values, a command control file 42 for storing the operability of each command and the program control procedure, An auxiliary file such as a display control file 36 for storing the model and configuration of the display device is prepared.

【0039】また、図形の処理を行う図形処理ライブラ
リ46、ディスプレイ装置8に表示を行うための表示ラ
イブラリ48、システムで作成されたNCデータをNC
データ出力装置6に出力するためのNCデータ変換ユー
ティリティ56、他のシステムと結合するためのデータ
交換ユーティリティ52が用意されている。
Also, a graphic processing library 46 for processing graphics, a display library 48 for displaying on the display device 8, and NC data created by the system are NC.
An NC data conversion utility 56 for outputting to the data output device 6 and a data exchange utility 52 for coupling with another system are prepared.

【0040】次に、各モジュールについて簡単に説明す
る。制御モジュール34は、プログラム群をモジュール
化し、各モジュール間に介在することにより、システム
内制御の一元管理および呼出し手順の標準化を行う。そ
の機能としては、開始、終了、異常処理および各モジュ
ールの実行制御、実行履歴の記録、デバッグ機能、オペ
レーティングシステム32との特殊処理を行う。
Next, each module will be briefly described. The control module 34 standardizes the centralized management of control in the system and the calling procedure by modularizing the program group and interposing between the modules. Its functions include start, end, abnormal processing, execution control of each module, execution history recording, debug function, and special processing with the operating system 32.

【0041】入力モジュール44は、各種入力装置の各
種入力方法を整理統一した仕様に従った快適な入力手順
を使用者に提供する。その機能は、使用者に対し入力す
べき情報の種類、入力方法および入力装置を指示する入
力促進、入力情報の選択、入力情報の標準型への変換を
行う。
The input module 44 provides the user with a comfortable input procedure according to the specification in which various input methods of various input devices are unified. The function is to prompt the user for the type of information to be input, the input method and the input device, select the input information, and convert the input information into the standard type.

【0042】入力解釈モジュール40は、入力情報の解
釈方法、および結果表示を一元化することにより、多様
な入力指示方法をサポートして入力操作性を向上させる
とともに、システムの拡張性を維持する。その機能とし
ては、入力情報の解釈および解釈結果の表示を行う。
The input interpretation module 40 unifies the method of interpreting the input information and the result display to support various input instruction methods to improve the input operability and maintain the expandability of the system. Its function is to interpret the input information and display the interpretation result.

【0043】表示モジュール38は、多様な表示操作要
求を統一的に処理し、表示情報および表示状態の管理を
行う。その機能は、表示装置の管理、表示制御、表示情
報の管理、表示状態の管理を行う。
The display module 38 uniformly processes various display operation requests and manages display information and display state. The function manages the display device, display control, display information management, and display state management.

【0044】図形処理コマンドモジュール24は、入力
引数の形式、コマンドに従った処理プログラムの呼び出
し、結果の処理方法を一元的に管理し、システムの保守
性および拡張性を維持する。
The graphic processing command module 24 centrally manages the format of the input argument, the calling of the processing program according to the command, and the processing method of the result, and maintains the maintainability and expandability of the system.

【0045】データベース操作モジュール50は、他モ
ジュールからの要求方法を標準化するとともに、障害発
生時の回復手段を提供する。その機能は、データベース
使用状況の管理、データベース54の操作、障害発生時
の処理等である。
The database operation module 50 standardizes the request method from other modules and provides a recovery means when a failure occurs. The functions are management of database usage, operation of the database 54, processing at the time of failure, and the like.

【0046】外部システムインタフェース30は、他シ
ステムとの情報授受を標準化し、NCデータ作成システ
ムの有効利用を図る。その機能は、外部システムとの情
報授受、外部プログラムの稼働制御を行う。
The external system interface 30 standardizes the exchange of information with other systems to make effective use of the NC data creation system. The function exchanges information with an external system and controls the operation of an external program.

【0047】マクロモジュール28は、作成されたマク
ロプログラム28aに従って、NCデータ作成システム
の実行制御を行う。その機能は、マクロプログラム28
aの翻訳、実行である。
The macro module 28 controls the execution of the NC data creating system according to the created macro program 28a. Its function is macro program 28
Translation and execution of a.

【0048】工具軌跡算出モジュール26は、入力され
た加工条件、すなわち、ワーク材質や形状に関するデー
タ、加工すべき形状に関するデータ、使用する工具に関
するデータ等の加工条件データに基づき、工具軌跡デー
タ、アプローチ、リトラクト経路データ等を演算する。
The tool locus calculation module 26 is based on the inputted working conditions, that is, the work material data and the shape data, the shape data to be machined, the working condition data such as the data of the tool to be used, and the like. , Retract route data etc. are calculated.

【0049】図6および図7は、本発明に係るアプロー
チ経路およびリトラクト経路作成の手順を示すフローチ
ャートである。NCデータ作成システム(図4、図5参
照)には、アプローチ、リトラクト経路データの作成に
先立ち、キーボード12等の入力機器から、工具軌跡デ
ータ、アプローチ、リトラクト経路データを作成するた
めに必要となる加工条件としてワーク材質や形状に関す
るデータ、加工すべき形状に関するデータ、使用する工
具に関するデータ等が入力されている。入力された前記
の各加工条件データは、入力解釈モジュール40により
解釈され、入力モジュール44、制御モジュール34を
介して、工具軌跡算出モジュール26に送られる。
6 and 7 are flow charts showing the procedure for creating the approach route and retract route according to the present invention. The NC data creation system (see FIGS. 4 and 5) is required to create tool path data, approach, and retract path data from the input device such as the keyboard 12 before creating approach and retract path data. As the processing conditions, data regarding the work material and shape, data regarding the shape to be processed, data regarding the tool to be used, etc. are input. The input processing condition data is interpreted by the input interpreting module 40 and sent to the tool trajectory calculating module 26 via the input module 44 and the control module 34.

【0050】工具軌跡算出モジュール26では、先ずス
テップS1においてアプローチ経路およびリトラクト経
路のタイプnを1とする。nは先に説明した優先度の数
値であり、1は円弧タイプ、2は直線タイプ、3は逆円
弧タイプである。以下の各ステップでは、この数値によ
り指定されたタイプのアプローチ経路およびリトラクト
経路が算出され、当該アプローチ経路およびリトラクト
経路の評価点が算出され、この評価点が判定ゾーンのい
ずれに入るが演算され、タイプnを2、3と変更して各
タイプのアプローチ経路およびリトラクト経路を算出
し、同様の処理を繰り返すことになる。
In the tool locus calculation module 26, first, the type n of the approach route and the retract route is set to 1 in step S1. n is a numerical value of the priority described above, 1 is an arc type, 2 is a straight line type, and 3 is a reverse arc type. In each of the following steps, the approach route and retract route of the type designated by this numerical value are calculated, the evaluation points of the approach route and the retract route are calculated, and which of the determination zones this evaluation point falls in is calculated, The type n is changed to 2 and 3, the approach route and the retract route of each type are calculated, and the same processing is repeated.

【0051】ステップS2において、指定されたタイプ
(初めはn=1で円弧タイプ)の、Z値が一定(工具の
垂直方向、Z軸の座標値が一定)のアプローチ経路点
列、あるいは、リトラクト経路点列が算出され、Z軸方
向の干渉チェック、干渉フラグ設定が行われ(ステップ
S3)、次いで、2次元干渉チェック、干渉部分の削除
が行われる(ステップS4)。この干渉チェックは、N
Cデータ作成において一般に行われる干渉チェックの方
法を使用することができる。
In step S2, the approach path point sequence of the specified type (initially an arc type with n = 1) with a constant Z value (vertical direction of the tool, the coordinate value of the Z axis is constant), or retract. A path point sequence is calculated, interference check in the Z-axis direction and interference flag setting are performed (step S3), then two-dimensional interference check and interference portion deletion are performed (step S4). This interference check is N
It is possible to use a method of interference check which is generally performed in C data generation.

【0052】次に、工具軌跡算出モジュール26は、ス
テップS5において、ステップS2で算出されたアプロ
ーチ経路点列、あるいは、リトラクト経路点列の評価点
が算出され、判定ゾーンのいずれに入るかの評価が行わ
れる。例えば、採用可ゾーンはmn =n+10、警告ゾ
ーンはmn =n+20、採用不可ゾーンはmn =nに設
定されており、算出した評価点が採用不可ゾーン(mn
=n)の場合(ステップS6)、ステップS7におい
て、Z値(Z軸座標)が変化するアプローチ経路あるい
はリトラクト経路の評価点が算出される。例えば、採用
可ゾーンはmn =n+30、警告ゾーンはmn =n+4
0、採用不可ゾーンはmn =50であり、判定ゾーンの
いずれに入るかが評価され、ステップS8に進む。
Next, in step S5, the tool trajectory calculation module 26 calculates the evaluation points of the approach route point sequence or the retract route point sequence calculated in step S2, and evaluates which one of the determination zones is to be entered. Is done. For example, the adoptable zone is set to m n = n + 10, the warning zone is set to m n = n + 20, and the adoptable zone is set to m n = n.
= N) (step S6), the evaluation points of the approach route or the retract route in which the Z value (Z-axis coordinate) changes are calculated in step S7. For example, the adoptable zone is m n = n + 30, and the warning zone is m n = n + 4.
0, the non-adoptable zone is m n = 50, which of the determination zones is evaluated, and the process proceeds to step S8.

【0053】一方、ステップS6において、評価点が採
用可ゾーンあるいは警告ゾーンに入っている場合は、ス
テップS8に進み、アプローチ、リトラクト経路パター
ンが3以上でなければ、nを1ずつ増加(ステップS
9)し、ステップS2からステップS9の処理を繰り返
し、円弧タイプ(n=1)、直線タイプ(n=2)、逆
円弧タイプ(n=3)のアプローチ経路点列およびリト
ラクト経路点列の評価が順次行われる。
On the other hand, in step S6, if the evaluation point is in the adoptable zone or the warning zone, the process proceeds to step S8. If the approach / retract route pattern is not 3 or more, n is incremented by 1 (step S
9) Then, the processes of steps S2 to S9 are repeated to evaluate the approach route point sequence and the retract route point sequence of the arc type (n = 1), the straight line type (n = 2), and the reverse arc type (n = 3). Are sequentially performed.

【0054】以上のようにして、各パターンのアプロー
チ経路点列およびリトラクト経路点列について、その評
価点と、その評価点がどの判定ゾーンに入るかの評価が
完了すると、当該ワークの切削加工に採用するアプロー
チ経路およびリトラクト経路の決定が図7のステップS
10以降の手順で決定される。すなわち、ステップS1
0において評価点mn が20に満たない場合、およびス
テップS13において評価点が40に満たない場合は、
その評価点を持つアプローチ、あるいは、リトラクト経
路は採用可ゾーンにあり、ステップS11において評価
点mn が最小の値であるアプローチ経路およびリトラク
ト経路が採用される。このことは、各評価要素の評価点
が同点の経路パターンが存在するときには、nの小さ
い、すなわち、優先度の小さいパターンのアプローチ経
路およびリトラクト経路が採用されることを意味する。
As described above, when the evaluation points of the approach route point sequence and the retract route point sequence of each pattern and the evaluation zone to which the evaluation point falls are completed, the work is cut. The approach route and retract route to be adopted are determined in step S of FIG.
It is determined by the procedure after 10. That is, step S1
When the evaluation point m n is less than 20 at 0 and the evaluation point is less than 40 at step S13,
The approach or retract route having the evaluation point is in the adoptable zone, and the approach route and the retract route having the minimum evaluation point m n are adopted in step S11. This means that when there is a route pattern in which the evaluation points of the respective evaluation elements are the same, the approach route and the retract route having a pattern with a small n, that is, a pattern with a small priority are adopted.

【0055】ステップS12において評価点mn が30
に満たない場合、およびステップS14において評価点
n が50に満たない場合は、その評価点を持つアプロ
ーチ経路またはリトラクト経路は警告ゾーンにあり、ス
テップS15においては、当該アプローチ、リトラクト
経路点列とワークとの距離が最長のアプローチ経路およ
びリトラクト経路が採用される。
In step S12, the evaluation point m n is 30.
When the evaluation point m n is less than 50 in step S14, the approach route or retract route having the evaluation point is in the warning zone, and in step S15, the approach route and retract route point sequence are The approach route and retract route with the longest distance to the work are adopted.

【0056】ステップS14において、評価点mn が5
0以上となる場合は、算出したアプローチ経路およびリ
トラクト経路がすべて採用不可ゾーンにあることとな
り、工具軌跡として成立しないため、切削加工の加工区
間を変更したり、加工プランニングの変更が必要とな
る。ステップS16ではこの旨のエラーメッセージをデ
ィスプレイ装置8(図4、図5参照)に表示して処理を
終了する。
In step S14, the evaluation point m n is 5
When it is 0 or more, all of the calculated approach route and retract route are in the non-adoptable zone, and they do not hold as a tool locus. Therefore, it is necessary to change the machining section for cutting or change the machining planning. In step S16, an error message to that effect is displayed on the display device 8 (see FIGS. 4 and 5), and the process ends.

【0057】以上のようにして、工具軌跡算出モジュー
ル26によりアプローチ、リトラクト経路データの作
成、評価が完了して、採用するアプローチ、リトラクト
経路データが決定されると、これらのアプローチ、リト
ラクト経路データは、工具軌跡データとともに、工具軌
跡算出モジュール26から出力され、データベース操作
モジュール50の制御のもとに、データベース54に格
納され、NC装置における加工に際して、NCデータ変
換ユーティリィティ56でNCデータに変換され、NC
データ出力装置6に出力され、NC加工に使用される。
As described above, when the approach and retract route data are created and evaluated by the tool locus calculation module 26, and the approach and retract route data to be adopted are determined, these approaches and retract route data are , Is output from the tool trajectory calculation module 26 together with the tool trajectory data, is stored in the database 54 under the control of the database operation module 50, and is converted into NC data by the NC data conversion utility 56 during machining in the NC device. , NC
It is output to the data output device 6 and used for NC processing.

【0058】[0058]

【発明の効果】本発明に係るNC加工におけるアプロー
チ経路およびリトラクト経路作成方法によれば、以下の
効果が得られる。すなわち、本発明は、アプローチ経路
およびリトラクト経路作成方法において、側面に切刃を
有する工具(フラットエンドミル)で被削材(ワーク)
を輪郭加工する場合におけるNCデータの作成時に、ワ
ークの加工部位(形態)、および、その近傍のワーク形
状や、削り代(仕上げ代)まで考慮した最適なアプロー
チ経路およびリトラクト経路を自動的に作成することが
でき、ワークと工具の干渉を防止し、NC装置における
切削加工時の無人加工運転が可能になる。
According to the approach route and retract route creating method in NC processing according to the present invention, the following effects can be obtained. That is, the present invention, in the approach path and retract path creating method, uses a tool (flat end mill) having a cutting edge on the side surface to work material.
When NC data is created for contour machining, the optimum approach route and retract route are automatically created, taking into consideration the machining area (form) of the workpiece, the workpiece shape in the vicinity of it, and the cutting allowance (finishing allowance). It is possible to prevent the interference between the work and the tool, and it becomes possible to perform an unmanned machining operation at the time of cutting in the NC device.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係るアプローチ経路およびリトラクト
経路のタイプを説明する図である。
FIG. 1 is a diagram illustrating types of approach routes and retract routes according to the present invention.

【図2】ワークと工具の干渉チェックの関係を示す図で
ある。
FIG. 2 is a diagram showing a relationship between a work and a tool interference check.

【図3】アプローチ経路およびリトラクト経路を決定す
る際の工具とワークの関係を示す図である。
FIG. 3 is a diagram showing a relationship between a tool and a work when determining an approach path and a retract path.

【図4】本発明に係るアプローチ、リトラクト経路デー
タを作成するNCデータ作成システムの構成図である。
FIG. 4 is a configuration diagram of an NC data creation system that creates approach and retract route data according to the present invention.

【図5】NCデータ作成システムの論理的構成を示す論
理構成図である。
FIG. 5 is a logical configuration diagram showing a logical configuration of an NC data creation system.

【図6】本発明に係るアプローチ経路およびリトラクト
経路作成手順を示すフローチャートである。
FIG. 6 is a flowchart showing an approach route and retract route generation procedure according to the present invention.

【図7】本発明に係るアプローチ経路およびリトラクト
経路作成手順を示すフローチャートである。
FIG. 7 is a flowchart showing an approach route and retract route generation procedure according to the present invention.

【符号の説明】[Explanation of symbols]

2…コンピュータ 4…磁気ディスクデータベース 6…NCデータ出力装置 8…ディスプレイ装置 10…タブレット 12…キーボード 14…マウス 16…ボリュームスイッチ 26…工具軌跡算出モジュール 40…入力解釈モジュール 44…入力モジュール 50…データベース操作モジュール 54…データベース 56…NCデータ変換ユーティリティ 2 ... Computer 4 ... Magnetic disk database 6 ... NC data output device 8 ... Display device 10 ... Tablet 12 ... Keyboard 14 ... Mouse 16 ... Volume switch 26 ... Tool locus calculation module 40 ... Input interpretation module 44 ... Input module 50 ... Database operation Module 54 ... Database 56 ... NC data conversion utility

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡辺 直猪 埼玉県狭山市新狭山1−10−1 ホンダエ ンジニアリング株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Naohino Watanabe 1-10-1 Shin-Sayama, Sayama-shi, Saitama Honda Engineering Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】側面に切刃を有する工具で被削材を輪郭加
工するNC加工において、前記工具と被削材との間のア
プローチ経路およびリトラクト経路を作成する方法であ
って、 予め定めた優先度を持つ、複数のアプローチ経路および
リトラクト経路のタイプ毎に、 加工条件に基づいて工具の垂直位置たるZ値一定のアプ
ローチ経路点列およびリトラクト経路点列を作成するス
テップと、 作成された前記アプローチ経路点列およびリトラクト経
路点列について、予め定めた評価要素に対する評価点を
算出し、当該評価点が、予め定めた判定ゾーンのいずれ
に属するかを判定するステップと、 前記Z値一定のアプローチ経路点列およびリトラクト経
路点列の評価点が、前記判定ゾーンの採用不可ゾーンに
属するとき、Z値を変化させてアプローチ経路およびリ
トラクト経路を作成し、前記評価点を算出するステップ
とからなり、 前記各タイプのアプローチ経路点列およびリトラクト経
路点列の評価点のうち、前記判定ゾーンの採用可ゾーン
に属する評価点を有するアプローチ経路およびリトラク
ト経路が存在する場合、所定の判定基準に従って、加工
に採用するアプローチ経路およびリトラクト経路を決定
し、前記判定ゾーンの警告ゾーンに属する評価点を有す
るアプローチ経路およびリトラクト経路のみが存在する
場合、所定の判定基準に従って、当該加工に採用するア
プローチ経路およびリトラクト経路を決定することを特
徴とするNC加工におけるアプローチ経路およびリトラ
クト経路作成方法。
1. A method for creating an approach route and a retract route between a tool and a work material in NC machining for contouring a work material with a tool having a cutting edge on a side surface, the method being predetermined. Creating a series of approach path points and retract path point rows having a constant Z value, which is the vertical position of the tool, based on the machining conditions, for each of a plurality of approach path and retract path types having priority, For the approach route point sequence and the retract route point sequence, a step of calculating an evaluation point for a predetermined evaluation element and determining which of the predetermined determination zones the evaluation point belongs to, the Z value constant approach When the evaluation points of the route point sequence and the retract route point sequence belong to the non-adoptable zone of the determination zone, the Z value is changed to approach. Comprising a step of creating a route and a retract route, and calculating the evaluation point, among the evaluation points of the approach route point sequence and retract route point sequence of each type, the evaluation points belonging to the adoptable zone of the determination zone When there are approach routes and retract routes, the approach routes and retract routes to be adopted for processing are determined according to a predetermined criterion, and only the approach routes and retract routes having the evaluation points belonging to the warning zone of the determination zone exist. In this case, the approach route and the retract route in the NC process are characterized in that the approach route and the retract route adopted for the process are determined according to a predetermined criterion.
【請求項2】請求項1記載のアプローチ経路およびリト
ラクト経路作成方法において、前記判定ゾーンの採用可
ゾーンに属する評価点を有するアプローチ経路およびリ
トラクト経路が複数存在する場合、前記優先度の最も高
いアプローチ経路およびリトラクト経路を、加工に採用
するアプローチ経路およびリトラクト経路として選択す
ることを特徴とするNC加工におけるアプローチ経路お
よびリトラクト経路作成方法。
2. The approach route and retract route creation method according to claim 1, wherein when there are a plurality of approach routes and retract routes having evaluation points belonging to the adoptable zone of the judgment zone, the approach with the highest priority is given. A method for creating an approach route and a retract route in NC processing, characterized in that a route and a retract route are selected as an approach route and a retract route adopted for processing.
【請求項3】請求項1記載のアプローチ経路およびリト
ラクト経路作成方法において、前記判定ゾーンの警告ゾ
ーンに属する評価点を有するアプローチ経路およびリト
ラクト経路のみが複数存在する場合、被削材と工具の距
離が最長のアプローチ経路およびリトラクト経路を、加
工に採用するアプローチ経路およびリトラクト経路とし
て選択することを特徴とするNC加工におけるアプロー
チ経路およびリトラクト経路作成方法。
3. The approach route and retract route creating method according to claim 1, wherein only a plurality of approach routes and retract routes having evaluation points belonging to the warning zone of the determination zone are present, the distance between the work material and the tool. A method for creating an approach route and a retract route in NC processing, characterized in that the longest approach route and retract route are selected as the approach route and the retract route to be adopted for processing.
JP26897992A 1992-10-07 1992-10-07 Method for creating approach route and retract route in NC processing Pending JPH06119029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26897992A JPH06119029A (en) 1992-10-07 1992-10-07 Method for creating approach route and retract route in NC processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26897992A JPH06119029A (en) 1992-10-07 1992-10-07 Method for creating approach route and retract route in NC processing

Publications (1)

Publication Number Publication Date
JPH06119029A true JPH06119029A (en) 1994-04-28

Family

ID=17465968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26897992A Pending JPH06119029A (en) 1992-10-07 1992-10-07 Method for creating approach route and retract route in NC processing

Country Status (1)

Country Link
JP (1) JPH06119029A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998041357A1 (en) * 1997-03-15 1998-09-24 Makino Milling Machine Co., Ltd. Machining processor
US6535788B1 (en) 1998-09-14 2003-03-18 Makino Milling Machine Co., Ldt Machining apparatus
JP2004154869A (en) * 2002-11-01 2004-06-03 Toyota Motor Corp Truing method and truing device
JP2008186046A (en) * 2007-01-26 2008-08-14 Mitsubishi Heavy Ind Ltd Cutting path producing method, program, and apparatus
JP2013020436A (en) * 2011-07-11 2013-01-31 Jatco Ltd Machining device and machining method
CN114370458A (en) * 2021-12-08 2022-04-19 安徽中润航空科技有限公司 Aviation spline coupling and machining process thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998041357A1 (en) * 1997-03-15 1998-09-24 Makino Milling Machine Co., Ltd. Machining processor
US6438445B1 (en) 1997-03-15 2002-08-20 Makino Milling Machine Co., Ltd. Machining processor
US6535788B1 (en) 1998-09-14 2003-03-18 Makino Milling Machine Co., Ldt Machining apparatus
JP2004154869A (en) * 2002-11-01 2004-06-03 Toyota Motor Corp Truing method and truing device
JP2008186046A (en) * 2007-01-26 2008-08-14 Mitsubishi Heavy Ind Ltd Cutting path producing method, program, and apparatus
JP2013020436A (en) * 2011-07-11 2013-01-31 Jatco Ltd Machining device and machining method
CN114370458A (en) * 2021-12-08 2022-04-19 安徽中润航空科技有限公司 Aviation spline coupling and machining process thereof

Similar Documents

Publication Publication Date Title
US6507767B2 (en) Intelligent system for generating and executing a sheet metal bending plan
KR960004558B1 (en) Numerical control device and fuzzy inference device applicable to this device
EP0104409B1 (en) A method of establishing safe zones in a numerically controlled machine
US5266878A (en) CNC apparatus for controlling a plurality of machines
US5150305A (en) Numerical control system providing graphic machining simulation
US5984503A (en) Method and apparatus for entering and displaying structure information in a machining system
EP0782056A1 (en) Numerically controlled machine tool and method
EP0104503B1 (en) Numerical control processing system and machine tool including the system
CZ200021A3 (en) System for creating, changing and / or visualizing machine control programs
JPH09507439A (en) Interactive machine control device and method
CN116224902B (en) Intelligent tool changing decision control system
US5099432A (en) Method for determining machining process in numerical control information generating function
JPH06119029A (en) Method for creating approach route and retract route in NC processing
JP4059411B2 (en) NC machine tool controller
JPH06119031A (en) NC data creation method for machining of uncut parts
KR20200065933A (en) Measurement and Management System for Mold Manufacture Machine
Spur et al. CAPSY—A Dialogue System for Computer Aided Manufacturing Process Planning
JPH07136900A (en) NC processing method
Agapiou Sequence of operations optimization in single-stage multifunctional systems
JPH06102923A (en) Cutter feed speed control method in NC processing
Navon et al. Reinforcement-bar manufacture: From design to optimized production
JPH01189704A (en) Numerical controller
JPH0685130B2 (en) Processing area division processing device in automatic processing machine
JP4253463B2 (en) Cycle time calculation method and program
JPH1011126A (en) Method and device for determining speed of tool