JP3489855B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP3489855B2
JP3489855B2 JP19365993A JP19365993A JP3489855B2 JP 3489855 B2 JP3489855 B2 JP 3489855B2 JP 19365993 A JP19365993 A JP 19365993A JP 19365993 A JP19365993 A JP 19365993A JP 3489855 B2 JP3489855 B2 JP 3489855B2
Authority
JP
Japan
Prior art keywords
tool
diameter
storage means
pot
magazine
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
JP19365993A
Other languages
Japanese (ja)
Other versions
JPH0740173A (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.)
DMG Mori Co Ltd
Original Assignee
DMG Mori Co Ltd
Mori Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DMG Mori Co Ltd, Mori Seiki Co Ltd filed Critical DMG Mori Co Ltd
Priority to JP19365993A priority Critical patent/JP3489855B2/en
Publication of JPH0740173A publication Critical patent/JPH0740173A/en
Application granted granted Critical
Publication of JP3489855B2 publication Critical patent/JP3489855B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、数値制御工作機械の工
具マガジンの各ポットと、そのポットに装着される隣接
工具間の干渉を各工具の工具最大部分径に応じた分類で
チェックし、各ポットと工具番号との対応を管理し編集
する数値制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention checks interference between each pot of a tool magazine of a numerically controlled machine tool and an adjacent tool mounted in the pot by classifying according to the maximum tool part diameter of each tool, The present invention relates to a numerical control device that manages and edits the correspondence between each pot and the tool number.

【0002】[0002]

【従来の技術】従来、例えば数値制御工作機械における
主軸への工具の供給方法としては、加工プログラムで指
令する工具番号の工具を工具マガジンのポットから自動
工具交換装置によって供給するものが一般的である。
2. Description of the Related Art Conventionally, for example, as a method of supplying a tool to a spindle in a numerically controlled machine tool, a tool of a tool number designated by a machining program is generally supplied from a pot of a tool magazine by an automatic tool changer. is there.

【0003】そうした数値制御工作機械としては、工具
番号や工具径等と共に刃部以外の部分も含めた工具最大
部分径を各工具毎に記憶する工具データ記憶手段を有し
て、工具マガジンにおける隣接工具の工具番号を前記工
具データ記憶手段から検索し、その各工具の工具最大部
分径と工具マガジンのポット間ピッチとを自動演算して
工具マガジンにおける隣接工具間の干渉チェックを行っ
ているものがある。
Such a numerically controlled machine tool has a tool data storage means for storing, for each tool, a tool maximum portion diameter including a tool number, a tool diameter and the like, as well as a portion other than a blade portion, and the tool data storage means is arranged adjacent to each other in a tool magazine. The tool number of the tool is searched from the tool data storage means, and the maximum tool part diameter of each tool and the pitch between the pots of the tool magazine are automatically calculated to check the interference between the adjacent tools in the tool magazine. is there.

【0004】一方、他の例として、工具マガジンの何番
ポットに工具番号何番の工具が装着されているかを対応
させているマガジン工具記憶手段を有する数値制御装置
においては、上記のような各工具の工具最大部分径とポ
ット間ピッチとの自動演算とは異なるオペレータの判断
に基づいた方法すなわち、各工具を工具最大部分径に応
じて大径工具、中径工具、小径工具に分類し単に大径、
中径、小径の簡単な比較判断だけでできる、隣接工具間
の干渉チェックをオペレータ自身が行っているものもあ
る。
On the other hand, as another example, in a numerical controller having a magazine tool storage means for associating with which pot of the tool magazine the tool of which the tool number and the tool number are mounted, each of the above-mentioned each A method based on operator's judgment that is different from the automatic calculation of the tool maximum part diameter and the pitch between pots, that is, each tool is classified into a large diameter tool, a medium diameter tool and a small diameter tool according to the tool maximum part diameter, and simply Large diameter,
In some cases, the operator himself checks the interference between adjacent tools, which can be done by a simple comparison judgment of medium and small diameters.

【0005】この場合、大径工具と中径工具との境界値
A及び中径工具と小径工具との境界値Bは、工具マガジ
ンのポット間ピッチをP、工具マガジンに装着する工具
の中で最大の工具最大部分径をLDとすると、所定の基
準としての関係式、A=P、B=P×2−LDにより求
められ、各工具の工具最大部分径をdとすると、d≧A
の工具を大径工具、A>d≧Bの工具を中径工具、B>
dの工具を小径工具とし、工具番号の9000乃至99
99を大径工具、1000乃至8999を中径工具、0
001乃至0999を小径工具というように分類して、
この分類に従ってオペレータが、加工プログラム作成時
に必要に応じて工具番号を設定していた。そして大径工
具の隣には小径工具以外は装着できないという条件に基
づき大径、中径、小径を比較判断するだけで隣接工具間
の干渉チェックを行っていたのである。
In this case, the boundary value A between the large-diameter tool and the medium-diameter tool and the boundary value B between the medium-diameter tool and the small-diameter tool are as follows: Letting LD be the maximum tool maximum part diameter, it is determined by a relational expression as a predetermined reference, A = P, B = P × 2-LD, and d ≧ A, where d is the tool maximum part diameter of each tool.
Tools are large diameter tools, tools with A> d ≧ B are medium diameter tools, and B>
The tool of d is a small diameter tool, and the tool number is 9000 to 99.
99 is a large diameter tool, 1000 to 8999 is a medium diameter tool, 0
We classify 001 to 0999 as small diameter tools,
According to this classification, the operator has set a tool number as needed when creating a machining program. Then, based on the condition that only small-diameter tools can be mounted next to large-diameter tools, the interference check between adjacent tools is performed simply by comparing and judging large-diameter, medium-diameter, and small-diameter.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな方法では、他の例としては、工具番号は加工プログ
ラムの作成時にオペレータにより判断され設定されるた
め、判断ミスや設定ミスを防ぐことができなかった。
又、上記分類方法では加工プログラムの内容の変更や別
の加工プログラムによる加工を行う場合、前記境界値B
が変更されることがあり、その際既に工具番号が設定済
みの工具についても再度分類を判断しなおし、工具番号
を再設定しなおす必要のある工具が生ずる可能性がある
が、この場合にも分類の変更に伴う工具番号の変更忘れ
が発生する等の不具合があった。その結果、マガジン工
具記憶手段に登録された工具番号は、その各工具番号に
対応する工具の工具最大部分径に応じた正しい分類がな
されないという課題があった。
However, in such a method, as another example, since the tool number is judged and set by the operator when the machining program is created, it is possible to prevent a judgment error and a setting error. There wasn't.
In the above classification method, when the contents of the machining program are changed or machining is performed by another machining program, the boundary value B
May be changed, and at that time, it may be necessary to re-determine the classification for the tools for which the tool numbers have already been set and reset the tool numbers, but in this case also There was a problem such as forgetting to change the tool number due to the change in classification. As a result, there is a problem that the tool numbers registered in the magazine tool storage means are not correctly classified according to the tool maximum part diameter of the tool corresponding to each tool number.

【0007】又、加工プログラムで指令されていて前記
マガジン工具記憶手段に登録されていない工具番号があ
ると、オペレータが前記分類による隣接工具との干渉を
考慮して前記マガジン工具記憶手段に、その未登録の工
具番号をポット番号と対応させて登録しなければならず
面倒であった。更に、未登録の工具が大径工具或いは中
径工具の場合で、たとえ、空きポット番号があっても、
その空きポットに前記不足している工具を装着したとす
ると、それに隣接するポット番号に既に装着されている
工具と干渉してしまうような場合は、既に登録済みの工
具番号を他のポット番号に移動してその未登録の工具番
号を登録できるように編集しなければならず非常に面倒
であり、さらに登録間違い等の発生する危険性が増える
などして、その結果、マガジン工具記憶手段に登録され
た工具番号が、実際に工具マガジンに工具を装着した際
に隣接工具と干渉しないように、正しく編集されていな
いという課題があった。
Further, if there is a tool number which is instructed by the machining program and is not registered in the magazine tool storage means, the operator considers the interference with the adjacent tool due to the classification and stores it in the magazine tool storage means. It was troublesome to register the unregistered tool number in correspondence with the pot number. Furthermore, if the unregistered tool is a large diameter tool or medium diameter tool, even if there is an empty pot number,
If the above-mentioned lacking tool is installed in the empty pot, if it interferes with the tool already installed in the pot number adjacent to it, the already registered tool number is changed to another pot number. It is very troublesome to move and edit so that the unregistered tool number can be registered, and the risk of registration error increases, and as a result, it is registered in the magazine tool storage means. There is a problem that the created tool number is not edited correctly so that it does not interfere with an adjacent tool when the tool is actually mounted in the tool magazine.

