JPS6316761B2 - - Google Patents

Info

Publication number
JPS6316761B2
JPS6316761B2 JP57032454A JP3245482A JPS6316761B2 JP S6316761 B2 JPS6316761 B2 JP S6316761B2 JP 57032454 A JP57032454 A JP 57032454A JP 3245482 A JP3245482 A JP 3245482A JP S6316761 B2 JPS6316761 B2 JP S6316761B2
Authority
JP
Japan
Prior art keywords
data
machining
machine
work
tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57032454A
Other languages
Japanese (ja)
Other versions
JPS58151607A (en
Inventor
Yoshihisa Arai
Kenji Takeda
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 JP3245482A priority Critical patent/JPS58151607A/en
Publication of JPS58151607A publication Critical patent/JPS58151607A/en
Publication of JPS6316761B2 publication Critical patent/JPS6316761B2/ja
Granted 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/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • G05B19/4202Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine preparation of the programme medium using a drawing, a model

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、NC工作機械の動作を制御するNC
データをもとに、職場状況の変動によつて新たに
必要となるNCデータを、瞬時に作成するNCデ
ータ分割編集装置に関するものである。 近年、機械加工職場には、マシニングセンタ、
ターニングセンタ等のNC工作機械が数多く導入
されている。これらの工作機械は従来の単能機械
に較べ多種類の加工が行なえるため、生産性向上
に寄与している。第1図は、このような機械加工
職場の斜視図であり、例えば3台のNC工作機械
M1〜M3、各NC工作機械を制御する数値制御装
置1〜3、自動搬送車4、ストツカ5、及び制御
用計算機6から構成される。各NC工作機械M1
M3には、数値制御装置1〜3からの指令によつ
て、自動的に工具を交換する、自動工具交換装置
(automatic tool changer以下ATCという)7
〜9、加工部品の載つたパレツト10を自動的に
交換する自動パレツト交換装置(automatic
pallet changer以下APCという)11〜13が装
備されている。これらの装置は、すべて制御用計
算機6の指令に基づいて制御される。 ここで、上述した機械加工職場の加工作業の概
略を説明する。まず、ストツカ5の上にセツトさ
れた加工部品は、自動搬送車4によつて、その加
工を行なう機械(M1〜M3)に搬送され、APC
(11〜13)にセツトされる。既にその機械で
加工中の部品の加工が終了すると、APC(11〜
13)は、自動的に反転し、先に搬送された加工
部品が機械上にセツトされ、その加工部品を加工
するのに必要なNCデータが制御用計算機6から
送られ、加工が開始される。加工に必要となる工
具はATCにより選択され種々の加工がなされる。
その機械での加工が終了した加工部品は、自動搬
送車4によつて、ストツカ5に戻される。このよ
うな手順により、ストツカ5にセツトされた種々
の部品が、次々と加工される。 加工部品を加工するときに必要となるNCデー
タの作成には、APT、EXAPT等の自動プログ
ラミング言語が用いられる。これは、設計図面に
従つて、パートプログラマがパートプログラムを
作成し、これを自動プログラミング装置で処理す
ることによつてNCデータを作成するものであ
り、パートプログラムの作成にあたつては、その
部品加工を行なう工作機械及びNC装置をはじめ
から想定して作成する。 さて、上述した各NC工作機械M1〜M3は、
各々、多種類の加工が行なえるため、一つの部品
を加工する際、その使用機械及び加工順序につい
て、いくつか代替案が存在する。そこで、加工部
品の品種構成の変動、特急品の発生、各機械で行
なう作業量の過不足、工作機械の故障、工具破損
等の職場状況の変化に対して、どの作業をどの機
械で行なうかといつた作業割付が変更できれば職
場を効率よく運用することができる。 ところが従来のNCデータ作成方法では、使用
機械、加工順序等を変更する場合は、それによつ
て必要となるNCデータを得るために、パートプ
ログラムから作成し直さなければならないため、
時間がかかり、その結果、職場状況の変化に対応
できないという欠点があつた。 本発明の目的は、上記した従来技術の欠点をな
くし、職場状況の変化に応じて、必要となるNC
データを瞬時に作成することを可能とする。NC
データ分割編集装置を提供することにある。 本発明の特徴は、一つの部品を加工するために
一連のNCデータを、複数の作業単位に分割する
NCデータ分割プロセツサ及びこれをその時の職
場の状況に応じて、分割したデータを結合編集す
るNCデータ編集プロセツサを設けたことであ
る。 これにより、一つの部品に対して工作機械及び
NC装置を固定せずに、一度パートプログラムを
作成しておけば職場状況に応じた作業割付の変更
に対して瞬時にNCデータを作成できる。 以下第2図乃至第8図に示した実施例によつて
本発明を詳細に説明する。 実施例の説明に先立ち、この明細書で使用する
用語を次のように定義する。 (1)加工エレメント…機械に作業を割付けるときの
最小の単位。即ち、一種類の工具で加工する範
囲の作業を加工エレメントと呼ぶ。また、この
加工エレメントに関するNCデータを、加工エ
レメントデータと呼ぶ。 (2)作業先行関係…ある加工エレメントを実行する
前に、実行しておかなければならない加工エレ
メントがあるとき、前者(被先行加下エレメン
ト)と後者(先行加工エレメント)との関係。 例えば、タツプ立て作業においては、下穴あ
けはタツプ立て作業の先行加工エレメントであ
る。また、バリが少なくなるような加工順序な
ども、作業先行関係によつて表現される。 (3)作業グループ…負荷、段取、稼動率等により、
1台の機械に配分した作業であり、順序をもつ
た加工エレメントの組。 (4)レコード…NCデータ及びNCデータ作成のた
めに一時的に記憶装置の中に記憶された工具経
路情報及び機械の諸機能に対する指令情報。こ
れは次の定義文と動作データに分類しておく。 (5)定義文…パートプログラムの名称、使用機械、
使用工具を定義する。 (6)動作データ…これは、工具の実際の動作を指定
するデータであり、工具の移動方向、速度、停
止等のデータを含む。また、工具交換の位置、
部品を支持したテーブルの回転角度、工具先端
と加工部品とのクリアランス、切削剤の種類と
そのON/OFF等、加工を行なう上での条件を
指定する条件データをも含むものとする。 第2図は、NC工作機械M1〜M3からなるジツ
ブシヨツプ型の加工職場に本発明を適用したとき
の全体構成図を示したものである。加工される部
品ごとに、工作機械及びNC装置を想定せずに設
計図面に従つて作成したパートプログラム21
は、自動プログラミング装置のメインプロセツサ
22によつて処理され、第1加工から最終加工ま
での一連の全加工データとして全加工データフア
イル23に格納される。 本発明の特徴の1つであるNCデータ分割プロ
セツサ24は、この全加工データを使用工具毎に
分割して加工エレメントを作成し、これを加工エ
レメントフアイル25に格納する。一方、作業割
付プロセツサ34は職場の状態をセンサまたはデ
ータ入力端末33によつて取込、これに従つて作
業割付を決定し、NCデータ編集プロセツサ26
に編集を指示する。 本発明のもう一つの特徴であるNCデータ編集
プロセツサ26は、この作業割付指示に従つて、
各機械ごとに所定の加工エレメントを結合し、編
集する。これらを各機械用のポストプロセツサ2
7〜29によつて処理することによつて、各機械
M1〜M3にかかるNCデータ30〜32を作成す
る。 次に、第2図におけるNCデータ分割プロセツ
サ24の動作を、第3図に示したデータの構成図
及び第4図に示したフローチヤートを用いて説明
する。一つの部品を加工するのに必要な全加工デ
ータ40は、第3図の上方に示すように部品に対
応するパートプログラム番号41と、定義文42
と、複数組のATCにより工具を呼び出すため、
の工具指定データ43a,43b,43c,43
d………及びその指定工具の動作及び条件を含む
動作データ44a,44b,44c,44d……
…と、データの終了であることをFINIコード4
5とによつて構成される。ここで工具指定データ
と動作データとが複数組備えられているのは、1
つの部品を加工する際、一般に複数の工具を使用
するからである。NCデータ分割プロセツサ24
は、この部品に対応した全加工データ40を、1
つの工具で加工する範囲のデータを1つの加工エ
レメントデータとして分割し、例えばデイスク、
ドラム等で構成される記憶装置の中に、加工エレ
メントフアイル5として格納する。第3図の下方
左側に、50,60,70と並べたものが加工エ
レメントデータである。加工エレメントデータ5
0,60,70のそれぞれは、加工エレメント番
号、定義文、開始条件データ、工具指定データ、
動作データ及び終了条件データを備える。 次に、第3図に示した全加工データ40から、
どのようにして加工エレメントデータ50,6
0,70………を分割、作成するかについて、第
4図を用いて説明する。なお第3図の下方右側に
示した付号80は、条件テーブル81、パートプ
ログラム番号テーブル82、定義文テーブル83
からなる記憶領域を示すものであり、加工エレメ
ントフアイル25が格納される記憶装置の一部の
領域を使用してもよく、またNCデータ分割プロ
セツサ24に内蔵された記憶装置の一部の領域を
使用してもよい。 全加工データ40内の全てのデータ41〜45
を読み出すに際し、まずステツプ90にて、記憶領
域80の中の全テーブル81〜83をクリヤす
る。ステツプ91及び92は、全加工データ40を1
レードずつ読み、それがどのようなデータである
かを識別するものであり、その識別結果により、
そのデータをステツプ93、94、95、97、98、100
のいずれかに進める。 まず、パートプログラム番号41、具体的には
例えば「P0001」が読み出され、このデータはス
テツプ93にて、記憶領域80の中のテーブル82
に記憶される。次に、定義文42は、ステツプ94
にて、記憶領域80の中のテーブル83に記憶さ
れる。 次に、工具指定データ43aは、ステツプ95に
送られ、工具指定データの入力回数がチエツクさ
れる。工具指定データの入力は1回目であるの
で、このデータ43aはステツプ96に送られる。
ステツプ96においては、次のような処理が行なわ
れる。まず第1に、前記テーブル82に記憶され
たパートプログラム番号41(「P0001」)に、シ
リーズ番号が付加され、加工エレメント番号51
(例えば「P0001−1」)が作成される。この加工
エレメント番号51は、加工エレメントフアイル
25の第1段目に記憶される。第2に、前記テー
ブル83に記憶された定義文42が、前記加工エ
レメント番号51の後に、定義文42aとして記
憶される。第3に、前記テーブル81の条件デー
タが、前記定義文42aの後に、開始条件データ
52として記憶される。第4に、今、入力されて
来た工具指定データ43aが、前記開始条件デー
タ52の後に記憶される。 次に、動作データ44aは、前述の通り純粋な
工具の動作データと、加工上の条件を指定する条
件データからなる複数個のレコードを含むがこれ
ら動作データ及び条件データは、1レコードずつ
ステツプ92にて識別され、ステツプ97又は98に送
られる。動作データの場合には、ステツプ97にて
動作データが作成され、前記工具指定データ43
aの後に記憶される。また条件データの場合に
は、ステツプ98にて、条件データが作成され、
前記動作データの後に記憶される。そしてこの条
件データは、記憶領域80の中の条件テーブル8
1の内容を更新する。つまり、全加工データ40
の中の動作データ44aは、そのまま加工エレメ
ントデータ50の工具指定データ43aの後に移
されることになり、また、その中の条件データが
抽出される都度、テーブル81のデータが更新さ
れる。 次に、工具指定データ43bがステツプ91、92
を経由して、ステツプ95に入力されるが、工具指
定データとしては前記データ43aに次いで2回
目であるので、この工具指定データ43bはステ
ツプ99に送られる。ステツプ99では、次の処理が
行なわれる。即ち、今までの過程で更新されて来
た条件テーブル81のデータが、第1の加工エレ
メントの終了条件データとして作成され、前記加
工エレメントデータ50の未尾に、終了条件デー
タ53として付加される。以上により、第1の加
工エレメントデータ50の作成が終了する。 また、第1の加工エレメントデータ50の作成
の終了は、第2の加工エレメントデータ60の生
成の開始を意味しており、前記ステツプ99に引き
続いてステツプ96が実行される。 即ち、ステツプ96においては、前述の第1の加
工エレメントデータ50の場合と同様、加工エレ
メント番号61(「P0001−2」)、定義文42b、
開始条件データ62及び工具指定データ43bが
それぞれ作成され、加工エレメントフアイル25
の2段目に、上記データ61,42b,62及び
43bが続けて記憶される。ここで、開始条件デ
ータ62としては、テーブル81のデータが、ま
た指定工具データ43bとしては、2度目の指定
工具データが記憶されることは勿論である。以
下、前記第1の加工エレメントデータ50の場合
と同様に、この第2の加工エレメントデータ6
0,61,42b,62,43b及び63更に第
3の加工エレメントデータ70,71,42c,
72,43c及び73,………が次々と作成され
る。 最後にFINIコード45が読み込まれると、最
後の段の加工エレメントデータの末尾に、条件テ
ーブル81のデータが終了条件データとして付加
され、全加工データ40の分割が終了する。 作業割付プロセツサ34は、センサ又はデータ
入力端末33からの情報、即ち各機械M1,M2
M3の作業負荷状況、機械故障の有無、工具取付
状態などと、各加工エレメント間の作業先行関係
の条件下に、作業割付を行なう。ここで、複数個
の工具を備えた複数個の機械がある時、どの機械
にどんな作業を割付ければ、最も効率が良いかを
求める探索の手法としては、例えば分岐界値法
(B.B.)或いは分岐探索法(B.P.)という探索の
理論が周知である。 例えば、1つの部品の加工が6個の加工エレメ
ントから成り、機械M1,M2,M3の加工能力が
第1表に示す通りであり、各加工エレメントの作
業先行関係が第5図の通りであつたと仮定する。
第1表において、〇印は、改機械M1〜M3が作業
可能な加工エレメント「P0001−1」〜「P0001
−6」を示し、×印は不可能なものを示す。なお、
可能か不可能かは、各機械M1〜M3の仕様や各機
械M1〜M3に各加工エレメントを実行する工具K
102,K215………が取付けられているか否
かによる。また第1表中、右端は、各加工エレメ
ントの加工時間を示す。
The present invention is an NC machine tool that controls the operation of NC machine tools.
This invention relates to an NC data division and editing device that instantaneously creates new NC data that is required due to changes in workplace conditions based on data. In recent years, machining centers,
Many NC machine tools such as turning centers have been introduced. These machine tools can perform a wider variety of processing than conventional single-purpose machines, contributing to improved productivity. Figure 1 is a perspective view of such a machining workplace, with three NC machine tools, for example.
M 1 to M 3 , numerical control devices 1 to 3 for controlling each NC machine tool, an automatic guided vehicle 4, a stocker 5, and a control computer 6. Each NC machine tool M 1 ~
M3 includes an automatic tool changer (hereinafter referred to as ATC) 7 that automatically changes tools according to commands from numerical control devices 1 to 3.
~9. An automatic pallet exchange device that automatically exchanges the pallet 10 on which processed parts are placed.
Pallet changers (hereinafter referred to as APC) 11 to 13 are equipped. These devices are all controlled based on instructions from the control computer 6. Here, an outline of the machining work at the above-mentioned machining workplace will be explained. First, the processed parts set on the stocker 5 are transported by the automatic transport vehicle 4 to the machines (M 1 to M 3 ) that perform the processing, and are transferred to the APC
(11-13). When the machining of the part that is already being processed by the machine is completed, the APC (11~
13) is automatically reversed, the processed part that was transported earlier is set on the machine, the NC data necessary to process that processed part is sent from the control computer 6, and processing is started. . The tools required for machining are selected by ATC and various machining operations are performed.
The processed parts that have been processed by the machine are returned to the stocker 5 by the automatic transport vehicle 4. Through such a procedure, various parts set in the stocker 5 are processed one after another. Automated programming languages such as APT and EXAPT are used to create the NC data required when machining workpieces. This is a system in which a part programmer creates a part program according to the design drawing, and creates NC data by processing this with an automatic programming device. The machine tools and NC equipment that will process the parts are assumed and created from the beginning. Now, each of the above-mentioned NC machine tools M 1 to M 3 is
Each type of machine can perform many different types of processing, so when processing a single part, there are several alternatives regarding the machine to be used and the processing order. Therefore, it is necessary to decide which work should be performed by which machine in response to changes in the workplace situation, such as changes in the product mix of processed parts, the occurrence of urgent items, excess or deficiency in the amount of work performed by each machine, machine tool failure, tool damage, etc. If you can change work assignments, you can operate your workplace more efficiently. However, with conventional NC data creation methods, when changing the machine used, machining order, etc., it is necessary to recreate the part program in order to obtain the necessary NC data.
The disadvantage was that it was time consuming and, as a result, it was not possible to adapt to changes in the workplace situation. The purpose of the present invention is to eliminate the above-mentioned drawbacks of the prior art, and to respond to changes in workplace conditions by
Enables data to be created instantly. N.C.
An object of the present invention is to provide a data division editing device. A feature of the present invention is that a series of NC data is divided into multiple work units in order to process one part.
This is achieved by providing an NC data division processor and an NC data editing processor that combines and edits the divided data according to the workplace situation at the time. This allows machine tools and
Once you have created a part program without having to fix the NC device, you can instantly create NC data for changes in work assignments depending on workplace conditions. The present invention will be explained in detail below with reference to embodiments shown in FIGS. 2 to 8. Prior to describing the examples, terms used in this specification will be defined as follows. (1) Processing element: The smallest unit when assigning work to machines. That is, a range of work that can be processed with one type of tool is called a processing element. Further, the NC data regarding this machining element is called machining element data. (2) Work precedence relationship: When there is a machining element that must be executed before a certain machining element is executed, the relationship between the former (preceding applied element) and the latter (preceding machining element). For example, in a tap making operation, pilot drilling is a processing element that precedes the tap making operation. Furthermore, the processing order that reduces burrs is also expressed by the work precedence relationship. (3) Work group...Depending on load, setup, operating rate, etc.
A set of ordered machining elements that is work distributed to one machine. (4) Records: NC data, tool path information temporarily stored in a storage device for creating NC data, and command information for various functions of the machine. This is classified into the following definition statements and operation data. (5) Definition statement...Name of part program, machine used,
Define the tools used. (6) Operation data: This is data that specifies the actual operation of the tool, and includes data such as the moving direction, speed, and stop of the tool. Also, the position of tool change,
It shall also include condition data that specifies conditions for machining, such as the rotation angle of the table that supports the part, the clearance between the tool tip and the processed part, the type of cutting agent and its ON/OFF, etc. FIG. 2 shows an overall configuration diagram when the present invention is applied to a jib shop type processing workplace consisting of NC machine tools M1 to M3 . Part program 21 created for each part to be machined according to the design drawing without assuming the machine tool or NC device
is processed by the main processor 22 of the automatic programming device and stored in the total machining data file 23 as a series of all machining data from the first machining to the final machining. The NC data division processor 24, which is one of the features of the present invention, divides the entire machining data for each tool used, creates machining elements, and stores them in the machining element file 25. On the other hand, the work assignment processor 34 takes in the state of the workplace through the sensor or the data input terminal 33, determines the work assignment according to this, and sends the information to the NC data editing processor 26.
Instruct the person to edit. According to this work allocation instruction, the NC data editing processor 26, which is another feature of the present invention,
Combine and edit predetermined machining elements for each machine. Post processor 2 for each machine
7 to 29, each machine
NC data 30 to 32 related to M 1 to M 3 are created. Next, the operation of the NC data division processor 24 in FIG. 2 will be explained using the data configuration diagram shown in FIG. 3 and the flowchart shown in FIG. 4. All the machining data 40 necessary to machining one part is composed of a part program number 41 corresponding to the part and a definition statement 42, as shown in the upper part of FIG.
In order to call tools by multiple sets of ATC,
Tool specification data 43a, 43b, 43c, 43
d...... and operation data 44a, 44b, 44c, 44d... including the operation and conditions of the specified tool.
…and the FINI code 4 indicates the end of the data.
It is composed of 5 and 5. Here, multiple sets of tool specification data and operation data are provided.
This is because multiple tools are generally used when machining one part. NC data division processor 24
The total machining data 40 corresponding to this part is 1
Divide the data of the range to be machined with one tool as one machining element data, for example, disk,
The processing element file 5 is stored in a storage device such as a drum. The machining element data is arranged as 50, 60, and 70 on the lower left side of FIG. Machining element data 5
0, 60, and 70 are machining element number, definition statement, start condition data, tool specification data,
It includes operation data and termination condition data. Next, from the total processing data 40 shown in FIG.
How to process element data 50,6
How to divide and create 0, 70, etc. will be explained using FIG. Note that the number 80 shown on the lower right side of FIG. 3 represents the condition table 81, part program number table 82, and definition statement table 83.
This indicates a storage area consisting of a part of the storage device in which the machining element file 25 is stored, or a part of the storage device built into the NC data division processor 24. May be used. All data 41 to 45 in total processing data 40
When reading out, all tables 81 to 83 in storage area 80 are first cleared in step 90. Steps 91 and 92 convert all machining data 40 into one
It reads each data and identifies what kind of data it is, and based on the identification results,
Step that data 93, 94, 95, 97, 98, 100
Proceed to one of the following. First, the part program number 41, specifically, "P0001" is read out, and this data is stored in the table 82 in the storage area 80 in step 93.
is memorized. Next, the definition statement 42 is executed in step 94.
The information is stored in the table 83 in the storage area 80. Next, the tool designation data 43a is sent to step 95, where the number of inputs of the tool designation data is checked. Since this is the first time the tool designation data is input, this data 43a is sent to step 96.
In step 96, the following processing is performed. First of all, a series number is added to the part program number 41 ("P0001") stored in the table 82, and a machining element number 51 is added.
(for example, "P0001-1") is created. This machining element number 51 is stored in the first stage of the machining element file 25. Second, the definition statement 42 stored in the table 83 is stored after the processing element number 51 as a definition statement 42a. Thirdly, the condition data of the table 81 is stored as the start condition data 52 after the definition statement 42a. Fourthly, the tool designation data 43a that has just been input is stored after the start condition data 52. Next, the operation data 44a includes a plurality of records consisting of pure tool operation data and condition data specifying machining conditions as described above. is identified and sent to step 97 or 98. In the case of motion data, the motion data is created in step 97, and the tool specification data 43 is
It is stored after a. In the case of condition data, the condition data is created in step 98,
It is stored after the operational data. This condition data is stored in the condition table 8 in the storage area 80.
Update the contents of 1. In other words, the total processing data is 40
The motion data 44a in the table 81 is transferred as is after the tool designation data 43a of the machining element data 50, and the data in the table 81 is updated each time condition data therein is extracted. Next, the tool specification data 43b is entered in steps 91 and 92.
This tool specification data 43b is inputted to step 95 via step 95, but since this is the second tool specification data after the data 43a, this tool specification data 43b is sent to step 99. In step 99, the following processing is performed. That is, the data of the condition table 81 that has been updated in the process up to now is created as the end condition data of the first machining element, and is added to the tail of the machining element data 50 as the end condition data 53. . With the above steps, the creation of the first machining element data 50 is completed. Furthermore, the end of the creation of the first machining element data 50 means the start of the creation of the second machining element data 60, and step 96 is executed subsequent to step 99. That is, in step 96, as in the case of the first machining element data 50 described above, the machining element number 61 ("P0001-2"), the definition statement 42b,
Start condition data 62 and tool specification data 43b are respectively created, and machining element file 25
The above data 61, 42b, 62 and 43b are successively stored in the second row. Here, of course, the data of the table 81 is stored as the start condition data 62, and the second designated tool data is stored as the designated tool data 43b. Hereinafter, as in the case of the first machining element data 50, this second machining element data 6
0, 61, 42b, 62, 43b and 63, and third machining element data 70, 71, 42c,
72, 43c and 73, . . . are created one after another. When the FINI code 45 is finally read, the data in the condition table 81 is added as end condition data to the end of the machining element data in the last stage, and the division of all the machining data 40 is completed. The work allocation processor 34 receives information from the sensor or data input terminal 33, that is, each machine M 1 , M 2 ,
Work assignments are made based on the M 3 workload status, presence or absence of machine failure, tool installation status, etc., and work precedence relationships between each machining element. Here, when there are multiple machines equipped with multiple tools, the search method for finding the most efficient way to assign what kind of work to which machine is, for example, the bifurcation threshold method (BB) or A search theory called branch search method (BP) is well known. For example, the machining of one part consists of six machining elements, the machining capacities of machines M 1 , M 2 , and M 3 are as shown in Table 1, and the work precedence relationship of each machining element is as shown in Figure 5. Suppose it was on the street.
In Table 1, ○ marks indicate machining elements "P0001-1" to "P0001" that can be worked on by modified machines M 1 to M 3 .
-6'', and the x mark indicates something that is impossible. In addition,
Whether it is possible or not depends on the specifications of each machine M 1 to M 3 and the tool K that executes each machining element on each machine M 1 to M 3.
102, K215......depends on whether or not they are installed. Furthermore, in Table 1, the right end shows the machining time of each machining element.

【表】 更に、第5図の作業先行関係図の矢印は、例え
ば、加工エレメント(P0001−4)は、加工エレ
メント(P0001−2)及び(P0001−3)の加工
が終了した後でなければ加工を開始できないこと
を意味している。 このような第1表及び第5図に示した各種の情
報は、センサ又はデータ入力端末33から作業割
付プロセツサ34に入力されており、作業割付プ
ロセツサ34は、前記周知の探索の理論に基づ
き、各機械M1〜M3への作業割付を行なう。この
例においては、加工エレメント「P0001−1」及
び「P0001−2」を機械M2が、加工エレメント
「P0001−3」及び「P0001−4」を機械M1が、
更に加工エレメント「P0001−5」及び「P0001
−6」を機械M3がそれぞれ作業すれば、各機械
の加工時間がそれぞれ60分ずつとなり、最も効率
良く作業ができることは容易に理解されよう。第
6A図にこの作業割付図を示し、〇の中に機械の
付号を記入している。 さて、今機械M2が故障したと仮定する。この
場合、今迄機械M2が担当していた作業を、機械
M1とM3に振り分けねばならないし、各機械M1
M3の加工時間も再検討しなければならない。 今、単純に、第1表に示した能力表のうち機械
M2の〇印を×印に置換すると、機械M1,M3
しか作業できない加工エレメントが、第2表の如
く、自ずと割付けられる。
[Table] Furthermore, the arrows in the work precedence relationship diagram in Figure 5 indicate that, for example, machining element (P0001-4) must be processed after machining of machining elements (P0001-2) and (P0001-3) is completed. This means that processing cannot be started. The various kinds of information shown in Table 1 and FIG. Allocate work to each machine M1 to M3 . In this example, machining elements "P0001-1" and "P0001-2" are handled by machine M2 , machining elements "P0001-3" and "P0001-4" are handled by machine M1 ,
Furthermore, processing elements “P0001-5” and “P0001
It is easy to understand that if machine M 3 were to work on "-6" respectively, the processing time for each machine would be 60 minutes, and the work could be done most efficiently. This work allocation diagram is shown in Figure 6A, and the number of the machine is written in the circle. Now, suppose that machine M 2 breaks down. In this case, the work that was previously handled by machine M2 will be replaced by machine M2.
It must be divided into M 1 and M 3 , and each machine M 1 ,
The machining time for M3 must also be reconsidered. Now, let's simply look at the machine's performance in the capacity table shown in Table 1.
When the O mark of M 2 is replaced with an × mark, processing elements that can only be worked on by machines M 1 and M 3 are automatically assigned as shown in Table 2.

【表】 この場合、両機械M1,M3の加工時間は80分ず
つとなり、残つた加工エレメント「P0001−4」
は、どちらに割付けても良いことになる。しか
し、ここで考慮しなければならないことは、部品
の機械から機械への移し換え回数である。移し換
えに費やす時間が長ければ長い程、これは重要な
要素である。 第6B図及び第6C図に、上記加工エレメント
「P0001−4」を機械M1に割付けた場合と、機械
M3に割付けた場合の割付図を示す。図から明ら
かな様に、部品の移し換え回数の少ない第6C図
の割付の方が、第6B図の割付より有利となる。 NCデータの編集は、作業割付プロセツサ34
からの作業割付指示に従つて、NCデータ編集プ
ロセツサ26にて行なわれる。第7図に一編集例
を示し、第8図にそのためのNCデータ編集プロ
セツサ26のフローチヤートを示す。 第7図の上側には、第3図に示した如き分割処
理によつて得られた6個の加工エレメント50,
60,70,110,120及び130を示して
おり、各加工エレメント番号は、第1表に示した
ものと対応させている。第6C図にて説明した如
く、機械M2が故障した場合を想定して、編集処
理の一例を示す。 機械M1のためのNCデータは、加工エレメント
データ50,70とによつて編集され、機械M3
のためのNCデータは、加工エレメントデータ6
0,110,120及び130とによつて編集さ
れる。まず機械M2の故障によつて、該機械M2
センサ又はデータ入力端未33から作業割付プロ
セツサ34に故障情報が伝達されると、作業割付
プロセツサ34は前述した作業割付を実行すると
ともに、その割付結果及び編集指令をNCデータ
編集プロセツサ26に伝達する。NCデータ編集
プロセツサ26は、ステツプ160にて上記割付結
果及び編集指令を読み込み、ステツプ161に移る。
ステツプ161においては、第2図及び第3図に示
した加工エレメントフアイル25から、所定の加
工エレメントデータ(50と70とからなる作業
グループ140,60,110,120及び13
0とからなる作業グループ150)を取出し、並
べる。 第1の作業グループ140について説明しよ
う。ステツプ162においては、ステツプ161にて並
べられた加工エレメントデータ50,70から、
まず、加工エレメントデータ50の開始条件デー
タ52と1つ前の加工エレメントデータの終了条
件データとが比較される。この場合、加工エレメ
ントデータ50の前にはデータが無いから、開始
条件データ52がそのまま初期状態と設定され
る。 次に、加工エレメントデータ70の開始条件デ
ータ72と、1つ前の加工エレメンドデータ50
の終了条件データ53と比較され、違つているも
のがあれば、その違つているデータが開始条件デ
ータ72の後に条件変更データ141として挿入
される。1つの作業グループ内に多くの加工エレ
メントが存在する場合、前述の条件変更データの
挿入作業が次々と行なわれる。 然る後、ステツプ163において開始条件データ
52,72、終了条件データ53,73、2個目
以降のパートプログラム番号71及び定義文42
cが取り除かれる。そしてステツプ164において、
前記データの末尾にFINIコード142が付加さ
れ、第1の作業グループの全加工データ140が
完成される。 第2の作業グループについても同様の処理が行
なわれ、条件変更データ151,152が新規に
挿入されるとともに、FINIコード153が付加
され、第2の作業グループの全加工データ150
が完成される。 なお、全加工データ40から、加工エレメント
データを分割する方法も多種多様なものであり、
例えば、各加工エレメントデータとしては工具指
定データ43a,43b,43c………と、動作
データ44a,44b,44c………とだけから
構成しておき、パートプログラム番号、定義文を
1つの加工エレメントとし、更に、FINI文を1
つの加工エレメントの如くに考えて、加工エレメ
ントフアイルに格納しておき、それぞれの加工エ
レメントに対する開始条件52,62,72……
…と終了条件53,63,73………とを加工エ
レメントと関連づけて記憶領域に記憶しておく方
法がある。この方式によれば編集時には、まずパ
ートプログラム番号、定義文からなる加工エレメ
ントを取り出し、その終了条件と最初に指定され
た加工エレメントの開始条件とを比較して条件変
更データを挿入した後に当該加工エレメントデー
タを結合するという手順を繰り返すことによつて
編集作業が行なえるために、分割編集作業が簡略
化される。 以上、1種類の工具で加工する範囲を加工エレ
メントとして考えたが、加工精度等の制約から、
機械に1回クランプしたら続けて同一機械で加工
しなければならないものがあるため、この条件を
指定することによつて、それを1つの加工エレメ
ントとして取扱う方法も考えられる。 本発明によるNCデータ分割編集装置は、ま
た、混合生産を行なうトランスフアラインのライ
ンバランスを向上させるために用いることができ
る。 無人加工システムにおいて、各機械に取り付け
られている工具を交換することなく、多種類の部
品を加工することができる。また、例えば、加工
中に、ある工具が破損したときでも、作業の代替
が可能な機械に同一工具が取りつけられていれば
その工具を使用することによつて、加工を継続す
ることができる。また、工具交換回数を最も小さ
くするような、作業割付を効率よく行なうことが
できる。上記効果は、すべて、加工エレメントを
単位として作業割付が行なえるためであり、これ
は、本発明により加工エレメントを組み合わせた
NCデータの迅速な作成が可能となつたためであ
る。 また、多種類の小物部品複数個を1つのパレツ
トに取り付けて加工するような場合、その組み合
わせを変えたときのすべてのNCデータを個々に
保存することなく本発明によるNCデータ分割編
集装置により作成できる。 以上述べたように本発明によれば、一つの部品
を加工するための全加工NCデータの複数の加工
エレメントとして分割したものを組み合わせた
NCデータの作成が自由に行なえるので、時々
刻々の職場の変動に対して、加工エレメント単位
の作業割付を行なうことによつて、設備稼動率の
向上、段取時間の削減、部品リードタイムの短縮
等、生産効率の向上が実現できる。
[Table] In this case, the machining time for both machines M 1 and M 3 is 80 minutes each, and the remaining machining element "P0001-4"
can be assigned to either. However, what must be considered here is the number of times parts are transferred from one machine to another. The longer the time spent on the transfer, the more important this factor becomes. Figures 6B and 6C show the case where the above machining element "P0001-4" is assigned to machine M1 , and the machine
The layout diagram when allocated to M 3 is shown. As is clear from the figure, the layout shown in FIG. 6C, which requires fewer parts to be transferred, is more advantageous than the layout shown in FIG. 6B. NC data is edited using the work assignment processor 34.
The NC data editing processor 26 performs the work in accordance with the work allocation instructions from the NC data editing processor 26. FIG. 7 shows an example of editing, and FIG. 8 shows a flowchart of the NC data editing processor 26 for this purpose. The upper part of FIG. 7 shows six processing elements 50 obtained by the division process as shown in FIG.
60, 70, 110, 120, and 130, and each processing element number corresponds to that shown in Table 1. As explained in FIG. 6C, an example of the editing process will be shown assuming that the machine M2 has failed. The NC data for machine M 1 is compiled by machining element data 50, 70, and the NC data for machine M 3
NC data for machining element data 6
0, 110, 120 and 130. First, due to a failure in the machine M 2 , when failure information is transmitted from the sensor or data input terminal 33 of the machine M 2 to the work assignment processor 34 , the work assignment processor 34 executes the aforementioned work assignment, and The allocation result and editing command are transmitted to the NC data editing processor 26. The NC data editing processor 26 reads the above allocation result and editing command in step 160, and proceeds to step 161.
In step 161, predetermined machining element data (work groups 140, 60, 110, 120 and 13 consisting of 50 and 70) is extracted from the machining element file 25 shown in FIGS.
0 and 150) are taken out and arranged. Let us describe the first work group 140. In step 162, from the machining element data 50 and 70 arranged in step 161,
First, the start condition data 52 of the machining element data 50 and the end condition data of the previous machining element data are compared. In this case, since there is no data before the machining element data 50, the start condition data 52 is directly set as the initial state. Next, the start condition data 72 of the machining element data 70 and the previous machining element data 50
If there is any difference, the different data is inserted after the start condition data 72 as condition change data 141. When many machining elements exist in one work group, the above-mentioned operation of inserting condition change data is performed one after another. After that, in step 163, the start condition data 52, 72, the end condition data 53, 73, the second and subsequent part program numbers 71, and the definition statement 42
c is removed. And in step 164,
A FINI code 142 is added to the end of the data, and all processed data 140 of the first work group is completed. Similar processing is performed for the second work group, new condition change data 151 and 152 are inserted, a FINI code 153 is added, and all processed data 150 of the second work group is
is completed. Note that there are various methods of dividing the machining element data from the total machining data 40.
For example, each machining element data consists of only tool specification data 43a, 43b, 43c... and operation data 44a, 44b, 44c..., and the part program number and definition statement are stored in one machining element. and further, add 1 FINI statement to
The starting conditions 52, 62, 72, etc. for each machining element are stored in the machining element file.
... and end conditions 53, 63, 73, . . . are stored in a storage area in association with machining elements. According to this method, when editing, first extracts a machining element consisting of a part program number and definition statement, compares its end condition with the start condition of the first specified machining element, inserts condition change data, and then Since the editing work can be performed by repeating the procedure of combining element data, the dividing editing work is simplified. Above, we considered the range to be machined with one type of tool as a machining element, but due to constraints such as machining accuracy,
Since there are some items that must be machined in the same machine after being clamped once, it is possible to handle them as one processing element by specifying this condition. The NC data division and editing device according to the present invention can also be used to improve the line balance of a transfer line that performs mixed production. In an unmanned machining system, many types of parts can be machined without replacing the tools attached to each machine. Further, for example, even if a certain tool is damaged during machining, if the same tool is attached to a machine that can replace the work, machining can be continued by using that tool. Further, it is possible to efficiently allocate work so as to minimize the number of tool exchanges. All of the above effects are due to the fact that work can be assigned in units of machining elements, and this is due to the fact that the present invention combines machining elements.
This is because it has become possible to quickly create NC data. In addition, when processing multiple small parts of various types on one pallet, all the NC data when changing the combination can be created using the NC data division and editing device of the present invention without having to save them individually. can. As described above, according to the present invention, the entire machining NC data for machining one part is divided into multiple machining elements and combined.
Since NC data can be created freely, it is possible to allocate work to each machining element in response to moment-to-moment changes in the workplace, thereby improving equipment utilization rates, reducing setup time, and shortening component lead times. It is possible to improve production efficiency, such as shortening the time.

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

第1図は、従来より周知の機械加工職場の斜視
図、第2図は、本発明によるNCデータ分割編集
装置を適用した機械加工職場のブロツク図、第3
図及び第4図は、第2図に使用されているNCデ
ータ分割プロセツサの動作を説明するためのデー
タ構成図及びフローチヤート、第5図は作業先行
関係図の一例、第6A図、第6B図及び第6C図
は、作業割付結果を示す図、第7図及び第8図
は、第2図に使用されているNCデータ編集プロ
セツサの動作を説明するためのデータ構成図及び
フローチヤートである。 M1〜M3:NC工作機械、1〜3:数値制御装
置、4:自動搬送車、5:ストツカ、6:制御用
計算機、7〜9:ATC、10:パレツト、11
〜13:APC、21:パートプログラム、2
2:メインプロセツサ、23:全加工データフア
イル、24:NCデータ分割プロセツサ、25:
加工エレメントフアイル、26:NCデータ編集
プロセツサ、27〜29:ポストプロセツサ、3
0〜32:NCデータ、33:センサ又はデータ
入力端末、34:作業割付プロセツサ、40:全
加工データ、50,60,70:加工エレメント
データ、80:記憶領域、110,120,13
0:加工エレメントデータ、140,150:全
加工データ、141,151,152:条件変更
データ、142,153:FINIコード。
FIG. 1 is a perspective view of a conventionally known machining workplace, FIG. 2 is a block diagram of a machining workplace to which the NC data division and editing device of the present invention is applied, and FIG.
Figures 4 and 4 are data configuration diagrams and flowcharts for explaining the operation of the NC data division processor used in Figure 2, Figure 5 is an example of a work precedence relationship diagram, Figures 6A and 6B 7 and 8 are data configuration diagrams and flowcharts for explaining the operation of the NC data editing processor used in FIG. 2. . M 1 to M 3 : NC machine tool, 1 to 3: Numerical control device, 4: Automatic guided vehicle, 5: Stocker, 6: Control computer, 7 to 9: ATC, 10: Pallet, 11
~13: APC, 21: Part program, 2
2: Main processor, 23: All machining data file, 24: NC data division processor, 25:
Machining element file, 26: NC data editing processor, 27-29: Post processor, 3
0 to 32: NC data, 33: Sensor or data input terminal, 34: Work assignment processor, 40: All machining data, 50, 60, 70: Machining element data, 80: Storage area, 110, 120, 13
0: Machining element data, 140, 150: All machining data, 141, 151, 152: Condition change data, 142, 153: FINI code.

Claims (1)

【特許請求の範囲】[Claims] 1 NCデータにより、その動作が制御される
NC工作機械に対してNCデータを作成するNCデ
ータ作成装置において、一連の全加工NCデータ
を複数個の加工エレメントに分割し、全加工NC
データ中の動作データ内に含まれる条件データを
解析することにより各加工エレメントの加工を開
始するための開始条件データ、加工が終了する時
点の終了条件データを作成し、各加工エレメント
の動作データとともに記憶するNCデータ分割プ
ロセツサと、分割された複数個の加工エレメント
のうち所定の1つまたは複数個を編集する際に、
加工エレメントの終了条件と、これに続けて編集
する加工エレメント開始条件とを比較し、その差
異に基づいて新たな条件データを作成し、終了条
件と開始条件との間に挿入して結合編集するNC
データ編集プロセツサとを備えてなるNCデータ
分割編集装置。
1 The operation is controlled by NC data
In an NC data creation device that creates NC data for an NC machine tool, a series of all machining NC data is divided into multiple machining elements, and all machining NC
By analyzing the condition data included in the motion data in the data, start condition data for starting machining of each machining element and end condition data for the time when machining ends are created, and together with the motion data of each machining element. When editing a predetermined one or more of the divided machining elements with the NC data division processor to store,
Compare the end condition of a machining element and the start condition of the machining element that will be edited subsequently, create new condition data based on the difference, insert it between the end condition and start condition, and edit it jointly. N.C.
An NC data division editing device equipped with a data editing processor.
JP3245482A 1982-03-03 1982-03-03 Dividing and editing device of numerical control data Granted JPS58151607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3245482A JPS58151607A (en) 1982-03-03 1982-03-03 Dividing and editing device of numerical control data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3245482A JPS58151607A (en) 1982-03-03 1982-03-03 Dividing and editing device of numerical control data

Publications (2)

Publication Number Publication Date
JPS58151607A JPS58151607A (en) 1983-09-08
JPS6316761B2 true JPS6316761B2 (en) 1988-04-11

Family

ID=12359411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3245482A Granted JPS58151607A (en) 1982-03-03 1982-03-03 Dividing and editing device of numerical control data

Country Status (1)

Country Link
JP (1) JPS58151607A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60214008A (en) * 1984-04-06 1985-10-26 Osaka Kiko Co Ltd Correcting method of work machining precision of numerically controlled machine tool
JPS60235211A (en) * 1984-05-08 1985-11-21 Matsushita Electric Works Ltd Controller of nc working data processing
JP2901353B2 (en) * 1990-12-28 1999-06-07 オークマ株式会社 Numerical control device with machining program editing function for numerically controlled machine tools

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55164595A (en) * 1979-06-05 1980-12-22 Yamaha Motor Co Ltd Linking device for steering device in small-sized vessel

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55164595A (en) * 1979-06-05 1980-12-22 Yamaha Motor Co Ltd Linking device for steering device in small-sized vessel

Also Published As

Publication number Publication date
JPS58151607A (en) 1983-09-08

Similar Documents

Publication Publication Date Title
US4580207A (en) Numerical control data dividing and editing apparatus for numerical control machine tool
US6502007B1 (en) Optimization method and device of NC program in NC machining
EP0134935A2 (en) Method and apparatus for preparing spare tools for a machine tool
EP0220325B1 (en) Method of preparing program for drilling holes
EP0148273B1 (en) Numerical control apparatus
US4814999A (en) Automatic programming system
JPS6316761B2 (en)
EP1394642B1 (en) Multi-system numerical control device
US5083071A (en) Spindle control system
JPH07334219A (en) Numerical controller for numerically controlled lathe with automatic tool exchanging device
JP3203265B2 (en) Control method of processing machine group in FMS
JPS61214956A (en) Scheduling method
JPH0643920A (en) Tool control system
Tomek Tooling concepts for FMS
JPH02232150A (en) Tool conveyance control method and device thereof in fms
JPH0716844B2 (en) NC machine tool tool editing device
JPH05220643A (en) Pallet allocating device and nc program preparing method
JPS62140739A (en) Setting device for machining order in automatic machine
JPH11245141A (en) Process design automating system for machining line
JPS60214008A (en) Correcting method of work machining precision of numerically controlled machine tool
JPH0290302A (en) Production system for numerical control information
JPH07148643A (en) Nc data preparing method and nc machining method
JPS62236642A (en) Automatic tool arranging device for nc lathe
JPH02205458A (en) Control method for system based on production program
JPS60171505A (en) Control system of machine control program for numerical control system