JPH10337635A - Processing method, processing program forming device and processing device - Google Patents

Processing method, processing program forming device and processing device

Info

Publication number
JPH10337635A
JPH10337635A JP14948397A JP14948397A JPH10337635A JP H10337635 A JPH10337635 A JP H10337635A JP 14948397 A JP14948397 A JP 14948397A JP 14948397 A JP14948397 A JP 14948397A JP H10337635 A JPH10337635 A JP H10337635A
Authority
JP
Japan
Prior art keywords
processing
machining
path
tool
program
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
JP14948397A
Other languages
Japanese (ja)
Inventor
Seiji Niwa
誠二 丹羽
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP14948397A priority Critical patent/JPH10337635A/en
Publication of JPH10337635A publication Critical patent/JPH10337635A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To continue the processing surface smoothly in spite of changes in the position of a tool point and to reduce errors to be caused between processing shape and object shape. SOLUTION: First, a tool 10 is approached to an end position P2 and moved along a processing route T2. Then the tool 10 is shifted to a processing route T6, which is a processing route other than a processing route T4 adjoining along the processing route T2, and moved along the processing route T6. In the same way, the processing is made on whole area of processing object area 20. Afterwards, the tool 10 is approached to an end position P4 of the processing route T4 and then the tool 10 is moved along the processing routes T4, T8, and so on in the same way described above. This processing is also made on whole area of processing object area 20.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ワークを工具で加
工した加工面が滑らかに連続するようにするための技術
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for making a machined surface of a workpiece with a tool smoothly continuous.

【0002】[0002]

【従来の技術】加工対象のワークについて、その加工対
象エリアの面積が大きい等のような場合には、工具の磨
耗等を考慮して加工対象エリアを複数のエリアに分割す
る。図7(A)に示す例では、ワーク30における加工
対象エリア20を3つのエリア20a,20b,20c
に分割した場合を示す。この例では、分割されたエリア
20a,20b,20cごとにそれぞれ加工を行う。す
なわち、まず工具52でエリア20aを加工し、工具5
4に交換した後にエリア20bを加工し、さらに工具5
6に交換した後にエリア20cを加工する。
2. Description of the Related Art For a work to be machined, when the area of the work area is large or the like, the work area is divided into a plurality of areas in consideration of tool wear and the like. In the example shown in FIG. 7A, the processing target area 20 of the work 30 is divided into three areas 20a, 20b, and 20c.
Is shown. In this example, processing is performed for each of the divided areas 20a, 20b, and 20c. That is, first, the area 20a is machined with the tool 52,
After changing to area 4, the area 20b is machined and
After the replacement with the area 6, the area 20c is processed.

【0003】この加工方法では、図7(B)に示すよう
に加工後の加工形状26は目的形状24に対してある程
度の誤差(最大誤差は誤差E4)が発生する。このよう
な誤差が発生するのは、工具刃先位置が変位するためと
考えられる。この工具刃先位置の変位は、図8に示すよ
うに、次の要因等によって発生すると考えられる。 (1)主軸の高速回転に伴う工具50の引き込み(引込
量L50) (2)発熱に伴う主軸膨脹と主軸冷却系とのバランスが
とれるまでの間の変動(変動量L52) (3)工具の磨耗(磨耗量L54) (4)主軸回転停止に伴う引き込みの解放(解放量L5
6) したがって、本来は曲線62に沿って工具刃先位置が変
わるが、上記の要因のために曲線60に沿って工具刃先
位置が変わってしまう。
In this processing method, as shown in FIG. 7B, the processed shape 26 after processing has a certain error with respect to the target shape 24 (the maximum error is an error E4). It is considered that such an error occurs because the position of the tool edge is displaced. This displacement of the tool edge position is considered to be caused by the following factors as shown in FIG. (1) Retraction of tool 50 due to high-speed rotation of spindle (retraction amount L50) (2) Fluctuation until balance between spindle expansion and spindle cooling system due to heat generation (fluctuation L52) (3) Tool Wear (wear amount L54) (4) Release of pull-in due to stop of spindle rotation (release amount L5)
6) Therefore, the tool edge position changes along the curve 62 originally, but the tool edge position changes along the curve 60 due to the above factors.

【0004】そして、工具刃先位置が変位したまま次の
エリア(以下「次エリア」と呼ぶ。)の加工開始位置を
目的形状24に合わせて位置決めして加工を行うと、図
7(B)に示すようにエリア間の境界に段差32,34
が発生する。段差32,34は、製品の意匠品質を劣化
させたり、ワーク30の成形性を損なう等の問題とな
る。そのため、後工程において発生した段差32,34
を除去する必要がある。一方、段差32,34は部分的
に大きな凹凸を持つ不連続面であるため、自動研磨機に
よって加工面を滑らかに研磨することは困難である。こ
の場合、手磨きによって研磨すれば加工面を滑らかにす
ることはできるが、多大な工数を要するため実用的でな
い。
[0004] When the machining start position of the next area (hereinafter referred to as "next area") is positioned in accordance with the target shape 24 while the tool edge position is being displaced, machining is performed as shown in FIG. As shown, steps 32 and 34 are formed at the boundaries between the areas.
Occurs. The steps 32 and 34 cause problems such as deteriorating the design quality of the product and impairing the formability of the work 30. Therefore, the steps 32 and 34 generated in the post-process.
Need to be removed. On the other hand, since the steps 32 and 34 are discontinuous surfaces partially having large irregularities, it is difficult to smoothly grind the processed surface with an automatic polishing machine. In this case, if the surface is polished by hand polishing, the processed surface can be smoothed, but it is not practical because it requires a large number of steps.

【0005】従来では、エリア間の境界に段差が発生し
ないようにするため、次エリアにおける加工開始位置を
調整して加工を行なっていた。すなわち、前のエリア
(以下「前エリア」と呼ぶ。)における加工最終時の工
具刃先位置を記憶しておき、その記憶された工具刃先位
置に位置決めしてから次エリアの加工を開始していた。
この場合、次エリアの加工開始位置を調整する場合に
は、次のようなステップを踏む必要があった。このステ
ップを図9を参照して説明すると、次のようになる。こ
こで、「位置」という場合には、前エリアと次エリアと
では水平方向位置が異なるのは当然であるから、高さ方
向位置を意味する。 (1)前エリアにおける加工終了後に主軸を回転させた
まま工具刃先位置の測定を行う。図9の例において、前
エリアでは時刻t60に主軸を回転させ始め、時刻t6
2〜t64の間を加工した後に時刻68で主軸の回転を
停止する。この場合、時刻t66において測定される高
さL60が工具刃先位置となる。 (2)工具交換して主軸を回転させた後に工具刃先位置
の変動がある程度収束するまで待機してから工具刃先位
置の測定を行う。図9の例において、次エリアでは時刻
t70に主軸を回転させ始めてからしばらく経った時刻
t72に測定を行う。この場合、高さL64が工具刃先
位置となる。 (3)工具交換前後における工具刃先位置を補正する。
すなわち、前エリアの工具刃先位置(高さL60)と次
エリアの工具刃先位置(高さL64)との差分L62
(=L60−L64)を補正量として、工具刃先位置を
補正する。こうして、前エリアの加工終了位置と、次エ
リアの加工開始位置とが一致するので、エリア間には段
差が発生しなくなる。したがって、加工面を滑らかに連
続させることができる。
Conventionally, in order to prevent a step from occurring at the boundary between the areas, the processing has been performed by adjusting the processing start position in the next area. That is, the tool edge position at the end of machining in a previous area (hereinafter referred to as “previous area”) is stored, and after positioning at the stored tool edge position, machining of the next area is started. .
In this case, it is necessary to take the following steps when adjusting the machining start position of the next area. This step will be described below with reference to FIG. Here, the term “position” means a position in the height direction because it is natural that the position in the horizontal direction is different between the previous area and the next area. (1) After the end of machining in the previous area, the position of the tool edge is measured while the spindle is rotated. In the example of FIG. 9, in the preceding area, the main shaft starts rotating at time t60, and the time t6
After processing between 2 and t64, the rotation of the spindle is stopped at time 68. In this case, the height L60 measured at time t66 is the tool edge position. (2) After changing the tool and rotating the main spindle, measurement of the tool edge position is performed after waiting until the change of the tool edge position converges to some extent. In the example of FIG. 9, in the next area, the measurement is performed at time t72, which is a short time after the main shaft starts rotating at time t70. In this case, the height L64 is the tool edge position. (3) Correct the position of the tool edge before and after the tool change.
That is, the difference L62 between the tool edge position (height L60) in the previous area and the tool edge position (height L64) in the next area.
(= L60−L64) is used as the correction amount to correct the tool edge position. In this way, since the processing end position in the previous area matches the processing start position in the next area, no step is generated between the areas. Therefore, the machined surface can be smoothly continued.

