JPH0550358A - Work carrying-in requisition adding method for numerical control program - Google Patents

Work carrying-in requisition adding method for numerical control program

Info

Publication number
JPH0550358A
JPH0550358A JP3207092A JP20709291A JPH0550358A JP H0550358 A JPH0550358 A JP H0550358A JP 3207092 A JP3207092 A JP 3207092A JP 20709291 A JP20709291 A JP 20709291A JP H0550358 A JPH0550358 A JP H0550358A
Authority
JP
Japan
Prior art keywords
block
time
work
program
machine 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.)
Pending
Application number
JP3207092A
Other languages
Japanese (ja)
Inventor
Tatsuo Isozaki
達夫 磯崎
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3207092A priority Critical patent/JPH0550358A/en
Publication of JPH0550358A publication Critical patent/JPH0550358A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • General Factory Administration (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To improve the extent of operation rate by calculating operation time at each block of a numerical control program, adding the operation time to the forefront block from the final one, and when the total amount has become more than the work carry-in required time, making a carry-in requisition so as to be added to the finally added block. CONSTITUTION:A premade NC program is stored in an external memory 4 in advance. When execution of a work carry-in requisition adding program is started, a processor 5 takes out the NC program one block at a time, thereby calculating the operation time of a NC machine of the block. In succession, this operation time is successively added to the forefront block from the final block, while at each addition, it is compared with the work carry-in required time. Then, if it has become more than the work carry-in required time, a work carry-in requisition is added to the finally added block.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数値制御プログラムに
数値制御工作機械へのワーク搬入要求を付加する方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for adding a work load request to a numerically controlled machine tool to a numerically controlled program.

【0002】[0002]

【従来の技術】コンピュータにより数値制御プログラム
を作成する方法として、自動プログラミングと称される
ものがある。これは、例えばCADにより作成した図形
データファイルを基に使用工具、切削条件などの加工条
件を自動的に決定する。そして、その加工条件に基づい
た工具経路を自動的に算出してその結果を工具の動きの
経路を示すCLデータとしてCLファイルに格納する、
というものである。
2. Description of the Related Art As a method of creating a numerical control program by a computer, there is one called automatic programming. This automatically determines machining conditions such as tools to be used and cutting conditions based on a graphic data file created by CAD, for example. Then, the tool path based on the machining conditions is automatically calculated, and the result is stored in the CL file as CL data indicating the tool movement path.
That is.

【0003】上述のようにして作成したCLデータは一
般解なので、これを実際に使用する数値制御工作機械に
適したフォーマットに変換し、これを数値制御データフ
ァイルに格納するようにしている。
Since the CL data created as described above is a general solution, it is converted into a format suitable for the numerical control machine tool to be actually used and stored in the numerical control data file.

【0004】一方、最近では、数値制御工作機械をロボ
ット、自動搬送装置などと有機的に結合し、全体をコン
ピュータにより制御する生産システム、いわゆるフレキ
シブルマニュファクチャリングシステム(以下、FMS
と称する)が考えられている。このFMS用のNCプロ
グラムにあっては、数値制御データファイルに格納され
た数値制御プログラムの最終ブロックにワーク搬入要求
コードを書き込み、1個のワークの加工が終了した時点
で次のワークの搬入指令を出力するようにしている。
On the other hand, recently, a so-called flexible manufacturing system (hereinafter, referred to as FMS) in which a numerically controlled machine tool is organically combined with a robot, an automatic carrier, etc., and the whole is controlled by a computer.
Is called). In this NC program for FMS, a work carry-in request code is written in the last block of the numerical control program stored in the numerical control data file, and when the machining of one work is completed, the next work carry-in command is issued. Is output.

【0005】[0005]

【発明が解決しようとする課題】ところが、上記従来の
ワーク搬入要求コード書き込み位置では、数値制御プロ
グラムの終了直前でしかワーク搬入指令が出力されな
い。このため、自動搬送装置が例えば無人搬送車であっ
た場合、ワークが数値制御工作機械に到着するまでにか
なりの時間を要し、この時間は数値制御工作機械にとっ
ては無駄な待機時間となり、稼働率が低くなる。
However, at the conventional work loading request code writing position, the work loading command is output only immediately before the end of the numerical control program. Therefore, if the automatic carrier is, for example, an unmanned guided vehicle, it takes a considerable amount of time for the workpiece to reach the numerically controlled machine tool, and this time is a wasteful waiting time for the numerically controlled machine tool. The rate is low.

【0006】本発明は上記の事情に鑑みてなされたもの
で、その目的は、ワークの到着を待つための待機時間が
生ぜず、生じても短い待機時間で済み、数値制御工作機
械の稼働率を高めることができる数値制御プログラムへ
のワーク搬入要求付加方法を提供するにある。
The present invention has been made in view of the above circumstances, and an object thereof is to avoid a waiting time for waiting for a work to arrive, and even if it occurs, a short waiting time is required, and the operating rate of a numerically controlled machine tool is high. It is to provide a method for adding a work carry-in request to a numerical control program that can improve the performance.

【0007】[0007]

【課題を解決するための手段】本発明の数値制御プログ
ラムへのワーク搬入要求付加方法は、数値制御プログラ
ムを1ブロックずつ取り出して各ブロック毎に数値制御
工作機械の動作時間を算出する行程と、前記数値制御工
作機械の動作時間を最終ブロックから先頭ブロックに向
かって順に加算する行程と、数値制御工作機械の動作時
間を1ブロック加算する毎にその累計が数値制御工作機
械へのワーク搬入所要時間以上か否かを判断する行程
と、数値制御工作機械の動作時間の累計がワーク搬入所
要時間以上と判断したとき最後に加算したブロックにワ
ーク搬入要求を付加する行程とを実行することを特徴と
するものである。
A method of adding a work carry-in request to a numerical control program according to the present invention includes a step of taking out the numerical control program one block at a time and calculating an operation time of the numerical control machine tool for each block. The process of sequentially adding the operation time of the numerically controlled machine tool from the last block to the first block, and the total of the addition of one block of the operation time of the numerically controlled machine tool is the time required to carry the work into the numerically controlled machine tool. It is characterized by executing a process of determining whether or not the above, and a process of adding a work loading request to the last added block when it is determined that the cumulative operation time of the numerically controlled machine tools is more than the work loading required time. To do.

【0008】[0008]

【作用】数値制御プログラムが進行し、ワーク搬入要求
が付加されたブロックの実行に移ると、ここでワーク搬
入指令が出力される。このワーク搬入指令が出力される
と、自動搬送装置が数値制御工作機械へワークを搬入す
る動作を開始する。
When the numerical control program progresses to move to the execution of the block to which the work carry-in request is added, the work carry-in command is output here. When this work carry-in command is output, the automatic carrying device starts the work of carrying the work into the numerically controlled machine tool.

【0009】ワーク搬入指令の出力時点は、当該時点か
ら数値制御工作機械がワークの加工を終了するまでの時
間が、自動搬送装置がワークを数値制御工作機械に搬入
するに要する時間以上の時点であるから、数値制御工作
機械がワークの加工を終了した時点、或いはそれよりも
以前にワークが数値制御工作機械まで搬送されているこ
ととなる。
The output time of the work loading command is a time from the time when the numerically controlled machine tool finishes the machining of the work to a time longer than the time required for the automatic carrier to carry the work into the numerically controlled machine tool. Therefore, it means that the work is conveyed to the numerically controlled machine tool at the time when the numerically controlled machine tool finishes machining the work or before that.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】まずNCプログラムを作成する自動プログ
ラミング装置を示す図6において、1はグラフィックデ
ィスプレー、2および3はキーボードやマウスなどの入
力装置、4は外部記憶装置、5はプログラムの実行およ
び各機器の統括制御を行うプロセッサである。
First, in FIG. 6 showing an automatic programming device for creating an NC program, 1 is a graphic display, 2 and 3 are input devices such as a keyboard and a mouse, 4 is an external storage device, 5 is program execution and each device This is a processor that performs overall control.

【0012】上記外部記憶装置4には、数値制御(以
下、単にNCと称する)プログラムを自動作成するため
の自動プログラム、作成されたNCプログラムにより制
御されるNC工作機械の動作時間を算出するための各種
データ、NCプログラムにワーク搬入要求を付加するた
めのワーク搬入要求付加プログラムなどが格納されてい
る。
In the external storage device 4, an automatic program for automatically creating a numerical control (hereinafter simply referred to as NC) program, and for calculating an operating time of an NC machine tool controlled by the created NC program Various data, a work carry-in request addition program for adding a work carry-in request to the NC program, and the like are stored.

【0013】さて、上記ワーク搬入要求付加プログラム
は、図1に示すように、動作時間算出ルーチンR1とワ
ーク搬入要求コード付加ルーチンR2とを順に実行する
ように設定されている。このようなワーク搬入要求付加
プログラムによってNCプログラムにワーク搬入要求を
付加する手順を図2ないし図5を参照しながら説明す
る。
As shown in FIG. 1, the work loading request addition program is set to sequentially execute the operation time calculation routine R1 and the work loading request code addition routine R2. A procedure for adding a work carry-in request to the NC program by such a work carry-in request addition program will be described with reference to FIGS.

【0014】今、外部記憶装置4には既に作成されたN
Cプログラムが格納されているものとする。このNCプ
ログラムの一例を図4に示すが、この例ではNCプログ
ラムはN1 からN50までの50ブロックで構成されてい
る。
Now, the external storage device 4 has already created N
It is assumed that the C program is stored. An example of this NC program is shown in FIG. 4. In this example, the NC program is composed of 50 blocks from N1 to N50.

【0015】さて、ワーク搬入要求付加プログラムの実
行が開始されると、まず図2に示す動作時間算出ルーチ
ンR1が実行される。この動作時間算出ルーチンR1で
は、プロセッサ5は、NCプログラムを1ブロックずつ
取り出し、そのブロックにおけるNC工作機械の動作時
間(以下、単に動作時間と称する)を算出するが、ここ
では説明の簡単化のためにNC工作機械の工具移動時間
だけを算出するものとして説明する。
When the execution of the work carry-in request addition program is started, first, the operation time calculation routine R1 shown in FIG. 2 is executed. In this operation time calculation routine R1, the processor 5 fetches the NC program one block at a time and calculates the operation time of the NC machine tool in that block (hereinafter, simply referred to as operation time). Therefore, it is assumed that only the tool movement time of the NC machine tool is calculated.

【0016】さて、動作時間算出ルーチンR1が開始さ
れると、ステップS1でNCプログラムのブロックを指
定するためのカウンタのカウント値nをゼロクリアし、
ステップS2でそのカウント値nに「1」を加え、ステ
ップS3に移行する。ステップS3では、外部記憶装置
4に格納されたNCプログラムのうちから、n番目のブ
ロックのデータを取り出す。ここでは、ステップS2で
n=1に設定されたわけであるから、ステップS3の実
行により図4に示すNCプログラムの1番目のブロック
N1のデータが取り出される。
When the operation time calculation routine R1 is started, the count value n of the counter for designating the block of the NC program is cleared to zero in step S1.
In step S2, "1" is added to the count value n, and the process proceeds to step S3. In step S3, the data of the n-th block is extracted from the NC program stored in the external storage device 4. Here, since n = 1 was set in step S2, the data of the first block N1 of the NC program shown in FIG. 4 is taken out by executing step S3.

【0017】次のステップS4では、ステップS3で取
り出したブロックのデータから動作時間Tnを演算し、
次のステップS5で動作時間Tnを外部記憶装置4の動
作時間記憶領域のn番目に格納する。ここでは、ステッ
プS3で取り出したブロックが1番目(N1ブロック)
であり、そのN1ブロックのデータ中の準備コード(G
コード)が座標系に対する工具の現在位置を設定する原
点設定コード(G92)であるため、工具の移動はな
い。従って、ステップS4でNC工作機械の動作時間T
1は「0」と演算され、ステップS6でその動作時間T
1が図5に示すように外部記憶装置4の動作時間記憶領
域の1番目に格納される。
In the next step S4, the operating time Tn is calculated from the data of the block extracted in step S3,
In the next step S5, the operating time Tn is stored in the n-th operating time storage area of the external storage device 4. Here, the block extracted in step S3 is the first block (N1 block).
And the preparation code (G
Since the code) is the origin setting code (G92) for setting the current position of the tool with respect to the coordinate system, the tool does not move. Therefore, in step S4, the operation time T of the NC machine tool is
1 is calculated as "0", and the operation time T is calculated in step S6.
1 is stored first in the operating time storage area of the external storage device 4 as shown in FIG.

【0018】ステップS6では、ステップS3で取り出
したブロックが最終ブロックであるか否かを判断する。
この判断は、ブロックのデータ中にプログラムエンドを
示すコード(M02、M30など)があるか否かによっ
てなされる。ステップS3で取り出したN1ブロックの
データには、プログラムエンドを示すコードはないの
で、ここでは「NO」と判断され、ステップS2に戻
る。
In step S6, it is determined whether the block extracted in step S3 is the final block.
This determination is made based on whether or not there is a code (M02, M30, etc.) indicating the program end in the data of the block. Since the data of the N1 block fetched in step S3 does not include a code indicating the program end, it is determined to be “NO” here, and the process returns to step S2.

【0019】この2回目のステップS2の実行により、
カウント値nが「2」にカウントアップされるので、次
のステップS3でNCプログラムのうちからN2ブロッ
クのデータが取り出され、ステップS4でN2ブロック
の動作時間T2が演算される。ここで、N2ブロックの
準備コードは早送りコード(G00)であるため、動作
指令位置であるX,Z指令値と前ブロック(ここではN
1ブロック)の工具位置との差を移動距離として早送り
速度、加減速における時定数などの既入力データを基に
工具の移動時間T2を演算し、外部記憶装置4の動作時
間記憶領域の2番目に格納する。ここでは、N2ブロッ
クの動作時間T2が5秒と演算されたものとする。
By executing the second step S2,
Since the count value n is counted up to "2", the data of the N2 block is extracted from the NC program in the next step S3, and the operation time T2 of the N2 block is calculated in step S4. Here, since the preparation code of the N2 block is the fast-forward code (G00), the X and Z command values, which are operation command positions, and the previous block (N in this case).
The movement time T2 of the tool is calculated based on the already input data such as the rapid feed rate and the time constant in acceleration / deceleration with the difference between the tool position of 1 block) as the movement distance and the second time in the operation time storage area of the external storage device 4. To store. Here, it is assumed that the operation time T2 of the N2 block is calculated to be 5 seconds.

【0020】以下、同様にしてN3ブロック以降の動作
時間が順次演算され、その演算結果が外部記憶装置4の
動作時間記憶領域に順番に格納される。そして、N50
ブロックの動作時間T50を外部記憶装置4に格納する
ステップS5が終了して次のステップS6に移行する
と、このN50ブロックのデータはプログラムエンドを
示す「M30」となっているので、ステップS6で「Y
ES」となり、以上にて動作時間算出ルーチンR1を終
了し、次の図3に示すワーク搬入要求コード付加ルーチ
ンR2に移行する。
In the same manner, the operation times of the N3 block and thereafter are sequentially calculated, and the calculation results are sequentially stored in the operation time storage area of the external storage device 4. And N50
When the step S5 of storing the operation time T50 of the block in the external storage device 4 is completed and the process proceeds to the next step S6, the data of this N50 block is "M30" indicating the program end. Y
Then, the operation time calculation routine R1 is completed, and the process proceeds to the work loading request code addition routine R2 shown in FIG.

【0021】ワーク搬入要求コード付加ルーチンR2で
は、まずステップS1にて、現累計動作時間Tおよび前
累計動作時間tをカウントするカウンタをゼロクリア
し、次のステップS2で前記NCプログラムのブロック
を指定するためのカウンタのカウント値nに基づいて、
外部記憶装置4の動作時間記憶領域のn番目に格納され
ている動作時間Tnを読み出す。ここでは、前述した動
作時間算出ルーチンR1においてn=50に設定されて
いるので、ステップS2では外部記憶装置4の動作時間
記憶領域の50番目に格納されている動作時間を取り出
す。
In the work carry-in request code addition routine R2, first in step S1, a counter for counting the current cumulative operating time T and the previous cumulative operating time t is cleared to zero, and in the next step S2, the block of the NC program is designated. Based on the count value n of the counter for
The operation time Tn stored in the n-th operation time storage area of the external storage device 4 is read. Here, since n = 50 is set in the operation time calculation routine R1 described above, the operation time stored in the 50th operation time storage area of the external storage device 4 is extracted in step S2.

【0022】そして、取り出した動作時間Tnを次のス
テップS3で前累計動作時間tに加算して現累計動作時
間Tを算出する。ここでは、図5に示すように、50番
目の動作時間は「0」であるから、現累計動作時間Tは
「0」となる。次のステップS4では、現累計動作時間
Tが無人搬送車のワーク搬入所要時間T0 以上であるか
否かを判断する。ここで、無人搬送車のワーク搬入所要
時間T0 が60秒であるとすると、T<T0 であるか
ら、「NO」と判断され、次のステップS5に移行す
る。ステップS5では、nが「1」であるか否かを判断
する。ここでは、nは50であるから、ステップS5で
は「NO」とされ、ステップS6に移行する。ステップ
S6では、現累計動作時間tを前累計動作時間Tに変換
し、その後、nから「1」を減ずるステップS7を実行
し、ステップS2に戻る。ここでは、ステップS6の実
行によりtは「0]に設定され、nは49に設定された
こととなる。
Then, the taken-out operating time Tn is added to the previous cumulative operating time t in the next step S3 to calculate the current cumulative operating time T. Here, as shown in FIG. 5, the fiftieth operation time is "0", so the current cumulative operation time T is "0". In the next step S4, it is determined whether or not the present cumulative operating time T is equal to or longer than the work loading required time T0 of the automatic guided vehicle. Here, if the required time T0 for carrying in the work of the automatic guided vehicle is 60 seconds, T <T0, so that it is judged as "NO", and the routine proceeds to the next step S5. In step S5, it is determined whether or not n is "1". Here, since n is 50, it is set to "NO" in step S5, and the process proceeds to step S6. In step S6, the current cumulative operating time t is converted into the previous cumulative operating time T, and then step S7 of subtracting "1" from n is executed, and the process returns to step S2. Here, t is set to "0" and n is set to 49 by executing step S6.

【0023】さて、第2回目のステップS2の実行によ
り、外部記憶装置4の動作時間記憶領域の49番目に格
納されている動作時間T49を読み出す。ここでは、T49
=5であるから、次のステップS3でt+T49を演算す
ることにより、現累計動作時間Tが5と算出され、次の
ステップS4でTがT0 以上であるか否かを判断する。
ここでは、T=5であるから、「NO」とされ、上述し
たと同様にしてステップS2に戻る。
By the second execution of step S2, the operation time T49 stored in the 49th operation time storage area of the external storage device 4 is read. Here, T49
= 5, the current cumulative operating time T is calculated as 5 by calculating t + T49 in the next step S3, and it is determined in the next step S4 whether T is T0 or more.
Here, since T = 5, it is determined as "NO", and the process returns to step S2 in the same manner as described above.

【0024】第3回目のステップS2の実行により、外
部記憶装置4の動作時間記憶領域の48番目に格納され
ている動作時間T48を読み出す。ここでは、T48=30
であるから、次のステップS3において、T=t+T48
を演算してT=35が算出される。ここでは、まだT<
T0であるから、上述したと同様にしてステップS2に
戻り、ステップS2において、外部記憶装置4の動作時
間記憶領域の47番目に格納されている動作時間T47を
読み出す。図5に示すように、T47=28であるから、
次のステップS3において、T=t+T47を演算してT
=63が算出される。この段階でT≧T0となるので、
次のステップS4にて「YES」と判断され、ステップ
S8に移行する。
By executing step S2 for the third time, the operating time T48 stored at the 48th position in the operating time storage area of the external storage device 4 is read. Here, T48 = 30
Therefore, in the next step S3, T = t + T48
Is calculated to obtain T = 35. Here, T <
Since it is T0, the process returns to step S2 in the same manner as described above, and in step S2, the 47th operation time T47 stored in the operation time storage area of the external storage device 4 is read. As shown in FIG. 5, since T47 = 28,
In the next step S3, T = t + T47 is calculated to obtain T
= 63 is calculated. Since T ≧ T0 at this stage,
In the next step S4, "YES" is determined, and the process proceeds to step S8.

【0025】このステップS8は、NCプログラムの各
ブロックうち、カウンタ値nが示す番号のブロックにワ
ーク搬入要求を示すコードを付加する。ここでは、nは
47になっているので、図4のNCプログラムのうち、
N47のブロックにワーク搬入要求コードを付加する。
そして、このコード付加を行うステップS8の実行によ
りワーク搬入要求コード付加ルーチンR2はエンドとな
り、以てワーク搬入要求付加プログラムを終了する。
In step S8, a code indicating a work carry-in request is added to the block of the number indicated by the counter value n among the blocks of the NC program. Here, since n is 47, among the NC programs in FIG.
The work carry-in request code is added to the block N47.
Then, the work carry-in request code addition routine R2 is ended by executing step S8 for adding the code, and the work carry-in request addition program is ended.

【0026】なお、ワーク搬入要求コード付加ルーチン
R2において、ステップS5で「YES」、すなわちN
Cプログラムの最終ブロックから先頭ブロックまでの動
作時間の累計Tが無人搬送車のワーク搬入所要時間T0
以下であった場合には、ステップS8に移行して先頭ブ
ロックにワーク搬入要求コードを付加し、ワーク搬入要
求コード付加ルーチンR2を終了するものである。
In the work carry-in request code addition routine R2, "YES" in the step S5, that is, N
The cumulative operation time T from the last block to the first block of the C program is the work transfer required time T0 of the automated guided vehicle.
In the case of the following, the process proceeds to step S8, the work carry-in request code is added to the leading block, and the work carry-in request code addition routine R2 is ended.

【0027】上述のようにしてブロックN47にワーク
搬入要求コードが付加されたNCプログラムによりNC
工作機械を制御すると、NC工作機械がN47のブロッ
クの指令に基づいた動作を開始する直前の時点でワーク
搬入要求を出力する。すると、機械工場全体を制御する
ホストコンピュータがそのワーク搬入要求に基づいて無
人搬送車にワークをNC工作機械に搬入する動作を開始
させる。これにより、約60秒後に新たなワークがNC
工作機械に搬入されることとなる。そして、このワーク
搬入と略同時期にNC工作機械側においてもワークの加
工を終了するので、無駄な待機時間が生ずることがな
く、NC工作機械の稼働率が高くなる。
NC is executed by the NC program in which the work carry-in request code is added to the block N47 as described above.
When the machine tool is controlled, a work carry-in request is output immediately before the NC machine tool starts the operation based on the command of the block N47. Then, the host computer that controls the entire machine factory starts the operation of loading the work into the NC machine tool on the automatic guided vehicle based on the work loading request. As a result, a new work will be NC after about 60 seconds.
It will be carried into the machine tool. Then, since the machining of the work is completed on the NC machine tool side at substantially the same time as the work-in, the NC machine tool has a high operating rate without any unnecessary waiting time.

【0028】また、ワーク搬入要求コードを一義的にN
Cプログラムの先頭ブロックに付加するものでは、無人
搬送車によりワークがNC工作機械に搬入されても、当
該NC工作機械は未だワークの加工中にある場合が生
じ、この場合には無人搬送車は加工終了するまで長い時
間待機しなければならなくなるという不具合を生ずる。
しかしながら、本実施例では、無人搬送車の無駄な待機
時間の発生をも極力防止でき、無人搬送車をも効率良く
稼働させることができるものである。なお、NC工作機
械にワークを搬入する装置としては、無人搬送車に限ら
ず、ロボットなどであっても良い。
Further, the work carry-in request code is uniquely N
In the case of adding to the head block of the C program, even if the workpiece is loaded into the NC machine tool by the automatic guided vehicle, the NC machine tool may still be in the process of machining the workpiece. This causes a problem that a long time has to be waited until the processing is completed.
However, in this embodiment, it is possible to prevent useless waiting time of the automatic guided vehicle as much as possible, and it is possible to operate the automatic guided vehicle efficiently. The device for loading the work into the NC machine tool is not limited to the automatic guided vehicle, but may be a robot or the like.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、N
Cプログラムの最終ブロックから先頭ブロックに向かっ
て各ブロック毎の動作時間を累計し、その累計時間がワ
ークの搬入に要する時間よりも長くなったとき、そのブ
ロックにワーク搬入要求コードを付加する構成としたこ
とにより、そのNCプログラムにより制御されるNC工
作機械において、ワークの加工終了時点よりワーク搬入
に要する時間だけ前の時点でワーク搬入要求を出力する
ことができるので、ワークの待ち時間がなく、また待ち
時間が生じてもわずかな時間で済み、NC工作機械の稼
働率を高くすることができるという優れた効果を奏する
ものである。
As described above, according to the present invention, N
The operation time of each block is accumulated from the last block of the C program toward the first block, and when the accumulated time is longer than the time required to carry in the work, the work carry-in request code is added to the block. As a result, in the NC machine tool controlled by the NC program, the work carry-in request can be output at the time before the time required for carrying in the work from the time when the machining of the work is completed, so that there is no waiting time for the work, Further, even if a waiting time occurs, it takes only a short time, and the excellent effect that the operating rate of the NC machine tool can be increased is obtained.

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

【図1】本発明の一実施例を示すワーク搬入要求付加プ
ログラムのフローチャート
FIG. 1 is a flowchart of a work carry-in request addition program showing an embodiment of the present invention.

【図2】ワーク搬入要求付加プログラムの動作時間算出
ルーチンのフローチャート
FIG. 2 is a flowchart of an operation time calculation routine of a work carry-in request addition program.

【図3】ワーク搬入要求付加プログラムのワーク搬入要
求コード付加ルーチンのフローチャート
FIG. 3 is a flowchart of a work carry-in request code addition routine of a work carry-in request addition program.

【図4】NCプログラムの一例を示す図FIG. 4 is a diagram showing an example of an NC program.

【図5】ブロック毎の動作時間を記憶した領域の概念図FIG. 5 is a conceptual diagram of an area in which an operation time for each block is stored.

【図6】自動プログラミング装置のハード構成図FIG. 6 is a hardware configuration diagram of the automatic programming device.

【符号の説明】[Explanation of symbols]

1はグラフィックディスプレイ、2,3は入力装置、4
は外部記憶装置、5はプロセッサである。
1 is a graphic display, 2 and 3 are input devices, 4
Is an external storage device, and 5 is a processor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 数値制御プログラムを1ブロックずつ取
り出して各ブロック毎に数値制御工作機械の動作時間を
算出する行程と、前記数値制御工作機械の動作時間を最
終ブロックから先頭ブロックに向かって順に加算する行
程と、数値制御工作機械の動作時間を1ブロック加算す
る毎にその累計が数値制御工作機械へのワーク搬入所要
時間以上か否かを判断する行程と、数値制御工作機械の
動作時間の累計がワーク搬入所要時間以上と判断したと
き最後に加算したブロックにワーク搬入要求を付加する
行程とを実行することを特徴とする数値制御プログラム
へのワーク搬入要求付加方法。
1. A process of extracting a numerical control program block by block and calculating the operation time of the numerically controlled machine tool for each block, and the operation time of the numerically controlled machine tool is sequentially added from the last block to the first block. And the total of the operation time of the numerically controlled machine tool and the process of determining whether the total is more than the time required to carry the work into the numerically controlled machine tool every time the operating time of the numerically controlled machine tool is added And a step of adding a work carry-in request to the last added block when it is determined that the work carry-in request time is longer than the work carry-in request time.
JP3207092A 1991-08-20 1991-08-20 Work carrying-in requisition adding method for numerical control program Pending JPH0550358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3207092A JPH0550358A (en) 1991-08-20 1991-08-20 Work carrying-in requisition adding method for numerical control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3207092A JPH0550358A (en) 1991-08-20 1991-08-20 Work carrying-in requisition adding method for numerical control program

Publications (1)

Publication Number Publication Date
JPH0550358A true JPH0550358A (en) 1993-03-02

Family

ID=16534071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3207092A Pending JPH0550358A (en) 1991-08-20 1991-08-20 Work carrying-in requisition adding method for numerical control program

Country Status (1)

Country Link
JP (1) JPH0550358A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7167772B2 (en) * 2004-04-07 2007-01-23 Okuma Corporation Machining time calculating apparatus
JP2015182173A (en) * 2014-03-24 2015-10-22 ファナック株式会社 Robot control device having function of predicting working completion time of machine tool

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7167772B2 (en) * 2004-04-07 2007-01-23 Okuma Corporation Machining time calculating apparatus
JP2015182173A (en) * 2014-03-24 2015-10-22 ファナック株式会社 Robot control device having function of predicting working completion time of machine tool
US9715227B2 (en) 2014-03-24 2017-07-25 Fanuc Corporation Robot controller having function of predicting processing completion time of machine tool

Similar Documents

Publication Publication Date Title
US20140088755A1 (en) Numerical controller with inter-path waiting function
JP2003303005A (en) Numerical control device
US10324444B2 (en) Numerical controller including tool retracting function for avoidance of interference
US4507738A (en) Numerical control method
US20080103625A1 (en) Numerical controller with machining resume function
US4173786A (en) Method and apparatus for cutting a thread on a rotating workpiece
WO2022034848A1 (en) Numerical control system and robot control method
US5930141A (en) Method of controlling access to storage means in numerical-control system, and numerical-control system
JPH0550358A (en) Work carrying-in requisition adding method for numerical control program
JPH02146607A (en) Interpolation system for nc transfer command
EP0107794A1 (en) Numerical control system
EP0310671B1 (en) Numerical control method capable of variably setting positioning precision
US4495561A (en) Numerical control method
US11194313B2 (en) Numerical controller
JP2642203B2 (en) Numerical control information creation device
JPS60180749A (en) Correction controlling method for machining reference point in numerically controlled lathe
WO1993001535A1 (en) Method for specifying position where fillet curved surface is located
JPH056213A (en) Method and device for controlling industrial robot
JPH06119031A (en) Nc data generating method for working of cut remaining part
JPS6063605A (en) Numerical controller with composite skipping function
JP2584225B2 (en) Numerical control unit
JP2001154719A (en) Method for interpolating free curve
US11226609B2 (en) Numerical controller
JP2002091526A (en) Numerical controller
JP3195646B2 (en) Motor drive control device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080526

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090526

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090526

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100526

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20100526

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20110526

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 12