JP2000020115A - Nc data generator for machining - Google Patents

Nc data generator for machining

Info

Publication number
JP2000020115A
JP2000020115A JP10190351A JP19035198A JP2000020115A JP 2000020115 A JP2000020115 A JP 2000020115A JP 10190351 A JP10190351 A JP 10190351A JP 19035198 A JP19035198 A JP 19035198A JP 2000020115 A JP2000020115 A JP 2000020115A
Authority
JP
Japan
Prior art keywords
path data
partial path
partial
data
machining
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.)
Withdrawn
Application number
JP10190351A
Other languages
Japanese (ja)
Inventor
Hideo Wataya
秀男 綿谷
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP10190351A priority Critical patent/JP2000020115A/en
Publication of JP2000020115A publication Critical patent/JP2000020115A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the increase of machining load for multi-stage machining by limiting a machining direction to a prescribed direction and improving the efficiency of tool movement. SOLUTION: This generator is provided with a partial route data storage means 1 which divides tool route data in original NC data into partial route data of machining units and adds storage addresses of partial route data placed before and after each partial route data in the original machining order to this partial route data and adds a code indicating the tool route end instead in the case of the absence of partial route data placed before or after this partial route data and stores these partial route data, a machining order change means 2 which changes storage addresses of partial route data placed before and after each partial route data to change the machining order, a machining direction inverting means 3 which changes parts other than storage addresses of partial route data placed before and after each partial route data so as to invert the machining direction, and a constituent point coordinate value conversion means 4 which converts coordinate values of individual constituent points of each partial route data to those of positions symmetrical with respect to a prescribed vertical plane.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、CAM(コンピ
ュータ支援加工)システム等に用いて好適な切削加工用
NCデータの作成装置に関し、特には、加工方向を考慮
したミラー処理を行ってNCデータを作成する装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for creating NC data for cutting, which is suitable for use in a CAM (computer-aided machining) system and the like. It relates to a device to be created.

【0002】[0002]

【従来の技術】CAMシステム等において切削加工用N
Cデータを作成する際、被加工物の二箇所に互いに同一
形状で所定垂直平面に関して面対称な形状を加工する工
具経路を作成する場合があり、かかる場合には、片方の
形状分の工具経路のNCデータを先ず作成してそれをミ
ラー処理するという方法が多用されている。
2. Description of the Related Art In a CAM system or the like, N for cutting is used.
When creating C data, there is a case where a tool path is formed at two locations on the workpiece to have a shape identical to each other and a plane symmetrical shape with respect to a predetermined vertical plane. In such a case, a tool path for one shape is formed. The method of first creating the NC data and then performing a mirror process on the NC data is often used.

【0003】ところで、切削工具の側面で被加工物を切
削加工する際には、図6に示すように、その工具経路に
幾つかのパターンがあリ、同図(a)は、一段のみの加
工、同図(b)は、同一面の多段加工、同図(c)は、
構成点を複数持つ工具経路での加工、同図(d)は、水
平方向に離間した複数箇所の一段のみの加工、そして同
図(e)は、水平方向に離間した複数箇所の多段加工の
工具経路のパターンを示す。また切削工具の側面で被加
工物を切削加工する際には通常、図7に示すように、被
加工物Wに対する切削工具Tの加工方向(進行方向)
が、工具回転方向との関係で、表面仕上げ精度の高いダ
ウンカットを行う加工方向となるよう定められている。
When a workpiece is cut on the side surface of a cutting tool, as shown in FIG. 6, there are several patterns in the tool path, and FIG. Processing, FIG. (B) shows multi-stage processing of the same surface, and FIG.
FIG. 4 (d) shows processing of only one stage at a plurality of horizontally separated positions, and FIG. 4 (e) shows multistage processing of a plurality of horizontally separated positions. 3 shows a pattern of a tool path. When the workpiece is cut by the side surface of the cutting tool, usually, as shown in FIG.
However, in relation to the tool rotation direction, it is determined to be a machining direction in which down cutting with high surface finishing accuracy is performed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、例えば
図8中の左側に矢印で示すように、被加工物Wの水平方
向に離間した五箇所をそれぞれ切削加工する五つの部分
経路P11〜P15をP11→P12→P13→P14→P15の順に
辿って切削工具Tで加工する工具経路のNCデータを、
図示のy軸および紙面に垂直なz軸を含む垂直平面に関
して単純にミラー処理した場合、加工方向が全てダウン
カット方向でなくアップカット方向となってしまう。そ
してそれらの加工方向をダウンカット方向に変更しただ
けでは、同図の右側に矢印で示すように、上記と面対称
の五箇所をそれぞれ切削加工する五つの部分経路M11〜
M15をM11→M12→M13→M14→M15の順に辿って切削
工具Tで加工する工具経路となってしまい、加工自体は
成り立つものの工具経路が不必要に長くなって、工具の
移動効率が悪い切削加工となってしまう。なお、かかる
場合に工具の移動効率を良くするためには、部分経路の
加工順をM15→M14→M13→M12→M11の順に入れ換え
た工具経路とすることが望ましい。
However, as shown by arrows on the left side of FIG. 8, for example, five partial paths P11 to P15 for cutting five horizontally separated portions of the workpiece W are represented by P11. The NC data of the tool path to be machined by the cutting tool T in the order of → P12 → P13 → P14 → P15
When the mirror processing is simply performed on a vertical plane including the illustrated y-axis and the z-axis perpendicular to the paper surface, the processing directions are all the up-cut directions instead of the down-cut directions. By simply changing the machining directions to the downcut directions, as shown by the arrows on the right side of FIG.
M15 is traced in the order of M11 → M12 → M13 → M14 → M15 and becomes a tool path for machining with the cutting tool T. Although the machining itself is satisfied, the tool path becomes unnecessarily long, and the cutting efficiency of the tool is poor. It becomes processing. In this case, in order to improve the moving efficiency of the tool, it is preferable to change the machining order of the partial path to a tool path in the order of M15 → M14 → M13 → M12 → M11.

【0005】また、例えば図9に示す多段加工では、部
分経路P1でアプローチし、部分経路P2で上段を加工し、
部分経路P3で部分経路P1の下方に戻り、部分経路P4で中
段を加工し、部分経路P5で部分経路P1の下方に戻り、部
分経路P6で下段を加工し、部分経路P7でリトラクトする
というようにして、被加工物の上端から工具負荷に応じ
た所定高さ分ずつ削り取る工具経路になっており、その
工具経路のNCデータを、図10に示すようにz軸および
紙面に垂直なy軸を含む垂直平面に関して単純にミラー
処理すると、同図中左側に示す元のNCデータに対し、
同図中右側に示すようなNCデータとなって、各段の加
工方向がダウンカット方向でなくアップカット方向とな
ってしまう。そしてこの場合に、図8に示す例では望ま
しいものであった部分経路の加工順の入れ換えを行う
と、各段の加工順が入れ替わって下段から加工を開始
し、最初から被加工物の下端まで全て加工することにな
って工具負荷が過大になってしまう。
For example, in the multi-stage machining shown in FIG. 9, an approach is performed by a partial route P1, and an upper stage is machined by a partial route P2.
Returning below the partial route P1 on the partial route P3, processing the middle stage on the partial route P4, returning below the partial route P1 on the partial route P5, processing the lower stage on the partial route P6, and retracting on the partial route P7. The tool path is a tool path for cutting a predetermined height according to the tool load from the upper end of the workpiece, and the NC data of the tool path is converted into the z-axis and the y-axis perpendicular to the paper surface as shown in FIG. When the mirror processing is simply performed on the vertical plane including, the original NC data shown on the left side in FIG.
The NC data is as shown on the right side in the figure, and the processing direction of each step is not the downcut direction but the upcut direction. Then, in this case, when the processing order of the partial paths, which is desirable in the example shown in FIG. 8, is changed, the processing order of each stage is changed, and processing is started from the lower stage, and from the beginning to the lower end of the workpiece. As a result of all the processing, the tool load becomes excessive.

【0006】しかも、一般に各部分経路データはそれぞ
れ可変長データとなっているので、単純に元の工具経路
データを一定長さ毎に区切って順番を入れ換えるのみで
は、各部分経路データが途中で切れてしまって加工順の
入れ換えはできず、上述した不都合は解消しない。
In addition, since each piece of path data is generally variable length data, simply changing the order by simply dividing the original tool path data at a fixed length will cause each piece of path data to be cut off in the middle. As a result, the processing order cannot be changed, and the above-mentioned inconvenience is not solved.

【0007】[0007]

【課題を解決するための手段およびその作用・効果】こ
の発明は、上記課題を有利に解決したNCデータ作成装
置を提供することを目的とするものであり、この発明の
切削加工用NCデータ作成装置は、図1にその概念を示
すように、加工方向が定められた複数の部分経路を含む
工具経路データを有する、元となる切削加工用NCデー
タをミラー処理して新たな切削加工用NCデータを作成
する装置において、前記元となるNCデータ中の工具経
路データを加工単位毎の部分経路データに区分して、そ
れらの部分経路データの各々に前記工具経路データにお
ける加工順で当該部分経路データの前および後にそれぞ
れ位置する部分経路データの格納アドレスを付加し、当
該部分経路データの前もしくは後に位置する部分経路デ
ータが無い場合は代わりに工具経路端を示す符合を付加
してそれらの部分経路データを格納する部分経路データ
格納手段1と、前記部分経路データ格納手段1に格納さ
れている前記部分経路データの前記前および後にそれぞ
れ位置する部分経路データの格納アドレスの入れ替えを
行って加工順を変更する加工順変更手段2と、前記部分
経路データ格納手段1に格納されている前記各部分経路
データの前記前および後にそれぞれ位置する部分経路デ
ータの格納アドレス以外の部分を加工方向が反転するよ
うに変更する加工方向反転手段3と、前記部分経路デー
タ格納手段1に格納されている前記各部分経路データの
各構成点の座標値を所定垂直平面に関して面対称の位置
の座標値に変換する構成点座標値変換手段4と、を具え
ることを特徴とするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an NC data generating apparatus which advantageously solves the above-mentioned problems, and an NC data generating apparatus for cutting according to the present invention. As shown in FIG. 1, the apparatus mirror-processes the original cutting NC data having tool path data including a plurality of partial paths in which the processing directions are determined, and performs new cutting NC data processing. In the apparatus for creating data, the tool path data in the original NC data is divided into partial path data for each machining unit, and each of these partial path data is processed in the machining order in the tool path data. The storage address of the partial path data located before and after the data is added, and if there is no partial path data located before or after the partial path data, Instead, a partial path data storage means 1 for adding a sign indicating a tool path end to store the partial path data, and a position before and after the partial path data stored in the partial path data storage means 1, respectively. Processing order changing means 2 for changing the processing order by exchanging the storage address of the partial path data to be processed, and the parts respectively located before and after the partial path data stored in the partial path data storage means 1 A machining direction reversing means 3 for changing a portion other than the storage address of the path data so that the machining direction is reversed; and a coordinate value of each component point of each of the partial path data stored in the partial path data storage means 1. Component point coordinate value conversion means 4 for converting into coordinate values at positions symmetrical with respect to a predetermined vertical plane.

【0008】かかる装置にあっては、部分経路データ格
納手段1が、元となるNCデータ中の工具経路データを
加工単位毎の部分経路データに区分して、それらの部分
経路データの各々に前記工具経路データにおける加工順
で当該部分経路データの前および後にそれぞれ位置する
部分経路データの格納アドレスを付加し、当該部分経路
データの前もしくは後に位置する部分経路データが無い
場合は代わりに工具経路端を示す符合を付加してそれら
の部分経路データを格納する。そして加工順変更手段2
が、部分経路データ格納手段1に格納されている前記部
分経路データの前記前および後にそれぞれ位置する部分
経路データの格納アドレスの入れ替えを行って加工順を
変更し、また加工方向反転手段3が、部分経路データ格
納手段1に格納されている前記各部分経路データの前記
前および後にそれぞれ位置する部分経路データの格納ア
ドレス以外の部分を加工方向が反転するように変更し、
さらに構成点座標値変換手段4が、部分経路データ格納
手段1に格納されている各部分経路データの各構成点の
座標値を所定垂直平面に関して面対称の位置の座標値に
変換する。
In such an apparatus, the partial path data storage means 1 divides the tool path data in the original NC data into partial path data for each machining unit, and stores the partial path data in each of the partial path data. The storage addresses of the partial path data located before and after the partial path data in the machining order in the tool path data are added, and if there is no partial path data located before or after the partial path data, the tool path end is used instead. Are added and the partial route data is stored. And processing order changing means 2
However, the processing order is changed by replacing the storage addresses of the partial path data located before and after the partial path data stored in the partial path data storage means 1 to change the processing order. A part other than the storage address of the partial path data located before and after each of the partial path data stored in the partial path data storage means 1 is changed so that the machining direction is reversed;
Further, the constituent point coordinate value converting means 4 converts the coordinate values of each constituent point of each of the partial path data stored in the partial path data storage means 1 into coordinate values at plane-symmetric positions with respect to a predetermined vertical plane.

【0009】従ってこの装置によれば、元となるNCデ
ータ中の工具経路データをミラー処理する際、その工具
経路データに含まれた複数の部分経路データが可変長デ
ータであっても、工具経路データを加工単位毎の部分経
路データに区分して、各部分経路データの前および後に
それぞれ位置する部分経路データの格納アドレスを付加
し、それらの部分経路データの格納アドレスの入れ替え
を行うことで加工順を変更するので、それらの部分経路
データのうち所望のものの加工順を容易にかつ確実に反
転させて新たな工具経路を作成することができ、しか
も、各部分経路データについて、当該部分経路データの
前および後にそれぞれ位置する部分経路データの格納ア
ドレス以外の部分すなわち工具経路および加工方向を示
す部分を加工方向が反転するように変更するので、元の
工具経路データと同様に各部分経路データの加工方向を
ダウンカット方向として新たな工具経路を作成すること
ができ、そして、各部分経路データの各構成点の座標値
を所定垂直平面に関して面対称の位置の座標値に変換す
るので、元の工具経路データが加工する箇所と面対称の
箇所を加工する新たな工具経路データを作成することが
できる。
Therefore, according to this apparatus, when mirroring the tool path data in the original NC data, even if a plurality of partial path data included in the tool path data is variable length data, Processing is performed by dividing data into partial path data for each processing unit, adding storage addresses of partial path data located before and after each partial path data, and replacing the storage addresses of those partial path data. Since the order is changed, it is possible to easily and reliably invert the machining order of a desired one of the partial path data to create a new tool path, and further, for each of the partial path data, The part other than the storage address of the partial path data located before and after, that is, the part indicating the tool path and the processing direction, In this way, a new tool path can be created with the machining direction of each partial path data set as the downcut direction in the same way as the original tool path data, and each component point of each partial path data can be created. Since the coordinate value is converted into a coordinate value at a position symmetrical with respect to the predetermined vertical plane, new tool path data for processing a part to be processed by the original tool path data and a part symmetrical to the plane can be created.

【0010】なお、この発明においては、前記工具経路
データの部分経路データが被加工物の水平方向に離間し
た複数箇所をそれぞれ切削加工するものである場合に
は、前記加工順変更手段2が、前記部分経路データ格納
手段1に格納されている前記部分経路データの全てにつ
いて、前記前に位置する部分経路データの格納アドレス
と後に位置する部分経路データの格納アドレスとを入れ
換えて加工順を変更するようにしても良く、このように
すれば、被加工物の水平方向に離間した複数箇所をそれ
ぞれ切削加工する場合に、全ての部分経路の加工順を反
転させて、工具移動効率を良好ならしめることができ
る。
In the present invention, when the partial path data of the tool path data is for cutting a plurality of portions of the workpiece which are horizontally separated from each other, the processing order changing means 2 is provided with For all of the partial path data stored in the partial path data storage unit 1, the processing order is changed by exchanging the storage address of the preceding partial path data with the storage address of the subsequent partial path data. In this case, when cutting a plurality of portions of the workpiece that are horizontally separated from each other, the machining order of all the partial paths is reversed, and the tool moving efficiency is improved. be able to.

【0011】また、この発明においては、前記工具経路
データの部分経路データが被加工物の同一箇所を複数段
に分けて切削加工するものである場合には、それら複数
段の切削加工を行う間の部分経路データの加工順を維持
するように、前記加工順反転手段2が、前記部分経路デ
ータ格納手段1に格納されている前記部分経路データの
前記前および後にそれぞれ位置する部分経路データの格
納アドレスの入れ替えを行って加工順を変更するように
しても良く、このようにすれば、被加工物の同一箇所を
複数段に分けて切削加工する場合に、その複数段の切削
加工を行う間の加工順を反転させてしまうのを防止し得
て、上段から下段へ向けて所定の切削負荷で加工を行う
ことができる。
Also, in the present invention, when the partial path data of the tool path data is for cutting the same portion of the workpiece into a plurality of steps, the cutting is performed during the cutting of the plurality of steps. In order to maintain the processing order of the partial path data, the processing order inversion means 2 stores the partial path data located before and after the partial path data stored in the partial path data storage means 1, respectively. The order of machining may be changed by exchanging addresses. In such a case, when the same part of the workpiece is divided into a plurality of stages and the cutting is performed in a plurality of stages, the cutting is performed during the plurality of stages. Can be prevented from being reversed, and machining can be performed from the upper stage to the lower stage with a predetermined cutting load.

【0012】[0012]

【発明の実施の形態】以下に、この発明の実施の形態を
実施例によって、図面に基づき詳細に説明する。図2
は、この発明の切削加工用NCデータ作成装置の一実施
例としての、通常のCAMシステムを構成するコンピュ
ータが実行するミラー処理を示すフローチャートであ
り、ここでは先ず、ステップ11で、加工方向が定められ
た複数の部分経路を連続的に含む工具経路データを有す
る、元となる切削加工用NCデータをメモリに読み込
む。その際、部分経路データは通常、それぞれ可変長デ
ータとなっていて長さが一定でないので、図3(a)に
示すように、上記工具経路データを部分経路データ毎に
区切ってメモリ内に格納するとともに、その格納した各
部分経路データの先頭部分に、上記工具経路データにお
ける加工順で当該部分経路データの前に位置する部分経
路データのメモリ内における格納アドレスと、上記工具
経路データにおける加工順で当該部分経路データの後に
位置する部分経路データのメモリ内における格納アドレ
スと、当該部分経路データのワード数とを付加し、当該
部分経路データの前もしくは後に位置する部分経路デー
タが無い場合は、代わりに工具経路端を示す符合(図示
例では0)を付加する。従って、このステップ11は、部
分経路データ格納手段に相当する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG.
FIG. 5 is a flowchart showing mirror processing executed by a computer constituting a normal CAM system as one embodiment of the cutting NC data generating apparatus of the present invention. First, in step 11, the processing direction is determined. The original NC data for cutting having tool path data continuously including a plurality of obtained partial paths is read into the memory. At this time, the partial path data is usually variable length data and the length is not constant. Therefore, as shown in FIG. 3A, the tool path data is stored in the memory while being divided for each partial path data. At the beginning of each of the stored partial path data, a storage address in the memory of the partial path data located before the partial path data in the processing order in the tool path data, and a processing order in the tool path data. Then, the storage address of the partial path data located after the partial path data in the memory and the number of words of the partial path data are added, and if there is no partial path data located before or after the partial path data, Instead, a sign (0 in the illustrated example) indicating the tool path end is added. Therefore, step 11 corresponds to a partial route data storage unit.

