JP3121700B2 - Numerical control unit with tool life management function - Google Patents

Numerical control unit with tool life management function

Info

Publication number
JP3121700B2
JP3121700B2 JP04356910A JP35691092A JP3121700B2 JP 3121700 B2 JP3121700 B2 JP 3121700B2 JP 04356910 A JP04356910 A JP 04356910A JP 35691092 A JP35691092 A JP 35691092A JP 3121700 B2 JP3121700 B2 JP 3121700B2
Authority
JP
Japan
Prior art keywords
tool
command
cutting state
cutting
numerical control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04356910A
Other languages
Japanese (ja)
Other versions
JPH06190690A (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.)
Okuma Corp
Original Assignee
Okuma Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Corp filed Critical Okuma Corp
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)

Description

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

【0001】[0001]

【産業上の利用分野】工具寿命時間のチェックにより、
自動的に工具を交換する工具寿命管理機能を備えた数値
制御装置に関するものである。
[Industrial application] Checking 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 control apparatus having a tool life management function, a plurality of tools of the same type are mounted in advance in a tool magazine of a machine tool. Checks the tool life time at the time of selection command and automatically selects available tools from the above tool magazine, or suspends machining operation immediately when the used tool reaches the set tool life time Then, the interruption position is stored, and a tool exchange subprogram stored in advance is called and executed to exchange the tool 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. The unit 2 includes a storage unit (hereinafter, referred to as a tool command number storage unit) 2a for storing a tool command number input through the input unit 1, and a storage unit (hereinafter, tool magazine) for storing tool magazine numbers of usable tools. A storage unit (described as a number storage unit) 2b, a storage unit that stores a position when the remaining tool life time of the tool being used becomes 0 (hereinafter referred to as a tool remaining life 0 position storage unit) 2c, and a process executed next. Storage unit for storing block numbers (hereinafter referred to as next block number storage unit)
2d and a storage unit (hereinafter referred to as a tool replacement subprogram storage unit) 2e for storing a tool replacement subprogram.

【0004】工具管理データ設定部10は、工具マガジ
ン番号に対応する工具指令番号の管理データ及び工具寿
命時間を計数する工具残寿命データが設定され、登録さ
れる工具管理データ設定部である。工具マガジン番号出
力部7は、上記記憶部2の工具マガジン番号記憶部2b
に記憶されている工具マガジン番号を出力する工具マガ
ジン番号出力部で、演算部6は、使用可能な工具マガジ
ン番号を選択する演算部と、工具補正番号管理データ及
び工具補正量管理データ内容から新しく選択された工具
補正番号又は工具補正量を決定する演算部とからなる。
制御部5は、入力、記憶、演算及び出力の動作を制御す
る制御部である。工作機械8は、工具を選択する工具選
択部8a及びこの工具選択部8aによって選択された工
具8bを備えている。
A tool management data setting unit 10 is a tool management data setting unit in which management data of a tool command number corresponding to a tool magazine number and remaining tool life data for counting a tool life time are set and registered. The tool magazine number output unit 7 is a tool magazine number storage unit 2 b of the storage unit 2.
In the tool magazine number output unit that outputs the tool magazine number stored in the storage unit, the calculation unit 6 includes a calculation unit that selects an available tool magazine number, and a tool correction number management data and a tool correction amount management data. And a calculation unit for determining the selected tool correction number or 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 a tool command number and a tool life time corresponding to the tool magazine number using a panel keyboard or the like, the management data TD1 and the tool life time of the tool command number corresponding to the tool magazine number are stored in the tool management data setting unit 10. The remaining tool life data TD2 to be counted is registered. When a tool selection command TS (T code command by a 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, using the operation unit 6, using the management data TD1 of the tool command number corresponding to the tool magazine number of the tool management data setting unit 10, the remaining tool life data TD2, and the contents TSa of the tool command number storage unit 2a, the usable tools. The magazine number TMb is determined and stored in the tool magazine number storage section 2 b of the storage section 2, and the tool magazine number TMb is output to the machine tool 8 via the tool magazine number output section 7. In parallel with the above control, the arithmetic unit 6 determines the newly selected tool correction number 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 compensation amount TCD
To determine. When executing the tool correction, the control unit 5 performs a correction suitable for a newly selected tool based on the tool correction amount TCD, and operates with the 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 life data TD2 of the tool management data setting unit 10 is always checked, and when the tool life data of the tool being used becomes 0 (when the tool life is reached), it is immediately determined. The operation of the machining in the machine tool 8 is temporarily interrupted through the control unit 5, and the interruption position data SDc indicating the position of the tool at the time of the 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
d, respectively. Then, by calling and executing the tool exchange subprogram PDe stored in advance in the tool exchange subprogram storage unit 2e of the storage unit 2, even if the tool selection command TS from the machining program is not input, the currently used tool exchange subprogram PDe is used. As soon as the tool reaches the set tool life, machining is interrupted and the tool is automatically changed.

【0007】尚、工具交換サブプログラムPDeでは次
の動作を行なう。まず工具寿命に達した工具を工具交換
位置に戻すと共にその工具を同種類の使用可能な工具と
工具交換し、且つ新しい工具の工具補正を行ない、記憶
部2の工具残寿命0位置記憶部2cに記憶されている中
断位置データSDcにしたがって加工中断位置まで新し
い工具を戻し、また加工中断位置座標、中断ブロックの
終点座標及び補間モードを用いて加工中断ブロックの残
指令を演算して加工中断ブロックの終了位置まで加工を
再開し、その後記憶部2の次ブロック番号記憶部2dに
記憶されているブロック番号SDdに従い機械加工中の
加工プログラムの中断した次のブロックへ復帰する。
The following operation is performed in the tool change subprogram PDe. First, the tool that has reached the tool life is returned to the tool change position, the tool is replaced with a usable tool of the same kind, and the tool is corrected for a new tool. The new tool is returned to the machining interruption position in accordance with the interruption position data SDc stored in the CPU, and the remaining command of the machining interruption block is calculated by using the machining interruption position coordinates, the end point coordinates of the interruption block, and the interpolation mode. , And then returns to the next block where the machining program under machining is interrupted in accordance with 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, if 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 placed on the workpiece cutting surface. 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 a workpiece cutting surface during automatic tool change by checking a tool life time. An object of the present invention is to provide a numerical control device provided with the same.

【0009】[0009]

【課題を解決するための手段】本発明は、工具毎に設定
される工具寿命時間が一般的に目安値として設定され、
工具寿命時間に達したら直ちに工具交換しなければなら
ないというほど緊急度がない点に鑑み、加工プログラム
からの指令あるいは加工物と工具の接触を検出する接触
センサーの信号を用いて、加工プログラムによる運転中
に加工物とその加工物を切削する工具とが接触していな
非切削状態を検出する検出手段と、該検出手段で検出
した非切削状態のときに、使用中の工具の工具残寿命時
間をチェックし、工具寿命時間に達していたらその位置
を運転中断位置として記憶する記憶手段と、工具交換サ
ブプログラムと前記加工プログラムを切替えるプログ
ラム切替制御手段とを具備することにより達成される。
According to the present invention, a tool life time set for each tool is generally set as a standard value,
In view of the points is not enough urgency say shall immediately tool change reaches the tool life time, with a signal contact sensor for detecting contact command or a workpiece and a tool from the machining program, operation with a machining program During ~
The workpiece and the tool that cuts the workpiece
Detecting means for detecting have non-cutting state, when the non-cutting state detected by the detecting means checks the tool remaining life time of the tool in use, operation interrupt position its position when I reach the tool life time storage means for storing as is achieved by having a program switching control means for switching between the machining program and the tool change subprogram.

【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 in use in the non-cutting state is checked. As long as the tool life is reached, the tool is changed when the machine is in the non-cutting state. The tool change is performed when it becomes.

【0011】[0011]

【実施例】図1は、本発明の工具寿命管理機能を備えた
数値制御装置の一例を示すブロック図であり、従来技術
と同等なものについては同符号をつけその説明を省略す
る。非切削状態検出部3では、入力部1からの加工プロ
グラム指令データ、あるいは現在選択されている工具8
bが加工物と接触しているか接触していないかを検出す
る接触検出部8cの接触センサーから信号入力部9を通
して得られる接触状態確認信号を用いて、加工プログラ
ムによる運転中の非切削状態を検出する。プログラム切
替制御部4では、上記非切削状態検出部3で検出した非
切削状態のとき、使用中の工具の工具寿命時間をチェッ
クし、加工プログラム指令による動作を継続するか、工
具交換用サブプログラムを割り込ませその工具交換サブ
プログラムを実行させた後に加工プログラム指令による
動作を継続させるかを切替えて実行する。
FIG. 1 is a block diagram showing an example of a numerical control apparatus having a tool life management function according to the present invention. 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 from the contact sensor of the contact detection unit 8c for detecting whether or not b is in contact with the workpiece through the signal input unit 9, 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 detecting unit 3, the program switching control unit 4 checks the tool life time of the tool being used, and continues the operation according to the machining program command, or executes the subroutine for tool exchange. After executing the tool change subprogram, the operation according to the machining program command is switched and executed.

【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 for storing 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 exchange subprogram (hereinafter referred to as a tool exchange subprogram storage unit) 2
e, a storage unit for storing the contents of the interrupted block of the machining program interrupted for performing the tool change (hereinafter referred to as a machining interrupted block content storage unit) 2f, and a memory for storing the coordinate values interrupted for performing the tool change. (Hereinafter referred to as a machining interruption position storage unit) 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 a tool selection command TS (T code command by a machining program) is input from the input unit 1, the tool selection command TS
Performs a series of tool changing operations. Note that a series of tool change operations when a tool selection command TS is input from the machining program is the same as the operation based on the conventional tool selection command, and a description thereof will be omitted. The non-cutting state detection unit 3 receives the processing 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 in use is in contact with the workpiece,
It detects whether or not the current state is a state that is not directly related to the cutting of the machined surface (non-cutting state). If the current state is a 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 a contact state confirmation signal CTS obtained from the contact sensor of the contact detection section 8c through the signal input section 9.

【0014】プログラム切替制御部4は、非切削状態で
あることを示す状態データSTDを受け、工具管理デー
タ設定部10の工具残寿命データTD2をチェックし、
使用中の工具の工具残寿命データが0であれば、上記非
切削状態検出のため実行を中断させていた入力部1から
の加工プログラム指令の1ブロックデータPBを加工中
断ブロック内容記憶部2fに記憶し、現在の座標値を加
工中断座標位置SPgとして加工中断位置記憶部2gに
記憶すると共に、予め記憶部2eに記憶させている工具
交換用サブプログラムPDeを運転用メモリーに呼びだ
し、この工具交換サブプログラムPDeを実行させるこ
とにより非切削状態からの工具交換を行なう。工具交換
サブプログラムPDeの実行による工具交換完了後、工
具交換のためにその実行を中断し、加工中断ブロック内
容記憶部2fに記憶しておいた加工プログラムの中断ブ
ロックデータPBを運転用メモリーに呼びだし実行させ
ることにより、加工プログラムにしたがった運転を再開
する。
The program switching control unit 4 receives the state data STD indicating the non-cutting state, checks the tool remaining life data TD2 of the tool management data setting unit 10, and
If the remaining tool life data of the tool being used is 0, one block data PB of the machining program command from the input unit 1 which has been interrupted for the detection of the non-cutting state is stored in the machining interrupted block content storage unit 2f. The stored coordinate values are stored in the machining interruption position storage unit 2g as machining interruption coordinate positions SPg, and the tool exchange subprogram PDe previously stored in the storage unit 2e is called into the operation memory, and this tool exchange is performed. By executing the subprogram PDe, the tool is changed from the non-cutting state. After the completion of the tool exchange by executing the tool exchange subprogram PDe, the execution is interrupted for the tool exchange, and the interrupted block data PB of the machining program stored in the interrupted block content storage unit 2f is called into the operation memory. By executing, 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 operation 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 executing 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 a program end command, it is checked whether there is a tool selection command (T code command by a machining program) (step S2). If there is a tool selection command, the process proceeds to step S6. Subsequently, a non-cutting operation command (eg, a positioning operation command based on a G00 command), a non-cutting state specifying command for specifying a predetermined non-cutting area (eg, an M code command), or the currently selected tool 8b is processed. A 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 with the object is checked (step S3,
S4, S5), a non-cutting state during operation according to the machining program is detected. Here, the non-cutting state means that the one block data of the read machining program command is the non-cutting operation command or 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に記憶す
る。
If 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. If it is determined that the tool is in the non-cutting state, the tool management data setting unit 10 checks the remaining tool life data (step S6). S7) If the remaining tool life data in use is 0 (the tool in use is the life of the tool), the processing from step S8 is performed to perform tool exchange. In step S6, one block data of the machining program command read through the input unit 1 is put into the operation memory as it is, and the operation of the block command is executed. In step S8, in order to interrupt the operation of the tool exchange 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 processing interrupted block content through the control unit 5, respectively. The unit 2f stores the information in the machining interruption position storage unit 2g.

