JP3065167B2 - Automatic programming device for numerical control - Google Patents

Automatic programming device for numerical control

Info

Publication number
JP3065167B2
JP3065167B2 JP4073584A JP7358492A JP3065167B2 JP 3065167 B2 JP3065167 B2 JP 3065167B2 JP 4073584 A JP4073584 A JP 4073584A JP 7358492 A JP7358492 A JP 7358492A JP 3065167 B2 JP3065167 B2 JP 3065167B2
Authority
JP
Japan
Prior art keywords
approach
retraction
data
tool
direction vector
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.)
Expired - Fee Related
Application number
JP4073584A
Other languages
Japanese (ja)
Other versions
JPH05233047A (en
Inventor
光宏 河部
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP4073584A priority Critical patent/JP3065167B2/en
Publication of JPH05233047A publication Critical patent/JPH05233047A/en
Application granted granted Critical
Publication of JP3065167B2 publication Critical patent/JP3065167B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、数値制御用自動プログ
ラミング装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic programming device for numerical control.

【0002】[0002]

【従来の技術】工作機械を用いて被切削物を所定の形状
に切削加工する場合には、切削工具を移動させて被切削
物と交わる部分を削り取り最終的に所定の形状を作り上
げている。
2. Description of the Related Art When a workpiece is cut into a predetermined shape using a machine tool, a cutting tool is moved to cut off a portion that intersects with the workpiece to finally form a predetermined shape.

【0003】最近は、自動的に作業を行うとともに加工
精度を向上させるためにコンピュータによる数値制御機
能を有する工作機械が盛んに用いられている。数値制御
機能を有する工作機械では、あらかじめオペレータによ
りアプローチやリトラクションの指示がプログラミング
されており、そのプログラムに従って工具が移動するよ
うになっている。さらに、工具の軌跡を指示することに
より自動的にプログラムを作成する数値制御用自動プロ
グラミング装置も搭載されるようになってきている。
In recent years, machine tools having a numerical control function by a computer have been actively used in order to perform work automatically and improve machining accuracy. In a machine tool having a numerical control function, an instruction of approach or retraction is programmed in advance by an operator, and a tool moves according to the program. Further, an automatic programming device for numerical control, which automatically creates a program by instructing the trajectory of a tool, has been mounted.

【0004】従来の数値制御用自動プログラミング装置
では、ボールエンドミルのような工具を用いて被切削物
に曲面加工を行うときのアプローチやリトラクションの
際には一定の方向に工具を移動させて工具軌跡の設定を
行っていた。
In a conventional automatic programming device for numerical control, a tool such as a ball end mill is used to move a tool in a certain direction during approach or retraction when a curved surface is machined on a workpiece. The trajectory was set.

【0005】[0005]

【発明が解決しようとする課題】加工精度と切削工具の
動きとの関係で最も重要なのは、指示された工具軌跡と
実際の工具軌跡の間にサーボ系の遅れ等による誤差が生
じるということである。この誤差の大きさは工具軌跡が
方向変化する程度により異なり、図6に示されるように
方向変化の著しい工具軌跡ほど大きくなる。この誤差を
なるべく少なく抑えるため、工具の軌跡は滑らかに変化
することが望ましい。
The most important relation between the machining accuracy and the movement of the cutting tool is that an error occurs between the designated tool path and the actual tool path due to a delay in the servo system or the like. . The magnitude of this error depends on the degree to which the tool trajectory changes direction, and as shown in FIG. In order to minimize this error, it is desirable that the trajectory of the tool changes smoothly.

【0006】しかしながら、上記従来例においては、ア
プローチやリトラクションの際に工具を一定の方向で移
動しているために、工具軌跡の方向変化が大きくなる場
合があり、大きな寸法誤差が発生するという不都合があ
った。
However, in the above-mentioned conventional example, since the tool is moved in a fixed direction at the time of approach or retraction, a change in the direction of the tool path may be large, and a large dimensional error occurs. There was an inconvenience.

【0007】[0007]

【発明の目的】本発明の目的は、かかる従来例の有する
不都合を改善し、特に、加工形状データと加工データ上
のアプローチ位置またはリトラクション位置並びに加工
時の工具軌跡とを入力すると、自動的にアプローチ又は
リトラクション時の工具の軌跡を滑らかに変化させ加工
精度を向上させることができる数値制御用自動プログラ
ミング装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to improve the inconveniences of the prior art, and particularly to improve the processing shape data and processing data.
Approach or retraction position and machining
When entering the tool path at the time, automatically approach or
An object of the present invention is to provide an automatic programming device for numerical control capable of smoothly changing the trajectory of a tool during retraction and improving machining accuracy.

【0008】[0008]

【課題を解決するための手段】そこで、本発明では、
工形状データと当該加工形状データ上の点であるアプロ
ーチ位置と当該アプローチ位置からの工具軌跡の進行方
向ベクトルと前記アプローチ位置までのアプローチ量と
が入力される入力部と、この入力部からの前記加工形状
データと前記アプローチ位置とに基づいて当該アプロー
チ位置での前記加工形状表面に対する法線方向ベクトル
を算出する演算部と、この演算部によって算出された法
線方向ベクトルと前記アプローチ量と前記進行方向ベク
トルとに基づいて前記工具のアプローチ進入開始位置及
び進行方向ベクトルを算出するアプローチ処理部とを備
えている。しかも、このアプローチ処理部に、当該アプ
ローチ処理部によって算出された前記アプローチ進入開
始位置及び進行方向ベクトルに基づいて当該アプローチ
進入開始位置から前記アプローチ位置へ除々に方向を変
化させながら工具を移動するように補完する補間部を併
設した、等の構成を採っている。これによって前述した
目的を達成しようとするものである。
SUMMARY OF THE INVENTION Accordingly, the present invention, pressurized
The processing data and the appro
The tool path from the approach position and the approach position
Direction vector and the approach amount up to the approach position
And an input portion for inputting the machining shape from the input portion.
Based on the data and the approach position,
Normal vector to the surface of the machined shape at the position
And an arithmetic unit for calculating
The line direction vector, the approach amount, and the traveling direction vector
And the approach approach start position of the tool based on
And an approach processing unit that calculates the traveling direction vector.
I have. In addition, this approach processing section
Approach approach calculated by roach processing unit
The approach based on the starting position and the heading vector
Change direction gradually from the approach start position to the approach position
Interpolator that complements the tool while moving it
Was set, it adopts a configuration and the like. This aims to achieve the above-mentioned object.

【0009】[0009]

【作用】オペレータにより加工形状データと工具軌跡移
動方向データとアプローチ条件とリトラクション条件が
入力部に入力される。入力部では加工形状データと工具
軌跡移動方向データを演算部へ、アプローチ条件をアプ
ローチ処理部へ、リトラクション条件をリトラクション
処理部へ出力する。演算部では入力部からの加工形状デ
ータと工具軌跡移動方向データに基づいて加工面の法線
方向や工具移動方向等の演算を行い内部データを作成す
るとともにアプローチ処理部へ出力する。アプローチ処
理部では演算部からの内部データに基づいてアプローチ
位置のデータかどうかを判断する。そして、アプローチ
位置のデータであると判断されると演算部からの内部デ
ータと入力部からのアプローチ条件に基づいて3次元ア
プローチ方向すなわちアプローチ開始位置とアプローチ
進入開始位置とそれぞれの進行方向ベクトルを演算する
とともにその演算結果を演算部からの内部データの前に
付加してリトラクション処理部へ出力する。
An operator inputs machining shape data, tool trajectory moving direction data, approach conditions, and retraction conditions to an input unit. The input unit outputs the processing shape data and the tool trajectory moving direction data to the calculation unit, the approach condition to the approach processing unit, and the retraction condition to the retraction processing unit. The calculation unit calculates the normal direction of the processing surface, the tool movement direction, and the like based on the processing shape data and the tool trajectory movement direction data from the input unit, creates internal data, and outputs the data to the approach processing unit. The approach processing unit determines whether or not the data is at the approach position based on internal data from the calculation unit. When it is determined that the data is the approach position data, the three-dimensional approach direction, that is, the approach start position, the approach approach start position, and the respective traveling direction vectors are calculated based on the internal data from the operation unit and the approach conditions from the input unit. At the same time, the calculation result is added before the internal data from the calculation unit and output to the retraction processing unit.

【0010】一方、アプローチ位置のデータでないと判
断されると演算部からの内部データをそのままリトラク
ション処理部へ出力する。リトラクション処理部ではア
プローチ処理部からの内部データを補間部へ出力すると
ともにアプローチ処理部からの内部データがリトラクシ
ョン位置のデータであるかどうかを判断する。リトラク
ション位置のデータであると判断されるとアプローチ処
理部からの内部データと入力部からのリトラクション条
件とに基づき3次元リトラクション方向を演算するとと
もにその演算結果を補間部へ出力する。一方、リトラク
ション位置のデータでないと判断されると何もしない。
On the other hand, if it is determined that the data is not the data of the approach position, the internal data from the arithmetic unit is output to the retraction processing unit as it is. The retraction processing unit outputs the internal data from the approach processing unit to the interpolation unit and determines whether the internal data from the approach processing unit is data at the retraction position. If the data is determined to be the data of the retraction position, the three-dimensional retraction direction is calculated based on the internal data from the approach processing unit and the retraction conditions from the input unit, and the calculation result is output to the interpolation unit. On the other hand, if it is determined that the data is not the data of the retraction position, nothing is performed.

【0011】補間部ではリトラクション処理部からの内
部データがアプローチ位置のデータであれば、アプロー
チ処理部での演算結果に基づいてアプローチ位置への軌
跡データがアプローチ進入開始位置からアプローチ開始
位置へ徐々に方向変化するように内部データを補間し出
力部へ出力する。また、リトラクション処理部からの内
部データがリトラクション位置のデータであれば、リト
ラクション処理部での演算結果に基づいてリトラクショ
ン位置への軌跡データがリトラクション進行位置からリ
トラクション終了位置へ徐々に方向変化するように内部
データを補間し出力部へ出力する。出力部では補間部か
らのデータを数値制御装置用のデータに変換し出力す
る。
In the interpolation section, if the internal data from the retraction processing section is the data of the approach position, the trajectory data to the approach position is gradually changed from the approach entry start position to the approach start position based on the calculation result in the approach processing section. The internal data is interpolated so that the direction changes and output to the output unit. Also, if the internal data from the retraction processing unit is the data at the retraction position, the trajectory data to the retraction position is gradually changed from the retraction progress position to the retraction end position based on the calculation result in the retraction processing unit. The internal data is interpolated so that the direction changes and output to the output unit. The output unit converts the data from the interpolation unit into data for a numerical control device and outputs the data.

【0012】[0012]

【発明の実施例】以下、本発明の一実施例を図1ないし
図5に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0013】図1の実施例は、加工形状データと工具軌
跡移動方向データとアプローチ条件とリトラクション条
件を入力する入力部101と、入力部101からの加工
形状データと工具軌跡移動方向データに基づいて加工面
の法線方向や工具移動方向等の計算を行う演算部102
と、入力部101からのアプローチ条件と演算部102
の演算結果に基づいてアプローチ処理を行うアプローチ
処理部103と、入力部101からのリトラクション条
件とアプローチ処理部103からのデータに基づいてリ
トラクション処理を行うリトラクション処理部104
と、リトラクション処理部104からのデータを補間す
る補間部105と、補間部105からのデータを数値制
御装置用のデータに変換する出力部106とから構成さ
れる。
The embodiment shown in FIG. 1 is based on an input unit 101 for inputting machining shape data, tool trajectory moving direction data, approach conditions and retraction conditions, and based on machining shape data and tool trajectory moving direction data from the input unit 101. Calculation unit 102 for calculating the normal direction of the processing surface, the tool moving direction, etc.
And the approach condition from the input unit 101 and the arithmetic unit 102
And a retraction processing unit 104 for performing a retraction process based on the retraction conditions from the input unit 101 and the data from the approach processing unit 103.
And an interpolation unit 105 for interpolating the data from the retraction processing unit 104 and an output unit 106 for converting the data from the interpolation unit 105 into data for a numerical control device.

【0014】次に本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0015】.オペレータにより、加工形状データと
工具軌跡移動方向データとアプローチ条件とリトラクシ
ョン条件が入力部101に入力される。
[0015] The operator inputs processing shape data, tool path moving direction data, approach conditions, and retraction conditions to the input unit 101.

【0016】.入力部101では、加工形状データと
工具軌跡移動方向データを演算部102へ、アプローチ
条件をアプローチ処理部103へ、リトラクション条件
をリトラクション処理部104へ出力する。
[0016] The input unit 101 outputs the machining shape data and the tool trajectory moving direction data to the calculation unit 102, the approach condition to the approach processing unit 103, and the retraction condition to the retraction processing unit 104.

【0017】.演算部102では、入力部101から
の加工形状データと工具軌跡移動方向データに基づいて
加工面の法線方向や工具移動方向等の演算を行い内部デ
ータを作成するとともにアプローチ処理部103へ出力
する。
[0017] The calculation unit 102 calculates the normal direction of the processing surface, the tool movement direction, and the like based on the processing shape data from the input unit 101 and the tool trajectory movement direction data, creates internal data, and outputs the internal data to the approach processing unit 103. .

【0018】.アプローチ処理部103では、演算部
102からの内部データに基づいてアプローチ位置のデ
ータかどうかを判断する(図2のステップ21)。
[0018] The approach processing unit 103 determines whether or not the data is at the approach position based on the internal data from the calculation unit 102 (step 21 in FIG. 2).

【0019】そして、アプローチ位置のデータであると
判断されると、演算部102からの内部データと入力部
101からのアプローチ条件に基づいて3次元アプロー
チ方向すなわちアプローチ開始位置とアプローチ進入開
始位置とそれぞれの進行方向ベクトルを演算し、その演
算結果を演算部102からの内部データの前に付加して
リトラクション処理部104へ出力する(図2のステッ
プ22)。
If it is determined that the data is the approach position data, the three-dimensional approach direction, that is, the approach start position and the approach approach start position are respectively determined based on the internal data from the operation unit 102 and the approach conditions from the input unit 101. Is calculated, and the calculation result is added to the front of the internal data from the calculation unit 102 and output to the retraction processing unit 104 (step 22 in FIG. 2).

【0020】ここで、アプローチ開始位置とアプローチ
進入開始位置とそれぞれの進入方向ベクトルの演算方法
および出力手順を詳細に説明する。ただし、図3に示さ
れるようにs1は加工しようとする曲面、p1はアプロ
ーチ位置、n1はp1でのs1の法線方向ベクトル、v
1は曲面の接線ベクトルで示される工具軌跡の進行方向
ベクトル、dはオペレータからのアプローチ条件で指定
されたアプローチ量とする。
Here, a method of calculating an approach start position, an approach approach start position, and respective approach direction vectors and an output procedure will be described in detail. Here, as shown in FIG. 3, s1 is the curved surface to be machined, p1 is the approach position, n1 is the normal direction vector of s1 at p1, and v
1 is a traveling direction vector of a tool path indicated by a tangent vector of a curved surface, and d is an approach amount specified by an approach condition from an operator.

【0021】(a).下記の式(1)からアプローチ開
始位置ap1を、式(2)からアプローチ開始位置ap
1における進行方向ベクトルav1を求める。
(A). The approach start position ap1 is obtained from the following equation (1), and the approach start position ap is obtained from the equation (2).
1 is determined.

【0022】 ap1=p1+d×n1 (1)Ap1 = p1 + d × n1 (1)

【0023】 av1=−v1 (2)Av1 = −v1 (2)

【0024】(b).ap1とav1をリトラクション
処理部104へ出力する。
(B). ap1 and av1 are output to the retraction processing unit 104.

【0025】(c).下記の式(3)からアプローチ進
入開始位置ap2を、式(4)および式(5)からアプ
ローチ進入開始位置ap2における進行方向ベクトルa
v2,av22を求める。
(C). The approach approach start position ap2 is obtained from the following equation (3), and the traveling direction vector a at the approach approach start position ap2 is obtained from the equations (4) and (5).
v2 and av22 are obtained.

【0026】 ap2=p1+d×n1−d×v1 (3)Ap2 = p1 + d × n1-d × v1 (3)

【0027】 av2=−v1 (4)Av2 = −v1 (4)

【0028】 av22=−n1 (5)Av22 = −n1 (5)

【0029】(d).ap2とav2をリトラクション
処理部104へ出力する。
(D). ap2 and av2 are output to the retraction processing unit 104.

【0030】(e).ap2とav22をリトラクショ
ン処理部104へ出力する。
(E). ap2 and av22 are output to the retraction processing unit 104.

【0031】(f).演算部102からの内部データを
リトラクション処理部104へ出力する。
(F). The internal data from the arithmetic unit 102 is output to the retraction processing unit 104.

【0032】一方、アプローチ位置のデータでないと判
断されると演算部102からの内部データをそのままリ
トラクション処理部104へ出力する(図2のステップ
23)。
On the other hand, if it is determined that the data is not the approach position data, the internal data from the arithmetic unit 102 is output to the retraction processing unit 104 as it is (step 23 in FIG. 2).

【0033】.リトラクション処理部104では、ア
プローチ処理部103からの内部データを補間部105
へ出力する(図4のステップ41)とともにアプローチ
処理部103からの内部データがリトラクション位置の
データであるかどうかを判断する(図4のステップ4
2)。
[0033] In the retraction processing unit 104, the internal data from the approach processing unit 103 is interpolated by the interpolation unit 105.
(Step 41 in FIG. 4) and determines whether the internal data from the approach processing unit 103 is the data at the retraction position (Step 4 in FIG. 4).
2).

