JP4627821B2 - Laser processing apparatus and interrupt processing method thereof - Google Patents

Laser processing apparatus and interrupt processing method thereof Download PDF

Info

Publication number
JP4627821B2
JP4627821B2 JP09689499A JP9689499A JP4627821B2 JP 4627821 B2 JP4627821 B2 JP 4627821B2 JP 09689499 A JP09689499 A JP 09689499A JP 9689499 A JP9689499 A JP 9689499A JP 4627821 B2 JP4627821 B2 JP 4627821B2
Authority
JP
Japan
Prior art keywords
machining
command
interrupt
processing
machining program
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 - Fee Related
Application number
JP09689499A
Other languages
Japanese (ja)
Other versions
JP2000293212A (en
Inventor
厚司 舟木
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.)
Amada Co Ltd
Original Assignee
Amada Co 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 Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP09689499A priority Critical patent/JP4627821B2/en
Publication of JP2000293212A publication Critical patent/JP2000293212A/en
Application granted granted Critical
Publication of JP4627821B2 publication Critical patent/JP4627821B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はNC加工装置及びその割込処理方法に係り、特に、予め決められた加工スケジュールに従った自動運転中のNC加工装置に対して、迅速に手動または自動の割込加工を許可するとともに、割り込み後の元の加工プログラムへの復帰を容易としたNC加工装置及びその割込処理方法に関する。
【0002】
【従来の技術】
近年、各種のNC加工装置で連続無人運転が行われている。例えば、レーザー加工装置の分野では、ワークテーブルに材料載置パレットが交換可能に配置され、ワークテーブルに対する材料の搬入出が材料載置パレット毎に行われ、ワークテーブルに配置された材料載置パレットの材料にレーザ加工を行うものがある。更に、連続自動運転のために、複数個の材料載置パレットを各棚に出し入れ可能に格納するパレットストッカと、材料載置パレットをパレットストッカから取り出してこれをワークテーブルに交換可能に搬送するパレットチェンジャとを付属設備として有するレーザ加工装置が知られている。
【0003】
尚、レーザ加工装置においては、加工ヘッドの軸移動量を少なくするために、材料単位の加工プログラム(シートプログラム)を使用するよりも、一つの製品をレーザ加工するための、即ち一つの製品の加工軌跡を定義する製品加工プログラムを使用する場合が多い。また一つの材料に同一製品を複数個加工する場合には一つの製品加工プログラムを製品加工数だけ繰り返し実行する多数個取りプログラムを使用すること、また一つの材料に複数種類の製品を加工する場合には各製品の製品加工プログラムを材料に割り付け、各製品加工プログラムを順次実行するマルチジョブプログラムを使用することが行われている。
【0004】
このような複数の加工プログラムを連続自動運転で順次実行するNC加工装置は、通常、加工スケジュールを登録した加工スケジュールファイルと、複数の加工プログラムを登録した加工プログラムファイルと、複数の加工条件データを登録した加工条件ファイルとを備えている。
【0005】
加工スケジュールファイルには、順次実行すべき加工プログラムの順序、各加工プログラムにより加工される加工枚数、即ち加工プログラムの繰り返し回数、耳切り幅及び桟(サン)幅等のパラメータが登録される。
加工プログラムファイルには、予め自動プログラミング装置等で作成した複数の加工プログラムが登録される。
加工条件ファイルには、加工対象材料の材質、板厚などに応じて加工速度、レーザ出力及びパルス条件、アシストガス供給仕様などからなる複数の加工条件が登録される。
【0006】
このようなNC加工装置のスケジュール運転の途中で、スケジュールとは別に、緊急に加工を行わねばならない事態が発生した場合、現在加工中の板の加工プログラム終了を待ってから、割込加工を行っていた。そして割込加工が終わると、割込前に完了した加工プログラムの次に実行すべきプログラムから、スケジュール運転を再開していた。
【0007】
また、すぐに割込加工を行いたい場合には、加工プログラムの途中でNC加工装置を停止させて、割込加工を行っていた。そして割込加工が終わると、割込により中断した加工プログラムの加工処理済みの部分をスキップするようにオペレータが加工プログラムを書き換えて(パッチして)、この書き換えられたプログラムによりスケジュール運転を再開していた。
【0008】
【発明が解決しようとする課題】
しかしながら、上記従来の割込方法では、スケジュール運転により実行中の加工プログラムによる板の加工が終了するまで、割込加工を行うことができず、ネスティングデータ等の長いプログラムで加工中であれば、割込加工が可能となるまで長時間を要し、迅速な割込加工ができないという問題点があった。
【0009】
また、加工中の板を強制的に停止させて、割込加工を行うことができるが、割込加工終了後、スケジュール運転させていた元のプログラムを再開するためには、割込前に加工終了した部分をスキップするためにオペレータがプログラムを修正しなければならず、熟練者でなければプログラムを修正できないという問題点があった。
【0010】
また熟練したオペレータでもネスティングデータのようにプログラムが長いと、修正に時間がかかるという問題点があった。
【0011】
以上の問題点に鑑み本発明の目的は、迅速な割込加工が行えるNC加工装置及びその割込処理方法を提供することである。
また本発明の目的は、割り込まれた元のプログラムの人手修正を不要としたNC加工装置及びその割込処理方法を提供することである。
また本発明の目的は、短時間で割り込まれた元のプログラムに復帰することができるNC加工装置及びその割込処理方法を提供することである。
【0012】
【課題を解決するための手段】
上記目的を達成するため本発明は、加工スケジュールに従い自動倉庫から取り出された材料に加工を行うレーザ加工装置であり、前記加工スケジュールにて指示された加工プログラムの実行中に割込要求の有無を判定する割込判定手段と、前記割込判定手段が割込要求があると判定した場合、前記加工プログラム中の割込不可能な指令の実行を継続し、割込可能な指令の実行を中断して前記加工プログラムの実行を中断させる実行中断手段と、前記加工プログラム中の先頭の加工送り指令から前記中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換えたテンポラリファイルを作成する加工プログラム書換手段と、前記テンポラリファイルを記憶する一時記憶手段と、割込加工プログラムを実行させる割込実行手段と、割込終了後、前記一時記憶手段からテンポラリファイルを呼び出して先頭から実行させることにより、特定の加工条件を設定して中断した前記加工プログラムを再開させる運転再開手段と、を備え、前記テンポラリファイルには、中断直前の切断送り終了指令の次に、前記加工プログラム内でユニークなシーケンス番号が挿入され、加工機停止の際に選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号が挿入された次に挿入され、この加工条件番号は、加工速度、レーザ出力、アシストガス供給仕様の加工条件を予め登録した加工条件ファイルの番号であることにより、前記特定の加工条件を設定することを要旨とするレーザ加工装置である。
【0013】
また上記目的を達成するため上記記載のレーザ加工装置において、前記割込不可能な指令は加工送り指令及びユーザマクロ中の指令及びサブプログラム中の指令を含み、前記割込可能な指令はユーザマクロ中及びサブプログラム中ではない早送り指令を含むことを要旨とする。また、テンポラリファイルを記憶する一時記憶手段は、割り込み加工中の更なる割り込み加工を可能とするように構成されていることを要旨とする。
【0014】
また上記目的を達成するため本発明は、加工スケジュールに従い自動倉庫から取り出された材料に加工を行うレーザ加工装置の割り込み加工方法であり、前記加工スケジュールにて指示された加工プログラムの実行中に割込要求の有無を判定する割込判定工程と、前記割込判定工程で割込要求があると判定された場合、前記加工プログラム中の割込不可能な指令の実行を継続し、割込可能な指令の実行を中断して前記加工プログラムの実行を中断させる実行中断工程と、前記加工プログラム中の先頭の加工送り指令から前記中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換えたテンポラリファイルを作成する加工プログラム書換工程と、前記テンポラリファイルを一時記憶手段に記憶させる記憶工程と、割込加工プログラムを実行させる割込実行工程と、割込終了後、前記一時記憶手段から前記テンポラリファイルを呼び出して先頭から実行させることにより、特定の加工条件を設定して中断した前記加工プログラムを再開させる運転再開工程と、を備え、前記テンポラリファイルには、中断直前の切断送り終了指令の次に、前記加工プログラム内でユニークなシーケンス番号が挿入され、加工機停止の際に選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号が挿入された次に挿入され、この加工条件番号は、加工速度、レーザ出力、アシストガス供給仕様の加工条件を予め登録した加工条件ファイルの番号であることにより、前記特定の加工条件を設定することを要旨とするレーザ加工装置の割込処理方法である。
【0015】
また上記目的を達成するため上記記載のレーザ加工装置の割込処理方法において、前記割込不可能な指令は、加工送り指令及びユーザマクロ中の指令及びサブプログラム中の指令を含み、前記割込可能な指令はユーザマクロ及びサブプログラム中ではない早送り指令を含むことを要旨とする。
【0016】
また上記目的を達成するため上記記載のレーザ加工装置の割込処理方法において、前記加工プログラム書換工程は、前記加工プログラムの最後に実行された加工送り指令の次ブロックに該加工プログラム内でユニークなシーケンス番号nを挿入する工程と、前記加工プログラムの加工を開始するために必要な指令の後に前記シーケンス番号nを有するブロックへの無条件分岐指令を挿入する工程と、前記実行が中断されたとき選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号nが挿入されたブロックの次ブロックに挿入する工程と、を備えたことを要旨とする。
【0017】
また上記目的を達成するため上記記載のレーザ加工装置の割込処理方法において、前記加工プログラム書換工程は、前記加工プログラムの最後に実行された切断送り指令の次ブロックに該加工プログラム内でユニークなシーケンス番号nを挿入する工程と、前記加工プログラムの加工を開始するために必要な指令の後にGOTOn指令を挿入する工程と、前記実行が中断されたとき選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号nが挿入されたブロックの次ブロックに挿入する工程と、を備えたことを要旨とする。また、テンポラリファイルを記憶する一時記憶手段は、割り込み加工中の更なる割り込み加工を可能とするように構成されていることを要旨とする。
【0018】
【発明の実施の形態】
次に図面を参照して、本発明の実施の形態を詳細に説明する。
図1は、本発明に係るNC加工装置の実施形態を示すシステム構成図であり、レーザ加工装置に適用した例を示している。
【0019】
図1において、NC加工装置1は、加工セル3と、それぞれ材料を載置したパレット(図示せず)を出し入れ可能に収容する多数の棚を備えた自動倉庫5と、制御部7と、を備えている。
加工セル3は、NC加工機51と、パレットをNC加工機51へ搬入する搬入装置53と、NC加工機51からパレットを搬出する搬出装置55と、を備えている。
自動倉庫5は、付属装置として、スタッカクレーン61と、スタッカクレーン走行路63とを備え、スタッカクレーン61は、自動倉庫5の棚から未加工の材料を載置したパレットを取り出して搬入装置53へ引き渡すとともに、搬出装置55から加工済みの材料を載置したパレットを受け取って自動倉庫5の棚に格納する。
【0020】
制御部7は、加工機制御インタフェース9と、自動倉庫インタフェース11と、加工スケジュールに従った自動運転を制御するスケジュール運転制御部13と、加工プログラム実行制御部15と、加工スケジュールファイル31と、加工プログラムファイル33と、加工条件ファイル35とを備えている。
【0021】
加工プログラム実行制御部15は、加工プログラムの実行中に割込要求の有無を判定する割込判定部17と、割込要求有りの場合、加工プログラムの実行中の加工送り指令の終了まで加工を実行した後、次の早送り指令で加工プログラムの実行を中断させる実行中断部19と、中断した加工プログラムの先頭の加工送り指令から中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換えたテンポラリファイルを作成するプログラム書換部21と、このテンポラリファイルを一時記憶するテンポラリファイル記憶部29と、割込加工プログラムを実行させる割込実行部23と、割込終了後、テンポラリファイル記憶部29からテンポラリファイルを呼び出して先頭から実行させることにより中断した加工プログラムを再開させる運転再開部25とを備えている。
【0022】
加工プログラム実行制御部15は、スケジュール運転制御部13からの指示に従って、自動倉庫制御インタフェース11を介して自動倉庫5を制御し、板材を載置したパレットを自動倉庫5の棚から搬入装置53へ供給するとともに、搬出装置55から加工済みの板材を載置したパレットを取り出し、自動倉庫5の棚へ格納する。
【0023】
また、加工プログラム実行制御部15は、スケジュール運転制御部13から指示された加工プログラムを加工プログラムファイル33から運転バッファ27に呼び出す。そして、この加工プログラムを指令毎に解釈して、加工機制御インタフェース9を介して加工機51を制御することによりNC加工を実行する。
【0024】
次に、図1の構成図及び図2のフローチャートを参照して、本発明の第1実施形態の動作を説明する。本実施形態のNC加工装置1の動作サイクルには、パレット毎の処理サイクルであるパレットサイクルと、1つのパレットを処理するために呼び出される1つ又は複数の加工プログラム毎の処理サイクルであるプログラムサイクルと、各加工プログラムを構成するそれぞれの加工指令(Gコード)毎の指令サイクルとがある。
【0025】
図2には、記載しないが、スケジュール運転の開始前に、自動倉庫5の棚に材料を載置した複数のパレットが準備される。そして、スケジュール運転が開始されると、スケジュール運転制御部13は、加工スケジュールファイル31を参照して、最初の加工スケジュールを呼び出し、この加工スケジュールで指定されたパレットを取り出して加工するように加工プログラム実行制御部15へ指示する。加工プログラム実行制御部15は、自動倉庫5へ指示することにより、自動倉庫5からスタッカクレーン61によりパレットが取り出され、搬入装置53に引き渡される。搬入装置53は、このパレットを加工機51のワークテーブルへ設定する(ステップS50)。
【0026】
次いで、加工スケジュールで指定された加工プログラムが加工プログラムファイル33から運転バッファ27に呼び出される(ステップS52)。次いで運転バッファ27から1ブロックの指令を取り出し(ステップS54)、この指令が終了指令か否かを判定する(ステップS56)。
【0027】
終了指令でなければ、早送り指令か否かを判定する(ステップS58)。早送り指令でなければ、割込要求の有無を判定することなく、1ブロック分の指令をNC加工機に実行させ(ステップS62)、ステップS54に戻って次の指令の取り出しを行う(指令サイクル)。
【0028】
ステップS58の判定で早送り指令であれば、次いで割込要求の有無を判定し(ステップS60)、割込要求がなければ、ステップS62へ移り、1ブロック分の指令をNC加工機に実行させ、ステップS54に戻って次の指令の取り出しを行う(指令サイクル)。
【0029】
ステップS56の判定で終了指令であれば、次いで同一パレット内の加工が全て終了したかどうかを判定し(ステップS64)、マルチジョブ等でさらに加工すべきプログラムがあれば、ステップS52へ移り、新しい加工プログラムを運転バッファへ呼び出す(プログラムサイクル)。
【0030】
同一パレット内の加工が全て終了していれば、加工終了パレットを自動倉庫の棚へ収納し(ステップS66)、未加工のパレットが有るかどうかを判定する(ステップS68)。未加工のパレットがあれば、ステップS50へ戻り新しいパレットを取り出し、加工機のワークテーブルへ設定する(パレットサイクル)。未加工のパレットがなければ、全ての加工スケジュールが終了したので、スケジュール運転を終了する。
【0031】
ステップS60の判定で、割込要求が有れば、割込処理(INT)の最初のステップであるS70に移る。
この割込要求は、加工機51の図示しない制御盤や、制御部7と図示しない通信回線で接続された遠隔制御ターミナルから入力することができるようになっている。そして、割込要求は、割込付随情報として、割込加工すべきプログラム又はプログラム番号、割込加工パレットの棚番号等の情報を備えているものとする。
【0032】
ステップS70では、運転再開に備えて、加工プログラム書換部21により運転バッファ27中の加工プログラムを書き換えてテンポラリファイルを作成する。この加工プログラムの書換は、中断した加工プログラムの先頭の加工送り指令から中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換える。
【0033】
次いで、テンポラリファイルをテンポラリファイル記憶部29に記憶させる(ステップS72)。テンポラリファイル記憶部29は、プッシュダウン・スタック構造とすることにより、後述するような割込加工中の更なる割込加工、即ち割込のネスティングを実現することができる。
【0034】
次いで、加工中断したパレットを自動倉庫5の棚へ戻入し(ステップS74)、割込加工用のパレットを自動倉庫5の棚から取り出して、加工機51のワークテーブルへ設定する(ステップS76)。そして、割込加工用のプログラムを運転バッファ27に呼び出し(ステップS78)、この割込加工プログラムを実行させる(ステップS80)。
【0035】
次いで、割込加工プログラムの終了を判定し(ステップS82)、終了すれば、割込加工用パレットを自動倉庫5の棚に戻入し(ステップS88)、割込により加工中断したパレットを再度自動倉庫から取り出し加工機に設定する(ステップS90)。
【0036】
次いで、テンポラリファイルをテンポラリファイル記憶部29から運転バッファ27に呼び出し(ステップS92)、先頭から指令を実行させるためにステップS54へ分岐する。このテンポラリファイルは、割込みにより中断した加工プログラムを先頭の加工送り指令から中断の直前に実行された加工送りの終了までをスキップするように書き換えられているので、中断した早送り指令の直前までの加工済み指令はスキップされて、その次の加工から再開されることとなる。
【0037】
ステップS82の判定で、割込加工プログラムが終了していなければ、次いで早送り指令か否かを判定し(ステップS84)、早送り指令でなければ、割込加工プログラムの次の指令を実行するためにステップS80へ移る。早送り指令であれば、次いで更なる割込要求が有るか否かを判定する(ステップS86)。ここで更なる割込要求があれば、割込処理中の割込処理(INT)へ移るため(ステップS70へ分岐する。そして、割込処理中の割込処理が終了すれば、ステップS80へ戻る。
【0038】
割込処理中の割込処理を行う必要がなければ、ステップS82の判定で割込加工プログラムが終了していなければ、単にステップS80へ戻るように変更すればよい。
【0039】
図3は、本発明の第2実施形態の動作を説明するフローチャートであり、図1の加工機51がレーザ加工機である場合の具体的な動作及び具体的な加工プログラムの書換を説明するものである。図4(a)は、第2実施形態における書換前の加工プログラムの例を示し、図4(b)は、書換後の加工プログラムの例を示す。
【0040】
図3において、まずスケジュール運転が行われる(ステップS10)。このスケジュール運転において実行される加工プログラムを図4(a)のプログラムであるとする。次いでスケジュール運転が終了したか否かが判定される(ステップS12)。終了していなければ、割込要求が有るか否かが判定され(ステップS14)、割込要求がなければ、スケジュール運転を継続するためにステップS10へ戻る。割込要求が有れば、次いで早送り中か否かが判定される(ステップS16)。早送り中でなければ、切断送り終了指令(M104)まで加工が続行される(ステップS18)。早送り中であれば、加工機を停止させる(ステップS20)。
【0041】
いま、図4(a)のS108からS118までの間の切断送りで、割込要求が伝えられたとすると、S118の切断送り終了指令(M104)まで加工が続行され、S120の早送り指令G00で加工機が停止する。
【0042】
次いで、割込の実行と、バックグランド処理としての加工プログラムを書き換えてテンポラリファイルを作成する処理とが平行に実行される。
【0043】
割込実行は以下のようにして行われる。まず加工中断したパレットを加工機から取り出し(ステップS22)、割込用パレットを加工機へ呼び込み(ステップS24)、割込加工プログラムを実行することにより割込加工を行い(ステップS26)、割込加工の終了を判定し(ステップS28)、割込加工が終了すれば、割込用パレットを取り出す(ステップS30)。
【0044】
テンポラリファイル作成は以下のようにして行われる。まず中断直前の切断送り終了指令(M104、図4では、ステップS120)の次のブロック(S120)に、この加工プログラム内でユニークなシーケンス番号n(図4ではn=1となり「N1」)を挿入する(ステップS32)。次いで、この加工プログラムによるレーザ加工を開始するために必要な指令(M100、図4では、ステップS102)の後にシーケンス番号nを有するブロックへの無条件分岐指令(GOTO1)を挿入する(ステップS34)。次いで、加工機停止の際に選択されていた加工条件番号と同じ加工条件を指定する条件番号指令(E__)をシーケンス番号nが挿入されたブロックの次ブロックに挿入する(ステップS36)。この加工条件番号は、レーザ加工機の場合、加工速度、レーザ出力、アシストガス供給仕様等の加工条件を予め登録した加工条件ファイルの番号であり、この番号を指定することにより、加工条件指定を容易にするものである。
【0045】
そして、こうして書き換えられた加工プログラムをテンポラリファイルとして保存する(ステップS38)。
【0046】
割込実行及びテンポラリファイル作成が共に完了すると、次いで、テンポラリファイルを呼び出して、運転を再開し(ステップS40)、加工中断したパレットを加工機へ呼び込み(ステップS42)、テンポラリファイルの先頭から加工プログラムとして実行する(ステップS44)。このテンポラリファイルは、ステップS32からS36の書換が行われているので、GOTO指令により、シーケンス番号n(N1 G00X__Y__;図4(b)のS120)までジャンプして、中断した加工の続きを再開することができ(ステップS46)、スケジュール運転に復帰する。
【0047】
図5及び図6は、他の実施形態を説明するものであり、NCレーザ加工機における他のNC加工プログラム例における割込実行時のオリジナルプログラムとテンポラリファイルとをそれぞれ示すものである。
【0048】
図5のオリジナルプログラムにおいて、4行目のE5の加工条件で、φ20の穴加工中に割り込みが通知されたとする。NC加工機は、このφ20の穴加工が終了したときに、スケジュール運転又はプログラム運転を停止し、割込を許可する。そして、図5のオリジナルプログラムを図6に示すテンポラリファイルのように書き換える。
【0049】
この例では、図6のプログラムの4行目「GOTO1」と、同12行目「N1」と、同13行目「E5」がオリジナルプログラムに自動追加されている。
【0050】
「GOTO1」の指令の追加位置は、レーザ加工を開始するためのレーザモード開始指令「M100」の直後である。「N1」指令の追加位置は、加工終了まで継続した穴加工の加工終了指令「M104」に伴う工具径補正キャンセル指令「G00G40」の次の位置である。「E5」指令の追加位置は、先に追加した「N1」の次の位置である。
【0051】
そして、割込加工の終了後、図6のテンポラリファイルを先頭から実行すると、「GOTO1」により「N1」へ分岐することにより既に加工が終了したφ20の穴加工部分がスキップされ、「N1」の次の「E5」により加工中断したときに設定されていた加工条件と同じ加工条件が設定されて、続きの加工を行うことができる。
【0052】
尚、本発明は、上述した実施形態の例に限定されることなく、適宜の変更を加えることにより、その他の態様で実施することができる。例えば、実施形態においては、自動倉庫とスタッカクレーンを利用するスケジュール運転としたが、これに限らず、複数段の棚を備えたパレットストッカと、パレットチェンジャによりパレットを自動交換するスケジュール運転にも本発明を適用できる。
【0053】
また実施形態では、レーザ加工装置に適用した例について説明したが、レーザ加工装置以外に、ターレットパンチプレス、ベンディングマシン等のあらゆる板材加工装置に適用可能である。
【0054】
【発明の効果】
以上説明したように、本発明によれば、割込要求が発生したときに加工中の板の加工完了を待つことなく、次の早送り指令で加工プログラムの実行を中断するようにしているので、迅速な割込加工を行うことができる。
【0055】
また本発明によれば、加工プログラム書換部が中断した加工プログラム中の先頭の加工送り指令から中断の直前に実行された加工送りの終了までをスキップするように、この加工プログラムを書き換えるようにしているので、割り込まれた元のプログラムの人手修正を不要とし、割込加工に関連する熟練者の作業を無くすことができる。
【0056】
また本発明によれば、人手による加工プログラムの書換が無くなるので、短時間で割り込まれた元のプログラムに復帰することができる。
【図面の簡単な説明】
【図1】本発明に係るNC加工装置の構成を示すブロック図である。
【図2】本発明に係るNC加工装置の第1実施形態の割込処理動作を説明するフローチャートである。
【図3】本発明に係るNC加工装置の第2実施形態の割込処理動作を説明するフローチャートである。
【図4】第2実施形態における加工プログラムの自動書換を説明するプログラムリストである。
【図5】他の加工プログラム例を示すオリジナルプログラムリストである。
【図6】他の加工プログラム例における自動書換を説明するテンポラリファイルリストである。
【符号の説明】
1 NC加工装置
3 加工セル
5 自動倉庫
7 制御部
9 加工機インタフェース
11 自動倉庫インタフェース
13 スケジュール運転制御部
15 加工プログラム実行制御部
17 割込判定部
19 実行中断部
21 加工プログラム書換部
23 割込実行部
25 運転再開部
27 運転バッファ
29 テンポラリファイル記憶部
31 加工スケジュールファイル
33 加工プログラムファイル
35 加工条件ファイル
51 加工機
53 搬入装置
55 搬出装置
61 スタッカクレーン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an NC processing apparatus and an interrupt processing method thereof, and in particular, permits manual or automatic interrupt processing quickly to an NC processing apparatus in automatic operation according to a predetermined processing schedule. The present invention relates to an NC machining apparatus that facilitates return to the original machining program after interruption and an interrupt processing method thereof.
[0002]
[Prior art]
In recent years, continuous unmanned operation has been performed in various NC processing apparatuses. For example, in the field of laser processing equipment, a material placement pallet is arranged on a work table in a replaceable manner, and material is carried into and out of the work table for each material placement pallet. Some of these materials perform laser processing. Furthermore, for continuous automatic operation, a pallet stocker for storing a plurality of material mounting pallets so as to be put in and out of each shelf, and a pallet for removing the material mounting pallets from the pallet stocker and transporting them to a work table in an exchangeable manner. A laser processing apparatus having a changer as an accessory is known.
[0003]
In the laser processing apparatus, in order to reduce the amount of axial movement of the processing head, rather than using a material unit processing program (sheet program), one product is laser processed, that is, one product Product machining programs that define machining trajectories are often used. Also, when machining multiple products of the same product on one material, use a multi-processing program that repeatedly executes one product machining program as many times as the number of products processed, and when machining multiple types of products on one material A multi-job program that assigns a product processing program of each product to a material and sequentially executes each product processing program is used.
[0004]
An NC machining apparatus that sequentially executes a plurality of machining programs in a continuous automatic operation usually has a machining schedule file in which a machining schedule is registered, a machining program file in which a plurality of machining programs are registered, and a plurality of machining condition data. And a registered machining condition file.
[0005]
In the machining schedule file, parameters such as the order of machining programs to be sequentially executed, the number of machining machines to be machined by each machining program, that is, the number of machining program repetitions, the edge cutting width, and the crosspiece (sun) width are registered.
A plurality of machining programs created in advance by an automatic programming device or the like are registered in the machining program file.
In the processing condition file, a plurality of processing conditions including processing speed, laser output and pulse conditions, assist gas supply specifications, and the like are registered according to the material of the processing target material, the plate thickness, and the like.
[0006]
During the schedule operation of such NC machining equipment, if there is a situation that requires urgent machining apart from the schedule, wait for the machining program for the plate currently being machined to finish before performing interrupt machining. It was. When the interrupt processing is completed, the schedule operation is resumed from the program to be executed next to the processing program completed before the interrupt processing.
[0007]
Further, when it is desired to perform interrupt machining immediately, the NC machining apparatus is stopped in the middle of the machining program to perform the interrupt machining. When the interrupt processing is completed, the operator rewrites (patches) the processing program so as to skip the processed part of the processing program interrupted by the interrupt, and the scheduled operation is resumed by this rewritten program. It was.
[0008]
[Problems to be solved by the invention]
However, in the conventional interrupt method, interrupt processing cannot be performed until the processing of the plate by the processing program being executed by the schedule operation is completed, and if processing is performed with a long program such as nesting data, There was a problem that it took a long time until interrupt processing became possible, and quick interrupt processing could not be performed.
[0009]
In addition, it is possible to forcibly stop the plate being processed and perform interrupt processing, but to resume the original program that was scheduled to run after completion of interrupt processing, processing before interrupt The operator has to modify the program in order to skip the finished part, and there is a problem that the program cannot be modified unless it is an expert.
[0010]
Further, even a skilled operator has a problem that it takes a long time to correct a long program such as nesting data.
[0011]
In view of the above problems, an object of the present invention is to provide an NC machining apparatus and an interruption processing method that can perform rapid interruption machining.
It is another object of the present invention to provide an NC machining apparatus and its interrupt processing method that do not require manual correction of the interrupted original program.
Another object of the present invention is to provide an NC machining apparatus capable of returning to the original program interrupted in a short time and an interrupt processing method thereof.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention is a laser processing apparatus for processing a material taken out from an automatic warehouse according to a processing schedule, and whether or not there is an interrupt request during execution of the processing program instructed by the processing schedule. If the interrupt determination means and the interrupt determination means determine that there is an interrupt request, the execution of the non-interruptible command in the machining program is continued and the execution of the interruptable command is interrupted. The execution program is rewritten so as to skip the execution interruption means for interrupting the execution of the machining program and the end of the machining feed executed immediately before the interruption from the first machining feed command in the machining program. Processing program rewriting means for creating a temporary file, temporary storage means for storing the temporary file, and execution of an interrupt processing program A write execution unit, after the interrupt ends, by executing from the beginning by calling a temporary file from the temporary storage means, and operation resuming means for resuming the machining program was interrupted by setting specific processing conditions In the temporary file, a unique sequence number is inserted in the machining program next to the cutting feed end command immediately before interruption, and the same machining condition number as that selected when the processing machine is stopped is processed. A condition number command for specifying a condition is inserted after the sequence number is inserted, and this processing condition number is a number of a processing condition file in which processing conditions for processing speed, laser output, and assist gas supply specifications are registered in advance. To set the specific processing conditions It is a laser processing apparatus.
[0013]
In order to achieve the above object, Laser processing equipment The non-interruptible command includes a machining feed command and a command in a user macro and a command in a subprogram, and the interruptable command includes a fast-forward command that is not in a user macro and a subprogram. The gist. The gist of the invention is that the temporary storage means for storing the temporary file is configured to enable further interrupt processing during interrupt processing.
[0014]
In order to achieve the above object, the present invention is an interrupt processing method of a laser processing apparatus for processing a material taken out from an automatic warehouse according to a processing schedule, and is interrupted during execution of a processing program instructed by the processing schedule. If it is determined that there is an interrupt request in the interrupt determination process for determining whether there is an interrupt request and the interrupt determination process, it is possible to continue execution of an instruction that cannot be interrupted in the machining program and to interrupt An execution interruption step of interrupting execution of a simple command and interrupting the execution of the machining program, and skipping from the first machining feed command in the machining program to the end of the machining feed executed immediately before the interruption. A machining program rewriting step for creating a temporary file in which the machining program is rewritten, and a storage processor for storing the temporary file in a temporary storage means And an interrupt execution step for executing an interrupt processing program, and after the interruption, the processing is interrupted by setting a specific processing condition by calling the temporary file from the temporary storage means and executing it from the beginning. Operation restart process to resume the program In the temporary file, a unique sequence number is inserted in the machining program next to the cutting feed end command immediately before the interruption, and is the same as the machining condition number selected when the processing machine is stopped. A condition number command for specifying a processing condition is inserted after the sequence number is inserted. This processing condition number is a number of a processing condition file in which processing conditions for processing speed, laser output, and assist gas supply specifications are registered in advance. The gist is to set the specific processing condition by being This is an interrupt processing method of the laser processing apparatus.
[0015]
In order to achieve the above object, Laser processing equipment In the interrupt processing method, the non-interruptible command includes a machining feed command, a command in a user macro, and a command in a subprogram, and the interruptable command is not in a user macro or a subprogram. The gist is to include a directive.
[0016]
In order to achieve the above object, Laser processing equipment In the interrupt processing method, the machining program rewriting step includes a step of inserting a unique sequence number n in the machining program into a block next to a machining feed command executed at the end of the machining program, A step of inserting an unconditional branch command to the block having the sequence number n after the command required to start machining, and the same machining condition as the machining condition number selected when the execution is interrupted are specified. And a step of inserting a condition number command to be inserted into a block next to the block in which the sequence number n is inserted.
[0017]
In order to achieve the above object, Laser processing equipment In the interrupt processing method, the machining program rewriting step includes a step of inserting a unique sequence number n in the machining program into a block next to the cutting feed command executed at the end of the machining program, The sequence number n inserts the GOTOn command after the command necessary to start machining and the condition number command specifying the same machining condition number as the machining condition number selected when the execution is interrupted. And a step of inserting the block into the next block of the completed block. The gist of the invention is that the temporary storage means for storing the temporary file is configured to enable further interrupt processing during interrupt processing.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a system configuration diagram showing an embodiment of an NC processing apparatus according to the present invention, and shows an example applied to a laser processing apparatus.
[0019]
In FIG. 1, an NC processing apparatus 1 includes a processing cell 3, an automatic warehouse 5 having a large number of shelves for accommodating pallets (not shown) on which materials are placed, and a control unit 7. I have.
The processing cell 3 includes an NC processing machine 51, a carry-in device 53 that carries the pallet into the NC processing machine 51, and a carry-out device 55 that carries the pallet out of the NC processing machine 51.
The automatic warehouse 5 includes a stacker crane 61 and a stacker crane traveling path 63 as attached devices. The stacker crane 61 takes out a pallet on which unprocessed material is placed from the shelf of the automatic warehouse 5 and sends it to the carry-in device 53. At the same time, the pallet on which the processed material is placed is received from the carry-out device 55 and stored in the shelf of the automatic warehouse 5.
[0020]
The control unit 7 includes a processing machine control interface 9, an automatic warehouse interface 11, a schedule operation control unit 13 that controls automatic operation according to a processing schedule, a processing program execution control unit 15, a processing schedule file 31, and a processing A program file 33 and a machining condition file 35 are provided.
[0021]
The machining program execution control unit 15 interrupts the interrupt determination unit 17 that determines whether or not there is an interrupt request during execution of the machining program. If there is an interrupt request, the machining program execution control unit 15 performs machining until the end of the machining feed command during execution of the machining program. After the execution, the execution interruption unit 19 that interrupts the execution of the machining program with the next rapid feed command and the end of the machining feed executed immediately before the interruption from the first machining feed command of the interrupted machining program are skipped. A program rewriting unit 21 that creates a temporary file in which the machining program is rewritten, a temporary file storage unit 29 that temporarily stores the temporary file, an interrupt execution unit 23 that executes the interrupt machining program, and after the interruption, A processing program that was interrupted by calling a temporary file from the temporary file storage unit 29 and executing it from the beginning. And a restarting operation portion 25 that resumes grams.
[0022]
The processing program execution control unit 15 controls the automatic warehouse 5 via the automatic warehouse control interface 11 according to the instruction from the schedule operation control unit 13, and the pallet on which the plate material is placed is transferred from the shelf of the automatic warehouse 5 to the carry-in device 53. While supplying, the pallet which mounted the processed board | plate material from the carrying-out apparatus 55 is taken out, and it stores in the shelf of the automatic warehouse 5. FIG.
[0023]
Further, the machining program execution control unit 15 calls the machining program instructed from the schedule operation control unit 13 from the machining program file 33 to the operation buffer 27. Then, the machining program is interpreted for each command, and NC machining is executed by controlling the machining machine 51 via the machining machine control interface 9.
[0024]
Next, the operation of the first embodiment of the present invention will be described with reference to the configuration diagram of FIG. 1 and the flowchart of FIG. The operation cycle of the NC processing apparatus 1 of the present embodiment includes a pallet cycle that is a processing cycle for each pallet and a program cycle that is a processing cycle for one or a plurality of processing programs called to process one pallet. And a command cycle for each machining command (G code) constituting each machining program.
[0025]
Although not shown in FIG. 2, a plurality of pallets on which materials are placed on the shelf of the automatic warehouse 5 are prepared before the start of the scheduled operation. Then, when the schedule operation is started, the schedule operation control unit 13 refers to the machining schedule file 31 and calls the first machining schedule, and the machining program so as to take out and machine the pallet designated by this machining schedule. The execution control unit 15 is instructed. The machining program execution control unit 15 instructs the automatic warehouse 5 to take out the pallet from the automatic warehouse 5 by the stacker crane 61 and deliver it to the carry-in device 53. The carry-in device 53 sets this pallet in the work table of the processing machine 51 (step S50).
[0026]
Next, the machining program specified in the machining schedule is called from the machining program file 33 to the operation buffer 27 (step S52). Next, one block command is taken out from the operation buffer 27 (step S54), and it is determined whether or not this command is an end command (step S56).
[0027]
If it is not an end command, it is determined whether or not it is a fast-forward command (step S58). If it is not a fast-forward command, the NC machine tool is made to execute a command for one block without determining whether or not there is an interrupt request (step S62), and the process returns to step S54 to fetch the next command (command cycle). .
[0028]
If it is a fast-forward command in the determination of step S58, it is next determined whether or not there is an interrupt request (step S60). If there is no interrupt request, the process proceeds to step S62, and the NC machine command is executed for one block. Returning to step S54, the next command is taken out (command cycle).
[0029]
If it is determined in step S56 that the command is an end command, it is then determined whether or not all the processing in the same pallet has been completed (step S64). Call the machining program to the operation buffer (program cycle).
[0030]
If all the processing in the same pallet has been completed, the processing-completed pallet is stored on the shelf of the automatic warehouse (step S66), and it is determined whether there is an unprocessed pallet (step S68). If there is an unprocessed pallet, the process returns to step S50 to take out a new pallet and set it on the work table of the processing machine (pallet cycle). If there is no unprocessed pallet, all the processing schedules are completed, so the schedule operation is ended.
[0031]
If it is determined in step S60 that there is an interrupt request, the process proceeds to S70, which is the first step of the interrupt process (INT).
This interrupt request can be input from a control panel (not shown) of the processing machine 51 or a remote control terminal connected to the control unit 7 via a communication line (not shown). The interrupt request includes information such as a program or program number to be interrupted and a shelf number of an interrupt processing pallet as interrupt accompanying information.
[0032]
In step S70, in preparation for resuming operation, the machining program rewriting unit 21 rewrites the machining program in the operation buffer 27 to create a temporary file. In this machining program rewriting, the machining program is rewritten so as to skip from the first machining feed command of the suspended machining program to the end of the machining feed executed immediately before the interruption.
[0033]
Next, the temporary file is stored in the temporary file storage unit 29 (step S72). The temporary file storage unit 29 has a push-down stack structure, and can realize further interrupt processing during interrupt processing, that is, interrupt nesting as described later.
[0034]
Next, the pallet whose processing is interrupted is returned to the shelf of the automatic warehouse 5 (step S74), and the pallet for interrupt processing is taken out from the shelf of the automatic warehouse 5 and set in the work table of the processing machine 51 (step S76). Then, a program for interrupt processing is called into the operation buffer 27 (step S78), and this interrupt processing program is executed (step S80).
[0035]
Next, the end of the interrupt processing program is determined (step S82), and if completed, the interrupt processing pallet is returned to the shelf of the automatic warehouse 5 (step S88), and the pallet interrupted by the interrupt is automatically stored again. To set the processing machine (step S90).
[0036]
Next, the temporary file is called from the temporary file storage unit 29 to the operation buffer 27 (step S92), and the process branches to step S54 to execute a command from the beginning. This temporary file has been rewritten so that the machining program interrupted by an interrupt is skipped from the first machining feed command to the end of the machining feed executed immediately before the interruption. The finished command is skipped and restarted from the next machining.
[0037]
If it is determined in step S82 that the interrupt machining program has not ended, it is next determined whether or not it is a fast feed command (step S84). If not, the next command of the interrupt machining program is executed. Control goes to step S80. If it is a fast-forward command, it is then determined whether there is a further interrupt request (step S86). If there is a further interrupt request, the process proceeds to the interrupt process (INT) during the interrupt process (branch to step S70. If the interrupt process during the interrupt process ends, the process proceeds to step S80. Return.
[0038]
If it is not necessary to perform the interrupt process during the interrupt process, if the interrupt processing program has not ended in the determination in step S82, the process may be changed to simply return to step S80.
[0039]
FIG. 3 is a flowchart for explaining the operation of the second embodiment of the present invention, which explains the specific operation and the rewriting of a specific processing program when the processing machine 51 of FIG. 1 is a laser processing machine. It is. FIG. 4A shows an example of a machining program before rewriting in the second embodiment, and FIG. 4B shows an example of a machining program after rewriting.
[0040]
In FIG. 3, first, a schedule operation is performed (step S10). The machining program executed in this schedule operation is assumed to be the program shown in FIG. Next, it is determined whether or not the scheduled operation is finished (step S12). If not completed, it is determined whether or not there is an interrupt request (step S14). If there is no interrupt request, the process returns to step S10 to continue the scheduled operation. If there is an interrupt request, it is then determined whether fast-forwarding is in progress (step S16). If rapid feed is not in progress, machining is continued until the cutting feed end command (M104) (step S18). If fast-forwarding is in progress, the processing machine is stopped (step S20).
[0041]
Now, assuming that an interrupt request is transmitted by cutting and feeding between S108 and S118 in FIG. 4A, machining is continued until a cutting and feeding end command (M104) at S118, and machining is performed with a rapid feed command G00 at S120. The machine stops.
[0042]
Next, the execution of the interrupt and the process of creating a temporary file by rewriting the machining program as the background process are executed in parallel.
[0043]
Interrupt execution is performed as follows. First, the interrupted pallet is taken out from the processing machine (step S22), the interrupt pallet is called into the processing machine (step S24), and interrupt processing is performed by executing the interrupt processing program (step S26). The end of processing is determined (step S28), and when the interrupt processing is completed, the interrupt pallet is taken out (step S30).
[0044]
The temporary file is created as follows. First, a unique sequence number n (n = 1 in FIG. 4 is “N1” in FIG. 4) is given to the block (S120) next to the cutting feed end command (M104, step S120 in FIG. 4) immediately before the interruption. Insert (step S32). Next, an unconditional branch command (GOTO1) to the block having the sequence number n is inserted after the command (M100, step S102 in FIG. 4) necessary for starting laser processing by this processing program (step S34). . Next, a condition number command (E__) designating the same processing condition as the processing condition number selected when the processing machine is stopped is inserted into the block next to the block in which the sequence number n is inserted (step S36). In the case of a laser processing machine, this processing condition number is the number of a processing condition file in which processing conditions such as processing speed, laser output, and assist gas supply specifications are registered in advance. To make it easier.
[0045]
Then, the machining program rewritten in this way is stored as a temporary file (step S38).
[0046]
When both the interrupt execution and the temporary file creation are completed, the temporary file is then called to resume operation (step S40), the machining interrupted pallet is called to the processing machine (step S42), and the machining program is started from the beginning of the temporary file. (Step S44). Since this temporary file has been rewritten in steps S32 to S36, the GOTO command jumps to the sequence number n (N1 G00X__Y__; S120 in FIG. 4B) to resume the interrupted processing. (Step S46), and return to the scheduled operation.
[0047]
FIG. 5 and FIG. 6 are diagrams for explaining other embodiments, and show an original program and a temporary file at the time of execution of interruption in another example of NC machining program in the NC laser machining machine.
[0048]
In the original program of FIG. 5, it is assumed that an interruption is notified during the drilling of φ20 under the machining condition E5 in the fourth line. When the drilling of φ20 is finished, the NC machine stops the schedule operation or the program operation and permits the interruption. Then, the original program shown in FIG. 5 is rewritten as a temporary file shown in FIG.
[0049]
In this example, the fourth line “GOTO1”, the twelfth line “N1”, and the thirteenth line “E5” of the program in FIG. 6 are automatically added to the original program.
[0050]
The additional position of the “GOTO1” command is immediately after the laser mode start command “M100” for starting laser processing. The additional position of the “N1” command is a position next to the tool radius correction cancel command “G00G40” accompanying the machining end command “M104” of the drilling continued until the end of machining. The additional position of the “E5” command is the position next to “N1” added previously.
[0051]
Then, when the temporary file in FIG. 6 is executed from the top after the end of the interrupt processing, the branching portion of φ20 that has already been processed is skipped by branching to “N1” by “GOTO1”, and “N1” The same processing condition as that set when the processing is interrupted by the next “E5” is set, and the subsequent processing can be performed.
[0052]
In addition, this invention is not limited to the example of embodiment mentioned above, By implementing an appropriate change, it can implement in another aspect. For example, in the embodiment, the schedule operation using an automatic warehouse and a stacker crane is used. However, the present invention is not limited to this. The invention can be applied.
[0053]
Moreover, although the embodiment applied to the laser processing apparatus has been described, the present invention can be applied to any plate processing apparatus such as a turret punch press and a bending machine in addition to the laser processing apparatus.
[0054]
【The invention's effect】
As described above, according to the present invention, the execution of the machining program is interrupted by the next fast-forward command without waiting for the completion of machining of the plate being machined when an interrupt request is generated. Rapid interrupt processing can be performed.
[0055]
Further, according to the present invention, the machining program rewriting unit is rewritten so as to skip from the first machining feed command in the machining program interrupted until the end of the machining feed executed immediately before the interruption. This eliminates the need for manual modification of the interrupted original program and eliminates the work of skilled workers related to interrupt processing.
[0056]
Further, according to the present invention, since the machining program is not rewritten manually, it is possible to return to the original program interrupted in a short time.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an NC machining apparatus according to the present invention.
FIG. 2 is a flowchart for explaining an interrupt processing operation of the first embodiment of the NC machining apparatus according to the present invention.
FIG. 3 is a flowchart for explaining an interrupt processing operation of the second embodiment of the NC machining apparatus according to the present invention.
FIG. 4 is a program list for explaining automatic rewriting of a machining program in the second embodiment.
FIG. 5 is an original program list showing another example of a machining program.
FIG. 6 is a temporary file list for explaining automatic rewriting in another machining program example.
[Explanation of symbols]
1 NC processing equipment
3 Processing cell
5 Automatic warehouse
7 Control unit
9 Machine interface
11 Automatic warehouse interface
13 Schedule operation control unit
15 Machining program execution control unit
17 Interrupt judgment part
19 Execution interruption part
21 Machining program rewriting part
23 Interrupt execution part
25 Operation resumption part
27 Operation buffer
29 Temporary file storage
31 Machining schedule file
33 Machining program file
35 Machining condition file
51 Processing machine
53 Carry-in device
55 Unloading device
61 Stacker crane

Claims (8)

加工スケジュールに従い自動倉庫から取り出された材料に加工を行うレーザ加工装置であり、
前記加工スケジュールにて指示された加工プログラムの実行中に割込要求の有無を判定する割込判定手段と、
前記割込判定手段が割込要求があると判定した場合、前記加工プログラム中の割込不可能な指令の実行を継続し、割込可能な指令の実行を中断して前記加工プログラムの実行を中断させる実行中断手段と、
前記加工プログラム中の先頭の加工送り指令から前記中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換えたテンポラリファイルを作成する加工プログラム書換手段と、
前記テンポラリファイルを記憶する一時記憶手段と、
割込加工プログラムを実行させる割込実行手段と、
割込終了後、前記一時記憶手段からテンポラリファイルを呼び出して先頭から実行させることにより、特定の加工条件を設定して中断した前記加工プログラムを再開させる運転再開手段と、を備え、
前記テンポラリファイルには、中断直前の切断送り終了指令の次に、前記加工プログラム内でユニークなシーケンス番号が挿入され、加工機停止の際に選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号が挿入された次に挿入され、この加工条件番号は、加工速度、レーザ出力、アシストガス供給仕様の加工条件を予め登録した加工条件ファイルの番号であることにより、前記特定の加工条件を設定することを特徴とするレーザ加工装置。
It is a laser processing device that processes materials taken from automatic warehouses according to the processing schedule,
Interrupt determination means for determining the presence or absence of an interrupt request during execution of the machining program instructed in the machining schedule;
When the interrupt determination means determines that there is an interrupt request, the execution of the non-interruptible command in the machining program is continued, the execution of the interruptable command is interrupted, and the machining program is executed. Execution interruption means to interrupt;
Machining program rewriting means for creating a temporary file in which the machining program is rewritten so as to skip from the first machining feed command in the machining program to the end of the machining feed executed immediately before the interruption;
Temporary storage means for storing the temporary file;
Interrupt execution means for executing an interrupt machining program;
An operation restarting means for resuming the machining program suspended by setting a specific machining condition by calling a temporary file from the temporary storage means and executing it from the top after the interruption is completed ,
In the temporary file, a sequence number unique in the machining program is inserted next to the cutting feed end command immediately before the interruption, and the same machining conditions as the machining condition number selected when the machine is stopped are designated. The condition number command is inserted after the sequence number is inserted, and this processing condition number is the number of the processing condition file in which the processing conditions of the processing speed, laser output, and assist gas supply specifications are registered in advance. A laser processing apparatus characterized by setting specific processing conditions .
前記割込不可能な指令は加工送り指令及びユーザマクロ中の指令及びサブプログラム中の指令を含み、前記割込可能な指令はユーザマクロ中及びサブプログラム中ではない早送り指令を含むことを特徴とする請求項1記載のレーザ加工装置。  The non-interruptible command includes a machining feed command and a command in a user macro and a command in a subprogram, and the interruptible command includes a fast-forward command that is not in a user macro and a subprogram. The laser processing apparatus according to claim 1. 前記テンポラリファイルを記憶する前記一時記憶手段は、割り込み加工中の更なる割り込み加工を可能とするように構成されていることを特徴とする請求項1または請求項2記載のレーザ加工装置。  3. The laser processing apparatus according to claim 1, wherein the temporary storage means for storing the temporary file is configured to enable further interrupt processing during interrupt processing. 加工スケジュールに従い自動倉庫から取り出された材料に加工を行うレーザ加工装置の割り込み加工方法であり、
前記加工スケジュールにて指示された加工プログラムの実行中に割込要求の有無を判定する割込判定工程と、
前記割込判定工程で割込要求があると判定された場合、前記加工プログラム中の割込不可能な指令の実行を継続し、割込可能な指令の実行を中断して前記加工プログラムの実行を中断させる実行中断工程と、
前記加工プログラム中の先頭の加工送り指令から前記中断の直前に実行された加工送りの終了までをスキップするように該加工プログラムを書き換えたテンポラリファイルを作成する加工プログラム書換工程と、
前記テンポラリファイルを一時記憶手段に記憶させる記憶工程と、
割込加工プログラムを実行させる割込実行工程と、
割込終了後、前記一時記憶手段から前記テンポラリファイルを呼び出して先頭から実行させることにより、特定の加工条件を設定して中断した前記加工プログラムを再開させる運転再開工程と、を備え、
前記テンポラリファイルには、中断直前の切断送り終了指令の次に、前記加工プログラム内でユニークなシーケンス番号が挿入され、加工機停止の際に選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号が挿入された次に挿入され、この加工条件番号は、加工速度、レーザ出力、アシストガス供給仕様の加工条件を予め登録した加工条件ファイルの番号であることにより、前記特定の加工条件を設定することを特徴とするレーザ加工装置の割込処理方法。
It is an interrupt processing method of a laser processing device that processes materials taken out of an automatic warehouse according to a processing schedule,
An interrupt determination step for determining the presence or absence of an interrupt request during execution of the machining program instructed in the machining schedule;
If it is determined in the interrupt determination step that there is an interrupt request, the execution of the non-interruptible command in the machining program is continued, the execution of the interruptable command is interrupted, and the machining program is executed. Execution interruption process for interrupting,
A machining program rewriting step for creating a temporary file in which the machining program is rewritten so as to skip from the first machining feed command in the machining program to the end of the machining feed executed immediately before the interruption,
A storage step of storing the temporary file in a temporary storage means;
An interrupt execution process for executing an interrupt machining program;
An operation restarting step of resuming the machining program that has been interrupted by setting a specific machining condition by calling the temporary file from the temporary storage means and executing it from the beginning after the interruption is completed , and
In the temporary file, a sequence number unique in the machining program is inserted next to the cutting feed end command immediately before the interruption, and the same machining conditions as the machining condition number selected when the machine is stopped are designated. The condition number command is inserted after the sequence number is inserted, and this processing condition number is the number of the processing condition file in which the processing conditions of the processing speed, laser output, and assist gas supply specifications are registered in advance. An interrupt processing method for a laser processing apparatus, wherein specific processing conditions are set .
前記割込不可能な指令は、加工送り指令及びユーザマクロ中の指令及びサブプログラム中の指令を含み、前記割込可能な指令はユーザマクロ中及びサブプログラム中ではない早送り指令を含むことを特徴とする請求項4記載のレーザ加工装置の割込処理方法。  The non-interruptible command includes a machining feed command, a command in a user macro, and a command in a subprogram, and the interruptible command includes a fast-forward command that is not in a user macro or a subprogram. An interrupt processing method for a laser processing apparatus according to claim 4. 前記加工プログラム書換工程は、前記加工プログラムの最後に実行された加工送り指令の次ブロックに該加工プログラム内でユニークなシーケンス番号nを挿入する工程と、
前記加工プログラムの加工を開始するために必要な指令の後に前記シーケンス番号nを有するブロックへの無条件分岐指令を挿入する工程と、
前記実行が中断されたとき選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号nが挿入されたブロックの次ブロックに挿入する工程と、 を備えたことを特徴とする請求項4または請求項5記載のレーザ加工装置の割込処理方法。
The machining program rewriting step includes a step of inserting a unique sequence number n in the machining program into the next block of the machining feed command executed at the end of the machining program
Inserting an unconditional branch command to a block having the sequence number n after a command required to start machining of the machining program;
Inserting a condition number command designating the same machining condition as the machining condition number selected when the execution is interrupted into a block next to the block in which the sequence number n is inserted, The interrupt processing method of the laser processing apparatus of Claim 4 or Claim 5 to do.
前記加工プログラム書換工程は、
前記加工プログラムの最後に実行された切断送り指令の次ブロックに該加工プログラム内でユニークなシーケンス番号nを挿入する工程と、
前記加工プログラムの加工を開始するために必要な指令の後にGOTOn指令を挿入する工程と、
前記実行が中断されたとき選択されていた加工条件番号と同じ加工条件を指定する条件番号指令を前記シーケンス番号nが挿入されたブロックの次ブロックに挿入する工程と、 を備えたことを特徴とする請求項4ないし請求項6のいずれか1項記載のレーザ加工装置の割込処理方法。
The machining program rewriting step includes
Inserting a unique sequence number n within the machining program into the next block of the cutting feed command executed at the end of the machining program;
Inserting a GOTOn command after a command necessary to start machining of the machining program;
Inserting a condition number command designating the same machining condition as the machining condition number selected when the execution is interrupted into a block next to the block in which the sequence number n is inserted, The interrupt processing method of the laser processing apparatus of any one of Claim 4 thru | or 6.
前記テンポラリファイルを記憶する前記一時記憶手段は、割り込み加工中の更なる割り込み加工を可能とするように構成されていることを特徴とする請求項4ないし請求項7のいずれか1項記載のレーザ加工装置の割込処理方法。  The laser according to any one of claims 4 to 7, wherein the temporary storage means for storing the temporary file is configured to enable further interrupt processing during interrupt processing. Interrupting method for processing equipment.
JP09689499A 1999-04-02 1999-04-02 Laser processing apparatus and interrupt processing method thereof Expired - Fee Related JP4627821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09689499A JP4627821B2 (en) 1999-04-02 1999-04-02 Laser processing apparatus and interrupt processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09689499A JP4627821B2 (en) 1999-04-02 1999-04-02 Laser processing apparatus and interrupt processing method thereof

Publications (2)

Publication Number Publication Date
JP2000293212A JP2000293212A (en) 2000-10-20
JP4627821B2 true JP4627821B2 (en) 2011-02-09

Family

ID=14177096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09689499A Expired - Fee Related JP4627821B2 (en) 1999-04-02 1999-04-02 Laser processing apparatus and interrupt processing method thereof

Country Status (1)

Country Link
JP (1) JP4627821B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007213241A (en) * 2006-02-08 2007-08-23 Fanuc Ltd Interruption workable numerically controlled machine tool
JP4654937B2 (en) * 2006-02-24 2011-03-23 ブラザー工業株式会社 Numerical control apparatus, numerical control method, and computer program
JP4374045B2 (en) * 2007-08-24 2009-12-02 ファナック株式会社 Numerical control device with program restart function
JP5104784B2 (en) * 2009-02-26 2012-12-19 ブラザー工業株式会社 Numerically controlled machine tool and interrupt processing method thereof
JP7173928B2 (en) * 2019-06-05 2022-11-16 ファナック株式会社 Numerical controller

Also Published As

Publication number Publication date
JP2000293212A (en) 2000-10-20

Similar Documents

Publication Publication Date Title
EP1145804B1 (en) Robot controller
US4288849A (en) Machine tool control systems
US20140364989A1 (en) Controller for controlling machine tool and robot
JPH07129418A (en) Program control system for multi-task environment
JP4627821B2 (en) Laser processing apparatus and interrupt processing method thereof
JP4958608B2 (en) Robot control device, robot control method, and robot transfer device
JP2000141181A (en) Method and device for controlling interruption in sheet metal working line
JPH0628019A (en) Method and device for calling robot program for numerically controlled machine tool
JP7173928B2 (en) Numerical controller
JPH06277990A (en) Cell controller
JP2000181525A (en) Positioning device
JP2023061034A (en) Sheet metal processing facility control device and method for resuming operation at time of reactivating the same
WO2015129739A1 (en) Machine tool
JPH11202923A (en) Production system
JPH07132447A (en) Nc program control device and control method
JPH10328963A (en) Machining system
JPH04115857A (en) Device and method for scheduling production system
JPH09109002A (en) Schedule operation method in nc machine tool with automatic tool changer
JPS61161512A (en) Mechanical work controller
JPH0655361A (en) Machining program control method in electric discharge machining
JPH1195825A (en) Method for executing numerical control program
JPH0519828A (en) Schedule operation method for machining line
JP2010260086A (en) Laser beam machine
JP3072918B2 (en) Schedule operation method
JPH04137002A (en) Nc program managing method for working system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081023

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090325

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090403

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100921

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101109

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees