JPH07319529A - Cad/cam device - Google Patents

Cad/cam device

Info

Publication number
JPH07319529A
JPH07319529A JP6263836A JP26383694A JPH07319529A JP H07319529 A JPH07319529 A JP H07319529A JP 6263836 A JP6263836 A JP 6263836A JP 26383694 A JP26383694 A JP 26383694A JP H07319529 A JPH07319529 A JP H07319529A
Authority
JP
Japan
Prior art keywords
data
machining
shape
processing
dimensional
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
JP6263836A
Other languages
Japanese (ja)
Inventor
Tomoko Kato
智子 加藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6263836A priority Critical patent/JPH07319529A/en
Publication of JPH07319529A publication Critical patent/JPH07319529A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To provide the CAD/CAM device to be automated without any human aid by defining two-dimensional working shape or three-dimensional working shape from the graphic data of a product without depending on any working machine. CONSTITUTION:Data are stored in a program memory 112 and a data memory 113 and there are areas for storing the graphic data of the product and table data such as the two-dimensional working shape, three-dimensional working shape and working conditions in the data memory 113. When the graphic data of the product are decomposed and stored into the elements of lines or arcs and the working course of the working machine moves in a two-dimensional plane, data to be prescribed two-dimensional working shape are next extracted and defined from the stored elements but when the working course of the working machine moves in the three-dimensional space, NC data and NC source data are generated by generating and defining data to be the three-dimensional shape from the two-dimensional working shape data corresponding to the combination of two-dimensional working shape data or three-dimensional working shape data, to which the features of working are added, and the working conditions.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CAD/CAM装置に
係り、詳しくは、製品の図形データから加工機の種類に
あったNCデータ又はNC元データ(以下、加工データ
と称す。)を生成するCAD/CAM装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD / CAM apparatus, and more specifically, it generates NC data or NC original data (hereinafter referred to as processing data) suitable for a type of processing machine from graphic data of a product. CAD / CAM device.

【0002】[0002]

【従来の技術】例えば、図61に示す素材Wを、図62
に示す製品(座ぐり穴6207,6208,6209,
6210及び貫通形状6201,6202,6203,
6204,6205,6206を有する製品)に加工す
る場合、貫通形状は精度を出すためにワイヤ放電加工機
により加工を行い、座ぐり穴と貫通形状の下穴(ワイヤ
を最初に通す穴)はM/C(マシニングセンタ)により
加工するのを一般とする。 従来は、その加工の際、M
/C加工NCデータ生成用CAD/CAM装置でワイヤ
用下穴加工NCデータを生成し、ワイヤ放電加工NCデ
ータ生成用CAD/CAM装置で前記下穴をイニシャル
ホールIHとするワイヤ放電加工NCデータを生成して
いた。
2. Description of the Related Art For example, the material W shown in FIG.
Product shown in (counterbore holes 6207, 6208, 6209,
6210 and penetrating shapes 6201, 6202, 6203,
6204, 6205, 6206), the through-hole shape is processed by a wire electric discharge machine in order to obtain accuracy, and the counterbore hole and the through-hole pilot hole (the hole through which the wire first passes) are M Generally, it is processed by / C (machining center). Conventionally, during the processing, M
/ C machining NC data generation CAD / CAM device generates wire pilot hole machining NC data, and wire discharge machining NC data generation CAD / CAM device generates wire pilot machining NC data in which the pilot hole is the initial hole IH. Was being generated.

【0003】以下に従来のCAD/CAM装置によるN
Cデータ生成の手順を、図63に示すCAD/CAM装
置の概略図と図64に示すフローチャートに基づいて説
明する。CAD/CAM装置6300は、図61の素材
を図62に示す製品に加工する為のCAD/CAM装置
群で、M/C加工NCデータ生成用CAD/CAM装置
6300Aとワイヤ放電加工NCデータ生成用CAD/
CAM装置6300Bとから成る。各加工機対応のCA
D/CAM装置6300A,6300Bは、コンピュー
タ(図示せず)とFDD装置6301を備えた本体63
02、CRTディスプレイ6303、キーボード630
4、マウス6305、プリンタ6306等から成るもの
で、M/C加工NCデータ生成用CAD/CAM装置6
300Aは、PC6307Aを介してM/C6308に
接続され、ワイヤ放電加工NCデータ生成用CAD/C
AM装置6300Bは、PC6307Bを介してワイヤ
放電加工機6309に接続される。
In the following, N by a conventional CAD / CAM device is used.
The procedure of C data generation will be described based on the schematic diagram of the CAD / CAM device shown in FIG. 63 and the flowchart shown in FIG. The CAD / CAM device 6300 is a group of CAD / CAM devices for processing the material of FIG. 61 into the product shown in FIG. 62, which is used for generating M / C machining NC data and for generating CAD / CAM device 6300A and wire electric discharge machining NC data. CAD /
CAM device 6300B. CA for each processing machine
The D / CAM devices 6300A and 6300B include a main body 63 including a computer (not shown) and an FDD device 6301.
02, CRT display 6303, keyboard 630
4, a mouse 6305, a printer 6306, etc., and a CAD / CAM device 6 for generating M / C processed NC data.
The 300A is connected to the M / C 6308 via the PC 6307A and is a CAD / C for wire electric discharge machining NC data generation.
The AM device 6300B is connected to the wire electric discharge machine 6309 via the PC 6307B.

【0004】従来は、上記CAD/CAM装置6300
A,6300Bを使用してM/C加工NCデータとワイ
ヤ放電加工NCデータを生成するもので、以下にその詳
細を説明する。上記素材Wを上記製品に加工する場合、
まず図64のB1のブロックで元図となる図65に示す
製品の図形データをCAD/CAM装置6300A,6
300Bの一方を使って、或いは図示しない別個CAD
/CAM装置を使って作成する。具体的には、設計者は
例えばCAD/CAM装置6300Aの前に座り、CR
Tディスプレイ6303Aを製図用紙にみたて、筆記具
の代わりにキーボード6304A、マウス6305Aを
操って上記図形データを描いていく。数値の計算は、コ
ンピュータで行ない、寸法などをコンピュータにインプ
ットしていく。CRTディスプレイ6303Aに描かれ
た図形データは簡単に消去、訂正できる。図形データが
完成すると、図形データ、数値のいっさいがコンピュー
タにインプットされ、図示しない外部記憶装置に登録さ
れる。
Conventionally, the above CAD / CAM device 6300 is used.
A / 6300B is used to generate M / C machining NC data and wire electric discharge machining NC data, the details of which will be described below. When processing the above material W into the above product,
First, in the block B1 of FIG. 64, the graphic data of the product shown in FIG.
One of 300B, or a separate CAD not shown
/ Create using CAM device. Specifically, the designer sits in front of the CAD / CAM device 6300A, for example, and the CR
The T display 6303A is viewed as a drawing sheet, and the keyboard 6304A and the mouse 6305A are manipulated instead of the writing instrument to draw the graphic data. Numerical values are calculated by a computer, and dimensions and the like are input to the computer. The graphic data drawn on the CRT display 6303A can be easily erased and corrected. When the graphic data is completed, both the graphic data and the numerical values are input to the computer and registered in an external storage device (not shown).

【0005】次に完成された図形データをもとに、M/
C加工NCデータを作成する設計者はM/C加工NCデ
ータ生成用CAD/CAM装置6300Aを使い、ワイ
ヤ放電加工NCデータを作成する設計者はワイヤ加工N
Cデータ生成用CAD/CAM装置6300Bを使っ
て、夫々のNCデータを作成する。具体的には、図64
の64−B2のブロックでワイヤ放電加工NCデータ生
成用CAD/CAM装置6300Bを使用する設計者
は、外部記憶装置に登録されFDに収められた図形デー
タをセットし、これを呼び出す。呼び出した図形データ
は、CRTディスプレイ6303B上に図65のように
表示される。貫通形状の1つである図62の6201の
ワイヤ放電加工データを図66の66−1に示す破線枠
内を拡大した画面上で作成する。拡大した画面は図67
のようである。まず、ステップ64−S1でIHの位置
を決定するためにマウス6305BでカーソルをIHの
位置を表す円の中心位置67−1近傍に移動させてヒッ
トする(図68)。これによりIHが決定されたことが
わかるマークがCRTディスプレイ6303B上に表示
される(図69)。次にステップ64−S2で設計者は
図62の6201の貫通形状の加工形状を決定するため
に円弧69−1、直線69−2、円弧69−3、直線6
9−4の各個所にカーソルをあわせてヒットし、作成し
たIH位置を出発点としてワイヤ放電加工する場合の加
工形状を定義する。次にステップ64−S3で決定した
加工形状をどのような加工条件で加工するかを決定する
ために工程の順番、進行方向、オフセット方向、加工速
度等を設定する。これで貫通形状6201のワイヤ放電
加工データの生成が完了となり、このワイヤ放電加工デ
ータをステップ64−S4でNCデータに変換すると、
図70のような軌跡70−1,70−2,70−3,7
0−4,70−5,70−6,70−7を加工軌跡とす
るNCデータ指令が出力されることになる。貫通形状6
202,6203,6204,6205,6206につ
いても同様に定義する。
Next, based on the completed graphic data, M /
The designer who creates the C machining NC data uses the CAD / CAM device 6300A for generating the M / C machining NC data, and the designer who creates the wire electric discharge machining NC data uses the wire machining N
Using the CAD / CAM device 6300B for C data generation, each NC data is created. Specifically, FIG.
The designer who uses the CAD / CAM device 6300B for generating the wire electric discharge NC data in the block 64-B2 sets the graphic data registered in the external storage device and stored in the FD, and calls it. The called graphic data is displayed on the CRT display 6303B as shown in FIG. The wire electrical discharge machining data of 6201 in FIG. 62, which is one of the through shapes, is created on the screen in which the broken line frame indicated by 66-1 in FIG. 66 is enlarged. The enlarged screen is shown in Fig. 67.
Is like. First, in step 64-S1, the mouse 6305B is used to move the cursor to the vicinity of the center position 67-1 of the circle representing the IH position and hit in order to determine the IH position (FIG. 68). As a result, a mark indicating that the IH has been determined is displayed on the CRT display 6303B (FIG. 69). Next, in step 64-S2, the designer determines an arc 69-1, straight line 69-2, arc 69-3, straight line 6 in order to determine the machining shape of the penetrating shape of 6201 in FIG.
The machining shape is defined when the cursor is moved to each position of 9-4 and hit and the created IH position is used as a starting point for wire electric discharge machining. Next, in order to determine under what processing conditions the processing shape determined in step 64-S3 is to be processed, the order of steps, the advancing direction, the offset direction, the processing speed, etc. are set. This completes the generation of the wire electrical discharge machining data of the penetrating shape 6201, and when this wire electrical discharge machining data is converted into NC data in step 64-S4,
Trajectories 70-1, 70-2, 70-3, 7 as shown in FIG.
An NC data command with machining loci of 0-4, 70-5, 70-6, 70-7 is output. Penetration shape 6
The same applies to 202, 6203, 6204, 6205, 6206.

【0006】一方、図64の64−B3ブロックでM/
C加工NCデータ生成用CAD/CAM装置6300A
を使用する設計者は、外部記憶装置に登録されFDに収
められた図形データをセットし、これを呼び出す。呼び
出した図形データは、図63のCRTディスプレイ63
03A上に図66のように表示される。座ぐり穴の1つ
である図62の6207のM/C加工データを図66の
66−2に示す破線枠内を拡大した画面上で作成する。
拡大した画面は図71のようである。まずステップ64
−S5で穴加工位置を決定するためにマウス6305A
でカーソルを穴加工位置を表わす円の中心位置71−1
近傍に移動させてヒットする(図72)。次にステップ
64−S6で設計者は決定した位置に加工する図73に
示す穴形状を定義するために穴形状のメニュー画面(図
74)よりKCX(座ぐり穴)の穴形状タイプを、また
図75の中に示す表よりそのパラメータを選択して穴形
状を決定する。次にステップ64−S7で決定した穴加
工形状をどのような加工条件で加工するかを決定するた
めに工程の順番、工具径、切込み量、主軸回転数、加工
送り等を設定する。これで座ぐり穴のM/C加工データ
の生成が完了となり、このM/C加工データをステップ
64−S8でNCデータに変換すると、座ぐり穴620
7を切削するNCデータ指令が出力されることになる。
座ぐり穴6208、6209、6210についても同様
に定義する。次に上記貫通形状6201,6202,6
203,6204,6205,6206をワイヤ放電加
工するときにワイヤを最初に通す穴(IH)をマシニン
グセンタ(M/C)で加工するための加工データを作成
する。これは、ワイヤ放電加工データを作成する時と同
様、図66の66−1に示す破線枠内を拡大した画面上
で作成する。拡大した画面は図76のようである。ま
ず、ステップ64−S9で穴加工位置を決定するために
マウス6305AでカーソルをIH位置を表わす円の中
心位置76−1近傍に移動させてヒットする(図7
7)。次にステップ64−S10で設計者は決定した位
置に加工する図78に示す穴形状を定義するために穴形
状のメニュー画面(図74)よりKDN(ばか穴)の穴
形状タイプを、また図79に示す表よりそのパラメータ
を選択して穴形状を決定する。次にステップ64−S1
1で決定した穴加工形状をもとに加工条件を決定する。
これで貫通形状6201をワイヤ放電加工する場合のI
HをM/C加工するためのデータの生成が完了となり、
このM/C加工データをステップ64−S12でNCデ
ータに変換すると、貫通形状6201をワイヤ加工する
場合のIHを切削するNCデータ指令が出力されること
になる。貫通形状6202,6203,6204,62
05,6206のIHについても同様に定義する。尚、
この種の装置として、特開平2−257203号公報に
見られるように、ワイヤ放電加工機用IHの加工情報を
取り込んで他の加工箇所と共にマシニングセンタ用NC
プログラムを自動作成するものはある。
On the other hand, in the 64-B3 block of FIG.
CAD / CAM device 6300A for C processing NC data generation
The designer who uses is set the graphic data registered in the external storage device and stored in the FD, and calls it. The called graphic data is displayed on the CRT display 63 in FIG.
It is displayed on 03A like FIG. The M / C machining data of 6207 of FIG. 62, which is one of the counterbore holes, is created on the screen in which the broken line frame indicated by 66-2 of FIG. 66 is enlarged.
The enlarged screen is as shown in FIG. 71. First step 64
-Mouse 6305A to determine the drilling position in S5
Move the cursor to the center position of the circle 71-1
It moves to the vicinity and hits (Fig. 72). Next, in step 64-S6, the designer selects the KCX (counterbore hole) hole shape type from the hole shape menu screen (FIG. 74) to define the hole shape shown in FIG. The parameters are selected from the table shown in FIG. 75 to determine the hole shape. Next, in order to determine under what machining conditions the hole machining shape determined in step 64-S7 is to be machined, the process order, tool diameter, depth of cut, spindle rotation speed, machining feed, etc. are set. This completes the generation of M / C machining data for the spot facing hole. If this M / C machining data is converted to NC data in step 64-S8, the spot facing hole 620
An NC data command for cutting 7 will be output.
The counterbore holes 6208, 6209, 6210 are also defined in the same manner. Next, the penetrating shapes 6201, 6202, 6
Machining data for machining a hole (IH) through which a wire first passes when machining 203, 6204, 6205, 6206 with a machining center (M / C) is created. This is created on the screen in which the inside of the broken line frame 66-1 in FIG. 66 is enlarged, as in the case of creating the wire electric discharge machining data. The enlarged screen is as shown in FIG. First, in step 64-S9, the mouse 6305A is used to move the cursor to the vicinity of the center position 76-1 of the circle representing the IH position to hit the hole (FIG. 7).
7). Next, in step 64-S10, the designer selects the hole shape type of KDN (dumb hole) from the hole shape menu screen (FIG. 74) to define the hole shape shown in FIG. The hole shape is determined by selecting the parameter from the table shown in 79. Next, step 64-S1.
Machining conditions are determined based on the hole machining shape determined in 1.
With this, I in the case of wire electrical discharge machining of the penetrating shape 6201
Generation of data for M / C processing of H is completed,
When this M / C machining data is converted to NC data in step 64-S12, an NC data command for cutting IH when wire machining the penetrating shape 6201 is output. Penetration shape 6202, 6203, 6204, 62
The IHs of 05 and 6206 are similarly defined. still,
As an apparatus of this type, as disclosed in Japanese Patent Laid-Open No. 2-257203, machining information of an IH for a wire electric discharge machine is fetched, and NC for a machining center together with other machining points.
There is one that automatically creates a program.

【0007】[0007]

【発明が解決しようとする課題】上記従来のCAD/C
AM装置では、製品の図形データをもとに、M/C加工
NCデータ生成用CAD/CAM装置6300AでM/
C加工NCデータとワイヤ用下穴加工NCデータを、ワ
イヤ加工NCデータ生成用CAD/CAM装置6300
Bでワイヤ加工NCデータを夫々独立して作成している
ため、異種の加工機の数が増えれば増えた分だけ個々独
立のNCデータを作成しなければならず、人手がかか
り、自動化の妨げとなる問題がある。
The above conventional CAD / C
In the AM device, based on the graphic data of the product, the M / C processing NC data generation CAD / CAM device 6300A uses M / C.
CAD / CAM device 6300 for wire machining NC data generation of C machining NC data and wire prepared hole machining NC data
Since wire processing NC data is created independently in B, NC data must be created independently as the number of different types of processing machines increases, which requires manpower and hinders automation. There is a problem that becomes.

【0008】本発明は、上記問題を解決するためになさ
れたもので、人手がいらず自動化が可能なCAD/CA
M装置を提供することを目的とする。
The present invention has been made in order to solve the above problems, and CAD / CA which can be automated without human labor.
It is intended to provide an M device.

【0009】[0009]

【課題を解決するための手段】本発明のCAD/CAM
装置は、製品の図形データを線・円弧・点・円等の要素
データに分解して記憶する記憶手段と、この記憶手段に
記憶されている要素データを抽出して所定の2次元加工
形状を定義する複数の2次元加工定義テーブルと、これ
ら複数の2次元加工定義テーブルを組合せて所定の3次
元加工形状を定義する3次元加工定義テーブルと、複数
の加工機に応じたそれぞれの加工条件データを記憶した
複数の加工条件記憶手段と、前記各データに加工の特徴
を表すデータを付加する属性定義手段と、前記2次元加
工定義テーブル又は3次元加工定義テーブルと前記加工
条件記憶手段の加工条件との組合せに応じて加工機特有
のNCデータ又はNC元データを生成する手段とを具備
することを特徴とする。
CAD / CAM of the present invention
The device decomposes the graphic data of the product into element data such as lines, arcs, points, circles, and the like, and stores the storage means, and the element data stored in the storage means to extract a predetermined two-dimensional machining shape. A plurality of two-dimensional machining definition tables to be defined, a three-dimensional machining definition table that defines a predetermined three-dimensional machining shape by combining the plurality of two-dimensional machining definition tables, and machining condition data corresponding to a plurality of machining machines A plurality of processing condition storage means, an attribute definition means for adding data representing processing characteristics to each data, the two-dimensional processing definition table or the three-dimensional processing definition table, and the processing conditions of the processing condition storage means. And a means for generating NC data or NC original data peculiar to the processing machine in accordance with the combination with.

【0010】また、本発明のCAD/CAM装置は、製
品の図形データを線・円弧・点・円等の要素データに分
解して記憶する記憶手段と、この記憶手段に記憶されて
いる要素データを抽出して所定の2次元加工形状を定義
する2次元加工定義テーブルと、複数の加工機に応じた
それぞれの加工条件データを記憶した複数の加工条件記
憶手段と、前記各データに加工の特徴を表すデータを付
加する属性定義手段と、前記2次元加工定義テーブルと
前記加工条件記憶手段の加工条件との組合せに応じて加
工機特有のNCデータ又はNC元データを生成する手段
とを具備することを特徴とする。
Further, the CAD / CAM apparatus of the present invention has a storage means for decomposing the graphic data of the product into element data such as lines, arcs, points, circles and the like, and element data stored in this storage means. A two-dimensional machining definition table for extracting a predetermined two-dimensional machining shape and a plurality of machining condition storage means for storing respective machining condition data corresponding to a plurality of machining machines; And an attribute definition means for adding data representing the above, and a means for generating NC data or NC original data peculiar to a processing machine according to a combination of the two-dimensional processing definition table and the processing conditions of the processing condition storage means. It is characterized by

【0011】さらに、本発明のCAD/CAM装置は、
製品の図形データを線・円弧・点・円・角柱・球等の要
素データに分解して記憶する記憶手段と、複数の加工機
に応じたそれぞれの加工条件データを記憶した複数の加
工条件記憶手段と、前記各データに加工の特徴を表すデ
ータを付加する属性定義手段と、前記記憶手段の要素デ
ータと前記加工条件記憶手段との組合せに応じて加工機
特有のNCデータ又はNC元データを生成する手段とを
具備することを特徴とする。
Further, the CAD / CAM device of the present invention is
A storage means that decomposes and stores the product graphic data into element data such as lines, arcs, points, circles, prisms, and spheres, and multiple processing condition storages that store each processing condition data according to multiple processing machines Means, attribute defining means for adding data representing the characteristics of processing to each of the data, and NC data or NC original data specific to the processing machine according to the combination of the element data of the storage means and the processing condition storage means. And means for generating.

【0012】また、本発明のCAD/CAM装置は、加
工形状の大きさを判定する手段と、加工形状の大きさか
ら下穴形状データを自動決定する手段とを付加するもの
であっても良い。
Further, the CAD / CAM apparatus of the present invention may further include means for determining the size of the machined shape and means for automatically determining the prepared hole shape data from the size of the machined shape. .

【0013】また、本発明のCAD/CAM装置は、上
記構成に加えて、下穴形状登録手段と、登録された下穴
形状と加工形状との干渉及び大小を判定し、その判定結
果により登録された下穴形状を採用するか加工形状の大
きさから下穴形状を自動生成するかを決定する手段とを
具備することを特徴とする。
In addition to the above configuration, the CAD / CAM apparatus of the present invention determines the interference and the size of the prepared hole shape registration means, the registered prepared hole shape and the machined shape, and registers them according to the result of the judgment. Means for determining whether to adopt the prepared pilot hole shape or automatically generate the pilot hole shape from the size of the processed shape.

【0014】また、本発明のCAD/CAM装置は、ワ
イヤ放電加工機用イニシャルホール位置判別手段と、イ
ニシャルホール位置を形彫放電加工機用加工位置として
自動定義する手段とを付加するものであっても良い。
Further, the CAD / CAM apparatus of the present invention is to add the initial hole position discriminating means for the wire electric discharge machine and the means for automatically defining the initial hole position as the machining position for the die-sinking electric discharge machine. May be.

【0015】また、本発明のCAD/CAM装置は、ワ
イヤ放電加工機用イニシャルホール位置判別手段と、イ
ニシャルホール位置をマシニングセンタ用穴位置として
自動定義する手段とを付加するものであっても良い。
Further, the CAD / CAM apparatus of the present invention may further include an initial hole position discriminating means for a wire electric discharge machine and a means for automatically defining the initial hole position as a machining center hole position.

【0016】また、本発明のCAD/CAM装置は、生
成されたNCデータ又はNC元データから削り残し形状
を認識する手段と、削り残し形状を形彫放電加工機用加
工形状として自動定義する手段と、削り残し形状を加工
する電極を自動決定する手段とを付加するものであって
も良い。
Further, the CAD / CAM apparatus of the present invention includes means for recognizing the uncut portion shape from the generated NC data or NC original data, and means for automatically defining the uncut portion shape as the processing shape for the die-sinking electric discharge machine. And a means for automatically determining an electrode for processing the shape of the uncut portion may be added.

【0017】また、本発明のCAD/CAM装置は、生
成されたNCデータ又はNC元データから削り残し形状
を認識する手段と、削り残し形状を研磨加工機用加工形
状として自動定義する手段とを付加するものであっても
良い。
In addition, the CAD / CAM apparatus of the present invention comprises means for recognizing the uncut shape from the generated NC data or NC original data, and means for automatically defining the uncut shape as the working shape for the polishing machine. It may be added.

【0018】また、本発明のCAD/CAM装置は、ど
の加工機に出力するNCデータ又はNC元データを定義
しているかを判別する手段と、NCデータ又はNC元デ
ータが出力された加工機の種別と加工する素材の材質と
加工する工具の種別とから加工条件を自動決定する手段
とを付加するものであっても良い。
Further, the CAD / CAM device of the present invention includes means for determining which processing machine outputs the NC data or the NC original data, and a processing machine which outputs the NC data or the NC original data. A means for automatically determining machining conditions based on the type, the material of the material to be machined, and the type of tool to be machined may be added.

【0019】さらに、本発明のCAD/CAM装置は、
製品の図形データの特徴位置判別手段と、前記特徴位置
データをマシニングセンタ用加工位置データとして自動
定義する手段と、前記特徴位置データをワイヤ放電加工
機用加工位置データとして自動定義する手段と、前記特
徴位置データを形彫放電加工機用加工位置データとして
自動定義する手段とを具備することを特徴とする。
Further, the CAD / CAM device of the present invention is
A characteristic position determining means for the graphic data of the product; a means for automatically defining the characteristic position data as machining center machining position data; a means for automatically defining the characteristic position data as machining position data for a wire electric discharge machine; Means for automatically defining position data as machining position data for a die-sinking electric discharge machine.

【0020】[0020]

【作用】本発明のCAD/CAM装置によれば、製品の
図形データを線・円弧等の要素に分解して記憶し、次い
で記憶された要素の中から、加工機の加工経路が2次元
平面内を移動するものの場合には、所定の2次元加工形
状となるデータを抽出して定義し、また加工機の加工経
路が3次元空間内を移動するものの場合には、2次元加
工形状データから3次元加工形状となるデータを生成し
て定義し、加工の特徴を付した2次元加工形状データ又
は3次元加工形状データと加工条件との組合せに応じて
加工機特有のNCデータ又はNC元データを生成する。
これによれば、加工機に依存しない形で加工形状を定義
できるので、或る加工機の加工形状定義を他の加工機で
参照し加工条件を定義することができる。
According to the CAD / CAM apparatus of the present invention, the graphic data of the product is decomposed into elements such as lines and arcs and stored, and then the machining path of the machining machine is a two-dimensional plane from the stored elements. In the case of the one that moves in the inside, the data that becomes the predetermined two-dimensional machining shape is extracted and defined, and in the case that the machining path of the processing machine moves in the three-dimensional space, from the two-dimensional machining shape data NC data or NC original data peculiar to a processing machine is created according to a combination of 2D processing shape data or 3D processing shape data with processing characteristics, which is defined by generating and defining 3D processing shape data. To generate.
According to this, since the machining shape can be defined in a form that does not depend on the machining machine, the machining condition can be defined by referring to the machining shape definition of one machining machine by another machining machine.

【0021】また、本発明のCAD/CAM装置によれ
ば、加工機の加工経路が2次元平面内を移動するものの
みの場合には、製品の図形データを分析して得られた線
・円弧等の要素の中から2次元加工形状となるデータを
抽出して定義し、加工の特徴を付した2次元加工形状デ
ータと加工条件との組合せに応じて加工機特有のNCデ
ータ又はNC元データを生成する。これによれば、ワイ
ヤ放電加工機、レーザ加工機等、加工機の種類に依存し
ない形で加工形状を定義できるので、例えばワイヤ放電
加工機の加工形状定義をレーザ加工機で参照し加工条件
を定義することができる。
Further, according to the CAD / CAM apparatus of the present invention, when the processing path of the processing machine is only one which moves within a two-dimensional plane, the line / arc obtained by analyzing the graphic data of the product is obtained. NC data or NC original data peculiar to the machine depending on the combination of the two-dimensional machine shape data with the characteristics of the machine and the machining conditions, by extracting and defining the data that becomes the two-dimensional machine shape from the elements such as To generate. According to this, the machining shape can be defined in a form that does not depend on the type of the machining machine such as a wire electric discharge machine or a laser machining machine. For example, the machining shape definition of the wire electric discharge machine is referred to by the laser machining machine to determine the machining conditions. Can be defined.

【0022】さらに、本発明のCAD/CAM装置によ
れば、製品の図形データを分解して得られた線・円弧等
の要素に加工の特徴を付し加工条件との組合せに応じて
加工機特有のNCデータ又はNC元データを生成する。
これによれば、加工機に依存しない形で加工形状・加工
条件を定義できる。
Further, according to the CAD / CAM apparatus of the present invention, the processing machine is added to the elements such as lines and arcs obtained by decomposing the graphic data of the product and the processing characteristics according to the combination with the processing conditions. Unique NC data or NC original data is generated.
According to this, the processing shape / processing conditions can be defined in a form that does not depend on the processing machine.

【0023】また、本発明のCAD/CAM装置によれ
ば、加工形状の大きさを判定し、これに合わせた下穴加
工形状が自動決定される。
Further, according to the CAD / CAM apparatus of the present invention, the size of the machined shape is judged, and the prepared hole machined shape corresponding to this is automatically determined.

【0024】また、本発明のCAD/CAM装置によれ
ば、登録された下穴形状と加工形状の干渉及び大小を判
定し、干渉しない場合には登録された下穴形状を採用
し、干渉する場合には加工形状内におさまる下穴形状を
自動生成する。
Further, according to the CAD / CAM apparatus of the present invention, the interference and the size of the registered pilot hole shape and the machining shape are determined, and when they do not interfere, the registered pilot hole shape is adopted and interferes. In this case, a prepared hole shape that fits within the processed shape is automatically generated.

【0025】また、本発明のCAD/CAM装置によれ
ば、ワイヤ放電加工機用のイニシャルホール位置を形彫
放電加工機用の加工位置として利用する。
Further, according to the CAD / CAM apparatus of the present invention, the position of the initial hole for the wire electric discharge machine is used as the machining position for the die-sinking electric discharge machine.

【0026】また、本発明のCAD/CAM装置によれ
ば、ワイヤ放電加工機用イニシャルホール位置をマシニ
ングセンタ用穴位置として利用する。
Further, according to the CAD / CAM device of the present invention, the position of the initial hole for the wire electric discharge machine is used as the position of the hole for the machining center.

【0027】また、本発明のCAD/CAM装置によれ
ば、他の加工機で削り残された形状を、形彫放電加工機
で加工する場合、加工形状が自動定義されると共に、電
極形状が自動決定される。
Further, according to the CAD / CAM apparatus of the present invention, when the shape left unmachined by another machining machine is machined by the die-sinking electric discharge machine, the machining shape is automatically defined and the electrode shape is defined. Automatically determined.

【0028】また、本発明のCAD/CAM装置によれ
ば、他の加工機で削り残された形状を研磨加工機用の加
工形状に自動定義される。
Further, according to the CAD / CAM apparatus of the present invention, the shape left uncut by another processing machine is automatically defined as the processing shape for the polishing processing machine.

【0029】また、本発明のCAD/CAM装置によれ
ば、加工する素材や工具の種別や加工機の種類から、切
り込み量や仕上げ代や主軸回転数などの加工条件が自動
決定される。
Further, according to the CAD / CAM apparatus of the present invention, the processing conditions such as the cutting depth, the finishing allowance and the spindle rotational speed are automatically determined from the material to be machined, the type of the tool and the type of the processing machine.

【0030】また、本発明のCAD/CAM装置によれ
ば、製品の図形データの中で特徴付けられる位置データ
を判別し、この特徴位置データを使用する加工機に応じ
た加工位置データとして自動定義する。
Further, according to the CAD / CAM apparatus of the present invention, the position data characterized in the graphic data of the product is discriminated, and this characteristic position data is automatically defined as the processing position data according to the processing machine which uses it. To do.

【0031】[0031]

【実施例】【Example】

実施例1.図1は、本発明のCAD/CAM装置の実施
の一例を示す概略図、図2は、そのハードウェア構成図
である。CAD/CAM装置100は、本体101、C
RTディスプレイ102、キーボード103、マウス1
04、プリンタ105等から成るもので、パーソナルコ
ンピュータ(PC)106を介してワイヤ放電加工機1
07、マシニングセンタ(M/C)108、形彫放電加
工機109、研磨加工機たるジググラインダ110等に
接続される。前記本体101はコンピュータ(CPU)
111とプログラムメモリ112とデータメモリ113
とFDD装置114とハードディスク装置(HD)11
5と入出力回路116を備える。
Example 1. FIG. 1 is a schematic diagram showing an example of implementation of a CAD / CAM device of the present invention, and FIG. 2 is a hardware configuration diagram thereof. The CAD / CAM device 100 includes a main body 101, C
RT display 102, keyboard 103, mouse 1
04, a printer 105, etc., and a wire electric discharge machine 1 via a personal computer (PC) 106.
07, a machining center (M / C) 108, a die-sinking electric discharge machine 109, a jig grinder 110 as a polishing machine, and the like. The main body 101 is a computer (CPU)
111, program memory 112, and data memory 113
And FDD device 114 and hard disk device (HD) 11
5 and the input / output circuit 116.

【0032】図3は、前記プログラムメモリ112とデ
ータメモリ113内に格納されるデータの内容を示す図
である。データメモリ113内には、製品の図形データ
を格納するエリアと、2次元加工形状・3次元加工形状
・加工条件等のテーブルデータを格納するエリアがあ
る。プログラムメモリ112内には、後に説明する、加
工形状大きさ判定手段301、下穴加工形状自動決定手
段302、下穴形状登録手段303、干渉・大小判定に
よる下穴形状自動決定手段304、マシニングセンタ用
穴位置自動定義手段306、ワイヤ放電加工機イニシャ
ルホール位置判別手段307、形彫放電加工機用加工位
置自動定義手段308、削り残し形状認識手段309、
形彫放電加工機用加工形状自動定義手段310、電極自
動決定手段311、ジググラインダ用加工形状自動定義
手段312、機種判別手段313、機種依存加工条件自
動決定手段314、製品の図形データの特徴位置判別手
段315、形彫放電加工機用加工位置自動定義手段31
6、ワイヤ放電加工機用加工位置自動定義手段317、
マシニングセンタ用加工位置自動定義手段318に夫々
相当するプログラムを格納する夫々のエリアがある。な
お、登録下穴形状格納手段305に格納されている下穴
形状は外部記憶装置たるHD115に格納される。
FIG. 3 is a diagram showing the contents of data stored in the program memory 112 and the data memory 113. The data memory 113 has an area for storing graphic data of products and an area for storing table data such as a two-dimensional processed shape, a three-dimensional processed shape, and processing conditions. In the program memory 112, a machining shape size determining means 301, a prepared hole machining shape automatic determining means 302, a prepared hole shape registering means 303, a prepared hole shape automatic determining means 304 by interference / size determination, which will be described later, for a machining center. Hole position automatic definition means 306, wire electric discharge machine initial hole position determination means 307, die-sinking electric discharge machine machining position automatic definition means 308, uncut portion shape recognition means 309,
Machining shape automatic defining means 310 for die-sinking electric discharge machine, automatic electrode determining means 311, machining shape automatic defining means 312 for jig grinder, model discriminating means 313, model dependent machining condition automatic determining means 314, characteristic position of product graphic data Discriminating means 315, machining position automatic defining means 31 for die-sinking electric discharge machine
6. Machining position automatic defining means 317 for wire electric discharge machine,
The machining center automatic machining position defining means 318 has respective areas for storing programs corresponding thereto. The prepared hole shape stored in the registered prepared hole shape storage unit 305 is stored in the HD 115 as an external storage device.

【0033】上記CAD/CAM装置100を使用し
て、素材W(図4)を、4つの座ぐり穴501,50
2,503,504及び6つの貫通形状505,50
6,507,508,509,510を有する製品(図
5)に加工する場合のNCデータ生成の手順について図
6とともに説明する。まず、図6のブロックB1で、元
図となる製品の図形データを、CAD/CAM装置10
0を使って作成し、内部記憶装置たるデータメモリ11
3に格納するか、或いは別個CAD/CAM装置を使っ
て作成し、外部記憶装置たるハードディスク装置115
に登録する。この図形データはCRTディスプレイ10
2の画面上に表示すると図7のようになるが、実際は図
2のデータメモリ113内に図8のBD1のような線、
円弧、点、円、寸法線等の要素のタイプデータと点座
標、線分の始点・終点・傾き、円の半径・中心位置、寸
法線の配置位置、寸法文字等の要素の図形情報データに
分解され、小さな箱のような形で記憶される(8−1〜
8−13)。
Using the CAD / CAM device 100 described above, the material W (FIG. 4) is cut into four counterbore holes 501, 50.
2, 503, 504 and 6 penetrating shapes 505, 50
The procedure of NC data generation when processing into a product (FIG. 5) having 6,507,508,509,510 will be described with reference to FIG. First, in block B1 in FIG. 6, the CAD / CAM device 10 converts the graphic data of the original product into the graphic data.
Data memory 11 which is created by using 0 and is an internal storage device
Hard disk device 115 as an external storage device, which is stored in the HDD 3 or created using a separate CAD / CAM device.
Register with. This graphic data is displayed on the CRT display 10
When it is displayed on the screen of No. 2, it becomes as shown in FIG. 7, but in reality, in the data memory 113 of FIG.
For type data and point coordinates of elements such as arcs, points, circles, and dimension lines, start / end / tilt of line segments, radius / center position of circles, layout position of dimension lines, and graphic information data of elements such as dimension characters. It is disassembled and stored in the form of a small box (8-1 ~
8-13).

【0034】次に完成された製品の図形データをもと
に、M/C加工NCデータ及びワイヤ放電加工NCデー
タをCAD/CAM装置100を使って作成する。具体
的には、製品の図形データをデータメモリ113から呼
び出し、或いはハードディスク装置115から呼び出
し、或いはFDD装置114から呼び出して、CRTデ
ィスプレイ102上に図7のように表示させ、前記従来
装置と同様のブロックB2の操作手順、すなわち図6の
ステップS1,S2,S3,S4の順で貫通形状505
〜510のワイヤ放電加工NCデータを作成する。
Next, based on the graphic data of the completed product, M / C machining NC data and wire electric discharge machining NC data are created using the CAD / CAM device 100. Specifically, the graphic data of the product is called from the data memory 113, the hard disk device 115, or the FDD device 114, and is displayed on the CRT display 102 as shown in FIG. The operation procedure of the block B2, that is, the penetration shape 505 in the order of steps S1, S2, S3 and S4 of FIG.
The wire electric discharge machining NC data of 510 is created.

【0035】上記ワイヤ放電加工形状の定義からNCデ
ータ生成までのCRTディスプレイ102上の画面表示
遷移図を図9に示す。9−1は製品の図形データの画
面、9−3は9−1の画面の破線部9−2を拡大してI
H指定位置にカーソルを移動させたときの画面、9−4
は9−3で指定した結果IHを表すマークが表示された
画面、9−5はワイヤ放電加工形状をカーソルを4ケ所
に移動させて指定したときの画面、9−6はワイヤ放電
加工条件を表にて設定する場合の画面、9−7は9−3
〜9−6までを貫通形状505〜510に関して繰り返
し定義したワイヤ放電加工定義元データについてNCデ
ータを生成した場合の画面である。
FIG. 9 shows a screen display transition diagram on the CRT display 102 from the definition of the wire electric discharge machining shape to the generation of NC data. 9-1 is a screen of the graphic data of the product, 9-3 is an enlarged view of the broken line portion 9-2 of the screen of 9-1, I
Screen when the cursor is moved to the specified position H, 9-4
Is a screen displaying a mark representing IH as a result of designation in 9-3, 9-5 is a screen when the cursor is moved to four positions to designate the wire electric discharge machining shape, and 9-6 is a wire electric discharge machining condition. Screen for setting in the table, 9-7 is 9-3
9 to 9-6 are screens when NC data is generated for wire-EDM definition source data in which the penetration shapes 505 to 510 are repeatedly defined.

【0036】このように図6のブロックB2で作成され
たワイヤ放電加工データは図8のBD2のようにデータ
メモリ113内に格納される。このデータの格納の推移
は次のようである。すなわち、ワイヤ放電加工機107
のワイヤを通すイニシャルホールIHを作成した時点
で、要素データ8−14とその要素データがIH位置を
意味することを識別するための属性8−22が接続され
て格納される。次にワイヤ放電加工形状を作成した時点
で、加工形状に指定された要素データをひとまとめにす
るためにテーブル番号1のテーブル8−15を生成し、
それらデータを格納する。このテーブル8−15は2次
元加工形状を定義する2次元加工定義テーブルであり、
このテーブル8−15に属する各要素データには、関連
性がわかるようにテーブル番号1(8−17,8−1
8,8−19,8−20)が格納される。このとき、ワ
イヤ放電加工のIHとして生成された要素データ8−1
4にも同じテーブル番号1(8−21)が格納される。
このようにしてワイヤ放電加工形状(8−17,8−1
8,8−19,8−20,8−14,8−21)を2次
元加工定義テーブル8−15でまとめたデータ構造がで
きあがる。さらにワイヤ放電加工条件を定義した時点
で、加工条件記憶手段たる加工条件テーブル8−16が
生成され、定義された図10に示すワイヤ放電加工条件
が格納される。この加工条件テーブル8−16には、前
記2次元加工定義テーブル8−15が接続される。以上
で、貫通形状505をワイヤ放電加工する場合のNCデ
ータの格納が完了し、同様にして他の貫通形状506,
507,508,509,510のNCデータを作成
し、格納する。以上、ステップS3で設定されたワイヤ
放電加工条件はW1という識別名称でCRTディスプレ
イ102上に図9の9−7のように表示される。このと
き定義した加工形状を加工する時の加工条件が同じであ
れば、1つの加工条件テーブルに複数の加工定義テーブ
ルが接続される。例えば、貫通形状505〜510をワ
イヤ放電加工するときの加工条件は図10で示したW1
で共通ならば、貫通形状505の形状を格納している2
次元加工定義テーブル8−15も貫通形状510の形状
を格納している2次元加工定義テーブル8−28も加工
条件W1が格納されている加工条件テーブル8−16に
接続される(図8)。又、同じ加工条件をもつ加工形状
を複数指定した場合は、CRTディスプレイ102上に
は加工条件の識別名の後にサフィックスの形で−1,−
2…とすることでCRTディスプレイ102上において
同じ加工条件をもつ加工形状の区別及び定義された順番
がわかるようにしている。
The wire electric discharge machining data thus created in the block B2 of FIG. 6 is stored in the data memory 113 like BD2 of FIG. The transition of storage of this data is as follows. That is, the wire electric discharge machine 107
At the time of creating the initial hole IH for passing the wire, the element data 8-14 and the attribute 8-22 for identifying that the element data mean the IH position are connected and stored. Next, when the wire electric discharge machining shape is created, the table 8-15 of the table number 1 is generated to collect the element data specified in the machining shape,
Store those data. This table 8-15 is a two-dimensional machining definition table that defines a two-dimensional machining shape,
Each element data belonging to this table 8-15 has a table number 1 (8-17, 8-1) so that the relation can be seen.
8, 8-19, 8-20) is stored. At this time, element data 8-1 generated as IH for wire electric discharge machining
The same table number 1 (8-21) is also stored in 4.
In this way, the wire electric discharge machining shape (8-17, 8-1
8, 8-19, 8-20, 8-14, 8-21) is created in the two-dimensional machining definition table 8-15. Further, when the wire electric discharge machining conditions are defined, a machining condition table 8-16 as a machining condition storage means is generated and the defined wire electric discharge machining conditions shown in FIG. 10 are stored. The two-dimensional processing definition table 8-15 is connected to the processing condition table 8-16. With the above, the storage of the NC data in the case of wire electric discharge machining of the penetrating shape 505 is completed, and the other penetrating shapes 506 and 506 are similarly processed.
The NC data of 507, 508, 509, 510 is created and stored. As described above, the wire electric discharge machining condition set in step S3 is displayed on the CRT display 102 as an identification name W1 as shown by 9-7 in FIG. If the machining conditions for machining the machining shape defined at this time are the same, a plurality of machining definition tables are connected to one machining condition table. For example, the processing conditions for wire electrical discharge machining of the penetrating shapes 505 to 510 are W1 shown in FIG.
If the same, the shape of the through shape 505 is stored 2
The two-dimensional machining definition table 8-15 and the two-dimensional machining definition table 8-28 storing the shape of the penetrating shape 510 are both connected to the machining condition table 8-16 storing the machining condition W1 (FIG. 8). Further, when a plurality of machining shapes having the same machining conditions are designated, a suffix −1, − after the machining condition identification name is displayed on the CRT display 102.
By setting 2 ..., it is possible to distinguish the machining shapes having the same machining conditions and the defined order on the CRT display 102.

【0037】次にワイヤ放電加工機107のIHをM/
C108で加工するための加工データを作成する手順を
図6のブロックB3の各ステップに従って説明する。ワ
イヤ放電加工機107のワイヤを通すIHをM/Cで加
工する場合のCRTディスプレイ102上の画面表示遷
移図を図11に示す。11−1は製品の図形データの画
面、11−3は11−1の画面の破線部11−2を拡大
したx,y平面図の画面11−4と矢視図の画面11−
5を同時に表示させた状態の画面(このとき矢視図には
加工データが三次元上で確認できるようにXYZ軸で表
示させるようにしている)、11−6は既定義のワイヤ
放電加工のIH位置をM/Cの穴加工位置として自動定
義したときの結果の表示画面、11−7は11−6で定
義した穴加工位置に加工する穴形状を穴形状設定表にて
定義している表示画面、11−8は設定結果の表示画
面、11−9は穴形状を加工するときの加工条件を加工
条件設定表にて定義している表示画面、11−10は1
1−9の設定結果の表示画面、11−11は11−10
までに定義された穴加工データについてNCデータを生
成した場合の画面である。また、図12は図11に示し
た製品の図形データ11−1の破線部を拡大した図で、
11−4の詳細図である。図13は図11の11−6の
詳細図である。図14は図11の11−8の詳細図であ
る。図16は図11の11−10の詳細図である。以下
に具体的に説明する。まず、ステップS5で図3のイニ
シャルホール位置判別手段307にて既に図2のデータ
メモリ113に格納されている図8のBD1,BD2に
示したデータの中からワイヤ放電加工機107のワイヤ
を通すIH位置を検索する。検索手順は、各テーブルデ
ータのうち加工条件テーブルでワイヤ放電加工の加工条
件テーブル8−16を探し、それに接続される2次元加
工定義テーブル8−15に属する要素データの中からI
H属性の付いた要素データ8−14〜8−27を探す。
このようにして検索したワイヤ放電加工機107のワイ
ヤを通すIH位置が格納されている要素データに、その
要素データの位置が同時に穴加工位置を示すものである
という情報を付して、ワイヤ放電加工機107のIH位
置を穴加工位置データとして定義するステップS5のデ
ータメモリ113への格納は完了する。このとき付加さ
れる穴加工位置情報は、図8の穴加工位置をひとまとめ
にするための2次元加工定義テーブル8−23と、IH
属性をもつ要素データに格納されているテーブル番号7
(8−26,…,8−35)である。このようにしてワ
イヤ放電加工機107のIH位置をM/C108で穴加
工する時の穴加工位置がデータメモリ113上にプログ
ラムメモリ112中のマシニングセンタ用穴位置自動定
義手段306(図3)により自動生成され、CRTディ
スプレイ102上に自動生成された穴加工位置が図13
のように+のマークで明示される。このように、ステッ
プS5で、従来人手により行なっていたワイヤ放電加工
のIH位置をM/Cで加工するための穴加工位置の指定
が自動化される。
Next, the IH of the wire electric discharge machine 107 is set to M /
A procedure for creating the processed data for processing in C108 will be described according to each step of block B3 in FIG. FIG. 11 shows a screen display transition diagram on the CRT display 102 in the case of machining the IH passing through the wire of the wire electric discharge machine 107 by M / C. 11-1 is a screen of graphic data of the product, 11-3 is a screen 11-4 of an x, y plan view and a screen 11-of an arrow view, which is an enlarged view of a broken line portion 11-2 of the screen of 11-1.
5 is displayed at the same time (at this time, the arrow view shows the processing data on the XYZ axes so that the processing data can be confirmed in three dimensions). The display screen of the result when the IH position is automatically defined as the M / C hole machining position, 11-7 defines the hole shape to be machined at the hole machining position defined in 11-6 in the hole shape setting table. Display screen, 11-8 is a display screen of the setting result, 11-9 is a display screen that defines the processing conditions for processing the hole shape in the processing condition setting table, and 11-10 is 1
Display screen of setting result of 1-9, 11-11 is 11-10
It is a screen when NC data is generated about the hole drilling data defined up to. Further, FIG. 12 is an enlarged view of a broken line portion of the product graphic data 11-1 shown in FIG.
It is a detailed view of 11-4. FIG. 13 is a detailed view of 11-6 of FIG. FIG. 14 is a detailed view of 11-8 of FIG. FIG. 16 is a detailed view of 11-10 of FIG. This will be specifically described below. First, in step S5, the wire of the wire electric discharge machine 107 is passed through from the data shown in BD1 and BD2 of FIG. 8 already stored in the data memory 113 of FIG. 2 by the initial hole position determination means 307 of FIG. Retrieve IH position. In the search procedure, the machining condition table 8-16 for wire electric discharge machining is searched for in the machining condition table among the table data, and I is selected from the element data belonging to the two-dimensional machining definition table 8-15 connected thereto.
Search for element data 8-14 to 8-27 with H attribute.
In this way, the element data in which the IH position of the wire electric discharge machine 107 through which the wire passes is attached to the element data, and the information that the position of the element data indicates the hole machining position at the same time is added. The storage in the data memory 113 in step S5 for defining the IH position of the processing machine 107 as hole processing position data is completed. The hole machining position information added at this time includes the two-dimensional machining definition table 8-23 for grouping the hole machining positions in FIG.
Table number 7 stored in element data with attributes
(8-26, ..., 8-35). In this way, when the IH position of the wire electric discharge machine 107 is machined by the M / C 108, the hole machining position is automatically set on the data memory 113 by the automatic machining center hole position defining means 306 (FIG. 3) in the program memory 112. FIG. 13 shows the hole drilling positions generated and automatically generated on the CRT display 102.
It is clearly indicated by the + mark like. As described above, in step S5, the designation of the hole machining position for machining the IH position of the wire electric discharge machining by M / C, which is conventionally performed manually, is automated.

【0038】次に、従来装置と同様、ステップS6でス
テップS5にて作成された穴加工位置に加工する穴の形
状を設定する。具体的には、ステップS5にて自動生成
された穴加工位置13−1〜13−6(図13)に加工
する図78に示す穴形状を定義するために、穴形状のメ
ニュー画面図74よりKDN(ばか穴)の穴形状タイプ
を、また図79に示す表よりそのパラメータを選択して
穴形状を決定する。上記のように穴形状は、KDN(ば
か穴)等で決定される形状タイプと各形状タイプ毎に設
定可能な変化寸法例えば図79のD1,C1,Z1とで
決まるもので、具体的には形状名と呼び名称を選択する
ことにより一義的に決まる。この図79のばか穴を決定
する形状名と呼び名称を図8に示す3次元加工定義テー
ブル8−24に格納し、ステップS5にて既に穴加工位
置情報が格納されている2次元加工定義テーブル8−2
3に接続する。このように、図6のブロックB3で作成
されたワイヤ放電加工機107のワイヤを通すIHをM
/C108で加工するためのM/C穴加工データは図8
のBD3のようにデータメモリ113内に格納される。
以上ステップS6にて設定された穴形状は、CRTディ
スプレイ102上に図14のように矢視図にて表示され
る。
Next, similarly to the conventional apparatus, in step S6, the shape of the hole to be machined is set at the hole machining position created in step S5. Specifically, in order to define the hole shape shown in FIG. 78 to be processed at the hole processing positions 13-1 to 13-6 (FIG. 13) automatically generated in step S5, from the hole shape menu screen view 74 The hole shape type of KDN (dumb hole) and its parameter are selected from the table shown in FIG. 79 to determine the hole shape. As described above, the hole shape is determined by the shape type determined by KDN (dumb hole) or the like and the changeable dimension that can be set for each shape type, for example, D1, C1, Z1 in FIG. It is uniquely determined by selecting the shape name and the name. The two-dimensional machining definition table in which the shape name and the call name for determining the stupid hole in FIG. 79 are stored in the three-dimensional machining definition table 8-24 shown in FIG. 8 and the hole machining position information is already stored in step S5 8-2
Connect to 3. In this way, the IH to be passed through the wire of the wire electric discharge machine 107 created in block B3 of FIG.
Fig. 8 shows M / C hole drilling data for machining with / C108.
The data is stored in the data memory 113 like the BD3.
The hole shape set in the above step S6 is displayed on the CRT display 102 in the direction of the arrow as shown in FIG.

【0039】次に、従来装置と同様、ステップS7でス
テップS6までに決定された穴加工位置13−1〜13
−6(図13)に配置された穴加工形状をどのような加
工工程でどのような送り速度で加工するか等の加工条件
を図15に示す加工条件表にて設定する。この加工条件
は図8に示す加工条件テーブル8−25に格納する。以
上ステップS7にて設定された穴加工条件はH1という
識別名称でCRTディスプレイ102上に図16のよう
に表示される。このように設定され格納された穴加工デ
ータの元データからステップS8でNCデータを生成す
る。生成されたNCデータによる加工経路は図11の1
1−11に示すようになる。一方、ブロックB4で設計
者は、ブロックB1,B2,B3にて定義した同画面
(図7)上で、格納されている図8の2次元分解データ
BD1から座ぐり穴501〜504を、図64のステッ
プ64−S9〜64−S12の従来と同手順で作成する
(ステップS9〜S12)。作成されたデータは図8の
BD3と同様に、BD4の8−36〜8−41のように
格納される。このように、図6のブロックB1で作成さ
れた製品の図形データは図8のBD1のように、ブロッ
クB2で作成された加工データはBD2のように、ブロ
ックB3で作成された加工データはBD3のように、ブ
ロックB4で作成された加工データはBD4のように格
納される。
Next, similarly to the conventional apparatus, the hole machining positions 13-1 to 13-13 determined in step S7 up to step S6.
Machining conditions such as what kind of machining process and what feed rate the hole machining shape arranged in -6 (FIG. 13) is set in the machining condition table shown in FIG. This processing condition is stored in the processing condition table 8-25 shown in FIG. The hole drilling condition set in step S7 is displayed on the CRT display 102 as an identification name H1 as shown in FIG. NC data is generated in step S8 from the original data of the hole drilling data thus set and stored. The machining route based on the generated NC data is 1 in FIG.
1-11. On the other hand, in block B4, the designer displays the counterbore holes 501 to 504 from the stored two-dimensional decomposition data BD1 in FIG. 8 on the same screen (FIG. 7) defined in blocks B1, B2 and B3. It is created in the same procedure as the conventional procedure of steps 64-S9 to 64-S12 of 64 (steps S9 to S12). The created data is stored like 8-36 to 8-41 of BD4, as in BD3 of FIG. Thus, the graphic data of the product created in the block B1 of FIG. 6 is BD1 of FIG. 8, the processed data created in the block B2 is BD2, and the processed data created in the block B3 is BD3. As described above, the processed data created in block B4 is stored as in BD4.

【0040】上記実施例では、M/Cで穴加工する3次
元加工形状のうち、穴加工位置を図8の2次元加工定義
テーブル8−23に、形状名及び呼び名称を3次元加工
定義テーブル8−24に夫々格納した。このように形状
名すなわち穴形状名により形状の骨格が決定でき、呼び
名称すなわちD1、Z1、C1等のパラメータと穴形状
名により立体形状が決まる場合は、3次元加工定義テー
ブル8−24に形状名と数値から成る立体情報をもてば
良いが、任意に形状の骨格を定義したい図17のような
立体形状の場合は、例えば、図18のようなデータ情報
をもつことになる。具体的には、立体形状は断面形状1
7−1を回転して形成される3次元形状と定義できるた
め、作成された製品の図形データ図19のうちの、円要
素19−1で構成される形状を2次元加工形状として2
次元加工定義テーブル18−1に格納し、要素19−
2,19−3,19−4で構成される断面形状を2次元
加工形状として2次元加工定義テーブル18−2に格納
し、両テーブル18−1,18−2に格納した2次元加
工形状データから立体形状が形成されるということで、
2つの2次元加工形状を結び合わせる3次元加工定義テ
ーブル18−3を用意して、そのテーブル18−3の中
に2つの2次元加工形状の関係が回転体であることを格
納する。以上のように3次元加工形状が格納された3次
元定義テーブル18−3は、加工条件テーブル18−4
に接続され、図18のような形態で、図8のデータメモ
リ113に格納される。
In the above-described embodiment, of the three-dimensional machining shapes to be machined by M / C, the hole machining position is shown in the two-dimensional machining definition table 8-23 in FIG. 8, and the shape name and the nominal name are shown in the three-dimensional machining definition table. 8 to 24 respectively. In this way, when the skeleton of the shape can be determined by the shape name, that is, the hole shape name, and the three-dimensional shape is determined by the nominal name, that is, the parameters such as D1, Z1, C1 and the hole shape name, the shape is stored in the 3D machining definition table 8-24. It suffices to have three-dimensional information consisting of a name and a numerical value, but in the case of a three-dimensional shape as shown in FIG. 17 in which it is desired to define a skeleton of any shape, for example, it has data information as shown in FIG. Specifically, the three-dimensional shape is the cross-sectional shape 1.
Since 7-1 can be defined as a three-dimensional shape formed by rotating, the shape formed by the circular element 19-1 in the created product graphic data diagram 19 is used as a two-dimensional processed shape.
It is stored in the dimension processing definition table 18-1 and the element 19-
The two-dimensional machining shape data stored in the two-dimensional machining definition table 18-2 by storing the cross-sectional shape composed of 2, 19-3 and 19-4 as the two-dimensional machining shape in the two-dimensional machining definition table 18-2. Because a three-dimensional shape is formed from
A three-dimensional machining definition table 18-3 for connecting two two-dimensional machining shapes is prepared, and the fact that the relationship between the two two-dimensional machining shapes is a rotating body is stored in the table 18-3. As described above, the three-dimensional definition table 18-3 storing the three-dimensional machining shape is the machining condition table 18-4.
And is stored in the data memory 113 of FIG. 8 in a form as shown in FIG.

【0041】尚、上記例のように、3次元形状を加工形
状とする場合には、3次元加工定義テーブルを必要とす
るが、レーザ加工機とワイヤ放電加工機とを組合せて加
工する場合のように2次元形状のみを加工形状とする場
合には、3次元加工定義テーブルは必要なく、2次元加
工定義テーブルのみを用意すれば良い。この場合にも、
加工形状が格納された2次元加工定義テーブルは加工条
件テーブルに接続され、各種加工条件に対応する加工経
路を出力する元データとなる。また、この場合、2次元
加工定義テーブルを用意せず、製品の図形データと加工
条件とを直接組合せて加工形状・加工条件とすることも
できる。
When the three-dimensional shape is to be machined as in the above example, a three-dimensional machining definition table is required, but when machining is performed by combining a laser machining machine and a wire electric discharge machine. When only the two-dimensional shape is processed as described above, the three-dimensional processing definition table is not necessary and only the two-dimensional processing definition table may be prepared. Also in this case,
The two-dimensional machining definition table in which machining shapes are stored is connected to the machining condition table and serves as original data for outputting machining routes corresponding to various machining conditions. Further, in this case, it is possible to directly combine the graphic data of the product and the processing conditions without using the two-dimensional processing definition table to obtain the processed shape / processing conditions.

【0042】実施例2.図20は本発明のCAD/CA
M装置100でNCデータを生成する時の実施例2を説
明するためのフローチャートである。まず、前記実施例
1と同様の手順で製品の図形データを作成し(ブロック
B1)、貫通形状505〜510をワイヤ放電加工する
場合のNCデータを作成する(ブロックB2)。次に、
ブロックB2で作成したIHをM/C108で加工する
ための加工データを作成する(ブロック20−B3)
が、このとき、実施例1と同様にステップS5で既定義
のIH位置を穴位置として自動定義した後、穴加工形状
を定義する場合に、加工形状大きさ判定手段301(図
3)により定義したワイヤ放電加工する加工形状の大き
さを判定してIHの下穴形状を自動決定する(ステップ
20−S6)。具体的には、貫通形状505をワイヤ放
電加工機107で加工する際のIHの下穴形状を自動決
定する場合を例にとって説明する。図21に図形データ
の表示画面(図66)の破線枠66−1を拡大した図を
示す。まず、IH21−1を包含する要素21−2〜2
1−5で囲まれる加工形状を認識し、IH位置21−1
を中心とする加工形状に内接する円22−1を求め(図
22)、この内接円を指定した割合だけ縮小した真円2
3−1(図23)の径を下穴径とした穴形状を決定す
る。この場合、穴形状名と穴深さ、穴面取量等はあらか
じめ決まっているものとする。次に決定された穴形状は
図8に示す3次元加工定義テーブル8−24に格納し、
ステップS1にて既に穴加工位置情報が格納されている
2次元加工定義テーブル8−23に接続する。以上のよ
うに、従来人手により行なっていたワイヤ放電加工のI
Hのための下穴形状指定がステップ20−S6で自動化
される。次の加工条件定義(ステップS7)とNCデー
タ生成(ステップS8)は前記実施例1と同じ手順で行
う。
Example 2. FIG. 20 shows the CAD / CA of the present invention.
9 is a flowchart for explaining a second embodiment when NC data is generated by the M device 100. First, the graphic data of the product is created by the same procedure as in the first embodiment (block B1), and the NC data for wire electric discharge machining of the penetrating shapes 505 to 510 is created (block B2). next,
Processing data for processing the IH created in the block B2 by the M / C 108 is created (block 20-B3).
However, at this time, when the defined IH position is automatically defined as the hole position in step S5 as in the first embodiment, and then the hole machining shape is defined, the machining shape size determination unit 301 (FIG. 3) defines it. The size of the machining shape to be subjected to the wire electric discharge machining is determined to automatically determine the pilot hole shape of the IH (step 20-S6). Specifically, a case will be described as an example in which the IH prepared hole shape is automatically determined when the through-hole shape 505 is processed by the wire electric discharge machine 107. FIG. 21 shows an enlarged view of the broken line frame 66-1 of the graphic data display screen (FIG. 66). First, elements 21-2 to 2 including IH21-1
The machining shape surrounded by 1-5 is recognized, and the IH position 21-1
A circle 22-1 inscribed in the machined shape centered at is found (Fig. 22), and a true circle 2 is obtained by reducing this inscribed circle by the specified ratio.
The hole shape with the diameter of 3-1 (FIG. 23) as the prepared hole diameter is determined. In this case, it is assumed that the hole shape name, the hole depth, the hole chamfering amount, etc. are predetermined. The determined hole shape is stored in the three-dimensional machining definition table 8-24 shown in FIG.
In step S1, connection is made to the two-dimensional machining definition table 8-23 in which hole machining position information is already stored. As described above, I of wire electric discharge machining which was conventionally performed manually
The preliminary hole shape designation for H is automated in step 20-S6. The next processing condition definition (step S7) and NC data generation (step S8) are performed in the same procedure as in the first embodiment.

【0043】実施例3.図24は、前記構成のCAD/
CAM装置100でNCデータを生成するときの実施例
3を説明するフローチャートである。実施例2の様にワ
イヤ放電加工機107での加工時のIHをM/C108
で下穴加工する場合の穴加工形状をIH位置を包含する
加工形状の大きさから自動決定する場合、図3の下穴形
状登録手段303にてあらかじめ下穴形状を登録して図
3の登録下穴形状格納手段305に格納しておき(ステ
ップ24−S6−1)、前記登録下穴形状とワイヤ放電
加工形状とが干渉する場合のみ穴形状を図3の下穴加工
形状自動決定手段302で自動決定し、干渉しない場合
は干渉・大小判定による下穴形状自動決定手段304に
より前記登録下穴形状を下穴加工形状として採用する
(ステップ24−S6−2)。例えば、図25(a)に
示すように、ワイヤ放電加工する1辺が50.00の寸
法をもつ正方形2501の下穴を決定する場合と、図2
5(b)に示すように、1辺が10.00の寸法をもつ
正方形2502の下穴を決定する場合を例にとる。ここ
で、図3の下穴形状登録手段303にてあらかじめ下穴
は、径15.0、面取0.00、深さ70.00のばか
穴として登録下穴形状データ格納手段305に格納して
おく(ステップ24−S6−1)。まず、IH位置25
03、2504を中心とする径が15.00の真円26
01、2602を求める(図26)。続いて、上記真円
2601、2602が形状2501、2502に干渉す
るかどうか調べ、干渉していなかった形状2501の下
穴は、登録下穴形状格納手段305に登録された下穴形
状を採用し(図26(a))、干渉していた形状250
2の下穴(図26(b−1))は、下穴加工形状自動決
定手段302で実施例2と同様に真円2603のように
自動決定する(図26(b−2))。以上のようにステ
ップ24−S6−2では、実施例2で必ず求めていた加
工形状の内接円算出が、大小判定で干渉していると判定
された形状のときのみ行われるので、処理速度が向上さ
れる。上記のように決定された下穴形状の格納、及び加
工条件の定義手順及び格納、及びNCデータ生成は実施
例2と同様である。
Example 3. FIG. 24 shows CAD /
9 is a flowchart illustrating a third embodiment when NC data is generated by the CAM device 100. The IH at the time of machining by the wire electric discharge machine 107 as in the second embodiment is M / C 108.
In the case of automatically determining the hole drilling shape in the case of drilling the hole in accordance with the size of the drilling shape including the IH position, the pilot hole shape registering means 303 of FIG. It is stored in the prepared hole shape storing means 305 (step 24-6-1), and only when the registered prepared hole shape and the wire electric discharge machining shape interfere with each other, the hole shape is determined as the prepared hole machining shape automatic determining means 302 in FIG. In step S6-2, the registered prepared hole shape is adopted as the prepared hole processing shape by the prepared hole shape automatic determining means 304 based on the interference / size determination if there is no interference (step 24-S6-2). For example, as shown in FIG. 25A, a case of determining a pilot hole of a square 2501 having a dimension of 50.00 on one side for wire electric discharge machining, and FIG.
As shown in FIG. 5 (b), the case of determining the pilot hole of the square 2502 having a dimension of 10.00 on one side will be taken as an example. Here, the prepared hole is registered in advance in the prepared prepared hole shape data storage means 305 as a hollow hole having a diameter of 15.0, a chamfer of 0.00, and a depth of 70.00 by the prepared hole shape registration means 303 of FIG. (Step 24-S6-1). First, IH position 25
A perfect circle 26 with a diameter of 15.00 centered on 03, 2504
01 and 2602 are obtained (FIG. 26). Next, it is checked whether or not the perfect circles 2601 and 2602 interfere with the shapes 2501 and 2502, and the pilot hole of the shape 2501 that has not interfered is the pilot hole shape registered in the registered pilot hole shape storing means 305. (FIG. 26A), the interfering shape 250
The prepared hole 2 (FIG. 26 (b-1)) is automatically determined by the prepared hole machining shape automatic determination means 302 like a perfect circle 2603 as in the second embodiment (FIG. 26 (b-2)). As described above, in step 24-S6-2, since the inscribed circle of the machining shape, which is always obtained in the second embodiment, is calculated only for the shape determined to interfere with the size determination, the processing speed is increased. Is improved. The storage of the prepared hole shape determined as described above, the procedure for defining and storing the processing conditions, and the NC data generation are the same as in the second embodiment.

【0044】実施例4.図27は、CAD/CAM装置
100でNCデータを生成するときの実施例4を説明す
るためのフローチャート図である。実施例4は、実施例
1のワイヤ放電加工機107のIHを下穴加工する加工
機(M/C)を形彫放電加工機109に置き換えたもの
である。図27に示すフローチャートに記述のワイヤ放
電加工機用NCデータ生成ブロックB2の手順とデータ
の格納例は実施例1のワイヤ放電加工機用NCデータ生
成ブロックと同じのため説明は省略する。次に図5の貫
通形状505〜510のIHを形彫放電加工機109で
加工するためのNCデータを生成する(ブロック27−
B5)。
Example 4. FIG. 27 is a flowchart for explaining the fourth embodiment when the NC data is generated by the CAD / CAM device 100. In the fourth embodiment, the machining machine (M / C) for preparing the IH of the wire electric discharge machine 107 of the first embodiment is replaced with the die-sinking electric discharge machine 109. The procedure of the NC data generation block for wire electric discharge machine B2 described in the flowchart shown in FIG. 27 and an example of data storage are the same as those of the NC data generation block for wire electric discharge machine of the first embodiment, and a description thereof will be omitted. Next, NC data for machining the IH of the penetrating shapes 505 to 510 in FIG. 5 by the die sinking electric discharge machine 109 is generated (block 27-).
B5).

