JPH07110458B2 - Tool management method and apparatus for numerical control device - Google Patents

Tool management method and apparatus for numerical control device

Info

Publication number
JPH07110458B2
JPH07110458B2 JP1105615A JP10561589A JPH07110458B2 JP H07110458 B2 JPH07110458 B2 JP H07110458B2 JP 1105615 A JP1105615 A JP 1105615A JP 10561589 A JP10561589 A JP 10561589A JP H07110458 B2 JPH07110458 B2 JP H07110458B2
Authority
JP
Japan
Prior art keywords
tool
command
magazine
spare
tools
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
JP1105615A
Other languages
Japanese (ja)
Other versions
JPH02284841A (en
Inventor
日出樹 清水
裕二 永縄
Original Assignee
オ−クマ株式会社
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 オ−クマ株式会社 filed Critical オ−クマ株式会社
Priority to JP1105615A priority Critical patent/JPH07110458B2/en
Publication of JPH02284841A publication Critical patent/JPH02284841A/en
Publication of JPH07110458B2 publication Critical patent/JPH07110458B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、数値制御(以下、NCとする)工作機械,工具
搬送装置及び複数のNC工作機械の工具を共通に貯蔵する
工具貯蔵室から構成され、NC装置が工具毎に工具寿命や
工具折損の管理を行なうようになっている工具管理方法
及びその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of application) The present invention relates to a numerical control (hereinafter referred to as NC) machine tool, a tool transfer device, and a tool storage room for commonly storing tools of a plurality of NC machine tools. TECHNICAL FIELD The present invention relates to a tool management method and a device thereof, in which an NC device manages a tool life and a tool breakage for each tool.

(従来の技術) 生産性の向上やダウンタイムの減少を目的にNC工作機械
のシステム化,自動化が進み、様々な機能が開発されて
実用化されている。その中で、工具の寿命や折損を管理
し自動化することにより、機械の停止時間やオペレータ
の介在を少なくするために工具寿命や工具折損発生時に
工具マガジン内での工具の自動乗換を行ない、無人で長
時間運転が可能になる様な自動化が図られている。しか
しながら、多品種少量生産に対応する為には乗換工具用
の予備工具を大量に持つ必要があり、又現実的には予備
工具を多く持つことができない為、機械の運転時間を少
し延ばしているに過ぎない。従って、従来技術において
は長時間運転する為には、大容量の工具マガジンを機械
毎に持つ必要があるなど問題が多かった。
(Conventional technology) With the aim of improving productivity and reducing downtime, NC machine tools have been systematized and automated, and various functions have been developed and put into practical use. Among them, by managing and automating tool life and breakage, automatic changeover of tools in the tool magazine is performed at the time of tool life and tool breakage in order to reduce machine downtime and operator intervention. The automation is designed to enable long-term operation. However, in order to support high-mix low-volume production, it is necessary to have a large number of spare tools for transfer tools, and in reality it is not possible to have many spare tools, so the operating time of the machine is slightly extended. Nothing more than. Therefore, in the prior art, there were many problems such as having a large capacity tool magazine for each machine in order to operate for a long time.

以下、上記従来技術を第5図の構成図及び第6図のフロ
ーチャートを参照して説明する。
The above conventional technique will be described below with reference to the configuration diagram of FIG. 5 and the flowchart of FIG.

従来の工具管理部は、第5図に示すように4つの部分か
ら構成されている。すなわち、NCプログラムのT番号指
令により次工具を準備する為の次工具指令部10と、指令
工具が寿命/折損によるNG工具かどうかを判定する寿
命,折損工具判定部11と、指令工具がNC工具の場合、乗
換工具用としてNG工具でない予備工具が有るかどうかを
判定する予備工具有無判定部12と、NCプログラム内で工
具交換指令(M06)することにより工具レディステーシ
ョンの工具(次工具指令で指定された工具)と主軸に装
着した工具とを交換し、選択された工具がNG工具かどう
かを判定し、NG工具の場合はアラーム処理して機械を停
止させる工具交換指令部13とから構成されている。
The conventional tool management section is composed of four parts as shown in FIG. That is, the next tool command section 10 for preparing the next tool according to the T number command of the NC program, the life / broken tool judgment section 11 for judging whether the command tool is an NG tool due to life / breakage, and the command tool are NC In the case of a tool, a spare tool presence / absence determination unit 12 that determines whether or not there is a spare tool that is not an NG tool for a transfer tool, and a tool change command (M06) in the NC program (The tool specified in step 1) and the tool attached to the spindle are exchanged, it is determined whether the selected tool is an NG tool, and if it is an NG tool, an alarm is processed and the tool change command unit 13 that stops the machine It is configured.

