JPH11175120A - Device and method for generating numerical control data - Google Patents

Device and method for generating numerical control data

Info

Publication number
JPH11175120A
JPH11175120A JP35020897A JP35020897A JPH11175120A JP H11175120 A JPH11175120 A JP H11175120A JP 35020897 A JP35020897 A JP 35020897A JP 35020897 A JP35020897 A JP 35020897A JP H11175120 A JPH11175120 A JP H11175120A
Authority
JP
Japan
Prior art keywords
area
processing
tool
numerical control
control data
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
JP35020897A
Other languages
Japanese (ja)
Inventor
Hitoshi Tawara
均 田原
Atsushi Hagiyama
敦史 萩山
Yasuhiro Furuya
康博 古谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP35020897A priority Critical patent/JPH11175120A/en
Publication of JPH11175120A publication Critical patent/JPH11175120A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically determine the optimum work tool lowering position. SOLUTION: A contour graphic of a work area is taken-out from a graphic keeping file (S21) and, after that, max. permissible distance from the work area to the work tool lowering position is taken-out from original files (S22). Then, the counter graphic of the work area is extended outward by the max. permissible distance so as to obtain an extension area (S23) and, moreover, a work tool lowering prohibiting area is obtained (S24). The work tool lowering prohibiting area is excluded from the extension area so as to obtain an out-of- work area (S25). Then, the out-of-work area is reduced inward by the portion of the radius of a work tool so as to calculate a work tool lowering-enable area (S26). After that, a minimum distance point between the work area and the work tool lowering-enable area is calculated so as to judge whether the minimum distance point can be calculated or not (S28). The calculated minimum distance point is set to the work tool lowering position when the answer is an affirmation (Yes) and the work area is displayed in a display part so as to execute an error processing at the time of a negation (No).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は数値制御データ作成
装置と数値制御データの作成方法に関し、より詳しく
は、マシングセンタ等の回転工具により切削加工する数
値制御(Numericalcontrol ;以下「NC」という。)
工作機械に使用されるNCデータの作成を行うNCデー
タ作成装置とNCデータの作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control data generating apparatus and a numerical control data generating method, and more particularly, to a numerical control (Numerical control; hereinafter referred to as "NC") for cutting with a rotating tool such as a machining center. )
The present invention relates to an NC data creation device for creating NC data used in a machine tool and an NC data creation method.

【0002】[0002]

【従来の技術】従来より、回転工具による切削加工等を
行うためのNCデータを作成するNCデータ作成装置に
おいて、被加工物に対して加工具(回転工具)を降下さ
せる場合、該加工具の降下位置は、被加工物の形状、特
に被加工物中の未加工部分と衝突しないように被加工物
の加工状態を考慮しながらオペレータが経験に基づいて
決定している。そして、形状加工に使用されるエンドミ
ル等の回転工具は、切れ刃が該回転工具の側面に設けら
れており、該側面の切れ刃により切削加工が行われる。
すなわち、この種の回転工具は、底面に切れ刃が設けら
れているドリルを使用してキリ穴加工を行うのと異な
り、側面に設けられた切れ刃で切削加工を行うため、加
工具の降下位置は、被加工物の未加工部分と衝突しない
ように該被加工物の外側、又は既に加工された加工済領
域の上方に設定される。
2. Description of the Related Art Conventionally, in an NC data creating apparatus for creating NC data for performing cutting or the like using a rotating tool, when a working tool (rotary tool) is lowered onto a workpiece, the working tool is not used. The descending position is determined by the operator based on experience while taking into consideration the shape of the workpiece, particularly the machining state of the workpiece so as not to collide with an unprocessed portion in the workpiece. In a rotary tool such as an end mill used for shape processing, a cutting edge is provided on a side surface of the rotary tool, and cutting is performed by the cutting edge on the side surface.
That is, unlike a drill having a cutting edge provided on the bottom surface, this type of rotating tool performs cutting with the cutting edge provided on the side surface, unlike a drill having a cutting edge provided on the bottom surface. The position is set outside the workpiece or above the already processed area so as not to collide with the unprocessed portion of the workpiece.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の技術においては、加工領域の輪郭形状に対する加工
具の移動軌跡を求める際にオペレータが加工具の降下位
置を決定しているため、NCデータ作成装置のオペレー
タが予め読図作業により被加工物の形状理解や加工状態
の変化を把握する必要があり、その結果NCプログラム
を作成するために多大な時間を要するという問題点があ
った。
However, in the above-mentioned conventional technique, when the movement locus of the processing tool with respect to the contour shape of the processing area is obtained, the operator determines the descent position of the processing tool. It is necessary for the operator of the apparatus to understand the shape of the workpiece and to understand the change in the processing state by the drawing work in advance, and as a result, there is a problem that it takes a lot of time to create the NC program.

