JP6611227B2 - NC machine control system - Google Patents

NC machine control system Download PDF

Info

Publication number
JP6611227B2
JP6611227B2 JP2015107554A JP2015107554A JP6611227B2 JP 6611227 B2 JP6611227 B2 JP 6611227B2 JP 2015107554 A JP2015107554 A JP 2015107554A JP 2015107554 A JP2015107554 A JP 2015107554A JP 6611227 B2 JP6611227 B2 JP 6611227B2
Authority
JP
Japan
Prior art keywords
program
machining
unloading
processing
processing machine
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.)
Active
Application number
JP2015107554A
Other languages
Japanese (ja)
Other versions
JP2016224533A (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 Holdings 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 Holdings Co Ltd filed Critical Amada Holdings Co Ltd
Priority to JP2015107554A priority Critical patent/JP6611227B2/en
Publication of JP2016224533A publication Critical patent/JP2016224533A/en
Application granted granted Critical
Publication of JP6611227B2 publication Critical patent/JP6611227B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、加工プログラムや周辺機器の動作データに基づいて、加工機およびその周辺機器の動作を制御するNC機械制御システムに関し、特に、加工動作が中断した場合にも、指定した加工再開位置から加工動作が再開するように加工機および周辺機器を制御することができるNC機械制御システムに関する。   The present invention relates to an NC machine control system that controls operations of a processing machine and peripheral devices based on a processing program and operation data of peripheral devices, and more particularly, from a specified processing resumption position even when the processing operation is interrupted. The present invention relates to an NC machine control system capable of controlling a processing machine and peripheral devices so that a processing operation is resumed.

従来、NC機械制御システムにおいては、加工プログラムや周辺機器の動作データに基づいて、加工機およびその周辺機器の自動加工動作中に、特急品の割り込みにより加工動作が中断する場合やトラブルが発生してシート等の被加工部材の加工動作が中断する場合があった。   Conventionally, in NC machine control systems, processing operations are interrupted or troubles occur due to interruptions of express products during automatic processing operations of processing machines and peripheral devices based on processing programs and peripheral device operation data. In some cases, the processing operation of a workpiece such as a sheet is interrupted.

そのような場合、加工プログラムのどのブロックの加工途中であるかを表示器へカーソル表示等しており、オペレータがカーソル表示等された情報を参照して手入力で加工プログラムを修正編集(GoTo文等を挿入)して加工の途中から再開させていた。   In such a case, the cursor is displayed on the display to indicate which block of the machining program is being machined, and the operator modifies and edits the machining program manually by referring to the information displayed by the cursor (GoTo statement). Etc.) and resumed from the middle of processing.

特開平8−286720号公報JP-A-8-286720

しかしながら、上記したように加工プログラムのどのブロックに対応する加工途中であるかをカーソル表示等で表示された時に、オペレータはその表示を参照して加工プログラムの内容を理解するための検討を行わなければならず面倒であり、時間的な損失も大きく、オペレータの負担も増大する問題があった。   However, as described above, when the cursor corresponding to which block of the machining program is being processed is displayed on the cursor display etc., the operator must refer to that display to study the contents of the machining program. There was a problem that it was troublesome, time loss was great, and the burden on the operator increased.

さらに、加工機と共に、例えば、ワーク搬送機等の周辺機器が、加工動作に同期して動作している場合、その周辺機器の動作もリセットしなければならず、さらにオペレータの負担を増大させていた。   Furthermore, when peripheral equipment such as a work transfer machine is operated in synchronization with the machining operation together with the processing machine, the operation of the peripheral equipment must be reset, which further increases the burden on the operator. It was.

本発明は、上記した事情に着目してなされたものであり、その目的とするところは、加工動作が中断した場合に、加工機による加工動作の再開と共に、周辺機器としての搬出装置の動作も再開されるように、加工機および搬出装置を自動的に制御することができるNC機械制御システムを提供することにある。   The present invention has been made paying attention to the above-described circumstances, and its purpose is that when the machining operation is interrupted, the machining operation by the processing machine is resumed and the operation of the carry-out device as a peripheral device is also performed. An object of the present invention is to provide an NC machine control system capable of automatically controlling a processing machine and an unloading device so as to be resumed.

本発明は上述の問題を解決するためのものであり、請求項1に係る発明は、複数のパーツを順次に加工する加工機と、前記加工機の加工動作に同期して動作する周辺機器と、前記加工機および前記周辺機器と連結して制御するコントローラからなるNC機械制御システムであって、
前記加工機は、前記加工機において複数のパーツを順次に加工する毎に前記周辺機器に動作指令するNCプログラムにより制御され、
前記周辺機器は、前記NCプログラムで動作指令される順序に動作制御するために必要な情報を並べた動作データを参照して制御され、
前記コントローラは、前記加工機が加工途中に中断した場合に加工を再開するための修正後のNCプログラム及び修正後の動作データを作成する再開データ作成機能を有し、前記修正後のNCプログラムを前記加工機に転送すると共に、前記修正後の動作データを前記周辺機器に転送することを特徴とする。
The present invention is for solving the above-mentioned problems, and the invention according to claim 1 is a processing machine that sequentially processes a plurality of parts, and a peripheral device that operates in synchronization with the processing operation of the processing machine. An NC machine control system comprising a controller connected to and controlled by the processing machine and the peripheral device,
The processing machine is controlled by an NC program that commands operation to the peripheral device each time a plurality of parts are sequentially processed in the processing machine,
The peripheral device is controlled with reference to operation data in which information necessary for operation control is arranged in the order in which operation is commanded by the NC program,
The controller has a modified NC program for resuming machining when the processing machine is interrupted in the middle of machining and a resume data creation function for creating modified operation data, and the modified NC program In addition to transferring to the processing machine, the corrected operation data is transferred to the peripheral device.

請求項2の発明では、請求項1の発明において、前記周辺機器が、前記加工機による加工済みのパーツを順次に搬出する搬出装置からなり、前記周辺機器を動作制御するための動作データが、前記加工済みのパーツを順次に搬出するための搬出データからなることを特徴とする。     In the invention of claim 2, in the invention of claim 1, the peripheral device comprises a carry-out device that sequentially carries out the parts processed by the processing machine, and operation data for controlling the operation of the peripheral device is: It consists of unloading data for sequentially unloading the processed parts.

請求項3の発明では、請求項2の発明において、前記再開データ作成機能が、加工再開位置を任意に指定する処理と、前記指定された加工再開位置におけるモーダル情報を前記NCプログラムから算出して修正後のNCプログラムに出力する処理と、前記指定された加工再開位置以降の加工プログラムを前記NCプログラムから呼び出して修正後のNCプログラムに出力する処理と、前記指定された加工再開位置における搬出回数を計算する処理と、前記搬出回数分の搬出情報を先頭から削除して修正後の搬出データを作成する処理と、を含むことを特徴とする。     According to a third aspect of the present invention, in the second aspect of the invention, the resumption data creation function calculates a process for arbitrarily specifying a machining resumption position and modal information at the designated machining resumption position from the NC program. Processing to output to the NC program after correction, processing to call a machining program after the specified machining resumption position from the NC program and output to the NC program after correction, and number of unloading at the specified machining resumption position And a process of creating corrected unloading data by deleting unloading information for the number of unloading times from the top.

請求項4の発明では、複数のパーツを順次に加工する加工機と、加工済みのパーツを順次に搬出する搬出装置と、前記加工機および前記搬出装置と連結して制御するコントローラからなるNC機械制御システムであって、
前記加工機は、前記加工機において複数のパーツを順次に加工する毎に前記搬出装置に搬出指令するNCプログラムにより制御され、
前記搬出装置は、前記NCプログラムで搬出指令される順序に搬出制御するために必要な情報を並べた搬出データを参照して制御され、
前記コントローラは、前記加工機が加工途中に中断した場合に加工を再開するための修正後のNCプログラム及び修正後の搬出データを作成する再開データ作成機能を有し、
前記再開データ作成機能は、
加工再開位置を任意に指定する処理と、
前記指定された加工再開位置におけるモーダル情報を前記NCプログラムから算出して修正後のNCプログラムに出力する処理と、
前記指定された加工再開位置以降の加工プログラムを前記NCプログラムから呼び出して修正後のNCプログラムに出力する処理と、
前記指定された加工再開位置における搬出回数を計算する処理と、
前記搬出回数分の搬出情報を先頭から削除して修正後の搬出データを作成する処理と、
を含むことを特徴とする。
According to a fourth aspect of the present invention, an NC machine comprising a processing machine that sequentially processes a plurality of parts, a carry-out device that sequentially carries out processed parts, and a controller that is connected to and controlled by the processing machine and the carry-out device. A control system,
The processing machine is controlled by an NC program that issues a carry-out command to the carry-out device each time a plurality of parts are sequentially processed in the processing machine,
The unloading device is controlled with reference to unloading data in which information necessary for unloading control is arranged in the order in which unloading is commanded by the NC program,
The controller has a restart data creation function for creating a modified NC program for resuming machining when the processing machine is interrupted during machining and a delivery data after modification,
The resume data creation function is:
Processing to arbitrarily specify the machining restart position;
Processing for calculating modal information at the designated machining resumption position from the NC program and outputting it to the corrected NC program;
Processing for calling a machining program after the designated machining resumption position from the NC program and outputting it to the corrected NC program;
Processing to calculate the number of unloading at the specified processing restart position;
Processing to delete the unloading information for the number of unloading times from the top and create unloading data after correction;
It is characterized by including.

加工動作が中断した場合にも、加工機による加工動作の再開と共に、周辺機器としての搬出装置の動作も再開されるように、加工機および搬出装置を自動的に制御することができる。   Even when the machining operation is interrupted, the processing machine and the carry-out device can be automatically controlled so that the operation of the carry-out device as a peripheral device is resumed along with the resumption of the machining operation by the machine.

本発明を実施したNC機械制御システムの全体概略を示す機能ブロック図である。It is a functional block diagram which shows the whole schematic of the NC machine control system which implemented this invention. 図1に示したNC機械制御システムにおける加工機5および周辺機器6およびシステムコントローラ7の加工再開動作のフローチャートである。It is a flowchart of the process resumption operation | movement of the processing machine 5, the peripheral device 6, and the system controller 7 in NC machine control system shown in FIG. 加工再開動作における一連のNCプログラムおよびSY2データの一例を示す説明図である。It is explanatory drawing which shows an example of a series of NC program and SY2 data in a process resumption operation | movement. システムコントローラ7に表示されたシート再加工画面の一例を示す説明図である。It is explanatory drawing which shows an example of the sheet rework screen displayed on the system controller. システムコントローラ7に表示されたシート再加工画面の一例を示す説明図である。It is explanatory drawing which shows an example of the sheet rework screen displayed on the system controller. 図2のステップ131の再開データ作成機能におけるNCプログラム修正処理のフローチャートである。It is a flowchart of NC program correction processing in the restart data creation function of step 131 of FIG. 図2のステップ131の再開データ作成機能におけるSY2データ修正処理のフローチャートである。It is a flowchart of the SY2 data correction process in the restart data creation function of step 131 of FIG.

図1は、本発明を実施したNC機械制御システムの全体概略を示す機能ブロック図である。   FIG. 1 is a functional block diagram showing an overall outline of an NC machine control system embodying the present invention.

このNC機械制御システムは、自動プログラミング装置、ホストコンピュータ、MMC等を適用し得る外部コンピュータ1と、外部コンピュータ1により作成された加工プログラムや種々のデータを記憶する記憶手段としてのデータベース3と、データベース3よりの情報(加工プログラムおよびSY2データ)に従って加工機5および周辺機器としての搬出装置6を制御するシステムコントローラ7とがネットワーク9を介して接続され、システムコントローラ7に加工機5および搬出装置6が並列に接続されている。   This NC machine control system includes an external computer 1 to which an automatic programming device, a host computer, an MMC, etc. can be applied, a database 3 as a storage means for storing machining programs and various data created by the external computer 1, and a database 3 is connected to a system controller 7 that controls the processing machine 5 and the unloading device 6 as a peripheral device in accordance with information (processing program and SY2 data) from the network 3, and the processing machine 5 and the unloading device 6 are connected to the system controller 7. Are connected in parallel.

なお、加工機5は、システムコントローラ7よりのNCプログラムにより加工動作を行うためのNC装置を有しており、搬出装置6は、システムコントローラ7よりのSY2データ(搬出データ)により加工機5の加工動作に同期して製品の搬出動作するための駆動制御部を有している。   The processing machine 5 has an NC device for performing a processing operation according to an NC program from the system controller 7, and the unloading device 6 uses the SY2 data (unloading data) from the system controller 7. It has a drive control unit for carrying out the product carry-out operation in synchronization with the machining operation.

また、システムコントローラ7は、後述するシート再加工画面等を表示し、オペレータの指示を入力する入力表示装置を有している。   Further, the system controller 7 has an input display device for displaying a sheet rework screen and the like to be described later and inputting an operator's instruction.

この実施形態では、加工機5は、例えば、シート(被加工部材)をレーザ加工するレーザ加工機からなり、搬出装置6は、加工機5に対してシートを搬入・搬出するTK装置からなるが、他の加工機あるいは周辺装置に適用することも可能である。   In this embodiment, the processing machine 5 is a laser processing machine that performs laser processing on a sheet (member to be processed), for example, and the carry-out device 6 is a TK device that carries a sheet into and out of the processing machine 5. It is also possible to apply to other processing machines or peripheral devices.

図1に示したNC機械制御システムにおいては、データベース3よりの加工プログラムやSY2データ(周辺機器の動作データ、ここでは搬出データ)に基づいて、加工機5および搬出装置6の動作が制御されるようになっている。   In the NC machine control system shown in FIG. 1, the operations of the processing machine 5 and the unloading device 6 are controlled based on the machining program from the database 3 and SY2 data (peripheral device operation data, here, unloading data). It is like that.

NC機械制御システムにおいては、特急品の割り込みにより加工動作が中断した場合やトラブルが発生して加工動作が中断した場合に、指定した加工再開位置から加工動作を再開するように加工機5および搬出装置6の加工再開動作が制御される。   In the NC machine control system, when the machining operation is interrupted due to an interruption of an express product or when a trouble occurs and the machining operation is interrupted, the processing machine 5 and the unloading machine 5 are resumed so that the machining operation is resumed from the designated machining resumption position. The processing resuming operation of the apparatus 6 is controlled.

次に、図2のフローチャートを参照して、NC機械制御システムにおける加工機5および搬出装置6およびシステムコントローラ7の加工再開動作について説明する。   Next, with reference to the flowchart of FIG. 2, the processing resuming operation of the processing machine 5, the unloading device 6 and the system controller 7 in the NC machine control system will be described.

図2は、NC機械制御システムにおける加工機5および搬出装置6およびシステムコントローラ7の加工再開動作のフローチャートであり、図3〜7は、NC機械制御システムにおける加工機5および搬出装置6およびシステムコントローラ7の加工再開動作の説明図である。   FIG. 2 is a flowchart of the processing resumption operation of the processing machine 5, the unloading device 6 and the system controller 7 in the NC machine control system, and FIGS. 3 to 7 show the processing machine 5, the unloading device 6 and the system controller in the NC machine control system. FIG. 7 is an explanatory diagram of the processing restart operation of FIG.

図2のステップ101において、まず、システムコントローラ7は、搬出装置6へSY2データ(搬出データ)を転送し、ステップ103において、搬出装置6の駆動制御部は、その転送されたSY2データを受信する。   In step 101 of FIG. 2, first, the system controller 7 transfers SY2 data (export data) to the carry-out device 6, and in step 103, the drive control unit of the carry-out device 6 receives the transferred SY2 data. .

次に、ステップ105において、システムコントローラ7は、加工機5へNCプログラムを転送し、ステップ107において、加工機5のNC装置は、その転送されたNCプログラムを受信する。   Next, in step 105, the system controller 7 transfers the NC program to the processing machine 5, and in step 107, the NC device of the processing machine 5 receives the transferred NC program.

ステップ109において、システムコントローラ7から加工機5へ加工開始指令が送られると、ステップ111において、加工機5のNC装置は、NCプログラムによる自動運転を開始し、ステップ113において、加工機5のNC装置は、NCプログラムにおける当該行の加工を実行する。   When a processing start command is sent from the system controller 7 to the processing machine 5 in step 109, the NC device of the processing machine 5 starts automatic operation according to the NC program in step 111. In step 113, the NC of the processing machine 5 is started. The apparatus executes processing of the line in the NC program.

図3は、加工再開動作における一連のNCプログラムおよびSY2データの一例を示す説明図である。   FIG. 3 is an explanatory diagram showing an example of a series of NC programs and SY2 data in the machining restart operation.

図3に示すように、NCプログラムとSY2データとは相互に関連しており、加工機5により加工された製品を、搬出装置6が搬出するようになっている。   As shown in FIG. 3, the NC program and the SY2 data are related to each other, and the unloading device 6 unloads the product processed by the processing machine 5.

図2に戻り、次に、ステップ115において、加工機5のNC装置は、NCプログラムにおいて搬出装置6に製品の搬出を指令する搬出指令(M32)があるか否かを判定し、搬出指令(M32)があると判定された場合、ステップ117において、加工機5のNC装置は、搬出装置6に製品の搬出を指令する。   Returning to FIG. 2, next, in step 115, the NC device of the processing machine 5 determines whether or not there is a carry-out command (M32) for instructing the carry-out device 6 to carry out the product in the NC program. If it is determined that there is M32), in step 117, the NC device of the processing machine 5 instructs the carry-out device 6 to carry out the product.

ステップ119において、搬出装置6の駆動制御部は、加工機5側よりの搬出指令を受信すると、SY2データから搬出指令と対になる搬出情報を読み込み、指定された搬出位置に搬出機器を移動させ、製品を吸着して搬出し(ステップ121)、搬出が完了すると、搬出完了を加工機5側へ送る(ステップ123)。   In step 119, when receiving the carry-out command from the processing machine 5 side, the drive control unit of the carry-out device 6 reads the carry-out information that is paired with the carry-out command from the SY2 data, and moves the carry-out device to the designated carry-out position. Then, the product is adsorbed and carried out (step 121), and when the carry-out is completed, the carry-out completion is sent to the processing machine 5 side (step 123).

次に、ステップ125において、加工機5のNC装置は、搬出完了を待つ状態で、搬出装置6側から搬出完了を受け取る。   Next, in step 125, the NC device of the processing machine 5 receives the completion of unloading from the unloading device 6 side while waiting for completion of unloading.

ステップ113においての加工実行中あるいはステップ125で完了を待つ搬出装置6における搬出実行中に処理を中断し、ステップ127において加工機5のNC装置により加工動作が中断したことを認識した場合、ステップ129において、システムコントローラ7は、中断したプログラムの行およびエラー番号等を受け取り、ステップ131において、再開データ作成機能を起動する。   When the processing is interrupted during the execution of the processing in step 113 or during the unloading execution in the unloading device 6 waiting for completion in step 125, and in step 127 it is recognized that the processing operation is interrupted by the NC device of the processing machine 5, step 129 In step 131, the system controller 7 receives the line of the interrupted program, the error number, and the like, and activates the resume data creation function in step 131.

ステップ127において加工動作が中断しない場合、ステップ133において、加工機5のNC装置は、実行したNCプログラムの行が最終行か否かを判定し、実行したNCプログラムの行が最終行である場合、ステップ135において、加工機5のNC装置は、システムコントローラ7に加工の完了を伝え、ステップ137において、システムコントローラ7は、終了状態が正常終了である場合の通常終了処理を行う。   If the machining operation is not interrupted in step 127, in step 133, the NC device of the processing machine 5 determines whether or not the line of the executed NC program is the final line. If the line of the executed NC program is the final line, In step 135, the NC device of the processing machine 5 notifies the system controller 7 of the completion of processing, and in step 137, the system controller 7 performs normal end processing when the end state is normal end.

また、ステップ133において、実行したNCプログラムの行が最終行でない場合、ステップ139において、加工機5のNC装置は、NCプログラムの次の行に移り、ステップ113へ戻る。   If the executed NC program line is not the last line in step 133, the NC device of the processing machine 5 moves to the next line of the NC program in step 139 and returns to step 113.

次に、図4〜図7を参照して、ステップ131におけるシステムコントローラ7による再開データ作成機能について説明する。 Next, with reference to FIGS. 4 to 7, a description will resume data generation function by the system controller 7 at step 131.

まず、システムコントローラ7による再開データ作成機能が起動される前に、オペレータによる加工再開位置の選択処理が行われる。図4および図5は、システムコントローラ7の入力表示装置に表示されたシート再加工画面の一例を示す説明図である。   First, before the restart data creation function by the system controller 7 is activated, the processing restart position selection process by the operator is performed. 4 and 5 are explanatory diagrams illustrating an example of a sheet rework screen displayed on the input display device of the system controller 7.

図4に示すように、シート再加工画面は、被加工部材としてのシート上の各加工パーツA,B,C,Dを図示する画面Xと、画面Xに示された加工パーツA,B,C,Dの加工プログラムを示す画面Yと、加工再開位置の指定や作成および閉じる等の指示の指示ボタンが示された画面Zとからなっている。   As shown in FIG. 4, the sheet rework screen includes a screen X illustrating each processed part A, B, C, and D on the sheet as a workpiece, and a processed part A, B, A screen Y showing the machining programs C and D and a screen Z showing instruction buttons for designating, creating and closing the machining resumption position.

例えば、図4に示すように、画面Xにおいて加工パーツBの途中で加工が中断した中断マークFのあるシート再加工画面が、システムコントローラ7の入力表示装置に表示された場合、オペレータは、シート再加工画面に表示された画面Zを使って再加工開始位置および再加工終了位置の指示入力を行う。この場合、オペレータは、再加工開始位置として、加工パーツBの先頭要素を選択し、再加工終了位置として、加工パーツDの最後尾要素を選択して指示入力を行う。   For example, as shown in FIG. 4, when a sheet reworking screen having an interruption mark F in which processing is interrupted in the middle of the processing part B on the screen X is displayed on the input display device of the system controller 7, the operator Using the screen Z displayed on the rework screen, instructions for the rework start position and rework end position are input. In this case, the operator selects the first element of the processed part B as the rework start position, selects the last element of the processed part D as the rework end position, and inputs an instruction.

なお、再加工開始位置として、加工パーツBの先頭要素を選択し、再加工終了位置として、加工パーツDの最後尾要素を選択して指示入力を行うと、図5に示すようなシート再加工画面がシステムコントローラ7の入力表示装置に表示される。   When the start element of the processed part B is selected as the rework start position, and the last element of the processed part D is selected as the rework end position and an instruction is input, the sheet rework as shown in FIG. 5 is performed. The screen is displayed on the input display device of the system controller 7.

なお、図4に示す例では加工再開位置が1つであるが、加工再開位置が複数(この場合2つ)の場合もあり、この場合、複数の加工再開位置のそれぞれに対して、再加工開始位置および再加工終了位置の指示入力を行う。   In the example shown in FIG. 4, there is one machining restart position, but there may be a plurality of machining resume positions (two in this case). In this case, re-machining is performed for each of the plurality of machining resume positions. Input the start position and rework end position.

図6は、図2のステップ131の再開データ作成機能におけるNCプログラム修正処理のフローチャートであり、図7は、図2のステップ131の再開データ作成機能におけるSY2データ修正処理のフローチャートである。   6 is a flowchart of the NC program correction process in the restart data creation function in step 131 of FIG. 2, and FIG. 7 is a flowchart of the SY2 data correction process in the restart data creation function in step 131 of FIG.

ここでは、加工再開位置以降の加工が可能となるように修正NCプログラムおよび修正SY2データを作成する。   Here, the modified NC program and the modified SY2 data are created so that machining after the machining restart position is possible.

図6のステップ201において、システムコントローラ7は、修正前NCプログラムを1行読み込み、ステップ202において、読み込んだ修正前NCプログラムの行が、NCプログラムにおける加工再開位置の行の前か否を判定する。   In step 201 of FIG. 6, the system controller 7 reads one line of the NC program before correction, and in step 202, determines whether or not the line of the read NC program before correction is before the line of the machining resumption position in the NC program. .

ステップ202において読み込んだ修正前NCプログラムの行が加工再開位置の行の前である場合、ステップ203において、システムコントローラ7は、再加工に必要なモーダル情報を更新して内部情報として保持する。   If the pre-correction NC program line read in step 202 is before the machining resumption position line, in step 203, the system controller 7 updates the modal information necessary for re-machining and holds it as internal information.

ここで、モーダル情報とは、再加工に必要なデータのことであり、例えば、図3に一部が表示されるように、リポ移動量を考慮し座標値を補正し出力される指令(G92等)、元にあった場合必ず再出力する指令(M102,G92等)、レーザー切断条件(E003等)、加工再開位置の状況によって出力されるMコード、レーザー開始指令:M100、TK装置指令:M31,383等、パンチモーダルMコード:M08,120等、金型Mコード:M690,696等、再加工以降で使用されるUV定義、モーダル座標情報からなる。   Here, the modal information is data necessary for reprocessing. For example, as shown in FIG. 3, a command (G92) is output after correcting the coordinate value in consideration of the lipo movement amount. Etc.), the command to be re-output if it was originally (M102, G92, etc.), laser cutting conditions (E003, etc.), M code that is output depending on the status of the machining restart position, laser start command: M100, TK device command: M31, 383, etc., punch modal M code: M08, 120, etc., mold M code: M690, 696, etc., consisting of UV definition and modal coordinate information used after reworking.

ステップ201において読み込んだ修正前NCプログラムの行が加工再開位置の行であるとステップ205で判定した場合、ステップ209において、システムコントローラ7は、ステップ203で内部情報として更新されて蓄えられたモーダル情報をまとめて修正NCプログラムとする。   When it is determined in step 205 that the line of the NC program before correction read in step 201 is the line of the machining resumption position, in step 209, the system controller 7 updates the modal information stored as internal information in step 203. Are combined into a modified NC program.

ステップ201において読み込んだ修正前NCプログラムの行が加工再開位置の行の前ではない場合、ステップ205において、システムコントローラ7は、読み込んだ修正前NCプログラムの行が加工再開位置の行であるか否かを判定し、読み込んだ修正前NCプログラムの行が加工再開位置の行ではない場合、ステップ207において、システムコントローラ7は、修正前NCプログラムをそのまま修正NCプログラムとする。 When the line of the NC program before correction read in step 201 is not before the line of the machining resumption position , in step 205, the system controller 7 determines whether or not the line of the read NC program before correction is the line of the machining resumption position. In step 207, the system controller 7 uses the pre-correction NC program as it is as the corrected NC program.

次に、ステップ211において、システムコントローラ7は、読み込んだ修正前NCプログラムの行が最終行か否かを判定し、読み込んだ修正前NCプログラムの行が最終行である場合、処理を終了し、読み込んだ修正前NCプログラムの行が最終行でない場合、ステップ213において、次の行へ移行し、ステップ201に戻る。   Next, in step 211, the system controller 7 determines whether or not the line of the read NC program before correction is the last line. If the read line of the NC program before correction is the final line, the system controller 7 ends the process and reads it. If the line of the NC program before correction is not the last line, the process proceeds to the next line in step 213 and returns to step 201.

次に、図7を参照して、図2のステップ131の再開データ作成機能におけるSY2データ修正処理について説明する。   Next, the SY2 data correction process in the restart data creation function in step 131 of FIG. 2 will be described with reference to FIG.

図7のステップ301において、システムコントローラ7は、修正前NCプログラムにおける加工再開位置の行に至る搬出指令(M32)の回数をチェックし、搬出指令(M32)の回数が0より大きいか否かを判定し、搬出指令(M32)の回数が0より大きい場合、ステップ303において、システムコントローラ7は、修正前SY2データのヘッドデータ(HEADER−INFO:図3参照)を修正後SY2データのファイルに出力する。 In step 301 of FIG. 7, the system controller 7 checks the number of unloading commands (M32) reaching the line of the machining resumption position in the NC program before correction, and determines whether the number of unloading commands (M32) is greater than zero. If the number of carry-out commands (M32) is greater than 0, the system controller 7 outputs the head data (HEADER-INFO: see FIG. 3) of the SY2 data before correction to the file of the SY2 data after correction. To do.

ここで、システムコントローラ7は、ヘッドデータ(HEADERINFO)におけるPDNUMを、PDNUMから搬出指令回数を減算したものに更新する。 Here, the system controller 7 updates the PDNUM in the head data (HEADER - INFO) to a value obtained by subtracting the number of carry-out commands from the PDNUM.

次に、ステップ305において、システムコントローラ7は、修正前SY2データにおけるPDxxxxを、上から搬出指令回数だけ削除し、それ以降のPDxxxxを、1から発番し直し、ステップ307において、修正前SY2データにおける他のデータは修正せずに修正後SY2データのファイルに出力する。 Next, in step 305, the system controller 7 deletes PD - xxxx in the uncorrected SY2 data by the number of carry-out commands from the top, and renumbers the subsequent PD - xxxx from 1, and in step 307 Other data in the pre-correction SY2 data is not corrected and is output to the post-correction SY2 data file.

ステップ301において搬出指令(M32)の回数が0より大きくない場合、ステップ309において、システムコントローラ7は、修正前SY2データをそのまま修正せずに修正後SY2データのファイルに出力する。   If the number of carry-out commands (M32) is not larger than 0 in step 301, in step 309, the system controller 7 outputs the pre-correction SY2 data as it is to the post-correction SY2 data file.

このように、本実施形態によれば、特急品の割り込みにより加工動作が中断した場合やトラブルが発生して加工動作が中断した場合にも、オペレータの指定した加工再開位置から加工動作を再開するように加工機5および搬出装置6を自動的に制御することができる。   As described above, according to the present embodiment, the machining operation is resumed from the machining resumption position designated by the operator even when the machining operation is interrupted due to the interruption of the express product or when a trouble occurs and the machining operation is interrupted. Thus, the processing machine 5 and the unloading device 6 can be automatically controlled.

従って、加工動作が中断した場合に、加工機5による加工動作を再開と共に、搬出装置6の動作も再開されるので、オペレータは搬出装置6のリセットに伴う煩雑な操作から解放される。   Therefore, when the machining operation is interrupted, the machining operation by the processing machine 5 is resumed, and the operation of the carry-out device 6 is also resumed, so that the operator is free from complicated operations accompanying the reset of the carry-out device 6.

この発明は前述の発明の実施の形態に限定されることなく、適宜な変更を行うことにより、その他の態様で実施し得るものである。   The present invention is not limited to the embodiments of the invention described above, and can be implemented in other modes by making appropriate modifications.

1 外部コンピュータ
3 データベース
5 加工機
6 周辺装置(搬出装置)
7 システムコントローラ
9 ネットワーク
1 External computer 3 Database 5 Processing machine 6 Peripheral device (unloading device)
7 System controller 9 Network

Claims (4)

複数のパーツを順次に加工する加工機と、前記加工機の加工動作に同期して動作する周辺機器と、前記加工機および前記周辺機器と連結して制御するコントローラからなるNC機械制御システムであって、
前記加工機は、前記加工機において複数のパーツを順次に加工する毎に前記周辺機器に動作指令するNCプログラムにより制御され、
前記周辺機器は、前記NCプログラムで動作指令される順序に動作制御するために必要な情報を並べた動作データを参照して制御され、
前記コントローラは、前記加工機が加工途中に中断した場合に加工を再開するための修正後のNCプログラム及び修正後の動作データを作成する再開データ作成機能を有し、前記修正後のNCプログラムを前記加工機に転送すると共に、前記修正後の動作データを前記周辺機器に転送することを特徴とするNC機械制御システム。
An NC machine control system comprising a processing machine that sequentially processes a plurality of parts, a peripheral device that operates in synchronization with the processing operation of the processing machine, and a controller that is connected to and controlled by the processing machine and the peripheral device. And
The processing machine is controlled by an NC program that commands operation to the peripheral device each time a plurality of parts are sequentially processed in the processing machine,
The peripheral device is controlled with reference to operation data in which information necessary for operation control is arranged in the order in which operation is commanded by the NC program,
The controller has a modified NC program for resuming machining when the processing machine is interrupted in the middle of machining and a resume data creation function for creating modified operation data, and the modified NC program An NC machine control system characterized by transferring the corrected operation data to the peripheral device as well as transferring to the processing machine.
前記周辺機器が、前記加工機による加工済みのパーツを順次に搬出する搬出装置からなり、前記周辺機器を動作制御するための動作データが、前記加工済みのパーツを順次に搬出するための搬出データからなることを特徴とする請求項1記載のNC機械制御システム。   The peripheral device comprises a carry-out device for sequentially carrying out the parts processed by the processing machine, and operation data for controlling the operation of the peripheral device is carry-out data for carrying out the processed parts sequentially. The NC machine control system according to claim 1, comprising: 前記再開データ作成機能が、加工再開位置を任意に指定する処理と、前記指定された加工再開位置におけるモーダル情報を前記NCプログラムから算出して修正後のNCプログラムに出力する処理と、前記指定された加工再開位置以降の加工プログラムを前記NCプログラムから呼び出して修正後のNCプログラムに出力する処理と、前記指定された加工再開位置における搬出回数を計算する処理と、前記搬出回数分の搬出情報を先頭から削除して修正後の搬出データを作成する処理と、を含むことを特徴とする請求項2に記載のNC機械制御システム。   The resumption data creation function is a process for arbitrarily designating a machining resumption position, a process for calculating modal information at the designated machining resumption position from the NC program, and outputting the modal information to a corrected NC program; A process for calling a machining program after the machining resumption position from the NC program and outputting it to the corrected NC program, a process for calculating the number of times of unloading at the designated machining resumption position, and unloading information for the number of times of unloading. The NC machine control system according to claim 2, further comprising: a process of deleting from the head and creating corrected unload data. 複数のパーツを順次に加工する加工機と、加工済みのパーツを順次に搬出する搬出装置と、前記加工機および前記搬出装置と連結して制御するコントローラからなるNC機械制御システムであって、
前記加工機は、前記加工機において複数のパーツを順次に加工する毎に前記搬出装置に搬出指令するNCプログラムにより制御され、
前記搬出装置は、前記NCプログラムで搬出指令される順序に搬出制御するために必要な情報を並べた搬出データを参照して制御され、
前記コントローラは、前記加工機が加工途中に中断した場合に加工を再開するための修正後のNCプログラム及び修正後の搬出データを作成する再開データ作成機能を有し、
前記再開データ作成機能は、
加工再開位置を任意に指定する処理と、
前記指定された加工再開位置におけるモーダル情報を前記NCプログラムから算出して修正後のNCプログラムに出力する処理と、
前記指定された加工再開位置以降の加工プログラムを前記NCプログラムから呼び出して修正後のNCプログラムに出力する処理と、
前記指定された加工再開位置における搬出回数を計算する処理と、
前記搬出回数分の搬出情報を先頭から削除して修正後の搬出データを作成する処理と、
を含むことを特徴とするNC機械制御システム。
An NC machine control system comprising a processing machine that sequentially processes a plurality of parts, an unloading device that sequentially unloads processed parts, and a controller that is connected to and controlled by the processing machine and the unloading device,
The processing machine is controlled by an NC program that issues a carry-out command to the carry-out device each time a plurality of parts are sequentially processed in the processing machine,
The unloading device is controlled with reference to unloading data in which information necessary for unloading control is arranged in the order in which unloading is commanded by the NC program,
The controller has a restart data creation function for creating a modified NC program for resuming machining when the processing machine is interrupted during machining and a delivery data after modification,
The resume data creation function is:
Processing to arbitrarily specify the machining restart position;
Processing for calculating modal information at the designated machining resumption position from the NC program and outputting it to the corrected NC program;
Processing for calling a machining program after the designated machining resumption position from the NC program and outputting it to the corrected NC program;
Processing to calculate the number of unloading at the specified processing restart position;
Processing to delete the unloading information for the number of unloading times from the top and create unloading data after correction;
NC machine control system characterized by including.
JP2015107554A 2015-05-27 2015-05-27 NC machine control system Active JP6611227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015107554A JP6611227B2 (en) 2015-05-27 2015-05-27 NC machine control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015107554A JP6611227B2 (en) 2015-05-27 2015-05-27 NC machine control system

Publications (2)

Publication Number Publication Date
JP2016224533A JP2016224533A (en) 2016-12-28
JP6611227B2 true JP6611227B2 (en) 2019-11-27

Family

ID=57748092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015107554A Active JP6611227B2 (en) 2015-05-27 2015-05-27 NC machine control system

Country Status (1)

Country Link
JP (1) JP6611227B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6748146B2 (en) * 2018-05-17 2020-08-26 ファナック株式会社 Control device, control method, and control program
CN114995297B (en) * 2022-08-04 2023-01-20 广东亚数智能科技股份有限公司 Numerical control machine tool machining method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0250703A (en) * 1988-08-12 1990-02-20 Okuma Mach Works Ltd Restoration method in dnc system

Also Published As

Publication number Publication date
JP2016224533A (en) 2016-12-28

Similar Documents

Publication Publication Date Title
US11813750B2 (en) Programming support apparatus, robot system, and programming support method
US7742839B2 (en) Robot system provided with robot controller
JP6351738B2 (en) Machine tool controller
KR20160011236A (en) Simulation system, programmable controller, simulation device, and engineering tool
JP6860529B2 (en) Numerical control device and data editing method
JP6611227B2 (en) NC machine control system
CN105291118A (en) Robot control device provided with function of reflecting points of difference of setting data compared with
JP6360002B2 (en) Numerical control device for managing machining data and machining results
JP3679844B2 (en) Sequence program execution device
JP6542710B2 (en) Numerical control device with program correction support function for alarm solution
JP6333824B2 (en) Data processing apparatus used by substrate working machine and substrate working system having the same
JP6346450B2 (en) Engineering apparatus and control logic verification method
US10295978B2 (en) Engineering device, engineering system, and download processing method
JP6220514B2 (en) Robot control system and robot control method
JP7180158B2 (en) Program development device and controller
JP2012048471A (en) Numerical control device and macro program execution method
WO2023127056A1 (en) Simulation device for robot or machine tool
WO2023248471A1 (en) Monitoring device and robot monitoring system
WO2018220923A1 (en) Program development support device, program development support system, program development support method, and program development support program
WO2023119348A1 (en) Program teaching assistance device
JP2004139384A (en) Sequence control device and its method
CN104898470A (en) Robot teaching and demonstrating data generation system and method
JP2022165170A (en) Information processing device, information processing method, control program, recording medium, program generation method, and article manufacturing method
JP5083505B2 (en) Specification information management method and specification information management system
CN109116756A (en) A kind of method and system that equipment is set up

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190520

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191023

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191025

R150 Certificate of patent or registration of utility model

Ref document number: 6611227

Country of ref document: JP

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