JP2701642B2 - Numerical controller and cell controller - Google Patents

Numerical controller and cell controller

Info

Publication number
JP2701642B2
JP2701642B2 JP4030593A JP3059392A JP2701642B2 JP 2701642 B2 JP2701642 B2 JP 2701642B2 JP 4030593 A JP4030593 A JP 4030593A JP 3059392 A JP3059392 A JP 3059392A JP 2701642 B2 JP2701642 B2 JP 2701642B2
Authority
JP
Japan
Prior art keywords
tool
data
information
mounting
life
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP4030593A
Other languages
Japanese (ja)
Other versions
JPH0584631A (en
Inventor
武都志 福谷
まみ 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4030593A priority Critical patent/JP2701642B2/en
Publication of JPH0584631A publication Critical patent/JPH0584631A/en
Application granted granted Critical
Publication of JP2701642B2 publication Critical patent/JP2701642B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Automatic Tool Replacement In Machine Tools (AREA)
  • General Factory Administration (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、数値制御装置および
セルコントローラに関し、さらに詳しくは、複数の工具
装着部位を保有するNC工作機械を制御する数値制御装
置および少なくとも1台以上のNC工作機械(例えばマ
シニングセンタ)の実装工具を集中管理するセルコント
ローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device and a cell controller, and more particularly, to a numerical control device for controlling an NC machine tool having a plurality of tool mounting portions and at least one or more NC machine tools. For example, the present invention relates to a cell controller for centrally managing mounting tools of a machining center).

【0002】[0002]

【従来の技術】(1)図34は、従来の数値制御装置を
示すブロック接続図であり、図において、31はメモリ
32に格納された制御プログラムの実行により、系全体
の論理的処理を行う中央処理装置(以下、CPUと記
す)、33は紙テープなどの記録媒体のデータの入出力
処理をする入出力装置、34は系に対しデータの入力あ
るいは指令を与えるキースイッチを持った操作パネル、
35はディスプレイ、36は工作機械のテーブルを動か
すためのサーボ制御回路、37は機械側の強電回路とC
PU31を中心とする制御系回路とを接続するための接
点入出力インタフェースである。
2. Description of the Related Art (1) FIG. 34 is a block diagram showing a conventional numerical controller. In FIG. 34, reference numeral 31 denotes a logical program for the entire system by executing a control program stored in a memory 32. A central processing unit (hereinafter abbreviated as CPU); 33, an input / output device for input / output processing of data on a recording medium such as a paper tape; 34, an operation panel having key switches for inputting data or giving instructions to the system;
35 is a display, 36 is a servo control circuit for moving the table of the machine tool, 37 is a machine side strong electric circuit and C
This is a contact input / output interface for connecting to a control system circuit centered on the PU 31.

【0003】次に、動作について説明する。まず、工作
機械を数値制御運転するにあたって、加工プログラムと
は別に工具に関するデータを操作パネル34上のキース
イッチにより入力する。例えば、工具径補正量、工具長
補正量、工具寿命時間等である。これらによりCPU3
1によるデータ処理によって、加工プログラムから工具
軌跡を決定したり、干渉チェックを行ったりする。
Next, the operation will be described. First, in performing numerical control operation of the machine tool, data relating to the tool is input by a key switch on the operation panel 34 separately from the machining program. For example, there are a tool diameter correction amount, a tool length correction amount, a tool life time, and the like. By these, CPU3
The data processing by 1 determines a tool trajectory from a machining program and performs an interference check.

【0004】(2)図35は、特開平1−289648
号公報に示された従来の工具情報管理装置30の原理図
である。工作機械11−1〜11−nは複数の工具装着
部位を有し、工具装着部位に装着された工具に関する工
具データ例えば工具オフセット値や工具使用時間等を保
持し適宜更新する工具情報管理手段12を具備してい
る。
(2) FIG. 35 is Japanese Patent Application Laid-Open No. 1-289648.
It is a principle diagram of the conventional tool information management device 30 shown in the gazette. The machine tools 11-1 to 11-n have a plurality of tool mounting portions, and hold and update tool data, such as a tool offset value and a tool use time, relating to the tools mounted on the tool mounting portions, and appropriately update the tool information management means 12. Is provided.

【0005】工具情報管理装置30には、各工作機械1
1−1〜11−nに装着された工具に関する全工具デー
タを格納した全工具情報格納エリア21と、新規に購入
あるいは制作された工具または寿命を超えたために刃を
替えて再生した工具の径と長さを測定するツールプリセ
ッタ13から送出された情報を前記全工具情報格納エリ
ア21に渡すツールプリセッタ情報入力手段25とが具
備されており、さらに工作機械11−1〜11−nが保
持する工具データをアップロードして全工具情報格納エ
リア21へ格納するアップロード手段22と、全工具情
報格納エリア21に格納された工具データを工作機械1
1−1〜11−nへダウンロードするダウンロード手段
23と、オペレータの操作に基づいて全工具情報格納エ
リア21内の情報の一部を削除、追加および出力を行う
全工具情報管理手段24とが具備されている。
[0005] The tool information management device 30 includes each machine tool 1
All tool information storage area 21 storing all tool data relating to tools mounted in 1-1 to 11-n, and newly purchased
Or you may need to remove the blade
A tool preset that measures the diameter and length of a regenerated tool
The information sent from the cutter 13 is stored in the all tool information storage area.
A tool presetter information input means 25 for transferring the tool data held by the machine tools 11-1 to 11-n to the entire tool information storage area 21; The tool data stored in the all tool information storage area 21 is
A download unit 23 for downloading to the 1-1 to 11-n and an all tool information management unit 24 for deleting, adding and outputting a part of the information in the all tool information storage area 21 based on the operation of the operator are provided. Have been.

【0006】図36は、同公報に示された従来の工具情
報管理装置が適用され複数台のマシニングセンタからな
るシステムの一例を表すシステム構成図である。尚、本
図ではマシニングセンタは4台描かれているがこれ以下
でもこれ以上でも同様である。
FIG. 36 is a system configuration diagram showing an example of a system including a plurality of machining centers to which the conventional tool information management device disclosed in the publication is applied. In this figure, four machining centers are illustrated, but the same applies to less or more machining centers.

【0007】ホストコンピュータ91とセルコントロー
ラ92およびマシニングセンタ93−1〜93−4はそ
れぞれオペレータ操作が可能な入力装置および表示装置
を備えた独立のコンピュータ(マシニングセンタの場合
には即ち数値制御装置)よりなっている。セルコントロ
ーラ92はマシニングセンタ93−1〜93−4の加工
状況を監視し、加工実績の集計等を行う。ホストコンピ
ュータ91はセルコントローラ92の上位に位置し、自
動倉庫の管理を含む工場全体の管理を受け持っている。
各マシニングセンタ93−1〜93−4はそれぞれマガ
ジン内に数100本程度までの工具を一時に持つことが
可能であり、加工プログラムが実行されると、その中の
工具切替命令が実行される毎に工具を交換しながら加工
を進める。ツールプリセッタ13は新規に購入あるいは
制作された工具または寿命を超えたために刃を替えて再
生した工具の径と長さを測定する装置であり、測定結果
は通信回線を介してセルコントローラ92へ送られる。
The host computer 91, the cell controller 92, and the machining centers 93-1 to 93-4 are each composed of an independent computer (in the case of a machining center, that is, a numerical controller) having an input device and a display device that can be operated by an operator. ing. The cell controller 92 monitors the processing status of the machining centers 93-1 to 93-4, and totals the processing results. The host computer 91 is located above the cell controller 92, and is responsible for management of the entire factory including management of the automatic warehouse.
Each of the machining centers 93-1 to 93-4 can have up to several hundreds of tools in a magazine at a time, and when a machining program is executed, each time a tool switching instruction is executed. Work while changing tools. The tool presetter 13 is a device for measuring the diameter and length of a newly purchased or produced tool or a tool that has been regenerated by changing the blade because the life has been exceeded. The measurement result is sent to the cell controller 92 via a communication line. Sent.

【0008】図35の工具情報管理装置30はセルコン
トローラ92のハードウェアおよびソフトウェアにより
実現される。工具情報管理装置30内の全工具情報格納
エリア21はこのセルコントローラ92が具備するメモ
リの一部の領域に設けた工具データ領域により実現され
る。表1はその工具データ領域の一例の構造を説明する
ものである。
[0008] The tool information management device 30 of FIG. 35 is realized by hardware and software of the cell controller 92. The entire tool information storage area 21 in the tool information management device 30 is realized by a tool data area provided in a partial area of a memory provided in the cell controller 92. Table 1 explains the structure of an example of the tool data area.

【表1】 上表中、Iは各MCに付された番号を表すインデックス
であり、JはそれぞれのMC内に保有される工具に付さ
れたインデックスである。したがって工具番号を表す配
列T_NUM(I,J)は(MCの台数)×(1台あた
りの工具装着数の最大値)の数だけの整数型のデータで
あるMC番号をI,Jの値に応じて格納することのでき
る配列である。
[Table 1] In the above table, I is an index indicating a number assigned to each MC, and J is an index assigned to a tool held in each MC. Therefore, the array T_NUM (I, J) representing the tool numbers is obtained by converting the MC numbers, which are integer data of the number of (the number of MCs) × (the maximum value of the number of installed tools per machine), into the values of I and J. It is an array that can be stored in response.

【0009】同様に、POT(I,J)は同じ数だけの
整数型のデータであるポット番号をI,Jの値に応じて
格納することのできる配列である。ただし、Jを工具番
号またはポット番号とすれば、すなわち、各データを工
具番号またはポット番号の順に並べれば、T_NUM
(I,J)またはPOT(I,J)の領域は不要とな
る。工具長LENGTH(I,J)は各MCが保有する
各工具の工具長のデータがI,Jの値に応じて格納され
る配列であり、工具径RADIUS(I,J)は各MC
が保有する各工具の工具径のデータがI,Jの値に応じ
て格納される配列である。工具長と工具径はたとえば、
該工具が新規に購入あるいは制作された時、または、該
工具が寿命を超えたために刃を替えて再生した時に例え
ばツールプリセッタ13において測定されたデータであ
って、MCにおいて工具が交換された時に工具の位置を
補正する上で基礎となるデータである。工具寿命時間T
L_SET(I,J)は各MCが保有する各工具につい
て予め設定された使用可能な時間がI,Jの値に応じて
格納される配列であり、工具使用時間TL_TIM
(I,J)は各MCが保有する各工具について使用され
たトータルな時間がI,Jの値に応じて格納される配列
である。したがって、工具使用時間TL_TIM(I,
)がTL_SET(I,J)を超えたら、該工具は寿
命を超過したということになる。前述の工具長および工
具径はオフセットデータと称され、工具寿命時間および
工具使用時間は工具寿命データと称されて、一般にMC
内ではそれぞれ別個に処理されているが、工具情報管理
装置30内ではこれらを一括して取り扱うものとする。
Similarly, POT (I, J) is an array capable of storing the same number of pot numbers, which are integer-type data, in accordance with the values of I and J. However, if J is a tool number or pot number, that is, if each data is arranged in order of tool number or pot number, T_NUM
The area of (I, J) or POT (I, J) becomes unnecessary. The tool length LENGTH (I, J) is an array in which the tool length data of each tool held by each MC is stored according to the values of I and J, and the tool diameter RADIUS (I, J) is stored in each MC.
Is an array in which the data of the tool diameters of the respective tools held by the above are stored according to the values of I and J. For example, tool length and tool diameter
For example, when the tool is newly purchased or produced, or when the tool has been renewed after changing the blade because the tool life has expired, the data is measured, for example, at the tool presetter 13, and the tool was replaced at the MC. This is data that is sometimes used as a basis for correcting the position of the tool. Tool life time T
L_SET (I, J) is an array in which the available time preset for each tool held by each MC is stored according to the values of I and J, and the tool usage time TL_TIM
(I, J) is an array in which the total time used for each tool held by each MC is stored according to the values of I and J. Therefore, the tool usage time TL_TIM (I,
If J ) exceeds TL_SET (I, J), the tool has exceeded its life. The aforementioned tool length and tool diameter are referred to as offset data, and the tool life time and tool use time are referred to as tool life data.
In the tool information management device 30, these are handled collectively.

【0010】(3)図37は、特開昭62−38908
号公報に示された従来の工具形状の描画を行う数値制御
装置の一例を示すフローチャートである。この処理ルー
チン全体は工具データ入力の1つのデータ設定がなされ
るごとにコールされる。データの設定はその値に対応し
た数字キーおよび符号キーあるいは小数点キーが押され
た後、設定キーが押されることによりなされ、本ルーチ
ンが起動される。同図において、ステップ51は入力キ
ーコードのデータ列を実際の数値に変換し、その数値が
正常なものであるか否かをチェックするキー入力処理ル
ーチンであり、ステップ52はカーソル位置データよ
り、そのデータの入るべき工具データファイル上の位置
を決めて格納するルーチンであり、53は工具の絵を作
るためのルーチンである。
(3) FIG.
1 is a flowchart showing an example of a conventional numerical control device for drawing a tool shape shown in Japanese Patent Application Laid-Open Publication No. HEI 10-125, 1988. This entire processing routine is called each time one data setting for tool data input is made. The data is set by pressing the numeric key and the sign key or the decimal point key corresponding to the value and then pressing the setting key, and this routine is started. In the figure, step 51 is a key input processing routine for converting the data string of the input key code into an actual numerical value and checking whether the numerical value is normal or not. A routine 53 for determining and storing a position on the tool data file where the data is to be stored is a routine 53 for making a picture of the tool.

【0011】図38は、上記のルーチン53の詳細を示
すフローチャートで、先ず、図形作成用のルーチン起動
によって図形作成処理を行う(ステップ61)。この図
作成処理では、工具データの解析処理を実行し(ステ
ップ62)、図形ファイルの作成処理を行う(ステップ
63)。続いて、図形表示処理を行う(ステップ6
4)。この図形表示処理では図形表示位置のセット処理
を行い(ステップ65)、このセット処理に続いて描画
処理を行う(ステップ66)。なお、111はメモリ上
に設けた工具データファイル、112は同じく図形フア
イル、113は他の絵の仕様を決めるための処理用パラ
メータが格納されている領域で、別途キー入力される。
FIG. 38 is a flowchart showing the details of the routine 53. First, a figure creation process is performed by starting a figure creation routine (step 61). In this graphic creation processing, analysis processing of tool data is executed (step 62), and graphic file creation processing is performed (step 62).
63) . Subsequently, a graphic display process is performed (step 6).
4). In this graphic display process, a graphic display position setting process is performed (step 65), and a drawing process is performed following this set process (step 66). Reference numeral 111 denotes a tool data file provided on a memory, 112 denotes a graphic file, and 113 denotes an area in which processing parameters for determining the specifications of another picture are stored.

【0012】(4)図39は、特開昭58−11484
2号公報に示された従来の工具寿命管理表示の具体例で
ある。表示画面上には工具番号とその工具の切削使用時
間(すなわちその番号の工具が選択されている時の切削
送り実行時間を計測したもの)および、その工具の寿命
時間が表示されている。さらに、これらの情報の表示色
は図に示されるように緑、黄、赤、と区別され、緑は使
用時間の累積が寿命時間の90%以下でまだ充分切削加
工に供することが可能であることを示しており、黄はそ
の使用時間が寿命時間の90%を超えたことを示し、作
業者に予備工具の準備を促す。また赤は使用時間の累積
が寿命時間を超えたことを示し、作業者は直ちに予備工
具と交換する様にとの警告を意味している。
(4) FIG.
2 is a specific example of a conventional tool life management display shown in Japanese Patent Publication No. 2 (JP-A) No. 2 (Kokai) No. 2 (Kokai) No. 2 (Kokai) No. 2 (Kokai) No. 2 (Kokai) No. 2 (Kokai) No. 2 (KOKAI); On the display screen, the tool number, the cutting use time of the tool (that is, the measurement of the cutting feed execution time when the tool of the number is selected), and the life time of the tool are displayed. Further, the display colors of these pieces of information are distinguished from green, yellow, and red as shown in the figure, and green can be used for cutting even when the accumulated use time is 90% or less of the life time. Yellow indicates that the usage time exceeds 90% of the life time, and prompts the operator to prepare a spare tool. Red indicates that the accumulated use time has exceeded the service life time, and indicates a warning that the operator should immediately replace the spare tool.

【0013】(5)図40は、従来のセルコントローラ
901の原理図である。このセルコントローラ901に
おける工具管理は、次のようなものである。各NC工作
機械において実行される加工プログラム642と同じも
のを加工プログラム管理手段612にて管理し、この加
工プログラム642内のT番号643をT指令検索手段
613にて検索し、出力手段619にてオペレータに知
らせる。また、キー入力手段633にて工具番号情報6
44を入力し、この工具番号情報644を工具番号管理
手段615にて管理し、出力手段619にてオペレータ
に知らせる。また、キー入力手段633にて実装工具情
報640を入力し、マガジン情報管理手段611にて管
理し、出力手段619にてオペレータに知らせる。
(5) FIG. 40 shows the principle of the conventional cell controller 901. The tool management in the cell controller 901 is as follows. The same machining program 642 executed in each NC machine tool is managed by the machining program management means 612, the T number 643 in the machining program 642 is searched by the T command search means 613, and the output means 619 Notify the operator. In addition, the tool number information 6
44, the tool number information 644 is managed by the tool number management means 615, and the output means 619 notifies the operator. Further, the mounting tool information 640 is input by the key input unit 633, managed by the magazine information management unit 611, and notified to the operator by the output unit 619.

【0014】[0014]

【発明が解決しようとする課題】(1)上記従来の技術
(2)のように構成された従来の数値制御装置では、セ
ルコントローラと称される数値制御装置の上位のコンピ
ュータによって、全工具データを管理しているので、そ
の設置に多大な費用がかかるという問題点があった。ま
た、一般にセルコントローラとNC工作機械は、ある程
度離れた場所に設置され、セルコントローラの操作によ
って工具データを数値制御装置にダウンロードあるいは
アップロードするので、実際に機械に装着される工具を
確認しながら工具データのダウンロード/アップロード
操作をすることが出来なかった。
(1) In the conventional numerical controller configured as in the above-mentioned conventional technique (2), all the tool data is stored in a computer, which is higher than the numerical controller called a cell controller. , There is a problem that it takes a great deal of money to install it. In general, the cell controller and the NC machine tool are installed at a certain distance from each other, and tool data is downloaded or uploaded to the numerical controller by operating the cell controller. Data download / upload operation could not be performed.

【0015】(2)上記従来の技術(1)のように構成
された従来の数値制御装置では、記憶媒体のフォーマッ
トの相違などの問題によって、パーソナルコンピュータ
やCAD/CAM装置で作成した段取りデータや加工図
面や作業指示などのデータを、フロッピーディスク等の
記憶媒体を介して数値制御装置に登録および表示するこ
とが出来なかった。従って、これらの情報は例えば段取
りシートと称される書類によってオペレータの手によっ
て数値制御装置に入力されるのが一般的である。しか
し、このような方法は時間的な無駄が多く、手を介す
るため情報が正確に伝わらないことが起こり易く、ま
た、書類では加工工程に対してタイミングよく指示でき
ない等の問題点があった。
(2) In the conventional numerical control device configured as in the above-mentioned conventional technology (1), setup data created by a personal computer or a CAD / CAM device or the like is caused by problems such as differences in the format of a storage medium. Data such as processing drawings and work instructions could not be registered and displayed on the numerical controller via a storage medium such as a floppy disk. Accordingly, such information is generally input to the numerical controller by the operator's hand, for example, by a document called a setup sheet. However, this method is time-wasteful, tends to occur that the information for over the human hand is not accurately transmitted, also in the document has a problem such that can not be indicated timely relative machining steps .

【0016】(3)上記従来の技術(3)のように構成
された従来の数値制御装置では、工具図形を計算によっ
て生成しているので、予めいくつかのパラメータを与え
ねばならず、また、直線と円弧とによって図形を構成し
ているので工具形状をリアルに表現できない等の問題点
があった。
(3) In the conventional numerical control device configured as in the above-mentioned conventional technology (3), since a tool figure is generated by calculation, some parameters must be given in advance. Since a figure is composed of straight lines and circular arcs, there is a problem that a tool shape cannot be realistically represented.

【0017】(4)上記従来の技術(4)のように構成
された従来の数値制御装置では、工具使用時間が工具寿
命時間の90%を超えたか否かで色分けしているので、
これから行おうとする加工の種類によっては、必ずしも
適切な警告を作業者に与えることができない問題点があ
った。例えば非常に長時間の加工(または工具に大
負荷がかかる加工)を行おうとする場合、工具使用時間
が工具寿命の90%以下であれば、実際には工具交換の
必要があるにもかかわらず緑色表示されてしまい、適切
警告表示を行えない。また、使用時間が寿命時間に対
してどの程度になったかが視覚的に確認しずらいという
問題点もあった。
(4) In the conventional numerical control device configured as in the above-mentioned conventional technology (4), the color is coded depending on whether or not the tool use time exceeds 90% of the tool life time.
Depending on the type of processing you are going to do,
There was a problem that an appropriate warning could not be given to the worker . For example, when an attempt is made very long machining (or processing large deal of <br/> load that written to the tool), tool use time
If it is less than 90% of the tool life, it will be displayed in green even though the tool needs to be changed.
Can not be performed Do not warning display. In addition, there is also a problem that it is difficult to visually confirm how much the use time has reached the life time.

【0018】(5)上記従来の技術(5)のように構成
された従来のセルコントローラは、実装されている工具
を自動的にオペレータに知らせる機能を持っているが、
必要な工具であって未実装の工具を自動的にオペレータ
に知らせる機能は持っていない。このため、NC工作機
械が加工プログラム642に従って加工する前に、オペ
レータは、NC工作機械に加工に必要な工具が実装され
ているか否かを確認する必要がある。すなわち、オペレ
ータは、出力手段619にて出力されたT番号643に
対応する工具番号を出力手段619にて出力された工具
番号情報644より探し、出力手段619にて出力され
た実装工具情報640より工具番号がセットされている
マガジン番号、ポット番号を探し、該当のマガジンのポ
ットに工具があるか否かを目で確認する必要がある。し
かし、このような確認には手間がかかり、また、誤りも
生じやすい。
(5) The conventional cell controller configured as in the above-described conventional technology (5) has a function of automatically informing an operator of a mounted tool.
It does not have a function for automatically informing the operator of a necessary tool that has not been mounted yet. Therefore, before the NC machine tool performs machining in accordance with the machining program 642, the operator needs to confirm whether or not tools necessary for machining are mounted on the NC machine tool. That is, the operator searches the tool number corresponding to the T number 643 output from the output unit 619 from the tool number information 644 output from the output unit 619, and searches for the tool number from the mounting tool information 640 output from the output unit 619. It is necessary to find a magazine number and a pot number in which the tool number is set, and visually check whether or not there is a tool in the pot of the corresponding magazine. However, such confirmation is time-consuming and error-prone.

【0019】この発明は、上記問題点を解決するために
なされたもので、 (1)例えばセルコントローラの様な数値制御装置の上
位にあたるコントローラを用いることなく、工場全体の
NC工作機械の工具に関する情報を一括管理し、オペレ
ータによる数値制御装置の操作で工具データを簡単に入
力することの出来る、 (2)段取りシート等の書類を用いず、フロッピーディ
スクという記憶媒体を通じて簡単に、しかも加工工程に
対してタイミングよく工具データを入力することの出来
る、 (3)工具図形を図形作成のためのパラメータ等を与え
ることなく、しかもリアルな工具図形を段取り時に画面
上に表示することの出来る、 (4)工具使用時間において予備工具との交換をオペレ
ータに知らせる時間をオペレータが指定することが出
来、また、工具使用時間が工具寿命時間に対してどの程
度になったか視覚的に確認しやすい、さらに、工具使用
予定時間の表示をすることによって加工効率が最も高い
工具交換時期をオペレータに知らせることの出来る、数
値制御装置を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems. (1) For example, the present invention relates to a tool for an NC machine tool in an entire factory without using a controller which is a higher-level numerical controller such as a cell controller. Information can be collectively managed and tool data can be easily input by the operator of the numerical controller. (2) It is easy to use a floppy disk storage medium without using documents such as setup sheets. On the other hand, tool data can be input in a timely manner. (3) A tool figure can be displayed on the screen during setup without giving parameters or the like for creating a tool figure. (4) ) In the tool usage time, the operator may specify the time to notify the operator of replacement with the spare tool. In addition, it is easy to visually confirm how long the tool usage time has become relative to the tool life time, and the operator is notified of the tool change time with the highest machining efficiency by displaying the expected tool usage time. It is an object of the present invention to obtain a numerical control device capable of performing such operations.

【0020】また、 (5)各NC工作機械が加工プログラムで加工する場合
に必要とする工具であってマガジンに実装されていない
工具番号を、加工前に、自動的に、オペレータに知らせ
ることの出来る、セルコントローラを得ることを目的と
する。
(5) A tool number which is required when each NC machine tool performs machining by a machining program and which is not mounted on a magazine is automatically notified to an operator before machining. The purpose is to obtain a cell controller that can.

【0021】[0021]

【課題を解決するための手段】第1の発明に係る数値制
御装置は、プログラムやデータを格納する記憶手段を有
する情報処理装置、該プログラムやデータ、情報処理の
結果等を表示するディスプレイ、データ入出力装置及び
系に対しデータの入力あるいは指令を与えるキースイッ
チを持った操作パネルを備え、かつ、複数のNC工作機
械に装着された全工具データを格納する全工具データ記
憶装置と通信回線で接続され数値制御装置であって、
複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、該NC工作機械に装着された工具
の工具データを該全工具データ記憶装置よりアップロ
ドして該工具データ記憶部へ格納するアップロード手段
該工具データ記憶部に格納された工具データを該全
工具データ記憶装置へダウンロードするダウンロード手
段と、工具データをアップロードおよびまたはダウンロ
ードする際に、数値制御装置で管理できる工具データの
フォーマットとパーソナルコンピュータ等で管理できる
工具データのフォーマットとの変換を行なう変換手段と
を備えたものである。
According to a first aspect of the present invention, there is provided a numerical control apparatus comprising: an information processing apparatus having storage means for storing a program and data; a display for displaying the program and data; a result of information processing; An input / output device and an operation panel having a key switch for inputting data or commands to the system are provided, and all tool data storage devices for storing all tool data mounted on a plurality of NC machine tools are connected to a communication line. a connected Ru numerical controller,
A tool data storage unit for storing tool data relating to a tool mounted on the tool mounting site of an NC machine tool having a plurality of tool mounting sites; and uploading means for storing and up pro over <br/> de from the storage device to the tool data storage section, and download means for downloading the tool data stored in the tool data storage section to該全tool data storage device, When uploading and / or downloading tool data, there is provided a conversion means for converting between a format of tool data which can be managed by a numerical controller and a format of tool data which can be managed by a personal computer or the like. It is.

【0022】第2の発明に係る数値制御装置は、プログ
ラムやデータを格納する記憶手段を有する情報処理装
置、該プログラムやデータ、情報処理の結果等を表示す
るディスプレイ、データ入出力装置及び系に対しデータ
の入力あるいは指令を与えるキースイッチを持った操作
パネルを備えた数値制御装置であって、複数の工具装着
部位を保有するNC工作機械の該工具装着部位に装着さ
れた工具に関する工具データを格納する工具データ記憶
部と、外部記憶媒体とデータのやりとりを行う外部記憶
媒体入出力部と、外部記憶媒体のフォーマット形式を複
数種類記憶しておくためのフォーマット記憶部と、それ
らのフォーマットの中からオペレータがフォーマットを
選定するフォーマット選定手段と、外部記憶媒体と数値
制御装置内部での工具データのフォーマットを相互に交
換して読み書き可能にするフォーマット交換手段とを備
えたものである。
A numerical controller according to a second aspect of the present invention includes an information processing apparatus having storage means for storing programs and data, a display for displaying the programs and data, the results of information processing, and the like, a data input / output apparatus and a system. A numerical control device comprising an operation panel having a key switch for inputting data or giving a command, wherein the NC data includes a plurality of tool mounting portions. A tool data storage unit for storing, an external storage medium input / output unit for exchanging data with an external storage medium, a format storage unit for storing a plurality of types of external storage medium formats, and Format selection means for the operator to select the format from the external storage medium and processing within the numerical controller. Replace the format of data to each other is obtained a format exchange means to enable reading and writing.

【0023】第3の発明に係る数値制御装置は、プログ
ラムやデータを格納する記憶手段を有する情報処理装
置、該プログラムやデータ、情報処理の結果等を表示す
るディスプレイ、データ入出力装置及び系に対しデータ
の入力あるいは指令を与えるキースイッチを持った操作
パネルを備えた数値制御装置であって、複数の工具装着
部位を保有するNC工作機械の該工具装着部位に装着さ
れた工具に関する工具データを格納する工具データ記憶
部と、外部記憶媒体とデータのやりとりを行う外部記憶
媒体入出力部と、該工具の形状をイメージデータとして
格納する工具画像ファイルと、該工具装着部位に装着さ
れるべき工具の画像を前記ディスプレイに表示する工具
画像表示処理手段とを備えたものである。
A numerical control apparatus according to a third aspect of the present invention is an information processing apparatus having storage means for storing programs and data, a display for displaying the programs and data, the results of information processing, and the like, a data input / output apparatus and a system. A numerical control device comprising an operation panel having a key switch for inputting data or giving a command, wherein the NC data includes a plurality of tool mounting portions. A tool data storage unit for storing, an external storage medium input / output unit for exchanging data with an external storage medium, a tool image file for storing the shape of the tool as image data, and a tool to be mounted on the tool mounting site And a tool image display processing means for displaying the image on the display.

【0024】第4の発明に係る数値制御装置は、プログ
ラムやデータを格納する記憶手段を有する情報処理装
置、該プログラムやデータ、情報処理の結果等を表示す
るディスプレイ及び系に対しデータの入力あるいは指令
を与えるキースイッチを持った操作パネルを備えた数値
制御装置であって、複数の工具装着部位を保有するNC
工作機械の該工具装着部位に装着された工具に関する工
具データを格納する工具データ記憶部と、工具使用時間
と予め登録済みの工具寿命時間との割合を前記ディスプ
レイに図示する手段とを備えたものである。
A numerical control apparatus according to a fourth aspect of the present invention is an information processing apparatus having storage means for storing programs and data, a display and a system for displaying the programs and data, the results of information processing, and the like. A numerical controller having an operation panel having a key switch for giving a command, wherein the NC has a plurality of tool mounting parts.
A tool data storage unit for storing tool data relating to a tool mounted on the tool mounting portion of the machine tool; and a unit for displaying on the display a ratio between a tool usage time and a tool life time registered in advance. It is.

【0025】第5の発明に係る数値制御装置は、プログ
ラムやデータを格納する記憶手段を有する情報処理装
置、該プログラムやデータ、情報処理の結果等を表示す
るディスプレイ及び系に対しデータの入力あるいは指令
を与えるキースイッチを持った操作パネルを備えた数値
制御装置であって、複数の工具装着部位を保有するNC
工作機械の該工具装着部位に装着された工具に関する工
具データを格納する工具データ記憶部と、予め登録され
た工具使用予定時間と工具寿命時間を前記ディスプレイ
に図示する手段とを備えたものである。
A numerical control apparatus according to a fifth aspect of the present invention is an information processing apparatus having storage means for storing programs and data, a display and a system for displaying the programs and data, the results of information processing, and the like. A numerical controller having an operation panel having a key switch for giving a command, wherein the NC has a plurality of tool mounting parts.
A tool data storage unit for storing tool data relating to a tool mounted on the tool mounting portion of the machine tool; and means for displaying a tool use time and a tool life time registered in advance on the display. .

【0026】第6の発明に係るセルコントローラは、上
位計算機との通信手段と識別符号が付された複数の工具
をセットするマガジンの実装工具情報を管理する実装工
具情報管理手段とを有し、加工プログラムの実行により
工具を順次取り出し差し替えながら機械加工を行うNC
工作機械を少なくとも1台以上制御するセルコントロー
ラにおいて、NC工作機械より実装工具情報を受信する
通信手段と、前記受信した実装工具情報を管理するマガ
ジン情報管理手段と、加工プログラム内のT指令を検索
しT番号を取り出すT指令検索手段と、T番号と実際の
工具番号との対応情報を入力する情報入力手段と、前記
対応情報を管理する工具番号管理手段と、前記取り出し
たT番号に対応する実際の工具番号を取り出す工具番号
対応手段と、前記取り出した工具番号と前記実装工具情
報内の実装工具番号を比較して未実装工具番号を求める
工具番号比較手段と、前記未実装工具番号をオペレータ
に知らせる画面出力手段とを備えたものである。
A cell controller according to a sixth aspect of the present invention has communication means for communicating with a host computer and mounting tool information management means for managing mounting tool information of a magazine for setting a plurality of tools with identification codes. NC that performs machining while sequentially taking out and replacing tools by executing a machining program
In a cell controller for controlling at least one machine tool, a communication means for receiving mounting tool information from an NC machine tool, a magazine information managing means for managing the received mounting tool information, and a search for a T command in a machining program T command search means for extracting the T number, information input means for inputting the correspondence information between the T number and the actual tool number, tool number management means for managing the correspondence information, and T number corresponding to the extracted T number Tool number corresponding means for extracting the actual tool number, tool number comparing means for comparing the extracted tool number with the mounted tool number in the mounted tool information to obtain an unmounted tool number, and And screen output means for notifying the user.

【0027】第7の発明に係るセルコントローラは、上
位計算機との通信手段と識別符号が付された複数の工具
の寿命情報を管理する工具寿命管理手段とこれらの工具
がセットされたマガジンの実装工具情報を管理する実装
工具管理手段とを有し、加工プログラムの実行により工
具を順次取り出し差し替えながら機械加工を行うNC工
作機械を少なくとも1台以上制御するセルコントローラ
において、NC工作機械より実装工具情報と工具寿命情
報を受信する通信手段と、前記受信した実装工具情報を
管理するマガジン情報管理手段と、前記受信した工具寿
命情報を管理する工具情報管理手段と、加工プログラム
を解析しT番号を取り出し工具の使用予測値を算出する
工具使用予測値算出手段と、T番号と実際の工具番号と
の対応情報を入力する情報入力手段と、前記対応情報を
管理する工具番号管理手段と、前記取り出したT番号に
対応する実際の工具番号を取り出す工具番号対応手段
と、前記取り出した工具番号と前記実装工具情報内の実
装工具番号を比較して実装工具を求める工具番号比較手
段と、前記実装工具について前記工具寿命情報と前記使
用予測値とを比較して加工中に寿命となる工具番号を求
める寿命値比較手段と、前記求めた工具番号をオペレー
タに知らせる画面出力手段とを備えたものである。
According to a seventh aspect of the present invention, there is provided a cell controller comprising: a communication means for communicating with a host computer; tool life management means for managing life information of a plurality of tools having identification codes; and a magazine in which these tools are set. A cell controller for controlling at least one NC machine tool that performs machining while sequentially taking out and replacing tools by executing a machining program, the mounting tool information from the NC machine tool. Communication means for receiving the tool life information, magazine information management means for managing the received mounting tool information, tool information management means for managing the received tool life information, analyzing the machining program and extracting the T number Tool use prediction value calculation means for calculating tool use prediction values, and correspondence information between T numbers and actual tool numbers are input Information input means, tool number managing means for managing the correspondence information, tool number corresponding means for extracting an actual tool number corresponding to the extracted T number, and a tool number corresponding to the extracted tool number and the mounting tool information. Tool number comparing means for comparing the mounting tool number to obtain a mounting tool, and a life value comparing means for comparing the tool life information and the predicted use value with respect to the mounting tool to obtain a tool number having a life during machining. Screen output means for notifying the operator of the obtained tool number.

【0028】[0028]

【作用】第1の発明による数値制御装置では、全工具デ
ータ記憶装置すなわち工具データマスタは工場内の全N
C工作機械に取り付けられる全工具の全工具データが格
納される。アップロード手段は通信回線を通じて工具デ
ータマスタに格納されている工具データを数値制御装置
内に設けた工具データ記憶部すなわち工具データカレン
トに工具データ管理手段を用いて格納する。ダウンロー
ド手段は数値制御装置内に設けた工具データカレントに
格納された工具データを工具データ管理手段を用いて読
み出し、通信回線を通じて工具データマスタにダウンロ
ードする。フォーマット変換手段は数値制御装置内で管
理できる形式になっている工具データカレントのデータ
形式とパーソナルコンピュータやCAD/CAM装置で
管理できる形式になっている工具データマスタのデータ
形式を相互に変換する。
In the numerical controller according to the first aspect of the present invention, all the tool data
Data storage device, that is, the tool data master
All the tool data of all the tools attached to the C machine tool are stored. The upload means stores the tool data stored in the tool data master through a communication line in a tool data storage unit provided in the numerical controller, that is, a tool data current using the tool data management means. The download means reads the tool data stored in the tool data current provided in the numerical controller using the tool data management means, and downloads the tool data to the tool data master through the communication line. The format conversion means mutually converts the data format of the tool data current, which can be managed in the numerical controller, and the data format of the tool data master, which can be managed by a personal computer or a CAD / CAM device.

【0029】第2の発明による数値制御装置では、外部
記憶媒体入出力部はフロッピーディスク、ICカード等
の外部記憶媒体と数値制御装置との間で工具データの入
出力を行う。フォーマット記憶部には外部記憶媒体のフ
ォーマット、例えばフロッピーディスクであるならディ
スク容量とかトラック数とかセクタサイズ等を複数種類
記憶しておき、オペレータが入出力を行おうとする外部
記憶媒体のフォーマットを選定する。フォーマット変換
部は外部記憶媒体内の工具データのフォーマットと数値
制御装置内の工具データのフォーマットとをデータの並
び方、データサイズ等の情報を基に相互に変換する。
In the numerical controller according to the second aspect of the invention, the external storage medium input / output unit inputs and outputs tool data between the external storage medium such as a floppy disk and an IC card and the numerical controller. The format storage unit stores a plurality of formats of the external storage medium, for example, a disk capacity, the number of tracks, a sector size, etc. in the case of a floppy disk, and selects a format of the external storage medium to be input / output by the operator. . The format converter mutually converts the format of the tool data in the external storage medium and the format of the tool data in the numerical controller based on information such as the arrangement of the data and the data size.

【0030】第3の発明による数値制御装置では、外部
記憶媒体入出力部はフロッピーディスク、ICカード等
の外部記憶媒体から工具画像データを数値制御装置のメ
モリ上に読み込む。工具画像表示処理手段は読み込んだ
工具画像データをディスプレイ上の定められた領域に表
示する。
In the numerical controller according to the third aspect of the present invention, the external storage medium input / output unit reads tool image data from an external storage medium such as a floppy disk or an IC card onto a memory of the numerical controller. The tool image display processing means displays the read tool image data in a predetermined area on the display.

【0031】第4の発明による数値制御装置では、工具
寿命時間に対する工具使用時間の割合を計算し、その結
果に応じてグラフの色、パタン等を変えて画面上に表示
すると共に工具使用時間、寿命時間をも表示する。
In the numerical controller according to the fourth aspect of the present invention, the ratio of the tool use time to the tool life time is calculated, the color of the graph, the pattern, etc. are changed and displayed on the screen according to the result. The life time is also displayed.

【0032】第5の発明による数値制御装置では、予め
オペレータによって数値制御装置に入力されていた工具
使用予定時間と工具寿命時間をグラフ化し、並べて表示
装置に表示する。
In the numerical control device according to the fifth aspect of the present invention, the estimated tool use time and the tool life time, which have been input to the numerical control device by the operator in advance, are graphed and displayed side by side on the display device.

【0033】第6の発明によるセルコントローラでは、
通信手段は、NC工作機械より実装工具情報を受信す
る。マガジン情報管理手段は、前記受信した実装工具情
報を管理する。T指令検索手段は、加工プログラム内の
T指令を検索し、T番号を取り出す。情報入力手段は、
T番号と実際の工具番号との対応情報を入力する。工具
番号管理手段は、前記対応情報を管理する。工具番号対
応手段は、前記取り出したT番号に対応する実際の工具
番号を取り出す。工具番号比較手段は、前記取り出した
工具番号と前記実装工具情報内の実装工具番号とを比較
して、未実装工具番号を求める。画面出力手段は前記未
実装工具番号をオペレータに知らせる。そこで、加工プ
ログラムで加工するにあたり、必要な工具のうち、実装
されていない工具番号を自動的に事前にオペレータに知
らせることが出来る。
In the cell controller according to the sixth invention,
The communication means receives mounting tool information from the NC machine tool. The magazine information management means manages the received mounting tool information. The T command search means searches for a T command in the machining program and extracts a T number. The information input means is
Input the correspondence information between the T number and the actual tool number. The tool number management means manages the correspondence information. The tool number corresponding means extracts an actual tool number corresponding to the extracted T number. The tool number comparing means compares the extracted tool number with the mounted tool number in the mounted tool information to determine an unmounted tool number. The screen output means notifies the operator of the unmounted tool number. Therefore, when machining is performed by the machining program, a tool number that is not mounted among necessary tools can be automatically notified to an operator in advance.

【0034】第7の発明によるセルコントローラでは、
通信手段は、NC工作機械より実装工具情報と工具寿命
情報とを受信する。マガジン情報管理手段は、前記受信
した実装工具情報を管理する。工具情報管理手段は、前
記受信した工具寿命情報を管理する。工具使用予測値算
出手段は、加工プログラムを解析し、T番号を取り出
し、そのT番号の工具の使用予測値を算出する。情報入
力手段は、T番号と実際の工具番号との対応情報を入力
する。工具番号管理手段は、前記対応情報を管理する。
工具対応手段は、前記取り出したT番号に対応する実際
の工具番号を取り出す。工具番号比較手段は、前記工具
番号と前記実装工具情報内の実装工具番号を比較して、
実装工具を求める。寿命比較手段は、前記実装工具につ
いて前記工具寿命情報と前記使用予測値とを比較し、加
工中に寿命となる工具番号を求める。画面出力手段は、
前記求めた工具番号をオペレータに知らせる。そこで、
加工プログラムで加工するにあたり、必要な工具のう
ち、実装されていても加工中に寿命となってしまう工具
番号を自動的に事前にオペレータに知らせることが出来
る。
In the cell controller according to the seventh invention,
The communication means receives mounting tool information and tool life information from the NC machine tool. The magazine information management means manages the received mounting tool information. The tool information management means manages the received tool life information. The tool use predicted value calculation means analyzes the machining program, extracts a T number, and calculates a tool use predicted value of the T number. The information input means inputs correspondence information between the T number and the actual tool number. The tool number management means manages the correspondence information.
The tool corresponding means extracts an actual tool number corresponding to the extracted T number. Tool number comparing means compares the tool number and the mounting tool number in the mounting tool information,
Find mounting tools. The life comparing means compares the tool life information and the predicted use value with respect to the mounted tool, and obtains a tool number having a life during machining. The screen output means
The obtained tool number is notified to the operator. Therefore,
When machining with a machining program, the operator can be automatically informed in advance of a necessary tool number of a necessary tool whose tool life will expire during machining even if the tool is mounted.

【0035】[0035]

【実施例】以下、図に示す実施例によりこの発明をさら
に詳細に説明する。なお、以下に示す第1実施例〜第5
実施例は、図34に示す制御システムと同様の構成の制
御システムを使って実現される。また、以下に示す実施
例では、工具径、工具長のオフセットデータと工具寿命
時間、工具使用時間の寿命データをまとめて工具データ
と称する。 −第1実施例− 図1は、この発明の第1実施例による数値制御装置と全
工具情報記憶装置とからなるシステム構成図である。
尚、本図では、数値制御装置は3台描かれているが、こ
れ以下でもこれ以上でも同様である。同図において、1
01は全工具データ記憶装置(以下、工具データマスタ
と記す)で、工場内の全NC工作機械に取り付けられる
全工具の全工具データを格納しておくものである。1a
〜1cは、数値制御装置である。数値制御装置1は、工
具データを格納しておく記憶部である工具データ記憶部
(以下、工具データカレントと記す)104、工具デー
タカレントから工具データマスタ101へ工具データを
ダウンロードするダウンロード手段102、工具データ
マスタ101から工具データカレントへ工具データをア
ップロードするアップロード手段103、ダウンロード
手段102およびアップロード手段103からの要求に
よって工具データカレントへの書き込み、読み出し、ま
たは、オペレータによる操作パネル34(図34)の操
作あるいはCPU31(図34)からの指令によって工
具データカレントの工具データの修正等を行う工具デー
タ管理手段12、工具データカレントのデータ形式と工
具データマスタのデータ形式との相互変換を行うフォー
マット変換手段107を有する。なお、工具データカレ
ント104は、NC工作機械(図示省略)の複数の工具
装着部位に装着された工具に関するデータを格納してお
く記憶部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in more detail with reference to the embodiments shown in the drawings. In addition, the first to fifth embodiments described below.
The embodiment is implemented using a control system having the same configuration as the control system shown in FIG. In the embodiments described below, the tool diameter, the tool length offset data, the tool life time, and the tool use time life data are collectively referred to as tool data. First Embodiment FIG. 1 is a system configuration diagram including a numerical control device and a total tool information storage device according to a first embodiment of the present invention.
Although three numerical control devices are illustrated in the figure, the same applies to less or more numerical control devices. In the figure, 1
Reference numeral 01 denotes an all tool data storage device (hereinafter, referred to as a tool data master) which stores all tool data of all tools attached to all NC machine tools in the factory. 1a
1 to 1c are numerical control devices. The numerical controller 1 includes a tool data storage unit (hereinafter, referred to as a tool data current) 104 which is a storage unit for storing tool data, a download unit 102 for downloading tool data from the tool data current to the tool data master 101, The uploading means 103 for uploading the tool data from the tool data master 101 to the tool data current, the writing and reading of the tool data current according to the request from the downloading means 102 and the uploading means 103, or the operation of the operation panel 34 (FIG. 34) by the operator. A tool data management unit 12 that corrects the tool data of the tool data current in response to an operation or a command from the CPU 31 (FIG. 34), and performs a mutual conversion between the data format of the tool data current and the data format of the tool data master. Having Matto conversion unit 107. The tool data current 104 is a storage unit for storing data relating to tools mounted on a plurality of tool mounting sites of an NC machine tool (not shown).

【0036】図2は、上記数値制御装置の複数台の組合
せからなるシステムの一例を表すシステム構成図であ
る。パーソナルコンピュータ106は工具データマスタ
101に接続され、数値制御装置1との通信制御および
工具データマスタ101への工具データの格納や、格納
された工具データの削除、追加、修正、印字装置へ出力
等の制御を行うものである。工具データマスタ101と
数値制御装置1a〜1cは通信回線105で接続されて
いる。工具データマスタ101に格納される工具データ
の構造は、工具データの並び方、データサイズ等が一般
にパーソナルコンピュータのアプリケーションソフトウ
ェア、CAD/CAM装置毎に異なる。
FIG. 2 is a system configuration diagram showing an example of a system including a combination of a plurality of the numerical control devices. The personal computer 106 is connected to the tool data master 101, controls communication with the numerical controller 1, stores tool data in the tool data master 101, deletes, adds, corrects, and outputs the stored tool data to a printing device. Is performed. The tool data master 101 and the numerical controllers 1a to 1c are connected by a communication line 105. In the structure of the tool data stored in the tool data master 101, the arrangement of the tool data, the data size, and the like generally differ depending on the application software of the personal computer and the CAD / CAM device.

【0037】図3は、フォーマット変換手段107を実
現するために数値制御装置1内のメモリ32に格納さ
れ、CPU31によって実行されるソフトウェアプログ
ラムの一例を示すフローチャートである。この例ではパ
ーソナルコンピュータに限って説明しているが、CAD
/CAM装置に関してももちろん同様である。オペレー
タの操作パネル34の操作によって工具データのアップ
ロード処理またはダウンロード処理が選択されたらこの
処理が開始される。まず、パーソナルコンピュータの工
具データのフォーマットに関する情報をオペレータが操
作パネル34の操作によって入力する(ステップ31
0)。フォーマットに関する情報とは、従来の技術
(2)の表1に示した工具番号、工具長といったデータ
の種類の並び方と、データのサイズである。
FIG. 3 is a flowchart showing an example of a software program stored in the memory 32 of the numerical controller 1 and executed by the CPU 31 in order to realize the format conversion means 107. In this example, only the personal computer is described.
The same goes for the / CAM device. This processing is started when the upload or download processing of the tool data is selected by the operation of the operation panel 34 by the operator. First, the operator inputs information on the format of the tool data of the personal computer by operating the operation panel 34 (step 31).
0). The information on the format is the arrangement of data types such as the tool number and the tool length shown in Table 1 of the prior art (2) and the data size.

