JPH08243869A - Numerical control device - Google Patents
Numerical control deviceInfo
- Publication number
- JPH08243869A JPH08243869A JP7054799A JP5479995A JPH08243869A JP H08243869 A JPH08243869 A JP H08243869A JP 7054799 A JP7054799 A JP 7054799A JP 5479995 A JP5479995 A JP 5479995A JP H08243869 A JPH08243869 A JP H08243869A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- magazine
- information
- dnc
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003754 machining Methods 0.000 claims description 22
- 238000000034 method Methods 0.000 abstract description 56
- 238000012545 processing Methods 0.000 description 33
- 230000005856 abnormality Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 10
- 101100206390 Caenorhabditis briggsae tag-125 gene Proteins 0.000 description 7
- 101100102886 Caenorhabditis elegans wdr-5.1 gene Proteins 0.000 description 7
- 238000003780 insertion Methods 0.000 description 7
- 230000037431 insertion Effects 0.000 description 7
- 238000012546 transfer Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000012467 final product Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 101100327917 Caenorhabditis elegans chup-1 gene Proteins 0.000 description 1
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Automatic Tool Replacement In Machine Tools (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、工具マガジンを備えた
工作機械の数値制御装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device for a machine tool having a tool magazine.
【0002】[0002]
【従来の技術】マシニングセンタ等の工作機械において
は、工作物を加工するための工具を工作機械の工具マガ
ジンに複数保有し、工具の自動交換を行いながら加工を
行う。しかし、多種類の加工を行う場合には、工具マガ
ジン内の工具だけでは不足する場合があり、こういった
場合には作業者が工具マガジン内の不要な工具を取り外
し、必要な工具を取り付けるようにしている。また、前
記マシニングセンタを複数配設したFMS等において
は、各マシニングセンタの工具マガジン内に保有されて
いる工具の管理は各マシニングセンタのNC装置を統括
して制御しているDNC装置にて管理されるようになっ
ている。2. Description of the Related Art In a machine tool such as a machining center, a plurality of tools for machining a workpiece are held in a tool magazine of the machine tool and machining is performed while automatically exchanging the tools. However, when performing many types of machining, the tools in the tool magazine may not be enough.In such a case, the operator should remove unnecessary tools in the tool magazine and attach the necessary tools. I have to. Further, in an FMS or the like having a plurality of machining centers, the management of the tools held in the tool magazine of each machining center is managed by the DNC device which controls the NC device of each machining center. It has become.
【0003】上述した場合の作業者による工具交換作業
を図面に基づき説明する。図15は従来のマシニングセ
ンタシステムを示した全体構成図である。10はマシニ
ングセンタであり、床面もしくは適宜取付面に固定され
たベッド12上にコラム13がZ軸方向(図15の左右
方向)およびX軸方向(図15の紙面に垂直な方向)に
移動可能に設けられている。また、コラム13には工具
Tを着脱可能に支持し回転する主軸14がY軸方向(図
15の上下方向)に移動可能に設けられている。そし
て、主軸14に取り付けられた工具Tによってベッド1
2上のテーブル19に支持された工作物Wの加工を行う
ようになっている。The tool changing work by the worker in the above case will be described with reference to the drawings. FIG. 15 is an overall configuration diagram showing a conventional machining center system. 10 is a machining center, and a column 13 can be moved on a bed 12 fixed to a floor surface or an appropriate mounting surface in a Z-axis direction (left-right direction in FIG. 15) and an X-axis direction (direction perpendicular to the paper surface in FIG. 15). It is provided in. A main shaft 14 that detachably supports the tool T and that rotates is provided on the column 13 so as to be movable in the Y-axis direction (vertical direction in FIG. 15). Then, the bed 1 is moved by the tool T attached to the spindle 14.
The work W supported by the table 19 on the upper part 2 is processed.
【0004】コラム13を囲むフレーム11の側面には
工具マガジン16が取り付けられており、複数の工具T
がポットPに保管されている。15は工具交換装置であ
り、工具マガジン16の第1工具交換位置16aに割り
出された工具Tと主軸14に取り付けられた工具Tを交
換アーム15aにて交換するようになっている。また、
工具マガジン16内の次加工に不必要な工具Tと次加工
に必要な工具Tとの交換は工具マガジン16後方の第2
工具交換位置16bにて行われ、この第2工具交換位置
16bに割り出されたポットPに作業者が工具Tを直接
抜き差しすることにより行われる。ところで、工具Tに
は、図2に示すように、その工具Tの工具情報(工具管
理番号、補正値、工具寿命等)を書込み可能なIDチッ
プCが取り付けられており、前記第2工具交換位置16
bに設けられたIDタグ25にて工具情報の読み書きが
なされるようになっている。A tool magazine 16 is attached to the side surface of the frame 11 surrounding the column 13, and a plurality of tools T are provided.
Are stored in the pot P. Reference numeral 15 denotes a tool changer, which is designed to change the tool T indexed at the first tool change position 16a of the tool magazine 16 and the tool T attached to the spindle 14 by the change arm 15a. Also,
The tool T which is unnecessary for the next processing in the tool magazine 16 and the tool T required for the next processing are replaced by the second tool behind the tool magazine 16.
The operation is performed at the tool exchange position 16b, and the operation is performed by the operator directly inserting or removing the tool T into or from the pot P indexed to the second tool exchange position 16b. By the way, the tool T is attached with an ID chip C capable of writing the tool information (tool management number, correction value, tool life, etc.) of the tool T, as shown in FIG. Position 16
Tool information can be read and written by the ID tag 25 provided in b.
【0005】また、図3に示すようにマシニングセンタ
10の周囲にはマシニングセンタ10およびテーブル1
9の全体を覆うカバー40が設けられている。このカバ
ー40には工具マガジン16の第2工具交換位置16b
に対向する位置に開閉可能な扉41が設けられており、
工具交換時に作業者が手動にて開閉するようになってい
る。この扉41には開閉状態を検出する開閉センサ42
と扉41の開放を規制する電磁ロック43が設けられて
おり、開閉センサ42による扉41の開閉状態の検出お
よび電磁ロック43による扉41の開放の規制は後述す
るプログラマブルコントローラ23にて行われるように
なっている。さらに、カバー40には作業者が工具交換
を開始しても良い旨を知らせるランプ44が取り付けら
れている。Further, as shown in FIG. 3, the machining center 10 and the table 1 are provided around the machining center 10.
A cover 40 that covers the entire 9 is provided. The cover 40 has a second tool replacement position 16b of the tool magazine 16
A door 41 that can be opened and closed is provided at a position facing
An operator manually opens and closes when changing tools. The door 41 has an open / close sensor 42 for detecting the open / closed state.
An electromagnetic lock 43 for restricting the opening of the door 41 is provided, and detection of the open / closed state of the door 41 by the opening / closing sensor 42 and restriction of the opening of the door 41 by the electromagnetic lock 43 are performed by the programmable controller 23 described later. It has become. Further, a lamp 44 is attached to the cover 40 to inform the operator that the tool change may be started.
【0006】図15において、20はプログラマブルコ
ントローラ(以下、PCという)23を内蔵したNC装
置であり、PC23の指令信号に基づいてマシニングセ
ンタ10の加工動作、工具交換動作および工具マガジン
16の割り出し動作等を制御するようになっている。ま
た、NC装置20では工具マガジン16に保管されてい
る工具Tのそれぞれの前記工具情報を工具管理情報とし
て管理しており、加工によって変化する工具情報(例え
ば工具寿命)を時々刻々記憶している。この工具管理情
報は図4に示すようにマガジン番号と工具情報を対応さ
せて記憶している。In FIG. 15, reference numeral 20 denotes an NC device having a programmable controller (hereinafter referred to as PC) 23 built-in, and based on a command signal from the PC 23, a machining operation of the machining center 10, a tool changing operation, an indexing operation of the tool magazine 16, etc. To control. Further, the NC device 20 manages the tool information of each of the tools T stored in the tool magazine 16 as tool management information, and stores the tool information (for example, tool life) that changes due to machining moment by moment. . As shown in FIG. 4, this tool management information stores a magazine number and tool information in association with each other.
【0007】PC23には操作盤21が設けられてお
り、マガジン割り出しを開始する起動スイッチ21a
と、割り出すマガジン番号を設定するマガジン番号設定
スイッチ21bと、後述する工具交換の3つのモード
(「抜き」、「差し」、「交換」の3つのモード)を切
り替えるモード切換スイッチ21cが設けられ、各情報
をNC装置20に指令信号として出力するようになって
いる。さらに、上述した開閉センサ42による扉41の
開閉状態の検出、扉41の開放を規制する電磁ロック4
3の動作およびランプ44の点灯もPC23が行うよう
になっている。An operation panel 21 is provided on the PC 23, and a start switch 21a for starting the indexing of a magazine.
And a magazine number setting switch 21b for setting a magazine number to be indexed, and a mode changeover switch 21c for switching between three modes of tool change (three modes of "withdrawal", "insertion", and "replacement") described later. Each information is output to the NC device 20 as a command signal. Further, the electromagnetic lock 4 for detecting the open / closed state of the door 41 by the open / close sensor 42 and restricting the opening of the door 41.
The PC 23 also performs the operation 3 and the lighting of the lamp 44.
【0008】30はDNC装置であり、複数のマシニン
グセンタ10のNC装置20と接続されマシニングセン
タ10のシステム全体を中央制御すると共に、各マシニ
ングセンタ10の工具マガジン16に保有されている工
具Tの管理をマガジン情報として記憶している。このマ
ガジン情報とは、図17に示すように工具マガジン16
の何番のポットPにどの工具Tが保有されているかをマ
ガジン番号と工具識別番号を対応させて記憶している。Reference numeral 30 denotes a DNC device, which is connected to the NC devices 20 of a plurality of machining centers 10 to centrally control the entire system of the machining center 10 and to manage the tools T held in the tool magazine 16 of each machining center 10. It is stored as information. This magazine information refers to the tool magazine 16 as shown in FIG.
The number of the pot P in which the tool T is held is stored in association with the magazine number and the tool identification number.
【0009】また、DNC装置30は図略の生産管理装
置からの工作物の情報に応じて次加工に必要な工具Tを
求め、工具マガジン16に現在保有している工具Tと比
較することにより交換工具リストを作成し、図略のプリ
ンタから印刷するようになっている。この交換工具リス
トとは、図18に示すように、工具マガジン16に現在
保有している工具Tの工具管理番号である旧工具番号と
次加工に必要な工具Tの工具管理番号である新工具をマ
ガジン番号に対応させたリストであり、この交換工具リ
ストに従って作業者は工具交換の作業を行うようになっ
ている。Further, the DNC device 30 obtains the tool T required for the next machining according to the information of the workpiece from the production control device (not shown), and compares it with the tool T currently held in the tool magazine 16. A replacement tool list is created and printed from a printer (not shown). As shown in FIG. 18, this replacement tool list is an old tool number which is the tool management number of the tool T currently held in the tool magazine 16 and a new tool which is the tool management number of the tool T required for the next machining. Is a list corresponding to the magazine numbers, and the worker performs the tool replacement work according to the replacement tool list.
【0010】さらに、DNC装置30はNC装置20か
らの要求信号(後述するマガジン番号読込み信号や工具
情報書込み信号等)に応じてNC装置20内にて管理さ
れる工具情報の受け渡しを行い、前記IDタグ25によ
って工具Tに工具情報の読み書きを行うようになってい
る。以上の構成により従来の工具交換の流れを図16の
フローチャートを参照して詳細に説明する。作業者が行
う工具交換の作業形態の種類としては、「抜き」、「差
し」、「交換」の3種類がある。「抜き」とは、工具マ
ガジン16内のポットPに差し込まれている次加工に不
必要な工具Tを抜き取る作業である。「差し」とは、工
具マガジン16の工具Tの差し込まれていない空のポッ
トPに次加工に必要な工具を差し込む作業である。「交
換」とは、工具マガジン16内の次加工に不必要な工具
を抜き取った後に次加工に必要な工具Tを差し込む作業
である。そこで、DNC装置30は上述した3つ作業形
態に応じて以下の工具情報の読み書きを動作を行う。Further, the DNC device 30 delivers the tool information managed in the NC device 20 in response to a request signal from the NC device 20 (a magazine number reading signal, a tool information writing signal, etc. described later), and The ID tag 25 is used to read and write tool information from the tool T. With the above configuration, the conventional flow of tool exchange will be described in detail with reference to the flowchart of FIG. There are three types of work styles of the tool exchange performed by the operator: “withdrawal”, “insert”, and “exchange”. “Pulling out” is a work of pulling out a tool T that is inserted into the pot P in the tool magazine 16 and is unnecessary for the next processing. The “insertion” is an operation of inserting a tool required for the next processing into an empty pot P in which the tool T of the tool magazine 16 is not inserted. The “replacement” is a work of inserting a tool T required for the next processing after extracting a tool unnecessary for the next processing in the tool magazine 16. Therefore, the DNC device 30 operates to read and write the following tool information according to the above-mentioned three work modes.
【0011】いま、マシニングセンタ10にてロット最
終品の工作物Wの加工が完了し、DNC装置30にて次
加工に必要な交換工具リスト(図6参照)が印刷されて
いるものとする。まず、工具マガジン16内の次加工に
不必要な工具T1を抜き取る作業について説明する。作
業者は交換工具リスト(図18参照)から、旧工具がT
1で新工具がないことよりマガジン番号1に対しては、
工具T1の抜き取りが必要と判断する。Now, it is assumed that the machining W has completed the machining of the workpiece W as the final product of the lot, and the DNC device 30 has printed the replacement tool list (see FIG. 6) necessary for the next machining. First, the operation of extracting the tool T1 unnecessary for the next processing in the tool magazine 16 will be described. From the list of replacement tools (see Fig. 18), the operator selects T as the old tool.
Since there is no new tool in 1 for magazine number 1,
It is determined that the tool T1 needs to be removed.
【0012】ステップ51にて、作業者は操作盤21の
マガジン番号設定スイッチ21bからマガジン番号(こ
の場合1)を入力し、ステップ52にてモード切換スイ
ッチ21cにより交換モードを「抜き」に設定する。ス
テップ53にて、作業者が起動スイッチ21aを押す
と、PC23はNC装置20にステップ51で入力され
たマガジン番号(この場合1)とマガジン割り出し信号
を出力する。すると、マガジン割り出し信号を入力した
NC装置20は、DNC装置30に対してマガジン番号
読込み信号(要求指令)を出力するとともに、マシニン
グセンタ10の工具マガジン16に対してマガジン番号
1のポットPを第2工具交換位置16bに割り出す。マ
ガジン番号読込み指令を入力したDNC装置30はNC
装置20に対して抜き取りを行うマガジン番号(この場
合1)および交換モード(この場合「抜き」)をNC装
置20から読み込む。At step 51, the operator inputs the magazine number (1 in this case) from the magazine number setting switch 21b of the operation panel 21, and at step 52, the exchange mode is set to "disengage" by the mode changeover switch 21c. . When the operator presses the start switch 21a in step 53, the PC 23 outputs the magazine number (1 in this case) and the magazine indexing signal input in step 51 to the NC device 20. Then, the NC device 20 which has received the magazine indexing signal outputs a magazine number reading signal (request command) to the DNC device 30 and at the same time outputs the pot P of magazine number 1 to the tool magazine 16 of the machining center 10 to the second position. Index to the tool change position 16b. The DNC device 30 that has input the magazine number reading command is NC
The magazine number (1 in this case) and the exchange mode (“pull” in this case) from which the device 20 is to be extracted are read from the NC device 20.
【0013】DNC装置30は読み込んだ交換モードか
ら「抜き」を判別し、ステップ55に移行してNC装置
20から工具T1の工具情報をアップロードする。工具
マガジン16のマガジン割り出しが完了し、NC装置2
0からマガジン割り出し完了の信号を入力したDNC装
置30は、前記NC装置20からアップロードした工具
情報を工具T1のIDチップCにIDタグ25から書込
む。この書込みが終了するとDNC装置30はNC装置
20に対して書込み完了の信号を出力する。書込み完了
の信号を入力したNC装置20はPC23を介して作業
者に工具交換を開始してもよい旨を知らせるランプ44
を点灯させるとともに、カバー40に設けられた扉41
の電磁ロック43を解除する。The DNC device 30 discriminates "disconnect" from the read exchange mode, moves to step 55, and uploads the tool information of the tool T1 from the NC device 20. After the indexing of the tool magazine 16 is completed, the NC device 2
The DNC device 30 which has input a signal indicating that the magazine indexing is completed from 0 writes the tool information uploaded from the NC device 20 into the ID chip C of the tool T1 from the ID tag 25. When this writing is completed, the DNC device 30 outputs a write completion signal to the NC device 20. The NC device 20 which has input the write completion signal notifies the operator via the PC 23 that the tool change may be started by the lamp 44.
And the door 41 provided on the cover 40
The electromagnetic lock 43 of is released.
【0014】ステップ57にて、作業者は扉41を開
き、第2工具交換位置16bに割り出された工具T1を
抜き取り、扉41を閉める。すると、扉41が閉められ
たことを検出する開閉センサ42の信号によりPC23
はNC装置20を介してDNC装置30に作業が完了し
たことを示す作業完了信号を出力する。そして、作業完
了信号を入力したDNC装置30は、マガジン情報(図
17参照)のマガジン番号1の工具識別番号を書き換え
る(「抜き」の場合には工具識別番号を消去する)。以
上で工具抜き取り作業を完了する。In step 57, the operator opens the door 41, removes the tool T1 indexed to the second tool changing position 16b, and closes the door 41. Then, the PC 23 receives the signal from the open / close sensor 42 that detects that the door 41 is closed.
Outputs a work completion signal indicating that the work has been completed to the DNC device 30 via the NC device 20. Then, the DNC device 30 that has input the work completion signal rewrites the tool identification number of the magazine number 1 in the magazine information (see FIG. 17) (in the case of “without”, deletes the tool identification number). This completes the tool extraction work.
【0015】次に、工具マガジン16内の空のポットP
に次加工に必要な工具T12を差し込む作業について説
明する。作業者は交換工具リスト(図18参照)から、
旧工具がなく新工具がT12であることよりマガジン番
号2に対しては、工具T1の差し込みが必要と判断す
る。ステップ51にて、作業者は操作盤21のマガジン
番号設定スイッチ21bからマガジン番号(この場合
2)を入力し、ステップ52にてモード切換スイッチ2
1cより交換モードを「差し」に設定する。Next, an empty pot P in the tool magazine 16
The operation of inserting the tool T12 required for the next processing will be described. From the list of replacement tools (see Figure 18), the operator
Since there is no old tool and the new tool is T12, it is determined that the tool T1 needs to be inserted in the magazine number 2. In step 51, the operator inputs the magazine number (2 in this case) from the magazine number setting switch 21b of the operation panel 21, and in step 52 the mode changeover switch 2
The exchange mode is set to "insert" from 1c.
【0016】ステップ53にて、作業者が起動スイッチ
21aを押すと、PC23はNC装置20にステップ5
1で入力されたマガジン番号(この場合2)とマガジン
割り出し信号を出力する。すると、NC装置20はDN
C装置30にマガジン番号読込み信号(要求指令)を出
力するとともに、マシニングセンタ10の工具マガジン
16に対してマガジン番号2のポットPを第2工具交換
位置16bに割り出す。マガジン番号読込み信号を入力
したDNC装置30はNC装置20に対して差し込みを
行うマガジン番号(この場合2)および交換モード(こ
の場合「差し」)をNC装置20から読み込む。In step 53, when the operator presses the start switch 21a, the PC 23 causes the NC device 20 to execute step 5
The magazine number (2 in this case) input in 1 and the magazine indexing signal are output. Then, the NC device 20 becomes DN
A magazine number read signal (request command) is output to the C device 30, and the pot P of magazine number 2 is indexed to the tool magazine 16 of the machining center 10 at the second tool exchange position 16b. The DNC device 30 which has received the magazine number reading signal reads from the NC device 20 the magazine number (2 in this case) to be inserted into the NC device 20 and the exchange mode (“insert” in this case).
【0017】ステップ54にて、交換モードが「差し」
のためステップ59に移行するが、この間にマガジンの
割り出しが完了するとNC装置20はPC23を介して
ランプ44を点灯させるとともに、扉41の電磁ロック
43を解除する。ステップ59にて、作業者は扉41を
開き、第2工具交換位置16bに割り出されたマガジン
番号2のポットPにあらかじめ用意した工具T12を差
し込み、扉41を閉める。すると、扉41が閉められた
ことを検出する開閉センサ42の信号によりPC23は
NC装置20を介してDNC装置30に作業完了信号を
出力する。作業完了信号を入力したDNC装置30は、
前記読み込んだ交換モードから「差し」を判別し、ステ
ップ60に移行して工具T12のIDチップCの工具情
報をIDタグ25にて読み出す。工具情報の読込みが完
了すると、DNC装置30内のマガジン情報(図17参
照)のマガジン番号2の工具番号を書き換え、この後に
ステップ61に移行してNC装置20にこの工具12の
工具情報をダウンロードする。NC装置20はダウンロ
ードした工具情報をマガジン番号(この場合2)に対応
する工具管理情報(図4参照)を書き換える。この工具
管理情報の書き換えが完了するとNC装置20はPC2
3を介して扉41の電磁ロックを動作43させて扉41
をロックするとともにランプ44を消灯する。以上で差
し込み作業を完了する。At step 54, the exchange mode is "insert".
Therefore, the process proceeds to step 59, but when the indexing of the magazine is completed during this period, the NC device 20 turns on the lamp 44 via the PC 23 and releases the electromagnetic lock 43 of the door 41. In step 59, the operator opens the door 41, inserts the prepared tool T12 into the pot P of the magazine number 2 indexed to the second tool exchange position 16b, and closes the door 41. Then, the PC 23 outputs a work completion signal to the DNC device 30 via the NC device 20 in response to a signal from the opening / closing sensor 42 that detects that the door 41 is closed. The DNC device 30 to which the work completion signal is input is
From the read exchange mode, "insert" is determined, and the process proceeds to step 60, where the tool information of the ID chip C of the tool T12 is read by the ID tag 25. When the reading of the tool information is completed, the tool number of the magazine number 2 of the magazine information (see FIG. 17) in the DNC device 30 is rewritten, and then the process moves to step 61 to download the tool information of this tool 12 to the NC device 20. To do. The NC device 20 rewrites the downloaded tool information into the tool management information (see FIG. 4) corresponding to the magazine number (2 in this case). When the rewriting of this tool management information is completed, the NC device 20 will move to the PC 2
The electromagnetic lock of the door 41 is operated 43 via the
Is locked and the lamp 44 is turned off. This completes the insertion work.
【0018】最後に、工具マガジン16内の次加工に不
必要な工具T3と次加工に必要な工具T13とを交換す
る作業について説明する。作業者は交換工具リスト(図
18参照)から、旧工具がT3で新工具がT13である
ことよりマガジン番号3に対しては、工具T3と工具T
13の交換が必要と判断する。ステップ51にて、作業
者は操作盤21のマガジン番号設定スイッチ21bから
マガジン番号(この場合3)を入力し、ステップ52に
てモード切換スイッチ21cより交換モードを「交換」
に設定する。Finally, the operation for exchanging the tool T3 unnecessary for the next processing and the tool T13 necessary for the next processing in the tool magazine 16 will be described. According to the replacement tool list (see FIG. 18), the operator has the tool T3 and the tool T for the magazine number 3 because the old tool is T3 and the new tool is T13.
It is judged that the replacement of 13 is necessary. In step 51, the operator inputs the magazine number (3 in this case) from the magazine number setting switch 21b of the operation panel 21, and in step 52, the exchange mode is changed from the mode changeover switch 21c to "exchange".
Set to.
【0019】ステップ53にて、作業者が起動スイッチ
21aを押すと、PC23はNC装置20にステップ5
1に入力されたマガジン番号(この場合3)とマガジン
割り出し信号を出力する。すると、NC装置20はDN
C装置30にマガジン番号読込み信号(要求指令)を出
力するとともに、マガジン番号3のポットPを第2工具
交換位置16bに割り出す。マガジン番号読込み信号を
入力したDNC装置30はNC装置20に対して交換を
行うマガジン番号(この場合3)および交換モード(こ
の場合「交換」)を読み込む。In step 53, when the operator presses the start switch 21a, the PC 23 causes the NC device 20 to execute step 5
The magazine number (3 in this case) input to 1 and the magazine indexing signal are output. Then, the NC device 20 becomes DN
A magazine number read signal (request command) is output to the C device 30, and the pot P of magazine number 3 is indexed to the second tool exchange position 16b. The DNC device 30 that has received the magazine number read signal reads the magazine number (3 in this case) and the exchange mode (“replacement” in this case) with which the NC device 20 is to be exchanged.
【0020】DNC装置30は、読み込んだ交換モード
より「交換」を判断してステップ55に移行し、NC装
置20から工具T3の工具情報をアップロードする。工
具マガジン16のマガジン割り出しが完了し、NC装置
20からマガジン割り出し完了の信号を入力したDNC
装置30は、前記NC装置20からアップロードした工
具情報を工具T3のIDチップCにIDタグ25から書
込む。この書込みが終了するとDNC装置30はNC装
置20に対して書込み完了の信号を出力する。書込み完
了の信号を入力したNC装置20はPC23を介してラ
ンプ44を点灯させるとともに、扉41の電磁ロック4
3を解除する。The DNC device 30 determines "replacement" from the read replacement mode and moves to step 55 to upload the tool information of the tool T3 from the NC device 20. The DNC which has completed the magazine indexing of the tool magazine 16 and has input the magazine indexing completion signal from the NC unit 20.
The device 30 writes the tool information uploaded from the NC device 20 into the ID chip C of the tool T3 from the ID tag 25. When this writing is completed, the DNC device 30 outputs a write completion signal to the NC device 20. The NC device 20 which has received the signal indicating the completion of writing turns on the lamp 44 via the PC 23, and the electromagnetic lock 4 on the door 41.
Release 3.
【0021】ステップ57からステップ59にて、作業
者は扉41を開き、第2工具交換位置16bに割り出さ
れた工具T3を抜き取った後、あらかじめ用意した工具
T13を工具T3が差し込まれていたポットP(この場
合マガジン番号3)に差し込み、扉41を閉める。する
と、開閉センサ42の出力信号によりPC23はNC装
置20を介してDNC装置30に作業完了信号を出力す
る。作業完了信号を入力したDNC装置30は、前記読
み込んだ交換モード(この場合交換)に基づいて工具情
報読込み処理の実行を判別し、ステップ60にて、工具
T13のIDチップCの工具情報をIDタグ25にて読
み出す。工具情報の読込みが完了すると、DNC装置3
0内のマガジン情報(図17参照)のマガジン番号3の
工具番号をT13に書き換え、この後にステップ61に
移行してNC装置20に読み込まれた工具13の工具情
報をNC装置20にダウンロードする。NC装置20は
ダウンロードした工具情報をマガジン番号(この場合
3)に対応する工具管理情報(図4参照)に書き換え
る。この工具管理情報の書き換えが完了するとNC装置
20はPC23を介して扉41の電磁ロック43を動作
させるとともに、ランプ44を消灯させる。以上で交換
作業を完了する。In steps 57 to 59, the operator opens the door 41, extracts the tool T3 indexed to the second tool exchange position 16b, and then inserts the tool T13 prepared in advance into the tool T3. Insert into the pot P (magazine number 3 in this case) and close the door 41. Then, the PC 23 outputs a work completion signal to the DNC device 30 via the NC device 20 by the output signal of the opening / closing sensor 42. The DNC device 30 that has input the work completion signal determines whether to execute the tool information reading process based on the read exchange mode (exchange in this case), and in step 60, sets the tool information of the ID chip C of the tool T13 to ID. Read with tag 25. When the reading of the tool information is completed, the DNC device 3
The tool number of the magazine number 3 in the magazine information in 0 (see FIG. 17) is rewritten to T13, and then the process moves to step 61 to download the tool information of the tool 13 read by the NC device 20 to the NC device 20. The NC device 20 rewrites the downloaded tool information into the tool management information (see FIG. 4) corresponding to the magazine number (3 in this case). When the rewriting of the tool management information is completed, the NC device 20 operates the electromagnetic lock 43 of the door 41 via the PC 23 and turns off the lamp 44. This completes the replacement work.
【0022】なお、上述した動作説明において、ダウン
ロードとはDNC装置30からNC装置20へのデータ
転送を示し、アップロードとはNC装置20からDNC
装置30へのデータ転送を示す。In the above description of operation, download means data transfer from the DNC device 30 to the NC device 20, and upload means data transfer from the NC device 20 to the DNC device.
Data transfer to device 30 is shown.
【0023】[0023]
【発明が解決しようとする課題】上述したように、作業
者による工具マガジン16への工具交換作業において
は、工具交換の作業形態(「抜き」、「差し」、「交
換」の交換モード)によって、IDタグによる工具情報
の読み書き処理が異なるため、どのタイミングで工具情
報の読み書きを行えばよいか数値制御装置(上述した従
来技術においてはNC装置20およびDNC装置30)
に教える必要がある。特に、上述した従来技術のよう
に、工具マガジン16内の工具Tの工具情報をNC装置
20が管理し、この工具情報をDNC装置30が工具T
に読み書きするマシニングセンタシステムにおいては、
工具情報を工具Tに書き込む前に工具情報をNC装置2
0からアップロードし、逆に、工具情報を読み出した後
に工具情報をNC装置20にダウンロードする処理が必
要となるため、DNC装置30は工具交換の作業形態を
認識している必要がある。そこで、上述した従来技術の
DNC装置30はNC装置20からのマガジン番号読込
み信号を入力すると工具Tの交換を行うマガジン番号と
交換モードを読込み、この交換モードに応じてIDタグ
25による工具情報の読み書き処理を行っている。この
ため、作業者は工具交換の作業を行う前にその都度交換
モード(「抜き」、「差し」、「交換」)をモード切換
スイッチ21Cにて設定する必要があり、作業が煩雑に
なるといった問題があった。その上、作業者が交換モー
ドの設定を忘れたり、設定し間違えたりするとその都度
異常中断となり作業性が悪いといった問題があった。As described above, in the work of exchanging tools for the tool magazine 16 by the operator, depending on the work mode of the tool exchange (the exchange mode of "pull", "insert", "exchange"). Since the tool information read / write processing by the ID tag is different, at what timing should the tool information be read / written? Numerical control device (NC device 20 and DNC device 30 in the above-described related art)
Need to teach. Particularly, as in the above-mentioned conventional technique, the NC device 20 manages the tool information of the tool T in the tool magazine 16, and the DN device 30 manages this tool information.
In a machining center system that reads and writes to,
Before writing the tool information to the tool T, the tool information is written to the NC device 2
Since the process of uploading from 0 and, conversely, reading the tool information and then downloading the tool information to the NC device 20 is required, the DNC device 30 needs to recognize the work form of the tool exchange. Therefore, when the above-mentioned conventional DNC device 30 inputs the magazine number reading signal from the NC device 20, it reads the magazine number and the exchange mode in which the tool T is exchanged, and the tool information by the ID tag 25 is read according to the exchange mode. It is reading and writing. For this reason, the operator needs to set the exchange mode (“disconnect”, “insert”, “exchange”) with the mode changeover switch 21C each time before performing the tool exchange work, which makes the work complicated. There was a problem. In addition, if the worker forgets to set the exchange mode or makes a mistake in setting it, an abnormal interruption will occur each time and the workability will be poor.
【0024】従って、本発明の目的とするところは、工
具マガジンへの作業者による工具交換作業において、作
業者が工具交換の作業形態をその都度設定することなく
工具交換作業を行えるようにした工具マガジンを有する
工作機械の数値制御装置を提供することである。Therefore, it is an object of the present invention to provide a tool which allows a worker to perform a tool exchanging work without setting a working mode of the tool exchanging each time in the tool exchanging work by the worker to the tool magazine. A numerical control device for a machine tool having a magazine is provided.
【0025】[0025]
【課題を解決するための手段】上述した課題を解決する
ための請求項1記載の発明の手段は、複数の工具を保管
する工具マガジンを備えた工作機械の数値制御装置であ
って、前記工具マガジン内に保管された前記工具を抜き
取る場合に加工によって変化した工具情報を前記工具に
設けられたIDチップに書込み、一方、前記工具マガジ
ンに前記工具を差し込む場合に前記工具の前記IDチッ
プに記憶された前記工具情報を読み出す数値制御装置に
おいて、工具の交換作業が行われる前に前記工具マガジ
ンの工具交換位置に工具が保有されているか否かを判別
する第1判別手段と、前記第1判別手段にて前記工具交
換位置に工具が保有されていると判別された場合に前記
工具に該当する工具情報を前記IDチップに書込む工具
情報書込み手段と、工具の交換作業が行われた後に前記
工具マガジンの工具交換位置に工具が保有されているか
否かを判別する第2判別手段と、前記第2判別手段にて
前記工具交換位置に工具が保有されていると判断された
場合に前記工具から前記工具情報を読み込む工具情報読
込み手段とを備えたことからなる。Means for Solving the Problems The means of the present invention for solving the above-mentioned problems is a numerical controller for a machine tool having a tool magazine for storing a plurality of tools. When the tool stored in the magazine is removed, the tool information changed by processing is written in the ID chip provided in the tool, while it is stored in the ID chip of the tool when the tool is inserted in the tool magazine. In a numerical control device for reading the stored tool information, first discriminating means for discriminating whether or not the tool is held at the tool exchanging position of the tool magazine before the exchanging work of the tool, and the first discriminating means. A tool information writing means for writing the tool information corresponding to the tool in the ID chip when it is determined by the means that the tool is held at the tool exchange position. Second discriminating means for discriminating whether or not the tool is held at the tool exchanging position of the tool magazine after the tool exchanging work, and the tool is kept at the tool exchanging position by the second discriminating means. And tool information reading means for reading the tool information from the tool when it is determined that the tool information is read.
【0026】また、請求項2記載の発明の手段は、複数
の工具を保管する工具マガジンを備えた工作機械を制御
する個別制御装置と、複数の前記個別制御装置を統括し
て制御する中央制御装置とからなり、前記個別制御装置
と前記中央制御装置との間で前記個別制御装置にて管理
される前記工具マガジン内の前記工具の工具情報の受け
渡しを行って、前記工具が前記工具マガジンから抜き取
られるときに前記個別制御装置からアップロードした前
記工具情報を前記中央制御装置にて前記工具のIDチッ
プに書込み、一方、前記工具が前記工具マガジンに差し
込まれるときに前記中央制御装置にて前記工具の前記I
Dチップから読み込んだ前記工具情報を前記個別制御装
置にダウンロードする工作機械の数値制御装置におい
て、前記工具マガジン内の工具の有無を記憶するマガジ
ン情報管理手段と、前記マガジン情報管理手段から工具
交換位置に前記工具が有るか否かを判別する判別手段
と、前記判別手段によって前記工具交換位置に前記工具
が有ると判別された場合には前記個別制御装置より前記
工具情報をアップロードし、このアップロードした工具
情報を前記工具の前記IDチップに書込む工具情報書込
み手段と、前記判別手段によって前記工具交換位置に前
記工具が無いと判別された場合には前記工具が差し込ま
れた後に前記工具の前記IDチップから前記工具情報を
読込み、この読込んだ工具情報を前記個別制御装置にダ
ウンロードする工具情報読込み手段とを前記中央制御装
置に設けたことからなる。The means of the present invention according to claim 2 is an individual control device for controlling a machine tool having a tool magazine for storing a plurality of tools, and a central control for integrally controlling the plurality of individual control devices. And a tool for exchanging tool information of the tool in the tool magazine managed by the individual control device between the individual control device and the central control device. When the tool is uploaded, the tool information uploaded from the individual control device is written in the ID chip of the tool by the central controller, while the tool is inserted by the central controller when the tool is inserted into the tool magazine. Said I
In a numerical control device of a machine tool that downloads the tool information read from a D chip to the individual control device, a magazine information management unit that stores the presence or absence of a tool in the tool magazine, and a tool replacement position from the magazine information management unit. And a discriminating means for discriminating whether or not the tool is present, and when the discriminating means discriminates that the tool is present at the tool exchange position, the tool information is uploaded from the individual control device, and this upload is performed. Tool information writing means for writing tool information in the ID chip of the tool, and the ID of the tool after the tool is inserted when the determining means determines that the tool is not present at the tool exchange position. Tool information for reading the tool information from the chip and downloading the read tool information to the individual control device. And reading means composed of the provision in the central controller.
【0027】[0027]
【作用】請求項1に記載された発明の作用は、マガジン
番号に該当するポットが工具交換位置に割り出される
と、第1判別手段により工具交換位置に割り出されたポ
ットに工具が保有されているか否かが判別される。そし
て、第1判別手段の結果より工具交換位置に割り出され
たポットに工具が保有されている場合には工具情報書込
み手段により工具情報が工具のIDチップに書込まれ
る。When the pot corresponding to the magazine number is indexed to the tool exchange position, the tool is held in the pot indexed to the tool exchange position by the first discriminating means. Is determined. Then, when the tool is held in the pot indexed to the tool replacement position based on the result of the first determining means, the tool information writing means writes the tool information in the ID chip of the tool.
【0028】工具交換の作業が完了すると、第2判別手
段により工具交換位置のポットに工具が保有されている
か否かが判別される。そして、第2判別手段の結果より
工具交換位置のポットに工具が保有されている場合には
工具IDに記憶されている工具情報が工具情報み読み込
み手段により読み出される。したがって、工具マガジン
内の次加工に不必要な工具を抜き取る場合には、数値制
御装置にて管理されていた工具情報が書込まれた後に工
具が抜き取られる。一方、工具マガジン内の空のポット
に次加工に必要な工具を差し込む場合には、工具が差し
込まれた後にこの工具に記憶されていた工具情報が読み
出され数値制御装置に記憶される。さらに、工具マガジ
ン内の不必要な工具と次加工に必要な工具とを交換する
場合には、数値制御装置にて管理されていた工具情報が
次加工に不必要な工具に書込まれた後に工具が抜き取ら
れ、次加工に必要な工具が差し込まれた後にこの工具に
記憶されていた工具情報が読みだされ数値制御装置に記
憶される。When the tool changing work is completed, the second judging means judges whether or not the tool is held in the pot at the tool changing position. Then, when the tool is held in the pot at the tool exchange position based on the result of the second discriminating means, the tool information stored in the tool ID is read by the tool information reading means. Therefore, when extracting a tool unnecessary for the next processing in the tool magazine, the tool is extracted after the tool information managed by the numerical controller is written. On the other hand, when inserting a tool required for the next processing into an empty pot in the tool magazine, the tool information stored in the tool after the tool is inserted is read out and stored in the numerical controller. Furthermore, when exchanging an unnecessary tool in the tool magazine for a tool required for the next machining, after the tool information managed by the numerical controller is written to the tool unnecessary for the next machining, After the tool is taken out and the tool required for the next machining is inserted, the tool information stored in this tool is read out and stored in the numerical controller.
【0029】また、請求項2の発明の作用は、判別手段
により工具マガジンの工具交換位置の工具の有無が判別
される。工具交換位置に工具が有ると判別された場合に
は、中央制御装置は工具が抜き取られると判断して工具
情報書込み手段により工具情報を個別制御装置からアッ
プロードし、このアップロードした工具情報を中央制御
装置より工具のIDチップに書込む。一方、工具交換位
置に工具が無いと判別された場合には、中央制御装置は
工具が差し込まれると判断して工具情報読込み手段によ
り工具が差し込まれた後に工具情報を工具のIDチップ
から読込み、この読込んだ工具情報を個別制御装置へダ
ウンロードする。工具が交換される場合には、中央制御
装置は上述した2つの処理を連続して行うようになって
いる。Further, in the operation of the invention of claim 2, the presence or absence of the tool at the tool exchange position of the tool magazine is determined by the determining means. When it is determined that the tool is present at the tool exchange position, the central control unit determines that the tool is to be removed and uploads the tool information from the individual control unit by the tool information writing means, and the uploaded tool information is centrally controlled. Write from the device to the ID chip of the tool. On the other hand, when it is determined that there is no tool at the tool exchange position, the central control unit determines that the tool is inserted and reads the tool information from the ID chip of the tool after the tool is inserted by the tool information reading means, The read tool information is downloaded to the individual control device. When the tool is changed, the central control unit is designed to continuously perform the above-mentioned two processes.
【0030】[0030]
【実施例】以下に図面に基づき本発明の実施例を説明す
る。図1は本発明の実施例であるマシニングセンタシス
テムを示した全体構成図である。100はマシニングセ
ンタであり、床面もしくは適宜取付面に固定されたベッ
ド112上にコラム113がZ軸方向(図1の左右方
向)およびX軸方向(図1の紙面に垂直な方向)に移動
可能に設けられている。また、コラム113には工具T
を着脱可能に支持し回転する主軸114がY軸方向(図
1の上下方向)に移動可能に設けられている。そして、
主軸114に取り付けられた工具Tによってベッド11
2上のテーブル119に支持された工作物Wの加工を行
うようになっている。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram showing a machining center system which is an embodiment of the present invention. A machining center 100 is capable of moving a column 113 in a Z-axis direction (left-right direction in FIG. 1) and an X-axis direction (direction perpendicular to the paper surface in FIG. 1) on a bed 112 fixed to a floor surface or an appropriate mounting surface. It is provided in. In addition, the tool T is installed in the column 113.
A main shaft 114 that removably supports and rotates is provided so as to be movable in the Y-axis direction (vertical direction in FIG. 1). And
The bed 11 is attached by the tool T attached to the spindle 114.
The work W supported by the table 119 on the upper part 2 is processed.
【0031】コラム113を囲むフレーム111の側面
には工具マガジン116が取り付けられており、複数の
工具TがポットPに保管されている。115は工具交換
装置であり、工具マガジン116の第1工具交換位置1
16aに割り出された工具Tと主軸114に取り付けら
れた工具Tを交換アーム115aにて交換するようにな
っている。また、工具マガジン116内の次加工に不必
要な工具Tと次加工に必要な工具Tとの交換は工具マガ
ジン116後方の第2工具交換位置116bにて行わ
れ、この第2工具交換位置116bに割り出されたポッ
トPに作業者が工具Tを直接抜き差しすることにより行
われる。さらに、第2工具交換位置116bには、第2
工具交換位置116bの位置に割り出されたポットPに
工具Tが保有されているか否かを判別する近接スイッチ
118(第2判別手段)が設けられており、この検出信
号は後述するPC123に入力されるようになってい
る。ところで、工具Tには、上述した従来技術同様図2
に示すように、その工具Tの工具情報(工具管理番号、
補正値、工具寿命等)を書込み可能なIDチップCが取
り付けられており、前記第2工具交換位置116bに設
けられたIDタグ125にて工具情報の読み書きがなさ
れるようになっている。A tool magazine 116 is attached to the side surface of the frame 111 surrounding the column 113, and a plurality of tools T are stored in the pot P. Reference numeral 115 denotes a tool changer, which is a first tool change position 1 of the tool magazine 116.
The tool T indexed to 16a and the tool T attached to the spindle 114 are exchanged by an exchange arm 115a. Further, the exchange of the tool T unnecessary for the next machining and the tool T required for the next machining in the tool magazine 116 is performed at the second tool exchange position 116b behind the tool magazine 116, and the second tool exchange position 116b. The operation is performed by the operator directly inserting or removing the tool T into or from the pot P indexed to. Further, the second tool change position 116b has a second
A proximity switch 118 (second determining means) for determining whether or not the tool T is held in the pot P indexed to the tool exchange position 116b is provided, and this detection signal is input to the PC 123 described later. It is supposed to be done. By the way, the tool T has the same structure as that of the above-described conventional art.
As shown in, the tool information of the tool T (tool management number,
An ID chip C capable of writing correction values, tool life, etc.) is attached, and tool information can be read and written by the ID tag 125 provided at the second tool replacement position 116b.
【0032】また、従来技術と同様、図3に示すように
マシニングセンタ100外周にはマシニングセンタ10
0およびテーブル119の全体を覆うカバー40が設け
られている。このカバー40には工具マガジン116の
第2工具交換位置116bに対向する位置に開閉可能な
扉41が設けられており、工具交換時に作業者が手動に
て開閉するようになっている。この扉41には開閉状態
を検出する開閉センサ42と扉41の開放を規制する電
磁ロック43が設けられており、開閉センサ42による
扉41の開閉状態の検出および電磁ロック43による扉
41開放の規制は後述するPC123にて行われるよう
になっている。さらに、カバー40には作業者が工具交
換を開始しても良い旨を知らせるランプ44が取り付け
られている。Further, as in the prior art, as shown in FIG. 3, the outer periphery of the machining center 100 is surrounded by the machining center 10.
0 and a cover 40 that covers the entire table 119 are provided. The cover 40 is provided with a door 41 that can be opened / closed at a position facing the second tool exchange position 116b of the tool magazine 116, and is manually opened / closed by an operator when the tool is exchanged. The door 41 is provided with an open / close sensor 42 for detecting the open / closed state and an electromagnetic lock 43 for restricting the opening of the door 41. The open / close sensor 42 detects the open / closed state of the door 41 and the electromagnetic lock 43 opens / closes the door 41. The regulation is performed by the PC 123 described later. Further, a lamp 44 is attached to the cover 40 to inform the operator that the tool change may be started.
【0033】120はプログラマブルコントローラ(以
下、PCという)123を内蔵したNC装置(個別制御
装置)であり、PC123の指令信号に基づいてマシニ
ングセンタ100の加工動作、工具交換動作および工具
マガジン16の割り出し動作等を制御するようになって
いる。また、NC装置120では工具マガジン116に
保管されている工具Tのそれぞれの前記工具情報を工具
管理情報として管理しており、加工によって変化する工
具情報(例えば工具寿命)を時々刻々記憶している。こ
の工具管理情報は図4に示すようにマガジン番号と工具
情報を対応させて記憶している。 PC123はマシニ
ングセンタ100に設けられた各種センサ(例えば近接
スイッチ118や開閉センサ42等)からの信号や後述
する操作盤122による作業者からの指令等に応じてN
C装置120に指令信号を送り、マシニングセンタ10
0の各動作の開始のタイミングを指令するようになって
いる。このPC123には操作盤121が設けられてお
り、マガジン割り出しを開始する起動スイッチ121a
と、割り出すマガジン番号を設定するマガジン番号設定
スイッチ121bとが設けられ、各情報をNC装置12
0に指令信号として出力するようになっている。さら
に、PC123は上述した開閉センサ42による扉41
の開閉状態の検出、扉41の開放を規制する電磁ロック
43の動作およびランプ44の点灯も行うようになって
いる。Reference numeral 120 denotes an NC device (individual control device) having a programmable controller (hereinafter referred to as PC) 123 built therein, and based on a command signal from the PC 123, a machining operation of the machining center 100, a tool changing operation, and an indexing operation of the tool magazine 16. Etc. are controlled. Further, the NC device 120 manages the tool information of each of the tools T stored in the tool magazine 116 as tool management information, and the tool information (for example, tool life) that changes due to machining is stored moment by moment. . As shown in FIG. 4, this tool management information stores a magazine number and tool information in association with each other. The PC 123 responds to signals from various sensors (for example, the proximity switch 118, the open / close sensor 42, etc.) provided in the machining center 100, and N in response to a command from an operator through the operation panel 122 described later.
A command signal is sent to the C device 120, and the machining center 10
The start timing of each operation of 0 is commanded. The PC 123 is provided with an operation panel 121, and a start switch 121a for starting the indexing of a magazine.
And a magazine number setting switch 121b for setting a magazine number to be indexed.
It is designed to output to 0 as a command signal. Further, the PC 123 has a door 41 by the opening / closing sensor 42 described above.
It also detects the open / closed state, operates the electromagnetic lock 43 that regulates the opening of the door 41, and lights the lamp 44.
【0034】130はDNC装置(中央制御装置)であ
り、複数のマシニングセンタ100のNC装置120と
接続されマシニングセンタ100のシステム全体を中央
制御すると共に、各マシニングセンタ100の工具マガ
ジン116に保有されている工具Tの管理をマガジン情
報として管理している。このマガジン情報は、図5に示
すように、工具マガジン116のポットP内に工具Tが
保有されているか否かを識別するエントリーフラグとポ
ットPに保有されている工具管理番号番号がマガジン番
号に対応して記憶されている。エントリーフラグは後述
する作業者による工具交換動作にて工具Tの差し込みが
正常に行われると「*」がセットされ、逆に、工具Tの
抜き取りが正常に行われるとエントリーフラグがリセッ
トされるようになっており、「*」の有無によってポッ
トP内の工具Tの有無が識別できるようになっている
(第1判別手段もしくは判別手段)。ただし、エントリ
ーフラグは工具Tの有無を判別できればよく表記は
「*」に限定されない。また、詳細な説明は省略するが
このマガジン情報(エントリーフラグおよび工具識別番
号)は工具交換装置115による工具マガジン116と
主軸114間の工具交換においても更新されるようにな
っている。Reference numeral 130 denotes a DNC device (central control device), which is connected to the NC devices 120 of a plurality of machining centers 100 to centrally control the entire system of the machining center 100, and which is held in the tool magazine 116 of each machining center 100. The management of T is managed as magazine information. As shown in FIG. 5, the magazine information includes an entry flag for identifying whether the tool T is held in the pot P of the tool magazine 116 and a tool management number stored in the pot P as a magazine number. Correspondingly stored. The entry flag is set to "*" when the tool T is normally inserted by the operator's tool exchanging operation described later, and conversely, the entry flag is reset when the tool T is normally extracted. The presence or absence of the tool T in the pot P can be identified by the presence or absence of "*" (first discriminating means or discriminating means). However, the entry flag is not limited to "*" as long as the presence or absence of the tool T can be determined. Further, although detailed description is omitted, this magazine information (entry flag and tool identification number) is also updated when the tool exchanging device 115 exchanges tools between the tool magazine 116 and the spindle 114.
【0035】また、DNC装置130は図略の生産管理
装置からの工作物Wの情報に応じて次加工に必要な工具
Tを割り出し、現在工具マガジン116に保持している
工具Tと比較することにより、差し込む必要のある工具
Tや、抜き取りの必要な工具Tや、交換の必要な工具T
を決定し、その作業形態と一緒に交換工具情報として記
憶している。その上、この交換工具情報は図6に示す交
換工具リストとして図略のプリンタから印刷され、作業
者はこの交換工具リストに従って工具交換の作業を行
う。Further, the DNC device 130 determines the tool T required for the next machining according to the information of the workpiece W from the production control device (not shown) and compares it with the tool T currently held in the tool magazine 116. The tool T that needs to be inserted, the tool T that needs to be removed, and the tool T that needs to be replaced
Is determined and stored as replacement tool information together with the work form. In addition, this replacement tool information is printed as a replacement tool list shown in FIG. 6 from a printer (not shown), and the worker performs the tool replacement work according to the replacement tool list.
【0036】さらに、DNC装置130はNC装置12
0からの要求信号(後述するマガジン番号読込み信号
等)に応じてNC装置120内にて管理される工具情報
の受け渡しを行い、前記IDタグ125によって工具T
に工具情報の読み書きを行うようになっている。次に、
上述した構成のマシニングセンタシステムにおける工具
交換の動作について図7から図12のフローチャートに
基づき説明する。図7は工具交換における作業者の手順
を示したフローチャート、図8および図9はNC装置1
20の動作を示したフローチャート、図10から図12
はDNC装置130の動作を示したフローチャートであ
る。Further, the DNC device 130 is the NC device 12
The tool information managed in the NC device 120 is passed according to a request signal from 0 (a magazine number reading signal described later), and the tool tag T is transferred by the ID tag 125.
It is designed to read and write tool information. next,
The operation of tool exchange in the machining center system having the above-mentioned configuration will be described with reference to the flowcharts of FIGS. FIG. 7 is a flow chart showing the procedure of the operator in the tool change, and FIGS. 8 and 9 are the NC device 1.
20 is a flowchart showing the operation of FIG.
3 is a flowchart showing the operation of the DNC device 130.
【0037】いま、マシニングセンタ100はロット最
終品の工作物Wの加工を完了し、DNC装置130にて
次加工に必要な交換工具リスト(図6参照)が印刷され
ているものとする。まず、工具マガジン16内の次加工
に不必要な工具T1を抜き取る作業(「抜き」)につい
て説明する。Now, it is assumed that the machining center 100 has completed the processing of the workpiece W as the final product of the lot, and the DNC device 130 has printed the replacement tool list (see FIG. 6) necessary for the next processing. First, the operation (“pulling”) of removing the tool T1 unnecessary for the next processing in the tool magazine 16 will be described.
【0038】図7のステップ201にて、作業者はあら
かじめ印刷されている交換工具リスト(図6参照)に基
づき工具T1が保持されているポットPのマガジン番号
(この場合1)を操作盤121のマガジン番号設定スイ
ッチ121bから入力する。続いて、ステップ202に
て、作業者は起動スイッチ121aを押してマガジンの
割り出しを開始させ、工具交換が可能なことを知らせる
ランプ44が点灯するまで待機する。In step 201 of FIG. 7, the operator sets the magazine number (1 in this case) of the pot P holding the tool T1 on the operation panel 121 based on the pre-printed replacement tool list (see FIG. 6). It is input from the magazine number setting switch 121b. Subsequently, in step 202, the operator presses the start switch 121a to start indexing of the magazine and waits until the lamp 44 notifying that the tool can be changed is turned on.
【0039】ステップ201にて起動スイッチ121a
が押されるとNC装置120は図8のステップ301以
降を実行する。すなわち、PC123はNC装置20に
前記ステップ201で操作盤121から入力されたマガ
ジン番号(この場合1)とマガジン割り出し信号を出力
する。すると、ステップ302にてマガジン割り出し信
号を入力したNC装置120は、DNC装置130に対
してマガジン番号読込み信号(要求指令)を出力すると
ともに、ステップ303にてマシニングセンタ100の
工具マガジン116に対してマガジン番号1のポットP
を第2工具交換位置116bに割り出す。そして、ステ
ップ304にて、DNC装置130から交換モードが入
力されるまで待機する。At step 201, the start switch 121a
When is pressed, the NC device 120 executes step 301 and subsequent steps in FIG. That is, the PC 123 outputs the magazine number (1 in this case) input from the operation panel 121 in step 201 and the magazine indexing signal to the NC device 20. Then, the NC device 120, which has received the magazine indexing signal in step 302, outputs a magazine number reading signal (request command) to the DNC device 130 and, in step 303, issues a magazine to the tool magazine 116 of the machining center 100. Number 1 pot P
To the second tool change position 116b. Then, in step 304, the process waits until the exchange mode is input from the DNC device 130.
【0040】前記マガジン番号読込み信号(要求指令)
を入力したDNC装置130は図10のステップ401
以降を実行する。ステップ401にてマガジン番号読込
み信号を入力したDNC装置130は、ステップ402
にてNC装置120から抜き取りを行うマガジン番号
(この場合1)を読み込む。続いて、ステップ403に
移行し、DNC装置130内にて管理しているマガジン
情報(図5参照)から前記読み込んだマガジン番号(こ
の場合1)のレコード(エントリーフラグおよび工具識
別番号)を読み込む。ステップ404にて、前記エント
リーフラグが「*」か否かを参照し、割り出されたポッ
トPに工具Tが保有されているかいないかを判別して交
換モードを決定する。すなわち、エントリーフラグが
「*」の場合(エントリーフラグがセットされている場
合)は、ポットPに工具Tが保有されていることを示す
ので、工具交換の処理としては抜き取りもしくは交換の
いずれかになり、必ず工具を抜き取る必要があるため交
換モードを「抜き」と判別する。一方、エントリーフラ
グが「*」でない場合(エントリーフラグがリセットさ
れている場合)は、ポットPに工具Tが保有されていな
いことを示すので、工具交換の処理としては差し込みと
なり交換モードを「差し」と判別する。そして、交換モ
ードが「抜き」と判別された場合にはステップ406に
移行し、「差し」と判別された場合にはステップ405
に移行する。この場合、マガジン番号1には工具T1が
保有されておりエントリーフラグが「*」であるため
「抜き」もしくは「交換」と判断してステップ406に
移行する。Signal for reading the magazine number (request command)
The DNC device 130 that has input is the step 401 in FIG.
Do the following. The DNC device 130 that has received the magazine number reading signal in step 401 operates in step 402.
The magazine number (1 in this case) to be extracted from the NC device 120 is read at. Then, the process proceeds to step 403, and the record (entry flag and tool identification number) of the read magazine number (1 in this case) is read from the magazine information (see FIG. 5) managed in the DNC device 130. In step 404, it is determined whether the tool P is held in the indexed pot P by referring to whether the entry flag is "*" or not, and the exchange mode is determined. That is, when the entry flag is “*” (when the entry flag is set), it indicates that the tool T is held in the pot P, and therefore the tool replacement process is either extraction or replacement. Since it is necessary to pull out the tool without fail, the exchange mode is determined to be "pull out". On the other hand, when the entry flag is not “*” (when the entry flag is reset), it means that the tool P is not held in the pot P, and therefore the tool replacement process is insertion and the replacement mode is “insert”. Is determined. Then, when the exchange mode is determined to be “without”, the process proceeds to step 406, and when it is determined to be “insert”, step 405.
Move to In this case, since the tool T1 is held in the magazine number 1 and the entry flag is "*", it is determined to be "without" or "replacement" and the process proceeds to step 406.
【0041】ステップ406に移行すると、DNC装置
130はNC装置120内にて管理している工具情報の
うちマガジン番号1の工具情報をアップロードし、ステ
ップ407にて、NC装置120に対して「抜き」を通
知する(交換モード信号を出力する)。そして、ステッ
プ408にて、DNC装置130はNC装置120から
工具情報読み書き信号(この場合、工具情報書込み信
号)が入力されるまで待機する。At step 406, the DNC device 130 uploads the tool information of the magazine number 1 among the tool information managed in the NC device 120, and at step 407, the NC device 120 "extracts". Is notified (the exchange mode signal is output). Then, in step 408, the DNC device 130 waits until a tool information read / write signal (in this case, a tool information write signal) is input from the NC device 120.
【0042】NC装置120はDNC装置130から交
換モード信号(この場合「抜き」)を入力すると図8の
ステップ305に移行する。ステップ305ではDNC
装置130から通知された交換モードが「抜き」のため
ステップ306に移行する。ステップ306にてNC装
置120は、PC123からマガジンの割り出しの完了
を示す割り出し完了信号を入力するとDNC装置130
に対して工具情報の書込みを開始させる工具情報読み書
き信号(この場合工具情報書込み信号)を出力する。そ
して、ステップ307にてNC装置120は、IDタグ
125によるIDチップCへの工具情報の書込み処理が
完了したことを示す書込み完了信号をDNC装置130
から入力するまで待機する。When the NC device 120 inputs the exchange mode signal (in this case, "disconnect") from the DNC device 130, it proceeds to step 305 in FIG. DNC in step 305
Since the exchange mode notified from the device 130 is "without", the process proceeds to step 306. In step 306, when the NC device 120 inputs an indexing completion signal indicating the completion of magazine indexing from the PC 123, the DNC device 130.
A tool information read / write signal (in this case, a tool information write signal) for starting the writing of tool information is output to. Then, in step 307, the NC device 120 outputs a write completion signal indicating that the writing process of the tool information to the ID chip C by the ID tag 125 is completed, to the DNC device 130.
Wait until input from.
【0043】工具情報読み書き信号を入力したDNC装
置130は図10のステップ409に移行し、前記ステ
ップ404にて判別した交換モードが「抜き」のため図
12のステップ416に移行する。ステップ416に移
行するとDNC装置130は図10のステップ404に
てNC装置120からアップロードしたマガジン番号1
に対応する工具T1の工具情報をIDタグ125により
工具T1のIDチップCに書込む。工具情報の書込み処
理が完了するとステップ417にてDNC装置130は
NC装置120に対して工具情報の書込み処理が完了し
たことを示す書込み完了信号を出力する。そして、ステ
ップ418にてDNC装置130内のマガジン情報(図
5参照)の更新処理を行う。すなわち、マガジン番号1
のエントリーフラグをリセット(「*」を消去する)す
るとともに工具識別番号を消去する。ただし、エントリ
ーフラグが「*」のポットPにのみ工具Tが保有されて
いることが判別できるため必ずしも工具識別番号の消去
は行わなくてもよい。以上でDNC装置130の工具情
報書込み処理は完了する。The DNC device 130, which has received the tool information read / write signal, moves to step 409 in FIG. 10 and moves to step 416 in FIG. 12 because the exchange mode determined in step 404 is “without”. When the process proceeds to step 416, the DNC device 130 uploads the magazine number 1 uploaded from the NC device 120 in step 404 of FIG.
The tool information of the tool T1 corresponding to is written in the ID chip C of the tool T1 by the ID tag 125. When the writing process of the tool information is completed, the DNC device 130 outputs a writing completion signal to the NC device 120 in step 417, which indicates that the writing process of the tool information is completed. Then, in step 418, the magazine information (see FIG. 5) in the DNC device 130 is updated. That is, magazine number 1
The entry flag of is reset ("*" is deleted) and the tool identification number is deleted. However, since it is possible to determine that the tool T is held only in the pot P whose entry flag is "*", it is not always necessary to delete the tool identification number. This completes the tool information writing process of the DNC device 130.
【0044】書込み完了信号を入力したNC装置120
はDNC装置130による工具情報の書込み処理が完了
したことを認識して図8のステップ308に移行し、P
C123を介して扉41の電磁ロック43を解除すると
共にランプ44を点灯し作業者の工具T1の抜き取り作
業を可能にする。そして、NC装置120は作業者が扉
41を開き、工具T1を抜き取って、再び扉41を締め
るまで待機する(ステップ309,310)。NC device 120 to which a write completion signal has been input
Recognizes that the writing process of the tool information by the DNC device 130 is completed, and moves to step 308 of FIG.
The electromagnetic lock 43 of the door 41 is released via C123 and the lamp 44 is turned on to enable the worker to extract the tool T1. Then, the NC device 120 waits until the operator opens the door 41, removes the tool T1, and tightens the door 41 again (steps 309 and 310).
【0045】ランプ44が点灯すると作業者は工具T1
の抜き取り作業が可能になったことを認識し図7の20
4にて扉41を開き、ステップ205にて工具交換(こ
の場合工具T1の抜き取り)し、ステップ206で扉4
1を閉じる。工具の交換処理が交換工具リスト通り正し
く行われた場合には、以上で作業者の作業は完了する。When the lamp 44 is turned on, the worker is in the tool T1.
Recognizing that it has become possible to remove the
The door 41 is opened in step 4, the tool is replaced (in this case, the tool T1 is removed) in step 205, and the door 4 is opened in step 206.
Close 1 When the tool replacement process is correctly performed according to the replacement tool list, the worker's work is completed.
【0046】開閉センサ42により扉41が閉じられた
ことを検出したNC装置120は図9のステップ311
にて、電磁ロック43を作動させると共にランプ44を
消灯する。次に、ステップ312にて工具マガジン11
6の第2工具交換位置116bに設けられた近接118
によりポットPに工具Tが保有されているか否かを判別
する。ポットP内に工具Tがある場合にはステップ31
3に移行し、一方、工具Tが無い場合にはステップ31
8に移行する。この場合、作業者による工具T1の抜き
取り作業が正しく行われたとするとポットP内に工具T
は無いためステップ318に移行し、前記ステップ30
4にてDNC装置130から入力した交換モードが「抜
き」のためステップ319に移行して異常判別処理2を
実行する。一方、作業者が誤って工具T1を抜き忘れた
り、他の工具Tを差し込んだ場合にはポットPに工具T
が存在するためにステップ313に移行し、交換モード
が「抜き」のため、ステップ314の異常判別処理1を
実行する。When the opening / closing sensor 42 detects that the door 41 has been closed, the NC unit 120 operates in step 311 of FIG.
At the same time, the electromagnetic lock 43 is activated and the lamp 44 is turned off. Next, in step 312, the tool magazine 11
Proximity 118 provided at No. 6 second tool change position 116b
It is determined whether or not the tool T is held in the pot P by. If the tool T is in the pot P, step 31
3, while if there is no tool T, step 31
Move to 8. In this case, assuming that the work of extracting the tool T1 by the operator is correctly performed, the tool T is placed in the pot P.
Since there is no such information, the process proceeds to step 318, and step 30
In step 4, the exchange mode input from the DNC device 130 is "disconnect", so that the process proceeds to step 319 and the abnormality determination process 2 is executed. On the other hand, when the operator accidentally forgets to pull out the tool T1 or inserts another tool T, the tool T is put in the pot P.
Is present, the process proceeds to step 313. Since the exchange mode is “without”, the abnormality determination processing 1 of step 314 is executed.
【0047】ステップ319の異常判別処理2に移行し
た場合には、正常に抜き取り作業が行われたのか、それ
とも、後述する工具交換の「交換」にて作業者が交換す
る工具Tを差し込み忘れたのかの判断が行われる。すな
わち、異常判別処理2が実行されるとNC装置120は
DNC装置130に対してポットP内に工具Tが無いこ
とを通知し、この工具Tの有無状態とDNC装置130
内に記憶されている交換工具情報(図6参照)の作業形
態と比較することで作業者の工具交換が正しく行われた
かの判別を行われるようになっている。DNC装置13
0では図14に示した異常判別処理2が実行され、該当
するマガジン番号(この場合1)の作業形態(この場合
「抜き」)が「抜き」であれば異常無しをNC装置12
0に通知してNC装置120の後続するステップを継続
させ、一方、作業形態が「差し」もしくは「交換」であ
れば異常をNC装置120に通知して異常中断とする。
この場合、作業形態は「抜き」であるため、DNC装置
130は異常無しをNC装置120に通知し、以上で工
具T1の抜き取り作業を全て完了する。When the process proceeds to the abnormality determination processing 2 in step 319, whether the extraction work has been normally performed, or the operator forgets to insert the tool T to be replaced by the "replacement" of the tool replacement described later. Is judged. That is, when the abnormality determination processing 2 is executed, the NC device 120 notifies the DNC device 130 that there is no tool T in the pot P, and the presence / absence state of this tool T and the DNC device 130.
By comparing with the working form of the replacement tool information (see FIG. 6) stored therein, it is possible to determine whether or not the tool replacement by the operator has been correctly performed. DNC device 13
At 0, the abnormality determination processing 2 shown in FIG. 14 is executed, and if the work mode (“pulling” in this case) of the corresponding magazine number (1 in this case) is “pulling out”, the NC device 12 indicates no abnormality.
0 is notified and the subsequent steps of the NC device 120 are continued. On the other hand, if the work mode is “insert” or “replacement”, the NC device 120 is notified of the abnormality and the abnormality is interrupted.
In this case, since the work mode is “pulling”, the DNC device 130 notifies the NC device 120 that there is no abnormality, and the pulling work of the tool T1 is completed.
【0048】逆に、ステップ314の異常判別処理1に
移行した場合は、後述する工具の「交換」が正常に行わ
れたのか、もしくは、工具Tの抜き取り作業が正しく行
われなかったのかの判断が行われる。すなわち、異常判
別処理1が実行されるとNC装置120はDNC装置1
30に対してポットP内に工具Tがあることを通知し、
この工具Tの有無状態とDNC装置130内に記憶され
ている交換工具情報(図6参照)の作業形態と比較する
ことで作業者の工具交換が正しく行われたかの判別を行
われるようになっている。DNC装置130では図13
に示した異常判別処理1が実行され、該当するマガジン
番号(この場合1)の作業形態(この場合「抜き」)が
「交換」であれば異常無しをNC装置120に通知して
NC装置120の後続のステップを継続させ、一方、作
業形態が「抜き」もしくは「差し」であれば異常をNC
装置120に通知して異常中断とする。この場合、作業
形態は抜きのため、DNC装置130は異常をNC装置
120に通知し異常中断とする。On the contrary, when the process proceeds to the abnormality determination processing 1 in step 314, it is determined whether the "replacement" of the tool described later is normally performed or the tool T is not properly extracted. Is done. That is, when the abnormality determination processing 1 is executed, the NC device 120 changes the DN device 1 to
Notify 30 that there is a tool T in the pot P,
By comparing the presence / absence state of the tool T with the work form of the exchange tool information (see FIG. 6) stored in the DNC device 130, it is possible to determine whether or not the tool exchange by the operator is correctly performed. There is. The DNC device 130 is shown in FIG.
If the operation mode (in this case, "without") of the corresponding magazine number (in this case, 1) is "replacement", the NC device 120 is notified of no abnormality and the NC device 120 is notified. If the work mode is "disconnect" or "insert", the error is NC.
The device 120 is notified and abnormal suspension is performed. In this case, since the work form is not required, the DNC device 130 notifies the NC device 120 of the abnormality and suspends the abnormality.
【0049】次に、マガジン番号2の空のポットPへ次
加工に必要な工具T12を差し込む作業(「差し」)に
ついて説明する。なお、上述した工具T1の抜き取り作
業と重複するステップの説明は省略する。上述した抜き
取り作業と同様に、作業者は交換工具リストに基づきマ
ガジン番号2を設定した後に起動スイッチ121aを押
して、ランプ44が点灯するまで待機する(図7のステ
ップ201〜203)。Next, the operation (“insert”) of inserting the tool T12 required for the next processing into the empty pot P of magazine number 2 will be described. It should be noted that the description of the steps overlapping with the above-described work of extracting the tool T1 will be omitted. Similar to the above-described extraction work, the worker presses the start switch 121a after setting the magazine number 2 based on the replacement tool list, and waits until the lamp 44 is turned on (steps 201 to 203 in FIG. 7).
【0050】起動スイッチ121aが押されるとNC装
置120は、DNC装置130に対してマガジン番号読
込み信号を出力すると共に工具マガジン116のマガジ
ン番号2のポットPを第2工具交換位置116bに割り
出し、DNC装置130から交換モードが入力されるま
で待機する(図8のステップ301〜304)。マガジ
ン番号読込み信号(要求指令)を入力したDNC装置1
30は図10のステップ401以降を実行し、マガジン
情報(図5)のマガジン番号2のレコードを読み込む。
ステップ404にてエントリーフラグの状態が判別され
る。この場合、マガジン番号2のポットPには工具Tが
保有されていないのでエントリーフラグがリセットされ
ているため交換モードは「差し」と判別されステップ4
05に移行する。When the start switch 121a is pressed, the NC device 120 outputs a magazine number read signal to the DNC device 130 and at the same time, the pot P of the magazine number 2 of the tool magazine 116 is indexed to the second tool exchange position 116b and the DNC is set. It waits until the exchange mode is input from the device 130 (steps 301 to 304 in FIG. 8). DNC device 1 that has input a magazine number read signal (request command)
30 executes step 401 and subsequent steps in FIG. 10 to read the record of magazine number 2 in the magazine information (FIG. 5).
At step 404, the state of the entry flag is determined. In this case, since the tool T is not held in the pot P of magazine number 2 and the entry flag is reset, the exchange mode is determined to be "insert" and step 4 is executed.
Move to 05.
【0051】ステップ405に移行すると、DNC装置
130はNC装置120に対して交換モードが「差し」
であることを通知する(交換モード信号を出力する)。
そして、ステップ408にて、DNC装置130はNC
装置120から工具情報読み書き信号(この場合、工具
情報読込み信号)が入力されるまで待機する。NC装置
120はDNC装置130から交換モード信号(この場
合「差し」)を入力すると図8のステップ305に移行
する。ステップ305ではDNC装置130から通知さ
れた交換モードが「差し」のためステップ308に移行
する。Upon proceeding to step 405, the DNC device 130 is in the exchange mode “insert” with respect to the NC device 120.
Is notified (the exchange mode signal is output).
Then, in step 408, the DNC device 130
It waits until a tool information read / write signal (in this case, a tool information read signal) is input from the device 120. When the NC device 120 receives the exchange mode signal (“insert” in this case) from the DNC device 130, the process proceeds to step 305 in FIG. 8. In step 305, since the exchange mode notified from the DNC device 130 is “insert”, the process proceeds to step 308.
【0052】ステップ308に移行しPC123からマ
ガジンの割り出しの完了を示す割り出し完了信号を入力
すると、NC装置120は扉41の電磁ロック43を解
除すると共にランプ44を点灯し、作業者の工具T12
差し込み作業が完了して扉41が閉じられるまで待機す
る(図8のステップ308〜310)。ランプ44が点
灯すると作業者は扉41を開き、あらかじめ用意してお
いた工具T12を第2工具交換位置116bに割り出さ
れたマガジン番号2のポットPに差し込み扉41を閉じ
る(図7のステップ204〜206)。以上で作業者の
作業は完了する。When the process proceeds to step 308 and the indexing completion signal indicating the completion of the indexing of the magazine is input from the PC 123, the NC device 120 releases the electromagnetic lock 43 of the door 41 and turns on the lamp 44, and the tool T12 of the operator.
It waits until the insertion work is completed and the door 41 is closed (steps 308 to 310 in FIG. 8). When the lamp 44 is turned on, the operator opens the door 41, inserts the previously prepared tool T12 into the pot P of magazine number 2 indexed to the second tool exchange position 116b, and closes the door 41 (step in FIG. 7). 204-206). With the above, the work of the worker is completed.
【0053】開閉センサ42により扉41が閉じられた
ことを検出したNC装置120は図9のステップ311
にて、電磁ロック43を作動させると共にランプ44を
消灯する。次に、ステップ312にて第2工具交換位置
116bに設けられた近接スイッチ118により第2工
具交換位置に割り出されているポットPに工具Tが存在
するか否かを判別する。この場合、作業者による工具T
12の差し込みが正常に行われたとするとポットPには
工具T12が存在するためステップ313に移行する。
ステップ313では、前記ステップ304にてDNC装
置130から通知された交換モードが「差し」のためス
テップ316に移行する。一方、作業者が誤って工具T
12を差し込まずに作業を続行した場合にはステップ3
12にてポットPには工具Tが無いと判別されステップ
318に移行し、交換モードが「差し」のため異常中断
とする。 ステップ316に移行すると、NC装置12
0は、DNC装置130に対して工具情報の読込みを開
始させる工具情報読み書き信号(この場合工具情報読込
み信号)を出力する。そして、ステップ317にてNC
装置120は、DNC装置130による工具情報の読込
み処理が完了したことを示す読み書き完了信号(この場
合読込み完了信号)をDNC装置130から入力するま
で待機しする。The NC device 120, which has detected that the door 41 is closed by the opening / closing sensor 42, operates in step 311 of FIG.
At the same time, the electromagnetic lock 43 is activated and the lamp 44 is turned off. Next, at step 312, it is determined whether or not the tool T is present in the pot P indexed to the second tool exchange position by the proximity switch 118 provided at the second tool exchange position 116b. In this case, the tool T
If the insertion of 12 is normally performed, the tool T12 is present in the pot P, and the process proceeds to step 313.
At step 313, since the exchange mode notified from the DNC device 130 at step 304 is “insert”, the process proceeds to step 316. On the other hand, the operator mistakenly uses the tool T
If you continue to work without inserting 12, step 3
At 12, it is determined that there is no tool T in the pot P, the process proceeds to step 318, and the replacement mode is "insert", so that the operation is abnormally interrupted. Upon moving to step 316, the NC device 12
0 outputs a tool information read / write signal (in this case, a tool information read signal) that causes the DNC device 130 to start reading tool information. Then, in step 317, NC
The device 120 waits until a read / write completion signal (in this case, a read completion signal) indicating that the process of reading the tool information by the DNC device 130 is completed is input from the DNC device 130.
【0054】工具情報読み書き信号を入力したDNC装
置130は図10のステップ409に移行し、前記ステ
ップ404にて判別された交換モードが「差し」のため
図11のステップ411に移行する。ステップ411に
移行するとDNC装置130は、IDタグ125により
工具T12のIDチップCから工具T12の工具情報を
読み出す。工具情報の読み出し処理が完了するとステッ
プ412にてNC装置に読み出し完了信号を出力し、ス
テップ413にて現在読み出した工具T12の工具情報
をNC装置120の工具管理情報のマガジン番号2にダ
ウンロードする。そして、ステップ414にてDNC装
置130内のマガジン情報(図5参照)の更新処理を行
う。すなわち、マガジン番号2のエントリーフラグをセ
ット(「*」を設定する)するとともに工具識別番号を
T12に更新する。以上でDNC装置130の工具情報
読込み処理は完了する。NC装置120はDNC装置1
30から読込み完了信号を入力すると工具情報の読込み
処理が完了したと認識し、全ての工具T12の差し込み
処理を完了する。The DNC device 130 to which the tool information read / write signal has been input shifts to step 409 in FIG. 10 and shifts to step 411 in FIG. 11 because the exchange mode determined in step 404 is “insert”. Upon proceeding to step 411, the DNC device 130 reads the tool information of the tool T12 from the ID chip C of the tool T12 using the ID tag 125. When the reading process of the tool information is completed, a read completion signal is output to the NC device in step 412, and the tool information of the tool T12 currently read in step 413 is downloaded to the magazine number 2 of the tool management information of the NC device 120. Then, in step 414, the magazine information (see FIG. 5) in the DNC device 130 is updated. That is, the entry flag of magazine number 2 is set (“*” is set) and the tool identification number is updated to T12. This completes the tool information reading process of the DNC device 130. The NC device 120 is the DNC device 1.
When the read completion signal is input from 30, it is recognized that the read processing of the tool information is completed, and the insertion processing of all the tools T12 is completed.
【0055】最後に、マガジン番号3のポットPから工
具T3を抜き取り、次加工に必要な工具T13を差し込
む交換作業(「交換」)について説明する。この工具T
の交換作業は上述した工具Tの抜き取り作業と工具Tの
抜き取り作業を組み合わせて行われる。なお、説明に際
して、上述した工具T1の抜き取り作業および工具T1
2の差し込み作業と重複するステップの説明は省略す
る。Finally, a replacement work ("replacement") in which the tool T3 is removed from the pot P of magazine number 3 and the tool T13 necessary for the next processing is inserted will be described. This tool T
The exchanging work of is carried out by combining the above-mentioned tool T extracting work and tool T extracting work. In addition, in the explanation, the above-mentioned work of extracting the tool T1 and the tool T1
The description of the steps which are the same as those of the inserting operation of 2 will be omitted.
【0056】作業者は交換工具リストに基づきマガジン
番号3を設定した後に起動スイッチ121aを押して、
ランプ44が点灯するまで待機する(図7のステップ2
01〜203)。起動スイッチ121aが押されるとN
C装置120は、DNC装置130に対してマガジン番
号読込み信号を出力すると共に工具マガジン116のマ
ガジン番号3のポットPを第2工具交換位置116bに
割り出し、DNC装置130から交換モードが入力され
るまで待機する(図8のステップ301〜304)。The operator presses the start switch 121a after setting the magazine number 3 based on the replacement tool list,
Wait until the lamp 44 lights up (step 2 in FIG. 7).
01-203). When the start switch 121a is pressed, N
The C device 120 outputs a magazine number read signal to the DNC device 130, indexes the pot P of the magazine number 3 of the tool magazine 116 to the second tool exchange position 116b, and until the exchange mode is input from the DNC device 130. It stands by (steps 301 to 304 in FIG. 8).
【0057】マガジン番号読込み信号(要求指令)を入
力したDNC装置130は図10のステップ401以降
を実行し、マガジン情報(図5)のマガジン番号3のレ
コードを読み込む。ステップ404にてエントリーフラ
グの状態から交換モードが判別される。この場合、マガ
ジン番号3には工具T3が保有されておりエントリーフ
ラグがセットされている(「*」)ため交換モードを
「抜き」と判別してステップ406に移行する。The DNC device 130 which has received the magazine number read signal (request command) executes step 401 and the subsequent steps in FIG. 10 to read the record of magazine number 3 in the magazine information (FIG. 5). In step 404, the exchange mode is discriminated from the state of the entry flag. In this case, since the tool T3 is held in the magazine number 3 and the entry flag is set ("*"), the exchange mode is determined to be "without" and the process proceeds to step 406.
【0058】ステップ406に移行すると、DNC装置
130はNC装置120内にて管理している工具情報の
うちマガジン番号3(工具T3)の工具情報をアップロ
ードし、ステップ407にて、NC装置120に対して
「抜き」を通知する(交換モード信号を出力する)。そ
して、ステップ408にて、DNC装置130はNC装
置120から工具情報書込み信号が入力されるまで待機
する。At step 406, the DNC device 130 uploads the tool information of the magazine number 3 (tool T3) among the tool information managed in the NC device 120, and at step 407, the NC device 120. Notify the user of "disengagement" (output the exchange mode signal). Then, in step 408, the DNC device 130 waits until a tool information write signal is input from the NC device 120.
【0059】NC装置120はDNC装置130から交
換モード信号(この場合「抜き」)を入力すると図8の
ステップ305に移行する。ステップ305ではDNC
装置130から通知された交換モードが「抜き」のため
ステップ306に移行する。ステップ306にてNC装
置120は、PC123からマガジンの割り出しの完了
を示す割り出し完了信号を入力するとDNC装置130
に対して工具情報書込み信号を出力し、ステップ307
にて、DNC装置130から書込み完了信号を入力する
まで待機する。When the NC device 120 inputs the exchange mode signal (in this case, "disconnect") from the DNC device 130, it proceeds to step 305 in FIG. DNC in step 305
Since the exchange mode notified from the device 130 is "without", the process proceeds to step 306. In step 306, when the NC device 120 inputs an indexing completion signal indicating the completion of magazine indexing from the PC 123, the DNC device 130.
A tool information writing signal is output to step 307
Then, it waits until the write completion signal is input from the DNC device 130.
【0060】工具情報読み書き信号(この場合工具情報
書込み信号)を入力したDNC装置130は交換モード
が「抜き」のため図12のステップ416に移行し、前
記アップロードしたマガジン番号3の工具情報を工具T
3のIDチップCに書込む。そして、ステップ417に
てNC装置120に対して書込み完了信号を出力し、ス
テップ418にてDNC装置130内のマガジン情報
(図5参照)更新処理を行う。すなわち、マガジン番号
3のエントリーフラグをリセット(「*」を消去する)
するとともに工具識別番号を消去する。Since the exchange mode of the DNC device 130 to which the tool information read / write signal (in this case, the tool information write signal) has been input is "disconnect", the process proceeds to step 416 in FIG. 12, and the uploaded tool information of magazine number 3 is used as the tool. T
Write to ID chip C of 3. Then, in step 417, a write completion signal is output to the NC device 120, and in step 418, magazine information (see FIG. 5) update processing in the DNC device 130 is performed. That is, the entry flag of magazine number 3 is reset ("*" is erased)
And delete the tool identification number.
【0061】書込み完了信号を入力したNC装置120
は扉41の電磁ロック43を解除すると共にランプ44
を点灯し、作業者の工具交換作業が完了して扉41が閉
じられるまで待機する(図8のステップ308〜31
0)。ランプ44が点灯すると作業者は扉41を開き、
第2工具交換位置116bに割り出されたポットPに保
有されている工具T3を抜き取り、この後、あらかじめ
用意しておいた工具T13をこのポットPに差し込み扉
41を閉じる(図7のステップ204〜206)。以上
で作業者の作業は完了する。NC device 120 to which a write completion signal has been input
Releases the electromagnetic lock 43 of the door 41 and the lamp 44
Is lit, and waits until the worker 41 completes the tool exchange work and closes the door 41 (steps 308 to 31 in FIG. 8).
0). When the lamp 44 lights up, the operator opens the door 41,
The tool T3 held in the pot P indexed to the second tool exchange position 116b is pulled out, and then the previously prepared tool T13 is inserted into this pot P and the door 41 is closed (step 204 in FIG. 7). ~ 206). With the above, the work of the worker is completed.
【0062】開閉センサ42により扉41が閉じられた
ことを検出したNC装置120は図9のステップ311
にて、電磁ロック43を作動させると共にランプ44を
消灯する。次に、ステップ312にて第2工具交換位置
116bに設けられた近接スイッチ118によりポット
Pに工具Tが保有されているか否かを判別する。この場
合、作業者による工具T3と工具T13の交換が正しく
行われたとするとポットPには工具T13が存在するた
めステップ313に移行する。ステップ313では、前
記ステップ304にてDNC装置130から通知された
交換モードが「抜き」のためステップ314に移行す
る。一方、作業者が工具T3を抜き取った後に誤って工
具T13を差し込まずに作業を続行した場合にはポット
Pには工具Tが無いと判別されステップ318に移行す
る。When the opening / closing sensor 42 detects that the door 41 has been closed, the NC device 120 determines the step 311 in FIG.
At the same time, the electromagnetic lock 43 is activated and the lamp 44 is turned off. Next, at step 312, it is determined whether or not the tool T is held in the pot P by the proximity switch 118 provided at the second tool exchange position 116b. In this case, if the operator has properly replaced the tool T3 and the tool T13, the tool T13 is present in the pot P, and the process proceeds to step 313. In step 313, since the exchange mode notified from the DNC device 130 in step 304 is "disconnect", the process proceeds to step 314. On the other hand, if the worker mistakenly inserts the tool T13 and then continues the work without removing the tool T3, it is determined that there is no tool T in the pot P, and the process proceeds to step 318.
【0063】工具交換作業が正しく行われステップ31
4に移行すると、上述した異常判別処理1が実行され工
具の交換が正常に行われたのか判別が行われる。すなわ
ち、NC装置120よりポットPに工具T13があるこ
とを通知されたDNC装置130は、図13のステップ
450にて工具管理情報(図6参照)の作業形態を参照
する。この場合マガジン番号3の作業形態は「交換」の
ため工具の交換作業が正しく行われたことをNC装置1
20に通知する。DNC装置130から工具Tの交換作
業が正しく行われた旨の通知を受けたNC装置120は
ステップ315に移行する。一方、工具交換作業が正し
く行われずにステップ319に移行すると、上述した異
常判別処理2が実行され工具Tの交換が正しく行われな
かったのかそれとも、上述した工具Tの抜き取り作業が
正しく行われたのかが判断される。すなわち、NC装置
120よりポットPに工具T13が無いことを通知され
たDNC装置130は、図14のステップ460にて工
具管理情報(図6参照)の作業形態を参照する。この場
合マガジン番号3の作業形態は「交換」のため工具の交
換作業が正しく行われなかったことをNC装置120に
通知し異常中断とする。The tool change work is correctly performed, and step 31
When the process shifts to 4, the above-described abnormality determination processing 1 is executed to determine whether the tool replacement has been normally performed. That is, the DNC device 130, which has been notified by the NC device 120 that the tool T13 is in the pot P, refers to the work form of the tool management information (see FIG. 6) in step 450 of FIG. In this case, since the work mode of magazine number 3 is "replacement", it is determined that the tool replacement work has been correctly performed.
Notify 20. The NC device 120, which has received the notification from the DNC device 130 that the tool T replacement work has been correctly performed, moves to step 315. On the other hand, if the tool change operation is not correctly performed and the process proceeds to step 319, the above-mentioned abnormality determination processing 2 is executed and the tool T is not properly changed, or the above-mentioned tool T removal operation is correctly performed. Is determined. That is, the DNC device 130 notified from the NC device 120 that there is no tool T13 in the pot P refers to the work form of the tool management information (see FIG. 6) in step 460 of FIG. In this case, since the work mode of magazine number 3 is “replacement”, the NC device 120 is notified that the tool replacement work has not been correctly performed, and the operation is abnormally interrupted.
【0064】ステップ315に移行するとNC装置12
0はDNC装置130に対して前記ステップ302同様
にマガジン番号読込み信号を出力する。続いて、ステッ
プ316にてDNC装置130に工具読込み信号を出力
し、ステップ317にて読込み完了信号がDNC装置1
30から入力されるまで待機する。 マガジン読込み信
号を入力したDNC装置130は前記と同様に図8のス
テップ301以降を実行する。ステップ402にてNC
装置120からマガジン番号を読み込む。ただし、NC
装置120ではマガジン番号は改めて設定されていない
ためにマガジン番号は3と読み込まれる。ステップ40
3にてマガジン情報のマガジン番号3のレコード(エン
トリーフラグおよび工具識別番号)を読み込む。この場
合、前記工具T3の抜き取りによりエントリーフラグは
リセットされているために、ステップ404に移行する
と交換モードは「差し」と判別され、ステップ405に
てNC装置120に交換モードが「差し」であることを
通知する。ただし、この場合、交換モードを入力したN
C装置120は何も処理を行わない。When the process proceeds to step 315, the NC device 12
0 outputs a magazine number read signal to the DNC device 130 as in step 302. Then, in step 316, a tool read signal is output to the DNC device 130, and in step 317, the read completion signal is output to the DNC device 1.
Wait until input from 30. The DNC device 130 to which the magazine read signal is input executes step 301 and subsequent steps in FIG. 8 in the same manner as described above. NC at step 402
The magazine number is read from the device 120. However, NC
The magazine number is read as 3 because the magazine number is not set again in the device 120. Step 40
In 3, the magazine number 3 record (entry flag and tool identification number) of the magazine information is read. In this case, since the entry flag has been reset by the removal of the tool T3, the exchange mode is determined to be "insert" when the process proceeds to step 404, and the exchange mode of the NC device 120 is "insert" in step 405. Notify that. However, in this case, the N
The C device 120 does not perform any processing.
【0065】ステップ408にてDNC装置130はN
C装置120から工具情報書込み信号を入力し、ステッ
プ409にて交換モードを「差し」と判断して図11の
ステップ411に移行する。ステップ411に移行する
とDNC装置130は、IDタグ125により第2工具
交換位置116bに差し込まれた工具T13のIDチッ
プCから工具T13の工具情報を読み出す。工具情報の
読み出し処理が完了するとステップ412にてNC装置
に読み出し完了信号を出力し、ステップ413にて現在
読み出した工具T13の工具情報をNC装置120の工
具管理情報のマガジン番号2にダウンロードする。そし
て、ステップ414にてDNC装置130内のマガジン
情報(図5参照)の更新処理を行う。すなわち、マガジ
ン番号3のエントリーフラグをセット(「*」を設定す
る)するとともに工具識別番号T13を書込む。以上で
DNC装置130の工具情報読込み処理は完了する。In step 408, the DNC device 130 sets the N
A tool information write signal is input from the C device 120, the exchange mode is determined to be "insert" in step 409, and the process proceeds to step 411 in FIG. When proceeding to step 411, the DNC device 130 reads the tool information of the tool T13 from the ID chip C of the tool T13 inserted in the second tool replacement position 116b by the ID tag 125. When the reading process of the tool information is completed, a read completion signal is output to the NC device in step 412, and the tool information of the tool T13 currently read in step 413 is downloaded to the magazine number 2 of the tool management information of the NC device 120. Then, in step 414, the magazine information (see FIG. 5) in the DNC device 130 is updated. That is, the entry flag of magazine number 3 is set (“*” is set) and the tool identification number T13 is written. This completes the tool information reading process of the DNC device 130.
【0066】NC装置120はDNC装置130から読
込み完了信号を入力すると工具情報の読込み処理が完了
したと認識し、全ての工具T13の交換処理を完了す
る。なお、上述した動作説明において、ダウンロードと
はDNC装置30からNC装置20へのデータ転送を示
し、アップロードとはNC装置20からDNC装置30
へのデータ転送を示す。When the NC device 120 inputs the read completion signal from the DNC device 130, it recognizes that the process of reading the tool information is completed, and completes the replacement process of all the tools T13. In the above description of operation, download means data transfer from the DNC device 30 to the NC device 20, and upload means data transfer from the NC device 20 to the DNC device 30.
Data transfer to.
【0067】また、詳細な説明は省略したがDNC装置
130は、ステップ411の後でIDタグ125にて工
具Tから読み込んだ工具情報の工具識別番号とDNC装
置130内で記憶している交換工具情報の工具識別番号
との照合を行い、工具識別番号が異なる場合には異常を
NC装置120に通知し異常中断させるようになってい
る。Although detailed description is omitted, the DNC device 130 uses the tool identification number of the tool information read from the tool T by the ID tag 125 after step 411 and the replacement tool stored in the DNC device 130. The information is collated with the tool identification number, and if the tool identification number is different, the NC device 120 is notified of the abnormality and the abnormality is interrupted.
【0068】以上に述べたように本実施例のマシニング
センタシステムにおいては、DNC装置130で管理さ
れるマガジン情報のエントリーフラグの状態から交換モ
ードが「抜き」であるのか「差し」であるのかを自動判
別し、さらに、作業者による工具交換作業が完了した後
の工具Tの有無を近接スイッチ118にて検出すること
より工具交換モードが「抜き」であるのか「交換」であ
るのかを判別するようにしたため、作業者は工具交換の
作業の都度に交換モードを設定することなくDNC装置
130による工具情報の読み書き処理が行える。したが
って、作業者はDNC装置130にて印刷された交換工
具リストに基づいて工具Tを第2工具交換位置116b
にセット(抜き取り、差し込み、交換)するだけで工具
Tの交換作業が行え作業性が向上する。その上、本実施
例においては、自動判別した交換モードとDNC装置1
30にて管理される交換工具情報との照合を行い異常を
判別するため、作業者が誤って工具Tの交換作業をおこ
なっても間違った工具交換作業が行われることがないよ
うになっている。As described above, in the machining center system of the present embodiment, whether the exchange mode is "disconnect" or "insert" is automatically determined from the state of the entry flag of the magazine information managed by the DNC device 130. Further, the proximity switch 118 detects the presence or absence of the tool T after the tool replacement work by the operator is completed, and thereby it is determined whether the tool replacement mode is "disconnect" or "replacement". Therefore, the worker can read and write the tool information by the DNC device 130 without setting the replacement mode each time the tool is replaced. Therefore, the worker sets the tool T to the second tool replacement position 116b based on the replacement tool list printed by the DNC device 130.
The tool T can be replaced by simply setting (withdrawing, inserting, and replacing) the tool T to improve workability. Moreover, in the present embodiment, the automatically discriminated exchange mode and the DNC device 1 are used.
Since the abnormality is determined by collating with the exchange tool information managed by 30, the wrong tool exchange work is prevented even if the operator mistakenly exchanges the tool T. .
【0069】なお、上述した実施例において、特許請求
の範囲における請求項1の第1判別手段および請求項2
の判別手段は、DNC制御装置130内で管理されるマ
ガジン情報のエントリーフラグ(「*」)の有無を判別
する図10のステップ404にて構成され、また、請求
項1の第2判別手段は近接スイッチ118にて構成され
ているものとする。In the above-mentioned embodiment, the first discriminating means of claim 1 and the claim 2 in the scope of claims.
The discriminating means of is constituted by the step 404 of FIG. 10 for discriminating the presence or absence of the entry flag (“*”) of the magazine information managed in the DNC controller 130, and the second discriminating means of claim 1 is It is assumed that the proximity switch 118 is used.
【0070】さらに、本実施例では、DNC装置130
は指定されたマガジン番号のポットPに工具Tが保有さ
れているか否かをマガジン情報のエントリーフラグが
「*」か否かで交換モードを「抜き」か「差し」に判別
しているがいるが、近接スイッチ118にて検出した工
具Tの有無をDNC装置130に送り、この工具Tの有
無によって交換モードを決定してもよい。ただし、この
場合指定されたマガジン番号のポットPが第2工具交換
位置116bに割り出されるまでDNC装置130は交
換モードを決定できないためにその後の処理(例えば、
工具情報のアップロード等)の処理が遅れるといった欠
点がある。Further, in this embodiment, the DNC device 130
Determines whether the tool T is held in the pot P of the specified magazine number, the exchange mode is "without" or "insert" depending on whether the entry flag of the magazine information is "*" or not. However, the presence / absence of the tool T detected by the proximity switch 118 may be sent to the DNC device 130, and the exchange mode may be determined depending on the presence / absence of the tool T. However, in this case, since the DNC device 130 cannot determine the exchange mode until the pot P of the designated magazine number is indexed to the second tool exchange position 116b, the subsequent processing (for example,
There is a drawback that processing such as uploading tool information is delayed.
【0071】最後に、本実施例においては、工具マガジ
ン116の第2工具交換位置116bに自動工具交換装
置を設けたマシニングセンタにおいても実施可能なこと
に注意されたい。Finally, it should be noted that the present embodiment can be carried out also in a machining center in which an automatic tool changing device is provided at the second tool changing position 116b of the tool magazine 116.
【0072】[0072]
【発明の効果】以上に述べたように本発明の数値制御装
置は、工具の交換作業が行われる前の工具マガジンの工
具交換位置に工具が保有されているか否かを判別し、さ
らに、工具の交換作業が行われた後にこの工具交換位置
に工具が保有されているか否かを判別することにより工
具の交換モードを自動的に判別するようにしたため、作
業者は工具の交換作業の都度に交換モードを設定するこ
となく工具交換の作業形態に応じた工具情報の読み書き
処理が行える。これにより、作業性が向上するとともに
交換モードの設定忘れによる工具交換作業のミスが無く
なるといった効果がある。As described above, the numerical control device of the present invention determines whether or not the tool is held at the tool exchange position of the tool magazine before the tool exchange work, and further, Since the tool replacement mode is automatically determined by determining whether or not the tool is held at this tool replacement position after the tool replacement work is performed, the worker is required to perform tool replacement work each time. It is possible to read and write the tool information according to the work form of the tool exchange without setting the exchange mode. As a result, workability is improved and mistakes in tool replacement work caused by forgetting to set the replacement mode are eliminated.
【図1】本発明の実施例であるマシニングセンタシステ
ムを示した全体構成図である。FIG. 1 is an overall configuration diagram showing a machining center system that is an embodiment of the present invention.
【図2】工具に設けられたIDチップCを示した図であ
る。FIG. 2 is a view showing an ID chip C provided on a tool.
【図3】マシニングセンタのカバーを示した構成図であ
る。FIG. 3 is a configuration diagram showing a cover of a machining center.
【図4】工具管理情報を示した図である。FIG. 4 is a diagram showing tool management information.
【図5】マガジン情報を示した図である。FIG. 5 is a diagram showing magazine information.
【図6】交換工具リストを示した図である。FIG. 6 is a diagram showing a replacement tool list.
【図7】工具交換における作業者の手順を示したフロー
チャートである。FIG. 7 is a flowchart showing a procedure of an operator in tool exchange.
【図8】NC装置の動作を示したフローチャートであ
る。FIG. 8 is a flowchart showing an operation of the NC device.
【図9】NC装置の動作を示したフローチャートであ
る。FIG. 9 is a flowchart showing the operation of the NC device.
【図10】DNC装置の動作を示したフローチャートで
ある。FIG. 10 is a flowchart showing the operation of the DNC device.
【図11】DNC装置の動作を示したフローチャートで
ある。FIG. 11 is a flowchart showing the operation of the DNC device.
【図12】DNC装置の動作を示したフローチャートで
ある。FIG. 12 is a flowchart showing the operation of the DNC device.
【図13】DNC装置の異常判別処理1を示したフロー
チャートである。FIG. 13 is a flowchart showing an abnormality determination process 1 of the DNC device.
【図14】DNC装置の異常判別処理2を示したフロー
チャートである。FIG. 14 is a flowchart showing an abnormality determination process 2 of the DNC device.
【図15】従来のマシニングセンタシステムを示した全
体構成図である。FIG. 15 is an overall configuration diagram showing a conventional machining center system.
【図16】従来の工具交換動作を示したフローチャート
である。FIG. 16 is a flowchart showing a conventional tool changing operation.
【図17】従来のマガジン情報を示した図である。FIG. 17 is a diagram showing conventional magazine information.
【図18】従来の交換工具リストを示した図である。FIG. 18 is a diagram showing a conventional replacement tool list.
100 マシニングセンター 116 工具マガジン 116b 第2工具交換位置 118 近接スイッチ 120 NC装置(個別制御装置) 122 操作盤 123 プログラマブルコントローラ 125 IDタグ 130 DNC装置(中央制御装置) C IDチップ P ポット T 工具 100 Machining Center 116 Tool Magazine 116b Second Tool Exchange Position 118 Proximity Switch 120 NC Device (Individual Control Device) 122 Operation Panel 123 Programmable Controller 125 ID Tag 130 DNC Device (Central Control Device) C ID Chip P Pot T Tool
フロントページの続き (72)発明者 永弘 義美 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 (72)発明者 山本 辰也 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 (72)発明者 杉浦 浩一 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内Front Page Continuation (72) Inventor Yoshihiro Nagami 1 Toyota Town, Toyota City, Aichi Prefecture, Toyota Motor Co., Ltd. (72) Inventor Tatsuya Yamamoto 1 Toyota Town, Toyota City, Aichi Prefecture, Toyota Motor Co., Ltd. (72) Invention Koichi Sugiura 1 Toyota-cho, Toyota-shi, Aichi Toyota Motor Co., Ltd.
Claims (2)
えた工作機械の数値制御装置であって、前記工具マガジ
ン内に保管された前記工具を抜き取る場合に加工によっ
て変化した工具情報を前記工具に設けられたIDチップ
に書込み、一方、前記工具マガジンに前記工具を差し込
む場合に前記工具の前記IDチップに記憶された前記工
具情報を読み出す数値制御装置において、工具の交換作
業が行われる前に前記工具マガジンの工具交換位置に工
具が保有されているか否かを判別する第1判別手段と、
前記第1判別手段にて前記工具交換位置に工具が保有さ
れていると判別された場合に前記工具に該当する工具情
報を前記IDチップに書込む工具情報書込み手段と、工
具の交換作業が行われた後に前記工具マガジンの工具交
換位置に工具が保有されているか否かを判別する第2判
別手段と、前記第2判別手段にて前記工具交換位置に工
具が保有されていると判断された場合に前記工具から前
記工具情報を読み込む工具情報読込み手段とを備えたこ
とを特徴とする数値制御装置。1. A numerical control device for a machine tool having a tool magazine for storing a plurality of tools, wherein when the tool stored in the tool magazine is extracted, tool information changed by machining is stored in the tool. In a numerical control device that writes in the provided ID chip, while reading the tool information stored in the ID chip of the tool when the tool is inserted into the tool magazine, before the tool replacement work is performed, First discriminating means for discriminating whether or not the tool is held at the tool exchange position of the tool magazine,
When the first discriminating unit discriminates that the tool is held at the tool exchanging position, the tool information writing unit for writing the tool information corresponding to the tool in the ID chip and the tool exchanging work are performed. And a second discriminating means for discriminating whether or not the tool is held at the tool exchange position of the tool magazine, and the second discriminating means judges that the tool is held at the tool exchange position. And a tool information reading means for reading the tool information from the tool in this case.
えた工作機械を制御する個別制御装置と、複数の前記個
別制御装置を統括して制御する中央制御装置とからな
り、前記個別制御装置と前記中央制御装置との間で前記
個別制御装置にて管理される前記工具マガジン内の前記
工具の工具情報の受け渡しを行って、前記工具が前記工
具マガジンから抜き取られるときに前記個別制御装置か
らアップロードした前記工具情報を前記中央制御装置に
て前記工具のIDチップに書込み、一方、前記工具が前
記工具マガジンに差し込まれるときに前記中央制御装置
にて前記工具の前記IDチップから読み込んだ前記工具
情報を前記個別制御装置にダウンロードする工作機械の
数値制御装置において、前記工具マガジン内の工具の有
無を記憶するマガジン情報管理手段と、前記マガジン情
報管理手段から工具交換位置に前記工具が有るか否かを
判別する判別手段と、前記判別手段によって前記工具交
換位置に前記工具が有ると判別された場合には前記個別
制御装置より前記工具情報をアップロードし、このアッ
プロードした工具情報を前記工具の前記IDチップに書
込む工具情報書込み手段と、前記判別手段によって前記
工具交換位置に前記工具が無いと判別された場合には前
記工具が差し込まれた後に前記工具の前記IDチップか
ら前記工具情報を読込み、この読込んだ工具情報を前記
個別制御装置にダウンロードする工具情報読込み手段と
を前記中央制御装置に設けたことを特徴とする数値制御
装置。2. An individual control device for controlling a machine tool having a tool magazine for storing a plurality of tools, and a central control device for integrally controlling the plurality of individual control devices. The tool information of the tool in the tool magazine managed by the individual control device is exchanged with the central control device, and uploaded from the individual control device when the tool is extracted from the tool magazine. The tool information read from the ID chip of the tool by the central controller when the tool is inserted into the tool magazine by the central controller. In a numerical controller of a machine tool that downloads data to the individual control device, a magazine that stores the presence or absence of tools in the tool magazine An information management unit, a determination unit that determines whether the tool is present at the tool exchange position from the magazine information management unit, and the determination unit determines that the tool is present at the tool exchange position by the determination unit. When the tool information writing means for uploading the tool information from the individual control device and writing the uploaded tool information in the ID chip of the tool, and the determining means determines that there is no tool at the tool exchange position. The central control unit is provided with a tool information reading means for reading the tool information from the ID chip of the tool after the tool is inserted and downloading the read tool information to the individual control unit. Numerical control device characterized by.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7054799A JPH08243869A (en) | 1995-03-14 | 1995-03-14 | Numerical control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7054799A JPH08243869A (en) | 1995-03-14 | 1995-03-14 | Numerical control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08243869A true JPH08243869A (en) | 1996-09-24 |
Family
ID=12980808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7054799A Pending JPH08243869A (en) | 1995-03-14 | 1995-03-14 | Numerical control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08243869A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000061758A (en) * | 1998-08-21 | 2000-02-29 | Toyoda Mach Works Ltd | Tool magazine |
JP2015201012A (en) * | 2014-04-07 | 2015-11-12 | 中村留精密工業株式会社 | Origin state display device of tool rest |
CN109894902A (en) * | 2017-12-08 | 2019-06-18 | 财团法人工业技术研究院 | Confirm the method and power tool system of tool position |
-
1995
- 1995-03-14 JP JP7054799A patent/JPH08243869A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000061758A (en) * | 1998-08-21 | 2000-02-29 | Toyoda Mach Works Ltd | Tool magazine |
JP2015201012A (en) * | 2014-04-07 | 2015-11-12 | 中村留精密工業株式会社 | Origin state display device of tool rest |
CN109894902A (en) * | 2017-12-08 | 2019-06-18 | 财团法人工业技术研究院 | Confirm the method and power tool system of tool position |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100464266C (en) | NC machine tool | |
JPWO2008010264A1 (en) | Numerical controller | |
US20040098152A1 (en) | Production process control system | |
WO2014062010A1 (en) | Method for managing turret tools by using visual information for machine tool | |
JP2008238356A (en) | Machine tool, machine tool tool magazine control program, and tool magazine control program recording medium | |
JPH0220371B2 (en) | ||
JPH08243869A (en) | Numerical control device | |
JP2010099766A (en) | Machine tool including automatic tool changing device | |
JP4424133B2 (en) | Input/Output Data Management Device | |
EP0551132B1 (en) | Sequence controller including error correction and method therefor | |
US20080288969A1 (en) | Unattended Data Storage System | |
JPH04331036A (en) | Identified tool management system | |
JPH0985583A (en) | Confirming method and device for tool used in program controller | |
JP4269533B2 (en) | Numerical controller | |
JP7422976B2 (en) | Tool change control system, tool change control method and program | |
JPH11161479A (en) | Data processing device, data processing method, and recording medium | |
US7278146B2 (en) | Apparatus and method for locking tray of disc drive | |
KR20240141416A (en) | Tool magazine device and control method of machine tool magazine | |
JP2531868Y2 (en) | Numerical controller with automatic adjustment tool identification function | |
JP6995179B1 (en) | Machine tool controller and machine tool | |
JP2000061734A (en) | Electric discharge machining device | |
JPH0643920A (en) | Tool control system | |
EP3699841A1 (en) | Dental processing machine-operating device, dental processing machine-operating method and dental processing machine-operating system | |
JPH04104304A (en) | Work method for numerically controlled machine tool | |
JP3473395B2 (en) | Dubbing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20050411 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061017 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061025 |
|
A521 | Written amendment |
Effective date: 20061220 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070124 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070202 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 3 Free format text: PAYMENT UNTIL: 20100223 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100223 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 4 Free format text: PAYMENT UNTIL: 20110223 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110223 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120223 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 5 Free format text: PAYMENT UNTIL: 20120223 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20130223 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130223 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20130223 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140223 Year of fee payment: 7 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |