JPH0197545A - Tool managing device for numerical control machine tool - Google Patents

Tool managing device for numerical control machine tool

Info

Publication number
JPH0197545A
JPH0197545A JP62252004A JP25200487A JPH0197545A JP H0197545 A JPH0197545 A JP H0197545A JP 62252004 A JP62252004 A JP 62252004A JP 25200487 A JP25200487 A JP 25200487A JP H0197545 A JPH0197545 A JP H0197545A
Authority
JP
Japan
Prior art keywords
tool
machining
pot number
tool pot
information
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
JP62252004A
Other languages
Japanese (ja)
Other versions
JPH0641084B2 (en
Inventor
Yoshitomo Konishi
小西 義友
Toshifumi Yoshikawa
敏文 吉川
Satoru Makino
覚 牧野
Masao Katagiri
片桐 正夫
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.)
Minolta Co Ltd
Mitsubishi Electric Corp
Original Assignee
Minolta Co Ltd
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 Minolta Co Ltd, Mitsubishi Electric Corp filed Critical Minolta Co Ltd
Priority to JP62252004A priority Critical patent/JPH0641084B2/en
Publication of JPH0197545A publication Critical patent/JPH0197545A/en
Publication of JPH0641084B2 publication Critical patent/JPH0641084B2/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)
  • Multi-Process Working Machines And Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To relieve the load of a cell control device and to shorten a processing time, by providing a means to detect a tool pocket number, described in 8 machining program, from a tool pocket number position. CONSTITUTION:In a cell control device 2 of an NC machining tool 1, a tool pocket number conversion data preparing means 13 compares tool file information 6a with machining information 8a and 8b prepared by a host calculator 3. When tool designation is the same and a tool pocket number is different, conversion data 13 responding to tool designation described in machining programs 7a and 7b is prepared. When a tool exchange and additional data preparing means is present in machining information and absent in tool file information, tool exchange and additional data 9 is prepared, and the tool pocket position number description position of the machining program 7b is detected by means of tool pocket number position data 15a and 15b to select a tool magazine 4 by means of a tool center 5. This constitution enables reduction of the load of the cell control device.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は数値制御工作機械(以下、NC工作機械という
)と、NC工作機械を制御するセルコントロール装置及
びセルコントロール装置の上位コンピュータから構成さ
れる数値制御工作機械の工具管理装置に関し、さらに詳
しくは効率の高い工具管理を行なう数値制御工作機械の
工具管理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention comprises a numerically controlled machine tool (hereinafter referred to as an NC machine tool), a cell control device that controls the NC machine tool, and a host computer of the cell control device. The present invention relates to a tool management device for a numerically controlled machine tool, and more particularly to a tool management device for a numerically controlled machine tool that performs highly efficient tool management.

[従来の技術] 第6図は従来の工具管理方式に基づき工具管理を行なう
数値制御装置工作機械の工具管理装置のブロック図であ
る。
[Prior Art] FIG. 6 is a block diagram of a tool management device for a numerically controlled machine tool that performs tool management based on a conventional tool management system.

第6図において、(1)はNC工作機械、(4)はNC
工作機械(1)の一部であり、必要に応じて工具を自動
供給する工具マガジン、(2)は少なくとも1台以上の
NC工作機械(1)を制御するセルコントロール装置、
(3)はセルコントロール装置(2)との間で各種デー
タの授受を行なう上位のコンピュータ、(5)はNC工
作機械(1)が必要とする工具を収容している工具セン
ターである。
In Figure 6, (1) is an NC machine tool, and (4) is an NC machine tool.
A tool magazine that is part of the machine tool (1) and automatically supplies tools as needed; (2) a cell control device that controls at least one NC machine tool (1);
(3) is a host computer that exchanges various data with the cell control device (2), and (5) is a tool center that houses tools required by the NC machine tool (1).

又、(8a)は工具マガジン(4)にある工具に関する
データである工具ファイル情報、(7a)、(7b)は
上位のコンピュータ(3)で作成され必要に応じて上位
のコンピュータ(3)からセルコントロール装置(2)
に、さらにセルコントロール装置(2)からNC工作機
械(1)にダウンロードされる加工プログラム、(8a
)、(8b)は加工プログラム(7a)、(7b)が使
用する工具データを含む加工情報、(9)は工具ファイ
ル情報(6a)と加工情報(8b)とを比較することに
より作成され、加工プログラム(7a)、(7b)上の
工具と実際に工具マガジン(4)の工具ポットにある工
具とを一致させるための工具交換・追加データ、(10
a) 、(10b)はNC工作機械(1)の加工状態を
示す加工データ、(lla) 、(llb)は加工デー
タ(10b)に基づいて作成される加工実績データ、(
12)は工具センター(5)が管理している全ての工具
の工具リストで、工具ポットの工具ポットナンバと工具
ポットに収納されている工具の工具名称とを対応させた
もの、(13)は工具ファイル情報(6a)と加工情報
(8b)とに基づいて作成され、加工プログラム(7b
)内の工具ポットナンバの変換内容を示す工具ポットナ
ンバ変換データ、(14a)、(14b)は工具ポット
ナンバを変換することにより、実行可能になった実行加
工プログラムである。
Also, (8a) is tool file information, which is data related to tools in the tool magazine (4), and (7a) and (7b) are created by the host computer (3) and are sent from the host computer (3) as necessary. Cell control device (2)
Furthermore, a machining program (8a) is downloaded from the cell control device (2) to the NC machine tool (1).
), (8b) are machining information including tool data used by machining programs (7a) and (7b), (9) is created by comparing tool file information (6a) and machining information (8b), Tool exchange/additional data for matching the tools on the machining programs (7a) and (7b) with the tools actually in the tool pot of the tool magazine (4), (10)
a), (10b) are machining data indicating the machining status of the NC machine tool (1), (lla), (llb) are machining performance data created based on the machining data (10b), (
12) is a tool list of all tools managed by the tool center (5), in which the tool pot number of the tool pot corresponds to the tool name of the tool stored in the tool pot, and (13) is a tool list of all tools managed by the tool center (5). It is created based on the tool file information (6a) and machining information (8b), and the machining program (7b
The tool pot number conversion data (14a) and (14b) in parentheses ( ) are executable machining programs that are made executable by converting the tool pot number.

次に、従来の数値制御工作機械の工具管理装置の動作に
ついて第7図のフローチャートを参照して説明する。
Next, the operation of the conventional tool management device for a numerically controlled machine tool will be explained with reference to the flowchart shown in FIG.

(1)ステップS1 上位のコンピュータ(3)において、加工プログラム(
7a)及び加工プログラム(7a)に記載された工具の
工具データを含む加工情報(8a)を作成する。
(1) Step S1 In the upper computer (3), the machining program (
7a) and machining information (8a) including tool data of the tool described in the machining program (7a).

この場合、工具リスト(12)の工具ポットナンバを指
定することにより、加工プログラム(7a)で使用する
工具を特定する。第8図は作成した加工プログラム(7
a)及び工具ファイル情報(8a)の−例を示す。この
加工プログラム(7a)中rTOIJ、rTO2J、r
TO3J、rTO4J、rTO5J及びrTOeJは工
具ポットナンバである。又、rllolJ、rHO2J
、rDO3J、rHO4J、r)105 J及びrHO
8Jは工具の補正値である。又、工具ファイル情報(8
a)中rcJ、rBJ、rGJ、rHJ、rAJ及びr
JJは工具名称である。
In this case, the tool used in the machining program (7a) is specified by specifying the tool pot number in the tool list (12). Figure 8 shows the created machining program (7
- Examples of a) and tool file information (8a) are shown. In this machining program (7a), rTOIJ, rTO2J, r
TO3J, rTO4J, rTO5J and rTOeJ are tool pot numbers. Also, rllolJ, rHO2J
, rDO3J, rHO4J, r) 105 J and rHO
8J is a tool correction value. Also, tool file information (8
a) middle rcJ, rBJ, rGJ, rHJ, rAJ and r
JJ is the tool name.

(2)ステップS2 セルコントロール装置(2)でスケジューリングされた
加工スケジュールに伴い、ある加工プログラム(7b)
の実行指示がされる。この場合、加工プログラム(7b
)及び加工プログラム(7b)に対応する加工情報(8
b)がセルコントロール装置(2)にないときは、上位
のコンピュータ(3)に対して加工プログラム(7a)
及び加工情報(8a)のダウンロードを要求する。
(2) Step S2 A certain machining program (7b) is executed according to the machining schedule scheduled by the cell control device (2).
An execution instruction is given. In this case, the machining program (7b
) and machining information (8) corresponding to the machining program (7b)
b) is not in the cell control device (2), the processing program (7a) is sent to the host computer (3).
and requests downloading of processing information (8a).

(3)ステップS3 セルコントロール(2)は工具ファイル情報(6a)と
加工情報(8b)とを比較して、加工プログラム(7b
)の工具ポットナンバを修正する工具ポットナンバ変換
データ(13)及び加工情報(8b)にあり、工具ファ
イル情報(6a)にない工具コードナンバを示す工具交
換・追加データ(9)を作成する。なお、工具交換・追
加データはプリントアウトする。
(3) Step S3 The cell control (2) compares the tool file information (6a) and machining information (8b), and compares the machining program (7b).
) is created to correct the tool pot number (13) and tool exchange/additional data (9) indicating the tool code number that is in the machining information (8b) but not in the tool file information (6a). In addition, tool replacement/additional data will be printed out.

工具ポットナンバ変換データ(I3)の作成、工具交換
・追加データ(9)の作成及び実行加工プログラム(1
4a)の工具ポットナンバの変換について、第9図及び
第1O図に示したフローチャート及び説明図を参照して
説明する。
Creation of tool pot number conversion data (I3), creation of tool exchange/additional data (9), and execution machining program (1)
The tool pot number conversion in 4a) will be explained with reference to the flowchart and explanatory diagram shown in FIG. 9 and FIG. 1O.

(a)ステップS31〜832 セルコントロール装置(2)は加工情報(8b)から工
具ポットナンバとその工具ポットナンバに対応する工具
を読み出して(ステップ831 ) 、工具ファイル情
報の工具ポットナンバ及び工具名称と比較する(ステッ
プ532)。
(a) Steps S31 to 832 The cell control device (2) reads the tool pot number and the tool corresponding to the tool pot number from the machining information (8b) (step 831), and reads the tool pot number and tool name from the tool file information. (step 532).

(b)ステップ833〜884 セルコントロール装置(2)は加工情報(8b)の工具
ポットナンバと工具ファイル情報(6a)の工具ポット
ナンバ及び工具ポットナンバに対応する工具名称が一致
するときは、工具ポットナンバ変換データ(13)及び
工具交換・追加データ(9)を作成しない。又、工具名
称が同一で、その工具名称に対応する工具ポットナンバ
が異なるときは、加工プログラムを修正する必要がある
として、工具ポットナンバ変換データを作成する(ステ
ップ533)さらに、ある工具名称が加工情報(8b)
に存在し、工具ファイル情報(6a)に存在しないとき
は、その工具名称を工具ファイル情報(6a)の空きポ
ットに空きポットがなければ加工情報(8b)にない工
具名称に入れることにより、工具マガジン(4)の工具
を工具センター(5)の工具と交換する工具交換・追加
データを作成する。
(b) Steps 833 to 884 When the tool pot number in the machining information (8b) matches the tool pot number in the tool file information (6a) and the tool name corresponding to the tool pot number, the cell control device (2) Pot number conversion data (13) and tool exchange/additional data (9) are not created. If the tool names are the same but the tool pot numbers corresponding to the tool names are different, it is assumed that the machining program needs to be modified, and tool pot number conversion data is created (step 533). Processing information (8b)
If the tool name exists in the tool file information (6a) and does not exist in the tool file information (6a), the tool name is entered in the tool name that is not in the machining information (8b) if there is no empty pot in the tool file information (6a). Create tool exchange/additional data for exchanging the tool in the magazine (4) with the tool in the tool center (5).

例えば、第1θ図(a)に示した工具ファイル情報(6
a)と第1O図(b)に示した加工情報(8b)とを比
較したときは、工具ポットナンバrTO2Jに対応する
工具名称はともにrBJであるので、工具ポットナンバ
変換データタを作成しない。又、加工情報(8b)17
)工具ポットナンバ「TOl」、rT03」及ヒrTO
5Jに各々対応する工具名称rcJ、rGJ及びrAJ
は工具ファイル情報(6a)に存在するが工具ポットナ
ンバが異なるので、第10図(C)に示すように加工プ
ログラム(7b)の工具コードナンバr、TOI Jを
rTO3Jに、rTO3JをrTO7Jに、及びrTO
5JをrTOI Jに各々変換する工具ポットナンバ変
換データ(13)を作成することになる。
For example, the tool file information (6
When a) is compared with the machining information (8b) shown in FIG. 1O(b), the tool names corresponding to the tool pot number rTO2J are both rBJ, so no tool pot number conversion data is created. Also, processing information (8b) 17
) Tool pot number "TOl", rT03" and hrTO
Tool names rcJ, rGJ and rAJ corresponding to 5J, respectively
exists in the tool file information (6a), but the tool pot number is different, so as shown in Figure 10 (C), the tool code number r of the machining program (7b), TOI J is changed to rTO3J, rTO3J is changed to rTO7J, and rTO
Tool pot number conversion data (13) for converting 5J to rTOI J will be created.

又、加工情報(8b)の工具ポットナンバrTO4J及
びrTO8Jに各々対応する工具名称rHJ及びfJJ
は工具ファイル情報(6a)に存在しないので第1O図
(d)に示すように工具ファイル情報(6a)の空ポッ
ト(工具ポットナンバrTO8J )に工具名称rHJ
を入れ、工具ポットナンバrTO6Jの工具名称rFJ
を工具名称rJJに交換する工具交換・追加データ(9
)を作成する。なお、加工情報(8b)の工具ポットナ
ンバrTO4Jに対応する工具名称rHJを工具ファイ
ル情報(6a)の空ポット(工具ポットナンバrTO8
J )に入れる工具交換・追加データ(9)を作成した
のに伴い、加工情報(8a)の工具ポットナンバrTO
4JをrTO8Jに変換する工具ポットナンバ変換デー
タ(13)を作成することになる。
In addition, tool names rHJ and fJJ corresponding to tool pot numbers rTO4J and rTO8J in machining information (8b), respectively.
does not exist in the tool file information (6a), so the tool name rHJ is added to the empty pot (tool pot number rTO8J) in the tool file information (6a) as shown in Figure 1O (d).
Insert the tool pot number rTO6J and tool name rFJ.
Tool exchange/additional data (9) to exchange tool name rJJ
). Note that the tool name rHJ corresponding to the tool pot number rTO4J in the machining information (8b) is changed to the empty pot (tool pot number rTO8) in the tool file information (6a).
J), the tool pot number rTO in machining information (8a) has been created.
Tool pot number conversion data (13) for converting 4J to rTO8J will be created.

(e)ステップ835〜838 全加工情報(8b)について、工具ポットナンバ変換デ
ータ(13)及び工具交換・追加データ(9)の作成を
終了すると(ステップ535)、セルコントロール装置
(2)は加工プログラム(7b)を読み出して(ステッ
プ83B ) 、工具ポットナンバ交換データ(I3)
に基づいて、加工プログラム(7b)に記載されている
工具ポットナンバを順次サーチしくステップS37 )
 、工具ポットナンバを変換する(ステップ838)。
(e) Steps 835 to 838 After completing the creation of tool pot number conversion data (13) and tool exchange/additional data (9) for all machining information (8b) (step 535), the cell control device (2) Read the program (7b) (step 83B), tool pot number exchange data (I3)
Step S37)
, converts the tool pot number (step 838).

例えば、第10図(e)に示した加工プログラム(7b
)の工具ポットナンバrTO2Jは工具ポットナンバ交
換データ(13)にないので、変換しない。又加工プロ
グラム(7b)の工具ポットナンバrTOI JrTO
3J、rTO4J及びrTO5Jは各々rTQ3 Jr
TO7J、rTO8J及びrTOI Jに変換する。な
お、工具ポットナンバの変換に伴いrllolJ、rD
O3J、r)104 J及びrl105Jは各々rHO
3JrD07J、rl108J及びrHOIJに変換す
る。この変換により第10図(f’)に示す実行加工プ
ログラム(14a)が作成される。
For example, the machining program (7b
) is not included in the tool pot number exchange data (13), so it is not converted. Also, tool pot number rTOI JrTO of machining program (7b)
3J, rTO4J and rTO5J are each rTQ3 Jr.
Convert to TO7J, rTO8J and rTOI J. In addition, due to conversion of tool pot number, rllolJ, rD
O3J, r)104J and rl105J are each rHO
3JrD07J, rl108J and rHOIJ. Through this conversion, an execution machining program (14a) shown in FIG. 10(f') is created.

一方、工具センター(5)では工具交換・追加データ(
9)に基づいて、対象となるNC工作機械(1)の工具
マガジン(4)内の工具を追加し、又は交換し、追加又
は交換が完了すると、その旨をセルコントロール装置(
2)に知らせる。
On the other hand, the tool center (5) has tool exchange/additional data (
9), tools in the tool magazine (4) of the target NC machine tool (1) are added or replaced, and when the addition or replacement is completed, the cell control device (
2) Notify.

(d)ステップ839〜S40 上述した工具ポットナンバ変換データ(13)に基づく
工具ポットナンバの変換及び工具の交換、追加が終了す
ると(ステップS39 ) 、セルコントロール装置(
2)は工具ファイル情報(6a)を更新する(ステップ
540)。
(d) Steps 839 to S40 When the tool pot number conversion and tool replacement and addition based on the tool pot number conversion data (13) described above are completed (step S39), the cell control device (
2) updates the tool file information (6a) (step 540).

(4)ステップ84〜S5 セルコントロール装置(2)が実行加工プログラム(1
4a)をNC工作機械(1)にダウンロードして起動す
ると、NC工作機械(1)は実行加工プログラム(14
a)を実行する(ステップS4)。NC工作機械(1)
は実行加工プログラム(14a)の実行に伴い、加工デ
ータ(1(la)を作成し、これをセルコントロール装
置(2)にアップロードする。セルコントロール装置(
2)はアップロードされた加工データ(10b)に基づ
いて、加工実績データ(lla)を作成しくステップS
5)、これを上位のコンピュータ(3)にアップロード
する。
(4) Steps 84 to S5 The cell control device (2) executes the machining program (1)
4a) is downloaded to the NC machine tool (1) and started, the NC machine tool (1) executes the machining program (14).
a) is executed (step S4). NC machine tool (1)
As the execution processing program (14a) is executed, processing data (1 (la)) is created and uploaded to the cell control device (2).The cell control device (
2) is step S to create machining performance data (lla) based on the uploaded machining data (10b).
5), Upload this to the host computer (3).

[発明が解決しようとする問題点コ ところで、上記構成の従来の数値制御工作機械の工具管
理装置は、実行プログラム(14a)を作成するときに
、工具ポットナンバ変換データ(13)に基づいて加工
プログラム(7a)に記載されている工具ポットナンバ
を加工プログラム(7a)の先頭から順次サーチして、
工具ポットナンバを変換するが、加工プログラム(7a
)のプログラムサイズが非常に大きい場合は、順次サー
チの処理に手間がかかるのに加えて、変換すべき加工プ
ログラム(7a)に記載の工具ポットナンバが、例え1
個であっても常に加工プログラム(7a)の先頭から順
次サーチしなければならず、変換処理時間が長くなると
いう問題があ7た。
[Problems to be Solved by the Invention] By the way, the tool management device of the conventional numerically controlled machine tool having the above configuration performs machining based on the tool pot number conversion data (13) when creating the execution program (14a). Search the tool pot number listed in the program (7a) sequentially from the beginning of the machining program (7a),
The tool pot number is converted, but the machining program (7a
) is very large, it will take time to sequentially search, and if the tool pot number written in the machining program (7a) to be converted is
Even if there are only 1 pieces, the processing program (7a) has to be searched sequentially from the beginning, resulting in a problem that the conversion process takes a long time.

本発明は上記問題を解決するためになされたもので、セ
ルコントロール装置(2)の工具ポットナンバの変換処
理時間を短縮できるとともに、セルコントロール装置(
2)の負荷を軽減し得る数値制御工作機械の工具管理装
置を提供することを目的とする。
The present invention has been made to solve the above problems, and can shorten the conversion processing time of the tool pot number of the cell control device (2), and also
It is an object of the present invention to provide a tool management device for a numerically controlled machine tool that can reduce the load of 2).

[問題点を解決するための手段] そこで、本発明では加工プログラムに記載されている工
具ポットナンバの記載位置を示す工具ポットナンバ位置
データと、工具ポットナンバ位置データにより、加工プ
ログラムに記載されている工具ポットナンバを検出する
工具ポットナンバ検出手段とを備えた数値制御工作機械
の工具管理装置を構成する。
[Means for solving the problem] Therefore, in the present invention, the tool pot number position data indicating the writing position of the tool pot number written in the machining program and the tool pot number position data are used to solve the problem. A tool management device for a numerically controlled machine tool is configured, comprising a tool pot number detection means for detecting a tool pot number.

[作 用] 上記構成の数値制御工作機械の工具管理装置は、工具ポ
ットナンバ変換データ作成手段が工具ファイル情報と加
工情報とを比較し、工具名称が同一で、工具ポットナン
バが異なるときは、加工プログラムに記載されている工
具名称に対応する工具ポットナンバを、加工情報の工具
ポットナンバに変換する工具ポットナンバ変換データを
作成し、工具交換・追加データ作成手段が加工情報に存
在し、工具ファイル情報に存在しない工具名称があると
きは、その工具名称を加工情報に存在せず、工具ファイ
ル情報に存在する工具名称と置換すべき旨を示す工具交
換・追加データを作成し、工具ポットナンバ検出手段が
工具ポットナンバ位置デ−夕に基づいて、加工プログラ
ムに記載されている工具ポットナンバの記載位置を検出
し、加工プログラム変換手段が工具ポットナンバ検出手
段によって検出された、加工プログラムに記載の工具ポ
ットナンバを変換する。
[Function] In the tool management device of the numerically controlled machine tool having the above configuration, the tool pot number conversion data creation means compares the tool file information and machining information, and when the tool names are the same and the tool pot numbers are different, Create tool pot number conversion data that converts the tool pot number corresponding to the tool name described in the machining program into the tool pot number of machining information, and create a tool change/additional data creation means in the machining information. If there is a tool name that does not exist in the file information, create tool exchange/additional data indicating that the tool name does not exist in the machining information and should be replaced with a tool name that exists in the tool file information, and change the tool pot number. The detection means detects the written position of the tool pot number written in the machining program based on the tool pot number position data, and the machining program conversion means detects the written position of the tool pot number written in the machining program detected by the tool pot number detection means. Convert tool pot number.

[実施例] 以下、本発明の一実施例を添付図面を参照して詳細に説
明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る数値制御工作機械の工具管理装置
のブロック図である。なお、第1図において、第6図と
同様の機能を果たす部分については同一の符号を付し、
その説明は省略する。又、第1図において、(15a)
 、(15b)は加工プログラム(7a)、(7b)の
先頭に付加されており、加工プログラム(7a)、(7
b)に記載されている工具ポットナンバの位置を示す工
具ポットナンバ位置データで、上位のコンピュータ(3
)が作成するものである。
FIG. 1 is a block diagram of a tool management device for a numerically controlled machine tool according to the present invention. In Fig. 1, parts that perform the same functions as in Fig. 6 are designated by the same reference numerals.
The explanation will be omitted. Also, in Figure 1, (15a)
, (15b) are added to the beginning of the machining programs (7a), (7b), and the machining programs (7a), (7
The tool pot number position data indicating the position of the tool pot number described in b) is stored in the upper computer (3).
) is created by

第2図は加工プログラム(7a)の先頭に付加されて工
具ポットナンバ位置データを示す図である。
FIG. 2 is a diagram showing tool pot number position data added to the beginning of the machining program (7a).

第2図において、(lea)は工具ポットナンバ位置デ
ータ(15a)の先頭にあって、加工プログラム(7a
)に記載されている工具ポットナンバのトータル記載個
数を現わす工具ポットナンバ数、(17a)は加工プロ
グラム(7a)に記載さ、れている各工具ポットナンバ
の記載位置を示す工具ポットナンバキャラクタ位置数で
ある。この工具ポットナンバキャラクタ位置数は加工プ
ログラム(7a)の最初に記載されている1%」から数
えたキャラクタ数(文字数)で現わされる。即ち、工具
ポットナンバrTOI J 5rTO2J、rTQ3J
、rTO4J、rTO5J及びrTO8Jは、それぞれ
第7キヤラクタ目、第16キヤラクタ目、第31キヤラ
クタ目、第40キヤラクタ目、第49キヤラクタ目及び
第123456キヤラクタ目に位置することが示されて
いる。
In Fig. 2, (lea) is at the beginning of the tool pot number position data (15a) and the machining program (7a
) is the tool pot number number that represents the total number of tool pot numbers written in (17a), and (17a) is a tool pot number character that indicates the writing position of each tool pot number written in the machining program (7a). It is the number of positions. The number of tool pot number character positions is expressed as the number of characters (number of characters) counted from "1%" written at the beginning of the machining program (7a). That is, tool pot number rTOI J 5rTO2J, rTQ3J
, rTO4J, rTO5J, and rTO8J are shown to be located at the 7th character, the 16th character, the 31st character, the 40th character, the 49th character, and the 123456th character, respectively.

次に、本発明に係る数値制御工作機械の工具管理装置の
動作について、第3図及び第4図のフローチャートを参
照して説明する。
Next, the operation of the tool management device for a numerically controlled machine tool according to the present invention will be explained with reference to the flowcharts of FIGS. 3 and 4.

(1)ステップSl 上位のコンピュータ(3)において、加工プログラム(
7a)及び加工プログラム(7a)に記載された工具の
工具データを含む加工情報(8a)を従来と同じように
作成する。
(1) Step Sl In the upper computer (3), the machining program (
7a) and machining information (8a) including tool data of the tool described in the machining program (7a) are created in the same manner as before.

(2)ステップS2 セルコントロール装置(2)でスケジューリングされた
加工スケジュールに伴い、ある加工プログラム(7b)
の実行指示がされる。この場合、加工プログラム(7b
)及び加工プログラム(7b)に対応する加工情報(8
b)がセルコントロール装置(2)にないときは、上位
のコンピュータ(3)に対して加工プログラム(7a)
及び加工情報(8a)のダウンロードを要求する。
(2) Step S2 A certain machining program (7b) is executed according to the machining schedule scheduled by the cell control device (2).
An execution instruction is given. In this case, the machining program (7b
) and machining information (8) corresponding to the machining program (7b)
b) is not in the cell control device (2), the processing program (7a) is sent to the host computer (3).
and requests downloading of processing information (8a).

(3) ステップS3 セルコントロール装置(2)は工具ファイル情報(6a
)と加工情報(8b)とを比較して、加工プログラム(
7b)の工具ポットナンバを修正する工具ポットナンバ
変換データ(13)及び加工情報(8b)にあり、工具
ファイル情報(6a)にない工具コードナンバを示す工
具交換・追加データ(9)を作成する。工具ポットナン
バ変換データ(I3)の作成、工具交換・追加データ(
9)の作成及び実行加工プログラム(14a)の工具ポ
ットナンバの変換について、第4図及び第5図に示した
フローチャート及び説明図を参照して説明する。
(3) Step S3 The cell control device (2) uses the tool file information (6a
) and the machining information (8b), and the machining program (
Create tool pot number conversion data (13) that corrects the tool pot number in 7b) and tool exchange/additional data (9) that indicates the tool code number that is in the machining information (8b) but not in the tool file information (6a). . Creation of tool pot number conversion data (I3), tool replacement/additional data (
The conversion of the tool pot number of the creation and execution machining program (14a) in step 9) will be explained with reference to the flowcharts and explanatory diagrams shown in FIGS. 4 and 5.

(a)ステップ831〜S32 セルコントロール装置(2)は加工情報(8b)から工
具ポットナンバとその工具ポットナンバに対応する工具
を読み出して(ステップS31 ) 、工具ファイル情
報の工具ポットナンバ及び工具名称と比較する(ステッ
プ512)(第5図(a) 、(b)参照)。
(a) Steps 831 to S32 The cell control device (2) reads the tool pot number and the tool corresponding to the tool pot number from the machining information (8b) (step S31), and reads the tool pot number and tool name from the tool file information. (step 512) (see FIGS. 5(a) and 5(b)).

(b)ステップ833〜834 セルコントロール装置(2)は加工情報(8b)の工具
ポットナンバと工具ファイル情報(8a)の工具ポット
ナンバ及び工具ポットナンバに対応する工具名称が一致
するときは、工具ポットナンバ変換データ(13)及び
工具交換・追加データ(9)を作成しない。又、工具名
称が同一で、その工具名称に対応する工具ポットナンバ
が異なるときは、加工プログラムを修正する必要がある
として、工具ポットナンバ変換データを作成する(ステ
ップS33)(第5図(c)参照)。さらに、ある興具
名称が加工情報(8b)に存在し、工具ファイル情報(
6a)に存在しないときは、その工具名称を工具ファイ
ル情報(6a)の空きポットに空きポットがなければ加
工情報(8b)にない工具名称に入れることにより、工
具マガジン(4)の工具を工具センター(5)の工具と
交換する工具交換・追加データを作成する(ステップ5
34)(第5図(d)参照)。
(b) Steps 833 to 834 When the tool pot number in the machining information (8b) matches the tool pot number in the tool file information (8a) and the tool name corresponding to the tool pot number, the cell control device (2) Pot number conversion data (13) and tool exchange/additional data (9) are not created. If the tool names are the same but the tool pot numbers corresponding to the tool names are different, it is determined that the machining program needs to be corrected, and tool pot number conversion data is created (step S33) (Fig. 5(c) )reference). Furthermore, a certain tool name exists in the machining information (8b), and the tool file information (
6a), if there is no empty pot in the tool file information (6a), enter the tool name in the tool name that does not exist in the machining information (8b), so that the tool in the tool magazine (4) is stored as a tool. Create tool exchange/additional data to be exchanged with the center (5) tool (Step 5)
34) (see Figure 5(d)).

(c)ステップ835〜s41 全加工情報(8b)について、工具ポットナンバ変換デ
ータ(13)及び工具交換・追加データ(9)の作成を
終了すると(ステップ535)、セルコントロール装置
(2)は加工プログラム(7b)の先頭に付加されてい
る工具ポットナンバ位置データ(15b)から工具ポッ
トナンバ数(18b)及び工具ポットナンバキャラクタ
位置数(17b)を読み出す(ステップS41 ’)。
(c) Steps 835 to s41 When the creation of tool pot number conversion data (13) and tool exchange/additional data (9) is completed for all machining information (8b) (step 535), the cell control device (2) The tool pot number number (18b) and the number of tool pot number character positions (17b) are read from the tool pot number position data (15b) added to the beginning of the program (7b) (step S41').

(d)ステップ842〜S44 セルコントロール装置(2)は加工プログラム(7b)
を所定ステップ数毎に読み出して(ステップS42 )
 、加工プログラム(7b)のキャラクタ数をカウント
し、カウントしたキャラクタ数が工具ポットナンバキャ
ラクタ位置数(17b)を越えると、読み出した加工プ
ログラム(7b)から工具ポットナンバを取り出しくス
テップS43 ) 、その工具ポットナンバを工具ポッ
トナンバ変換データ(13)に基づいて変換するととも
に(ステップ844 ) 、変換した工具ポットナンバ
数をカウントする。
(d) Steps 842 to S44 The cell control device (2) uses the processing program (7b)
is read out every predetermined number of steps (step S42).
, the number of characters in the machining program (7b) is counted, and when the counted number of characters exceeds the number of tool pot number character positions (17b), the tool pot number is extracted from the read machining program (7b) (step S43), The tool pot number is converted based on the tool pot number conversion data (13) (step 844), and the number of converted tool pot numbers is counted.

(e)ステップ345〜S40 変換した工具ポットナンバ数が工具ポットナンバ数(1
8b)に達した時点で変換を終了しくステップS45 
) 、セルコントロール装置(2)は工具ファイル情報
(6a)を更新する(ステップ540)。
(e) Steps 345 to S40 The number of converted tool pot numbers is the number of tool pot numbers (1
When step 8b) is reached, the conversion is terminated in step S45.
), the cell control device (2) updates the tool file information (6a) (step 540).

(4)ステップ84〜S5 セルコントロール装置(2)が実行加工プログラム(1
4a)をNC工作機械(1)にダウンロードして起動す
ると、NC工作機械(1)は実行加工プログラム(14
a)を実行する(ステップS4)。NC工作機械(1)
は実行加工プログラム(14a)の実行に伴い、加工デ
ータ(10a)を作成し、これをセルコントロール装置
f (2)にアップロードする。セルコントロール装置
(2)はアップロードされた加工データ(iob)に基
づいて、加工実績データ(lla)を作成しくステップ
S5)、これを上位のコンピュータ(3)にアップロー
ドする。
(4) Steps 84 to S5 The cell control device (2) executes the machining program (1)
4a) is downloaded to the NC machine tool (1) and started, the NC machine tool (1) executes the machining program (14).
a) is executed (step S4). NC machine tool (1)
As the execution processing program (14a) is executed, processing data (10a) is created and uploaded to the cell control device f(2). The cell control device (2) creates machining performance data (lla) based on the uploaded machining data (iob) (step S5), and uploads this to the host computer (3).

なお、本実施例では加工プログラム(7b)の先頭に工
具ポットナンバ位置データ(15b)を付加した場合に
ついて説明したが、工具ポット位置データ(15b)は
加工情報(8a)又は(8b)に付加してもよい。
In addition, in this embodiment, a case was explained in which the tool pot number position data (15b) was added to the beginning of the machining program (7b), but the tool pot position data (15b) could be added to the machining information (8a) or (8b). You may.

[発明の効果] 以上説明したように本発明によれば、工具ポットナンバ
変換データ作成手段により工具ファイル情報と加工情報
とを比較し、工具名称が同一で、工具ポットナンバが異
なるときは、加工プログラムに記載されている工具名称
に対応する工具ポットナンバを、加工情報の工具ポット
ナンバに変換する工具ポットナンバ変換デー・夕を作成
し、工具交換・追加データ作成手段により加工情報に存
在し、工具ファイル情報に存在しない工具名称があると
きは、その工具名称を加工情報に存在せず、工具ファイ
ル情報に存在する工具名称と置換すべき旨を示す工具交
換・追加データを作成し、工具ポットナンバ検出手段に
より工具ポットナンバ位置データに基づいて、加工プロ
グラムに記載されている工具ポットナンバの記載位置を
検出し、さらに加工プログラム変換手段が工具ポットナ
ンバ検出手段によって検出された、加工プログラムに記
載の工具ポットナンバを変換するようにしたので、工具
ポットナンバの変換処理時間が大幅に短縮できる数値制
御工作機械の工具管理装置が得られる。
[Effects of the Invention] As explained above, according to the present invention, tool file information and machining information are compared by the tool pot number conversion data creation means, and when the tool names are the same and the tool pot numbers are different, machining is performed. Create a tool pot number conversion data that converts the tool pot number corresponding to the tool name written in the program into the tool pot number of the machining information, and use the tool exchange/additional data creation means to create a tool pot number conversion data that exists in the machining information. If there is a tool name that does not exist in the tool file information, create tool exchange/additional data that indicates that the tool name does not exist in the machining information and should be replaced with a tool name that exists in the tool file information, and The number detection means detects the written position of the tool pot number written in the machining program based on the tool pot number position data, and the machining program conversion means detects the position of the tool pot number written in the machining program detected by the tool pot number detection means. Since the tool pot number is converted, it is possible to obtain a tool management device for a numerically controlled machine tool that can significantly shorten the processing time for converting the tool pot number.

又、変換すべき工具ポットナンバが容易に検出できるの
で、セルコントロール装置の負荷を軽減し得る効果があ
る。
Furthermore, since the tool pot number to be converted can be easily detected, the load on the cell control device can be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係る数値制御工作機械の工具管理装置
のブロック図、第2図は加工プログラムの先頭に付加さ
れている工具ポットナンバ位置データの説明図、第3図
及び第4図は本発明に係る数値制御工作機械の工具管理
装置の動作を示すフローチャート、第5図は本発明に係
る数値制御工作機械の工具管理装置が作成する工具ポッ
トナンバ変換データ、工具交換・追加データ及び実行加
工プログラムの説明図、第6図は従来の数値制御工作機
械の工具管理装置のブロック図、第7図及び第9図は従
来の数値制御工作機械の工具管理装置の動作を示すフロ
ーチャート、第8図は従来の数値制御工作機械の工具管
理装置が作成する加工プログラム及び加工情報の説明図
、第1θ図は従来の数値制御工作機械の工具管理装置が
作成する工具ポットナンバ変換データ、工具交換・追加
データ及び実行加工プログラムの説明図である。 各図中、1はNC工作機械、2はセルコントロール装置
、3は上位のコンピュータ、4は工具マガジン、5は工
具センター、6aは工具ファイル情報、7as 7b1
は加工プログラム、8a、 8bは加工情報、9は工具
交換・追加データ、10a 、 IObは加工データ、
lla 、 llbは加工実績データ、12は工具リス
ト、13は工具ポットナンバ変換データ、14a 、 
L4bは実行加工プログラム、15a 、 15bは工
具ポットナンバ位置データ、lea 、 18bは工具
ポットナンバ数、17a 、 17bは工具ポットナン
バキャラクタ位置数である。 なお、各図中、同一符号は同−又は相当部分を示すもの
である。 代理人 弁理士 大 岩 増 雄 第2図 第8図 カロエアロク゛ラム 力ロエ11貴報 \、/ l) ■ \−ノ
Figure 1 is a block diagram of a tool management device for a numerically controlled machine tool according to the present invention, Figure 2 is an explanatory diagram of tool pot number position data added to the beginning of a machining program, and Figures 3 and 4 are A flowchart showing the operation of the tool management device for a numerically controlled machine tool according to the present invention, FIG. An explanatory diagram of a machining program, FIG. 6 is a block diagram of a tool management device of a conventional numerically controlled machine tool, FIGS. 7 and 9 are flow charts showing the operation of the tool management device of a conventional numerically controlled machine tool, and FIG. The figure is an explanatory diagram of the machining program and machining information created by the tool management device of a conventional numerically controlled machine tool, and the 1θ diagram shows tool pot number conversion data, tool exchange, and tool change data created by the tool management device of a conventional numerically controlled machine tool. It is an explanatory diagram of additional data and an execution processing program. In each figure, 1 is the NC machine tool, 2 is the cell control device, 3 is the host computer, 4 is the tool magazine, 5 is the tool center, 6a is the tool file information, 7as 7b1
is the machining program, 8a and 8b are machining information, 9 is tool exchange/additional data, 10a and IOb are machining data,
lla, llb are machining performance data, 12 is a tool list, 13 is tool pot number conversion data, 14a,
L4b is an execution machining program, 15a and 15b are tool pot number position data, lea and 18b are tool pot number numbers, and 17a and 17b are tool pot number character position numbers. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Patent Attorney Masuo Oiwa Fig. 2 Fig. 8 Calo Aero Column Power Loe 11 Kiho\, / l) ■ \-ノ

Claims (4)

【特許請求の範囲】[Claims] (1)各々特定の工具名称が付された複数の工具を収納
している工具センターと、前記工具センターの工具ポッ
トの工具ポットナンバと該工具ポットナンバに対応する
工具ポットに収納されている工具を特定する工具名称と
を対応させた工具情報を有しており、該工具情報の工具
ポットナンバが記載されている加工プログラム及び該加
工プログラムに記載される工具ポットナンバと該工具ポ
ットナンバに対応する工具名称とを対応させた加工情報
を作成する上位のコンピュータと、各々特定の工具ポッ
トナンバが付されている工具ポットに、各々所定の工具
が収納されている複数の工具ポットから構成されている
工具マガジンを有する数値制御工作機械と、前記工具マ
ガジンの工具ポットナンバと該工具マガジンの工具ポッ
トに収納されている工具の工具名称とを対応させた工具
ファイル情報を有しており、前記工具ファイル情報と前
記加工情報とを比較し、前記工具名称が同一で、前記工
具ポットナンバが異なるときは、前記加工プログラムに
記載されている該工具名称に対応する工具ポットナンバ
を、該加工情報の工具ポットナンバに変換する工具ポッ
トナンバ変換データを作成する工具ポットナンバ変換デ
ータ作成手段、前記加工情報に存在し、前記工具ファイ
ル情報に存在しない工具名称があるときは、該工具名称
を該加工情報に存在せず、該工具ファイル情報に存在す
る工具名称と置換すべき旨を示す工具交換・追加データ
を作成する工具交換・追加データ作成手段、及び前記工
具ポットナンバ変換データに基づいて、前記加工プログ
ラムに記載の工具ポットナンバを変換する加工プログラ
ム変換手段から構成されたセルコントロール装置とを備
えた数値制御工作機械の工具管理装置において、前記加
工プログラムに記載されている前記工具ポットナンバの
記載位置を示す工具ポットナンバ位置データと、前記工
具ポットナンバ位置データにより、該加工プログラムに
記載されている工具ポットナンバを検出する工具ポット
ナンバ検出手段とを備えたことを特徴とする数値制御工
作機械の工具管理装置。
(1) A tool center that stores a plurality of tools each having a specific tool name, a tool pot number of a tool pot in the tool center, and tools stored in the tool pot corresponding to the tool pot number. A machining program in which a tool pot number of the tool information is written, and a tool pot number written in the machining program corresponds to the tool pot number. The system consists of a host computer that creates machining information that corresponds to the tool name to be used, and a plurality of tool pots each storing a predetermined tool, each with a specific tool pot number. a numerically controlled machine tool having a tool magazine, and tool file information that associates the tool pot number of the tool magazine with the tool name of the tool stored in the tool pot of the tool magazine; The file information and the machining information are compared, and if the tool name is the same but the tool pot number is different, the tool pot number corresponding to the tool name written in the machining program is replaced with the tool pot number of the machining information. A tool pot number conversion data creation means for creating tool pot number conversion data to be converted into a tool pot number; when there is a tool name that exists in the machining information but does not exist in the tool file information, the tool name is converted into the machining information; tool exchange/additional data creation means for creating tool exchange/additional data indicating that the tool name does not exist in the tool file information and should be replaced with a tool name that exists in the tool file information; In a tool management device for a numerically controlled machine tool, the tool management device includes a cell control device configured with a machining program converting means for converting a tool pot number described in a program, and a position where the tool pot number described in the machining program is written. and tool pot number detection means for detecting a tool pot number written in the machining program using the tool pot number position data. Tool management device.
(2)工具ポットナンバ位置データは、前記加工プログ
ラムの先頭に付加されている特許請求の範囲第1項記載
の数値制御工作機械の工具管理装置。
(2) The tool management device for a numerically controlled machine tool according to claim 1, wherein the tool pot number position data is added at the beginning of the machining program.
(3)工具ポットナンバ位置データは、前記加工プログ
ラムの先頭からのキャラクタ数を示す工具ポットナンバ
キャラクタ位置数によって現わされる特許請求の範囲第
1項記載の数値制御工作機械の工具管理装置。
(3) The tool management device for a numerically controlled machine tool according to claim 1, wherein the tool pot number position data is represented by the number of tool pot number character positions indicating the number of characters from the beginning of the machining program.
(4)工具ポットナンバ位置データは、前記加工プログ
ラムに記載されている工具ポットナンバのトータル記載
個数を現わす工具ポットナンバ数を含む特許請求の範囲
第1項記載の数値制御工作機械の工具管理装置。
(4) Tool management of the numerically controlled machine tool according to claim 1, wherein the tool pot number position data includes a tool pot number number representing the total number of tool pot numbers written in the machining program. Device.
JP62252004A 1987-10-06 1987-10-06 Tool position information correction method for machining program Expired - Lifetime JPH0641084B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62252004A JPH0641084B2 (en) 1987-10-06 1987-10-06 Tool position information correction method for machining program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62252004A JPH0641084B2 (en) 1987-10-06 1987-10-06 Tool position information correction method for machining program

Publications (2)

Publication Number Publication Date
JPH0197545A true JPH0197545A (en) 1989-04-17
JPH0641084B2 JPH0641084B2 (en) 1994-06-01

Family

ID=17231226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62252004A Expired - Lifetime JPH0641084B2 (en) 1987-10-06 1987-10-06 Tool position information correction method for machining program

Country Status (1)

Country Link
JP (1) JPH0641084B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020090405A (en) * 2001-05-25 2002-12-05 현대자동차주식회사 Method change of random tool for numerical control system
JP2016144839A (en) * 2015-02-06 2016-08-12 株式会社ディスコ Cutting device
WO2018096675A1 (en) * 2016-11-28 2018-05-31 三菱電機株式会社 Processing program conversion device and numeric value control device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101603018B1 (en) * 2014-10-28 2016-03-11 현대위아 주식회사 machine tool with synchronization function of tool information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020090405A (en) * 2001-05-25 2002-12-05 현대자동차주식회사 Method change of random tool for numerical control system
JP2016144839A (en) * 2015-02-06 2016-08-12 株式会社ディスコ Cutting device
WO2018096675A1 (en) * 2016-11-28 2018-05-31 三菱電機株式会社 Processing program conversion device and numeric value control device

Also Published As

Publication number Publication date
JPH0641084B2 (en) 1994-06-01

Similar Documents

Publication Publication Date Title
JP2701642B2 (en) Numerical controller and cell controller
CN101939728A (en) Job network automatic generation device, method, and program recording medium
JPH0197545A (en) Tool managing device for numerical control machine tool
US20200033836A1 (en) Tool management system, tool management device, and tool management method
CN111198546A (en) Data acquisition control method and system
CN103907067A (en) Numerical control device
KR930003412B1 (en) Character reading system and method
JP2672595B2 (en) Tool replacement method
JP3046887B2 (en) Output file generation method in OCR data entry system
JPS61114345A (en) Diagnosis system of information processor
JPH0643920A (en) Tool control system
JPH04114207A (en) Work data preparing system for nc work machine
JPS63250713A (en) Tool managing device for numerical control working machine
JP2624146B2 (en) Related record batch reading method
JPS61143807A (en) Programming device with editing function
JP2000231478A (en) Device and method for automatic generation of software and recording medium
JP2561130Y2 (en) Distributed control system
JPS5829053A (en) Program correction controlling method with interruption
JPH01310835A (en) Tool storing method for tool magazine and file device thereof
JP2611490B2 (en) System operating environment setting device
JP2009245194A (en) Programmable controller, programmable controller support apparatus, and programmable controller system
JP2573926B2 (en) Verification method of file update
JPH10171509A (en) Process controller
JPH0482640A (en) Numerical control device
JPS63317807A (en) Program dividing device