【0004】また、加工具の降下位置を決定する場合、
従来は、加工具の降下位置が被加工物における未加工部
分上に設定され、その結果加工具の破損等が生じたり、
或いは加工具降下位置が所望の加工領域から離れた位置
に設定され、その結果加工具の移動操作を新たに行う必
要が生じ無駄な操作時間が生じて作業効率が低下する虞
があるという問題点もあった。
[0004] Further, when determining the lowering position of the processing tool,
Conventionally, the lowering position of the processing tool is set on the unprocessed portion of the workpiece, and as a result, the processing tool may be damaged,
Alternatively, the working tool lowering position is set to a position distant from a desired working area, and as a result, a new operation of moving the working tool needs to be performed, resulting in a wasteful operation time and a possibility of reducing work efficiency. There was also.

【0005】本発明はこのような問題点に鑑みなされた
ものであって、最適な加工具の降下位置を自動的に決定
することができるNCデータ作成装置とNCデータの作
成方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides an NC data generating apparatus and an NC data generating method capable of automatically determining an optimum position for lowering a tool. With the goal.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に請求項1記載の発明は、被加工物の形状を表す図形デ
ータに基づいてNCデータを作成するNCデータ作成装
置において、加工の対象となる加工領域を前記図形デー
タから抽出する加工領域抽出手段と、前記加工領域を第
1の所定領域だけ拡張した拡張領域を設定する拡張領域
設定手段と、前記被加工物に対し加工具降下禁止領域を
決定する加工具降下禁止領域決定手段と、前記拡張領域
から前記加工具降下禁止領域を除去した加工外領域を設
定する加工外領域設定手段と、前記加工外領域を第2の
所定領域だけ縮小した加工具降下可能領域を設定する加
工具降下可能領域設定手段と、前記加工具降下可能領域
と前記加工領域との最短距離を算出して該最短距離の前
記加工具降下可能領域側の点を加工具降下位置に設定す
る加工具降下位置設定手段とを備えていることを特徴と
している。
According to a first aspect of the present invention, there is provided an NC data creating apparatus for creating NC data based on graphic data representing a shape of a workpiece. Machining area extracting means for extracting a machining area to be processed from the graphic data, an extended area setting means for setting an extended area obtained by extending the machining area by a first predetermined area, and prohibiting the tool from descending to the workpiece. Processing tool lowering prohibited area determining means for determining an area, non-processing area setting means for setting a non-processing area in which the processing tool lowering prohibited area is removed from the extended area, and setting the non-processing area to only a second predetermined area Processing tool descendable area setting means for setting a reduced processing tool descendable area; calculating the shortest distance between the processing tool descendable area and the processing area; It is characterized in that it comprises a machining tool lowered position setting means for setting a point-range side to the machining tool lowered position.

【0007】また、請求項8記載の発明は、被加工物の
形状を表す図形データに基づいてNCデータを作成する
NCデータの作成方法において、加工の対象となる加工
領域を前記図形データから抽出する加工領域抽出ステッ
プと、前記加工領域を第1の所定領域だけ拡張した拡張
領域を設定する拡張領域設定ステップと、前記被加工物
に対し加工具降下禁止領域を決定する加工具降下禁止領
域決定ステップと、前記拡張領域から前記加工具降下禁
止領域を除去した加工外領域を設定する加工外領域設定
ステップと、前記加工外領域を第2の所定領域だけ縮小
した加工具降下可能領域を設定する加工具降下可能領域
設定ステップと、前記加工具降下可能領域と前記加工領
域との最短距離を算出して該最短距離の前記加工具降下
可能領域側の点を加工具降下位置に設定する加工具降下
位置設定ステップとを含んでいることを特徴としてい
る。
According to an eighth aspect of the present invention, in the NC data creating method for creating NC data based on graphic data representing the shape of a workpiece, a processing area to be processed is extracted from the graphic data. Machining area extraction step, an extension area setting step of setting an extension area obtained by extending the machining area by a first predetermined area, and a machining tool lowering prohibited area determination for determining a machining tool lowering prohibited area for the workpiece. Setting a non-machining area in which the machining tool drop prohibition area is removed from the extended area; and setting a machining tool descendable area in which the non-machining area is reduced by a second predetermined area. A tool lowerable area setting step, calculating a shortest distance between the tool lowerable area and the processing area, and calculating a point on the processing tool lowerable area side of the shortest distance. It is characterized in that it contains a processing tool lowered position setting step of setting the tool lowered position.