【0006】ところが、このような測定や補正を精度良
く、しかも自動的に行うことは困難である。そのため、
操作員(マシンオペレータ)が次エリアにおける加工開
始時に、加工開始位置を調整する必要がある。したがっ
て、ATC(自動工具交換機能)を利用してエリア間の
境界に段差が発生しないように、連続無人運転を行うの
は不可能である。その一方、工具刃先位置を非接触測定
等により、高速回転中の工具刃先位置を精度良く、さら
には自動的に測定する方法も考えられる。この方法を実
行した場合であっても、各エリアの加工が進むにつれ
て、図10に示す誤差E6,E8,E10のように、誤
差が次第に累積される。そのため、加工後の加工形状2
8と目的形状24との間に生ずる誤差は許容値を越えて
しまう可能性がある。したがって、高い加工精度が要求
されるワーク30(例えば金型)に当該加工方法を適用
するのは、完成品の歩留まりが低下する等の点で難し
い。
However, it is difficult to perform such measurement and correction accurately and automatically. for that reason,
An operator (machine operator) needs to adjust the processing start position when starting processing in the next area. Therefore, it is impossible to perform continuous unmanned operation using an ATC (Automatic Tool Change Function) so that a step does not occur at the boundary between the areas. On the other hand, a method is also conceivable in which the position of the tool edge during high-speed rotation is accurately and automatically measured by non-contact measurement or the like. Even when this method is executed, errors gradually accumulate as errors E6, E8, and E10 shown in FIG. 10 progress as each area is processed. Therefore, the processed shape 2 after processing
There is a possibility that an error generated between the target shape 8 and the target shape 24 exceeds an allowable value. Therefore, it is difficult to apply the processing method to the work 30 (for example, a mold) that requires high processing accuracy, for example, because the yield of finished products is reduced.

【0007】なお、複数のエリアに分割して図7(A)
とほぼ直交する方向、すなわち図11に示すような方向
に沿って加工する場合において、本出願人はエリア間の
境界に段差が発生しないようにするための技術を特願平
8−26857号(未公開)において提案している。
[0007] In addition, FIG.
In the case of processing along a direction substantially perpendicular to the direction of FIG. 11, that is, a direction as shown in FIG. Undisclosed).

【0008】[0008]

【発明が解決しようとする課題】しかし、上述したよう
に、単にエリアを分割して加工すると、工具刃先位置が
変位するために図7(B)に示すようにエリア間の境界
に段差32,34が発生する。一方、段差をなくすため
に工具刃先位置を補正すると、加工が進むにつれて目的
形状との誤差が大きくなる。本発明はこのような点に鑑
みてなされたものであり、工具刃先位置の変化にかかわ
らず加工面を滑らかに連続させるとともに、加工形状と
目的形状との間に生ずる誤差を低く抑えることである。
However, as described above, if the area is simply divided and machined, the position of the tool edge is displaced, so that as shown in FIG. 34 occurs. On the other hand, if the tool edge position is corrected in order to eliminate the step, an error from the target shape increases as the machining proceeds. The present invention has been made in view of such a point, and it is an object of the present invention to make a processing surface smoothly continuous irrespective of a change in a tool edge position and to suppress an error generated between a processing shape and a target shape to be low. .

【0009】[0009]

【課題を解決するための第1の手段】請求項1に記載の
発明は、複数の加工経路に従って工具を移動させること
により、ワークの加工対象エリアを目的形状に加工する
加工方法において、ある加工経路に従って工具を移動さ
せて加工し、少なくとも1回はその加工経路に沿って隣
接する加工経路以外の次の加工経路に従って工具を移動
させて加工することを特徴とする。ここで、加工対象エ
リアの一端から他端までの間を加工する経路を「一方向
経路」と定義する。この場合において、「加工経路」と
は、1または複数の一方向経路からなる経路を意味す
る。すなわち、図1(A)の場合では、経路T2,T
4,T6,…がそれぞれ加工経路に相当する。同様に、
図1(B)の場合では、経路T20(一方向経路T20
aと一方向経路T20b),経路T22(一方向経路T
22aと一方向経路T22b),…がそれぞれ加工経路
に相当する。なお、一端の位置と他端の位置とは通常は
異なる位置であるが、例えば同心円状に加工する場合等
では同位置になる場合もある。
According to a first aspect of the present invention, there is provided a machining method for machining a machining target area of a workpiece into a target shape by moving a tool according to a plurality of machining paths. The processing is performed by moving the tool according to the path, and at least once, the tool is moved along the next processing path other than the adjacent processing path along the processing path to perform the processing. Here, a path for processing from one end to the other end of the processing target area is defined as a “one-way path”. In this case, the “processing path” means a path including one or a plurality of one-way paths. That is, in the case of FIG.
.., T6,... Each correspond to a machining path. Similarly,
In the case of FIG. 1B, the route T20 (one-way route T20
a and one-way route T20b), route T22 (one-way route T
22a and the one-way path T22b),... Correspond to machining paths, respectively. Note that the position of one end and the position of the other end are usually different positions, but may be the same position, for example, when processing is performed concentrically.

【0010】請求項1に記載の発明によれば、図1
(A)において、ある加工経路T2の次には少なくとも
1回隣接しない加工経路T6に従って加工が行われ、こ
うした加工が加工対象エリア20の全域に対して行われ
る。この場合、ある加工経路T2の次には少なくとも1
回隣接しない加工経路T6に従って加工を行うことによ
り、加工形状と目的形状との間に生ずる誤差を従来より
も低く抑えることができる。また、加工対象エリア20
の全域に対して加工を行うことにより、工具刃先位置の
変化にかかわらず加工面を滑らかに連続させることがで
きる。
According to the first aspect of the present invention, FIG.
In (A), after a certain processing path T2, processing is performed at least once according to a processing path T6 that is not adjacent to the processing path T2, and such processing is performed on the entire processing target area 20. In this case, at least one next to a certain machining path T2
By performing the processing in accordance with the processing path T6 that is not adjacent to each other, an error generated between the processed shape and the target shape can be suppressed lower than before. The processing target area 20
By performing machining on the entire region, the machining surface can be smoothly continued regardless of a change in the position of the tool edge.

【0011】[0011]

【課題を解決するための第2の手段】請求項2に記載の
発明は、請求項1に記載の加工方法において、その加工
経路に沿って隣接する加工経路以外の次の加工経路は、
ワークの加工対象エリアを加工するのに必要な工具本数
に基づく加工経路の数だけ離れている加工経路であるこ
とを特徴とする。
According to a second aspect of the present invention, in the machining method according to the first aspect, a next machining path other than an adjacent machining path along the machining path includes:
It is a machining path that is separated by the number of machining paths based on the number of tools required to machine the machining area of the work.

【0012】請求項2に記載の発明によれば、ある加工
経路から次の加工経路に工具をシフトさせる場合には、
加工に必要な工具本数に基づいてシフトさせる。こうし
て工具をシフトさせながら加工すれば、最も少ない本数
の工具で、しかも加工形状と目的形状との間に生ずる誤
差を低く抑えて加工面を滑らかに連続させることができ
る。そのため、加工面の仕上げ精度をより向上させるこ
とができる。
According to the second aspect of the present invention, when the tool is shifted from one machining path to the next machining path,
Shift based on the number of tools required for machining. If the machining is performed while shifting the tools in this manner, the machining surface can be smoothly continued by using the least number of tools and suppressing an error generated between the machining shape and the target shape to be low. Therefore, the finishing accuracy of the processed surface can be further improved.

【0013】[0013]

【課題を解決するための第3の手段】請求項3に記載の
発明は、請求項1に記載の加工方法において、ある加工
経路から次の加工経路にシフトさせる工具のシフト方向
を所定方向とすることを特徴とする。
According to a third aspect of the present invention, in the machining method according to the first aspect, the shift direction of the tool for shifting from one machining path to the next machining path is set to a predetermined direction. It is characterized by doing.

【0014】請求項3に記載の発明によれば、工具のシ
フト方向を所定方向に揃えて加工を行うので、工具磨耗
等による工具刃先位置の変化も同様に表れるようにな
る。そのため、加工面の仕上げ精度をより向上させるこ
とができる。
According to the third aspect of the present invention, since the machining is performed with the tool shifting direction aligned in a predetermined direction, a change in the position of the tool edge due to tool wear or the like also appears. Therefore, the finishing accuracy of the processed surface can be further improved.

【0015】[0015]

【課題を解決するための第4の手段】請求項4に記載の
発明は、目的形状情報に基づいて、ワークと工具との間
の相対的な位置関係を制御することにより、そのワーク
の加工対象エリアを目的形状に加工するための加工プロ
グラムを作成する加工プログラム作成装置において、そ
の目的形状情報に基づいて、複数の加工経路を生成する
経路生成手段と、その経路生成手段によって生成された
ある加工経路を選択し、少なくとも1回はその選択した
加工経路に沿って隣接する加工経路以外の加工経路を選
択する経路選択手段と、その経路選択手段によって選択
された加工経路の順に加工プログラムを生成するプログ
ラム生成手段とを有することを特徴とする。
According to a fourth aspect of the present invention, a workpiece is processed by controlling a relative positional relationship between a workpiece and a tool based on target shape information. In a machining program creating apparatus for creating a machining program for machining a target area into a target shape, a path generating means for generating a plurality of processing paths based on the target shape information, and a path generated by the path generating means. A machining path is selected, a machining path is selected at least once along the selected machining path, and a machining program is generated in the order of the machining path selected by the path selecting means. And a program generating means for performing the program.

【0016】請求項4に記載の発明によれば、経路生成
手段によって生成された加工経路について、経路選択手
段がある加工経路の次には少なくとも1回隣接しない加
工経路を選択する。こうして選択された加工経路の順に
プログラム生成手段が加工プログラムを生成する。この
加工プログラムでは、ある加工経路の次には少なくとも
1回隣接しない加工経路に従って加工を行うので、加工
形状と目的形状との間に生ずる誤差を従来よりも低く抑
えることができる。また、この加工プログラムでは、加
工対象エリアの全域に対して加工を行うので、工具刃先
位置の変化にかかわらず加工面を滑らかに連続させるこ
とができる。
According to the fourth aspect of the present invention, with respect to the machining path generated by the path generating means, a processing path which is not adjacent at least once after a processing path having the path selecting means is selected. The program generating means generates a machining program in the order of the machining paths selected in this manner. In this machining program, machining is performed at least once after a certain machining path according to a machining path that is not adjacent to the machining path, so that an error generated between the machining shape and the target shape can be suppressed lower than before. In this machining program, machining is performed on the entire machining target area, so that the machining surface can be smoothly continued regardless of a change in the tool edge position.

【0017】[0017]

【課題を解決するための第5の手段】請求項5に記載の
発明は、複数の加工経路を有する加工プログラムに基づ
いて工具を移動させ、ワークの加工対象エリアを目的形
状に加工する加工装置において、その複数の加工経路の
うちある加工経路に従って工具を移動させて加工し、少
なくとも1回はその加工経路に沿って隣接する加工経路
以外の次の加工経路に従って工具を移動させて加工する
ことを特徴とする。
According to a fifth aspect of the present invention, there is provided a machining apparatus for moving a tool on the basis of a machining program having a plurality of machining paths and machining an area to be machined into a target shape. And moving the tool according to a certain machining path among the plurality of machining paths, and performing machining by moving the tool according to the next machining path other than the adjacent machining path along the machining path at least once. It is characterized by.

【0018】請求項5に記載の発明によれば、加工プロ
グラムに含まれる複数の加工経路について、ある加工経
路の次には少なくとも1回隣接しない加工経路に従って
加工が行われ、こうした加工が加工対象エリアの全域に
対して行われる。この場合、ある加工経路の次には少な
くとも1回隣接しない加工経路に従って加工を行うこと
により、加工形状と目的形状との間に生ずる誤差を従来
よりも低く抑えることができる。また、加工対象エリア
の全域に対して加工を行うことにより、工具刃先位置の
変化にかかわらず加工面を滑らかに連続させることがで
きる。
According to the fifth aspect of the invention, for a plurality of machining paths included in the machining program, machining is performed at least once following a machining path that is not adjacent to a certain machining path. This is performed for the entire area. In this case, by performing processing in accordance with a processing path that is not adjacent at least once after a certain processing path, an error generated between the processed shape and the target shape can be suppressed lower than before. Further, by performing processing on the entire processing target area, the processing surface can be smoothly continued regardless of a change in the position of the tool edge.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。 〔実施の形態1〕まず実施の形態1では、ワークの加工
対象エリアの面積が大きく、通常は複数のエリアに分割
して行う加工について本発明を適用したものである。こ
の実施の形態1は、図1と図2とを参照しながら説明す
る。ここで、図1は本発明の加工方法を示す図であっ
て、図1(A)には1の一方向経路からなる加工経路の
場合を、図1(B)には複数の一方向経路からなる加工
経路の場合をそれぞれ示す。図2は加工状態と加工結果
とを示す図であって、図2(A)には第1工具による加
工状態を、図2(B)には第2工具による加工状態を、
図2(C)には第3工具による加工状態を、加工結果を
側面図でそれぞれ示す。
Embodiments of the present invention will be described below with reference to the drawings. [Embodiment 1] First, in Embodiment 1, the present invention is applied to a process in which a work target area of a work is large, and is usually divided into a plurality of areas. The first embodiment will be described with reference to FIGS. Here, FIG. 1 is a view showing a processing method of the present invention, and FIG. 1 (A) shows a processing path including one one-way path, and FIG. 1 (B) shows a plurality of one-way paths. Are shown respectively. FIG. 2 is a diagram showing a machining state and a machining result. FIG. 2 (A) shows a machining state by a first tool, FIG. 2 (B) shows a machining state by a second tool,
FIG. 2C shows a machining state by the third tool and a machining result in a side view.

【0020】図1(A)において、加工経路T2,T
4,T6,T8,T10,…は、ワーク30の加工対象
エリア20を加工するために工具10が移動する経路で
ある。これらの加工経路T2,T4,T6,T8,T1
0,…は、加工面積,使用する工具,必要面粗さから決
定されるピック量,工具10の予測寿命,加工対象エリ
ア20の全域を加工するのに必要な工具本数等に基づい
て決定される。この例では、まず一端の位置P2(加工
開始位置)に工具10をアプローチし、加工経路T2に
従って工具10を移動させる。そして、加工経路T2に
おける他端の位置P10に達すると、加工経路T2に沿
って隣接する加工経路T4以外の加工経路T6の一端の
位置P12にシフトして、この加工経路T6に従って工
具10を移動させる。さらに、加工経路T6における他
端の位置P6に達すると、加工経路T6に沿って隣接す
る加工経路T8以外の加工経路T10の一端の位置P8
にシフトして、この加工経路T10に従って工具10を
移動させる。以下同様にして、加工対象エリア20の全
域に対して加工を行う。その後、加工経路T4の一端の
位置P4(加工開始位置)に工具10をアプローチし、
上記の動作と同様にして加工経路T4,T8,…従って
工具10を移動させる。この加工もまた加工対象エリア
20の全域に対して行う。
In FIG. 1A, machining paths T2 and T
4, T6, T8, T10,... Are paths along which the tool 10 moves in order to machine the machining target area 20 of the work 30. These machining paths T2, T4, T6, T8, T1
0,... Are determined based on the machining area, the tool to be used, the pick amount determined from the required surface roughness, the estimated life of the tool 10, the number of tools required to machine the entire machining target area 20, and the like. You. In this example, first, the tool 10 approaches the position P2 (processing start position) at one end, and moves the tool 10 according to the processing path T2. Then, when reaching the position P10 at the other end of the processing path T2, the tool 10 is shifted to the position P12 at one end of the processing path T6 other than the adjacent processing path T4 along the processing path T2, and the tool 10 is moved according to the processing path T6. Let it. Further, when reaching the position P6 of the other end of the processing path T6, the position P8 of one end of the processing path T10 other than the processing path T8 adjacent along the processing path T6.
And the tool 10 is moved according to the machining path T10. In the same manner, processing is performed on the entire processing target area 20. Thereafter, the tool 10 approaches the position P4 (processing start position) at one end of the processing path T4,
The tool 10 is moved along the machining paths T4, T8,... In the same manner as the above operation. This processing is also performed on the entire processing target area 20.

