JP2007021656A - Tool life management device - Google Patents
Tool life management device Download PDFInfo
- Publication number
- JP2007021656A JP2007021656A JP2005207530A JP2005207530A JP2007021656A JP 2007021656 A JP2007021656 A JP 2007021656A JP 2005207530 A JP2005207530 A JP 2005207530A JP 2005207530 A JP2005207530 A JP 2005207530A JP 2007021656 A JP2007021656 A JP 2007021656A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- command
- life
- code
- information
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、被加工物の加工を行う工具に関する情報を、加工プログラムに基づいて管理する工具寿命管理装置に関するものである。 The present invention relates to a tool life management apparatus that manages information related to a tool for machining a workpiece based on a machining program.
被加工物の加工処理(穴あけ)等を行う加工処理装置等は、数値制御装置によって制御されている。このような加工処理装置においては、複数の工具が複数の条件によって動作し、被加工物に種々の加工処理を行っている。被加工物を加工する工具は、被加工物の穴あけ処理等の回数に応じて劣化するものである。このため、各工具には工具寿命があり、それぞれの工具寿命を適切に管理することが望まれている。このような工具の工具寿命を、加工処理装置等を動作制御するための加工プログラムに基づいて管理する技術がある。 A processing device or the like that performs processing (drilling) or the like of a workpiece is controlled by a numerical control device. In such a processing apparatus, a plurality of tools operate according to a plurality of conditions, and perform various processing on the workpiece. A tool for processing a workpiece deteriorates in accordance with the number of drilling processes or the like of the workpiece. For this reason, each tool has a tool life, and it is desired to manage each tool life appropriately. There is a technique for managing the tool life of such a tool based on a machining program for controlling the operation of a machining apparatus or the like.
従来の数値制御装置における穴加工用の工具寿命管理方法は、穴あけ動作させるGコードのみを加工プログラムから抽出し、Gコードが指令された回数に基づいて工具の寿命を管理するように構成されている。そして、実加工の実施前に加工工具の寿命の良否を判断して警告表示するように動作している(例えば、特許文献1,2参照)。
The tool life management method for drilling in a conventional numerical control device is configured to extract only the G code for drilling operation from the machining program and manage the tool life based on the number of times the G code is commanded. Yes. And before implementation of actual machining, it is operating so as to judge whether the life of the machining tool is good or not and display a warning (see, for example,
しかしながら、上記従来の技術では、穴あけ動作であるGコードのみを抽出して工具の寿命を判定しているので、同期タップサイクル、深穴ドリルサイクル等の複数の種類の穴あけ動作を監視するためには、穴あけ動作を監視するためのラダープログラムやシステムソフトウェアの処理をその都度修正しなければならないといった問題点があった。 However, in the above conventional technique, since only the G code that is a drilling operation is extracted to determine the tool life, in order to monitor a plurality of types of drilling operations such as a synchronous tap cycle and a deep hole drill cycle, etc. However, there was a problem that the processing of the ladder program and system software for monitoring the drilling operation had to be corrected each time.
また、固定サイクルやマクロプログラム等で記述された加工プログラムの場合には、1つの指令で複数の穴あけ動作を行うものがあり、Gコード指令の指令回数のみをカウントすると実際の穴加工回数よりも少なくカウントされてしまうといった問題点があった。 In the case of machining programs written in a fixed cycle, macro program, etc., there are those that perform multiple drilling operations with one command, and if only the number of G code command commands is counted, the actual number of drilling operations There was a problem that it was counted low.
本発明は、上記に鑑みてなされたものであって、簡易な構成で容易かつ正確に工具使用に関する情報を管理できる工具寿命管理装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a tool life management apparatus that can manage information on tool use easily and accurately with a simple configuration.
上述した課題を解決し、目的を達成するために、本発明は、制御指令コードで記述されたプログラムに基づいて所定の装置を制御するとともに、前記プログラムに基づいて前記所定の装置で用いる工具毎の使用回数を工具寿命として管理する工具寿命管理装置において、所定の加工条件を指定する付加条件情報および前記制御指令コードに基づいて、前記プログラムから前記工具の使用回数をカウントするカウント処理部を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention controls a predetermined device based on a program described in a control command code, and each tool used in the predetermined device based on the program. In the tool life management apparatus that manages the number of times the tool is used as a tool life, a count processing unit that counts the number of times the tool is used from the program based on the additional condition information that specifies a predetermined machining condition and the control command code is provided. It is characterized by that.
この発明によれば、所定の加工条件を指定する付加条件情報および制御指令コードに基づいてプログラムから工具の使用回数をカウントするので、簡易な構成で工具使用に関する情報を正確に管理することが可能になるという効果を奏する。 According to the present invention, since the number of times the tool is used is counted from the program based on the additional condition information specifying a predetermined machining condition and the control command code, it is possible to accurately manage information on tool usage with a simple configuration. Has the effect of becoming.
以下に、本発明にかかる工具寿命管理装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Embodiments of a tool life management apparatus according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態
まず、本実施の形態にかかる情報管理装置(工具寿命管理装置)の概念について説明する。情報管理装置1は、被加工物の加工処理を行なう加工処理装置(工作機械)等の工具寿命に関する情報を管理する装置である。本実施の形態においては、情報管理装置1に、工具使用回数を計測するGコードを予めパラメータ等によって設定しておく。そして、切削送り時、主軸正転時(主軸逆転時)等の加工処理に対する付加条件を予め設定しておき、これらの付加条件を満たした際に工具の使用回数をカウントする。
Embodiment First, the concept of an information management apparatus (tool life management apparatus) according to the present embodiment will be described. The
図1は、実施の形態にかかる情報管理装置の概念を説明するための説明図である。情報管理装置1は、工具の種類毎、工具の処理工程毎に予め設定した条件に基づいて、工具寿命を判定する。なお、ここでの解析/設定部13、ブロック処理部14が特許請求の範囲に記載のカウント処理部に対応する。
FIG. 1 is an explanatory diagram for explaining the concept of the information management apparatus according to the embodiment. The
情報管理装置1へは、工具寿命を判定するための情報(設定条件情報31)を予め入力しておき、記憶部12に記憶させておく(1)。設定条件情報31は、工具を識別する情報、Gコードに対応する工具寿命の判定方法を識別する情報、工具の使用回数をカウントする条件に関する情報、工具毎の寿命に関する情報等を含んで構成されている。
Information (setting condition information 31) for determining the tool life is input in advance to the
情報管理装置1が、図示しない加工処理装置の駆動手段(工具等の駆動手段)を制御する際、被加工物を加工するための加工プログラム33(Gコード等の制御指令コードで記述されたプログラム)を入力する。
When the
解析/設定部13は、外部から入力された設定条件情報31、加工プログラム33を解析し(2)、設定条件情報31、加工プログラム33に基づいて、工具寿命を判定するための種々の設定を行なう。具体的には、解析/設定部13は、工具寿命を判定するため、工具の使用回数をカウントするための条件設定等を行なう(3)。
The analysis /
ブロック処理部14は、解析/設定部13によって設定された条件に基づいて、加工プログラム33のブロック毎に工具が使用された使用回数をカウントする(4)。そして、工具寿命判定部15は、ブロック処理部14によってカウントされた工具の使用回数、予め記憶しておいた設定条件情報31内の工具寿命に基づいて、使用されている工具が寿命であるか否かを判定する(5)。
The
警告処理部16は、工具寿命判定部15の判定結果(工具が寿命であるか否か)に基づいて、工具が寿命であることを示す情報(警告メッセージ等)を外部装置や液晶モニタ等の表示手段(図示せず)に送信する。
Based on the determination result of the tool life determination unit 15 (whether or not the tool is at the end of life), the
ここで、実施の形態における工具寿命の判定方法と従来用いられていた工具寿命の判定方法の差異を明確にするため、従来用いられていた工具寿命の判定方法の問題点を説明する。 Here, in order to clarify the difference between the tool life determination method in the embodiment and the conventionally used tool life determination method, problems of the conventionally used tool life determination method will be described.
工具寿命の判定に用いる条件の従来の方法として、例えば工具の使用時間で工具寿命を判定する方法や工具の使用回数で工具寿命を判定する方法がある。工具の使用時間で工具寿命を判定する場合、例えば加工プログラム33内のG01等のGコードで指令されている切削送りの時間のみをカウントし、カウントした切削送り時間が予め設定しておいた工具寿命の最大値を超えた時に工具が寿命に達したと判断する。 As a conventional method of the conditions used for determining the tool life, for example, there are a method for determining the tool life based on the tool usage time and a method for determining the tool life based on the number of times the tool is used. When determining the tool life based on the tool usage time, for example, only the cutting feed time commanded by a G code such as G01 in the machining program 33 is counted, and the counted cutting feed time is set in advance. Judge that the tool has reached the end of its life when the maximum life is exceeded.
また、工具の使用回数で工具寿命を判定する場合、例えば工具が主軸に装着される回数で工具の寿命を判定する。すなわち、加工プログラム33内のT指令(工具の指定)等に基づいて主軸に装着する工具を割り出した後、加工プログラム33からM06指令(工具交換指令)を抽出した時に主軸に工具が装着されたと判断して使用回数を1回分カウントする。このとき、次の工具交換が実施されるまでは使用回数をカウントアップしない。そして、カウントアップした工具の装着回数が、予め設定しておいた工具寿命の最大値を超えた時に、工具が寿命に達したと判断する。 Further, when the tool life is determined by the number of times the tool is used, for example, the tool life is determined by the number of times the tool is mounted on the spindle. That is, after the tool to be mounted on the spindle is determined based on the T command (designation of the tool) in the machining program 33, the tool is mounted on the spindle when the M06 command (tool change command) is extracted from the machining program 33. Judgment is made and the number of times of use is counted once. At this time, the number of uses is not counted up until the next tool change is performed. Then, it is determined that the tool has reached the end of life when the number of times that the tool has been counted up exceeds the preset maximum tool life.
ところで、加工プログラム33等のプログラムにおいては、穴あけ加工として、例えば同期タップ指令等によって1つの動作で2回の切削送り(G01)を指令する場合や、固定サイクルやマクロプログラム等によって1つの指令で複数の穴あけ動作を指令する場合がある。 By the way, in the program such as the machining program 33, when drilling is performed, for example, when two cutting feeds (G01) are commanded by one operation by a synchronous tap command or the like, or by one command by a fixed cycle, a macro program, or the like. Multiple drilling operations may be commanded.
図2は、同期タップ指令を説明するための図である。同図に示す同期タップ指令(G84)では、G00指令によってX軸=x1,Y軸=y1に位置決め(早送り)を行なうとともに(11)、G00指令によってZ軸=r1に位置決めを行なっている(12)。そして、G01指令によってZ軸=z1の位置にf1の送り速度で切削送り(穴あけ処理)を行い(13)、G04指令によって穴底位置でp1のドウェル時間だけ停止する(14)。 FIG. 2 is a diagram for explaining a synchronous tap command. In the synchronous tap command (G84) shown in the figure, positioning (rapid feed) is performed on the X axis = x1, Y axis = y1 by the G00 command (11), and positioning is performed on the Z axis = r1 by the G00 command ( 12). Then, cutting feed (drilling processing) is performed at a feed speed of f1 to the position of Z axis = z1 by the G01 command (13), and stopped at the hole bottom position by a dwell time of p1 by the G04 command (14).
この後、M04指令によって主軸逆転を行うとともに(15)、G01指令によってZ軸=−z1の位置にf1の送り速度で切削送りを行い(16)、G04指令によって穴底位置でp1のドウェル時間だけ停止する(17)。 Thereafter, the spindle is rotated in reverse by the M04 command (15), and the cutting feed is performed at the feed speed of f1 to the position of the Z axis = −z1 by the G01 command (16). (17).
そして、M03指令によって主軸正転を行ない(18)、G98モードまたはG99モードによる処理を行なう(19)。ここでのG98モードは、G00指令によってZ軸=−r1に移動を行なう処理であり、G99モードは移動なしである。 Then, the spindle is rotated forward in accordance with the M03 command (18), and processing in the G98 mode or G99 mode is performed (19). The G98 mode here is a process of moving to the Z-axis = −r1 by the G00 command, and the G99 mode is no movement.
このような、同期タップ指令においては、1つの穴あけ動作で(13)の処理と(16)の処理の2回の切削送り(G01指令)がある。このため、G01指令の回数に基づいて穴あけ処理をカウントする従来の方法では、穴あけ回数が「2回」と判定されてしまう。 In such a synchronous tap command, there are two cutting feeds (G01 command) of processing (13) and processing (16) in one drilling operation. For this reason, in the conventional method of counting the drilling process based on the number of times of the G01 command, the number of drilling is determined to be “2 times”.
そして、これを回避するために、G84指令(タッピングサイクル)の回数のみをカウントする方法がある。しかしながら、G84指令の回数のみをカウントする場合であっても、固定サイクル等によって1つの指令で複数の穴あけ動作(例えば、グリッド状の穴あけ処理)を指令する場合には、穴あけの回数を適切にカウントすることができなくなる。 In order to avoid this, there is a method of counting only the number of G84 commands (tapping cycles). However, even when only the number of G84 commands is counted, when a plurality of drilling operations (for example, grid-shaped drilling processing) are commanded with one command by a fixed cycle or the like, the number of drilling is appropriately set. Cannot be counted.
ここで、グリッド状の穴あけ処理について説明する。図3は、グリッド状の穴あけ処理を説明するための説明図である。同図に示すように、グリッド状の穴あけ処理は、例えば図内のX方向およびY方向に等間隔(例えば50mm間隔)で複数個(例えば、X方向に10個、Y方向に5個)並んだ穴を加工する処理である。そして、このようなグリッド状の穴あけ処理に対しては、固定サイクル等によって1つのG37.1指令等で複数の穴あけ処理が行われる。 Here, the grid-shaped drilling process will be described. FIG. 3 is an explanatory diagram for explaining the grid-shaped drilling process. As shown in the figure, for example, a plurality of grid holes (for example, 10 in the X direction and 5 in the Y direction) are arranged at equal intervals (for example, 50 mm intervals) in the X and Y directions in the figure. It is a process to process a slot. For such a grid-shaped drilling process, a plurality of drilling processes are performed by one G37.1 command or the like by a fixed cycle or the like.
図4は、G37.1指令によるグリッド状の穴あけ処理のプログラムの一例を示す図である。G37.1指令によるグリッド状の穴あけ処理は、工具をZ軸の第2原点へ移動させ(G91 G30 Z0)、次にX軸、Y軸を第2原点に移動させる(G30 X0 Y0)。 FIG. 4 is a diagram showing an example of a grid-shaped drilling program according to the G37.1 command. In the grid-like drilling process according to the G37.1 command, the tool is moved to the second origin of the Z axis (G91 G30 Z0), and then the X axis and the Y axis are moved to the second origin (G30 X0 Y0).
つぎに、工具番号「1」の工具を呼び出し(T1)、工具交換を行って主軸に取り付ける(M6)。つぎに、絶対値指令でX=150mm、Y=50mmの位置に位置決めを行なう(G90 G0 X150 Y50)。つぎに、工具の長さを考慮してZ軸を工具の先端が50mmの位置となるよう移動させ(G43 Z50 H1)、主軸3000回転で正転する(S3000 M3)。 Next, the tool number “1” is called (T1), the tool is changed, and the tool is attached to the spindle (M6). Next, positioning is performed at a position of X = 150 mm and Y = 50 mm by an absolute value command (G90 G0 X150 Y50). Next, considering the length of the tool, the Z-axis is moved so that the tip of the tool is at a position of 50 mm (G43 Z50 H1), and forward rotation is performed at 3000 revolutions of the spindle (S3000 M3).
そして、プログラム51で示す処理を行なう。すなわち、送りF20でタップ加工(G91、G84)を指令し、図3に示したタップ加工を繰り返す(G37.1 X200 Y100 I50 J50 P10 K5)。例えば、G37.1指令によって始点からX方向に200mm、Y方向に100mmだけ離れた位置(X200、Y100)を基準の穴として、X方向に50mm、Y方向に50mmの間隔(I50、J50)で並ぶグリッド状の穴であって、X方向に10個ずつ、Y方向に5個ずつ並ぶ穴(P10、K5)を加工する。その後、タップ加工モードをキャンセルする(G80)。
Then, the process indicated by the
つぎに、Z軸を50mmの位置に引き戻し(G1 Z50 F100)、主軸の回転を止める(M5)。つぎに、Z軸をリファレンス点に移動し(G91 G28 Z0)、X軸、Y軸をリファレンス点に移動し(G28 X0 Y0)、プログラムを終了する(M30)。 Next, the Z-axis is pulled back to the position of 50 mm (G1 Z50 F100), and the rotation of the main shaft is stopped (M5). Next, the Z axis is moved to the reference point (G91 G28 Z0), the X axis and the Y axis are moved to the reference point (G28 X0 Y0), and the program is terminated (M30).
このような加工プログラム33内のG84指令の回数のみをカウントする場合であっても、グリッド状の穴あけ指令の場合、1つのG37.1指令によって複数の穴あけ処理が実行されるため穴あけの回数を適切にカウントすることができなくなる。 Even when only the number of G84 commands in the machining program 33 is counted, in the case of a grid drilling command, a plurality of drilling processes are executed by one G37.1 command. It becomes impossible to count properly.
そこで、本実施の形態にかかる情報管理装置1は、G37.1等の1つのGコード指令によって複数個の穴あけ動作をする場合の処理に対して工具寿命の判定を行なう。具体的には、G37.1指令等のGコードによって穴あけ処理を行なう場合、G37.1のGコードが指令された回数のみをカウントする。そして、G37.1が指令された回数をカウントする際の条件として、「G37.1」が指令されたグリッド加工内の正回転または逆回転の一方のみの切削送りを、工具の使用回数としてカウントアップする。
Therefore, the
図5は、G37.1を展開したプログラムの一例である。G37.1においては、まずX軸をx1、Y軸をy1に移動させる(G00 Xx1 Yy1)。つぎに、nyをコモン変数#100にコピーし(#100=#6)、Δxをコモン変数#200にコピーする(#200=#4*)。 FIG. 5 is an example of a program in which G37.1 is expanded. In G37.1, first, the X axis is moved to x1, and the Y axis is moved to y1 (G00 Xx1 Yy1). Next, ny is copied to the common variable # 100 (# 100 = # 6), and Δx is copied to the common variable # 200 (# 200 = # 4 * ).
そして、#200の処理として、#100の値から1を引き、#100に格納する(#100=#100−1)。#100の値が0より小さい場合はN500にジャンプする(IF[#100 LT 0]GOTO500)。そして、nxをコモン変数#101にコピーする(#101=#16)。 Then, as the process of # 200, 1 is subtracted from the value of # 100 and stored in # 100 (# 100 = # 100-1). If the value of # 100 is smaller than 0, the process jumps to N500 (IF [# 100 LT 0] GOTO500). Then, nx is copied to the common variable # 101 (# 101 = # 16).
つぎに、#300の処理として、#101の値から1を引き、#101に格納する(#101=#101−1)。#101の値が0よりも小さい場合はN400にジャンプする(IF[#101 LT 0]GOTO400)。つぎに、タップ加工モードでZ軸をz1に移動し、図2で説明した(13)〜(18)の処理を行う。すなわち、(G1 Zz1 Ff1)、(G4 Pp1)、(M4)、(G1 Z−z1 Ff1)、(G4 Pp1)、(M3)の各処理(G84 Zz1 Rr1 Ff1 L0)を行う。つぎに、Δx移動し(G0X[#200])、N300にジャンプする(GOTO300)。つぎに、#400の処理として、Δy移動して(G0Y[#5])、X軸方向を反転し(#200=#200*−1)、N200にジャンプする(GOTO200)。 Next, as the processing of # 300, 1 is subtracted from the value of # 101 and stored in # 101 (# 101 = # 101-1). If the value of # 101 is smaller than 0, the process jumps to N400 (IF [# 101 LT 0] GOTO400). Next, the Z axis is moved to z1 in the tap machining mode, and the processes (13) to (18) described in FIG. 2 are performed. That is, the processes (G84 Zz1 Rr1 Ff1 L0) of (G1 Zz1 Ff1), (G4 Pp1), (M4), (G1 Z-z1 Ff1), (G4 Pp1), and (M3) are performed. Next, it moves by Δx (G0X [# 200]) and jumps to N300 (GOTO300). Next, as a process of # 400, it moves by Δy (G0Y [# 5]), reverses the X-axis direction (# 200 = # 200 * -1), and jumps to N200 (GOTO200).
これにより、G37.1指令の穴あけ動作時のG84は、図2で説明した2つの切削送り(13)、(16)で実行されるが、後述する図7に示すようにG84をG84が指令された際に工具の使用回数として1回カウントアップする条件に設定し、かつG37.1を主軸が正転(または逆転)している場合に工具の使用回数として1回カウントアップする条件を付加することによって、1つの指令で複数の穴あけ動作が行われる場合であっても正しい工具の使用回数をカウントすることが可能となる。 Thereby, G84 during the drilling operation of the G37.1 command is executed by the two cutting feeds (13) and (16) described in FIG. 2, but as shown in FIG. Is set to the condition to count up once as the number of times the tool is used, and G37.1 is added with the condition to count up as the number of times the tool is used when the spindle is rotating forward (or reverse) By doing so, it is possible to count the correct number of times the tool is used even when a plurality of drilling operations are performed with one command.
つぎに、本実施の形態にかかる情報管理装置1の構成について説明する。図6は、本発明の実施の形態にかかる情報管理装置の構成を示すブロック図である。情報管理装置1は、加工プログラム33や工具による加工実績(穴あけ加工の履歴)に基づいて、工具寿命等の管理を行う装置(コンピュータ等)であり、入力部11、記憶部12、解析/設定部13、ブロック処理部14、工具寿命判定部15、警告処理部16からなる。
Next, the configuration of the
入力部11は、マウス、キーボード等の情報入力手段を備えて構成され、被加工物の加工を行うための加工プログラム33、工具が寿命であるか否かを判定するための設定条件情報31等を入力する。加工プログラム33は、加工機械および/またはCNC(Computerized Numerical Control)の機能モードを決める情報(Gコード)や被加工物を加工する工具を識別する情報(工具番号)等を含んでおり、設定条件情報31は工具の使用回数、使用時間をカウントして工具寿命を判定するための情報(パラメータデータ)を含んでいる。記憶部12は、入力部11に入力された設定条件情報31等を記憶する。
The
解析/設定部13は、外部から入力された設定条件情報31、加工プログラム33を解析するとともに、設定条件情報31、加工プログラム33に基づいて工具寿命を判定するための種々の設定(工具の使用回数をカウントするための条件設定等)を行なう。解析/設定部13は、所定の周期毎に処理の実行を行なうブロック処理部14から起動される。解析/設定部13は、寿命管理対象フラグ21、付加条件設定フラグ22を備えている。
The analysis /
寿命管理対象フラグ21は、実行中の加工プログラム33が、設定条件情報31によって設定されている付加条件(切削送り時、主軸正転時、主軸逆転時)等を満たした場合に工具の使用回数をカウントするGコードであるか否かを示すフラグである。付加条件設定フラグ22は、設定条件情報31内の付加条件を設定するフラグである。
The life
ブロック処理部14は、解析/設定部13によって設定された工具寿命の判定条件(寿命管理対象フラグ21、付加条件設定フラグ22)に基づいて、加工プログラム33のブロック毎に工具の使用回数をカウントする。ブロック処理部14は、加工プログラム33による被加工物の加工処理中に所定の周期(例えば5msec毎)で工具の使用回数をカウントする。
The
工具寿命判定部15は、ブロック処理部14によってカウントされた工具の使用回数、予め記憶部12に記憶させておいた設定条件情報31に基づいて、使用されている工具が寿命であるか否かを判定する。工具寿命判定部15は、加工プログラム33による被加工物の加工処理中に所定の周期(例えば5msec毎)で工具寿命の判定を行なう。
The tool
警告処理部16は、工具寿命判定部15の判定結果に基づいて、工具寿命に関する警告メッセージ等を液晶モニタ等の表示手段に送信する。警告処理部16は、工具寿命判定部15が工具の寿命であると判断した際に、工具寿命に関する警告処理を行なう。
The
つぎに、情報管理装置1の動作処理手順について説明する。ここでは、情報管理装置1の動作処理手順として、解析/設定部13による工具使用回数のカウント設定の手順とブロック処理部14による工具使用回数のカウント処理の手順について説明する。情報管理装置1へは、予め設定条件情報31を入力部11から入力し、記憶部12に記憶させておく。ここで、設定条件情報31の構成および関係を説明する。
Next, an operation processing procedure of the
図7は、設定条件情報の一例を示す図である。設定条件情報31は、「工具番号」、「ST」、「方式」、「Gコード」、「切削」、「M03/M04」、「寿命」、「使用時間」に関する情報がそれぞれ対応付けされた情報テーブルである。なお、ここでの「方式」や「Gコード」が特許請求の範囲に記載の第1の識別情報に対応し、「切削」や「M03/M04」が付加条件情報に対応する。
FIG. 7 is a diagram illustrating an example of setting condition information. The setting
「工具番号」は、加工処理装置が被加工物を加工する際に用いる工具を識別するための情報である。「工具番号」は、工具毎に識別可能な所定の番号等が割り当てられる。「ST」は、工具の使用状態や使用履歴に関するステータスコードである。「ST」が「0」の場合は未使用の工具を示し、「ST」が「1」の場合は使用中の工具であることを示し、「ST」が「2」の場合は寿命の過ぎた工具であることを示す。 The “tool number” is information for identifying a tool used when the processing apparatus processes a workpiece. The “tool number” is assigned a predetermined number that can be identified for each tool. “ST” is a status code related to the usage state and usage history of the tool. When “ST” is “0”, it indicates an unused tool, when “ST” is “1”, it indicates that the tool is in use, and when “ST” is “2”, the life is over. Indicates that the tool is
「方式」は、工具寿命の判定方法を示す情報である。「方式」が「0」の場合は工具の使用時間(切削送りをしている時間)に基づいて工具寿命を判定し、「方式」が「1」の場合は工具が主軸に装着される回数を(主軸工具となる回数)に基づいて工具寿命を判定し、「方式」が「2」の場合は「Gコード」で所定のGコードが指定された回数に基づいて工具寿命を判定することを示す。すなわち、「方式」が「2」の場合はパラメータ登録によるGコード比較方式(Gコード指定タイプ)によって工具寿命を判定することを示す。 “Method” is information indicating a method for determining the tool life. When “Method” is “0”, the tool life is determined based on the usage time of the tool (time for cutting feed). When “Method” is “1”, the number of times the tool is mounted on the spindle. The tool life is determined based on (the number of times the tool becomes a spindle tool), and when the “method” is “2”, the tool life is determined based on the number of times that a predetermined G code is designated by “G code”. Indicates. That is, when the “method” is “2”, it indicates that the tool life is determined by the G code comparison method (G code designation type) by parameter registration.
ここでの、パラメータ登録によるGコード比較方式は、所定のGコードが指定された場合に、工具の使用回数をカウントするための所定の条件(付加条件)に基づいて、工具寿命を判定することを示す。例えば、G37.1指令が行なわれた場合であって、主軸正転時の切削送り毎に工具の使用回数をカウントし工具寿命を判定する。 The G code comparison method by parameter registration here determines the tool life based on a predetermined condition (additional condition) for counting the number of times the tool is used when a predetermined G code is designated. Indicates. For example, when the G37.1 command is issued, the tool life is determined by counting the number of times the tool is used for each cutting feed during normal rotation of the spindle.
「Gコード」は、「方式」の「2」で設定される工具寿命の判定方法に対応するGコードである。例えば、「Gコード」が「37.1」、「84」、「34」のときにG37.1指令、G84指令、G34指令が指定された回数に基づいて工具寿命を判定する。なお、ここでのG34指令は、ボルトホールサークルであり、G84指令等の固定サイクルと組合わせて使用されるものである。具体的には、G34は、ボルトホールサークルの中心位置から半径rの円周上で、X軸と角度θをなす点を始点として円周をn(nは自然数)等分してn個の穴明けを加工する指令である。なお、G37.1指令、G84指令、G34指令が指定された回数に基づいて工具寿命を判定する際、設定条件情報31の「切削」や「M03/M04」を考慮して工具寿命を判定する。また、「Gコード」で「0」が指定された場合は「方式」で指定される工具寿命の判定方法を用いる。
“G code” is a G code corresponding to the tool life determination method set in “2” of “method”. For example, when the “G code” is “37.1”, “84”, “34”, the tool life is determined based on the number of times the G37.1 command, the G84 command, and the G34 command are designated. Note that the G34 command here is a bolt hole circle, and is used in combination with a fixed cycle such as the G84 command. Specifically, G34 is divided into n pieces (n is a natural number) by dividing the circumference into n (n is a natural number) starting from a point that forms an angle θ with the X axis on the circumference of the radius r from the center position of the bolt hole circle. This is a command to process holes. When determining the tool life based on the number of times the G37.1 command, the G84 command, and the G34 command are specified, the tool life is determined in consideration of “cutting” and “M03 / M04” in the
「切削」は、工具の使用回数をカウントする際の切削に関する条件である。「切削」において「0」が指定された場合は指定Gコードが指令された際に、工具の使用回数を1回カウントアップする。「切削」において「1」が指定された場合は、指定Gコードの中から切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップする。 “Cutting” is a condition related to cutting when counting the number of times the tool is used. When “0” is designated in “cutting”, the number of times the tool is used is counted up once when the designated G code is commanded. When “1” is designated in “cutting”, the number of times the tool is used is counted up every time a G code for cutting feed is designated from the designated G codes.
「M03/M04」は、工具の使用回数をカウントする際の主軸の回転方向に関する条件である。「M03/M04」において「1」が指定された場合は、「切削」で「1」が指定された場合であって指定Gコードの中から主軸正転(M03)の切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップする。 “M03 / M04” is a condition related to the rotation direction of the spindle when counting the number of times the tool is used. When “1” is designated in “M03 / M04”, “1” is designated in “cutting”, and the G code of the cutting forward rotation of the main spindle (M03) is selected from the designated G codes. Every time it is specified, the number of times the tool is used is counted up once.
「M03/M04」において「2」が指定された場合は、「切削」で「1」が指定された場合であって指定Gコードの中から主軸逆転(M04)の切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップする。 When “2” is designated in “M03 / M04”, “1” is designated in “cutting”, and the G code for the cutting feed of the spindle reverse rotation (M04) is designated from the designated G code. Every time the tool is used, the number of times the tool is used is counted up once.
「M03/M04」において「0」が指定された場合は、「切削」で指定された条件に基づいて工具の使用回数を1回カウントアップする。すなわち、「切削」で「1」が指定された場合は、指定Gコードの中から主軸正転(主軸逆転)の切削送りが指定される毎に工具の使用回数を1回カウントアップする。また、「切削」で「0」が指定された場合は、「Gコード」で所定のGコードが指定された際に、工具の使用回数を1回カウントアップする。 When “0” is designated in “M03 / M04”, the number of times the tool is used is counted up once based on the condition designated in “cutting”. That is, when “1” is designated for “cutting”, the number of times the tool is used is counted up once every time the main axis normal rotation (main axis reverse rotation) cutting feed is designated from the designated G code. When “0” is specified for “cutting”, the number of times the tool is used is counted up once when a predetermined G code is specified for “G code”.
例えば、「工具番号」が「2」〜「4」の場合、方式「2」によって工具寿命を判定する。そして、「工具番号」が「2」の場合、G37.1が指令されて、かつ主軸正転時に切削送りのGコードが指令される毎に「工具番号」が「2」の工具の使用回数を1回カウントアップされる。 For example, when the “tool number” is “2” to “4”, the tool life is determined by the method “2”. When the “tool number” is “2”, the number of times the tool whose “tool number” is “2” is used each time G37.1 is instructed and the cutting feed G code is instructed during normal rotation of the spindle. Is counted up once.
また、「工具番号」が「3」の場合、G84が指令された際に、工具の使用回数が1回カウントアップされる。また、「工具番号」が「4」の場合、G34が指令されて、指定Gコードの中から主軸正転または主軸逆転の切削送りのGコードが指定される毎に工具の使用回数が1回カウントアップされる。 When the “tool number” is “3”, the number of times the tool is used is counted up once when G84 is commanded. When the “tool number” is “4”, G34 is instructed, and the number of times the tool is used is one each time the G code for spindle forward rotation or spindle reverse rotation feed is specified from the specified G code. Count up.
「寿命」は、工具の寿命に関する設定情報である。「寿命」は、工具の最大寿命の使用回数(例えば、工具番号が「5」の場合は200回)または工具の最大寿命の使用時間(例えば、工具番号が「1」の場合は660分)を示している。なお、以下の説明では説明の便宜上、「方式」、「Gコード」、「切削」、「M03/M04」の項目をまとめて寿命管理データ60という場合がある。「使用時間」は、工具の使用合計時間に関する情報である。「使用時間」は、設定条件情報31が入力部11に入力された後、工具の使用時間に応じて、情報管理装置1内で書き換えられていくものである。
“Life” is setting information related to the tool life. “Life” is the number of times of use of the maximum life of the tool (for example, 200 times when the tool number is “5”) or use time of the maximum life of the tool (for example, 660 minutes when the tool number is “1”) Is shown. In the following description, for convenience of explanation, items of “method”, “G code”, “cutting”, and “M03 / M04” may be collectively referred to as
図8は、解析/設定部による工具使用回数のカウント設定の手順を示すフローチャートである。情報管理装置1の記憶部12へ、設定条件情報31記憶させた後、加工プログラム33を入力部11から入力する。図示しない加工装置は、加工プログラム33に基づいて、サーボ/主軸モータ等に被加工物の加工処理を開始させる。
FIG. 8 is a flowchart showing a procedure for setting a count of the number of times the tool is used by the analysis / setting unit. After the
加工プログラム33による被加工物の加工処理が開始されると、ブロック処理部14は解析/設定部13を起動させる。解析/設定部13は、図示しない加工処理装置等が現在実行中の加工プログラム33から、次に加工処理を行なうための1ブロックデータを読み出す(ステップS100)。
When the processing of the workpiece by the processing program 33 is started, the
解析/設定部13は、読み出した1ブロックのデータから現在主軸に装着されている工具の「工具番号」を抽出し、この「工具番号」に対応する設定条件情報31内の情報(寿命管理データ60)を、記憶部12から取得する(ステップS101)。
The analysis /
解析/設定部13は、記憶部12から取得した設定条件情報31に基づいて、現在主軸に装着されている工具に対応する「方式」が「2」であるか(パラメータ登録によるGコード比較方式(Gコード指定タイプ))であるか否かを判断する(ステップS102)。
Based on the
「方式」が「0」や「1」であり、パラメータ登録によるGコード比較方式ではない場合(ステップS102、No)、解析/設定部13はパラメータ登録によるGコード比較方式による工具寿命の判定を終了し、「方式」で指定される情報に基づいて工具の使用時間または工具の使用回数で工具寿命を判定する。
When the “method” is “0” or “1” and the G code comparison method is not based on parameter registration (No in step S102), the analysis /
「方式」が「2」であり、パラメータ登録によるGコード比較方式である場合(ステップS102、Yes)、解析/設定部13は既に前回ブロックの工具寿命判定処理において寿命管理対象フラグ21がオフになっているか否かを判別する(ステップS103)。
If the “method” is “2” and the G code comparison method is based on parameter registration (Yes in step S102), the analysis /
解析/設定部13が、寿命管理対象フラグ21がオフになっていると判断した場合(ステップS103、Yes)、解析/設定部13は、読み出した1ブロックデータと設定条件情報31のGコード(「方式」で指定されるGコード)を比較する(ステップS104)。
When the analysis /
そして、解析/設定部13は、読み出した1ブロックデータと設定条件情報31の「方式」の「2」で指定されるGコードが一致するか否かを判断する(ステップS105)。具体的には、読み出した1ブロックデータにG37.1指令。G84指令、G34指令等が含まれるか否かが判断される。
Then, the analysis /
解析/設定部13が、読み出した1ブロックデータと設定条件情報31の「方式」で指定されるGコードが一致すると判断すると(ステップS105、Yes)、解析/設定部13は寿命管理対象フラグ21をオンに設定する(ステップS106)。
When the analysis /
一方、ステップS103の処理において、解析/設定部13が寿命管理対象フラグ21はオフになっていないと判断した場合には(ステップS103、No)、加工処理(読み出したブロック)が固定サイクル中やマクロプログラム中か否かを判断する(ステップS111)。
On the other hand, when the analysis /
加工処理が固定サイクル中またはマクロプログラム中でない場合(ステップS111、No)、解析/設定部13はステップS104,S105の処理を行なう。すなわち、解析/設定部13は、読み出した1ブロックデータと設定条件情報31のGコードを比較し、これらが一致するか否かを判断する。
When the machining process is not in the fixed cycle or the macro program (No in step S111), the analysis /
そして、解析/設定部13が、読み出した1ブロックデータと設定条件情報31の「方式」の「2」で指定されるGコードが一致すると判断すると(ステップS105、Yes)、解析/設定部13は寿命管理対象フラグ21をオンに設定する(ステップS106)。
When the analysis /
これにより、ブロック処理部14は、寿命管理対象フラグ21に基づいて、実行中の加工プログラム33が付加条件(切削送り時、主軸正転時、主軸逆転時)等を満たした場合に工具の使用回数をカウントするGコードであるか否かを判断することが可能となる。
As a result, the
なお、1ブロック内の指令がG37.1指令の場合、G37,1指令は複数ブロックの指令を1つにまとめた指令であるため、固定サイクルの指令が終わるまでは寿命管理対象フラグ21をオンし続けておく。そして、解析/設定部13による工具のカウント設定処理が、対象Gコード指令の範囲ではなくなった時点で寿命管理対象フラグ21をオフする。
Note that if the command in one block is the G37.1 command, the G37,1 command is a command in which the commands of a plurality of blocks are combined into one, so the life
ステップS111の処理において、解析/設定部13が、加工処理は固定サイクル中またはマクロプログラム中であると判断した場合(ステップS111、Yes)、解析/設定部13は寿命管理対象フラグ21をオンに設定する(ステップS106)。
In the process of step S111, when the analysis /
ステップS106の処理の後、解析/設定部13は設定条件情報31内の付加条件(「切削」、「M03/M04」)が設定されているか否かを判断する(ステップS107)。具体的には、設定条件情報31内の「切削」に「1」が設定されているか否か、「M03/M04」に「1」または「2」が設定されているか否かが判断される。
After the process of step S106, the analysis /
解析/設定部13が、設定条件情報31内に付加条件が設定されていると判断すると(ステップS107、Yes)、設定条件情報31内の付加条件を付加条件設定フラグ22に設定して解析/設定部13による寿命管理対象フラグ21、付加条件設定フラグ22の設定処理を終了する(ステップS108)。
If the analysis /
付加条件設定フラグ22へは、設定条件情報31内の付加条件として、例えば指定Gコードの中から切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップすること(「切削」の「1」に対応)、かつ指定Gコードの中から主軸正転(M03)の切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップすること(「M03/M04」)の「1」に対応)等が設定される。
For the additional
これにより、ブロック処理部14は、付加条件設定フラグ22に基づいて、実行中の加工プログラム33が付加条件(切削送り時、主軸正転時、主軸逆転時)等を満たすか否かを判断することが可能となる。
As a result, the
一方、解析/設定部13が、設定条件情報31内に付加条件が設定されていないと判断すると(ステップS107、No)、そのまま解析/設定部13による寿命管理対象フラグ21、付加条件設定フラグ22の設定処理を終了する(ステップS108)。
On the other hand, when the analysis /
ステップS105の処理において、解析/設定部13が、読み出した1ブロックデータと設定条件情報31の「方式」で指定されるGコードが一致しないと判断すると(ステップS105、No)、解析/設定部13は寿命管理対象フラグ21をオフに設定(クリア)する(ステップS109)。そして、解析/設定部13は付加条件設定フラグ22に設定されている付加条件データをクリアし(ステップS110)、解析/設定部13による寿命管理対象フラグ21、付加条件設定フラグ22の設定処理を終了する(ステップS108)。
When the analysis /
解析/設定部13によって設定された寿命管理対象フラグ21、付加条件設定フラグ22内の情報は、1ブロック毎に1つのデータとして作成される加工プログラム33の1ブロック解析データとして、ブロック処理部14に送られる。
Information in the life
図9は、ブロック処理部による工具使用回数のカウント処理の手順を示すフローチャートである。ブロック処理部14は、解析/設定部13が読み出した加工プログラム33の1ブロック(図8のステップS100)が、初めてカウント処理の実行されるブロックであるか否かを判定する(ステップS200)。
FIG. 9 is a flowchart illustrating a procedure of a process for counting the number of times the tool is used by the block processing unit. The
解析/設定部13が読み出した加工プログラム33の1ブロックが、初めてカウント処理の実行されるブロックでない場合(既に工具使用回数のカウント処理が完了したブロックである場合)(ステップS200、No)、ブロック処理部14はこの1ブロックの工具使用回数のカウント処理を終了する。
When one block of the machining program 33 read by the analysis /
一方、解析/設定部13が読み出した加工プログラム33の1ブロックが、初めてカウント処理の実行されるブロックである場合(ステップS200、Yes)、ブロック処理部14は1ブロック毎の補間処理を行うとともに解析/設定部13内の寿命管理対象フラグ21がオンしているか否かを判別する(ステップS201)。
On the other hand, when one block of the machining program 33 read by the analysis /
ここでの1ブロック毎の補間処理としては、例えばX軸等を移動させる際の移動地点間を所定の周期で分割して移動指令を作り出す。例えば、X軸を現在地0から100mm移動させる場合に、5msecの補間周期で分割して1補間処理あたりの移動指令約8.3μmを作り出す。
As the interpolation processing for each block here, for example, a movement command is generated by dividing a movement point when moving the X axis or the like at a predetermined cycle. For example, when the X-axis is moved 100 mm from the
寿命管理対象フラグ21がオンしていない場合(ステップS201、No)、ブロック処理部14はこの1ブロックの工具使用回数のカウント処理を終了する。一方、寿命管理対象フラグ21がオンしている場合(ステップS201、Yes)、ブロック処理部14は付加条件設定フラグ22に所定の付加条件が設定されているか否かを判断する(ステップS202)。
When the life
ブロック処理部14が、付加条件設定フラグ22に所定の付加条件が設定されていると判断した場合(ステップS202、Yes)、ブロック処理部14は、加工プログラム33の1ブロック内のデータが付加条件設定フラグ22に設定されている付加条件と一致するか否かを判断する(ステップS203)。
When the
例えば、加工プログラム33の1ブロック内のデータにおいて、指定Gコード(G37.1等)の中から切削送りのGコードが指定され、指定Gコードの中から主軸正転の切削送りのGコードが指定されているか否かが判断される。 For example, in the data in one block of the machining program 33, a cutting feed G code is designated from a designated G code (G37.1, etc.), and the spindle normal rotation cutting feed G code is designated from the designated G code. It is determined whether it is specified.
ブロック処理部14が、加工プログラム33の1ブロック内のデータは付加条件設定フラグ22に設定されている付加条件と一致すると判断した場合(ステップS203、Yes)、ブロック処理部14はブロックデータが付加条件を満たした際に工具の使用回数をカウントアップする(ステップS204)。
When the
例えば、加工プログラム33の1ブロック内のデータにおいて、指定Gコード(G37.1等)の中から切削送りのGコードが指定され、指定Gコードの中から主軸正転の切削送りのGコードが指定されている場合、指定Gコードの中から主軸正転の切削送りのGコードが指定される毎に工具の使用回数を1回カウントアップする。カウントアップした使用回数は記憶部12等に記憶させておき、次回以降、ブロック処理部14は記憶部12に記憶している使用回数から工具の使用回数のカウントアップを行う。
For example, in the data in one block of the machining program 33, a cutting feed G code is designated from a designated G code (G37.1, etc.), and the spindle normal rotation cutting feed G code is designated from the designated G code. If specified, the tool usage count is incremented once each time the main axis normal rotation cutting feed G code is specified from the specified G code. The counted number of times of use is stored in the
これにより、情報管理装置1がパラメータ登録によるGコード比較方式(予め設定したGコード)に基づいて、予め設定した所定の付加条件を満たした場合に工具の使用回数をカウントアップするので、例えば切削送りで主軸が正転しているときのみ穴あけ加工の際の工具の使用回数をカウントアップすることが可能となる。すなわち、同期タップサイクル、深穴ドリルサイクル等の穴あけ個数に比例した工具の使用回数をカウントすることが可能となり、工具の寿命管理を正確に行うことが可能となう。
Thereby, the
一方、ブロック処理部14が、加工プログラム33の1ブロック内のデータは付加条件設定フラグ22に設定されている付加条件と一致しないと判断した場合(ステップS203、No)、ブロック処理部14はこの1ブロックの工具使用回数のカウント処理を終了する。
On the other hand, when the
また、ステップS202の処理において、ブロック処理部14が、付加条件設定フラグ22に所定の付加条件が設定されていないと判断した場合(ステップS202、No)、ブロック処理部14は付加条件の確認を行わずに使用回数をカウントアップする(ステップS204)。すなわち、ここでのブロック処理部14は、設定条件情報31の「Gコード」で設定されるGコード指令が、ブロック内で指令された際に、工具の使用回数をカウントアップする。ブロック処理部14は、工具の使用回数をカウントアップすると、カウントした工具の使用回数を工具寿命判定部15に送る。
Also, in the process of step S202, when the
工具寿命判定部15は、解析/設定部13による工具使用回数のカウント設定が行なわれた工具の「工具番号」に対応する設定条件情報31内の情報(「寿命」)を、記憶部12から取得する。そして、工具寿命判定部15は、ブロック処理部14から送られた工具の使用回数が「寿命」内で設定されている寿命管理の最大値を超えているか否かを判断する(ステップS205)。
The tool
工具寿命判定部15が、ブロック処理部14から送られた工具の使用回数が「寿命」内で設定されている寿命管理の最大値を超えていると判断した場合(ステップS205、Yes)、設定条件情報31の「ST」の項目(ブロック処理部14によって使用回数がカウントされている工具に対応する「ST」)を「2」(寿命工具)に変更して記憶部12に記憶させる(ステップS206)。
Setting is performed when the tool
警告処理部16は、記憶部12の設定条件情報31内の「ST」が「2」に設定されると、外部装置への警告メッセージの送信、警告音の出力等によって警告処理を実行する(ステップS207)。また、同一種類の工具を複数本、予備用として用意している場合には、警告メッセージ等の代わりに同一の種類の工具に変更することとしてもよい。
When “ST” in the
このように、実施の形態によれば、パラメータ設定によって工具毎に工具使用回数をカウントするGコード指令を登録することができるので、簡易な構成で工具寿命管理対象の指令を容易に登録することが可能となる。したがって、工具寿命管理対象の指令に基づいて、簡易な構成で工具使用に関する情報を正確に管理することが可能となる。 As described above, according to the embodiment, it is possible to register a G code command for counting the number of times the tool is used for each tool by parameter setting, so that a tool life management target command can be easily registered with a simple configuration. Is possible. Therefore, it is possible to accurately manage information on tool usage with a simple configuration based on the command for tool life management.
また、穴あけ動作等を指定するGコードをパラメータにて工具毎に複数登録させるので、工具寿命を管理するためのラダープログラムもしくはシステムソフトウェアを変更せずに工具寿命管理を行うことが可能となる。したがって、加工プログラム33の変更に柔軟に対応でき、工具寿命管理を容易に行うことが可能となる。 In addition, since a plurality of G codes that specify a drilling operation or the like are registered for each tool using parameters, tool life management can be performed without changing a ladder program or system software for managing tool life. Therefore, it is possible to flexibly cope with the change of the machining program 33 and to easily manage the tool life.
また、穴あけ動作等のGコードが固定サイクル等で実現されている場合には、1つの固定サイクルプログラムで複数の穴あけ動作をする場合であっても、適切に工具の使用回数をカウントできるようパラメータ(付加条件)の設定ができるので、固定サイクルプログラムやマクロプログラム等で記述された穴あけ指令においても工具寿命管理を行うことが可能となる。したがって、固定サイクルプログラムやマクロプログラムに対しても、詳細な工具寿命管理が可能となる。 In addition, when G codes such as drilling operations are implemented in a fixed cycle, etc., parameters can be used to properly count the number of times the tool is used even when multiple drilling operations are performed with one fixed cycle program. Since (additional conditions) can be set, tool life management can be performed even in a drilling command described in a fixed cycle program or a macro program. Therefore, detailed tool life management is possible even for fixed cycle programs and macro programs.
また、本発明はG74、G84等の固定サイクルとG34、G35、G36、G37.1等の(特別固定サイクルと称されるボトルサークル)の組み合わせに適用してもよい。なお、ここでのG74指令は、逆タップサイクルであり、図2で説明したG84指令(同期タップサイクル)と主軸の正転(18)、逆転(15)のみが異なる。具体的なG74指令の動作は、G00指令によってX軸=x1,Y軸=y1に位置決めを行なうとともに、G00指令によってZ軸=r1に位置決めを行なう。そして、G01指令によってZ軸=z1の位置にf1の送り速度で切削送り(穴あけ処理)を行い、G04指令によって穴底位置でp1のドウェル時間だけ停止する。この後、M03指令によって主軸正転を行うとともに、G01指令によってZ軸=−z1の位置にf1の送り速度で切削送りを行い、G04指令によって穴底位置でp1のドウェル時間だけ停止する。そして、M04指令によって主軸逆転を行ない、G98モードまたはG99モードによる処理を行なう。
。
Further, the present invention may be applied to a combination of a fixed cycle such as G74 and G84 and a bottle circle called a special fixed cycle such as G34, G35, G36, and G37.1. The G74 command here is a reverse tap cycle, and only the forward rotation (18) and reverse rotation (15) of the spindle are different from the G84 command (synchronous tap cycle) described in FIG. The specific operation of the G74 command is to position the X axis = x1 and the Y axis = y1 by the G00 command and to position the Z axis = r1 by the G00 command. Then, cutting feed (drilling processing) is performed at a feed speed of f1 to the position of Z axis = z1 by the G01 command, and stopped at the hole bottom position by the dwell time of p1 by the G04 command. After that, the spindle is rotated forward by the M03 command, and the cutting feed is performed at the feed speed of f1 to the position of the Z axis = −z1 by the G01 command, and is stopped at the hole bottom position by the dwell time of p1 by the G04 command. Then, the spindle is rotated in reverse by the M04 command, and processing in the G98 mode or G99 mode is performed.
.
また、ここでのG35指令は、ライトアングルであり、G84指令等の固定サイクルと組合わせて使用されるものである。具体的には、G35指令は、X,Yを始点座標として、X軸と角度θをなす方向に間隔dずつn個の穴明けを加工する指令である。 The G35 command here is a right angle and is used in combination with a fixed cycle such as the G84 command. Specifically, the G35 command is a command to process n holes at intervals d in the direction that forms an angle θ with the X axis, with X and Y as starting point coordinates.
また、ここでのG36指令は、アークであり、G84指令等の固定サイクルと組合わせて使用されるものである。具体的には、G36指令は、X,Yで指定された座標を中心とする半径rの円周上で、X軸と角度θをなす点を始点とし、角度間隔Δθで並ぶn個の点の穴明けを加工する指令である。 Further, the G36 command here is an arc, and is used in combination with a fixed cycle such as the G84 command. Specifically, the G36 command specifies n points arranged at an angular interval Δθ starting from a point that forms an angle θ with the X axis on the circumference of a radius r centered on coordinates specified by X and Y. It is a command to process the drilling.
以上のように、本発明にかかる工具寿命管理装置は、G84等の固定サイクルとG37.1等の特別固定サイクルとを組み合わせた場合の工具寿命の管理に適している。 As described above, the tool life management apparatus according to the present invention is suitable for managing the tool life when a fixed cycle such as G84 and a special fixed cycle such as G37.1 are combined.
1 情報管理装置
11 入力部
12 記憶部
13 解析/設定部
14 ブロック処理部
15 工具寿命判定部
16 警告処理部
17 駆動制御部
21 寿命管理対象フラグ
22 付加条件設定フラグ
31 設定条件情報
33 加工プログラム
51 プログラム
60 寿命管理データ
DESCRIPTION OF
Claims (3)
所定の加工条件を指定する付加条件情報および前記制御指令コードに基づいて、前記プログラムから前記工具の使用回数をカウントするカウント処理部を備えることを特徴とする工具寿命管理装置。 In a tool life management device that controls a predetermined device based on a program described in a control command code and manages the number of uses for each tool used in the predetermined device based on the program as a tool life,
A tool life management apparatus, comprising: a count processing unit that counts the number of times the tool is used from the program based on additional condition information specifying a predetermined machining condition and the control command code.
前記カウント処理部は、前記記憶部が記憶する第1の識別情報および付加条件情報に基づいて、前記プログラム内から前記第1の識別情報および付加条件情報に対応する前記制御指令コードおよび前記加工条件を抽出し、当該制御指令コードおよび加工条件を抽出できた場合に前記工具の使用回数をカウントすることを特徴とする請求項1に記載の工具寿命管理装置。 A storage unit for storing the first identification information associated with the predetermined control command code and the additional condition information;
The count processing unit, based on the first identification information and additional condition information stored in the storage unit, the control command code and the processing condition corresponding to the first identification information and additional condition information from within the program The tool life management apparatus according to claim 1, wherein when the control command code and machining conditions are extracted, the number of times the tool is used is counted.
3. The tool life management apparatus according to claim 1, wherein the additional condition information includes command information relating to cutting movement of the tool and / or command information relating to a rotation direction of the spindle of the tool as the machining condition. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005207530A JP2007021656A (en) | 2005-07-15 | 2005-07-15 | Tool life management device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005207530A JP2007021656A (en) | 2005-07-15 | 2005-07-15 | Tool life management device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007021656A true JP2007021656A (en) | 2007-02-01 |
Family
ID=37783069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005207530A Pending JP2007021656A (en) | 2005-07-15 | 2005-07-15 | Tool life management device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007021656A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI499566B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499570B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499571B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499567B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499569B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI506001B (en) * | 2012-05-17 | 2015-11-01 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI507372B (en) * | 2012-05-17 | 2015-11-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI508835B (en) * | 2012-05-17 | 2015-11-21 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI508927B (en) * | 2012-05-17 | 2015-11-21 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
JP2017117158A (en) * | 2015-12-24 | 2017-06-29 | ファナック株式会社 | Numerical control device for controlling machine tool, method, and computer program |
DE102017210004A1 (en) | 2016-06-20 | 2017-12-21 | Dmg Mori Co., Ltd. | Processing management device |
JP2019136822A (en) * | 2018-02-13 | 2019-08-22 | オークマ株式会社 | Tool control device |
WO2020100224A1 (en) * | 2018-11-14 | 2020-05-22 | 株式会社Fuji | Machine tool |
CN111429395A (en) * | 2019-01-08 | 2020-07-17 | 鸿富锦精密电子(成都)有限公司 | Tool life prediction method, device and computer storage medium |
WO2021237587A1 (en) * | 2020-05-28 | 2021-12-02 | 西门子股份公司 | Method and apparatus relating to managing service life of machine tool, computer device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6389904A (en) * | 1986-10-02 | 1988-04-20 | Mitsubishi Electric Corp | Numerical controller |
JPS6440208A (en) * | 1987-08-06 | 1989-02-10 | Mitsubishi Electric Corp | Machining method for preventing burr from occurring |
JPH0588729A (en) * | 1991-09-30 | 1993-04-09 | Nec Corp | Previously announcing method for tool lifetime and drilling numerical controller |
JPH05309546A (en) * | 1992-05-08 | 1993-11-22 | Hitachi Seiki Co Ltd | Machining hour computing method for numerically controlled machine tool and its device |
JP2001246534A (en) * | 2000-03-01 | 2001-09-11 | Mori Seiki Co Ltd | Tool life control method and tool life control device |
-
2005
- 2005-07-15 JP JP2005207530A patent/JP2007021656A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6389904A (en) * | 1986-10-02 | 1988-04-20 | Mitsubishi Electric Corp | Numerical controller |
JPS6440208A (en) * | 1987-08-06 | 1989-02-10 | Mitsubishi Electric Corp | Machining method for preventing burr from occurring |
JPH0588729A (en) * | 1991-09-30 | 1993-04-09 | Nec Corp | Previously announcing method for tool lifetime and drilling numerical controller |
JPH05309546A (en) * | 1992-05-08 | 1993-11-22 | Hitachi Seiki Co Ltd | Machining hour computing method for numerically controlled machine tool and its device |
JP2001246534A (en) * | 2000-03-01 | 2001-09-11 | Mori Seiki Co Ltd | Tool life control method and tool life control device |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI508927B (en) * | 2012-05-17 | 2015-11-21 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI499571B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499566B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499567B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI499569B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
TWI506001B (en) * | 2012-05-17 | 2015-11-01 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI507372B (en) * | 2012-05-17 | 2015-11-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI508835B (en) * | 2012-05-17 | 2015-11-21 | Mitsuboshi Diamond Ind Co Ltd | Scribing system |
TWI499570B (en) * | 2012-05-17 | 2015-09-11 | Mitsuboshi Diamond Ind Co Ltd | Scribing process system |
US10146201B2 (en) | 2015-12-24 | 2018-12-04 | Fanuc Corporation | Numerical control apparatus, numerical control method and computer program for controlling machine tool |
JP2017117158A (en) * | 2015-12-24 | 2017-06-29 | ファナック株式会社 | Numerical control device for controlling machine tool, method, and computer program |
DE102017210004A1 (en) | 2016-06-20 | 2017-12-21 | Dmg Mori Co., Ltd. | Processing management device |
US10386815B2 (en) | 2016-06-20 | 2019-08-20 | Dmg Mori Co., Ltd. | Machining management apparatus |
JP2019136822A (en) * | 2018-02-13 | 2019-08-22 | オークマ株式会社 | Tool control device |
WO2020100224A1 (en) * | 2018-11-14 | 2020-05-22 | 株式会社Fuji | Machine tool |
JPWO2020100224A1 (en) * | 2018-11-14 | 2021-09-02 | 株式会社Fuji | Machine Tools |
CN111429395A (en) * | 2019-01-08 | 2020-07-17 | 鸿富锦精密电子(成都)有限公司 | Tool life prediction method, device and computer storage medium |
WO2021237587A1 (en) * | 2020-05-28 | 2021-12-02 | 西门子股份公司 | Method and apparatus relating to managing service life of machine tool, computer device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007021656A (en) | Tool life management device | |
JP5414948B1 (en) | Numerical controller | |
US4587608A (en) | Method of automatically creating numerical control data in one of a plurality of data formats | |
JP5143005B2 (en) | Methods for optimization of machining processes in machines | |
JP2020024676A (en) | Machine work based on principles selected from database | |
US7058473B2 (en) | Method and device for generation of machining program | |
JP2009123209A6 (en) | Method and apparatus for operating machine tool | |
US20100114359A1 (en) | Programming apparatus | |
JP6719790B1 (en) | Automatic operation device for machining center based on CAD data | |
EP2916218B1 (en) | Apparatus for generating and editing NC program | |
WO2000012258A1 (en) | Method and apparatus for optimizing nc programs in nc machining | |
US11048221B2 (en) | Numerical controller | |
JP3650027B2 (en) | NC machining support method and apparatus | |
JP2011237880A (en) | Controller of machine tool equipped with tool change position automatic determination function | |
JPWO2004074953A1 (en) | Numerical controller | |
JP2759380B2 (en) | Control method of machine or process using computer | |
JP6734314B2 (en) | Control device, data creation device, control method, and control program | |
WO2020084814A1 (en) | Nc program conversion processing method and computer for conversion | |
JP2009080591A (en) | Numerical control device, control program, and recording medium | |
JP4070744B2 (en) | Synchronous control device | |
KR102188017B1 (en) | Measurement and Management System for Mold Manufacture Machine | |
JP2000089813A (en) | Working program editing method and controller for machine tool | |
US6567707B1 (en) | Recording medium of CNC machine tool | |
JP3060516B2 (en) | Production control device | |
CN111796553B (en) | Numerical controller and numerical control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110210 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110422 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110830 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120104 |