このような構成において、NC工作機械はNC起動がかかる
と(ステップS30)、NCプログラムを実行する。NCプロ
グラムが実行されると、NC工作機械は指令コード(G,M,
T,S等)に従ってその内容を解釈し、NC工作機械の軸,
主軸,ATC(自動工具交換)などの制御を行なう。そし
て、NCプログラムの解釈中に次工具指令(Tコード)が
来ると(ステップS31)、指令工具が寿命や折損によるN
G工具かどうかを判定し(ステップS32)、指令工具がNG
工具の場合は乗換工具としてグループ化された予備工具
が有るか否かを判定する(ステップS33)。予備工具が
有る場合には予備工具自身がNG工具であるかどうかを判
定し(ステップS34)、全ての予備工具がNG工具であれ
ばNG工具としてメモリに記憶する(ステップS35)。上
記ステップS34において予備工具がNG工具でない場合は
予備工具を工具レディステーションに移動し(ステップ
S36)、NG工具である場合も記憶後にその予備工具を工
具レディステーションへ移動する(ステップS36)。指
令工具がNG工具であり、予備工具が存在しない場合は指
令工具をNG工具としてメモリに記憶し(ステップS3
7)、その指令工具を工具レディステーションへ移動す
る(ステップS38)。又、指令工具が寿命,折損工具で
なく加工可能な工具であれば、指令工具を工具レディス
テーションへ移動する(ステップS38)。
In such a configuration, the NC machine tool executes the NC program when the NC is activated (step S30). When the NC program is executed, the NC machine tool will issue command codes (G, M,
(T, S, etc.) and interpret its contents according to the NC machine tool axis,
Controls the spindle, ATC (automatic tool change), etc. Then, when the next tool command (T code) comes during the interpretation of the NC program (step S31), the command tool is
It is judged whether it is a G tool (step S32), and the command tool is NG.
If it is a tool, it is determined whether or not there is a spare tool grouped as a transfer tool (step S33). If there are spare tools, it is determined whether or not the spare tools themselves are NG tools (step S34), and if all the spare tools are NG tools, they are stored in the memory as NG tools (step S35). If the spare tool is not the NG tool in step S34, move the spare tool to the tool ready station (step
S36), even if it is an NG tool, the spare tool is moved to the tool ready station after storage (step S36). If the command tool is an NG tool and a spare tool does not exist, the command tool is stored in the memory as an NG tool (step S3
7) The command tool is moved to the tool ready station (step S38). If the command tool is a tool that can be machined instead of the tool having a life and breakage, the command tool is moved to the tool ready station (step S38).

一方、NCプログラム解釈中に工具交換指令(M06)が来
ると(ステップS40)、工具レディステーションにセッ
トされた工具との主軸に装着されている工具との交換を
行なう(ステップS41)。新しい工具を主軸に装着後、
その工具がNG工具か否かを判定し(ステップS42)、NG
工具であればNC装置はアラームを出力して機械を停止す
る(ステップS43)。また、主軸装着工具がNG工具でな
い場合は、その後にその工具で加工を開始する。上述の
様にNCプログラムを解釈し、加工完了(M02,M30)にな
るまで上記動作を繰返す(ステップS44)。
On the other hand, when the tool change command (M06) is received during the interpretation of the NC program (step S40), the tool set in the tool ready station is replaced with the tool mounted on the spindle (step S41). After installing a new tool on the spindle,
It is determined whether or not the tool is an NG tool (step S42), and NG
If it is a tool, the NC device outputs an alarm and stops the machine (step S43). If the tool attached to the spindle is not an NG tool, then start machining with that tool. The NC program is interpreted as described above, and the above operation is repeated until the machining is completed (M02, M30) (step S44).

(発明が解決しようとする課題) 従って、予備工具のない指令工具が寿命や折損になった
場合や、予備工具が有る場合でも全ての予備工具が寿命
や折損になりNG工具となった場合は、NC工作機械はアラ
ームで停止し、オペレータの介在により工具の交換が必
要となる。
(Problems to be solved by the invention) Therefore, when a command tool without a spare tool has a life or breakage, or even if there is a spare tool, if all spare tools have a life or breakage and become NG tools, , NC machine tools are stopped by an alarm, and it is necessary to change tools due to operator intervention.

すなわち、従来より工具寿命や工具折損発生時に工具マ
ガジン内での工具の自動乗換を行ない、無人で長時間運
転が可能になる様な自動化が図られている。しかしなが
ら、多品種少量生産に対応する為には乗換工具用の予備
工具を大量に持つ必要があり、現実的には予備工具を多
く持つことができない為、機械の運転時間を少し延ばし
ているに過ぎない。従って、従来技術において長時間運
転する為には、大容量の工具マガジンを機械毎に具備す
る必要があるなど問題が多かった。
That is, conventionally, when the tool life or the tool breakage occurs, the tools are automatically transferred in the tool magazine, and automation is performed so that unmanned operation can be performed for a long time. However, in order to handle high-mix low-volume production, it is necessary to have a large number of spare tools for transfer tools, and in reality, it is not possible to have many spare tools. Not too much. Therefore, in the prior art, in order to operate for a long time, it was necessary to equip each machine with a large capacity tool magazine.

本発明は上述のような事情よりなされたものであり、本
発明の目的は、複数のNC工作機械に共通な工具貯蔵室を
有し、工具寿命や折損発生時に工具搬送すると共に、NC
プログラム中で次工具指令する前に判定を行なうことに
より機械停止することなく、無人で長時間運転すること
が可能なNC装置における工具管理方法及びその装置を提
供することにある。
The present invention has been made under the circumstances as described above, and an object of the present invention is to have a tool storage chamber common to a plurality of NC machine tools, to convey a tool at the time of tool life or breakage, and NC.
It is to provide a tool management method and an apparatus thereof in an NC device capable of operating unmanned for a long time without making a machine stop by making a determination before issuing a next tool command in a program.

(課題を解決するための手段) 本発明は、複数の数値制御工作機械の工具を共通に貯蔵
する工具貯蔵室と、この工具貯蔵室と前記数値制御工作
機械の工具マガジンとの間で所定の工具を搬送する工具
搬送装置とを具えた数値制御装置における工具毎に工具
寿命や工具折損の管理を行う工具管理方法及びその装置
に関するもので、本発明の上記目的は、NCプログラムの
次工具指令の前に次工具判定指令を設定し、前記NCプロ
グラムが実行されると前記NCプログラムの指令コードの
内容を解釈し、前記次工具判定指令が解釈されると指定
された次工具番号を基に前記工具マガジン又は工具貯蔵
室内の予備工具を探索し、前記予備工具の中に工具寿命
に達していない工具や折損していない工具などの加工可
能な工具を存在するか否か判定し、前記加工可能な工具
が前記工具マガジンに存在すれば前記次工具指令を実行
して加工を続行すると共に、前記加工可能な工具が前記
工具マガジンに存在しない場合は前記工具貯蔵室から前
記予備工具と同一工具を前記工具搬送装置により前記工
具マガジンに搬送し、前記工具マガジンに前記予備工具
を装着した時点で加工を再開することによって達成され
る。
(Means for Solving the Problem) According to the present invention, a tool storage chamber for commonly storing tools of a plurality of numerically controlled machine tools, and a predetermined space between the tool storage chamber and a tool magazine of the numerically controlled machine tool are provided. The present invention relates to a tool management method and device for managing tool life and tool breakage for each tool in a numerical control device that includes a tool transfer device that transfers tools. The next tool determination command is set before, the contents of the command code of the NC program are interpreted when the NC program is executed, and based on the next tool number specified when the next tool determination command is interpreted. Searching for a spare tool in the tool magazine or the tool storage chamber, determining whether or not there is a workable tool such as a tool that has not reached the tool life or a tool that has not been broken in the spare tool, If a tool that can be processed is present in the tool magazine, the next tool command is executed to continue processing, and if a tool that can be processed is not present in the tool magazine, the same tool as the spare tool from the tool storage chamber Is transferred to the tool magazine by the tool transfer device, and the machining is restarted when the spare tool is mounted on the tool magazine.

(作用) 本発明では、NC装置内で使用工具の使用実績の計数を行
なったり、折損の有無を判定することにより寿命や折損
が発生したかどうかをチェックする寿命/折損工具発生
判定部と、工具の寿命/折損が発生したときに供給工具
及び返却工具を決定し、工具貯蔵室とNC工作機械の工具
マガジンとの間で工具搬送及び工具交換を行なう工具搬
送指令部と、NC工作機械にNC起動がかかりNCプログラム
を実行する際、次工具が加工可能な工具かどうかを判定
する次工具判定部と、この次工具判定部で決定されたフ
ラグにより加工工具が有るか否かを判定する加工工具有
無判定部と、次工具指令(Tコード)により該当の工具
を工具マガジンより工具レディステーションへ移動する
次工具指令部と、工具交換指令(M06)により工具レデ
ィステーションの工具と主軸に装着されている工具とを
交換する工具交換指令部とから構成される。
(Operation) In the present invention, a life / broken tool occurrence determination unit that counts the usage history of tools used in the NC device and determines whether or not breakage has occurred by determining the presence or absence of breakage, When the tool life / breakage occurs, the supply tool and return tool are determined, and the tool transfer command section that transfers and exchanges tools between the tool storage room and the tool magazine of the NC machine tool, and the NC machine tool When the NC program is started and the NC program is executed, it is determined whether or not there is a machining tool by the next tool determination unit that determines whether the next tool is a machineable tool and the flag determined by this next tool determination unit. Machining tool presence / absence judgment unit, the next tool command unit that moves the corresponding tool from the tool magazine to the tool ready station by the next tool command (T code), and the tool ready station by the tool replacement command (M06). Composed of a tool change command unit for exchanging a tool in the tool and the spindle is mounted.

これにより、工具寿命や折損発生時に工具搬送すると共
に、NCプログラム中に次工具指令する前に判定を行なう
ことにより、工具寿命や工具折損が発生しても機械を停
止することなく長時間無人運転が可能であり、稼動率を
低下させることのないシステムを構築することができ
る。
As a result, when a tool life or breakage occurs, the tool is transported and the judgment is made before the next tool command in the NC program, so even if the tool life or tool breakage occurs, the machine will not be stopped and will be operated for a long time unattended. It is possible to construct a system that does not reduce the operating rate.

(実施例) 本発明の実施例を第1図に示して説明する。(Example) An example of the present invention will be described with reference to FIG.

NC装置内で使用工具の使用実績の計数を行なったり、折
損の有無を判定することにより寿命や折損が発生したか
どうかをチェックする寿命/折損工具発生判定部1と、
工具の寿命,折損が発生したときに供給工具及び返却工
具を決定し、工具貯蔵室とNC工作機械の工具マガジンと
の間で工具搬送,工具交換を行なう工具搬送指令部2
と、NC工作機械においてNC起動がかかりNCプログラムを
実行する際、次工具が加工可能な工具かどうかを判定す
る次工具判定部3と、この次工具判定部3で決定された
フラグにより加工工具が存在するかどうかを判定する加
工工具有無判定部4と、次工具指令(Tコード)により
該当工具を工具マガジンより工具レディステーションへ
移動する次工具指令部5と、工具交換指令(M06)によ
り工具レディステーションの工具と主軸に装着されてい
る工具とを交換する工具交換指令部6とから構成されて
いる。
A life / broken tool occurrence determination unit 1 that checks the service life and whether or not breakage has occurred by counting the actual results of the tools used in the NC device and determining the presence or absence of breakage.
A tool transfer command unit 2 that determines the supply tool and the return tool when the tool life or breakage occurs, and transfers and exchanges the tool between the tool storage room and the tool magazine of the NC machine tool
Then, when the NC program is executed and the NC program is executed in the NC machine tool, the next tool determination unit 3 that determines whether the next tool is a machineable tool, and the machining tool based on the flag determined by the next tool determination unit 3 By the machining tool presence / absence judging unit 4 for judging whether or not there exists, the next tool command unit 5 for moving the corresponding tool from the tool magazine to the tool ready station by the next tool command (T code), and the tool replacement command (M06). It is composed of a tool exchange command section 6 for exchanging the tool of the tool ready station and the tool mounted on the spindle.

このような構成において、その動作を第2図のフローチ
ャートを参照して説明する。
With such a configuration, its operation will be described with reference to the flowchart of FIG.

NC工作機械にNC起動がかかると(ステップS1)、NC装置
はNCプログラムを解釈して指令コード(G,M,S,T等)に
より制御を行なう。そして、工具が主軸に装着されると
(以下、これを加工工具と呼ぶ)、工具の使用実績の計
数を行なうが、計数の方法としては時間やワーク個数な
どで行なう。工具毎にオペレータにより設定値が予めセ
ットしてある為、その設定値と実績値とを比較すること
により工具寿命かどうかを判定している。又、折損につ
いては、ある基準ブロックに工具を当てるなどすること
により、設定値及び測定値がある範囲以上であるかどう
かを判定し、工具が折損したかどうかを決定する。この
様な判定により工具寿命や工具折損が認識されると(ス
テップS2)、NC装置は、工具貯蔵室と工具マガジンとの
間の工具搬送装置及び工具交換装置により工具マガジン
へ装着することを統括管理するホストコンピュータに、
工具寿命/折損が発生して工具搬送が必要であることを
通知する(ステップS3)。次に、寿命/折損になった工
具が工具マガジンに戻されたとき、現在加工工具(CT
L)として登録されている工具を返却工具(RTL)として
登録メモリに記憶する(ステップS4)。次に工具搬送が
完了したか否かを判定し(ステップS5)、完了していな
ければ次の処理へ入る。搬送が完了すれば新たに供給さ
れた工具を予備工具(SPR)として登録メモリに記憶す
る(ステップS6)。そして、NCプログラムを実行中に次
工具判定指令がなされると(ステップS7)、指令工具が
加工工具(CTL)(加工可能な工具)かどうかを判定し
(ステップS8)、加工工具であればシステム変数=1
(加工可能フラグ)とする(ステップS9)。指令工具が
加工工具(CTL)でない場合は予備工具(SPR)が有るか
どうかをチェックし(ステップS10)、有ればシステム
変数=1とし(ステップS11)、無ければシステム変数
=0とする(ステップS12)。次にシステム変数が“1"
であるか否かをチェック、つまり加工可能な工具で有る
かどうかをチェックし(ステップS13)、無なければ可
能になるまで(搬送完了するまで)待ち、有れば次工具
番号を引数にセットする(ステップS14)。
When the NC machine tool is activated by the NC (step S1), the NC device interprets the NC program and controls by the command code (G, M, S, T, etc.). Then, when the tool is mounted on the spindle (hereinafter referred to as a machining tool), the usage record of the tool is counted, and the counting method is performed by time, the number of workpieces, or the like. Since the set value is preset by the operator for each tool, it is determined whether or not the tool has reached the end of life by comparing the set value with the actual value. Regarding breakage, a tool is applied to a certain reference block to determine whether the set value and the measured value are above a certain range, and whether the tool is broken or not is determined. When the tool life or the tool breakage is recognized by such a judgment (step S2), the NC device controls the mounting of the tool magazine to the tool magazine by the tool transfer device and the tool exchange device between the tool storage chamber and the tool magazine. On the host computer to manage,
Notify that tool life / breakage has occurred and tool transportation is required (step S3). Next, when the tool whose life has expired / broken is returned to the tool magazine, the current machining tool (CT
The tool registered as L) is stored in the registration memory as a return tool (RTL) (step S4). Next, it is determined whether or not the tool conveyance is completed (step S5), and if not completed, the next process is entered. When the conveyance is completed, the newly supplied tool is stored in the registration memory as a spare tool (SPR) (step S6). Then, when the next tool determination command is issued during execution of the NC program (step S7), it is determined whether or not the command tool is the machining tool (CTL) (machinable tool) (step S8). System variable = 1
(Processable flag) (step S9). When the command tool is not the machining tool (CTL), it is checked whether or not there is a spare tool (SPR) (step S10), and if there is, the system variable is set to 1 (step S11), and if not, the system variable is set to 0 ( Step S12). Next, the system variable is "1"
Check whether or not it is a workable tool (step S13), if there is no it waits until it is possible (until conveyance is completed), and if there is, sets the next tool number in the argument Yes (step S14).

一方、NCプログラム実行中に次工具指令(Tコード)が
有れば(ステップS15)、引数にセットされた工具番号
を指令し(ステップS16)、工具マガジンから工具レデ
ィステーションへ工具を移動する(ステップS17)。工
具交換指令(M06)が実行されると(ステップS18)、工
具レディステーションの工具と主軸に装着された工具と
の交換を行なう(ステップS19)。そして、新たに主軸
に装着された工具を加工工具(CTL)として登録メモリ
に記憶する(ステップS20)。
On the other hand, if there is a next tool command (T code) during execution of the NC program (step S15), the tool number set in the argument is commanded (step S16), and the tool is moved from the tool magazine to the tool ready station (step S15). Step S17). When the tool change command (M06) is executed (step S18), the tool of the tool ready station and the tool mounted on the spindle are replaced (step S19). Then, the tool newly attached to the spindle is stored in the registration memory as a machining tool (CTL) (step S20).

この様な動作を加工完了(M02,M30)となるまで繰返す
(ステップS21)。従って、次工具判定指令及び工具寿
命/折損の発生時に工具貯蔵室より工具マガジンへ工具
を供給することにより、機械停止のない長時間無人運転
が可能となる。
Such operations are repeated until the machining is completed (M02, M30) (step S21). Therefore, by supplying a tool from the tool storage chamber to the tool magazine when the next tool determination command and tool life / breakage occur, unmanned operation for a long time without machine stoppage becomes possible.

次に、第3図のプログラム例及び第4図の工具寿命,折
損発生による工具状態の遷移を参照して、本発明を具体
的に説明する。
Next, the present invention will be specifically described with reference to the program example of FIG. 3 and the transition of the tool state due to the tool life and the breakage occurrence of FIG.

NC起動によりNCプログラムが実行されると、先ずNCプロ
グラムを読込んで解釈を行なう。最初にシーケンス番号
“N001"に示されるブロックを読込んで解釈することに
より次工具判定指令を実行する(処理)。この次工具
判定指令は、引数に渡される次工具番号の工具が加工工
具(CTL)又は予備工具(SPR)のどちらかが存在すれ
ば、加工工具有無のシステム変数を“1"にして次のブロ
ックへ進む。もし存在しなければ、つまり返却工具(RT
L)しかない場合は加工工具有無のシステム変数を“0"
として次のブロックへ進む。シーケンス“N002"では加
工工具有無のシステム変数が“0"であるかどうかを判定
し(処理)、もし“0"の場合、つまり返却工具(RT
L)しか存在しない場合はシーケンス“N001"へ戻り、返
却工具(RTL)が工具貯蔵室の新しい工具と交換される
までシーケンス“N001"及び“N002"を繰返し、加工工具
有無のシステム変数が“1"になると次のブロックへ進
む。シーケンス“N003"ではTコードと上記処理の引
数にセットされた次工具番号とにより、次工具指令が実
行される(処理)。この指令により工具マガジンから
指定された工具を工具レディステーションへ移動し、次
のブロックへ進む。シーケンス“N004"のブロックは工
具交換指令であり、工具レディステーションに有る工具
と主軸に装着している工具との交換を行なう。その際、
新たに主軸に装着された工具を加工工具(CTL)として
登録する。
When the NC program is executed by starting the NC, the NC program is first read and interpreted. First, the next tool determination command is executed by reading and interpreting the block indicated by the sequence number "N001" (process). This next tool determination command sets the system variable of machining tool presence to "1" if the machining tool (CTL) or spare tool (SPR) exists for the tool with the next tool number passed as an argument Go to the block. If it does not exist, that is, the return tool (RT
L) If there is only one, set the system variable of whether or not there is a processing tool to "0"
And proceed to the next block. In the sequence "N002", it is judged whether or not the system variable for processing tool presence is "0" (processing). If it is "0", that is, the return tool (RT
If there is only L), it returns to the sequence "N001" and repeats the sequence "N001" and "N002" until the returned tool (RTL) is replaced with a new tool in the tool storage room When it becomes 1 ", proceed to the next block. In the sequence "N003", the next tool command is executed by the T code and the next tool number set in the argument of the above processing (processing). This command moves the specified tool from the tool magazine to the tool ready station, and advances to the next block. The block of the sequence "N004" is a tool change command, and the tool in the tool ready station is replaced with the tool attached to the spindle. that time,
Register the tool newly attached to the spindle as a machining tool (CTL).

次に、第4図を参照して工具状態の遷移について説明す
る。
Next, the transition of the tool state will be described with reference to FIG.

工具マガジンに装着されている工具のうち工具名A,B,C
は同一グループとし、現在工具Aは加工工具(CTL)で
あり、工具B及びCは予備工具としてメモリに登録され
ているとする。先ず工具A,B,Cに該当する工具番号が指
令されると、加工工具(CTL)として登録されている工
具Aが選択されて加工を行なう。そして、加工中に寿命
が発生すると、その工具が工具マガジンに戻された時点
に工具Aは返却工具(RTL)として登録されする。次
に、工具A,B,Cに該当する工具番号が指令された場合、
まだ工具Aが搬送完了していないときは工具状態は返却
工具(RTL)のままである為、予備工具(SPR)の工具B
が選択される。そして、工具Bで加工を開始され工具B
は加工工具(CTL)として登録される。工具Bで加工中
に工具Aが搬送完了すると、工具Aは予備工具(SPR)
として登録される。次に工具Bで加工中に工具Bが工具
寿命に達すると、同様に工具マガジンに戻された時点で
返却工具(RTL)となる。次に、工具A,B,Cに該当する工
具番号が指令されると、予備工具として登録された工具
Aが選択され、主軸に装着した時点で加工工具(CTL)
に登録し直され工具Aで加工を開始する。
Tool names A, B, C among the tools installed in the tool magazine
Are in the same group, tool A is currently a machining tool (CTL), and tools B and C are registered in the memory as spare tools. First, when the tool numbers corresponding to the tools A, B, and C are instructed, the tool A registered as the machining tool (CTL) is selected and machining is performed. Then, when a life is generated during machining, the tool A is registered as a return tool (RTL) when the tool is returned to the tool magazine. Next, if the tool number corresponding to tools A, B, C is specified,
When the tool A has not been completely conveyed, the tool state remains as the return tool (RTL), so the tool B of the spare tool (SPR)
Is selected. Then, processing is started with tool B and tool B
Is registered as a machining tool (CTL). When the tool A completes the conveyance during processing with the tool B, the tool A is a spare tool (SPR).
Registered as. Next, when the tool B reaches the tool life during processing with the tool B, it becomes a return tool (RTL) when it is returned to the tool magazine similarly. Next, when the tool numbers corresponding to the tools A, B, and C are commanded, the tool A registered as a spare tool is selected, and when it is mounted on the spindle, the machining tool (CTL)
It is re-registered in and the processing is started with the tool A.

(発明の効果) 上述のように本発明によれば、工具寿命や工具折損が発
生しても機械を停止することなく長時間無人運転が可能
であり、稼動率を低下させることのないシステムを構築
することができる。
(Effects of the Invention) As described above, according to the present invention, it is possible to provide a system that can perform unmanned operation for a long time without stopping the machine even if a tool life or a tool breakage occurs and does not reduce the operating rate. Can be built.

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

第1図は本発明の装置例を示すブロック図、第2図はそ
の動作例を示すフローチャート、第3図及び第4図はそ
の動作を説明するための図、第5図は従来装置の一例を
示すブロック図、第6図はその動作例を示すフローチャ
ートである。 1……寿命/折損工具発生判定部、2……工具搬送指令
部、3……次工具判定部、4……加工工具有無判定部、
5……次工具指令部、6,13……工具交換指令部、10……
次工具指令部、11……寿命/折損工具判定部、12……予
備工具有無判定部。
FIG. 1 is a block diagram showing an example of a device of the present invention, FIG. 2 is a flowchart showing an example of its operation, FIGS. 3 and 4 are diagrams for explaining the operation, and FIG. 5 is an example of a conventional device. And FIG. 6 is a flow chart showing an example of its operation. 1 ... Life / broken tool occurrence determination unit, 2 ... Tool transport command unit, 3 ... Next tool determination unit, 4 ... Machining tool presence / absence determination unit,
5 ... Next tool command section, 6,13 ... Tool change command section, 10 ...
Next tool command section, 11 ... Life / broken tool determination section, 12 ... Spare tool presence / absence determination section.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/4062 19/4065 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/4062 19/4065

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数の数値制御工作機械の工具を共通に貯
蔵する工具貯蔵室と、この工具貯蔵室と前記数値制御工
作機械の工具マガジンとの間で所定の工具を搬送する工
具搬送装置とを具えた数値制御装置における工具毎に工
具寿命や工具折損の管理を行う工具管理方法において、
NCプログラムの次工具指令の前に次工具判定指令を設定
し、前記NCプログラムが実行されると前記NCプログラム
の指令コードの内容を解釈し、前記次工具判定指令が解
釈されると指定された次工具番号を基に前記工具マガジ
ン又は工具貯蔵室内の予備工具を探索し、前記予備工具
の中に工具寿命に達していない工具や折損していない工
具などの加工可能な工具が存在するか否か判定し、前記
加工可能な工具が前記工具マガジンに存在すれば前記次
工具指令を実行して加工を続行すると共に、前記加工可
能な工具が前記工具マガジンに存在しない場合は前記工
具貯蔵室から前記予備工具と同一工具を前記工具搬送装
置により前記工具マガジンに搬送し、前記工具マガジン
に前記予備工具を装着した時点で加工を再開するように
したことを特徴とする数値制御装置における工具管理方
法。
1. A tool storage chamber for commonly storing tools of a plurality of numerically controlled machine tools, and a tool transporting device for transporting a predetermined tool between the tool storage chamber and a tool magazine of the numerically controlled machine tool. In a tool management method for managing tool life and tool breakage for each tool in a numerical control device equipped with
The next tool judgment command is set before the next tool command of the NC program, the contents of the command code of the NC program are interpreted when the NC program is executed, and it is specified that the next tool judgment command is interpreted. Searching for a spare tool in the tool magazine or the tool storage chamber based on the next tool number, and whether or not there is a machinable tool such as a tool that has not reached the tool life or has not been broken in the spare tools. If the machinable tool is present in the tool magazine, the next tool command is executed to continue machining, and if the machinable tool is not present in the tool magazine, the tool storage chamber is operated. The same tool as the spare tool is transported to the tool magazine by the tool transport device, and the machining is restarted when the spare tool is mounted on the tool magazine. Tool management method in the numerical control apparatus.
【請求項2】使用工具の寿命や折損が発生したかをチェ
ックする寿命/折損工具発生判定部と、前記使用工具に
寿命/折損が発生したときに供給工具及び返却工具を決
定し、工具貯蔵と数値制御工作機械の工具マガジンとの
間で工具搬送及び工具交換を行う工具搬送指令部と、前
記数値制御工作機械がNCプログラムを実行する際、前記
次工具指令の前に設定した前記次工具判定指令を実行す
ると、前記次工具が前記工具マガジン又は工具貯蔵室内
の予備工具の中に工具寿命に達していない工具や折損し
ていない工具などの加工可能な工具として存在するか否
かを判定する次工具判定部と、前記判定により加工可能
な加工工具が前記工具マガジンに存在するか否かを判定
する加工工具有無判定部と、存在しないと判定すると前
記工具搬送指令部により前記工具搬送装置を使用して前
記工具貯蔵室から前記工具マガジンに移載後前記工具指
令を実行して該当工具を前記工具マガジンより工具レデ
ィステーションへ移動する次工具指令部と、工具交換指
令により前記工具レディステーションの工具と主軸に装
着されている工具とを交換する工具交換指令部とを具備
したことを特徴とする数値制御装置における工具管理装
置。
2. A service life / broken tool occurrence determination unit for checking whether the service tool has a service life or breakage, a supply tool and a return tool when the service tool has a service life / breakage, and tool storage. And the tool magazine of the numerically controlled machine tool, the tool transportation command unit for carrying and exchanging tools, and when the numerically controlled machine tool executes the NC program, the next tool set before the next tool command. When the determination command is executed, it is determined whether or not the next tool exists in the tool magazine or the spare tool in the tool storage chamber as a machinable tool such as a tool that has not reached the tool life or has not been broken. Next tool determination unit, a processing tool presence / absence determination unit that determines whether or not a processing tool that can be processed by the determination is present in the tool magazine, and a tool conveyance command unit if it is determined that there is no processing tool From the tool storage chamber to the tool magazine by using the tool transfer device and then execute the tool command to move the corresponding tool from the tool magazine to the tool ready station, and a tool replacement command. The tool management device in the numerical control device according to claim 1, further comprising a tool replacement command unit for replacing the tool of the tool ready station and the tool mounted on the spindle.
JP1105615A 1989-04-25 1989-04-25 Tool management method and apparatus for numerical control device Expired - Fee Related JPH07110458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1105615A JPH07110458B2 (en) 1989-04-25 1989-04-25 Tool management method and apparatus for numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1105615A JPH07110458B2 (en) 1989-04-25 1989-04-25 Tool management method and apparatus for numerical control device

Publications (2)

Publication Number Publication Date
JPH02284841A JPH02284841A (en) 1990-11-22
JPH07110458B2 true JPH07110458B2 (en) 1995-11-29

Family

ID=14412407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1105615A Expired - Fee Related JPH07110458B2 (en) 1989-04-25 1989-04-25 Tool management method and apparatus for numerical control device

Country Status (1)

Country Link
JP (1) JPH07110458B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04294951A (en) * 1991-03-25 1992-10-19 Okuma Mach Works Ltd Tool management device for numerical control (nc) system
JP6193919B2 (en) 2015-06-15 2017-09-06 ファナック株式会社 A numerical controller with a tool life management function that takes into account changes in machining conditions
CN107921594A (en) * 2015-09-30 2018-04-17 株式会社牧野铣床制作所 Lathe

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60259359A (en) * 1984-06-05 1985-12-21 Fanuc Ltd Tool service life managing method

Also Published As

Publication number Publication date
JPH02284841A (en) 1990-11-22

Similar Documents

Publication Publication Date Title
US4550375A (en) Machining system with operating mode selectors provided in machine controller of each NC machine tool
US5189624A (en) Intelligent machining workstation operating logic
US4580207A (en) Numerical control data dividing and editing apparatus for numerical control machine tool
US4608645A (en) Numerical control system for a machine tool with a tool dimension compensation function
US4616322A (en) Method and apparatus for preparing spare tools for a machine tool
US20100211220A1 (en) Controller of robot used combined with machine tool
KR100346144B1 (en) Production facility control system
CN103279090B (en) A kind of robot ' NC lathe managing and control system
US11156990B2 (en) Production management system
JPH01308185A (en) Motor controller
JPH07110458B2 (en) Tool management method and apparatus for numerical control device
JP3489292B2 (en) Tool management device in machining system
JPS58143944A (en) Machine controller of metallic die machining system
KR20200065933A (en) Measurement and Management System for Mold Manufacture Machine
JPS5882652A (en) Spare tool replacing method in numerically controlled machine tool
JP2001147707A (en) Working result recorder
EP0586169A1 (en) Loading/unloading station for automated machining system
JPS58211842A (en) Numerically controlled machine tool with tool exchange device
JPS61214956A (en) Scheduling method
JPH0657377B2 (en) Processing tool processing equipment in FMS
JPH02205445A (en) Numerical control work device
JP2856953B2 (en) Flexible production system
JPH04104304A (en) Work method for numerically controlled machine tool
JPH07101365B2 (en) Automatic machine tool
JPH0271952A (en) Control device for tool

Legal Events

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