【0021】ここで、ワーク30の加工対象エリア20
を加工するために必要な工具本数が3本と判断された場
合の例を図2に示す。すなわち、3本の工具12,1
4,16を用いて、まず図2(A)に示すように工具1
2で加工対象エリア20の全域を加工し、次に図2
(B)に示すように工具14で加工対象エリア20の全
域を加工し、最後に図2(C)に示すように工具16で
加工対象エリア20の全域を加工する。この場合、ある
加工経路から次の加工経路に工具をシフトさせる場合に
は、工具本数に基づく加工経路の数だけ離れている加工
経路にシフトさせる。例えば、1番目の加工経路の場合
には4番目の加工経路にシフトさせ、その次には7番目
の加工経路にシフトさせ、以下同様に行う。具体的に
は、目的の面粗さを得るために必要なピック量Aに対し
て工具本数Bを掛けたシフト量(A×B)だけシフトさ
せる。この加工手順によって加工された結果を図2
(D)に示す。図2(D)において、は工具12によ
り、は工具14により、は工具16により加工され
た位置を示す。
Here, the processing target area 20 of the workpiece 30
FIG. 2 shows an example in the case where it is determined that the number of tools required for machining the tool is three. That is, three tools 12, 1
First, as shown in FIG.
2, the entire area of the processing target area 20 is processed.
As shown in FIG. 2B, the entire area of the processing target area 20 is processed by the tool 14, and finally, the entire area of the processing target area 20 is processed by the tool 16 as shown in FIG. 2C. In this case, when shifting a tool from one machining path to the next machining path, the tool is shifted to a machining path that is separated by the number of machining paths based on the number of tools. For example, in the case of the first machining path, it is shifted to the fourth machining path, and then to the seventh machining path, and so on. Specifically, the shift is performed by a shift amount (A × B) obtained by multiplying the pick amount A required to obtain the target surface roughness by the number of tools B. FIG. 2 shows the result of processing according to this processing procedure.
It is shown in (D). In FIG. 2 (D), indicates the positions machined by the tool 12, by the tool 14, and by the tool 16.

【0022】次に図1(B)において、加工経路T2
0,T22,T24,…は、ワーク30の加工対象エリ
ア20を加工するために工具10が移動する経路であ
る。これらの加工経路T20,T22,T24,…もま
た、ピック量,工具10の予測寿命,工具本数等に基づ
いて決定される。この例では、まず一端の位置P20
(加工開始位置)に工具10をアプローチし、加工経路
T20a,T20bに従って工具10を移動させる。そ
して、加工経路T20bにおける他端の位置P22に達
すると、加工経路T20に沿って隣接する加工経路T2
2以外の加工経路T24の一端の位置P26にシフトし
て、この加工経路T24a,T24bに従って工具10
を移動させる。以下同様にして、加工対象エリア20の
全域に対して加工を行う。その後、加工経路T22の一
端の位置P24(加工開始位置)に工具10をアプロー
チし、上記の動作と同様にして加工経路T22(T22
a,T22b),…従って工具10を移動させる。この
加工もまた加工対象エリア20の全域に対して行う。
Next, in FIG. 1B, the machining path T2
0, T22, T24,... Are paths along which the tool 10 moves in order to machine the machining target area 20 of the workpiece 30. These machining paths T20, T22, T24,... Are also determined based on the pick amount, the estimated life of the tool 10, the number of tools, and the like. In this example, first, one end position P20
The tool 10 approaches the (processing start position) and moves the tool 10 according to the processing paths T20a and T20b. When reaching the position P22 at the other end of the processing path T20b, the processing path T2 adjacent to the processing path T20 along the processing path T20.
2 is shifted to a position P26 at one end of the machining path T24 other than the tool path T24, and the tool 10 is moved in accordance with the machining paths T24a and T24b.
To move. In the same manner, processing is performed on the entire processing target area 20. Thereafter, the tool 10 approaches the position P24 (processing start position) at one end of the processing path T22, and performs the processing path T22 (T22) in the same manner as the above operation.
a, T22b),... Therefore, the tool 10 is moved. This processing is also performed on the entire processing target area 20.

【0023】上記の加工方法によれば、図1(A)にお
いて、ある加工経路T2の次には少なくとも1回隣接し
ない加工経路T6に従って加工が行われ、こうした加工
が加工対象エリア20の全域に対して行われる。この場
合、加工対象エリア20の全域に対して行う加工形状は
類似形状であり、送り速度や主軸回転数等の加工条件も
同一となる。そのため、加工時間もほぽ一定となり、工
具摩耗の進行状況は、同等と考えられる。また、複数の
工具を用いて加工を行う場合には、工具交換後の回転開
始による工具の引き込み量、主軸の発熱と冷却系統との
バランスがとれるまでの初期段階での工具刃先位置の変
動等による影響を受けて変化する工具刃先位置も類似す
ると考えられる。さらに、加工対象エリア20の全域を
一回加工するのに必要な時間が短くなるため、その間に
発生する工具刃先位置の変化に伴う誤差量は少ない。以
降の繰り返し加工においては、加工開始位置で目的形状
24に合わせて位置決めするので、誤差量は累積されな
い。こうしたことから、ある加工経路T2の次には少な
くとも1回隣接しない加工経路T6に従って加工を行う
ことにより、工具刃先位置の変化による影響が低減され
る。したがって、加工形状と目的形状との間に生ずる誤
差を従来よりも低く抑えることができる。しかも、加工
対象エリア20の全域に対して加工を行うことにより、
工具刃先位置の変化にかかわらず加工面を滑らかに連続
させることができる。そのため、従来では複数のエリア
に分割して加工していたために発生する段差がなくな
る。
According to the above-described processing method, in FIG. 1A, processing is performed according to a processing path T6 that is not adjacent at least once after a certain processing path T2, and such processing is performed over the entire area of the processing target area 20. It is done for. In this case, the processing shapes to be performed on the entire processing target area 20 are similar shapes, and the processing conditions such as the feed speed and the spindle speed are the same. Therefore, the machining time is almost constant, and the progress of tool wear is considered to be equivalent. In addition, when machining with multiple tools, the amount of tool pull-in due to the start of rotation after tool replacement, the change in the position of the tool edge in the initial stage until the balance between the heat generation of the spindle and the cooling system is achieved, etc. It is considered that the position of the tool edge that changes under the influence of is similar. Further, since the time required to perform the entire processing of the entire processing target area 20 once is reduced, an error amount due to a change in the position of the tool edge generated during the processing is small. In the subsequent repetitive machining, since the positioning is performed at the machining start position in accordance with the target shape 24, the error amount is not accumulated. For this reason, by performing machining according to the machining path T6 that is not adjacent at least once after a certain machining path T2, the influence of a change in the position of the tool edge is reduced. Therefore, an error generated between the processed shape and the target shape can be suppressed lower than before. Moreover, by performing processing on the entire processing target area 20,
The machined surface can be smoothly continued regardless of the change in the position of the tool edge. For this reason, there is no step that occurs in the related art in which processing is performed by dividing the area into a plurality of areas.

【0024】また、ある加工経路から次の加工経路に工
具をシフトさせる場合には、加工に必要な工具本数に基
づき、シフト量(=ピック量A×工具本数B)だけシフ
トさせる。こうしてシフトさせながら加工することによ
って、最も少ない本数の工具で、しかも加工形状と目的
形状との間に生ずる誤差を低く抑えて加工面を滑らかに
連続させることができる。そのため、加工面の仕上げ精
度をより向上させることができる。さらに、図1
(A),図1(B)のそれぞれに示すように、工具のシ
フト方向を所定方向D2に揃えて加工を行えば、工具磨
耗等による工具刃先位置の変化も同様に表れるようにな
る。そのため、加工面の仕上げ精度をより向上させるこ
とができる。
When shifting a tool from one machining path to the next machining path, the tool is shifted by a shift amount (= pick amount A × tool number B) based on the number of tools required for machining. By performing processing while shifting in this manner, the processed surface can be smoothly continued with the least number of tools and with a low error between the processed shape and the target shape. Therefore, the finishing accuracy of the processed surface can be further improved. Further, FIG.
As shown in FIGS. 1A and 1B, if the machining is performed with the tool shift direction aligned with the predetermined direction D2, the change in the tool edge position due to tool wear and the like also appears. Therefore, the finishing accuracy of the processed surface can be further improved.

【0025】ここで、上記加工方法において、工具交換
後の工具停止状態において、工具刃先位置を測定し、工
具刃先位置を補正することにより、誤差の累積をさらに
防止することができる。すなわち、図3に示す例におい
て、加工対象エリア20の全域に対して行う前回の加工
では時刻t2に主軸を回転させ始め、時刻t4〜t6の
間を加工した後に時刻t8で主軸の回転を停止する。次
の加工では、先に工具10の工具刃先位置を補正する。
すなわち、主軸を停止させている時刻t10に工具刃先
位置を測定し、加工開始前段階における前後工具の工具
刃先位置の差だけ工具刃先位置を補正する。すなわち、
ATCで工具を繰り返して交換することにより発生する
誤差等によって生じるズレ量L2だけ工具刃先位置を補
正する。その後、時刻t12に主軸を回転させ始め、時
刻t14〜t16の間を加工した後に時刻t18で主軸
の回転を停止する。
Here, in the above-mentioned machining method, the accumulation of errors can be further prevented by measuring the tool edge position and correcting the tool edge position when the tool is stopped after the tool change. That is, in the example shown in FIG. 3, in the previous machining performed on the entire machining target area 20, the spindle is started to rotate at time t2, and after the machining from time t4 to t6, the rotation of the spindle is stopped at time t8. I do. In the next machining, the tool edge position of the tool 10 is corrected first.
That is, the tool edge position is measured at the time t10 when the spindle is stopped, and the tool edge position is corrected by the difference between the tool edge positions of the front and rear tools at the stage before the start of machining. That is,
The tool edge position is corrected by a shift amount L2 caused by an error or the like caused by repeatedly changing tools in the ATC. After that, the spindle is started to rotate at time t12, and after machining between times t14 and t16, the rotation of the spindle is stopped at time t18.

【0026】未補正のまま加工を行うと曲線44に沿っ
て工具刃先位置が変わるが、上記補正を行なった後に加
工を行うと曲線42に沿って工具刃先位置が変わること
になる。この工具刃先位置の変化は、前回の加工におけ
る曲線40で示す工具刃先位置の変化とほぼ同じにな
る。したがって、加工面を滑らかに連続させるととも
に、加工形状と目的形状との間に生ずる誤差をさらに低
く抑えることである。なお、工具刃先位置の補正を行う
際には、簡易な接触式工具長測定機能により高精度な測
定が可能となる。したがって、ATC(自動工具交換)
と自動刃先測定の活用により、連続無人運転が可能とな
る。
If the machining is performed without correction, the position of the tool edge changes along the curve 44. However, if the processing is performed after the correction is performed, the position of the tool edge changes along the curve 42. The change in the tool edge position is almost the same as the change in the tool edge position indicated by the curve 40 in the previous machining. Therefore, it is an object of the present invention to make the machined surface smoothly continuous and to further reduce an error generated between the machined shape and the target shape. When correcting the tool edge position, highly accurate measurement can be performed by a simple contact-type tool length measurement function. Therefore, ATC (Automatic Tool Change)
And automatic cutting edge measurement, continuous unmanned operation is possible.

【0027】なお、上記実施の形態1は複数のエリアに
分割し、複数の工具を用いて行う加工について本発明を
適用したが、ワーク30の加工対象エリア20の面積が
小さく、単一のエリアを単一の工具で行う加工について
本発明を同様に適用することもできる。すなわち、単一
のエリアで加工する場合であっても、複数のエリアに分
割されたと仮定して上記加工方法によって加工対象エリ
ア20を加工すればよい。こうすれば、上記実施の形態
1と同様の効果、すなわち工具刃先位置の変化にかかわ
らず加工面を滑らかに連続させるとともに、加工形状と
目的形状との間に生ずる誤差を低く抑えることができ
る。この場合、いくつのエリアに分割されたと仮定する
かは、任意の分割値を適用することもできる。望ましく
は、ワーク30の材質や工具10の種類、加工条件等、
あるいは操作員の経験も考慮して最適な分割値を適用す
る。こうして、加工形状と目的形状との間に生ずる誤差
をより低く抑えることができる。
In the first embodiment, the present invention is applied to machining performed by dividing the work into a plurality of areas and using a plurality of tools. The present invention can be similarly applied to machining in which is performed by a single tool. That is, even when processing is performed in a single area, the processing target area 20 may be processed by the above-described processing method on the assumption that the area is divided into a plurality of areas. This makes it possible to achieve the same effect as that of the first embodiment, that is, to make the machined surface smoothly continuous regardless of a change in the position of the tool edge, and to suppress an error generated between the machined shape and the target shape to be low. In this case, as to how many areas are assumed to be divided, an arbitrary division value can be applied. Desirably, the material of the work 30, the type of the tool 10, the processing conditions, etc.
Alternatively, an optimal division value is applied in consideration of the experience of the operator. In this way, it is possible to further reduce the error that occurs between the processed shape and the target shape.

【0028】〔実施の形態2〕次に、実施の形態2は、
実施の形態1における加工方法を実現するための加工プ
ログラムの作成方法やそのための装置構成について、図
4,図5を参照しながら説明する。ここで、図4には、
加工プログラム作成装置(あるいは加工装置)を概略的
なブロック図で示す。図5には、加工プログラム作成処
理をフローチャートで示す。なお、加工プログラムとし
ては、一般に数値制御(以下「NC」と呼ぶ。)データ
が用いられる。
[Embodiment 2] Next, Embodiment 2
A method of creating a machining program for realizing the machining method according to the first embodiment and a device configuration therefor will be described with reference to FIGS. Here, FIG.
FIG. 2 is a schematic block diagram showing a processing program creating device (or a processing device). FIG. 5 is a flowchart showing the machining program creation processing. Note that numerical control (hereinafter, referred to as “NC”) data is generally used as the machining program.

【0029】図4において、加工プログラム作成装置
(あるいは加工装置)は、制御部100とNC加工機2
00とによって構成されている。制御部100は、CP
U(プロセッサ)110,ROM102,RAM10
4,操作盤106,表示制御回路112,表示器11
4,入出力処理回路116,通信制御回路118によっ
て構成されている。なお、NC加工機200は一般的な
構成のものを用い、周知であるので図示および説明を省
略する。
In FIG. 4, a machining program creating device (or machining device) includes a control unit 100 and an NC machine 2
00. The control unit 100
U (processor) 110, ROM 102, RAM 10
4, operation panel 106, display control circuit 112, display 11
4, an input / output processing circuit 116 and a communication control circuit 118. Since the NC processing machine 200 has a general configuration and is well known, its illustration and description are omitted.

