JPS6298401A - Automatic preparing method for nc data - Google Patents

Automatic preparing method for nc data

Info

Publication number
JPS6298401A
JPS6298401A JP23728985A JP23728985A JPS6298401A JP S6298401 A JPS6298401 A JP S6298401A JP 23728985 A JP23728985 A JP 23728985A JP 23728985 A JP23728985 A JP 23728985A JP S6298401 A JPS6298401 A JP S6298401A
Authority
JP
Japan
Prior art keywords
data
jig
rectangles
polygon
coordinate
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
JP23728985A
Other languages
Japanese (ja)
Inventor
Yuji Kono
祐二 河野
Yukimi Hayashi
幸美 林
Mitsuru Takahashi
満 高橋
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP23728985A priority Critical patent/JPS6298401A/en
Publication of JPS6298401A publication Critical patent/JPS6298401A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute working of a polygon by punching plural rectangular holes by the respective jigs, by dividing a polygon working area into rectangles, and preparing an NC data for selecting the jig for working the rectangular hole by a coordinate of each rectangle. CONSTITUTION:A CPU 103 inputs a development 301 which has been inputted from an input device 101, and subsequently, a polygonal hole 302 is taken out. Rectangles 21-23 are completed by taking notice of an X coordinate of apexes 13-30 for constituting a polygon 302, and subsequently, a horizontal division of the polygon is executed, and minute rectangles 30-35 are obtained. A jig data for NCTPP is compared with a coordinate data which has been stored in a memory 104, and an NC data for working the rectangles 42, 32 and 35 is prepared. The NC data calculates an X size and a Y size from the first record of a coordinate data 50, compress them successively with an X size and a Y size from the first record of a jig data 51, finds out and prepares an optimum jig, and coordinates G, H and K of a punching position and a jig No. used for the respective punching workings, in the memory 104.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、板金部品をNG ’1rTP(N Cタレッ
トパンチプレス)で打抜き加工する際に必要なNCデー
タの作成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a method for creating NC data necessary when punching sheet metal parts with an NG'1rTP (NC turret punch press).

〔発明の背景〕[Background of the invention]

NG工作機械を動かして板金部品を打抜き加工する場合
、使用する治具を決定するNCデータをNG工作機械に
与えなければならない。このNCデータの作成は、従来
は[省力と自動化J(1978年4月号p46〜51)
に記載されているように、専任のプログラマが図面を見
なから手作業で行なっていた。これは非常に時間を要す
る作業であると共に、専任プログラマの養成に長期間か
かるので、自動的にNCデータを作成する方法が望まれ
てきている。
When operating an NG machine tool to punch out a sheet metal part, it is necessary to provide the NG machine tool with NC data that determines the jig to be used. The creation of this NC data was conventionally [Labor Saving and Automation J (April 1978 issue, p. 46-51)]
As described in , a full-time programmer did the work manually without looking at the drawings. This is a very time-consuming task and requires a long period of time to train a full-time programmer, so a method for automatically creating NC data has been desired.

NCTPPによる板金の打抜き加工の場合、加工部分が
多辺形であることが多く、これがNCデータ作成の自動
を阻害する原因である。
In the case of sheet metal punching using NCTPP, the processed parts are often polygonal, which is a cause of inhibiting automatic creation of NC data.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、NCTPPによる板金打抜き加工にお
けるNCデータを自動的に作成するNCデータ自動作成
方法を提供することにある。
An object of the present invention is to provide an automatic NC data creation method for automatically creating NC data in sheet metal punching using NCTPP.

〔発明の概要〕[Summary of the invention]

上記目的を達成する為、本発明においては、多辺形加工
領域を矩形に分割し、各矩形の座標により当該矩形の穴
を加工する治具を選らぶNCデータを作る。そして、複
数の矩形の穴を夫々の治具で打抜いて多辺形の加工を行
なうようにする。好ましくは、多辺形を構成する座標に
より多辺形を縦方向と横方向に分割して微小矩形を生成
し、使用する治具数を最少にしてNCTPPの加工効率
を向上させるため、微小矩形の合成処理を行ない、多辺
形を最少数の矩形の集合で表わす。
In order to achieve the above object, in the present invention, a polygonal processing area is divided into rectangles, and NC data for selecting a jig for processing a hole in the rectangle is created based on the coordinates of each rectangle. Then, a plurality of rectangular holes are punched out using respective jigs to process polygons. Preferably, the polygon is divided into vertical and horizontal directions according to the coordinates that make up the polygon to generate minute rectangles, and in order to minimize the number of jigs used and improve the processing efficiency of NCTPP, The polygon is represented by a set of the minimum number of rectangles.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面をか照1〜で説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

本実施例では、第1図(a)に示す板金の展開図301
中にある多辺形打抜穴502を加工する治具を選ぶNG
データの作成例を説明する。
In this embodiment, a developed view 301 of the sheet metal shown in FIG.
NG to select a jig to process the polygonal punched hole 502 inside
An example of data creation will be explained.

第2図はNC工作機械の制御部構成図であり、中央処理
装置CPU103には入力装置101.出力装置102
.メモリ104及びファイル105が接続されている。
FIG. 2 is a configuration diagram of the control section of the NC machine tool, and the central processing unit CPU103 includes an input device 101. Output device 102
.. A memory 104 and a file 105 are connected.

このCPU103 で処理される制御プログラムを第3
図に示す。
The control program processed by this CPU 103 is
As shown in the figure.

CPU103は、先ず入力装置101よ多入力された展
開図301(第1図(a))を取り込み(ステップ20
1)、次に、多辺形穴302(第1図(b))を取り出
す(ステップ202)。ステップ201で取り込まれた
展開図601は、各頂点1〜20の座標と、頂点間が直
線か曲線かを示す線種により構成されており、また、頂
点1〜20の中でX座標が最小でかつ、Y座標が最小の
点1を含む線のつながりを外形とし、それ以外を打抜き
穴(多辺形穴302)とする。
The CPU 103 first takes in the expanded view 301 (FIG. 1(a)) that has been input multiple times through the input device 101 (step 20).
1), then the polygonal hole 302 (FIG. 1(b)) is taken out (step 202). The developed diagram 601 imported in step 201 is composed of the coordinates of each vertex 1 to 20 and the line type indicating whether the distance between the vertices is a straight line or a curve. The connection of lines including the point 1 with the minimum Y coordinate is defined as the external shape, and the other lines are defined as punched holes (polygonal holes 302).