【0045】図28は、前記フローチャートのIHを形
彫放電加工するNCデータ生成(ブロック27−B5)
に対応する画面表示遷移図である。28−1は製品の図
形データの画面、28−3は28−1の画面の破線枠2
8−2内を拡大したXY平面図の画面28−4と矢視図
の画面28−5を同時に表示させた状態の画面(このと
き矢視図には加工データが三次元上で確認できるように
XYZ軸で表示させるようにしている)、28−6は既
定義のワイヤ放電加工のIH位置を形彫放電加工位置と
して自動定義したときの結果の表示画面、28−7は2
8−6で定義した形彫放電加工位置に加工する電極を電
極登録表から選択している表示画面、28−8は設定結
果の表示画面、28−9は形彫放電加工位置に電極を押
し当てて加工するときの加工条件を加工条件設定表にて
定義している表示画面、28−10は28−9の設定結
果の表示画面、28−11は28−10までに定義され
た形彫放電加工データについてNCデータを生成した場
合の画面である。まず、実施例1と同様IH位置判別手
段307(図3)で定義済のIH位置をワイヤ放電用加
工形状から抽出する。抽出した位置データは、図3のデ
ータメモリ113の製品の図形データエリアと2次元加
工形状テーブルエリアに格納され、この位置データは図
3の形彫放電加工機用加工位置自動定義手段317で形
彫放電加工位置として自動定義される(ステップS1
3)。以上のように、従来人手で行なっていたワイヤ放
電加工のIHを形彫放電加工するための加工位置指定が
ステップS13で自動化される。自動定義された形彫放
電加工位置はマークにて画面上に表示される(28−
6)。次に自動定義された形彫放電加工位置にIHのた
めの形彫放電加工形状を定義する(S14)。形彫放電
加工形状定義はS13で定義した形彫放電加工位置に押
しあてる電極とその揺動パターンを決定しておこなう。
まず、登録されている電極を図29に示す一覧表で表示
して使用する電極を選ぶ。これによりIH位置にどうい
う電極を押しあてて加工するかが定義され、定義結果が
わかるように選択した電極形状を表すマークを画面上に
表示する(図31)。定義された電極形状はそのパター
ンと揺動条件で3次元加工定義テーブルに格納され、S
13で定義した形彫放電加工位置を格納している2次元
加工形状テーブルに接続される。続いて形彫放電加工機
用加工条件を定義する(S15)。既登録の形彫放電加
工条件群の中から相当する図30のような加工条件を選
択し、S14で定義した3次元加工定義テーブルに接続
する。以上ステップS15にて設定された加工条件は、
E1という識別名称でCRTディスプレイ102上に図
32のように表示される。このように定義され格納され
た形彫放電加工元データからステップS16でNCデー
タを生成する。
FIG. 28 shows NC data generation for performing the electric discharge machining of IH in the above flow chart (block 27-B5).
It is a screen display transition diagram corresponding to. 28-1 is a screen of the graphic data of the product, 28-3 is a broken line frame 2 of the screen of 28-1.
8-2 A screen in a state in which a screen 28-4 of an enlarged XY plan view and a screen 28-5 of an arrow view are simultaneously displayed (at this time, the processed data can be confirmed in three dimensions in the arrow view). 28-6 is a display screen of the result when the IH position of the already defined wire electric discharge machining is automatically defined as the die-sinking electric discharge machining position, 28-7 is 2
The display screen which selects the electrode to be machined at the die-sinking EDM position defined in 8-6 from the electrode registration table, 28-8 is the setting result display screen, 28-9 is the electrode pushed to the die-sinker EDM position. The display screen that defines the processing conditions for applying and processing in the processing condition setting table, 28-10 is the display screen of the setting result of 28-9, and 28-11 is the engraving defined by 28-10. It is a screen when NC data is generated about electric discharge machining data. First, as in the first embodiment, the IH position determination means 307 (FIG. 3) extracts the defined IH position from the wire discharge machining shape. The extracted position data is stored in the product graphic data area and the two-dimensional machining shape table area of the data memory 113 of FIG. 3, and this position data is formed by the machining position automatic defining means 317 for the die-sinking electric discharge machine of FIG. It is automatically defined as the engraving EDM position (step S1)
3). As described above, in step S13, the machining position designation for die-sinking electric discharge machining of IH of wire electric discharge machining, which is conventionally performed manually, is automated. The automatically defined die-sinking EDM position is displayed as a mark on the screen (28-
6). Next, a die-sinking EDM shape for IH is defined at the automatically defined die-sinking EDM position (S14). The shape of the die-sinking electric discharge machining is defined by determining the electrode to be pressed at the die-sinking electric discharge machining position defined in S13 and its swing pattern.
First, the registered electrodes are displayed in the list shown in FIG. 29, and the electrode to be used is selected. As a result, what kind of electrode is pressed against the IH position to be processed is defined, and a mark indicating the selected electrode shape is displayed on the screen so that the definition result can be understood (FIG. 31). The defined electrode shape is stored in the three-dimensional machining definition table according to its pattern and swing condition, and S
It is connected to the two-dimensional machining shape table that stores the die-sinking electric discharge machining position defined in 13. Then, the machining conditions for the die-sinking electric discharge machine are defined (S15). Corresponding machining conditions as shown in FIG. 30 are selected from the already registered die-sinking electric discharge machining condition group and connected to the three-dimensional machining definition table defined in S14. The machining conditions set in step S15 above are
The identification name of E1 is displayed on the CRT display 102 as shown in FIG. NC data is generated in step S16 from the die-sinking electric discharge machining source data defined and stored in this manner.

【0046】実施例5.図33は本発明のCAD/CA
M装置100で図4の素材形状Wを1つのポケット形状
35−1を有する図35の製品に加工する場合であっ
て、M/C108でポケット加工を行ない、その削り残
しを形彫放電加工機109で加工する場合のNCデータ
生成手順を説明するためのフローチャートである。図3
4はM/C108でポケット加工を行なうときの画面表
示遷移図で、34−1は製品の図形データの画面、34
−2は34−1のXY平面図の画面34−3と矢視図の
画面34−4を同時に表示させた状態の画面(このとき
矢視図には加工データが三次元上で確認できるようにX
YZ軸で表示させるようにしている)で、XY平面図の
画面34−3でポケットの加工形状を定義している。3
4−5は加工形状定義結果の表示画面、34−6はポケ
ットを加工するときの加工条件を加工条件設定表にて定
義している表示画面、34−7は34−6の設定結果の
表示画面、34−8は34−7までに定義されたM/C
加工データについてNCデータを生成した場合の画面で
ある。図41は削り残し形状を形彫放電加工するときの
データメモリへの格納状態図である。まず、ブロックB
1(図33)で、実施例1と同様、製品の図形データを
作成し、図2のデータメモリ113内に図41の41−
BD1のように格納する。この図形データを図1のCR
Tディスプレイ102に表示すると図36のようにな
る。
Example 5. FIG. 33 shows CAD / CA of the present invention.
When the material shape W of FIG. 4 is processed by the M device 100 into the product of FIG. 35 having one pocket shape 35-1, pocket processing is performed by the M / C 108, and the uncut portion is left by the die-sinking electric discharge machine. 9 is a flowchart for explaining an NC data generation procedure when processing is performed by 109. Figure 3
4 is a screen display transition diagram when pocket machining is performed by the M / C 108, 34-1 is a screen of product graphic data, 34
-2 is a screen in a state in which an XY plan view screen 34-3 and an arrow view screen 34-4 of 34-1 are simultaneously displayed (at this time, the processing data can be confirmed in three dimensions in the arrow view. To X
In this case, the processing shape of the pocket is defined on the screen 34-3 of the XY plan view. Three
4-5 is a display screen of the machining shape definition result, 34-6 is a display screen in which the machining conditions for machining the pocket are defined in the machining condition setting table, 34-7 is a display of the setting result of 34-6. Screen, 34-8 is M / C defined up to 34-7
9 is a screen when NC data is generated for processed data. FIG. 41 is a storage state diagram in the data memory when performing the die-sinking electric discharge machining of the uncut shape. First, block B
1 (FIG. 33), the graphic data of the product is created in the same manner as the first embodiment, and the data 41 of FIG. 41 is stored in the data memory 113 of FIG.
Store like BD1. This graphic data can be
When it is displayed on the T display 102, it becomes as shown in FIG.

【0047】次に完成された製品の図形データをもとに
ポケット形状35−1をM/C108でポケット加工す
るNCデータを生成する(ブロック33−B6)。図3
7の(A)は、図34の34−3を拡大したもので、3
7−1,37−2,37−3,37−4の各要素を指定
してポケットの輪郭曲線を指定している画面、図37の
(B)は図34の34−5の拡大図で、ポケットの加工
形状が定義し終った画面、図37の(C)は図34の3
4−7の拡大図で、ポケットの加工定義が終了した画面
である。すなわち、まず製品の図形データから加工形状
を定義する。具体的にはポケット形状を構成する輪郭曲
線とポケット形状の深さとで加工形状を定義する。さら
に具体的には、まずステップS17でポケットを構成す
る輪郭曲線を図37の(A)のようにカーソルを37−
1,37−2,37−3,37−4にあわせて定義す
る。この輪郭曲線は図41の2次元加工形状テーブル4
1−1でひとまとめにして41−BD6−1のような形
で格納する。続いてステップS18でポケット形状の深
さ2をキーボード103により入力する。これによりデ
ータメモリ113の3次元加工定義テーブル41−2に
形状名がポケットで深さ2というデータが格納され、こ
の3次元加工定義テーブル41−2は2次元加工定義テ
ーブル41−1に接続される。この結果、CRTディス
プレイ102には図37の(B)のように前記定義され
たポケット形状が表示される。
Next, NC data for pocket machining the pocket shape 35-1 with the M / C 108 is generated based on the graphic data of the completed product (block 33-B6). Figure 3
34A is an enlarged view of 34-3 in FIG.
A screen in which each of the elements 7-1, 37-2, 37-3, and 37-4 is specified to specify the contour curve of the pocket. (B) of FIG. 37 is an enlarged view of 34-5 of FIG. 34. , The screen where the machining shape of the pocket has been defined, FIG. 37C shows 3 of FIG.
4 is an enlarged view of 4-7, which is a screen in which processing definition of a pocket is completed. That is, first, the processed shape is defined from the graphic data of the product. Specifically, the processed shape is defined by the contour curve forming the pocket shape and the depth of the pocket shape. More specifically, first, in step S17, the contour curve forming the pocket is moved to the cursor 37- as shown in FIG.
1, 37-2, 37-3, 37-4 are defined. This contour curve is the two-dimensional machining shape table 4 of FIG.
The data is collectively stored in 1-1 and stored in the form of 41-BD6-1. Then, in step S18, the depth 2 of the pocket shape is input using the keyboard 103. As a result, the data that the shape name is the pocket and the depth is 2 is stored in the three-dimensional machining definition table 41-2 of the data memory 113, and this three-dimensional machining definition table 41-2 is connected to the two-dimensional machining definition table 41-1. It As a result, the CRT display 102 displays the defined pocket shape as shown in FIG. 37 (B).

【0048】次にステップS19で加工条件を定義す
る。定義された加工条件は加工条件定義テーブル41−
3に格納され、前記3次元加工定義テーブル41−2に
接続される。このように図33のブロック33−B6で
作成された結果は図41の41−BD6−2のような形
でデータメモリ113内に格納され、これをCRTディ
スプレイ102で表示させると図37の37−Cのよう
になる。以上のように定義されたM/C加工定義データ
で生成されたNCデータにより素材W(図4)を加工し
た結果は、ポケットの4隅に工具半径R2.0分の削り
残しが生じる。図38の(A)は前記M/C108にて
加工した後の製品の形状であり、図38の(B)は削り
残し部分を斜線で示した図である。
Next, the processing conditions are defined in step S19. The defined machining conditions are the machining condition definition table 41-
3 and is connected to the three-dimensional processing definition table 41-2. The result thus created in the block 33-B6 of FIG. 33 is stored in the data memory 113 in the form of 41-BD6-2 of FIG. 41, and when it is displayed on the CRT display 102, the result of 37 of FIG. -It becomes like C. As a result of processing the material W (FIG. 4) by the NC data generated by the M / C processing definition data defined as described above, uncut parts corresponding to the tool radius R2.0 occur at the four corners of the pocket. 38A is the shape of the product after being processed by the M / C 108, and FIG. 38B is a diagram in which the uncut portion is shown by hatching.

【0049】次に、削り残し部分を形彫放電加工機10
9で加工するNCデータの生成を行なう(ブロック33
−B7)。図39の(A)は削り残し形状を認識して図
2のデータメモリ113に格納したものを表示した画
面、図39の(B)は右上の削り残し形状に対して形彫
放電加工定義終了時の画面、図39の(C)は全ての削
り残し形状に対して形彫放電加工定義終了時の画面であ
る。まず、ステップS21で本発明のCAD/CAM装
置100のプログラムメモリ112内にある図3の削り
残し形状認識手段309を起動して、データメモリ11
3に格納されているポケット加工形状と加工条件とから
生成されるNCデータによる加工経路と加工したい形状
とから削り残し形状を認識し、削り残し形状を加工形状
として自動定義し、データメモリ113に格納する。格
納の形式は図41の41−BD7−1のようであり、こ
れをCRTディスプレイ102で表示させると図39の
(A)のようである。次にステップS22で、プログラ
ムメモリ112内にある図3の形彫放電加工機用加工形
状自動定義手段310を起動して、ステップS23で自
動定義した加工形状を形彫放電加工するための電極形状
と電極基準位置を揺動パターンと揺動係数により決定す
る。具体的には、削り残し形状(図39の39−1)を
x,y平面上で見た図(図40の(A))を指定の揺動
パターンと揺動係数により揺動分だけ変形して図40の
(B)に示す電極形状40−1と電極基準位置40−2
を決定する。また、この場合、電極形状を四角とするこ
ともできる。決定された電極基準位置は形彫放電加工位
置として図41の2次元加工定義テーブル41−4に、
また電極形状は3次元加工定義テーブル41−5に格納
する。以上のように、従来人手で行なっていた削り残し
形状の判別とその削り残し形状を形彫放電加工で加工す
る時の加工位置と加工位置に押し当てる電極形状の指定
をステップS21,S22,S23で自動化することが
できる。
Next, the uncut portion is subjected to a die-sinking electric discharge machine 10.
The NC data to be processed in 9 is generated (block 33).
-B7). FIG. 39 (A) is a screen displaying the uncut shape recognized and stored in the data memory 113 of FIG. 2, and FIG. 39 (B) is the end of die-sinking electrical discharge machining definition for the uncut uncut shape in the upper right. A screen at the time, (C) of FIG. 39 is a screen at the time of finishing the electro-erosion machining definition for all the uncut parts. First, in step S21, the uncut shape recognizing means 309 of FIG. 3 in the program memory 112 of the CAD / CAM apparatus 100 of the present invention is activated to activate the data memory 11
The non-cutting shape is recognized from the machining path and the shape to be machined based on the NC data generated from the pocket machining shape and machining conditions stored in No. 3, and the non-machining shape is automatically defined as the machining shape, and stored in the data memory 113. Store. The storage format is as shown in 41-BD7-1 in FIG. 41, and when it is displayed on the CRT display 102, it is as shown in FIG. 39 (A). Next, in step S22, the machining shape automatic defining means 310 for the die-sinking electric discharge machine of FIG. 3 in the program memory 112 is activated, and the electrode shape for die-sinking electric discharge machining of the machining shape automatically defined in step S23. The electrode reference position is determined by the swing pattern and swing coefficient. Specifically, a view (39A in FIG. 39) of the uncut portion viewed on the x and y planes ((A) in FIG. 40) is deformed by the amount of rocking according to a specified rocking pattern and rocking coefficient. Then, the electrode shape 40-1 and the electrode reference position 40-2 shown in FIG.
To decide. Further, in this case, the shape of the electrodes may be square. The determined electrode reference position is set as the die-sinking electric discharge machining position in the two-dimensional machining definition table 41-4 of FIG.
The electrode shape is stored in the three-dimensional processing definition table 41-5. As described above, steps S21, S22, and S23 are performed to manually determine the shape of the uncut portion and manually specify the processing position and the electrode shape to be pressed against the processing position when the remaining shape is machined by die-sinking electrical discharge machining. Can be automated with.

【0050】次にステップS24で形彫放電加工条件を
定義し、定義されたデータをデータメモリ113内の加
工条件テーブル41−6に格納し、この加工条件テーブ
ル41−6は電極形状が格納された3次元加工定義テー
ブル41−5に接続される。この結果は、CRTディス
プレイ102に図39の(B)のようにE1という識別
名称で表示され、削り残し形状39−2〜39−4につ
いても同様に加工定義を行なった結果は図39の(C)
のように表示される。以上ブロック33−B7で定義さ
れた結果はデータメモリ113に41−BD7−2のよ
うに格納される。上記実施例では、電極形状と電極基準
位置を自動決定する電極自動決定手段311(図3)を
用いたが、電極形状は従来どおり人が行ない、電極基準
位置のみを自動決定するようにしても良い。
Next, in step S24, the die-sinking electric discharge machining condition is defined, and the defined data is stored in the machining condition table 41-6 in the data memory 113. The machining condition table 41-6 stores the electrode shape. It is connected to the three-dimensional processing definition table 41-5. This result is displayed on the CRT display 102 with an identification name of E1 as shown in FIG. 39B, and the result of similarly performing the machining definition for the uncut parts 39-2 to 39-4 is shown in FIG. C)
Is displayed. The result defined in the block 33-B7 is stored in the data memory 113 as 41-BD7-2. In the above-mentioned embodiment, the electrode automatic determining means 311 (FIG. 3) for automatically determining the electrode shape and the electrode reference position is used. However, a person may perform the electrode shape as usual, and only the electrode reference position may be automatically determined. good.

【0051】実施例6.図42は本発明のCAD/CA
M装置100で図4の素材形状Wを1つのポケット形状
35−1を有する図35の製品に加工する場合であっ
て、M/C108でポケット加工を行ない、その削り残
しを研磨加工機たるジググラインダ110で加工する場
合のNCデータ生成手順を説明するためのフローチャー
トである。図43は削り残し形状をジググラインダ11
0で加工するときの画面表示遷移図である。図43の
(A)は削り残し形状を認識してデータメモリに格納し
たものを表示した画面、図43の(B)はジググライン
ダ110の加工条件設定時の画面、図43の(C)は全
削り残し形状に加工定義を行なった結果の画面、図43
の(D)は定義した削り残し形状をNCデータ生成した
表示画面である。まず、実施例5と同様、ブロックB1
で製品の図形データを作成し、ブロック33−B6でポ
ケット形状35−1をM/C108でポケット加工する
NCデータを生成する。ブロックB1で作成されたデー
タは、実施例5と同様、図44の41−BD1のように
格納され、ブロック33−B6で作成されたデータは図
44の41−BD6−2のように格納される。次に、ブ
ロック42−B8で、ブロック33−B6で削り残され
た形状をジググラインダ加工するNCデータを生成す
る。まず、ステップS21で、実施例5と同様、削り残
し形状を自動認識し、加工形状としてデータメモリ11
3に41−BD7−1のように格納する。次にステップ
S26で自動定義した加工形状をジググラインダ用加工
形状自動定義手段312によりジググラインダ加工する
ための加工形状データとして定義する。この場合、削り
残し形状をそのままジググラインダ加工形状データにす
ることができる。次にステップS27で自動定義された
加工形状を加工するジググラインダ110の加工条件を
定義し、定義された加工データをデータメモリ113内
の図44の加工条件テーブル44−1に格納し、この加
工条件テーブル44−1は自動定義された加工形状41
−BD7−1の2次元加工定義テーブルに接続される。
このように図42のブロック42−B8で作成された結
果は、図44の44−BD8のような形でデータメモリ
113に格納される。以上のように、従来人手で行なっ
ていた削り残し形状の判別とその削り残し形状をジググ
ラインダ110で加工するときの加工形状定義をステッ
プS21,S26で自動化することができる。このよう
に定義され格納されたジググラインダ加工元データから
ステップ28でNCデータを生成する。
Example 6. FIG. 42 shows CAD / CA of the present invention.
When the material shape W of FIG. 4 is processed by the M apparatus 100 into the product of FIG. 35 having one pocket shape 35-1, pocket processing is performed by the M / C 108, and the uncut portion is left as a polishing machine jig. It is a flow chart for explaining NC data generation procedure at the time of processing with grinder 110. FIG. 43 shows the jig grinder 11 with the shape left uncut.
It is a screen display transition diagram at the time of processing by 0. FIG. 43A shows a screen displaying a shape left uncut and stored in a data memory, FIG. 43B shows a screen for setting machining conditions of the jig grinder 110, and FIG. 43C shows Screen showing the result of machining definition for all uncut parts, Fig. 43
(D) is a display screen in which NC data is generated for the defined uncut shape. First, as in the fifth embodiment, block B1
In step 33-B6, NC data for creating pocket data for the pocket shape 35-1 is generated in step 33-B6. The data created in block B1 is stored as 41-BD1 in FIG. 44, and the data created in block 33-B6 is stored as 41-BD6-2 in FIG. 44, as in the fifth embodiment. It Next, in block 42-B8, NC data for jig-grinding the shape left uncut in block 33-B6 is generated. First, in step S21, similarly to the fifth embodiment, the uncut portion shape is automatically recognized, and the data memory 11 is set as the processed shape.
It stores in 3 like 41-BD7-1. Next, the machining shape automatically defined in step S26 is defined as machining shape data for jig grinder machining by the jig grinder machining shape automatic defining means 312. In this case, the uncut shape can be directly used as jig grinder processing shape data. Next, the machining conditions of the jig grinder 110 for machining the machining shape automatically defined in step S27 are defined, and the defined machining data is stored in the machining condition table 44-1 of FIG. The condition table 44-1 is the automatically defined machining shape 41.
-Connected to the two-dimensional processing definition table of BD7-1.
The result thus created in block 42-B8 of FIG. 42 is stored in the data memory 113 in the form of 44-BD8 of FIG. As described above, it is possible to automate the determination of the shape of the uncut portion, which is conventionally done manually, and the definition of the processing shape when the shape of the uncut portion is processed by the jig grinder 110 in steps S21 and S26. In step 28, NC data is generated from the jig grinder processing source data thus defined and stored.

【0052】実施例7.図45は本発明のCAD/CA
M装置で複数機種に渡って加工条件定義をする場合に、
それぞれの機種対応の加工条件を自動定義する実施例7
を説明するためのフローチャートである。例えば、M/
C用の加工データを作成する際、加工形状を定義した
(ステップ45−S1)後加工条件を定義する場合に、
図3の機種依存加工条件自動決定手段314にて定義し
た加工形状を何れの機種で加工するかを機種判別手段3
13で設定し、加工条件を自動決定させる。具体的に
は、図46に示すように、マウスを46−1に移動させ
押下してワイヤ放電加工設定宣言をする。続いてワイヤ
放電加工する加工形状を選択する。尚、マシニングセン
タ108で加工する形状の場合は、M/C加工設定宣言
をしてから加工形状を選択する。ここで、ワークの材質
及び工具の材質は、あらかじめ設定されているものとす
る。上記加工機設定宣言をすることで、ワークの材質と
工具の材質と定義されている加工形状を加工する機種の
タイプにより、加工条件を自動決定する。加工条件を自
動決定する前の加工条件を図47に、自動決定した後の
加工条件を図48に示す。
Example 7. FIG. 45 shows the CAD / CA of the present invention.
When processing conditions are defined for multiple models with M equipment,
Example 7 of automatically defining machining conditions corresponding to each model
4 is a flowchart for explaining For example, M /
When creating the machining data for C, when the machining shape is defined (step 45-S1) and the machining condition is defined,
The model discriminating unit 3 determines which model is used to machine the machining shape defined by the model-dependent machining condition automatic determining unit 314 in FIG.
The processing conditions are automatically set by setting in step 13. Specifically, as shown in FIG. 46, the mouse is moved to 46-1 and pressed to declare the wire electric discharge machining setting. Subsequently, a machining shape for wire electric discharge machining is selected. In the case of the shape to be machined by the machining center 108, the machining shape is selected after the M / C machining setting declaration is made. Here, the material of the workpiece and the material of the tool are set in advance. By declaring the processing machine setting, the processing conditions are automatically determined according to the type of the model for processing the defined processing material and tool material. 47 shows the processing conditions before the processing conditions are automatically determined, and FIG. 48 shows the processing conditions after the processing conditions are automatically determined.

【0053】実施例8.図49は、本発明のCAD/C
AM装置100で定義された製品の図形データの中の特
徴位置を各機種対応の加工の特徴位置として取り込む場
合の実施例8を説明するためのフローチャートである。
本実施例は、実施例1と同様、ワイヤ放電加工機109
のIHをマシニングセンタ108で下穴加工する場合の
IH位置定義で、該当位置を製品の図形データを表示し
たCRTディスプレイ102上で指定するが、製品の図
形データの特徴位置判別手段315で製品の図形データ
の特徴位置をIH位置に指定することもできる。指定方
法を工夫して加工位置のみでなく下穴形状も自動定義で
きる。まず、図49に示すフローチャートのブロックB
1で製品の図形データを作成する。この時、IHの下穴
形状を表す情報を特定の図形データで定義しておく。例
えば径1.50の色、線種とも通常の円をした穴形状と
して取り決める。このように図49のB1で定義された
結果は、実施例1と同様、図52のBD1のような形で
データメモリ113に格納される。
Example 8. FIG. 49 shows CAD / C of the present invention.
9 is a flowchart for explaining an eighth embodiment in which the characteristic position in the graphic data of the product defined by the AM device 100 is fetched as the characteristic position of the machining corresponding to each model.
In this embodiment, the wire electric discharge machine 109 is similar to the first embodiment.
In the IH position definition when the IH of the above is machined by the machining center 108, the corresponding position is specified on the CRT display 102 displaying the product graphic data. The characteristic position of the data can be designated as the IH position. By devising the designation method, not only the machining position but also the pilot hole shape can be automatically defined. First, block B of the flowchart shown in FIG.
1 creates product graphic data. At this time, information representing the pilot hole shape of the IH is defined by specific graphic data. For example, the color of the diameter of 1.50 and the type of wire are arranged as a regular circular hole shape. The result defined by B1 in FIG. 49 is stored in the data memory 113 in the same format as BD1 in FIG. 52, as in the first embodiment.

【0054】次に、ワイヤ放電加工用NCデータ生成ブ
ロック49−B2のステップ49−S1でワイヤ放電加
工のためのIH位置を定義する。従来装置の説明と同
様、貫通形状の1つである図5の505のワイヤ放電加
工NCデータを図66の66−1に示す破線枠内を拡大
した図50の図面上で作成する。まず、IH位置を決定
するために図1のマウス104でカーソルをIHを表す
円近傍50−1に移動させてヒットする(図50)。こ
れにより指定された円の中心位置がIHとして定義さ
れ、画面上にIHが定義されたことがわかるマークが表
示される(図51)。次に、505の貫通形状の加工形
状の決定と加工条件の決定と前記ワイヤ放電加工データ
に基づくNCデータ生成を、実施例1と同様、ブロック
49−B2の操作手順、すなわちステップS2,S3,
S4の順で行う。同様にして貫通形状506〜510の
ワイヤ放電加工NCデータを作成する。
Next, the IH position for wire electric discharge machining is defined in step 49-S1 of the NC data generation block 49-B2 for wire electric discharge machining. Similarly to the description of the conventional apparatus, the wire electric discharge machining NC data of 505 of FIG. 5 which is one of the penetrating shapes is created on the drawing of FIG. 50 in which the broken line frame indicated by 66-1 in FIG. 66 is enlarged. First, in order to determine the IH position, the mouse 104 in FIG. 1 is used to move the cursor to the vicinity 50-1 of the circle representing IH and hit (FIG. 50). As a result, the center position of the designated circle is defined as IH, and a mark indicating that IH is defined is displayed on the screen (FIG. 51). Next, as in the case of the first embodiment, the operation procedure of block 49-B2, that is, steps S2, S3, is performed to determine the machining shape of the penetrating shape of 505, determine the machining conditions, and generate NC data based on the wire electric discharge machining data.
Perform in the order of S4. Similarly, wire electric discharge machining NC data of the penetrating shapes 506 to 510 is created.

【0055】作成されたワイヤ放電加工NCデータは図
52の52−BD2のような形で図2のデータメモリ1
13内に格納する。この格納の推移は次のようである。
まず、ワイヤ放電加工機107のIHを作成した時点
で、要素データ52−1とその要素データがIH位置を
意味することを識別するための属性52−2とが接続さ
れて格納される。また、IHを定義する時に、製品の図
形データを分解した要素データのうち52−3の円を、
IH位置として作成した要素データ52−1に接続す
る。続くワイヤ放電加工形状・加工条件定義では、実施
例1と同様、2次元加工定義テーブル52−4と加工条
件テーブル52−5に格納される。次に、ワイヤ放電加
工機107のIHをM/C108で加工するための加工
データを作成する手順を図49のブロック49−B3の
各ステップに従って説明する。まず、ステップ49−S
5で、実施例1と同様、すでに図2のデータメモリ11
3に格納されている図52のBD1,52−BD2に示
したデータの中からワイヤ放電加工機107のIH位置
を検索して自動定義する。
The created wire electric discharge machining NC data is in the form of 52-BD2 of FIG. 52 and is in the data memory 1 of FIG.
Stored in 13. The transition of this storage is as follows.
First, when the IH of the wire electric discharge machine 107 is created, the element data 52-1 and the attribute 52-2 for identifying that the element data mean the IH position are connected and stored. Also, when defining IH, the 52-3 circle of the element data obtained by decomposing the graphic data of the product is
The element data 52-1 created as the IH position is connected. The subsequent wire electric discharge machining shape / machining condition definition is stored in the two-dimensional machining definition table 52-4 and the machining condition table 52-5, as in the first embodiment. Next, a procedure for creating machining data for machining the IH of the wire electric discharge machine 107 with the M / C 108 will be described according to each step of block 49-B3 in FIG. First, step 49-S
5, similar to the first embodiment, the data memory 11 of FIG.
The IH position of the wire electric discharge machine 107 is searched and automatically defined from the data shown in BD1, 52-BD2 of FIG.

【0056】検索したIH位置が格納されている要素デ
ータにその要素データの位置が同時に穴加工位置を示す
ものであるという情報を付す。このとき付加される穴加
工位置情報は、穴加工位置をひとまとめにするための2
次元加工定義テーブル52−6と、IH属性をもつ要素
データに格納されるテーブル番号2(52−7,…,5
2−7)である。また検索した形状が穴形状を決定する
ための要素データに接続されている場合は、ステップ4
9−S6でIH位置を定義した時の指定円の直径をキー
ワードとする穴加工形状を自動定義し、図52に示す3
次元加工定義テーブル52−8とに格納し、すでに穴加
工位置情報が格納されている2次元加工定義テーブル5
2−6に接続する。上記自動定義の方法として、穴形状
を決定するための要素データ(この場合円)の寸法(こ
の場合直径)をキーワードとする図53の穴形状決定表
を用意する。図7の製品の図形データの中で径1.50
の色、線種とも通常である円は、この表で穴形状タイプ
がKDNで呼び名称がD015と決まる。KDNは図5
4に示す骨格をもつ穴形状で、図55に示すD015の
呼び名称により、径D1が1.50、深さZ1が13、
面取量C1が0.0の寸法をもつものと一義に定義され
る。例えば、図53の表で、53−1〜53−3の列
は、製品の図形データの中で、どの図形データを穴と決
定するかを指定するもので、この決定表の場合、円を穴
と決定することを前提に、それぞれ53−1は円の径、
53−2は色、53−3は線種である。53−4と53
−5の列は穴形状を指定するもので、それぞれ53−4
は穴形状タイプ、53−5は呼び名称である。53−1
〜53−3の列で設定された情報をもつ図形データが5
3−4で指定の形状タイプ、53−5で指定の呼び名称
の穴として自動定義される。以上のように、従来人手で
行なっていた下穴形状の指定をステップ49−S6で自
動化する。ステップS7でM/C加工IH穴加工条件を
定義し、ステップS8でM/C加工NCデータを生成す
る。このように、ブロック41−B3で定義された結果
は、データメモリ113に52−BD3のように格納さ
れる。
Information that the position of the element data at the same time indicates the drilling position is added to the element data in which the retrieved IH position is stored. The hole machining position information added at this time is 2 for grouping the hole machining positions.
The dimension processing definition table 52-6 and the table number 2 (52-7, ..., 5) stored in the element data having the IH attribute
2-7). If the retrieved shape is connected to the element data for determining the hole shape, step 4
9-S6 automatically defines the hole machining shape with the diameter of the designated circle when the IH position is defined in S6 as a keyword.
The two-dimensional machining definition table 5 stored in the three-dimensional machining definition table 52-8 and in which the hole machining position information is already stored
Connect to 2-6. As the automatic definition method, the hole shape determination table of FIG. 53 is prepared in which the dimension (in this case, diameter) of the element data (circle in this case) for determining the hole shape is used as a keyword. Diameter 1.50 in the figure data of the product in FIG.
In this table, the hole shape type is KDN, and the nominal name of the circle whose color and line type is normal is D015. Figure 5 for KDN
In the hole shape having the skeleton shown in FIG. 4, the diameter D1 is 1.50 and the depth Z1 is 13, according to the nominal name of D015 shown in FIG.
The chamfering amount C1 is uniquely defined as having a dimension of 0.0. For example, in the table of FIG. 53, the columns 53-1 to 53-3 specify which figure data is determined as a hole in the figure data of a product. Assuming that the holes are holes, 53-1 is the diameter of the circle,
53-2 is a color and 53-3 is a line type. 53-4 and 53
The row of -5 designates the hole shape.
Is a hole shape type, and 53-5 is a nominal name. 53-1
5 to 5-3 having the information set in the columns of
The shape type specified in 3-4 is automatically defined as a hole having the nominal name specified in 53-5. As described above, the designation of the prepared hole shape, which is conventionally performed manually, is automated in step 49-S6. In step S7, M / C machining IH hole machining conditions are defined, and in step S8 M / C machining NC data is generated. In this way, the result defined in the block 41-B3 is stored in the data memory 113 as 52-BD3.

【0057】上記実施例では、製品の図形データの中で
指定した特徴の円が指定した特徴の円毎に表で対応づけ
られた穴形状に自動定義されるが、その他に、指定した
特徴の正方形を指定ポケット形状に自動定義したり、指
定した特徴の点を指定電極で加工の形彫放電位置として
自動定義することもできる。製品の図形データの中で特
徴づけられる任意の図形データを、製品の図形データの
特徴位置判別手段315で判断し、形彫放電加工機用加
工位置自動定義手段316、ワイヤ放電加工機用加工位
置自動定義手段317、マシニングセンタ用加工位置自
動定義手段318で各種加工機対応の加工データとして
取り込むことができる。
In the above embodiment, the circle of the feature specified in the graphic data of the product is automatically defined as the hole shape associated with each circle of the specified feature in the table. It is also possible to automatically define a square as a designated pocket shape, or automatically define a point of a designated feature as a die-sinking discharge position for machining with a designated electrode. Arbitrary graphic data characterized in the product graphic data is judged by the product graphic data characteristic position judging means 315, and the machining position automatic defining means 316 for die-sinking electric discharge machine and the machining position for wire electric discharge machine. The automatic definition means 317 and the machining center automatic machining position definition means 318 can take in processing data corresponding to various processing machines.

【0058】実施例9.図56は本発明のCAD/CA
M装置100で定義された製品の図形データの中の特徴
位置又は形状を各機種対応の加工の特徴位置又は形状に
取り込む場合の実施例9を説明するためのフローチャー
トである。本実施例の場合、指定形状の穴位置を形彫放
電加工位置とする。まず、実施例1のブロックB4と同
手順で図57に示す製品の図形データの57−1,57
−2,57−3,57−4の位置に図58の座ぐり穴を
定義し、図2のデータメモリ113内に図59のBD4
の形でデータを格納する。次に、図56のブロック56
−B9のステップ56−S13で、格納されているデー
タの中から図58の寸法をもつ穴形状が配置されている
位置を検索し、その位置を形彫放電加工機用加工位置自
動定義手段316で形彫放電加工位置として自動定義す
る。データメモリ113には図59の59−BD7が付
加される。この様子をCRTディスプレイ102に表示
すると図60のようになる。以上のように、従来人手で
行なっていた定義済の穴加工位置を形彫放電加工位置と
して定義する手順をステップ56−S13で自動化す
る。尚、先の実施例で説明した同符号の部分は後の実施
例では説明を省略した。
Example 9. FIG. 56 shows CAD / CA of the present invention.
9 is a flowchart for explaining a ninth embodiment in which the characteristic position or shape in the graphic data of the product defined by the M device 100 is taken into the characteristic position or shape of the machining corresponding to each model. In the case of the present embodiment, the hole position of the specified shape is the die-sinking electric discharge machining position. First, in the same procedure as that of the block B4 of the first embodiment, the product graphic data 57-1 and 57 shown in FIG.
The counterbore hole of FIG. 58 is defined at the positions of −2, 57-3, and 57-4, and BD4 of FIG. 59 is stored in the data memory 113 of FIG.
Store data in the form of. Next, block 56 of FIG.
In step 56-S13 of B9, the position where the hole shape having the dimensions shown in FIG. 58 is arranged is searched from the stored data, and the position is automatically defined by the machining position defining means 316 for the die-sinking electric discharge machine. Is automatically defined as the die-sinking EDM position. 59-BD7 of FIG. 59 is added to the data memory 113. This state is displayed on the CRT display 102 as shown in FIG. As described above, the procedure of manually defining the defined hole machining position by hand as the die-sinking electric discharge machining position is automated in step 56-S13. Incidentally, the explanation of the portions having the same reference numerals explained in the previous embodiment is omitted in the latter embodiments.