【0038】これらの情報を入力するには、例えば図4
に示すように数値制御装置1のディスプレイ35に工具
番号、ポット番号といったデータ並び方と、データサイ
ズを操作パネル34の操作によって入力出来るようにし
ておく。次に、工具データをダウンロードするのかアッ
プロードするのかをオペレータの操作パネル34の操作
によって入力する(ステップ311)。ダウンロードが
選択されたらステップ312以下の処理に移る。工具デ
ータを工具データカレント104から読み出し、ステッ
プ310で入力された情報に基づきデータの並び換え、
サイズの変更を行い(ステップ312)、メモリ32に
一時的に格納する。(ステップ313)。このデータ
は、ダウンロードされたら順次消去していく。次に、ダ
ウンロード手段を呼び出し(ステップ314)、終了す
る。ステップ311でアップロードが選択されたらステ
ップ315以下の処理に移る。まずアップロード手段を
呼び出し、アップロード手段の処理の中でアップロード
したパーソナルコンピュータの工具データを一時的にメ
モリ32に格納する(ステップ315)。次に、そのデ
ータを呼び出し、ステップ310で入力したフォーマッ
トに関する情報に基づき数値制御装置用のデータの並
び、サイズに変換し(ステップ316)、工具データカ
レント104に格納する(ステップ318)。一時的に
メモリ32に格納されたデータは変換されて工具データ
カレント104に格納された後に、順次消去する。
To input such information, for example, FIG.
As shown in the figure, the arrangement of data such as the tool number and the pot number and the data size can be input to the display 35 of the numerical controller 1 by operating the operation panel 34. Next, whether to download or upload the tool data is input by the operation of the operation panel 34 by the operator (step 311). When download is selected, the process proceeds to step 312 and subsequent steps. The tool data is read from the tool data current 104, and the data is rearranged based on the information input in step 310,
The size is changed (step 312), and the size is temporarily stored in the memory 32. (Step 313). This data is sequentially deleted when downloaded. Next, the download means is called (step 314), and the process ends. When the upload is selected in step 311, the process proceeds to step 315 and subsequent steps. First, the upload means is called, and the tool data of the personal computer uploaded during the processing of the upload means is temporarily stored in the memory 32 (step 315). Next, the data is called, the data for the numerical controller is arranged and converted into a size based on the information on the format input in step 310 (step 316), and stored in the tool data current 104 (step 318). The data temporarily stored in the memory 32 is converted and stored in the tool data current 104, and then sequentially deleted.

【0039】図5はアップロード手段103を実現する
ためのソフトウェアプログラムの一例を示すフローチャ
ートである。まず、通信回線105が使用可能であるか
否かをチェックするためにパーソナルコンピュータ10
6に対して通信要求を出す(ステップ300)。通信可
能状態にない場合は、例えば「通信エラー」というメッ
セージをディスプレイ35(図34)に表示して終了す
る。通信可能状態にある場合は、工具番号をオペレータ
が操作パネル34から入力する(ステップ301)。次
に、工具のオフセットデータか寿命データであるのかを
オペレータが操作パネル34から入力する(ステップ3
02)。これは従来の技術(2)で記したように数値制
御装置1ではオフセットデータと工具寿命データがそれ
ぞれ別個に管理されており、入出力のためのデータの形
式も異なるためである。次に、ステップ301,302
で入力されたデータをパーソナルコンピュータ106に
送信することによって、工具データマスタから工具デー
タを受信し(ステップ303)、メモリ32内に一時的
に記憶する(ステップ304)。更に、受信するデータ
がある場合にはステップ301以下の処理を繰り返す
(ステップ305)。
FIG. 5 is a flowchart showing an example of a software program for realizing the upload means 103. First, in order to check whether or not the communication line 105 is available, the personal computer 10 is checked.
Then, a communication request is issued to 6 (step 300). If the communication is not possible, a message “communication error” is displayed on the display 35 (FIG. 34), and the process ends. If the communication is possible, the operator inputs a tool number from the operation panel 34 (step 301). Next, the operator inputs from the operation panel 34 whether the data is tool offset data or life data (step 3).
02). This is because, as described in the prior art (2), in the numerical controller 1, offset data and tool life data are separately managed, and data formats for input / output are also different. Next, steps 301 and 302
Is transmitted to the personal computer 106 to receive the tool data from the tool data master (step 303) and temporarily store it in the memory 32 (step 304). Furthermore, the data to be received
If there is, repeat the processing from step 301 onward.
(Step 305).

【0040】図6は、ダウンロード手段102を実現す
るためのソフトウェアプログラムの一例をしめすフロー
チャートである。まず、通信回線105が使用可能であ
るか否かをチェックするかめにパーソナルコンピュータ
106に対して通信要求を出す(ステップ401)。通
信可能状態にない場合は、例えば「通信エラー」という
メッセージをディスプレイ35(図34)に表示して終
了する。通信可能状態にある場合には、工具番号をオペ
レータが操作パネル34から入力する(ステップ40
2)。次に、工具のオフセットデータか寿命データであ
るのかをオペレータが操作パネル34から入力する(ス
テップ403)。次に、ステップ402,403で入力
されたデータをパーソナルコンピュータ106に送信す
ることによって、一時的にメモリ32に記憶された工具
データを工具データマスタへ送信する(ステップ40
4)。更に、送信するデータがある場合にはステップ4
02以下の処理を繰り返す(ステップ405)
FIG. 6 is a flowchart showing an example of a software program for implementing the download unit 102. First, a communication request is issued to the personal computer 106 to check whether or not the communication line 105 is usable (step 401). If the communication is not possible, a message “communication error” is displayed on the display 35 (FIG. 34), and the process ends. If communication is possible, the operator inputs a tool number from the operation panel 34 (step 40).
2). Next, the operator inputs from the operation panel 34 whether the data is tool offset data or life data (step 403). Next, by transmitting the data input in steps 402 and 403 to the personal computer 106, the tool data temporarily stored in the memory 32 is transmitted to the tool data master (step 40).
4). If there is data to be transmitted, step 4
Steps 02 and below are repeated (step 405) .

【0041】図2のパーソナルコンピュータは一般に市
販されているもので安価にて容易に入手することができ
る。また、表示装置とキーボードを備えているので、対
話形式で工具データの表示、修正等が行う事が出来、通
信ソフトウェアプログラムも容易に作成あるいは購入す
る事ができる。
The personal computer shown in FIG. 2 is generally available on the market and can be easily obtained at low cost. Further, since the display device and the keyboard are provided, it is possible to interactively display and correct tool data, and to easily create or purchase a communication software program.

【0042】−第2実施例− 図7は、この発明の第2実施例による数値制御装置のブ
ロック図である。同図は、図34と同様の構成である
が、データI/O33内にフロッピーディスク等の外部
記憶媒体とデータやりとりを行うための外部記憶媒体
入出力部38、メモリ32内に外部記憶媒体のフォーマ
ット形式を数種類記憶しておくためのフォーマット記
憶部39、それらのフォーマットの中からオペレータが
フォーマットを選定するフォーマット選定手段40、フ
ロッピーディスクから読み出した工具データのフォーマ
ットを数値制御装置で管理できるようにフォーマットを
変換するフォーマット変換手段41、フォーマット変換
した工具データを記憶しておく工具データ記憶部42を
設けている。
Second Embodiment FIG. 7 is a block diagram of a numerical controller according to a second embodiment of the present invention. Figure has the same structure as in FIG. 34, the external storage medium output unit 38 for exchanging the external storage medium and data such as a floppy disk in the data I / O33, external storage medium in the memory 32 format storage unit 39 for the format keep double several storage format selection unit 40 by the operator among those formats are selected format, it can be managed in the numerical control device the format of tool data read from the floppy disk A format conversion means 41 for converting the format as described above and a tool data storage section 42 for storing the format-converted tool data are provided.

【0043】図8は、本実施例の動作の一例を示すフロ
ーチャートである。本処理はメモリ32に格納されCP
U31によって実行される。なお以下の説明では外部記
憶媒体としてフロッピーディスクを用いた場合を説明す
るが、他の媒体を用いた場合ももちろん同様である。オ
ペレータが図示していないパーソナルコンピュータやC
AD/CAM装置で作成された工具データが登録された
フロッピーディスクを数値制御装置1のフロッピーディ
スクドライブ装置(図示省略)に挿入し(ステップ80
1)、操作パネル34の操作によってフロッピーディス
ク読み込みあるいは書き込み処理が選択されたら(ステ
ップ802)、ステップ803に移る。ステップ803
では、フロッピーディスクのフォーマットおよびフロッ
ピーディスク内の工具データのフォーマットについて定
め、ステップ804で工具データフォーマットを変換、
データの読み書きを行い、最後にフロッピーディスクを
取り出して(ステップ805)終了する。
FIG. 8 is a flowchart showing an example of the operation of this embodiment. This processing is stored in the memory 32 and the CP
Performed by U31. In the following description, a case where a floppy disk is used as an external storage medium will be described, but the same applies to a case where another medium is used. Personal computer or C not shown by the operator
The floppy disk in which the tool data created by the AD / CAM device is registered is inserted into a floppy disk drive (not shown) of the numerical controller 1 (step 80).
1) When the floppy disk reading or writing process is selected by operating the operation panel 34 (step 802), the process proceeds to step 803. Step 803
Then, the format of the floppy disk and the format of the tool data in the floppy disk are determined, and the tool data format is converted in step 804.
The data is read and written, and finally, the floppy disk is taken out (step 805) and the process is terminated.

【0044】図9は、図8のステップ803で呼び出さ
れるフォーマット選定手段40を実現するためのソフト
ウェアプログラムのフローチャートである。まず、フロ
ッピーディスク入力部38からフロッピーディスクのト
ラック数やトラックうちセクタ数やセクタサイズなどの
フロッピーディスクのフォーマットに関するデータを読
み込む(ステップ901)。次に、そのデータからフロ
ッピーディスクのフォーマットがフォーマット記憶部3
9に記憶されているフォーマットに一致しているか否か
をチェックし(ステップ902)、もし、一致していな
ければ、例えば「読み書き不可」というメッセージをデ
ィスプレイ35に表示して処理を終了する(ステップ9
03)。一致した場合は、そのフォーマットに合うフォ
ーマット形式をフォーマット番号(表2)等によってフ
ォーマット記憶部39内に選定する(ステップ90
4)。次に、オペレータの操作パネル34の操作によっ
て入力された、フロッピーディスク内の工具データのフ
ォーマットに関する情報、即ち、データの並び方、デー
タサイズ等をメモリ32に格納する(ステップ90
5)。これらの情報はフロッピーディスクに予め格納す
ることが出来れば、その情報を読み取ることとする。以
下、数値制御装置1はフロッピーディスクはステップ9
04で選定されたフォーマットであるとしてフロッピー
ディスクに対する入出力処理を行う。
FIG. 9 is a flowchart of a software program for realizing the format selection means 40 called in step 803 of FIG. First, data on the format of the floppy disk, such as the number of tracks on the floppy disk, the number of sectors in the track, and the sector size, is read from the floppy disk input unit 38 (step 901). Next, the format of the floppy disk is converted from the data into the format storage unit 3.
9 is checked (step 902). If not, for example, a message "Read / Write disabled" is displayed on the display 35 and the process is terminated (step 902). 9
03). If they match, a format format that matches the format is selected in the format storage unit 39 using a format number (Table 2) or the like (step 90).
4). Next, information relating to the format of the tool data in the floppy disk, that is, the data arrangement, data size, etc., input by the operation of the operation panel 34 by the operator is stored in the memory 32 (step 90).
5). If such information can be stored in a floppy disk in advance, the information is read. In the following, the numerical controller 1 uses the floppy disk for step 9
Assuming that the format is selected in step 04, input / output processing for a floppy disk is performed.

【0045】表2はフォーマット記憶部の一例の構造を
説明したものである。
Table 2 illustrates an example of the structure of the format storage unit.

【表2】 同表においてフォーマット毎に通し番号を付し、トラッ
ク数等のフォーマットに関するデータを記憶している。
フォーマット記憶部への登録、変更、追加等は数値制御
装置のシステムソフトウェア作成時に行うものとする。
[Table 2] In the table, a serial number is assigned to each format, and data relating to the format such as the number of tracks is stored.
Registration, change, addition, and the like to the format storage unit are performed when the system software of the numerical control device is created.

【0046】図10は、図8のステップ804で呼び出
されるフォーマット変換手段41の一例を示したフロー
チャートである。まず、ステップ811でフロッピーデ
ィスクにデータを書き込むのか、フロッピーディスクか
らデータを読み込むのかをオペレータの操作パネル34
の操作によって決定する。書き込みの場合には工具デー
タ記憶部から工具データを読み出して、図9のステップ
905で入力された情報に基づきフロッピーディスク用
にフォーマットを変換し(ステップ812)、フロッピ
ーディスクに書き込む(ステップ813)。読み込みの
場合にはフロッピーディスクから工具データを読み込
み、図9のステップ905で入力された情報に基づき数
値制御装置用に読み込んだ工具データのフォーマットを
変換し(ステップ814)、工具データ記憶部42に書
き込む(ステップ815)。一般に加工の段取り時にこ
れから行おうとする加工に必要な工具データ等をフロッ
ピーディスクから読み込み、加工の終了時に更新された
工具使用時間等をフロッピーディスクに書き込むために
これらの処理は起動される。
FIG. 10 is a flowchart showing one example of the format conversion means 41 called in step 804 of FIG. First, in step 811, the operator's operation panel 34 determines whether to write data to a floppy disk or to read data from a floppy disk.
Is determined by the operation described above. In the case of writing, the tool data is read from the tool data storage unit, the format is converted for a floppy disk based on the information input in step 905 of FIG. 9 (step 812), and the format is written to the floppy disk (step 813) . In the case of reading, the tool data is read from the floppy disk, and the format of the tool data read for the numerical control device is converted based on the information input in step 905 of FIG. 9 (step 814). Write (step 815). Generally, these processes are started in order to read from the floppy disk tool data and the like necessary for the processing to be performed at the time of the setup of the processing from the floppy disk and to write the updated tool usage time and the like to the floppy disk at the end of the processing.

【0047】−第3実施例− 図11は、この発明の第3実施例による数値制御装置の
動作を示すフローチャートである。この処理全体は工具
画像表示の処理がオペレータの操作パネル34の操作に
よって起動される毎に起動される。同図において、ステ
ップ911は、工具画像表示が有効になっているか否か
を、予めオペレータあるいはメーカによって設定された
パラメータによって判別する。もし、無効になっている
場合は本処理を終了する。ステップ912は、表示しよ
うとする工具の工具番号をオペレータの操作パネル34
からの入力、あるいは、加工プログラムのT指令から読
み取る。この実施例では、加工プログラム運転中では後
者、そうでないとき、即ち、段取り時等は前者とする。
ステップ913はディスプレイ上の工具画像表示領域の
消去を行う。これにより、もし、それまでに工具画像が
表示されていればその画像を消去し、次の画像を表示す
る領域を空ける。ステップ914は、工具画像ファイル
915からステップ912で読み取った工具番号に対応
する工具画像データを読み込み、ステップ913によっ
て空けられた領域に表示する。工具画像データは、工具
の写真、工具図面等の工具形状が明瞭に表わされた紙面
をイメ−ジスキャナで読み込み、フロッピーディスク、
ICカード等の外部記憶媒体にイメ−ジデータとして記
憶しておく。また、メモリ32にイメ−ジデータを格納
する空き領域があれば、外部記憶媒体からデータ入出力
装置33の外部記憶媒体入出力部38によってメモリ3
2に予め読み込んでおいてもよい。工具画像は、数値制
御装置1のシステムソフトウェア設計時に定められた画
面にのみ表示できる。また、本処理全体は加工プログラ
ム運転中においても起動される。加工プログラム中に挿
入されたT指令を基に表示する工具画像の工具番号を決
定し、ステップ911からステップ914の処理を実行
する。加工プログラム中にT指令が現れる都度、本処理
が起動される。
Third Embodiment FIG. 11 is a flowchart showing the operation of a numerical controller according to a third embodiment of the present invention. The entire process is started every time the tool image display process is started by the operation of the operation panel 34 by the operator. In the figure, a step 911 determines whether or not the tool image display is valid based on parameters set in advance by an operator or a manufacturer. If it has been invalidated, this processing ends. In step 912, the tool number of the tool to be displayed is displayed on the operation panel 34 of the operator.
Or from the T command of the machining program. In this embodiment , the latter is performed during the operation of the machining program, and the latter is performed when the processing is not performed, that is, during setup.
In step 913, the tool image display area on the display is deleted. As a result, if a tool image has been displayed so far, the image is deleted, and an area for displaying the next image is opened. In step 914, tool image data corresponding to the tool number read in step 912 is read from the tool image file 915, and is displayed in the area opened in step 913. As for the tool image data, a paper surface in which the tool shape, such as a photograph of the tool, a tool drawing, etc., is clearly represented is read by an image scanner, and a floppy disk,
It is stored as image data in an external storage medium such as an IC card. If there is a free space in the memory 32 for storing image data, the memory 3 is transferred from the external storage medium to the external storage medium input / output unit 38 of the data input / output device 33.
2 may be read in advance. The tool image can be displayed only on a screen determined when the system software of the numerical control device 1 is designed. The entire process is also started during the operation of the machining program. The tool number of the tool image to be displayed is determined based on the T command inserted in the machining program, and the processing of steps 911 to 914 is executed. This process is started each time a T command appears in the machining program.