【0030】CPU110は、ROM102に格納され
た制御プログラムに従って制御部100の全体を制御す
る。ROM102にはEPROMあるいはEEPROM
が使用され、上記制御プログラムの他に表示器114に
表示する文字キャラクタ等が格納されている。RAM1
04はDRAMやSRAM、あるいはフラッシュRAM
等が使用される。このRAM104には、目的形状デー
タ,工具本数,NCデータその他の各種のデータ、ある
いは入出力信号等が格納される。操作盤106は操作員
が制御部100に対して各種の指令をしたり、制御部1
00の要求に従って、目的形状データ等の所定のデータ
を入力する。なお、必要に応じてマウスやデジタイザ等
のポインティングデバイスを制御部100に接続し、上
記所定のデータを入力してもよい。通信制御回路118
は、CPU110からバス108を介して送られた通信
データをNC加工機200に送信し、あるいはNC加工
機200から送信された通信データを受信してCPU1
10へ送るための回路である。なお、データを送受信す
る形態は有線に限らず、無線であってもよい。
The CPU 110 controls the entire control unit 100 according to a control program stored in the ROM 102. EPROM or EEPROM is stored in the ROM 102.
Are used, and in addition to the control program, character characters and the like to be displayed on the display 114 are stored. RAM1
04 is DRAM, SRAM, or flash RAM
Etc. are used. The RAM 104 stores target shape data, the number of tools, NC data and other various data, input / output signals, and the like. The operation panel 106 allows the operator to issue various commands to the control unit 100,
According to the request of 00, predetermined data such as target shape data is input. Note that a pointing device such as a mouse or a digitizer may be connected to the control unit 100 as needed, and the predetermined data may be input. Communication control circuit 118
Transmits the communication data transmitted from the CPU 110 via the bus 108 to the NC processing machine 200, or receives the communication data transmitted from the NC processing machine 200 and
This is a circuit for sending to 10. The mode of transmitting and receiving data is not limited to wired, but may be wireless.

【0031】表示制御回路112はCPU110からバ
ス108を介して送られた表示制御データに従って、表
示器114の表示制御を行う回路である。入出力処理回
路116は、CPU110からバス108を介して受け
た出力データを外部記憶装置130やPTP/PTR
(紙テープパンチャー・リーダー)140に送る回路で
ある。この外部記憶装置130には、HD(ハードディ
スク)装置,FD(フレキシブルディスク)装置等があ
り、これらの装置によって磁気ディスク132(例えば
FD,光磁気ディスク,リムーバブルHD等)にNCデ
ータ等が記録される。また、磁気ディスク132に記録
されたNCデータ等は外部記憶装置130によって読み
出され、入出力処理回路116やバス108を介してC
PU110等に送られる。一方、PTP/PTR140
からは紙テープ142にNCデータ等が記録される。紙
テープ142に記録されたNCデータ等も外部記憶装置
130の場合と同様に、PTP/PTR140によって
読み出され、入出力処理回路116やバス108を介し
てCPU110等に送られる。これらの磁気ディスク1
32や紙テープ142は記録媒体を具体化したものであ
るが、他の記録方式による一定期間保持可能な記録媒体
であってもよい。なお、上記各構成要素は、表示器11
4を除いていずれもバス108に互いに結合されてい
る。
The display control circuit 112 controls the display of the display 114 in accordance with the display control data sent from the CPU 110 via the bus 108. The input / output processing circuit 116 outputs the output data received from the CPU 110 via the bus 108 to the external storage device 130 or the PTP / PTR
(Paper tape puncher / reader) 140 The external storage device 130 includes an HD (hard disk) device, an FD (flexible disk) device, and the like. These devices record NC data and the like on a magnetic disk 132 (for example, an FD, a magneto-optical disk, and a removable HD). You. The NC data or the like recorded on the magnetic disk 132 is read out by the external storage device 130, and is read via the input / output processing circuit 116 and the bus 108.
It is sent to the PU 110 and the like. On the other hand, PTP / PTR140
Thereafter, NC data and the like are recorded on the paper tape 142. The NC data and the like recorded on the paper tape 142 are also read out by the PTP / PTR 140 and sent to the CPU 110 and the like via the input / output processing circuit 116 and the bus 108 as in the case of the external storage device 130. These magnetic disks 1
32 and the paper tape 142 embody a recording medium, but may be a recording medium that can be held for a certain period by another recording method. In addition, each of the above-mentioned components is a display 11
With the exception of 4, all are coupled to the bus 108.

【0032】次に、加工プログラム作成装置における制
御部100内で実行される処理手順について、図5を参
照しながら説明する。図5に示すプログラム作成処理
は、図4に示すCPU110が制御プログラムを実行す
ることによって実現される。なお、図5においてステッ
プS12は経路生成手段を、ステップS14は経路選択
手段を、ステップS12,S14,S20はプログラム
生成手段をそれぞれ具体化した処理ステップである。ま
た、ワーク30の加工対象エリア20について、加工プ
ログラムを生成するための基礎となる目的形状データ
は、予め操作盤106を通じてRAM104に格納され
ているものとする。
Next, a processing procedure executed in the control unit 100 in the machining program creating device will be described with reference to FIG. The program creation processing shown in FIG. 5 is realized by the CPU 110 shown in FIG. 4 executing a control program. In FIG. 5, step S12 is a processing step that embodies a route generation unit, step S14 is a path selection unit, and steps S12, S14, and S20 are processing steps that embody a program generation unit. Further, with respect to the processing target area 20 of the work 30, it is assumed that target shape data serving as a basis for generating a processing program is stored in the RAM 104 through the operation panel 106 in advance.

【0033】図5に示すプログラム作成処理では、まず
目的形状データに基づいて、ワーク30の加工対象エリ
ア20を加工するために必要な工具本数を算出する[ス
テップS10]。そして、目的形状データに基づいて、
加工経路に対応する加工プログラムを作成し[ステップ
S12]、工具シフトを行う加工プログラムを作成する
[ステップS14]工程を、加工対象エリア20の全域
を加工するまで繰り返す[ステップS16]。加工プロ
グラムは、例えば図4において外部記憶装置130を通
じて磁気ディスク132に作成される。また、作成され
た加工プログラムは、必要に応じて表示制御回路112
を通じて表示器114に表示してもよい。さらに、ステ
ップS12,S14,S16を繰り返し実行することに
よって、図2に示す例では例えば図2(A)に示す工具
12による加工を実現する加工プログラムが作成され
る。
In the program creation processing shown in FIG. 5, first, the number of tools required for machining the machining area 20 of the workpiece 30 is calculated based on the target shape data [Step S10]. Then, based on the target shape data,
A machining program corresponding to the machining path is created [Step S12], and a machining program for performing a tool shift is created [Step S14]. The process is repeated until the entire machining target area 20 is machined [Step S16]. The processing program is created on the magnetic disk 132 through the external storage device 130 in FIG. 4, for example. In addition, the created processing program is used by the display control circuit 112 as needed.
May be displayed on the display unit 114 through the. Further, by repeatedly executing steps S12, S14, and S16, in the example shown in FIG. 2, a machining program that realizes machining with the tool 12 shown in FIG. 2A is created.