【0008】本発明はこのような課題を考慮して、マガ
ジン工具記憶手段に登録された工具番号が、その各工具
番号に対応する工具の工具最大部分径に応じて正しく分
類される数値制御装置を提供することを目的とする。
In view of the above problems, the present invention is a numerical controller in which the tool numbers registered in the magazine tool storage means are correctly classified according to the tool maximum part diameter of the tool corresponding to each tool number. The purpose is to provide.

【0009】また、マガジン工具記憶手段に登録された
工具番号が、実際に工具マガジンに工具を装着した際に
隣接工具と干渉しないように、正しく編集される数値制
御装置を提供することを目的とする。
It is another object of the present invention to provide a numerical control device in which a tool number registered in a magazine tool storage means is properly edited so that it does not interfere with an adjacent tool when the tool is actually mounted in the tool magazine. To do.

【0010】[0010]

【課題を解決するための手段】本発明は、一個または複
数個の加工プログラムで使用する各工具の工具最大部分
と、工具マガジンの各ポットのポット間ピッチの値
の内、少なくとも何れか一方を基にした所定の基準を用
いてオペレータが予め決定した分類に従って設定された
前記各工具の工具番号を格納した使用工具記憶手段と、
工具番号に対応した工具の工具最大部分径を格納した工
具データ記憶手段と、前記加工プログラムで使用する工
具及び、工具マガジンの各ポットに装着されている工具
の、全部または一部を対象にして、それら工具の最大部
分径と、前記各ポットのポット間ピッチの値との内、少
なくとも何れか一方を基に、分類するための一定の基準
を決定し、その一定の基準を利用して、前記オペレータ
が予め決定した加工プログラムの工具の工具番号及び前
記工具マガジンの各ポットに装着されている工具の工具
番号の、全部または一部の分類の正しさを判定し、その
判定結果に基づいて、前記判定の対象となった工具番号
の変更を指令するチェック手段とを備え、前記一定の基
準とは、前記加工プログラムで使用する工具及び、前記
工具マガジンの各ポットに装着されている工具の、全部
または一部の中で最大の工具最大部分径を前記工具デー
タ記憶手段より検索し、その工具最大部分径と、前記工
具マガジンのポット間ピッチとから求められた、工具を
分類するための境界値である数値制御装置である。
Means for Solving the Problems The present invention provides a tool largest part diameter for each tool to be used in one or more of the machining program, the value of the pot pitch of each pot of the tool magazine
Of the above, a tool storage means for storing a tool number of each tool set according to a classification predetermined by an operator using a predetermined criterion based on at least one of the following :
A tool data storage means for storing the tool largest portion diameter of the tool corresponding to the tool number, tool used in the machining program and, a tool mounted on the pot of the tool magazine, intended for all or some , Of the maximum part diameter of those tools and the value of the pitch between the pots of the above-mentioned pots ,
Based on at least one of them, a certain criterion for classification is determined, and by using the certain criterion, the tool number of the tool of the machining program previously determined by the operator and each pot of the tool magazine are determined. tool number of the tool that is mounted, to determine the correctness of all or part classification, based on the determination result, e Bei and check means for commanding a change of tool number as a target of the determination , The constant group
Associate means the tools used in the machining program and the
All of the tools installed in each pot of the tool magazine
Alternatively, the maximum part diameter of the largest tool among the
Data from the storage means,
The tool found from the pitch between pots in the tool magazine
It is a numerical control device that is a boundary value for classification .

【0011】[0011]

【作用】本発明は、使用工具記憶手段に、一個または複
数個の加工プログラムで使用する各工具の工具最大部分
と、各ポットのポット間ピッチの値との内、少なくと
も何れか一方を基にした所定の基準を用いてオペレータ
が予め決定した分類に従って設定された前記各工具の工
具番号を格納し、工具データ記憶手段に、工具番号に対
応した工具の工具最大部分径を格納し、チェック手段
で、前記加工プログラムで使用する工具及び、工具マガ
ジンの各ポットに装着されている工具の、全部または一
部を対象にして、それら工具の最大部分径と、各ポット
のポット間ピッチの値との内、少なくとも何れか一方
基に、分類するための一定の基準を決定し、その一定の
基準を利用して、前記オペレータが予め決定した加工プ
ログラムの工具の工具番号及び前記工具マガジンの各ポ
ットに装着されている工具の工具番号の、全部または一
部の分類の正しさを判定し、その判定結果に基づいて、
前記判定の対象となった工具番号の変更を指令する。
DETAILED DESCRIPTION OF THE INVENTION The present invention, in use the tool storage means, and the tool largest part diameter for each tool to be used in one or more of the machining program, among the values of the pot pitch of each pot, less the
Also stores the tool number of each of the tools set according to the classification determined in advance by the operator using a predetermined criterion based on either one , and the tool data storage means stores the tool maximum portion of the tool corresponding to the tool number. The diameter is stored and the checking means targets all or part of the tools used in the machining program and the tools mounted in each pot of the tool magazine, and the maximum partial diameter of those tools and each pot. Among the values of the pitch between pots, based on at least one of them, a fixed criterion for classification is determined, and using the fixed criterion, the tool of the tool of the machining program predetermined by the operator. Number and the tool number of the tool attached to each pot of the tool magazine, determine the correctness of all or part of the classification, based on the determination result,
A command is issued to change the tool number that is the subject of the determination .

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は本発明にかかる数値制御装置の一実
施例の構成をあらわすブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a numerical controller according to the present invention.

【0014】すなわち、図1において、1は工具マガジ
ンの各ポットに装着されている工具の工具番号を、ポッ
ト番号毎に記憶するマガジン工具記憶手段である。2は
加工プログラムに指令されている工具番号を記憶する使
用工具記憶手段である。3はマガジン工具記憶手段1
と、使用工具記憶手段2とを比較する比較手段である。
4は比較手段3により、マガジン工具記憶手段1に記憶
されていて、使用工具記憶手段2に記憶されていない工
具番号を、記憶する未使用工具記憶手段である。5は比
較手段3により、使用工具記憶手段2に記憶されてい
て、マガジン工具記憶手段1に記憶されていない工具番
号を、記憶する未登録工具記憶手段である。6は工具番
号や工具径等と共に、刃部以外の部分も含めた工具最大
部分径を、各工具毎に記憶する工具データ記憶手段であ
る。7は前記未登録工具記憶手段5に記憶されている工
具番号を、前記マガジン工具記憶手段1に記憶する編集
手段である。8は前記使用工具記憶手段等の内容やメッ
セージ等を表示する表示手段である。9は前記使用工具
記憶手段2と、前記未使用工具記憶手段4とに記憶され
ている、工具番号に対応した工具最大部分径を、前記工
具データ記憶手段6から読み出し必要に応じて検索する
検索手段である。10は前記検索手段9により検索され
た特定の工具最大部分径をそれに対応した工具番号と共
に記憶する工具最大部分径記憶手段である。11は工具
マガジンのポット数、ポット間のピッチ、及び、そのポ
ットへの装着可能最大工具径を記憶するポット情報記憶
手段である。12は工具番号が工具最大部分径の大きさ
毎に正しく分類されているかどうかをチェックするチェ
ック手段である。ここで、オペレータは、加工プログラ
ムを作成する際に、使用する各工具を工具最大部分径に
応じて大径工具、中径工具、小径工具に分類して、その
分類が、工具番号を見れば識別できるように工具番号を
次のように定めたものを用いる。すなわち、この場合、
大径工具と中径工具との境界値A及び中径工具と小径工
具との境界値Bは、工具マガジンのポット間ピッチを
P、工具マガジンに装着する工具の中で最大の工具最大
部分径をLDとすると、所定の基準としての関係式、A
=P、B=P×2−LDにより求められ、各工具の工具
最大部分径をdとすると、d≧Aの工具を大径工具、A
>d≧Bの工具を中径工具、B>dの工具を小径工具と
し、工具番号の9000乃至9999を大径工具、10
00乃至8999を中径工具、0001乃至0999を
小径工具というように分類して、この分類に従ってオペ
レータが、加工プログラム作成時に必要に応じて工具番
号を設定する。
That is, in FIG. 1, reference numeral 1 denotes a magazine tool storage means for storing the tool number of the tool mounted in each pot of the tool magazine for each pot number. Reference numeral 2 is a used tool storage means for storing the tool number commanded by the machining program. 3 is a magazine tool storage means 1
And a tool storage means 2 for use.
Reference numeral 4 is an unused tool storage means for storing the tool number stored in the magazine tool storage means 1 by the comparison means 3 but not in the used tool storage means 2. Reference numeral 5 is an unregistered tool storage means for storing the tool number stored in the used tool storage means 2 by the comparison means 3 and not stored in the magazine tool storage means 1. Reference numeral 6 denotes a tool data storage means for storing, for each tool, the maximum tool diameter including the tool number, the tool diameter, etc., as well as the portion other than the blade portion. Reference numeral 7 is an editing means for storing the tool number stored in the unregistered tool storage means 5 in the magazine tool storage means 1. Reference numeral 8 is a display means for displaying the contents of the used tool storage means and the like and messages. Reference numeral 9 is a search for reading out the maximum tool tool diameter corresponding to the tool number stored in the used tool storage means 2 and the unused tool storage means 4 from the tool data storage means 6 and searching as necessary. It is a means. Reference numeral 10 denotes a tool maximum part diameter storage means for storing the specific tool maximum part diameter found by the searching means 9 together with the corresponding tool number. Reference numeral 11 denotes pot information storage means for storing the number of pots in the tool magazine, the pitch between the pots, and the maximum tool diameter that can be mounted in the pot. Reference numeral 12 is a checking means for checking whether or not the tool numbers are correctly classified for each size of the tool maximum part diameter. Here, when creating a machining program, the operator classifies each tool to be used into a large-diameter tool, a medium-diameter tool, and a small-diameter tool according to the tool maximum part diameter, and if the classification shows the tool number, Use the tool numbers defined as follows so that they can be identified. That is, in this case
The boundary value A between the large-diameter tool and the medium-diameter tool and the boundary value B between the medium-diameter tool and the small-diameter tool are P, the pitch between the pots of the tool magazine, and the maximum tool maximum partial diameter among the tools mounted in the tool magazine. Let LD be the relational expression, A
= P, B = P × 2-LD, and assuming that the tool maximum partial diameter of each tool is d, a tool of d ≧ A is a large-diameter tool, A
Tools with> d ≧ B are medium diameter tools, tools with B> d are small diameter tools, and tool numbers 9000 to 9999 are large diameter tools.
00 to 8999 are classified as medium-diameter tools, and 0001 to 0999 are small-diameter tools, and the operator sets a tool number as necessary when creating a machining program according to this classification.

【0015】次に、上記実施例の動作について説明す
る。まず、図6のような、段取り画面60において加工
プログラムの番号を入力後、リスト作成キー61を押す
と使用工具記憶手段2にその加工プログラムに指令され
ている工具番号が記憶され、その内容が使用工具リスト
62のデータとして画面に表示されて、チェック処理が
開始される。そのチェック処理を図2のフローチャート
を参照しながら説明する。なお、図6において、画面左
側に表示されているのは補正番号毎に表示された工具長
補正量63と工具径補正量64であり、65は図示しな
いカーソルキーにより移動され、補正量を選択するカー
ソルである。
Next, the operation of the above embodiment will be described. First, after inputting the machining program number on the setup screen 60 as shown in FIG. 6, when the list creation key 61 is pressed, the tool number commanded to the machining program is stored in the tool storage means 2 to be used, and the contents thereof are stored. The data is displayed on the screen as data of the tool list 62 to be used, and the check process is started. The check process will be described with reference to the flowchart of FIG. In FIG. 6, what is displayed on the left side of the screen is the tool length correction amount 63 and the tool diameter correction amount 64 displayed for each correction number, and 65 is moved by a cursor key (not shown) to select the correction amount. It is the cursor to do.

【0016】すなわち、図1及び図2において、チェッ
ク手段12は使用工具記憶手段2の工具本数がポット情
報記憶手段11のポット数より多いかどうかを比較し
(S1)、多い場合は、「全工具登録不可能」というア
ラームを表示して処理を終了する(S7)。一方、多く
なければ、使用工具記憶手段2の工具番号の中に中径工
具が有るか無いかを識別し、有る場合は、使用工具記憶
手段2の「大径工具本数×2+中径工具本数+1」が前
記ポット数より多いかどうか、あるいは、中径工具が無
い場合は、使用工具記憶手段2の「大径工具本数×2」
が前記ポット数より多いかどうか、を比較し(S2)、
いずれか一方でも多い場合は「全工具登録不可能」とい
うアラームを表示して処理を終了する(S7)。
That is, in FIGS. 1 and 2, the checking means 12 compares whether the number of tools in the used tool storage means 2 is greater than the number of pots in the pot information storage means 11 (S1). An alarm "Tool registration is not possible" is displayed and the process ends (S7). On the other hand, if the number is not large, it is identified whether or not there is a medium diameter tool in the tool number of the used tool storage means 2, and if there is, the number of large diameter tools × 2 + the number of medium diameter tools of the used tool storage means 2 is identified. "+1" is larger than the number of pots, or if there is no medium-diameter tool, "the number of large-diameter tools x 2" in the tool storage means 2 used.
Is larger than the number of pots (S2),
If either of them is large, an alarm "all tools cannot be registered" is displayed and the process ends (S7).

【0017】S1及び、S2において、どちらも多くな
い場合は、図2の矢印「N」の方向に移り、比較手段3
により、前記マガジン工具記憶手段1に記憶されていて
前記使用工具記憶手段2には記憶されていない工具番号
を未使用工具記憶手段4に記憶し、前記使用工具記憶手
段2に記憶されていて前記マガジン工具記憶手段1には
記憶されていない工具番号を未登録工具記憶手段5に記
憶する(S3)。次に、検索手段9により使用工具記憶
手段2と未使用工具記憶手段4とに記憶されている工具
番号に対応する工具最大部分径を工具データ記憶手段6
から読み出し、工具番号を見れば、その分類先が識別で
きるところの、分類としての大径工具、中径工具、小径
工具毎に最大の工具最大部分径を検索し(例えば、LD
(l1)、LD(m1)、LD(s1))、対応する工具
番号と共に工具最大部分径記憶手段10に記憶する(S
4)。
If neither of S1 and S2 is large, the process moves to the direction of arrow "N" in FIG.
Accordingly, the tool number stored in the magazine tool storage means 1 and not stored in the used tool storage means 2 is stored in the unused tool storage means 4, and stored in the used tool storage means 2 and A tool number not stored in the magazine tool storage means 1 is stored in the unregistered tool storage means 5 (S3). Next, the retrieval means 9 stores the maximum tool tool diameter corresponding to the tool number stored in the used tool storage means 2 and the unused tool storage means 4 as the tool data storage means 6.
If you look at the tool number and read the tool number, you can find the maximum tool maximum part diameter for each of the large diameter tool, medium diameter tool, and small diameter tool as the classification where the classification destination can be identified (for example, LD
(L 1 ), LD (m 1 ), LD (s 1 )) and the corresponding tool number are stored in the tool maximum part diameter storage means 10 (S).
4).

【0018】工具最大部分径記憶手段10に記憶されて
いる大径工具の工具最大部分径(LD(l1)がポット
情報記憶手段11の装着可能最大工具径より大きいかど
うかを比較し(S5)、大きい場合は「最大工具径オー
バー」というアラームを表示して処理を終了する(S
8)。大きくない場合は、各工具の工具番号が工具最大
部分径を考慮して正しく大径工具、中径工具、小径工具
に分類されているかどうかをチェックし(S6)、処理
が終了する。
It is compared whether the tool maximum part diameter (LD (l 1 ) of the large-diameter tool stored in the tool maximum part diameter storage means 10 is larger than the maximum installable tool diameter in the pot information storage means 11 (S5). ), If it is larger, the alarm "Maximum tool diameter is exceeded" is displayed and the processing is terminated (S
8). If it is not large, it is checked whether or not the tool number of each tool is correctly classified into a large diameter tool, a medium diameter tool, and a small diameter tool in consideration of the tool maximum part diameter (S6), and the processing ends.

【0019】続いて前記チェック(S6)の内容を図3
のフローチャートに従って説明する。
Next, the contents of the check (S6) are shown in FIG.
It will be described in accordance with the flowchart of.

【0020】すなわち、工具最大部分径記憶手段10に
記憶されている中径工具の工具最大部分径(LD
(m1))がポット情報記憶手段11のポット間のピッ
チ(P)より大きいかどうかを比較し(S9)、大きい
場合は更にその工具最大部分径(LD(m1))に対応
する工具の工具番号が未使用工具記憶手段4に記憶され
ているかどうかを検索し(S10)、記憶されていない
場合は図6のように使用工具リスト62に表示されてい
る、その工具最大部分径(LD(m1))に対応する工
具の部分にカーソル66を表示し、「大径工具番号に変
更せよ」というメッセージを表示部69に表示して処理
を一旦終了する(S12)。この指示に従って、オペレ
ータが加工プログラムと工具データ記憶手段6におけ
る、上記カーソル66により指定された工具番号を大径
工具番号に変更し、再度使用工具リストを作成して、チ
ェック処理を再動作させる。
That is, the tool maximum part diameter (LD) of the medium diameter tool stored in the tool maximum part diameter storage means 10
(M 1 )) is larger than the pitch (P) between the pots of the pot information storage means 11 (S 9), and if it is larger, the tool corresponding to the tool maximum part diameter (LD (m 1 )) It is searched whether or not the tool number of No. is stored in the unused tool storage means 4 (S10), and if it is not stored, the maximum tool diameter of the tool displayed in the used tool list 62 as shown in FIG. 6 ( The cursor 66 is displayed on the part of the tool corresponding to LD (m 1 )), the message “Change to a large diameter tool number” is displayed on the display unit 69, and the process is temporarily ended (S12). In accordance with this instruction, the operator changes the tool number designated by the cursor 66 in the machining program and tool data storage means 6 to a large diameter tool number, creates a tool list to be used again, and restarts the check process.

【0021】S10において検索した結果、未使用工具
記憶手段4に記憶されている場合は、マガジン工具記憶
手段1と未使用工具記憶手段4とから工具最大部分径
(LD(m1))に対応する、この工具番号が消去され
る。続いて、検索手段9は使用工具記憶手段2と未使用
工具記憶手段4とに記憶されている中径工具番号に該当
する工具最大部分径を工具データ記憶手段6から読み出
し、中径工具における最大の工具最大部分径(LD(m
2))を再検索し、工具最大部分径記憶手段10に工具
番号と共に記憶する(S11)。そしてS9へ戻って再
び、上記処理を繰り返す。
If the result of the search in S10 is that it is stored in the unused tool storage means 4, it corresponds to the tool maximum part diameter (LD (m 1 )) from the magazine tool storage means 1 and the unused tool storage means 4. Yes, this tool number is deleted. Then, the retrieval means 9 reads the maximum tool part diameter corresponding to the medium diameter tool number stored in the used tool storage means 2 and the unused tool storage means 4 from the tool data storage means 6, and determines the maximum of the medium diameter tool. Tool maximum part diameter (LD (m
2 )) is searched again and stored in the tool maximum part diameter storage means 10 together with the tool number (S11). Then, the process returns to S9 and the above process is repeated again.

【0022】一方、S9において、中径工具の工具最大
部分径(LD(m1))がポット情報記憶手段11のポ
ット間のピッチ(P)より大きいかどうかを比較した結
果、大きくない場合は、工具最大部分径記憶手段10に
記憶されている大径工具の工具最大部分径(LD
(l1))と小径工具の工具最大部分径(LD(s1))
の和がポット情報記憶手段11に記憶されているポット
間のピッチ(P)×2より大きいかどうかを比較し(S
13)、大きい場合は、更にその大径工具の工具番号が
未使用工具記憶手段4に記憶されているかどうかを検索
し(S14)、記憶されている場合は、図7のように未
使用工具記憶手段4の内容を未使用工具リスト72のデ
ータとして画面に表示し、該当する大径工具の工具番号
にカーソル76を表示して、「この工具を消去せよ」と
いうメッセージを表示部79に表示して入力待ち状態に
なる(S15)。その指示に従って、オペレータが、消
去キー77を押すとマガジン工具記憶手段1と未使用工
具記憶手段4とからこの工具番号が消去され、検索手段
9は使用工具記憶手段2と未使用工具記憶手段4とに記
憶されている大径工具番号に対応する工具最大部分径を
工具データ記憶手段6から読み出し、大径工具における
最大の工具最大部分径(LD(l2))を再検索し、工
具最大部分径記憶手段10に、対応する工具番号と共に
記憶する(S17)。そしてS13へ戻って再び上記処
理を繰り返す。
On the other hand, in S9, it is determined whether the maximum tool part diameter (LD (m 1 )) of the medium-diameter tool is larger than the pitch (P) between the pots of the pot information storage means 11, and if it is not larger, , The tool maximum part diameter stored in the tool maximum part diameter storage means 10 (LD maximum tool diameter (LD
(L 1 )) and the maximum tool part diameter of the small diameter tool (LD (s 1 ))
Is larger than the pitch (P) × 2 between the pots stored in the pot information storage means 11 (S
13) If it is larger, it is further searched whether or not the tool number of the large diameter tool is stored in the unused tool storage means 4 (S14). If it is stored, the unused tool is stored as shown in FIG. The contents of the storage means 4 are displayed on the screen as data of the unused tool list 72, the cursor 76 is displayed on the tool number of the corresponding large diameter tool, and the message "Delete this tool" is displayed on the display unit 79. Then, the input waiting state is entered (S15). According to the instruction, when the operator presses the delete key 77, this tool number is deleted from the magazine tool storage means 1 and the unused tool storage means 4, and the searching means 9 uses the used tool storage means 2 and the unused tool storage means 4. The maximum tool part diameter corresponding to the large-diameter tool number stored in and is read from the tool data storage means 6, and the maximum tool maximum part diameter (LD (l 2 )) of the large-diameter tool is searched again to find the maximum tool size. It is stored in the partial diameter storage means 10 together with the corresponding tool number (S17). Then, the process returns to S13 and the above process is repeated again.

【0023】S16において消去キーを押さずに、非消
去キー78(図7参照)を押すか、或いはS14の検索
結果で記憶されていない場合は、S13における小径工
具の工具最大部分径(LD(s1))に対応する工具番
号が、未使用工具記憶手段4に記憶されているかどうか
を検索し(S18)、記憶されていない場合は上記のS
12で説明したのと同様に使用工具リスト62における
その小径工具部分にカーソル66を表示し、「中径工具
番号に変更せよ」というメッセージを表示部69に表示
して処理を一旦終了する(S20)。この指示にしたが
って、オペレータが、加工プログラムと工具データ記憶
手段6における上記カーソル66により指定された工具
番号を中径工具番号に変更し、再度使用工具リストを作
成することによりチェック処理を再動作させる。
In S16, the non-erase key 78 (see FIG. 7) is pressed without pressing the delete key, or if it is not stored in the search result of S14, the maximum tool part diameter (LD ( It is searched whether the tool number corresponding to s 1 )) is stored in the unused tool storage means 4 (S18).
In the same manner as described in 12, the cursor 66 is displayed on the small-diameter tool portion in the tool list 62 to be used, the message “Change to the medium-diameter tool number” is displayed on the display unit 69, and the process is temporarily terminated (S20). ). In accordance with this instruction, the operator changes the tool number designated by the cursor 66 in the machining program and the tool data storage means 6 to the medium diameter tool number, and re-creates the tool list to be used to restart the check processing. .

【0024】一方、S13における小径工具の工具最大
部分径(LD(s1))に対応する工具番号が、未使用
工具記憶手段4に記憶されているかどうかを検索(S1
8)した結果、記憶されている場合は、マガジン工具記
憶手段1と未使用工具記憶手段4とから、上記S11で
説明したのと同様にして、この工具番号を消去し、検索
手段9は使用工具記憶手段2と未使用工具記憶手段4と
に記憶されている小径工具番号に対応した工具最大部分
径を工具データ記憶手段6から読み出し、小径工具にお
ける最大の工具最大部分径(LD(s2))を再検索
し、工具最大部分径記憶手段10に、対応する工具番号
と共に記憶する(S19)。そしてS13へ戻って再
び、上記処理を繰り返す。
On the other hand, it is searched whether or not the tool number corresponding to the tool maximum part diameter (LD (s 1 )) of the small diameter tool in S13 is stored in the unused tool storage means 4 (S1).
8) As a result, if it is stored, the tool number is deleted from the magazine tool storage means 1 and the unused tool storage means 4 in the same manner as described in S11 above, and the search means 9 is used. The tool maximum storage diameter corresponding to the small diameter tool number stored in the tool storage means 2 and the unused tool storage means 4 is read out from the tool data storage means 6, and the maximum tool maximum diameter (LD (s 2 )) Is searched again and stored in the tool maximum part diameter storage means 10 together with the corresponding tool number (S19). And it returns to S13 and repeats the above-mentioned processing again.

【0025】ところで、S13において、工具最大部分
径記憶手段10に記憶されている大径工具の工具最大部
分径(LD(l1))と小径工具の工具最大部分径(L
D(s1))の和がポット情報記憶手段11に記憶され
ているポット間のピッチ(P)×2より大きいかどうか
を比較した結果、大きくない場合は、工具マガジンにお
ける隣接工具間の干渉がないということになるのでチェ
ック処理を終了する。
By the way, in S13, the tool maximum part diameter (LD (l 1 )) of the large diameter tool and the tool maximum part diameter (L of the small diameter tool stored in the tool maximum part diameter storage means 10 are stored.
As a result of comparing whether the sum of D (s 1 ) is larger than the pitch (P) × 2 between the pots stored in the pot information storage means 11, if not large, the interference between the adjacent tools in the tool magazine Therefore, the check process ends.

【0026】この後、オペレータは、マガジンリストキ
ー70を押すと図9のようにマガジン工具記憶手段1の
内容が、マガジン工具リスト92として表示されるの
で、このリストの通りにマガジンから未使用工具を取り
外しておく。
After that, when the operator presses the magazine list key 70, the contents of the magazine tool storage means 1 are displayed as a magazine tool list 92 as shown in FIG. Removed.

【0027】次に、段取り画面で表示されている使用工
具リスト62において、工具の補正量を測定する際、こ
れから測定しようとする工具が、未登録工具である場合
のマガジン工具記憶手段1における編集処理について、
図4のフローチャートを参照しながら説明する。
Next, when measuring the correction amount of the tool in the tool list 62 displayed on the setup screen, editing in the magazine tool storage means 1 when the tool to be measured is an unregistered tool Regarding processing,
This will be described with reference to the flowchart of FIG.

【0028】すなわち、図6の段取り画面に表示されて
いる、使用工具リスト62の工具をカーソル66により
選択し、測定開始キー67を押したとき、選択した工具
の工具番号がマガジン工具記憶手段1に記憶されていれ
ば、「サイクルスタートボタンを押せ」というメッセー
ジが表示部69に表示される。サイクルスタートボタン
を押すと工具交換動作が実行されて使用工具リスト62
で選択された工具が主軸に装着され、図8のように補正
量測定値81が表示される。手動で工具をセンサー又は
測定ブロックに当てると補正量が演算され補正量測定値
81の補正番号の隣に表示される。書込キー82を押す
ことにより補正量が該当する補正番号に記憶される。使
用工具リスト62の測定済みの工具は補正番号84,8
5の表示色を変えたり或いは測定日時を表示する等し
て、未測定工具との区別ができるようになっている。他
にも測定すべき工具がある場合には、再び使用工具リス
ト62の工具をカーソル66により選択し、上記処理を
繰り返す。
That is, when the tool of the tool list 62 displayed on the setup screen of FIG. 6 is selected by the cursor 66 and the measurement start key 67 is pressed, the tool number of the selected tool is the magazine tool storage means 1. If it is stored in, the message "Press the cycle start button" is displayed on the display unit 69. When the cycle start button is pressed, the tool change operation is executed and the tool list 62 is used.
The tool selected in step 1 is attached to the spindle, and the correction amount measurement value 81 is displayed as shown in FIG. When the tool is manually applied to the sensor or the measurement block, the correction amount is calculated and displayed next to the correction number of the correction amount measurement value 81. By pressing the write key 82, the correction amount is stored in the corresponding correction number. The measured tools in the tool list 62 used are correction numbers 84 and 8.
By changing the display color of 5 or displaying the measurement date and time, it can be distinguished from the unmeasured tool. If there is another tool to be measured, the tool in the tool list 62 to be used is again selected with the cursor 66, and the above processing is repeated.

【0029】しかし、使用工具リスト62で選択した工
具の工具番号がマガジン工具記憶手段1に記憶されてい
なければ(すなわち、ポット番号表示領域としての86
(図8参照)に、ポット番号が表示されていなけれ
ば)、編集手段7は下記に示す条件に従って装着可能ポ
ット番号を検索する(Sa1)。
However, if the tool number of the tool selected in the used tool list 62 is not stored in the magazine tool storage means 1 (ie, 86 as the pot number display area).
If the pot number is not displayed (see FIG. 8)), the editing means 7 searches the mountable pot number according to the conditions shown below (Sa1).

【0030】条件1:大径工具と大径工具或いは大径工
具と中径工具は隣合わない。
Condition 1: The large-diameter tool and the large-diameter tool or the large-diameter tool and the medium-diameter tool are not adjacent to each other.

【0031】条件2:番号の小さいポットから順に装着
可能ポットを検索する。
Condition 2: Searchable pots in order from the pot with the smallest number.

【0032】装着可能ポットがあった場合は、図9のよ
うにマガジン工具記憶手段1の内容をマガジン工具リス
ト92として表示し、装着可能ポット番号にカーソル9
3を表示して入力待ち状態になる(Sa3)。ここで、
指定されたポット番号を採用するか、しないかをオペレ
ータが判断して(Sa4)、指定されたポット番号を採
用せずに、他の装着可能ポット番号を選択する場合は、
カーソルキー(図示省略)によりカーソル93を、採用
しようとするポット番号に移動し、書込キー94を押す
(Sa5)。
If there is a mountable pot, the contents of the magazine tool storage means 1 are displayed as a magazine tool list 92 as shown in FIG.
3 is displayed and the input waiting state is entered (Sa3). here,
When the operator judges whether to adopt the designated pot number or not (Sa4) and selects another mountable pot number without adopting the designated pot number,
The cursor key (not shown) is used to move the cursor 93 to the pot number to be adopted, and the write key 94 is pressed (Sa5).

【0033】オペレータによって、新しく採用されたポ
ット番号が前記条件1を満たしているかどうかが検索さ
れて(Sa6)、満たしていない場合は「装着不可能ポ
ット」というアラームを表示部99に表示して再び入力
待ち状態になる(Sa12)。満たしている場合、ある
いは、Sa4で、書込キー94を押した場合は、マガジ
ン工具記憶手段1の指定されたポット番号に使用工具リ
スト62で選択された工具番号が記憶され(Sa7)、
画面が図6の表示に戻り「サイクルスタートボタンを押
せ」というメッセージが表示部69に表示される。サイ
クルスタートボタンを押すと工具交換動作が実行されて
主軸が空の状態になるので、測定する工具を装着して上
記測定操作を実行する。
The operator searches whether or not the newly adopted pot number satisfies the above condition 1 (Sa6), and if it does not satisfy the condition, an alarm "unmountable pot" is displayed on the display unit 99. The input waiting state is resumed (Sa12). If it is satisfied or if the write key 94 is pressed in Sa4, the tool number selected in the tool list 62 is stored in the designated pot number of the magazine tool storage means 1 (Sa7),
The screen returns to the display of FIG. 6 and the message “Press the cycle start button” is displayed on the display unit 69. When the cycle start button is pressed, the tool change operation is executed and the spindle becomes empty. Therefore, the tool to be measured is mounted and the above measurement operation is executed.

【0034】一方、Sa2で、装着可能ポットがなかっ
た場合は更に未使用工具記憶手段4に工具番号が記憶さ
れているかどうかを検索し(Sa8)、記憶されている
場合は図7のように未使用工具リスト72を表示し「工
具を選択して消去せよ」というメッセージを表示部79
に表示して入力待ち状態になる(Sa9)。
On the other hand, in Sa2, if there is no mountable pot, it is further searched whether or not the tool number is stored in the unused tool storage means 4 (Sa8). If it is stored, as shown in FIG. The unused tool list 72 is displayed and a message "Select a tool and delete" is displayed on the display unit 79.
Is displayed on the screen and the input waiting state is entered (Sa9).

【0035】未使用工具リスト72に表示された工具の
中から、オペレータの判断によりカーソル76で選択し
て消去キー77を押すと、選択された工具番号がマガジ
ン工具記憶手段1と未使用工具記憶手段4とから消去さ
れ(Sa10)、Sa1へ戻って再び処理を繰り返す。
When the operator selects the cursor from the tools displayed in the unused tool list 72 with the cursor 76 and presses the delete key 77, the selected tool number is stored in the magazine tool memory means 1 and the unused tool memory. It is erased from the means 4 (Sa10), the process returns to Sa1 and the process is repeated.

【0036】Sa8で、未使用工具記憶手段4に工具番
号が記憶されているかどうかを検索した結果、記憶され
ていない場合は、マガジン工具リスト92に既に書込済
みの工具の中で、前記条件1に従って移動可能な工具を
検索し、移動可能なポット番号と共にそれらに対応する
工具を表示し、「いずれかの移動を選択し、実行せよ」
というメッセージを表示して処理を終了する(Sa1
1)。この場合、オペレータがマガジン工具リスト92
において、上記の表示に従って、移動可能な書込済み工
具の工具番号のいずれかを、他のポット番号に移動し、
工具の補正量を測定するために、工具使用工具リスト6
2に表示された工具を再度選択し、測定開始キー67を
押すことによりマガジン工具記憶手段1の編集処理を再
動作させる。あるいは、移動可能な書込済み工具の工具
番号のいずれかを他のポット番号に移動して装着可能ポ
ットができれば、そのポット番号に未登録工具の工具番
号を書込み、使用工具リスト62の工具を再度選択し、
測定開始キー67を押して測定を開始する。
In Sa8, as a result of searching whether or not the tool number is stored in the unused tool storage means 4, if the tool number is not stored, in the tool already written in the magazine tool list 92, the above condition is satisfied. Search for movable tools according to 1, display the corresponding tools along with the movable pot numbers, and select "Move any of them and execute."
Message is displayed and the process ends (Sa1
1). In this case, the operator has a magazine tool list 92
In accordance with the above display, move one of the tool numbers of the movable written tools to another pot number,
Tool used tool list 6 to measure the correction amount of the tool
The tool displayed in No. 2 is selected again and the measurement start key 67 is pressed to restart the editing process of the magazine tool storage means 1. Alternatively, if one of the tool numbers of the movable written tools is moved to another pot number and a mountable pot is formed, the tool number of the unregistered tool is written in the pot number, and the tool in the tool list 62 is used. Select again,
The measurement start key 67 is pressed to start the measurement.

【0037】他方、段取り画面において使用工具リスト
62に未登録工具が存在する場合に、自動登録キー68
を押してその未登録工具をマガジン工具記憶手段1に自
動的に記憶する際の、マガジン工具記憶手段1の編集処
理を図5のフローチャートを参照しながら説明する。
On the other hand, when there is an unregistered tool in the tool list 62 used on the setup screen, the automatic registration key 68
An editing process of the magazine tool storage means 1 when the unregistered tool is automatically stored in the magazine tool storage means 1 by pressing will be described with reference to the flowchart of FIG.

【0038】すなわち、自動登録キー68を押すと上記
条件1及び2に従って未登録工具記憶手段5の大径工
具、中径工具、小径工具の順に工具マガジンのポットの
中で工具が装着されていないポットの中から装着可能ポ
ットを検索し、マガジン工具記憶手段1に記憶する(S
b1)。
That is, when the automatic registration key 68 is pressed, no tools are mounted in the pot of the tool magazine in the order of the large-diameter tool, the medium-diameter tool and the small-diameter tool of the unregistered tool storage means 5 according to the above conditions 1 and 2. A mountable pot is searched from the pots and stored in the magazine tool storage means 1 (S
b1).

【0039】この処理において大径工具の書込可能ポッ
トがない場合は、両隣が大径工具、中径工具以外であ
る、加工プログラムでは使用しない未使用工具がマガジ
ン工具記憶手段1に記憶されているかどうかを検索し
(Sb4)、記憶されている場合はそのポット番号にそ
の大径工具の工具番号を書き込む(Sb5)。
When there is no writable pot for a large-diameter tool in this processing, unused tools that are not used in the machining program, except for the large-diameter tool and the medium-diameter tool on both sides, are stored in the magazine tool storage means 1. It is searched whether or not it exists (Sb4), and if it is stored, the tool number of the large diameter tool is written in the pot number (Sb5).

【0040】記憶されていない場合は、自身の両隣が大
径工具、中径工具以外であり、自身は、大径工具以外で
あるマガジン工具記憶手段1に書き込み済みの工具を前
記条件1及び2に従って、他のポット番号に移動し、空
いたポット番号にその大径工具の工具番号を書き込む。
あるいは、自身の隣のポットは空であり、さらにその向
こうのポットは大径工具、中径工具以外であるマガジン
工具記憶手段1に書き込み済みの中径工具を、上記条件
1及び2に従って他のポット番号に移動するか、又は、
上記条件1及び2に従って他の小径工具と入れ換えて隣
の空いているポット番号にその大径工具の工具番号を書
き込む(Sb6)。
If not stored, both sides of the tool are other than the large diameter tool and the medium diameter tool, and the tool itself other than the large diameter tool is the tool already written in the magazine tool storage means 1 under the conditions 1 and 2 above. In accordance with, move to another pot number and write the tool number of the large diameter tool in the vacant pot number.
Alternatively, the pot next to itself is empty, and the pot beyond that is the medium-diameter tool already written in the magazine tool storage means 1 other than the large-diameter tool and the medium-diameter tool. Move to pot number, or
According to the above conditions 1 and 2, the small-diameter tool is replaced with another small-diameter tool, and the tool number of the large-diameter tool is written in the next vacant pot number (Sb6).

【0041】Sb1の処理において中径工具の書込可能
ポットがない場合は両隣が大径工具以外である未使用工
具がマガジン工具記憶手段1に記憶されているかどうか
を検索し(Sb8)、記憶されている場合はそのポット
番号にその中径工具の工具番号を書き込む(Sb9)。
When there is no writable pot for the medium-diameter tool in the processing of Sb1, it is searched whether or not an unused tool whose both sides are other than the large-diameter tool is stored in the magazine tool storage means 1 (Sb8), and stored. If so, the tool number of the medium diameter tool is written in the pot number (Sb9).

【0042】記憶されていない場合は両隣が大径工具以
外である書込済小径工具を、条件に従って他のポット番
号に移動し、空いたポット番号に前記中径工具の工具番
号を書き込む(Sb6)。
If it is not stored, the written small-diameter tools on both sides other than the large-diameter tool are moved to another pot number according to the conditions, and the tool number of the medium-diameter tool is written in the empty pot number (Sb6). ).

【0043】Sb1の処理において小径工具の書込可能
ポットがない場合は未使用工具が書き込まれているポッ
ト番号にその小径工具の工具番号を書き込む(Sb1
0)。
If there is no writable pot for the small diameter tool in the processing of Sb1, the tool number of the small diameter tool is written in the pot number in which the unused tool is written (Sb1).
0).

【0044】この様にしてSb1の処理を繰り返し、未
登録工具全部の書き込みが完了すればマガジン工具記憶
手段1の編集処理を終了し、図9のようにマガジン工具
リストを表示する。この処理において、書込済工具を他
のポット番号に移動したならば「書込済工具の移動あ
り」というメッセージを表示部99に表示する(Sb1
2)。
In this way, the processing of Sb1 is repeated, and when the writing of all the unregistered tools is completed, the editing processing of the magazine tool storage means 1 is ended and the magazine tool list is displayed as shown in FIG. In this processing, if the written tool is moved to another pot number, a message "the written tool has been moved" is displayed on the display unit 99 (Sb1).
2).

【0045】このあと、マガジン工具リストに表示され
た通りに工具マガジンに工具を装着すれば隣接工具との
干渉が無い最適な工具の装着ができる。
After that, if the tool is mounted in the tool magazine as displayed in the magazine tool list, the optimum tool can be mounted without interference with the adjacent tool.

【0046】次に、チェック処理の他の実施例を図10
のフローチャートを参照しながら説明する。尚、SS1
乃至SS3及びSS7については図2のフローチャート
のS1乃至S3及びS7と同じであるので省略する。
Next, another embodiment of the checking process is shown in FIG.
This will be described with reference to the flowchart of FIG. Incidentally, SS1
2 to S3 and SS7 are the same as S1 to S3 and S7 in the flowchart of FIG.

【0047】SS3において未使用工具記憶手段4と未
登録工具記憶手段5に工具番号を記憶した後、使用工具
記憶手段2と未使用工具記憶手段4とに記憶されている
工具の中の最大の工具最大部分径LDと工具マガジンの
ポット間ピッチPとから大径工具と中径工具との境界値
A及び中径工具と小径工具との境界値BをA=P、B=
P×2−LDにより求め(SS4)、使用工具記憶手段
2と未使用工具記憶手段4とに記憶されている工具にお
いて以下の条件に該当する工具最大部分径dを工具番号
と共に工具最大部分径記憶手段10に記憶する(SS
5)。
After the tool numbers are stored in the unused tool storage means 4 and the unregistered tool storage means 5 in SS3, the largest of the tools stored in the used tool storage means 2 and the unused tool storage means 4 is stored. Based on the maximum tool diameter LD and the pitch P between the pots of the tool magazine, the boundary value A between the large diameter tool and the medium diameter tool and the boundary value B between the medium diameter tool and the small diameter tool are A = P, B =
The tool maximum part diameter d corresponding to the following conditions in the tool stored in the used tool storage means 2 and the unused tool storage means 4 is determined by P × 2-LD (SS4) and the tool maximum part diameter. Stored in the storage means 10 (SS
5).

【0048】工具番号が大径の場合:A>d 中径の場合:d≧A又はB>d 小径の場合:d≧B SS5の処理で工具最大部分径記憶手段10に工具が記
憶されなかった場合は工具番号による大径、中径、小径
の分類が正しいということになるのでチェック処理を終
了する(SS6)。
When the tool number is large: A> d Medium diameter: d ≧ A or B> d Small diameter: d ≧ B The tool is not stored in the tool maximum part diameter storage means 10 by the processing of SS5. If so, it means that the classification of the large diameter, the medium diameter, and the small diameter according to the tool number is correct, so the check processing is ended (SS6).

【0049】記憶された場合、その中に未使用工具があ
ればマガジン工具記憶手段1と未使用工具記憶手段4と
工具最大部分径記憶手段10からこの工具番号を消去す
る(SS8)。
If stored, if there is an unused tool, this tool number is erased from the magazine tool storage means 1, the unused tool storage means 4, and the tool maximum part diameter storage means 10 (SS8).

【0050】工具最大部分径記憶手段10の残りの工具
については、前記境界値A,Bと工具最大部分径とから
正しい分類を求めて(SS9)、その内容を図11のよ
うに工具番号変更リスト111として画面に表示し、
「工具番号を変更せよ」というメッセージを表示部11
2に表示して処理を終了する(SS10)。
For the remaining tools in the tool maximum part diameter storage means 10, a correct classification is obtained from the boundary values A and B and the tool maximum part diameter (SS9), and the contents are changed as shown in FIG. Display it as a list 111 on the screen,
The message "Change tool number" is displayed on the display unit 11
It is displayed in 2 and the processing is ended (SS10).

【0051】この後、工具番号変更リスト111が表示
された場合、オペレータが加工プログラムと工具データ
記憶手段6における上記工具番号変更リスト111に表
示された工具番号を指定された分類に変更し、再度使用
工具リストを作成することによりチェック処理を再動作
させる。工具番号変更リスト111が表示されなかった
場合、オペレータはマガジンリストキー70を押すと図
9のようにマガジン工具記憶手段1の内容がマガジン工
具リスト92として表示されるのでこのリストの通りに
マガジンから未使用工具を取り外しておく。
After that, when the tool number change list 111 is displayed, the operator changes the tool number displayed in the tool number change list 111 in the machining program and the tool data storage means 6 into the designated classification, and again. The check process is restarted by creating a tool list to be used. When the tool number change list 111 is not displayed, when the operator presses the magazine list key 70, the contents of the magazine tool storage means 1 are displayed as a magazine tool list 92 as shown in FIG. Remove unused tools.

【0052】尚、上記実施例に関しては、分類として、
大径工具、中径工具、小径工具の3分類とした場合につ
いて説明したが、これに限らず要するに工具番号が分類
されておりさえすればよく、その分類の個数は問わな
い。
The above embodiment is classified as follows.
The case where the tool is classified into three categories, that is, the large-diameter tool, the medium-diameter tool, and the small-diameter tool has been described.

【0053】また、本発明の、工具を分類するための一
定の基準を決定する際の対象としての一部と、分類の正
しさを判定する際の対象としての一部は、一致しない場
合もある。
In some cases, a part of the object of the present invention for determining a certain criterion for classifying tools and a part of the object for determining correctness of classification do not match. is there.

【0054】[0054]

【発明の効果】以上述べたところから明らかなように、
本発明は、マガジン工具記憶手段に登録された工具番号
が、その各工具番号に対応する工具の工具最大部分径に
応じて正しく分類されるという長所を有する。
As is apparent from the above description,
The present invention has the advantage that the tool numbers registered in the magazine tool storage means are correctly classified according to the tool maximum part diameter of the tool corresponding to each tool number.

【0055】また、マガジン工具記憶手段に登録された
工具番号が、実際に工具マガジンに工具を装着した際に
隣接工具と干渉しないように、正しく編集されるという
長所を有する。
Further, there is an advantage that the tool number registered in the magazine tool storage means is properly edited so as not to interfere with an adjacent tool when the tool is actually mounted in the tool magazine.

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

【図1】本発明の一実施例にかかる数値制御装置の構成
をあらわすブロック図である。
FIG. 1 is a block diagram showing the configuration of a numerical controller according to an embodiment of the present invention.

【図2】本発明のチェック手段の一実施例の動作をあら
わすフローチャートである。
FIG. 2 is a flowchart showing the operation of an embodiment of the checking means of the present invention.