【0008】尚、本発明の他の特徴は、下記の発明の実
施の形態の説明により、明かとなろう。
The other features of the present invention will become apparent from the following description of embodiments of the present invention.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳説する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0010】図1は本発明に係るNCデータ作成装置の
一実施の形態を示すブロック構成図であって、該NCデ
ータ作成装置1は、通信回線2を介してCAD/CAM
(Computer Aided Design /Computer Aided Manufactu
ring)装置やNCデータを使用して被加工物を切削加工
等するフライス盤等のNC工作機械に接続されている。
FIG. 1 is a block diagram showing an embodiment of an NC data generating apparatus according to the present invention. The NC data generating apparatus 1 is a CAD / CAM system via a communication line 2.
(Computer Aided Design / Computer Aided Manufactu
The apparatus is connected to an NC machine tool such as a milling machine for cutting a workpiece using the NC data.

【0011】しかして、NCデータ作成装置1は、所定
の入力操作を行うキーボードやマウス等からなる入力部
3と、後述する加工具降下位置設定プログラム等所定の
制御プログラムが格納されたROM4と、各種演算結果
を一時的に記憶したりCPUのワークエリアとして使用
されるRAM5と、前記CAD/CAM装置により作成
された図形データを保管する図形保管ファイル6と、加
工領域から加工具降下位置までの最大許容距離等所定の
パラメータが登録された諸元ファイル7と、加工具の降
下可能を意味する文字列等が登録されたキーワード登録
ファイル8と、加工領域等の表示を行うCRTからなる
表示部9と、各種演算を行い装置全体の制御を司るCP
U10とを有し、これら各構成要素及び通信回線2はシ
ステムバス11を介して互いに接続されている。
The NC data generating apparatus 1 includes an input unit 3 including a keyboard and a mouse for performing a predetermined input operation, a ROM 4 storing a control tool lowering position setting program, which will be described later, and a ROM 4. A RAM 5 for temporarily storing various calculation results or used as a work area of a CPU, a graphic storage file 6 for storing graphic data created by the CAD / CAM device, and a graphic storage file 6 from a processing area to a processing tool drop position. A display unit including a specification file 7 in which predetermined parameters such as a maximum allowable distance are registered, a keyword registration file 8 in which a character string indicating that the tool can be lowered, and a CRT for displaying a processing area and the like. 9 and a CP that performs various calculations and controls the entire apparatus
U10, and these components and the communication line 2 are connected to each other via a system bus 11.

【0012】図2は本発明に係るNCデータの作成方法
を示すフローチャートであって、本プログラムはCPU
10で実行される。
FIG. 2 is a flowchart showing a method for creating NC data according to the present invention.
It is executed at 10.

【0013】ステップS1では領域単位毎に加工具降下
可能の属性設定を行い、続くステップS2では図形保管
ファイル6の中から加工対象となる加工領域を指定する
(以下、この加工領域を「着目加工領域」という。)。
尚、加工領域は、図形保管ファイル6に格納されている
図形データを表示部9に表示し、その表示内容から所望
の図形データを選択し、入力部3を操作することにより
指定する。
In step S1, an attribute is set to allow the tool to be lowered for each area unit, and in step S2, a processing area to be processed is designated from the graphic storage file 6 (hereinafter, this processing area is referred to as "target processing"). Area ").
The processing area is specified by displaying graphic data stored in the graphic storage file 6 on the display unit 9, selecting desired graphic data from the displayed contents, and operating the input unit 3.

【0014】次に、ステップS3では使用するエンドミ
ル等の加工具径を指定し、次いでステップS4では後述
する加工具降下位置の設定処理を行う。そして、続くス
テップS5ではステップS4で設定された加工具降下位
置を起点として加工具の移動軌跡データを作成し、ステ
ップS6では着目加工領域に対して加工具降下可能の属
性を付加し、続くステップS7ではその他に加工対象と
なる加工領域が有るか否かを判断する。そして、その答
が肯定(Yes)の場合はステップS2に戻り、上述の
処理を繰り返し、その答が否定(No)の場合はそのま
ま処理を終了する。
Next, in step S3, the diameter of a processing tool such as an end mill to be used is specified, and then, in step S4, processing for setting a processing tool lowering position, which will be described later, is performed. Then, in the following step S5, movement locus data of the processing tool is created with the processing tool descending position set in step S4 as a starting point, and in step S6, an attribute of allowing the processing tool to be lowered is added to the target processing area. In S7, it is determined whether or not there is another processing area to be processed. If the answer is affirmative (Yes), the process returns to step S2, and the above-described processing is repeated. If the answer is negative (No), the process ends.

【0015】図3はステップS1で実行される属性設定
処理ルーチンのフローチャートである。
FIG. 3 is a flowchart of an attribute setting processing routine executed in step S1.

【0016】まず、ステップS11ではキーワード登録
ファイル8を検索して該キーワード登録ファイル8の中
から「加工具降下可能」を意味する「降下」の文字列を
読み出し、続くステップS12で図形保管ファイル6に
格納されている図形データの中から文字テキストデータ
を取り出し、ステップS13で文字テキストデータが有
ったか否かを判断する。そして、文字テキストデータが
有ったと判断された場合は、ステップS11で読み出さ
れた文字列(キーワード)と文字テキストデータとが一
致するか否かを判断し(ステップS14)、その答が否
定(No)のときはステップS12に戻る一方、その答
が肯定(Yes)のときはステップS15に進んで着目
加工領域に「加工具降下可能」の属性を与え、ステップ
S12に戻る。
First, in step S11, the keyword registration file 8 is searched, and a character string of "descent" meaning "working tool can be lowered" is read out from the keyword registration file 8, and in the next step S12, the graphic storage file 6 is read. The character text data is extracted from the graphic data stored in the storage device, and it is determined in step S13 whether or not there is character text data. If it is determined that there is character text data, it is determined whether or not the character string (keyword) read in step S11 matches the character text data (step S14). If (No), the process returns to step S12, while if the answer is affirmative (Yes), the process proceeds to step S15, where the attribute of "working tool descendable" is given to the target processing region, and the process returns to step S12.

【0017】そして、その後のループでステップS13
の答が否定(No)になるとステップS16に進み、対
話操作により着目加工領域に「加工具降下可能」の属性
を順次付加して処理を終了する。すなわち、前記図形デ
ータを表示部9に表示し、入力部3を操作して属性付加
対象となる加工領域を順次指定し、メインルーチン(図
2)に戻る。
Then, in the subsequent loop, step S13
If the answer is negative (No), the process proceeds to step S16, and the attribute of “working tool descendable” is sequentially added to the processing area of interest by the interactive operation, and the process ends. That is, the graphic data is displayed on the display unit 9 and the input unit 3 is operated to sequentially designate the processing area to which the attribute is to be added, and the process returns to the main routine (FIG. 2).

【0018】図4は属性設定処理ルーチンにより加工具
降下可能の属性が付加された被加工物の平面図(図4
(a))及び正面図(図4(b)であって、キーワード
登録ファイル8に「降下」の登録が行われ且つ加工領域
A及び加工領域Bの部分の文字テキストデータが「降
下」である場合、加工領域A及び加工領域Bに対して
「加工具降下可能」の属性が付加される。尚、本実施の
形態では、図面上の一端盲状に形成されている領域C
が、回転工具(加工具)を使用して穴加工をする着目加
工領域であることを示している。また、図中、Hは基準
面Gからの所定高さを示し、所定高さHよりも高位置に
加工具降下位置が設定されると未加工部分と加工具とが
衝突して加工具破損等を生じる虞があるため、本実施の
形態では加工具の降下位置が、未加工部分と衝突しない
ように設定される。
FIG. 4 is a plan view of the workpiece to which the attribute of allowing the tool to be lowered has been added by the attribute setting processing routine (FIG. 4).
(A)) and a front view (FIG. 4 (b), where “Descent” is registered in the keyword registration file 8 and the character text data of the processing area A and the processing area B is “Descent”. In this case, the attribute of “working tool can be lowered” is added to the processing area A and the processing area B. In the present embodiment, the area C that is formed to be one end blind in the drawing.
Indicates that this is a target machining area where a hole is drilled using a rotary tool (machining tool). In the drawing, H indicates a predetermined height from the reference plane G. If the processing tool descending position is set at a position higher than the predetermined height H, the unprocessed portion collides with the processing tool and the processing tool is damaged. In this embodiment, the descent position of the processing tool is set so as not to collide with the unprocessed portion.

【0019】次に、加工具降下位置設定処理(ステップ
S4で実行される)を図5のフローチャートに基づいて
説明する。
Next, the processing tool lowering position setting processing (executed in step S4) will be described with reference to the flowchart of FIG.

【0020】ステップS21では着目加工領域の輪郭図
形を図形保管ファイル6から取り出した後、ステップS
22では着目加工領域から加工具降下位置までの最大許
容距離を諸元ファイル7から取り出し、続くステップS
23では着目加工領域の輪郭図形を前記最大許容距離だ
け外方にオフセット等の図形処理を施して着目加工領域
を拡大し、拡張領域を求める。すなわち、図6に示す着
目加工領域Cに対して図7に示すように最大許容距離だ
け拡大して拡張領域Dを求める。尚、本実施の形態で
は、前記最大許容距離は、ステップS3で指定された加
工具径に所定値を加算した値に設定される。
In step S21, after the contour figure of the processing area of interest is extracted from the figure storage file 6, step S21 is executed.
In step 22, the maximum allowable distance from the target processing area to the processing tool descending position is extracted from the specification file 7, and the subsequent step S
In step 23, the contour figure of the target processing area is subjected to graphic processing such as offset outside by the maximum allowable distance to enlarge the target processing area and obtain an extended area. That is, the extended area D is obtained by enlarging the target processing area C shown in FIG. 6 by the maximum allowable distance as shown in FIG. In the present embodiment, the maximum allowable distance is set to a value obtained by adding a predetermined value to the processing tool diameter specified in step S3.

【0021】次に、ステップS24では加工具降下禁止
領域を求める。すなわち、図4(b)に示す所定高さH
より低い領域、つまり、領域B、を除外することによ
り、図8に示すような加工具降下禁止領域Eを求める。
Next, in step S24, a work tool lowering prohibited area is obtained. That is, the predetermined height H shown in FIG.
By excluding the lower region, that is, the region B, a processing tool lowering prohibition region E as shown in FIG. 8 is obtained.

【0022】次いで、ステップS25では前記拡張領域
D(図7)から前記加工具降下禁止領域E(図8)を除
外し、図9に示すような加工外領域Fを求める。
Next, in step S25, the processing tool lowering prohibition area E (FIG. 8) is excluded from the extended area D (FIG. 7), and a non-processing area F as shown in FIG. 9 is obtained.

【0023】次に、ステップS26ではステップS3で
指定した加工具径に基づき該加工外領域Fを該加工具の
半径だけ内方にオフセット等の図形処理を施し、加工具
降下可能領域Iを算出する。そして、着目加工領域Cと
加工具降下可能領域Iの最短距離点Pを算出し、続くス
テップS28では最短距離点Pの算出が可能か否かを判
断する。すなわち、着目加工領域Cと加工具降下可能領
域Iの最短距離L(=PQ)が「0」より大きいか否か
により最短距離点Pの算出が可能か否かを判断する。そ
して、その答が肯定(Yes)のときは算出された最短
距離Lの加工具降下可能領域I側の点P(最短距離点)
を加工具降下位置に設定する。
Next, in step S26, based on the processing tool diameter specified in step S3, the outside processing area F is subjected to graphic processing such as offset inward by the radius of the processing tool to calculate the processing tool droppable area I. I do. Then, the shortest distance point P between the focused processing area C and the work tool descendable area I is calculated, and it is determined in subsequent step S28 whether the shortest distance point P can be calculated. That is, it is determined whether or not the shortest distance point P can be calculated based on whether or not the shortest distance L (= PQ) between the processing area C of interest and the work tool descendable area I is greater than “0”. When the answer is affirmative (Yes), the point P (the shortest distance point) on the side of the calculated tool shortest distance I on the work tool descendable region I side.
To the tool lowering position.

【0024】一方、ステップS28の答が否定(No)
のときは着目加工領域を表示部9に表示しエラー処理を
行ってメインルーチン(図2)に戻る。すなわち、この
場合は着目加工領域を表示部9に表示し、ユーザが表示
部9に表示された着目加工領域を視認しながら入力部3
を操作し、加工具の降下位置を指定する。
On the other hand, the answer in step S28 is negative (No).
In the case of, the processing area of interest is displayed on the display unit 9, error processing is performed, and the process returns to the main routine (FIG. 2). That is, in this case, the processing area of interest is displayed on the display unit 9, and the user visually recognizes the processing area of interest displayed on the display unit 9, and
To specify the descent position of the processing tool.

【0025】このように本実施の形態によれば、加工具
の最適降下位置を自動的に設定することができ、したが
って、加工具の移動軌跡の算出処理と組み合わせること
により、オペレータの経験等に頼ることなくNCデータ
の作成を自動化することができる。また、加工具の移動
軌跡を最適化することもでき、従来のように加工具の破
損等を招いたり、加工具の無駄な移動等を回避すること
ができ、作業効率の向上を図ることができる。
As described above, according to the present embodiment, the optimum descent position of the processing tool can be automatically set. Therefore, by combining this with the processing for calculating the movement locus of the processing tool, the operator's experience can be improved. The creation of NC data can be automated without resorting to it. In addition, it is possible to optimize the movement locus of the processing tool, to prevent the processing tool from being damaged as in the related art, to avoid unnecessary movement of the processing tool, and to improve the working efficiency. it can.

【0026】尚、本発明は上記実施の形態に限定される
ものではなく、例えば、上述で所定高さHより低い領域
が被加工物に存在しない場合は、被加工物全域を加工具
降下禁止領域として同様に最適降下位置を決定すること
ができる。
The present invention is not limited to the above-described embodiment. For example, when the above-mentioned area having a height lower than the predetermined height H does not exist in the workpiece, the entire area of the workpiece is prohibited from being lowered. Similarly, the optimal descent position can be determined as a region.

【0027】[0027]

【発明の効果】以上詳述したように本発明のNCデータ
作成装置とNCデータの作成方法によれば、最適な加工
具降下位置を自動的に設定することができ、したがっ
て、加工具の移動軌跡の算出処理と組み合わせることに
より、オペレータの経験等に頼ることなくNCデータの
作成を自動化することができる。また、加工具の移動軌
跡を最適化することもでき、従来のように加工具の破損
等を招いたり、加工具の無駄な移動等を回避することが
でき作業効率の向上を図ることができる。
As described above in detail, according to the NC data generating apparatus and the NC data generating method of the present invention, the optimum tool lowering position can be automatically set, and therefore, the movement of the processing tool can be performed. In combination with the trajectory calculation processing, the creation of NC data can be automated without relying on the experience of the operator. Further, the movement trajectory of the processing tool can be optimized, and the processing tool can be prevented from being damaged or the useless movement of the processing tool can be avoided as in the related art, and the working efficiency can be improved. .

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

【図1】本発明に係るNCデータ作成装置の一実施の形
態を示すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an NC data creating apparatus according to the present invention.

【図2】本発明に係るNCデータの作成方法を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing a method for creating NC data according to the present invention.

【図3】属性設定処理ルーチンのフローチャートであ
る。
FIG. 3 is a flowchart of an attribute setting processing routine.

【図4】被加工物に属性が付加された状態を示す図形デ
ータである。
FIG. 4 is graphic data showing a state where an attribute is added to a workpiece.

【図5】加工具降下位置設定処理ルーチンのフローチャ
ートである。
FIG. 5 is a flowchart of a processing tool lowering position setting processing routine;

【図6】被加工物の加工領域を抽出した状態を示す図で
ある。
FIG. 6 is a diagram showing a state where a processing region of a workpiece is extracted.

【図7】被加工物の拡張加工領域を示した図である。FIG. 7 is a diagram showing an extended machining area of a workpiece.

【図8】被加工物に対する加工具降下禁止領域を示す図
である。
FIG. 8 is a diagram showing a processing tool lowering prohibited area for a workpiece.

【図9】拡張加工領域から加工具降下禁止領域を除外し
た状態を示す図である。
FIG. 9 is a diagram illustrating a state in which a processing tool lowering prohibition area is excluded from an extended processing area.

【図10】被加工物に対する加工具降下可能領域を示す
図である。
FIG. 10 is a diagram showing a work tool descendable area for a workpiece.

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

3 入力部(加工具径入力手段、加工具降下位置指定
手段) 10 CPU(加工領域抽出手段、拡張領域設定手段、
加工具降下禁止領域決定手段、加工外領域設定手段、加
工具降下可能領域設定手段、加工具降下位置設定手段、
許容量算出手段、判断手段)
3 Input unit (processing tool diameter input means, processing tool descending position specifying means) 10 CPU (processing area extracting means, extended area setting means,
Processing tool lowering prohibited area determining means, non-processing area setting means, processing tool lowering possible area setting means, processing tool lowering position setting means,
Allowable amount calculation means, judgment means)

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 被加工物の形状を表す図形データに基づ
いて数値制御データを作成する数値制御データ作成装置
において、 加工の対象となる加工領域を前記図形データから抽出す
る加工領域抽出手段と、前記加工領域を第1の所定領域
だけ拡張した拡張領域を設定する拡張領域設定手段と、
前記被加工物に対し加工具降下禁止領域を決定する加工
具降下禁止領域決定手段と、前記拡張領域から前記加工
具降下禁止領域を除去した加工外領域を設定する加工外
領域設定手段と、前記加工外領域を第2の所定領域だけ
縮小した加工具降下可能領域を設定する加工具降下可能
領域設定手段と、前記加工具降下可能領域と前記加工領
域との最短距離を算出して該最短距離の前記加工具降下
可能領域側の点を加工具降下位置に設定する加工具降下
位置設定手段とを備えていることを特徴とする数値制御
データ作成装置。
1. A numerical control data generating apparatus for generating numerical control data based on graphic data representing a shape of a workpiece, a processing area extracting means for extracting a processing area to be processed from the graphic data, Extended area setting means for setting an extended area obtained by extending the processing area by a first predetermined area;
A tool lowering prohibited area determining means for determining a tool lowering prohibited area for the workpiece, a non-processing area setting means for setting a non-processing area obtained by removing the processing tool lowering prohibited area from the extended area, A tool lowering area setting means for setting a tool lowering area in which the non-machining area is reduced by a second predetermined area, and calculating a minimum distance between the processing tool lowering area and the processing area to calculate the minimum distance A processing tool lowering position setting means for setting a point on the side of the processing tool lowering area to a processing tool lowering position.
【請求項2】 加工具の直径を入力する加工具径入力手
段と、前記加工具の直径に所定値を加算して許容量を算
出する許容量算出手段とを備え、前記第1の所定領域は
前記許容量に相当する領域であることを特徴とする請求
項1記載の数値制御データ作成装置。
2. A processing tool diameter input means for inputting a diameter of a processing tool, and a permissible amount calculating means for calculating a permissible amount by adding a predetermined value to the diameter of the processing tool, wherein the first predetermined area is provided. 2. The numerical control data creating apparatus according to claim 1, wherein the area is an area corresponding to the allowable amount.
【請求項3】 加工具の直径を入力する加工具径入力手
段を備え、前記第2の所定領域は、前記加工外領域から
前記加工具の半径に相当する領域を除去した領域である
ことを特徴とする請求項1記載の数値制御データ作成装
置。
3. A processing tool diameter input means for inputting a diameter of a processing tool, wherein the second predetermined region is a region obtained by removing a region corresponding to a radius of the processing tool from the non-processing region. The numerical control data creation device according to claim 1, wherein:
【請求項4】 前記加工具降下禁止領域決定手段により
決定される加工具降下禁止領域は前記被加工物の全表面
であることを特徴とする請求項1乃至請求項3のいずれ
かに記載の数値制御データ作成装置。
4. The processing tool lowering prohibition area determined by the processing tool lowering prohibition area determining means is the entire surface of the workpiece. Numerical control data creation device.
【請求項5】 前記加工領域での加工を行う時点で既に
加工がなされた複数の加工済領域を有すると共に、前記
図形データから前記加工済領域毎に加工具降下可能の属
性を付与する属性付与手段を有し、 前記加工具降下禁止領域決定手段により決定される加工
具降下禁止領域は、基準面からの面高さが所定値以下の
前記加工済領域を前記被加工物の全表面から除外した領
域であることを特徴とする請求項1乃至請求項3記載の
いずれかに記載の数値制御データ作成装置。
5. An attribute assignment that has a plurality of processed areas that have already been processed at the time of performing processing in the processing area, and that gives an attribute that allows a tool to be lowered for each of the processed areas from the graphic data. The processing tool lowering prohibited area determined by the processing tool lowering prohibited area determining means excludes the processed area whose surface height from a reference plane is equal to or less than a predetermined value from the entire surface of the workpiece. 4. The numerical control data generation device according to claim 1, wherein the numerical control data generation region is a region defined.
【請求項6】 前記加工領域は一端盲状の穴加工領域で
あると共に、前記所定値は、前記基準面からの面高さか
ら前記穴加工領域の穴深さを減算した値であることを特
徴とする請求項5記載の数値制御データ作成装置。
6. The method according to claim 6, wherein the machining area is a hole machining area that is blind at one end, and the predetermined value is a value obtained by subtracting a hole depth of the hole machining area from a surface height from the reference plane. The numerical control data creation device according to claim 5, wherein:
【請求項7】 前記最短距離が算出可能か否かを判断す
る判断手段を有すると共に、該判断手段により前記最短
距離の算出が不可能であると判断されたときは、前記加
工領域を表示部に表示して加工具降下位置を指定する加
工具降下位置指定手段を有していることを特徴とする請
求項1乃至請求項6のいずれかに記載の数値制御データ
作成装置。
7. A determination unit for determining whether or not the shortest distance can be calculated. When the determination unit determines that the shortest distance cannot be calculated, the processing area is displayed on a display unit. 7. The numerical control data creating apparatus according to claim 1, further comprising a tool lowering position specifying means for displaying a tool lowering position by displaying the numerical control data on the workpiece.
【請求項8】 被加工物の形状を表す図形データに基づ
いて数値制御データを作成する数値制御データの作成方
法において、 加工の対象となる加工領域を前記図形データから抽出す
る加工領域抽出ステップと、前記加工領域を第1の所定
領域だけ拡張した拡張領域を設定する拡張領域設定ステ
ップと、前記被加工物に対し加工具降下禁止領域を決定
する加工具降下禁止領域決定ステップと、前記拡張領域
から前記加工具降下禁止領域を除去した加工外領域を設
定する加工外領域設定ステップと、前記加工外領域を第
2の所定領域だけ縮小した加工具降下可能領域を設定す
る加工具降下可能領域設定ステップと、前記加工具降下
可能領域と前記加工領域との最短距離を算出して該最短
距離の前記加工具降下可能領域側の点を加工具降下位置
に設定する加工具降下位置設定ステップとを含んでいる
ことを特徴とする数値制御データの作成方法。
8. A method of generating numerical control data for generating numerical control data based on graphic data representing a shape of a workpiece, a processing area extracting step of extracting a processing area to be processed from the graphic data. An extended area setting step of setting an extended area obtained by extending the processing area by a first predetermined area; a tool lowering prohibited area determining step of determining a tool lowering prohibited area for the workpiece; A non-machining area setting step of setting a non-machining area from which the machining tool lowering prohibited area is removed, and a machining tool descendable area setting of setting a machining tool descendable area obtained by reducing the non-machining area by a second predetermined area Calculating the shortest distance between the work tool droppable area and the processing area, and setting a point on the work tool droppable area side of the shortest distance at the work tool drop position. The method of creating numerical control data, characterized in that and a processing tool lowered position setting step for.
【請求項9】 加工具の直径を入力する加工具径入力ス
テップと、前記加工具の直径に所定値を加算して許容量
を算出する許容量算出ステップとを有し、前記第1の所
定領域は前記許容量に相当する領域であることを特徴と
する請求項8記載の数値制御データの作成方法。
9. A processing tool diameter input step of inputting a diameter of a processing tool, and an allowance calculating step of adding a predetermined value to the diameter of the processing tool to calculate an allowance, wherein the first predetermined 9. The method according to claim 8, wherein the area is an area corresponding to the allowable amount.
【請求項10】 加工具の直径を入力する加工具径入力
ステップを有し、前記第2の所定領域は、前記加工外領
域から前記加工具の半径に相当する領域を除去した領域
であることを特徴とする請求項9記載の数値制御データ
の作成方法。
10. A processing tool diameter input step of inputting a diameter of a processing tool, wherein the second predetermined region is a region obtained by removing a region corresponding to a radius of the processing tool from the non-processing region. 10. The method for creating numerical control data according to claim 9, wherein:
【請求項11】 前記加工具降下禁止領域は前記被加工
物の全表面であることを特徴とする請求項8乃至請求項
10のいずれかに記載の数値制御データの作成方法。
11. The method according to claim 8, wherein the processing tool lowering prohibited area is the entire surface of the workpiece.
【請求項12】 前記加工領域での加工を行う時点で既
に加工がなされた複数の加工済領域を有すると共に、前
記図形データから前記加工済領域毎に加工具降下可能の
属性を付与する属性付与ステップを有し、 前記加工具降下禁止領域は、基準面からの面高さが所定
値以下の前記加工済領域を前記被加工物の全表面から除
外した領域であることを特徴とする請求項8乃至請求項
10記載のいずれかに記載の数値制御データの作成方
法。
12. An attribute assignment that has a plurality of processed areas already processed at the time of performing processing in the processing area, and provides an attribute of allowing a tool to be lowered for each of the processed areas from the graphic data. The method according to claim 1, wherein the processing tool lowering prohibition area is an area in which the processed area whose surface height from a reference plane is equal to or less than a predetermined value is excluded from the entire surface of the workpiece. The method for creating numerical control data according to any one of claims 8 to 10.
【請求項13】 前記加工領域は一端盲状の穴加工領域
であると共に、前記所定値は、前記基準面からの面高さ
から前記穴加工領域の穴深さを減算した値であることを
特徴とする請求項12記載の数値制御データの作成方
法。
13. The method according to claim 1, wherein the processing area is a hole processing area which is blind at one end, and the predetermined value is a value obtained by subtracting a hole depth of the hole processing area from a surface height from the reference plane. 13. The method for creating numerical control data according to claim 12, wherein:
【請求項14】 前記最短距離が算出可能か否かを判断
する判断ステップを含み、該判断ステップにより前記最
短距離の算出が不可能であると判断されたときは、前記
加工領域を表示部に表示して加工具降下位置を指定する
ことを特徴とする請求項8乃至請求項13のいずれかに
記載の数値制御データの作成方法。
14. A method for determining whether or not the shortest distance can be calculated, wherein when it is determined that the shortest distance cannot be calculated, the processing area is displayed on a display unit. The method according to any one of claims 8 to 13, further comprising the step of displaying a work tool lowering position on the display.
JP35020897A 1997-12-05 1997-12-05 Device and method for generating numerical control data Pending JPH11175120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35020897A JPH11175120A (en) 1997-12-05 1997-12-05 Device and method for generating numerical control data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35020897A JPH11175120A (en) 1997-12-05 1997-12-05 Device and method for generating numerical control data

Publications (1)

Publication Number Publication Date
JPH11175120A true JPH11175120A (en) 1999-07-02

Family

ID=18408956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35020897A Pending JPH11175120A (en) 1997-12-05 1997-12-05 Device and method for generating numerical control data

Country Status (1)

Country Link
JP (1) JPH11175120A (en)

Similar Documents

Publication Publication Date Title
US10884389B2 (en) Server and system connected to a machine to perform cutting machining via a network
EP1895375A1 (en) Machining step generation device
EP1283456A1 (en) Tool for searching similar machining data and automatic programming apparatus based thereon
US20210365005A1 (en) Machine tool, input assistance method for machine tool, and non-transitory computer-readable storage medium
JP4276656B2 (en) CAD system, program for executing the CAD system, and recording medium recording the program
CN116569117A (en) Machine learning device, machining program generating device, and machine learning method
EP1909153B1 (en) Apparatus for creating a turning program
JPH11175120A (en) Device and method for generating numerical control data
JP4378644B2 (en) Tool machining path data generation method and machining path generation program
JPH06119031A (en) Nc data generating method for working of cut remaining part
JPH0611456B2 (en) Calculation method of machining route
JP3857487B2 (en) NC data creation method for side machining
JP3123340B2 (en) NC data automatic creation device
JP4063180B2 (en) Mold processing step determination device, mold processing step determination method, mold processing step determination program, computer-readable recording medium recording the program, NC data creation device, and machine tool control device
JPH11134014A (en) Nc data preparing device for cutting section left from cutting
JP4667442B2 (en) Numerical control data creation apparatus, numerical control data creation method, and storage medium
JPH05228786A (en) Automatic generating device for nc data in nc machine tool
JPH04315551A (en) Nc data producing device
JP3633337B2 (en) How to create NC data for seating surface processing
JP3264054B2 (en) NC statement creation method
JP2001100824A (en) Method and device for preparing nc data and storage medium
JPH06149334A (en) Automatic nc data generation system
JPH06335840A (en) Working condition setting system
JPH0224780A (en) Drawing design/production process design system
JPH0631589A (en) Preparation of nc data and device therefor