【0034】さらに、他に加工経路がある場合には(ス
テップS18のYES)、工具交換を行う加工プログラ
ムを作成し[ステップS20]、対象となる加工経路を
調整した後[ステップS22]、再びステップS12,
S14,S16を実行する。ここで、対象となる加工経
路を調整するとは、図2に示す例では前回の加工が1番
目,4番目,7番目,…の加工経路について加工プログ
ラムを作成した場合において、次の加工が2番目,5番
目,8番目,…の加工経路について加工プログラムを作
成できるように、加工開始位置を調整することである。
そして、他に加工経路がなくなったとき(ステップS1
8のNO)、本処理手順を終了する。なお、必要に応じ
て上記ステップS22の後に、工具刃先位置を補正する
加工プログラムを作成してもよい[ステップS24]。
Further, if there is another machining path (YES in step S18), a machining program for performing a tool change is created [step S20], and the target machining path is adjusted [step S22]. Step S12,
Execute S14 and S16. Here, the adjustment of the target machining path means that in the example shown in FIG. 2, when a machining program is created for the first machining path, the fourth machining path, the seventh machining path,. The processing start position is adjusted so that a machining program can be created for the fifth, fifth, eighth,... Machining paths.
Then, when there is no other machining path (step S1
(NO in 8), the processing procedure ends. In addition, after step S22, a machining program for correcting the position of the tool edge may be created as needed [step S24].

【0035】上記の処理手順を実行すれば、目的形状デ
ータ(目的形状情報)に基づいて、ステップS12(経
路生成手段,プログラム生成手段)の実行によって複数
の加工経路が生成され、加工プログラムが作成される。
また、ステップS14(経路選択手段,プログラム生成
手段)の実行によって、ある加工経路を選択した後は少
なくとも1回はその選択した加工経路に沿って隣接する
加工経路以外の加工経路が選択され、加工プログラムが
作成される。こうして作成された加工プログラムに従っ
て、NC加工機200において加工を行うことにより、
実施の形態1で示した加工方法が実現される。具体的に
は、ある加工経路の次には少なくとも1回隣接しない加
工経路に従って加工が行われ、こうした加工が加工対象
エリアの全域に対して行われる。したがって、作成され
た加工プログラムに基づいて加工すれば、工具刃先位置
の変化にかかわらず加工面を滑らかに連続させるととも
に、加工形状と目的形状との間に生ずる誤差を低く抑え
ることができる。
By executing the above processing procedure, a plurality of machining paths are generated by executing step S12 (path generating means, program generating means) based on the target shape data (target shape information), and a processing program is created. Is done.
After execution of step S14 (path selection means, program generation means), after a certain processing path is selected, a processing path other than an adjacent processing path is selected at least once along the selected processing path. A program is created. By performing processing in the NC processing machine 200 according to the processing program created in this manner,
The processing method described in the first embodiment is realized. Specifically, after a certain processing path, processing is performed at least once according to a processing path that is not adjacent to the processing path, and such processing is performed on the entire processing target area. Therefore, if machining is performed based on the created machining program, the machined surface can be smoothly continued irrespective of a change in the position of the tool edge, and an error generated between the machined shape and the target shape can be suppressed low.

【0036】〔実施の形態3〕次に、実施の形態3は、
一般的な加工プログラム作成装置によって作成された加
工プログラムに基づいて、実施の形態1における加工方
法を実現するためのデータ処理方法について、図6を参
照しながら説明する。ここで、図6には、加工プログラ
ム実行処理をフローチャートで示す。なお、このデータ
処理方法を実現するための装置の構成は、実施の形態2
における制御部100と同様であるので、その説明を省
略する。また、加工プログラム実行処理は、加工装置に
おける制御部100内で実行され実現される。
[Embodiment 3] Next, Embodiment 3
A data processing method for realizing the machining method in the first embodiment based on a machining program created by a general machining program creation device will be described with reference to FIG. Here, FIG. 6 shows a machining program execution process in a flowchart. The configuration of an apparatus for implementing this data processing method is described in Embodiment 2.
And the description is omitted. Further, the processing program execution processing is executed and realized in the control unit 100 of the processing apparatus.

【0037】図6に示すプログラム実行処理では、まず
ワーク30の加工対象エリア20を加工する加工プログ
ラムに基づいて、工具本数を算出する[ステップS3
0]。すなわち、加工プログラム中に含まれる工具交換
指令の出現回数によって、工具本数を算出する。例え
ば、図4において磁気ディスク132に作成されている
加工プログラムは外部記憶装置130によって読み出さ
れる。以下「加工プログラムに基づいて」という場合に
は、外部記憶装置130等によって読み出されたもので
ある。また、その加工プログラムにおいて、NCデータ
で用いられる機能コードM06が2回出現した場合に
は、最初に用いられる工具を考慮して工具本数は3本と
算出される。そして、加工プログラムに基づいて加工経
路に従って工具を移動させて、加工対象エリア20を加
工する[ステップS32]。例えば、図4に示す制御部
100において、加工するための動作指令をCPU11
0からバス108,通信制御回路118を通じてNC加
工機200に送る。NC加工機200では制御部100
から送られた動作指令に従って加工を行う。続いて、加
工プログラムに基づいて工具本数分だけ工具をシフトさ
せる[ステップS34]工程を、加工対象エリア20の
全域を加工するまで繰り返す[ステップS36]。この
ステップS32,S34,S36を繰り返し実行するこ
とによって、図2に示す例では例えば図2(A)に示す
工具12による加工が行われる。
In the program execution process shown in FIG. 6, first, the number of tools is calculated based on a machining program for machining the machining target area 20 of the work 30 [Step S3].
0]. That is, the number of tools is calculated based on the number of appearances of the tool change command included in the machining program. For example, the processing program created on the magnetic disk 132 in FIG. Hereinafter, “based on the processing program” is read out by the external storage device 130 or the like. When the function code M06 used in the NC data appears twice in the machining program, the number of tools is calculated as three in consideration of the tool used first. Then, the tool is moved along the machining path based on the machining program to machine the machining target area 20 (step S32). For example, in the control unit 100 shown in FIG.
From 0, it is sent to the NC processing machine 200 through the bus 108 and the communication control circuit 118. In the NC processing machine 200, the control unit 100
Processing is performed according to the operation command sent from. Subsequently, the process of shifting the tool by the number of tools based on the machining program [Step S34] is repeated until the entire machining target area 20 is machined [Step S36]. By repeatedly executing the steps S32, S34, and S36, in the example shown in FIG. 2, for example, machining with the tool 12 shown in FIG. 2A is performed.

【0038】さらに、他に加工経路があるか否かを判別
する[ステップS38]。もし、他に加工経路があれば
(YES)、加工プログラムに基づいて工具の交換を行
い[ステップS40]、加工開始位置を調整した後[ス
テップS42]、再びステップS32,S34,S36
を実行する。ここで、他に加工経路があるか否かはプロ
グラム停止指令、例えばNCデータで用いられる機能コ
ードM02が出現したか否かによって判別される。ま
た、加工開始位置を調整するとは、図2に示す例では前
回の加工が1番目,4番目,7番目,…の加工経路に従
って加工した場合には、次の加工が2番目,5番目,8
番目,…の加工経路に従って加工されるように、加工開
始位置を2番目の加工経路における一端の位置に位置決
め調整することである。なお、必要に応じて加工プログ
ラムに基づき、上記ステップS42の後に工具刃先位置
を補正してもよい[ステップS44]。一方、ステップ
S38において、他に加工経路がなければ(NO)本処
理手順を終了する。こうして加工プログラムに基づい
て、工具を交換しながら加工対象エリア20の全域を加
工する。
Further, it is determined whether or not there is another machining path [step S38]. If there is another machining path (YES), the tool is changed based on the machining program [Step S40], and after adjusting the machining start position [Step S42], steps S32, S34 and S36 are performed again.
Execute Here, whether or not there is another machining path is determined based on whether or not a program stop command, for example, a function code M02 used in NC data has appeared. In the example shown in FIG. 2, when the previous processing is performed according to the first, fourth, seventh,... Processing paths in the example shown in FIG. 8
The positioning adjustment is performed so that the processing start position is at one end of the second processing path so that the processing is performed in accordance with the processing paths of the second,. Note that the position of the tool edge may be corrected after step S42 based on the machining program as needed [step S44]. On the other hand, in step S38, if there is no other processing path (NO), the present processing procedure ends. Thus, based on the machining program, the entire area of the machining target area 20 is machined while changing tools.

【0039】上記の処理手順を実行すれば、既に作成さ
れた一般的な加工プログラムに基づいて加工装置により
加工が行われる。すなわち、制御部100から送られる
動作指令によりNC加工機200で加工を行うことによ
り、実施の形態1で示した加工方法が実現される。具体
的には、ある加工経路の次にはステップS34の実行に
より少なくとも1回隣接しない加工経路に従って加工が
行われ、こうした加工が加工対象エリアの全域に対して
行われる。したがって、一般的な加工プログラムを用い
て加工を行なった場合であっても、工具刃先位置の変化
にかかわらず加工面を滑らかに連続させるとともに、加
工形状と目的形状との間に生ずる誤差を低く抑えること
ができる。
By executing the above-described processing procedure, machining is performed by the machining apparatus based on a general machining program that has already been created. That is, the machining method described in the first embodiment is realized by performing machining with the NC machine 200 according to an operation command sent from the control unit 100. Specifically, after a certain processing path, processing is performed at least once according to a processing path that is not adjacent by executing step S34, and such processing is performed on the entire processing target area. Therefore, even when machining is performed using a general machining program, the machined surface is smoothly continued irrespective of a change in the tool edge position, and an error generated between the machined shape and the target shape is reduced. Can be suppressed.

