JPH04275855A - Tool offset compensation quantity registering method for nc machine tool - Google Patents

Tool offset compensation quantity registering method for nc machine tool

Info

Publication number
JPH04275855A
JPH04275855A JP5615591A JP5615591A JPH04275855A JP H04275855 A JPH04275855 A JP H04275855A JP 5615591 A JP5615591 A JP 5615591A JP 5615591 A JP5615591 A JP 5615591A JP H04275855 A JPH04275855 A JP H04275855A
Authority
JP
Japan
Prior art keywords
tool
correction amount
correction
registered
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5615591A
Other languages
Japanese (ja)
Inventor
Takayuki Sano
隆行 佐野
Hiroshi Yamashita
宏 山下
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.)
Osaka Kiko Co Ltd
Original Assignee
Osaka Kiko 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 Osaka Kiko Co Ltd filed Critical Osaka Kiko Co Ltd
Priority to JP5615591A priority Critical patent/JPH04275855A/en
Publication of JPH04275855A publication Critical patent/JPH04275855A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve workability by performing the measurement of tool offset compensation quantity and registering work while using the tool changing function (ATC), manual feed function and operation function of a machine tool. CONSTITUTION:The tool number and offset compensation number of a tool 8 to be used are extracted from a machining program to find the offset compensation quantity in the tool offset compensation data memory 20 corresponding to the offset compensation number. A tool whose offset compensation quantity is 0 and a tool whose offset compensation quantity is not 0 but different from the offset compensation quantity registered in a tool master data memory 22 are extracted as tools whose offset compensation quantities are required to be registered. This extracted tools 8 whose offset compensation quantities are required to be registered are secured to a main spindle 7 in order by means of a tool changing function (ATC) 15, and the secured tool 8 is made to contact with the detector fixed to a table 9 by means of a manual feed function to calculate offset compensation quantity from this feed quantity, and the result is registered in the tool offset compensation data memory 20.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、主軸の原点を基準と
し、同一座標系で各工具の移動量を記述しているNCデ
ータにおいて、長さ、径が異なる工具を使用するために
、工具毎に付けられる移動量の補正量の登録が簡単にで
きるNC工作機械の工具補正量登録方法に関する。
[Industrial Application Field] This invention is based on the origin of the spindle and uses NC data that describes the amount of movement of each tool in the same coordinate system to use tools with different lengths and diameters. The present invention relates to a tool correction amount registration method for an NC machine tool that allows easy registration of a movement amount correction amount applied for each movement.

【0002】0002

【従来の技術】NC工作機械は、加工プログラムに記述
されたデータに基き、フライス、エンドミル、ドリル、
タップ等の工具を主軸に交換・装着し、指定された移動
量の送りをかけながら加工を進める。加工方法に応じて
選択される工具は、固有の長さ、径を持ち、主軸の原点
と工具の刃先との位置関係はそれぞれに異なるので、予
じめ各工具に、その長さh、径dを補正量として登録し
、移動量を補正している。この補正量の付け方は、具体
的には、工具に補正番号を持たせ、別途NC工作機械の
工具補正データメモリに、補正番号と補正量を対応づけ
て登録するもので、加工時に、この補正量を工具の補正
番号に基づき呼び出している。この補正量が正しく登録
されていないと、指定された形状に加工できないばかり
か、工具の損傷、工作機械そのものの損傷という大事故
を起すことになる。
[Prior Art] NC machine tools are capable of processing milling cutters, end mills, drills, etc. based on data written in machining programs.
Replace and attach tools such as taps to the spindle, and proceed with machining while applying the specified amount of movement. The tools selected according to the machining method have specific lengths and diameters, and the positional relationship between the origin of the spindle and the cutting edge of the tool is different for each tool. d is registered as a correction amount, and the movement amount is corrected. Specifically, the method of assigning this compensation amount is to assign a compensation number to the tool, and to register the compensation number and compensation amount in association with each other in the tool compensation data memory of the NC machine tool. The amount is called based on the tool compensation number. If this correction amount is not registered correctly, not only will it not be possible to machine the specified shape, but it will also cause serious accidents such as damage to the tool and damage to the machine tool itself.

【0003】このため、従来はNC加工を行うに先立っ
て、NC工作機械の内部に設定されている補正番号に対
応した補正量を調べ、正しくないものは修正・登録して
いた。
For this reason, conventionally, before performing NC machining, the amount of correction corresponding to the correction number set inside the NC machine tool was checked, and incorrect amounts were corrected and registered.

【0004】この修正・登録方法は、具体的には、加工
プログラム作成時に、図5に示すように使用工具の工具
番号T1,T2,T3,・・、名称(例えばエンドミル
)、補正番号H1,H2,H3,・・D1,D2,D3
・・・、補正量h,d(例えば、高さ100mm,直径
40mm)を記載したツールレイアウト表1を作成し、
工具補正データメモリに登録されている補正量をNC工
作機械のCRT2に表示させ、誤っている補正量Xをツ
ールレイアウト表1の補正量と一致するようにキーボー
ド3で修正・登録していた。ここで、各工具の補正量は
、別途にツールプリセッタ等で測定している。
Specifically, when creating a machining program, this correction/registration method involves inputting the tool numbers T1, T2, T3, etc., names (for example, end mill), correction numbers H1, etc. of the tools used, as shown in FIG. H2, H3,...D1, D2, D3
..., create a tool layout table 1 that describes the correction amounts h and d (for example, height 100 mm, diameter 40 mm),
The correction amount registered in the tool correction data memory was displayed on the CRT 2 of the NC machine tool, and the incorrect correction amount X was corrected and registered using the keyboard 3 so that it matched the correction amount in the tool layout table 1. Here, the amount of correction for each tool is measured separately using a tool presetter or the like.

【0005】[0005]

【発明が解決しようとする課題】しかし、この方法は、
ツールレイアウト表1の作成、ツールプリセッタ等によ
る補正量の測定、ツールレイアウト表1への記入、補正
量のキーボード3による入力といった多くの労力を必要
とし、しかもミスを犯し易い作業手順となっている。
[Problem to be solved by the invention] However, this method
This work procedure requires a lot of effort, such as creating a tool layout table 1, measuring the amount of correction using a tool presetter, etc., filling out the tool layout table 1, and inputting the amount of correction using the keyboard 3, and is prone to mistakes. There is.

【0006】そこで、この発明は簡単な操作で、補正量
を、正確かつ確実に工具補正データメモリに登録するこ
とができるNC工作機械の工具補正量登録方法を提供す
ることを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a method for registering a tool correction amount for an NC machine tool, which can accurately and reliably register a correction amount in a tool correction data memory with a simple operation.

【0007】[0007]

【課題を解決するための手段】この発明は、加工プログ
ラムで使用されている工具に補正番号を持たせ、別途メ
モリに登録されている補正番号に対応した補正量でNC
データに補正を加えながらワークを加工していくNC工
作機械において、
[Means for Solving the Problems] This invention provides a tool used in a machining program with a correction number, and performs NC processing with a correction amount corresponding to the correction number separately registered in a memory.
In NC machine tools that process workpieces while making corrections to data,

【0008】加工開始前に、加工プログラムの中で使用
されている工具番号とこれに持たせた補正番号を抽出し
、各補正番号に対応して工具補正データメモリに登録さ
れている補正量が0の工具を第1の補正量登録必要工具
として、補正量が0でない工具で、かつ工具に対応して
工具マスタデータメモリに登録されている補正量と異な
る工具については第2の補正量登録必要工具として、そ
れぞれ抽出し、
Before starting machining, extract the tool number used in the machining program and the compensation number assigned to it, and check the compensation amount registered in the tool compensation data memory corresponding to each compensation number. A tool with a correction amount of 0 is registered as the first correction amount registration tool, and a tool whose correction amount is not 0 and is different from the correction amount registered in the tool master data memory corresponding to the tool is registered with the second correction amount registration. Extract each as a necessary tool,

【0009】抽出された第1、第2の登録必要工具を、
NC工作機械の手動スイッチと工具交換機能を用いて順
次マガジンから主軸に装着させ、同機械の手動送り機能
を用いて主軸とテーブルを相対的に動かして工具をテー
ブルに取り付けた検出器に接触させ、同機械の演算機能
により、このときの送り量と設定された基準値から補正
量を算出し、工具補正データの該当エリアに設定するよ
うにしたNC工作機械の工具補正量登録方法を提供する
[0009] The extracted first and second tools requiring registration are
Using the manual switch and tool change function of the NC machine tool, the tools are sequentially loaded from the magazine onto the spindle, and the tool is moved relative to the spindle and table using the manual feed function of the machine to bring the tool into contact with the detector attached to the table. , provides a tool correction amount registration method for an NC machine tool in which the correction amount is calculated from the current feed amount and the set reference value using the calculation function of the machine, and is set in the corresponding area of tool correction data. .

【0010】また、このように補正量を測定・設定する
場合において、手動送りによる補正量測定を容易にする
ため、最初に主軸に装着された工具の補正量を測定した
際に、工具が検出器に当ったときの水平位置座標を記憶
しておき、2番目以降の工具が主軸に装着されたときは
、手動送りによる補正量測定に先立って、上記水平位置
座標を用いて工具を検出器の真上に所定の間隔を保って
自動的に移動させる方法をも提供する。
In addition, when measuring and setting the correction amount in this way, in order to facilitate the measurement of the correction amount by manual feeding, when first measuring the correction amount of the tool mounted on the spindle, it is necessary to The horizontal position coordinates when the tool hits the tool are memorized, and when a second or subsequent tool is attached to the spindle, the horizontal position coordinates are used to move the tool to the detector before measuring the correction amount by manual feed. The present invention also provides a method for automatically moving the object directly above the object at a predetermined interval.

【0011】[0011]

【作用】上記工具補正量登録方法は、修正・登録の対象
を、補正量が0の工具(新規にマガジンに挿入され登録
が未終了の工具、補正量を修正する予定でデータを消去
したままになっている工具など)と、補正量を常に一定
値にする必要がある特定工具で、その補正量が工具マス
ターデータメモリに登録されている値と異なるものに絞
っている。そして、加工プログラムから使用する工具を
抽出し、この中で、このような補正量を持つものを第1
、第2の補正量必要工具として抽出する。
[Operation] The above tool compensation amount registration method can be used to modify/register a tool with a compensation amount of 0 (a tool that has been newly inserted into the magazine and has not yet been registered), or a tool whose data is deleted when the compensation amount is to be corrected. (e.g., tools with a fixed value) and specific tools that require a constant correction amount at all times, and whose correction amount differs from the value registered in the tool master data memory. Then, the tools to be used are extracted from the machining program, and among them, the one with such a correction amount is selected as the first tool.
, is extracted as a tool requiring the second correction amount.

【0012】抽出が終ると、NC工作機械の工具交換機
能を用いて、抽出された工具を、主軸に順番に呼び出す
。そして、手動送り機能を用いて工具をテーブルに取り
付けた検出器に当て、このときの送り量から演算機能を
用いて補正量を測定する。この測定結果は工具補正デー
タメモリに登録される。
When the extraction is completed, the extracted tools are sequentially called to the spindle using the tool exchange function of the NC machine tool. Then, using the manual feed function, the tool is applied to a detector attached to the table, and the correction amount is measured from the feed amount at this time using the calculation function. This measurement result is registered in the tool correction data memory.

【0013】特に、2番目以降の工具が主軸に装着され
たときには、最初の測定の際に記憶した検出器の位置座
標を用いて、工具を検出器の上方に自動的に移動させ、
手動送り量を最小限にして、操作を簡易化している。
In particular, when a second or subsequent tool is attached to the spindle, the tool is automatically moved above the detector using the detector position coordinates stored during the first measurement.
Manual feed amount is minimized to simplify operation.

【0014】[0014]

【実施例】図1は、本発明の工具補正量の登録方法を実
施するNC工作機械4の構成を示すものである。このN
C工作機械4は、加工プログラムに記述されている加工
方法および加工寸法にしたがって加工を進めるもので、
その基本構成部分について先に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the configuration of an NC machine tool 4 that implements the tool correction amount registration method of the present invention. This N
The C machine tool 4 carries out machining according to the machining method and machining dimensions described in the machining program.
Its basic constituent parts will be explained first.

【0015】5はCPUで、バスライン6を通してNC
工作機械4を制御・管理する。7は工具8を取り付ける
主軸、9はワークを取り付けるテーブルである。10は
主軸7とテーブル9を相対移動させるXYZの3次元送
り機構で、サーボ機構11により制御される。12は操
作卓で、各種メニューを表示するCRT13と操作指令
ならびにデータ入力を行うキーボード14を持つ。15
はNC工作機械4の工具交換機能であるオートツールチ
ェンジャ(ATC)で、マガジン16から工具8を呼び
だして主軸7に装着する。このATC15は、インター
フエース19、プログラマブルコントローラ18を通し
て、CPU5に接続されている。19は加工プログラム
メモリで、紙テープ等の記録媒体から、加工プログラム
を読み込む。20は工具補正データメモリで、補正番号
と補正量の対を記憶する。この対の記憶は、前回と異な
る加工プログラムで加工を始めるとき等に、マガジン1
6への新規工具の追加、異なる工具との挿し替えに伴な
い、追加・更新されるもので、更新されないデータは保
存されている。
5 is a CPU, which is connected to the NC through the bus line 6.
Controls and manages the machine tool 4. Reference numeral 7 denotes a main shaft on which a tool 8 is attached, and 9 is a table on which a workpiece is attached. Reference numeral 10 denotes an XYZ three-dimensional feed mechanism that moves the main shaft 7 and the table 9 relative to each other, and is controlled by a servo mechanism 11. Reference numeral 12 denotes an operation console, which has a CRT 13 for displaying various menus and a keyboard 14 for inputting operation commands and data. 15
is an auto tool changer (ATC) which is a tool changing function of the NC machine tool 4, and calls out the tool 8 from the magazine 16 and attaches it to the spindle 7. This ATC 15 is connected to the CPU 5 through an interface 19 and a programmable controller 18. A processing program memory 19 reads a processing program from a recording medium such as a paper tape. A tool correction data memory 20 stores pairs of correction numbers and correction amounts. This pair of memories is stored in the magazine 1 when starting machining with a machining program different from the previous one.
The data that is not updated is saved as new tools are added to 6 or replaced with different tools.

【0016】このNC工作機械4の基本動作について説
明する。加工プログラムの実行を操作卓12から指令す
ると、CPU5は工具交換機能(ATC)15を用いて
、加工方法に応じた工具8を主軸7に交換・装着し、送
り機構10を用いて、ワークを取り付けたテーブル9と
主軸7に、加工寸法と補正量にしたがう所定の相対移動
量を与える。この補正量は、工具8の大きさに応じて決
められ、例えばドリルでは長さh、エンドミルでは長さ
hと径dである。この補正量は、加工プログラムには工
具番号Tnと補正番号Hn,Dnの対(T1 …H1 
)、(T2 …H2 ,D1 )、(T3 …D2 )
・・・として記述され、工具補正データメモリ20には
補正番号と補正量の対(H1 …55,H2 …105
,H3 …120・・・,D1…19,D2…15,D
3…40・・・)として登録されているもので、実行時
にCPU5が加工プログラム中の補正番号に基づき、工
具補正データメモリ20を参照して、読み出す。
The basic operation of this NC machine tool 4 will be explained. When the execution of a machining program is commanded from the console 12, the CPU 5 uses the tool change function (ATC) 15 to replace and attach the tool 8 according to the machining method to the spindle 7, and uses the feed mechanism 10 to move the workpiece. A predetermined amount of relative movement is given to the attached table 9 and spindle 7 in accordance with the machining dimensions and the amount of correction. This correction amount is determined according to the size of the tool 8, and is, for example, the length h for a drill, and the length h and diameter d for an end mill. This correction amount is specified in the machining program as a pair of tool number Tn and correction numbers Hn and Dn (T1...H1
), (T2...H2, D1), (T3...D2)
..., and the tool correction data memory 20 contains a pair of correction number and correction amount (H1...55, H2...105
, H3...120..., D1...19, D2...15, D
3...40...), and during execution, the CPU 5 refers to the tool correction data memory 20 and reads it out based on the correction number in the machining program.

【0017】本発明方法は、加工プログラムで使用され
ている工具について、上記工具補正データメモリ20に
補正量が登録されていない場合、および補正量を一定値
にする必要がある特定工具に補正量の登録誤りがあった
場合に、この工具を自動抽出して、NC工作機械4上で
簡易に測定・登録するものである。
The method of the present invention applies when the amount of correction is not registered in the tool correction data memory 20 for the tool used in the machining program, and when the amount of correction is not registered in the tool correction data memory 20, and for a specific tool that requires the amount of correction to be a constant value. If there is a registration error, this tool is automatically extracted and easily measured and registered on the NC machine tool 4.

【0018】そこで、この抽出および測定・登録を行う
ために付加されている部分について、図1を、さらに説
明する。21は、使用工具データメモリで、加工プログ
ラム中で使用する工具の工具番号、補正番号の対を記憶
する。22は、工具マスタデータメモリで、補正量を常
に一定にしたい特定工具、例えば仕上用工具について、
工具番号と補正量の対を必要に応じて登録する。
FIG. 1 will now be further described with respect to the portions added for performing this extraction, measurement, and registration. Reference numeral 21 denotes a used tool data memory that stores pairs of tool numbers and correction numbers of tools used in the machining program. Reference numeral 22 is a tool master data memory, in which information about a specific tool, such as a finishing tool, for which the amount of correction should always be kept constant, is stored.
Register the tool number and correction amount pair as necessary.

【0019】24は補正データチェック回路で、使用工
具データチェック回路25と測定工具データ格納回路2
6を持ち、使用工具データメモリ21、工具補正データ
メモリ20および工具マスターデータメモリ22の登録
内容を比較して、補正量の修正が必要な工具を第1、第
2の補正量登録必要工具として抽出する。
Reference numeral 24 denotes a correction data check circuit, which includes a used tool data check circuit 25 and a measured tool data storage circuit 2.
6, the registered contents of the used tool data memory 21, tool correction data memory 20, and tool master data memory 22 are compared, and the tools whose correction amount needs to be corrected are designated as the first and second tools that require correction amount registration. Extract.

【0020】27は、測定工具データメモリで、補正デ
ータチェック回路26の出力する第1、第2の補正量登
録必要工具を記憶する。
Reference numeral 27 denotes a measurement tool data memory for storing the first and second correction amount registration required tools output from the correction data check circuit 26.

【0021】28は工具補正量測定回路で、工具測定制
御回路29、工具補正データ演算回路30、工具補正量
格納回路31、センサ位置取込み回路32より構成され
、測定工具データメモリ27に記憶された第1、第2の
補正量登録必要工具について補正量の測定を実行し、測
定結果で、工具補正データメモリ20内の補正量を修正
・登録する。
Reference numeral 28 denotes a tool correction amount measuring circuit, which is composed of a tool measurement control circuit 29, a tool correction data calculation circuit 30, a tool correction amount storage circuit 31, and a sensor position acquisition circuit 32, and is stored in the measured tool data memory 27. The correction amounts are measured for the first and second tools requiring correction amount registration, and the correction amounts in the tool correction data memory 20 are corrected and registered based on the measurement results.

【0022】33は工具測定シーケンスで、補正量の測
定に当って工具の測定順を決め、その進行を管理し、測
定済み工具のマガジン16への返却、次の測定工具の主
軸7への呼び出し、主軸7に装着された工具のタッチセ
ンサ35上への位置決めを行う回路である。
Reference numeral 33 denotes a tool measurement sequence, which determines the measurement order of the tools when measuring the correction amount, manages the progress, returns the measured tool to the magazine 16, and calls the next measurement tool to the spindle 7. , is a circuit for positioning a tool attached to the spindle 7 onto the touch sensor 35.

【0023】34は機械座標メモリで、X,Y,Z軸を
移動させて行う工具測定動作時に、その時点の機械座標
を記憶する。35は検出器であるタッチセンサで、補正
量の測定時にテーブル9に固定される。このとき、高さ
の基準値hcと水平方向の基準値dcが、工具補正デー
タ演算回路30に登録される。この基準値は、例えば図
4に示すように、主軸の基準点からタッチセンサ35の
上方および側方の測子35a, 35bまでのz方向、
x方向の距離である。
A machine coordinate memory 34 stores the machine coordinates at that time when a tool measurement operation is performed by moving the X, Y, and Z axes. A touch sensor 35 is a detector, and is fixed to the table 9 when measuring the amount of correction. At this time, the height reference value hc and the horizontal reference value dc are registered in the tool correction data calculation circuit 30. This reference value is, for example, as shown in FIG.
This is the distance in the x direction.

【0024】36はセンサ位置メモリで、テーブル上の
タッチセンサ35の位置を記憶する。上記構成における
、工具補正量の登録の手順について説明する。加工プロ
グラムが加工プログラムメモリ19に登録されると、操
作卓12から、使用工具の解析を、プログラム番号を指
定してCPU5に指令する。これによって、加工プログ
ラムの中で使用されている工具番号と補正番号が抽出さ
れ、使用工具データメモリ21に対となって記憶される
A sensor position memory 36 stores the position of the touch sensor 35 on the table. The procedure for registering the tool correction amount in the above configuration will be explained. When the machining program is registered in the machining program memory 19, the operation console 12 instructs the CPU 5 to analyze the tool used by specifying the program number. As a result, the tool number and correction number used in the machining program are extracted and stored in the used tool data memory 21 as a pair.

【0025】次に、操作卓12で、補正照合の起動をす
ると、使用工具補正データチェック回路24は、補正が
必要な工具を第1、第2の補正量登録必要工具として抽
出し、測定工具データメモリ27に格納する。この抽出
の手順は、次のようになる。
Next, when correction verification is started on the operation console 12, the used tool correction data check circuit 24 extracts the tool that requires correction as the first and second correction amount registration required tools, and selects the tool to be measured. The data is stored in the data memory 27. The extraction procedure is as follows.

【0026】始めに使用工具データメモリ21に登録さ
れた補正番号で、工具補正データメモリ20に登録され
た補正量の内容を調べ、この値が0の工具を、第1の補
正量登録必要工具として抽出する。さらに、これらの補
正番号に対応して工具補正データメモリ20に登録され
ている補正量は0ではないが、工具番号で参照すると工
具マスタデータメモリ22に登録されている補正量と異
なる工具は、第2の補正量登録必要工具として抽出する
。これらの工具は、一旦、測定工具データ格納回路26
に格納された後、測定工具データメモリ27に登録され
る。上記補正データチェックの手順をフローチャートで
示すと、図2のようになる。
First, the content of the correction amount registered in the tool correction data memory 20 is checked using the correction number registered in the used tool data memory 21, and the tool whose value is 0 is selected as the tool that requires first correction amount registration. Extract as. Furthermore, the correction amounts registered in the tool correction data memory 20 corresponding to these correction numbers are not 0, but when referenced by tool number, tools that differ from the correction amounts registered in the tool master data memory 22 are It is extracted as a tool requiring second correction amount registration. These tools are temporarily stored in the measurement tool data storage circuit 26.
, and then registered in the measurement tool data memory 27. The procedure for checking the correction data is shown in a flowchart as shown in FIG.

【0027】なお、補正量0の工具は、補正量が登録さ
れていない工具で、新規にマガジン16に追加され登録
が未終了の工具、更新するつもりで一旦消去したが新し
いデータを入れ忘れている工具などである。また、工具
マスタデータメモリ22に登録されている工具は、補正
量を常に一定にする必要がある特定工具である。
Note that a tool with a correction amount of 0 is a tool for which no correction amount has been registered, a tool that has been newly added to the magazine 16 and has not yet been registered, or a tool that has been deleted with the intention of updating, but has forgotten to enter new data. Tools, etc. Furthermore, the tools registered in the tool master data memory 22 are specific tools that require constant correction amounts.

