JPH06190690A - Numerical control device provided with tool life control function - Google Patents

Numerical control device provided with tool life control function

Info

Publication number
JPH06190690A
JPH06190690A JP35691092A JP35691092A JPH06190690A JP H06190690 A JPH06190690 A JP H06190690A JP 35691092 A JP35691092 A JP 35691092A JP 35691092 A JP35691092 A JP 35691092A JP H06190690 A JPH06190690 A JP H06190690A
Authority
JP
Japan
Prior art keywords
tool
command
control device
numerical control
cutting state
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
JP35691092A
Other languages
Japanese (ja)
Other versions
JP3121700B2 (en
Inventor
Katsuhiko Matsuoka
勝彦 松岡
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP04356910A priority Critical patent/JP3121700B2/en
Publication of JPH06190690A publication Critical patent/JPH06190690A/en
Application granted granted Critical
Publication of JP3121700B2 publication Critical patent/JP3121700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)

Abstract

PURPOSE:To remove bad effect on the cut face of a workpiece to be generated in a numerical control device provided with a tool life control function by immediately performing tool exchange when the used tool reaches the tool life time during cutting of the workpiece. CONSTITUTION:A working program command is read, before execution of the program, a non-cutting condition is detected by means of a non-cutting condition detecting part 3, and at being in the non-cutting condition, a tool life time is checked by means of a program changeover control part 4, and if a using tool 8b reaches the life, tool exchange is completed by a tool exchange subprogram, and the working program interrupted is reopened. Further, detection of the non-cutting condition is performed based on the command from the working program or the signal of a contact sensor to detect contact between a workpiece and a tool.

Description

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

【0001】[0001]

【産業上の利用分野】工具寿命時間のチェックにより、
自動的に工具を交換する工具寿命管理機能を備えた数値
制御装置に関するものである。
[Industrial application] By checking the tool life time,
The present invention relates to a numerical control device having a tool life management function for automatically changing tools.

【0002】[0002]

【従来の技術】従来の工具寿命管理機能を備えた数値制
御装置においては、予め工作機械の工具マガジンに複数
種類の工具を、それぞれの種類において同一種類のもの
を複数本ずつ取り付けておき、工具選択指令時に工具寿
命時間をチェックし、使用可能な工具を上記工具マガジ
ンより自動的に選択するか、あるいは使用中の工具が設
定された工具寿命時間に到達したら、直ちに機械加工の
動作を一時中断し、その中断位置を記憶し、予め記憶さ
れている工具交換サブプログラムを呼びだして実行させ
ることにより同一種類の他の工具と交換するようになっ
ている。
2. Description of the Related Art In a conventional numerical controller having a tool life management function, a plurality of types of tools are previously mounted in a tool magazine of a machine tool, and a plurality of the same type of tools are attached to each tool magazine. Check the tool life time at the time of selection command and automatically select the available tool from the tool magazine above, or suspend the machining operation immediately when the tool in use reaches the set tool life time. Then, the interruption position is stored, and a previously stored tool exchange subprogram is called and executed to exchange it with another tool of the same type.

【0003】図5は従来の工具寿命管理機能を備えた数
値制御装置の一例を示すブロック図であり、図5におい
て、入力部1は工具選択指令等のプログラム指令を入力
する入力部で、記憶部2は、上記入力部1を通して入力
された工具指令番号を記憶する記憶部(以下工具指令番
号記憶部と記述)2aと、使用可能な工具の工具マガジ
ン番号を記憶する記憶部(以下工具マガジン番号記憶部
と記述)2bと、使用中の工具の工具残寿命時間が0に
なった時の位置を記憶する記憶部(以下工具残寿命0位
置記憶部と記述)2cと、次に実行するブロックの番号
を記憶する記憶部(以下次ブロック番号記憶部と記述)
2dと、工具交換用サブプログラムを記憶する記憶部
(以下工具交換用サブプログラム記憶部と記述)2eを
有している。
FIG. 5 is a block diagram showing an example of a conventional numerical control device having a tool life management function. In FIG. 5, an input unit 1 is an input unit for inputting a program command such as a tool selection command and is stored. The section 2 is a storage section (hereinafter referred to as a tool command number storage section) 2a that stores the tool command number input through the input section 1 and a storage section (hereinafter, tool magazine) that stores the tool magazine numbers of usable tools. Number storage section) 2b, a storage section (hereinafter referred to as a tool remaining life 0 position storage section) 2c that stores the position when the tool remaining life time of the tool in use becomes 0, and then executes Storage unit that stores the block number (hereinafter referred to as the next block number storage unit)
2d and a storage unit (hereinafter referred to as a tool exchange subprogram storage unit) 2e for storing a tool exchange subprogram.

【0004】工具管理データ設定部10は、工具マガジ
ン番号に対応する工具指令番号の管理データ及び工具寿
命時間を計数する工具残寿命データが設定され、登録さ
れる工具管理データ設定部である。工具マガジン番号出
力部7は、上記記憶部2の工具マガジン番号記憶部2b
に記憶されている工具マガジン番号を出力する工具マガ
ジン番号出力部で、演算部6は、使用可能な工具マガジ
ン番号を選択する演算部と、工具補正番号管理データ及
び工具補正量管理データ内容から新しく選択された工具
補正番号又は工具補正量を決定する演算部とからなる。
制御部5は、入力、記憶、演算及び出力の動作を制御す
る制御部である。工作機械8は、工具を選択する工具選
択部8a及びこの工具選択部8aによって選択された工
具8bを備えている。
The tool management data setting unit 10 is a tool management data setting unit in which the management data of the tool command number corresponding to the tool magazine number and the tool remaining life data for counting the tool life time are set and registered. The tool magazine number output unit 7 is a tool magazine number storage unit 2b of the storage unit 2 described above.
In the tool magazine number output unit that outputs the tool magazine number stored in, the calculation unit 6 newly selects from the calculation unit that selects the usable tool magazine number, the tool correction number management data, and the tool correction amount management data content. The calculation unit determines the selected tool correction number or the tool correction amount.
The control unit 5 is a control unit that controls input, storage, calculation, and output operations. The machine tool 8 includes a tool selection unit 8a for selecting a tool and a tool 8b selected by the tool selection unit 8a.

【0005】次に同図を用いて動作について説明する。
オペレータがパネルキーボード等を用いて工具マガジン
番号に対応した工具指令番号と工具寿命時間を設定する
と、工具管理データ設定部10に工具マガジン番号に対
応する工具指令番号の管理データTD1及び工具寿命時
間を計数する工具残寿命データTD2が登録される。そ
して、入力部1から工具選択指令TS(加工プログラム
によるTコード指令)が入力されると、制御部5は入力
部1からの工具選択指令TSで指定された工具指令番号
TSaを記憶部2の工具指令番号記憶部2aに記憶し、
さらに演算部6を通じて、工具管理データ設定部10の
工具マガジン番号に対応する工具指令番号の管理データ
TD1と工具残寿命データTD2及び工具指令番号記憶
部2aの内容TSaを用いて、使用可能な工具マガジン
番号TMbを決定し、記憶部2の工具マガジン番号記憶
部2bに記憶し、工具マガジン番号出力部7を介してそ
の工具マガジン番号TMbを工作機械8に出力する。ま
た、上記制御と並行して演算部6は工具補正番号管理デ
ータと工具補正量管理データ及び記憶部2の工具マガジ
ン番号記憶部2bの内容TMbを用いて、新しく選択さ
れた工具補正番号を決定するとともに工具補正量TCD
を決定する。上記制御部5は、工具の補正実行時に、新
しく選択された工具に適した補正を工具補正量TCDに
基づいて行ない、この新しい補正により運転する。
Next, the operation will be described with reference to FIG.
When the operator sets the tool command number and the tool life time corresponding to the tool magazine number using the panel keyboard or the like, the tool management data setting unit 10 displays the management data TD1 of the tool command number corresponding to the tool magazine number and the tool life time. The remaining tool life data TD2 to be counted is registered. When the tool selection command TS (T code command by the machining program) is input from the input unit 1, the control unit 5 stores the tool command number TSa specified by the tool selection command TS from the input unit 1 in the storage unit 2. Stored in the tool command number storage unit 2a,
Further, through the arithmetic unit 6, it is possible to use the usable tool by using the management data TD1 of the tool command number corresponding to the tool magazine number of the tool management data setting unit 10 and the remaining tool life data TD2 and the content TSa of the tool command number storage unit 2a. The magazine number TMb is determined and stored in the tool magazine number storage unit 2b of the storage unit 2, and the tool magazine number TMb is output to the machine tool 8 via the tool magazine number output unit 7. In parallel with the above control, the calculation unit 6 determines the newly selected tool correction number by using the tool correction number management data, the tool correction amount management data, and the content TMb of the tool magazine number storage unit 2b of the storage unit 2. And tool correction amount TCD
To decide. When the tool correction is executed, the control unit 5 performs a correction suitable for the newly selected tool based on the tool correction amount TCD, and operates with this new correction.

【0006】さらに上記運転中に常に工具管理データ設
定部10の工具残寿命データTD2をチェックし、使用
中の工具の工具残寿命データが0になった時(工具寿命
になった時)、直ちに制御部5を通じて工作機械8での
機械加工の動作を一時中断させ、その中断したときの工
具の位置を示す中断位置データSDc及び次に実行する
加工プログラムのブロック番号SDdを、記憶部2の工
具残寿命0位置記憶部2c及び次ブロック番号記憶部2
dにそれぞれ記憶する。つづいて予め記憶部2の工具交
換用サブプログラム記憶部2eに記憶している工具交換
サブプログラムPDeを呼びだし実行させることによ
り、加工プログラムからの工具選択指令TSが入力され
なくても、使用中の工具が設定した工具寿命時間に達し
た時点で直ちに加工を中断し、自動的に工具交換を行な
う。
Further, during the above operation, the tool remaining life data TD2 of the tool management data setting unit 10 is always checked, and when the tool remaining life data of the tool in use becomes 0 (when the tool has reached the end of life), immediately. The machining operation in the machine tool 8 is temporarily interrupted through the control unit 5, the interruption position data SDc indicating the position of the tool at the time of interruption, and the block number SDd of the machining program to be executed next are stored in the tool of the storage unit 2. Remaining life 0 position storage unit 2c and next block number storage unit 2
Each is stored in d. Subsequently, by calling and executing the tool exchange subprogram PDe stored in the tool exchange subprogram storage unit 2e of the storage unit 2 in advance, even if the tool selection command TS from the machining program is not input, the When the tool reaches the set tool life time, the machining is immediately stopped and the tool is replaced automatically.