【0048】図12は、工具画像の画面表示例である。
同図において、35はCRT等の表示装置(ディスプレ
イ)、920は表示された工具画像、921は工具画像
表示領域である。本実施例においては、工具データの一
覧と共に工具番号を付した工具画像を表示している。
FIG. 12 is a screen display example of a tool image.
In the figure, 35 is a display device (display) such as a CRT, 920 is a displayed tool image, and 921 is a tool image display area. In the present embodiment, a tool image with a tool number is displayed together with a list of tool data.

【0049】−第4実施例− 図13は、この発明の第4実施例の数値制御装置による
表示例である。図において、ディスプレイ35上には工
具番号と、工具使用時間状況すなわちその工具の予め登
録された寿命時間と使用時間の割合がグラフおよび数値
として表示されている。ここでは、工具寿命管理時間を
100%として工具使用時間がどの程度であるかをグラ
フ化している。さらに、これらのグラフは図に示すよう
に使用時間の程度によって色、またはパタンを変えて表
示してある。これは例えば、予めオペレータの操作パネ
ル34の操作によって入力された工具交換時期を意味す
るパラメータの値を比較することによって、工具寿命が
迫っているか否かをオペレータにわかりやすく知らせる
ためである。
Fourth Embodiment FIG. 13 shows a display example by a numerical controller according to a fourth embodiment of the present invention. In the figure, a tool number and a tool use time state, that is, a ratio of a pre-registered life time and a use time of the tool are displayed on a display 35 as a graph and numerical values. Here, the degree of tool use time is graphed assuming that the tool life management time is 100%. Further, these graphs are displayed in different colors or patterns depending on the degree of use time as shown in the figure. This is because, for example, by comparing the value of a parameter indicating the tool replacement time input in advance by operating the operation panel 34 of the operator, the operator can easily know whether or not the tool life is approaching.

【0050】図14は、上記画面を表示するために数値
制御装置1内のメモリ32に格納され、CPU31によ
って実行されるソフトウェアプログラムのフローチャー
トである。オペレータの操作パネル34の操作によって
工具使用時間状況画面が選択されたらこの処理が開始さ
れる。まず、メモリ32内に格納されている工具使用時
間と工具寿命時間から T=工具使用時間/工具寿命時
間 を計算する(ステップ1001)。計算した結果は
メモリ32内に設けた計算用領域(図示省略)に記憶す
る。次に、オペレータの操作パネル34の操作により予
め入力された工具寿命警告時間パラメータP(0<P<
100%)と計算用領域に記憶しておいたTとを比較し
(ステップ1002)、T<P、P≦T<100%、T
≧100%の3つに場合分けし、例えばグラフの色を順
に緑、黄、赤に色を指定する(ステップ1003,10
04,1005)。指定した結果はメモリ32内に設け
た表示データ用領域(図示省略)に格納する。最後に、
これらのデータに基づきグラフ作成処理を行い(ステッ
プ1006)、作成したグラフを表示し(ステップ10
07)、本処理を終了する。
FIG. 14 is a flowchart of a software program stored in the memory 32 of the numerical controller 1 for displaying the screen and executed by the CPU 31. This processing is started when the tool operation time status screen is selected by the operation of the operation panel 34 by the operator. First, T = tool use time / tool life time is calculated from the tool use time and the tool life time stored in the memory 32 (step 1001). The calculation result is stored in a calculation area (not shown) provided in the memory 32. Next, a tool life warning time parameter P (0 <P <) input in advance by the operation of the operation panel 34 by the operator.
100%) and T stored in the calculation area (step 1002), and T <P, P ≦ T <100%, T
≧ 100%, for example, designating the colors of the graph in order of green, yellow, and red (steps 1003, 10
04, 1005). The specified result is stored in a display data area (not shown) provided in the memory 32. Finally,
Graph creation processing is performed based on these data (step 1006), and the created graph is displayed (step 10).
07), this process ends.

【0051】−第5実施例− 図15は、この発明の第5実施例の数値制御装置による
表示例である。同図において、ディスプレイ35上には
左端に工具番号、その右に工具番号に対応した工具寿命
時間と、その工具がこれから行おうとする加工での工具
使用予定時間のグラフと時間が上下に並べて表示してあ
る。図中工具番号#1〜#3までは工具使用予定時間が
充分工具寿命時間内であることを示しており、#4は工
具使用予定時間と工具寿命時間とが同じであるので、新
しい工具に交換しておいた方が安全であることを示して
いる。また、#5は工具使用予定時間の方が工具寿命時
間を上回っているので、新しい工具に即座に交換する必
要があることを示している。画面下部に設けてあるのは
設定部で、操作パネル34の操作によって左端から工具
番号、工具寿命時間、工具使用予定時間を入力すること
によってそれぞれのデータの修正または追加を行うこと
が出来る。
Fifth Embodiment FIG. 15 shows an example of display by a numerical controller according to a fifth embodiment of the present invention. In the figure, a tool number is displayed at the left end on the display 35, a tool life time corresponding to the tool number is displayed on the right side, and a graph of a tool use time in the processing to be performed by the tool and a time are displayed vertically. I have. In the figure, the tool numbers # 1 to # 3 indicate that the scheduled tool use time is sufficiently within the tool life time, and # 4 indicates that the scheduled tool use time and the tool life time are the same, It indicates that it is safer to replace it. Also, # 5 indicates that the scheduled use time of the tool is longer than the tool life time, so that it is necessary to immediately replace the tool with a new tool. The setting unit provided at the lower part of the screen is used to correct or add each data by inputting a tool number, a tool life time, and a scheduled tool use time from the left end by operating the operation panel 34.

【0052】図16は、この実施例におけるメモリ32
の構成例である。同図において、メモリ32内には加工
プログラム格納部1601、工具データ格納部160
2、工具番号一覧格納部1603、計算結果等を一時的
に格納するテンポラリ領域1604があり、加工プログ
ラムの一例を加工プログラム格納部1601に示してい
る。加工プログラムにおいてステップaの“O100
0”はこの加工プログラムのプログラム番号が1000
番であることを示す命令、ステップbの“G100O1
000”は工具データ格納部から工具データを呼び出し
表示する命令、ステップcの“T0010”はT以下の
数字で指定される工具番号の(この場合は0010番)
の工具をポットから拾い上げて自動工具交換機(以下、
ATCとする)にセットする命令、ステップd以下に
“G”で始まり指定された座標値に基づき工具又はテー
ブルを直線又は円運動させてワークを加工するための命
令が続く。工具データ格納部1602には工具番号、工
具寿命時間、工具使用時間、工具使用予定時間が格納さ
れており、図中工具使用時間が“0”であるのはこの工
具データが加工を行う前のものであるからで、加工後で
あればその加工での該工具の使用時間に応じた値が格納
される。工具番号一覧格納部1603には、加工プログ
ラム中の“G100”の引数であるプログラム番号と、
そのプログラムで使用される工具番号全てを記憶してい
る。また、この実施例では工具データ格納部から工具デ
ータを呼び出し表示する命令として“G100”を用い
ているが、その他、従来の数値制御装置が使用していな
い命令であればもちろんそれを使用するようにすること
が出来る。
FIG. 16 shows a memory 32 according to this embodiment.
This is an example of the configuration. In the figure, a machining program storage unit 1601 and a tool data storage unit 160 are stored in a memory 32.
2. There is a tool number list storage unit 1603, a temporary area 1604 for temporarily storing calculation results and the like, and an example of a machining program is shown in the machining program storage unit 1601. In the machining program, “O100” of step a
"0" indicates that the program number of this machining program is 1000
The instruction indicating that the number is "G100O1"
“000” is a command for calling and displaying tool data from the tool data storage unit, and “T0010” in step c is a tool number designated by a number less than T (in this case, 0010).
Pick up the tool from the pot and use an automatic tool changer
A command for setting the ATC) and a command for processing the workpiece by linearly or circularly moving the tool or table based on the designated coordinate value starting with "G" following step d. The tool data storage unit 1602 stores a tool number, a tool life time, a tool use time, and a tool use schedule time. The tool use time “0” in FIG. Therefore, if it is after machining, a value corresponding to the use time of the tool in the machining is stored. The tool number list storage unit 1603 stores a program number as an argument of “G100” in the machining program,
It stores all the tool numbers used in the program. In this embodiment , "G100" is used as a command for calling and displaying the tool data from the tool data storage unit. However, any other command not used by the conventional numerical controller may be used. It can be.

【0053】図17は、ステップbの工具データ呼び出
し手順の一例を示すフローチャートである。この処理は
加工プログラム番号を引き数として加工プログラムから
呼び出される。まず、工具番号一覧格納部1603から
加工プログラム番号を検索する(ステップ1701)。
もし、プログラム番号が見つからなければディスプレイ
35上に例えば「工具番号一覧なし」というエラーメッ
セージデータを作成して(ステップ1702)表示処理
を行い(ステップ1705)、処理を終了する。プログ
ラム番号が見つかった時は、工具番号に基づき工具寿命
時間と工具使用予定時間を工具データ格納部1602か
らテンポラリ領域1604に読み込み、グラフ情報を作
成する(ステップ1703)。この処理を全ての工具番
号一覧格納部1603のプログラム番号に対応する全て
の工具番号について行い(ステップ1704)、最後に
工具番号とそれに対応するグラフ、工具寿命時間、工具
使用予定時間を表示して(ステップ1705)終了す
る。
FIG. 17 is a flowchart showing an example of the tool data calling procedure in step b. This process is called from the machining program using the machining program number as an argument. First, a machining program number is searched from the tool number list storage section 1603 (step 1701).
If the program number is not found, error message data indicating, for example, "no tool number list" is created on the display 35 (step 1702), display processing is performed (step 1705), and the processing ends. When the program number is found, the tool life time and the scheduled tool use time are read from the tool data storage unit 1602 into the temporary area 1604 based on the tool number, and graph information is created (step 1703). This processing is performed for all the tool numbers corresponding to the program numbers in the all tool number list storage section 1603 (step 1704). Finally, the tool numbers and their corresponding graphs, tool life times, and scheduled tool use times are displayed. (Step 1705) The process ends.

【0054】図18は、この実施例で、加工プログラム
における工具番号の一覧を入力する画面を示す表示例で
ある。同図(a)および(b)において、#で始まる番
号は、工具番号を登録するための通し番号になってお
り、画面下部の括弧は設定部である。また、画面最下部
の“データ入力”および“メモリ書込”はメニューであ
り、ディスプレイ下部に設けられたメニューキー(図示
省略)を操作することによって選択することが出来、例
えば、この図では白抜きになっているメニューが選択さ
れていることを示している。同図(a)において、#で
始まる番号の右側にオペレータが操作パネル34の操作
によって1つの加工に使用される加工プログラム(サブ
プログラム等のメインとなるプログラムから呼び出され
るプログラムも含む)の中で使用される工具番号を入力
することが出来る。全ての工具番号を入力し終わった
ら、“メモリ書込”メニューを選択し(b)の画面を表
示させる。この画面においてオペレータは操作パネル3
4の操作によって、画面下部の設定部にメインとなる加
工プログラム番号等加工プログラムと関連づけて覚えて
いることのできるものを入力する。この操作によって
(a)の画面で入力されたデータが工具番号一覧格納部
1603に格納される。
FIG. 18 is a display example showing a screen for inputting a list of tool numbers in a machining program in this embodiment. In FIGS. 9A and 9B, numbers starting with # are serial numbers for registering tool numbers, and parentheses at the bottom of the screen indicate setting units. “Data input” and “Memory write” at the bottom of the screen are menus, which can be selected by operating a menu key (not shown) provided at the bottom of the display. This indicates that the menu that has not been selected is selected. In FIG. 9A, the machining program (including a program called from a main program such as a subprogram) used for one machining by an operation of the operation panel 34 by the operator on the right side of the number starting with #. You can enter the tool number to be used. When all the tool numbers have been input, the "write to memory" menu is selected, and the screen of (b) is displayed. On this screen, the operator operates the operation panel 3
By the operation of step 4, an item that can be remembered in association with the machining program, such as a main machining program number, is input to the setting section at the bottom of the screen. By this operation, the data input on the screen (a) is stored in the tool number list storage unit 1603.

【0055】−第6実施例− 図19は、この発明の第6実施例のセルコントローラに
よる工具管理の原理図である。セルコントローラ501
は、通信手段600と、マガジン情報管理手段611
と、加工プログラム管理手段612と、T指令検索手段
613と、情報入力手段614と、工具番号管理手段6
15と、工具番号対応手段616と、工具番号比較手段
617と、画面出力手段618とから構成されている。
Sixth Embodiment FIG. 19 is a view showing the principle of tool management by a cell controller according to a sixth embodiment of the present invention. Cell controller 501
Is a communication unit 600 and a magazine information management unit 611
, Machining program management means 612, T command search means 613, information input means 614, tool number management means 6
15, a tool number corresponding means 616, a tool number comparing means 617, and a screen output means 618.

【0056】通信手段600は、実装されている実装工
具番号41を含む実装工具情報640をNC工作機械
から受信する。マガジン情報管理手段611は、前記受
信した実装工具情報40を管理する。加工プログラム
管理手段612は、加工プログラム642に関する情報
を管理する。T指令検索手段613は、加工プログラム
642内のT指令を検索し、T番号643を取り出して
出力する。情報入力手段614は、T番号と実際の工具
番号との対応情報を含む工具番号情報644を入力す
る。工具番号管理手段615は、工具番号情報644を
管理する。工具番号対応手段616は、T番号643と
工具番号情報644とを照らし合わせて、加工に使用す
る使用工具番号645を求める。工具番号比較手段61
7は、実装工具番号641と使用工具番号645とを照
らし合わせ未実装工具番号646を求める。画面出力手
段618は、未実装工具番号646を表示する。
[0056] Communication unit 600 receives a mounting tool information 640 including a mounting tool number 6 41 which is mounted from the NC machine tool. Magazine information management unit 611 manages the mounting tool information 6 40 said received. The processing program management means 612 manages information on the processing program 642. The T command search means 613 searches for a T command in the machining program 642, and extracts and outputs a T number 643. The information input unit 614 inputs tool number information 644 including information on the correspondence between the T number and the actual tool number. The tool number management unit 615 manages the tool number information 644. The tool number corresponding unit 616 obtains a tool number 645 to be used for machining by comparing the T number 643 with the tool number information 644. Tool number comparing means 61
7 determines the unmounted tool number 646 by comparing the mounted tool number 641 with the used tool number 645. The screen output unit 618 displays the unmounted tool number 646.

【0057】図20は、上記セルコントローラ501
と、NC工作機械502、502a、502bとから構
成されるセルシステム801の構成図である。このセル
システム801において、セルコントローラ501は、
相互通信可能な通信回線503により、NC工作機械5
02、502a、502bと接続している。
FIG. 20 shows the cell controller 501.
And a cell system 801 including NC machine tools 502, 502a, and 502b. In this cell system 801, the cell controller 501 includes:
The NC machine tool 5
02, 502a, and 502b.

【0058】NC工作機械502、502a、502b
は、加工プログラムの実行により工具を順次取り出し差
し替えながら機械加工を行う。NC工作機械502、5
02a、502bは、通信手段620、620a、62
0bと、実装工具情報管理手段621、621a、62
1bと、ATC625、625a、625bと、マガジ
ン622、622a、622bと、マガジン2220、
2220a、2220bとから構成されている。マガジ
ン622、2220、622a、2220a、622
b、2220bは、識別符号が付された複数の工具62
4をセットする識別符号が付された複数のポット623
を持つ。実装工具情報管理手段621、621a、62
1bは、マガジン622、2220、622a、222
0a、622b、2220bの実装工具情報を、ATC
625、625a、625bを介して受け取り、管理す
る。尚、本図ではNC工作機械は3台、マガジンは合計
6台描かれているが、これ以上でもこれ以下でも同様で
ある。
NC machine tools 502, 502a, 502b
Performs machining while sequentially taking out and replacing tools by executing a machining program. NC machine tools 502, 5
02a, 502b are communication means 620, 620a, 62
0b, mounting tool information management means 621, 621a, 62
1b, ATC 625, 625a, 625b, magazine 622, 622a, 622b, magazine 2220,
2220a and 2220b. Magazines 622, 2220, 622a, 2220a, 622
b, 2220b are a plurality of tools 62 with identification codes.
Plurality of pots 623 with identification codes for setting 4
have. Mounting tool information management means 621, 621a, 62
1b is a magazine 622, 2220, 622a, 222
0a, 622b, 2220b, ATC
625, 625a and 625b, and manages them. In this figure, three NC machine tools and six magazines are drawn in total, but the same applies to more or less NC machines.

【0059】図21は、図19の通信手段600にて入
力しマガジン情報管理手段611で管理する実装工具情
報640の一例のデータ構成図である。このセルコント
ローラ501において、NC工作機械502、502
a、502bごとにもつ実装工具リスト2400、24
00a、2400bには、機械種別2401と、マガジ
ン別の情報2402、2402a、2402bとが含ま
れる。マガジン別の情報2402、2402a、240
2bには、マガジンを識別するマガジン番号2403
と、何番のポット623に何番の工具624が格納され
ているかを示すポット情報2404が含まれる。
FIG. 21 is a data configuration diagram of an example of mounting tool information 640 which is input by the communication means 600 of FIG. 19 and managed by the magazine information management means 611. In this cell controller 501, NC machine tools 502, 502
a, mounting tool list 2400, 24 for each 502b
00a and 2400b include a machine type 2401 and information 2402, 2402a and 2402b for each magazine. Magazine-specific information 2402, 2402a, 240
2b, a magazine number 2403 for identifying the magazine
And pot information 2404 indicating the number of the tool 624 stored in the number of the pot 623.

【0060】図22は、図19の加工プログラム管理手
段612で管理する加工プログラム642の一例を表わ
す図である。ステップaの“O・・・”は、この加工プ
ログラムに付されたプログラム番号を示す指令である。
ステップb、d、h及びkの“T・・・”は、T以下の
数字で示されるT番号の工具をポットから拾い上げてA
TCにセットするT指令である。ステップc、g及びj
の“M98P7000”は、7000という番号の付さ
れたサブプログラム(図示省略)を実行して、ATC内
にセットされた工具と、スピンドル軸にセットされ加工
に使用されていた工具を交換する指令である。ステップ
e、f及びiの“G0・・・”は、指定された速度、座
標にもとづいて工具またはテーブルを直線または円運動
させ、ワークを加工するための指令である。
FIG. 22 is a diagram showing an example of the machining program 642 managed by the machining program management means 612 in FIG. “O...” In step a is a command indicating a program number assigned to this machining program.
“T...” In steps b, d, h, and k picks up a tool with a T number indicated by a number less than T from the pot and
This is a T command to be set in TC. Steps c, g and j
"M98P7000" is a command to execute a subprogram (not shown) numbered 7000 to exchange a tool set in the ATC with a tool set in the spindle shaft and used for machining. is there. “G0...” In steps e, f and i are commands for processing a work by linearly or circularly moving a tool or a table based on designated speed and coordinates.

【0061】例えば、図22で表わされた加工プログラ
ムを順次実行すると、次のような動作となる。まず、T
番号100番の工具がATCにセットされ(ステップ
b)、その工具がスピンドル軸にセットされ(ステップ
c)、空いたATCにT番号400の工具がセットされ
(ステップd)、指定された速度、座標値にもとづいて
工具またはワークが移動され(ステップe、f)、T番
号100の工具によりワークが加工される。そして、ス
ピンドル軸にセットされていたT番号100の工具は、
ATCにセットされていたT番号400の工具と入れ替
わり(ステップg)、ATCには新たにT番号600の
工具がセットされる(ステップh)。T番号400の工
具による加工が行われ(ステップi)、さらに次の工具
に交換される(ステップj、k)。
For example, when the machining programs shown in FIG. 22 are sequentially executed, the following operation is performed. First, T
The tool with the number 100 is set on the ATC (step b), the tool is set on the spindle shaft (step c), the tool with the T number 400 is set on the empty ATC (step d), and the designated speed, The tool or the work is moved based on the coordinate values (steps e and f), and the work is machined by the tool of T number 100. And the tool of T number 100 set on the spindle shaft is
The tool with the T number 400 that has been set in the ATC is replaced (step g), and the tool with the T number 600 is newly set in the ATC (step h). Machining is performed with a tool having a T number of 400 (step i), and the tool is replaced with the next tool (steps j and k).

【0062】図23は、加工プログラムで加工するにあ
たり必要となる工具のうち、未実装の工具を表示するた
めのセルコントローラ501の処理のフローチャートで
ある。まず、ステップaにおいて、加工プログラム管理
手段612により加工プログラム642、例えば、図2
2の加工プログラムを入力する。次に、ステップbにお
いて、T指令検索手段613は、この加工プログラム6
42で使用する工具のT番号643を検索する。図24
は、図22の加工プログラムのT指令検索結果である。
ステップcにおいて、情報入力手段614により工具番
号情報644を入力し、工具番号管理手段615は、工
具番号情報644を更新する。図25は、更新された工
具番号情報644の一例である。ステップdにおいて、
工具番号対応手段616は、T番号に対応する使用工具
番号645を取り出す。図26は、図24のT番号に対
応する使用工具番号である。ステップeにおいて、NC
工作機械502、502a、502bの通信手段62
、620a、620bから実装工具情報640を入力
し、マガジン情報管理手段611は実装工具情報640
を更新する。図21の640は、実装工具情報の一例で
ある。ステップfにおいて、工具番号比較手段617に
て、実装工具情報640内の実装工具番号641と使用
工具番号645とを比較する。ステップgにおいて、使
用工具番号645の内、実装工具情報640にない工具
番号を取り出す。取り出された工具番号の工具が未実装
工具番号646である。例えば、図21の640の実装
工具情報と図26の工具番号とを比較した場合、300
0は未実装工具番号である。未実装の工具がなければ、
終了する。ステップhにおいて、画面出力手段618に
より、未実装工具番号を表示する。そして、終了する。
FIG. 23 is a flowchart of a process of the cell controller 501 for displaying an unmounted tool among tools required for processing by the processing program. First, in step a, the machining program 642, for example, FIG.
2 is input. Next, in step b, the T command search means 613 sends the processing program 6
At step 42, the T number 643 of the tool to be used is searched. FIG.
Is a T command search result of the machining program in FIG.
In step c, the tool number information 644 is input by the information input unit 614, and the tool number management unit 615 updates the tool number information 644. FIG. 25 is an example of the updated tool number information 644. In step d,
The tool number corresponding means 616 extracts the used tool number 645 corresponding to the T number. FIG. 26 shows the tool numbers used corresponding to the T numbers in FIG. In step e, NC
Communication means 62 of machine tools 502, 502a, 502b
0 , 620a, and 620b , the mounting tool information 640 is input.
To update. Reference numeral 640 in FIG. 21 is an example of mounting tool information. In step f, the tool number comparing means 617 compares the mounting tool number 641 in the mounting tool information 640 with the used tool number 645. In step g, a tool number that is not included in the mounting tool information 640 is extracted from the used tool numbers 645. The tool of the extracted tool number is the unmounted tool number 646. For example, when the mounting tool information of 640 in FIG. 21 is compared with the tool number of FIG.
0 is an unmounted tool number. If there are no unmounted tools,
finish. In step h, the screen output means 618 displays the unmounted tool number. Then, the process ends.

【0063】−第7実施例− 図27は、この発明の第7実施例のセルコントローラ7
01による工具管理の原理図である。セルコントローラ
701は、通信手段600と、工具情報管理手段631
と、マガジン情報管理手段611と、加工プログラム管
理手段612と、使用値予測手段630と、情報入力手
段614と、工具番号管理手段615と、工具番号対応
手段616と、工具番号比較手段617と、寿命値比較
手段632と、画面出力手段618とから構成されてい
る。
Seventh Embodiment FIG. 27 shows a cell controller 7 according to a seventh embodiment of the present invention.
It is a principle diagram of tool management by 01. The cell controller 701 includes a communication unit 600 and a tool information management unit 631
A magazine information management unit 611, a machining program management unit 612, a use value prediction unit 630, an information input unit 614, a tool number management unit 615, a tool number correspondence unit 616, a tool number comparison unit 617, It comprises a life value comparison means 632 and a screen output means 618.

【0064】通信手段600は、工具番号とこの工具番
号に対応する工具の使用時間の実測値及び寿命設定値を
含む工具寿命情報650と実装されている実装工具番号
641を含む実装工具情報640とを受信する。マガジ
ン情報管理手段611は、実装工具情報640を管理す
る。加工プログラム管理手段612は、加工プログラム
642を含む加工プログラムに関する情報を管理する。
使用値予測手段630は、加工プログラム内のT番号を
取り出すと共に、T番号ごとに工具の使用予測値を算出
し、T番号および使用予測値647を出力する。情報入
力手段614は、T番号と実際の工具番号との対応を示
す情報を含む工具番号情報644を入力する。工具番号
管理手段615は、工具番号情報644を管理する。工
具番号対応手段616は、T番号および使用予測値64
7と工具番号情報644とを照らし合わせ、工具番号お
よび使用予測値648を求める。工具番号比較手段61
7は、実装工具番号641と工具番号および使用予測値
648とを照らし合わせ、実装工具番号および使用予測
値649を求める。寿命値比較手段632は、工具寿命
情報650と実装工具番号および使用予測値649とを
比較し、使用予測値が工具寿命を越えてしまう実装工具
番号を求め、寿命到達工具番号651として出力する。
画面出力手段618は、寿命到達工具番号651を表示
する。
The communication means 600 includes a tool number, tool life information 650 including a measured value of a tool use time corresponding to the tool number and a life setting value, and mounting tool information 640 including a mounting tool number 641 mounted. To receive. The magazine information management means 611 manages the mounting tool information 640. The machining program management unit 612 manages information about the machining program including the machining program 642.
The use value predicting unit 630 extracts the T number in the machining program, calculates the tool use prediction value for each T number, and outputs the T number and the use prediction value 647. The information input unit 614 inputs tool number information 644 including information indicating the correspondence between the T number and the actual tool number. The tool number management unit 615 manages the tool number information 644. The tool number corresponding means 616 calculates the T number and the predicted use value 64.
7 is compared with the tool number information 644 to obtain a tool number and a predicted use value 648. Tool number comparing means 61
7 collates the mounting tool number 641 with the tool number and the predicted use value 648, and obtains the mounted tool number and the predicted use value 649. The life value comparison unit 632 compares the tool life information 650 with the mounted tool number and the predicted use value 649, obtains a mounted tool number whose predicted use value exceeds the tool life, and outputs the obtained tool number 651 as the life end tool number.
The screen output unit 618 displays the life end tool number 651.

【0065】図28は、上記セルコントローラ701を
含むセルシステム851の構成図である。このセルシス
テム851において、セルコントローラ701は、相互
通信可能な通信回線503により、NC工作機械80
2、802a、802bと接続している。NC工作機械
802、802a、802bは、図20のNC工作機械
502、502a、502bの構成に、工具寿命管理手
段626、626a、626bを加えた構成である。工
具寿命管理手段626、626a、626bは、工具の
寿命に関する情報を管理する。尚、本図ではNC工作機
械は3台、マガジンは合計6台描かれているが、これ以
上でもこれ以下でも同様である。
FIG. 28 is a configuration diagram of a cell system 851 including the cell controller 701. In this cell system 851, the cell controller 701 communicates with the NC machine tool 80 via a communication line 503 that can communicate with each other.
2, 802a and 802b. The NC machine tools 802, 802a, 802b have a configuration obtained by adding tool life management means 626, 626a, 626b to the configuration of the NC machine tools 502, 502a, 502b in FIG. The tool life management means 626, 626a, 626b manages information on the life of the tool. In this figure, three NC machine tools and six magazines are drawn in total, but the same applies to more or less NC machines.

【0066】図29は、NC工作機械802、802
a、802bに実装されている工具の中で加工中に寿命
となる工具を表示するためのセルコントローラ701の
処理のフローチャートである。まず、ステップaにおい
て、加工プログラム管理手段612により加工プログラ
ム642、例えば、図22の加工プログラムを入力す
る。次に、ステップbにおいて、使用値予測手段630
は、この加工プログラムによりT番号および使用予測値
647を算出する。この使用予測値を〈A〉とする。<
A>は、加工プログラム642により工具またはワーク
が移動する距離と速度から使用時間を算出したり、加工
プログラム642内のT指令の個数から工具の使用回数
を算出するなどして求める。図30は、T番号および使
用予測値647の一例である。ステップcにおいて、情
報入力手段614により、工具番号情報644を入力
し、工具番号管理手段615は、工具番号情報644を
更新する。図25は、更新された工具番号情報644の
一例である。ステップdにおいて、工具番号対応手段6
16は、T番号に対応する工具番号を取り出し、工具番
号に対応させた使用予測値648を求める。図31は、
工具番号に対応させた使用予測値648の一例である。
ステップeにおいて、NC工作機械802、802a、
802bの通信手段620、620a、620bから、
実装工具情報40を入力し、これをマガジン情報管理
手段611により管理する。図21の640は、実装工
具情報の一例である。
FIG. 29 shows NC machine tools 802 and 802.
7A and 7B are flowcharts of processing of a cell controller 701 for displaying a tool having a life during machining among tools mounted on 802b. First, in step a, the machining program 642, for example, the machining program of FIG. 22 is input by the machining program management means 612. Next, in step b, the use value predicting means 630
Calculates a T number and a predicted use value 647 by this machining program. This predicted use value is <A>. <
A> is obtained by calculating the use time from the distance and speed at which the tool or the workpiece moves by the machining program 642, or calculating the number of times the tool is used from the number of T commands in the machining program 642. FIG. 30 is an example of the T number and the predicted use value 647. In step c, the tool number information 644 is input by the information input means 614, and the tool number management means 615 updates the tool number information 644. FIG. 25 is an example of the updated tool number information 644. In step d, the tool number corresponding means 6
In step 16, a tool number corresponding to the T number is extracted, and a predicted use value 648 corresponding to the tool number is obtained. FIG.
It is an example of a predicted use value 648 corresponding to a tool number.
In step e, the NC machine tools 802, 802a,
From the communication means 620 , 620a, 620b of the 802b,
Enter the mounting tool information 6 40, which is managed by the magazine information management unit 611. Reference numeral 640 in FIG. 21 is an example of mounting tool information.

【0067】ステップfにおいて、工具番号比較手段6
17は、実装工具情報640内の実装されている工具番
号(図21参照)と、使用する工具番号(図31参照)
とを比較し、使用する工具番号の内、実装工具情報64
にある工具番号を実装工具番号として取り出し、実装
工具番号に対応させた使用予測値648を求め、実装工
具番号および使用予測値649を出力する。図32は、
実装工具番号および使用予測値649の一例である。ス
テップhにおいて、NC工作機械802、802a、8
02bの通信手段620、620a、620bを介し
て、工具寿命情報650を入力し、この工具寿命情報6
50を工具情報管理手段631により管理する。ステッ
プiにおいて、工具情報管理手段631は、実装工具番
号に対応させた工具寿命情報650を取り出す。図33
は、工具寿命情報650の一例であり、実装工具番号と
使用実測値と寿命設定値からなる。使用実測値の値を
〈C〉とし、寿命設定値の値を〈D〉とする。ステップ
jにおいて、実装工具番号ごとに使用予測値〈A〉と使
用実測値〈C〉との和と、寿命設定値〈D〉とを比較す
る。この比較の結果、D<A+Cである場合、この実装
工具番号を、寿命到達工具番号651とする。例えば、
図32と図33について比較すると、2020番が寿命
到達工具番号651となる。ステップkにおいて、画面
出力手段618は、寿命到達工具番号651を表示す
る。
In step f, the tool number comparing means 6
Reference numeral 17 denotes a mounted tool number (see FIG. 21) in the mounted tool information 640 and a tool number to be used (see FIG. 31).
And the mounting tool information 64 among the tool numbers to be used.
The tool number at 0 is taken out as the mounting tool number, the predicted use value 648 corresponding to the mounted tool number is obtained, and the mounted tool number and predicted use value 649 are output. FIG.
It is an example of a mounting tool number and a use prediction value 649. In step h, the NC machine tools 802, 802a, 8
02b, the tool life information 650 is input via the communication means 620 , 620a, 620b.
50 is managed by the tool information management means 631. In step i, the tool information management unit 631 extracts the tool life information 650 corresponding to the mounted tool number. FIG.
Is an example of tool life information 650, which is composed of a mounting tool number, a measured actual use value, and a life setting value. The value of the actual measurement value is <C>, and the value of the life setting value is <D>. In step j, the sum of the predicted use value <A> and the actual use value <C> is compared with the life setting value <D> for each mounting tool number. As a result of this comparison, if D <A + C, the mounted tool number is set to the life end tool number 651. For example,
Comparing FIG. 32 with FIG. 33, the number 2020 is the life end tool number 651. In step k, the screen output unit 618 displays the life end tool number 651.

【0068】[0068]

【発明の効果】以上のように、第1の発明による数値制
御装置によれば、数値制御装置の上位にあたるセルコン
トローラと称されるものを用いずに、例えばパーソナル
コンピュータにより工場内の全NC工作機械に取り付け
らける全工具の全工具データを管理するようにしたの
で、少ない費用で全工具データを一括して管理できる。
また、数値制御装置の操作で工具データのフォーマット
を数値制御装置で管理できるものと工具データマスタで
管理できるものとの相互変換を行って、工具データをダ
ウンロード、アップロードする事が出来るのでNC工作
機械に実際に取り付けられている工具のデータであるか
否かの確認が容易にできる。また、工具データマスタの
情報をマスタとして使用し、加工を行う都度データのア
ップロード/ダウンロードすることにより、工場内で用
いる全工具の工具データを一元管理することが出来る。
As described above, according to the numerical controller according to the first aspect of the present invention, for example, a personal computer can be used to perform all NC machining in a factory without using a cell controller, which is a higher-ranking numerical controller. Since all the tool data of all the tools attached to the machine are managed, all the tool data can be managed collectively at a small cost.
NC machine tools can convert tool data formats that can be managed by the numerical control device and those that can be managed by the tool data master by operating the numerical control device, and download and upload tool data. It can be easily confirmed whether or not the data is the data of the tool actually attached. Also, by using the information of the tool data master as a master and uploading / downloading data each time machining is performed, tool data of all tools used in the factory can be centrally managed.

【0069】第2の発明による数値制御装置によれば、
パーソナルコンピュータやCAD/CAM等で作成した
工具データを格納したフロッピーディスク等の外部記憶
媒体のフォーマットをユーザが指定して直接、数値制御
装置で読み込み書き込むことが出来るので、段取りシー
ト等の書類を見ながらオペレータが入力する手間が不必
要となり、短時間で正確に入力することが出来る。ま
た、加工工程に対してタイミングよく入力することがで
きる。
According to the numerical controller according to the second invention,
The user can specify the format of an external storage medium such as a floppy disk that stores tool data created by a personal computer or CAD / CAM, etc., and read and write directly with the numerical controller. However, it is not necessary for the operator to input data, and the input can be performed accurately in a short time. Further, it is possible to input the timing with respect to the processing step with good timing.

【0070】第3の発明による数値制御装置によれば、
予めカメラ等で撮影した工具画像を表示することができ
るので、工具図形作成のためのパラメータ等を与えるこ
となく、しかも実際の工具形状に忠実でリアルな画像を
段取り時に画面上で見ることが出来るため、工具の取り
付け間違いを発見しやすく、間違った工具で加工して加
工物を駄目にしてしまうといった加工ミスを少なくする
ことが出来る。
According to the numerical control device of the third invention,
A tool image taken by a camera or the like can be displayed in advance, so that a real image faithful to the actual tool shape can be viewed on the screen without setting parameters for tool figure creation. For this reason, it is easy to find a wrong mounting of the tool, and it is possible to reduce a processing error such as processing using a wrong tool and ruining a workpiece.

【0071】第4の発明による数値制御装置によれば、
工具寿命時間に対する工具使用時間の割合をグラフ化
し、その割合によって色またはパターンを変えてオペレ
ータに工具交換時期を警告するようにしたので、工具の
使用時間状況が一目で確認でき、工具交換時期の目安と
なる。また、警告時期をオペレータが指定できるので、
加工時間、加工負荷等によって工具交換の警告時期を変
えることが出来る。
According to the numerical control device of the fourth aspect,
The ratio of tool use time to tool life time is graphed, and the color or pattern is changed according to the ratio to warn the operator of the tool change time, so that the tool use time status can be checked at a glance, and the tool change time It is a guide. In addition, since the operator can specify the warning time,
The warning time of tool change can be changed according to the processing time, the processing load, and the like.

【0072】第5の発明による数値制御装置によれば、
工具使用予定時間を工具寿命時間と並べてグラフとして
表示できるので、交換の必要な工具が一目で把握でき
る。グラフからあと何回その工具がその加工プログラム
に使えそうか判断することが出来るので、同じ加工プロ
グラムを連続して複数回運転する場合に、例えばある一
つの工具を除いて3回まで加工できるといった時にはそ
の工具を新しい工具と交換することによって加工効率を
上げることが出来る。
According to the numerical control device of the fifth aspect,
Since the scheduled tool use time can be displayed as a graph along with the tool life time, the tools that need to be replaced can be grasped at a glance. From the graph, you can determine how many more times the tool can be used for the machining program. If you run the same machining program several times in succession, for example, you can machine up to three times except for one tool. At times, changing the tool with a new tool can increase the processing efficiency.

【0073】第6の発明によるセルコントローラによれ
ば、各NC工作機械が現在どの工具を実装しているかを
リアルタイムで集中管理することができる。また、加工
プログラムで加工するにあたり、必要な工具のうち、実
装されていない工具番号を事前にオペレータが容易に知
ることが出来る。
According to the cell controller of the sixth aspect, it is possible to centrally manage in real time which tool is currently mounted on each NC machine tool. Further, when machining with the machining program, the operator can easily know in advance the number of a tool that is not mounted among the necessary tools.

【0074】第7の発明によるセルコントローラによれ
ば、各NC工作機械が現在どの工具を実装しているかを
リアルタイムで集中管理することができる。また、加工
プログラムで加工するにあたり、必要な工具のうち、実
装されていても加工中に寿命となる工具番号を事前にオ
ペレータが容易に知ることが出来る。
According to the cell controller of the seventh aspect, it is possible to centrally manage in real time which tool is currently mounted on each NC machine tool. Further, when machining is performed by the machining program, the operator can easily know in advance the tool number of a necessary tool that has a life during machining even if it is mounted.

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

【図1】この発明の第1実施例による数値制御装置と全
工具情報記憶装置とからなるシステムの一例を示すシス
テム構成図である。
FIG. 1 is a system configuration diagram showing an example of a system including a numerical control device and a total tool information storage device according to a first embodiment of the present invention.

【図2】図1の数値制御装置の複数の組合せからなるシ
ステムのシステム構成図である。
FIG. 2 is a system configuration diagram of a system including a plurality of combinations of the numerical control device of FIG. 1;

【図3】図1の数値制御装置におけるフォーマット変換
手段の一例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of a format conversion unit in the numerical control device of FIG. 1;

【図4】図1の数値制御装置における工具データ形式情
報入力画面の表示例を示す説明図である。
FIG. 4 is an explanatory diagram showing a display example of a tool data format information input screen in the numerical control device of FIG. 1;

【図5】図1の数値制御装置におけるアップロード手段
の一例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of an upload unit in the numerical control device of FIG. 1;

【図6】図1の数値制御装置におけるダウンロード手段
の一例を示すフローチャートである。
FIG. 6 is a flowchart illustrating an example of a download unit in the numerical control device of FIG. 1;

【図7】この発明の第2実施例による数値制御装置のブ
ロック図である。
FIG. 7 is a block diagram of a numerical control device according to a second embodiment of the present invention.

【図8】図7の数値制御装置の動作を示すフローチャー
トである。
FIG. 8 is a flowchart showing an operation of the numerical control device of FIG. 7;

【図9】図7の数値制御装置によるフォーマット選定手
段の一例を示すフローチャートである。
FIG. 9 is a flowchart illustrating an example of a format selection unit by the numerical controller of FIG. 7;

【図10】図7の数値制御装置によるフォーマット変換
手段の一例を示すフローチャートである。
FIG. 10 is a flowchart illustrating an example of a format conversion unit by the numerical control device of FIG. 7;

【図11】この発明の第3実施例による数値制御装置の
動作を示すフローチャートである。
FIG. 11 is a flowchart showing an operation of a numerical control device according to a third embodiment of the present invention.

【図12】図11の数値制御装置による工具画像の画面
表示例を示す説明図である。
FIG. 12 is an explanatory diagram showing an example of a screen display of a tool image by the numerical controller of FIG. 11;

【図13】この発明の第4実施例による数値制御装置に
よる表示例を示す説明図である。
FIG. 13 is an explanatory diagram showing a display example by a numerical controller according to a fourth embodiment of the present invention.

【図14】図13の数値制御装置の動作を示すフローチ
ャートである。
FIG. 14 is a flowchart showing an operation of the numerical controller of FIG. 13;

【図15】この発明の第5実施例による数値制御装置の
表示例を示す説明図である。
FIG. 15 is an explanatory diagram showing a display example of a numerical control device according to a fifth embodiment of the present invention.

【図16】図15の数値制御装置におけるメモリの構成
例を示す説明図である。
FIG. 16 is an explanatory diagram showing a configuration example of a memory in the numerical control device of FIG. 15;

【図17】図15の数値制御装置による工具データ呼び
出し手順の一実施例を示すフローチャートである。
FIG. 17 is a flowchart showing one embodiment of a procedure for calling out tool data by the numerical controller of FIG. 15;

【図18】図15の数値制御装置の加工プログラムにお
ける工具番号の一覧を入力する画面の表示例の説明図で
ある。
18 is an explanatory diagram of a display example of a screen for inputting a list of tool numbers in the machining program of the numerical control device in FIG. 15;

【図19】この発明の第6実施例によるセルコントロー
ラの工具管理に関する原理図である。
FIG. 19 is a principle diagram relating to tool management of a cell controller according to a sixth embodiment of the present invention.

【図20】図19のセルコントローラを含むセルシステ
ムの構成図である。
20 is a configuration diagram of a cell system including the cell controller of FIG.

【図21】図19のセルコントローラの実装工具情報の
データ構成図である。
21 is a data configuration diagram of mounting tool information of the cell controller of FIG. 19;

【図22】図19のセルコントローラ加工プログラムの
一例を表わす図である。
FIG. 22 is a diagram illustrating an example of a cell controller machining program in FIG. 19;

【図23】図19のセルコントローラのソフトウェアに
よる処理のフローチャートである。
FIG. 23 is a flowchart of a process by software of the cell controller in FIG. 19;

【図24】図19のセルコントローラのT番号の一例を
表わす図である。
FIG. 24 is a diagram illustrating an example of a T number of the cell controller in FIG. 19;

【図25】図19のセルコントローラの工具番号情報の
一例を表わす図である。
25 is a diagram illustrating an example of tool number information of the cell controller in FIG.

【図26】図19のセルコントローラの工具番号の一例
を表わす図である。
26 is a diagram illustrating an example of a tool number of the cell controller in FIG.

【図27】この発明の第7実施例によるセルコントロー
ラの工具管理に関する原理図である。
FIG. 27 is a principle diagram relating to tool management of a cell controller according to a seventh embodiment of the present invention.

【図28】図27のセルコントローラを含むセルシステ
ムの構成図である。
FIG. 28 is a configuration diagram of a cell system including the cell controller of FIG. 27.

【図29】図27のセルコントローラのソフトウェアに
よる処理のフローチャートである。
FIG. 29 is a flowchart of processing by software of the cell controller in FIG. 27;

【図30】図27のセルコントローラにおけるT番号と
使用予測値の一例を表わす図である。
30 is a diagram illustrating an example of a T number and a predicted use value in the cell controller of FIG. 27.

【図31】図27のセルコントローラにおける工具番号
と使用予測値の一例を表わす図である。
31 is a diagram illustrating an example of a tool number and a predicted use value in the cell controller of FIG. 27.

【図32】図27のセルコントローラにおける実装工具
番号と使用予測値の一例を表わす図である。
FIG. 32 is a diagram illustrating an example of a mounting tool number and a predicted use value in the cell controller of FIG. 27;

【図33】図27のセルコントローラによる工具寿命情
報の一例を表わす図である。
FIG. 33 is a diagram illustrating an example of tool life information by the cell controller of FIG. 27.

【図34】従来の数値制御装置を示すブロック接続図で
ある。
FIG. 34 is a block connection diagram showing a conventional numerical controller.

【図35】従来の工具情報管理装置の原理図である。FIG. 35 is a principle view of a conventional tool information management device.

【図36】従来の工具情報管理装置が適用される複数台
のマシニングセンタからなるシステムの一例を表すシス
テム構成図である。
FIG. 36 is a system configuration diagram illustrating an example of a system including a plurality of machining centers to which a conventional tool information management device is applied.

【図37】従来の工具形状の描画を行う数値制御装置の
一例におけるフローチャートである。
FIG. 37 is a flowchart in an example of a conventional numerical controller for drawing a tool shape.

【図38】従来の工具形状の描画を行う数値制御装置の
図形作成用ルーチンの一例を示すフローチャートであ
る。
FIG. 38 is a flowchart showing an example of a conventional graphic creation routine of a numerical controller for drawing a tool shape.

【図39】従来の工具寿命管理表示の具体例を示す説明
図である。
FIG. 39 is an explanatory diagram showing a specific example of a conventional tool life management display.

【図40】従来のセルコントローラの工具管理に関する
原理図である。
FIG. 40 is a principle diagram relating to tool management of a conventional cell controller.

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