【0028】つぎに、操作卓12の手動スイッチ(キー
ボード)を操作して、補正量測定の実行を開始する。こ
のとき、工具測定制御回路29は、工具測定シーケンス
33に測定を行う手順を決めさせる。測定開始を指令す
ると、工具交換機能(ATC15)が選択された工具8
を主軸7に装着させる。そこで、NC工作機械4の手動
送り機能(送り機構10)を用いて工具8がテーブル9
に取り付けたタッチセンサ35の測子に当るまで、主軸
7とテーブル9を相対移動させる。この送り量は、サー
ボ機構11の持つ移動量測定手段によって検出され、現
在位置が常に機械座標メモリ34に記憶されており、タ
ッチセンサ35が接触を検出した時点の送り量が、工具
測定データ演算回路30に出力される。またこれと同時
に、この座標がセンサ位置取り込み回路32を通してセ
ンサ位置メモリ36に記憶される。そして工具補正デー
タ演算回路30は、工具の長さhを測定する場合は、図
4(a) に示すように設定された基準値Hcから送り
量Hsを引いて登録すべき測定値Hを求め、工具の径d
を測定する場合は、図4(b) に示すように設定され
た基準値Dcから送り量Dsを引いて求めた値を2倍し
、登録すべき補正値D=2(Dc−Ds)を求める。こ
の補正値は、工具補正格納回路31に一旦格納され、操
作卓12からの指示により、工具補正データメモリ20
に登録される。
Next, the manual switch (keyboard) on the console 12 is operated to start the correction amount measurement. At this time, the tool measurement control circuit 29 causes the tool measurement sequence 33 to determine the procedure for performing the measurement. When the start of measurement is commanded, tool 8 with the tool change function (ATC15) selected
is attached to the main shaft 7. Therefore, using the manual feeding function (feeding mechanism 10) of the NC machine tool 4, the tool 8 is moved to the table 9.
The main shaft 7 and the table 9 are moved relative to each other until they hit the probe of the touch sensor 35 attached to the main shaft 7 and the table 9. This feed amount is detected by the movement amount measuring means of the servo mechanism 11, the current position is always stored in the machine coordinate memory 34, and the feed amount at the time when the touch sensor 35 detects contact is calculated by the tool measurement data. It is output to the circuit 30. At the same time, these coordinates are stored in the sensor position memory 36 through the sensor position acquisition circuit 32. When measuring the tool length h, the tool correction data calculation circuit 30 subtracts the feed amount Hs from the set reference value Hc to obtain the measured value H to be registered, as shown in FIG. 4(a). , tool diameter d
When measuring, as shown in Fig. 4(b), subtract the feed amount Ds from the set reference value Dc, double the value, and obtain the correction value D = 2 (Dc - Ds) to be registered. demand. This correction value is temporarily stored in the tool correction storage circuit 31, and then stored in the tool correction data memory 20 according to an instruction from the console 12.
will be registered.

【0029】このように1番目の工具の補正量登録が終
了すると、工具測定制御回路29、工具測定シーケンス
33、工具自動交換機能(ATC15)等の働きにより
、2番目の工具8が、マガジン16から主軸に呼び出さ
れる。このとき、1番目の工具の補正量測定の際にセン
サ位置メモリ36に記憶された検出器の位置座標によっ
て、主軸7に装着された工具8は図4(c) に示すよ
うにタッチセンサ35の上方に自動的に送られて、この
後の測定の手動送り量を少なくすることができる。この
自動位置決め動作は3番目以降の工具を主軸に装着した
場合も、同様におこなわれ、測定作業の省力化が図れる
。 工具測定シーケンス33で決められた最後の工具の補正
量が測定されると、補正量登録操作は終了する。
When the registration of the correction amount for the first tool is completed in this way, the second tool 8 is moved to the magazine 16 by the functions of the tool measurement control circuit 29, the tool measurement sequence 33, the automatic tool change function (ATC 15), etc. is called from the main axis. At this time, according to the position coordinates of the detector stored in the sensor position memory 36 when measuring the correction amount of the first tool, the tool 8 mounted on the spindle 7 is moved to the touch sensor 35 as shown in FIG. 4(c). The amount of manual feed for subsequent measurements can be reduced. This automatic positioning operation is performed in the same way when a third or subsequent tool is attached to the spindle, thereby saving labor in measurement work. When the correction amount of the last tool determined in the tool measurement sequence 33 is measured, the correction amount registration operation ends.

【0030】上記補正量測定の手順をまとめると、図3
に示すフローチャートのようになる。
The procedure for measuring the above correction amount can be summarized as shown in FIG.
The process will look like the flowchart shown below.

【0031】[0031]

【発明の効果】この発明によれば、工具補正量の測定・
登録作業を、NC工作機械の持つ工具交換機能(ATC
)、手動送り機能、演算機能等を用いることにより、ツ
ールプリセッタ、ツールレイアウト表などの他の手段を
用いず、NC工作機械のみで簡単に行え、その作業性を
大幅に改善できる。
[Effects of the Invention] According to the present invention, the amount of tool compensation can be measured and
The registration work is performed using the tool change function (ATC) of the NC machine tool.
), manual feeding function, calculation function, etc., it can be easily performed using only the NC machine tool without using other means such as a tool presetter or tool layout table, and its workability can be greatly improved.

【0032】特に、本発明では、補正量登録必要工具を
加工プログラムから自動抽出しているので、ツールレイ
アウト表を用いた人手による作業で発生し易い工具間違
いが起らず、信頼性を向上できる。
In particular, in the present invention, since tools that require correction amount registration are automatically extracted from the machining program, tool errors that are likely to occur in manual work using a tool layout table can be avoided, and reliability can be improved. .

【0033】また本発明の請求項2に記載の方法では、
2回目以降の補正量測定の際、主軸に装着された工具が
、検出器の上方に自動的に移動するので、作業性をさら
に向上できる。
[0033] Furthermore, in the method according to claim 2 of the present invention,
During the second and subsequent correction amount measurements, the tool attached to the spindle is automatically moved above the detector, so work efficiency can be further improved.

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

【図1】本発明の工具補正量登録方法を実施するNC工
作機械の構造例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the structure of an NC machine tool that implements the tool correction amount registration method of the present invention.

【図2】本発明でおこなっている補正量登録必要工具の
抽出の手順を示すフローチャートである。
FIG. 2 is a flowchart showing a procedure for extracting tools requiring correction amount registration, which is performed in the present invention.

【図3】本発明でおこなっている工具補正量測定の手順
を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure for measuring a tool correction amount performed in the present invention.

【図4】送り量から補正量を演算する原理を、タッチセ
ンサと工具および主軸の位置関係について説明する図で
ある。
FIG. 4 is a diagram illustrating the principle of calculating the correction amount from the feed amount with respect to the positional relationship between the touch sensor, the tool, and the spindle.

【図5】従来の工具補正量の登録方法を示す工具レイア
ウト表と操作卓を示す図である。
FIG. 5 is a diagram showing a tool layout table and an operation console showing a conventional tool correction amount registration method.

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

4  NC工作機械 7  主軸 8  工具 9  テーブル 10  送り機構 14  キーボード(手動スイッチ) 15  工具交換機能(ATC) 16  マガジン 19  加工プログラムメモリ 20  工具補正データメモリ 21  使用工具データメモリ 22  工具マスタデータメモリ 30  工具補正データ演算回路 32  センサ位置取込み回路 35  検出器(タッチセンサ) 36  センサ位置メモリ 4 NC machine tools 7 Main shaft 8 Tools 9 Table 10 Feeding mechanism 14 Keyboard (manual switch) 15 Tool change function (ATC) 16 Magazine 19 Machining program memory 20 Tool compensation data memory 21 Tool data memory used 22 Tool master data memory 30 Tool correction data calculation circuit 32 Sensor position acquisition circuit 35 Detector (touch sensor) 36 Sensor position memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  加工プログラムで使用されている工具
に補正番号を持たせ、別途メモリに登録されている補正
番号に対応した補正量でNCデータに補正を加えながら
ワークを加工していくNC工作機械において、加工開始
前に、加工プログラムの中で使用されている工具番号と
これに持たせた補正番号を抽出し、各補正番号に対応し
て工具補正データメモリに登録されている補正量が0の
工具を第1の補正量登録必要工具として、この補正量が
0でない工具で、かつこの工具に対応して工具マスタデ
ータメモリに登録されている補正量と異なる工具につい
ては第2の補正量登録必要工具として、それぞれ抽出し
、抽出された第1、第2の登録必要工具を、NC工作機
械の手動スイッチと工具交換機能を用いて順次マガジン
から主軸に装着させ、同機械の手動送り機能を用いて主
軸とテーブルを相対的に動かして工具をテーブルに取り
付けた検出器に接触させ、同機械の演算機能により、こ
のときの送り量と設定された基準値から補正量を算出し
、工具補正データの該当エリアに設定するようにしたこ
とを特徴とするNC工作機械の工具補正量登録方法。
[Claim 1] NC machining in which the tool used in the machining program has a compensation number, and the workpiece is machined while adding compensation to the NC data with a compensation amount corresponding to the compensation number registered in a separate memory. Before starting machining, the machine extracts the tool number used in the machining program and the compensation number assigned to it, and calculates the compensation amount registered in the tool compensation data memory corresponding to each compensation number. 0 is the tool that requires first correction amount registration, and for tools whose correction amount is not 0 and which is different from the correction amount registered in the tool master data memory corresponding to this tool, the second correction is performed. The extracted first and second tools that need to be registered are sequentially installed from the magazine onto the spindle using the manual switch and tool change function of the NC machine tool as tools that require quantity registration, and the manual feed of the same machine is performed. The tool is moved relative to the spindle and table using the function to bring the tool into contact with the detector attached to the table, and the machine's calculation function calculates the correction amount from the feed amount at this time and the set reference value. A method for registering a tool correction amount for an NC machine tool, characterized in that the tool correction amount is set in a corresponding area of tool correction data.
【請求項2】  抽出された第1、第2の登録必要工具
の補正量を測定・設定する場合において、最初に主軸に
装着された工具の補正量を測定した際に、工具が検出器
に当ったときの水平位置座標を記憶しておき、2番目以
降の工具が主軸に装着されたときは、手動送りによる補
正量測定に先立って、上記水平位置座標を用いて工具を
検出器の真上に所定の間隔を保って自動的に移動させる
ことを特徴とする請求項1記載のNC工作機械の工具補
正量登録方法。
[Claim 2] When measuring and setting the correction amount of the extracted first and second tools requiring registration, when the correction amount of the tool mounted on the spindle is first measured, the tool is detected by the detector. The horizontal position coordinates at the time of collision are memorized, and when a second or subsequent tool is attached to the spindle, the horizontal position coordinates are used to move the tool to the true position of the detector before measuring the correction amount by manual feed. 2. The method of registering a tool correction amount for an NC machine tool according to claim 1, wherein the tool is automatically moved upward at a predetermined interval.
JP5615591A 1991-02-26 1991-02-26 Tool offset compensation quantity registering method for nc machine tool Pending JPH04275855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5615591A JPH04275855A (en) 1991-02-26 1991-02-26 Tool offset compensation quantity registering method for nc machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5615591A JPH04275855A (en) 1991-02-26 1991-02-26 Tool offset compensation quantity registering method for nc machine tool

Publications (1)

Publication Number Publication Date
JPH04275855A true JPH04275855A (en) 1992-10-01

Family

ID=13019205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5615591A Pending JPH04275855A (en) 1991-02-26 1991-02-26 Tool offset compensation quantity registering method for nc machine tool

Country Status (1)

Country Link
JP (1) JPH04275855A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105598743A (en) * 2014-11-14 2016-05-25 中村留精密工业株式会社 Method and device for automatically setting tool correction value of machine tool
CN110919866A (en) * 2019-12-06 2020-03-27 深圳市山龙智控有限公司 Multi-cutter machining structure and bathroom grinding and cutting method based on multi-cutter machining structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105598743A (en) * 2014-11-14 2016-05-25 中村留精密工业株式会社 Method and device for automatically setting tool correction value of machine tool
CN110919866A (en) * 2019-12-06 2020-03-27 深圳市山龙智控有限公司 Multi-cutter machining structure and bathroom grinding and cutting method based on multi-cutter machining structure

Similar Documents

Publication Publication Date Title
US5309646A (en) Tool point compensation for hardware displacement and inclination
EP0089561A2 (en) Machine tool numerical controller with an interference checking function
US4591989A (en) System for displaying tool parameters of tools utilized in a machining process
WO1989006174A1 (en) Laser device for three-dimensional machining
US5097632A (en) Machine tool having workpiece machining dimension and tool length measuring functions
JPH0238342B2 (en)
JP2008114322A (en) Position correcting method and position correcting device in machine tool
JP2002224936A (en) Tool presetter and method for calculation of tool offset data
EP0161674A2 (en) Numerical control grinding machine
JPH07266194A (en) Tool cutting edge measurement compensator
JPH04275855A (en) Tool offset compensation quantity registering method for nc machine tool
JP6243430B2 (en) Air cut adjustment device
JP3459847B2 (en) Method and apparatus for resetting tool correction amount by tool presetter
JPH0635092B2 (en) Numerical control device with tool file
AU620566B2 (en) Method of forming configuration data for cnc machining apparatus
JP2012110983A (en) Instruction method of stopping main shaft at fixed stopping position and workpiece measuring method
JPH09150348A (en) Cutting error correcting method in nc machine tool
JPH10118890A (en) Control device of machine tool
JPH0732247A (en) Thermal displacement correction in center work
JPS5926401B2 (en) Tool position correction method in machine tools
JP2001259970A (en) Machine tool with built-in tool presetter
JP2574228Y2 (en) Lathe in-machine measuring device
JPS6347579B2 (en)
JPH0647633Y2 (en) Automatic tool length measuring device
JPS61249247A (en) Nc machine tool with work guidance picture