JPS63310005A - Working program generating device - Google Patents

Working program generating device

Info

Publication number
JPS63310005A
JPS63310005A JP14519887A JP14519887A JPS63310005A JP S63310005 A JPS63310005 A JP S63310005A JP 14519887 A JP14519887 A JP 14519887A JP 14519887 A JP14519887 A JP 14519887A JP S63310005 A JPS63310005 A JP S63310005A
Authority
JP
Japan
Prior art keywords
data
processor
image
program creation
program
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
JP14519887A
Other languages
Japanese (ja)
Inventor
Yasuyuki Shiromizu
康之 白水
Kenji Sugino
健二 杉野
Katsumi Hosokawa
勝美 細川
Toshio Hara
利雄 原
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP14519887A priority Critical patent/JPS63310005A/en
Publication of JPS63310005A publication Critical patent/JPS63310005A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To attain high speed and highly accurate program generation by inputting picture data fetched by a picture input device to a program generating processor after it is converted into vector data. CONSTITUTION:A picture is converted into an electric signal V by a TV camera 2A or a scanner 2B and subject to pre-processing including binarization, then stored in a picture memory 3. A picture processing processor 4 converts the picture data from the picture memory 3 into a vector data such as a profile data. A program generation processor 5 generates a work program from the vector data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、図面、絵、写真等を画像入力装置を用いて
入力し、これを画像処理してベクトルデータに変換し、
このベクトルデータから工作(NC)プログラムを自動
的に作成する工作プログラム作成装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention inputs drawings, pictures, photographs, etc. using an image input device, processes the input images, converts them into vector data,
The present invention relates to a machining program creation device that automatically creates a machining (NC) program from this vector data.

〔従来の技術〕[Conventional technology]

従来、この種の工作プログラミングとしては、作成者が
ディジタイザ等を用いて直接入力するものが知られてい
る。
Conventionally, as this type of machine programming, it is known that the creator directly inputs data using a digitizer or the like.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、このような方法ではプログラミングに多
大の時間を要するばかりでな(、細かい作業が困難で正
確なプログラムの作成が難かしい、と云う問題がある。
However, this method not only requires a great deal of time for programming, but also has problems in that detailed work is difficult and it is difficult to create accurate programs.

したがって、この発明は図面等の画像から自動的に工作
プログラムを作成することにより、イ)工作プログラミ
ングに費やす時間の短縮口)精密かつ正確なプログラミ
ング が可能な工作プログラム作成装置を提供することを目的
とする。
Therefore, an object of the present invention is to provide a machine program creation device that can (a) reduce the time spent on machine programming and perform precise and accurate programming by automatically creating a machine program from images such as drawings. shall be.

〔問題点を解決するための手段〕 − 画像データを取り込む画像入力装置と、画像データを記
憶する画像メモリと、記憶された画像データにもとづき
所定の処理を行ない、少なくとも画像データをベクトル
データに変換する画像処理プロセッサと、ベクトルデー
タにもとづき工作プログラムを作成するプログラム作成
プロセッサと、プログラム作成プロセッサに対してマン
マシンインクフェイスとなる各種入出力装置と、を設け
て工作機のためのプログラミングを自動的に行なう。
[Means for solving the problem] - An image input device that captures image data, an image memory that stores image data, and performs predetermined processing based on the stored image data to at least convert the image data into vector data. An image processing processor that creates machine programs based on vector data, a program creation processor that creates machine programs based on vector data, and various input/output devices that serve as man-machine interfaces for the program creation processor are installed to automatically program machine tools. go to

〔作用〕[Effect]

画像入力装置によって図面等の画像データを取り込み、
これを画像処理プロセッサにてベクトルデータに変換し
た後、プログラム作成プロセッサにて自動的に工作プロ
グラムを作成することにより、プログラム作成の高速化
、高精度化を図る。
Import image data such as drawings using an image input device,
After converting this into vector data using an image processing processor, a program creation processor automatically creates a work program, thereby increasing the speed and accuracy of program creation.

〔実施例〕〔Example〕

第1図はこの発明の実施例を示す構成図である。 FIG. 1 is a block diagram showing an embodiment of the present invention.

同図において、1は図面、2Aはテレビ(TV)カメラ
、2Bはスキャナ、3は画像メモリ、4は画像処理プロ
セッサ、5はプログラム作成プロセッサ、6はキーボー
ド、7はマウス、8はプリンタ、9はディスプレイ、1
0はレーザ刻印コントロール部、11はレーザ刻印機、
12は被加工物であり、図面1の内容と同じものを、レ
ーザ刻印機11により被加工物12に自動的に刻印する
場合の例である。なお、レーザ刻印機11のかわりに、
これと同様の工作機械を用いることができるのは云う迄
もない。
In the figure, 1 is a drawing, 2A is a television (TV) camera, 2B is a scanner, 3 is an image memory, 4 is an image processing processor, 5 is a program creation processor, 6 is a keyboard, 7 is a mouse, 8 is a printer, 9 is display, 1
0 is the laser engraving control unit, 11 is the laser engraving machine,
Reference numeral 12 denotes a workpiece, and this is an example in which the same content as shown in FIG. 1 is automatically stamped on the workpiece 12 by the laser stamping machine 11. In addition, instead of the laser marking machine 11,
Needless to say, a machine tool similar to this can be used.

すなわち、図面1の画像はTVカメラ2Aまたはスキャ
ナ2Bによって電気信号■に変換され、2値化を含む前
処理を施した後画像メモリ3に格納される。画像処理プ
ロセッサ4は画像メモリ3からの画像データにもとづき
、良く知られている種々の画像処理を行なうが、こ\で
は画像データを例えば輪郭線データ等のベクトルデータ
に変換する。プログラム作成プロセッサ5はこのベクト
ルデータから、図面1の内容がレーザ刻印機11を介し
て被加工物12に刻印されるような工作プログラムを作
成する。
That is, the image shown in FIG. 1 is converted into an electric signal (2) by the TV camera 2A or the scanner 2B, and stored in the image memory 3 after being subjected to preprocessing including binarization. The image processing processor 4 performs various well-known image processing based on the image data from the image memory 3, and in this case, the image data is converted into vector data such as outline data. From this vector data, the program creation processor 5 creates a machining program such that the contents of drawing 1 are engraved on the workpiece 12 via the laser marking machine 11.

こ\で、ベクトルデータから工作プログラムを作成する
方法例について説明する。いま、ベクトルデータが第2
図(イ)に示される。如き輪郭線データであり、これが
図示されないテーブルに同図(ロ)の如く記憶されてい
るものとする。
Here, an example of how to create a machining program from vector data will be explained. Now, vector data is the second
This is shown in Figure (a). It is assumed that the contour line data is stored in a table (not shown) as shown in FIG.

1)まず、最初の始点(a、b)へ移動させるべく、J
=a、bなる命令を作成する。
1) First, in order to move to the first starting point (a, b),
=a,b instructions are created.

2)次に、終点(c、d)まで線を引くための命令、L
=c、dを作成する。
2) Next, the command to draw a line to the end point (c, d), L
=Create c, d.

3)この終点(c、d)と次の始点(c、d)とは同一
点であるので、命令の作成はしない。
3) Since this end point (c, d) and the next starting point (c, d) are the same point, no command is created.

4)次の終点(e、f)まで線を引くための命令、L=
e、fを作成する。
4) Instruction to draw a line to the next end point (e, f), L=
Create e and f.

以下、同様の手順でプログラムを作成する。その結果作
成されるプログラムは、第2図の例では次のようになる
Below, create a program using the same procedure. The resulting program, in the example of FIG. 2, is as follows.

J=a、b L=c、d L=e、f L=g、  h L=i、  j なお、上記において、Lは線を引きながら(工作を行な
いながら)移動する命令を示し、Jは工作をせずにレー
ザヘッドだけ、またはドリルだけ移動することを示す命
令である。また、上記第3)項において終点と次の始点
とが等しくない場合は、J=c’、d’  (c’、d
’は次の始点)のようにする。
J=a, b L=c, d L=e, f L=g, h L=i, j In the above, L indicates the command to move while drawing a line (while doing the work), and J indicates This is an instruction to move only the laser head or drill without doing any work. In addition, in the above item 3), if the end point and the next starting point are not equal, J = c', d'(c', d
' is the next starting point).

このようにして作成されたプログラムはレーザ刻印コン
トロール部10に与えられ、レーザ刻印コントロール部
10の制御のもとにレーザ刻印機11が駆動され、被加
工物12に図面1の内容と同じものが刻印されることに
なる。
The program created in this way is given to the laser engraving control section 10, and the laser engraving machine 11 is driven under the control of the laser engraving control section 10. It will be stamped.

こ\に、上記画像処理プロセッサ4として、現在主流と
なっている、いわゆるノイマン型のプロセッサにかえて
データフロー型(非ノイマン型)のものを用いれば、よ
り高速な画像処理演算を行なうことができる。また、キ
ーボード6またはマウス7等の人力装置を利用すること
により、画像データに対するノイズの除去を含む一雑画
処理や切り出し等の画像編集、またベクトルデータに対
する雑画処理、切り出し、挿入、補正、削除、移動。
In this case, if a data flow type (non-Neumann type) processor is used as the image processing processor 4 instead of the currently mainstream so-called Neumann type processor, faster image processing operations can be performed. can. In addition, by using a human-powered device such as the keyboard 6 or mouse 7, it is possible to perform image editing such as rough image processing and cropping, including noise removal on image data, and image processing, cropping, insertion, correction, etc. on vector data. Delete, move.

転記等のデータ編集、さらに作成された工作プログラム
に対する編集等を行なうことができる。一方、プリンタ
8およびディスプレイ9を利用することにより、画像信
号(2値画像)、ベクトルデータまたは工作プログラム
を目で見ることが可能である。
It is possible to edit data such as transcription, and edit created work programs. On the other hand, by using the printer 8 and display 9, it is possible to visually view image signals (binary images), vector data, or work programs.

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

この発明によれば、従来マニュアル的に行なわれたプロ
グラミングが自動化されるので、プログラム作成の高速
化、高精度化を図り得る利点がもたらされる。また、画
像処理プロセッサとしてデータフロー型プロセッサを用
いれば、より高速にプログラミングを行なうことができ
る。さらに、入出力装置を利用して画像データ、ベクト
ルデータおよび工作プログラムの編集が極めて容易に実
現できる利点もある。
According to the present invention, since programming that has conventionally been done manually is automated, the advantage of speeding up program creation and increasing accuracy is brought about. Further, if a data flow type processor is used as the image processing processor, programming can be performed at higher speed. Another advantage is that image data, vector data, and machining programs can be edited very easily using the input/output device.

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

第1図はこの発明の実施例を示す構成図、第2図はベク
トルデータから工作プログラムを作成する手順を説明す
るための説明図である一符号説明 l・・・・・・図面、2A・・・・・・テレビカメラ、
2B・・・・・・スキャナ、3・・・・・・画像メモリ
、4・・・・・・画像処理プロセッサ、5・・・・・・
プログラム作成プロセッサ、6・・・・・・キーボード
、7・・・・・・マウス、8・・・・・・プリンタ、9
・・・・・・ディスプレイ、10・・・・・・レーザ刻
印コントロール部、11・・・・・・レーザ刻印機、1
2・・・・・・被加工物。 代理人 弁理士 並 木 昭 夫 代理人 弁理士 松 崎   清 III!It
Fig. 1 is a configuration diagram showing an embodiment of the present invention, and Fig. 2 is an explanatory diagram for explaining the procedure for creating a machining program from vector data. ...TV camera,
2B...Scanner, 3...Image memory, 4...Image processing processor, 5...
Program creation processor, 6... Keyboard, 7... Mouse, 8... Printer, 9
...Display, 10...Laser engraving control section, 11...Laser engraving machine, 1
2...Workpiece. Agent: Patent Attorney Akio Namiki Agent: Patent Attorney Kiyoshi Matsuzaki III! It

Claims (1)

【特許請求の範囲】 1)画像データを取り込む画像入力装置と、画像データ
を記憶する画像メモリと、 記憶された画像データにもとづき所定の処理を行ない、
少なくとも画像データをベクトルデータに変換する画像
処理プロセッサと、 該ベクトルデータにもとづき工作プログラムを作成する
プログラム作成プロセッサと、 該プログラム作成プロセッサに対してマンマシンインタ
フェイスとなる入出力装置と、 を備えてなることを特徴とする工作プログラム作成装置
。 2)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記入出力装置により画像データの編集
を可能にしてなることを特徴とする工作プログラム作成
装置。 3)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記入出力装置によりベクトルデータの
編集を可能にしてなることを特徴とする工作プログラム
作成装置。 4)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記画像処理プロセッサとしてデータフ
ロー型プロセッサを用いることを特徴とする工作プログ
ラム作成装置。 5)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記工作プログラムはレーザ刻印のため
のプログラムであることを特徴とする工作プログラム作
成装置。 6)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記画像入力装置としてスキャナを用い
ることを特徴とする工作プログラム作成装置。 7)特許請求の範囲第1項に記載の工作プログラム作成
装置において、前記画像入力装置としてテレビカメラを
用いることを特徴とする工作プログラム作成装置。
[Claims] 1) An image input device that captures image data, an image memory that stores image data, and performs predetermined processing based on the stored image data,
At least an image processing processor that converts image data into vector data, a program creation processor that creates a work program based on the vector data, and an input/output device that serves as a man-machine interface for the program creation processor. A machine program creation device characterized by: 2) A machine program creation device according to claim 1, characterized in that the input/output device allows image data to be edited. 3) A machine program creating device according to claim 1, characterized in that the input/output device allows vector data to be edited. 4) The machine program creation device according to claim 1, wherein a data flow type processor is used as the image processing processor. 5) The machining program creation device according to claim 1, wherein the machining program is a program for laser marking. 6) The machine program creation device according to claim 1, wherein a scanner is used as the image input device. 7) The machine program creation device according to claim 1, wherein a television camera is used as the image input device.
JP14519887A 1987-06-12 1987-06-12 Working program generating device Pending JPS63310005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14519887A JPS63310005A (en) 1987-06-12 1987-06-12 Working program generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14519887A JPS63310005A (en) 1987-06-12 1987-06-12 Working program generating device

Publications (1)

Publication Number Publication Date
JPS63310005A true JPS63310005A (en) 1988-12-19

Family

ID=15379682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14519887A Pending JPS63310005A (en) 1987-06-12 1987-06-12 Working program generating device

Country Status (1)

Country Link
JP (1) JPS63310005A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61198305A (en) * 1985-02-28 1986-09-02 Ricoh Co Ltd Program generating device for numerically controlled machine tool

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61198305A (en) * 1985-02-28 1986-09-02 Ricoh Co Ltd Program generating device for numerically controlled machine tool

Similar Documents

Publication Publication Date Title
JP2634911B2 (en) Digitized data processing device
JPS63310005A (en) Working program generating device
JPH07227738A (en) Character engraving device using general purpose type numerically controlled machine
JP2000259217A (en) Generating method for tool shift command data for machine tool having numerical controller
JP2792764B2 (en) Numerical control data editing device
JPH07174547A (en) Measuring system with function to automatically form measuring program
JPH02278403A (en) Graphic data processing system for carving system
JPS61198305A (en) Program generating device for numerically controlled machine tool
JP2564488B2 (en) Image filling method
RU2101763C1 (en) Method for generation of data for application pattern
JPH0438517B2 (en)
JP2968617B2 (en) CAD equipment
JP2565509B2 (en) Automatic programming method
JP2703801B2 (en) NC data creation device
JP2585612B2 (en) Sentence transformation method
JPH03222073A (en) Drawings input method
JPH0520404A (en) Three-dimensional graphic processing system
JPH01251090A (en) Vector font editing machine
WO1984004181A1 (en) Numerical control device
JPH0362204A (en) Digitization data processor
JPS6087990A (en) Laser working device
JPS6125241A (en) Display and plotting method of pattern production terminal equipment
JPH04195407A (en) Digitized data processor
JPH02173806A (en) Numerical control data producing device
JPH04160480A (en) Circuit diagram movement system