【0013】続くステップ12では、加工方向を考慮して
アドレス操作で加工順を変更する。すなわち、上記工具
経路データの部分経路データが、被加工物の水平方向に
離間した複数箇所をそれぞれ切削加工するものである場
合には、図3(a)に示す如くメモリ内のデータの各部
分経路データの先頭部分にある、上記元の工具経路デー
タにおける加工順で当該部分経路データの前に位置する
部分経路データの上記メモリ内における格納アドレス
と、その加工順で当該部分経路データの後に位置する部
分経路データの上記メモリ内における格納アドレスと
を、図3(b)に示す如く、それら全ての部分経路デー
タについて入れ替えする。これにより、上記加工順で最
初の部分経路データは、前に位置する部分経路データの
格納アドレスの位置にある符合0が、後に位置する部分
経路データの格納アドレスの位置に移るので、新たな工
具経路においては最後の部分経路データとなり、また上
記加工順で最後の部分経路データは、後に位置する部分
経路データの格納アドレスの位置にある符合0が、前に
位置する部分経路データの格納アドレスの位置に移るの
で、新たな工具経路においては最初の部分経路データと
なり、そしてそれらの間の各部分経路データは、前およ
び後に位置する部分経路データの格納アドレスが入れ替
わっているので、上記元の工具経路データにおける加工
順に対し反転した加工順で連なることになる。
In the following step 12, the processing order is changed by an address operation in consideration of the processing direction. That is, if the partial path data of the tool path data is for cutting a plurality of portions of the workpiece that are horizontally separated from each other, as shown in FIG. The storage address in the memory of the partial path data located in front of the partial path data in the processing order of the original tool path data at the head of the path data, and the storage address after the partial path data in the processing order As shown in FIG. 3B, the storage addresses of the partial path data to be stored in the memory are exchanged for all the partial path data. As a result, in the first partial path data in the processing order, the code 0 at the position of the storage address of the preceding partial path data moves to the position of the storage address of the subsequent partial path data. The path is the last partial path data, and the last partial path data in the processing order is such that the code 0 at the position of the storage address of the partial path data located later is the same as the storage address of the partial path data located earlier. Position, so that it becomes the first partial path data in the new tool path, and each of the partial path data between them is replaced with the storage address of the previous and subsequent partial path data, so that the original tool path data is replaced with the original tool path data. The processing order is reversed in the processing order in the path data.

【0014】この一方、上記工具経路データの部分経路
データが、被加工物の同一個所を複数段に分けて加工す
るものの場合は、その複数段の加工を行う間の部分経路
データの加工順はそのまま維持するように、加工順の変
更を行う。例えば図3(a)に示す部分経路データのう
ち、最初と最後の部分経路データを除いた二番目から八
番目までのものが全て被加工物の同一個所を複数段に分
けて加工する部分経路データの場合は、最初の部分経路
データの、前に位置する部分経路データの格納アドレス
の位置にある符合0を、後に位置する部分経路データの
格納アドレスの位置に移して、その最初の部分経路デー
タを最後の加工順に変更するとともに、その最初の部分
経路データの、前に位置する部分経路データの格納アド
レスの位置に八番目の部分経路データの格納アドレスを
入れて、その最初の部分経路データを八番目の部分経路
データに繋げ、また最後の部分経路データの、後に位置
する部分経路データの格納アドレスの位置にある符合0
を、前に位置する部分経路データの格納アドレスの位置
に移して、その最後の部分経路データを最初の加工順に
変更するとともに、その最後の部分経路データの、後に
位置する部分経路データの格納アドレスの位置に二番目
の部分経路データの格納アドレスを入れて、その最後の
部分経路データに二番目の部分経路データを繋げ、残り
の格納アドレスは入れ替えせずそのままにしておく。な
お、被加工物の同一個所を複数段に分けて加工する複数
の部分経路データを一塊の部分経路データとしてそれに
一つの格納アドレスを付加し、被加工物の水平方向に離
間した複数箇所をそれぞれ切削加工する場合と同様にし
て、前後に位置する部分経路データの格納アドレスの入
れ替え処理を行っても良い。従って、このステップ12
は、加工順変更手段に相当する。
On the other hand, when the partial path data of the tool path data is for processing the same part of the workpiece in a plurality of steps, the processing order of the partial path data during the processing of the plurality of steps is as follows. Change the processing order so as to keep it as it is. For example, of the partial path data shown in FIG. 3A, the second to eighth data excluding the first and last partial path data are all partial paths which are obtained by processing the same part of the workpiece in a plurality of stages. In the case of data, the code 0 at the position of the storage address of the preceding partial path data of the first partial path data is moved to the position of the storage address of the subsequent partial path data, and the first partial path data is transferred. The data is changed in the last processing order, and the storage address of the eighth partial path data is inserted at the position of the storage address of the partial path data located before the first partial path data, and the first partial path data is changed. To the eighth partial path data, and the code 0 at the storage address of the partial path data located after the last partial path data.
Is moved to the position of the storage address of the partial path data located before, the last partial path data is changed in the first processing order, and the storage address of the partial path data located after the last partial path data is changed. , The storage address of the second partial path data is inserted at the position, the second partial path data is connected to the last partial path data, and the remaining storage addresses are left unchanged without being replaced. In addition, a plurality of partial path data for processing the same part of the workpiece in a plurality of stages is added as one block of partial path data, and one storage address is added to the partial path data. As in the case of cutting, the storage address of the partial path data located before and after may be replaced. Therefore, this step 12
Corresponds to a processing order changing unit.

【0015】続くステップ13では、上記メモリ内に格納
されている各部分経路データの、前および後にそれぞれ
位置する部分経路データの格納アドレス以外の部分すな
わち工具経路および加工方向を示す部分を、加工方向が
反転するように変更する。例えばその部分経路が始点と
終点との二点を直線で結ぶものの場合には、それら始点
と終点とを入れ換え、またその部分経路が始点から終点
までの間に幾つかの構成点を辿るものの場合には、それ
ら始点と終点とを入れ換えるとともに間の構成点を辿る
順序を反転させる。従って、このステップ13は、加工方
向反転手段に相当する。
In the following step 13, a part other than the storage address of the partial path data located before and after the partial path data stored in the memory, that is, a part indicating the tool path and the processing direction is replaced with the processing direction. Is changed to be inverted. For example, if the partial route connects the start point and the end point with a straight line, the start point and the end point are exchanged, and the partial route traces some constituent points between the start point and the end point. , The start point and the end point are exchanged, and the order in which the constituent points are traced is reversed. Therefore, step 13 corresponds to a processing direction reversing means.

【0016】続くステップ14では、上記メモリ内に格納
されている各部分経路データの各構成点の座標値を、こ
こでのミラー処理で面対称とすべき所定垂直平面に関し
て面対称の位置の座標値に変換する。従って、このステ
ップ14は、構成点座標値変換手段に相当する。
In the following step 14, the coordinate values of the respective constituent points of the respective partial path data stored in the memory are converted into the coordinates of the plane symmetric position with respect to the predetermined vertical plane to be plane symmetric by the mirror processing here. Convert to a value. Therefore, step 14 corresponds to a component point coordinate value conversion unit.

【0017】そして最後のステップ15では、ミラー処理
するNCデータがもうないか否かを判断し、まだ残って
いる場合には上記ステップ11へ戻るが、もうない場合に
は当該処理を終了する。
In the last step 15, it is determined whether or not there is no more NC data to be mirrored. If there is still NC data, the process returns to step 11, but if there is no more, the process is terminated.

【0018】上記実施例の装置によれば、例えば図4中
の左側に矢印で示すように、図8中の左側に示すものと
同様、被加工物Wの水平方向に離間した五箇所をそれぞ
れ切削加工する五つの部分経路P11〜P15をP11→P12
→P13→P14→P15の順に辿って切削工具Tで加工する
工具経路のNCデータを元として、図示のy軸および紙
面に垂直なz軸を含む垂直平面に関してミラー処理を行
うと、図4中の右側に矢印で示すように、加工方向が全
てダウンカット方向となるとともに、上記と面対称の五
箇所をそれぞれ切削加工する五つの部分経路M11〜M15
をM15→M14→M13→M12→M11の順に辿って切削工具
Tで加工する工具経路となり、工具経路を最短とし得
て、工具の移動効率が良い切削加工を行い得るNCデー
タを作成することができる。
According to the apparatus of the above-described embodiment, for example, as shown by arrows on the left side in FIG. 4, similarly to those on the left side in FIG. The five partial paths P11 to P15 for cutting are changed from P11 to P12.
When mirror processing is performed on a vertical plane including the illustrated y-axis and the z-axis perpendicular to the paper based on the NC data of the tool path processed by the cutting tool T in the order of → P13 → P14 → P15, FIG. As shown by the arrows on the right side of the figure, the machining directions are all the down-cut direction, and five partial paths M11 to M15 for cutting the five plane-symmetrical portions with the above, respectively.
Is obtained in the order of M15 → M14 → M13 → M12 → M11, and becomes a tool path to be machined by the cutting tool T. The tool path can be made the shortest, and it is possible to create NC data which can perform cutting with good tool movement efficiency. it can.

【0019】また上記実施例の装置によれば、例えば図
5中の左側に示すように、図9中の左側に示すものと同
様、被加工物Wの同一箇所を三段に分けて加工する工具
経路のNCデータを元として、図示のz軸および紙面に
垂直なy軸を含む垂直平面に関してミラー処理を行う
と、図5中の右側に示すように、加工方向が全てダウン
カット方向となる一方、その三段に分けて加工する間の
加工順は反転せず上段、中段、下段の順で加工する工具
経路となり、上段から下段へ向けて所定の切削負荷で加
工を行うことができる。
According to the apparatus of the above embodiment, for example, as shown on the left side in FIG. 5, similar to the one on the left side in FIG. When mirror processing is performed on a vertical plane including the illustrated z-axis and the y-axis perpendicular to the paper surface based on the NC data of the tool path, as illustrated on the right side in FIG. 5, the processing directions are all down-cut directions. On the other hand, the machining order during machining in the three stages is not reversed, and a tool path for machining is performed in the order of the upper stage, the middle stage, and the lower stage, and machining can be performed from the upper stage to the lower stage with a predetermined cutting load.

【0020】以上、図示例に基づき説明したが、この発
明は上述の例に限定されるものでなく、例えば、被加工
物の水平方向に離間した複数箇所を加工する工具経路と
同一箇所を複数段に分けて加工する工具経路とが組み合
わされている場合にも適用し得て、上記の作用効果をも
たらすことができる。
Although the present invention has been described with reference to the illustrated examples, the present invention is not limited to the above-described example. For example, a plurality of tool paths for machining a plurality of horizontally separated portions of a workpiece may be provided. The present invention can also be applied to a case where a tool path that is machined in steps is combined, and the above-described effects can be obtained.

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

【図1】この発明の切削加工用NCデータ作成装置の構
成を示す概念図である。
FIG. 1 is a conceptual diagram showing a configuration of a cutting NC data generating apparatus of the present invention.

【図2】この発明の切削加工用NCデータ作成装置の一
実施例が実行するミラー処理を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a mirror process executed by an embodiment of the cutting NC data creating apparatus according to the present invention;

【図3】上記実施例の装置が実行する部分経路データの
格納処理および格納アドレス入れ替え処理を示す説明図
である。
FIG. 3 is an explanatory diagram illustrating a process of storing partial path data and a process of replacing a storage address performed by the apparatus of the embodiment.

【図4】上記実施例の装置によるミラー処理の一例を示
す説明図である。
FIG. 4 is an explanatory diagram showing an example of a mirror process by the apparatus of the embodiment.

【図5】上記実施例の装置によるミラー処理の他の一例
を示す説明図である。
FIG. 5 is an explanatory diagram showing another example of the mirror processing by the apparatus of the embodiment.

【図6】切削加工用NCデータのパターン例を示す説明
図である。
FIG. 6 is an explanatory diagram showing a pattern example of NC data for cutting.

【図7】切削加工用NCデータの加工方向の限定を示す
説明図である。
FIG. 7 is an explanatory diagram showing a limitation of a processing direction of cutting NC data.

【図8】従来のミラー処理の一例を示す説明図である。FIG. 8 is an explanatory diagram showing an example of a conventional mirror process.

【図9】ミラー処理を行う工具経路の一例を示す説明図
である。
FIG. 9 is an explanatory diagram illustrating an example of a tool path for performing a mirror process.

【図10】図9に示す工具径路についての従来のミラー
処理を示す説明図である。
FIG. 10 is an explanatory diagram showing a conventional mirror process for the tool path shown in FIG. 9;

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

1 部分経路データ格納手段 2 加工順変更手段 3 加工方向反転手段 4 構成点座標値変換手段 T 切削工具 W 被加工物 DESCRIPTION OF SYMBOLS 1 Partial route data storage means 2 Processing order change means 3 Processing direction inversion means 4 Component point coordinate value conversion means T Cutting tool W Workpiece

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 加工方向が定められた複数の部分経路を
含む工具経路データを有する、元となる切削加工用NC
データをミラー処理して新たな切削加工用NCデータを
作成する装置において、 前記元となるNCデータ中の工具経路データを加工単位
毎の部分経路データに区分して、それらの部分経路デー
タの各々に、前記工具経路データにおける加工順で当該
部分経路データの前および後にそれぞれ位置する部分経
路データの格納アドレスを付加し、当該部分経路データ
の前もしくは後に位置する部分経路データが無い場合は
代わりに工具経路端を示す符合を付加してそれらの部分
経路データを格納する部分経路データ格納手段(1)
と、 前記部分経路データ格納手段に格納されている前記部分
経路データの前記前および後にそれぞれ位置する部分経
路データの格納アドレスの入れ替えを行って加工順を変
更する加工順変更手段(2)と、 前記部分経路データ格納手段に格納されている前記各部
分経路データの前記前および後にそれぞれ位置する部分
経路データの格納アドレス以外の部分を加工方向が反転
するように変更する加工方向反転手段(3)と、 前記部分経路データ格納手段に格納されている前記各部
分経路データの各構成点の座標値を所定垂直平面に関し
て面対称の位置の座標値に変換する構成点座標値変換手
段(4)と、 を具えることを特徴とする、切削加工用NCデータ作成
装置。
1. An original cutting NC having tool path data including a plurality of partial paths in which a processing direction is determined.
An apparatus for creating new NC data for cutting by mirror processing data, wherein tool path data in the original NC data is divided into partial path data for each processing unit, and each of these partial path data is Is added with the storage address of the partial path data located before and after the partial path data in the machining order in the tool path data, and if there is no partial path data located before or after the partial path data, Partial path data storage means (1) for adding a sign indicating the tool path end and storing the partial path data thereof
Processing order changing means (2) for changing the processing order by exchanging storage addresses of partial path data located before and after the partial path data stored in the partial path data storage means, Machining direction reversing means (3) for changing a part other than the storage address of the partial path data located before and after each of the partial path data stored in the partial path data storage means so that the machining direction is reversed; A component point coordinate value conversion means (4) for converting the coordinate values of each component point of each of the partial path data stored in the partial path data storage means into coordinate values at plane-symmetric positions with respect to a predetermined vertical plane; An NC data creation device for cutting, characterized by comprising:
【請求項2】 前記加工順変更手段(2)は、前記工具
経路データの部分経路データが被加工物の水平方向に離
間した複数箇所をそれぞれ切削加工するものである場合
には、前記部分経路データ格納手段(1)に格納されて
いる前記部分経路データの全てについて前記前に位置す
る部分経路データの格納アドレスと後に位置する部分経
路データの格納アドレスとを入れ換えて加工順を変更す
ることを特徴とする、請求項1記載の切削加工用NCデ
ータ作成装置。
2. The machining order changing means (2), when the partial path data of the tool path data is for cutting a plurality of horizontally separated portions of the workpiece, respectively. For all of the partial path data stored in the data storage means (1), changing the processing order by exchanging the storage address of the preceding partial path data with the storage address of the subsequent partial path data. The NC data creation device for cutting according to claim 1, characterized in that:
【請求項3】 前記加工順変更手段(2)は、前記工具
経路データの部分経路データが被加工物の同一箇所を複
数段に分けて切削加工するものである場合には、それら
複数段の切削加工を行う間の部分経路データの加工順を
維持するように、前記部分経路データ格納手段(1)に
格納されている前記部分経路データの前記前および後に
それぞれ位置する部分経路データの格納アドレスの入れ
替えを行って加工順を変更することを特徴とする、請求
項1記載の切削加工用NCデータ作成装置。
3. The machining order changing means (2), when the partial path data of the tool path data is for cutting the same part of the workpiece into a plurality of stages, cutting the plurality of stages. The storage addresses of the partial path data located before and after the partial path data stored in the partial path data storage means (1) so as to maintain the processing order of the partial path data during cutting. 2. The NC data creating apparatus for cutting according to claim 1, wherein the order of machining is changed by changing the order of machining.
JP10190351A 1998-07-06 1998-07-06 Nc data generator for machining Withdrawn JP2000020115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10190351A JP2000020115A (en) 1998-07-06 1998-07-06 Nc data generator for machining

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10190351A JP2000020115A (en) 1998-07-06 1998-07-06 Nc data generator for machining