【0007】尚、工具交換サブプログラムPDeでは次
の動作を行なう。まず工具寿命に達した工具を工具交換
位置に戻すと共にその工具を同種類の使用可能な工具と
工具交換し、且つ新しい工具の工具補正を行ない、記憶
部2の工具残寿命0位置記憶部2cに記憶されている中
断位置データSDcにしたがって加工中断位置まで新し
い工具を戻し、また加工中断位置座標、中断ブロックの
終点座標及び補間モードを用いて加工中断ブロックの残
指令を演算して加工中断ブロックの終了位置まで加工を
再開し、その後記憶部2の次ブロック番号記憶部2dに
記憶されているブロック番号SDdに従い機械加工中の
加工プログラムの中断した次のブロックへ復帰する。
The tool change subprogram PDe performs the following operations. First, the tool that has reached the tool life is returned to the tool replacement position, the tool is replaced with an available tool of the same type, and the tool compensation of a new tool is performed, and the remaining tool life 0 position storage unit 2c of the storage unit 2 is performed. The new tool is returned to the machining interruption position according to the interruption position data SDc stored in the machining interruption block, and the machining interruption block remaining command is calculated using the machining interruption position coordinates, the interruption block end point coordinates and the interpolation mode to calculate the machining interruption block. The machining is restarted up to the end position of, and thereafter the machining block is restored to the next block where the machining program under machining is interrupted according to the block number SDd stored in the next block number storage unit 2d of the storage unit 2.

【0008】[0008]

【発明が解決しようとする課題】しかし、上述したよう
な従来技術では、加工物の切削中であれば、工具交換の
為の加工中断位置及び工具交換後の加工再開位置の加工
物切削面にカッターマークが付くといった問題があっ
た。本発明は、上記の問題に鑑みて成されたものであ
り、本発明の目的は、工具の寿命時間チェックによる自
動工具交換の際、加工物切削面への悪影響を及ぼさない
工具寿命管理機能を備えた数値制御装置を提供すること
にある。
However, in the prior art as described above, when the workpiece is being cut, the workpiece cutting surface at the machining interruption position for tool exchange and the machining restart position after tool exchange is set. There was a problem that a cutter mark was attached. The present invention has been made in view of the above problems, and an object of the present invention is to provide a tool life management function that does not adversely affect the workpiece cutting surface during automatic tool replacement by checking the tool life time. It is to provide a provided numerical control device.

【0009】[0009]

【課題を解決するための手段】本発明は、工具毎に設定
される工具寿命時間が一般的に目安値として設定され、
工具寿命時間に達したら直ちに工具交換しなければなら
ないというほど緊急度がない点に鑑み、加工プログラム
からの指令あるいは加工物と工具の接触を検出する接触
センサーの信号を用いて、加工運転中の非切削状態を検
出する検出手段と、該検出手段で検出した非切削状態の
ときに、使用中の工具の工具残寿命時間をチェックし、
工具寿命時間に達していたらその位置を運転中断位置と
して記憶する記憶手段と、工具交換サブプログラムと加
工プログラムを切替えるプログラム切替制御手段とを具
備することにより達成される。
According to the present invention, the tool life time set for each tool is generally set as a reference value,
Considering that it is not so urgent that the tool must be changed as soon as the tool life is reached, the command from the machining program or the signal from the contact sensor that detects the contact between the workpiece and the tool is used. Detecting means for detecting the non-cutting state, and when the non-cutting state detected by the detecting means, check the remaining tool life time of the tool in use,
This is achieved by including storage means for storing the tool life time as the operation interruption position when the tool life time has been reached, and program switching control means for switching between the tool replacement subprogram and the machining program.

【0010】[0010]

【作用】本発明の工具寿命管理機能を備えた数値制御装
置によれば、加工運転中の非切削状態を検出し、その非
切削状態のときに使用中の工具の工具寿命時間をチェッ
クし、工具寿命であれば、その非切削状態のときに工具
交換を行なうようにしたから、加工物の切削中に使用中
の工具が工具寿命時間に達しても、切削を中断すること
なく非切削状態になったときに工具交換が行なわれる。
According to the numerical controller having the tool life management function of the present invention, the non-cutting state during the machining operation is detected, and the tool life time of the tool being used in the non-cutting state is checked, If the tool life is reached, the tool is changed during the non-cutting state, so even if the tool in use reaches the tool life time during cutting of the workpiece, the cutting will not be interrupted without interruption. The tool will be changed when it becomes.

【0011】[0011]

