JPS61233807A - Automatic programming generating device - Google Patents

Automatic programming generating device

Info

Publication number
JPS61233807A
JPS61233807A JP60073977A JP7397785A JPS61233807A JP S61233807 A JPS61233807 A JP S61233807A JP 60073977 A JP60073977 A JP 60073977A JP 7397785 A JP7397785 A JP 7397785A JP S61233807 A JPS61233807 A JP S61233807A
Authority
JP
Japan
Prior art keywords
graphic
data
read
optical reader
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.)
Granted
Application number
JP60073977A
Other languages
Japanese (ja)
Other versions
JPH0682292B2 (en
Inventor
Tomi Kuriyama
栗山 十三
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP60073977A priority Critical patent/JPH0682292B2/en
Publication of JPS61233807A publication Critical patent/JPS61233807A/en
Publication of JPH0682292B2 publication Critical patent/JPH0682292B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40931Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of geometry
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35287Verify, check program by drawing, display part, testpiece
    • 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
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PURPOSE:To confirm easily the coincidence with an inputted processed graphic data by using an optical reader so as to read a graphic comprising straight lines and curves drawn on a drawing paper sheet thereby displaying the result. CONSTITUTION:A worker defines a working graphic corresponding to a material to be worked based on a component drawing inputted to an NC machine. The graphic consists of straight lines circular arcs and they define the working graphic. Then the worker loads the component drawing to an optical reader 24 and a keyboard 9 inputs an instruction. Then a picture read head 39 starts scanning and reads sequentially the graphic data of the component drawing. Thus, the working graphic and the graphic read by the optical reader 24 are displayed overlapping to confirm the coincidence between both the graphics.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、工具の被加工物に対する相対的な移動軌跡す
なわち工具経路を図形として表示する図形表示装置を備
えた自動プログラミング作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic programming creation device equipped with a graphic display device that graphically displays the locus of movement of a tool relative to a workpiece, that is, the tool path.

〔従来の技術〕[Conventional technology]

自動プログラミング作成装置で数値制御装置の加工プロ
グラムを作成するには、部品図面に従い加工したい加工
形状をキーボードから入力し加工図形を定義する作業、
定義した加工図形に基いてどのような経路で加工するか
を指示する工具経路を入力し定義する作業、そして、補
助的機能命令を付加する作業を行うだけでよく、自動的
に加工プログラムが生成される。しかし、加工図形が正
しく入力されたか否かのチェックは作業者が行なわなけ
ればならない、従来の装置においては、加工図形と生成
された加工プログラムの各ブロックのNCデータを図形
表示装置上に順次表示し、作業者が各ブロック毎に部品
図面と対比確認しなければなC】ず大変面倒であった。
To create a machining program for a numerical control device using an automatic programming creation device, you must input the machining shape you want to machine from the keyboard according to the part drawing and define the machining shape.
All you need to do is input and define the tool path that instructs the machining path based on the defined machining geometry, and add auxiliary function commands, and the machining program is automatically generated. be done. However, the operator must check whether the machining figure has been input correctly.In conventional equipment, the machining figure and the NC data of each block of the generated machining program are sequentially displayed on the figure display device. However, the operator had to check each block by comparing it with the component drawing, which was very troublesome.

また、加工図形は直線と円弧との集合として定義しなけ
ればならない。円弧以外のrfh#!を有する加工図形
を定義するためには加工図形の曲線を多数のセグメント
に分割して円弧または直線で近似して入力しなければな
らず、熟練者でなければなし得ない作業であった。特に
、ワイヤカット放電加工機においては金型を加工するこ
とが多い、金型は複雑な形状9曲線を有するものが多い
ので加工図形の入力及び確認作業が容易でな(問題とな
っていた。
Furthermore, the processing figure must be defined as a set of straight lines and circular arcs. rfh# other than arc! In order to define a machined figure having a shape, the curve of the machined figure must be divided into many segments, approximated by circular arcs or straight lines, and input, which is a task that only an expert can do. In particular, wire-cut electrical discharge machines often machine molds, and many of the molds have complex shapes with 9 curves, making it difficult to input and confirm machining figures (this has been a problem).

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

本発明は、上述の問題点を解決するためなされたもので
あり、部品図面から直接図形データを読取ることができ
、加工図形データの入力、および入力された加工図形デ
ータと部品図面との一致確認が極めて容易な自動プログ
ラミング作成装置を提供することを目的とする。
The present invention was made to solve the above-mentioned problems, and it is possible to read figure data directly from a part drawing, input machining figure data, and confirm that the input machined figure data matches the part drawing. The purpose of the present invention is to provide an automatic programming creation device that is extremely easy to create.

〔問題点を解決するための手段〕[Means for solving problems]

このため本発明によれば、数値制御装置の加工プログラ
ムによる工具の被加工物に対する相対的な移動軌跡を図
形としで表示する図形表示装置を備えた自動プログラミ
ング作成装置において、図面上に作図された直線及ry
rtt+mで構成される図形を図面データとして読取る
光学読取機と、読取られr:、図面デー・りを前記図形
表示装置に図形として表示する手段とを備えたことを特
徴とする自動プログラミング作成装置が提供される。
Therefore, according to the present invention, in an automatic programming creation device equipped with a graphic display device that displays the relative movement locus of the tool to the workpiece according to the machining program of the numerical control device as a graphic, straight line and ry
An automatic programming creation device characterized by comprising an optical reader that reads a figure composed of rtt+m as drawing data, and means for displaying the read r:, drawing data and ri as a figure on the figure display device. provided.

〔実施例〕〔Example〕

本発明の自動プログラミング作成装置の一実施例につい
て図面に従って具体、的に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an automatic programming creation device of the present invention will be described in detail with reference to the drawings.

第1図は実施例の全体構成を示すブロック図、第2図は
実施例の外観を示す斜視図である。
FIG. 1 is a block diagram showing the overall configuration of the embodiment, and FIG. 2 is a perspective view showing the external appearance of the embodiment.

中央処理装置(cpu>iに接続する共通パス2には、
基本プログラムが格納された続出専用メモ−13,制御
用データが記憶されるメモリ4.処理データを一時記憶
するワーへングメモリ5.作成されたNCデータを記憶
するNCデータメモリ6゜そしてインタフェース7を介
してディスクメモリ8が接続される。ディスクメモリ8
には作成された多数のNC加工プログラムか保存される
。アルファベットキー、tlLfmキー等を備えるキー
ボード9がインタフェース10を介して共通パス2に接
続され、キー情報を中央処3!11ra1に伝える。*
た、インタフェース10は直接割込フィン11に接続さ
れ、キー操作がされた時に割込信号を発し割込処理を求
める。共通パス2にはインタフェース゛12を介して図
形衰示装W113が接続される。
The common path 2 connecting to the central processing unit (cpu>i) has
Memo 13 for continuous use in which the basic program is stored, memory 4 in which control data is stored. Waving memory for temporarily storing processed data 5. An NC data memory 6° for storing created NC data is connected to a disk memory 8 via an interface 7. disk memory 8
A large number of created NC machining programs are saved. A keyboard 9 comprising alphabet keys, tlLfm keys, etc. is connected to the common path 2 via an interface 10 and transmits key information to the central processing unit 3!11ra1. *
Further, the interface 10 is directly connected to the interrupt fin 11, and issues an interrupt signal to request interrupt processing when a key is operated. A graphic attenuator W113 is connected to the common path 2 via an interface 12.

図形表示波fl!13は陰極線型のディスプレイ (C
RT)14.その制御回路15.グラフィック/モリ1
6.キャラクタゼネレータ17及びりフレッシュメモリ
18を備える。グラフィックメモリ16はディスプレイ
14の一画面の全画素を記憶する。キャラクタゼネレー
タ17は読出専用メモリからなり文字形状が記憶され、
+77レツシエメモリ1Bはディスプレイ14の一画面
に表示可能な文字数に対応する記憶領域を有し、ディス
プレイ14上の文字を表示することができる行及び列(
たとえば25行×80列)にそれぞれ対応するアドレス
に表示したい文字情報を記憶する。制御回路15は中央
処q装W11からのデータをグラフィック/モリ16及
びす7レツシエメモリ18に記憶させ、グラフィックメ
モリ16及びキャラクタゼネレータ17からの画素デー
タからビデオ信号をディスプレイ14に送り、図形及び
文字を表示する。
Graphic display wave fl! 13 is a cathode ray type display (C
RT)14. Its control circuit 15. Graphic/Mori 1
6. A character generator 17 and a fresh memory 18 are provided. Graphic memory 16 stores all pixels of one screen of display 14. The character generator 17 is comprised of a read-only memory and stores character shapes.
The +77 retoucher memory 1B has a storage area corresponding to the number of characters that can be displayed on one screen of the display 14, and has a storage area corresponding to the number of characters that can be displayed on one screen of the display 14.
For example, character information to be displayed at addresses corresponding to 25 rows x 80 columns is stored. The control circuit 15 stores data from the central processing unit W11 in the graphic/memory 16 and the 7-receiver memory 18, sends a video signal from the pixel data from the graphic memory 16 and the character generator 17 to the display 14, and displays figures and characters. indicate.

また、作成されたNC加工プログラムを出力するため、
NC装置に直接NCデータを転送するための入出力イン
タ7エース20及び磁気テープ21又はテープパンチャ
ア22に出力するための出力インタフェース23がそれ
ぞれ共通パス2に接続される。
In addition, in order to output the created NC machining program,
An input/output interface 7ace 20 for directly transferring NC data to the NC device and an output interface 23 for outputting to the magnetic tape 21 or tape puncher 22 are connected to the common path 2, respectively.

そして、図面上に作図された図形を図面データとして読
取る光学読取機24がインタフェース25を介して共通
パス2に接続される。
An optical reader 24 that reads figures drawn on the drawing as drawing data is connected to the common path 2 via an interface 25.

第3図は光学読取e!24の構成を示す構成国、第4図
は側面図、第5図はブロック図である。
Figure 3 shows optical reading e! FIG. 4 is a side view, and FIG. 5 is a block diagram.

両端が光学読取機24のフレーム(図示しない)に支持
されたドライバー軸31は図面32を送り制御する支持
ドラム33と平行に配設され、端部を直流モータ34に
連結され回転駆動される。ドライバー軸31の外周面に
はスパイラルカム溝35が刻設されている。ホルダ36
はその基端部が前記ドライバー軸31下側前方において
支持ドラム33と平行に配設された〃イド紬37に移動
可能に支持されているとともに、その先端部後面に形成
した係止片38が前記スパイラルカム溝35に嵌合支持
されている。(して、Fライバーm31が直流モータ3
4により回転されると、ホルダ36はスパイラルカム@
35と係止片38との係合に基づいて〃イド輸37に沿
って左右方向に往復動を行なう。
A driver shaft 31 whose both ends are supported by the frame (not shown) of the optical reader 24 is disposed parallel to a support drum 33 that feeds and controls the drawing 32, and whose end is connected to a DC motor 34 and driven to rotate. A spiral cam groove 35 is carved on the outer peripheral surface of the driver shaft 31. Holder 36
Its base end is movably supported by an id pongee 37 disposed in parallel with the support drum 33 at the lower front side of the driver shaft 31, and a locking piece 38 formed on the rear surface of its tip end is movably supported. It is fitted and supported in the spiral cam groove 35. (Then, the F driver m31
4, the holder 36 is rotated by the spiral cam @
35 and the locking piece 38, reciprocating in the left-right direction along the guide 37.

画像読取りヘッド39は前記ホルダ36の先端部前面に
取着され、その前面を支持ドラム33上の図面32に対
向させている。従って読取りヘッド39は前記ホルダ3
Gの移動に伴って図面32に記載された図形を横方向に
順次読取っていく。
The image reading head 39 is attached to the front surface of the tip of the holder 36, with its front surface facing the drawing 32 on the support drum 33. The reading head 39 is therefore mounted on the holder 3.
As G moves, the figures described in the drawing 32 are sequentially read in the horizontal direction.

前記ドライバー軸31を回転駆動する直流モータ34は
モータ駆動回路41を介して光学読取機24に内蔵され
たマイクロコンピュータ40により制御され、一定、速
度に回転駆動される。そして、前記画像読取りへラド3
9を等速度で左右方向に往復動させる。
The DC motor 34 that rotationally drives the driver shaft 31 is controlled by a microcomputer 40 built into the optical reader 24 via a motor drive circuit 41, and is driven to rotate at a constant speed. Then, the rad 3 to read the image.
9 is moved back and forth in the left and right direction at a constant speed.

前記ドライバー軸31の端部に回転板42が固着され、
ぞの同心円周面上に等角度間隔に多数個のスリット43
が透設されている。そのスリット43の通過を検出する
ため、発光ダイオードからなる発光索子44と、7オト
トランジスタからな4!f る受光素子とが回転板42を挾み、対向して配設へ されている。前記各スリット43は画像読取りヘッド3
9が読取り点を通過するタイミングを検知するためのス
リットであって、そのスリット43間の間隔は同スリッ
トの回動速度と前記ヘッド39の移動速度との関係即ち
スパイラルカム@35の勾配によって決定されている。
A rotary plate 42 is fixed to the end of the driver shaft 31,
A large number of slits 43 are arranged at equal angular intervals on the concentric circumferential surface.
is transparent. In order to detect the passage through the slit 43, a light-emitting wire 44 made of a light-emitting diode and a 4! The light-receiving elements f are arranged opposite to each other with the rotary plate 42 in between. Each slit 43 is connected to the image reading head 3.
9 is a slit for detecting the timing of passing the reading point, and the interval between the slits 43 is determined by the relationship between the rotating speed of the slit and the moving speed of the head 39, that is, the slope of the spiral cam @35. has been done.

画像読取りへラド39は例えば第5図に示1°ように画
像読取りへラド39の前面に4個の反射型光センサR1
〜R4が同へラド39の移動方向すなわち読取り方向に
対して直交する方向に等間隔に列設されている。そして
、各光センサR1〜R4に対応する各列の発光素子L1
〜L4に照射された各読取り点D1〜D4を順次読取る
べく、各光センサの検出信号をアンプA1に送り、コン
パレータC1にて読取り点が白か黒かを判別しC「0」
又は「1」の画′R情報としてマイクロコンピュータ4
0に送る。
The image reading radar 39 has four reflective optical sensors R1 on the front surface of the image reading radar 39 as shown in FIG. 5, for example.
-R4 are arranged in a row at equal intervals in a direction perpendicular to the moving direction of the pad 39, that is, the reading direction. The light emitting elements L1 in each row correspond to each optical sensor R1 to R4.
In order to sequentially read each of the reading points D1 to D4 illuminated on ~L4, the detection signal of each optical sensor is sent to the amplifier A1, and the comparator C1 determines whether the reading point is white or black, and C "0".
Or the microcomputer 4 as the picture 'R information of "1"
Send to 0.

前記マイクロコンビエータ40は前記モータ駆動回路4
1に駆動制御信号及び発光素子44に駆動信号を出力す
るほかに、前記受光索子45の検出信号に基づいて前記
画像読取りへラド39の移動位置を判MIJしで今どの
尤センサR1〜R4が対向する読取り点を通過している
かを割り出し、その読取り点における画素情報を逐次読
取ると共に、イ/り7エース25を介して中央処理装(
i!1にデータを送るようになっている。
The micro combinator 40 is connected to the motor drive circuit 4
In addition to outputting a drive control signal to the light emitting element 44 and a drive control signal to the light emitting element 44, it also determines the movement position of the radar 39 for image reading based on the detection signal of the light receiving element 45, and determines which sensor R1 to R4 is currently being moved. The pixel information at the reading point is sequentially read, and the central processing unit (
i! Data is sent to 1.

加工プログラムを作成rる操作手順について簡単に説明
する。
The operating procedure for creating a machining program will be briefly explained.

第6図及び第7図はディスプレイ14へのグラフィック
表示例を示す画像図である。
6 and 7 are image diagrams showing examples of graphic display on the display 14. FIG.

まず、作業者は部品図面を基に被加工物に対応する加工
図形を定義する。この実施例では対象となる工乍機械と
してワイヤカット放電加工機を想定しており、加工図形
は2次元図形となる。図形は直線と円弧とで構成され、
まず折点となる点の位置をすべて定義し、次に、これら
を結ぶ直線又は円弧を順次定義して加工図形を定義する
。たとえば第6図に示す例では、部品図面に基き、折点
となる5コの点po、pi、・・・・・・P4の位置を
キーボード9から入力し、次に図形の直線を始点と終点
(たとえばPlとP2)とをグラフィックカーソルで指
定することにより定義し、円弧を始点P4と終点POを
グラフィックカーソルで指定し、次いで円弧の中心点が
始点P4から終点POに向う直線の左右いずれの側にあ
るのかをグラフィックカーソルで指定し、半径をキーボ
ード9から入力することにより定義する。
First, an operator defines a machining figure corresponding to a workpiece based on a part drawing. In this embodiment, a wire-cut electric discharge machine is assumed as the target machine, and the machined figure is a two-dimensional figure. The figure is composed of straight lines and arcs,
First, all the positions of the points serving as break points are defined, and then straight lines or circular arcs connecting these points are sequentially defined to define the processed figure. For example, in the example shown in Fig. 6, based on the part drawing, the positions of five points po, pi, ...P4 that will be the break points are input from the keyboard 9, and then the straight line of the figure is set as the starting point. Define the arc by specifying the end points (for example, Pl and P2) with the graphic cursor, specify the start point P4 and the end point PO with the graphic cursor, and then set the center point of the arc to either the left or right of the straight line from the start point P4 to the end point PO. The radius is defined by specifying with the graphic cursor whether the radius is on the side of , and inputting the radius from the keyboard 9.

次に作業者は、部品図面を光学読取8!24に挿入し、
キーボード9からRead Graph命令を入力する
。すると画像読取りヘッド39が走査を開始し、部品図
面の図形データを逐次読取る。そして、ディスプレイ1
4上にて、[5CALE=  Jと聞いてくるので部品
図面に作図された図形の縮尺を、たとえば原寸であれば
「1」と入力する0次に、ディスプレイ14上にて、[
TOLERANcE=Jと聞いてくるので適当な許容誤
差を、たとえば0.2+mであれば[0,2Jと入力す
る。
Next, the worker inserts the part drawing into the optical reader 8!24,
Input a Read Graph command from the keyboard 9. Then, the image reading head 39 starts scanning and sequentially reads the graphic data of the component drawing. And display 1
4. You will be asked [5CALE=J, so enter the scale of the figure drawn on the part drawing, for example, "1" if it is the original size.0 Next, on the display 14, enter [5CALE=J].
You will be asked that TOLERANcE=J, so enter an appropriate tolerance, for example, [0.2J if it is 0.2+m.

するとディスプレイ14上に、tJST図に示すように
、キーボード9から入力し定義した加工図形と部品図面
から光学読取8!24にて読取られた図形が重ねて表示
され、両者の図形の不一致箇所が赤色に表示される。不
一致箇所として判別され表示されるのは、先程設定した
許容誤差(0,2論m)以上ずれている線分である。第
7図の例では、点P4からPOに向う円弧が不一致箇所
として赤色に表示される1点POからPlを軽重してP
4までの4つの線分は一致箇所として緑色に表示される
Then, on the display 14, as shown in the tJST diagram, the processed figure input and defined from the keyboard 9 and the figure read from the part drawing by the optical reader 8!24 are displayed superimposed, and the mismatched parts of the two figures are identified. Displayed in red. What is determined and displayed as a mismatch is a line segment that deviates by more than the previously set tolerance (0.2 m). In the example in Figure 7, the arc from point P4 to PO is displayed in red as a mismatch point.
The four line segments up to 4 are displayed in green as matching locations.

次に作業者は、不一致箇所に該当する入力データを読出
してチェックし、訂正する。第7図の例ではAPAから
POに向う円弧の半径の入力データが誤っていたので修
正入力する。
Next, the operator reads out the input data corresponding to the mismatched part, checks it, and corrects it. In the example of FIG. 7, the input data for the radius of the arc from APA to PO was incorrect, so it must be corrected.

そして作業者は、許容誤差(TOLERANCE)に逐
次率さな値を入力して不一致箇所をディスプレイする。
Then, the operator sequentially inputs a small value into the tolerance (TOLERANCE) and displays the discrepancy.

不一致箇所に該当する入力データに誤りがなくなれば、
その不一致箇所は部品図面の作図上の歪みを検出したの
であり、加工図形を定義する入力データはすべて正しく
入力されたと1’4m!tすることができる。このよう
にして、作業者は容易に入力データと部品図面との対比
確認を什うことができる。
If there are no errors in the input data corresponding to the discrepancies,
The discrepancy was detected as a distortion in the drawing of the part, and all the input data defining the machining figure was entered correctly! t can be done. In this way, the operator can easily compare and confirm the input data and the component drawing.

上記のようにして入力され部品図間との一致が確認され
た加工図形に基いて、工具経路(カッタパス)を定義し
、必要な補助的機能命令を付加することにより、自動的
に加工プログラムが生成される。
Based on the machining shape that has been input as described above and has been confirmed to match the part drawing, the machining program is automatically started by defining the tool path (cutter path) and adding the necessary auxiliary function commands. generated.

以上述べた操作手順により、予がしめキーボード9から
入力された加工図形と、光学読取機24から直接入力さ
れた図形との不一致箇所を表示するための具体的な処理
についで説明する。
A specific process for displaying a mismatch between the processed figure inputted from the prefix keyboard 9 and the figure directly inputted from the optical reader 24 according to the operating procedure described above will now be described.

第8図は実際の処理を示す70−チャートである。まず
、ステップ201.202にて、光学読取R24から図
面データを読取り、読取られた図面データをメモリ5に
記憶する0次いでステップ203にて、記憶された図面
データを指定された縮尺に変換する0次にステップ20
4にて、キーボードから入力定l!@れな加工図形と図
面から読取られた図形(以後、図面図形と呼称する)と
が一致するように平行移動及び回転移動を行う、この処
理は大路次のように行なわれる。
FIG. 8 is a 70-chart showing the actual processing. First, in steps 201 and 202, drawing data is read from the optical reader R24, and the read drawing data is stored in the memory 5.Next, in step 203, the stored drawing data is converted to a specified scale. Next step 20
At step 4, input from the keyboard! Parallel and rotational movement is carried out so that the machined figure and the figure read from the drawing (hereinafter referred to as the drawing figure) coincide with each other.This process is carried out as follows.

(1) 加工図形及び図面図形の重心位置を演算し求め
る。
(1) Calculate and find the position of the center of gravity of the processed figure and the drawing figure.

(2) 図面図形を平行移動し、その重心位置を加工図
形の重心位置と一致させる。
(2) Translate the drawing figure in parallel so that its center of gravity matches the center of gravity of the processed figure.

(3)図面図形をその重心位置を中心に回転移動し、加
工図形との81%差が最も小さい・位置とする。
(3) Rotate and move the drawing figure around its center of gravity to a position where the 81% difference from the processed figure is the smallest.

(4)図面図形を微少量だけ平行移動及び回転移動し、
加工図形と重り合い一致する線分の長さが最も長い位置
を探索し求める。
(4) Translate and rotate the drawing figure by a minute amount,
Search and find the position where the length of the line segment that overlaps and matches the processed figure is the longest.

そしてステップ205にて、加工図形と図面図形とを重
ねてディスプレイ14上に表示する0次にステップ20
8,207にて、両者の図形のずれが指定された許容誤
差(roL+:uANcE)以上の箇所を判別し、その
箇所を赤色に変色して表示し、処理を終了する。
Then, in step 205, the processed figure and the drawing figure are superimposed and displayed on the display 14.Next, in step 20
At step 8, 207, a location where the deviation between the two figures is greater than or equal to a specified tolerance (roL+:uANcE) is determined, the location is changed to red and displayed, and the process is terminated.

以上述べた実施例では、予かしめキーボード9から加工
図形を入力定義しておき、その加工図形と部品図面の図
形との一致確認を行うための処理を説明したが、精密な
寸法精度を要求されない被加工物においては、加工図形
をキーボード9から数値により定義せず、光学読取@2
4から直りIa取られた部品図面の図形を基礎の加工図
形として加工プログラムを作成することも勿論可能であ
る。
In the above-described embodiment, a process for inputting and defining a machining figure from the pre-caulking keyboard 9 and confirming the match between the machining figure and the figure in the part drawing has been explained, but precise dimensional accuracy is not required. For the workpiece, the machining figure is not defined numerically from the keyboard 9, but by optical reading @2.
Of course, it is also possible to create a machining program using the figure of the part drawing taken from Ia from 4 as the basic machining figure.

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

以上説明したよ)に本発明によれば19部品図面から直
接図形データを読取ることができ、加工図形データの入
力及び入力さ^た加工図形データと部品図面との一致確
認が極めて容易になるという優れた効果がある。
As explained above, according to the present invention, it is possible to directly read the figure data from the 19 part drawings, and it is extremely easy to input the machining figure data and to confirm that the input machining figure data and the part drawing match. It has excellent effects.

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

wS1図乃至第8図は本発明の自動プログラミング作成
装置の一実施例を示し、第1図はブロック図、第2図は
斜視図、第3図は光学読取機の楔穴図、第4図は側面図
、第5図はブロック図、第6図及V第7図はグラフィッ
ク表示例を示す画像図、第8図は実際の処理を示す70
−チャートである。 1・・・中央処理装置(CPU)、3〜6・・・メモリ
、8・・・ディスクメモリ、9・・・キーボード、13
・・・図形表示!!置、14・・・ディスプレイ(CR
T )、16・・・グラフィックメモリ、17・・・キ
ャラクタゼネレータ、19・・・NC装置、24・・・
光学読取装置、32・・・図面、39・・・画像読取り
ヘッド。 代理人 弁理士 後 藤 勇 作  ゛し、  −・ 第4図 第5図 非
Figures 1 through 8 show an embodiment of the automatic programming creation device of the present invention, in which Figure 1 is a block diagram, Figure 2 is a perspective view, Figure 3 is a wedge-hole diagram of an optical reader, and Figure 4 is a diagram. is a side view, FIG. 5 is a block diagram, FIGS. 6 and 7 are image diagrams showing graphic display examples, and FIG. 8 is a diagram showing actual processing.
-It is a chart. 1... Central processing unit (CPU), 3-6... Memory, 8... Disk memory, 9... Keyboard, 13
...Graphic display! ! Placement, 14...Display (CR
T), 16...Graphic memory, 17...Character generator, 19...NC device, 24...
Optical reading device, 32... Drawing, 39... Image reading head. Written by Isamu Goto, agent and patent attorney - Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 数値制御装置の加工プログラムによる工具の被加工物に
対する相対的な移動軌跡を図形として表示する図形表示
装置を備えた自動プログラミング作成装置において、 図面上に作図された直線及び曲線で構成される図形を図
面データとして読取る光学読取機と、読取られた図面デ
ータを前記図形表示装置に図形として表示する手段とを
備えたことを特徴とする自動プログラミング作成装置。
[Scope of Claim] An automatic programming creation device equipped with a graphic display device that graphically displays the locus of movement of a tool relative to a workpiece according to a machining program of a numerical control device, comprising straight lines and curves drawn on a drawing. What is claimed is: 1. An automatic programming creation device comprising: an optical reader that reads graphics as drawing data; and means for displaying the read drawing data as graphics on the graphics display device.
JP60073977A 1985-04-08 1985-04-08 Automatic programming creation device Expired - Fee Related JPH0682292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60073977A JPH0682292B2 (en) 1985-04-08 1985-04-08 Automatic programming creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60073977A JPH0682292B2 (en) 1985-04-08 1985-04-08 Automatic programming creation device

Publications (2)

Publication Number Publication Date
JPS61233807A true JPS61233807A (en) 1986-10-18
JPH0682292B2 JPH0682292B2 (en) 1994-10-19

Family

ID=13533663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60073977A Expired - Fee Related JPH0682292B2 (en) 1985-04-08 1985-04-08 Automatic programming creation device

Country Status (1)

Country Link
JP (1) JPH0682292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6376910U (en) * 1986-10-31 1988-05-21

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644912A (en) * 1979-09-18 1981-04-24 Kiyotomi Kogyo Kk Device for tracing pattern and obtaining position information
JPS58114106A (en) * 1981-12-26 1983-07-07 Yamazaki Mazak Corp Controlling method for program error display of numerical control machine tool
JPS58163009A (en) * 1982-03-23 1983-09-27 Toyoda Mach Works Ltd Input method of processing information for numerical controller containing dialog type data input function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644912A (en) * 1979-09-18 1981-04-24 Kiyotomi Kogyo Kk Device for tracing pattern and obtaining position information
JPS58114106A (en) * 1981-12-26 1983-07-07 Yamazaki Mazak Corp Controlling method for program error display of numerical control machine tool
JPS58163009A (en) * 1982-03-23 1983-09-27 Toyoda Mach Works Ltd Input method of processing information for numerical controller containing dialog type data input function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6376910U (en) * 1986-10-31 1988-05-21

Also Published As

Publication number Publication date
JPH0682292B2 (en) 1994-10-19

Similar Documents

Publication Publication Date Title
US4352334A (en) Method and apparatus for stitching material along a curve
US4446520A (en) Process of preparing and processing sewing data for an automatic sewing machine
US4429364A (en) Sewing machine-pattern data processor
US4513379A (en) Customization window for a computer numerical control system
US4595989A (en) Point measuring process for preset robot
US6968080B2 (en) Method and apparatus for generating part programs for use in image-measuring instruments, and image-measuring instrument and method of displaying measured results therefrom
JPH0554129B2 (en)
US4116143A (en) Programming systems for automatic sewing machines
US4672190A (en) Line following system and process with matrix generating
US5009176A (en) Sewing data forming method and device for sewing machine
JPS62121511A (en) Numerical controller
JPS61233807A (en) Automatic programming generating device
JP3958815B2 (en) Tool position measuring method in NC machine tools
JPS6346193A (en) Sewing machine equipped with pattern selector
US5473535A (en) Method and apparatus for preparing pattern data for machine tool
JPH0751646Y2 (en) Optical pattern tracer
JPS61131853A (en) Display method and device for processing machine
JP2519444B2 (en) Work line tracking device
JPH01307805A (en) Working data editing device
JP2570066B2 (en) Multi-pen XY plotter
JP2002166338A (en) Preset adjusting device and preset adjusting method
JPS6176188A (en) Sewing data forming apparatus of sewing machine
JP2645990B2 (en) Automatic data error detection device
JPH052223B2 (en)
JPS61144289A (en) Control device of laser beam machine

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees