JPH0740171A - Nc machine tool and confirmation of its tool information - Google Patents

Nc machine tool and confirmation of its tool information

Info

Publication number
JPH0740171A
JPH0740171A JP18291593A JP18291593A JPH0740171A JP H0740171 A JPH0740171 A JP H0740171A JP 18291593 A JP18291593 A JP 18291593A JP 18291593 A JP18291593 A JP 18291593A JP H0740171 A JPH0740171 A JP H0740171A
Authority
JP
Japan
Prior art keywords
tool
data
pot
support
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP18291593A
Other languages
Japanese (ja)
Other versions
JP2612225B2 (en
Inventor
Manabu Katsuki
木 学 勝
Takanobu Sato
藤 隆 信 佐
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.)
KAMAYA KK
Toshiba Corp
Hitachi Seiki Co Ltd
Original Assignee
KAMAYA KK
Toshiba Corp
Hitachi 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 KAMAYA KK, Toshiba Corp, Hitachi Seiki Co Ltd filed Critical KAMAYA KK
Priority to JP5182915A priority Critical patent/JP2612225B2/en
Publication of JPH0740171A publication Critical patent/JPH0740171A/en
Application granted granted Critical
Publication of JP2612225B2 publication Critical patent/JP2612225B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Abstract

PURPOSE:To facilitate the automatic confirming work for a tool by installing a plurality of tools having a memory element having the tool data built in, tool storing magazine in which a plurality of tool pots for the insertion of the tool are installed in a chained, form and a tool supporting body which has a plurality of tool pots and carries out the rotary dividing. CONSTITUTION:An NC machine tool is equipped with a tool data forming means which receives the tool No. used in the NC working program of an NC machine tool and the tool pot No. of a tool supporting body 12 and forms the tool data in the form permitting the input into a controller 9 and outputs the tool data to the controller. Further, a collation means for collation- confirming the tool data outputted from the tool data forming means and data read out by a reading-out means 10a, on the basis of a microprogram is installed. Then, the data of the memory element of a tool 13 fitted on the tool supporting body 12, tool No. used in the NC working program, and the tool pot NO. of the tool supporting body are collated by a collating means for each insertion pot of a tool rest.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、工具番号等の工具デ
ータを内蔵したメモリ素子を付与された複数の工具と、
この工具を挿着する複数の工具ポットを連鎖状に設けた
工具貯蔵マガジンと、複数の工具ポットを円環状に設け
回転割り出しを行う工具支持体と、前記工具貯蔵マガジ
ンと工具支持体との間で工具自動交換を行う工具自動交
換装置とを有するNC工作機械において、工具支持体の
ポット位置に挿着した工具の番号が正しいかどうかを確
認する工具情報確認方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of tools provided with a memory device containing tool data such as tool numbers,
Between the tool storage magazine in which a plurality of tool pots for inserting this tool are provided in a chain shape, the tool support for performing rotational indexing by providing a plurality of tool pots in an annular shape, and between the tool storage magazine and the tool support The present invention relates to a tool information confirmation method for confirming whether or not the number of a tool inserted in a pot position of a tool support is correct in an NC machine tool having an automatic tool changer for automatically changing tools.

【0002】[0002]

【従来の技術】NC工作機械には、工具番号等の工具デ
ータを内蔵したメモリ素子を付与された複数の工具と、
この工具を挿着する複数の工具ポットを連鎖状に設けた
工具貯蔵マガジンと、複数の工具ポットを円環状に設け
回転割り出しを行う工具支持体(例えば、回転割出可能
な刃物台)と、前記工具貯蔵マガジンと刃物台との間で
工具自動交換を行う工具自動交換装置とを有するものが
ある。かかるNC工作機械では工具交換指令により工具
貯蔵マガジンと刃物台との間で前記工具が自動交換され
ると、工具の工具長や工具径等の工具データは当然、前
工具と変わってくる。そこで、使用する工具の工具長あ
るいは工具径等のオフセットデータを工具オフセット番
号とを対応づけて工具オフセットファイルに予め記憶さ
せておき、工具交換時にはその工具の工具オフセット番
号をNC加工プログラムに挿入しておき、そのオフセッ
ト番号のオフセットデータを読み出して工具オフセット
を行い、加工を行う。
2. Description of the Related Art An NC machine tool includes a plurality of tools each provided with a memory device containing tool data such as a tool number.
A tool storage magazine in which a plurality of tool pots for inserting this tool are provided in a chain, and a tool support (for example, a tool rest that can be rotationally indexed) that performs rotational indexing by providing a plurality of tool pots in an annular shape, Some have an automatic tool changing device for automatically changing tools between the tool storage magazine and the tool rest. In such an NC machine tool, when the tool is automatically exchanged between the tool storage magazine and the tool rest according to the tool exchange command, the tool data such as the tool length and the tool diameter of the tool naturally changes from the previous tool. Therefore, the offset data such as the tool length or the tool diameter of the tool to be used is stored in advance in the tool offset file in association with the tool offset number, and when the tool is replaced, the tool offset number of the tool is inserted into the NC machining program. The offset data of the offset number is read out, tool offset is performed, and machining is performed.

【0003】ところで、前記NC工作機械で、通常、N
C加工プログラムの工具交換指令は、工具貯蔵マガジン
および刃物台の工具ポットの位置を示すポット番号を指
示することにより工具を呼出し工具交換を行う。また、
工具長(工具径)補正指令後に、その挿着された工具の
オフセット番号を指令することによりオフセットデータ
が読み出され加工が行われる。例えば、工具交換指令を
「M06 T01」と指令した場合、NC装置はポット
番号01の工具を呼び出し、工具交換を行う。その後、
工具径補正(G41,G42)、または工具長補正(G
43,G44,G49)が有効状態の時に工具番号に対
応するオフセット番号を指令すれば、オフセット番号の
オフセットデータで工具刃先がNC加工プログラムの指
示する移動位置に対応してシフトし、加工が行われる。
By the way, in the NC machine tool, normally, N
The tool exchange command of the C machining program calls a tool by performing a tool exchange by designating a pot number indicating the position of the tool storage magazine and the tool pot of the tool rest. Also,
After the tool length (tool diameter) correction command, the offset number of the inserted tool is commanded to read the offset data and perform the machining. For example, when the tool change instruction is “M06 T01”, the NC device calls the tool with the pot number 01 to perform the tool change. afterwards,
Tool radius correction (G41, G42) or tool length correction (G
43, G44, G49) when the offset number corresponding to the tool number is instructed while the tool is in the valid state, the tool cutting edge is shifted corresponding to the movement position instructed by the NC machining program by the offset data of the offset number, and machining is performed. Be seen.

【0004】しかし、工具ポットへの挿着作業とオフセ
ット入力作業、NC加工プログラム作成作業は、別々の
作業として行われるから、誤ってNC加工プログラムに
て指示している工具を、挿着すべき番号と異なる番号の
工具ポットに挿着してしまうと、その状態でNC加工プ
ログラムが実行されてしまい、被加工物の加工不良、被
加工物と工具との干渉などの不具合を生じるという問題
があった。
However, the work of inserting into the tool pot, the work of inputting the offset, and the work of creating the NC machining program are carried out as separate operations, so the tool which is erroneously instructed in the NC machining program should be inserted. If it is inserted into a tool pot with a number different from the number, the NC machining program will be executed in that state, resulting in problems such as defective machining of the workpiece and interference between the workpiece and the tool. there were.

【0005】[0005]

【発明が解決しようとする課題】そこで、従来は作業者
がNC加工プログラムにて使用する工具リストを参照し
ながら、工具ポットに挿着された工具の形状、寸法等を
目視によりチェックして正しいかどうかの確認を行って
いた。しかしながら、かかる目視チェックではミスが生
じる確率が高く、また工具支持体等の工具ポットを一々
目視チェックする作業に多大な時間がかかるという問題
があった。この発明は前記のような問題点を解決するた
めになされたもので、工具番号等の工具データを工具に
メモリ素子を付与する形で内蔵し、工具を自在に取付
け、取り外し可能とする工具貯蔵マガジンまたは工具支
持体を持つNC工作機械としたことを目的とする。また
このNC工作機械で加工ワークに応じた工具が工具貯蔵
マガジンまたは工具支持体に確実に挿着されているかど
うかを確認することを目的とする。更に、この発明は加
工ワークに応じた工具が工具貯蔵マガジンまたは工具支
持体に確実に挿着されているかどうかの確認時間の短縮
と確実な精度の向上を図ることを目的とする。
Therefore, conventionally, the operator visually checks the shape, size, etc. of the tool inserted into the tool pot while referring to the tool list used in the NC machining program, and correct it. I was confirming whether or not. However, there is a problem that such a visual check has a high probability of making a mistake, and that it takes a lot of time to visually check the tool pots such as the tool support. The present invention has been made to solve the above-mentioned problems, and it stores tool data such as a tool number in the form of giving a memory element to the tool so that the tool can be freely attached and detached. It is intended to be an NC machine tool having a magazine or a tool support. It is also an object of the present invention to confirm whether or not a tool according to the work to be machined is reliably inserted in the tool storage magazine or the tool support by this NC machine tool. A further object of the present invention is to shorten the confirmation time of whether the tool corresponding to the work piece is securely inserted in the tool storage magazine or the tool support and to improve the accuracy with certainty.

【0006】[0006]

【課題を解決するための手段】前記課題を解決するため
に、この発明は工具番号等の工具データを内蔵したメモ
リ素子を付与された複数の工具と、この工具を挿着する
複数の工具ポットを連鎖状に設けた工具貯蔵マガジン
と、複数の工具ポットを設け回転割り出しを行う工具支
持体と、前記工具貯蔵マガジンと工具支持体との間で工
具自動交換を行う工具自動交換装置とを有するNC工作
機械とした。このNC工作機械において、前記工具貯蔵
マガジンおよび工具支持体に設けられ、挿着された前記
工具のメモリ素子のデータを読み取るとともに、この読
み取ったデータをNC工作機械の制御装置へ送出する読
み取り手段と、前記NC工作機械のNC加工プログラム
で使用されている工具番号と前記工具支持体の工具ポッ
ト番号とが入力されるとともに、前記制御装置に入力可
能な形式の工具データを作成しその工具データを前記制
御装置に出力する工具データ作成手段と、この工具デー
タ作成手段に工具データを入力するための入力手段と、
前記工具データ作成手段から出力される工具データと前
記読み取り手段で読み取った工具データとをマクロプロ
グラムに基づき照合確認する照合手段とを有し、前記工
具支持体に挿着された工具のメモリ素子のデータと前記
NC加工プログラムで使用されている工具番号と前記工
具支持体の工具ポット番号とを前記照合手段にて照合確
認する際に刃物台の挿着ポット毎に順次行うことを特徴
とする。
In order to solve the above-mentioned problems, the present invention is directed to a plurality of tools provided with a memory element containing tool data such as a tool number, and a plurality of tool pots into which the tools are inserted. A tool storage magazine that is provided in a chain, a tool support that is provided with a plurality of tool pots and performs rotational indexing, and a tool automatic changer that automatically changes tools between the tool storage magazine and the tool support. NC machine tool. In this NC machine tool, a reading means is provided which is provided in the tool storage magazine and the tool support, reads the data of the memory element of the inserted tool, and sends the read data to the controller of the NC machine tool. , The tool number used in the NC machining program of the NC machine tool and the tool pot number of the tool support are input, and tool data of a format that can be input to the control device is created and the tool data is stored. Tool data creating means for outputting to the control device, input means for inputting tool data to the tool data creating means,
A memory device of the tool inserted into the tool support, and having a collating means for collating and confirming the tool data output from the tool data creating means and the tool data read by the reading means based on a macro program. When the data, the tool number used in the NC machining program, and the tool pot number of the tool support are collated and confirmed by the collating means, they are sequentially performed for each insertion pot of the tool rest.

【0007】また、この発明は前記工具貯蔵マガジンお
よび工具支持体に設けられ、挿着された前記工具のメモ
リ素子のデータを読み取るとともに、この読み取ったデ
ータをNC工作機械の制御装置へ送出する読み取り手段
と、前記NC工作機械のNC加工プログラムで使用され
ている工具番号と前記工具支持体の工具ポット番号とが
入力されるとともに、前記制御装置に入力可能な形式の
工具データを作成しその工具データを前記制御装置に出
力する工具データ作成手段と、この工具データ作成手段
に工具データを入力するための入力手段と、前記工具デ
ータ作成手段から出力される工具データと前記読み取り
手段で読み取った工具データとをマクロプログラムに基
づき照合確認する照合手段とを有し、前記工具支持体に
挿着された工具のメモリ素子のデータと前記NC加工プ
ログラムで使用されている工具番号と前記工具支持体の
工具ポット番号とを前記照合手段にて照合する際に前記
工具ポットから工具を脱着した工具ポットをシーケンサ
で記憶し、前記脱着した工具ポットのみ照合確認を行う
ことを特徴とする。
The present invention is also provided in the tool storage magazine and the tool support, and reads the data of the memory element of the inserted and attached tool, and sends the read data to the controller of the NC machine tool. Means, a tool number used in the NC machining program of the NC machine tool, and a tool pot number of the tool support, and tool data of a format that can be input to the control device are created and the tool is used. Tool data creating means for outputting data to the control device, input means for inputting tool data to the tool data creating means, tool data output from the tool data creating means, and a tool read by the reading means And a collating means for collating and confirming the data with a macro program based on the macro program, of the tool inserted into the tool support. When the data of the memory element, the tool number used in the NC machining program, and the tool pot number of the tool support are collated by the collating means, the tool pot in which the tool is detached from the tool pot is stored in the sequencer. However, the collation confirmation is performed only for the detached tool pot.

【0008】[0008]

【作用】前記の構成により、メモリ素子を用いた工具の
自動確認作業が、マクロプログラムとシーケンスプログ
ラムとを組み合わせたことによって容易になり、工具支
持体の全ての工具を順次照合確認する処理と工具ポット
から工具を脱着した工具ポットをシーケンサにて記憶し
ておき、前記脱着した工具ポットのみを照合する処理と
を使い分けることによって、照合確認する精度の向上と
照合確認時間の短縮が可能になった。
With the above construction, the automatic tool confirmation work using the memory device is facilitated by combining the macro program and the sequence program, and the processing and tool for sequentially checking and confirming all the tools on the tool support By storing the tool pot with the tool removed from the pot in the sequencer and using the process of collating only the detached tool pot, the accuracy of collation confirmation can be improved and the collation confirmation time can be shortened. .

【0009】[0009]

【実施例】この発明のNC工作機械およびその工具情報
確認方法の一実施例について、図面に基づき説明する。
図1はこの発明の工具情報確認方法を実施するNC装置
のブロック図である。なお、この実施例はNC旋盤に適
用した例を中心に説明する。1は主制御部である。2は
ROM部であり、基本制御ソフト、基本演算ソフト、加
工プログラム用基本ソフト、マクロ用システムソフト、
シーケンス制御ソフト等が記憶されている。3はRAM
部であり、加工プログラムや、確認マクロプログラムを
含むマクロプログラムや、工具交換の有無の記載(工具
交換有りの場合はフラグを立て(フラグ「1」)、工具
情報確認後はフラグを「0」に降ろして工具交換無しを
表示する)等をシーケンス制御で行うためのシーケンス
プログラム等が記憶されている。4は演算部であり、前
記加工プログラムの各指令を演算処理し、処理した結果
を各軸の制御部に送信する。5は各軸制御部、6は各軸
制御部5で処理したデータを増幅するアンプであり、M
はサーボモータである。7は処理したデータを表示する
CRT等の表示手段であり、7aは表示制御部である。
8はキーボード等の入力手段であり、8aは入力制御部
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an NC machine tool and its tool information confirmation method of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram of an NC device for carrying out the tool information confirmation method of the present invention. In addition, this embodiment will be described focusing on an example applied to an NC lathe. Reference numeral 1 is a main control unit. Reference numeral 2 denotes a ROM section, which is basic control software, basic calculation software, basic software for machining programs, system software for macros,
Sequence control software and the like are stored. 3 is RAM
It is a part, and includes a machining program, a macro program including a confirmation macro program, and a description of the presence or absence of tool change (if there is tool change, a flag is set (flag "1"), and after checking the tool information, the flag is "0". A sequence program or the like is stored for performing sequence control such as unloading and displaying no tool change). An arithmetic unit 4 arithmetically processes each command of the machining program and transmits the processed result to the control unit of each axis. 5 is each axis control unit, 6 is an amplifier for amplifying the data processed by each axis control unit 5, and M
Is a servo motor. Reference numeral 7 is a display means such as a CRT for displaying the processed data, and 7a is a display controller.
Reference numeral 8 is an input means such as a keyboard, and 8a is an input control unit.

【0010】9は入出力制御部であり、この入出力制御
部9には後述するIDコントローラ10や刃物台制御部
11が接続され、IDコントローラ10や刃物台制御部
11の制御を行う。12は工具ポットを円環状に複数有
し所望の工具ポットを回転割り出し可能な刃物台(工具
支持体)である。13は工具であり、この工具13は工
具ID(Identification)番号をメモリ素子13b内に
有している。14はシーケンサ、15は工具ポットを連
鎖状に収納する工具貯蔵マガジンを有し、16はその工
具貯蔵マガジン15と刃物台12の工具との工具交換を
行う工具交換装置を示している。10aは工具13のツ
ールホルダー13aに埋め込まれたメモリ素子13bを
読み取るID読取センサーであり、読取センサー10a
にて読み取ったメモリ素子のデータをIDコントローラ
10を介して入出力制御部9に送信する。なお、ID読
取センサー10aはテールストック取付けスライド等に
組み込まれている。また、ID読取センサー10aは非
接触でメモリ素子のデータを読み取るもので、公知の電
磁結合方式を用いている。また、主制御部1はROM部
2、RAM部3に記憶された加工プログラムの各指令に
基づき刃物台12の刃物台制御部11とIDコントロー
ラ10との信号の授受を行い、シーケンスプログラムに
よってシーケンサー14内の各種機器のシーケンス制御
を行い、同様にマクロ用システムソフトおよびマクロプ
ログラムによって、工具の確認マクロプログラムの実行
を行う。この発明に必要な工具情報の照合部分は前記確
認マクロプログラムによって作成され、工具交換の実績
位置の確認や比較、判断はシーケンスプログラムによっ
て行われる。
An input / output control unit 9 is connected to an ID controller 10 and a tool post control unit 11 which will be described later, and controls the ID controller 10 and the tool post control unit 11. Reference numeral 12 denotes a tool rest (tool support) having a plurality of tool pots in an annular shape and capable of rotationally indexing a desired tool pot. 13 is a tool, and this tool 13 has a tool ID (Identification) number in the memory element 13b. Reference numeral 14 is a sequencer, 15 is a tool storage magazine for storing tool pots in a chain, and 16 is a tool exchanging device for exchanging tools between the tool storage magazine 15 and the tools of the tool rest 12. Reference numeral 10a is an ID reading sensor for reading the memory element 13b embedded in the tool holder 13a of the tool 13, and the reading sensor 10a
The data of the memory element read in 1 is transmitted to the input / output control unit 9 via the ID controller 10. The ID reading sensor 10a is incorporated in a slide for attaching the tail stock or the like. The ID reading sensor 10a reads the data of the memory element in a non-contact manner and uses a known electromagnetic coupling method. Further, the main control unit 1 sends and receives signals between the tool post control unit 11 of the tool post 12 and the ID controller 10 based on each command of the machining program stored in the ROM unit 2 and the RAM unit 3, and the sequencer is executed by the sequence program. The sequence control of various devices in 14 is performed, and similarly, the tool confirmation macro program is executed by the macro system software and the macro program. The collating portion of the tool information necessary for the present invention is created by the confirmation macro program, and the actual position of tool exchange is confirmed, compared, and judged by the sequence program.

【0011】この発明の第1の方法は刃物台12の各工
具ポットを01から順次呼出し、全工具ポット内の工具
番号を確認するものである。例えば、第1の方法は加工
プログムに下記のプログラムを挿入する。 M81 …IDデータ読み込み有効Mコード T0100 …工具ポット番号01の加工位置割
出指令 T0200 …工具ポット番号02の加工位置割
出指令 M82 …01IDデータ読み込みと確認マ
クロ呼出しのMコード T0300 …工具ポット番号03の加工位置割
出指令 M82 …02IDデータ読み込みと確認マ
クロ呼出しのMコード T1000 …工具ポット番号10の加工位置割
出指令 M82 …09IDデータ読み込みと確認マ
クロ呼出しのMコード M82 …10IDデータ読み込みと確認マ
クロ呼出しのMコード M83 …IDデータ読み込み無効Mコード ・ 「M81」指令はIDデータ読み込み有効のMコードを
意味し、この指令は後述する「M83」が指令されるま
で有効である。「M82」指令はIDデータ読み込みの
Mコードを意味し、「M82」を指令することで、工具
加工位置にある工具のメモリ素子の情報を読み込むとと
もに、「M82」で工具確認のマクロプログラムを呼出
し、NCパラメータ例えば「6130」にデータを設定
し、加工プログラムに指令された工具ポットの工具番号
と工具内メモリ素子のIDデータとを照合し、不一致で
あればアラームコードを出力するという工具確認のマク
ロプログラムを実行する。「M83」指令はIDデータ
読み込み無効のMコードを意味し、この指令はIDデー
タの読み込みを無効にするとともに、シーケンス側のツ
ール変更メモリをチェックし、まだ照合していないツー
ルがあれば、シーケンス側でアラームとしプログラムを
休止します。
The first method of the present invention is to sequentially call each tool pot of the tool rest 12 from 01 and confirm the tool numbers in all tool pots. For example, the first method inserts the following program into the processing program. M81 ... ID data reading valid M code T0100 ... machining position indexing command for tool pot number 01 T0200 ... machining position indexing command for tool pot number 02 M82 ... 01 M code for reading ID data and confirming macro T0300 ... tool pot number 03 Machining position indexing command M82 ... 02 M code of ID data reading and confirmation macro call T1000 ... Machining position indexing command of tool pot number 10 M82 ... 09 ID data reading and confirmation Macro code M code M82 ... 10 ID data reading and confirmation macro Calling M code M83 ... ID data reading invalid M code-The "M81" command means an ID data reading valid M code, and this command is valid until "M83" described later is commanded. The "M82" command means an M code for reading ID data, and by instructing "M82", the information of the memory element of the tool at the tool machining position is read, and the macro program for tool confirmation is called by "M82". , NC parameter, for example, “6130” is set, the tool number of the tool pot commanded by the machining program is compared with the ID data of the memory element in the tool, and if they do not match, an alarm code is output. Execute a macro program. The "M83" command means an M code that is invalid for reading ID data. This command disables reading of ID data, checks the tool change memory on the sequence side, and if there is a tool that has not been verified, the sequence The alarm is set on the side and the program is suspended.

【0012】図2はこの発明の工具情報確認処理の流れ
図である。この流れ図に従ってこの発明の処理を説明す
る。なお、この発明の第1の方法を用いて刃物台の工具
全てを順次確認するのか、あるいはこの発明の第2の方
法を用いて工具交換の実績のある必要部のみ確認するの
かが決定され予め加工プログラム内に記憶されているも
のとする。主制御部1はRAM部3より加工プログラム
を読み取り、工具情報確認処理がこの発明の第1の方法
を用いて刃物台の工具全てを順次確認するのか、あるい
はこの発明の第2の方法を用いて工具交換の実績のある
必要部のみ確認するのかを判断する(ステップ10
1)。判断の結果、順次確認であればステップ103以
降の処理を行い、必要部のみ確認であれば、刃物台の工
具ポット番号毎にテーブルの中でツール変更フラグが立
っている(フラグ「1」)場合はマクロプログラム内の
UI(12)に通知し、確認マクロプログラム実行の条
件とする(ステップ102)。なお、必要部のみ確認
で、ツール変更フラグが立っていなければ、確認マクロ
プログラムは実行せず、直接加工プログラムを実行す
る。
FIG. 2 is a flow chart of the tool information confirmation processing of the present invention. The process of the present invention will be described with reference to this flowchart. In addition, it is determined in advance whether all tools of the tool post are to be sequentially confirmed by using the first method of the present invention or only necessary portions having a track record of tool exchange are confirmed by using the second method of the present invention. It shall be stored in the machining program. Whether the main control unit 1 reads the machining program from the RAM unit 3 and the tool information confirmation process sequentially confirms all the tools of the tool post using the first method of the present invention, or uses the second method of the present invention. Determine whether to confirm only the necessary parts that have a track record of tool replacement (step 10).
1). As a result of the judgment, if it is a sequential check, the process from step 103 is performed, and if only the necessary parts are checked, a tool change flag is set in the table for each tool pot number of the tool post (flag "1"). In this case, the UI (12) in the macro program is notified and used as a condition for executing the confirmation macro program (step 102). If only the necessary part is confirmed and the tool change flag is not set, the confirmation macro program is not executed and the machining program is directly executed.

【0013】次にID読み取り有効のMコード「M8
1」を先頭に指令し、キャンセルのMコード「M83」
を最後に挿入する。ここで順次確認の場合は工具ポット
1面から順にT指令にて呼び出し、クランプ完了でID
情報を読み取り、シーケンサーが工具情報を記憶したら
マクロプログラムによる照合処理を行い、同時に次の工
具ポットの読み出しを行う。Mコード「M81」指令が
入っている場合に限り、アンクランプ開始でT指令の完
了をあげる。次のT指令開始の条件に、シーケンサーに
よるIDの工具データの記憶完了を入力する。2面呼出
し以降はT指令の後にMコード「M82」指令を入力
し、マクロプログラムによる照合確認開始を通知する
(ステップ103)。照合確認処理(ステップ104)
の結果、IDデータが正常でなければ、アラームを発生
し確認マクロプログラムを休止する(ステップ10
5)。ステップ104の結果、正常であれば刃物台の工
具ポット番号毎のテーブルの中のツール変更フラグを下
ろし(フラグ「0」、ステップ106)、ステップ10
3からステップ106までの処理を繰り返す。
Next, the M code "M8" for ID reading is valid.
"1" at the beginning, cancel M code "M83"
Is inserted at the end. In case of sequential confirmation, call from the tool pot 1 side by T command in sequence, and ID when clamp is completed.
When the information is read and the sequencer stores the tool information, the matching process is performed by the macro program, and at the same time, the next tool pot is read. Only when the M code "M81" command is entered, the completion of the T command is given by starting unclamping. As the condition for starting the next T command, the completion of storing the tool data of the ID by the sequencer is input. After the second call, the M code "M82" command is input after the T command to notify the start of the collation confirmation by the macro program (step 103). Collation confirmation processing (step 104)
As a result, if the ID data is not normal, an alarm is generated and the confirmation macro program is suspended (step 10).
5). If the result of step 104 is normal, the tool change flag in the table for each tool pot number of the tool post is lowered (flag "0", step 106), and step 10
The processing from 3 to step 106 is repeated.

【0014】必要部のみ確認の場合も順次確認の場合同
様、ID読み取り有効のMコード「M81」を先頭に指
令し、キャンセルのMコード「M83」を最後に挿入す
る。次に入れ替わるべき工具ポット番号の呼出しをマク
ロプログラムにて行い、その工具ポットの工具データを
ID情報と比較する。なお、2つ目のT指令の後にMコ
ード「M82」指令を2つプログラムする(ステップ1
03)。ステップ104、ステップ105、ステップ1
06は順次確認の場合同様の処理を行う。全ポットある
いは必要部のポットの工具を確認したらMコード「M8
3」指令を指令し(ステップ107)、工具情報確認処
理がこの発明の第1の方法を用いて刃物台の工具全てを
順次確認するのか、あるいはこの発明の第2の方法を用
いて工具交換の実績のある必要部のみ確認するのかを判
断する(ステップ108)。判断の結果、順次確認であ
れば確認マクロプログラムを終了し、加工プログラムを
実行する。一方、必要部のみ確認であれば、シーケンス
メモリ照合チェックを行い(ステップ109)、異常が
あれば、アラームを発生し確認マクロプログラムを休止
する(ステップ110)。ステップ109の結果、正常
であれば、シーケンサーは記憶部をクリアし、UI(1
2)を「0」とし(ステップ111)、確認マクロプロ
グラムを終了し、加工プログラムを実行する。
In the case of confirming only the necessary parts, as in the case of sequential confirmation, the M code "M81" for ID reading is instructed at the beginning, and the M code "M83" for cancellation is inserted at the end. Next, the macro program calls the tool pot number to be replaced, and compares the tool data of the tool pot with the ID information. Two M code “M82” commands are programmed after the second T command (step 1
03). Step 104, Step 105, Step 1
At 06, similar processing is performed in the case of sequential confirmation. If you check the tools of all pots or pots of required parts, M code "M8
3 ”command (step 107) and whether the tool information confirmation process sequentially confirms all the tools of the tool post using the first method of the present invention or the tool exchange using the second method of the present invention. It is determined whether or not to confirm only the necessary parts having a track record of (step 108). If the result of the determination is that the confirmation is sequential, the confirmation macro program is terminated and the machining program is executed. On the other hand, if only the necessary portion is confirmed, the sequence memory collation check is performed (step 109), and if there is an abnormality, an alarm is generated and the confirmation macro program is suspended (step 110). If the result of step 109 is normal, the sequencer clears the storage unit, and the UI (1
2) is set to "0" (step 111), the confirmation macro program is terminated, and the machining program is executed.

【0015】なお、この発明においてはIDコントロー
ラ10によるID読み取りや刃物台制御部11による工
具割り出しを順々に行うと多大の時間を要するため、主
制御部1は工具割り出し指令中にIDコントローラ10
によるID読み取り処理を行う。工具確認時の工具確認
本数を最小限にするため、作業者が工具交換時に工具を
交換したという情報をシーケンサーが自動的に記憶し、
主制御部1は前回のマクロ変数に登録された工具情報と
今回の工具情報とを比較し、不一致の工具ポットのみI
D読み取り動作を行う。この場合、シーケンサーの交換
ポット番号と交換回数等の情報とNCの主制御部1との
問い合わせが一致すれば正常とみなし次の指令を実行す
る。また不一致の場合は異常としてアラームを発生す
る。
In the present invention, if the ID reading by the ID controller 10 and the tool indexing by the tool rest control section 11 are performed in sequence, it takes a lot of time, so the main control section 1 sends the ID controller 10 during the tool indexing command.
ID reading processing is performed. In order to minimize the number of tool confirmations when checking tools, the sequencer automatically stores the information that the worker changed tools when changing tools,
The main control unit 1 compares the tool information registered in the previous macro variable with the tool information of this time, and only the tool pots that do not match are I
D Read operation is performed. In this case, if the information such as the exchange pot number and the number of exchanges of the sequencer and the inquiry of the main controller 1 of the NC match, it is regarded as normal and the next command is executed. If they do not match, an alarm is generated as an error.

【0016】工具確認が正常に終了した時点で主制御部
1は、工具情報をマクロ変数入替え等により更新を行
う。異常が発生した場合は、作業者が処置した後、サイ
クルスタートONにして、自動的に刃物台全ての工具ポ
ットを連続して順次工具確認を行う。同一ワークを連続
して加工する場合には、工具確認を行わない。但し、加
工プログラムの先頭で作業者が工具交換していないこと
をシーケンサーの記憶と照合して正常であれば加工を行
い、異常であればアラームを発生する。この実施例にお
いては、NC旋盤に適用する例で説明したが、この発明
はマシニングセンタにポット等の含まれるNC機械に適
用可能で、また、複数の機械構成のシステムにも適用す
ることが可能である。
When the tool confirmation is normally completed, the main controller 1 updates the tool information by replacing macro variables. If an abnormality occurs, the operator takes action, then the cycle start is turned ON, and the tool pots of all the tool rests are automatically continuously and sequentially checked. When machining the same work continuously, no tool check is performed. However, at the beginning of the machining program, the fact that the operator has not changed the tool is checked against the memory of the sequencer to perform machining if normal, and an alarm is generated if abnormal. In this embodiment, the example applied to the NC lathe has been described, but the present invention can be applied to an NC machine in which a machining center includes a pot or the like, and can also be applied to a system having a plurality of machine configurations. is there.

【0017】[0017]

【発明の効果】以上説明したようにこの発明によれば、
従来困難であったメモリ素子を用いた工具の自動確認作
業が、マクロプログラムとシーケンスプログラムとを組
み合わせたことによって容易になり、刃物台の全ての工
具を順次照合確認する処理と工具ポットから工具を脱着
した工具ポットをシーケンサにて記憶しておき、前記脱
着した工具ポットのみを照合する処理とを使い分けるこ
とによって、照合確認する精度の向上と照合確認時間の
短縮が可能になった。
As described above, according to the present invention,
Automatically confirming a tool using a memory element, which was difficult in the past, is facilitated by combining a macro program and a sequence program.The process of sequentially checking and confirming all tools on the tool post and the tool from the tool pot By storing the detached tool pot in the sequencer and selectively using the process of collating only the detached tool pot, the precision of the collation confirmation can be improved and the collation confirmation time can be shortened.

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

【図1】この発明の工具情報確認方法を実施するNC装
置のブロック図である。
FIG. 1 is a block diagram of an NC device that implements a tool information confirmation method of the present invention.

【図2】この発明の工具情報確認処理の流れ図である。FIG. 2 is a flow chart of a tool information confirmation process of the present invention.

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

1…主制御部 2…ROM部 3…RAM部 9…入出力制御部 10…IDコントローラ 11…刃物台制御部 12…刃物台(工具支持体) 13…工具 14…シーケンサ 15…工具貯蔵マガジン 1 ... Main control part 2 ... ROM part 3 ... RAM part 9 ... Input / output control part 10 ... ID controller 11 ... Tool post control part 12 ... Tool post (tool support) 13 ... Tool 14 ... Sequencer 15 ... Tool storage magazine

フロントページの続き (72)発明者 佐 藤 隆 信 千葉県我孫子市我孫子1番地 日立精機株 式会社内Front page continuation (72) Inventor Takanobu Sato 1 Abiko, Abiko, Chiba Hitachi Seiki Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 工具番号等の工具データを内蔵したメモ
リ素子を付与された複数の工具と、この工具を挿着する
複数の工具ポットを連鎖状に設けた工具貯蔵マガジン
と、複数の工具ポットを設け回転割り出しを行う工具支
持体と、 前記工具貯蔵マガジンと工具支持体との間で工具自動交
換を行う工具自動交換装置とを有することを特徴とする
NC工作機械。
1. A plurality of tools provided with a memory device having built-in tool data such as a tool number, a tool storage magazine having a plurality of tool pots into which the tools are inserted and attached, and a plurality of tool pots. An NC machine tool comprising: a tool support for providing a rotary index and a tool automatic changing device for automatically changing the tool between the tool storage magazine and the tool support.
【請求項2】 前記工具貯蔵マガジンおよび工具支持体
に設けられ、挿着された前記工具のメモリ素子のデータ
を読み取るとともに、この読み取ったデータをNC工作
機械の制御装置へ送出する読み取り手段と、前記NC工
作機械のNC加工プログラムで使用されている工具番号
と前記工具支持体の工具ポット番号とが入力されるとと
もに、前記制御装置に入力可能な形式の工具データを作
成しその工具データを前記制御装置に出力する工具デー
タ作成手段と、この工具データ作成手段に工具データを
入力するための入力手段と、前記工具データ作成手段か
ら出力される工具データと前記読み取り手段で読み取っ
た工具データとをマクロプログラムに基づき照合確認す
る照合手段とを有し、 前記工具支持体に挿着された工具のメモリ素子のデータ
と前記NC加工プログラムで使用されている工具番号と
前記工具支持体の工具ポット番号とを前記照合手段にて
照合確認する際に刃物台の挿着ポット毎に順次行うこと
を特徴とする請求項1記載の工具情報確認方法。
2. A reading means which is provided in the tool storage magazine and the tool support, reads data in a memory element of the inserted and attached tool, and sends the read data to a controller of an NC machine tool, The tool number used in the NC machining program of the NC machine tool and the tool pot number of the tool support are input, and tool data in a format that can be input to the control device is created and the tool data is stored as described above. Tool data creating means for outputting to the control device, input means for inputting tool data to the tool data creating means, tool data output from the tool data creating means and tool data read by the reading means And a collating means for collating and confirming based on the macro program. And the tool number used in the NC machining program and the tool pot number of the tool support are collated and confirmed by the collating means, sequentially for each insertion pot of the tool post. The tool information confirmation method described in item 1.
【請求項3】 前記工具貯蔵マガジンおよび工具支持体
に設けられ、挿着された前記工具のメモリ素子のデータ
を読み取るとともに、この読み取ったデータをNC工作
機械の制御装置へ送出する読み取り手段と、前記NC工
作機械のNC加工プログラムで使用されている工具番号
と前記工具支持体の工具ポット番号とが入力されるとと
もに、前記制御装置に入力可能な形式の工具データを作
成しその工具データを前記制御装置に出力する工具デー
タ作成手段と、この工具データ作成手段に工具データを
入力するための入力手段と、前記工具データ作成手段か
ら出力される工具データと前記読み取り手段で読み取っ
た工具データとをマクロプログラムに基づき照合確認す
る照合手段とを有し、 前記工具支持体に挿着された工具のメモリ素子のデータ
と前記NC加工プログラムで使用されている工具番号と
前記工具支持体の工具ポット番号とを前記照合手段にて
照合する際に前記工具ポットから工具を脱着した工具ポ
ットをシーケンサで記憶し、前記脱着した工具ポットの
み照合確認を行うことを特徴とする請求項1記載の工具
情報確認方法。
3. A reading means which is provided in the tool storage magazine and the tool support, reads data in a memory element of the inserted and inserted tool, and sends the read data to a controller of an NC machine tool. The tool number used in the NC machining program of the NC machine tool and the tool pot number of the tool support are input, and tool data in a format that can be input to the control device is created and the tool data is stored as described above. Tool data creating means for outputting to the control device, input means for inputting tool data to the tool data creating means, tool data output from the tool data creating means and tool data read by the reading means And a collating means for collating and confirming based on the macro program. And a tool number used in the NC machining program and the tool pot number of the tool support are collated by the collating means, the tool pot in which the tool is detached from the tool pot is stored in the sequencer, and 2. The tool information confirmation method according to claim 1, wherein only the detached tool pot is collated and confirmed.
JP5182915A 1993-07-23 1993-07-23 NC machine tools Expired - Fee Related JP2612225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5182915A JP2612225B2 (en) 1993-07-23 1993-07-23 NC machine tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5182915A JP2612225B2 (en) 1993-07-23 1993-07-23 NC machine tools

Publications (2)

Publication Number Publication Date
JPH0740171A true JPH0740171A (en) 1995-02-10
JP2612225B2 JP2612225B2 (en) 1997-05-21

Family

ID=16126615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5182915A Expired - Fee Related JP2612225B2 (en) 1993-07-23 1993-07-23 NC machine tools

Country Status (1)

Country Link
JP (1) JP2612225B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100402405B1 (en) * 1995-12-30 2004-01-07 대우종합기계 주식회사 Substitute tool control method making use of macro program
JP2009123209A (en) * 2007-11-12 2009-06-04 Siemens Ag Method and device for operating machine tool
WO2013100339A1 (en) * 2011-12-26 2013-07-04 두산인프라코어 주식회사 Apparatus and method for controlling tool exchanges
KR101295925B1 (en) * 2006-12-14 2013-08-13 두산인프라코어 주식회사 Tool identify device of tool magazine
JP2020015143A (en) * 2018-07-26 2020-01-30 ファナック株式会社 Tool management system, tool management device and tool management method
DE112015003887B4 (en) 2014-08-26 2023-08-03 Mitsubishi Heavy Industries, Ltd. Control device, system and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0482640A (en) * 1990-07-24 1992-03-16 Okuma Mach Works Ltd Numerical control device
JPH0487748A (en) * 1990-07-31 1992-03-19 Okuma Mach Works Ltd Automatic tool exchanger
JPH04152042A (en) * 1990-10-16 1992-05-26 Nakamuratome Seimitsu Kogyo Kk Tool exchanger for turret lathe

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0482640A (en) * 1990-07-24 1992-03-16 Okuma Mach Works Ltd Numerical control device
JPH0487748A (en) * 1990-07-31 1992-03-19 Okuma Mach Works Ltd Automatic tool exchanger
JPH04152042A (en) * 1990-10-16 1992-05-26 Nakamuratome Seimitsu Kogyo Kk Tool exchanger for turret lathe

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100402405B1 (en) * 1995-12-30 2004-01-07 대우종합기계 주식회사 Substitute tool control method making use of macro program
KR101295925B1 (en) * 2006-12-14 2013-08-13 두산인프라코어 주식회사 Tool identify device of tool magazine
JP2009123209A (en) * 2007-11-12 2009-06-04 Siemens Ag Method and device for operating machine tool
WO2013100339A1 (en) * 2011-12-26 2013-07-04 두산인프라코어 주식회사 Apparatus and method for controlling tool exchanges
CN104023908A (en) * 2011-12-26 2014-09-03 斗山英维高株式会社 Apparatus And Method For Controlling Tool Exchanges
DE112015003887B4 (en) 2014-08-26 2023-08-03 Mitsubishi Heavy Industries, Ltd. Control device, system and control method
JP2020015143A (en) * 2018-07-26 2020-01-30 ファナック株式会社 Tool management system, tool management device and tool management method

Also Published As

Publication number Publication date
JP2612225B2 (en) 1997-05-21

Similar Documents

Publication Publication Date Title
EP0413921B1 (en) Numerical controller
EP1758004A2 (en) NC Machine Tool
EP0415445B1 (en) Sequence control apparatus having separate sequence memory and interlock condition memory
WO2000011528A1 (en) Method and apparatus for nc machining support
EP2919082B1 (en) NC program creating device
JPH0740171A (en) Nc machine tool and confirmation of its tool information
JPH01308185A (en) Motor controller
JP2021053744A (en) Control device of machine tool
JPH03177903A (en) Method and device for production of nc working data
JP4709173B2 (en) NC machine tool
EP0113682B1 (en) Numerical control system and method
JPS58175010A (en) Graphic display method of numerical controller for 4-axis lathe
US5654618A (en) Process for the two-dimensional determination of a work-area contour for lathes
US5029068A (en) NC data creation method
JPH07237067A (en) Tool control device
JPS61173842A (en) Numerical control device
JPH02172646A (en) Numerical control device
JP3092744B2 (en) Processing system
EP0328665B1 (en) Numerical controller
JPH11165239A (en) Numerical control data editing device and editing method of numerical control data
JP2001259970A (en) Machine tool with built-in tool presetter
KR0155745B1 (en) Automatic establishment method of 2 axis origin off set
US6584515B1 (en) NC controlling system with independent programs for appended equipment
JPS58119006A (en) Program control method of numerical control machine tool
JPH03190641A (en) Nc machine tool

Legal Events

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