JPH0480803A - Automatic programming device - Google Patents

Automatic programming device

Info

Publication number
JPH0480803A
JPH0480803A JP19577690A JP19577690A JPH0480803A JP H0480803 A JPH0480803 A JP H0480803A JP 19577690 A JP19577690 A JP 19577690A JP 19577690 A JP19577690 A JP 19577690A JP H0480803 A JPH0480803 A JP H0480803A
Authority
JP
Japan
Prior art keywords
data
shape
machining point
input
machining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19577690A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hirose
敏之 広瀬
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP19577690A priority Critical patent/JPH0480803A/en
Publication of JPH0480803A publication Critical patent/JPH0480803A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the correction of a shape at an optional point by correcting partly the machining point data based on the displaced variable obtained from the shape correction data inputted from an input part. CONSTITUTION:The partial correction is desired to the shape of a machined work, an input part 5 inputs the coordinate value of the shape correction point, a corrected variable of the coordinate value, a coefficient that prescribes a shape correction range, etc. Then a CPU 1 reads the machining point data out of a machining point data file and corrects partly the machining point data based on the shape correction data. That is, a displaced variable is obtained based on the coordinate value of the shape correction point. Then the machining point data is partly corrected based on the variable.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、入力された形状特定データから数値制御デー
タ(以下、NCデータという。)を自動的に求める自動
プログラミング装置に関する。例えば、モデル加工機、
金型加工機、木型加工機などを数値制御するNCデータ
の作成に適する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic programming device that automatically obtains numerical control data (hereinafter referred to as NC data) from input shape specifying data. For example, model processing machine,
Suitable for creating NC data for numerically controlling mold processing machines, wooden mold processing machines, etc.

〔背景技術〕[Background technology]

従来の自動プログラミング装置では、例えば複雑な曲面
を加工するNCデータを作成する場合、第8図に示す手
順で処理を行っている。
In a conventional automatic programming device, for example, when creating NC data for machining a complex curved surface, processing is performed in accordance with the procedure shown in FIG.

ます、ワークの形状特定データ、ここではワークの加工
曲面上の点前データか入力されると、それらの入力デー
タを基に複数の加工点データ、つまり複数の加工点座標
値およびその各座標値における法線ベクトルを算出し、
これらの加工点データを加工点データファイルに格納す
る。
First, when the shape identification data of the workpiece (in this case, pre-point data on the machining surface of the workpiece) is input, multiple machining point data, that is, multiple machining point coordinate values and their respective coordinate values, are generated based on the input data. Calculate the normal vector at ,
These machining point data are stored in a machining point data file.

続いて、加工条件データ、例えば工具径、ヒール角、主
軸回転数、送り速度量などが入力されると、それらの加
工条件データと前記加工データファイル中に格納された
加工点データとから中間データを算出し、この中間デー
タを基に各機械固有のポストプロセッサ処理をしてNC
データを算出し、これをNCデータファイルに格納する
。なお、NCデータファイルに格納されたNCデータは
、その後、出力指令か与えられたとき、外部へ出力され
る゛。
Next, when machining condition data such as tool diameter, heel angle, spindle rotation speed, feed rate, etc. are input, intermediate data is generated from these machining condition data and machining point data stored in the machining data file. is calculated, and based on this intermediate data, post-processor processing specific to each machine is performed and the NC
Calculate the data and store it in the NC data file. Note that the NC data stored in the NC data file is then output to the outside when an output command is given.

従って、NCデータファイルに格納されたNCデータを
、フロッピディスク、NCテープあるいは通信回線を媒
体としてNC装置に入力し、実際にNC加工機を数値制
御すれば、ワークを自動的に所定形状に加工することか
できる。
Therefore, if the NC data stored in the NC data file is input to the NC device using a floppy disk, NC tape, or communication line as a medium and the NC processing machine is actually numerically controlled, the workpiece will be automatically processed into the specified shape. I can do something.

ところで、モデル加工機、金型加工機、木型加工機など
では、上述した手順に従って実際にワークを加工した後
に、ワークの形状を一部修正したい場合が多い。例えば
、ワークの一部を削り込んたり、あるいは、膨らませた
い場合がある。
By the way, in model processing machines, mold processing machines, wooden mold processing machines, etc., it is often desired to partially correct the shape of the workpiece after actually processing the workpiece according to the above-described procedure. For example, there may be cases where it is desired to carve or inflate a part of the workpiece.

このような場合、従来の自動プロクラミンク装置では、
修正したい部分に該当する入力データ(点前データ)を
修正した後、修正した点前データを含む全ての点前デー
タを再度入力させる。すると、第8図の処理が最初から
実行されてNCデータか作成される。
In such cases, traditional automatic procraming devices
After correcting the input data (temae data) corresponding to the part to be corrected, all the temae data including the corrected temae data are input again. Then, the process shown in FIG. 8 is executed from the beginning to create NC data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の自動プログラミング装置では、上述したように、
ワークの形状を一部修正したい場合、修正したい部分に
該当する入力データ(点前データ)を修正した後、修正
した点前データを含む全ての点前データを再度入力させ
なければならないので、入力操作が面倒でかつ時間かか
かるという欠点がある。
In conventional automatic programming devices, as mentioned above,
If you want to partially correct the shape of the workpiece, you must correct the input data (temae data) that corresponds to the part you want to correct, and then re-enter all the temae data, including the corrected temae data. The disadvantage is that the operation is troublesome and time consuming.

しかも、再度入力された全ての入力データについて、最
初から同じ処理を行うため、つまり修正しなかった入力
データについてもその入力データから加工点データを算
出する処理を行うため、処理時間かかかるという問題か
ある。つまり、修正に要する時間も最初のデータ作成時
に要する時間程度、あるいは、それ以上になる場合かあ
る。
Moreover, since the same processing is performed from the beginning for all input data that is input again, that is, processing is performed to calculate machining point data from the input data that has not been corrected, so it takes a long processing time. There is. In other words, the time required for correction may be as long as the time required for initial data creation, or even longer.

また、形状を修正したい箇所が入力データの部分に限ら
れるという欠点がある。つまり、形状を修正したい箇所
が人力データの部分から離れていた場合には、どの位の
修正か必要なのかが理解できないので、結局、形状を修
正したい箇所か入力データの部分に限定される。
Another disadvantage is that the part whose shape is desired to be corrected is limited to the part of the input data. In other words, if the part where you want to modify the shape is far from the part of the human input data, you will not be able to understand how much correction is necessary, so in the end the shape will be limited to the part where you want to modify or the part of the input data.

ここに、本発明の目的は、このような従来の欠点を解消
し、任意の点において、形状修正を簡単にかつ迅速に行
える自動プログラミング装置を提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an automatic programming device that overcomes these conventional drawbacks and can easily and quickly modify the shape at any point.

〔課題を解決するための手段〕[Means to solve the problem]

そのため、本発明は、形状修正を行う場合、従来のよう
に入力データを修正するのではなく、加工点データの一
部のみを修正することにより、任意点において形状修正
を迅速にかつ簡単に行えるようにしたものである。
Therefore, when modifying the shape, the present invention does not modify the input data as in the conventional method, but only a part of the machining point data, thereby making it possible to quickly and easily modify the shape at any point. This is how it was done.

即ち、本発明の自動プロゲラミンク装置は、形状特定デ
ータ、加工条件データおよび任意の形状修正点座標値、
その形状修正点座標値における修正量並ひに形状修正を
及ぼす範囲を規定する係数からなる形状修正データを入
力する入力部と、加工点データファイルおよび数値制御
データファイルを有する記憶部と、演算処理部とを備え
、前記演算処理部は、前記入力部から入力された形状特
定データを基に複数の加工点座標値およびその各座標値
における法線ヘクトルを求め、これらの加工点データを
前記加工点データファイルに記憶させる第1の処理手段
と、前記加工点データファイルに記憶された加工点デー
タと前記人力部から入力された加工条件データとから数
値制御データを求め、この数値制御データを前記数値制
御データファイルに記憶させる第2の処理手段と、前記
入力部から入力された形状修正データを基に前記形状修
正を及ぼす範囲内の変位量を求め、この変位量に従って
前記加工点データファイルに記憶された加工点データの
一部を修正する第3の処理手段とを含む、ことを特徴と
する。
That is, the automatic progeraminking device of the present invention uses shape identification data, processing condition data, coordinate values of arbitrary shape correction points,
an input section for inputting shape modification data consisting of coefficients defining the amount of modification at the shape modification point coordinate values and the range of shape modification; a storage section having a machining point data file and a numerical control data file; and an arithmetic processing section. The arithmetic processing unit calculates a plurality of processing point coordinate values and a normal hector at each of the coordinate values based on the shape specifying data input from the input unit, and calculates the processing point data by using the processing point data. a first processing means for storing in a point data file; calculating numerical control data from the machining point data stored in the machining point data file and machining condition data inputted from the human power section; A second processing means for storing the data in the numerical control data file, and determining the amount of displacement within the range in which the shape modification is applied based on the shape modification data inputted from the input section, and storing the displacement amount in the processing point data file according to this displacement amount. and third processing means for modifying a part of the stored machining point data.

〔作 用〕[For production]

入力部から形状特定データおよび加工条件データを入力
すると、その形状特定データを基に加工点座標値および
その各座標値における法線ベクトルが求められ、これら
の加工点データが加工点ファイルに記憶される。
When shape specification data and machining condition data are input from the input section, machining point coordinate values and normal vectors at each coordinate value are determined based on the shape specification data, and these machining point data are stored in a machining point file. Ru.

続いて、加工点ファイルに格納された加工点データと入
力部から入力された加工条件データとから数値制御デー
タが求められ、数値制御データファイルに記憶される。
Subsequently, numerical control data is obtained from the machining point data stored in the machining point file and the machining condition data input from the input section, and is stored in the numerical control data file.

例えば、加工点データと加工条件データとから中間デー
タか算出され、それを基に各機械固有のポストプロセッ
サ処理により数値制御データが求められ、数値制御デー
タファイルに記憶される。従って、この数値制御データ
ファイルに記憶された数値制御データをNC装置に入力
してNO加工機を数値制御すれば、それに基づいてワー
クを加工することかできる。
For example, intermediate data is calculated from machining point data and machining condition data, and based on this, numerical control data is determined by post-processor processing unique to each machine and stored in a numerical control data file. Therefore, by inputting the numerical control data stored in this numerical control data file into the NC device and numerically controlling the NO machining machine, the workpiece can be machined based on the numerical control data.

ここで、実際にワークを加工したとき、加工後の形状を
一部修正したい場合、入力部から形状修正データを入力
する。すると、その入力部から入力された形状修正デー
タを基に形状修正を及ぼす範囲内の変位量が求められ、
その変位量に従って加工点データファイルに記憶された
加工点データの一部か修正される。
Here, when the workpiece is actually machined, if it is desired to partially correct the shape after processing, shape correction data is inputted from the input section. Then, based on the shape correction data input from the input section, the amount of displacement within the range of shape correction is determined.
A part of the machining point data stored in the machining point data file is corrected according to the amount of displacement.

従って、形状を一部修正したい場合、任意点の座標値、
その座標値における修正量および形状修正を及はす範囲
を規定する係数からなる形状修正データを入力するたけ
でよいので、修正操作か簡単である。また、加工点デー
タの一部のみか修正されるだけなので、処理時間も従来
より短縮できる。
Therefore, if you want to partially modify the shape, the coordinates of any point,
The modification operation is simple because it is only necessary to input shape modification data consisting of coefficients defining the amount of modification in the coordinate values and the range to which the shape modification is applied. Furthermore, since only part of the machining point data is corrected, the processing time can be reduced compared to the conventional method.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本実施例の回路構成を示している。同図におい
て、lはCPUである。CPLTIには、バス2を通じ
て、処理プログラムを格納したROM3、データを格納
する記憶部としてのRAM4、入力部5、CRT6およ
び出力部7がそれぞれ接続されている。
FIG. 1 shows the circuit configuration of this embodiment. In the figure, l is a CPU. A ROM 3 storing a processing program, a RAM 4 serving as a storage section storing data, an input section 5, a CRT 6, and an output section 7 are connected to the CPLTI through a bus 2, respectively.

ここで、前記RAM4内には、第2図に示す如く、複数
の加工点座標値およびその各加工点座標値における法線
ベクトルを記憶する加工点データファイル4Aと、NC
データを記憶するNCデータファイル4Bとかそれぞれ
設けられている。
As shown in FIG. 2, the RAM 4 includes a machining point data file 4A that stores a plurality of machining point coordinate values and normal vectors at each machining point coordinate value, and
An NC data file 4B for storing data is also provided.

また、前記入力部5は、各種データや指令情報を入力す
るためのもので、キーボードやカードリーダなどによっ
て構成されている。ここで、各種データや指令情報とは
、ワークの加工曲面における魚群データや関数曲面デー
タなどの形状特定データ、工具情報(工具径、工具の向
き、ヒール角、主軸回転数、メリ速度など)などの加工
条件データ、形状修正データ、出力範囲指定データおよ
び出力指令情報などである。
The input section 5 is for inputting various data and command information, and is composed of a keyboard, a card reader, and the like. Here, the various data and command information include shape identification data such as fish school data and function surface data on the machining surface of the workpiece, tool information (tool diameter, tool orientation, heel angle, spindle rotation speed, meli speed, etc.), etc. processing condition data, shape correction data, output range specification data, output command information, etc.

前記形状修正データは、形状修正を行おうとする任意点
の座標値、その形状修正点座標値における修正量および
形状修正を及はす範囲を規定する係数である。例えば、
第3図の■の曲線の一部を■の曲線に修正する場合、■
の曲線上の任意点Pの座標値(x、y)におけるY方向
の修正量をdとすると、変位量Δは、 Δ=aL3+bL2+cL+d−−(1)で与えられる
から、形状修正座標値P (x、y)、修正量dおよび
係数a、b、c、Lを入力する。
The shape modification data is a coefficient that defines the coordinate value of an arbitrary point whose shape is to be modified, the amount of modification in the coordinate value of the shape modification point, and the range to which the shape modification is applied. for example,
When modifying part of the curve marked ■ in Figure 3 to the curve marked ■,
When the amount of correction in the Y direction at the coordinates (x, y) of an arbitrary point P on the curve is d, the amount of displacement Δ is given by Δ=aL3+bL2+cL+d−-(1), so the shape correction coordinate value P ( x, y), correction amount d, and coefficients a, b, c, and L.

前記出力範囲指定データは、前記NCデータファイル4
Bに格納されているNCデータの出力範囲を指定するも
ので、例えば3軸の場合、第4図(A)に示す如く、X
−Y、Y−Z、Z−X平面での軸に任意角をもつ任意の
矩形形状を指定するためのデータである。また、5軸の
場合、第4図(B)に示す如く、X−Y−Z座標系での
軸に任意角をもつ任意の箱形状を指定するためのデータ
である。
The output range specification data is stored in the NC data file 4.
This specifies the output range of the NC data stored in B. For example, in the case of three axes, as shown in Figure 4 (A),
This is data for specifying an arbitrary rectangular shape having arbitrary angles on the axes in the -Y, Y-Z, and Z-X planes. Furthermore, in the case of five axes, as shown in FIG. 4(B), this is data for specifying an arbitrary box shape having arbitrary angles on the axes in the X-Y-Z coordinate system.

また、前記出力部7は、前記CPUIからの出力指令に
基ついて、前記NCデータファイル4Bに格納されたN
Cデータを外部へ出力するためのもので、例えばオンラ
イン接続されたインターフェイス回路、磁気テープカー
トリッジ、テープパンチャ、プリンタなどによって構成
されている。
Further, the output unit 7 outputs the N.sub.N stored in the NC data file 4B based on the output command from the CPUI.
It is for outputting C data to the outside, and is composed of, for example, an online-connected interface circuit, a magnetic tape cartridge, a tape puncher, a printer, etc.

また、前記CPUIは、ROM3に格納された処理プロ
グラムに従って、第5図および第6図に示すフローチャ
ートの処理を実行する。ここに、CPUIおよびROM
 3により、次の第1の処理手段、第2の処理手段およ
び第3の処理手段が構成されている。
Further, the CPUI executes the processing shown in the flowcharts shown in FIGS. 5 and 6 according to the processing program stored in the ROM 3. Here, CPUI and ROM
3 constitutes the following first processing means, second processing means, and third processing means.

前記第1の処理手段は、前記入力部5から入力された形
状特定データを基に複数の加工点座標値およびその各座
標値における法線ベクトルを求め、これらの加工点デー
タを前記加工点データファイル4Aに記憶させる処理を
実行する。
The first processing means calculates a plurality of machining point coordinate values and a normal vector at each coordinate value based on the shape specifying data input from the input section 5, and converts these machining point data into the machining point data. Execute processing to store in file 4A.

前記第2の処理手段は、前記加工点データファイル4A
に記憶された加工点データと前記入力部5から入力され
た加工条件データとからNCデータを求め、前記NCデ
ータファイル4Bに記憶させる処理を実行する。
The second processing means processes the processing point data file 4A.
NC data is obtained from the machining point data stored in the input section 5 and the machining condition data input from the input section 5, and processing is executed to store it in the NC data file 4B.

前記第3の処理手段は、前記入力部5から入力された形
状修正データを基に前記形状修正を及はす範囲内の変位
量Δを求め、この変位量Δに従って前記加工点データフ
ァイル4Aに記憶された加工点データの一部を修正する
処理を実行する。
The third processing means calculates a displacement amount Δ within the range in which the shape correction is applied based on the shape correction data inputted from the input section 5, and stores the displacement amount Δ in the machining point data file 4A according to this displacement amount Δ. Execute processing to modify part of the stored machining point data.

次に、本実施例の作用を第5図および第6図のフローチ
ャートを参照しながら説明する。
Next, the operation of this embodiment will be explained with reference to the flowcharts of FIGS. 5 and 6.

NCデータの作成に当たっては、まず、形状特定データ
、つまりワークの加工曲面上における点前データを入力
部5から入力する。
In creating the NC data, first, shape specifying data, that is, point preparation data on the machining curved surface of the workpiece is inputted from the input unit 5.

すると、CPUIは、第5図に示すフローチャートに従
って、ステップ(以下、STと略す。)1で入力データ
が形状特定データであることを認識すると、ST2へ進
みその形状特定データを基に複数の加工点データ、つま
り複数の加工点座標値および各加工点座標値における法
線ベクトルを算出した後、ST3へ進みそれらの加工点
データを加工点データファイル4Aに格納する。
Then, according to the flowchart shown in FIG. 5, when the CPU recognizes that the input data is shape specifying data in step (hereinafter abbreviated as ST) 1, it proceeds to ST2 and performs multiple processing based on the shape specifying data. After calculating the point data, that is, the plurality of machining point coordinate values and the normal vector at each machining point coordinate value, the process proceeds to ST3 and stores the machining point data in the machining point data file 4A.

続いて、ST4において、入力部5から加工条件データ
、つまり工具径、工具の向き、ヒール角などが入力され
ていることを条件として、ST5へ進み加工点データフ
ァイル4Aに格納されている加工点データと加工条件デ
ータとから中間データを算出し、その中間データを基に
ポストプロセッサ処理をしてNCデータを算出した後、
ST6へ進みNCデータをNCデータファイル4Bに格
納する。
Next, in ST4, on the condition that machining condition data, that is, tool diameter, tool orientation, heel angle, etc., have been input from the input section 5, the process advances to ST5 and the machining points stored in the machining point data file 4A are input. After calculating intermediate data from the data and processing condition data, and performing post-processor processing based on the intermediate data to calculate NC data,
Proceed to ST6 and store the NC data in the NC data file 4B.

このようにしてNCデータかNCデータファイル4Bに
格納された後、出力指令情報(全体)を入力部5から指
令すると、CPUIは、第6図に示すフローチャートに
従って処理を行う。つまり、5T21で全体出力指令で
あることを認識すると、5T22へ進みNCデータファ
イル4Bに格納されているNCデータを出力部7から出
力する。
After the NC data is stored in the NC data file 4B in this manner, when output command information (the entirety) is commanded from the input unit 5, the CPUI performs processing according to the flowchart shown in FIG. That is, when it is recognized at 5T21 that it is the entire output command, the process advances to 5T22 and the NC data stored in the NC data file 4B is output from the output unit 7.

従って、出力部7から出力されたNCデータをNC装置
に入力してNC加工機を数値制御すれば、ワークを加工
することができる。ここで、加工後のワークの形状を一
部修正したい場合、入力部5から形状修正データ、つま
り形状修正点座標値P(x、y) 、その形状修正点座
標値における修正量dおよび形状修正を及ぼす範囲を規
定する係数a、b、c、Lなどを入力する。
Therefore, by inputting the NC data output from the output section 7 into the NC device and numerically controlling the NC processing machine, the workpiece can be processed. Here, if you want to partially correct the shape of the workpiece after processing, input the shape correction data from the input section 5, that is, the shape correction point coordinate value P (x, y), the correction amount d at the shape correction point coordinate value, and the shape correction. Input coefficients a, b, c, L, etc. that define the range in which the effect is applied.

すると、CPUIは、第5図に示すフローチャートの5
TIIで形状修正データが入力されたことを認識すると
、5T12へ進み加工点データファイル4A内に加工点
データか格納されているかをチエツクする。加工点デー
タファイル4A内に加工点データが格納されていなけれ
ば、エラーとして処理する。
Then, the CPU
When the TII recognizes that the shape correction data has been input, the process advances to 5T12 and checks whether machining point data is stored in the machining point data file 4A. If the machining point data is not stored in the machining point data file 4A, it is treated as an error.

加工点データファイル4A内に加工点データが格納され
ていれば、5T13へ進み加工点データファイル4A内
から加工点データを読出し、形状修正データに基づき加
工点データの一部を修正する。つまり、形状修正データ
の形状修正点座標値P(X、y)、その形状修正点座標
値における修正量dおよび形状修正を及ぼす範囲を規定
する係数a、b、c、Lを基に前記(1)式の演算を行
い、形状修正点座標値P (x、y)を基準とする変位
量Δを求め、この変位量Δに従って加工点データの一部
を修正する。その後、ST3へ進みこれらの加工点デー
タを加工点データファイル4Aに格納した後、ST4.
5.6の処理を行う。
If the machining point data is stored in the machining point data file 4A, the process advances to 5T13, where the machining point data is read from the machining point data file 4A, and part of the machining point data is modified based on the shape correction data. In other words, the above ( 1) Calculate the equation to find the displacement Δ with respect to the coordinate value P (x, y) of the shape correction point, and correct a part of the machining point data according to this displacement Δ. After that, proceed to ST3 and store these machining point data in the machining point data file 4A, and then proceed to ST4.
5. Perform the process in 6.

ここで、修正したデータの範囲のみを出力したい場合に
は、入力部5から出力範囲指定データを入力した後、出
力指令情報(部分)を入力する。
Here, if it is desired to output only the corrected data range, the output range designation data is input from the input unit 5, and then the output command information (part) is input.

すると、CPUIは、第6図に示すフローチャートの5
T31で部分出力指令であることを認識すると、5T3
2へ進みNCデータファイル4Bに格納されているNC
データの中から指定された範囲内のNCデータを出力部
7から出力する。これにより、出力部7から出力された
一部のNCデータをNC装置に入力してNC加工機を数
値制御すれば、ワークを再度加工することかできる。
The CPU then executes step 5 of the flowchart shown in FIG.
When recognizing that it is a partial output command at T31, 5T3
Proceed to step 2 and proceed to NC stored in NC data file 4B.
NC data within a specified range from among the data is output from the output section 7. As a result, the workpiece can be machined again by inputting part of the NC data output from the output section 7 into the NC device and numerically controlling the NC processing machine.

従って、本実施例によれば、ワークを実際に加工した後
、ワークの形状を一部修正したい場合でも、入力部5か
ら形状修正データを入力するだけでよいので、従来に比
べ、修正時の入力操作を簡単にできる。
Therefore, according to this embodiment, even if you want to partially modify the shape of the workpiece after actually machining the workpiece, you only need to input the shape modification data from the input section 5, so that the modification time is much easier than in the past. Easy input operations.

しかも、形状修正データとしては、任意点の座標値P 
(x、y) 、その座標値における修正量dおよび形状
修正を及はす範囲を規定する係数a。
Moreover, as shape correction data, the coordinate value P of an arbitrary point is
(x, y), the amount of correction d in the coordinate values, and the coefficient a that defines the range to which the shape correction is applied.

b、c、Lを入力すれば、任意点の座標値P (x。By inputting b, c, and L, the coordinate value P (x.

y)を基準に形状を滑らかに修正することができるので
、簡単な入力操作で任意の点における形状修正か可能で
ある。
Since the shape can be smoothly modified based on y), the shape can be modified at any point with a simple input operation.

また、入力された形状修正データに基づいて、加工点デ
ータファイル4Aに記憶された加工点データの一部のみ
か修正されるだけであるから、つまり、従来のように修
正後に再入力された全ての入力データについて加工点デ
ータを算出しなくてもよいので、処理時間を短縮するこ
とかできる。
Furthermore, based on the input shape correction data, only a part of the machining point data stored in the machining point data file 4A is corrected. Since it is not necessary to calculate machining point data for the input data, processing time can be shortened.

また、NCデータファイル4Bに格納されたNCデータ
の出力範囲を指定できるようにしたので、修正した部分
のみのNCデータを出力させることも可能である。
Furthermore, since the output range of the NC data stored in the NC data file 4B can be specified, it is also possible to output only the modified portion of the NC data.

なお、上記実施例では、第5図の5T13において、形
状修正データに基つき加工点データの一部を修正した後
、ST3〜ST6の処理を実行するようにしたか、例え
ば、第7図のフローチャートに示す処理を行うようにし
てもよい。
In the above embodiment, at 5T13 in FIG. 5, after a part of the machining point data is corrected based on the shape correction data, the processing in ST3 to ST6 is executed, for example, in step 5T13 in FIG. The processing shown in the flowchart may also be performed.

これは、5T13の処理の後、5T14へ進みこれらの
加工点データを加工点データファイル4Aに格納した後
、5T15へ進み加工点データファイル4Aから加工点
データを読出し、修正後の加工点データと加工条件デー
タとから中間データを算出し、その中間データを基にポ
ストプロセッサ処理をしてNCデータを算出し、つまり
修正後の加工点データのNCデータのみを算出し、これ
らをNCデータファイル4Bに格納するようにしたもの
である。従って、この場合には、修正しない加工点デー
タと加工条件データとから算出されたNCデータについ
ては再度算出処理を行わなくてもよいので、処理時間を
短縮できる。
After processing in 5T13, the process advances to 5T14, stores these machining point data in the machining point data file 4A, then advances to 5T15, reads the machining point data from the machining point data file 4A, and stores the machining point data after correction. Intermediate data is calculated from the machining condition data, post-processor processing is performed based on the intermediate data, and NC data is calculated.In other words, only the NC data of the corrected machining point data is calculated, and these are saved in the NC data file 4B. It is designed to be stored in . Therefore, in this case, it is not necessary to perform the calculation process again on the NC data calculated from the uncorrected machining point data and machining condition data, so that the processing time can be shortened.

なお、上記実施例では、修正後の加工点データを修正前
の加工点データか格納されている加工点データファイル
4A内に更新するようにしたか、これとは別に修正後の
データを格納する第2の加工点データファイルを設け、
これに修正後の加工点データを格納するようにしてもよ
い。このようにすれば、最初に入力した形状特定データ
を保存しておくことかできる。
In the above embodiment, the modified machining point data is updated in the machining point data file 4A that stores the unmodified machining point data, or the modified data is stored separately. A second machining point data file is provided,
Corrected machining point data may be stored in this. In this way, it is possible to save the shape specifying data that was input first.

〔発明の効果〕〔Effect of the invention〕

以上の通り、本発明によれは、形状修正データを入力す
れば、加工点データの一部か修正されるので、任意の点
において形状修正を簡単にかつ迅速に行える自動プログ
ラミング装置を提供することができる。
As described above, it is an object of the present invention to provide an automatic programming device that can easily and quickly modify a shape at any point, since part of the machining point data is modified when shape modification data is input. I can do it.

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

第1図〜第6図は本発明の一実施例を示すもので、第1
図は全体の回路構成を示すブロック図、第2図はRAM
の内容を示す図、第3図は形状修正処理を説明するため
の図、第4図はNCデータの出力範囲を指定する方法を
説明するための図、第5図および第6図はフローチャー
トである。第7図は本発明の他の実施例を示すフローチ
ャートである。第8図は従来の自動プログラミング装置
のフローチャートである。 1.3・・・CPUおよびROM(演算処理部)、4・
・・RAM (記憶部)、4A・・・加工点データファ
イル、4B・・・NCデータファイル、5・・・入力部
Figures 1 to 6 show one embodiment of the present invention.
The figure is a block diagram showing the overall circuit configuration, and Figure 2 is the RAM.
Figure 3 is a diagram to explain the shape correction process, Figure 4 is a diagram to explain how to specify the output range of NC data, and Figures 5 and 6 are flowcharts. be. FIG. 7 is a flowchart showing another embodiment of the present invention. FIG. 8 is a flowchart of a conventional automatic programming device. 1.3...CPU and ROM (arithmetic processing unit), 4.
...RAM (storage unit), 4A...machining point data file, 4B...NC data file, 5...input section.

Claims (1)

【特許請求の範囲】[Claims] (1)形状特定データ、加工条件データおよび任意の形
状修正点座標値、その形状修正点座標値における修正量
並びに形状修正を及ぼす範囲を規定する係数からなる形
状修正データを入力する入力部と、加工点データファイ
ルおよび数値制御データファイルを有する記憶部と、演
算処理部とを備え、 前記演算処理部は、前記入力部から入力された形状特定
データを基に複数の加工点座標値およびその各座標値に
おける法線ベクトルを求め、これらの加工点データを前
記加工点データファイルに記憶させる第1の処理手段と
、前記加工点データファイルに記憶された加工点データ
と前記入力部から入力された加工条件データとから数値
制御データを求め、この数値制御データを前記数値制御
データファイルに記憶させる第2の処理手段と、前記入
力部から入力された形状修正データを基に前記形状修正
を及ぼす範囲内の変位量を求め、この変位量に従って前
記加工点データファイルに記憶された加工点データの一
部を修正する第3の処理手段とを含む、 ことを特徴とする自動プログラミング装置。
(1) an input unit for inputting shape correction data consisting of shape specification data, processing condition data, arbitrary shape correction point coordinate values, a correction amount at the shape correction point coordinate values, and a coefficient defining a range in which shape correction is applied; A storage unit having a machining point data file and a numerical control data file, and an arithmetic processing unit, wherein the arithmetic processing unit calculates a plurality of machining point coordinate values and each of them based on the shape specifying data input from the input unit. a first processing means for determining a normal vector at a coordinate value and storing these machining point data in the machining point data file; a second processing means for obtaining numerical control data from the processing condition data and storing the numerical control data in the numerical control data file; and a range in which the shape correction is applied based on the shape correction data input from the input section. and third processing means for determining a displacement amount within the machining point data file and modifying a part of the machining point data stored in the machining point data file according to this displacement amount.
JP19577690A 1990-07-23 1990-07-23 Automatic programming device Pending JPH0480803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19577690A JPH0480803A (en) 1990-07-23 1990-07-23 Automatic programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19577690A JPH0480803A (en) 1990-07-23 1990-07-23 Automatic programming device

Publications (1)

Publication Number Publication Date
JPH0480803A true JPH0480803A (en) 1992-03-13

Family

ID=16346777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19577690A Pending JPH0480803A (en) 1990-07-23 1990-07-23 Automatic programming device

Country Status (1)

Country Link
JP (1) JPH0480803A (en)

Similar Documents

Publication Publication Date Title
EP0078856B1 (en) Numerical control device
KR100217524B1 (en) Free-form curve intrpolation method and apparatus
EP0394474A1 (en) Spline interpolation system
JP2009217326A (en) Numerical controller controlling five-axis machining machine
JP2002189510A (en) Working relevant information preparation device and numerical controller equipped with the same device
JPS59224228A (en) Neumeric controller
JP3466111B2 (en) Numerical control unit
WO1998019823A1 (en) Numeric control command generator and method
CN117452881A (en) Impeller calculation auxiliary manufacturing method, device and medium
JP2667563B2 (en) Tool axis direction calculation method
JPH0480803A (en) Automatic programming device
WO1993001535A1 (en) Method for specifying position where fillet curved surface is located
US11003158B2 (en) Method for 3D radius correction in CNC milling and associated milling machine
JP2003337607A (en) Method for controlling speed of numerical control apparatus
WO1987006032A1 (en) Method of preparing nc data of a composite curved surface
WO1993016422A1 (en) Method of creating nc program for cutting corner
JPH07121222A (en) Automatic generating method for deburring program using fixed tool
JPH08249039A (en) Numerical control method for mirror image control
JP2000347715A (en) Numerical controller
JPH07334223A (en) Tool spindle attitude control system
JPH08179818A (en) Device and method for generating outline working data
JPH0561524A (en) Numerical controller
JPS60142706A (en) Coordinate system setting device in numerical controller
JPH0561517A (en) Numerical controller
JPH10240320A (en) Nc data preparing device