JPH0866844A - Numerical control device - Google Patents

Numerical control device

Info

Publication number
JPH0866844A
JPH0866844A JP6205761A JP20576194A JPH0866844A JP H0866844 A JPH0866844 A JP H0866844A JP 6205761 A JP6205761 A JP 6205761A JP 20576194 A JP20576194 A JP 20576194A JP H0866844 A JPH0866844 A JP H0866844A
Authority
JP
Japan
Prior art keywords
shape
envelope
tool
work material
generating
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
JP6205761A
Other languages
Japanese (ja)
Inventor
Susumu Matsubara
晋 松原
Kiyotaka 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 JP6205761A priority Critical patent/JPH0866844A/en
Publication of JPH0866844A publication Critical patent/JPH0866844A/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
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/30Reducing waste in manufacturing processes; Calculations of released waste quantities

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE: To enable generation of a tool path that is optimized for eliminating losses to be carried out in accordance with changes due to machining in the shape of a material to be cut by providing an outside envelope generation means which generates an envelope that is offset outward by a predetermined length from another generated by an inner envelope re-generation means, for using the former envelope as the tool path. CONSTITUTION: An inner envelope generation means 4 generates an envelope in accordance with information input from input means 1, 2 about the shape and machining of a pocket, the envelope being offset inward from the outer shape of the pocket by a length from a tool radius. An inner envelope re-generation means 5 generates an envelope which is offset further inward by the length of the tool radius from the envelope generated by the inner envelope generation means 4. An outer envelope generation means 6 generates, in accordance with information about the envelope generated by the inner envelope re-generation means 5 and about the machining, an outer envelope which is offset outward from the envelope by a predetermined length, and the outer envelope is used as a tool path.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、工作機械やロボット
などの制御を数値データを基に行う数値制御装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller for controlling machine tools, robots, etc. based on numerical data.

【0002】[0002]

【従来の技術】図42は、U.S.Pat.No.4,
907,164号公報に示された従来の数値制御装置を
示すフローチャートである。図において121はユーザ
が加工領域と加工条件とを決定するブロック、122は
加工領域の加工を行うための工具経路を生成するブロッ
ク、123は工具経路を最適化するブロックである。1
24は工具経路における加工終了点での工具刃跡マーク
の発生を防止するための工具経路を最適化するブロック
である。
2. Description of the Related Art FIG. S. Pat. No. 4,
It is a flowchart which shows the conventional numerical control apparatus shown by the 907,164 publication. In the figure, 121 is a block in which the user decides a machining area and machining conditions, 122 is a block for generating a tool path for machining the machining area, and 123 is a block for optimizing the tool path. 1
Reference numeral 24 is a block for optimizing the tool path for preventing the generation of the tool blade mark at the machining end point in the tool path.

【0003】次に動作について説明する。まず、加工を
回避する「島形状部分」と部品を固定する部分を除いた
「加工領域」と、「工具半径」と切込み幅である「ピッ
クフィード」と、あら加工時の「残ししろ」とをユーザ
が定義する。定義された加工領域の外形形状から内側へ
ピックフィード量ずつ非加工領域を回避してオフセット
することにより、工具経路を生成する。また、生成され
た工具経路における加工開始点と加工終了点では、工具
経路に対して接線方向に加工を開始し、接線方向に加工
を終了するように工具経路を最適化する。
Next, the operation will be described. First, the "island shape part" that avoids machining, the "machining area" that excludes the part that fixes parts, the "tool radius" and the "pick feed" that is the cutting width, and the "remaining margin" at the time of rough machining Is defined by the user. A tool path is generated by offsetting from the defined outer shape of the machining area by a pick feed amount while avoiding the non-machining area. Further, at the machining start point and machining end point in the generated tool path, the tool path is optimized so that the machining is started in the tangential direction with respect to the tool path and the machining is ended in the tangential direction.

【0004】図43は、U.S.Pat.No.4,8
33,617号公報に示された従来の数値制御装置を示
すブロック図である。図において131は数値制御プロ
グラム(以下、NCプログラムという)と被削材と被削
材取付具と部品形状とを入力してソリッドモデルを用い
てNCシミュレーションを行うブロックである。132
は加工条件に関するデータである。133は各加工にお
ける最適な加工条件を得るための工具と工作機械のデー
タである。134は、NCシミュレーションを行うブロ
ック131と、加工条件に関するデータ132と、工具
と工作機械の各加工における最適な加工条件データ13
3より、加工力と工具送り速度を最適化するブロックで
ある。
FIG. 43 shows a U.S.P. S. Pat. No. 4,8
It is a block diagram which shows the conventional numerical control apparatus shown by the 33,617 publication. In the figure, reference numeral 131 is a block for inputting a numerical control program (hereinafter referred to as an NC program), a work material, a work material fixture and a part shape and performing an NC simulation using a solid model. 132
Is data relating to processing conditions. Reference numeral 133 is data of tools and machine tools for obtaining optimum machining conditions in each machining. Reference numeral 134 denotes a block 131 for performing NC simulation, data 132 regarding machining conditions, and optimum machining condition data 13 for each machining of the tool and the machine tool.
3 is a block for optimizing machining force and tool feed speed.

【0005】次に動作について説明する。まず、NCプ
ログラムと被削材と被削材取付具と部品形状とをNCシ
ミュレーションを行うブロック131に入力する。NC
シミュレーションを行うブロック131は、ソリッドモ
デルを用いて被削材と被削材取付具のモデリングとNC
プログラミングを支援し、加工中の部品形状をシミュレ
ーションする。そして、データ132の材料の性質や経
験上求められているデータから基本となる工具送り速度
を決定する。さらにブロック134は、ブロック131
と加工条件に関するデータ132と工具と工作機械の性
能と材料の性質のデータ133とにより、ソリッドモデ
ルを用いて所定量の長さの工具経路における工具の掃引
形状と被削材の形状から被削材の除去体積を求め、基準
となる体積と比較して、基準となる工具送り速度にオー
バーライドを掛けることにより、工具送り速度をユーザ
が決定した制約の範囲内で最適化する。
Next, the operation will be described. First, the NC program, the work material, the work material fixture, and the shape of the part are input to the block 131 for performing the NC simulation. NC
The simulation block 131 uses a solid model to model and NC the work material and work material fixture.
Supports programming and simulates part shape during machining. Then, the basic tool feed rate is determined from the material properties of the data 132 and data empirically required. Further, block 134 is block 131
By using the solid model and the data 132 on the machining conditions and the data 132 on the performance of the tool and the machine tool and the material properties 133, the solid model is used to machine from the sweep shape of the tool and the shape of the work material in the tool path of a predetermined length. The material removal volume is determined, compared with the reference volume, and the reference tool feed rate is overridden to optimize the tool feed rate within the constraints determined by the user.

【0006】[0006]

【発明が解決しようとする課題】従来の数値制御装置は
以上のように構成されているので、工具経路はポケット
の外形形状を基にして、外側から内側へ順に所定量オフ
セットするだけであり、加工の進行と共に変化していく
被削材の形状を考慮せずに工具経路を生成しており、何
も削っていない状態であるエアーカットをしている部分
やピックフィードが一定でない部分が含まれ、工具経路
が被削材の形状に対し最適化されていない問題点があっ
た。
Since the conventional numerical control device is constructed as described above, the tool path is simply offset by a predetermined amount from the outside to the inside based on the outer shape of the pocket. The tool path is generated without considering the shape of the work material that changes as the machining progresses, and includes parts where no cutting is done, such as air-cutting parts and parts where the pick feed is not constant. Therefore, there is a problem that the tool path is not optimized for the shape of the work material.

【0007】また、従来では加工負荷が一定となるよう
に工具送り速度を決定する際、所定量の長さあたりの工
具経路に対しての被削材の除去体積を基に工具送り速度
を決定していたが、加工の進行と共に被削材が変化して
いくと、被削材の形状によっては、被削材形状が薄くな
る薄物加工の状態や、角を加工するコーナー加工の状態
が生じる。その場合、所定量の長さあたりの工具経路に
対しての被削材の除去体積だけを基にして工具送り速度
を決定していたのでは、被削材に対して最適な加工条件
ではなくなるために、加工面の精度に悪影響を与える問
題点があった。
Further, conventionally, when determining the tool feed rate so that the machining load is constant, the tool feed rate is determined based on the removal volume of the work material with respect to the tool path per predetermined length. However, if the work material changes with the progress of processing, depending on the shape of the work material, there will be a thin material processing state where the work material shape becomes thin or a corner processing state where a corner is processed. . In that case, if the tool feed speed is determined based only on the removal volume of the work material with respect to the tool path per predetermined length, it will not be the optimum machining conditions for the work material. Therefore, there is a problem that the accuracy of the machined surface is adversely affected.

【0008】請求項1の発明は上記のような問題点を解
消するためになされたもので、加工による被削材の形状
変化を考慮した無駄の少ない最適化された工具経路を生
成することができる数値制御装置を得ることを目的とす
る。
The invention of claim 1 has been made to solve the above problems, and it is possible to generate an optimized tool path with little waste in consideration of a change in shape of a work material due to machining. The purpose is to obtain a numerical control device capable of performing.

【0009】請求項2の発明は、加工による被削材の形
状変化を考慮して最適化された工具経路を分割すること
で工具経路を効率的に生成することができる数値制御装
置を得ることを目的とする。
A second aspect of the present invention provides a numerical controller capable of efficiently generating a tool path by dividing an optimized tool path in consideration of a shape change of a work material due to machining. With the goal.

【0010】請求項3の発明は、工具経路としての正確
な包絡線を生成することができる数値制御装置を得るこ
とを目的とする。
It is an object of the present invention to obtain a numerical controller capable of generating an accurate envelope as a tool path.

【0011】請求項4の発明は、島形状を含むポケット
形状の加工において島形状と干渉し合う工具経路として
の包絡線の生成を回避できる数値制御装置を得ることを
目的とする。
It is an object of the present invention to provide a numerical control device capable of avoiding the generation of an envelope curve as a tool path that interferes with the island shape in machining a pocket shape including the island shape.

【0012】請求項5の発明は、包絡線が独立した複数
のループを有する場合にも効率的に工具経路としての包
絡線を生成できる数値制御装置を得ることを目的とす
る。
It is an object of the present invention to provide a numerical controller capable of efficiently generating an envelope as a tool path even when the envelope has a plurality of independent loops.

【0013】請求項6の発明は、加工により変化する被
削材の形状に応じて最適化された加工条件により加工を
行うことのできる数値制御装置を得ることを目的とす
る。
It is an object of the invention of claim 6 to obtain a numerical control device capable of performing machining under machining conditions optimized in accordance with the shape of a work material that changes due to machining.

【0014】請求項7の発明は、加工により変化する被
削材の形状に応じて最適化された加工条件により加工を
行うことのできる数値制御装置を得ることを目的とす
る。
It is an object of the invention of claim 7 to obtain a numerical control device capable of performing machining under machining conditions optimized in accordance with the shape of a work material that changes due to machining.

【0015】請求項8の発明は、加工により変化する被
削材の形状に応じて最適化された加工条件により加工を
行うことのできる数値制御装置を得ることを目的とす
る。
It is an object of the present invention to provide a numerical control device capable of performing machining under machining conditions optimized according to the shape of a work material that changes due to machining.

【0016】請求項9の発明は、加工により変化する被
削材の形状に応じて最適化された加工条件により加工を
行うことのできる数値制御装置を得ることを目的とす
る。
It is an object of the present invention to provide a numerical controller capable of performing machining under machining conditions optimized according to the shape of a work material that changes due to machining.

【0017】請求項10の発明は、加工による被削材の
形状変化を考慮した加工条件を設定できる数値制御装置
を得ることを目的とする。
It is an object of the invention of claim 10 to obtain a numerical control device capable of setting machining conditions in consideration of a change in shape of a work material due to machining.

【0018】請求項11の発明は、加工による被削材の
形状変化を考慮した工具送り速度などの加工条件を設定
できる数値制御装置を得ることを目的とする。
It is an object of the invention of claim 11 to obtain a numerical control device capable of setting machining conditions such as a tool feed speed in consideration of a shape change of a work material due to machining.

【0019】請求項12の発明は、工具の入り込まない
残留部が生じることのない加工を実現できる数値制御装
置を得ることを目的とする。
It is an object of the present invention to provide a numerical control device capable of realizing machining without a residual portion where a tool does not enter.

【0020】[0020]

【課題を解決するための手段】請求項1の発明に係る数
値制御装置は、形状入力手段により入力されたポケット
形状から内側へ工具半径の長さだけオフセットしたポケ
ット形状内側包絡線を生成し工具経路とする内側包絡線
生成手段と、該内側包絡線生成手段により生成されたポ
ケット形状内側包絡線からさらに内側へ工具半径の長さ
だけオフセットした包絡線を生成する再内側包絡線生成
手段と、該再内側包絡線生成手段により生成した包絡線
から外側へ所定量の長さだけオフセットした包絡線を生
成し工具経路とする外側包絡線生成手段と、該外側包絡
線生成手段により生成された包絡線を、前記再内側包絡
線生成手段における包絡線生成のための入力手段とを備
えたものである。
According to a first aspect of the present invention, there is provided a numerical control device which generates a pocket-shaped inner envelope which is offset from the pocket shape input by the shape input means to the inside by the length of the tool radius. An inner envelope generating means as a path, and a re-inner envelope generating means for generating an envelope further offset to the inside by the length of the tool radius from the pocket-shaped inner envelope generated by the inner envelope generating means, Outer envelope generating means for generating a tool path by generating an envelope which is offset from the envelope generated by the inner-side envelope generating means to the outside by a predetermined amount, and an envelope generated by the outer envelope generating means. The line is provided with an input unit for generating an envelope in the re-inner envelope generating unit.

【0021】請求項2の発明に係る数値制御装置は、被
削材の形状および工具形状を表現する形状表現手段と、
形状入力手段により入力したポケット外形形状から内側
へ工具半径の長さだけオフセットした包絡線を生成し工
具経路とする内側包絡線生成手段と、前記工具経路に従
って工具を移動させたときの掃引形状を生成する掃引形
状生成手段と、被削材形状から前記掃引形状を除去する
掃引形状除去手段と、前記ポケット形状を定義する平面
と平行な平面上に、前記掃引形状による被削材形状の除
去された領域から所定量の長さだけオフセットした包絡
線を生成するオフセット包絡線生成手段と、前記包絡線
をブロックに分割して工具経路とし、分割した包絡線の
工具経路を前記掃引形状生成手段における掃引形状生成
のための工具経路とする包絡線分割手段と、該包絡線分
割手段により分割した包絡線を連結する工具経路連結手
段とを備えたものである。
A numerical controller according to a second aspect of the present invention is a shape expressing means for expressing the shape of a work material and the shape of a tool,
An inner envelope generating means for generating a tool path by generating an envelope that is offset from the pocket outer shape input by the shape input means by the length of the tool radius, and a sweep shape when the tool is moved according to the tool path. Sweep shape generation means for generating, sweep shape removal means for removing the sweep shape from the work material shape, and removal of the work material shape by the sweep shape on a plane parallel to the plane defining the pocket shape. Offset envelope generating means for generating an envelope that is offset by a predetermined amount from the region, and the envelope is divided into blocks to be a tool path, and the tool path of the divided envelope in the sweep shape generating means. An envelope dividing means that is a tool path for generating a sweep shape, and a tool path connecting means that connects the envelopes divided by the envelope dividing means A.

【0022】請求項3の発明に係る数値制御装置は、包
絡線を生成する対象となる線を基にして、前記包絡線を
生成する際にオフセットする長さと同じ長さの半径を持
つ円柱の掃引形状を生成する掃引形状生成手段と、該掃
引形状生成手段により生成された掃引形状を、ポケット
形状を定義する平面と平行な平面でスライスし、前記掃
引形状の断面から2本の断面線を生成する断面線生成手
段とを有し、前記2本の断面線の内側の断面線を内側の
包絡線として生成し、また前記2本の断面線の外側の断
面線を外側の包絡線とし、これら包絡線を基に工具経路
を生成する構成を備えたものである。
According to a third aspect of the present invention, there is provided a numerical controller according to a third aspect of the present invention, which is based on a line for which an envelope is to be generated and which has a radius of the same length as the offset length when the envelope is generated. A sweep shape generating means for generating a sweep shape and a sweep shape generated by the sweep shape generating means are sliced on a plane parallel to a plane defining a pocket shape, and two cross-section lines are formed from the cross section of the sweep shape. A cross-section line generating means for generating the cross-section line, the cross-section line inside the two cross-section lines is generated as an inner envelope line, and the cross-section line outside the two cross-section lines is an outer envelope line, A tool path is generated based on these envelopes.

【0023】請求項4の発明に係る数値制御装置は、ポ
ケット形状内にある島形状から外側に工具半径の長さだ
けオフセットした島形状包絡線と、内側包絡線生成手段
或いは外側包絡線生成手段により生成した包絡線とが干
渉を起こすか否かを判断し、干渉を起こす場合には干渉
を回避した新たな包絡線を生成し工具経路とする干渉回
避包絡線生成手段を備えたものである。
According to a fourth aspect of the present invention, in a numerical control device, an island-shaped envelope which is offset from the island shape in the pocket shape by the length of the tool radius and an inner envelope generating means or an outer envelope generating means. It is provided with an interference avoiding envelope generating means for determining whether or not the generated envelope will cause interference, and in the case of causing interference, generate a new envelope avoiding interference and use it as a tool path. .

【0024】請求項5の発明に係る数値制御装置は、再
内側包絡線生成手段による内側への工具半径の長さだけ
オフセットした包絡線の生成において、前記包絡線が2
個以上のループを有しているときに外側包絡線生成手段
により包絡線の生成を行うためのループを除いた残りの
ループを記憶する包絡線記憶手段と、前記再内側包絡線
生成手段により生成される内側への工具半径の長さだけ
オフセットした包絡線がなくなったとき、前記包絡線記
憶手段に記憶した他のループを基に包絡線を生成して工
具経路とする構成とを備えたものである。
According to a fifth aspect of the present invention, there is provided a numerical control device, wherein in the generation of the envelope curve offset by the length of the tool radius inward by the inner curve envelope generation means, the envelope curve is 2
Envelope storage means for storing the remaining loops excluding the loop for generating the envelope by the outer envelope generation means when having more than one loop, and generated by the re-inner envelope generation means When there is no envelope that is offset by the length of the tool radius to the inside, the envelope is generated based on another loop stored in the envelope storage means to form a tool path. Is.

【0025】請求項6の発明に係る数値制御装置は、被
削材の形状および工具形状を表現する形状表現手段と、
工具を移動させるための工具移動指令データを基にシミ
ュレーションを行い計算機内部で工具を移動させると共
に被削材の形状を変化させる被削材形状変化手段と、工
具の位置と周辺の被削材の形状を認識する認識手段と、
該認識手段による認識結果に応じて加工条件を変える加
工条件変更手段とを備えたものである。
A numerical controller according to a sixth aspect of the present invention is a shape expressing means for expressing the shape of a work material and the shape of a tool,
A work material shape changing means that changes the shape of the work material while moving the tool inside the computer by performing a simulation based on the tool movement command data for moving the tool, and the position of the tool and the surrounding work material Recognition means for recognizing the shape,
And a machining condition changing means for changing the machining condition according to the recognition result by the recognition means.

【0026】請求項7の発明に係る数値制御装置は、認
識した工具位置を基に工具周辺の被削材を切り取り、こ
の切り取った被削材形状により工具周辺の被削材の形状
を認識する認識手段と、該認識手段により認識した工具
周辺の被削材の形状に応じて加工条件を変化させる加工
条件変更手段とを備えたものである。
A numerical controller according to a seventh aspect of the present invention cuts a work material around the tool based on the recognized tool position, and recognizes the shape of the work material around the tool based on the cut work material shape. The recognition means and the machining condition changing means for changing the machining condition according to the shape of the work material around the tool recognized by the recognition means are provided.

【0027】請求項8の発明に係る数値制御装置は、工
具周辺の被削材の形状を平面で切断したときの断面形状
により工具周辺の被削材形状を認識する認識手段と、該
認識手段により認識した工具周辺の被削材の形状に応じ
て加工条件を変化させる加工条件変更手段とを備えたも
のである。
A numerical controller according to an eighth aspect of the present invention is a recognition means for recognizing a shape of a work material around a tool based on a cross-sectional shape when the shape of the work material around the tool is cut along a plane, and the recognition means. The machining condition changing means for changing the machining conditions according to the shape of the work material around the tool recognized by.

【0028】請求項9の発明に係る数値制御装置は、工
具の位置からベクトルを設定し、該設定したベクトルと
交差する被削材の幾何データと位置データとを基に、工
具周辺の被削材形状を認識する認識手段と、該認識手段
により認識した工具周辺の被削材の形状に応じて加工条
件を変化させる加工条件変更手段とを備えたものであ
る。
A numerical controller according to a ninth aspect of the present invention sets a vector from the position of the tool, and based on the geometrical data and position data of the work material intersecting the set vector, the workpiece around the tool is cut. A recognition means for recognizing the material shape and a machining condition changing means for changing the machining condition according to the shape of the work material around the tool recognized by the recognition means are provided.

【0029】請求項10の発明に係る数値制御装置は、
被削材に対する工具の接触面積と、前記被削材に対する
工具の接触位置とを基に工具周辺の被削材形状を認識す
る認識手段と、該認識手段により認識した工具周辺の被
削材の形状に応じて加工条件を変化させる加工条件変更
手段とを備えたものである。
A numerical controller according to a tenth aspect of the present invention is
Recognition means for recognizing the shape of the work material around the tool based on the contact area of the tool with respect to the work material and the contact position of the tool with respect to the work material, and the work material around the tool recognized by the recognition means And a processing condition changing means for changing the processing condition according to the shape.

【0030】請求項11の発明に係る数値制御装置は、
認識手段による工具の位置と周辺の被削材の形状とにつ
いての認識結果を基に工具経路の単位長さあたりの切削
量を算出する単位切削量算出手段と、前記認識手段によ
る工具の位置と周辺の被削材の形状とについての認識結
果を基に被削材の非切削部分の厚みを認識する厚み認識
手段と、前記単位切削量算出手段により算出した切削量
が多い時は送り速度を減じ、また前記切削量が少ないと
きは送り速度を増加し、さらに前記厚み認識手段により
認識した前記厚みが厚いときは送り速度を増加し、また
前記厚みが薄いときには送り速度を減じる工具送り速度
変化手段とを備えたものである。
A numerical controller according to the invention of claim 11 is
A unit cutting amount calculation unit for calculating the cutting amount per unit length of the tool path based on the recognition result of the position of the tool by the recognition unit and the shape of the surrounding work material, and the position of the tool by the recognition unit The thickness recognition means for recognizing the thickness of the non-cutting portion of the work material based on the recognition result of the shape of the surrounding work material, and the feed rate when the cutting amount calculated by the unit cutting amount calculation means is large. A tool feed rate change in which the feed rate is increased when the cutting amount is small, the feed rate is increased when the cutting amount is small, the feed rate is increased when the thickness recognized by the thickness recognizing means is thick, and the feed rate is decreased when the thickness is thin. And means.

【0031】請求項12の発明に係る数値制御装置は、
入力されたポケット形状から切削除去する領域を設定す
る除去領域設定手段と、該除去領域設定手段により設定
した除去領域と加工情報入力手段により入力した加工情
報とを基に残留部が生じるか否かを判断する残留部判定
手段と、該残留部判定手段により生じると判断された残
留部が形成される前記ポケット形状の領域に、工具経路
を基に生成された修正形状を重ね、前記ポケット形状を
修正する形状修正手段と、該形状修正手段により修正し
たポケット形状を加工するための包絡線を生成する構成
を備えたものである。
A numerical controller according to a twelfth aspect of the invention is
Removal area setting means for setting an area to be cut and removed from the input pocket shape, and whether or not a residual portion is generated based on the removal area set by the removal area setting means and the processing information input by the processing information input means. And the pocket shape region where the residual portion determined to be generated by the residual portion determination means is formed, the corrected shape generated based on the tool path is overlaid, and the pocket shape is determined. It is provided with a shape correcting means for correcting and a structure for generating an envelope for processing the pocket shape corrected by the shape correcting means.

【0032】[0032]

【作用】請求項1の発明における外側包絡線生成手段
は、再内側包絡線生成手段により生成された工具半径の
長さだけ内側へオフセットした被削材の形状変化を示す
包絡線を基に工具経路を生成することにより、加工によ
る被削材の形状変化を考慮した工具経路の生成を可能に
して無駄の少ない被削材の形状変化に応じて最適化され
た工具経路の生成を実現する。
According to the invention of claim 1, the outer envelope generating means is based on an envelope curve showing a shape change of the work material which is offset inward by the length of the tool radius generated by the inner envelope generating means. By generating the path, it is possible to generate a tool path in consideration of the shape change of the work material due to machining, and realize the generation of the tool path optimized according to the shape change of the work material with less waste.

【0033】請求項2の発明における工具経路連結手段
は、ポケット形状を定義する平面と平行な平面上で工具
形状の掃引形状の除去された領域から所定量の長さだけ
オフセットさせ、ブロックに分割して生成した包絡線を
連結して工具経路とし、効率的な工具経路の生成を実現
する。
According to a second aspect of the present invention, the tool path connecting means is divided into blocks by offsetting a predetermined amount from a region where the sweep shape of the tool shape is removed on a plane parallel to the plane defining the pocket shape. The generated envelopes are connected to form a tool path, and efficient tool path generation is realized.

【0034】請求項3の発明における数値制御装置は、
包絡線を生成する対象となる線を基に、前記包絡線を生
成する際にオフセットする長さと同じ長さの半径を持つ
円柱の掃引形状を生成して、生成した掃引形状をポケッ
ト形状を定義する平面と平行な平面でスライスし、前記
掃引形状をスライスしたときの断面から2本の断面線を
生成し、前記2本の断面線の内側の断面線を内側の包絡
線とし、また前記2本の断面線の外側の断面線を外側の
包絡線として生成し、正確な包絡線の生成を実現する。
The numerical controller according to the invention of claim 3 is
Based on the line for which the envelope is to be generated, generate a swept shape of a cylinder having a radius of the same length as the offset length when generating the envelope, and define the generated swept shape as the pocket shape. Sliced in a plane parallel to the plane to be cut, and two cross-section lines are generated from the cross-section when the swept shape is sliced, and the cross-section line inside the two cross-section lines is the inner envelope, and A cross-section line outside the cross-section line of the book is generated as an outer envelope curve to realize accurate generation of the envelope curve.

【0035】請求項4の発明における干渉回避包絡線生
成手段は、島形状から外側に工具半径の長さあたりオフ
セットさせて生成した島形状包絡線と、ポケット形状の
内側へ工具半径の長さだけオフセットさせて生成した包
絡線とが干渉を起こすか否かを判断し、干渉を起こす場
合、前記包絡線とは異なる前記島形状との干渉を回避し
た新たな包絡線を生成し工具経路として、島形状との干
渉を回避した工具経路の生成を実現する。
The interference avoidance envelope generating means in the invention of claim 4 is an island-shaped envelope generated by offsetting from the island shape to the outside by the length of the tool radius, and only the length of the tool radius to the inside of the pocket shape. Determine whether the envelope generated by offsetting causes interference, when causing interference, as a tool path to generate a new envelope avoiding interference with the island shape different from the envelope, A tool path is generated that avoids interference with the island shape.

【0036】請求項5の発明における数値制御装置は、
包絡線が2個以上のループを有しているときに包絡線の
生成を行うための1つのループを除いた残りのループを
記憶しておき、前記1つのループについての包絡線の生
成が終了したときには、さらに今度は前記記憶した他の
ループを基にした包絡線の生成を行い工具経路を生成す
ることで、包絡線が独立した複数のループを有する場合
に対し包絡線の生成を効率的に行う。
The numerical controller according to the invention of claim 5 is
When the envelope has two or more loops, the remaining loops except one loop for generating the envelope are stored, and the generation of the envelope for the one loop is completed. Then, by further generating an envelope based on the other stored loop and generating a tool path, the envelope can be efficiently generated as compared with the case where the envelope has a plurality of independent loops. To do.

【0037】請求項6の発明における加工条件変更手段
は、認識した工具の位置と周辺の被削材の形状とを基
に、加工により変化する被削材の形状に応じた最適化さ
れた加工条件を選択し、最適化された加工条件による良
好な加工を可能にする。
The machining condition changing means in the invention of claim 6 is optimized based on the recognized position of the tool and the shape of the surrounding work material, and which is optimized in accordance with the shape of the work material changed by the working. Select conditions and enable good processing with optimized processing conditions.

【0038】請求項7の発明における加工条件変更手段
は、認識した工具の位置において工具周辺の被削材を切
り取り、切り取った被削材の形状を認識し、加工により
変化する被削材の形状に応じて最適な加工条件を選択
し、最適化された加工条件による良好な加工を可能にす
る。
The machining condition changing means in the invention of claim 7 cuts the work material around the tool at the recognized position of the tool, recognizes the shape of the cut work material, and changes the shape of the work material by machining. Optimum processing conditions are selected according to the requirements, and good processing is possible with the optimized processing conditions.

【0039】請求項8の発明における加工条件変更手段
は、平面で工具周辺の被削材の形状を切断したときの断
面形状により認識される加工が進むに従って変化する被
削材の形状を基に、最適な加工条件を選択し、最適化さ
れた加工条件による良好な加工を可能にする。
The machining condition changing means in the invention of claim 8 is based on the shape of the work material which changes as the machining progresses, which is recognized by the sectional shape when the shape of the work material around the tool is cut by a plane. Select the optimum processing conditions and enable good processing under the optimized processing conditions.

【0040】請求項9の発明における加工条件変更手段
は、工具の位置からベクトルを任意方向に設定し、設定
したベクトルと交差する被削材の幾何データと位置デー
タとから認識される加工により変化する被削材の形状を
基に、最適な加工条件を選択し、最適化された加工条件
による良好な加工を可能にする。
The machining condition changing means in the invention of claim 9 sets a vector in an arbitrary direction from the position of the tool, and changes it by machining recognized from the geometric data and position data of the work material intersecting the set vector. Optimum machining conditions are selected based on the shape of the work material to be processed, and good machining is possible under the optimized machining conditions.

【0041】請求項10の発明における加工条件変更手
段は、加工に際しての被削材と工具との接触面積と、被
削材に対する工具の接触位置とを基に、最適な加工条件
を選択し、最適化された加工条件による良好な加工を可
能にする。
The machining condition changing means in the tenth aspect of the invention selects an optimum machining condition based on the contact area between the work material and the tool during machining and the contact position of the tool with respect to the work material. Enables good processing with optimized processing conditions.

【0042】請求項11の発明における加工条件変更手
段は、工具の移動経路の単位長さあたりの切削量を算出
し、算出した切削量が多いときは送り速度を減じ、また
切削量が少ないときは送り速度を増加させ、さらに被削
材の非切削領域の厚みが厚いときは送り速度を増加さ
せ、また前記厚みが薄いときは送り速度を減じることに
より、加工により被削材の形状が変化して特に薄物加工
となる状態に対し切削量を適応させ、最適化された加工
条件による良好な加工を可能にする。
The machining condition changing means in the invention of claim 11 calculates the cutting amount per unit length of the tool moving path, reduces the feed rate when the calculated cutting amount is large, and when the cutting amount is small. Changes the shape of the work material by machining by increasing the feed speed, further increasing the feed speed when the thickness of the non-cutting region of the work material is thick and decreasing the feed speed when the thickness is thin. Then, the cutting amount is adapted especially to the state of thin material processing, and good processing can be performed under optimized processing conditions.

【0043】請求項12の発明における形状修正手段
は、除去領域に残留部が生じると判断されたときに、そ
の残留部が生じると判断された領域に修正形状を重ね合
わせる修正を行い、この修正形状の重ねられた除去領域
に対し残留部が生じない工具経路を生成し、残留部の生
じない加工を可能にする。
The shape correction means in the twelfth aspect of the invention, when it is determined that a residual portion will occur in the removed area, performs the correction by superimposing the corrected shape on the area where the residual portion is determined to occur, and this correction is performed. It is possible to generate a tool path in which a residual portion does not occur with respect to a removal region where the shapes are overlapped, and to perform machining without a residual portion.