【実施例】図1は、本発明の工具寿命管理機能を備えた
数値制御装置の一例を示すブロック図であり、従来技術
と同等なものについては同符号をつけその説明を省略す
る。非切削状態検出部3では、入力部1からの加工プロ
グラム指令データ、あるいは現在選択されている工具8
bが加工物と接触しているか接触していないかを検出す
る接触検出部8cの接触センサーから信号入力部9を通
して得られる接触状態確認信号を用いて、加工プログラ
ムによる運転中の非切削状態を検出する。プログラム切
替制御部4では、上記非切削状態検出部3で検出した非
切削状態のとき、使用中の工具の工具寿命時間をチェッ
クし、加工プログラム指令による動作を継続するか、工
具交換用サブプログラムを割り込ませその工具交換サブ
プログラムを実行させた後に加工プログラム指令による
動作を継続させるかを切替えて実行する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an example of a numerical control device having a tool life management function according to the present invention. Components equivalent to those of the prior art are designated by the same reference numerals and their description is omitted. In the non-cutting state detection unit 3, the machining program command data from the input unit 1 or the currently selected tool 8
Using the contact state confirmation signal obtained through the signal input unit 9 from the contact sensor of the contact detection unit 8c that detects whether or not b is in contact with the workpiece, the non-cutting state during operation by the machining program is determined. To detect. In the non-cutting state detected by the non-cutting state detection unit 3, the program switching control unit 4 checks the tool life time of the tool in use and continues the operation according to the machining program command, or the tool replacement subprogram. To execute the tool change subprogram after interrupting the tool change operation.

【0012】記憶部2は、上記入力部1を通して入力さ
れた工具指令番号を記憶する記憶部(以下工具指令番号
記憶部と記述)2aと、使用可能な工具の工具マガジン
番号を記憶する記憶部(以下工具マガジン番号記憶部と
記述)2bと、工具交換用サブプログラムを記憶する記
憶部(以下工具交換用サブプログラム記憶部と記述)2
eと、工具交換を行なうために中断した加工プログラム
の中断ブロック内容を記憶する記憶部(以下加工中断ブ
ロック内容記憶部と記述)2fと、工具交換を行なうた
めに中断した座標値を記憶する記憶部(以下加工中断位
置記憶部と記述)2gを有している。
The storage unit 2 stores a tool command number input through the input unit 1 (hereinafter referred to as a tool command number storage unit) 2a and a storage unit that stores a tool magazine number of a usable tool. (Hereinafter referred to as a tool magazine number storage unit) 2b and a storage unit for storing a tool replacement subprogram (hereinafter referred to as a tool replacement subprogram storage unit) 2
e, a storage unit (hereinafter referred to as a processing interruption block content storage unit) 2f for storing the interruption block content of the machining program interrupted for tool exchange, and a memory for storing the coordinate value interrupted for tool exchange. Part (hereinafter referred to as a machining interruption position storage part) 2g.

【0013】次に同図を用いて動作について説明する。
入力部1から工具選択指令TS(加工プログラムによる
Tコード指令)が入力されると、その工具選択指令TS
により、一連の工具交換動作を行なう。尚、この加工プ
ログラムからの工具選択指令TSが入力された場合の一
連の工具交換動作については、従来技術の工具選択指令
による動作と同様であるので説明を省略する。非切削状
態検出部3は、入力部1からの加工プログラム指令の1
ブロックデータPBに基づく運転実行前に、そのブロッ
クで指令されている内容をチェックし、あるいは使用中
の工具が加工物と接触しているかどうかをチェックし、
現在の状態が加工面の切削には直接関係のない状態(非
切削状態)であるかどうかを検出し、非切削状態であれ
ば状態データSTDをプログラム切替制御部4へ送出す
る。尚、工具と加工物との接触状態のチェックは、接触
検出部8cの接触センサーから信号入力部9を通して得
られる接触状態確認信号CTSに基づいて行なう。
Next, the operation will be described with reference to FIG.
When the tool selection command TS (T code command by the machining program) is input from the input unit 1, the tool selection command TS
Thus, a series of tool exchange operations is performed. The series of tool exchange operations when the tool selection command TS from this machining program is input is the same as the operation according to the tool selection command of the prior art, and therefore its explanation is omitted. The non-cutting state detection unit 3 uses 1 of the machining program command from the input unit 1.
Before executing the operation based on the block data PB, check the contents instructed in the block, or check whether the tool being used is in contact with the workpiece,
It is detected whether or not the current state is a state not directly related to the cutting of the machined surface (non-cutting state), and if it is the non-cutting state, the state data STD is sent to the program switching control unit 4. The contact state between the tool and the workpiece is checked based on the contact state confirmation signal CTS obtained from the contact sensor of the contact detection unit 8c through the signal input unit 9.

【0014】プログラム切替制御部4は、非切削状態で
あることを示す状態データSTDを受け、工具管理デー
タ設定部10の工具残寿命データTD2をチェックし、
使用中の工具の工具残寿命データが0であれば、上記非
切削状態検出のため実行を中断させていた入力部1から
の加工プログラム指令の1ブロックデータPBを加工中
断ブロック内容記憶部2fに記憶し、現在の座標値を加
工中断座標位置SPgとして加工中断位置記憶部2gに
記憶すると共に、予め記憶部2eに記憶させている工具
交換用サブプログラムPDeを運転用メモリーに呼びだ
し、この工具交換サブプログラムPDeを実行させるこ
とにより非切削状態からの工具交換を行なう。工具交換
サブプログラムPDeの実行による工具交換完了後、工
具交換のためにその実行を中断し、加工中断ブロック内
容記憶部2fに記憶しておいた加工プログラムの中断ブ
ロックデータPBを運転用メモリーに呼びだし実行させ
ることにより、加工プログラムにしたがった運転を再開
する。
The program switching control section 4 receives the status data STD indicating that the tool is in the non-cutting state, checks the tool remaining life data TD2 of the tool management data setting section 10,
If the tool remaining life data of the tool being used is 0, the 1-block data PB of the machining program command from the input unit 1 whose execution has been interrupted to detect the non-cutting state is stored in the machining interruption block content storage unit 2f. The current coordinate value is stored as the machining interruption coordinate position SPg in the machining interruption position storage unit 2g, and the tool replacement subprogram PDe stored in the storage unit 2e in advance is called out to the operation memory to perform the tool exchange. By executing the subprogram PDe, the tool is changed from the non-cutting state. After the tool exchange is completed by executing the tool exchange subprogram PDe, the execution is interrupted for the tool exchange, and the interruption block data PB of the machining program stored in the machining interruption block content storage unit 2f is called to the operation memory. By executing it, the operation according to the machining program is restarted.

【0015】次に非切削状態検出部3及びプログラム切
替制御部4の動作について図2のフローチャートを用い
て説明する。加工プログラム指令の1ブロックデータを
読み込み、そのブロック実行前にプログラムエンド指令
(M02指令等)であるか否かをチェックし(ステップ
S1)、プログラムエンド指令であればステップS6へ
進む。プログラムエンド指令でなければ工具選択指令
(加工プログラムによるTコード指令)があるか否かを
チェックし(ステップS2)、工具選択指令があればス
テップS6へ進む。つづいて非切削動作指令(G00指
令による位置決め動作指令等)か、あるいは予め決めら
れ非切削領域を指定する非切削状態指定指令(Mコード
指令等)か、あるいは現在選択されている工具8bが加
工物と接触しているか接触していないかを検出する接触
検出部8cの接触センサーから信号入力部9を通して得
られる接触状態確認信号をチェックし(ステップS3、
S4、S5)、加工プログラムによる運転中の非切削状
態を検出する。ここで非切削状態とは、読み込んだ加工
プログラム指令の1ブロックデータが上記非切削動作指
令の場合、又は非切削状態指定指令の場合、あるいは信
号入力部9を通して得られる接触状態確認信号がoff
の場合を意味している。
Next, the operations of the non-cutting state detecting section 3 and the program switching control section 4 will be described with reference to the flowchart of FIG. One block data of the machining program command is read, and before execution of the block, it is checked whether it is a program end command (M02 command or the like) (step S1). If it is a program end command, the process proceeds to step S6. If it is not the program end command, it is checked whether or not there is a tool selection command (T code command by the machining program) (step S2), and if there is a tool selection command, the process proceeds to step S6. Next, a non-cutting operation command (positioning operation command by G00 command, etc.), a non-cutting state specifying command (M code command, etc.) for specifying a predetermined non-cutting area, or the currently selected tool 8b is processed. The contact state confirmation signal obtained through the signal input unit 9 from the contact sensor of the contact detection unit 8c that detects whether or not the object is in contact is checked (step S3,
(S4, S5), the non-cutting state during operation is detected by the machining program. Here, the non-cutting state means that the read one-block data of the machining program command is the non-cutting operation command, the non-cutting state designation command, or the contact state confirmation signal obtained through the signal input unit 9 is off.
Means the case.

【0016】ステップS3、S4、S5で非切削状態で
ないと判定された時はステップS6へ進み、非切削状態
と判定された時は工具管理データ設定部10の工具残寿
命データをチェックし(ステップS7)、使用中の工具
残寿命データが0(使用中の工具が工具寿命)であれば
工具交換を行なうためステップS8からの処理を行な
う。ステップS6では、入力部1を通して読み込んだ加
工プログラム指令の1ブロックデータをそのまま運転用
メモリーに入れそのブロック指令の動作を実行する。ス
テップS8では、工具交換用サブプログラムの動作を割
り込ませるために、そのブロック指令による動作を中断
させる加工プログラムの現在のブロック指令と、中断し
た座標値を、制御部5を通してそれぞれ加工中断ブロッ
ク内容記憶部2f、加工中断位置記憶部2gに記憶す
る。
When it is determined in steps S3, S4 and S5 that the tool is not in the non-cutting state, the process proceeds to step S6, and when it is determined that the tool is in the non-cutting state, the tool remaining life data of the tool management data setting section 10 is checked (step S6). S7), if the remaining tool life data in use is 0 (the tool in use is the tool life), the processing from step S8 is performed to replace the tool. In step S6, the one block data of the machining program command read through the input unit 1 is directly stored in the operation memory and the operation of the block command is executed. In step S8, in order to interrupt the operation of the tool changing subprogram, the current block command of the machining program for interrupting the operation by the block command and the interrupted coordinate value are stored in the machining interrupted block contents through the control unit 5, respectively. The data is stored in the section 2f and the machining interruption position storage section 2g.

【0017】その後、予め工具交換用サブプログラム記
憶部2eに記憶している工具交換サブプログラムを運転
用メモリーに呼びだし実行させ(ステップS9)、工具
交換サブプログラムの実行による工具交換の完了を待っ
て(ステップS10)、工具交換が完了したら、上記中
断したブロック指令を制御部5を通して加工中断ブロッ
ク位置記憶部2fから読みだし、そのブロック指令を運
転用メモリーに呼びだし実行させ、全ての処理を終了す
る(ステップS11)。このように加工プログラムの1
ブロックデータを読み込み、その1ブロックデータに基
づく動作を実行させる前に、上記非切削状態の検出チェ
ック及び工具残寿命データのチェックを行ない、そのチ
ェック結果に基づき工具交換サブプログラムによる工具
交換動作を割り込ませることにより、加工プログラムか
らの工具選択指令が入力されなくても、使用中の工具が
工具寿命に達してからの最初の非切削状態の時に自動的
に工具交換を行なう。
After that, the tool change subprogram stored in advance in the tool change subprogram storage unit 2e is called out to the operation memory and executed (step S9), and the completion of the tool change by executing the tool change subprogram is waited for. (Step S10) When the tool exchange is completed, the interrupted block command is read from the machining interrupted block position storage unit 2f through the control unit 5, the block command is called out to the operation memory and executed, and all the processes are completed. (Step S11). In this way, the machining program 1
Before reading the block data and executing the operation based on the 1 block data, the above non-cutting state detection check and tool remaining life data check are performed, and the tool change operation by the tool change subprogram is interrupted based on the check result. By doing so, even if the tool selection command from the machining program is not input, the tool is automatically replaced in the first non-cutting state after the tool in use reaches the tool life.

【0018】次に工具交換サブプログラムの動作につい
て図3のフローチャートを用いて説明する。工具交換サ
ブプログラムの動作は、まず工具寿命に達した工具を工
具交換位置に戻し(ステップS12)、その工具と同種
類の使用可能な工具と工具交換を行ない(ステップS1
3)、新しい工具の工具補正を行なって、加工中断位置
記憶部2gのデータ(工具交換のため加工を中断した座
標位置)を用いて、上記新しい工具を加工再開位置まで
戻し、全ての処理を終了する(ステップS14)。
Next, the operation of the tool change subprogram will be described with reference to the flowchart of FIG. The operation of the tool exchange subprogram is to first return the tool that has reached the tool life to the tool exchange position (step S12), and perform the tool exchange with an available tool of the same type as that tool (step S1).
3) Perform tool correction of a new tool, and use the data of the machining interruption position storage unit 2g (coordinate position at which machining is interrupted for tool exchange) to return the new tool to the machining restart position, and perform all processing. It ends (step S14).

【0019】さらに加工プログラムによる運転中に工具
交換サブプログラムを割り込ませる位置について、図4
の加工プログラム例を用いて補足する。図4の加工プロ
グラム例において、XP1・・XP4,YP1・・YP
4はX軸及びY軸の指令位置、G00は位置決め動作指
令、G01は切削送り動作指令、Fnは切削送りの速度
指令、N10・・N24はシーケンス番号、Tnは工具
選択指令を表す。尚、予め工具番号1番と2番の工具が
同種類の工具として設定/登録され、且つ工具マガジン
番号1番には工具番号1番の工具、工具マガジン番号2
番には工具番号2番の工具が設定/登録されているもの
とし、この例題の工具選択指令Tnで、始めに工具番号
1番の工具が選択されるものとする。また、工具番号1
番の工具と同種類の工具として予め設定/登録されてい
る工具番号2番の工具は工具寿命に達していないことを
前提とした一例とし以下に説明する。
Further, the position where the tool change subprogram is interrupted during the operation by the machining program is shown in FIG.
This will be supplemented using the example of the machining program. In the machining program example of FIG. 4, XP1 ... XP4, YP1 ... YP
4 is an X-axis and Y-axis command position, G00 is a positioning operation command, G01 is a cutting feed operation command, Fn is a cutting feed speed command, N10 ... N24 is a sequence number, and Tn is a tool selection command. In addition, the tool numbers 1 and 2 are set / registered in advance as tools of the same type, and the tool magazine number 1 is the tool number 1 tool and the tool magazine number 2
It is assumed that the tool with the tool number 2 is set / registered in the No. tool, and the tool with the tool number 1 is first selected by the tool selection command Tn in this example. Also, tool number 1
The tool of No. 2 which is preset / registered as the same type of tool as the No. tool will be explained below as an example on the assumption that the tool life has not reached.

【0020】N10の工具選択指令Tnにより工具番号
1番の工具が選択され、その工具にて加工プログラム指
令に基づく運転中、N21の切削送り動作指令による切
削中に、現在使用中の工具番号1番の工具の工具残寿命
時間が0になった(工具寿命に達した)場合、その工具
による加工をN22の指令による動作完了まで継続す
る。N22の指令による動作完了後、N23のブロック
の指令を読み込みそのブロックの指令に基づく動作実行
前に、非切削状態を検出(この例では、N23のブロッ
クのG00指令で非切削状態を検出)し、現在使用中の
工具番号1番の工具が工具寿命なので、加工中断位置と
してN22のブロックの動作完了時の座標位置(XP
2,YP2)と、N23のブロック指令を記憶する。
The tool No. 1 is selected by the tool selection command Tn of N10, and the tool No. 1 currently in use is being operated by the tool according to the machining program command or during the cutting by the cutting feed motion command of N21. When the remaining tool life time of the No. tool reaches 0 (the tool life has been reached), the machining with the tool is continued until the operation according to the command of N22 is completed. After the operation by the command of N22 is completed, the command of the block of N23 is read and the non-cutting state is detected (in this example, the non-cutting condition is detected by the G00 command of the block of N23). , The tool number 1 currently being used has a tool life, so the coordinate position (XP
2, YP2) and the block command of N23 are stored.

【0021】そして、N23のブロック指令による動作
実行前に、予め記憶されている工具交換サブプログラム
を割り込ませ、その工具交換サブプログラムにより工具
番号1番の工具から同種類の使用可能な工具番号2番の
工具に工具交換し、工具番号2番の工具の工具補正を行
ない、新しく選択された工具番号2番の工具を、上記加
工中断位置として記憶したN22のブロックの動作完了
座標位置(XP2,YP2)まで戻す。この工具交換サ
ブプログラムによる工具交換が完了したら、上記加工中
断ブロックとして記憶したN23のブロック指令を読み
だして実行し、以後N24からの加工プログラム指令に
よる動作を再開する。
Before the operation by the block command of N23 is executed, the previously stored tool change subprogram is interrupted, and the tool change subprogram causes the tool number 1 to be used, and the same tool number 2 which can be used. The tool of No. 2 is exchanged, the tool of Tool No. 2 is corrected, and the newly selected tool of Tool No. 2 is stored as the above-mentioned machining interruption position in the operation completion coordinate position (XP2, XP2) of the block of N22. Return to YP2). When the tool exchange by the tool exchange subprogram is completed, the block command of N23 stored as the machining interruption block is read out and executed, and thereafter, the operation by the machining program command from N24 is restarted.

【0022】[0022]

【発明の効果】以上のように本発明の工具寿命管理機能
を備えた数値制御装置によれば、加工物の切削中に使用
中の工具が工具寿命時間に達しても、切削を中断するこ
となく非切削状態になったときに工具交換を行なうの
で、加工面への悪影響を与えずに工具交換を行なうこと
が可能となる。
As described above, according to the numerical controller having the tool life management function of the present invention, even if the tool in use reaches the tool life time during cutting of the workpiece, the cutting is interrupted. Instead, the tool is replaced when it is in a non-cutting state, so that it is possible to replace the tool without adversely affecting the machined surface.

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

【図1】本発明の工具寿命管理機能を備えた数値制御装
置の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a numerical control device having a tool life management function of the present invention.

【図2】本発明装置による非切削状態の検出方法とプロ
グラム切替制御の動作例を示すフローチャートである。
FIG. 2 is a flowchart showing an operation example of a non-cutting state detection method and program switching control by the device of the present invention.

【図3】本発明装置における工具交換サブプログラムの
動作例を示すフローチャートである。
FIG. 3 is a flowchart showing an operation example of a tool change subprogram in the device of the present invention.

【図4】本発明装置によるプログラム切替制御の詳細を
説明するための加工プログラムの一例である。
FIG. 4 is an example of a machining program for explaining details of program switching control by the device of the present invention.

【図5】従来の工具寿命管理機能を備えた数値制御装置
の一例を示すブロック図である。
FIG. 5 is a block diagram showing an example of a conventional numerical control device having a tool life management function.

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

2f 加工中断ブロック内容記憶部 2g 加工中断位置記憶部 3 非切削状態検出部 4 プログラム切替制御部 8c 接触検出部 9 信号入力部 2f Processing interruption block content storage section 2g Processing interruption position storage section 3 Non-cutting state detection section 4 Program switching control section 8c Contact detection section 9 Signal input section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 工作機械の運転中に使用中の工具の工具
残寿命時間をチェックし、予め前記工作機械の工具マガ
ジンに取り付けられた、前記使用中の工具と同一種類の
工具で使用可能な工具を、前記工作機械の工具マガジン
より自動的に選択する工具寿命管理機能を備えた数値制
御装置において、非切削状態を検出する検出手段と、前
記検出手段で検出した非切削状態のときに前記使用中の
工具の工具残寿命時間をチェックし、工具寿命時間に達
していたらその位置を運転中断位置として記憶する記憶
手段と、工具交換サブプログラムと加工プログラムを切
替えるプログラム切替制御手段とを具備したことを特徴
とする工具寿命管理機能を備えた数値制御装置。
1. A tool remaining life time of a tool in use while the machine tool is in operation is checked, and the tool can be used with a tool of the same type as the tool in use, which is attached to a tool magazine of the machine tool in advance. In a numerical control device having a tool life management function for automatically selecting a tool from the tool magazine of the machine tool, a detection means for detecting a non-cutting state, and a non-cutting state detected by the detection means The tool has a storage means for checking the remaining tool life time of the tool in use and storing the position as the operation interruption position when the tool life time has been reached, and a program switching control means for switching between the tool replacement subprogram and the machining program. Numerical control device equipped with a tool life management function.
【請求項2】 前記検出手段での非切削状態の検出は、
加工プログラム内の非切削動作指令に基づいて行なうよ
うになっている請求項1に記載の工具寿命管理機能を備
えた数値制御装置。
2. The non-cutting state is detected by the detecting means,
The numerical control device having a tool life management function according to claim 1, wherein the numerical control device is configured to perform the operation based on a non-cutting operation command in a machining program.
【請求項3】 前記検出手段での非切削状態の検出は、
予め非切削状態指定指令として決められた特定の指令を
加工プログラムに付加し、その指令に基づいて行なうよ
うになっている請求項1に記載の工具寿命管理機能を備
えた数値制御装置。
3. The non-cutting state is detected by the detecting means,
The numerical control device with a tool life management function according to claim 1, wherein a specific command previously determined as a non-cutting state designating command is added to the machining program and is executed based on the command.
【請求項4】 前記検出手段での非切削状態の検出は、
加工物と工具との接触を検出する前記工作機械に設けら
れた接触センサーの信号に基づいて行なうようになって
いる請求項1に記載の工具寿命管理機能を備えた数値制
御装置。
4. The detection of the non-cutting state by the detecting means is
The numerical control device having a tool life management function according to claim 1, wherein the numerical control device is configured to perform the operation based on a signal of a contact sensor provided in the machine tool that detects a contact between a workpiece and a tool.
JP04356910A 1992-12-22 1992-12-22 Numerical control unit with tool life management function Expired - Fee Related JP3121700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04356910A JP3121700B2 (en) 1992-12-22 1992-12-22 Numerical control unit with tool life management function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04356910A JP3121700B2 (en) 1992-12-22 1992-12-22 Numerical control unit with tool life management function

Publications (2)

Publication Number Publication Date
JPH06190690A true JPH06190690A (en) 1994-07-12
JP3121700B2 JP3121700B2 (en) 2001-01-09

Family

ID=18451379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04356910A Expired - Fee Related JP3121700B2 (en) 1992-12-22 1992-12-22 Numerical control unit with tool life management function

Country Status (1)

Country Link
JP (1) JP3121700B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101870075A (en) * 2010-07-02 2010-10-27 西南交通大学 Method for predicting service life of screw pair of numerical control machine on basis of performance degradation model
CN104002196A (en) * 2014-06-18 2014-08-27 烟台环球机床附件集团有限公司 Testing device for detecting precision retentivity of horizontal type servo tool rest

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3904983A4 (en) * 2019-05-09 2022-08-03 Siemens Aktiengesellschaft Tool replacement record-based cutting tool life setting method, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101870075A (en) * 2010-07-02 2010-10-27 西南交通大学 Method for predicting service life of screw pair of numerical control machine on basis of performance degradation model
CN104002196A (en) * 2014-06-18 2014-08-27 烟台环球机床附件集团有限公司 Testing device for detecting precision retentivity of horizontal type servo tool rest

Also Published As

Publication number Publication date
JP3121700B2 (en) 2001-01-09

Similar Documents

Publication Publication Date Title
US4497029A (en) Numerical control device
EP1758004B1 (en) NC Machine Tool
JPS5968003A (en) Emergency machine origin resetting device of numerically controlled machine tool
EP2104013B1 (en) Numerical controller with machining restart function
EP1667002B1 (en) Numerical control apparatus
JPH06190690A (en) Numerical control device provided with tool life control function
JP3005663B2 (en) Abnormality avoidance control method for numerically controlled machine tools
JPH07314290A (en) Life management device for multi-edged tool
JPH06202723A (en) Numerically controlled machine tool
US4839817A (en) Numerically controlled apparatus including shunting controller
JP2676512B2 (en) Program restart method
JPH0573125A (en) Work monitoring system for nc machine tool
JP2672595B2 (en) Tool replacement method
JPH10180591A (en) Correcting method of tool correcting quantity and device thereof
JPH0370242B2 (en)
JP2754266B2 (en) Numerical controller with centralized tool data management function
EP0070135A1 (en) A numerical control method and an nc system
JPH0863216A (en) Machining time measuring system
JPH0646848U (en) Tool breakage detector
JP2020011258A (en) Numerical control unit
JP2691984B2 (en) Work coordinate system setting method
JPS5918184B2 (en) Tool evacuation/return device in case of tool abnormality in machine tools
KR100254185B1 (en) Tool checking method
JP4208600B2 (en) NC machine tool
JPH0325292B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees