JPS6357146A - Multiple quantity pickup machining programming system for numerically controlled machine tool - Google Patents

Multiple quantity pickup machining programming system for numerically controlled machine tool

Info

Publication number
JPS6357146A
JPS6357146A JP20227986A JP20227986A JPS6357146A JP S6357146 A JPS6357146 A JP S6357146A JP 20227986 A JP20227986 A JP 20227986A JP 20227986 A JP20227986 A JP 20227986A JP S6357146 A JPS6357146 A JP S6357146A
Authority
JP
Japan
Prior art keywords
machining
coordinate system
information
program
memory
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
JP20227986A
Other languages
Japanese (ja)
Inventor
Akihito Shibata
柴田 明仁
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP20227986A priority Critical patent/JPS6357146A/en
Publication of JPS6357146A publication Critical patent/JPS6357146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To easily form a program and to enable the machining time to be reduced, by selectively processing any of the systems which spread information of all or one part of the machining information group to all or one part of the work coordinate system in accordance with a type of multiple pickup machining. CONSTITUTION:A program former inputs a type I or II of multiple quantity pickup machining from a keyboard 5 and stores input data in a memory 9. Next, the forming of a machining program is started from an input of work coordinate system position data, and the whole position data are defined to be stored in a memory 8. And if the input is finished by storing machining information in a memory 12, a main control part 2, on the basis of contents of the memories 9, 8, 12, spreads the information in the whole work coordinate system to determine a machining process in which a number of times of tool exchange decreases to a minimum. Next the type II, after it inputs an applicable machining surface angle and work coordinate system data of one part of the machining information group, inputs the machining information, and after the input is finished, a control part 2, which repeats the spread only about the applicable work coordinate system of the defined machining information, determines a machining process where the number of times of tool exchange decreases to the minimum.

Description

【発明の詳細な説明】 (発明の技術分野) 本発明は、数(直制御(Nに)工作機械における多数個
取り加工のプログラミング方式に関する。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a programming method for multi-cavity machining in a numerical (directly controlled (N)) machine tool.

(発明の技術的背景とその問題点) 第4図は従来の数値器fall工作機械の多数個取り加
工例を示す図であり、複数の被加工物(以下、ワークと
いう)100か工作54.J9のテーブル101に装着
されている。この第4図に示す如く、?31数のワーク
をマシニングセンタ等の工作機械のテーブル101に装
、nしておいて、i…−加工プログラムによってこ打ら
複数個のワーク100を一度に加工する多数個取り加工
が、特に加工時間短縮の観点から近年/、)E目されて
来ている。この多数個取り加工については、従来より例
えは特開昭60−201857号二ζ開示されている加
王制御方法が実用化されており、この従来技術について
概略説明する。
(Technical background of the invention and its problems) FIG. 4 is a diagram showing an example of multi-piece machining using a conventional digital fall machine tool, in which a plurality of workpieces (hereinafter referred to as "workpieces") 100 or 54. It is attached to the table 101 of J9. As shown in this Figure 4,? Multi-piece machining, in which 31 workpieces are mounted on a table 101 of a machine tool such as a machining center, and then processed using an i...- machining program at one time, the machining time is particularly low. In recent years, from the viewpoint of shortening, it has been changed to /,)E. Regarding this multi-piece machining, the Kao control method disclosed in Japanese Patent Application Laid-Open No. 60-201857 (2ζ) has been put into practical use, and this prior art will be briefly explained.

第5図及び第6図は、それぞれ第4図に示された多数個
取り加工のワーク100(Wl〜W8)全体の平面配置
図及び個別ワークの加工終了後の形状を示す図である。
FIGS. 5 and 6 are a plan layout diagram of the entire workpiece 100 (Wl to W8) subjected to multi-piece machining shown in FIG. 4, and a diagram showing the shape of the individual workpieces after machining is completed, respectively.

第6図に示すように、ワークWには四隅にタップ穴u+
n(Mto>が、そして中央にポーリング穴M1)2か
加工されるものとする。第7図はこの多数個取り加工に
ついての、従来技術における加ニブログラム例を示す図
である。第7図では多数個加工定義PMSI及びPMS
2が階層化されて定義されており、プログラムPMS2
にて各ワークにおけるMIOのタップ穴MHIの個数及
びピッチの定義かされると共に、各個別ワークにおける
MIOのタップ穴M)(1の加工定義かなされ、プログ
ラムP〜!51にて全体のワーク個数の定義及びワーク
間のピッチの定義と、各ワークに繰り返し適用される加
工として、プログラムPMS2のタップ穴MHIの加工
及びポーリング穴M)12の加工の定義とかなされてい
る。
As shown in Figure 6, the workpiece W has tapped holes u+ at the four corners.
It is assumed that n(Mto>) and a polling hole M1)2 is machined in the center. FIG. 7 is a diagram showing an example of a conventional machine program for multi-piece machining. Figure 7 shows the multi-piece processing definition PMSI and PMS.
2 is defined in a hierarchical manner, and the program PMS2
The number and pitch of MIO tapped holes MHI in each workpiece are defined in , and the machining definition of MIO tapped holes M) (1) in each individual workpiece is defined, and the total number of workpieces is defined in program P~!51. , the pitch between the workpieces, and the machining of the tap hole MHI and the machining of the polling hole M) 12 of the program PMS2 as machining that is repeatedly applied to each work.

第8図は従来技術か通用された数値制御装置のブロック
図であり、第9図は従来の多数個取りプログラム(PR
O)の処理例を示すフローチャートである。数値制御装
置1はCPU等で成る主制御部2を有しており、主制御
部2はパスライン3を介してキーボード5.加ニブログ
ラムメモリ6、スタックメモリ7、多数個取りデータメ
モリ91機械制御部10等が接続されている。以下、従
来技術の説明を第8図及び第9図を中心に行なう。第5
図に示されるワークW1〜W6に対する多数個取り加工
を行なう場合には、オペレータは先ずキーボード5から
第7図に示す加ニブログラムPROを人力する。人力さ
れた加ニブログラムPROは加ニブログラムメモリ6に
格納され、加ニブログラムPRO中に多数個加工定義ス
テップPMSIが存在すると、主it、IJ御部2は第
9図に示す多数個取りプログラムPROに従って多数個
取り加工を実行する。即ち、多数個取りプログラムPR
OはステップS1で多数個取りデータDATへを構成す
る多数個取り情報メモリ9中の加工数MNをイニシャル
値″1”に設定し、1次加工基準点をプログラム原点P
ZPに設定すると共に、ステップS2で加ニブログラム
PRO中の多数個加工定義ステップPMS 1により、
多数個取り加工を行なう個数1間隔P)1等を定義し、
次のステップS3に進む。ステップS3では、多数個取
りデータメモリ9内のそれまでの多数個取りデータDA
TA(この場合、初期値の1′°)をスタックメモリ7
内に転送する。次に、ステップS4に進んで重畳処理を
行なう。即ち、多数個加工定義ステップPMSIに示さ
れた多数個取り加工を行なう個数及び間隔PI(等の位
置定i’lll報LIF に基づき、加工数MNを、そ
れまでの加工数(この場合「1」)にステップPMSI
に示された加工個数を掛けて、新たな加工数とすると共
に(この場合、MN・1×6となる)、1次加工基準点
(プログラム原点PZP)から、各ワーク〜■について
の加工の基準となる6個の2次加工基準点5Pを、・寅
算して、2次加工基準点spの座標を多数fIN取り[
吉報メモリ9内に格納する。次にステップS2に戻り、
加ニブログラムPRO内に更に多数個加工定義ステップ
PMSがないかをサーチして行き、第2の多数個加工定
義ステップPMS2により、ステップS3で更に多数個
取りデータメモリ9内の重畳処理された6個の座標系を
スタックメモリ7内に転送する。そして、更に前記展開
された2次加工基準点Spについて、多数個加工定義ス
テップPMS2で示された多数個取り加工を行なう個数
及び間隔Pl+等の位置足表情報LIFに基づき、加工
数MNを更に4倍して“24”にすると共に、2次加工
基準点SPを各2次加工基準点SPにつき4個ずつの3
次加工基準点5PI11に重畳展開し、その座標値を多
数個取りデータメモリ9内に格納する。すると、多数個
取りデータメモリ9内には2度の重層づδ埋の結果、合
計24個の3次加工基準点5PI11か設定されること
になる。多数個取りプログラムPROはステップS5か
らステップS6を介してステップS7に進み、残加工数
を多数個取りデータメモリ9内の加工数)、INにセッ
トし、ステップS8て座標系の原点を24個の内の最初
の3次加工基準点5PHIにセットし、ステップS9で
機械制御部10を介して上記最初の基準点5PHIを基
準として、第7図の有効領域ARA2に示された加工情
報MIFIに基づく加工、即ちセンタドリルによる加工
を実行する。最初の3次加工基準点SPHに対する加工
が終了すると、ステップ510で残加工数を“°1パだ
け減らしてステップSitに戻り、残加工数が” o 
” になるまで上記動作を繰り返す。センタドリル加工
が24個全ての基!iζ点SP旧について実行され、6
個のワークWの全て(Wl−W6)に4Gずつ下穴が穿
設されたところで、多数個取りプログラムPROはステ
ップSllからステップS2に戻り、更にステップS7
を経て加工情報MIFIに示されたドリルによる加工を
、前述と同様に24個の下穴について行なう。ドリルに
よる加工の次はタップ加工が施され、こうして24個の
穴は立ジを有する形に形成される。
FIG. 8 is a block diagram of a conventional numerical control device, and FIG. 9 is a block diagram of a conventional multi-piece program (PR
13 is a flowchart illustrating an example of the process of step O). The numerical control device 1 has a main control section 2 consisting of a CPU, etc., and the main control section 2 is connected to a keyboard 5. A computer program memory 6, a stack memory 7, a multi-chip data memory 91, a machine control section 10, and the like are connected. The prior art will be explained below with reference to FIGS. 8 and 9. Fifth
When performing multi-piece machining on the workpieces W1 to W6 shown in the figure, the operator first inputs the machine program PRO shown in FIG. 7 from the keyboard 5 manually. The manually-generated cannibal program PRO is stored in the cannibal program memory 6, and when the multi-piece machining definition step PMSI exists in the cannibal program PRO, the main IT and IJ control section 2 executes the multi-piece machining program PRO shown in FIG. Execute multi-cavity machining according to the following. In other words, the multi-cavity program PR
In step S1, O sets the machining number MN in the multi-piece machining information memory 9 constituting the multi-piece machining data DAT to an initial value "1", and sets the primary machining reference point to the program origin P.
In addition to setting ZP, in step S2, multiple piece machining definition step PMS 1 in Kani program PRO is set.
Define the number of pieces 1 interval P) 1 etc. for multi-piece machining,
Proceed to the next step S3. In step S3, the previous multi-cavity data DA in the multi-cavity data memory 9 is
TA (in this case, the initial value of 1'°) is stored in the stack memory 7.
Transfer within. Next, the process advances to step S4 to perform superimposition processing. That is, based on the positioning information LIF such as the number of pieces to be processed for multiple pieces machining and the interval PI (etc.) shown in the multiple piece machining definition step PMSI, the number of pieces to be machined MN is set to the number of pieces to be machined up to that point (in this case, "1"). ”) to step PMSI
Multiply the number of pieces to be machined shown in to obtain the new number of pieces to be machined (in this case, MN・1×6), and calculate the number of pieces to be machined for each workpiece ~■ from the primary machining reference point (program origin PZP). The six secondary processing reference points 5P that serve as standards are calculated, and a large number of coordinates of the secondary processing reference points sp are obtained [
It is stored in the good news memory 9. Next, return to step S2,
A search is made to see if there is a further multiple-piece machining definition step PMS in the cannibal program PRO, and the second multiple-piece machining definition step PMS2 results in the six pieces superimposed in the multiple-piece machining data memory 9 in step S3. The coordinate system of is transferred into the stack memory 7. Further, regarding the expanded secondary machining reference point Sp, the number of machining MN is further determined based on the position foot table information LIF such as the number of pieces to be subjected to multi-piece machining and the interval Pl+ indicated in the multi-piece machining definition step PMS2. Multiply the number by 4 to "24" and set the secondary processing reference points SP to 3, 4 times each for each secondary processing reference point SP.
The next processing reference point 5PI11 is superimposed and developed, and its coordinate values are stored in the multi-piece data memory 9. Then, a total of 24 tertiary processing reference points 5PI11 are set in the multi-piece processing data memory 9 as a result of the two-time multilayer δ filling. The multi-piece machining program PRO advances from step S5 to step S7 via step S6, sets the remaining machining number to IN (machining number in the multi-cavity data memory 9), and sets the origin of the coordinate system to 24 in step S8. The first tertiary processing reference point 5PHI is set in step S9, and the processing information MIFI shown in the effective area ARA2 in FIG. 7 is set via the machine control unit 10 in step S9. Based machining, that is, machining using a center drill. When the machining for the first tertiary machining reference point SPH is completed, in step 510 the remaining machining number is reduced by "°1 pa" and the process returns to step Sit, where the remaining machining number is "o"
” The above operation is repeated until the center drill is executed for all 24 base !iζ points SP
When pilot holes of 4G have been drilled in all of the workpieces W (Wl-W6), the multi-piece machining program PRO returns from step Sll to step S2, and then to step S7.
After that, machining using the drill indicated in the machining information MIFI is performed on the 24 prepared holes in the same manner as described above. After drilling, tapping is performed, thus forming 24 holes with ridges.

その後、多数個取りプログラムPROは終了フラグ旺2
によりステップS5からステップ512に進み、主制御
部2はこれにより加工の終了した多数個取りデータメモ
リ9内の3成力U工基準点5PI11の座(票を消去し
、代わりにスタックメモリ7中の2次加工基準点spの
座標を多数個取り[^報メモリ9内に転送して格納する
。すると、第7図に示すように終了フラグEF2の後に
は、有効領域ARAI内にポーリング穴の加工が指示さ
れているので、多数個取り情報メモリ9内の2次加工基
準点SPに基づいて、ステップ511,58.59及び
510により、4各ワークWについて1個のホーリング
による加工MH2を加工情報MIF2に基づいて実行す
る。穴加工MH2が終了すると、終フラグEFlにより
ステップS5からステップ512に進み、前述と同様に
2次加工基!唐点spの座標か多数個取りデータメモリ
9から消去され、多数個取りデータメモリ9にはスタッ
クメモリ7内の1次加工基準点(プログラム原点PZP
)か格納される。また、第7図に示すように、それ以上
の加工情報MIFが加ニブログラムPROに格納されて
いないことから、多数個取りプログラムPROはステッ
プS6でその実行が終了される。
After that, the multi-cavity program PRO is flagged as end flag 2.
Accordingly, the process advances from step S5 to step 512, and the main control unit 2 erases the seat (vote) of the three-component U machining reference point 5PI11 in the multi-cavity data memory 9 for which machining has been completed, and replaces it in the stack memory 7. A large number of coordinates of the secondary machining reference point sp are transferred and stored in the information memory 9. Then, as shown in FIG. Since machining has been instructed, based on the secondary machining reference point SP in the multi-piece machining information memory 9, in steps 511, 58, 59, and 510, machining MH2 by one hole is performed for each of the four workpieces W. The execution is performed based on the information MIF2. When the hole machining MH2 is completed, the process proceeds from step S5 to step 512 based on the end flag EF1, and the coordinates of the secondary machining base!Kang point sp are deleted from the multi-piece machining data memory 9 in the same manner as described above. The primary machining reference point (program origin PZP) in the stack memory 7 is stored in the multi-cavity data memory 9.
) is stored. Further, as shown in FIG. 7, since no more machining information MIF is stored in the Canadian program PRO, the execution of the multi-piece production program PRO is terminated in step S6.

このような従来方式には、次に挙げる問題点(1)〜(
4)が存在する。
This conventional method has the following problems (1) to (
4) exists.

(1)各加工基準点が、縦方向、横方向のピッチ及び個
数から想定される格子点上の全てに展開されるために、
第10図に示すように格子点上の全てにワークWが存在
しない場合や、第11図に示す如く不等間隔に設着され
た場合、同一ワーク群に対する多数個取り加工に対応で
きない。
(1) Since each processing reference point is expanded to all the grid points assumed from the pitch and number of pieces in the vertical and horizontal directions,
If the workpieces W are not present at all the grid points as shown in FIG. 10, or if they are placed at irregular intervals as shown in FIG. 11, it is not possible to perform multi-piece machining on the same workpiece group.

(2)全てのワークを第5図の如く所定のピッチdx 
、 dyにてテーブル上に配置することが大変困難であ
る。
(2) All workpieces are arranged at a predetermined pitch dx as shown in Figure 5.
, it is very difficult to place it on the table at dy.

(3)位置定義情報に加工面角度か考慮されていないた
めに、多面加工可能な機械であっても特定の一平面にお
いての多数個取り加工に5艮定されてしまう。
(3) Since the position definition information does not take into account the angle of the machining surface, even if the machine is capable of multi-face machining, it will be limited to multi-cavity machining on one specific plane.

(4)複数のワークについて同一工具による複数加工が
存在する場合、同一工具による加工が全て終了するまで
工具交1秦を行なわ−)゛、プログラム全体として工具
交換回数を極力減らすことにより、加工時間の短縮を図
るのが多数個取り加工の目的の1っであるが、この主旨
によれは、第12図に示すように複数の異形状ワーク1
02〜107に対してそれぞれ異なる加工を適用する多
数個取り加工も考えられるが、従来方式ではこれに全く
対応することかできない。
(4) When there are multiple machining operations using the same tool for multiple workpieces, one tool change is performed until all machining operations using the same tool are completed. One of the purposes of multi-piece machining is to shorten the processing time, but according to this purpose, as shown in FIG.
A multi-piece machining process in which different processes are applied to each of 02 to 107 is conceivable, but the conventional method cannot cope with this at all.

尚、以後は説明の都合上、第5図、第10図及び第11
図に示すように全く同一の加工内容を複数の同一形状ワ
ークに適用し、工具交換回数を1ワ一ク単位ではなく、
全ワークを単位として極力少なくなるように:1制御す
る多数個取り加工を「タイプIJ  (同一加工プログ
ラムを複数個の同一ワークに適用するもの)といい、第
12図に示す如く異なった加工内容を複数の異なったワ
ーク102〜107 に通用し、上9己タイプIと同様
に工具交換回数を極力少なくなるようにj;IJ御する
多数個取り加工を「タイプ11」(異なる複数の加ニブ
ログラムを同一もしくは異任の複数個ワークに適用する
もの)ということにする。
In addition, from now on, for convenience of explanation, Figures 5, 10, and 11 will be used.
As shown in the figure, the exact same machining content is applied to multiple workpieces of the same shape, and the number of tool changes is not limited to one workpiece.
Multi-cavity machining using one control is called "Type IJ" (applying the same machining program to multiple identical workpieces), and the machining contents are different as shown in Fig. 12. "Type 11" (type 11) is a multi-cavity machining process that can be used for multiple different workpieces 102 to 107 and that controls the number of tool changes as much as possible, similar to Type I. is applied to multiple works of the same or different jobs).

(発明の目的) 本発明は上述のような事[青からなされたものであり、
本発明の目的は、上記問題点を解決すべく、多数個取り
加ニブログラムに関するデータの人力をキーボード等の
人力手段から容易にかつ短時間に行なうことであり、更
に加工情報に基づく加工を多数個取り加工対象のワーク
全てについて1度に実行し得る数値制御工作m械におけ
る多数個取り加工のためのプログラミング方式を提供す
ることにある。
(Objective of the invention) The present invention accomplishes the above-mentioned things [made from the blue,
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, it is an object of the present invention to easily and quickly process data related to multi-processing Niprograms using manual means such as a keyboard. It is an object of the present invention to provide a programming method for multi-piece machining in a numerically controlled machining machine that can be executed on all workpieces to be machined at once.

(発明の概要) 本発明の数値制御工作機械における多数個取り加工のた
めのプログラミング方式は、入力手段から人力されたワ
ーク座標系位晋情報、加工情報及び多数個取り情報をそ
れぞれ格納するメモリを有するNC工作機械用自動プロ
グラミング装置、あるいは工作機械用数値制御装置に内
蔵されるNC工作機械用自動プログラミング機能に、前
記多数個取り情報に基づいて同一加工情報を全てのワー
ク座標系に適用するか否かを判定させ、所望の加ニブロ
グラムを生成するようにしたものである。すなわち、本
発明は、NC工作機械用自動プログラミング装置あるい
は工作機械用数値制御装置に内蔵されるNC工作機械用
自動プログラミング機能を用いて多数個取り加工用NC
プログラムを作成する方式において、多数個取り加工の
タイプを指定すると共に、加工面角度・ワーク座標系組
数及びワーク座標系原点を含むワーク座標系位置データ
群とワークに対する加工情報群とを定義し、前記多数個
取り加工のタイプにより前記加工情報群の全ての加工情
報を前記ワーク座標系の全てに展開する方式あるいは前
記加工情報群のうちの一部の加工情報を前記ワーク座標
系のうちの当該ワーク座標系に展開することを繰り返す
方式のいずれかを3択・処理し、所望の多数個取り加工
用NCプログラムを生成するようにしたものである。
(Summary of the Invention) The programming method for multi-cavity machining in a numerically controlled machine tool of the present invention includes a memory that stores workpiece coordinate system position information, machining information, and multi-cavity information input manually from an input means. Whether the same machining information is applied to all workpiece coordinate systems based on the multi-cavity information in an automatic programming device for NC machine tools that has an automatic programming device for NC machine tools, or an automatic programming function for NC machine tools built in a numerical control device for machine tools. A desired Canadian program is generated by determining whether or not the program has been executed. That is, the present invention uses an automatic programming device for an NC machine tool or an automatic programming function for an NC machine tool built in a numerical control device for a machine tool to create an NC machine tool for machining multiple pieces.
In the method of creating a program, the type of multi-cavity machining is specified, and a group of workpiece coordinate system position data including the machining surface angle, number of workpiece coordinate system pairs, and workpiece coordinate system origin, and a group of machining information for the workpiece are defined. , depending on the type of multi-piece machining, all machining information in the machining information group is expanded to all of the workpiece coordinate systems, or some machining information in the machining information group is expanded to all of the workpiece coordinate systems. A desired NC program for multi-piece machining is generated by selecting and processing one of three methods for repeating expansion into the workpiece coordinate system.

(発明の実施例) 本発明方式を対話型自動プログラミング装置に適用した
例について具体的に説明する。第1図は、本発明を実施
する対話型自動プログラミング装置の構成を、第8図に
対応させて示すブロック図であり、第2図は本発明の処
理のフローを示す図である。以下、第1図及び第2図に
基づいて本発明を説明する。
(Embodiment of the Invention) An example in which the method of the present invention is applied to an interactive automatic programming device will be specifically described. FIG. 1 is a block diagram showing the configuration of an interactive automatic programming device implementing the present invention, corresponding to FIG. 8, and FIG. 2 is a diagram showing the processing flow of the present invention. The present invention will be explained below based on FIGS. 1 and 2.

対話型NC工作機械用自動プログラミング装置20はプ
ログラム作成者のキーボード5によるデータ人力、人力
データ及び自動決定データのCnT4への表示により対
話形式で加ニブログラムを作成するシステムである。シ
ステムが起動されると先ず多数個取り加工タイプの人力
局面となり(ステップ520)、プログラム作成者は適
宜多数個取り加工の有無と、有の場合は多数個取り加工
のタイプつまりタイプIあるいはタイプI+をキーボー
ド5より人力する(ステップ530)。これらの人力デ
ータは多数個取りデータメモリ9に格納される。そして
、入力された多数個取り加工タイプにより以降の処理が
分れ・る。なお、第1図において機械制御部lOが破線
にて示しであるのは、本発明が多数個取り加工の加工制
御そのものを目的にしているのでは7よく、多数個取り
加ニブログラムのプログラミング方式に関するものであ
り、機械制御部10は本発明に不可欠な構成要素ではな
いからである。
The interactive automatic programming device 20 for NC machine tools is a system that creates a machine program in an interactive manner by displaying data manually, manually data, and automatically determined data on the CnT 4 using the keyboard 5 of the program creator. When the system is started, it first enters the manual phase of multi-cavity machining (step 520), and the program creator appropriately selects the presence or absence of multi-cavity machining, and if yes, the type of multi-cavity machining, i.e. Type I or Type I+. manually from the keyboard 5 (step 530). These manual data are stored in the multi-piece data memory 9. Subsequent processing is divided depending on the input multi-piece machining type. In addition, the machine control unit IO is indicated by a broken line in FIG. 1 because the purpose of the present invention is to control the machining of multi-cavity machining itself. This is because the machine control unit 10 is not an essential component of the present invention.

まず最初に、多数個取り加工タイプIか人力された場合
について説明する。多数個取り加工タイプIに対する加
ニブログラム作成は、先ずワーク座標系位置データの人
力から始まる(ステップ521)。ここに、Fワーク座
標系位置データ」とは、加工面角度、同−加工面角度内
に定義されるワーク座標系の組数、各座標系番号。
First, the case of multi-cavity machining type I or manual processing will be explained. Creation of a cutting program for multi-piece machining type I begins with manual input of workpiece coordinate system position data (step 521). Here, "F workpiece coordinate system position data" refers to the machining surface angle, the number of pairs of workpiece coordinate systems defined within the same machining surface angle, and each coordinate system number.

各座標系原点のX、Y、Z軸方向のオフセット量をいう
。このステップ521において、定義すべき全てのワー
ク座標系位置データを定義する。これら定義されたワー
ク座標系位置データは、ワーク座標系位置データメモリ
8に格納される。尚、回・転軸の無い仕揉の工作機械が
対象である場合には、加工面角度に関するデータ入力は
不要となる。次に、加工情報の人カニ程(ステップ52
2〜525)に入るが、ここでいう「加工情報」とは、
溝、ポケット、フライス穴1輪郭といった加工法や切削
幅、仕上げ代、面粗度等の加工データ及び当該加工法、
加工データにて加工すべき加工形状に関する情報をいう
。これら加工情報は加工情報メモリ12に格納される。
It refers to the amount of offset in the X, Y, and Z axis directions of the origin of each coordinate system. In this step 521, all workpiece coordinate system position data to be defined is defined. These defined workpiece coordinate system position data are stored in the workpiece coordinate system position data memory 8. Note that if the target is a finishing machine tool that does not have rotation/rotation axes, there is no need to input data regarding the machining surface angle. Next, the processing information is processed (step 52).
2 to 525), but the "processing information" referred to here is
Machining methods such as grooves, pockets, and milling hole 1 contour, machining data such as cutting width, finishing allowance, surface roughness, and the relevant machining method,
Information regarding the shape to be machined in the machining data. These processing information are stored in the processing information memory 12.

加工情報の人力が全て終了すると、主制御部2は多数個
取りデータメモリ9.ワーク座標系位置データメモリ8
及び加工情報メモリ12の内容に基づき、定義された加
工情報を定義された全てのワーク座標系に展開し、工具
交換回数を最少とするように加工工程を決定する(ステ
ップ526)。主制御部2はその後、技術情報メモリ1
1に格納されている対象とするNC装置及び工作機械に
関するGコード、Mコードの出力形式等のデータに基づ
き所望のNCプログラムに変換しくステップ527)、
そのNCプログラムを加ニブログラムメモリ6に格納す
る。以上でタイブエについての加ニブログラム作成が終
了する。
When all of the processing information has been manually processed, the main control unit 2 transfers the data to the multi-piece data memory 9. Work coordinate system position data memory 8
Based on the contents of the machining information memory 12, the defined machining information is expanded to all defined workpiece coordinate systems, and a machining process is determined so as to minimize the number of tool changes (step 526). The main control unit 2 then uses the technical information memory 1
Step 527) to convert into a desired NC program based on the data such as the output format of the G code and M code regarding the target NC device and machine tool stored in Step 527);
The NC program is stored in the computer program memory 6. This completes the creation of the Canadian program for Taibue.