【0044】[0044]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1はこの実施例1の数値制御装置の要部の構成
を示すブロック図である。図において1は加工しようと
するポケットの形状を入力する形状入力手段である。2
は工具形状やピックフィードなどの加工情報を入力する
加工情報入力手段である。3は内側包絡線生成手段4と
再内側包絡線生成手段5と外側包絡線生成手段6と入力
手段7とからなる工具経路生成手段である。内側包絡線
生成手段4は、前記形状入力手段1および前記加工情報
入力手段2から入力したポケットの形状や加工について
の情報などを基に、ポケット外形形状から工具半径の長
さだけ内側にオフセットした包絡線を生成し、その包絡
線を工具経路とする手段である。再内側包絡線生成手段
5は、前記内側包絡線生成手段4により生成された包絡
線からさらに内側に工具半径の長さだけオフセットした
包絡線を生成する手段である。外側包絡線生成手段6
は、再内側包絡線生成手段5により生成された包絡線と
加工情報とから、その包絡線から外側に所定量の長さだ
けオフセットした外側包絡線を生成し、その外側包絡線
を工具経路とする手段である。入力手段7は外側包絡線
生成手段6により生成された外側包絡線を、前記再内側
包絡線生成手段5に入力する手段である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the main part of the numerical controller according to the first embodiment. In the figure, 1 is a shape input means for inputting the shape of a pocket to be processed. Two
Is a machining information input means for inputting machining information such as tool shape and pick feed. Reference numeral 3 is a tool path generating means including an inner envelope generating means 4, a re-inner envelope generating means 5, an outer envelope generating means 6 and an input means 7. The inner envelope generation means 4 is offset from the outer shape of the pocket to the inside by the length of the tool radius based on the information about the shape and processing of the pocket input from the shape input means 1 and the processing information input means 2. It is a means for generating an envelope and using the envelope as a tool path. The re-inner envelope generating means 5 is means for generating an envelope further offset from the envelope generated by the inner envelope generating means 4 by the length of the tool radius. Outer envelope generating means 6
Generates an outer envelope that is offset from the envelope by a predetermined amount to the outside from the envelope generated by the inner envelope generator 5 and the processing information, and uses the outer envelope as a tool path. Is a means to do. The input means 7 is means for inputting the outer envelope generated by the outer envelope generating means 6 to the re-inner envelope generating means 5.

【0045】図2はこの数値制御装置の動作を示すフロ
ーチャートである。図3は図2のフローチャートに示す
動作を具体的に示した説明図であり、8はポケット外形
形状、9はポケット外形形状内に生成された工具経路で
ある。
FIG. 2 is a flow chart showing the operation of this numerical controller. FIG. 3 is an explanatory view specifically showing the operation shown in the flowchart of FIG. 2, where 8 is a pocket outer shape and 9 is a tool path generated in the pocket outer shape.

【0046】次に動作について説明する。図2のフロー
チャートによれば、まずポケット形状としてポケット外
形形状についての情報、また加工情報として工具形状と
外側包絡線生成手段6で使用するピックフィードについ
ての情報を入力する(ステップST1)。続いて、前記
入力されたポケット外形形状と工具形状についての情報
から、ポケット外形形状の内側に工具半径rだけオフセ
ットした包絡線aを生成する(ステップST2)。この
状態を図3の(A)に示す。そして、この包絡線aを工
具経路とし(ステップST3)、次に、包絡線aから内
側に工具半径rだけオフセットした包絡線bを生成する
(ステップST4)。この状態を図3の(B)に示す。
そして、包絡線bから外側(ポケット外形形状8の方
向)にピックフィードと工具形状から所定距離dだけオ
フセットした包絡線cを生成する(ステップST5)。
この状態を図3の(C)に示す。さらにこの包絡線cを
工具経路の一つとし(ステップST6)、次の工具経路
を生成する必要があるか否かを判断し(ステップST
7)、必要があるときにはステップST4に戻り、前記
ステップST5で生成した包絡線cを基に次の包絡線
c’,c”・・・を求める。
Next, the operation will be described. According to the flowchart of FIG. 2, first, information about the pocket outer shape as the pocket shape and information about the tool shape and the pick feed used by the outer envelope generating means 6 as the processing information are input (step ST1). Then, the envelope a which is offset by the tool radius r inside the pocket outline is generated from the input information about the pocket outline and the tool form (step ST2). This state is shown in FIG. Then, this envelope a is used as a tool path (step ST3), and then an envelope b offset from the envelope a inward by the tool radius r is generated (step ST4). This state is shown in FIG.
Then, the envelope c is generated by offsetting the pick feed and the tool shape by a predetermined distance d from the envelope b to the outside (direction of the pocket outer shape 8) (step ST5).
This state is shown in FIG. Further, this envelope c is set as one of the tool paths (step ST6), and it is determined whether or not the next tool path needs to be generated (step ST6).
7) If necessary, the process returns to step ST4, and the next envelopes c ′, c ″ ... Are obtained based on the envelope c generated in step ST5.

【0047】ステップST3とステップST6では、入
力された包絡線を生成した工具経路情報として出力す
る。また、ステップST7において次の工具経路を生成
しないと判断したときには処理を終了する。この結果、
これら一連の処理が終了したときには図3の(D)に示
すようにポケット外形形状8に対しa,c,c’,c”
のような包絡線が工具経路9として生成される。
In steps ST3 and ST6, the input envelope is output as generated tool path information. If it is determined in step ST7 that the next tool path is not to be generated, the process ends. As a result,
When these series of processing are completed, as shown in FIG. 3D, the pocket outer shape 8 is a, c, c ′, c ″.
An envelope curve such as is generated as the tool path 9.

【0048】従ってこの実施例によれば、一つ前の工具
経路にあたる包絡線から一度内側に工具の半径rの長さ
だけオフセットした包絡線を生成し、その包絡線を基に
次の工具経路を今度は外側に所定距離オフセットするこ
とで生成するので、加工による被削材の形状の変化に応
じて工具経路が順次生成されることになり、加工の進行
と共に変化していく被削材の形状に対し最適化された工
具経路の生成ができ、また効率的な工具経路の生成が実
現する。
Therefore, according to this embodiment, an envelope curve which is offset inward by the length of the radius r of the tool from the envelope curve corresponding to the previous tool path is generated, and the next tool path is generated based on the envelope curve. Is generated by offsetting a predetermined distance to the outside, so tool paths are sequentially generated according to changes in the shape of the work material due to machining, and the work material that changes as the machining progresses. The tool path optimized for the shape can be generated, and the tool path can be efficiently generated.

【0049】実施例2.図4はこの実施例2の数値制御
装置の要部の構成を示すブロック図である。図4におい
て図1と同一または相当の部分については同一の符号を
付し説明を省略する。図において21は計算機により被
削材の形状と工具形状とを表現する形状表現手段であ
る。22は形状入力手段1から入力したポケット外形形
状から内側包絡線を生成する内側包絡線生成手段23と
掃引形状生成手段24と掃引形状除去手段25とオフセ
ット包絡線生成手段26と、包絡線分割手段27および
工具経路連結手段28を有した工具経路生成手段であ
る。
Example 2. FIG. 4 is a block diagram showing the configuration of the main part of the numerical controller according to the second embodiment. 4, parts that are the same as or equivalent to those in FIG. 1 are given the same reference numerals and explanations thereof are omitted. In the figure, reference numeral 21 is a shape expressing means for expressing the shape of the work material and the tool shape by a computer. Reference numeral 22 denotes an inner envelope generating means 23 for generating an inner envelope from the pocket outer shape input from the shape input means 1, a sweep shape generating means 24, a sweep shape removing means 25, an offset envelope generating means 26, and an envelope dividing means. It is a tool path generation means having 27 and a tool path connection means 28.

【0050】内側包絡線生成手段23は、形状表現手段
21により表現された被削材の形状と、形状入力手段1
により入力したポケット外形形状とを基に、該ポケット
外形形状から内側へ工具半径の長さだけオフセットした
包絡線を生成し工具経路とする手段である。掃引形状生
成手段24は、入力された工具経路から工具形状の掃引
形状を生成する手段である。掃引形状除去手段25は、
掃引形状生成手段24により生成された工具形状の掃引
形状を被削材形状から除去する手段である。オフセット
包絡線生成手段26は、掃引形状除去手段25により掃
引形状を除去された被削材形状のポケット形状を定義す
る平面と平行な平面上の領域より所定量の長さだけオフ
セットした包絡線を生成する手段である。包絡線分割手
段27は、オフセット包絡線生成手段26により生成し
た包絡線を所定の数のブロックに分割して工具経路とす
る手段である。工具経路連結手段28は、包絡線分割手
段27により分割された包絡線の工具経路から適当な工
具経路を選択し連結する手段である。
The inner envelope generating means 23 includes the shape of the work represented by the shape expressing means 21 and the shape inputting means 1.
It is a means for generating an envelope curve offset from the pocket contour shape inward by the length of the tool radius based on the pocket contour shape input by, and setting it as a tool path. The sweep shape generating means 24 is means for generating a sweep shape of the tool shape from the input tool path. The sweep shape removing means 25
It is a means for removing the sweep shape of the tool shape generated by the sweep shape generating means 24 from the work material shape. The offset envelope generating means 26 creates an envelope which is offset by a predetermined amount from a region on a plane parallel to the plane defining the pocket shape of the work material shape whose sweep shape has been removed by the sweep shape removing means 25. It is a means to generate. The envelope dividing unit 27 is a unit that divides the envelope generated by the offset envelope generating unit 26 into a predetermined number of blocks to form a tool path. The tool path connecting means 28 is means for selecting and connecting an appropriate tool path from the tool paths of the envelope divided by the envelope dividing means 27.

【0051】図5はこの数値制御装置の動作を示すフロ
ーチャートである。図6は図5のフローチャートに示す
動作を具体的に示した説明図であり、11は工具形状、
12は工具の移動経路、13は工具形状11を移動させ
たときの工具による掃引形状、14はポケット外形形状
を示している。
FIG. 5 is a flow chart showing the operation of this numerical controller. FIG. 6 is an explanatory view specifically showing the operation shown in the flowchart of FIG. 5, 11 is a tool shape,
Reference numeral 12 indicates a movement path of the tool, 13 indicates a sweep shape by the tool when the tool shape 11 is moved, and 14 indicates a pocket outer shape.

【0052】次に動作について説明する。図5におい
て、まずポケット形状として形状入力手段1からポケッ
トの外形形状を、また加工情報入力手段から加工情報を
入力する(ステップST20)。次に、入力された加工
情報から計算機により被削材の形状と工具の形状を表現
する(ステップST21)。さらに、ポケット外形形状
から内側へ工具半径の長さだけオフセットした包絡線を
生成し工具経路とする(ステップST22)。次に、前
記工具経路から工具形状の掃引形状を生成する(ステッ
プST23)。この掃引形状13を図6の(B)に示
す。続いて被削材形状から前記生成した工具形状の掃引
形状13を除去する(ステップST24)。この状態を
図6の(C)に示す。
Next, the operation will be described. In FIG. 5, first, as the pocket shape, the outer shape of the pocket is input from the shape input means 1 and the processing information is input from the processing information input means (step ST20). Next, the shape of the work material and the shape of the tool are expressed by the computer from the input processing information (step ST21). Further, an envelope curve offset from the outer shape of the pocket by the length of the tool radius is generated and used as a tool path (step ST22). Next, a sweep shape of the tool shape is generated from the tool path (step ST23). This sweep shape 13 is shown in FIG. Subsequently, the generated sweep shape 13 of the tool shape is removed from the work material shape (step ST24). This state is shown in FIG.

【0053】そして、前記工具形状の掃引形状13が除
去されたポケット内の形状が被削材形状の残っていない
ポケット形状に到達しているか否かを判断する(ステッ
プST25)。到達していると判断したときには処理を
終了する。また到達していなければステップST26の
処理を行う。
Then, it is judged whether or not the shape in the pocket from which the sweep shape 13 of the tool shape has been removed has reached the pocket shape in which the shape of the work material does not remain (step ST25). When it is determined that the arrival has been reached, the processing ends. If it has not arrived, the process of step ST26 is performed.

【0054】このステップST26では、ポケット形状
14を定義する平面と平行な平面上に、被削材形状の除
去された領域から所定量の長さdだけオフセットした新
たな包絡線eを生成する(ステップST26)。この状
態を図6の(D)に示す。次に、包絡線を所定の数のブ
ロックに分割して工具経路とし(ステップST27)、
その分割された工具経路が効率的な工具経路となるよう
に連結する(ステップST28)。そして、再度ステッ
プST23に戻り、今度は前記ステップST28におけ
る工具経路から工具形状の掃引形状を生成し、ステップ
ST24以降の処理を、被削材形状が目的とするポケッ
ト形状に到達するまで繰り返す。
In this step ST26, a new envelope e is generated on the plane parallel to the plane defining the pocket shape 14 with a predetermined length d offset from the area where the shape of the workpiece is removed ( Step ST26). This state is shown in FIG. Next, the envelope is divided into a predetermined number of blocks to form a tool path (step ST27),
The divided tool paths are connected so as to be an efficient tool path (step ST28). Then, the process returns to step ST23 again, this time, the sweep shape of the tool shape is generated from the tool path in step ST28, and the processing from step ST24 is repeated until the shape of the work material reaches the desired pocket shape.

【0055】図7は、このようにして生成された工具経
路9を示しており、ポケット形状内の切削を効率的に行
い、目的のポケット形状14に到達するまでの工具の移
動経路となる。
FIG. 7 shows the tool path 9 generated in this way, which is a tool movement path for efficiently cutting the inside of the pocket shape to reach the target pocket shape 14.

【0056】従ってこの実施例によれば、加工による被
削材の形状の変化に応じて工具経路を生成することにな
り、加工の進行と共に変化していく被削材の形状に対し
最適化された工具経路の生成ができ、また効率的な工具
経路の生成が実現する。
Therefore, according to this embodiment, the tool path is generated according to the change in the shape of the work material due to the machining, and the tool path is optimized for the shape of the work material which changes as the machining progresses. The tool path can be generated efficiently, and the tool path can be efficiently generated.

【0057】実施例3.図8はこの実施例3の数値制御
装置の要部の構成を示すブロック図である。図において
31は包絡線を生成する対象となる線を基にして、オフ
セットする長さと同じ長さの半径の円柱の掃引形状を生
成する掃引形状生成手段である。32は掃引形状生成手
段31により生成された掃引形状をポケット形状を定義
する平面と平行な平面でスライスして2本の断面線を生
成する断面線生成手段である。33は断面線生成手段3
2により生成された断面線の2本のうち、外側の包絡線
なら外側の断面線を包絡線として生成し、内側の包絡線
なら内側の断面線を包絡線として生成する包絡線生成手
段である。
Example 3. FIG. 8 is a block diagram showing the configuration of the main part of the numerical controller according to the third embodiment. In the figure, reference numeral 31 is a sweep shape generating means for generating a sweep shape of a cylinder having a radius of the same length as the offset length, based on the line for which the envelope is to be generated. Reference numeral 32 is a cross-section line generation unit that slices the sweep shape generated by the sweep shape generation unit 31 on a plane parallel to the plane defining the pocket shape to generate two cross-section lines. 33 is a section line generation means 3
Of the two cross-section lines generated by 2, the outer cross-section line is generated as an envelope curve if it is an outer envelope curve, and the inner cross-section line is generated as an envelope curve if it is an inner envelope curve. .

【0058】図9はこの実施例3の動作を示すフローチ
ャートである。図10は図9のフローチャートに示す動
作を具体的に示した説明図であり、34は工具形状、3
5は工具形状34を移動させたときの掃引形状、36は
ポケット形状を定義する平面と平行な平面、39と40
は掃引形状35をポケット形状を定義する平面と平行な
平面36でスライスしたときの2本の断面線を示してい
る。
FIG. 9 is a flow chart showing the operation of the third embodiment. FIG. 10 is an explanatory diagram specifically showing the operation shown in the flowchart of FIG.
5 is a sweep shape when the tool shape 34 is moved, 36 is a plane parallel to the plane defining the pocket shape, and 39 and 40.
Shows two cross-section lines when the sweep shape 35 is sliced by a plane 36 parallel to the plane defining the pocket shape.

【0059】次に動作について説明する。図9におい
て、まず包絡線を生成する対象となる線を入力する(ス
テップST31)。さらにオフセットする長さを入力し
(ステップST32)、次に、図10の(A)に示す前
記オフセットする長さと同じ長さの半径の円柱34を生
成する(ステップST33)。
Next, the operation will be described. In FIG. 9, first, a line for which an envelope is to be generated is input (step ST31). Further, the offset length is input (step ST32), and then the cylinder 34 having the same radius as the offset length shown in FIG. 10A is generated (step ST33).

【0060】次に、ステップST31で入力した線を基
にして、ステップST33で生成した円柱から掃引形状
35を生成する(ステップST34)。この状態を図1
0の(A)に示す。そして、前記生成した掃引形状35
をポケット形状を定義する平面と平行な平面36でスラ
イスして、2本の断面線39,40を生成する(ステッ
プST35)。この状態を図10の(B)に示す。
Next, based on the line input in step ST31, the sweep shape 35 is generated from the cylinder generated in step ST33 (step ST34). This state is shown in Figure 1.
It is shown in 0 (A). Then, the generated sweep shape 35
Is sliced by a plane 36 parallel to the plane defining the pocket shape to generate two sectional lines 39 and 40 (step ST35). This state is shown in FIG.

【0061】続いて、前記ステップST35で生成され
た2本の断面線のうち、外側の包絡線なら外側の断面線
39を包絡線として生成して、内側の包絡線なら内側の
断面線40を包絡線として生成する。この状態を図10
の(C)に示す。
Then, of the two cross-section lines generated in step ST35, the outer cross-section line 39 is generated as the envelope curve for the outer envelope curve, and the inner cross-section line 40 is generated for the inner envelope curve. Generate as an envelope. This state is shown in FIG.
(C) of.

【0062】従ってこの実施例によれば、工具の掃引形
状をスライスすることで得られる2本の断面線から包絡
線を生成するので正確な包絡線が生成できる。
Therefore, according to this embodiment, since the envelope is generated from the two cross-section lines obtained by slicing the sweep shape of the tool, an accurate envelope can be generated.

【0063】実施例4.図11はこの実施例の数値制御
装置の要部の構成を示すブロック図である。図11にお
いて図1と同一または相当の部分については同一の符号
を付し説明を省略する。図において41はポケット外形
形状から内側包絡線生成手段4および外側包絡線生成手
段6により生成された包絡線と、前記ポケット外形形状
内にある島形状から工具半径の長さだけ外側にオフセッ
トした島形状包絡線とが干渉を起こすか否かを判断し、
干渉を起こす場合は、前記島形状を考慮して干渉を回避
した包絡線を生成する干渉回避包絡線生成手段である。
Example 4. FIG. 11 is a block diagram showing the configuration of the main part of the numerical controller according to this embodiment. 11, parts that are the same as or equivalent to those in FIG. 1 are assigned the same reference numerals and explanations thereof are omitted. In the figure, reference numeral 41 indicates an envelope generated from the pocket outer shape by the inner envelope generating means 4 and the outer envelope generating means 6, and an island offset from the island shape in the pocket outer shape by the length of the tool radius. Determine whether or not the shape envelope will interfere,
In the case of causing interference, it is an interference avoidance envelope generating means for generating an envelope avoiding interference in consideration of the island shape.

【0064】図12はこの実施例4の動作を示すフロー
チャートである。また、図13は、図12に示すフロー
チャートの特徴的な動作を具体的に示すための説明図で
あり、45はポケット外形形状46内にある島形状を示
している。
FIG. 12 is a flow chart showing the operation of the fourth embodiment. Further, FIG. 13 is an explanatory diagram for specifically showing the characteristic operation of the flowchart shown in FIG. 12, and 45 indicates an island shape within the pocket outer shape 46.

【0065】次に動作について図12のフローチャート
に基づいて説明する。なお、図12において図2と同一
の処理ステップについては同一の符号を付し説明を省略
する。
Next, the operation will be described with reference to the flowchart of FIG. Note that, in FIG. 12, the same processing steps as those in FIG.

【0066】この実施例の数値制御装置の動作は、入力
された島形状45と工具形状についての加工情報とを基
に、前記島形状45から外側に工具半径の長さだけオフ
セットした島形状包絡線isを生成する(ステップST
41)。次に、ステップST2で生成した包絡線aとス
テップST41で生成した島形状包絡線isが干渉する
か否かを判断する(ステップST42)。包絡線aと島
形状包絡線isが干渉する場合は、ステップST43に
進む。一方、包絡線aと島形状包絡線isが干渉しない
場合には、ステップST3に進む。
The operation of the numerical controller of this embodiment is based on the input island shape 45 and the machining information about the tool shape, and the island shape envelope offset from the island shape 45 to the outside by the length of the tool radius. Generate the line is (step ST
41). Next, it is determined whether or not the envelope a generated in step ST2 and the island-shaped envelope is generated in step ST41 interfere with each other (step ST42). When the envelope a and the island-shaped envelope is interfere with each other, the process proceeds to step ST43. On the other hand, if the envelope a and the island-shaped envelope is do not interfere with each other, the process proceeds to step ST3.

【0067】ステップST43では、島形状45との干
渉を回避した包絡線a’を生成しステップST3に進
む。またステップST3では、包絡線aと島形状包絡線
isが干渉しない場合は包絡線aを工具経路とし、また
包絡線aと島形状包絡線isが干渉するときには包絡線
a’を工具経路とする。続くステップST4では、包絡
線a或いは包絡線a’から内側に工具半径rの距離だけ
オフセットした包絡線bを生成する。
In step ST43, an envelope curve a'that avoids interference with the island shape 45 is generated, and the process proceeds to step ST3. In step ST3, if the envelope a and the island-shaped envelope is do not interfere with each other, the envelope a is used as the tool path, and if the envelope a and the island-shaped envelope is interfere with each other, the envelope a'is used as the tool path. . In the subsequent step ST4, the envelope curve b is generated by offsetting the envelope curve a or the envelope curve a ′ inward by the distance of the tool radius r.

【0068】次に、ステップST4で生成した包絡線b
とステップST41で生成した包絡線isが干渉する否
かを判断する(ステップST44)。包絡線bと島形状
包絡線isが干渉する場合は、ステップST45に進
む。一方、包絡線bと島形状包絡線isが干渉しない場
合には、ステップST5に進む。ステップST45で
は、島形状45との干渉を回避した包絡線c’が生成さ
れ、続くステップST6において前記包絡線c’を工具
経路とする。またステップST5では、前記包絡線bか
ら所定量の距離だけ外側(ポケット形状の方向)にオフ
セットした包絡線cを生成し、続くステップST6にお
いて前記包絡線cを工具経路とする。
Next, the envelope b generated in step ST4
Then, it is determined whether or not the envelope is generated in step ST41 interferes (step ST44). When the envelope b and the island-shaped envelope is interfere with each other, the process proceeds to step ST45. On the other hand, when the envelope b and the island-shaped envelope is do not interfere with each other, the process proceeds to step ST5. In step ST45, an envelope curve c'which avoids interference with the island shape 45 is generated, and in the subsequent step ST6, the envelope curve c'is used as a tool path. Further, in step ST5, an envelope c that is offset outward (in the pocket shape direction) by a predetermined distance from the envelope b is generated, and in the subsequent step ST6, the envelope c is used as a tool path.

【0069】そして、次の工具経路を生成する必要があ
るか否かを判断し(ステップST7)、必要がないとき
には処理を終了する。また次の工具経路を生成する必要
があるときには、ステップST4に戻り、今度はステッ
プST5において生成した包絡線cから内側に工具半径
rの距離だけオフセットした包絡線を生成し、ステップ
ST44以降の処理を繰り返す。
Then, it is judged whether or not the next tool path needs to be generated (step ST7), and when it is not necessary, the processing is terminated. When it is necessary to generate the next tool path, the process returns to step ST4, and this time, the envelope c generated in step ST5 is inwardly offset by the distance of the tool radius r, and the process from step ST44 is performed. repeat.

【0070】従ってこの実施例によれば、島形状との干
渉を回避した工具経路を生成するので、島形状を加工し
てしまうことになる工具経路が排除でき、島形状を有し
たポケット形状の加工のための工具経路を正確に生成で
きる。
Therefore, according to this embodiment, since the tool path that avoids the interference with the island shape is generated, the tool path that would process the island shape can be eliminated, and the pocket shape having the island shape can be eliminated. A tool path for machining can be accurately generated.

【0071】実施例5.図14はこの実施例5の数値制
御装置の要部の構成を示すブロック図である。図14に
おいて図1および図11と同一または相当の部分につい
ては同一の符号を付し説明を省略する。図において51
は再内側包絡線生成手段5により生成された包絡線が独
立した2個以上のループであるとき、その内の一つの包
絡線だけを外側包絡線生成手段6に送り、残りのループ
を記憶し、前記再内側包絡線生成手段5により生成され
る包絡線の内側に工具半径の長さrだけオフセットした
包絡線が無くなったとき、前記記憶した他のループの包
絡線の一つを外側包絡線生成手段6に送る包絡線記憶手
段である。
Example 5. FIG. 14 is a block diagram showing the configuration of the main part of the numerical controller according to the fifth embodiment. 14, parts that are the same as or correspond to those in FIGS. 1 and 11 are given the same reference numerals, and descriptions thereof will be omitted. 51 in the figure
When the envelopes generated by the inner envelope generating means 5 are two or more independent loops, only one of them is sent to the outer envelope generating means 6 and the remaining loops are stored. When the envelope generated by the re-inner envelope generating means 5 does not include the envelope offset by the length r of the tool radius, one of the stored envelopes of the other loops is changed to the outer envelope. Envelope storage means for sending to the generation means 6.

【0072】図15はこの実施例5の数値制御装置の動
作を示すフローチャート、図16は図15のフローチャ
ートによる動作を具体的に示す説明図であり(A)〜
(D)は工具経路生成の過程を示している。
FIG. 15 is a flow chart showing the operation of the numerical controller according to the fifth embodiment, and FIG. 16 is an explanatory view specifically showing the operation according to the flow chart of FIG.
(D) shows the process of tool path generation.

【0073】次に動作について説明する。なお、図15
において図2と図12に示す同一の処理ステップについ
ては同一の符号を付し説明を省略する。この実施例の数
値制御装置では、ステップST1からステップST43
までの処理をそのフローチャートに従って実行した後、
ステップST4において生成した包絡線a或いは包絡線
a’から内側に工具半径rの長さだけオフセットした包
絡線bが生成されるか否かを判断する(ステップST5
1)。この結果、包絡線が生成されないと判断したとき
はステップST54に進み、また包絡線が生成されると
判断したときは、ステップST52に進む。
Next, the operation will be described. Note that FIG.
2, the same processing steps shown in FIG. 2 and FIG. 12 are designated by the same reference numerals and the description thereof will be omitted. In the numerical controller of this embodiment, steps ST1 to ST43 are performed.
After performing the process up to the following flow chart,
It is determined whether the envelope curve a or the envelope curve a ′ generated in step ST4 is offset inward by the length of the tool radius r to generate an envelope curve b (step ST5).
1). As a result, when it is determined that the envelope is not generated, the process proceeds to step ST54, and when it is determined that the envelope is generated, the process proceeds to step ST52.

【0074】ステップST52では、包絡線bが図16
の(C)に示すように独立した複数のループ(b1,b
2・・・b4)を持つか否かを判断する。この結果、複
数のループを持たないと判断したときはステップST4
4の処理を実行し、また複数のループを持つと判断した
ときにはステップST53に進む。
In step ST52, the envelope b is shown in FIG.
As shown in (C) of FIG.
2 ... b4) is determined. As a result, when it is determined that the loop does not have a plurality of loops, step ST4
4 is executed, and when it is determined that there are a plurality of loops, the process proceeds to step ST53.

【0075】ステップST53では、ステップST52
により判断した複数のループを記憶する。続くステップ
ST54では、前記ステップST53において記憶した
ループ(b1,b2・・・b4)から一つを選択し包絡
線b1とする。
In step ST53, step ST52
The plurality of loops determined by are stored. In the following step ST54, one is selected from the loops (b1, b2 ... b4) stored in the step ST53 and set as the envelope b1.

【0076】次のステップST55では、包絡線b1に
対し内側への前記包絡線bが生成可能か否か判断し、包
絡線bが生成可能であればステップST44以降の処理
を行い、また前記包絡線b1に対する包絡線bがこれ以
上生成できないときには処理を終了する。ステップST
44以降の処理では、包絡線bと包絡線isとの干渉の
有無の判断と、その判断結果に応じた包絡線cまたは包
絡線c’の生成(ステップST5,ステップST45)
および生成した包絡線cを工具経路とする処理(ステッ
プST7)を行った後、ステップST54に戻る。
At the next step ST55, it is judged whether or not the inward envelope b can be generated with respect to the envelope b1, and if the envelope b can be generated, the processes from step ST44 are performed, and the envelope b When the envelope b for the line b1 cannot be generated any more, the process ends. Step ST
In the processing after 44, it is determined whether or not there is interference between the envelope b and the envelope is, and the envelope c or the envelope c ′ is generated according to the determination result (step ST5, step ST45).
After performing the process (step ST7) using the generated envelope c as the tool path, the process returns to step ST54.

【0077】ステップST54では、今度はステップS
T53において記憶したループから別のループを選択し
包絡線b2とし、ステップST55以降の処理を繰り返
す。
At step ST54, this time at step S
Another loop is selected from the loops stored in T53 to form the envelope b2, and the processing from step ST55 is repeated.

【0078】従ってこの実施例によれば、複数の島形状
があるときにそれら島形状との干渉を回避した工具経路
を効率良く生成できる。
Therefore, according to this embodiment, when there are a plurality of island shapes, it is possible to efficiently generate a tool path which avoids interference with the island shapes.

【0079】実施例6.図17はこの実施例6の数値制
御装置の要部を示すブロック図である。図において61
は被削材の形状と工具形状を表現する形状表現手段であ
る。62は工具移動指令データを入力する工具移動指令
データ入力手段、63は形状表現手段61および工具移
動指令データ入力手段62より得られるデータから被削
材の形状を変化させる被削材形状変化手段である。64
は被削材形状変化手段63から得られるデータを基に工
具の位置と周辺の被削材の形状を認識する認識手段であ
る。65は認識手段64により認識した結果を基に加工
条件を変化させる加工条件変更手段である。
Example 6. FIG. 17 is a block diagram showing a main part of the numerical control device according to the sixth embodiment. 61 in the figure
Is a shape expressing means for expressing the shape of the work material and the tool shape. Reference numeral 62 is a tool movement command data input means for inputting tool movement command data, and 63 is a work material shape changing means for changing the shape of the work material from the data obtained from the shape representation means 61 and the tool movement command data input means 62. is there. 64
Is a recognition means for recognizing the position of the tool and the shape of the surrounding work material based on the data obtained from the work material shape changing means 63. Reference numeral 65 is a processing condition changing means for changing the processing condition based on the result recognized by the recognition means 64.

【0080】次に動作について説明する。図18はこの
実施例6の動作を示すフローチャートである。この実施
例の数値制御装置では、まず工具形状データと被削材形
状データを形状表現手段61から入力する(ステップS
T61)。次に、工具移動指令データ入力手段62から
工具移動指令データを入力する(ステップST62)。
Next, the operation will be described. FIG. 18 is a flow chart showing the operation of the sixth embodiment. In the numerical controller of this embodiment, first, the tool shape data and the work material shape data are input from the shape representation means 61 (step S).
T61). Next, the tool movement command data is input from the tool movement command data input means 62 (step ST62).

【0081】そして、さらに工具形状データと工具移動
指令データとから工具掃引形状を生成する(ステップS
T63)。次に、工具掃引形状を被削材形状から除去す
る(ステップST64)。
Then, a tool sweep shape is further generated from the tool shape data and the tool movement command data (step S
T63). Next, the tool sweep shape is removed from the work material shape (step ST64).

【0082】続いて工具形状を工具移動指令データを基
に移動させ、工具の位置を移動させる(ステップST6
5)。そして、このときの工具の位置周辺の被削材の形
状を認識する(ステップST66)。次に、前記ステッ
プST66における工具の位置周辺の被削材の形状の認
識結果を基に加工条件を変化させる(ステップST6
7)。
Then, the tool shape is moved based on the tool movement command data, and the position of the tool is moved (step ST6).
5). Then, the shape of the work material around the position of the tool at this time is recognized (step ST66). Next, the processing conditions are changed based on the recognition result of the shape of the work material around the position of the tool in step ST66 (step ST6).
7).

【0083】さらに次の工具移動指令データがあるか否
かを判断する(ステップST68)。この結果、次の工
具移動指令データがあるときには、ステップST62の
処理に戻り、また次の工具移動指令データがないときに
は処理を終了する。
Further, it is judged whether or not there is the next tool movement command data (step ST68). As a result, when there is the next tool movement command data, the process returns to step ST62, and when there is no next tool movement command data, the process ends.

【0084】従ってこの実施例によれば、加工により変
化する被削材の形状に応じて加工条件を変化させる結
果、たとえば現在加工中の被削材の厚みや形状などに応
じ被削材に生ずる歪みなどを考慮した精度の高い加工を
行うための加工条件の最適化が可能となる。
Therefore, according to this embodiment, as a result of changing the working conditions according to the shape of the work material that changes due to working, for example, the work material is produced depending on the thickness and shape of the work material currently being worked. It is possible to optimize the processing conditions for performing highly accurate processing in consideration of distortion and the like.

【0085】実施例7.図19はこの実施例7の数値制
御装置の要部構成を示すブロック図である。図19にお
いて図17と同一または相当の部分については同一の符
号を付し説明を省略する。図において71は工具の位置
を認識する工具位置認識手段(認識手段)、72は工具
の位置を基にして周辺の被削材形状を切り取る被削材形
状切取り手段、73は被削材形状切取り手段72により
切り取られた形状を認識する切取り形状認識手段(認識
手段)、74は切取り形状認識手段73により認識した
結果を基に加工条件を変化させる加工条件変更手段であ
る。
Example 7. FIG. 19 is a block diagram showing the main configuration of the numerical controller according to the seventh embodiment. 19, parts that are the same as or equivalent to those in FIG. 17 are assigned the same reference numerals and explanations thereof are omitted. In the figure, 71 is a tool position recognizing means (recognizing means) for recognizing the position of the tool, 72 is a work material shape cutting means for cutting out the peripheral work material shape based on the tool position, and 73 is a work material shape cutting Cutout shape recognizing means (recognizing means) for recognizing the shape cut out by the means 72, and processing condition changing means 74 for changing the processing condition based on the result recognized by the cutout shape recognizing means 73.

【0086】図20はこの実施例の数値制御装置の動作
を示すフローチャートである。図21は図20のフロー
チャートによる動作を具体的に示す説明図であり、76
は工具、77は被削材、78は工具76の移動経路を示
している。
FIG. 20 is a flow chart showing the operation of the numerical controller of this embodiment. FIG. 21 is an explanatory diagram concretely showing the operation according to the flowchart of FIG.
Is a tool, 77 is a work material, and 78 is a movement path of the tool 76.

【0087】次に動作について説明する。なお、図20
において図18に示す処理ステップと同一の処理ステッ
プについては同一の符号を付し説明を省略する。この数
値制御装置では、ステップST61からステップST6
5の処理実行後、図21の(B)に示す工具位置周辺の
被削材形状79を切り取り(ステップST71)、次
に、前記切り取った被削材形状79の認識を行う(ステ
ップST72)。この状態を図21の(B)に示す。そ
して、さらに前記ステップST72における被削材形状
79の認識結果を基に加工条件を変化させる(ステップ
ST73)。
Next, the operation will be described. Note that FIG.
In FIG. 18, the same processing steps as those shown in FIG. 18 are designated by the same reference numerals and the description thereof will be omitted. In this numerical controller, steps ST61 to ST6
After the processing of step 5 is performed, the work material shape 79 around the tool position shown in FIG. 21B is cut (step ST71), and then the cut work material shape 79 is recognized (step ST72). This state is shown in FIG. Then, the processing conditions are further changed based on the recognition result of the work material shape 79 in step ST72 (step ST73).

【0088】従ってこの実施例によれば、工具周辺の被
削材の形状を切り取り、その切り取った形状から加工に
より変化する被削材の形状を認識するので、処理するの
に要する被削材のデータ量が少なくなり、加工により変
化する被削材の形状に応じた加工条件の変更が容易にな
る。
Therefore, according to this embodiment, the shape of the work material around the tool is cut out, and the shape of the work material that changes due to machining is recognized from the cut shape. The amount of data is reduced, and it becomes easy to change the machining conditions according to the shape of the work material that changes due to machining.

【0089】実施例8.図22はこの実施例8の数値制
御装置の要部構成を示すブロック図である。図22にお
いて図17および図19と同一または相当の部分につい
ては同一の符号を付し説明を省略する。図において81
は工具の位置を基にしてスライスする平面を生成するス
ライス平面生成手段である。82は前記スライスする平
面を用いて被削材の形状をスライスし、断面形状を生成
するスライス実行手段である。83はスライス実行手段
82により生成された断面形状を認識する断面形状認識
手段(認識手段)、84は断面形状認識手段83による
前記断面形状の認識結果から加工条件を変化させる加工
条件変更手段である。
Example 8. FIG. 22 is a block diagram showing the main configuration of the numerical controller according to the eighth embodiment. 22, parts that are the same as or correspond to those in FIGS. 17 and 19 are given the same reference numerals and description thereof is omitted. 81 in the figure
Is a slice plane generating means for generating a plane to be sliced based on the position of the tool. Reference numeral 82 denotes a slice execution means for slicing the shape of the work material using the slicing plane to generate a cross-sectional shape. Reference numeral 83 is a cross-sectional shape recognition means (recognition means) for recognizing the cross-sectional shape generated by the slice execution means 82, and reference numeral 84 is a processing condition changing means for changing the processing condition based on the recognition result of the cross-sectional shape by the cross-sectional shape recognition means 83. .

【0090】図23は、この実施例8の数値制御装置の
動作を示すフローチャートである。図24と図25は、
図23におけるフローチャートによる動作を具体的に示
した説明図であり、80a,80bはスライス平面生成
手段81により工具の位置を基にして生成したスライス
する平面を示している。
FIG. 23 is a flow chart showing the operation of the numerical controller according to the eighth embodiment. 24 and 25 show
FIG. 24 is an explanatory view specifically showing the operation according to the flowchart in FIG. 23, and 80 a and 80 b show slice planes generated by the slice plane generation means 81 based on the position of the tool.

【0091】次に動作について説明する。なお、図23
において図18の処理ステップと同一の処理ステップに
ついて同一の符号を付し説明を省略する。この実施例の
数値制御装置では、ステップST61からステップST
65までの処理実行後、工具の位置を基にして被削材7
7をスライスする平面をスライス平面生成手段81によ
り生成する(ステップST81)。次に、前記生成した
平面を用いて被削材の形状をスライス実行手段82によ
りスライスする(ステップST82)。この状態を図2
4に示す。
Next, the operation will be described. Note that FIG.
In FIG. 18, the same processing steps as those of FIG. 18 are designated by the same reference numerals and the description thereof will be omitted. In the numerical control device of this embodiment, steps ST61 to ST
After performing the processing up to 65, the work material 7 based on the position of the tool
A plane for slicing 7 is generated by the slice plane generating means 81 (step ST81). Next, the shape of the work material is sliced by the slice executing means 82 using the generated plane (step ST82). This state is shown in Figure 2.
4 shows.

【0092】続いて、スライスした結果得られる被削材
の断面形状を認識する(ステップST83)。この状態
を図25の(A)と(B)に示す。そして、前記ステッ
プST83による被削材77の断面形状の認識結果を基
に加工条件を変化させる。
Then, the cross-sectional shape of the work material obtained as a result of slicing is recognized (step ST83). This state is shown in FIGS. 25 (A) and 25 (B). Then, the processing conditions are changed based on the recognition result of the cross-sectional shape of the work material 77 in step ST83.

【0093】従ってこの実施例によれば、加工工具を中
心にした被削材77の断面形状の構造的な特性から、そ
の被削材の撓みや歪みの発生の可能性を把握することが
でき、この結果、加工中の被削材77の断面形状の状態
に応じた最適な加工条件を得ることができ、精度の高い
加工を実現できる。
Therefore, according to this embodiment, it is possible to grasp the possibility of occurrence of bending or distortion of the work material 77 from the structural characteristics of the cross-sectional shape of the work material 77 centering on the working tool. As a result, it is possible to obtain optimum processing conditions according to the state of the cross-sectional shape of the work material 77 during processing, and it is possible to realize highly accurate processing.

【0094】実施例9.図26はこの実施例9の数値制
御装置の要部を示すブロック図である。図26において
図17および図19と同一または相当の部分については
同一の符号を付し説明を省略する。図において91は工
具の位置からベクトルを指定し、その指定したベクトル
と交差した部分の被削材の幾何データや位置データを得
るための方向別情報取得手段、92は前記ベクトルを指
定したときに得られる幾何データと位置データとを認識
する認識手段、93は認識手段92により認識した幾何
データと位置データとの認識結果から加工条件を変化さ
せる加工条件変更手段である。
Example 9. FIG. 26 is a block diagram showing the main parts of the numerical controller according to the ninth embodiment. In FIG. 26, portions that are the same as or correspond to those in FIGS. 17 and 19 are given the same reference numerals and description thereof is omitted. In the drawing, reference numeral 91 designates a vector from the position of the tool, and direction-specific information acquisition means for obtaining geometrical data and position data of the work material at the portion intersecting with the designated vector, and 92 designates when the vector is designated. A recognition means for recognizing the obtained geometric data and position data, and 93 is a processing condition changing means for changing the processing condition based on the recognition result of the geometric data and the position data recognized by the recognition means 92.

【0095】図27は、この実施例の数値制御装置の動
作を示すフローチャートである。図28は図27のフロ
ーチャートによる動作を具体的に示すための説明図であ
る。
FIG. 27 is a flow chart showing the operation of the numerical controller of this embodiment. FIG. 28 is an explanatory diagram for specifically showing the operation according to the flowchart of FIG.

【0096】次に動作について説明する。図27におい
て図18と同一の処理ステップについては同一の符号を
付し説明を省略する。この実施例の数値制御装置ではス
テップST61からステップST65までの処理実行
後、工具76の中心位置から被削材周辺へ向うベクトル
を指定する(ステップST91)。図28はこの状態を
示しており、95a,95b,95cが前記指定された
ベクトルである。そして、前記指定したベクトルと被削
材とが交差した被削材周辺部の幾何データと位置データ
とを得ることで、工具76の位置から指定したベクトル
の示す方向の幾何データや位置データなどの被削材情報
を認識する(ステップST92)。続いてステップST
92により認識した幾何データや位置データなどの被削
材情報を基に加工条件を変化させる(ステップST9
3)。
Next, the operation will be described. 27, the same processing steps as those in FIG. 18 are designated by the same reference numerals, and the description thereof will be omitted. In the numerical controller of this embodiment, after the processing from step ST61 to step ST65 is executed, a vector pointing from the center position of the tool 76 to the periphery of the work material is designated (step ST91). FIG. 28 shows this state, and 95a, 95b, and 95c are the designated vectors. Then, by obtaining the geometric data and the position data of the peripheral portion of the work material where the designated vector intersects the work material, the geometric data and the position data in the direction indicated by the designated vector from the position of the tool 76 can be obtained. The work material information is recognized (step ST92). Then step ST
The machining conditions are changed based on the work material information such as the geometric data and the position data recognized by 92 (step ST9).
3).

【0097】従ってこの実施例によれば、工具の位置か
ら任意方向に指定したベクトルを基に得られた被削材周
辺部の幾何データと位置データとを基に加工条件を変化
させることができるので、工具を中心にした被削材周辺
部の幾何データと位置データとから被削材の構造的な特
性を把握することができて、さらにそれらのデータから
被削材の撓みや歪みの発生の可能性を知ることができ、
この結果、加工中の被削材77の形状などの構造に応じ
た最適な加工条件を得ることができ、精度の高い加工を
実現できる。
Therefore, according to this embodiment, it is possible to change the machining condition based on the geometric data and the position data of the peripheral portion of the work material obtained based on the vector specified in the arbitrary direction from the position of the tool. Therefore, it is possible to grasp the structural characteristics of the work material from the geometric data and position data of the work material peripheral part centered on the tool, and from that data, the bending and distortion of the work material can be generated. To know the possibility of
As a result, it is possible to obtain optimum processing conditions according to the structure such as the shape of the work material 77 being processed, and it is possible to realize highly accurate processing.

【0098】実施例10.図29はこの実施例10の数
値制御装置の要部構成を示すブロック図である。図29
において図17および図19と同一または相当の部分に
ついては同一の符号を付し説明を省略する。図において
101は被削材に対する工具の接触面積を認識するため
の接触面積認識手段(認識手段)、102は被削材に対
する工具の接触位置を認識するための接触位置認識手段
(認識手段)、103は接触面積認識手段101におい
て認識した接触面積情報と接触位置認識手段102にお
いて認識した接触位置情報とを基に加工条件を変化させ
る加工条件変更手段である。
Example 10. FIG. 29 is a block diagram showing the main configuration of the numerical controller according to the tenth embodiment. FIG. 29
In FIG. 17, parts that are the same as or correspond to those in FIG. 17 and FIG. In the figure, 101 is a contact area recognition means (recognition means) for recognizing the contact area of the tool with respect to the work material, 102 is a contact position recognition means (recognition means) for recognizing the contact position of the tool with respect to the work material, Reference numeral 103 denotes a processing condition changing unit that changes the processing condition based on the contact area information recognized by the contact area recognition unit 101 and the contact position information recognized by the contact position recognition unit 102.

【0099】図30はこの実施例の数値制御装置の動作
を示すフローチャートである。図31は図30のフロー
チャートによる動作を具体的に示すための説明図であ
る。
FIG. 30 is a flow chart showing the operation of the numerical controller of this embodiment. FIG. 31 is an explanatory diagram for specifically showing the operation according to the flowchart of FIG.

【0100】次に動作について説明する。なお、図30
において図18の処理ステップと同一の処理ステップに
ついては同一の符号を付し説明を省略する。この数値制
御装置では、ステップST61からステップST65の
処理実行後、被削材に対する工具の接触面積を認識する
(ステップST101)。この接触面積は図31に示す
ように工具76の移動方向において被削材77が切削さ
れる際の工具76と被削材77とが接触する面積107
である。次に、被削材77に対する工具76の接触位置
を認識する(ステップST102)。そして、ステップ
ST101において認識した接触面積とステップST1
02において認識した接触位置を基に工具送り速度など
を変化させ、加工条件を変える(ステップST10
3)。
Next, the operation will be described. Note that FIG.
In FIG. 18, the same processing steps as those in FIG. 18 are designated by the same reference numerals and the description thereof will be omitted. In this numerical control device, after the processes of steps ST61 to ST65 are performed, the contact area of the tool with the work material is recognized (step ST101). This contact area is an area 107 in which the tool 76 and the work material 77 contact each other when the work material 77 is cut in the moving direction of the tool 76 as shown in FIG.
Is. Next, the contact position of the tool 76 with respect to the work material 77 is recognized (step ST102). Then, the contact area recognized in step ST101 and step ST1
The machining conditions are changed by changing the tool feed speed and the like based on the contact position recognized in 02 (step ST10).
3).

【0101】従ってこの実施例によれば、工具経路を含
む平面による被削材の断面形状が前記工具経路を工具が
移動するに従って変化するような場合には、工具と被削
材との接触面積も工具経路を工具が移動するのに従って
変化するので、この変化する前記接触面積に応じて工具
送り速度などの加工条件を変化させることができ、工具
自体の撓みや破損などを防止すると共に、加工される被
削材の形状に応じた最適な加工が実現し、加工精度も向
上する。
Therefore, according to this embodiment, when the cross-sectional shape of the work material by the plane including the tool path changes as the tool moves along the tool path, the contact area between the tool and the work material is changed. Since it also changes as the tool moves along the tool path, it is possible to change processing conditions such as the tool feed speed according to the changing contact area, while preventing bending and damage of the tool itself, and Optimal machining is realized according to the shape of the work material to be machined, and machining accuracy is also improved.

【0102】実施例11.図32はこの実施例11の数
値制御装置の要部構成を示すブロック図である。図32
において図17および図19と同一または相当の部分に
ついては同一の符号を付し説明を省略する。図において
111は工具位置における被削材の厚みを認識する厚み
認識手段、112は切削量を算出する切削量算出手段、
113は工具経路に対して単位長さあたりの切削量を算
出する単位切削量算出手段、114は厚み認識手段11
1により認識した被削材の厚みと単位切削量算出手段1
13により算出した切削量とを基に工具送り速度を変化
させる工具送り速度変化手段である。
Example 11. FIG. 32 is a block diagram showing the main configuration of the numerical controller according to the eleventh embodiment. FIG.
In FIG. 17, parts that are the same as or correspond to those in FIG. 17 and FIG. In the figure, 111 is a thickness recognition means for recognizing the thickness of the work material at the tool position, 112 is a cutting amount calculation means for calculating the cutting amount,
Reference numeral 113 is a unit cutting amount calculation means for calculating a cutting amount per unit length with respect to the tool path, and 114 is a thickness recognition means 11
1 means for calculating the thickness of the work material and the unit cutting amount 1
The tool feed rate changing means changes the tool feed rate based on the cutting amount calculated in step 13.

【0103】図33は、この実施例の数値制御装置の動
作を示すフローチャートである。図34は図33のフロ
ーチャートによる動作を具体的に示す説明図である。
FIG. 33 is a flow chart showing the operation of the numerical controller according to this embodiment. FIG. 34 is an explanatory diagram specifically showing the operation according to the flowchart of FIG.

【0104】次に動作について説明する。図33におい
て図18の処理ステップと同一の処理ステップについて
は同一の符号を付し説明を省略する。この実施例の数値
制御装置では、ステップST61からステップST65
までの処理実行後、図34の121に示す工具の位置か
らの切削されないで残る被削材の厚みを認識する(ステ
ップST111)。そして、ステップST111で認識
した工具の位置からの被削材の厚み121に応じて、被
削材の厚みが厚いときは送り速度に対するオーバーライ
ド値を上げ、被削材の厚みが薄いときは送り速度に対す
るオーバーライド値を下げる(ステップST112)。
Next, the operation will be described. In FIG. 33, the same processing steps as those of FIG. 18 are designated by the same reference numerals and the description thereof will be omitted. In the numerical controller according to this embodiment, steps ST61 to ST65.
After the processes up to are executed, the thickness of the work material left uncut from the position of the tool shown in 121 of FIG. 34 is recognized (step ST111). Then, depending on the thickness 121 of the work material from the position of the tool recognized in step ST111, the override value for the feed speed is increased when the work material is thick, and the feed speed is increased when the work material is thin. The override value for is reduced (step ST112).

【0105】次に、工具移動経路78に沿った図34の
120に示す被削材の切削量を算出し(ステップST1
13)、さらにステップST113により算出した切削
量と工具経路の長さとから、工具経路の単位長さあたり
の切削量を算出する(ステップST114)。そして、
ステップST114において算出した工具経路の単位長
さあたりの切削量が多いときは送り速度に対するオーバ
ーライド値を下げ、また工具経路に対して単位長さあた
りの切削量が少ないときは送り速度に対するオーバーラ
イド値を上げる(ステップST115)。さらにステッ
プST112において設定した送り速度に対するオーバ
ーライド値とステップST115において設定した送り
速度に対するオーバーライド値とから、最終的な送り速
度に対するオーバライド値を決定する(ステップST1
16)。
Next, the cutting amount of the work material shown in 120 of FIG. 34 along the tool movement path 78 is calculated (step ST1).
13) Further, the cutting amount per unit length of the tool path is calculated from the cutting amount calculated in step ST113 and the length of the tool path (step ST114). And
When the cutting amount per unit length of the tool path calculated in step ST114 is large, the override value for the feed rate is lowered, and when the cutting amount per unit length for the tool path is small, the override value for the feed rate is set. Raise (step ST115). Further, the override value for the final feed rate is determined from the override value for the feed rate set in step ST112 and the override value for the feed rate set in step ST115 (step ST1).
16).

【0106】従ってこの実施例によれば、加工により変
化する被削材の形状と工具の位置とから得られる切削量
と非切削部分の厚みについての情報より工具送り速度を
変化させるので、切削量により加工負荷を一定にするだ
けでなく、加工途中で被削材の形状変化により生じる被
削材の逃げなどの現象による加工精度の劣化を防止でき
る。
Therefore, according to this embodiment, the tool feed speed is changed based on the information about the cutting amount and the thickness of the non-cutting portion, which is obtained from the shape of the work material and the position of the tool, which change due to the machining. Thus, not only the machining load can be made constant, but also deterioration of machining accuracy due to a phenomenon such as escape of the work material caused by a change in the shape of the work material during the machining can be prevented.

【0107】実施例12.図35はこの実施例12の数
値制御装置の要部構成を示すブロック図である。図35
において図1と同一または相当の部分については同一の
符号を付し説明を省略する。図において141は形状入
力手段1により入力されたポケット形状の内部の削り取
るべき除去領域を設定する除去領域設定手段である。1
42は除去領域設定手段141により設定した除去領域
に削り残しの残留部が生じるか否かを判定する残留部判
定手段である。143は残留部判定手段132において
生じると判定された残留部をなくすための修正形状を付
加する形状修正手段である。144は形状修正手段14
3により修正されたポケット形状に対し包絡線を生成す
る包絡線生成手段である。
Example 12. FIG. 35 is a block diagram showing the main configuration of the numerical controller according to the twelfth embodiment. FIG.
In FIG. 1, the same or corresponding parts as in FIG. In the figure, reference numeral 141 denotes a removal area setting means for setting a removal area to be shaved inside the pocket shape input by the shape input means 1. 1
Reference numeral 42 denotes a residual portion determining means for determining whether or not a residual portion that is left uncut remains in the removal area set by the removal area setting means 141. Reference numeral 143 is a shape correction unit that adds a correction shape for eliminating the residual portion determined to occur by the residual portion determination unit 132. 144 is shape correction means 14
Envelope generating means for generating an envelope with respect to the pocket shape modified by 3.

【0108】図36は、この実施例の数値制御装置の動
作を示すフローチャートである。また、図37はポケッ
ト形状M1に削り残しの領域が生ずる状態を示す説明
図、図38はポケット形状内に島形状があるときに発生
する削り残しの領域を示す説明図、図39は修正形状を
ポケット形状に付加したときの説明図である。
FIG. 36 is a flow chart showing the operation of the numerical controller according to this embodiment. Further, FIG. 37 is an explanatory diagram showing a state where an uncut portion is left in the pocket shape M1, FIG. 38 is an explanatory diagram showing an uncut portion that occurs when the pocket shape has an island shape, and FIG. 39 is a corrected shape. It is explanatory drawing when adding to a pocket shape.

【0109】通常、ポケット形状を加工するときにピッ
クフィードと工具半径が一致した場合、鋭角部分につい
ては図37に示すように必ず削り残しができる。また、
図38に示すようにポケット形状内に島形状I1,I2
が存在するときにも削り残し部分R2〜R7などが生じ
る。これは包絡線を工具経路とするために工具が入り込
めない領域が生じ、これが削り残し部分となるからであ
る。従って、工具が入り込めない領域が生じないよう
に、工具が入り込めない領域が生じる所に工具が入り込
める修正形状を付加し、この修正形状を付加したポケッ
ト形状に対し包絡線を生成し、工具軌跡の生成を行う。
Normally, when the pick feed and the tool radius coincide with each other when machining the pocket shape, the uncut portion can always be left in the acute angle portion as shown in FIG. Also,
As shown in FIG. 38, island shapes I1 and I2 are formed in the pocket shape.
Also exists, uncut portions R2 to R7 and the like occur. This is because there is a region where the tool cannot enter because the envelope is used as the tool path, and this becomes the uncut portion. Therefore, to prevent the area where the tool cannot enter, add a correction shape that allows the tool to enter the area where the tool cannot enter, and generate an envelope for the pocket shape to which this modification shape is added. Generate a trajectory.

【0110】次に、図36のフローチャートに基づいて
この実施例の数値制御装置の動作を説明する。この実施
例では、ポケット形状の加工について説明するが、ポケ
ット形状以外の場合でもよいことは言うまでもない。こ
の数値制御装置では、まず形状入力手段1により入力し
たポケット形状と、加工情報入力手段2により入力した
工具形状やピックフィードなどの加工情報の読み込みを
行う(ステップST1)。次に、ポケット形状に対し切
削すべき範囲を除去領域として設定する(ステップST
202)。続いて設定した除去領域内に削り残しの部分
が生じるか否かを判断する(ステップST203)。図
37のように鋭角のコーナ部においては、工具の外径と
コーナ部の角度に応じてR1のような削り残し部分が生
じるか否かを判断する。削り残し部分が生じると判断し
たときには、所定の修正形状を削り残し部分が生じる場
所に付加する(ステップST204)。この場合、付加
する所定の修正形状が与えられた加工形状と重なるとき
は、後処理により生成される工具経路が形状を破壊する
可能性が生じるため、このようなときには修正形状の付
加は行わない。また、前記修正形状は使用する工具の掃
引形状を基にした形状である。
Next, the operation of the numerical controller according to this embodiment will be described with reference to the flowchart of FIG. In this embodiment, the processing of the pocket shape will be described, but it goes without saying that the processing may be other than the pocket shape. In this numerical controller, first, the pocket shape input by the shape input means 1 and the processing information such as the tool shape and the pick feed input by the processing information input means 2 are read (step ST1). Next, a range to be cut with respect to the pocket shape is set as a removal area (step ST
202). Subsequently, it is determined whether or not there is an uncut portion in the set removal area (step ST203). As shown in FIG. 37, in an acute-angled corner portion, it is determined whether or not an uncut portion such as R1 occurs depending on the outer diameter of the tool and the angle of the corner portion. When it is determined that the uncut portion will occur, a predetermined corrected shape is added to the place where the uncut portion occurs (step ST204). In this case, when the predetermined correction shape to be added overlaps with the given machining shape, the tool path generated by the post-processing may destroy the shape. Therefore, in such a case, the correction shape is not added. . Further, the modified shape is based on the sweep shape of the tool used.

【0111】次に、図39,図40,図41に示すよう
に修正形状S1が付加された除去領域に対し包絡線を生
成し(ステップST205)、さらにこの生成した包絡
線を基に工具軌跡を生成する(ステップST206)。
そして、工具軌跡に従って工具を移動させ、その掃引形
状を除去領域から差し引くことで除去領域を更新する
(ステップST207)。さらに除去領域がなくなった
か否かを判断し(ステップST208)、除去領域がま
だ残っているときにはステップST203以降の処理を
繰り返し行い、また除去領域が残っていないときには処
理を終了する。これらの形状処理はソリッドモデルを使
用することで容易に実現する。
Next, as shown in FIG. 39, FIG. 40, and FIG. 41, an envelope curve is generated for the removal area to which the corrected shape S1 is added (step ST205), and the tool locus is further based on this generated envelope curve. Is generated (step ST206).
Then, the removal area is updated by moving the tool according to the tool trajectory and subtracting the sweep shape from the removal area (step ST207). Further, it is determined whether or not the removal area has disappeared (step ST208), and when the removal area still remains, the processing from step ST203 is repeated, and when the removal area does not remain, the processing ends. These shape processes are easily realized by using a solid model.

【0112】このように、除去領域を修正することで包
絡線の生成の仕方を変えることが可能であり、除去領域
に削り残しのない工具軌跡を生成できる。
As described above, by modifying the removal area, it is possible to change the method of generating the envelope, and it is possible to generate a tool locus that is not left uncut in the removal area.

【0113】[0113]

【発明の効果】以上のように請求項1の発明によれば、
一つ前の工具経路にあたる包絡線から一度内側に工具の
半径の長さだけオフセットした包絡線を生成し、その包
絡線を基に次の工具経路を生成するように構成したの
で、加工による被削材の形状の変化に応じて無駄の無い
最適化された工具経路の生成を行うことができる効果が
ある。
As described above, according to the invention of claim 1,
Since the envelope curve that is offset by the length of the radius of the tool once is generated from the envelope curve that corresponds to the previous tool path, and the next tool path is generated based on that envelope curve, it is configured so that There is an effect that it is possible to generate an optimized tool path without waste according to a change in the shape of the cutting material.

【0114】請求項2の発明によれば、ポケット形状を
定義する平面と平行な平面上で、工具形状の掃引形状の
除去された領域から所定量の長さだけオフセットさせ、
ブロックに分割して生成した包絡線を連結して工具経路
とするように構成したので、加工による被削材の形状の
変化に応じた効率的な工具経路の生成を行うことができ
る効果がある。
According to the invention of claim 2, on the plane parallel to the plane defining the pocket shape, the swept shape of the tool shape is offset by a predetermined amount from the removed area,
Since it is configured to connect the envelopes generated by dividing into blocks to form the tool path, there is an effect that the tool path can be efficiently generated according to the change in the shape of the work material due to machining. .

【0115】請求項3の発明によれば、包絡線を生成す
る対象となる線を基に、オフセットする長さと同じ長さ
の半径を持つ円柱の掃引形状を生成し、該生成した掃引
形状をポケット形状を定義する平面と平行な平面でスラ
イスし、前記掃引形状をスライスしたときの断面の2本
の断面線を包絡線とするように構成したので、正確な包
絡線を生成することのできる効果がある。
According to the third aspect of the present invention, a sweep shape of a cylinder having a radius of the same length as the offset length is generated based on the line for which the envelope is to be generated, and the generated sweep shape is Since the slice is sliced on a plane parallel to the plane defining the pocket shape and the two cross-section lines of the sliced slice of the sweep shape are used as envelopes, an accurate envelope can be generated. effective.

【0116】請求項4の発明によれば、島形状との干渉
を回避した工具経路を生成するように構成したので、島
形状を含むポケット形状に対する島形状と干渉しない工
具経路の生成を行うことのできる効果がある。
According to the fourth aspect of the present invention, since the tool path is generated so as to avoid the interference with the island shape, it is possible to generate the tool path that does not interfere with the island shape for the pocket shape including the island shape. There is an effect that can be.

【0117】請求項5の発明によれば、内側包絡線生成
手段或いは再内側包絡線生成手段により生成される内側
への工具半径の長さだけオフセットした包絡線がなくな
ったとき、包絡線記憶手段に記憶した他のループを基に
包絡線を生成して工具経路とするように構成したので、
包絡線が独立した複数のループを有する場合にも包絡線
の生成を効率的に行うことができる効果がある。
According to the fifth aspect of the present invention, when there is no envelope which is offset by the length of the inner tool radius generated by the inner envelope generating means or the re-inner envelope generating means, the envelope storing means disappears. Since it is configured to generate the envelope based on the other loop stored in
Even when the envelope has a plurality of independent loops, there is an effect that the envelope can be efficiently generated.

【0118】請求項6の発明によれば、加工により変化
する被削材の形状と工具の位置との認識結果を基に加工
条件を変化させるように構成したので、加工が進むに従
って変化する被削材の形状に応じて最適化された加工条
件により加工を行うことができる効果がある。
According to the invention of claim 6, the processing conditions are changed based on the recognition result of the shape of the work material and the position of the tool which change due to the processing. There is an effect that processing can be performed under processing conditions optimized according to the shape of the cutting material.

【0119】請求項7の発明によれば、工具の位置を認
識し、認識した工具周辺の被削材の形状を切り取り、加
工に応じて変化する被削材の形状を前記切り取った形状
を基に認識する認識手段と、該認識手段により認識した
工具周辺の被削材の形状に応じて加工条件を変化させる
加工条件変更手段とを備えるように構成したので、前記
切り取った形状を基に変化する被削材の形状に応じて最
適化された加工条件により加工を行うことができる効果
がある。
According to the invention of claim 7, the position of the tool is recognized, the recognized shape of the work material around the tool is cut, and the shape of the work material that changes according to the machining is cut based on the cut shape. Since it is configured to include a recognition unit that recognizes the cutting condition and a machining condition changing unit that changes the machining condition according to the shape of the work material around the tool recognized by the recognition unit, it is possible to change based on the cut shape. There is an effect that processing can be performed under processing conditions optimized according to the shape of the work material to be processed.

【0120】請求項8の発明によれば、加工により変化
する被削材の形状と工具の位置との認識を、工具周辺の
被削材の形状を平面で切断し、その断面形状を基に行う
認識手段と、該認識手段により認識した工具周辺の被削
材の形状に応じて加工条件を変化させる加工条件変更手
段とを備えるように構成したので、加工により形状変化
する被削材の断面形状に応じて最適化された加工条件に
より加工を行うことのできる効果がある。
According to the invention of claim 8, the recognition of the shape of the work material and the position of the tool which change due to machining is performed by cutting the shape of the work material around the tool with a plane and based on the sectional shape. Since the recognizing means for performing and the machining condition changing means for changing the machining conditions according to the shape of the work material around the tool recognized by the recognizing means are provided, the cross section of the work material whose shape changes by the machining There is an effect that processing can be performed under processing conditions optimized according to the shape.

【0121】請求項9の発明によれば、加工により変化
する被削材の形状と工具の位置との認識を、工具の位置
からベクトルを任意方向に指定することで得られる被削
材の幾何データと位置データとを基に行う認識手段と、
該認識手段により認識した工具周辺の被削材の形状に応
じて加工条件を変化させる加工条件変更手段とを備える
ように構成したので、加工により形状変化する工具位置
周辺の前記ベクトルにより指定された被削材の幾何デー
タと位置データとを基に、工具周辺の被削材の形状に応
じて最適化された加工条件により加工を行うことができ
る効果がある。
According to the ninth aspect of the invention, the recognition of the shape of the work material and the position of the tool, which change due to machining, is obtained by designating the vector in the arbitrary direction from the position of the tool. Recognition means based on data and position data,
Since the processing condition changing means for changing the processing conditions according to the shape of the work material around the tool recognized by the recognition means is provided, it is designated by the vector around the tool position whose shape is changed by the processing. Based on the geometric data and the position data of the work material, there is an effect that machining can be performed under the machining conditions optimized according to the shape of the work material around the tool.

【0122】請求項10の発明によれば、被削材に対す
る工具の接触面積と工具の接触位置とを認識する認識手
段と、該認識手段により認識した工具周辺の被削材の形
状に応じて加工条件を変化させる加工条件変更手段とを
備えるように構成したので、接触面積と工具の接触位置
とを基に、工具周辺の被削材の形状に応じて最適化され
た加工条件により加工を行うことができる効果がある。
According to the invention of claim 10, the recognition means for recognizing the contact area of the tool with respect to the work material and the contact position of the tool, and the shape of the work material around the tool recognized by the recognition means. Since the processing condition changing means for changing the processing conditions is provided, it is possible to perform the processing under the optimized processing conditions according to the shape of the work material around the tool based on the contact area and the contact position of the tool. There is an effect that can be done.

【0123】請求項11の発明によれば、認識した切削
量と被削材の非加工領域の厚みに応じて工具送り速度を
変化させる工具送り速度変化手段を備えるように構成し
たので、前記切削量により加工負荷を一定にすることが
できるだけでなく、加工途中で被削材の形状が変化して
非加工領域の厚みが変化することにより生じる被削材の
逃げなどの現象を回避することができる効果がある。
According to the eleventh aspect of the present invention, the tool feed speed changing means for changing the tool feed speed according to the recognized cutting amount and the thickness of the non-machined region of the work material is provided. Not only can the machining load be kept constant depending on the amount, but it is also possible to avoid phenomena such as the escape of the work material that occurs when the shape of the work material changes during machining and the thickness of the non-machining area changes. There is an effect that can be done.

【0124】請求項12の発明によれば、除去領域に残
留部が生じると判断されたときに、その残留部が生じる
と判断された領域に修正形状を重ね合わせる修正を行う
形状修正手段を備えるように構成したので、除去領域に
対し残留部が生じない工具経路の生成を可能にできる効
果がある。
According to the twelfth aspect of the invention, when it is determined that a residual portion will occur in the removed area, shape correcting means for performing correction by superimposing the corrected shape on the area determined to have the residual portion will be provided. With this configuration, there is an effect that it is possible to generate a tool path that does not cause a residual portion in the removal area.

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

【図1】 この発明の実施例1による数値制御装置の要
部構成を示すブロック図である。
FIG. 1 is a block diagram showing a main configuration of a numerical controller according to a first embodiment of the present invention.

【図2】 この発明の実施例1による数値制御装置の動
作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation of the numerical control device according to the first embodiment of the present invention.

【図3】 この発明の実施例1による数値制御装置の動
作を具体的に示す説明図である。
FIG. 3 is an explanatory diagram specifically showing the operation of the numerical control device according to the first embodiment of the present invention.

【図4】 この発明の実施例2による数値制御装置の要
部構成を示すブロック図である。
FIG. 4 is a block diagram showing a main configuration of a numerical controller according to a second embodiment of the present invention.

【図5】 この発明の実施例2による数値制御装置の動
作を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of the numerical control device according to the second embodiment of the present invention.

【図6】 この発明の実施例2による数値制御装置の動
作を具体的に示す説明図である。
FIG. 6 is an explanatory diagram specifically showing the operation of the numerical control device according to the second embodiment of the present invention.

【図7】 この発明の実施例2による数値制御装置によ
り生成された工具経路を示す説明図である。
FIG. 7 is an explanatory diagram showing a tool path generated by a numerical controller according to a second embodiment of the present invention.

【図8】 この発明の実施例3による数値制御装置の要
部構成を示すブロック図である。
FIG. 8 is a block diagram showing a main configuration of a numerical controller according to a third embodiment of the present invention.

【図9】 この発明の実施例3による数値制御装置の動
作を示すフローチャートである。
FIG. 9 is a flowchart showing an operation of the numerical control device according to the third embodiment of the present invention.

【図10】 この発明の実施例3による数値制御装置の
動作を具体的に示す説明図である。
FIG. 10 is an explanatory diagram specifically showing the operation of the numerical control device according to the third embodiment of the present invention.

【図11】 この発明の実施例4による数値制御装置の
要部構成を示すブロック図である。
FIG. 11 is a block diagram showing a main configuration of a numerical controller according to a fourth embodiment of the present invention.

【図12】 この発明の実施例4による数値制御装置の
動作を示すフローチャートである。
FIG. 12 is a flowchart showing an operation of a numerical control device according to a fourth embodiment of the present invention.

【図13】 この発明の実施例4による数値制御装置に
より生成された工具経路を示す説明図である。
FIG. 13 is an explanatory diagram showing a tool path generated by the numerical control device according to the fourth embodiment of the present invention.

【図14】 この発明の実施例5による数値制御装置の
要部構成を示すブロック図である。
FIG. 14 is a block diagram showing a main configuration of a numerical controller according to a fifth embodiment of the present invention.

【図15】 この発明の実施例5による数値制御装置の
動作を示すフローチャートである。
FIG. 15 is a flowchart showing an operation of the numerical control device according to the fifth embodiment of the present invention.

【図16】 この発明の実施例5による数値制御装置の
動作を説明するための説明図である。
FIG. 16 is an explanatory diagram for explaining the operation of the numerical control device according to the fifth embodiment of the present invention.

【図17】 この発明の実施例6による数値制御装置の
要部構成を示すブロック図である。
FIG. 17 is a block diagram showing a main configuration of a numerical controller according to a sixth embodiment of the present invention.

【図18】 この発明の実施例6による数値制御装置の
動作を示すフローチャートである。
FIG. 18 is a flowchart showing an operation of the numerical control device according to the sixth embodiment of the present invention.

【図19】 この発明の実施例7による数値制御装置の
要部構成を示すブロック図である。
FIG. 19 is a block diagram showing a main configuration of a numerical control device according to a seventh embodiment of the present invention.

【図20】 この発明の実施例7による数値制御装置の
動作を示すフローチャートである。
FIG. 20 is a flowchart showing the operation of the numerical control device according to the seventh embodiment of the present invention.

【図21】 この発明の実施例7による数値制御装置の
動作を説明するための説明図である。
FIG. 21 is an explanatory diagram for explaining the operation of the numerical control device according to the seventh embodiment of the present invention.

【図22】 この発明の実施例8による数値制御装置の
要部構成を示すブロック図である。
FIG. 22 is a block diagram showing a main configuration of a numerical controller according to an eighth embodiment of the present invention.

【図23】 この発明の実施例8による数値制御装置の
動作を示すフローチャートである。
FIG. 23 is a flowchart showing the operation of the numerical control device according to the eighth embodiment of the present invention.

【図24】 この発明の実施例8による数値制御装置の
動作を説明するための説明図である。
FIG. 24 is an explanatory diagram for explaining the operation of the numerical control device according to the eighth embodiment of the present invention.

【図25】 この発明の実施例8による数値制御装置の
動作を説明するための説明図である。
FIG. 25 is an explanatory diagram for explaining the operation of the numerical control device according to the eighth embodiment of the present invention.

【図26】 この発明の実施例9による数値制御装置の
要部構成を示すブロック図である。
FIG. 26 is a block diagram showing a main configuration of a numerical controller according to Embodiment 9 of the present invention.

【図27】 この発明の実施例9による数値制御装置の
動作を示すフローチャートである。
FIG. 27 is a flowchart showing the operation of the numerical control device according to the ninth embodiment of the present invention.

【図28】 この発明の実施例9による数値制御装置の
動作を説明するための説明図である。
FIG. 28 is an explanatory diagram for explaining the operation of the numerical control device according to the ninth embodiment of the present invention.

【図29】 この発明の実施例10による数値制御装置
の要部構成を示すブロック図である。
FIG. 29 is a block diagram showing a main configuration of a numerical controller according to a tenth embodiment of the present invention.

【図30】 この発明の実施例10による数値制御装置
の動作を示すフローチャートである。
FIG. 30 is a flowchart showing an operation of the numerical control device according to the tenth embodiment of the present invention.

【図31】 この発明の実施例10による数値制御装置
の動作を説明するための説明図である。
FIG. 31 is an explanatory diagram for explaining the operation of the numerical control device according to the tenth embodiment of the present invention.

【図32】 この発明の実施例11による数値制御装置
の要部構成を示すブロック図である。
FIG. 32 is a block diagram showing a main configuration of a numerical controller according to an eleventh embodiment of the present invention.

【図33】 この発明の実施例11による数値制御装置
の動作を示すフローチャートである。
FIG. 33 is a flowchart showing the operation of the numerical control device according to the eleventh embodiment of the present invention.

【図34】 この発明の実施例11による数値制御装置
の動作を説明するための説明図である。
FIG. 34 is an explanatory diagram for explaining the operation of the numerical control device according to the eleventh embodiment of the present invention.

【図35】 この発明の実施例12による数値制御装置
の要部構成を示すブロック図である。
FIG. 35 is a block diagram showing a main configuration of a numerical control device according to a twelfth embodiment of the present invention.

【図36】 この発明の実施例12による数値制御装置
の動作を示すフローチャートである。
FIG. 36 is a flowchart showing the operation of the numerical control device according to the twelfth embodiment of the present invention.

【図37】 この発明の実施例12による数値制御装置
における削り残しの領域を説明するための説明図であ
る。
FIG. 37 is an explanatory diagram for explaining an uncut area in a numerical controller according to a twelfth embodiment of the present invention.

【図38】 この発明の実施例12による数値制御装置
における削り残しの領域を説明するための説明図であ
る。
FIG. 38 is an explanatory diagram for explaining the uncut area in the numerical control device according to the twelfth embodiment of the present invention.

【図39】 この発明の実施例12による数値制御装置
における修正形状を説明するための説明図である。
FIG. 39 is an explanatory diagram for explaining a corrected shape in the numerical control device according to the twelfth embodiment of the present invention.

【図40】 この発明の実施例12による数値制御装置
における修正形状を説明するための説明図である。
FIG. 40 is an explanatory diagram for explaining a corrected shape in the numerical control device according to the twelfth embodiment of the present invention.

【図41】 この発明の実施例12による数値制御装置
における修正形状を説明するための説明図である。
FIG. 41 is an explanatory diagram for explaining a corrected shape in the numerical control device according to the twelfth embodiment of the present invention.

【図42】 従来の数値制御装置を示すフローチャート
である。
FIG. 42 is a flowchart showing a conventional numerical controller.

【図43】 従来の数値制御装置を示すブロック図であ
る。
FIG. 43 is a block diagram showing a conventional numerical controller.

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

1 形状入力手段、2 加工情報入力手段、4,23
内側包絡線生成手段、5 再内側包絡線生成手段、6
外側包絡線生成手段、7 入力手段、8,14,46
ポケット外形形状、9 工具経路、11,34,76
工具形状、13,35 工具掃引形状、21 形状表現
手段、24,31 掃引形状生成手段、25 掃引形状
除去手段、26 オフセット包絡線生成手段、27 包
絡線分割手段、28 工具経路連結手段、32 断面線
生成手段、33,144 包絡線生成手段、36 ポケ
ット形状を定義する平面と平行な平面、39,40 断
面線、41 干渉回避包絡線生成手段、45,I1,I
2 島形状、51 包絡線記憶手段、61 形状表現手
段、62 工具移動指令データ入力手段、63 被削材
形状変化手段、64,92 認識手段、65,74,8
4,93,103加工条件変更手段、71 工具位置認
識手段(認識手段)、73 切取り形状認識手段(認識
手段)、77 被削材形状、83 断面形状認識手段
(認識手段)、95a,95b,95c ベクトル、1
01 接触面積認識手段(認識手段)、102 接触位
置認識手段(認識手段)、107 接触面積、111
厚み認識手段、113 単位切削量算出手段、114
工具送り速度変化手段、121被削材の厚み、141
除去領域設定手段、142 残留部判定手段、143形
状修正手段、M1 ポケット形状、S1 修正形状。
1 shape input means, 2 processing information input means, 4, 23
Inner envelope generating means, 5 re-inner envelope generating means, 6
Outer envelope generation means, 7 input means, 8, 14, 46
Pocket outline shape, 9 tool paths, 11, 34, 76
Tool shape, 13, 35 Tool sweep shape, 21 Shape expressing means, 24, 31 Sweep shape generating means, 25 Sweep shape removing means, 26 Offset envelope generating means, 27 Envelope dividing means, 28 Tool path connecting means, 32 Cross section Line generation means, 33,144 Envelope generation means, 36 Plane parallel to the plane defining the pocket shape, 39,40 Cross section line, 41 Interference avoidance envelope generation means, 45, I1, I
2 island shape, 51 envelope storage means, 61 shape expression means, 62 tool movement command data input means, 63 work material shape changing means, 64, 92 recognition means, 65, 74, 8
4, 93, 103 machining condition changing means, 71 tool position recognizing means (recognizing means), 73 cut shape recognizing means (recognizing means), 77 work material shape, 83 cross-sectional shape recognizing means (recognizing means), 95a, 95b, 95c vector, 1
01 contact area recognition means (recognition means), 102 contact position recognition means (recognition means), 107 contact area, 111
Thickness recognition means, 113 Unit cutting amount calculation means, 114
Tool feed speed changing means, 121 Work material thickness, 141
Removal area setting means, 142 remaining portion determination means, 143 shape correction means, M1 pocket shape, S1 correction shape.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 入力された数値データを解読し、その解
読結果を基に各部の制御を行い、前記入力された数値デ
ータに応じて制御対象を操作し、前記入力された数値デ
ータに応じた被削材の加工を行う数値制御装置におい
て、ポケット形状を入力する形状入力手段と、加工情報
を入力する加工情報入力手段と、前記形状入力手段によ
り入力されたポケット形状から内側へ工具半径の長さだ
けオフセットしたポケット形状内側包絡線を生成し工具
経路とする内側包絡線生成手段と、該内側包絡線生成手
段により生成されたポケット形状内側包絡線からさらに
内側へ工具半径の長さだけオフセットした包絡線を生成
する再内側包絡線生成手段と、該再内側包絡線生成手段
により生成した包絡線から外側へ所定量の長さだけオフ
セットした包絡線を生成し工具経路とする外側包絡線生
成手段と、該外側包絡線生成手段により生成された包絡
線を、前記再内側包絡線生成手段における包絡線生成の
ための入力手段とを備えたことを特徴とする数値制御装
置。
1. Decoding the input numerical data, controlling each part based on the decoding result, operating a control target according to the input numerical data, and responding to the input numerical data In a numerical controller for machining a work material, a shape input means for inputting a pocket shape, a machining information input means for inputting machining information, and a tool radius length inward from the pocket shape input by the shape input means. An inner envelope generating means for generating a pocket-shaped inner envelope which is offset by a certain amount to be used as a tool path, and a pocket-shaped inner envelope generated by the inner envelope generating means is further inwardly offset by the length of the tool radius. A re-inner envelope generating unit that generates an envelope and an envelope that is offset from the envelope generated by the re-inner envelope generating unit to the outside by a predetermined amount are generated. And an input unit for generating an envelope in the re-inner envelope generating unit, the envelope being generated by the outer envelope generating unit, and the envelope generated by the outer envelope generating unit. Numerical control device.
【請求項2】 入力された数値データを解読し、その解
読結果を基に各部の制御を行い、前記入力された数値デ
ータに応じて制御対象を操作し、前記入力された数値デ
ータに応じた被削材の加工を行う数値制御装置におい
て、ポケットの形状を入力する形状入力手段と、加工情
報を入力する加工情報入力手段と、被削材の形状および
工具形状を表現する形状表現手段と、前記形状入力手段
により入力したポケット外形形状から内側へ工具半径の
長さだけオフセットした包絡線を生成し工具経路とする
内側包絡線生成手段と、前記工具経路に従って工具を移
動させたときの掃引形状を生成する掃引形状生成手段
と、被削材形状から前記掃引形状を除去する掃引形状除
去手段と、ポケット形状を定義する平面と平行な平面上
に、前記掃引形状による被削材形状の除去された領域か
ら所定量の長さだけオフセットした包絡線を生成するオ
フセット包絡線生成手段と、前記包絡線をブロックに分
割して工具経路とし、分割した包絡線の工具経路を前記
掃引形状生成手段における掃引形状生成のための工具経
路とする包絡線分割手段と、該包絡線分割手段により分
割した包絡線を連結する工具経路連結手段とを備えたこ
とを特徴とする数値制御装置。
2. The input numerical data is decoded, each part is controlled based on the decoding result, the controlled object is operated in accordance with the input numerical data, and in response to the input numerical data. In a numerical control device for processing a work material, a shape input means for inputting a pocket shape, a processing information input means for inputting processing information, a shape expression means for expressing a shape of a work material and a tool shape, Inner envelope generation means for generating a tool path by generating an envelope curve offset from the pocket outer shape input by the shape input means by the length of the tool radius, and a sweep shape when the tool is moved according to the tool path , A sweep shape removing means for removing the sweep shape from the work material shape, and a sweep shape removing means for removing the sweep shape on the plane parallel to the plane defining the pocket shape. Offset envelope generating means for generating an envelope that is offset by a predetermined amount from the region where the work material shape is removed, and the envelope is divided into blocks to form a tool path, and the tool path of the divided envelope A numerical value characterized by comprising: an envelope dividing means for making a tool path for generating the sweep shape in the sweep shape generating means; and a tool path connecting means for connecting the envelopes divided by the envelope dividing means. Control device.
【請求項3】 入力された数値データを解読し、その解
読結果を基に各部の制御を行い、前記入力された数値デ
ータに応じて制御対象を操作し、前記入力された数値デ
ータに応じた被削材の加工を行う数値制御装置において
包絡線を生成する対象となる線を基にして、前記包絡線
を生成する際にオフセットする長さと同じ長さの半径を
持つ円柱の掃引形状を生成する掃引形状生成手段と、該
掃引形状生成手段により生成された掃引形状を、ポケッ
ト形状を定義する平面と平行な平面でスライスし、前記
掃引形状の断面から2本の断面線を生成する断面線生成
手段とを有し、内側の包絡線を生成するときは前記2本
の断面線の内側の断面線を包絡線として生成し、また外
側の包絡線を生成するときは前記2本の断面線の外側の
断面線を包絡線とし、工具経路を生成することを特徴と
する数値制御装置。
3. The input numerical data is decoded, each part is controlled based on the decoding result, the controlled object is operated according to the input numerical data, and according to the input numerical data. Generates a swept shape of a cylinder having a radius of the same length as the offset length when generating the envelope based on the line for which the envelope is generated in the numerical control device that processes the work material And a cross-section line for slicing the sweep shape generated by the sweep-shape generating means on a plane parallel to the plane defining the pocket shape and generating two cross-section lines from the cross-section of the sweep shape. And a generating means, which generates an inner cross-section line of the two cross-section lines as an envelope curve when generating an inner envelope curve, and the two cross-section lines when generating an outer envelope curve. The cross-section line outside the , A numerical controller characterized by generating a tool path.
【請求項4】 ポケット形状内にある島形状から外側に
工具半径の長さだけオフセットした島形状包絡線と、前
記内側包絡線生成手段或いは前記外側包絡線生成手段に
より生成した包絡線とが干渉を起こすか否かを判断し、
干渉を起こす場合には干渉を回避した新たな包絡線を生
成し工具経路とする干渉回避包絡線生成手段を備えたこ
とを特徴とする請求項1または請求項2記載の数値制御
装置。
4. The island-shaped envelope, which is offset from the island shape in the pocket shape by the length of the tool radius, and the envelope generated by the inner envelope generating means or the outer envelope generating means interfere with each other. Determine whether to cause
The numerical controller according to claim 1 or 2, further comprising: interference avoidance envelope generating means for generating a new envelope that avoids the interference and using the envelope as a tool path when the interference occurs.
【請求項5】 再内側包絡線生成手段による内側への工
具半径の長さだけオフセットした包絡線の生成におい
て、前記包絡線が2個以上のループを有しているときに
前記外側包絡線生成手段による包絡線の生成を行うため
のループを除いた残りのループを記憶する包絡線記憶手
段を備え、前記再内側包絡線生成手段により生成される
内側への工具半径の長さだけオフセットした包絡線がな
くなったとき、前記包絡線記憶手段に記憶した他のルー
プを基に包絡線を生成して工具経路とすることを特徴と
する請求項1または請求項2記載の数値制御装置。
5. In the generation of an envelope which is offset by the length of the tool radius to the inside by the inner side envelope generation means, the outer envelope generation when the envelope has two or more loops. The envelope for storing the remaining loops excluding the loop for generating the envelope by the means, the envelope being offset by the length of the inward tool radius generated by the re-inner envelope generating means. The numerical controller according to claim 1 or 2, wherein when the line disappears, an envelope is generated based on another loop stored in the envelope storage means and used as a tool path.
【請求項6】 入力された数値データを解読し、その解
読結果を基に各部の制御を行い、前記入力された数値デ
ータに応じて制御対象を操作し、前記入力された数値デ
ータに応じた被削材の加工を行う数値制御装置におい
て、被削材の形状および工具形状を表現する形状表現手
段と、工具を移動させるための工具移動指令データを基
にシミュレーションを行い計算機内部で工具を移動させ
ると共に被削材の形状を変化させる被削材形状変化手段
と、工具の位置と周辺の被削材の形状とを認識する認識
手段と、該認識手段による認識結果に応じて加工条件を
変える加工条件変更手段とを備えたことを特徴とする数
値制御装置。
6. Decoding the input numerical data, controlling each part based on the decoding result, operating a controlled object according to the input numerical data, and responding to the input numerical data In a numerical control device for machining a work material, a tool is moved inside the computer by performing a simulation based on the shape expression means for expressing the shape of the work material and the tool shape and the tool movement command data for moving the tool. And a work piece shape changing means for changing the shape of the work material, a recognition means for recognizing the position of the tool and the shape of the work material around the work material, and the machining condition is changed according to the recognition result by the recognition means. A numerical control device comprising a processing condition changing means.
【請求項7】 前記認識手段は、認識した工具位置を基
に切り取られた被削材形状により工具周辺の被削材の形
状を認識することを特徴とする請求項6記載の数値制御
装置。
7. The numerical controller according to claim 6, wherein the recognition unit recognizes the shape of the work material around the tool based on the shape of the work material cut out based on the recognized tool position.
【請求項8】 前記認識手段は、工具周辺の被削材の形
状を平面で切断したときの断面形状により、工具周辺の
被削材形状を認識することを特徴とする請求項6記載の
数値制御装置。
8. The numerical value according to claim 6, wherein the recognition means recognizes the shape of the work material around the tool based on a cross-sectional shape when the shape of the work material around the tool is cut along a plane. Control device.
【請求項9】 前記認識手段は、工具の位置からベクト
ルを設定し、該設定したベクトルと交差する被削材の幾
何データと位置データとを基に、工具周辺の被削材形状
を認識することを特徴とする請求項6記載の数値制御装
置。
9. The recognizing means sets a vector from the position of the tool, and recognizes the shape of the work material around the tool based on the geometric data and the position data of the work material intersecting the set vector. 7. The numerical control device according to claim 6, wherein
【請求項10】 前記認識手段は、被削材に対する工具
の接触面積と、前記被削材に対する工具の接触位置とを
基に工具周辺の被削材形状を認識することを特徴とする
請求項6記載の数値制御装置。
10. The recognizing means recognizes a shape of a work material around the tool based on a contact area of the tool with the work material and a contact position of the tool with the work material. 6. The numerical controller according to 6.
【請求項11】 前記認識手段による工具の位置と周辺
の被削材の形状とについての認識結果を基に工具経路の
単位長さあたりの切削量を算出する単位切削量算出手段
と、前記認識手段による工具の位置と周辺の被削材の形
状とについての認識結果を基に被削材の非切削部分の厚
みを認識する厚み認識手段とを有し、前記加工条件変更
手段は、前記単位切削量算出手段により算出した切削量
が多いときは送り速度を減じ、また前記切削量が少ない
ときは送り速度を増加し、さらに前記厚み認識手段によ
り認識した前記厚みが厚いときは送り速度を増加し、ま
た前記厚みが薄いときには送り速度を減じる工具送り速
度変化手段であることを特徴とする請求項6または請求
項7記載の数値制御装置。
11. A unit cutting amount calculating unit for calculating a cutting amount per unit length of a tool path based on a recognition result of a position of a tool and a shape of a work material around the unit by the recognizing unit, and the recognition. The machining condition changing means includes the thickness recognizing means for recognizing the thickness of the non-cutting portion of the work material based on the recognition result of the position of the tool by the means and the shape of the work material in the periphery. The feed rate is decreased when the cutting amount calculated by the cutting amount calculation means is large, the feed speed is increased when the cutting amount is small, and the feed speed is increased when the thickness recognized by the thickness recognition means is thick. The numerical control device according to claim 6 or 7, wherein the numerical control device is tool feed speed changing means for reducing the feed speed when the thickness is thin.
【請求項12】 入力された数値データを解読し、その
解読結果を基に各部の制御を行い、前記入力された数値
データに応じて制御対象を操作し前記入力された数値デ
ータに応じた被削材の加工を行う数値制御装置におい
て、入力されたポケット形状から切削除去する領域を設
定する除去領域設定手段と、該除去領域設定手段により
設定した除去領域と前記加工情報入力手段により入力し
た加工情報とを基に残留部が生じるか否かを判断する残
留部判定手段と、該残留部判定手段により生じると判断
された残留部が形成される前記ポケット形状の領域に、
修正形状を重ね、前記ポケット形状を修正する形状修正
手段とを備え、前記形状修正手段により修正したポケッ
ト形状に対し包絡線を生成し、工具経路を生成すること
を特徴とする請求項1から請求項5のいずれか1項に記
載の数値制御装置。
12. The input numerical data is decoded, each part is controlled based on the decoding result, and the controlled object is operated according to the input numerical data, and the control target corresponding to the input numerical data is operated. In a numerical controller for processing a work material, a removal area setting means for setting an area to be cut and removed from an inputted pocket shape, a removal area set by the removal area setting means, and a processing input by the processing information input means. In the pocket-shaped region in which the residual portion is determined based on the information, the residual portion determining unit determines whether or not the residual portion is generated, and the residual portion determined to be generated by the residual portion determining unit is formed.
A shape correction means for superposing correction shapes and correcting the pocket shape is provided, and an envelope curve is generated for the pocket shape corrected by the shape correction means to generate a tool path. Item 9. The numerical controller according to any one of items 5.
JP6205761A 1994-08-30 1994-08-30 Numerical control device Pending JPH0866844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6205761A JPH0866844A (en) 1994-08-30 1994-08-30 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6205761A JPH0866844A (en) 1994-08-30 1994-08-30 Numerical control device

Related Child Applications (4)

Application Number Title Priority Date Filing Date
JP2004152209A Division JP2004246928A (en) 2004-05-21 2004-05-21 Numerical controller and numerical control method
JP2004152175A Division JP2004272930A (en) 2004-05-21 2004-05-21 Numerical control device and method
JP2004152200A Division JP2004234696A (en) 2004-05-21 2004-05-21 Numerical controller and numerical control method
JP2004152186A Division JP2004240998A (en) 2004-05-21 2004-05-21 Numerical control device and numerical control method

Publications (1)

Publication Number Publication Date
JPH0866844A true JPH0866844A (en) 1996-03-12

Family

ID=16512238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6205761A Pending JPH0866844A (en) 1994-08-30 1994-08-30 Numerical control device

Country Status (1)

Country Link
JP (1) JPH0866844A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014507038A (en) * 2011-02-28 2014-03-20 ソリッドキャム リミテッド Computerized tool path generation
US9690282B2 (en) 2011-02-28 2017-06-27 Solidcam Ltd. Computerized tool path generation
WO2022149570A1 (en) * 2021-01-07 2022-07-14 ファナック株式会社 Device for simulating operation of robot, device for controlling robot, and method for simulating operation of robot

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014507038A (en) * 2011-02-28 2014-03-20 ソリッドキャム リミテッド Computerized tool path generation
US9690282B2 (en) 2011-02-28 2017-06-27 Solidcam Ltd. Computerized tool path generation
US9823645B2 (en) 2011-02-28 2017-11-21 Solidcam Ltd. Computerized tool path generation
US10324445B2 (en) 2011-02-28 2019-06-18 Solidcam Ltd. Object fabricated from a workpiece machined using a computer controlled machine tool along an asymmetric spiral tool path
US10620607B2 (en) 2011-02-28 2020-04-14 Solidcam Ltd. Computerized tool path generation
US10895861B2 (en) 2011-02-28 2021-01-19 Solidcam Ltd. Automated computer-controlled machine to fabricate an object from a workpiece
US11625019B2 (en) 2011-02-28 2023-04-11 Solidcam Ltd. Computerized tool path generation
WO2022149570A1 (en) * 2021-01-07 2022-07-14 ファナック株式会社 Device for simulating operation of robot, device for controlling robot, and method for simulating operation of robot

Similar Documents

Publication Publication Date Title
US20080251500A1 (en) Controller for wire-cut electrical discharge machines
JP2002189510A (en) Working relevant information preparation device and numerical controller equipped with the same device
JP2001075624A (en) Tool path data generating device for nc machine tool and numerical controller equipped with the same device
CN107797514B (en) Numerical controller having interference-avoiding tool retraction function
US20050222706A1 (en) Method and device for generation of machining program
JP6122046B2 (en) Numerical control device that can partially correct the machining cycle
JP5886656B2 (en) Numerical controller
JPH0866844A (en) Numerical control device
CN117452881A (en) Impeller calculation auxiliary manufacturing method, device and medium
JP2004234696A (en) Numerical controller and numerical control method
EP1209544B1 (en) Tool path data generation apparatus for nc machine tool and numerical controller provided with it
JP2004246928A (en) Numerical controller and numerical control method
JP2008046913A (en) Numerical control device of machine tools
JP2004272930A (en) Numerical control device and method
JPH06274219A (en) Nc working data generating device in cad device
JPH09160624A (en) Tool path determining method
JP3870021B2 (en) Machining path generation method, machining path generation apparatus, and recording medium
JP2001117617A (en) Numerical controller
JPH06119031A (en) Nc data generating method for working of cut remaining part
WO2024084706A1 (en) Machining instruction correction device and machining instruction correction method
JP3082232B2 (en) Axial feed cutting method
JPH05228786A (en) Automatic generating device for nc data in nc machine tool
JP2707992B2 (en) Outline processing data generation device and outline processing data generation method
JP2992163B2 (en) Numerical control method and device
JPH0768448A (en) Numerical control information creating method and its device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040521

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040914