【0017】その後、予め工具交換用サブプログラム記
憶部2eに記憶している工具交換サブプログラムを運転
用メモリーに呼びだし実行させ(ステップS9)、工具
交換サブプログラムの実行による工具交換の完了を待っ
て(ステップS10)、工具交換が完了したら、上記中
断したブロック指令を制御部5を通して加工中断ブロッ
ク位置記憶部2fから読みだし、そのブロック指令を運
転用メモリーに呼びだし実行させ、全ての処理を終了す
る(ステップS11)。このように加工プログラムの1
ブロックデータを読み込み、その1ブロックデータに基
づく動作を実行させる前に、上記非切削状態の検出チェ
ック及び工具残寿命データのチェックを行ない、そのチ
ェック結果に基づき工具交換サブプログラムによる工具
交換動作を割り込ませることにより、加工プログラムか
らの工具選択指令が入力されなくても、使用中の工具が
工具寿命に達してからの最初の非切削状態の時に自動的
に工具交換を行なう。
Thereafter, the tool exchange subprogram stored in advance in the tool exchange subprogram storage unit 2e is called out to the operation memory and executed (step S9), and the completion of tool exchange by execution of the tool exchange subprogram is waited. (Step S10) When the tool change is completed, the interrupted block command is read out from the machining interrupted block position storage unit 2f through the control unit 5, the block command is recalled to the operation memory and executed, and all the processes are ended. (Step S11). Thus, 1 of the machining program
Before reading the block data and executing the operation based on the one block data, the non-cutting state detection check and the remaining tool life data check are performed, and the tool change operation by the tool change subprogram is interrupted based on the check result. Thus, even if the tool selection command from the machining program is not input, the tool is automatically changed at the first non-cutting state after the used tool 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 change subprogram is as follows. First, the tool whose tool life has been reached is returned to the tool change position (step S12), and the available tool of the same type as the tool is changed (step S1).
3) The tool is corrected for a new tool, and the new tool is returned to the machining restart position using the data (coordinate position where the machining was interrupted for the tool change) in the machining interrupted position storage unit 2g, and all the processing is performed. The process 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番の工具は工具寿命に達していないことを
前提とした一例とし以下に説明する。
FIG. 4 shows the position at which the tool change subprogram is interrupted during operation by the machining program.
This is supplemented by using the machining program example. In the machining program example of FIG. 4, XP1,..., XP4, YP1,.
4 is a command position of the X axis and the Y axis, 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. It should be noted that the tool No. 1 and the tool No. 2 are set / registered in advance as the same type of tool, and the tool magazine No. 1 has the tool No. 1 and the tool magazine No. 2
It is assumed that the tool with the tool number 2 is set / registered as the tool number, and the tool with the tool number 1 is selected first by the tool selection command Tn in this example. Also, tool number 1
The following description will be given as an example on the assumption that the tool number 2 is preset and registered as the same kind of tool as the tool number 2 and has not reached the tool life.

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

【0021】そして、N23のブロック指令による動作
実行前に、予め記憶されている工具交換サブプログラム
を割り込ませ、その工具交換サブプログラムにより工具
番号1番の工具から同種類の使用可能な工具番号2番の
工具に工具交換し、工具番号2番の工具の工具補正を行
ない、新しく選択された工具番号2番の工具を、上記加
工中断位置として記憶したN22のブロックの動作完了
座標位置(XP2,YP2)まで戻す。この工具交換サ
ブプログラムによる工具交換が完了したら、上記加工中
断ブロックとして記憶したN23のブロック指令を読み
だして実行し、以後N24からの加工プログラム指令に
よる動作を再開する。
Before executing the operation according to the block command of N23, a tool exchange subprogram stored in advance is interrupted, and the tool exchange subprogram causes the same type of usable tool number 2 from the tool number 1 tool. The tool is replaced with the tool No. 2, the tool correction of the tool No. 2 is performed, and the newly selected tool No. 2 is set as the operation completion coordinate position (XP2, Return to YP2). When the tool exchange by the tool exchange subprogram is completed, the block command of N23 stored as the machining interrupted block is read and executed, and thereafter, the operation according to 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, the cutting is interrupted even if the tool in use reaches the tool life time during the cutting of the workpiece. Since the tool is changed when the machine is in the non-cutting state, the tool can be changed without affecting the machined surface.

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

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

【図2】本発明装置による非切削状態の検出方法とプロ
グラム切替制御の動作例を示すフローチャートである。
FIG. 2 is a flowchart illustrating 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 changing subprogram in the apparatus of the present invention.

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

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

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

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

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B23Q 17/09 B23Q 3/155 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) B23Q 17/09 B23Q 3/155

Claims (4)

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

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113272746A (en) * 2019-05-09 2021-08-17 西门子股份公司 Method, device and system for setting service life of cutting tool based on tool change record

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101870075B (en) * 2010-07-02 2012-01-25 西南交通大学 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113272746A (en) * 2019-05-09 2021-08-17 西门子股份公司 Method, device and system for setting service life of cutting tool based on tool change record
CN113272746B (en) * 2019-05-09 2024-04-09 西门子股份公司 Cutting tool life setting method, device and system based on tool replacement record

Also Published As

Publication number Publication date
JPH06190690A (en) 1994-07-12

Similar Documents

Publication Publication Date Title
US4497029A (en) Numerical control device
EP2104013B1 (en) Numerical controller with machining restart function
US4994977A (en) Method of detecting an interference in the control of a plurality of mechanical systems
JP3121700B2 (en) Numerical control unit with tool life management function
US4751652A (en) Numerical control drilling restart control system
JP3005663B2 (en) Abnormality avoidance control method for numerically controlled machine tools
JP2676512B2 (en) Program restart method
JP2672595B2 (en) Tool replacement method
EP0144435B1 (en) Numerical control apparatus with automatic tool determination function
EP0414911B1 (en) Numerical control device for transfer machine
JPH0863216A (en) Machining time measuring system
JPH0646848U (en) Tool breakage detector
EP0368337B1 (en) Industrial machine control device
JP3213958B2 (en) Cycle time measuring device
JPH0325292B2 (en)
JP2584225B2 (en) Numerical control unit
JP2691984B2 (en) Work coordinate system setting method
JPH05162047A (en) Numerical controller
JP3575325B2 (en) Numerical control method and device
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
GB2207777A (en) Numerical control apparatus for machining a closed area
KR100254185B1 (en) Tool checking method
JP2728256B2 (en) Numerical control method
CN114911195A (en) Multi-station numerical control machine tool machining method and terminal
JP2003263206A (en) Malfunction preventing control system for machine tool

Legal Events

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