JP2001159906A - Nc working device - Google Patents

Nc working device

Info

Publication number
JP2001159906A
JP2001159906A JP34219199A JP34219199A JP2001159906A JP 2001159906 A JP2001159906 A JP 2001159906A JP 34219199 A JP34219199 A JP 34219199A JP 34219199 A JP34219199 A JP 34219199A JP 2001159906 A JP2001159906 A JP 2001159906A
Authority
JP
Japan
Prior art keywords
machining program
machining
tool
program
abnormality
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.)
Granted
Application number
JP34219199A
Other languages
Japanese (ja)
Other versions
JP4261708B2 (en
Inventor
Yasunari Kato
康徳 加藤
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine 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 Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP34219199A priority Critical patent/JP4261708B2/en
Publication of JP2001159906A publication Critical patent/JP2001159906A/en
Application granted granted Critical
Publication of JP4261708B2 publication Critical patent/JP4261708B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

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

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an NC working device capable of efficiently restarting operation even when the abnormality of a tool is detected and executing continuous operation even when the tool abnormality is repeated twice or more. SOLUTION: First and second working program specification data for specifying a working program to be executed next out of working programs stored in a schedule table 31 when the 1st and 2nd tool abnormality events are generated are stored in each working program. When a main shaft abnormality detection circuit 34 detects tool abnormality, an execution control part 35 judges the number of times of the tool abnormality and reads out and executes a working program specified by the 1st working program specification data in the case of the 1st tool abnormality or a working program specified by the 2nd working program specification data in the case of the 2nd tool abnormality.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、スケジュール運転
が可能なNC加工装置に関する。詳しくは、選択した複
数の加工プログラムを、予め設定したスケジュールに従
って実行させてワークを連続加工するNC加工装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an NC processing apparatus capable of performing a scheduled operation. More specifically, the present invention relates to an NC processing apparatus that executes a plurality of selected processing programs according to a preset schedule to continuously process a workpiece.

【0002】[0002]

【背景技術】従来、NC加工装置によってスケジュール
運転を行う場合、スケジュールテーブルに加工プログラ
ム名を実行する順番に入力し、このスケジュールテーブ
ルに入力された加工プログラム名の中から最初に実行す
る加工プログラム名に運転ポインタをセットしたのち、
サイクルスタートを行う。すると、運転ポインタがセッ
トされた加工プログラム名に対応する加工プログラムが
加工プログラムメモリから読み出され、この加工プログ
ラムに基づいて加工機本体が制御される。この加工プロ
グラムが終了すると、次の加工プログラム名に対応する
加工プログラムが加工プログラムメモリから読み出さ
れ、この加工プログラムに基づいて加工機本体が制御さ
れる。このような動作が繰り返されたのち、最終スケジ
ュールの加工プログラム名または加工プログラム名のな
いとことろで運転が終了される。
2. Description of the Related Art Conventionally, when a schedule operation is performed by an NC machining apparatus, machining program names are entered in a schedule table in the order of execution, and a machining program name to be executed first among machining program names inputted in the schedule table is used. After setting the driving pointer to,
Perform cycle start. Then, a machining program corresponding to the machining program name in which the operation pointer is set is read from the machining program memory, and the machining machine body is controlled based on the machining program. When this machining program ends, the machining program corresponding to the next machining program name is read from the machining program memory, and the machining machine body is controlled based on the machining program. After such operations are repeated, the operation is terminated when there is no machining program name or machining program name in the final schedule.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のスケジ
ュール運転では、たとえば、ワークの加工中において、
工具の折損検知や切削異常検出、あるいは、自動工具長
測定などで工具に異常が検出された場合、代替工具機能
により工具交換が行われたのち、再度、最初から加工が
行われていた。従って、あるワークに対して、粗加工
(1)、工具交換、粗加工(2)、工具交換、
仕上げ加工を順番に行う場合、仕上げ加工において工
具異常が検出されると、最初の粗加工から加工が行わ
れる結果、極めて効率が悪い。
In the above-described conventional schedule operation, for example, during machining of a workpiece,
When an abnormality is detected in a tool by tool breakage detection, cutting abnormality detection, automatic tool length measurement, or the like, machining has been performed again from the beginning after the replacement of the tool by the alternative tool function. Therefore, for a certain workpiece, rough machining (1), tool exchange, rough machining (2), tool exchange,
In the case where the finishing processing is performed in order, if a tool abnormality is detected in the finishing processing, the processing is performed from the first rough processing, resulting in extremely low efficiency.

【0004】しかも、工具異常が検出されたとき、工具
がワークに残った状態(ワークに刺さった状態など)に
あると、再度、最初から同じ工程が繰り返されても、同
じ個所で工具異常が検出される頻度が高く、結局、運転
が継続できない。とくに、1つのテーブルに複数個のワ
ークをセットして連続加工運転を行う場合、たとえば、
最初のワークの加工時に工具異常が繰り返し検出される
と、以後のワークについては加工が全く行われないこと
になり、結局、連続運転が実行されないという事態が生
じる。
In addition, when a tool abnormality is detected, if the tool is left on the work (such as being stuck in the work), even if the same process is repeated from the beginning, the tool abnormality will occur at the same place. The frequency of detection is high, and eventually the operation cannot be continued. In particular, when performing a continuous machining operation by setting a plurality of works on one table, for example,
If a tool abnormality is repeatedly detected during the processing of the first work, the subsequent work will not be processed at all, and as a result, a situation will occur in which continuous operation is not executed.

【0005】本発明の目的は、このような従来の不都合
を解消し、工具異常が検出されても効率よく運転を再開
できるとともに、工具異常が2回以上繰り返される場合
でも連続運転が可能なNC加工装置を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve such a conventional inconvenience, and to efficiently resume operation even when a tool abnormality is detected, and to provide an NC capable of continuous operation even when a tool abnormality is repeated two or more times. An object of the present invention is to provide a processing device.

【0006】[0006]

【課題を解決するための手段】本発明のNC加工装置
は、上記目的を達成するため、次の構成を採用する。請
求項1に記載のNC加工装置は、ワークと工具とを相対
移動させながらワークを加工する加工機本体と、複数種
の加工プログラムを記憶した加工プログラムメモリと、
選択した加工プログラムの実行順序を記憶したスケジュ
ールテーブルと、このスケジュールテーブルに記憶され
た加工プログラムの実行順序に対応する加工プログラム
を前記加工プログラムメモリから順次読み出し、この加
工プログラムに基づいて前記加工機本体を制御する実行
制御手段と、この実行制御手段による加工プログラムの
実行時に前記工具の異常を検出する工具異常検出手段と
を備えたNC加工装置において、前記各加工プログラム
には工具異常が生じたときに前記スケジュールテーブル
に記憶された加工プログラムの実行順序の中から次に実
行する加工プログラムを指定する加工プログラム指定デ
ータが記憶され、前記実行制御手段は、前記工具異常検
出手段によって工具異常が検出されたとき、実行中の加
工プログラムに記憶された加工プログラム指定データに
対応する加工プログラムを読み出して実行する、ことを
特徴とする。
An NC processing apparatus according to the present invention employs the following configuration to achieve the above object. An NC processing apparatus according to claim 1, a processing machine body that processes a workpiece while relatively moving the workpiece and a tool, a processing program memory storing a plurality of types of processing programs,
A schedule table storing the execution order of the selected machining program, and a machining program corresponding to the execution order of the machining program stored in the schedule table are sequentially read from the machining program memory, and based on the machining program, the processing machine main body is read. The NC processing apparatus includes: an execution control unit for controlling the execution of the machining program by the execution control unit; and a tool abnormality detection unit for detecting an abnormality of the tool when the machining program is executed by the execution control unit. In the execution order of the machining program stored in the schedule table, machining program designation data for designating a machining program to be executed next is stored, and the execution control unit detects a tool abnormality by the tool abnormality detection unit. The current machining program It has been read out and execute the machining program corresponding to the machining program specified data, characterized in that.

【0007】この構成によれば、スケジュール運転で
は、スケジュールテーブルに記憶された加工プログラム
の実行順序に対応する加工プログラムが加工プログラム
メモリから順次読み出され、この加工プログラムに基づ
いて加工機本体が制御されワークが加工される。この加
工中において、工具異常が生じると、その加工を実行し
ている加工プログラムに記憶された加工プログラム指定
データによって、スケジュールテーブルに記憶された加
工プログラムの中から次に実行する加工プログラムが指
定され、この加工プログラムに従って加工が実行され
る。従って、工具異常が生じたときに次に実行する加工
プログラムを任意に指定することができるから、工具異
常が検出されても、効率よく運転を再開できる。たとえ
ば、1つのワークについて、粗加工(1)、工具交
換、粗加工(2)、工具交換、仕上げ加工を順番
に行う場合、仕上げ加工を実行する加工プログラムに
工具交換の加工プログラムを指定する加工プログラム
指定データを記憶しておけば、工具異常からの再開後、
工具交換の加工プログラムから行うことができる。従
って、従来のように、最初から同じプログラムを行わな
くてもよいから、効率よく運転を再開できる。また、1
つのテーブルに複数個のワークをセットして連続加工運
転を行う場合でも、あるワークを加工する加工プログラ
ムに次のワークの加工を行う加工プログラムを指定する
加工プログラム指定データを記憶しておけば、あるワー
クの加工中に工具異常が生じても、次のワークに飛んで
連続に加工することができる。つまり、現在加工中のワ
ークについては不良品として加工を停止して、次のワー
クから加工を継続させることができる。
According to this configuration, in the schedule operation, the machining programs corresponding to the execution order of the machining programs stored in the schedule table are sequentially read from the machining program memory, and the machining machine body is controlled based on the machining programs. The work is processed. If a tool error occurs during this machining, the machining program to be executed next is designated from the machining programs stored in the schedule table by the machining program designation data stored in the machining program executing the machining. Processing is performed according to the processing program. Therefore, since a machining program to be executed next when a tool error occurs can be arbitrarily specified, the operation can be efficiently restarted even if a tool error is detected. For example, when performing rough machining (1), tool exchange, rough machining (2), tool exchange, and finish machining in order for one workpiece, machining that designates a tool exchange machining program as a machining program for performing finish machining is performed. By storing the program designation data, after restarting from a tool error,
This can be done from a tool change machining program. Therefore, unlike the related art, the same program does not have to be executed from the beginning, and the operation can be efficiently restarted. Also, 1
Even when performing a continuous machining operation by setting a plurality of workpieces on one table, if the machining program for machining a certain workpiece stores machining program designation data that specifies the machining program for machining the next workpiece, Even if a tool abnormality occurs during the processing of a certain work, it is possible to fly to the next work and perform continuous processing. In other words, the work currently being processed can be stopped as a defective product and the processing can be continued from the next work.

【0008】請求項2に記載のNC加工装置は、請求項
1に記載のNC加工装置において、前記各加工プログラ
ムには、加工プログラム実行中に第1回目の工具異常が
生じたときに前記スケジュールテーブルに記憶された加
工プログラムの実行順序の中から次に実行する加工プロ
グラムを指定する第1加工プログラム指定データと、同
一加工プログラム実行中に第2回目の工具異常が生じた
ときに前記スケジュールテーブルに記憶された加工プロ
グラムの実行順序の中から次に実行する加工プログラム
を指定する第2加工プログラム指定データとが記憶さ
れ、前記実行制御手段は、前記工具異常検出手段によっ
て工具異常が検出されたとき、何回目の工具異常かを判
断し、第1回目の工具異常のときには実行中の加工プロ
グラムに記憶された第1加工プログラム指定データに対
応する加工プログラムを読み出して実行するとともに、
第2回目の工具異常のときには実行中の加工プログラム
に記憶された第2加工プログラム指定データに対応する
加工プログラムを読み出して実行する、ことを特徴とす
る。
According to a second aspect of the present invention, in the NC machining apparatus according to the first aspect, each of the machining programs includes the schedule when the first tool abnormality occurs during execution of the machining program. First machining program designating data for designating a machining program to be executed next from the execution order of the machining programs stored in the table, and the schedule table when a second tool error occurs during execution of the same machining program. And the second machining program designating data for designating a machining program to be executed next from the execution sequence of the machining program stored in the execution control means. The execution control means detects that a tool abnormality has been detected by the tool abnormality detection means. At this time, the number of the tool abnormality is determined, and when the tool abnormality is the first time, it is stored in the machining program being executed. With reading and executing a corresponding machining program 1 machining program designation data,
In the case of a second tool abnormality, a machining program corresponding to the second machining program designation data stored in the machining program being executed is read and executed.

【0009】この構成によれば、ある加工プログラムの
実行中において、工具異常が生じると、何回目の工具異
常かが判断される。第1回目の工具異常のときには、実
行中の加工プログラムに記憶された第1加工プログラム
指定データに対応する加工プログラムが読み出され、こ
の加工プログラムに従って加工が行われる。第2回目の
工具異常のときには、実行中の加工プログラムに記憶さ
れた第2加工プログラム指定データに対応する加工プロ
グラムが読み出され、この加工プログラムに従って加工
が行われる。従って、第1加工プログラム指定データと
第2加工プログラム指定データとを異なるデータとして
おけば、第1回目に工具異常が生じたときに再開する加
工プログラムと、2回目に工具異常が生じたときに再開
する加工プログラムとを変えることができるから、工具
異常の回数に応じて再開するスケジュールを変えること
ができる。
According to this configuration, if a tool error occurs during execution of a certain machining program, it is determined what number of tool errors has occurred. At the time of the first tool abnormality, a machining program corresponding to the first machining program designation data stored in the machining program being executed is read, and machining is performed according to the machining program. At the time of the second tool abnormality, a machining program corresponding to the second machining program designation data stored in the currently executed machining program is read, and machining is performed according to the machining program. Therefore, if the first machining program designation data and the second machining program designation data are set as different data, the machining program which is restarted when the tool abnormality occurs for the first time and the machining program which restarts when the tool abnormality occurs for the second time Since the machining program to be restarted can be changed, the schedule to be restarted can be changed according to the number of tool abnormalities.

【0010】請求項3に記載のNC加工装置は、請求項
2に記載のNC加工装置において、前記第1加工プログ
ラム指定データとして現在実行中のワークの先頭加工プ
ログラムが記憶され、前記第2加工プログラム指定デー
タとして次に実行するワークの先頭加工プログラムが記
憶されている、ことを特徴とする。この構成によれば、
第1回目の工具異常のときには、現在実行中のワークの
先頭加工プログラムが読み出され、この加工プログラム
に従って加工が行われる。第2回目の工具異常のときに
は、次に実行するワークの先頭加工プログラムが読み出
され、この加工プログラムに従って加工が行われる。従
って、第1回目に工具異常が生じたときには同じワーク
について再度同じ加工プログラムが実行されるが、2回
目の工具異常が生じたときには、次のワークに対して加
工が行われるから、1つのテーブルに複数個のワークを
セットして連続加工運転を行う場合でも、途中で工具異
常が生じても、次のワークに飛んで連続に加工すること
ができる。
According to a third aspect of the present invention, there is provided the NC machining apparatus according to the second aspect, wherein a first machining program of a currently executed work is stored as the first machining program designation data, and the second machining is performed. A head machining program of a work to be executed next is stored as program designation data. According to this configuration,
In the case of the first tool abnormality, the leading machining program of the currently executing work is read out, and machining is performed according to the machining program. At the time of the second tool abnormality, the leading machining program of the work to be executed next is read out, and machining is performed according to the machining program. Therefore, when the first tool abnormality occurs, the same machining program is executed again for the same work. However, when the second tool abnormality occurs, machining is performed for the next work. Even when a plurality of workpieces are set in a continuous machining operation and a tool error occurs on the way, it is possible to fly to the next workpiece and perform continuous machining.

【0011】請求項4に記載のNC加工装置は、請求項
1ないし請求項3のいずれかに記載のNC加工装置にお
いて、前記実行制御手段は、前記工具異常検出手段によ
って工具異常が検出されたとき、加工機本体をホームポ
ジションへ復帰させることを特徴とする。この構成によ
れば、工具異常が検出されると、まず、加工機本体はホ
ームポジションへ復帰され、この状態から次に指定され
た加工プログラムが実行されるから、安全が図れるとと
もに、次の加工プログラムへの移行をスムーズに行え
る。
According to a fourth aspect of the present invention, in the NC machining apparatus according to any one of the first to third aspects, the execution control means detects a tool abnormality by the tool abnormality detection means. At this time, the processing machine body is returned to the home position. According to this configuration, when a tool abnormality is detected, first, the processing machine main body is returned to the home position, and the next specified processing program is executed from this state. The transition to the program can be performed smoothly.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施形態を図面
に基づいて説明する。図1は本実施形態のNC加工装置
を示している。同NC加工装置は、ワークと工具とを三
次元方向(X,Y,Z軸方向)へ相対移動させてワーク
を加工する加工機本体10と、ホストコンピュータ20
と、NC装置30と、シーケンサ40とを備える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an NC processing apparatus according to the present embodiment. The NC processing apparatus includes a processing machine body 10 that relatively moves a work and a tool in a three-dimensional direction (X, Y, and Z axis directions) to process the work, and a host computer 20.
, An NC device 30, and a sequencer 40.

【0013】加工機本体10は、テーブル11と、この
テーブル1の前後方向(Y軸方向)へ移動可能に設けら
れた門形フレーム12と、この門形フレーム12の水平
ビーム12Aに沿って左右方向(X軸方向)へ移動可能
に設けられたサドル13と、このサドル13に上下方向
(Z軸方向)へ昇降可能に設けられた昇降ブロック14
と、この昇降ブロック14に回転可能に設けられた主軸
15とから構成されている。主軸15には、工具ホルダ
(図示省略)を介して工具16が取り付けられている。
また、この加工機本体10の近傍には、表示画面17を
有する操作盤18が設置されている。
The processing machine body 10 includes a table 11, a portal frame 12 movably provided in the front-rear direction (Y-axis direction) of the table 1, and left and right along a horizontal beam 12 A of the portal frame 12. A saddle 13 movably provided in a direction (X-axis direction), and a lifting block 14 provided on the saddle 13 movably in a vertical direction (Z-axis direction).
And a main shaft 15 rotatably provided on the lifting block 14. A tool 16 is attached to the main shaft 15 via a tool holder (not shown).
An operation panel 18 having a display screen 17 is provided near the processing machine body 10.

【0014】ホストコンピュータ20は、加工プログラ
ムメモリ21を備える。加工プログラムメモリ21に
は、複数種の加工プログラムが記憶されている。各加工
プログラムには、図2に示すように、プログラムの先頭
に、工具異常が生じたときに次に実行する加工プログラ
ムを指定する加工プログラム指定データ22,23が記
憶されている。具体的には、加工プログラム実行中に第
1回目の工具異常が生じたときに次に実行する加工プロ
グラムを指定する第1加工プログラム指定データ22
と、同一加工プログラム実行中に第2回目の工具異常が
生じたときに次に実行する加工プログラムを指定する第
2加工プログラム指定データ23とが記憶されている。
なお、加工プログラム指定データ22,23によって指
定される加工プログラムは、後述するスケジュールテー
ブル31に記憶された加工プログラムの実行順序の中か
ら選択される。
The host computer 20 has a machining program memory 21. The machining program memory 21 stores a plurality of types of machining programs. As shown in FIG. 2, in each machining program, machining program designation data 22 and 23 for designating a machining program to be executed next when a tool error occurs are stored at the beginning of the program. Specifically, when a first tool error occurs during execution of the machining program, first machining program designation data 22 for designating a machining program to be executed next
And second machining program designation data 23 for designating a machining program to be executed next when a second tool abnormality occurs during execution of the same machining program.
The machining program specified by the machining program designation data 22 and 23 is selected from the execution order of the machining programs stored in the schedule table 31 described later.

【0015】NC装置30は、選択した加工プログラム
の加工プログラム名(ファイル名)を実行順序に従って
順番に記憶したスケジュールテーブル31と、このスケ
ジュールテーブル31に記憶された加工プログラム名に
対応して前記ホストコンピュータ20の加工プログラム
メモリ21から読み出された加工プログラムを格納する
加工プログラム格納メモリ32と、この加工プログラム
格納メモリ32に格納された加工プログラムを実行する
ために記憶し前記加工機本体10を制御する実行バッフ
ァ33と、加工プログラムの実行時に加工機本体10の
工具異常を検出する工具異常検出手段としての主軸異常
検出回路34と、これらを制御するマクロプログラムを
有する実行制御部35とを備えている。なお、主軸異常
検出回路34は、主軸15を駆動するモータの電流値か
ら工具異常を検出するものであるが、これに限られな
い。
The NC device 30 includes a schedule table 31 in which machining program names (file names) of the selected machining programs are stored in order according to the execution order, and the host computer corresponding to the machining program names stored in the schedule table 31. A machining program storage memory 32 for storing a machining program read from the machining program memory 21 of the computer 20, and a memory for storing and executing the machining program stored in the machining program storage memory 32 for controlling the machining machine body 10. An execution buffer 33, a spindle abnormality detection circuit 34 as a tool abnormality detection means for detecting a tool abnormality of the processing machine main body 10 when a machining program is executed, and an execution control unit 35 having a macro program for controlling these. I have. Note that the spindle abnormality detection circuit 34 detects a tool abnormality from the current value of the motor that drives the spindle 15, but is not limited thereto.

【0016】シーケンサ40は、前記NC装置30の主
軸異常検出回路34からの異常検出信号に基づいて、前
記実行制御部35に割り込み指令を与えるマクロプログ
ラム割込回路41を備えている。これにより、実行制御
部35は、主軸異常検出回路34で工具異常が検出され
たとき、何回目の工具異常かを判断する。第1回目の工
具異常のときには、実行中の加工プログラムに記憶され
た第1加工プログラム指定データ22に対応する加工プ
ログラムを加工プログラムメモリ21から読み出し、こ
れを実行させる。第2回目の工具異常のときには、実行
中の加工プログラムに記憶された第2加工プログラム指
定データ23に対応する加工プログラムを加工プログラ
ムメモリ21から読み出し、これを実行させる。
The sequencer 40 has a macro program interrupt circuit 41 for giving an interrupt command to the execution control unit 35 based on an abnormality detection signal from the spindle abnormality detection circuit 34 of the NC unit 30. Accordingly, when the spindle abnormality detection circuit 34 detects a tool abnormality, the execution control unit 35 determines the number of the tool abnormality. At the time of the first tool abnormality, a machining program corresponding to the first machining program designation data 22 stored in the machining program being executed is read from the machining program memory 21 and executed. At the time of the second tool abnormality, a machining program corresponding to the second machining program designation data 23 stored in the machining program being executed is read from the machining program memory 21 and executed.

【0017】このような構成において、いま、図3に示
すように、1つのテーブル51に複数個(4個)のワー
クNO1〜NO4をセットして連続加工運転を行う場合を想定
する。まず、操作盤18において、スケジュールテーブ
ル31に、図4に示すプログラム名(ファイル名)を入
力する。最初のワークNO1については、加工する順番に
加工プログラム名ABC,DEF,GHIを入力する。
次のワークNO2については、加工プログラム名JKL,
MNO,PQを入力する。次のワークNO3については、
加工プログラム名RS,TUを入力する。最後のワーク
NO4については、加工プログラム名VW,XYXを入力
する。すると、表示画面17には、図5に示すように表
示される。
In such a configuration, as shown in FIG. 3, it is assumed that a plurality of (four) workpieces NO1 to NO4 are set in one table 51 to perform a continuous machining operation. First, on the operation panel 18, a program name (file name) shown in FIG. For the first work NO1, machining program names ABC, DEF, and GHI are input in the order of machining.
For the next work NO2, the machining program name JKL,
Input MNO and PQ. For the next work NO3,
Input the machining program names RS and TU. Last work
For NO4, the machining program name VW, XYX is input. Then, it is displayed on the display screen 17 as shown in FIG.

【0018】ここで、サイクルスタート(スケジュール
運転のサイクルスタート)すると、スケジュールテーブ
ル31に記憶された加工プログラム名に対応する加工プ
ログラムがホストコンピュータ20の加工プログラムメ
モリ21から順に読み出され、加工プログラム格納メモ
リ32に格納されたのち、実行バッファ33を通じて加
工機本体10が制御される。つまり、加工プログラム格
納メモリ32に格納された加工プログラムに基づいて加
工機本体10が制御される。この加工中において、工具
異常が生じると、その加工を実行している加工プログラ
ムに記憶された加工プログラム指定データ22,23に
よって、スケジュールテーブル31に記憶された加工プ
ログラムの中から次に実行する加工プログラムが指定さ
れ、この加工プログラムに従って加工が実行される。
Here, when the cycle starts (cycle start of the schedule operation), the machining programs corresponding to the machining program names stored in the schedule table 31 are sequentially read from the machining program memory 21 of the host computer 20 and stored. After being stored in the memory 32, the processing machine main body 10 is controlled through the execution buffer 33. That is, the processing machine main body 10 is controlled based on the processing program stored in the processing program storage memory 32. If a tool error occurs during this machining, the machining program to be executed next from the machining programs stored in the schedule table 31 by the machining program designation data 22 and 23 stored in the machining program executing the machining. A program is designated, and machining is executed according to the machining program.

【0019】つまり、図6のフローチャートに示すよう
に、工具異常が生じると、まず、ホームポジションへ移
動されたのち、工具交換が行われる。続いて、何回目の
工具異常かが判断される。第1回目の工具異常(C=
0)のときには、現在実行中のワークの先頭加工プログ
ラム(たとえば、図2に示すV100=1で指定される
プログラム名:ファイル名ABC)が読み出されたのち、
C=1の処理が行われる。従って、第1回目に工具異常
が生じたときには同じワークについて再度同じ加工プロ
グラムが実行される。第2回目に工具異常(C=2)の
ときには、次に実行するワークの先頭加工プログラム
(たとえば、図2に示すV101=4で指定されるプロ
グラム名:ファイル名JKL)が読み出されたのち、C=
0の処理が行われる。従って、2回目に工具異常が生じ
たときには、次のワークに対して加工が行われるから、
1つのテーブルに複数個のワークをセットして連続加工
運転を行う場合でも、途中で工具異常が生じても、ワー
クを連続的に加工することができる。
That is, as shown in the flowchart of FIG. 6, when a tool abnormality occurs, the tool is first moved to the home position, and then the tool is replaced. Subsequently, it is determined what number of times the tool is abnormal. First tool error (C =
In the case of 0), after the leading machining program of the currently executed work (for example, program name: file name ABC specified by V100 = 1 shown in FIG. 2) is read out,
The process of C = 1 is performed. Therefore, when a tool abnormality occurs for the first time, the same machining program is executed again for the same work. In the second time, when the tool is abnormal (C = 2), the leading machining program of the work to be executed next (for example, the program name designated by V101 = 4 shown in FIG. 2: file name JKL) is read out. , C =
0 processing is performed. Therefore, when a tool abnormality occurs for the second time, machining is performed on the next work,
Even when a plurality of workpieces are set on one table to perform a continuous machining operation, the workpieces can be machined continuously even if a tool error occurs in the middle.

【0020】また、1つのテーブルに1個のワークをセ
ットし加工を行う場合、たとえば、図7に示すように、
1つのテーブル51に1個のワークNO5をセットして加
工する場合には、図8に示すように、スケジュールテー
ブル31に粗加工(1)、工具交換、粗加工
(2)、工具交換、仕上げ加工を行う加工プログラ
ム名ARA1,T1,ARA2,T2,SIAGEを入力する。ここで、図9
に示すように、仕上げ加工を行う加工プログラム(加
工プログラム名SIAGE)の先頭に、工具交換を行うプ
ログラムを指定する加工プログラム指定データ22(V
100=4)を記憶しておけば、工具異常からの再開
後、工具交換のプログラム(ファイル名T2)から行う
ことができる。従って、従来のように、最初から同じプ
ログラムを行わなくてもよいから、効率よく運転を再開
できる。
When one work is set on one table and processing is performed, for example, as shown in FIG.
When one workpiece NO5 is set and processed in one table 51, as shown in FIG. 8, the rough processing (1), the tool exchange, the rough processing (2), the tool exchange, and the finishing are performed in the schedule table 31. Enter the name of the machining program ARA1, T1, ARA2, T2, SIAGE for machining. Here, FIG.
As shown in the figure, at the beginning of a machining program for performing finishing machining (machining program name SIAGE), machining program designation data 22 (V
If 100 = 4) is stored, it can be performed from the tool change program (file name T2) after restarting from a tool abnormality. Therefore, unlike the related art, the same program does not have to be executed from the beginning, and the operation can be efficiently restarted.

【0021】従って、本実施形態によれば、スケジュー
ル運転の加工中において、工具異常が生じると、その加
工を実行している加工プログラムに記憶された加工プロ
グラム指定データ22,23によって、スケジュールテ
ーブル31に記憶された加工プログラムの中から次に実
行する加工プログラムが指定され、この加工プログラム
に従って加工が実行されるから、つまり、工具異常が生
じたときに次に実行する加工プログラムを任意に指定す
ることができるから、工具異常が検出されても効率よく
運転を再開できる。
Therefore, according to the present embodiment, if a tool error occurs during the machining of the schedule operation, the schedule table 31 is used by the machining program designation data 22 and 23 stored in the machining program executing the machining. Is selected from among the machining programs stored in the program, and the machining is executed according to the machining program. That is, the machining program to be executed next when a tool error occurs is arbitrarily designated. Therefore, even if a tool abnormality is detected, the operation can be efficiently restarted.

【0022】また、加工中において、工具異常が生じる
と、何回目の工具異常かが判断され、第1回目の工具異
常のときには、実行中の加工プログラムに記憶された第
1加工プログラム指定データ22に対応する加工プログ
ラムが読み出され、この加工プログラムに従って加工が
行われ、第2回目の工具異常のときには、実行中の加工
プログラムに記憶された第2加工プログラム指定データ
23に対応する加工プログラムが読み出され、この加工
プログラムに従って加工が行われる。従って、第1加工
プログラム指定データと第2加工プログラム指定データ
とを異なるデータとしておけば、第1回目に工具異常が
生じたときに再開する加工プログラムと、2回目に工具
異常が生じたときに再開する加工プログラムとを変える
ことができるから、工具異常の回数に応じて再開するス
ケジュールを変えることができる。
If a tool error occurs during machining, the number of the tool error is determined. If the first tool error occurs, the first machining program designation data 22 stored in the machining program being executed is determined. Is read, and machining is performed in accordance with the machining program. When a second tool abnormality occurs, the machining program corresponding to the second machining program designation data 23 stored in the machining program being executed is It is read out and processed according to this processing program. Therefore, if the first machining program designation data and the second machining program designation data are set as different data, the machining program which is restarted when the tool abnormality occurs for the first time and the machining program which restarts when the tool abnormality occurs for the second time Since the machining program to be restarted can be changed, the schedule to be restarted can be changed according to the number of tool abnormalities.

【0023】とくに、第1加工プログラム指定データ2
2として現在実行中のワークの先頭加工プログラムが、
第2加工プログラム指定データ23として次に実行する
ワークの先頭加工プログラムが記憶されているから、第
1回目の工具異常のときには、現在実行中のワークの先
頭加工プログラムが読み出され、この加工プログラムに
従って加工が行われ、第2回目の工具異常のときには、
次に実行するワークの先頭加工プログラムが読み出さ
れ、この加工プログラムに従って加工が行われる。従っ
て、第1回目に工具異常が生じたときには同じワークに
ついて再度同じ加工プログラムが実行されるが、2回目
に工具異常が生じたときには、次のワークに対して加工
が行われるから、1つのテーブルに複数個のワークをセ
ットして連続加工運転を行う場合でも、途中で工具異常
が生じても、ワークを連続に加工することができる。
In particular, the first machining program designation data 2
As the second, the head machining program of the currently executing work is
Since the first machining program of the work to be executed next is stored as the second machining program designation data 23, in the case of the first tool abnormality, the first machining program of the currently executed work is read out. In the case of the second tool abnormality,
Next, the leading machining program of the work to be executed is read out, and machining is performed according to the machining program. Therefore, when the first tool error occurs, the same machining program is executed again for the same work. However, when the second tool error occurs, machining is performed for the next work. Even when a plurality of workpieces are set in a continuous machining operation, the workpieces can be machined continuously even if a tool error occurs on the way.

【0024】また、工具異常が検出されると、加工機本
体10はホームポジションへ復帰され、この状態から次
に指定された加工プログラムが実行されるから、安全が
図れるとともに、次の加工プログラムへの移行をスムー
ズに行える。
When a tool abnormality is detected, the machine body 10 is returned to the home position, and the next designated machining program is executed from this state. Migration can be done smoothly.

【0025】なお、上記実施形態において、複数種の加
工プログラムをホストコンピュータ20の加工プログラ
ムメモリ21に記憶するようにしたが、これに限らず、
ワークステーションやパソコンなどに記憶するようにし
てもよい。また、上記実施形態において、工具異常検出
手段として主軸異常検出回路34を設けたが、これに限
らず、自動工具長測定などで工具の異常を検出するもの
でもよい。
In the above embodiment, a plurality of types of machining programs are stored in the machining program memory 21 of the host computer 20, but the present invention is not limited to this.
You may make it memorize | store in a workstation or a personal computer. In the above-described embodiment, the spindle abnormality detection circuit 34 is provided as the tool abnormality detection means. However, the present invention is not limited to this, and a tool abnormality may be detected by automatic tool length measurement or the like.

【0026】[0026]

【発明の効果】本発明のNC加工装置によれば、ワーク
の加工中において、工具異常が生じると、その加工を実
行している加工プログラムに記憶された加工プログラム
指定データによって、スケジュールテーブルに記憶され
た加工プログラムの中から次に実行する加工プログラム
が指定され、この加工プログラムに従って加工が実行さ
れるから、つまり、工具異常が生じたときに次に実行す
る加工プログラムを任意に指定することができるから、
工具異常が検出されても効率よく運転を再開できるとと
もに、工具異常が2回以上繰り返される場合でも連続し
た運転が可能である。
According to the NC machining apparatus of the present invention, if a tool error occurs during machining of a workpiece, the NC table is stored in the schedule table by the machining program designation data stored in the machining program executing the machining. Since the machining program to be executed next is specified from the executed machining programs and machining is executed according to this machining program, that is, it is possible to arbitrarily designate the machining program to be executed next when a tool error occurs. Because you can
The operation can be efficiently restarted even if a tool abnormality is detected, and continuous operation can be performed even when the tool abnormality is repeated two or more times.

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

【図1】本発明のNC加工装置の一実施形態を示す全体
のブロック図である。
FIG. 1 is an overall block diagram showing an embodiment of an NC processing apparatus according to the present invention.

【図2】同上実施形態の加工プログラム例を示す図であ
る。
FIG. 2 is a diagram showing an example of a machining program according to the embodiment.

【図3】同上実施形態のテーブルとそれにセットされた
複数のワークを示す図である。
FIG. 3 is a diagram showing a table and a plurality of works set thereon according to the embodiment;

【図4】図3に示す複数のワークを加工する際のスケジ
ュールテーブルを示す図である。
FIG. 4 is a view showing a schedule table when processing a plurality of workpieces shown in FIG. 3;

【図5】図4に示すスケジュールテーブルに登録された
加工プログラム名が表示された画面を示す図である。
5 is a diagram showing a screen on which a machining program name registered in the schedule table shown in FIG. 4 is displayed.

【図6】同上実施形態において、工具異常が検出された
ときの処理フローを示す図である。
FIG. 6 is a diagram showing a processing flow when a tool abnormality is detected in the embodiment.

【図7】同上実施形態のテーブルとそれにセットされた
1つのワークを示す図である。
FIG. 7 is a diagram showing the table and one work set on the table according to the embodiment.

【図8】図7に示すワークを加工する際のスケジュール
テーブルを示す図である。
8 is a diagram showing a schedule table when processing the work shown in FIG. 7;

【図9】図8に示す加工プログラム名のうちの1つの加
工プログラムを示す図である。
9 is a diagram showing one machining program among the machining program names shown in FIG.

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

10 加工機本体 16 工具 20 ホストコンピュータ 21 加工プログラムメモリ 30 NC装置 31 スケジュールテーブル 32 加工プログラム格納メモリ 34 主軸異常検出回路(工具異常検出手段) 35 実行制御部 40 シーケンサ Reference Signs List 10 processing machine body 16 tool 20 host computer 21 processing program memory 30 NC device 31 schedule table 32 processing program storage memory 34 spindle error detection circuit (tool error detection means) 35 execution control unit 40 sequencer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ワークと工具とを相対移動させながらワ
ークを加工する加工機本体と、 複数種の加工プログラムを記憶した加工プログラムメモ
リと、 選択した加工プログラムの実行順序を記憶したスケジュ
ールテーブルと、 このスケジュールテーブルに記憶された加工プログラム
の実行順序に対応する加工プログラムを前記加工プログ
ラムメモリから順次読み出し、この加工プログラムに基
づいて前記加工機本体を制御する実行制御手段と、 この実行制御手段による加工プログラムの実行時に前記
工具の異常を検出する工具異常検出手段とを備えたNC
加工装置において、 前記各加工プログラムには工具異常が生じたときに前記
スケジュールテーブルに記憶された加工プログラムの実
行順序の中から次に実行する加工プログラムを指定する
加工プログラム指定データが記憶され、 前記実行制御手段は、前記工具異常検出手段によって工
具異常が検出されたとき、実行中の加工プログラムに記
憶された加工プログラム指定データに対応する加工プロ
グラムを読み出して実行する、ことを特徴とするNC加
工装置。
A processing machine for processing the workpiece while the workpiece and the tool are relatively moved; a processing program memory storing a plurality of types of processing programs; a schedule table storing an execution order of the selected processing programs; Execution control means for sequentially reading out the machining programs corresponding to the execution order of the machining programs stored in the schedule table from the machining program memory, and controlling the processing machine main body based on the machining programs; NC comprising tool abnormality detecting means for detecting an abnormality of the tool during execution of a program
In the machining apparatus, each of the machining programs stores machining program designating data for designating a machining program to be executed next from an execution order of the machining programs stored in the schedule table when a tool abnormality occurs, NC processing, wherein when the tool abnormality detecting means detects a tool abnormality, the execution control means reads and executes a machining program corresponding to machining program designation data stored in the machining program being executed. apparatus.
【請求項2】 請求項1に記載のNC加工装置におい
て、 前記各加工プログラムには、加工プログラム実行中に第
1回目の工具異常が生じたときに前記スケジュールテー
ブルに記憶された加工プログラムの実行順序の中から次
に実行する加工プログラムを指定する第1加工プログラ
ム指定データと、同一加工プログラム実行中に第2回目
の工具異常が生じたときに前記スケジュールテーブルに
記憶された加工プログラムの実行順序の中から次に実行
する加工プログラムを指定する第2加工プログラム指定
データとが記憶され、 前記実行制御手段は、前記工具異常検出手段によって工
具異常が検出されたとき、何回目の工具異常かを判断
し、第1回目の工具異常のときには実行中の加工プログ
ラムに記憶された第1加工プログラム指定データに対応
する加工プログラムを読み出して実行するとともに、第
2回目の工具異常のときには実行中の加工プログラムに
記憶された第2加工プログラム指定データに対応する加
工プログラムを読み出して実行する、ことを特徴とする
NC加工装置。
2. The NC machining apparatus according to claim 1, wherein each of the machining programs includes executing a machining program stored in the schedule table when a first tool error occurs during execution of the machining program. First machining program designation data for designating a machining program to be executed next from the sequence, and an execution sequence of the machining program stored in the schedule table when a second tool error occurs during execution of the same machining program And the second machining program designating data for designating a machining program to be executed next from among the above. The execution control means determines the number of times of the tool abnormality when the tool abnormality is detected by the tool abnormality detection means. Judgment is made, and in the case of the first tool abnormality, the first machining program designation data stored in the machining program being executed is added. A corresponding machining program is read and executed, and in the case of a second tool abnormality, a machining program corresponding to the second machining program designation data stored in the currently executed machining program is read and executed. NC processing equipment.
【請求項3】 請求項2に記載のNC加工装置におい
て、 前記第1加工プログラム指定データとして現在実行中の
ワークの先頭加工プログラムが記憶され、 前記第2加工プログラム指定データとして次に実行する
ワークの先頭加工プログラムが記憶されている、ことを
特徴とするNC加工装置。
3. The NC machining apparatus according to claim 2, wherein a first machining program of a currently executed work is stored as the first machining program designation data, and a work to be executed next as the second machining program designation data. An NC machining apparatus, wherein a leading machining program is stored.
【請求項4】 請求項1ないし請求項3のいずれかに記
載のNC加工装置において、 前記実行制御手段は、前記工具異常検出手段によって工
具異常が検出されたとき、加工機本体をホームポジショ
ンへ復帰させることを特徴とするNC加工装置。
4. The NC processing apparatus according to claim 1, wherein the execution control unit moves the main body of the processing machine to a home position when a tool abnormality is detected by the tool abnormality detection unit. An NC processing apparatus characterized by returning.
JP34219199A 1999-12-01 1999-12-01 NC machining equipment Expired - Lifetime JP4261708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34219199A JP4261708B2 (en) 1999-12-01 1999-12-01 NC machining equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34219199A JP4261708B2 (en) 1999-12-01 1999-12-01 NC machining equipment

Publications (2)

Publication Number Publication Date
JP2001159906A true JP2001159906A (en) 2001-06-12
JP4261708B2 JP4261708B2 (en) 2009-04-30

Family

ID=18351830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34219199A Expired - Lifetime JP4261708B2 (en) 1999-12-01 1999-12-01 NC machining equipment

Country Status (1)

Country Link
JP (1) JP4261708B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018534680A (en) * 2015-10-13 2018-11-22 サンドビック インテレクチュアル プロパティー アクティエボラーグ Process monitoring and adaptive control of machine tools
CN115917450A (en) * 2020-11-26 2023-04-04 三菱电机株式会社 Numerical control device and move dress detection device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018534680A (en) * 2015-10-13 2018-11-22 サンドビック インテレクチュアル プロパティー アクティエボラーグ Process monitoring and adaptive control of machine tools
JP7041054B2 (en) 2015-10-13 2022-03-23 サンドビック インテレクチュアル プロパティー アクティエボラーグ Machine tool process monitoring and adaptive control
CN115917450A (en) * 2020-11-26 2023-04-04 三菱电机株式会社 Numerical control device and move dress detection device
CN115917450B (en) * 2020-11-26 2023-10-31 三菱电机株式会社 Numerical control device

Also Published As

Publication number Publication date
JP4261708B2 (en) 2009-04-30

Similar Documents

Publication Publication Date Title
JPS59184911A (en) Method of copying contour of work with tool
JPH01146642A (en) Stop control device for cutting tool
JPS59142613A (en) Restart controller of numerical control working
JP2743622B2 (en) Numerical control unit
JP2006506719A (en) Machine tool and method of operating machine tool
JP4261708B2 (en) NC machining equipment
JPS619705A (en) Numerically controlled machine tool
JPH0288139A (en) Exchanging device for tool
JPH08263115A (en) Interference evading method for nc machine tool
JP2002273601A (en) Multispindle machine tool
JPS63311408A (en) Numerical controller
JPH04237307A (en) Automatic transformation device for coordinate axis
JPH02151909A (en) Control device for industrial machine
JP2614607B2 (en) Numerical control data creation method for machine tools
JP2531147B2 (en) Numerical control data creation method
WO2022196622A1 (en) Numerical control device
JP3216629B2 (en) Numerical control unit
JP2875801B2 (en) DNC equipment
JPS6230082Y2 (en)
JP2603622B2 (en) Numerical control data creation method for machine tools
JP2003058212A (en) Numerically controlled machine device
KR100221564B1 (en) Method and device to determine an optimal making condition
JPH03209505A (en) Numerical controller and working restarting method
JP3198638B2 (en) Machine tools that process multiple types of workpieces with multiple types of tools
JPH1063323A (en) Nc working program preparing method and device for horizontal type working machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061024

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090107

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: 20090203

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: 20090206

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4261708

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140220

Year of fee payment: 5

EXPY Cancellation because of completion of term