【0034】そして、リトラクション位置のデータであ
ると判断されるとアプローチ処理部103からの内部デ
ータと入力部101からのリトラクション条件とに基づ
き3次元リトラクション方向を演算するとともに、その
演算結果を補間部105へ出力する(図4のステップ4
3)。
If it is determined that the data is the data of the retraction position, the three-dimensional retraction direction is calculated based on the internal data from the approach processing unit 103 and the retraction condition from the input unit 101, and the calculation result is obtained. Is output to the interpolation unit 105 (step 4 in FIG. 4).
3).

【0035】ここでリトラクション終了位置とリトラク
ション進行位置とそれぞれにおける進行方向ベクトルの
演算方法および出力手順を詳細に説明する。図5に示さ
れるようにs2は加工しようとする曲面、p2はリトラ
クション位置、n2はp2でのs2の法線方向ベクト
ル、v2は曲面の接線ベクトルで示される工具軌跡の進
行方向ベクトル、dはリトラクション条件で指定された
リトラクション量である。ただし、ここでは位置および
ベクトルは3次元成分を有しているものとする。
Here, the method of calculating the traveling direction vector and the output procedure at each of the retraction end position and the retraction progress position will be described in detail. As shown in FIG. 5, s2 is a curved surface to be machined, p2 is a retraction position, n2 is a normal direction vector of s2 at p2, v2 is a traveling direction vector of a tool path indicated by a tangent vector of the curved surface, d Is the retraction amount specified by the retraction condition. Here, it is assumed that the position and the vector have three-dimensional components.

【0036】(a).下記の式(6)からリトラクショ
ン進行位置rp1を、式(7)からリトラクション進行
位置rp1における進行方向ベクトルrv1、rv11
を求める。
(A). Formula (6) below shows the retraction progress position rp1, and Formula (7) shows the traveling direction vectors rv1 and rv11 at the retraction progress position rp1.
Ask for.

【0037】 rp1=p2+d×n2+d×v2 (6)Rp1 = p2 + d × n2 + d × v2 (6)

【0038】 rv1=−v2 (7)Rv1 = −v2 (7)

【0039】(b).rp1とrv1を補間部105へ
出力する。
(B). rp1 and rv1 are output to the interpolation unit 105.

【0040】(c).rp1とrv11を補間部105
へ出力する。
(C). rp1 and rv11 are interpolated by 105
Output to

【0041】(d).下記の式(8)からリトラクショ
ン終了位置rp2を、式(9)からリトラクション終了
位置rp2における進行方向ベクトルrv2を求める。
(D). The retraction end position rp2 is obtained from the following equation (8), and the traveling direction vector rv2 at the retraction end position rp2 is obtained from the equation (9).

【0042】 rp2=p2+d×n2 (8)Rp2 = p2 + d × n2 (8)

【0043】 rv2=−n2 (9)Rv2 = −n2 (9)

【0044】(e).rp2とrv2を補間部105へ
出力する。
(E). rp2 and rv2 are output to the interpolation unit 105.

【0045】一方、リトラクション位置のデータでない
と判断されると何もしない。
On the other hand, if it is determined that the data is not the data of the retraction position, no operation is performed.

【0046】.補間部105では、リトラクション処
理部104からの内部データがアプローチ位置のデータ
であればアプローチ処理部103での演算結果に基づい
て内部データを補間し出力部106へ出力する。すなわ
ち、アプローチ位置への軌跡データはアプローチ進入開
始位置からアプローチ開始位置へ徐々に方向を変化させ
ながら工具を移動するように補間される。
[0046] If the internal data from the retraction processing unit 104 is the data of the approach position, the interpolation unit 105 interpolates the internal data based on the calculation result of the approach processing unit 103 and outputs the result to the output unit 106. That is, the trajectory data to the approach position is interpolated so as to move the tool while gradually changing the direction from the approach approach start position to the approach start position.

【0047】また、リトラクション処理部104からの
内部データがリトラクション位置のデータであればリト
ラクション処理部104での演算結果に基づいて内部デ
ータを補間し出力部106へ出力する。すなわち、リト
ラクション位置への軌跡データはリトラクション進行位
置からリトラクション終了位置へ徐々に方向を変化させ
ながら工具を移動するように補間される。
If the internal data from the retraction processing unit 104 is data at the retraction position, the internal data is interpolated based on the calculation result in the retraction processing unit 104 and output to the output unit 106. That is, the trajectory data to the retraction position is interpolated so as to move the tool while gradually changing the direction from the retraction progress position to the retraction end position.

【0048】.出力部106では、補間部105から
のデータを数値制御装置用のデータに変換し出力する。
[0048] The output unit 106 converts the data from the interpolation unit 105 into data for a numerical control device and outputs the data.

【0049】[0049]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、加工形状データと加工データ上の
アプローチ位置またはリトラクション位置並びに加工時
の工具軌跡とを入力するのみで、加工形状表面での法線
ベクトルを自動的に算出し、加工面に対して三次元的な
アプローチ開始位置を特定し、さらにこのアプローチ進
入開始位置からアプローチ位置までの経路を補完するた
め、例えばアプローチ位置近傍において自動的に工具の
軌跡を滑らかに変化させることができ、これがため、最
小限の入力で加工精度を向上させることができるという
従来にない優れた数値制御用自動プログラミング装置を
提供することができる。
Since the present invention is constructed and functions as described above, according to this, according to the processing shape data and the processing data,
Approach or retraction position and during machining
Simply enter the tool path and the normal on the machined surface
The vector is calculated automatically and the three-dimensional
Identify the approach start position and further
Complement the path from the entry start position to the approach position.
Because, automatically can be smoothly changed the trajectory of the tool in the vicinity example approach position, which for the outermost
It is possible to provide an unprecedented excellent automatic programming device for numerical control, in which machining accuracy can be improved with a small input .

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】図1におけるアプローチ処理部の動作を説明す
るためのフローチャートである。
FIG. 2 is a flowchart for explaining an operation of an approach processing unit in FIG. 1;

【図3】図1におけるアプローチ処理部の動作を説明す
るための説明図である。
FIG. 3 is an explanatory diagram for explaining an operation of an approach processing unit in FIG. 1;

【図4】図1におけるリトラクション処理部の動作を説
明するためのフローチャートである。
FIG. 4 is a flowchart for explaining the operation of a retraction processing unit in FIG. 1;

【図5】図1におけるリトラクション処理部の動作を説
明するための説明図である。
FIG. 5 is an explanatory diagram for explaining an operation of a retraction processing unit in FIG. 1;

【図6】工具軌跡の方向変化を説明するための説明図で
ある。
FIG. 6 is an explanatory diagram for explaining a direction change of a tool path.

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

101 入力部 102 演算部 103 アプローチ処理部 104 リトラクション処理部 105 補間部 106 出力部 DESCRIPTION OF SYMBOLS 101 Input part 102 Operation part 103 Approach processing part 104 Retraction processing part 105 Interpolation part 106 Output part

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 加工形状データと当該加工形状データ上
の点であるアプローチ位置と当該アプローチ位置からの
工具軌跡の進行方向ベクトルと前記アプローチ位置まで
のアプローチ量とが入力される入力部と、この入力部か
らの前記加工形状データと前記アプローチ位置とに基づ
いて当該アプローチ位置での前記加工形状表面に対する
法線方向ベクトルを算出する演算部と、この演算部によ
って算出された法線方向ベクトルと前記アプローチ量と
前記進行方向ベクトルとに基づいて前記工具のアプロー
チ進入開始位置及び進行方向ベクトルを算出するアプロ
ーチ処理部とを備えると共に、 このアプローチ処理部に、当該アプローチ処理部によっ
て算出された前記アプローチ進入開始位置及び進行方向
ベクトルに基づいて当該アプローチ進入開始位置から前
記アプローチ位置へ除々に方向を変化させながら工具を
移動するように補完する補間部を併設したことを特徴と
する 数値制御用自動プログラミング装置。
1. Process data and the processed shape data
From the approach position, which is the point of
To the traveling direction vector of the tool path and the approach position
And the input part where the approach amount of
Based on the machining shape data and the approach position
To the surface of the machined shape at the approach position
A calculation unit for calculating a normal direction vector, and the calculation unit
The normal direction vector calculated according to the above and the approach amount
The approach of the tool based on the traveling direction vector
App that calculates the approach entry position and traveling direction vector
And an approach processing section, and the approach processing section
Approach approach start position and traveling direction calculated by
Before the approach approach start position based on the vector
Tool while gradually changing the direction to the approach position
The feature is that an interpolation unit that complements to move is added.
For numerical control automatic programming apparatus to be.
【請求項2】 工形状データと当該加工形状データ上の
点であるリトラクション位置と当該リトラクション位置
を基準とした工具軌跡の進行方向ベクトルと前記リトラ
クション位置までのリトラクション量とが入力される入
力部と、この入力部からの前記加工形状データと前記リ
トラクション位置とに基づいて当該リトラクション位置
での前記加工形状表面に対する法線方向ベクトルを算出
する演算部と、この演算部によって算出された法線方向
ベクトルと前記リトラクション量と前記進行方向ベクト
ルとに基づいて前記工具のリトラクション進行位置及び
進行方向ベクトルを算出するリトラクション処理部とを
備えると共に、 このリトラクション処理部に、当該リトラクション処理
部によって算出された前記リトラクション進行位置及び
進行方向ベクトルに基づいて当該リトラクション位置か
ら前記リトラクション進行位置へ除々に方向を変化させ
ながら工具を移動するように補完する補間部を併設した
ことを特徴とする数値制御用自動プログラミング装置。
2. The machining shape data and the machining shape data
Retraction position that is a point and the relevant retraction position
The traveling direction vector of the tool trajectory based on
The retraction amount up to the
Force section, the machining shape data from the input section and the
The retraction position based on the traction position
The normal direction vector for the surface of the processed shape at
Calculation unit, and the normal direction calculated by the calculation unit
Vector, the retraction amount, and the traveling direction vector
And the retraction progress position of the tool based on
A retraction processing unit that calculates the traveling direction vector
And the retraction processing unit
The retraction progress position calculated by the unit and
Whether the retraction position is based on the traveling direction vector
Gradually change the direction to the retraction position
An automatic programming device for numerical control, wherein an interpolator for complementing the tool while moving is provided .
JP4073584A 1992-02-25 1992-02-25 Automatic programming device for numerical control Expired - Fee Related JP3065167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4073584A JP3065167B2 (en) 1992-02-25 1992-02-25 Automatic programming device for numerical control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4073584A JP3065167B2 (en) 1992-02-25 1992-02-25 Automatic programming device for numerical control

Publications (2)

Publication Number Publication Date
JPH05233047A JPH05233047A (en) 1993-09-10
JP3065167B2 true JP3065167B2 (en) 2000-07-12

Family

ID=13522505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4073584A Expired - Fee Related JP3065167B2 (en) 1992-02-25 1992-02-25 Automatic programming device for numerical control

Country Status (1)

Country Link
JP (1) JP3065167B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081901C (en) * 1999-07-29 2002-04-03 王军 Mulberry leaf health-care product and its deastringent process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081901C (en) * 1999-07-29 2002-04-03 王军 Mulberry leaf health-care product and its deastringent process

Also Published As

Publication number Publication date
JPH05233047A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
US10007248B2 (en) Numerical controller for retraction control
EP1389749B1 (en) Curve interpolation method
JP6646027B2 (en) Post-processor device, machining program generation method, CNC machining system, and machining program generation program
US9829876B2 (en) Numerical controller having corner path generation function in consideration of post-interpolation acceleration/deceleration
CN109725602B (en) Numerical controller, CNC machine tool, computer-readable information recording medium, and numerical control method
EP1508843B1 (en) Numerical control apparatus
KR0180953B1 (en) Method of controlling the normal direction of the main shaft of the numerical machine tool
WO2014196066A1 (en) Numerical control device
JP2005182437A (en) Numerical control device and numerical control method
JP6487490B2 (en) Numerical controller
JP3065167B2 (en) Automatic programming device for numerical control
EP0487738A1 (en) System for correcting quantity of deformation of tool
JP2805119B2 (en) Numerical controller for processing non-circular workpieces
JP2020003958A (en) Numerical control device
JP6457588B2 (en) Numerical controller
JP3902353B2 (en) Numerical controller
JPH0969003A (en) Tool diameter correction system for cnc
JPS6240722B2 (en)
JPH0635096B2 (en) NC processing method and device
JP6923736B2 (en) Numerical control device
JPH09288509A (en) Block data processing method for numerical controller
KR100315211B1 (en) A method for controlling the tool path in machine tool
JP2978763B2 (en) Numerical control unit
JPH05165514A (en) Interpolating system for numerical controller
JPH01224194A (en) Position control method for cnc laser beam machine

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000412

LAPS Cancellation because of no payment of annual fees