【図3】本発明のチェック手段の一実施例の動作をあら
わすフローチャートである。
FIG. 3 is a flowchart showing the operation of an embodiment of the checking means of the present invention.

【図4】本発明の編集手段の一実施例の動作をあらわす
フローチャートである。
FIG. 4 is a flowchart showing the operation of an embodiment of the editing means of the present invention.

【図5】本発明の編集手段の一実施例の動作をあらわす
フローチャートである。
FIG. 5 is a flowchart showing the operation of an embodiment of the editing means of the present invention.

【図6】本発明の一実施例にかかる段取り画面である。FIG. 6 is a setup screen according to an embodiment of the present invention.

【図7】本発明の一実施例にかかる段取り画面である。FIG. 7 is a setup screen according to an embodiment of the present invention.

【図8】本発明の一実施例にかかる段取り画面である。FIG. 8 is a setup screen according to an embodiment of the present invention.

【図9】本発明の一実施例にかかる段取り画面である。FIG. 9 is a setup screen according to an embodiment of the present invention.

【図10】本発明のチェック手段の他の実施例の動作を
あらわすフローチャートである。
FIG. 10 is a flowchart showing the operation of another embodiment of the checking means of the present invention.

【図11】本発明の他の実施例にかかる段取り画面であ
る。
FIG. 11 is a setup screen according to another embodiment of the present invention.

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

1 マガジン工具記憶手段 2 使用工具記憶手段 3 比較手段 4 未使用工具記憶手段 5 未登録工具記憶手段 6 工具データ記憶手段 7 編集手段 8 表示手段 9 検索手段 10 工具最大部分径記憶 1 Magazine tool storage means 2 Tool storage means 3 comparison means 4 Unused tool storage means 5 Unregistered tool storage means 6 Tool data storage means 7 Editing means 8 display means 9 Search method 10 Tool maximum part diameter memory

フロントページの続き (56)参考文献 特開 昭62−218037(JP,A) (58)調査した分野(Int.Cl.7,DB名) B23Q 3/155,3/157 B23Q 15/00 - 15/28 G05B 19/18 - 19/46 Continuation of the front page (56) Reference JP-A-62-118037 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) B23Q 3/155, 3/157 B23Q 15/00-15 / 28 G05B 19/18-19/46

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一個または複数個の加工プログラムで使
用する各工具の工具最大部分径と、工具マガジンの各ポ
ットのポット間ピッチの値との内、少なくとも何れか一
を基にした所定の基準を用いてオペレータが予め決定
した分類に従って設定された前記各工具の工具番号を格
納した使用工具記憶手段と、 工具番号に対応した工具の工具最大部分径を格納した工
具データ記憶手段と、 前記加工プログラムで使用する工具及び、工具マガジン
の各ポットに装着されている工具の、全部または一部を
対象にして、それら工具の最大部分径と、前記各ポット
のポット間ピッチの値との内、少なくとも何れか一方
基に、分類するための一定の基準を決定し、その一定の
基準を利用して、前記オペレータが予め決定した加工プ
ログラムの工具の工具番号及び前記工具マガジンの各ポ
ットに装着されている工具の工具番号の、全部または一
部の分類の正しさを判定し、その判定結果に基づいて、
前記判定の対象となった工具番号の変更を指令するチェ
ック手段とを備え、 前記一定の基準とは、前記加工プログラムで使用する工
具及び、前記工具マガジンの各ポットに装着されている
工具の、全部または一部の中で最大の工具最大部分径を
前記工具データ記憶手段より検索し、その工具最大部分
径と、前記工具マガジンのポット間ピッチとから求めら
れた、工具を分類するための境界値である ことを特徴と
する数値制御装置。
1. At least one of a tool maximum part diameter of each tool used in one or a plurality of machining programs and a value of a pitch between pots of each pot of a tool magazine.
A tool storage means for storing the tool number of each tool set according to a classification determined in advance by an operator using a predetermined criterion based on the above, and a tool maximum part diameter of the tool corresponding to the tool number are stored. A tool data storage means , a tool used in the machining program, and a tool mounted in each pot of a tool magazine, targeting all or part of the tools, the maximum partial diameter of the tools, and the pot of each pot. Based on at least one of the values of the inter-pitch, a fixed criterion for classification is determined, and using the fixed criterion, the tool number of the tool of the machining program previously determined by the operator and The tool number of the tool attached to each pot of the tool magazine, to determine the correctness of all or part of the classification, based on the determination result,
The example Bei and check means for commanding a change of tool number as the object of determination, with the predetermined criteria, engineering to be used in the machining program
It is attached to the tool and each pot of the tool magazine
The maximum tool maximum part diameter of all or part of the tool
The largest part of the tool retrieved from the tool data storage means
Calculated from the diameter and the pitch between the pots of the tool magazine
Numerical control device characterized in that it is a boundary value for classifying tools .
【請求項2】 前記分類の正しさが判定された工具番号
に対して、所定の条件を用いて、前記判定の対象となっ
た工具番号に対応する工具を工具マガジンに装着した際
に、隣接工具と干渉しないように前記各ポット番号を決
定する編集手段を更に備えたことを特徴とする請求項
記載の数値制御装置。
2. The tool number for which the correctness of the classification has been determined is subject to the determination by using a predetermined condition.
The tool corresponding to the tool number when mounted on the tool magazine and, characterized in that it further comprises an editing means for determining the respective pot number so as not to interfere with the adjacent tool according to claim 1
Numerical controller according to.
JP19365993A 1993-08-04 1993-08-04 Numerical control unit Expired - Fee Related JP3489855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19365993A JP3489855B2 (en) 1993-08-04 1993-08-04 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19365993A JP3489855B2 (en) 1993-08-04 1993-08-04 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH0740173A JPH0740173A (en) 1995-02-10
JP3489855B2 true JP3489855B2 (en) 2004-01-26

Family

ID=16311638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19365993A Expired - Fee Related JP3489855B2 (en) 1993-08-04 1993-08-04 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3489855B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3974682B2 (en) * 1997-04-26 2007-09-12 森精機興産株式会社 Matrix-type tool magazine management device
JP2019136822A (en) * 2018-02-13 2019-08-22 オークマ株式会社 Tool control device
JP6797972B1 (en) * 2019-06-27 2020-12-09 Dmg森精機株式会社 Tool insertion assist device

Also Published As

Publication number Publication date
JPH0740173A (en) 1995-02-10

Similar Documents

Publication Publication Date Title
US4750105A (en) Automatic programming system including machining accuracy optimization
US4739488A (en) Machine tool with tool selection and work sequence determination
EP0089561B1 (en) Machine tool numerical controller with an interference checking function
US4591989A (en) System for displaying tool parameters of tools utilized in a machining process
JP2666642B2 (en) Tool designation method in NC automatic programming system
US4245316A (en) System for providing time control data in a numerical control system
WO2000038881A1 (en) Method and apparatus for providing numerical control information
EP0148273B1 (en) Numerical control apparatus
EP0207998A1 (en) Method of preparing nc data
GB2164878A (en) A machine tool for machining a workpiece by feeding a cutting tool in a series of discrete steps and related method
JP3489855B2 (en) Numerical control unit
US4972322A (en) Method for preparing numerical control data for a machine tool
EP0179919A1 (en) Numerical control system
JPH0573125A (en) Work monitoring system for nc machine tool
JPH02173803A (en) Machine maintenance check guiding device
EP0144435B1 (en) Numerical control apparatus with automatic tool determination function
US5029068A (en) NC data creation method
JPH0899252A (en) Hole machining positioning path preparation in cad/cam system
JP3532255B2 (en) Input data display method for interactive numerical controller
JP2606714B2 (en) Numerical control unit
US5239477A (en) Conversational-type programming apparatus classifying by color regions to be machined
JP2006163665A (en) Numerical control information verification system for numerically controlled working machine and method
JPH10113836A (en) Cutting tool checking method and device used for nc machine tool
JP3489292B2 (en) Tool management device in machining system
WO1985002693A1 (en) Tool-selecting method for automatic programming

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20091107

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101107

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees