JPH0584631A - Numerical controller and cell controller - Google Patents

Numerical controller and cell controller

Info

Publication number
JPH0584631A
JPH0584631A JP4030593A JP3059392A JPH0584631A JP H0584631 A JPH0584631 A JP H0584631A JP 4030593 A JP4030593 A JP 4030593A JP 3059392 A JP3059392 A JP 3059392A JP H0584631 A JPH0584631 A JP H0584631A
Authority
JP
Japan
Prior art keywords
tool
data
information
format
mounting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4030593A
Other languages
Japanese (ja)
Other versions
JP2701642B2 (en
Inventor
Taketoshi Fukutani
武都志 福谷
Mami Suzuki
まみ 鈴木
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 Tool Replacement In Machine Tools (AREA)
  • General Factory Administration (AREA)
  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)

Abstract

PURPOSE:To input or output tool data while confirming tools to be mounted on machine actually by using, for example, personal computer. CONSTITUTION:A down load means 102 and an up load means 103 of numerical controller exchange data between a tool data master 101 in which all tool data in factory is stored and a tool data current 104 which is the tool data storage section of the numerical controller. A format conversion means converts data format of the tool data master 101 and the tool data current 104 mutually, and a tool data control means 12 reads and writes data into the tool data current 104. Consequently, it is possible to batch-control all tool data of all the tools to be mounted on the numerical control machine tool in factory at low cost.

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 controller and a cell controller, and more particularly to a numerical controller for controlling an NC machine tool having a plurality of tool mounting parts and at least one NC machine tool ( For example, the present invention relates to a cell controller that centrally manages 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 connection diagram showing a conventional numerical control apparatus. In the figure, 31 executes a control program stored in a memory 32 to perform logical processing of the entire system. A central processing unit (hereinafter referred to as CPU) 33 is an input / output device for inputting / outputting data of a recording medium such as a paper tape, 34 is an operation panel having a key switch for inputting data or giving a command to a system,
35 is a display, 36 is a servo control circuit for moving the table of the machine tool, 37 is a high-voltage circuit on the machine side and C
It 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 the numerical control operation of the machine tool, data related to the tool is input by the key switch on the operation panel 34 in addition to the machining program. For example, it is a tool radius correction amount, a tool length correction amount, a tool life time, and the like. With these, CPU3
By the data processing according to No. 1, the tool locus is determined from the machining program and the interference check is performed.

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

【0005】工具情報管理装置30には、各工作機械1
1−1〜11−nに装着された工具に関する全工具デー
タを格納した全工具情報格納エリア21が具備されてお
り、さらに工作機械11−1〜11−nが保持する工具
データをアップロードして全工具情報格納エリア21へ
格納するアップロード手段22と、全工具情報格納エリ
ア21に格納された工具データを工作機械11−1〜1
1−nへダウンロードするダウンロード手段23と、オ
ペレータの操作に基づいて全工具情報格納エリア21内
の情報の一部を削除、追加および出力を行う全工具情報
管理手段24とが具備されている。
The tool information management device 30 includes each machine tool 1
It is provided with an all-tool information storage area 21 that stores all tool data relating to the tools attached to 1-1 to 11-n, and further uploads the tool data held by the machine tools 11-1 to 11-n. The upload means 22 for storing in the all tool information storage area 21 and the tool data stored in the all tool information storage area 21 are machine tools 11-1 to 11-1.
The download means 23 for downloading to 1-n and the all tool information management means 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.

【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 shown in the publication is applied. Although four machining centers are shown in this drawing, the same applies to less or more than this.

【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 independent computers (in the case of a machining center, that is, a numerical controller) equipped with an input device and a display device which 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 totalizes the processing results. The host computer 91 is located above the cell controller 92, and is responsible for overall factory management including automatic warehouse management.
Each of the machining centers 93-1 to 93-4 can have several hundreds of tools in a magazine at one time, and when a machining program is executed, every time a tool switching instruction in the machining program is executed. Continue processing while exchanging tools. The tool presetter 13 is an apparatus for measuring the diameter and length of a newly purchased or produced tool or a tool regenerated by exchanging the blade for the end of its life. The measurement result is sent to the cell controller 92 via a communication line. Sent.

【0008】図35の工具情報管理装置30はセルコン
トローラ92のハードウェアおよびソフトウェアにより
実現される。工具情報管理装置30内の全工具情報格納
エリア21はこのセルコントローラ92が具備するメモ
リの一部の領域に設けた工具データ領域により実現され
る。表1はその工具データ領域の一例の構造を説明する
ものである。
The tool information management device 30 of FIG. 35 is realized by the 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 the memory included 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 showing the number given to each MC, and J is an index given to the tool held in each MC. Therefore, the array T_NUM (I, J) representing the tool number is the integer type data of the number of (the number of MCs) × (the maximum value of the number of mounted tools per machine), and the MC numbers are the I and J values. An array that can be stored accordingly.

【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,
J)TがTL_SET(I,J)を超えたら、該工具は
寿命を超過したということになる。前述の工具長および
工具径はオフセットデータと称され、工具寿命時間およ
び工具使用時間は工具寿命データと称されて、一般にM
C内ではそれぞれ別個に処理されているが、工具情報管
理装置30内ではこれらを一括して取り扱うものとす
る。
Similarly, POT (I, J) is an array capable of storing the same number of integer type pot numbers according to the values of I, J. However, if J is a tool number or pot number, that is, if each data is arranged in the 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 data of the tool length of each tool held by each MC is stored according to the values of I, J, and the tool radius RADIUS (I, J) is for each MC.
Is an array in which the data of the tool diameter of each tool held by is stored according to the values of I and J. Tool length and tool diameter are, for example,
The data was measured by the tool presetter 13 when the tool was newly purchased or produced, or when the tool was used for a long time and was regenerated by changing the blade, and the tool was exchanged at the MC. It is data that is the basis for correcting the tool position at times. Tool life time T
L_SET (I, J) is an array in which the preset usable time of each tool held by each MC is stored according to the values of I and J, and the tool use 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, J. Therefore, the tool usage time TL_TIM (I,
If J) T exceeds TL_SET (I, J), then 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 usage time are referred to as tool life data.
Although they are individually processed in C, they are collectively handled in the tool information management device 30.

【0010】(3)図37は、特開昭62−38908
号公報に示された従来の工具形状の描画を行う数値制御
装置の一実例を示すフローチャートである。この処理ル
ーチン全体は工具データ入力の1つのデータがなされる
ごとにコールされる。データの設定はその値に対応した
数字キーおよび符号キーあるいは小数点キーが押された
後、設定キーが押されることによりなされ、本ルーチン
が起動される。同図において、ステップ51は入力キー
コードのデータ列を実際の数値に変換し、その数値が正
常なものであるか否かをチェックするキー入力処理ルー
チンであり、ステップ52はカーソル位置データより、
そのデータの入るべき工具データファイル上の位置を決
めて格納するルーチンであり、53は工具の絵を作るた
めのルーチンである。
(3) FIG. 37 is a schematic view of Japanese Patent Laid-Open No. 62-38908.
6 is a flowchart showing an example of a conventional numerical control device for drawing a conventional tool shape disclosed in Japanese Patent Publication No. The entire processing routine is called every time one data of the 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, and step 52 is
Reference numeral 53 is a routine for deciding and storing a position on the tool data file to which the data should be entered, and 53 is a routine for making a picture of the tool.

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

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

【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 is a principle diagram of a conventional cell controller 901. 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 managing means 612, the T number 643 in the machining program 642 is searched by the T command searching means 613, and the output means 619 is used. Notify the operator. Further, the tool number information 6 is input by the key input means 633.
44 is input, this tool number information 644 is managed by the tool number management means 615, and the operator is notified by the output means 619. Further, the mounting tool information 640 is input by the key input means 633, managed by the magazine information management means 611, and notified to the operator by the output means 619.

【0014】[0014]

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

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

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

【0017】(4)上記従来の技術(4)のように構成
された従来の数値制御装置では、工具使用時間が工具寿
命時間の90%を超えたか否かで色分けしているので、
例えば非常に長時間の加工で工具にも大きく負荷がかか
り、90%未満であっても工具交換の必要がある場合で
も90%という値を変えることが出来ず、黄色の警告表
示があまり意味を為さない等の問題点があった。また、
使用時間が寿命時間に対してどの程度になったかが視覚
的に確認しずらいという問題点もあった。
(4) In the conventional numerical control device configured as in the above-mentioned conventional technique (4), since the tool usage time exceeds 90% of the tool life time, it is color-coded.
For example, machining for a very long time puts a heavy load on the tool, and even if it is less than 90% and the tool needs to be changed, the value of 90% cannot be changed, and the yellow warning display does not mean much. There were problems such as not trying. Also,
There is also a problem that it is difficult to visually confirm how long the usage 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 the above-mentioned conventional technique (5) has a function of automatically informing the operator of the installed tool.
It does not have a function to automatically notify the operator of necessary tools that have not been installed. Therefore, before the NC machine tool processes according to the machining program 642, the operator needs to confirm whether or not the NC machine tool is equipped with a tool necessary for machining. That is, the operator searches for the tool number corresponding to the T number 643 output by the output means 619 from the tool number information 644 output by the output means 619, and from the mounting tool information 640 output by the output means 619. It is necessary to find the magazine number and pot number in which the tool number is set, and visually confirm 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 problems, and (1) relates to a tool for an NC machine tool of the entire factory without using a controller which is a higher order of a numerical controller such as a cell controller. Information can be collectively managed and tool data can be easily input by the operator's operation of the numerical control device. (2) Without using documents such as setup sheets, it is easy to process through a storage medium such as a floppy disk and in the machining process. On the other hand, the tool data can be input in a timely manner. (3) The tool figure can be displayed on the screen at the time of setup without giving parameters for creating the figure, etc. (4 ) The operator can specify the time to notify the operator of the replacement of the spare tool in the tool usage time. In addition, visually easy to check whether the tool usage time has become to what extent relative to the tool life time,
Another object of the present invention is to obtain a numerical control device capable of notifying the operator of the tool replacement time with the highest machining efficiency by displaying the scheduled tool usage time.

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

【0021】[0021]

【課題を解決するための手段】第1の発明に係る数値制
御装置は、プログラムやデータを格納する記憶手段を有
する情報処理装置、該プログラムやデータ、情報処理の
結果等を表示するディスプレイ、データ入出力装置及び
系に対しデータの入力あるいは指令を与えるキースイッ
チを持った操作パネルを備え、かつ、複数のNC工作機
械に装着された全工具データを格納する全工具データ記
憶装置と通信回線で接続された数値制御装置であって、
複数の工具装着部位を保有するNC工作機械の該工具装
着部位に装着された工具に関する工具データを格納する
工具データ記憶部と、該NC工作機械に装着された工具
の工具データを該全工具データ記憶装置よりアップブロ
ードして該工具データ記憶部へ格納するアップロード手
段と該工具データ記憶部に格納された工具データを該全
工具データ記憶装置へダウンロードするダウンロード手
段と、工具データをアップロードおよびダウンロードす
る際に、数値制御装置で管理できる工具データのフォー
マットとパーソナルコンピュータ等で管理できる工具デ
ータのフォーマットとの交換を行なう交換手段とを備え
たものである。
A numerical control device according to a first aspect of the present invention is an information processing device having a storage means for storing programs and data, a display for displaying the programs and data, results of information processing and the like. It is equipped with an operation panel that has key switches for inputting / outputting data or commands to the input / output device and system, and is also a communication line with all tool data storage device that stores all tool data mounted on multiple NC machine tools. A connected numerical control device,
A tool data storage unit that stores tool data relating to tools installed in the tool installation site of an NC machine tool having a plurality of tool installation sites, and tool data of tools installed in the NC machine tool Uploading means for uploading from a storage device and storing it in the tool data storage unit, downloading means for downloading tool data stored in the tool data storage unit to the entire tool data storage unit, and uploading and downloading tool data. At this time, a tool data format that can be managed by the numerical control device and a tool data format that can be managed by a personal computer or the like are exchanged.

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

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

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

【0025】第5の発明に係る数値制御装置は、プログ
ラムやデータを格納する記憶手段を有する情報処理装
置、該プログラムやデータ、情報処理の結果等を表示す
るディスプレイ及び系に対しデータの入力あるいは指令
を与えるキースイッチを持った操作パネルを備えた数値
制御装置であって、複数の工具装着部位を保有するNC
工作機械の該工具装着部位に装着された工具に関する工
具データを格納する工具データ記憶部と、予め登録され
た工具使用予定時間と工具寿命時間を前記ディスプレイ
に図示する手段とを備えたものである。
A numerical controller according to a fifth aspect of the present invention includes an information processing device having a storage means for storing programs and data, a data input or a display for displaying the programs and data, results of information processing, and the like. Numerical control device having an operation panel having a key switch for giving a command, and having 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 a machine tool, and means for displaying in advance the scheduled tool use time and tool life time 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 managing means for managing mounting tool information of a magazine for setting a plurality of tools having identification codes. NC that executes machining programs by sequentially taking out and replacing tools by executing machining programs
In a cell controller that controls at least one machine tool, a communication unit that receives mounting tool information from an NC machine tool, a magazine information management unit that manages the received mounting tool information, and a T command in a machining program are searched. Corresponding to the extracted T number, the T command retrieval means for extracting the T number, the information input means for inputting the correspondence information between the T number and the actual tool number, the tool number management means for managing the correspondence information. A tool number corresponding means for extracting an actual tool number, a tool number comparison means for comparing the extracted tool number and the mounted tool number in the mounted tool information to obtain an unmounted tool number, and an operator for the unmounted tool number Screen output means for informing the user.

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

【0028】[0028]

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

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

【0030】第3の発明による数値制御装置では、外部
記憶媒体入出力部はフロッピーディスク、ICカード等
の外部記憶媒体から工具画像データを数値制御装置のメ
モリ上に読み込む。工具画像表示処理手段は読み込んだ
工具画像データをディスプレイ上の定められた領域に表
示する。
In the numerical controller according to the third aspect of the invention, the external storage medium input / output unit reads the tool image data from the external storage medium such as a floppy disk or an IC card into the 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 usage time to the tool life time is calculated, and the graph color, pattern, etc. are changed according to the result and displayed on the screen. Also displays the life time.

【0032】第5の発明による数値制御装置では、予め
オペレータによって数値制御装置に入力されていた工具
使用予定時間と工具寿命時間をグラフ化し、並べて表示
装置に表示する。
In the numerical controller according to the fifth aspect of the present invention, the planned tool use time and the tool life time, which have been input to the numerical controller 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 retrieval means retrieves the T command in the machining program and extracts the T number. Information input means
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 takes out the actual tool number corresponding to the taken out T number. The tool number comparison means compares the extracted tool number with the mounted tool number in the mounted tool information to obtain an unmounted tool number. The screen output means notifies the operator of the unimplemented tool number. Therefore, when machining with the machining program, it is possible to automatically notify the operator in advance of the tool numbers that are not mounted among the necessary tools.

【0034】第7の発明によるセルコントローラでは、
通信手段は、NC工作機械より実装工具情報と工具寿命
情報とを受信する。マガジン情報管理手段は、前記受信
した実装工具情報を管理する。工具情報管理手段は、前
記受信した工具寿命情報を管理する。工具使用予測値算
出手段は、加工プログラムを解析し、T番号を取り出
し、そのT番号の工具の使用予測値を算出する。情報入
力手段は、T番号と実際の工具番号との対応情報を入力
する。工具番号管理手段は、前記対応情報を管理する。
工具対応手段は、前記取り出したT番号に対応する実際
の工具番号を取り出す。工具番号比較手段は、前記工具
番号と前記実装工具情報内の実装工具番号を比較して、
実装工具を求める。寿命比較手段は、前記実装工具につ
いて前記工具寿命情報と前記使用予測値とを比較し、加
工中に寿命となる工具番号を求める。画面出力手段は、
前記求めた工具番号をオペレータに知らせる。そこで、
加工プログラムで加工するにあたり、必要な工具のう
ち、実装されていても加工中に寿命となってしまう工具
番号を自動的に事前にオペレータに知らせることが出来
る。
In the cell controller according to the seventh invention,
The communication means receives the mounted tool information and the 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 usage predicted value calculating means analyzes the machining program, extracts the T number, and calculates the predicted usage value of the tool with the T number. The information input means inputs the correspondence information between the T number and the actual tool number. The tool number management means manages the correspondence information.
The tool corresponding means takes out an actual tool number corresponding to the taken out T number. The tool number comparison means compares the tool number and the mounting tool number in the mounting tool information,
Ask for mounting tools. The service life comparison means compares the tool service life information with the predicted use value for the mounted tool, and obtains a tool number that will be service life during machining. The screen output means
The operator is informed of the obtained tool number. Therefore,
When machining with a machining program, it is possible to automatically notify the operator in advance of the tool numbers of the necessary tools, which will end their lives during machining even if they are 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工作機械(図示省略)の複数の工具
装着部位に装着された工具に関するデータを格納してお
く記憶部である。
The present invention will be described in more detail with reference to the embodiments shown in the drawings. In addition, 1st Example-5th shown below.
The embodiment is realized by using a control system having the same configuration as the control system shown in FIG. Further, in the embodiments described below, tool diameter, tool length offset data, tool life time, and tool usage 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 an all tool information storage device according to a first embodiment of the present invention.
It should be noted that although three numerical control devices are shown in this figure, the same applies to less than this and more. 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
1c are numerical control devices. The numerical controller 1 includes a tool data storage unit (hereinafter referred to as a tool data current) 104 that is a storage unit that stores tool data, a download unit 102 that downloads 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 downloading means 102, and the writing to or reading from the tool data current according to a request from the uploading means 103, or 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. It should be noted that the tool data current 104 is a storage unit that stores data relating to tools mounted on a plurality of tool mounting portions 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 to control. The tool data master 101 and the numerical control devices 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, etc. 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 which is stored in the memory 32 in the numerical controller 1 and is executed by the CPU 31 in order to realize the format conversion means 107. In this example, only a personal computer is explained, but CAD
The same applies to the / CAM device. This process is started when the tool data upload process or download process is selected by the operator operating the operation panel 34. First, the operator inputs information regarding the format of the tool data of the personal computer by operating the operation panel 34 (step 31).
0). The information regarding the format is the arrangement of data types such as the tool number and the tool length shown in Table 1 of the related art (2), and the size of the data.

【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 these information, for example, in FIG.
As shown in FIG. 5, the arrangement of data such as tool numbers and pot numbers and the data size can be input on the display 35 of the numerical controller 1 by operating the operation panel 34. Next, the operator operates the operation panel 34 to input whether to download or upload the tool data (step 311). When download is selected, the process proceeds to step 312 and thereafter. The tool data is read from the tool data current 104, the data is rearranged based on the information input in step 310,
The size is changed (step 312) and temporarily stored in the memory 32. (Step 313). When this data is downloaded, it will be deleted sequentially. Next, the download means is called (step 314), and the process ends. When upload is selected in step 311, the process proceeds to step 315 and thereafter. First, the upload means is called, and the tool data of the personal computer uploaded in the processing of the upload means is temporarily stored in the memory 32 (step 315). Next, the data is called, converted into the arrangement and size of the data for the numerical control device based on the information about 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 erased.

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

【0040】図6は、ダウンロード手段102を実現す
るためのソフトウェアプログラムの一例をしめすフロー
チャートである。まず、通信回線105が使用可能であ
るか否かをチェックするかめにパーソナルコンピュータ
106に対して通信要求を出す(ステップ401)。通
信可能状態にない場合は、例えば「通信エラー」という
メッセージをディスプレイ35(図34)に表示して終
了する。通信可能状態にある場合には、工具番号をオペ
レータが操作パネル34から入力する(ステップ40
2)。次に、工具のオフセットデータか寿命データであ
るのかをオペレータが操作パネル34から入力する(ス
テップ403)。次に、ステップ402,403で入力
されたデータをパーソナルコンピュータ106に送信す
ることによって、一時的にメモリ32に記憶された工具
データを工具データマスタへ送信する(ステップ40
4)。更に、送信するデータがある場合にはステップ4
02以下の処理を繰り返す。
FIG. 6 is a flow chart showing an example of a software program for realizing the download means 102. First, a communication request is issued to the personal computer 106 to check whether the communication line 105 is available (step 401). When the communication is not possible, for example, 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 tool 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). Further, if there is data to be transmitted, step 4
02 and subsequent processes are repeated.

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

【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. This figure has the same configuration as that of FIG. 34, but an external storage medium input / output unit 38 for exchanging data with an external storage medium such as a floppy disk in the data I / O 33, and an external storage medium in the memory 32. Format storage section 39 for storing several types of format formats, format selection means 40 for the operator to select a format from these formats, and the numerical control device to manage the format of the tool data read from the floppy disk. A format conversion means 41 for converting the format and a tool data storage unit 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 flow chart showing an example of the operation of this embodiment. This process is stored in the memory 32 and is CP
It is executed by U31. In the following description, a case where a floppy disk is used as the external storage medium will be described, but the same applies to the case where another medium is used. Personal computer or C not shown by operator
The floppy disk in which the tool data created by the AD / CAM device is registered is inserted into the floppy disk drive device (not shown) of the numerical controller 1 (step 80).
1) When the floppy disk read or write 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 defined, and the tool data format is converted in step 804.
The data is read and written, and the floppy disk is finally taken out (step 805), and the process ends.

【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 flow chart of a software program for realizing the format selecting means 40 called in step 803 of FIG. First, data regarding the floppy disk format such as the number of tracks of 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, from the data, the format of the floppy disk is stored in the format storage unit 3
It is checked whether or not it matches the format stored in No. 9 (step 902), and if it does not match, a message such as "Read / Write not possible" is displayed on the display 35 and the process ends (step 902). 9
03). If they match, a format format that matches the format is selected in the format storage unit 39 by the format number (Table 2) or the like (step 90).
4). Next, the information about the format of the tool data in the floppy disk, that is, the data arrangement, the data size, etc., inputted by the operator's operation of the operation panel 34 is stored in the memory 32 (step 90).
5). If this information can be stored in advance on a floppy disk, the information will be read. In the following, the numerical control device 1 uses the floppy disk in step 9
The input / output process for the floppy disk is performed assuming that the format is selected in 04.

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

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

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

【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 flow chart showing the operation of the numerical controller according to the third embodiment of the present invention. This entire process is started each time the tool image display process is started by the operator operating the operation panel 34. In the figure, step 911 determines whether or not the tool image display is valid based on the parameters set in advance by the operator or the maker. If it is invalid, this process ends. In step 912, the tool number of the tool to be displayed is displayed on the operation panel 34 of the operator.
Or read from the T command of the machining program. In the present invention, the latter is used during the operation of the machining program, and the former is used when the machining program is not operating, that is, the setup is performed.
In step 913, the tool image display area on the display is erased. As a result, if the tool image has been displayed by then, that image is erased, and the area for displaying the next image is freed. In step 914, the tool image data corresponding to the tool number read in step 912 is read from the tool image file 915 and displayed in the area vacated in step 913. The tool image data is read by an image scanner on a paper surface clearly showing the tool shape such as a photograph of the tool, a tool drawing, a floppy disk,
It is stored as image data in an external storage medium such as an IC card. If the memory 32 has a free area for storing image data, the external storage medium input / output unit 38 of the data input / output device 33 transfers the memory 3 from the external storage medium.
2 may be read in advance. The tool image can be displayed only on the screen determined when the system software of the numerical controller 1 was designed. In addition, the entire processing is started even during the machining program operation. 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 from step 911 to step 914 is executed. This process is activated each time a T command appears in the machining program.

【0048】図12は、工具画像の画面表示例である。
同図において、35はCRT等の表示装置(ディスプレ
イ)、920は表示された工具画像、921は工具画像
表示領域である。本実施例においては、工具データの一
覧と共に工具番号を付した工具画像を表示している。
FIG. 12 shows a screen display example of the 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 the numerical controller according to the fourth embodiment of the present invention. In the figure, on the display 35, the tool number and the tool usage time condition, that is, the ratio of the previously registered life time and usage time of the tool are displayed as a graph and numerical values. Here, the tool life management time is set to 100% and the tool usage time is graphed. Further, these graphs are displayed in different colors or patterns depending on the degree of usage time as shown in the figure. This is, for example, to inform the operator in an easy-to-understand manner whether or not the tool life is approaching, by comparing the values of the parameters indicating the tool replacement timing, which are input in advance by the operator's operation of the operation panel 34.

【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)、本処理を終了する。
FIG. 14 is a flow chart of a software program stored in the memory 32 in the numerical controller 1 for displaying the screen and executed by the CPU 31. This process is started when the tool use time status screen is selected by the operator operating the operation panel 34. 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, the tool life warning time parameter P (0 <P <is input in advance by the operator operating the operation panel 34.
100%) and T stored in the calculation area are compared (step 1002), and T <P, P ≦ T <100%, T
It is divided into three cases of ≧ 100%, and for example, the colors of the graph are sequentially designated as green, yellow, and red (steps 1003, 10).
04, 1005). The designated result is stored in the display data area (not shown) provided in the memory 32. Finally,
A graph creation process is performed based on these data (step 1006), and this process ends.

【0051】−第5実施例− 図15は、この発明の第5実施例の数値制御装置による
表示例である。同図において、ディスプレイ35上には
左端に工具番号、その右に工具番号に対応した工具寿命
時間と、その工具がこれから行おうとする加工での工具
使用予定時間のグラフと時間が上下に並べて表示してあ
る。図中工具番号#1〜#3までは工具使用予定時間が
充分工具寿命時間内であることを示しており、#4は工
具使用予定時間と工具寿命時間とが同じであるので、新
しい工具に交換しておいた方が安全であることを示して
いる。また、#5は工具使用予定時間の方が工具寿命時
間を上回っているので、新しい工具に即座に交換する必
要があることを示している。画面下部に設けてあるのは
設定部で、操作パネル34の操作によって左端から工具
番号、工具寿命時間、工具使用予定時間を入力すること
によってそれぞれのデータの修正または追加を行うこと
が出来る。
-Fifth Embodiment- FIG. 15 shows a display example by the numerical controller according to the fifth embodiment of the present invention. In the figure, on the display 35, a tool number is displayed at the left end, a tool life time corresponding to the tool number is displayed at the right end thereof, and a graph of the expected tool use time in the machining to be performed by the tool and the time are displayed vertically. I am doing it. Tool numbers # 1 to # 3 in the figure indicate that the planned tool usage time is within the tool life time, and # 4 has the same planned tool usage time and tool life time. It is safer to replace it. Further, # 5 indicates that the planned tool usage time exceeds the tool life time, and therefore a new tool needs to be replaced immediately. A setting unit is provided at the bottom of the screen, and data can be corrected or added by inputting a tool number, a tool life time, and a planned tool usage 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 the memory 32 in this embodiment.
It is a configuration example of. In the figure, a machining program storage unit 1601 and a tool data storage unit 160 are stored in the memory 32.
2, a tool number list storage unit 1603, and 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" in step a
0 "is the program number of this machining program is 1000
Command indicating that the number is “G100O1” in step b.
000 ”is an instruction to call and display the tool data from the tool data storage unit, and“ T0010 ”in step c is the tool number designated by a number less than T (in this case, 0010).
Automatic tool changer (hereinafter,
The instruction for setting the ATC) and the instruction for machining the work by linearly or circularly moving the tool or the table based on the designated coordinate value starting with "G" follow step d and thereafter. The tool data storage unit 1602 stores a tool number, a tool life time, a tool usage time, and a planned tool usage time. The tool usage time in the figure is “0” before this tool data is processed. Therefore, after machining, a value corresponding to the usage time of the tool in the machining is stored. The tool number list storage unit 1603 stores a program number which is an argument of “G100” in the machining program,
It stores all the tool numbers used in the program. Further, in the present invention, "G100" is used as the command for calling and displaying the tool data from the tool data storage unit, but of course, if the command is not used by the conventional numerical control device, it should be used. You can do it.

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

【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 the machining program in this embodiment. In (a) and (b) of the figure, numbers starting with # are serial numbers for registering tool numbers, and parentheses at the bottom of the screen are setting parts. In addition, "data input" and "memory write" at the bottom of the screen are menus, which can be selected by operating the menu key (not shown) provided at the bottom of the display. It indicates that the menu that is omitted is selected. In the figure (a), in the machining program (including a program called from a main program such as a subprogram) used for one machining by the operator operating the operation panel 34 on the right side of the number starting with # You can enter the tool number used. When all the tool numbers have been entered, the "write memory" menu is selected and the screen (b) is displayed. On this screen, the operator operates the operation panel 3
By the operation of 4, an item which can be memorized in association with the machining program such as the main machining program number is input to the setting section at the bottom of the screen. The data input on the screen of (a) by this operation 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 principle diagram 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 retrieval means 613, information input means 614, tool number management means 6
15, tool number corresponding means 616, tool number comparison means 617, and screen output means 618.

【0056】通信手段600は、実装されている実装工
具番号541を含む実装工具情報640をNC工作機械
から受信する。マガジン情報管理手段611は、前記受
信した実装工具情報540を管理する。加工プログラム
管理手段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を表示する。
The communication means 600 receives the mounting tool information 640 including the mounted mounting tool number 541 from the NC machine tool. The magazine information management means 611 manages the received mounting tool information 540. The machining program management means 612 manages information regarding the machining program 642. The T command retrieval means 613 retrieves the T command in the machining program 642, extracts the T number 643, and outputs it. The information input unit 614 inputs the tool number information 644 including the correspondence information between the T number and the actual tool number. The tool number management means 615 manages the tool number information 644. The tool number corresponding means 616 checks the T number 643 and the tool number information 644 to obtain the tool number 645 used for machining. Tool number comparison means 61
7 checks the mounted tool number 641 and the used tool number 645 to obtain the unmounted tool number 646. 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.
FIG. 3 is a configuration diagram of a cell system 801 including an NC machine tool 502, 502a, and 502b. In this cell system 801, the cell controller 501 is
The NC machine tool 5 is provided by the communication line 503 capable of mutual communication.
02, 502a, 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、621b
は、マガジン622、2220、622a、2220
a、622b、2220bの実装工具情報を、ATC6
25、625a、625bを介して受け取り、管理す
る。尚、本図ではNC工作機械は3台、マガジンは合計
6台描かれているが、これ以上でもこれ以下でも同様で
ある。
NC machine tools 502, 502a, 502b
Performs machining by sequentially taking out and replacing tools by executing the machining program. NC machine tools 502, 5
02a and 502b are communication means 620, 620a and 62.
0b and mounting tool information management means 621, 621a, 62
1b, ATC 625, 625a, 625b, magazines 622, 622a, 622b, magazine 2220,
2220a and 2220b. Magazines 622, 2220, 622a, 2220a, 622
b and 2220b are a plurality of tools 62 to which an identification code is attached.
A plurality of pots 623 with identification codes for setting 4
have. Mounting tool management means 621, 621a, 621b
Are magazines 622, 2220, 622a, 2220
a, 622b, 2220b mounting tool information, ATC6
25, 625a, 625b to receive and manage. In this figure, three NC machine tools and six magazines are shown in total, but the same applies to more or less than this.

【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
mounting tool list 2400, 24 for each a, 502b
00a and 2400b include a machine type 2401 and magazine-specific information 2402, 2402a and 2402b. Magazine-specific information 2402, 2402a, 240
2b has a magazine number 2403 that identifies the magazine.
And pot information 2404 indicating what number tool 624 is stored in which 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 of FIG. "O ..." in step a is a command indicating the program number attached to this machining program.
“T ...” in steps b, d, h, and k is performed by picking up a tool with a T number indicated by a number equal to or lower 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 the subprogram numbered 7000 (not shown) to replace the tool set in the ATC with the tool set on the spindle axis and used for machining. is there. “G0 ...” In steps e, f and i is a command for machining a workpiece by linearly or circularly moving a tool or a table based on designated speeds 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 axis (step c), the tool with the T number 400 is set on the vacant ATC (step d), and the designated speed, The tool or the work is moved based on the coordinate value (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 axis is
The tool with the T number 400 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 with a tool having a T number of 400 is performed (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の通信手段620
から実装工具情報640を入力し、マガジン情報管理手
段611は実装工具情報640を更新する。図21の2
404は、実装工具情報の一例である。ステップfにお
いて、工具番号比較手段617にて、実装工具情報64
0内の実装工具番号641と使用工具番号645とを比
較する。ステップgにおいて、使用工具番号645の
内、実装工具情報640にない工具番号を取り出す。取
り出された工具番号の工具が未実装工具番号646であ
る。例えば、図21の2404の実装工具情報と図26
の工具番号とを比較した場合、3000は未実装工具番
号である。未実装の工具がなければ、終了する。ステッ
プhにおいて、画面出力手段618により、未実装工具
番号を表示する。そして、終了する。
FIG. 23 is a flowchart of the processing of the cell controller 501 for displaying the unmounted tools among the tools necessary for machining with the machining program. First, in step a, the machining program managing unit 612 causes the machining program 642, for example, FIG.
Input the machining program of 2. Next, in step b, the T command retrieval means 613 causes the machining program 6
The T number 643 of the tool used in 42 is searched. Figure 24
22 is a T command retrieval result of the machining program of FIG.
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 616 takes out the used tool number 645 corresponding to the T number. FIG. 26 shows tool numbers used corresponding to the T numbers in FIG. In step e, NC
Communication means 620 for machine tools 502, 502a, 502b
The mounting tool information 640 is input from, and the magazine information management unit 611 updates the mounting tool information 640. 21 of FIG.
Reference numeral 404 is an example of mounting tool information. In step f, the tool number comparison means 617 causes the mounted tool information 64.
The mounted tool number 641 in 0 and the used tool number 645 are compared. In step g, a tool number not included in the mounting tool information 640 is extracted from the tool numbers 645 used. The extracted tool number is the unimplemented tool number 646. For example, the mounting tool information of 2404 in FIG. 21 and FIG.
When compared with the tool number of No. 3, 3000 is an unmounted tool number. If there are no unimplemented tools, the process ends. 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 means 611, a machining program management means 612, a used value prediction means 630, an information input means 614, a tool number management means 615, a tool number correspondence means 616, and a tool number comparison means 617. It is composed of 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 tool life information 650 including a tool number, an actual measurement value of tool usage time corresponding to the tool number, and a tool life setting value, and mounting tool information 640 including a mounting tool number 641. To receive. The magazine information management unit 611 manages the mounting tool information 640. The machining program management unit 612 manages information about machining programs including the machining program 642.
The usage value predicting means 630 takes out the T number in the machining program, calculates the usage predicted value of the tool for each T number, and outputs the T number and the predicted usage value 647. The information input means 614 inputs the tool number information 644 including the information indicating the correspondence between the T number and the actual tool number. The tool number management means 615 manages the tool number information 644. The tool number corresponding means 616 uses the T number and the predicted use value 64.
7 is compared with the tool number information 644 to obtain the tool number and the predicted use value 648. Tool number comparison means 61
7 compares the mounting tool number 641 with the tool number and the predicted use value 648 to obtain the mounted tool number and the predicted use value 649. The service life value comparison means 632 compares the tool service life information 650 with the mounted tool number and the predicted use value 649 to obtain a mounted tool number for which the predicted use value exceeds the tool life, and outputs it as the service life reached tool number 651.
The screen output unit 618 displays the end-of-life 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 block diagram of a cell system 851 including the cell controller 701. In this cell system 851, the cell controller 701 uses the communication line 503 capable of mutual communication to connect the NC machine tool 80.
2, 802a and 802b are connected. The NC machine tools 802, 802a, 802b have a configuration in which tool life management means 626, 626a, 626b are added to the configurations of the NC machine tools 502, 502a, 502b in FIG. The tool life management means 626, 626a, 626b manages information regarding the tool life. In this figure, three NC machine tools and six magazines are shown in total, but the same applies to more or less than this.

【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から、実装工具情報40を入
力し、これをマガジン情報管理手段611により管理す
る。図21の2404は、実装工具情報の一例である。
FIG. 29 shows NC machine tools 802, 802.
10 is a flowchart of processing of the cell controller 701 for displaying a tool that has reached the end of its life during machining among the tools mounted on a and 802b. First, in step a, the machining program managing means 612 inputs the machining program 642, for example, the machining program shown in FIG. Next, in step b, the used value prediction means 630
Calculates the T number and the predicted use value 647 using this processing program. This predicted use value is <A>. <
A> is obtained by calculating the usage time from the distance and speed at which the tool or workpiece moves by the machining program 642, or calculating the number of times the tool has been 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, tool number corresponding means 6
16 retrieves the tool number corresponding to the T number, and obtains the predicted use value 648 corresponding to the tool number. FIG. 31 shows
It is an example of a predicted usage value 648 associated with a tool number.
In step e, NC machine tools 802, 802a,
The mounting tool information 40 is input from the communication means 620 of 802b, and this is managed by the magazine information management means 611. Reference numeral 2404 in FIG. 21 is an example of mounting tool information.

【0067】ステップfにおいて、工具番号比較手段6
17は、実装工具情報2404内の実装されている工具
番号(図21参照)と、使用する工具番号(図31参
照)とを比較し、使用する工具番号の内、実装工具情報
2404にある工具番号を実装工具番号として取り出
し、実装工具番号に対応させた使用予測値648を求
め、実装工具番号および使用予測値649を出力する。
図32は、実装工具番号および使用予測値649の一例
である。ステップhにおいて、NC工作機械802、8
02a、802bの通信手段620を介して、工具寿命
情報650を入力し、この工具寿命情報650を工具情
報管理手段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 comparison means 6
17 compares the mounted tool number (see FIG. 21) in the mounted tool information 2404 with the tool number to be used (see FIG. 31), and among the tool numbers to be used, the tool in the mounted tool information 2404 The number is taken out as the mounting tool number, the predicted usage value 648 corresponding to the mounting tool number is obtained, and the mounting tool number and the predicted usage value 649 are output.
FIG. 32 is an example of the mounting tool number and the predicted use value 649. In step h, NC machine tools 802, 8
Tool life information 650 is input via the communication means 620 of 02a and 802b, and this tool life information 650 is managed by the tool information management means 631. In step i, the tool information management unit 631 retrieves the tool life information 650 corresponding to the mounted tool number. FIG. 33 is an example of the tool life information 650, which includes a mounted tool number, an actually used value, and a life set value. Let <C> be the actual measured value,
Let the value of the life set value be <D>. In step j,
The sum of the predicted usage value <A> and the actual usage value <C> is compared with the life setting value <D> for each mounting tool number. As a result of this comparison, when D <A + C, the mounted tool number is set as the end-of-life tool number 651. For example, when comparing FIG. 32 and FIG. 33, the tool number 651 reaching the end of life is 2020. In step k, the screen output means 618 displays the tool 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 is used to operate all NC machining in a factory without using a cell controller, which is a superordinate of the numerical controller. Since all tool data of all tools that can be attached to the machine are managed, all tool data can be managed collectively at a low cost.
In addition, by operating the numerical control device, the tool data format can be managed by the numerical control device and the one that can be managed by the tool data master, and the tool data can be downloaded and uploaded. It can be easily confirmed whether or not the data is the data of the tool actually attached to. Further, by using the information of the tool data master as a master and uploading / downloading the data each time machining is performed, the 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 the tool data created by a personal computer or CAD / CAM, etc., and the data can be read and written directly by the numerical control device. However, there is no need for the operator to input the data, and the data can be input accurately in a short time. In addition, it is possible to input the timing with respect to the processing step with good timing.

【0070】第3の発明による数値制御装置によれば、
予めカメラ等で撮影した工具画像を表示することができ
るので、工具図形作成のためのパラメータ等を与えるこ
となく、しかも実際の工具形状に忠実でリアルな画像を
段取り時に画面上で見ることが出来るため、工具の取り
付け間違いを発見しやすく、間違った工具で加工して加
工物を駄目にしてしまうといった加工ミスを少なくする
ことが出来る。
According to the numerical controller of the third invention,
Since it is possible to display the tool image taken with a camera etc. in advance, it is possible to see a realistic image that is faithful to the actual tool shape on the screen at the time of setup without giving parameters etc. for creating the tool figure Therefore, it is possible to easily detect a mistake in mounting the tool, and it is possible to reduce a machining error such as machining with the wrong tool and ruining the workpiece.

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

【0072】第5の発明による数値制御装置によれば、
工具使用予定時間を工具寿命時間と並べてグラフとして
表示できるので、交換の必要な工具が一目で把握でき
る。グラフからあと何回その工具がその加工プログラム
に使えそうか判断することが出来るので、同じ加工プロ
グラムを連続して複数回運転する場合に、例えばある一
つの工具を除いて3回まで加工できるといった時にはそ
の工具を新しい工具と交換することによって加工効率を
上げることが出来る。
According to the numerical controller of the fifth invention,
The planned tool usage time and the tool life time can be displayed side by side in a graph so that the tools that need to be replaced can be grasped at a glance. It is possible to judge how many times the tool can be used for the machining program from the graph, so when operating the same machining program multiple times in succession, for example, one machine can be machined up to three times. Sometimes it is possible to improve machining efficiency by replacing the tool with a new tool.

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

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

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

【図1】この発明の第1実施例による数値制御装置と全
工具情報記憶装置とからなるシステムの一例を示すシス
テム構成図である。
FIG. 1 is a system configuration diagram showing an example of a system including a numerical control device and an all-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 devices of FIG.

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

【図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の数値制御装置におけるアップロード手段
の一例を示すフローチャートである。
5 is a flowchart showing an example of uploading means in the numerical controller of FIG.

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

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

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

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

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

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

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

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

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

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

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

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

【図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 controller of FIG.

【図19】この発明の第6実施例によるセルコントロー
ラの工具管理に関する原理図である。
FIG. 19 is a principle diagram regarding 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.

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

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

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

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

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

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

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

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

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

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

【図32】図27のセルコントローラにおける実装工具
番号と使用予測値の一例を表わす図である。
32 is a diagram showing 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 showing 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 diagram of a conventional tool information management device.

【図36】従来の工具情報管理装置が適用される複数台
のマシニングセンタからなるシステムの一例を表すシス
テム構成図である。
FIG. 36 is a system configuration diagram showing 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 of an example of a conventional numerical control device that draws a tool shape.

【図38】従来の工具形状の描画を行う数値制御装置の
図形作成用ルーチンの一例を示すフローチャートであ
る。
FIG. 38 is a flow chart showing an example of a figure creation routine of a conventional numerical control apparatus 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 ポット情報 1 Numerical Control Device 12 Tool Data Management Means 101 Tool Data Master 102 Downloading Means 103 Uploading Means 104 Tool Data Current 105 Communication Line 106 Personal Computer 107 Format Converting 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 section 1603 Tool number list storage section 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 retrieval 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 tool ATC 626 means Life management means 626b Tool life management means 630 Used value prediction means 631 Tool information management means 632 Life value comparison means 633 Key input means 640 Actual Tool information 641 Implemented tool number 642 Machining program 643 T number 644 Tool number information 645 Tool number used 646 Unimplemented tool number 647 T number, estimated use value 648 Tool number, estimated use value 649 Implemented tool number, estimated use value 650 Tool life Information 651 End-of-life 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 2402 magazine information 2402 magazine Magazine information 2402b Magazine information 2403 Magazine number 2404 Pot information

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年6月11日[Submission date] June 11, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Name of item to be corrected] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項2[Name of item to be corrected] Claim 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0010】(3)図37は、特開昭62−38908
号公報に示された従来の工具形状の描画を行う数値制御
装置の一実例を示すフローチャートである。この処理
ルーチン全体は工具データ入力の1つのデータ設定がな
されるごとにコールされる。データの設定はその値に対
応した数字キーおよび符号キーあるいは小数点キーが押
された後、設定キーが押されることによりなされ、本ル
ーチンが起動される。同図において、ステップ51は入
力キーコードのデータ列を実際の数値に変換し、その数
値が正常なものであるか否かをチェックするキー入力処
理ルーチンであり、ステップ52はカーソル位置データ
より、そのデータの入るべき工具データファイル上の位
置を決めて格納するルーチンであり、53は工具の絵を
作るためのルーチンである。
(3) FIG. 37 is a schematic view of Japanese Patent Laid-Open No. 62-38908.
Is a flowchart showing an Kazumi facilities example of the numerical controller for drawing conventional tool shape shown in JP. The entire processing routine is called each time one data setting for tool data input is performed. 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, and step 52 is Reference numeral 53 is a routine for deciding and storing a position on the tool data file to which the data should be entered, and 53 is a routine for making a picture of the tool.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0022[Name of item to be corrected] 0022

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0029[Name of item to be corrected] 0029

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

Claims (7)

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

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5374231A (en) * 1990-12-18 1994-12-20 Erowa Ag Automatically operable manufacturing and machining plant
JP2001315037A (en) * 2000-05-08 2001-11-13 Mori Seiki Co Ltd Automatic tool changer
JP2005502950A (en) * 2001-09-12 2005-01-27 レクスロート インドラマート ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Methods for preparing, processing and maintaining tool data
JP2008224869A (en) * 2007-03-09 2008-09-25 Sony Corp Projector and its control method
JP2009009614A (en) * 2008-10-16 2009-01-15 Jtekt Corp Component life management system for machine tool
JP2010170402A (en) * 2009-01-23 2010-08-05 Howa Mach Ltd Data backup system
JP2012103973A (en) * 2010-11-11 2012-05-31 Bridgestone Corp Nc program generation method and generation device
JP2016184293A (en) * 2015-03-26 2016-10-20 ファナック株式会社 Numerical control device equipped with function to prevent erroneous input of tool offset data
KR20160143348A (en) * 2015-06-05 2016-12-14 두산공작기계 주식회사 Automatic tool changer
JP2017049656A (en) * 2015-08-31 2017-03-09 ファナック株式会社 Machining system with machining accuracy maintaining function
JP2017167866A (en) * 2016-03-17 2017-09-21 株式会社ジェイテクト Management system for machine tool
JP2018069378A (en) * 2016-10-28 2018-05-10 ファナック株式会社 Information processing device
EP3357637A4 (en) * 2015-09-30 2019-05-08 Makino Milling Machine Co., Ltd. Machine tool
JP2020064444A (en) * 2018-10-17 2020-04-23 株式会社スギノマシン Tool managing method and tool managing system
JP2020146792A (en) * 2019-03-13 2020-09-17 ファナック株式会社 Machine tool, machining system, and management system
JP2020201982A (en) * 2020-08-31 2020-12-17 ファナック株式会社 Operation management device
JP2021130477A (en) * 2020-02-19 2021-09-09 日本電気株式会社 Control device, control method, and program
WO2022097268A1 (en) * 2020-11-06 2022-05-12 Dmg森精機株式会社 Tool transport system, control method for tool transport system, and control program for tool transport system
WO2022102581A1 (en) * 2020-11-10 2022-05-19 ファナック株式会社 Control device
JP2022125693A (en) * 2021-02-17 2022-08-29 Dmg森精機株式会社 Machine tool, display method, and display program

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5374231A (en) * 1990-12-18 1994-12-20 Erowa Ag Automatically operable manufacturing and machining plant
JP4531197B2 (en) * 2000-05-08 2010-08-25 株式会社森精機製作所 Automatic tool changer
JP2001315037A (en) * 2000-05-08 2001-11-13 Mori Seiki Co Ltd Automatic tool changer
JP2005502950A (en) * 2001-09-12 2005-01-27 レクスロート インドラマート ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Methods for preparing, processing and maintaining tool data
JP2008224869A (en) * 2007-03-09 2008-09-25 Sony Corp Projector and its control method
JP2009009614A (en) * 2008-10-16 2009-01-15 Jtekt Corp Component life management system for machine tool
JP2010170402A (en) * 2009-01-23 2010-08-05 Howa Mach Ltd Data backup system
JP2012103973A (en) * 2010-11-11 2012-05-31 Bridgestone Corp Nc program generation method and generation device
JP2016184293A (en) * 2015-03-26 2016-10-20 ファナック株式会社 Numerical control device equipped with function to prevent erroneous input of tool offset data
US10018991B2 (en) 2015-03-26 2018-07-10 Fanuc Corporation Numerical controller with function of preventing erroneous input of tool offset data
KR20160143348A (en) * 2015-06-05 2016-12-14 두산공작기계 주식회사 Automatic tool changer
JP2017049656A (en) * 2015-08-31 2017-03-09 ファナック株式会社 Machining system with machining accuracy maintaining function
US10105808B2 (en) 2015-08-31 2018-10-23 Fanuc Corporation Processing system having function for maintaining processing accuracy
US10442051B2 (en) 2015-08-31 2019-10-15 Fanuc Corporation Processing system having function for maintaining processing accuracy
US10926367B2 (en) 2015-09-30 2021-02-23 Makino Milling Machine Co., Ltd. Machine tool
EP3357637A4 (en) * 2015-09-30 2019-05-08 Makino Milling Machine Co., Ltd. Machine tool
JP2017167866A (en) * 2016-03-17 2017-09-21 株式会社ジェイテクト Management system for machine tool
JP2018069378A (en) * 2016-10-28 2018-05-10 ファナック株式会社 Information processing device
US10853390B2 (en) 2016-10-28 2020-12-01 Fanuc Corporation Information processing device
JP2020064444A (en) * 2018-10-17 2020-04-23 株式会社スギノマシン Tool managing method and tool managing system
JP2020146792A (en) * 2019-03-13 2020-09-17 ファナック株式会社 Machine tool, machining system, and management system
JP2021130477A (en) * 2020-02-19 2021-09-09 日本電気株式会社 Control device, control method, and program
JP2020201982A (en) * 2020-08-31 2020-12-17 ファナック株式会社 Operation management device
WO2022097268A1 (en) * 2020-11-06 2022-05-12 Dmg森精機株式会社 Tool transport system, control method for tool transport system, and control program for tool transport system
WO2022102581A1 (en) * 2020-11-10 2022-05-19 ファナック株式会社 Control device
JP2022125693A (en) * 2021-02-17 2022-08-29 Dmg森精機株式会社 Machine tool, display method, and display program

Also Published As

Publication number Publication date
JP2701642B2 (en) 1998-01-21

Similar Documents

Publication Publication Date Title
JP2701642B2 (en) Numerical controller and cell controller
EP1260889B1 (en) Method for determining bending order in a machine tool
EP0827054B1 (en) Data display/input method for cnc apparatus utilized as on-line terminal
EP0076970B1 (en) Process for inputting coordinate points of a desired path of movement for a preset robot
EP0457924B1 (en) Apparatus for supporting inspection of plant
EP0816959B1 (en) Compact numerical controller
JPH09262745A (en) Work indication system
US5973466A (en) Operating information setting and management method and apparatus of numerical control apparatus
CA2246573C (en) Method for setting tool-based working condition in off-line teaching
JP5555422B2 (en) Numerical control apparatus and numerical control method
JPH11296217A (en) Method and device for transferring program file in nc device
JPH08328829A (en) Parameter change history managing system
JP2980182B2 (en) Tool management device
JP2002224925A (en) Device for assisting in tool changing operation
JP3382859B2 (en) Electric discharge machine
JP2001147707A (en) Working result recorder
WO1998026635A2 (en) Apparatus for modifying a sequence list in an automatic inserter of electronic components and a method therefor
JPH01146644A (en) Repair information indicating device for machining cell tool
EP0425688A1 (en) Method of editing program for program controller
EP0519072A1 (en) Automatic edition system of polyhedron machining process
JPH07110461B2 (en) Tool storage method of tool magazine and its tool magazine filing device
JPH1139375A (en) Electric circuit drawing generation device
JPS6339751A (en) Numerical control unit for printing out list of tools in use
JPH04146044A (en) Preparation device for electric discharge machining program
JPH04153707A (en) Numerical controller