【0040】[0040]

【発明の効果】本発明によれば、工具刃先位置の変化に
かかわらず加工面を滑らかに連続させるとともに、加工
形状と目的形状との間に生ずる誤差を低く抑えることが
できる。
According to the present invention, the machined surface can be smoothly continued regardless of the change in the position of the tool edge, and the error generated between the machined shape and the target shape can be suppressed to a low level.

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

【図1】本発明の加工方法を示す図である。FIG. 1 is a view showing a processing method of the present invention.

【図2】加工状態と加工結果とを示す図である。FIG. 2 is a diagram showing a processing state and a processing result.

【図3】工具の位置変化を示す図である。FIG. 3 is a diagram showing a change in the position of a tool.

【図4】加工プログラム作成装置を示す概略的なブロッ
ク図である。
FIG. 4 is a schematic block diagram showing a machining program creating device.

【図5】加工プログラム作成処理を示すフローチャート
である。
FIG. 5 is a flowchart showing a processing program creation process.

【図6】加工プログラム実行処理を示すフローチャート
である。
FIG. 6 is a flowchart showing a machining program execution process.

【図7】工具刃先位置が変化する要因を示す図である。FIG. 7 is a diagram showing a cause of a change in a tool edge position.

【図8】従来の加工方法を示す図である。FIG. 8 is a view showing a conventional processing method.

【図9】工具の位置変化を示す図である。FIG. 9 is a diagram showing a change in the position of a tool.

【図10】従来の加工方法による加工結果を示す図であ
る。
FIG. 10 is a diagram showing a processing result by a conventional processing method.

【図11】従来の他の加工方法を示す図である。FIG. 11 is a view showing another conventional processing method.

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

10,12,14,16 工具 20 加工対象エリア 20a,20b,20c エリア 24 目的形状 30 ワーク 100 制御部 200 NC加工機 L2 補正量 T2,T4,T6,T8,T10,T20,T22,T
24,… 加工経路
10, 12, 14, 16 Tool 20 Processing area 20a, 20b, 20c Area 24 Target shape 30 Work 100 Control unit 200 NC processing machine L2 Correction amount T2, T4, T6, T8, T10, T20, T22, T
24, machining path

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の加工経路に従って工具を移動させ
ることにより、ワークの加工対象エリアを目的形状に加
工する加工方法において、 ある加工経路に従って工具を移動させて加工し、 少なくとも1回はその加工経路に沿って隣接する加工経
路以外の次の加工経路に従って工具を移動させて加工す
ることを特徴とする加工方法。
1. A processing method for processing a work target area of a work into a target shape by moving a tool according to a plurality of processing paths, wherein the processing is performed by moving the tool according to a certain processing path, and the processing is performed at least once. A machining method, wherein a tool is moved and machined according to a next machining path other than an adjacent machining path along the path.
【請求項2】 請求項1に記載の加工方法において、 その加工経路に沿って隣接する加工経路以外の次の加工
経路は、ワークの加工対象エリアを加工するのに必要な
工具本数に基づく加工経路の数だけ離れている加工経路
であることを特徴とする加工方法。
2. The machining method according to claim 1, wherein a next machining path other than an adjacent machining path along the machining path is based on the number of tools required to machine a machining target area of the workpiece. A machining method characterized in that the machining paths are separated by the number of paths.
【請求項3】 請求項1に記載の加工方法において、 ある加工経路から次の加工経路にシフトさせる工具のシ
フト方向を所定方向とすることを特徴とする加工方法。
3. The machining method according to claim 1, wherein a shift direction of a tool for shifting from one machining path to the next machining path is a predetermined direction.
【請求項4】 目的形状情報に基づいて、ワークと工具
との間の相対的な位置関係を制御することにより、その
ワークの加工対象エリアを目的形状に加工するための加
工プログラムを作成する加工プログラム作成装置におい
て、 その目的形状情報に基づいて、複数の加工経路を生成す
る経路生成手段と、 その経路生成手段によって生成されたある加工経路を選
択し、少なくとも1回はその選択した加工経路に沿って
隣接する加工経路以外の加工経路を選択する経路選択手
段と、 その経路選択手段によって選択された加工経路の順に加
工プログラムを生成するプログラム生成手段と、 を有することを特徴とするプログラム作成装置。
4. A processing for creating a processing program for processing a processing target area of the work into a target shape by controlling a relative positional relationship between the work and the tool based on the target shape information. In the program creation device, a path generating means for generating a plurality of processing paths based on the target shape information, and a certain processing path generated by the path generating means are selected, and at least once the selected processing path is selected. A path selecting means for selecting a processing path other than the processing paths adjacent along the path, and a program generating means for generating a processing program in the order of the processing paths selected by the path selecting means. .
【請求項5】 複数の加工経路を有する加工プログラム
に基づいて工具を移動させ、ワークの加工対象エリアを
目的形状に加工する加工装置において、 その複数の加工経路のうちある加工経路に従って工具を
移動させて加工し、 少なくとも1回はその加工経路に沿って隣接する加工経
路以外の次の加工経路に従って工具を移動させて加工す
ることを特徴とする加工装置。
5. A machining apparatus for moving a tool based on a machining program having a plurality of machining paths to machine a machining target area of a work into a target shape, wherein the tool is moved according to a certain machining path among the plurality of machining paths. A machining apparatus wherein machining is performed by moving a tool according to a next machining path other than an adjacent machining path along the machining path at least once.
JP14948397A 1997-06-06 1997-06-06 Processing method, processing program forming device and processing device Pending JPH10337635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14948397A JPH10337635A (en) 1997-06-06 1997-06-06 Processing method, processing program forming device and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14948397A JPH10337635A (en) 1997-06-06 1997-06-06 Processing method, processing program forming device and processing device

Publications (1)

Publication Number Publication Date
JPH10337635A true JPH10337635A (en) 1998-12-22

Family

ID=15476148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14948397A Pending JPH10337635A (en) 1997-06-06 1997-06-06 Processing method, processing program forming device and processing device

Country Status (1)

Country Link
JP (1) JPH10337635A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021185047A (en) * 2017-09-21 2021-12-09 キヤノン株式会社 Method for manufacturing mold, apparatus for manufacturing resin molded product, method for manufacturing resin molded product, and resin molded product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021185047A (en) * 2017-09-21 2021-12-09 キヤノン株式会社 Method for manufacturing mold, apparatus for manufacturing resin molded product, method for manufacturing resin molded product, and resin molded product

Similar Documents

Publication Publication Date Title
US7167772B2 (en) Machining time calculating apparatus
EP1742128A1 (en) Servo controller
JP5159997B1 (en) Numerical controller
JP4951165B2 (en) Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool
JP2013030102A (en) Numerical control device
CN105229543A (en) Numerical control device
US5444636A (en) Method and apparatus for controlling feed rate at arcuate portions
JPS5976701A (en) Control method of chasing type lathe
JP4709588B2 (en) Thread cutting control method and apparatus
JP3527022B2 (en) Numerical control unit
JP3668665B2 (en) Numerical controller
JPH10337635A (en) Processing method, processing program forming device and processing device
KR20010102098A (en) Drive controller for machine tool
JP6444923B2 (en) Numerical controller
US10824136B2 (en) Setting device and computer readable medium
EP0487738A1 (en) System for correcting quantity of deformation of tool
JPH07191728A (en) Method and device for controlling feed rate in numerical control
JP2724647B2 (en) Feed rate control method in numerical control
JP3286689B2 (en) Processing device and processing method
JP2002001632A (en) Control device for automatic lathe
US11553619B2 (en) Control device and control method
JP4310018B2 (en) Tool position correction method for NC machine tools
JP3543459B2 (en) Numerical control device for machining workpieces
JPH09218706A (en) Working method, program generation device and working device
JP4982170B2 (en) Machining control device and machining control program