JPH0635092B2 - Numerical control device with tool file - Google Patents

Numerical control device with tool file

Info

Publication number
JPH0635092B2
JPH0635092B2 JP60084249A JP8424985A JPH0635092B2 JP H0635092 B2 JPH0635092 B2 JP H0635092B2 JP 60084249 A JP60084249 A JP 60084249A JP 8424985 A JP8424985 A JP 8424985A JP H0635092 B2 JPH0635092 B2 JP H0635092B2
Authority
JP
Japan
Prior art keywords
tool
memory
data
file
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60084249A
Other languages
Japanese (ja)
Other versions
JPS61244448A (en
Inventor
秀文 白鳥
清州 川嶋
一彦 大岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Seiki Co Ltd
Original Assignee
Hitachi Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Seiki Co Ltd filed Critical Hitachi Seiki Co Ltd
Priority to JP60084249A priority Critical patent/JPH0635092B2/en
Publication of JPS61244448A publication Critical patent/JPS61244448A/en
Publication of JPH0635092B2 publication Critical patent/JPH0635092B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 <産業上の利用分野> NC工作機械の加工情報に基づいて加工する場合の作業
者によるキーボード直接入力や自動プログラミングなど
によって作成される工具ファイルに関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial field of application> The present invention relates to a tool file created by direct keyboard input by a worker or automatic programming when machining is performed based on machining information of an NC machine tool.

<従来の技術> 従来、NC工作機械の加工情報に基づいて加工する場
合、NCテープ入力や自動プログラミングなどによって
作成されたNC加工データに対し、機内に設けたプリセ
ットセンサなどによって求められ、あらかじめ格納され
設定された工具補正データをその都度演算処理し、その
時点の工具刃先とワークの位置を正確に補正処理して加
工していた。
<Prior Art> Conventionally, when machining is performed based on machining information of an NC machine tool, NC machining data created by NC tape input, automatic programming, etc., is calculated by a preset sensor installed in the machine and stored in advance. The tool compensation data set and set is calculated each time, and the positions of the tool edge and the work at that time are accurately compensated for machining.

而してNC装置側のNC加工データと機械側の実際の現
在値とは異なった状態のまゝ行なわれていた。
Thus, the NC processing data on the NC device side and the actual current value on the machine side are different from each other.

<発明が解決しようとする問題点> 前述したNC加工データが断続的に、次の段取り後の加
工に使用されるような場合、以前に設定された工具補正
データが工具と対応して工具ファイルなどに残っていな
いので、再度工具補正データを入力設定し直さなければ
ならず、その場限りでしかなかった。
<Problems to be Solved by the Invention> When the NC machining data described above is used intermittently for machining after the next setup, the previously set tool compensation data corresponds to the tool and the tool file. Since it did not remain in, etc., the tool compensation data had to be input and set again, which was only on an ad hoc basis.

また、工具補正データが工具取付寸法をも加味して設定
するようになっていた為、NC装置側のNCデータと機
械側の実際の現在値が大巾に異なるケースが多く、例え
ば刃物台のタレットインデックスを行なうような場合に
は干渉が発生しやすく大きな事故にもなりかねなかっ
た。
Further, since the tool correction data is set in consideration of the tool mounting dimension as well, there are many cases where the NC data on the NC device side and the actual current value on the machine side are greatly different. When performing turret indexing, interference was likely to occur and could cause a serious accident.

本発明の目的は上記事情に鑑み問題を解決するために提
案されたものであって、NC制御装置内に工具ファイル
・メモリを設けて最新の工具補正データを工具に対応し
て残すようにして段取りの省力化並びに干渉問題を解消
した工具ファイルを提供するにある。
The object of the present invention was proposed in order to solve the problem in view of the above circumstances, and a tool file memory is provided in the NC control device so that the latest tool correction data is left corresponding to the tool. It is to provide a tool file that saves setup labor and solves interference problems.

<問題を解決するための手段と作用> この発明は、各工具で被加工物を加工した後、その加工
物の寸法を実測した実測値と前記加工物の目標寸法との
差から得られた補正値を含む加工に必要な情報のデータ
を入力する入力装置と、工具を移動させた時の機械原点
に対する現在位置を計測する計測装置と、所定の加工を
施すためのNC加工プログラムのデータを記憶している
NC加工プログラムデータ・メモリと、工作機械の前記
工具の移動範囲に設けられたプリセットセンサの当接信
号出力位置である工具基準点位置と前記機械原点との距
離が設定されている工具基準点設定データ・メモリと、
工具基準点設定データ・メモリに記憶されている工具基
準点設定データと、前記プリセットセンサに前記工具を
当接させて当接信号が出力されたときの前記計測装置で
計測された現在位置データとを演算して各工具の取付け
寸法を求める第1の演算手段と、この工具に関する工具
ファイル番号を含む主要データが登録され、かつ、前記
第1の演算手段で求められた各工具の取付け寸法が記憶
される工具ファイル・メモリと、刃物台のタレット面に
取付けられた工具に対応して前記工具ファイル・メモリ
から編集処理され、かつ、前記入力手段より入力された
補正値が記憶される工具レイアウト・メモリと、前記工
具ファイル・メモリに記憶された各工具の取付け寸法
と、前記工具レイアウト・メモリに記憶された各工具の
補正値とを加算する演算処理し、最新各工具の取付け寸
法を求める第2の演算手段と、前記工具ファイル・メモ
リへの前記主要データの書き込み処理、前記工具ファイ
ルデータから工具レイアウトデータへの編集処理および
前記工具ファイルデータから工具レイアウトデータへの
編集処理および前記工具ファイル・メモリの取付け寸法
を前記第2の演算手段で求めた最新各工具の取付け寸法
に書き替えるとともに前記工具レイアウト・メモリの補
正値を0にリセットする処理を行うためのプログラムが
記憶されている工具データ処理プログラムメモリとから
なり、前記工具ファイルメモリの取付け寸法を常時最新
取付け寸法に書き替えて記憶しておくことを特徴とす
る。従って、第2の演算手段で求めた新しい各工具の取
付寸法を前記工具ファイル・メモリに書き替えると共
に、前記工具ファイル・メモリから工具レイアウト・メ
モリへリセット信号が出されて工具レイアウト・メモリ
中の補正値をリセットすることにより、常時工具ファイ
ル・メモリ中には一番新しい各工具の取付寸法の履歴が
残り、次の段取り時にすぐにその取付寸法が使用され
る。
<Means and Actions for Solving Problems> The present invention is obtained from the difference between the actual measurement value obtained by actually measuring the dimension of the workpiece after machining the workpiece with each tool and the target dimension of the workpiece. An input device that inputs the data of information necessary for machining including the correction value, a measuring device that measures the current position with respect to the machine origin when the tool is moved, and the data of the NC machining program for performing the predetermined machining. The stored NC machining program data memory and the distance between the machine origin and the tool reference point position which is the contact signal output position of the preset sensor provided in the movement range of the tool of the machine tool are set. Tool reference point setting data memory,
Tool reference point setting data stored in the tool reference point setting data memory, and current position data measured by the measuring device when the tool is brought into contact with the preset sensor and a contact signal is output. Is calculated to obtain the mounting dimension of each tool, and the main data including the tool file number of this tool is registered, and the mounting dimension of each tool obtained by the first computing means is calculated. A tool file memory that is stored and a tool layout that is edited from the tool file memory corresponding to the tool attached to the turret surface of the tool post, and the correction value that is input from the input means is stored. Addition of the memory, the attachment dimension of each tool stored in the tool file memory, and the correction value of each tool stored in the tool layout memory Second calculation means for calculating the latest mounting dimensions of each tool, writing processing of the main data to the tool file memory, editing processing from the tool file data to tool layout data, and the tool file data To the tool layout data and the installation size of the tool file memory is rewritten to the latest installation size of each tool obtained by the second computing means, and the correction value of the tool layout memory is reset to 0. It is characterized by comprising a tool data processing program memory in which a program for performing processing is stored, and the installation dimension of the tool file memory is constantly rewritten to the latest installation dimension and stored. Therefore, the mounting dimensions of each new tool obtained by the second computing means are rewritten in the tool file memory, and a reset signal is issued from the tool file memory to the tool layout memory to save the data in the tool layout memory. By resetting the correction value, the history of the mounting dimension of each newest tool always remains in the tool file memory, and the mounting dimension is immediately used at the next setup.

以下本発明の一実施態様を図面に基づいて詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

(1) まず本発明の基本的な原理について説明する。(1) First, the basic principle of the present invention will be described.

工具ファイルは第2図(イ)に示す如く工具ファイルN
o.ごとに工具に関する主要データが登録される。すなわ
ち、第2図(イ)において例えば工具ファイルNo.,工
程,工具形状,……,工具取付寸法等といった欄毎にL
01,外荒,外径用工具の形状,寸法値等に関するデー
タを入力し、機械に使用される全ての工具に関する主要
データが登録され、必要な時に工具ファイルから取り出
して使用される。一方、加工するワークに必要な工具の
レイアウトを、刃物台のタレット面No.に対応して、第
2図(イ)に示した工具ファイルから工具データを取り
出し第2図(ロ)に示したように、工具レイアウトデー
タとして編集処理される。すなわち第2図(ロ)におい
て、タレット面No.,タレット面No.に取付けられる工具
の工具ファイルNo.,工程,……,工具補正値等の欄
に、加工するのに必要なデータを第2図(イ)に示した
工具ファイルから取出し編集処理し、作業者へ通知,表
示される。
The tool file is the tool file N as shown in Fig. 2 (a).
Main data about the tool is registered for each o. That is, in FIG. 2 (A), for example, L is set for each column such as tool file No., process, tool shape ,.
01, outer roughness, outer diameter, the shape of the tool for the outer diameter, the dimension value, etc. are input, the main data about all the tools used in the machine are registered, and when necessary, they are retrieved from the tool file and used. On the other hand, the layout of the tools required for the workpiece to be machined is shown in Fig. 2 (b) by taking out the tool data from the tool file shown in Fig. 2 (a) corresponding to the turret surface No. of the tool post. As described above, the tool layout data is edited. That is, in FIG. 2 (b), the data required for machining is shown in the columns such as turret surface No., tool file No. of the tool attached to the turret surface No., process ... It is extracted from the tool file shown in FIG. 2 (a), edited and processed, and is notified and displayed to the operator.

さらに、ワークの所要寸法を精度よく加工するために
は、基準座標に対するワークと各工具の刃先との正確な
距離を管理する必要がある。
Further, in order to machine the required dimension of the work with high accuracy, it is necessary to manage the accurate distance between the work and the cutting edge of each tool with respect to the reference coordinates.

第2図(ハ),(ニ)はワークとプリセットセンサおよ
び工具との位置関係を示したモデル図である。第2図
(ハ),(ニ)において主軸Sの前面に取付けられた
チャックCに加工すべきワークWが把持される。一方刃
物台Tの前面に取付けられたタレットヘッドTに工
具Tが挿着される。タレットヘッドTの前面を工具基
準点とし、工具基準点から刃先位置までの距離
をX,Zとし、このX,Zが工具取付寸法のデ
ータである。更に機械原点からプリセットセンサP
までの設定距離をZ,X(以下工具基準点設定デ
ータという。)工具TをプリセットセンサPに当てた
時の機械原点から工具基準点までの距離(以下
現在の位置データという。)をZ,Xとすれば、 Z=Z−Z,X=X−Xとなる。
FIGS. 2C and 2D are model diagrams showing the positional relationship between the workpiece, the preset sensor, and the tool. In FIGS. 2C and 2D, the workpiece W to be machined is gripped by the chuck C attached to the front surface of the spindle S p . On the other hand tool T is inserted into the turret head T h which is attached to the front of the tool rest T r. The front of the turret head T h and the tool reference point t, the distance from the tool reference point t to the cutting edge position and X t, Z t, the X t, Z t is the data of the tool mounting dimensions. Further, from the machine origin M to the preset sensor P
The set distance to s is Z Q , X Q (hereinafter referred to as tool reference point setting data) The distance from the machine origin M to the tool reference point t when the tool T is applied to the preset sensor P s (hereinafter the current position data). Is defined as Z n , X n , then Z t = Z Q −Z n , X t = X Q −X n .

上記の式で算出されたZ,Xの工具取付寸法を工具
ファイルに登録する。また、プリセットセンサPで求
めた工具取付寸法は工具刃先先端の位置であり、加工寸
法とはワークの表面あらさの2倍および工具の切削力に
よるたわみ量などワークの加工寸法とは差を生じるもの
である。更に、工具は多数のワークを加工すると工具摩
耗を生じ加工寸法に影響を与える。そのために、加工し
たワークの加工寸法の実測値とワークの目標寸法とから
求めた差分を工具補正値とし、この工具補正値ZOF,Z
OFが工具レイアウト・メモリに入力されたら、直ちに工
具ファイルの工具取付寸法をZ←Z+ZOF,X
+XOFの如く補正演算し書き替えを行なう。而して
各工具について上記補正演算処理をして常に使用した後
の最新の工具取付寸法が工具ファイル・メモリに、かつ
工具補正値が工具レイアウト・メモリから0にリセット
されるようにして、次段取りへの対応が出来るようにし
たものである。
Register Z t is calculated by the formula above, the tool mounting dimension of X t into the tool file. Moreover, the tool mounting dimensions determined by the preset sensor P S is the position of the tool edge tip, resulting in differences between processing dimension of the workpiece, such as the amount of deflection due to the cutting force twice and tool surface roughness of the workpiece and the machining dimensions It is a thing. Further, the tool causes wear of the tool when machining a large number of workpieces, which affects the machining size. Therefore, the difference obtained from the actual measurement value of the machining dimension of the machined workpiece and the target dimension of the workpiece is used as the tool compensation value, and the tool compensation values Z OF , Z
When OF is input to the tool layout memory, immediately the tool mounting dimensions of the tool file Z t ← Z t + Z OF , X t ←
Correction calculation is performed as in X t + X OF and rewriting is performed. Then, the above-mentioned correction calculation processing is performed for each tool and the latest tool mounting dimension after always using is reset in the tool file memory, and the tool correction value is reset from the tool layout memory to 0. It is designed to support setup.

(2) 次に本発明の具体的の構成を上記基本的な原理に
基づき、第1図の構成制御ブロック図により説明する。
(2) Next, a specific configuration of the present invention will be described based on the basic principle described above with reference to the configuration control block diagram of FIG.

第1図において、紙テープ2aから紙テープリーダ2b
により入出力装置2cを介して例えばNC加工プログラ
ムのデータをCPU1に入力し、NC加工プログラムデ
ータ・メモリ5に記憶される。
In FIG. 1, paper tape 2a to paper tape reader 2b
Thus, for example, the data of the NC machining program is input to the CPU 1 via the input / output device 2c and stored in the NC machining program data memory 5.

また、画面付キーボード2dから加工に必要な情報に関
するデータが入出力装置2cを介して入力される。刃物
台Tの前面に取付けられたタレットヘッドTには工
具Tが例えば10本挿着され、必要時に割出し信号の送
受信を行い、インターフェイス3aを介して割出されて
使用される。10本の工具Tにはタレット面No.として
図示の如くT01,T02,…,T09,T10がデータとして
登録される。さらに刃物台Tは補間器、位置制御回路
3b,アンプ3cを介してX,Z軸のモータ3dにより
X,Z軸方向に移動制御され現在値を位置レジスタ11
へ送出する。
Further, data relating to information required for processing is input from the keyboard with screen 2d via the input / output device 2c. The turret head T h which is attached to the front of the tool rest T r is the tool T, for example, ten inserted, to transmit and receive indexing signal when necessary, be used by being indexed through the interface 3a. As shown in the figure, T 01 , T 02 , ..., T 09 , T 10 are registered as data in the ten tools T as turret surface numbers. Further, the tool rest Tr is controlled to move in the X and Z axis directions by an X and Z axis motor 3d through an interpolator, a position control circuit 3b and an amplifier 3c, and the current value is stored in the position register 11.
Send to.

4方向の計測信号すなわちX軸のプラス用,マイナス用
およびZ軸のプラス用,マイナス用の計測信号を発する
プリセットセンサPは工具Tあるいはタレットヘッド
の工具基準に当てることにより、インターフェ
イス4を介して現在値の位置データや工具基準点設定デ
ータが求められる。
A preset sensor P s that outputs measurement signals in four directions, that is, X axis plus, minus, and Z axis plus, minus measurement signals is applied to the tool reference t of the tool T or the turret head T h to interface. The position data of the current value and the tool reference point setting data are obtained via 4.

なお、プリセットセンサPについては同一出願人の実
願昭58−171627号(実開昭60−78249
号)に詳述しているので詳細は省略する。
As for the preset sensor P s , the same applicant's Japanese Patent Application No. 58-171627 (Japanese Utility Model Application No. 60-78249).
No.), so the details are omitted.

画面付キーボード2aから入出力装置2cを介して予め
登録すべき工具の主要な工具データを入力し、工具デー
タ処理プログラム6によって処理し工具ファイル・メモ
リ8に記憶される。工具基準点(第2図(ハ),
(ニ))の座標値を機械原点からの距離として夫々
設定値Z,Xとし、その値Z,Xをプリセット
センサPで計測し、工具基準点設定データ・メモリ7
に予め記憶される。
Main tool data of a tool to be registered in advance is input from the keyboard with screen 2a via the input / output device 2c, processed by the tool data processing program 6 and stored in the tool file memory 8. Tool reference point t (Fig. 2 (C),
The coordinate values of (d) are set as the set values Z Q and X Q as the distance from the machine origin M , and the values Z Q and X Q are measured by the preset sensor P s , and the tool reference point setting data memory 7
Stored in advance.

さらに、工具Tに必要なデータを第2図(イ)に示した
表の様に工具データ処理プログラムメモリ6に記憶され
ている工具データ処理プログラムで処理し種類別に工具
ファイルNo.が付与されて工具ファイル・メモリ8に記
憶させる。
Further, the data necessary for the tool T is processed by the tool data processing program stored in the tool data processing program memory 6 as shown in the table of FIG. It is stored in the tool file memory 8.

第2図(イ)に示した工具ファイルを基にして、加工に
必要な工具例えばタレットヘッドTに挿着される10
本の工具を工具データ処理プログラム6によって選び出
し、その工具をタレットヘッド面No.毎に編集処理して
工具レイアウト・メモリ9に記憶される。
Based on the tool file shown in FIG. 2 (b), 10 to be inserted into the tool for example a turret head T h required for processing
A tool of a book is selected by the tool data processing program 6, and the tool is edited for each turret head surface number and stored in the tool layout memory 9.

今工具Tの刃先点の現在値として取付寸法を求める場
合、プリセットセンサPを作動せしめて、プリセット
センサPを工具Tの刃先点に当てることにより、プリ
セットセンサPの信号がアンド・ゲート10を開か
せ、レジスタ11に記憶されていた位置データX,Z
が、アンド・ゲート10を通過し演算回路12に取込
まれる。工具基準点設定データ・メモリ7に記憶されて
いる工具基準点設定データX,Zが演算回路12に
取込まれ、演算回路12でX=X−X,Z=Z
−Zの演算処理がなされる。夫々の値X,Z
オア・ゲート13を介して工具ファイル・メモリ8の入
力ゲート8aに取り込まれる。さらに工具ファイル・メ
モリ8の入力ゲート8aに工具レイアウト・メモリ9か
らタレット面No.に対応した工具ファイルNo.Lのデータ
を取込むことによって、工具ファイル・メモリ8の工具
ファイルNo.毎の工具取付寸法のX,Zの欄に工具
取付寸法X,Zが入力され記憶される。
When the mounting dimension is obtained as the current value of the cutting edge point of the tool T, the preset sensor P s is operated and the preset sensor P s is applied to the cutting edge point of the tool T, so that the signal of the preset sensor P s is AND gate. 10 is opened and the position data X n , Z stored in the register 11 is opened.
n passes through the AND gate 10 and is taken into the arithmetic circuit 12. Tool reference point are stored in the tool reference point setting data memory 7 setting data X Q, Z Q is taken to the arithmetic circuit 12, X t = X Q -X n in the arithmetic circuit 12, Z t = Z
Calculation of Q -Z n is performed. The respective values X t and Z t are taken into the input gate 8a of the tool file memory 8 via the OR gate 13. Further, by loading the data of the tool file No. L corresponding to the turret surface No. from the tool layout memory 9 into the input gate 8a of the tool file memory 8, the tool for each tool file No. of the tool file memory 8 is acquired. X t of mounting dimensions, Z t column tool mounting dimension X t of, Z t is input to and stored.

工具ファイル・メモリ8に記憶されている例えば工具フ
ァイルNo.L01の工具Tを使用し所定の加工を施した
後、実測して得られた実測値と加工寸法目標値との差分
である工具補正値XOF,ZOFを画面付キーボード2dで
入出力装置2cを介して入力し、工具レイアウト・メモ
リ9の入力ゲート9aに取込ませる。さらにタレットヘ
ッドTにより割出された工具Tに対応した工具ファイ
ルNo.Lとタレット面No.Tを入力ゲート9aに取込ませ
ることによって工具レイアウト・メモリ9のタレット面
No.,工具ファイルNo.に対応した工具補正値の欄(第2
図(ロ))に各工具の補正値XOF,ZOFを記憶させる。
工具レイアウト・メモリ9に記憶された各補正値XOF
OFは直ちに工具レイアウト・メモリ9の出力ゲート9
bを通過してアンド・ゲート14に取込む。アンド・ゲ
ート14に工具補正値入力信号が取込まれると、アンド
・ゲート14が開いて各工具の補正値XOF,ZOFを通過
させ、演算回路15に取り込む。演算回路15には、工
具ファイル・メモリ8に記憶されている工具ファイルN
o.に対応した工具の取付寸法X,Zが出力ゲート8
bを通過して取込まれる。演算回路15ではX←X
+XOF,Z←Z+ZOFの演算処理がなされて、新た
な各工具の取付寸法であるX,Zがオア・ゲート1
3を介して、工具ファイル・メモリ8の入力ゲート8a
に取込む。さらに各工具の工具ファイルNo.Lが入力ゲ
ート8aに取込むことによって新たな工具取付寸法が工
具ファイル・メモリ8の工具取付寸法の欄に入力されて
古いデータから新しいデータに書き替えられて記憶され
る。新しいデータに書き替えられると出力ゲート8bか
らリセット信号が出て、工具レイアウト・メモリ9の入
力ゲート9aを介して工具レイアウト・メモリ9に入力
される。工具レイアウト・メモリ9中のタレット面N
o.、工具ファイルNo.に対応した工具補正値がリセット
されて0となる。
Tool correction, which is the difference between the actual measurement value obtained by actual measurement after performing predetermined machining using the tool T of the tool file No. L01 stored in the tool file memory 8 and the machining dimension target value The values X OF and Z OF are input by the keyboard with screen 2d via the input / output device 2c and are taken into the input gate 9a of the tool layout memory 9. Turret surface of the tool layout memory 9 by causing incorporated into the input gate 9a tool file No.L turret face No.T corresponding to tool T indexed by further turret head T h
No., Tool correction value column corresponding to the tool file No. (2nd
The correction values X OF and Z OF of each tool are stored in FIG.
Each correction value X OF stored in the tool layout memory 9
Z OF is immediately output gate 9 of tool layout memory 9
It passes through b and is taken into the AND gate 14. When the tool correction value input signal is input to the AND gate 14, the AND gate 14 is opened to allow the correction values X OF and Z OF of each tool to pass therethrough and are input to the arithmetic circuit 15. The arithmetic circuit 15 has a tool file N stored in the tool file memory 8.
o. mounting dimensions of the tool corresponding to the X t, Z t is the output gate 8
It is taken in through b. In the arithmetic circuit 15, X t ← X t
+ X OF , Z t ← Z t + Z OF is calculated, and X t and Z t , which are the mounting dimensions of each new tool, are OR gate 1.
3 through 3, the input gate 8a of the tool file memory 8
Take in. Further, by loading the tool file No. L of each tool into the input gate 8a, a new tool mounting dimension is input in the tool mounting dimension field of the tool file memory 8 and the old data is overwritten with new data and stored. To be done. When the data is rewritten with new data, a reset signal is output from the output gate 8b and is input to the tool layout memory 9 via the input gate 9a of the tool layout memory 9. Turret surface N in the tool layout memory 9
o., the tool compensation value corresponding to the tool file number is reset to 0.

このように各工具Tを所定の加工に使用した後は、常に
工具補正値を求めて、今まで設定されていた各工具Tの
取付寸法に工具補正値の演算処理を施して新しく設定さ
れた各工具Tの取付寸法を工具ファイル・メモリ8に書
き替えて常時正確な各工具Tの最新の取付寸法を記憶し
残しておくようにしたのである。また工具レイアウト・
メモリ9の工具補正値欄は取付寸法の書き替えが済むと
0にリセットされるようにした。
In this way, after each tool T has been used for predetermined machining, the tool correction value is always obtained, and the attachment dimension of each tool T that has been set up to this point is newly set by performing the calculation processing of the tool correction value. The mounting dimensions of each tool T are rewritten in the tool file memory 8 so that the latest accurate mounting dimensions of each tool T are always stored. Also the tool layout
The tool correction value column of the memory 9 is reset to 0 after the installation dimensions are rewritten.

(3) 次に本発明の動作を第3図のフローチャート図に
基づいて説明する。
(3) Next, the operation of the present invention will be described with reference to the flowchart of FIG.

本発明の動作をスタートさせると、第段でプリセット
センサPで工具基準点設定データX,Zを計測し
入力して工具基準点設定データ・メモリ7に記憶させ
る。第段でタレット刃物台TのタレットヘッドT
に挿着された工具T例えば第1図においては10本の工
具TをプリセットセンサンPに当てる。プリセットセ
ンサPに当接した時点の各工具Tの現在位置データX
,Zはレジスタ11に記憶されている。第段で各
工具TがプリセットセンサPに当たると刃物台T
移動が自動的に停止する(第段)。
When the operation of the present invention is started, the tool reference point setting data X Q and Z Q are measured and input by the preset sensor P s in the second stage and stored in the tool reference point setting data memory 7. Turret head T h of turret tool post T r at the 3rd stage
The tools T inserted into the tool, for example, ten tools T in FIG. 1, are applied to the preset sensorn P s . Current position data X of each tool T at the time of contact with the preset sensor P s
n 1 and Z n are stored in the register 11. When each tool T hits the preset sensor P s in the second stage, the movement of the tool rest Tr is automatically stopped (first stage).

第段でプリセットセンサPの信号により取込まれた
位置データX,Zと、工具基準点設定データX
によって演算回路12でX=X−X,Z
−Zの演算処理がなされる。第段で演算処理が
なされると、第段で、各工具取付寸法X,Zが工
具ファイル・メモリ8に入力され、各取付寸法の欄に記
載される。
The position data X n , Z n captured by the signal of the preset sensor P s at the second stage and the tool reference point setting data X Q ,
X t = X by the arithmetic circuit 12 by Z Q Q -X n, Z t =
Calculation of Z Q -Z n is performed. When the arithmetic processing is performed in the second stage, the tool mounting dimensions X t and Z t are input to the tool file memory 8 and are described in the columns of the respective mounting dimensions in the second stage.

第段でワークの加工寸法の実測値より工具補正が必要
なとき工具レイアウト・メモリ9に各工具の補正値
OF,ZOFを入力ゲート9aを介して入力した時各工具
補正値の欄に記憶させる。
When tool compensation is required from the actual measurement value of the machining dimension of the work in the second stage When the compensation values X OF and Z OF of each tool are input to the tool layout memory 9 via the input gate 9a Remember.

第段で工具ファイル・メモリ8から出力ゲート8bを
介して各工具の取付寸法X,Zを、また工具レイア
ウト・メモリ9から出力ゲート9bを介して各工具の補
正値XOF,ZOFを夫々演算回路15に取り込ませ、演算
回路15でX←X+XOF,X←Z+XOFの演算
処理を施す。第段で演算処理されて新しく補正された
各取付寸法X,Zを第段で工具ファイル・メモリ
8に入力し工具ファイルの各取付寸法の欄に書き替え
る。第段で工具ファイルの各取付寸法の書き替えが終
了すると、第段で工具ファイル・メモリ8から工具レ
イアウト・メモリ9へリセット信号が出されて、第段
で工具レイアウト・メモリ9の各工具補正値欄に記憶さ
れている各工具補正値XO,ZOFをリセット(0に)す
る。
In the second stage, the tool file memory 8 outputs the mounting dimensions X t , Z t of each tool via the output gate 8 b, and the tool layout memory 9 outputs the correction values X OF , Z OF of each tool via the output gate 9 b. Are respectively taken into the arithmetic circuit 15, and the arithmetic circuit 15 performs the arithmetic processing of X t ← X t + X OF and X t ← Z t + X OF . The newly corrected mounting dimensions X t and Z t calculated in the second stage are input to the tool file memory 8 at the second stage and rewritten in the respective mounting dimension columns of the tool file. When the rewriting of each mounting dimension of the tool file is completed in the second stage, a reset signal is output from the tool file memory 8 to the tool layout memory 9 in the second stage, and each tool correction in the tool layout memory 9 is performed in the second stage. The tool correction values X O and Z OF stored in the value column are reset (set to 0).

以上述べた第段から第段までのサイクルが施される
ことにより常に各工具の取付寸法が書き替えられて記憶
される。而して次加工時や段取りには直ちにこの正確な
最近の取付寸法を使用することができる。
By performing the above-described cycles from the first stage to the second stage, the attachment dimensions of each tool are always rewritten and stored. Thus, during the next processing or during the setup, this accurate recent mounting dimension can be used immediately.

<効 果> 本発明はNC制御装置内に工具ファイル・メモリと工具
レイアウト・メモリを設け、工具ファイル・メモリから
工具レイアウト・メモリへあるいは工具レイアウト・メ
モリから工具ファイル・メモリへの情報連携処理を行な
い得るようにしたから、工具ファイル・メモリに記憶さ
れた工具ファイルは工具索引の役目となりFMS化する
昨今への対応が可能となり、かつ作業者の工具選定や工
具の管理に不可欠なものとなり延いては自動化における
作業能率の向上につながる。
<Effect> The present invention provides a tool file memory and a tool layout memory in the NC control device, and performs information linkage processing from the tool file memory to the tool layout memory or from the tool layout memory to the tool file memory. Since it can be performed, the tool file stored in the tool file memory serves as a tool index and can cope with the recent changes to FMS, and is indispensable for operator's tool selection and tool management. In other words, it leads to improvement of work efficiency in automation.

また、工具レイアウト・メモリに記憶された工具レイア
ウトはタレットへの工具の段取りの指示が可能で、かつ
未熟練者でも機械を取扱うことが出来る。さらに、本発
明は工具レイアウト・メモリに入力された工具補正値を
工具ファイル・メモリに記憶された取付寸法にフィード
バックすることにより、工具の取付寸法が常に更新され
て最新の正確なデータが得られる。ワークと工具刃先の
正確な位置を示すデータとして工具ファイル・メモリに
登録され、機械側の実際の情報が得られる。而して、そ
の場限りの情報でなく、正確な最新の工具取付寸法が残
るから次の段取りへの対応が出来、しかも干渉問題も全
くなくなり解消される。延いては段取りの省力化および
段取り時間の短縮化が図られる。さらにNC装置側と工
作機械側のマッチングが可能となる。
In addition, the tool layout stored in the tool layout memory can instruct the turret to set up the tool, and even an unskilled person can handle the machine. Further, according to the present invention, by feeding back the tool compensation value input to the tool layout memory to the mounting dimension stored in the tool file memory, the mounting dimension of the tool is constantly updated to obtain the latest accurate data. . It is registered in the tool file memory as data indicating the exact position of the work and the cutting edge of the tool, and the actual information on the machine side can be obtained. As a result, accurate and latest tool mounting dimensions remain, rather than on-the-spot information, so that the next setup can be dealt with, and interference problems are eliminated at all. As a result, labor saving and setup time can be shortened. Furthermore, it is possible to match the NC device side and the machine tool side.

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

第1図は本発明の構成を示す構成ブロック図である。第
2図(イ)は工具ファイルの一例を示すモデル図、第2
図(ロ)は工具レイアウトの一例を示すモデル図、第2
図は(ハ)本発明の基本的な考え方を説明するためのワ
ークとプリセットセンサおよび工具とのZ軸方向の位置
関係を示したモデル図および第2図(ニ)は本発明の基
本的な考え方を説明するためのワークとプリセットセン
サおよび工具とのZ軸方向の位置関係を示すモデル図で
ある。第3図は本発明の動作を説明するフローチャート
図である。 1……CPU、2b……紙テープリーダ 2d……画面付キーボード 5……NC加工プログラムデータ・メモリ 6……工具データ処理プログラム 7……工具基準点設定データ・メモリ 8……工具ファイル・メモリ 9……工具レイアウト・メモリ 12,15……演算回路 T……刃物台、T……タレット・ヘッド P……プリセットセンサ、T……工具 Sp……主軸、C……チャック W……ワーク
FIG. 1 is a configuration block diagram showing the configuration of the present invention. FIG. 2 (A) is a model diagram showing an example of a tool file,
Figure (b) is a model diagram showing an example of the tool layout, 2nd
The figure (c) is a model diagram showing the positional relationship in the Z-axis direction between the workpiece, the preset sensor, and the tool for explaining the basic idea of the present invention, and FIG. 2 (d) is the basic figure of the present invention. It is a model diagram which shows the positional relationship of the workpiece | work, preset sensor, and tool in the Z-axis direction for explaining a way of thinking. FIG. 3 is a flow chart for explaining the operation of the present invention. 1 ... CPU, 2b ... Paper tape reader 2d ... Keyboard with screen 5 ... NC machining program data / memory 6 ... Tool data processing program 7 ... Tool reference point setting data / memory 8 ... Tool file / memory 9 ...... Tool layout memory 12, 15 ・ ・ ・ Arithmetic circuit Tr・ ・ ・ Turret, T h・ ・ ・ Turret head P s・ ・ ・ Preset sensor, T ・ ・ ・ Tool Sp ・ ・ ・ Spindle, C ・ ・ ・ Chuck W …… work

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】各工具で被加工物を加工した後、その加工
物の寸法を実測した実測値と前記加工物の目標寸法との
差から得られた補正値を含む加工に必要な情報のデータ
を入力する入力装置と、 工具を移動させた時の機械原点に対する現在位置を計測
する計測装置と、 所定の加工を施すためのNC加工プログラムのデータを
記憶しているNC加工プログラムデータ・メモリと、 工作機械の前記工具の移動範囲に設けられたプリセット
センサの当接信号出力位置である工具基準点位置と前記
機械原点との距離が設定されている工具基準点設定デー
タ・メモリと、 工具基準点設定データ・メモリに記憶されている工具基
準点設定データと、前記プリセットセンサに前記工具を
当接させて当接信号が出力されたときの前記計測装置で
計測された現在位置データとを演算して各工具の取付け
寸法を求める第1の演算手段と、 この工具に関する工具ファイル番号を含む主要データが
登録され、かつ、前記第1の演算手段で求められた各工
具の取付け寸法が記憶される工具ファイル・メモリと、 刃物台のタレット面に取付けられた工具に対応して前記
工具ファイル・メモリから編集処理され、かつ、前記入
力手段より入力された補正値が記憶される工具レイアウ
ト・メモリと、 前記工具ファイル・メモリに記憶された各工具の取付け
寸法と、前記工具レイアウト・メモリに記憶された各工
具の補正値とを加算する演算処理し、最新各工具の取付
け寸法を求める第2の演算手段と、 前記工具ファイル・メモリへの前記主要データの書き込
み処理、前記工具ファイルデータから工具レイアウトデ
ータへの編集処理および前記工具ファイルデータから工
具レイアウトデータへの編集処理および前記工具ファイ
ル・メモリの取付け寸法を前記第2の演算手段で求めた
最新各工具の取付け寸法に書き替えるとともに前記工具
レイアウト・メモリの補正値を0にリセットする処理を
行うためのプログラムが記憶されている工具データ処理
プログラムメモリとからなり、 前記工具ファイルメモリの取付け寸法を常時最新取付け
寸法に書き替えて記憶しておくことを特徴とする工具フ
ァイルを有する数値制御装置。
1. After machining a work piece with each tool, a piece of information necessary for machining including a correction value obtained from a difference between an actually measured value of the dimension of the work piece and a target dimension of the work piece. An input device for inputting data, a measuring device for measuring the current position with respect to the machine origin when the tool is moved, and an NC machining program data memory that stores the data of the NC machining program for performing predetermined machining. And a tool reference point setting data memory in which a distance between a tool reference point position which is a contact signal output position of a preset sensor provided in the tool movement range of the machine tool and the machine origin is set, Tool reference point setting data stored in the reference point setting data memory and the current measured by the measuring device when the tool is brought into contact with the preset sensor and a contact signal is output. First computing means for computing the mounting dimensions of each tool by computing position data, and main data including a tool file number relating to this tool are registered, and for each tool obtained by the first computing means. A tool file memory for storing attachment dimensions and an editing process from the tool file memory corresponding to a tool attached to the turret surface of the tool post, and a correction value input from the input means are stored. Tool layout memory, the installation dimensions of each tool stored in the tool file memory, and the correction value of each tool stored in the tool layout memory are added to the calculation process to install the latest tool. Second calculation means for obtaining dimensions, writing processing of the main data to the tool file memory, tool layout data from the tool file data Editing process to the tool and editing process from the tool file data to the tool layout data, and the mounting size of the tool file memory is rewritten to the latest mounting size of each tool obtained by the second calculating means, and the tool layout is also written. A tool data processing program memory in which a program for resetting the correction value of the memory to 0 is stored, and the installation dimension of the tool file memory is constantly rewritten and stored in the latest installation dimension. A numerical control device having a tool file characterized by the above.
JP60084249A 1985-04-19 1985-04-19 Numerical control device with tool file Expired - Lifetime JPH0635092B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60084249A JPH0635092B2 (en) 1985-04-19 1985-04-19 Numerical control device with tool file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60084249A JPH0635092B2 (en) 1985-04-19 1985-04-19 Numerical control device with tool file

Publications (2)

Publication Number Publication Date
JPS61244448A JPS61244448A (en) 1986-10-30
JPH0635092B2 true JPH0635092B2 (en) 1994-05-11

Family

ID=13825185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60084249A Expired - Lifetime JPH0635092B2 (en) 1985-04-19 1985-04-19 Numerical control device with tool file

Country Status (1)

Country Link
JP (1) JPH0635092B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63156645A (en) * 1986-12-22 1988-06-29 Okuma Mach Works Ltd Tool instruction list table displaying system in nc device
JPS6443137A (en) * 1987-08-11 1989-02-15 Toshiyuki Tsujino Method for cultivating root vegetables
JPH0647633Y2 (en) * 1987-12-29 1994-12-07 株式会社森精機製作所 Automatic tool length measuring device
JPH06126572A (en) * 1992-10-22 1994-05-10 Toshiba Tungaloy Co Ltd Apparatus for automatically changing cutting edge tip of milling tool
JP3200023B2 (en) 1997-01-16 2001-08-20 ファナック株式会社 Control equipment for production equipment
JP2005202844A (en) * 2004-01-19 2005-07-28 Murata Mach Ltd Numerical controller
JP6797972B1 (en) * 2019-06-27 2020-12-09 Dmg森精機株式会社 Tool insertion assist device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3920971A (en) * 1974-03-28 1975-11-18 Cincinnati Milacron Inc Off-line tool gage

Also Published As

Publication number Publication date
JPS61244448A (en) 1986-10-30

Similar Documents

Publication Publication Date Title
CN106346315B (en) Machine tool control system capable of obtaining workpiece origin and workpiece origin setting method
JPS58206364A (en) Machine tool
US4633409A (en) Numerical control device
US4881021A (en) Numerical control equipment
JPH0635092B2 (en) Numerical control device with tool file
US4755949A (en) Apparatus for setting work coordinate system of machine
JP3459847B2 (en) Method and apparatus for resetting tool correction amount by tool presetter
JP3283278B2 (en) Automatic lathe
JPH06138921A (en) Measuring method and automatic correction method for linear interpolation feeding accuracy of numerically controlled machine tool
JPS60180749A (en) Correction controlling method for machining reference point in numerically controlled lathe
JPH05345256A (en) Work coordinates collectively working method and device using coordinates correction system
JPS60175555U (en) Processing reference point correction device for NC machine tools
JPS598842B2 (en) Mold processing automation method using copying model
JP2776650B2 (en) Non-circular shape data creation method
JPH0646848U (en) Tool breakage detector
JP2581535B2 (en) Machine tool coordinate system setting device
KR830001480B1 (en) Tool choice system at numerical control machine tool
JPS598841B2 (en) How to create NC data for mold processing
JPS6347579B2 (en)
JPS62130160A (en) Automatic tool correcting device for nc machine tool
JPS62208860A (en) Work coordinate system setter for machine tool
JPH0347766Y2 (en)
JPH07112664B2 (en) Origin correction method for spindle head indexing
JPS6125208A (en) Automatic coordinate system setting device for machine tool
JPS6299059A (en) Cutting edge position indication device for machine tool

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term