次に、ステップ203で多辺形穴302を縦分割し、第
1図(c) K示す矩形21,22.23を得る。この
縦分割は次の様にして行なう。
Next, in step 203, the polygonal hole 302 is vertically divided to obtain rectangles 21, 22, and 23 shown in FIG. 1(c) K. This vertical division is performed as follows.

(1)X座標の最小値をもつ点を選択する。(1) Select the point with the minimum value of the X coordinate.

これにより頂点13.20が選択される。This selects vertex 13.20.

(11)頂点13と頂点20に垂線24を引く。(11) Draw a perpendicular line 24 between vertex 13 and vertex 20.

輔 頂点13と座標20につ々がる点を見つける。輔 Find the point connected to vertex 13 and coordinate 20.

これにより点14.19が見つかる。This finds point 14.19.

伶 頂点19と頂点14でX座標の小さい方に垂1v1
1i125ヲ引く(矩形21完成)M 矩形21を構成
する頂点13,19.20を処理済みとする。
伶 Vertical 1v1 to the smaller X coordinate between vertex 19 and vertex 14
Subtract 1i125 (rectangle 21 completed) M Vertices 13, 19, and 20 that make up rectangle 21 are processed.

6/D  新らたに発生した点26を定義し処理対象と
する。
6/D Define the newly generated point 26 and use it as a processing target.

以上の処理(1)〜&Dを繰り返して矩形21,22゜
23を得る。つ壕り、多辺形602を構成する頂点16
〜20のX座標に着目し、矩形21,22.23を完成
する。
The above processes (1) to &D are repeated to obtain rectangles 21, 22°23. Vertices 16 forming the trench, polygon 602
Focusing on the X coordinates of ~20, complete rectangles 21, 22, and 23.

次に、多辺形2の横分割を行なう(ステップ204)こ
れは頂点13〜20のY座標に着目した方法であし、多
辺形の縦分割と同様に行なう。これにより、第1図(d
)に示すように微小矩形30,31,32,33゜34
.35が得られる。
Next, the polygon 2 is divided horizontally (step 204). This is a method that focuses on the Y coordinates of the vertices 13 to 20, and is performed in the same way as the vertical division of the polygon. As a result, Figure 1 (d
), the minute rectangles 30, 31, 32, 33°34
.. 35 is obtained.

この様にして得た微小矩形60〜35を、ステップ20
5で以下の手順により合成する。先ず、最初に微小矩形
の中で最大の面積を持つものを開始矩形とする。そして
、本実施例の場合、開始矩形30の水平線38(第1図
(θ))と垂直線39の長さを比較し、長い方である水
平線38に接する微小矩形31と開始矩形30を合成し
、新らたな微小矩形40(第1図(f))を生成する。
The minute rectangles 60 to 35 obtained in this way are
In step 5, synthesize by the following procedure. First, among the minute rectangles, the one with the largest area is set as the starting rectangle. In the case of this embodiment, the lengths of the horizontal line 38 (FIG. 1 (θ)) and the vertical line 39 of the starting rectangle 30 are compared, and the starting rectangle 30 is synthesized with the minute rectangle 31 that is in contact with the longer horizontal line 38. Then, a new minute rectangle 40 (FIG. 1(f)) is generated.

そして、生成された微小矩形40を開始矩形とし、水平
線41と垂直線42の長さを比較し、長い方である垂直
線42と接する微小矩形i1.+4と開始矩形40を合
成する。この処理を繰シ返すことにより第1図C)に示
すように矩形43,52.35が得られる。矩形43,
32.35の左下点と右上点(a+ b)r(c、d)
、(e、f)が座標データとして矩形毎にメモリ104
に格納される。
Then, using the generated minute rectangle 40 as a starting rectangle, the lengths of the horizontal line 41 and the vertical line 42 are compared, and the minute rectangle i1. Combine +4 and starting rectangle 40. By repeating this process, rectangles 43, 52, and 35 are obtained as shown in FIG. 1C). rectangle 43,
32. Lower left point and upper right point of 35 (a + b) r (c, d)
, (e, f) are stored in the memory 104 for each rectangle as coordinate data.
is stored in

ステップ206では、NCTPP用の治具データとメモ
リ104内に格納された上記座標データとの比較(第4
図)を行ない、矩形43,32.35を加工するだめの
NGデータを作成する。治具データは予めファイル10
5に第4図に示す形で登録されている。NGデータは、
座標データ50のルコード目からX寸法、7寸法を算出
し、治具データ51のルコード目から順にX寸法、7寸
法と比較し、最適な治具を見つけ出して作成し、打抜位
置の座標G、I(、にと夫々の打抜き加工に使用する治
具Nαをメモリ104に記憶する。このNGデータのう
ち矩形46に対応するものを第5図に示す。すべての矩
形に対してデータの比較が完了してNGデータが作成さ
れた後、NGデータ出力を行なう(ステップ207)。
In step 206, the jig data for NCTPP is compared with the coordinate data stored in the memory 104 (fourth
2) to create NG data for processing rectangles 43, 32, and 35. The jig data is in file 10 in advance.
5 in the form shown in Figure 4. NG data is
Calculate the X dimension and 7th dimension from the code number of coordinate data 50, compare them with the X dimension and 7th dimension from the code number of jig data 51, find and create the most suitable jig, and calculate the coordinate G of the punching position. , I(, , and the jig Nα used for the respective punching operations are stored in the memory 104. Of this NG data, those corresponding to the rectangle 46 are shown in FIG. 5. Data comparison for all rectangles is performed. After the process is completed and NG data is created, NG data is output (step 207).

この状態を第6図に示す。つまり、NCデータをルコー
ド毎に出力装置102を介して記録媒体44に出力する
。記録媒体44は、治具をセットしているホルダー45
の位置情報と素材46での打抜き位置をNCTPPに伝
え加工する。
This state is shown in FIG. That is, the NC data is output to the recording medium 44 via the output device 102 for each code. The recording medium 44 is held in a holder 45 in which a jig is set.
The position information and the punching position on the material 46 are conveyed to NCTPP for processing.

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

本発明によれば、多辺形加工領域を有する板金部品も、
人手を煩わす必要がなく自動的にNCTPP用の加工デ
ータを作成することができる。
According to the invention, sheet metal parts with polygonal machining areas can also be
Processing data for NCTPP can be automatically created without the need for manual labor.

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

第1図(a) 、 (b) 、 (c) 、 (d) 
、 (e) 、 (f) 、 (g)は本発明の一実施
例に係るNCデータ作成方法の説明図、第2図はNC工
作機械の制御部構成図、第6図はフローチャート、第4
図は座標データと治具データの比較図、第5図riNe
データフォーマット図、第6図はNCデータによる加工
説明図である。 1〜20・・・・・・頂点 32.35.43・・・・・・矩形 50・・・・・・座標データ 51・・・・・・治具データ 301・・・・・・展開図 602・・・・・・多辺形穴 ハt)\ 、  ゛ ゛・−
Figure 1 (a), (b), (c), (d)
, (e), (f), and (g) are explanatory diagrams of the NC data creation method according to an embodiment of the present invention, FIG. 2 is a configuration diagram of the control section of the NC machine tool, FIG. 6 is a flowchart, and FIG.
The figure is a comparison diagram of coordinate data and jig data, Figure 5 riNe
The data format diagram, FIG. 6, is an explanatory diagram of processing using NC data. 1 to 20... Vertex 32.35.43... Rectangle 50... Coordinate data 51... Jig data 301... Development view 602... Polygonal hole \ , ゛゛・-

Claims (1)

【特許請求の範囲】[Claims] 板金部品の打抜き加工装置の加工データを、被加工品で
ある板金部品の展開形状データを座標値で入力して電算
機で処理した後に出力するシステムにおいて、展開形状
データ内の多辺形加工領域を矩形に分割し、各矩形に対
応する治具を治具データから選定し、各矩形のデータと
対応する治具のデータとを含むNCデータを作成するこ
とを特徴とするNCデータ自動作成方法。
In a system where the processing data of a sheet metal parts punching machine is inputted as coordinate values of the developed shape data of the sheet metal part that is the workpiece, processed by a computer, and then output, the polygon processing area in the developed shape data is output. An automatic NC data creation method characterized by dividing into rectangles, selecting a jig corresponding to each rectangle from jig data, and creating NC data including data of each rectangle and data of the corresponding jig. .
JP23728985A 1985-10-25 1985-10-25 Automatic preparing method for nc data Pending JPS6298401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23728985A JPS6298401A (en) 1985-10-25 1985-10-25 Automatic preparing method for nc data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23728985A JPS6298401A (en) 1985-10-25 1985-10-25 Automatic preparing method for nc data

Publications (1)

Publication Number Publication Date
JPS6298401A true JPS6298401A (en) 1987-05-07

Family

ID=17013168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23728985A Pending JPS6298401A (en) 1985-10-25 1985-10-25 Automatic preparing method for nc data

Country Status (1)

Country Link
JP (1) JPS6298401A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59223805A (en) * 1983-05-10 1984-12-15 Fujitsu Ltd Processing method of graphic construction

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59223805A (en) * 1983-05-10 1984-12-15 Fujitsu Ltd Processing method of graphic construction

Similar Documents

Publication Publication Date Title
US10222783B2 (en) Numerical control device, NC machining device, and NC machining method
JPH0767576B2 (en) Hole position definition method for punch mounting parts
JPS6298401A (en) Automatic preparing method for nc data
JP2003091307A (en) Die setup high-efficiency method and system in nc machine tool
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JP2696206B2 (en) Automatic part program creation method
JPS63127853A (en) Method of calculating machining path
JP3175718B2 (en) Numerical control data generation device and numerical control data generation method
JPH06304818A (en) Nc data preparation method for wire electric discharge machine
JP2843416B2 (en) Automatic programming system for laser and punch combined machining
JP2792764B2 (en) Numerical control data editing device
JP2966672B2 (en) How to create NC data for corners
JP3175401B2 (en) CAD / CAM equipment
JPS59206904A (en) Processing system of graphic for thin plate working
JPS61105615A (en) Working area designating system of nc data generating device
JPH10296466A (en) Method for yag laser work
JPH01297705A (en) Method for generating nc program for wire cutting electric discharge machine
JP2003117773A (en) Nc data forming device
JPH0317709A (en) Cad/cam device
JPS62292309A (en) Pocket working method
JPH06143090A (en) Nc data origination system
JPH01257546A (en) Rough machining nc data producing method
JP3233620B2 (en) NC data creation apparatus and method
JPS62140102A (en) Nc data preparing device
JPH0756614A (en) Automatic nc data generating device for sheet metal parts