【0059】[0059]

【発明の効果】本発明のCAD/CAM装置によるとき
は、製品の図形データから2次元加工形状や3次元加工
形状を加工機に依存しない形で定義できるようにし、前
記2次元加工形状もしくは3次元加工形状に基づいて出
力する加工機の種類や工程順序や加工方法などの加工条
件を定義できるようにしたので、既定義の加工形状に対
して各種の出力加工機を指定することができる効果を有
する。例えば、加工経路が2次元平面内を移動するレー
ザ加工機やワイヤ放電加工機に関しては、定義されてい
る2次元加工形状に対して加工条件を定義することがで
き、マシニングセンタなど加工経路が3次元空間内を移
動するものの場合は3次元加工形状に対して加工条件を
定義することができる。また、例えばマシニングセンタ
用NCデータ生成にて削り残し部分を加工形状として定
義しておけば、削り残し部分の加工を行ういずれの加工
機の加工条件も定義できる。
According to the CAD / CAM apparatus of the present invention, the two-dimensional machined shape or the three-dimensional machined shape can be defined from the figure data of the product in a form independent of the machine, and the two-dimensional machined shape or the three-dimensional machined shape can be defined. Since it is possible to define the processing conditions such as the type of processing machine, the process sequence, and the processing method that are output based on the three-dimensional processing shape, it is possible to specify various output processing machines for the defined processing shape. Have. For example, with respect to a laser beam machine or a wire electric discharge machine in which a machining path moves in a two-dimensional plane, machining conditions can be defined for a defined two-dimensional machining shape, and a machining path such as a machining center has a three-dimensional machining path. In the case of moving in space, the processing conditions can be defined for the three-dimensional processing shape. Further, for example, if the uncut portion is defined as the machining shape by the NC data generation for machining center, the processing conditions of any processing machine that processes the uncut portion can be defined.

【0060】また、本発明のCAD/CAM装置による
ときは、2次元加工形状及び3次元加工形状を認識する
ことなしに、製品の図形データを分解した要素データに
基づいて加工形状・加工条件を定義することができる。
When the CAD / CAM apparatus of the present invention is used, the machining shape / machining condition is determined based on the element data obtained by decomposing the figure data of the product without recognizing the two-dimensional machining shape and the three-dimensional machining shape. Can be defined.

【0061】また、本発明のCAD/CAM装置による
ときは、下穴加工の形状を加工形状の大きさによって自
動決定できるようにしたので、下穴形状定義手段を省略
できる効果を有する。
Further, according to the CAD / CAM apparatus of the present invention, since the shape of the prepared hole can be automatically determined according to the size of the processed shape, the prepared hole shape defining means can be omitted.

【0062】また、本発明のCAD/CAM装置による
ときは、常に参照する下穴形状を登録しておくことによ
り、下穴と対応加工形状が干渉した場合のみ加工形状に
依存した下穴形状が自動生成されるので、下穴形状が同
一形状で統一されることになると共に余分な干渉チェッ
クの必要がなくなり、応答性(速度性能)が良くなる効
果を有する。
When the CAD / CAM apparatus of the present invention is used, the pilot hole shape to be referred to is always registered, so that the pilot hole shape depending on the machined shape can be obtained only when the pilot hole and the corresponding machined shape interfere with each other. Since it is automatically generated, the prepared hole shape is unified and the extra interference check is not required, and the response (speed performance) is improved.

【0063】また、本発明のCAD/CAM装置による
ときは、ワイヤ放電加工機のイニシャルホール位置を形
彫放電加工機の加工位置に利用することができるので、
すでに加工定義されているデータに対して、形彫放電加
工機の加工定義をする場合、形彫放電加工機の加工位置
を入力する必要がなくなる効果を有する。
Further, according to the CAD / CAM apparatus of the present invention, the initial hole position of the wire electric discharge machine can be used as the machining position of the die-sinking electric discharge machine.
When the machining definition of the die-sinking electric discharge machine is performed on the data that has already been machining-defined, there is an effect that it is not necessary to input the machining position of the die-sinker electric discharge machine.

【0064】また、本発明のCAD/CAM装置による
ときは、ワイヤ放電加工機のイニシャルホール位置をマ
ニシングセンタの加工定義をする場合、マニシングセン
タの穴加工位置を入力する必要がなくなる効果を有す
る。
Further, according to the CAD / CAM device of the present invention, when the machining center is defined as the initial hole position of the wire electric discharge machine, it is not necessary to input the hole machining position of the machining center. Have.

【0065】本発明のCAD/CAM装置によるとき
は、他の加工機で削り残された形状を形彫放電加工機で
加工する場合、加工形状が自動定義され、電極形状が自
動決定されるので、削り残し部の人手によるチェック及
び加工定義が省略できる効果を有する。
According to the CAD / CAM device of the present invention, when a shape left unmachined by another machining machine is machined by a die-sinking electric discharge machine, the machining shape is automatically defined and the electrode shape is automatically determined. In addition, it has an effect that the manual check of the uncut portion and the machining definition can be omitted.

【0066】また、本発明のCAD/CAM装置による
ときは、他の加工機で削り残された形状を、研磨加工機
で加工する場合、加工形状が自動定義されるので、削り
残し部の人手によるチェック及び加工定義が省略できる
効果を有する。
Further, in the CAD / CAM device of the present invention, when a shape left uncut by another processing machine is processed by a polishing processing machine, the processed shape is automatically defined. It has an effect that the check and the processing definition can be omitted.

【0067】また、本発明のCAD/CAM装置による
ときは、加工する素材や工具の種別や加工機の種別か
ら、加工条件が自動決定されるので、加工機のもつ精度
等から決まる加工条件の設定を省略することができる効
果を有する。
When the CAD / CAM device of the present invention is used, the processing conditions are automatically determined from the material to be processed, the type of tool, and the type of processing machine. This has the effect that the setting can be omitted.

【0068】また、本発明のCAD/CAM装置による
ときは、製品図の設計時に製品の図形データの中から特
徴付けられる位置(例えば指定属性の付された位置)
を、マシニングセンタの加工定義の穴加工位置や形彫放
電加工機の加工定義の放電位置やワイヤ放電加工機のイ
ニシャルホール位置に自動的に定義でき、自動化が可能
となる効果を有し、また異なる加工機で加工する場合、
加工定義において再度各位置を入力する必要がなくなる
効果を有する。
When the CAD / CAM device of the present invention is used, the position characterized by the graphic data of the product at the time of designing the product drawing (for example, the position with the designated attribute).
Can be automatically defined to the machining definition of the machining center, the machining position of the die-sinking EDM machine, or the initial hole position of the wire EDM machine, which has the effect of enabling automation. When processing with a processing machine,
This has the effect of eliminating the need to input each position again in the processing definition.

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

【図1】本発明のCAD/CAM装置でNCデータを生
成する際の実施の一例を示す全体の外観図である。全実
施例に共通するものである。
FIG. 1 is an overall external view showing an example of implementation when NC data is generated by a CAD / CAM device of the present invention. This is common to all the examples.

【図2】そのハードウェア構成図である。FIG. 2 is a hardware configuration diagram thereof.

【図3】その格納部(プログラムメモリとデータメモ
リ)の複数機種間相互参照型データ構造を説明する図で
ある。
FIG. 3 is a diagram illustrating a cross-reference type data structure between a plurality of models of a storage unit (a program memory and a data memory).

【図4】素材の一例を示す図である。FIG. 4 is a diagram showing an example of a material.

【図5】製品の一例を示す図である。FIG. 5 is a diagram showing an example of a product.

【図6】本発明の実施例1のフローチャートである。FIG. 6 is a flowchart of Embodiment 1 of the present invention.

【図7】製品の図形データをCRTディスプレイに表示
させた画面図である。
FIG. 7 is a screen view in which graphic data of a product is displayed on a CRT display.

【図8】本発明の実施例1のデータメモリへの格納状態
を示す図である。
FIG. 8 is a diagram showing a storage state in a data memory according to the first embodiment of the present invention.

【図9】実施例1のワイヤ放電加工形状の定義からNC
データ生成までのCRTディスプレイ上の画面表示遷移
図である。
FIG. 9: NC from the definition of the wire electric discharge machining shape of Example 1
It is a screen display transition diagram on a CRT display until data generation.

【図10】実施例1のワイヤ放電加工条件を示す図であ
る。
FIG. 10 is a diagram showing the wire electric discharge machining conditions of Example 1;

【図11】実施例1のワイヤ放電加工機のIHをM/C
で加工する場合のCRTディスプレイ上の画面表示遷移
図である。
FIG. 11: M / C of IH of the wire electric discharge machine of Example 1
It is a screen display transition diagram on a CRT display when processing by.

【図12】図11の11−1に示した製品の図形データ
の破線部を拡大した図である。
12 is an enlarged view of a broken line portion of the graphic data of the product shown in 11-1 of FIG.

【図13】図11の11−6の詳細図である。FIG. 13 is a detailed view of 11-6 of FIG.

【図14】図11の11−8の詳細図である。FIG. 14 is a detailed view of 11-8 of FIG.

【図15】実施例1のM/C加工条件を示す図である。FIG. 15 is a diagram showing M / C processing conditions of Example 1;

【図16】図11の11−10の詳細図である。FIG. 16 is a detailed view of 11-10 of FIG.

【図17】実施例1の他の製品を示す図である。FIG. 17 is a diagram showing another product of Example 1.

【図18】図17の製品の図形データを分解してデータ
メモリに加工データとして格納した状態の図である。
18 is a diagram showing a state in which the graphic data of the product of FIG. 17 is decomposed and stored as processed data in a data memory.

【図19】図17の製品の図形データをCRTディスプ
レイに表示した画面図である。
FIG. 19 is a screen view showing the graphic data of the product of FIG. 17 on a CRT display.

【図20】本発明の実施例2のフローチャート図であ
る。
FIG. 20 is a flowchart of the second embodiment of the present invention.

【図21】図66の製品の図形データの66−1を拡大
した図である。
FIG. 21 is an enlarged view of the graphic data 66-1 of the product of FIG. 66.

【図22】図21のIH位置21−1を中心とする加工
形状に内接する円22−1を求めた図である。
22 is a diagram in which a circle 22-1 inscribed in the processed shape centered on the IH position 21-1 in FIG. 21 is obtained.

【図23】図22の内接円を指定した割合だけ縮小した
真円23−1を示した図である。
23 is a diagram showing a perfect circle 23-1 in which the inscribed circle in FIG. 22 is reduced by a specified ratio.

【図24】本発明の実施例3のフローチャートである。FIG. 24 is a flowchart of Example 3 of the present invention.

【図25】ワイヤ放電加工機で加工する長方形状を示す
図である。
FIG. 25 is a view showing a rectangular shape machined by a wire electric discharge machine.

【図26】イニシャルホール位置を中心とする真円を示
す図である。
FIG. 26 is a diagram showing a perfect circle centered on the position of an initial hole.

【図27】本発明の実施例4のフローチャートである。FIG. 27 is a flowchart of Embodiment 4 of the present invention.

【図28】IHを形彫放電加工するNCデータ生成に対
応する画面対応図である。
FIG. 28 is a screen correspondence diagram corresponding to NC data generation for IH die-sinking electric discharge machining.

【図29】登録電極の一覧表を示した図である。FIG. 29 is a diagram showing a list of registered electrodes.

【図30】加工工程を示した図である。FIG. 30 is a diagram showing a processing step.

【図31】電極形状を表すマークを表示した画面図であ
る。
FIG. 31 is a screen view showing a mark showing an electrode shape.

【図32】加工工程が定義されたことを明示する画面図
である。
FIG. 32 is a screen diagram that clearly shows that a machining process has been defined.

【図33】本発明の実施例5のフローチャートである。FIG. 33 is a flowchart of Example 5 of the present invention.

【図34】M/Cでポケット加工を行うときの画面表示
遷移図である。
FIG. 34 is a screen display transition diagram when pocket processing is performed by M / C.

【図35】実施例5の製品を示す図である。FIG. 35 is a diagram showing a product of Example 5;

【図36】図35の図形データをCRTディスプレイ上
で表示した画面図である。
FIG. 36 is a screen view showing the graphic data of FIG. 35 on a CRT display.

【図37】図形データをもとにポケット形状をM/Cで
ポケット加工するときのCRTディスプレイ上の画面表
示遷移図である。
FIG. 37 is a screen display transition diagram on a CRT display when pocket processing is performed on a pocket shape by M / C based on graphic data.

【図38】M/Cで加工した後の製品の形状と削り残し
部分を示した図である。
FIG. 38 is a view showing the shape of a product after being processed by M / C and the uncut portion.

【図39】削り残し形状を定義する場合のCRTディス
プレイ上で表示した画面表示遷移図である。
[Fig. 39] Fig. 39 is a screen display transition diagram displayed on the CRT display when defining a shape to be left uncut.

【図40】削り残し形状の1つと、これに電極形状と電
極基準位置を決定したときの図である。
FIG. 40 is a diagram when one of the uncut portions and the electrode shape and the electrode reference position are determined for this.

【図41】削り残し形状を形彫放電加工するときのデー
タメモリへの格納状態図である。
FIG. 41 is a diagram showing how data is stored in the data memory when the unmachined shape is subjected to electric discharge machining.

【図42】本発明の実施例6のフローチャートである。FIG. 42 is a flowchart of Embodiment 6 of the present invention.

【図43】削り残し形状をジググラインダで加工すると
きのCRTディスプレイ上の画面表示遷移図である。
FIG. 43 is a screen display transition diagram on the CRT display when the uncut portion shape is processed by a jig grinder.

【図44】定義された加工データのデータメモリへの格
納状態図である。
FIG. 44 is a storage state diagram of defined processed data in a data memory.

【図45】本発明の実施例7のフローチャートである。FIG. 45 is a flowchart of Example 7 of the present invention.

【図46】ワイヤ放電加工設定宣言をするときのCRT
ディスプレイ上の画面図である。
FIG. 46: CRT when declaring wire EDM settings
It is a screen figure on a display.

【図47】自動決定する前の加工条件を示す図である。FIG. 47 is a diagram showing processing conditions before automatic determination.

【図48】自動決定した後の加工条件を示す図である。FIG. 48 is a diagram showing processing conditions after automatic determination.

【図49】本発明の実施例8のフローチャートである。FIG. 49 is a flowchart of Example 8 of the present invention.

【図50】IHを決定するためにマウスでカーソルをI
Hを表す円近傍に移動させてヒットした時の画面図であ
る。
FIG. 50: Move cursor with mouse to determine IH
FIG. 11 is a screen view when a hit is made by moving the circle near H.

【図51】IHが定義されたことがわかるマークが表示
された画面図である。
FIG. 51 is a diagram showing a screen on which a mark indicating that IH has been defined is displayed.

【図52】ワイヤ放電加工NCデータとM/C加工NC
データのデータメモリへの格納状態図である。
FIG. 52: Wire EDM NC data and M / C machining NC
It is a storage state diagram of data in a data memory.

【図53】穴形状決定表を示す図である。FIG. 53 is a diagram showing a hole shape determination table.

【図54】穴形状の1つを示す図である。FIG. 54 is a diagram showing one of hole shapes.

【図55】穴形状名、呼び名称から寸法が一義的に定義
されることを示す図である。
FIG. 55 is a diagram showing that dimensions are uniquely defined from hole shape names and nominal names.

【図56】本発明の実施例9のフローチャートである。FIG. 56 is a flowchart of Example 9 of the present invention.

【図57】実施例9の製品の図形データをCRTディス
プレイ上で表示した画面図である。
FIG. 57 is a screen view showing graphic data of a product of Example 9 on a CRT display.

【図58】穴形状の1つを示す図である。FIG. 58 is a diagram showing one of the hole shapes.

【図59】穴位置を形彫放電加工位置として自動定義し
たときのデータメモリへの格納状態図である。
FIG. 59 is a storage state diagram in the data memory when the hole position is automatically defined as the die-sinking electric discharge machining position.

【図60】図59の様子をCRTディスプレイ上に表示
した画面図である。
FIG. 60 is a screen view showing the state of FIG. 59 on a CRT display.

【図61】素材を示す図である。FIG. 61 is a diagram showing a material.

【図62】製品を示す図である。FIG. 62 is a view showing a product.

【図63】従来のCAD/CAM装置でNCデータを生
成する際の実施の一例を示す全体の外観図である。
FIG. 63 is an overall external view showing an example of implementation when NC data is generated by a conventional CAD / CAM device.

【図64】従来のCAD/CAM装置でワイヤ放電加工
NCデータとマシニングセンタ加工NCデータを生成す
るときのフローチャートである。
FIG. 64 is a flowchart for generating wire electric discharge machining NC data and machining center machining NC data with a conventional CAD / CAM device.

【図65】図62の製品の図形データをCRTディスプ
レイ上で表示した画面図である。
65 is a screen view showing the graphic data of the product of FIG. 62 on a CRT display.

【図66】図65に注目する部分を説明するために破線
枠を施した画面図である。
FIG. 66 is a screen view with a broken line frame for explaining the portion of interest in FIG. 65;

【図67】図66の破線枠66−1内を拡大した画面図
である。
67 is an enlarged screen view of the inside of a broken line frame 66-1 of FIG. 66. FIG.

【図68】IHの位置を決定するためにカーソルをIH
の位置を表す円近傍に移動させてヒットした時の画面図
である。
FIG. 68. Move the cursor to the IH to determine the position of the IH
FIG. 6 is a screen diagram when a hit is made by moving to the vicinity of a circle representing the position of.

【図69】IHの決定でマークが表示されたときの画面
図である。
FIG. 69 is a screen diagram when a mark is displayed for IH determination.

【図70】加工軌跡が出力されたときの画面図である。FIG. 70 is a screen diagram when a processing locus is output.

【図71】図66の破線枠66−2内を拡大した画面図
である。
71 is an enlarged screen view of the inside of a broken line frame 66-2 of FIG. 66. FIG.

【図72】カーソルを円近傍に移動させてヒットした時
の画面図である。
72 is a screen diagram when the cursor is moved to the vicinity of a circle and a hit is made. FIG.

【図73】座ぐり穴を示した図である。FIG. 73 is a view showing a spot facing hole.

【図74】図73の座ぐり穴を定義するための穴形状メ
ニュー画面図である。
74 is a hole shape menu screen view for defining the counterbore hole of FIG. 73. FIG.

【図75】図73の座ぐり穴を定義するためのパラメー
タ表を示す図である。
75 is a diagram showing a parameter table for defining the counterbore of FIG. 73.

【図76】図66の破線枠66−1内を拡大した画面図
である。
FIG. 76 is an enlarged screen view of the inside of a broken line frame 66-1 of FIG. 66.

【図77】カーソルを円の中心位置近傍に移動させてヒ
ットした時の画面図である。
77 is a screen diagram when the cursor is moved to the vicinity of the center position of the circle and a hit is made. FIG.

【図78】座ぐり穴を示した図である。FIG. 78 is a view showing a spot facing hole.

【図79】図78の座ぐり穴を定義するためのパラメー
タ表を示す図である。
79 is a diagram showing a parameter table for defining the counterbore of FIG. 78. FIG.

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

100 CAD/CAM装置 101 本体 102 CRTディスプレイ 103 キーボード 104 マウス 105 プリンタ 107 ワイヤ放電加工機 108 マシニングセンタ 109 形彫放電加工機 110 ジググラインダ 111 CPU 112 プログラムメモリ 113 データメモリ 114 FDD装置 115 ハードディスク装置 116 入出力回路 301 加工形状大きさ判定手段 302 下穴加工形状自動決定手段 303 下穴形状登録手段 304 干渉、大小判定による下穴形状自動決定手段 305 登録下穴形状格納手段 306 マシニングセンタ用穴位置自動定義手段 307 イニシャルホール(IH)位置判別手段 308 形彫放電加工機用加工位置自動定義手段 309 削り残し形状認識手段 310 形彫放電加工機用加工形状自動定義手段 311 電極自動決定手段 312 ジググラインダ用加工形状自動定義手段 313 機種判別手段 314 機種依存加工条件自動決定手段 315 製品の図形データの特徴位置判別手段 316 形彫放電加工機用加工位置自動定義手段 317 ワイヤ放電加工機用加工位置自動定義手段 318 マシニングセンタ用加工位置自動定義手段 501,502,503,504 座ぐり穴 505,506,507,508,509,510 貫
通形状 8−15,8−23 2次元加工定義テーブル 8−24 3次元加工定義テーブル 8−16,8−25 加工条件テーブル 18−1,18−2 2次元加工定義テーブル 18−3 3次元加工定義テーブル 18−4 加工条件テーブル 41−1,41−4 2次元加工定義テーブル 41−2 3次元加工定義テーブル 41−3,41−5 加工条件テーブル 52−4,52−6 2次元加工定義テーブル 52−7 3次元加工定義テーブル 52−5 加工条件テーブル
100 CAD / CAM device 101 Main body 102 CRT display 103 Keyboard 104 Mouse 105 Printer 107 Wire electrical discharge machine 108 Machining center 109 EDM machine 110 Jig grinder 111 CPU 112 Program memory 113 Data memory 114 FDD device 115 Hard disk device 116 Input / output circuit 301 Machining size size determining means 302 Pre-drilling machining shape determining means 303 Pilot hole shape registering means 304 Pilot hole automatic determining means by interference / size judgment 305 Registered pilot hole shape storing means 306 Machining center hole position automatic defining means 307 Initial Hole (IH) position discriminating means 308 Machining position automatic defining means for die-sinking electric discharge machine 309 Leftover shape recognition means 310 Machining shape automatic defining for die-sinking electric discharge machine Means 311 Electrode automatic determination means 312 Machining shape automatic definition means for jig grinder 313 Model discrimination means 314 Machine type dependent machining condition automatic determination means 315 Characteristic data characteristic position discrimination means 316 Machining position automatic definition means 317 for die-sinking electric discharge machine Machining position automatic defining means for wire electric discharge machine 318 Machining position automatic defining means for machining center 501,502,503,504 Counterbore hole 505,506,507,508,509,510 Penetration shape 8-15,8-23 Two-dimensional Machining definition table 8-24 Three-dimensional machining definition table 8-16, 8-25 Machining condition table 18-1, 18-2 Two-dimensional machining definition table 18-3 Three-dimensional machining definition table 18-4 Machining condition table 41-1 , 41-4 Two-dimensional machining definition table 41-2 Three-dimensional machining definition Table 41-3,41-5 machining condition table 52-4,52-6 2-dimensional processing definition table 52-7 3-dimensional processing definition table 52-5 machining condition table

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B23Q 15/00 305 Z G06F 17/50 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location B23Q 15/00 305 Z G06F 17/50

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 製品の図形データを線・円弧・点・円等
の要素データに分解して記憶する記憶手段と、この記憶
手段に記憶されている要素データを抽出して所定の2次
元加工形状を定義する複数の2次元加工定義テーブル
と、これら複数の2次元加工定義テーブルを組合せて所
定の3次元加工形状を定義する3次元加工定義テーブル
と、複数の加工機に応じたそれぞれの加工条件データを
記憶した複数の加工条件記憶手段と、前記各データに加
工の特徴を表すデータを付加する属性定義手段と、前記
2次元加工定義テーブル又は3次元加工定義テーブルと
前記加工条件記憶手段の加工条件データとの組合せに応
じて加工機特有のNCデータ又はNC元データを生成す
る手段とを具備することを特徴とするCAD/CAM装
置。
1. A storage means for decomposing the graphic data of a product into element data such as lines, arcs, points, circles, and the like, and a predetermined two-dimensional processing by extracting the element data stored in this storage means. A plurality of two-dimensional machining definition tables that define a shape, a three-dimensional machining definition table that defines a predetermined three-dimensional machining shape by combining the plurality of two-dimensional machining definition tables, and machining that corresponds to a plurality of machining machines A plurality of processing condition storage means for storing condition data; an attribute defining means for adding data representing processing characteristics to each data; a two-dimensional processing definition table or a three-dimensional processing definition table; and the processing condition storage means. A CAD / CAM device comprising: means for generating NC data or NC original data specific to a processing machine in accordance with a combination with processing condition data.
【請求項2】 製品の図形データを線・円弧・点・円等
の要素データに分解して記憶する記憶手段と、この記憶
手段に記憶されている要素データを抽出して所定の2次
元加工形状を定義する2次元加工定義テーブルと、複数
の加工機に応じたそれぞれの加工条件データを記憶した
複数の加工条件記憶手段と、前記各データに加工の特徴
を表すデータを付加する属性定義手段と、前記2次元加
工定義テーブルと前記加工条件記憶手段の加工条件デー
タとの組合せに応じて加工機特有のNCデータ又はNC
元データを生成する手段とを具備することを特徴とする
CAD/CAM装置。
2. A storage means for decomposing the graphic data of a product into element data such as lines, arcs, points, circles, and the like, and a predetermined two-dimensional processing by extracting the element data stored in this storage means. A two-dimensional machining definition table that defines a shape, a plurality of machining condition storage units that store respective machining condition data corresponding to a plurality of machining machines, and an attribute definition unit that adds data representing machining characteristics to each data. And NC data or NC specific to a processing machine according to a combination of the two-dimensional processing definition table and the processing condition data in the processing condition storage means.
A CAD / CAM device comprising means for generating original data.
【請求項3】 製品の図形データを線・円弧・点・円・
角柱・球等の要素データに分解して記憶する記憶手段
と、複数の加工機に応じたそれぞれの加工条件データを
記憶した複数の加工条件記憶手段と、前記各データに加
工の特徴を表すデータを付加する属性定義手段と、前記
記憶手段の要素データと前記加工条件記憶手段の加工条
件データとの組合せに応じて加工機特有のNCデータ又
はNC元データを生成する手段とを具備することを特徴
とするCAD/CAM装置。
3. The figure data of the product is line / arc / point / circle /
Storage means for disassembling and storing element data such as prisms and spheres, a plurality of processing condition storage means for storing respective processing condition data corresponding to a plurality of processing machines, and data representing processing characteristics in each data And a means for generating NC data or NC original data peculiar to a processing machine according to a combination of the element data of the storage means and the processing condition data of the processing condition storage means. Characteristic CAD / CAM device.
【請求項4】 加工形状の大きさを判定する手段と、加
工形状の大きさから下穴形状データを自動決定する手段
とを具備することを特徴とする請求項1又は請求項2又
は請求項3記載のCAD/CAM装置。
4. The method according to claim 1, further comprising: a means for determining the size of the machined shape, and a means for automatically determining the prepared hole shape data from the size of the machined shape. CAD / CAM device described in 3.
【請求項5】 下穴形状登録手段と、登録された下穴形
状と加工形状との干渉及び大小を判定し、その判定結果
により登録された下穴形状を採用するか加工形状の大き
さから下穴形状を自動生成するかを決定する手段とを具
備することを特徴とする請求項4記載のCAD/CAM
装置。
5. The prepared hole shape registering means and the interference and the size of the registered prepared hole shape and the processed shape are judged, and the registered prepared hole shape is adopted according to the judgment result or the size of the processed shape is used. 5. The CAD / CAM according to claim 4, further comprising means for determining whether to automatically generate a pilot hole shape.
apparatus.
【請求項6】 ワイヤ放電加工機用イニシャルホール位
置判別手段と、イニシャルホール位置を形彫放電加工機
用加工位置として自動定義する手段とを具備することを
特徴とする請求項1又は請求項2又は請求項3記載のC
AD/CAM装置。
6. A wire electric discharge machine initial hole position discriminating means, and means for automatically defining the initial hole position as a machining position for a die-sinking electric discharge machine. Or C according to claim 3
AD / CAM device.
【請求項7】 ワイヤ放電加工機用イニシャルホール位
置判別手段と、イニシャルホール位置をマシニングセン
タ用穴位置として自動定義する手段とを具備することを
特徴とする請求項1又は請求項2又は請求項3記載のC
AD/CAM装置。
7. An initial hole position discriminating means for a wire electric discharge machine and a means for automatically defining an initial hole position as a hole position for a machining center. C described
AD / CAM device.
【請求項8】 生成されたNCデータ又はNC元データ
から削り残し形状を認識する手段と、削り残し形状を形
彫放電加工機用加工形状として自動定義する手段と、削
り残し形状を加工する電極を自動決定する手段とを具備
することを特徴とする請求項1又は請求項2又は請求項
3記載のCAD/CAM装置。
8. A means for recognizing an uncut portion shape from the generated NC data or NC original data, a means for automatically defining the uncut portion shape as a machining shape for an EDM machine, and an electrode for processing the uncut portion shape. 4. The CAD / CAM device according to claim 1, 2 or 3, further comprising:
【請求項9】 生成されたNCデータ又はNC元データ
から削り残し形状を認識する手段と、削り残し形状を研
磨加工機用加工形状として自動定義する手段とを具備す
ることを特徴とする請求項1又は請求項2又は請求項3
記載のCAD/CAM装置。
9. The apparatus comprises means for recognizing an uncut portion shape from the generated NC data or NC original data, and means for automatically defining the uncut portion shape as a processing shape for a polishing machine. 1 or claim 2 or claim 3
CAD / CAM device described.
【請求項10】 どの加工機に出力するNCデータ又は
NC元データを定義しているかを判別する手段と、NC
データ又はNC元データが出力された加工機の種別と加
工する素材の材質と加工する工具の種別とから加工条件
を自動決定する手段とを具備することを特徴とする請求
項1又は請求項2又は請求項3記載のCAD/CAM装
置。
10. A means for determining to which processing machine the NC data or the NC original data to be output is defined, and NC.
3. A means for automatically determining a processing condition based on the type of processing machine from which the data or NC original data is output, the material of the material to be processed, and the type of tool to be processed. Alternatively, the CAD / CAM device according to claim 3.
【請求項11】 製品の図形データの特徴位置判別手段
と、前記特徴位置データをマシニングセンタ用加工位置
データとして自動定義する手段と、前記特徴位置データ
をワイヤ放電加工機用加工位置データとして自動定義す
る手段と、前記特徴位置データを形彫放電加工機用加工
位置データとして自動定義する手段とを具備することを
特徴とするCAD/CAM装置。
11. A feature position discriminating unit for graphic data of a product, a unit for automatically defining the feature position data as machining center machining position data, and a feature position data for automatically defining machining position data for a wire electric discharge machine. A CAD / CAM device comprising means and means for automatically defining the characteristic position data as machining position data for a die-sinking electric discharge machine.
JP6263836A 1994-03-31 1994-10-27 Cad/cam device Pending JPH07319529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6263836A JPH07319529A (en) 1994-03-31 1994-10-27 Cad/cam device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-63767 1994-03-31
JP6376794 1994-03-31
JP6263836A JPH07319529A (en) 1994-03-31 1994-10-27 Cad/cam device

Publications (1)

Publication Number Publication Date
JPH07319529A true JPH07319529A (en) 1995-12-08

Family

ID=26404894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6263836A Pending JPH07319529A (en) 1994-03-31 1994-10-27 Cad/cam device

Country Status (1)

Country Link
JP (1) JPH07319529A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907311B2 (en) 2002-05-20 2005-06-14 Mitsubishi Denki Kabushiki Kaisha Electrical discharge machining apparatus and electrical discharge machining simulator
JP2008084337A (en) * 2007-11-05 2008-04-10 Canon Inc Numerical control data creation device, numerical control data creation method and storage medium
JP4894976B1 (en) * 2010-11-04 2012-03-14 三菱電機株式会社 Numerical control machining program creation method and apparatus, and program for causing computer to execute the method
WO2022181643A1 (en) * 2021-02-26 2022-09-01 ファナック株式会社 Teaching device and teaching method for teaching operation of laser processing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907311B2 (en) 2002-05-20 2005-06-14 Mitsubishi Denki Kabushiki Kaisha Electrical discharge machining apparatus and electrical discharge machining simulator
JP2008084337A (en) * 2007-11-05 2008-04-10 Canon Inc Numerical control data creation device, numerical control data creation method and storage medium
JP4667442B2 (en) * 2007-11-05 2011-04-13 キヤノン株式会社 Numerical control data creation apparatus, numerical control data creation method, and storage medium
JP4894976B1 (en) * 2010-11-04 2012-03-14 三菱電機株式会社 Numerical control machining program creation method and apparatus, and program for causing computer to execute the method
WO2012059956A1 (en) * 2010-11-04 2012-05-10 三菱電機株式会社 Method of creating numerical control machining program and device therefor and program for executing method therfor on computer
CN103189808A (en) * 2010-11-04 2013-07-03 三菱电机株式会社 Method of creating numerical control machining program and device therefor and program for executing method therfor on computer
CN103189808B (en) * 2010-11-04 2015-06-24 三菱电机株式会社 Method of creating numerical control machining program and device therefor
US9268322B2 (en) 2010-11-04 2016-02-23 Mitsubishi Electric Corporation Method and apparatus for creating numerical control machining program and program for causing computer to implement same method
WO2022181643A1 (en) * 2021-02-26 2022-09-01 ファナック株式会社 Teaching device and teaching method for teaching operation of laser processing device

Similar Documents

Publication Publication Date Title
US5757649A (en) CAD/CAM apparatus
US6112133A (en) Visual system and method for generating a CNC program for machining parts with planar and curvilinear surfaces
CN106471430B (en) Procedure editor's servicing unit
JPS6257852A (en) Automatic programming device
JP4276656B2 (en) CAD system, program for executing the CAD system, and recording medium recording the program
JPH0355259B2 (en)
JPH07319529A (en) Cad/cam device
JP4262425B2 (en) Method and apparatus for operating machine tool
JP2002529843A5 (en)
JP2002529843A (en) Image CNC program for generating machine parts
CN113641148A (en) Woodworking processing system and multi-surface woodworking processing method thereof
JP2991006B2 (en) CAD / CAM equipment
JP2836633B2 (en) Machining process decision device in numerical control information creation function
JPH06202721A (en) Numerical control information generating device
JPS6324307A (en) Nc data checking method
JPH0446706B2 (en)
JPH0685130B2 (en) Processing area division processing device in automatic processing machine
JPS6323565B2 (en)
JP3390462B2 (en) Data processing method in tooling CAD device
JP2789982B2 (en) CAD / CAM equipment
JPS58143941A (en) Numerically controlled processing system
JP2614607B2 (en) Numerical control data creation method for machine tools
JPH0347980B2 (en)
JP2603622B2 (en) Numerical control data creation method for machine tools
JPH07182019A (en) Working information generator