Publications (1)

Publication Number Publication Date
JP2000020115A true JP2000020115A (en) 2000-01-21

Family

ID=16256757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10190351A Withdrawn JP2000020115A (en) 1998-07-06 1998-07-06 Nc data generator for machining

Country Status (1)

Country Link
JP (1) JP2000020115A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302544A (en) * 2014-07-28 2016-02-03 发那科株式会社 Machining time estimating device for estimating machining time after modification of nc program
CN109079802A (en) * 2017-06-14 2018-12-25 发那科株式会社 Correct the teaching apparatus of the robot of the track of robot

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302544A (en) * 2014-07-28 2016-02-03 发那科株式会社 Machining time estimating device for estimating machining time after modification of nc program
CN105302544B (en) * 2014-07-28 2020-01-14 发那科株式会社 Machining time prediction device for predicting machining time after numerical control program correction
CN109079802A (en) * 2017-06-14 2018-12-25 发那科株式会社 Correct the teaching apparatus of the robot of the track of robot
JP2019000938A (en) * 2017-06-14 2019-01-10 ファナック株式会社 Robotic teaching device for correcting track of robot
CN109079802B (en) * 2017-06-14 2019-11-01 发那科株式会社 Correct the teaching apparatus of the robot of the track of robot
US10500724B2 (en) 2017-06-14 2019-12-10 Fanuc Corporation Robot teaching device for correcting robot trajectory

Similar Documents

Publication Publication Date Title
JPS61246877A (en) Method for converting linear graphic
JP3563077B2 (en) Numerical control command creation device and method
JP2000020115A (en) Nc data generator for machining
CN113874799A (en) NC program creation system and NC program creation method
JP4531297B2 (en) 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program
JPS5822410A (en) Numerical control system
CN115136087A (en) NC program conversion processing method, conversion computer, and conversion program
JP2001117617A (en) Numerical controller
JP2000003212A (en) Method for interpolating curve
JPS62169210A (en) System for generating tool locus in nc data generating device
JP3175401B2 (en) CAD / CAM equipment
JP2771361B2 (en) Rough cutter path generation system
JP2566686B2 (en) Numerical control data generator
JP3343826B2 (en) Numerical control information creation device
KR100397979B1 (en) Method of making a zigzag tool path
JP2871991B2 (en) Processing path generator
JPH05346814A (en) Three-dimensional machining method
JPH05282027A (en) Nc data generating method
JPH1039913A (en) Nc data preparing method and nc device
JPH08263112A (en) Method for generating nc data
JPH0561516A (en) Numerical controller
JPH0561517A (en) Numerical controller
JPH0756614A (en) Automatic nc data generating device for sheet metal parts
JPS6326705A (en) Device for producing nc command information
JPH06102918A (en) Method for generating cutting route

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906