次に、多数個取り加工タイプ11について、ワーク座標
系位置データの人力から説明する。
Next, the multi-piece machining type 11 will be explained from the point of view of manual workpiece coordinate system position data.

以下特に説明しない限り、データの内容、処理の内容等
は上記タイプIの場合と同様であり、タイプIIは異な
った加工内容を複数ワークに対して通用しようとするも
のである。先ず、−まとまりの加工情報群を適用すべき
加工面角度。
Unless otherwise explained below, the contents of data, contents of processing, etc. are the same as in the case of type I, and type II is intended to apply different machining contents to a plurality of workpieces. First, - the machining surface angle to which a group of machining information should be applied.

ワーク座標系データを人力しくステップ531)、次に
当該加工情報群を人力する(ステップ532〜336)
。これらの対となるべきワーク座標系位置データ群と加
工情報群とは、主制御部2によりポインタ接続等の手段
により結合される。既に定義した加工情報群及びワーク
座標系位置データ群の対以外に更にデータ人力をする際
は、次のワーク座標系位置データの入力から必要な対の
数だけ前述の処理を縁り返す。全てのワーク座標系位置
情報及び加工情報の人力が終了すると、主制御部2は定
義された加工情報を適用すべきワーク座標系についての
み展開することを、全てのワーク座標系位置データ群と
及び加工情報群の対について繰り返し、工具交換回数を
最少とするように加工工程を決定する(ステップ537
)。以下は上記タイプ■の場合と同一の処理となる。
Manually input the workpiece coordinate system data (step 531), then manually input the relevant machining information group (steps 532 to 336)
. The workpiece coordinate system position data group and the machining information group to be paired are combined by the main control section 2 by means such as pointer connection. When inputting additional data in addition to the already defined pairs of machining information group and workpiece coordinate system position data group, the above-mentioned process is repeated for as many pairs as necessary from the input of the next workpiece coordinate system position data. When all the workpiece coordinate system position information and machining information have been manually input, the main control unit 2 instructs all the workpiece coordinate system position data groups and the processing information to be developed only for the workpiece coordinate system to which the defined machining information is applied. The process is repeated for each pair of machining information groups, and the machining process is determined so as to minimize the number of tool changes (step 537).
). The following processing is the same as in the case of type (2) above.

第3図は本発明におけるデータ人力手順の一例を示すプ
ログラムであり、本発明を第5図及び第6図に示される
多数個取り加工のプログラミングについて、更に具体的
に説明する。
FIG. 3 is a program showing an example of a data manual procedure in the present invention, and the present invention will be explained in more detail with respect to programming for multi-piece machining shown in FIGS. 5 and 6.

オペレータは先ずキーボード5等の人力手段により多数
個取り加工のタイプを人力する。第5図の加工はタイプ
Iであるから多数個取り加工有り、加工タイプMFTY
−1と設定人力し、これらのデータは多数個取りデータ
メモリ9に格納される。システム内部においては加工タ
イプMFTYを判定し、第2図の左側処理、すなわちタ
イプ■の処理に入る。オペレータは次に加工面角度、ワ
ーク座標系組数、各ワーク座標系原点(加工基準点)の
データを人力する。第5図の場合、ワークW1〜W6に
対応してワーク厘(票渠No、1〜No、8を割付ける
。また、ワークW1のワーク座標系原点を全体の加工基
準点とし、ワークW2〜w5の各ワーク座標原点のX、
Y、Z各軸方同のオフセット量は、このワークWlのワ
ーク座標原点からの相対値として人力する。これらワー
ク座標系位置データは、ワーク座標系位置データメモリ
8に接結される。なお、多面加工機を対象としない場合
、加工面角度の人力は必要ない。
First, the operator inputs the type of multi-piece machining using manual means such as the keyboard 5. The machining in Figure 5 is type I, so there is multi-cavity machining, machining type MFTY.
-1 manually, and these data are stored in the multi-piece data memory 9. Inside the system, the machining type MFTY is determined, and processing on the left side of FIG. 2, that is, processing of type (2) is started. Next, the operator manually enters data on the machining surface angle, the number of workpiece coordinate system sets, and the origin of each workpiece coordinate system (machining reference point). In the case of Fig. 5, workpiece numbers (slot numbers 1 to 8) are assigned corresponding to the workpieces W1 to W6. Also, the origin of the workpiece coordinate system of the workpiece W1 is used as the overall machining reference point, and the workpieces W2 to W6 are assigned the workpiece numbers 1 to 8. X of each workpiece coordinate origin of w5,
The offset amounts in each of the Y and Z axes are determined manually as relative values from the workpiece coordinate origin of the workpiece Wl. These workpiece coordinate system position data are connected to a workpiece coordinate system position data memory 8. Note that if the target is not a multi-face processing machine, no manual effort is required for processing the machined surface angle.

次に、加工方法及び加工形状の指定に入るか、この工程
ではワーク1個分についての加工法及び加工形状を定義
するだけでよい。先ず加工法としてタップ穴MHI(メ
ートルネジ1ilio)を指定し、加工深さを入力する
。この段階でシステムは、タップ穴M)11の加工に必
要な加工条件を全ての工程(センタトリル、下穴、タッ
プ、座繰り等の工程)について、技術・情報メモリ7の
内容に基づいて決定する。次に、タップ穴Mi11の加
工形状の人力に入り、ピッチa、bの四角形状を入力す
る。タップ穴M++1の加工に四角以外の形状が無いた
め、次の多数個取り加工をすべき加工法が有るか無いか
をシステムか判定する。人力データとして次にポーリン
グ穴が指定されているので、ポーリング穴MH2につい
てもタップ六M111 と同様の手順にて加工法、加工
形状に関するデータを人力して決定する。これら人力デ
ータは加工情報メモリ12に格納される。
Next, specifying the machining method and machining shape, or in this step, it is only necessary to define the machining method and machining shape for one workpiece. First, tap hole MHI (metric screw 1ilio) is specified as the machining method, and the machining depth is input. At this stage, the system determines the machining conditions necessary for machining the tapped hole M) 11 for all processes (center drill, pilot hole, tap, counterbore, etc.) based on the contents of the technology/information memory 7. . Next, the machining shape of the tapped hole Mi11 is entered manually, and a rectangular shape with pitches a and b is input. Since there is no shape other than square for machining tapped hole M++1, the system determines whether there is a machining method that should be used for the next multi-cavity machining. Since the next poling hole is specified as the manual data, the data regarding the machining method and machining shape for the poling hole MH2 are manually determined in the same procedure as for the tap 6 M111. These manual data are stored in the processing information memory 12.

ここでは、ポーリング穴MH2に続く次の加工は存在し
ないので、これにて対話形式のデータ人カニ程が終了す
る。
Here, since there is no next machining following the polling hole MH2, this completes the interactive data processing.

これ以降はシステム内部にて、多数個取り加ニブログラ
ム作成のためのデータ処理が行なわれる。すなわち、加
工情報メモリ12に格納されているワーク111分の加
工情報を、ワーク座標系データメモリ8内に格納されて
いるデータに基ついてそれぞれのワーク座標系に展開し
、6個のワークW1〜W6についての座標展開が終わっ
た段階で、工具交換回数を極力少なくするように各工程
の加工順を決定する。その後、技術情報メモリ11に格
納されているポストプロセッサデータを参照して所望の
NCプログラムを作成し、加ニブログラムメモリ6に格
納する。こむにより、木刀式における多数個取り加ニブ
ログラム作成が終了する。
From this point on, data processing for creating a multi-piece nib program is performed within the system. That is, the machining information for 111 workpieces stored in the machining information memory 12 is developed into the respective workpiece coordinate systems based on the data stored in the workpiece coordinate system data memory 8, and the machining information for the six workpieces W1 to When the coordinate development for W6 is completed, the processing order of each process is determined so as to minimize the number of tool changes. Thereafter, a desired NC program is created with reference to the post-processor data stored in the technical information memory 11, and is stored in the computer program memory 6. This completes the creation of a multi-piece nib program using the wooden sword method.

(発明の効果) 本発明によって、マシニングセンタ等の工作機械におけ
る多数個取り加工を目的としたNCプログラムの作成が
、上記タイプIのみならずタイプI+についても簡便に
かつ短時間で処理が可能となり、しかも無駄な工具交換
か発生しないために加工時間が短縮される。更に、回転
軸付仕様の工作機械も、効率良く多数個取り加工が可能
となるという効果を奏する。
(Effects of the Invention) According to the present invention, it is possible to easily and quickly create an NC program for multi-cavity machining using a machine tool such as a machining center, not only for Type I but also for Type I+. Moreover, machining time is shortened because unnecessary tool changes do not occur. Furthermore, a machine tool with a rotating shaft specification also has the effect of being able to perform multi-cavity machining efficiently.

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

第1図は本発明方式を実現する装置の11育成例を示す
ブロック図、第2図は本発明における処理例を示すフロ
ーチャート、第3図は本発明の多数個取り加工のプログ
ラム例を示す図、第4図は従来の数値制御工作機酸の多
数個取り加工を例示する図、第5図及び第6図はそれぞ
れ第4図に示す多数個取り加工のワーク全体の平面配置
図及び別個ワークの加工終了後の形状を示す図、第7図
は従来の多数個取り加工のプログラム例を示す図、第8
図は従来の数値制御装置のブロック図、第9図は従来の
多数個取り加ニブログラムPROの処理例を示すフロー
チャート、第10図及び第11図はそれぞれ複数のワー
クの配置を説明する図、第12図は複数の異形状ワーク
の配置を説明する図である。 1・・・数値;t1]御装置、2・・・主制御部、3・
・・パスライン、4・・・CRT、5・・・キーボード
、6・・・加ニブログラムメモリ、7・・・スタックメ
モリ、8・・・ワーク座標系位置データメモリ、9・・
・多数個取りデータメモリ、10・・・機械制御部、1
1・・・技術情報メモリ、12・・・加工情報メモリ。 $3 区 蔓4図 烙5圓 茶6回 千8図 47回 PRO 蔓9図
FIG. 1 is a block diagram showing 11 training examples of a device that implements the method of the present invention, FIG. 2 is a flowchart showing a processing example of the present invention, and FIG. 3 is a diagram showing an example of a program for multi-cavity machining of the present invention. , Fig. 4 is a diagram illustrating multi-cavity machining using a conventional numerically controlled machine tool, and Figs. 5 and 6 are plan layout diagrams of the entire workpiece and individual workpieces for multi-cavity machining shown in Fig. 4, respectively. Figure 7 is a diagram showing an example of a conventional multi-cavity machining program.
Figure 9 is a block diagram of a conventional numerical control device, Figure 9 is a flowchart showing a processing example of the conventional multi-piece Niprogram PRO, Figures 10 and 11 are diagrams explaining the arrangement of a plurality of workpieces, respectively. FIG. 12 is a diagram illustrating the arrangement of a plurality of irregularly shaped workpieces. 1... Numerical value; t1] control device, 2... Main control unit, 3.
...Pass line, 4...CRT, 5...Keyboard, 6...Cannibal program memory, 7...Stack memory, 8...Work coordinate system position data memory, 9...
・Multi-piece data memory, 10... Machine control section, 1
1... Technical information memory, 12... Processing information memory. $3 Ku vine 4 fig. 5 Encha 6 times 108 fig. 47 times PRO vine 9 fig.

Claims (1)

【特許請求の範囲】[Claims] NC工作機械用自動プログラミング装置あるいは工作機
械用数値制御装置に内蔵されるNC工作機械用自動プロ
グラミング機能を用いて多数個取り加工用NCプログラ
ムを作成する方式において、多数個取り加工のタイプを
指定すると共に、加工面角度・ワーク座標系組数及びワ
ーク座標系原点を含むワーク座標系位置データ群とワー
クに対する加工情報群とを定義し、前記多数個取り加工
のタイプにより前記加工情報群の全ての加工情報を前記
ワーク座標系の全てに展開する方式あるいは前記加工情
報群のうちの一部の加工情報を前記ワーク座標系のうち
の当該ワーク座標系に展開することを繰り返す方式のい
ずれかを選択・処理し、所望の多数個取り加工用NCプ
ログラムを生成することを特徴とする数値制御工作機械
用多数個取り加工プログラミング方式。
Specifying the type of multi-cavity machining in a method of creating an NC program for multi-cavity machining using an automatic programming device for NC machine tools or an automatic programming function for NC machine tools built into a numerical control device for machine tools. At the same time, a workpiece coordinate system position data group including the machining surface angle, the number of workpiece coordinate system sets, and the workpiece coordinate system origin, and a machining information group for the workpiece are defined, and all of the machining information group is defined according to the type of multi-cavity machining. Select either a method of expanding machining information to all of the workpiece coordinate systems or a method of repeatedly expanding machining information of a part of the machining information group to the relevant workpiece coordinate system of the workpiece coordinate systems. - A multi-cavity machining programming method for numerically controlled machine tools, which is characterized by processing and generating a desired multi-cavity machining NC program.
JP20227986A 1986-08-28 1986-08-28 Multiple quantity pickup machining programming system for numerically controlled machine tool Pending JPS6357146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20227986A JPS6357146A (en) 1986-08-28 1986-08-28 Multiple quantity pickup machining programming system for numerically controlled machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20227986A JPS6357146A (en) 1986-08-28 1986-08-28 Multiple quantity pickup machining programming system for numerically controlled machine tool

Publications (1)

Publication Number Publication Date
JPS6357146A true JPS6357146A (en) 1988-03-11

Family

ID=16454906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20227986A Pending JPS6357146A (en) 1986-08-28 1986-08-28 Multiple quantity pickup machining programming system for numerically controlled machine tool

Country Status (1)

Country Link
JP (1) JPS6357146A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262607A (en) * 1988-08-29 1990-03-02 Fanuc Ltd Program checking plotting system
WO1991011761A1 (en) * 1990-01-25 1991-08-08 Fanuc Ltd Method of specifying multiple-piece machining in preparation of nc data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58127209A (en) * 1982-01-25 1983-07-29 Yamazaki Mazak Corp Numerical controller having program input function for simultaneous processing of a lot of same works
JPS59224228A (en) * 1983-06-02 1984-12-17 Fanuc Ltd Neumeric controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58127209A (en) * 1982-01-25 1983-07-29 Yamazaki Mazak Corp Numerical controller having program input function for simultaneous processing of a lot of same works
JPS59224228A (en) * 1983-06-02 1984-12-17 Fanuc Ltd Neumeric controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262607A (en) * 1988-08-29 1990-03-02 Fanuc Ltd Program checking plotting system
WO1991011761A1 (en) * 1990-01-25 1991-08-08 Fanuc Ltd Method of specifying multiple-piece machining in preparation of nc data

Similar Documents

Publication Publication Date Title
CN108490871A (en) Four-shaft numerically controlled milling machine processing method, device, computer equipment and storage medium
JPH0265945A (en) Deciding system for working method in preparing function of numerical control information
JPH03177903A (en) Method and device for production of nc working data
JPS6318404A (en) Position controlling method
JPH067363B2 (en) Compound surface generation method
JPS6357146A (en) Multiple quantity pickup machining programming system for numerically controlled machine tool
EP0377752B1 (en) Nc data preparation method for boring
US5008806A (en) Method of creating NC data for machining curved surfaces
JP2696206B2 (en) Automatic part program creation method
JPS62224550A (en) Area machining indication system in automatic nc programming
JPS60201857A (en) Multiple machining control of machine tool
WO1993001535A1 (en) Method for specifying position where fillet curved surface is located
KR890001355B1 (en) Numerical control device
JPH06100929B2 (en) NC data creation method for machining uncut parts in NC data creation device
JP2753365B2 (en) How to create numerical control information
US4942350A (en) Method of creating NC data for grooving
US6681144B1 (en) Process and system for working a workpiece through numerically controlled machine tools
JPS62222303A (en) Registering and editing system for automatic programming for nc
US5773950A (en) Program creating method for uniform-shape machining
JPH03174604A (en) Producing device for numerical control information
JPS58219606A (en) Automatic shape working system
JPH069007B2 (en) NC data creation method for compound curved surface
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
KR100440153B1 (en) Method of generating a roughing work program for computer numerical control
JPS61105615A (en) Working area designating system of nc data generating device