JP2584229B2 - CAD / CAM automatic programming device - Google Patents

CAD / CAM automatic programming device

Info

Publication number
JP2584229B2
JP2584229B2 JP62127930A JP12793087A JP2584229B2 JP 2584229 B2 JP2584229 B2 JP 2584229B2 JP 62127930 A JP62127930 A JP 62127930A JP 12793087 A JP12793087 A JP 12793087A JP 2584229 B2 JP2584229 B2 JP 2584229B2
Authority
JP
Japan
Prior art keywords
data
cad
automatic programming
programming device
corrected
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.)
Expired - Lifetime
Application number
JP62127930A
Other languages
Japanese (ja)
Other versions
JPS63293607A (en
Inventor
知子 森田
広司 塚原
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 JP62127930A priority Critical patent/JP2584229B2/en
Publication of JPS63293607A publication Critical patent/JPS63293607A/en
Application granted granted Critical
Publication of JP2584229B2 publication Critical patent/JP2584229B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、数値制御装置のNCデータを作成すると共
にNCデータを読込むことができるCAD/CAM自動プログラ
ミング装置、特にそのNCデータの修正に関するものであ
る。
Description: TECHNICAL FIELD The present invention relates to a CAD / CAM automatic programming device capable of creating NC data of a numerical control device and reading the NC data, and more particularly to a modification of the NC data. Things.

[従来の技術] 従来のCAD/CAM自動プログラミング装置のブロック図
を第5図に示す。中央処理装置(CPU)(51)に接続す
る共通バスには、宛甲プログラム及びデータが格納され
ているメモリ(52)とNCデータ及びCADデータが格納で
きる補助記憶装置としてのフロッピーデスク(53)が接
続されている。そして、アルファベット及び数値キー等
を備えたキーボード(54)と、図形表示装置(CRT)(5
5)と、NCデータを出力したり読込ますリーダパンチャ
(57)と、更に、CRT画面に表示されているコマンドや
図形を指示するためのポインティングデバイス(マウ
ス)(58)とが接続されている。第6図にこの装置の外
観図を示す。
[Prior Art] FIG. 5 shows a block diagram of a conventional CAD / CAM automatic programming device. A common bus connected to the central processing unit (CPU) (51) has a memory (52) that stores the destination program and data, and a floppy desk (53) as an auxiliary storage device that can store NC data and CAD data. Is connected. Then, a keyboard (54) provided with alphabetical and numeric keys, and a graphic display (CRT) (5
5), a leader puncher (57) that outputs and reads NC data, and a pointing device (mouse) (58) for indicating commands and graphics displayed on the CRT screen are connected. . FIG. 6 shows an external view of this device.

第3図及び第4図は従来の加工形状の修正までの動作
を示したフローチャートである。第3図はテープリーダ
パンチャ(57)からNCデータを読込んだ場合で、第4図
はフロッピーディスク(53)からCADデータを読込んだ
場合のフローをそれぞれ示している。
FIG. 3 and FIG. 4 are flowcharts showing the operation up to the modification of the conventional machining shape. FIG. 3 shows a flow when the NC data is read from the tape reader puncher (57), and FIG. 4 shows a flow when the CAD data is read from the floppy disk (53).

次に動作について説明する。第3図では、テープリー
ダパンチャ(57)からNCデータを自動プログラミング装
置に読込み(3a)、NCデータ編集モードで読込んだNCデ
ータのX、Y座標値及びGコード、Mコードの挿入・修
正・削除によって、NCデータを修正する(3b)。そし
て、修正されたNCデータをテープリーダパンチャ(57)
によりNCテープとして出力する(3c)。
Next, the operation will be described. In FIG. 3, NC data is read from the tape reader puncher (57) into the automatic programming device (3a), and X / Y coordinate values, G codes, and M codes of the NC data read in the NC data editing mode are inserted and corrected.・ Correct NC data by deleting (3b). Then, the corrected NC data is transferred to a tape reader puncher (57).
Output as NC tape (3c).

第4図では、CADデータが登録してあるフロッピーデ
ィスク(53)からデータを自動プログラミング装置に読
込み(4a)、CRT画面(55)に加工形状を表示する(4
b)。そして、CADの編集機能により加工形状を修正し
(4c)、その修正加工形状のCADデータを作成する(4
d)。次に、修正した加工形状のNCデータを作成し(4
e)、この作成したNCデータをテープリーダパンチャ(5
7)によりNCテープとして出力する(4f)。
In FIG. 4, data is read into the automatic programming device from the floppy disk (53) in which CAD data is registered (4a), and the processed shape is displayed on the CRT screen (55) (4).
b). Then, the machining shape is modified by the CAD editing function (4c), and CAD data of the modified machining shape is created (4c).
d). Next, create NC data of the modified machining shape (4
e) The created NC data is transferred to a tape reader puncher (5
Output as NC tape according to 7) (4f).

[発明が解決しようとする問題点] 従来のCAD/CAM自動プログラミング装置は以上のよう
に構成されているので、CADデータで加工形状を修正す
るためにはNCデータ以外にCADデータも登録しければな
らず、また、NCデータはGコードとMコードで作られて
いるため、NCデータの修正は熟練者でなければ修正する
ことは困難であった。更に、修正したNCデータの図形チ
ェックが自動プログラミング装置ではできない等の問題
点があった。
[Problems to be Solved by the Invention] Since the conventional CAD / CAM automatic programming device is configured as described above, in order to correct a machining shape with CAD data, it is necessary to register CAD data in addition to NC data. In addition, since the NC data is made up of the G code and the M code, it was difficult to correct the NC data without a skilled person. Further, there is a problem that the figure check of the corrected NC data cannot be performed by the automatic programming device.

この発明は上記のような問題点を解決するためになさ
れたもので、NCデータを読込んで容易に加工形状を修正
することができるCAD/CAM自動プログラミング装置を得
ることを目的とする。
The present invention has been made to solve the above problems, and has as its object to provide a CAD / CAM automatic programming device that can read NC data and easily correct a machining shape.

[問題点を解決するための手段] この発明に係るCAD/CAM自動プログラミング装置は、
数値制御装置の加工プログラムであるNCデータを作成す
る自動プログラミング装置において、NCデータを読込む
NCデータ読込み手段と、NCデータから加工形状の図形デ
ータを抽出して、CADデータに変換・表示する変換表示
演算手段と、この変換表示演算手段により変換・表示さ
れた加工形状をCADの編集機能により修正可能にし、そ
して、修正されたCADデータを作成する修正演算手段
と、この修正演算手段により修正されたCADデータをNC
データに変換してNCデータを作成する変換演算手段とを
備えている。
[Means for Solving the Problems] The CAD / CAM automatic programming device according to the present invention
Read NC data in an automatic programming device that creates NC data, which is a machining program for a numerical controller
NC data reading means, conversion display calculation means for extracting graphic data of the machining shape from the NC data, converting and displaying it to CAD data, and CAD editing function for converting and displaying the processing shape converted and displayed by the conversion display calculation means Correction calculation means for making corrected CAD data and generating corrected CAD data, and NC data corrected by this correction calculation means
Conversion operation means for converting the data into data to create NC data.

[作用] 本発明においては、CADデータにて加工形状を修正す
る場合においても、保存データはNCデータのみで足り、
NCデータをCADデータに変換することにより、加工形状
の修正はCAD編集機能で行われる。
[Operation] In the present invention, even when the machining shape is corrected by CAD data, only the NC data needs to be stored data.
By converting NC data to CAD data, the machining shape is corrected by the CAD editing function.

[実施例] 以下、この発明の一実施例を図について説明する。第
1図において、(11)はNCデータをテープリーダパンチ
ャ(57)から自動プログラミング装置に読込む機能を備
えた手段(12)は前記手段(11)で読込んだNCデータを
文字列(例えば第7図参照)にてCRT画面(55)に表示
させる機能を備えた手段、(13)は前記手段(11)で読
込んだNCデータをCADデータに変換するとともにCRT画面
(55)に表示させる機能を備えた手段である。(14)は
CRT表示された加工形状をCADの修正機能で修正する機能
手段、(15)は前記手段(14)で修正した加工形状のCA
Dデータを作成する機能を有する手段、(16)は修正さ
れた加工形状のNCデータを作成する機能を有する手段
で、(17)は作成したNCデータを出力する機能を有する
手段である。ここで、NCデータとは、数値制御装置(nu
merial control machine)にて制御され工作機械を動作
させるために作成されるものであり、その制御指令が記
述されているデータのことである。例えばレーザ加工機
等の工作機械では、その切断動作が行えるように、レー
ザの出力/停止命令や、レーザ光を出力したまま指定し
た座標まで移動させる移動指令等が記述される。
Embodiment An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, (11) means (12) having a function of reading NC data from a tape reader puncher (57) into an automatic programming device, and (12) reads the NC data read by the means (11) as a character string (for example, (13) means to display the CRT screen (55) on the CRT screen (55), and (13) convert the NC data read by the means (11) into CAD data and display it on the CRT screen (55) This is a means having a function of causing (14) is
Functional means for correcting the machining shape displayed on the CRT with the CAD correction function. (15) CA of the machining shape corrected by the means (14).
Means having a function of creating D data, (16) means having a function of creating NC data of a corrected machining shape, and (17) means having a function of outputting the created NC data. Here, the NC data is a numerical control device (nu
It is created to operate a machine tool under the control of a merial control machine, and is data in which control commands are described. For example, in a machine tool such as a laser beam machine, a laser output / stop command, a movement command to move to a designated coordinate while outputting laser light, and the like are described so that the cutting operation can be performed.

以上の手段(11)〜(17)は、CPU(51)及びその演
算動作を規定するプログラムが格納されたメモリ(52)
によって構成されている。そして、手段(11)及び(1
7)はそれぞれテープリーダパンチャ(57)に連結され
て、NCデータの読込み及びその出力をする。
The above means (11) to (17) are a CPU (51) and a memory (52) in which a program for defining its operation is stored.
It is constituted by. And means (11) and (1
7) are respectively connected to a tape reader puncher (57) to read and output NC data.

なお、この実施例において、上記の手段(11)は本発
明のNCデータ読込み手段に相当し、上記の手段(13)は
本発明の変換表示演算手段に相当し、(14),(15)は
本発明の修正演算手段に相当し、上記の手段(16)は本
発明の変換演算手段に相当するものである。
In this embodiment, the means (11) corresponds to the NC data reading means of the present invention, and the means (13) corresponds to the conversion display calculating means of the present invention, and (14), (15) Corresponds to the correction operation means of the present invention, and the above means (16) corresponds to the conversion operation means of the present invention.

次に、以上の構成からなる装置の動作を第2図のフロ
ーチャートに基づいて説明する。作成したNCデータをテ
ープリーダパンチャ(57)から自動プログラミング装置
に読込み(2a,2b)、読込んだNCデータを文字列にてCRT
画面(55)に表示させる(2c)。
Next, the operation of the apparatus having the above configuration will be described with reference to the flowchart of FIG. Read the created NC data from the tape reader puncher (57) into the automatic programming device (2a, 2b), and read the read NC data as a character string on the CRT
Display it on the screen (55) (2c).

NCデータのままで修正を行う場合は、NCデータ修正モ
ードでNCデータを修正し(2d,2i,2j)、修正終了後、修
正されたNCデータをテープリーダパンチャ(57)により
NCテープとして出力する(2d,2i,2k,2l)。
When making corrections with the NC data unchanged, correct the NC data in the NC data correction mode (2d, 2i, 2j), and after the correction is completed, use the tape reader puncher (57) to read the corrected NC data.
Output as NC tape (2d, 2i, 2k, 2l).

CADデータで修正を行う場合は、CADデータ変換要求文
字をキーボード(54)を介して入力し(2d)、前記の
(2d)の行程で読込んだNCデータから少なくとも加工形
状の図形データを抽出して、CADデータに変換するとと
もにCRT画面(55)表示させる(2e)。そして、このよ
うにしてCRT画面(55)に表示された加工形状をCADの修
正機能を使用して修正し(2f)、そのCADデータを作成
する(2g)。次に、修正した加工形状のNCデータを作成
する(2h)。
When making corrections with CAD data, enter the CAD data conversion request characters via the keyboard (54) (2d), and extract at least the figure data of the machined shape from the NC data read in the process of (2d). Then, it is converted to CAD data and displayed on the CRT screen (55) (2e). Then, the machining shape displayed on the CRT screen (55) is corrected using the CAD correction function (2f), and the CAD data is created (2g). Next, the NC data of the corrected machining shape is created (2h).

前記の(2h)の行程で作成したNCデータを修正又は再
度CADデータで修正する必要がある場合は、再度上記の
行程(2d)〜(2j)又は(2d)〜(2h)が繰返される。
NCデータの内容が確定して再度修正の必要がなくなった
時には、そのNCデータをテープリーダパンチャ(57)に
よりNCテープとして出力する(2d,2i,2k,2l)。
If the NC data created in the process (2h) needs to be corrected or corrected again using CAD data, the above processes (2d) to (2j) or (2d) to (2h) are repeated again.
When the content of the NC data is determined and it is no longer necessary to correct it again, the NC data is output as an NC tape by a tape reader puncher (57) (2d, 2i, 2k, 21).

ところで、上記の実施例においては、手段(13)によ
り、NCデータをCADデータに変換して表示させている
(第2図の2e)が、その処理の詳細を次に説明する。
By the way, in the above embodiment, the NC data is converted into CAD data and displayed by means (13) (2e in FIG. 2). Details of the processing will be described below.

NCデータには、一般的に、図7のNCデータの右側の説
明に示されるように、加工形状を移動指令として示すコ
ードの他に、加工形状の特定とは関係ない情報も含まれ
ている。例えば、図7の1行目から、N3で始まる4行目
まで、更にはN7で始まる8行目などは、行全体が加工形
状とは関係ない情報である。また、2行目以降の行の先
頭部分にあるNで示すコードも、行を確認するのに目安
となるために付加されているコードで、加工形状とは関
係ない情報である。従って、NCデータの加工形状をCAD
データに変換するには、このNCデータの中から加工形状
を示すのに必要な部分だけを取り出して、変換を実行す
れば良いことが分かる。具体的には、図7の中のN4で始
まる行にあるG90やG91などの座標系を設定するコード、
N5で始まる行にあるG92及びその後に示す原点を指定す
るコード、更に、各行の中の位置決め指令G00、直線加
工指令G01、円弧加工指令G02やG03の各コードと、それ
らに続く座標を示すコードなどを選択して変換すること
とする。このような処理をすることにより、本来加工完
成品として必要とする寸法の加工形状を構成する各座標
を認識することができ、CADデータに変換することがで
きる。
Generally, the NC data includes, as shown in the description on the right side of the NC data in FIG. 7, a code indicating the machining shape as a movement command, as well as information unrelated to the specification of the machining shape. . For example, from the first line in FIG. 7 to the fourth line starting with N3, and the eighth line starting with N7, the entire line is information that is not related to the processing shape. Also, the code indicated by N at the head of the second and subsequent lines is a code added to serve as a guide for confirming the line, and is information irrelevant to the processed shape. Therefore, the machining shape of NC data is CAD
It can be seen that in order to convert the data into NC data, only the part necessary to indicate the machining shape is extracted from the NC data and the conversion is performed. Specifically, a code for setting a coordinate system such as G90 or G91 in a line starting with N4 in FIG.
G92 in the line starting with N5 and the code that specifies the origin shown after that, furthermore, the code indicating the positioning command G00, linear processing command G01, circular processing command G02 and G03 in each line, and the coordinates following them And so on. By performing such processing, it is possible to recognize each coordinate constituting the processing shape having the dimensions required as a finished processed product, and to convert the coordinates into CAD data.

なお、上記実施例でテープリーダパンチャ(57)−か
らのNCデータを読込む場合について示したが、NCデータ
を登録したフロッピーディスクから読込んでもよく、作
成したNCデータの保管方法もNCテープについて示した
が、フロッピーディスクに登録しても上記実施例と同様
の効果を奏する。
Although the case where the NC data is read from the tape reader puncher (57) is shown in the above embodiment, the NC data may be read from a floppy disk in which the NC data is registered. As described above, the same effect as in the above embodiment can be obtained even when the information is registered in the floppy disk.

[発明の効果] 以上のようにこの発明によれば、加工形状の修正をNC
データの読込むだけでCADデータの修正まで行えるよう
に構成したので、データの保存はNCデータ1種類とな
り、またNCデータはどのマシンでも共通のため、他の自
動プロミング装置で作成したNCデータを読込んで加工形
状の修正をすることができ、そして修正されたNCデータ
を出力できるという効果が得られている。
[Effects of the Invention] As described above, according to the present invention, the modification of the processing shape is performed by NC
Since it is configured to be able to modify CAD data just by reading data, data is saved as one type of NC data, and since NC data is common to all machines, NC data created with other automatic programming equipment can be used. The effect of being able to read and correct the machining shape and to output the corrected NC data is obtained.

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

第1図はこの発明の一実施例に係るCAD/CAM自動プログ
ラミング装置を機能的に表現したブロック図、第2図は
第1図の装置における加工形状の修正方形を示したフロ
ーチャート、、第3図及び第4図は従来の加工形状を修
正する方法を示したフローチャート、第5図はCAD/CAM
自動プログラミング装置のブロック図、第6図はその外
観図である。第7図は或る加工形状を加工するためのNC
データの例を示した図である。 なお、図中同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram functionally representing a CAD / CAM automatic programming apparatus according to an embodiment of the present invention. FIG. 2 is a flowchart showing a modified square of a processing shape in the apparatus shown in FIG. FIG. 4 and FIG. 4 are flow charts showing a conventional method for correcting a machining shape, and FIG. 5 is CAD / CAM.
FIG. 6 is a block diagram of the automatic programming device, and FIG. Fig. 7 shows NC for processing a certain processing shape
FIG. 4 is a diagram illustrating an example of data. In the drawings, the same reference numerals indicate the same or corresponding parts.

フロントページの続き (56)参考文献 特開 昭59−71515(JP,A) 特開 昭60−74003(JP,A) 特開 昭61−160108(JP,A)Continuation of front page (56) References JP-A-59-71515 (JP, A) JP-A-60-74003 (JP, A) JP-A-61-160108 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】数値制御装置の加工プログラムであるNCデ
ータを作成する自動プログラミング装置において、 NCデータを読込むNCデータ読込み手段(11)と、 前記NCデータから加工形状の図形データを抽出して、CA
Dデータに変換・表示する変換表示演算手段(13)と、 該変換表示演算手段により変換・表示された加工形状を
CADの編集機能により修正可能にし、そして、修正され
たCADデータを作成する修正演算手段(14,15)と、 該修正演算手段により修正されたCADデータをNCデータ
に変換してNCデータを作成する変換演算手段(16)と を備えたことを特徴とするCAD/CAM自動プログラミング
装置。
An automatic programming device for creating NC data as a machining program for a numerical control device, comprising: an NC data reading means (11) for reading NC data; and extracting graphic data of a machining shape from the NC data. , CA
A conversion display operation means (13) for converting and displaying the D data; and a processing shape converted and displayed by the conversion display operation means.
Correction calculation means (14, 15) that enables correction by the editing function of CAD and creates corrected CAD data; and converts the CAD data corrected by the correction calculation means into NC data to create NC data A CAD / CAM automatic programming device, comprising:
JP62127930A 1987-05-27 1987-05-27 CAD / CAM automatic programming device Expired - Lifetime JP2584229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62127930A JP2584229B2 (en) 1987-05-27 1987-05-27 CAD / CAM automatic programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127930A JP2584229B2 (en) 1987-05-27 1987-05-27 CAD / CAM automatic programming device

Publications (2)

Publication Number Publication Date
JPS63293607A JPS63293607A (en) 1988-11-30
JP2584229B2 true JP2584229B2 (en) 1997-02-26

Family

ID=14972153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127930A Expired - Lifetime JP2584229B2 (en) 1987-05-27 1987-05-27 CAD / CAM automatic programming device

Country Status (1)

Country Link
JP (1) JP2584229B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249281A (en) * 2006-03-13 2007-09-27 Mitsubishi Electric Corp Cad/cam device, program for cad/cam device and cad/cam data editing method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2857540B2 (en) * 1992-06-22 1999-02-17 ファナック株式会社 CAD / CAM method and apparatus for automatically re-creating a cutter path
JP5960189B2 (en) 2014-04-18 2016-08-02 ファナック株式会社 Numerical control apparatus and program editing method having machining cycle generation function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5971515A (en) * 1982-10-16 1984-04-23 Fanuc Ltd Graphic display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249281A (en) * 2006-03-13 2007-09-27 Mitsubishi Electric Corp Cad/cam device, program for cad/cam device and cad/cam data editing method
JP4659651B2 (en) * 2006-03-13 2011-03-30 三菱電機株式会社 CAD / CAM device, CAD / CAM device program, and CAD / CAM data editing method

Also Published As

Publication number Publication date
JPS63293607A (en) 1988-11-30

Similar Documents

Publication Publication Date Title
KR850000362B1 (en) Background of the invention
JPH07104701B2 (en) CAD / CAM device
JPS62267804A (en) Nc data changing method
CN110199230B (en) Machining program correction device and machining program correction method
JPH0816224A (en) Working method for area
JP2584229B2 (en) CAD / CAM automatic programming device
JPH03158908A (en) Automatic programming system in compound working machine
JPS63172330A (en) Halftone application system for document processor
JP2000039909A (en) Numerical control information creating device
JP2001166808A (en) Device and method for preparing working data, and medium
JPS63133210A (en) Program preparation system for nc device
JPH053002B2 (en)
JPS59195707A (en) Specifying method of shape of material in automatic programming for lathe
JPH0253109A (en) Checking method for numerical control working program
JP2993288B2 (en) Machining program creation device
JPS6363946B2 (en)
JP3000987B2 (en) Numerical control unit
JPS6249404A (en) Method and device for editing nc program
JP2504551B2 (en) Error detection processing method for input data
JPH0462410A (en) Measurement assisting device
JP3000986B2 (en) Machining program creating device and machining program creating method
JP2565509B2 (en) Automatic programming method
JPH01136208A (en) Automatic programming device
JPS62169209A (en) Graphic processor
JPS61206005A (en) Numerically control system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071121

Year of fee payment: 11