1 数値制御装置 12 工具データ管理手段 101 工具データマスタ 102 ダウンロード手段 103 アップロード手段 104 工具データカレント 105 通信回線 106 パーソナルコンピュータ 107 フォーマット変換手段 31 CPU 32 メモリ 33 データI/O 34 操作パネル 35 ディスプレイ 36 サーボ制御回路 37 接点入出力インタフェース 38 外部記憶媒体入出力部 39 フォーマット記憶部 40 フォーマット選定手段 41 フォーマット変換手段 42 工具データ記憶部 915 工具画像ファイル 920 工具画像 921 工具画像表示領域 1601 加工プログラム格納部 1602 工具データ格納部 1603 工具番号一覧格納部 501 セルコントローラ 502 NC工作機械 502a NC工作機械 502b NC工作機械 503 通信回線 600 通信手段 611 マガジン情報管理手段 612 加工プログラム管理手段 613 T指令検索手段 614 情報入力手段 615 工具番号管理手段 616 工具番号対応手段 617 工具番号比較手段 618 画面出力手段 619 出力手段 620 通信手段 620a 通信手段 620b 通信手段 621 実装工具情報管理手段 621a 実装工具情報管理手段 621b 実装工具情報管理手段 622 マガジン 622a マガジン 622b マガジン 623 ポット 624 工具 625 ATC 625a ATC 625b ATC 626 工具寿命管理手段 626a 工具寿命管理手段 626b 工具寿命管理手段 630 使用値予測手段 631 工具情報管理手段 632 寿命値比較手段 633 キー入力手段 640 実装工具情報 641 実装工具番号 642 加工プログラム 643 T番号 644 工具番号情報 645 使用工具番号 646 未実装工具番号 647 T番号、使用予測値 648 工具番号、使用予測値 649 実装工具番号、使用予測値 650 工具寿命情報 651 寿命到達工具番号 701 セルコントローラ 802 NC工作機械 802a NC工作機械 802b NC工作機械 801 セルシステム 2220 マガジン 2220a マガジン 2220b マガジン 2400 実装工具リスト 2400a 実装工具リスト 2400b 実装工具リスト 2401 機械種別 2402 マガジン別情報 2402a マガジン別情報 2402b マガジン別情報 2403 マガジン番号 2404 ポット情報 DESCRIPTION OF SYMBOLS 1 Numerical control apparatus 12 Tool data management means 101 Tool data master 102 Download means 103 Upload means 104 Tool data current 105 Communication line 106 Personal computer 107 Format conversion means 31 CPU 32 Memory 33 Data I / O 34 Operation panel 35 Display 36 Servo control Circuit 37 Contact input / output interface 38 External storage medium input / output unit 39 Format storage unit 40 Format selection unit 41 Format conversion unit 42 Tool data storage unit 915 Tool image file 920 Tool image 921 Tool image display area 1601 Machining program storage unit 1602 Tool data Storage unit 1603 Tool number list storage unit 501 Cell controller 502 NC machine tool 502a NC machine tool 502b N C machine tool 503 Communication line 600 Communication means 611 Magazine information management means 612 Machining program management means 613 T command search means 614 Information input means 615 Tool number management means 616 Tool number correspondence means 617 Tool number comparison means 618 Screen output means 619 Output means 620 Communication means 620a Communication means 620b Communication means 621 Mounting tool information management means 621a Mounting tool information management means 621b Mounting tool information management means 622 Magazine 622a Magazine 622b Magazine 623 Pot 624 Tool 625 ATC 625a ATC 625b ATC 626 Tool ATC 26 Life management means 626b Tool life management means 630 Use value prediction means 631 Tool information management means 632 Life value comparison means 633 Key input means 640 Actual Tool information 641 Mounted tool number 642 Machining program 643 T number 644 Tool number information 645 Tool number used 646 Unmounted tool number 647 T number, expected use value 648 Tool number, expected use value 649 Mounted tool number, expected use value 650 Tool life Information 651 Life end tool number 701 Cell controller 802 NC machine tool 802a NC machine tool 802b NC machine tool 801 Cell system 2220 Magazine 2220a Magazine 2220b Magazine 2400 Mounting Tool List 2400a Mounting Tool List 2400b Mounting Tool List 2401 Machine Type 2402a Magazine 2402a Magazine Type Magazine-specific information 2402b Magazine-specific information 2403 Magazine number 2404 Pot information

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/418 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification number Agency reference number FI Technical display location G05B 19/418

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プログラムやデータを格納する記憶手段
を有する情報処理装置、該プログラムやデータ、情報処
理の結果等を表示するディスプレイ、データ入出力装置
及び系に対しデータの入力あるいは指令を与えるキース
イッチを持った操作パネルを備え、かつ、複数のNC工
作機械に装着された全工具データを格納する全工具デー
タ記憶装置と通信回線で接続され数値制御装置であっ
て、 複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、 該NC工作機械に装着された工具の工具データを該全工
具データ記憶装置よりアップロードして該工具データ記
憶部へ格納するアップロード手段と、 該工具データ記憶部に格納された工具データを該全工具
データ記憶装置へダウンロードするダウンロード手段
と、 工具データをアップロードおよびまたはダウンロードす
る際に、数値制御装置で管理できる工具データのフォー
マットとパーソナルコンピュータ等で管理できる工具デ
ータのフォーマットとの変換を行なう変換手段とを備え
たことを特徴とする数値制御装置。
An information processing apparatus having storage means for storing a program or data, a display for displaying the program or data, a result of the information processing, a data input / output device, and a key for inputting data or giving a command to a system. an operation panel having switches, and a numerical controller with all tool data storage device to store all tool data attached to the plurality of NC machine tools Ru is connected via a communication line, a plurality of tool mounting portion A tool data storage unit for storing tool data relating to a tool mounted on the tool mounting portion of an NC machine tool having a tool, and uploading tool data of a tool mounted on the NC machine tool from the all tool data storage device. Uploading means for storing the tool data stored in the tool data storage unit in the tool data storage unit; Download means for downloading to a storage device, and conversion means for converting between a tool data format that can be managed by a numerical control device and a tool data format that can be managed by a personal computer when uploading and / or downloading tool data. A numerical control device, comprising:
【請求項2】 プログラムやデータを格納する記憶手段
を有する情報処理装置、該プログラムやデータ、情報処
理の結果等を表示するディスプレイ、データ入出力装置
及び系に対しデータの入力あるいは指令を与えるキース
イッチを持った操作パネルを備えた数値制御装置であっ
て、 複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、 外部記憶媒体とデータのやりとりを行う外部記憶媒体入
出力部と、 外部記憶媒体のフォーマット形式を数種類記憶してお
くためのフォーマット記憶部と、 それらのフォーマットの中からオペレータがフォーマッ
トを選定するフォーマット選定手段と、 外部記憶媒体と数値制御装置内部での工具データのフォ
ーマットを相互に変換して読み書き可能にするフォーマ
ット変換手段とを備えたことを特徴とする数値制御装
置。
2. An information processing apparatus having storage means for storing a program or data, a display for displaying the program or data, a result of the information processing, a data input / output device, and a key for inputting data or giving a command to a system. A numerical control device including an operation panel having a switch, a tool data storage unit for storing tool data related to a tool mounted on the tool mounting site of an NC machine tool having a plurality of tool mounting sites, an external storage medium output unit for exchanging the storage medium and the data, and a format storage unit for keep double several stores format type of the external storage medium, the format selected by the operator among those formats are selected format Means and the format of the tool data in the external storage medium and the numerical controller. Numerical control device being characterized in that a format conversion means for enabling reading and writing conversion to.
【請求項3】 プログラムやデータを格納する記憶手段
を有する情報処理装置、該プログラムやデータ、情報処
理の結果等を表示するディスプレイ、データ入出力装置
及び系に対しデータの入力あるいは指令を与えるキース
イッチを持った操作パネルを備えた数値制御装置であっ
て、 複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、 外部記憶媒体とデータのやりとりを行なう外部記憶媒体
入出力部と、 該工具の形状をイメージデータとして格納する工具画像
ファイルと、 該工具装着部位に装着されるべき工具の画像を前記ディ
スプレイに表示する工具画像表示処理手段とを備えたこ
とを特徴とする数値制御装置。
3. An information processing apparatus having storage means for storing a program or data, a display for displaying the program or data, a result of the information processing, a data input / output device, and a key for inputting data or giving a command to a system. A numerical control device including an operation panel having a switch, a tool data storage unit for storing tool data related to a tool mounted on the tool mounting site of an NC machine tool having a plurality of tool mounting sites, An external storage medium input / output unit for exchanging data with a storage medium, a tool image file for storing the shape of the tool as image data, and a tool for displaying an image of the tool to be mounted on the tool mounting site on the display A numerical control device comprising: an image display processing unit.
【請求項4】 プログラムやデータを格納する記憶手段
を有する情報処理装置、該プログラムやデータ、情報処
理の結果等を表示するディスプレイ及び系に対しデータ
の入力あるいは指令を与えるキースイッチを持った操作
パネルを備えた数値制御装置であって、 複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、 工具使用時間と予め登録済みの工具寿命時間との割合を
前記ディスプレイに図示する手段とを備えたことを特徴
とする数値制御装置。
4. An information processing apparatus having storage means for storing programs and data, a display for displaying the programs, data, results of information processing and the like, and an operation having a key switch for inputting data or giving a command to a system. A numerical control device having a panel, comprising: a tool data storage unit for storing tool data relating to a tool mounted on a tool mounting site of an NC machine tool having a plurality of tool mounting sites; Means for displaying the ratio of the completed tool life time on the display.
【請求項5】 プログラムやデータを格納する記憶手段
を有する情報処理装置、該プログラムやデータ、情報処
理の結果等を表示するディスプレイ及び系に対しデータ
の入力あるいは指令を与えるキースイッチを持った操作
パネルを備えた数値制御装置であって、 複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、 予め登録された工具使用予定時間と工具寿命時間を前記
ディスプレイに図示する手段とを備えたことを特徴とす
る数値制御装置。
5. An information processing apparatus having storage means for storing programs and data, a display for displaying the programs, data, results of information processing, and the like, and an operation having a key switch for inputting data or giving a command to a system. A numerical controller having a panel, comprising: a tool data storage unit for storing tool data relating to a tool mounted on a tool mounting site of an NC machine tool having a plurality of tool mounting sites; A numerical control device comprising: means for displaying the estimated time and the tool life time on the display.
【請求項6】 上位計算機との通信手段と識別符号が付
された複数の工具をセットするマガジンの実装工具情報
を管理する実装工具情報管理手段とを有し、加工プログ
ラムの実行により工具を順次取り出し差し替えながら機
械加工を行うNC工作機械を少なくとも1台以上制御す
るセルコントローラにおいて、 NC工作機械より実装工具情報を受信する通信手段と、 前記受信した実装工具情報を管理するマガジン情報管理
手段と、 加工プログラム内のT指令を検索しT番号を取り出すT
指令検索手段と、 T番号と実際の工具番号との対応情報を入力する情報入
力手段と、 前記対応情報を管理する工具番号管理手段と、 前記取り出したT番号に対応する実際の工具番号を取り
出す工具番号対応手段と、 前記取り出した工具番号と前記実装工具情報内の実装工
具番号を比較して未実装工具番号を求める工具番号比較
手段と、 前記未実装工具番号をオペレータに知らせる画面出力手
段とを備えたことを特徴とするセルコントローラ。
6. A mounting tool information management means for managing mounting tool information of a magazine for setting a plurality of tools with identification codes attached thereto, the communication means for communicating with a host computer, and sequentially executing tools by executing a machining program. A cell controller that controls at least one NC machine tool that performs machining while taking out and replacing; a communication unit that receives mounting tool information from the NC machine tool; a magazine information management unit that manages the received mounting tool information; Search T command in machining program and take out T number T
Command search means; information input means for inputting correspondence information between a T number and an actual tool number; tool number management means for managing the correspondence information; and extracting an actual tool number corresponding to the extracted T number Tool number corresponding means, tool number comparing means for comparing the extracted tool number and the mounted tool number in the mounted tool information to obtain an unmounted tool number, and screen output means for notifying an operator of the unmounted tool number. A cell controller comprising:
【請求項7】 上位計算機との通信手段と識別符号が付
された複数の工具の寿命情報を管理する工具寿命管理手
段とこれらの工具がセットされたマガジンの実装工具情
報を管理する実装工具管理手段とを有し、加工プログラ
ムの実行により工具を順次取り出し差し替えながら機械
加工を行うNC工作機械を少なくとも1台以上制御する
セルコントローラにおいて、 NC工作機械より実装工具情報と工具寿命情報を受信す
る通信手段と、 前記受信した実装工具情報を管理するマガジン情報管理
手段と、 前記受信した工具寿命情報を管理する工具情報管理手段
と、 加工プログラムを解析しT番号を取り出し使用工具の使
用予測値を算出する工具使用予測値算出手段と、 T番号と実際の工具番号との対応情報を入力する情報入
力手段と、 前記対応情報を管理する工具番号管理手段と、 前記取り出したT番号に対応する実際の工具番号を取り
出す工具番号対応手段と、 前記取り出した工具番号と前記実装工具情報内の実装工
具番号を比較して実装工具を求める工具番号比較手段
と、 前記実装工具について前記工具寿命情報と前記使用予測
値とを比較して加工中に寿命となる工具番号を求める寿
命値比較手段と、 前記求めた工具番号をオペレータに知らせる画面出力手
段とを備えたことを特徴とするセルコントローラ。
7. Tool life management means for managing communication means with a host computer and life information of a plurality of tools assigned identification codes, and mounting tool management for managing mounting tool information of a magazine in which these tools are set. And a means for controlling at least one NC machine tool that performs machining while sequentially taking out and replacing tools by executing a machining program, and a communication for receiving mounting tool information and tool life information from the NC machine tool. Means, magazine information management means for managing the received mounting tool information, tool information management means for managing the received tool life information, analyzing a machining program, extracting a T number, and calculating a predicted use value of a used tool. Tool use predicted value calculation means, information input means for inputting correspondence information between a T number and an actual tool number, Tool number management means for managing information; tool number corresponding means for extracting an actual tool number corresponding to the extracted T number; mounting by comparing the extracted tool number with the mounting tool number in the mounting tool information; Tool number comparing means for obtaining a tool; life value comparing means for comparing the tool life information and the predicted use value with respect to the mounted tool to obtain a tool number that has a life during machining; And a screen output means for notifying the cell controller.
JP4030593A 1991-07-26 1992-02-18 Numerical controller and cell controller Expired - Lifetime JP2701642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4030593A JP2701642B2 (en) 1991-07-26 1992-02-18 Numerical controller and cell controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3-187846 1991-07-26
JP18784691 1991-07-26
JP4030593A JP2701642B2 (en) 1991-07-26 1992-02-18 Numerical controller and cell controller

Publications (2)

Publication Number Publication Date
JPH0584631A JPH0584631A (en) 1993-04-06
JP2701642B2 true JP2701642B2 (en) 1998-01-21

Family

ID=26368978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4030593A Expired - Lifetime JP2701642B2 (en) 1991-07-26 1992-02-18 Numerical controller and cell controller

Country Status (1)

Country Link
JP (1) JP2701642B2 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0491657B1 (en) * 1990-12-18 1995-11-02 Erowa AG Automatic manufacturing system
JP4531197B2 (en) * 2000-05-08 2010-08-25 株式会社森精機製作所 Automatic tool changer
WO2003023545A2 (en) * 2001-09-12 2003-03-20 Rexroth Indramat Gmbh Method for the preparation, treatment and updating tool data
JP2008224869A (en) * 2007-03-09 2008-09-25 Sony Corp Projector and its control method
JP4893723B2 (en) * 2008-10-16 2012-03-07 株式会社ジェイテクト Parts life management system for machine tools
JP5532612B2 (en) * 2009-01-23 2014-06-25 豊和工業株式会社 Data backup system
JP5851684B2 (en) * 2010-11-11 2016-02-03 株式会社ブリヂストン NC program creation method and creation apparatus
JP6117841B2 (en) 2015-03-26 2017-04-19 ファナック株式会社 Numerical control device with function to prevent erroneous input of tool offset data
KR102426657B1 (en) * 2015-06-05 2022-07-29 주식회사 디엔솔루션즈 Automatic tool changer
JP6423769B2 (en) 2015-08-31 2018-11-14 ファナック株式会社 Machining system with machining accuracy maintenance function
US10926367B2 (en) 2015-09-30 2021-02-23 Makino Milling Machine Co., Ltd. Machine tool
JP6836103B2 (en) * 2016-03-17 2021-02-24 株式会社ジェイテクト Machine tool management system
JP6386512B2 (en) * 2016-10-28 2018-09-05 ファナック株式会社 Information processing device
JP7051660B2 (en) * 2018-10-17 2022-04-11 株式会社スギノマシン Tool management method and tool management system
JP7017537B2 (en) * 2019-03-13 2022-02-08 ファナック株式会社 Machine tools, machining systems and management systems
JP7047855B2 (en) * 2020-02-19 2022-04-05 日本電気株式会社 Controls, control methods, and programs
JP2020201982A (en) * 2020-08-31 2020-12-17 ファナック株式会社 Operation management device
CN116457140A (en) * 2020-11-06 2023-07-18 德马吉森精机株式会社 Tool carrying system, method for controlling tool carrying system, and program for controlling tool carrying system
US20230384760A1 (en) * 2020-11-10 2023-11-30 Fanuc Corporation Control device
JP7042938B1 (en) * 2021-02-17 2022-03-28 Dmg森精機株式会社 Machine tools, display methods, and display programs

Also Published As

Publication number Publication date
JPH0584631A (en) 1993-04-06

Similar Documents

Publication Publication Date Title
JP2701642B2 (en) Numerical controller and cell controller
EP0076970B1 (en) Process for inputting coordinate points of a desired path of movement for a preset robot
US4281379A (en) Computer driven control system for a numerically controlled machine tool
US6236399B1 (en) Display method for information setting screen along process flow and a multi-window type NC apparatus having such function
JPS62277244A (en) Accommodation control device for machine tool
EP0816959B1 (en) Compact numerical controller
US5973466A (en) Operating information setting and management method and apparatus of numerical control apparatus
JPH01308185A (en) Motor controller
CA2246573C (en) Method for setting tool-based working condition in off-line teaching
JPH01257549A (en) Production line information managing method
JPH08328829A (en) Parameter change history managing system
JP2980182B2 (en) Tool management device
CN114888543A (en) Cutter testing system and testing method
JPH07237067A (en) Tool control device
JP2003058216A (en) Input program for wear compensation of tool, input device and cnc machine tool with input device
JP3382859B2 (en) Electric discharge machine
JP2733662B2 (en) Mold blade material processing system
JP2001147707A (en) Working result recorder
JP3489292B2 (en) Tool management device in machining system
KR101235450B1 (en) Coordinate setting device of a matrix magazine
JPH07146887A (en) Process control method
JPH0197545A (en) Tool managing device for numerical control machine tool
WO1998026635A2 (en) Apparatus for modifying a sequence list in an automatic inserter of electronic components and a method therefor
JPH07110461B2 (en) Tool storage method of tool magazine and its tool magazine filing device
JPH06138932A (en) Machining result control system