JP2903651B2 - Machine tool control device - Google Patents

Machine tool control device

Info

Publication number
JP2903651B2
JP2903651B2 JP2158351A JP15835190A JP2903651B2 JP 2903651 B2 JP2903651 B2 JP 2903651B2 JP 2158351 A JP2158351 A JP 2158351A JP 15835190 A JP15835190 A JP 15835190A JP 2903651 B2 JP2903651 B2 JP 2903651B2
Authority
JP
Japan
Prior art keywords
correction
area
tool
control device
machining program
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 - Fee Related
Application number
JP2158351A
Other languages
Japanese (ja)
Other versions
JPH0452803A (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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2158351A priority Critical patent/JP2903651B2/en
Publication of JPH0452803A publication Critical patent/JPH0452803A/en
Application granted granted Critical
Publication of JP2903651B2 publication Critical patent/JP2903651B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、工具誤差補正を行う旋盤やマシニングセ
ンタ等の工作機械の制御装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a machine tool such as a lathe or a machining center for correcting a tool error.

〔従来の技術〕[Conventional technology]

旋盤等において、工具の刃先に磨耗等が生じたままで
加工を行うと、加工精度が低下する。そのため従来、数
値制御式の工作機械においては、刃先位置の基準位置と
の偏差を計測し、計測結果に応じて定量補正量の工具補
正を行っている。これにより、製品の公差内の加工精度
が得られるようにしている。
In a lathe or the like, if machining is performed while the cutting edge of the tool is worn or the like, machining accuracy is reduced. Therefore, conventionally, in a numerically controlled machine tool, a deviation of a cutting edge position from a reference position is measured, and a tool correction of a fixed amount of correction is performed according to the measurement result. Thereby, the processing accuracy within the tolerance of the product is obtained.

すなわち、計測偏差量が所定の補正不要領域内の場合
は工具補正を行わず、補正不要領域を超え、かつ補正可
能領域内の場合に定量補正量の工具補正を行っている。
補正可能領域を超える場合は、アラーム等を発して加工
を停止する。
That is, when the measured deviation amount is within the predetermined correction unnecessary area, tool correction is not performed, and when the measured deviation exceeds the correction unnecessary area and is within the correctable area, the tool correction of the fixed amount of correction is performed.
If it exceeds the correctable area, an alarm or the like is issued to stop the processing.

前記各領域のリミットデータおよび定量補正量データ
は、計測コントローラまたはプログラマブルコントロー
ラの固定パラメータとして与えている。
The limit data and the quantitative correction amount data of each area are given as fixed parameters of a measurement controller or a programmable controller.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前記のように各リミットデータおよび定量補正データ
が固定パラメータとなっているため、多品種生産に対し
て、製品の公差が多種ある場合は、各製品公差に毎に固
定パラメータの設定変更を行う必要があり、設定値の変
更操作や管理が煩雑という問題点がある。
As described above, since each limit data and quantitative correction data are fixed parameters, if there are many types of product tolerances for multi-product production, it is necessary to change the setting of the fixed parameters for each product tolerance. Therefore, there is a problem that the operation of changing and managing the set value is complicated.

この発明の目的は、工具補正の有無や、その補正量
を、加工プログラムで定めることができて、多品種少量
生産の場合の工具誤差補正が簡単に行える工作機械の制
御装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a machine tool control device which can determine the presence or absence of a tool correction and the amount of correction by a machining program and can easily correct a tool error in the case of high-mix low-volume production. is there.

〔課題を解決するための手段〕[Means for solving the problem]

この発明の構成を実施例に対応する第1図に基づいて
説明する。この工作機械の制御装置は、呼出し命令,工
具誤差の補正無し領域,補正有り領域,および定量補正
量が書き込まれた加工プログラム(7)と、この加工プ
ログラム(7)を実行する数値制御装置(1)に設けら
れて前記加工プログラム(7)の前記呼出し命令に応答
して前記加工プログラム(7)の前記補正無し領域,補
正有り領域,および定量補正量の各データを所定の記憶
手段(16)に記憶させる手段(14)とを設ける。また、
刃物台(10)上の工具(3)の刃先偏差量を計測する誤
差計測手段(6)と、この手段(6)の計測偏差量
(w)が前記記憶手段(16)に記憶された何れの領域に
あるかを判別する判別手段(20)とを設ける。この判別
手段(20)により、補正有り領域内であると判別される
と前記定量補正量だけ工具補正する工具補正手段(19)
を設ける。
The configuration of the present invention will be described based on FIG. 1 corresponding to the embodiment. The control device of the machine tool includes a machining program (7) in which a call command, an area without correction of a tool error, an area with correction, and a fixed amount of correction are written, and a numerical control device (7) for executing the processing program (7). 1), the data of the non-corrected area, the corrected area, and the quantitative correction amount of the machining program (7) are stored in predetermined storage means (16) in response to the calling command of the machining program (7). (14). Also,
An error measuring means (6) for measuring the edge deviation amount of the tool (3) on the tool post (10), and the measured deviation amount (w) of this means (6) is stored in the storage means (16). And a determination means (20) for determining whether or not the area exists. If the determination means (20) determines that the area is within the correction area, the tool correction means (19) performs tool correction by the fixed amount of correction.
Is provided.

〔作 用〕(Operation)

加工プログラム(7)に、その加工する製品の公差に
応じて、工具誤差の補正無し領域,補正有り領域,およ
び定量補正量の各データ(A)〜(D)を書き込んでお
く。前記加工プログラム(7)の実行に際して、これら
の各データ(A)〜(D)を記憶手段(16)に読み込
み、誤差計測手段(6)の計測偏差量(w)と前記各領
域のデータ(A),(B)とを比較して何れの領域にあ
るかを判別手段(20)で判別する。
In the machining program (7), data (A) to (D) of the non-correction area of the tool error, the area with the correction, and the quantitative correction amount are written according to the tolerance of the product to be processed. When the machining program (7) is executed, these data (A) to (D) are read into the storage means (16), and the measured deviation amount (w) of the error measurement means (6) and the data ( A) and (B) are compared to determine in which area the area is located by the determination means (20).

補正無し領域であると判別されると工具補正は行わ
ず、補正有り領域であると判別されると、定量補正量
(C),(D)だけ工具補正を行う。
If it is determined that the area is the area without correction, the tool is not corrected. If it is determined that the area is the area with correction, the tool is corrected by the quantitative correction amounts (C) and (D).

〔実施例〕〔Example〕

この発明の一実施例を第1図ないし第4図に基づいて
説明する。
One embodiment of the present invention will be described with reference to FIGS.

この制御装置は旋盤の制御に適用したものであり、数
値制御装置1とプログラマブルコントローラ2とを備え
ている。プログラマブルコントローラ2に、工具3の刃
先の基準位置との偏差を検出するセンサ4および機外計
測コントローラ5からなる誤差計測手段6が接続されて
いる。センサ4は作動トランスまたはタッチスイッチ等
からなる。
This control device is applied to the control of a lathe, and includes a numerical control device 1 and a programmable controller 2. The programmable controller 2 is connected to a sensor 4 for detecting a deviation of the cutting edge of the tool 3 from a reference position and an error measuring means 6 including an external measurement controller 5. The sensor 4 includes an operation transformer or a touch switch.

数値制御装置1は、NCテープから加工プログラム7を
演算制御部8で解析し、サーボドライバ9から刃物台10
の各軸のサーボモータ11に軸駆動指令を与えるものであ
る。演算制御部8で解析したシーケンス制御のコード等
は、プログラマブルコントローラ2に転送される。数値
制御装置1のメモリ(図示せず)の一部には、カスタム
マクロ14の登録部と、工具オフセットのデータを記憶す
るオフセットデータ記憶部13が設けられ、工具補正を行
う補正演算部12が演算制御部8に設けられている。
The numerical control device 1 analyzes the machining program 7 from the NC tape by the arithmetic and control unit 8, and sends a tool post 10 from the servo driver 9.
Is given to the servo motor 11 of each axis. The sequence control code and the like analyzed by the arithmetic control unit 8 are transferred to the programmable controller 2. A registration unit for a custom macro 14 and an offset data storage unit 13 for storing tool offset data are provided in a part of a memory (not shown) of the numerical controller 1, and a correction operation unit 12 for performing tool correction is provided. It is provided in the arithmetic and control unit 8.

加工プログラム7には、通常のプログラムの他に、第
2図に示すように補正無し領域のリミットデータA,補正
有り領域のリミットデータB,および定量補正量C,Dが書
き込まれると共に、カスタムマクロ14の読出し命令15が
書き込まれる。カスタムマクロ14には、前記各リミット
データA,Bおよび定量補正量C,Dのデータを、プログラマ
ブルコントローラ2の記憶手段16に読み込む各読み込み
命令17,18が登録されている。
As shown in FIG. 2, limit data A in the non-corrected area, limit data B in the corrected area, and quantitative correction amounts C and D are written in the machining program 7 as shown in FIG. Fourteen read instructions 15 are written. In the custom macro 14, read commands 17, 18 for reading the limit data A, B and the quantitative correction amounts C, D into the storage means 16 of the programmable controller 2 are registered.

プログラマブルコントローラ2には、さらに計測コン
トローラ5の計測偏差値wの記憶部と、第3図のシーケ
ンスを行う判別手段20および転送手段21のサブプログラ
ムが記憶されている。前記転送手段21と、オフセットデ
ータ記憶部13と、補正演算部12とで、工具補正手段19が
構成される。
The programmable controller 2 further stores a storage section for the measurement deviation value w of the measurement controller 5 and subprograms for the determination means 20 and the transfer means 21 for performing the sequence shown in FIG. The transfer unit 21, the offset data storage unit 13, and the correction calculation unit 12 constitute a tool correction unit 19.

つぎに、上記構成の動作を説明する。第4図は計測偏
差量wと各領域との関係を示し、5段階に区分してあ
る。補正無し領域aは絶対値がAの範囲とし、負小補正
有り領域b1は、Aよりも大きくてB未満の領域、負大補
正有り領域c1はB以上の領域とする。正小補正有り領域
b2は、−Aよりも小さく−B以上の領域、正大補正有り
領域c2は、−B未満の領域とする。
Next, the operation of the above configuration will be described. FIG. 4 shows the relationship between the measurement deviation amount w and each area, which is divided into five stages. The uncorrected region a has an absolute value in the range of A, the negative / small correction region b1 is a region larger than A and smaller than B, and the negative / large correction region c1 is a region B or larger. Area with correction
b2 is a region smaller than -A and equal to or larger than -B, and the region c2 with positive correction is a region smaller than -B.

第2図の加工プログラム7には、前記A,Bの値を、各
々補正無し領域リミットデータA、および補正有り領域
リミットデータBとして書き込む。また、正負の小補正
有り領域b1,b2の場合に工具補正すべき定量補正量の絶
対値を定量補正量Cとして、正負の大補正有り領域c1,c
2の場合に工具補正すべき定量補正量の絶対値を定量補
正量Dとして各々書き込む。前記A,Bの値およびC,Dの値
は、加工プログラム7で加工しようとする製品の公差に
応じて適宜定める。例えば、C,Dの値は、各々2μ,10μ
とする。
In the machining program 7 in FIG. 2, the values of A and B are written as uncorrected area limit data A and corrected area limit data B, respectively. In the case of the positive and negative small correction areas b1 and b2, the absolute value of the quantitative correction amount to be tool-corrected is defined as the quantitative correction amount C, and the positive and negative large correction areas c1 and c2 are set.
In the case of 2, the absolute value of the quantitative correction amount to be tool-corrected is written as the quantitative correction amount D. The values of A and B and the values of C and D are appropriately determined according to the tolerance of a product to be processed by the processing program 7. For example, the values of C and D are 2μ and 10μ, respectively.
And

加工プログラム7の実行に際して、数値制御装置1の
カスタムマクロ14により、加工プログラム7の各リミッ
トデータA,Bと、定量補正量C,Dとがプログラマブルコン
トローラ2の記憶手段16に読み込まれる。プログラマブ
ルコントローラ2は、計測手段6で計測を行ったとき
に、前記リミットデータA,Bと、計測コントローラ5の
計測偏差量wとを比較し、つぎの5段階の判別を行う。
When the machining program 7 is executed, the limit data A and B and the quantitative correction amounts C and D of the machining program 7 are read into the storage means 16 of the programmable controller 2 by the custom macro 14 of the numerical controller 1. When the measurement is performed by the measuring means 6, the programmable controller 2 compares the limit data A and B with the measurement deviation amount w of the measurement controller 5, and performs the following five-stage determination.

すなわち、第4図を補正無し領域a、負小補正有り領
域b1、正小補正有り領域b2、負大補正有り領域c1、正大
補正有り領域c2の何れかの領域に計測偏差量wが該当す
るかを判別する。この判別結果に応じて、定量補正量C,
Dを数値制御装置1のオフセットデータ記憶部13に、加
工プログラム7の待ち合わせ指令のMコードに同期して
転送する。
That is, in FIG. 4, the measurement deviation amount w corresponds to any of the non-correction area a, the negative small correction area b1, the positive / small correction area b2, the negative large correction area c1, and the positive large correction area c2. Is determined. According to the result of this determination, the quantitative correction amount C,
D is transferred to the offset data storage unit 13 of the numerical controller 1 in synchronization with the M code of the waiting command of the machining program 7.

第3図はこの動作の流れ図である。補正無し領域aの
場合には、零の値をオフセットデータ記憶部13に転送す
る(S1,S5)。負小補正有り領域b1および正小補正有り
領域b2の場合は、負および正の値の定量補正量Cを各々
オフセットデータ記憶部13に転送する(S2,S3,S6,S
7)。負大補正有り領域c1および正大補正有り領域c2の
場合は、負および正の値の定量補正量Dを各々オフセッ
トデータ記憶部13に転送する(S4,S8,S9)。
FIG. 3 is a flowchart of this operation. In the case of the uncorrected area a, a value of zero is transferred to the offset data storage unit 13 (S1, S5). In the case of the negative small correction area b1 and the positive small correction area b2, the negative and positive quantitative correction amounts C are transferred to the offset data storage unit 13 (S2, S3, S6, S
7). In the case of the negative large correction area c1 and the positive large correction area c2, negative and positive quantitative correction amounts D are transferred to the offset data storage unit 13 (S4, S8, S9).

加工時に際して、数値制御装置1は、補正演算部12に
おいてオフセッタデータ記憶部13の値により、加工プロ
グラム7の送り量データに対する工具補正を行い、サー
ボドライバ9に出力する。
At the time of machining, the numerical control device 1 performs a tool compensation for the feed amount data of the machining program 7 based on the value of the offset data storage unit 13 in the compensation operation unit 12 and outputs the result to the servo driver 9.

このように、製品公差にい応じた工具補正の有無判断
や定量補正量C,Dのデータを加工プログラム7で管理す
ることができる。そのため、多品種少量生産の場合で
も、工具誤差補正を容易に、かつ誤りを生じることなく
行える。
In this way, the machining program 7 can manage the data of the quantitative correction amounts C and D and the determination of the presence or absence of the tool correction according to the product tolerance. Therefore, even in the case of high-mix low-volume production, tool error correction can be performed easily and without errors.

なお、前記実施例では正負の大補正有り領域c1,c2の
場合に工具補正を行うようにしたが、大補正有り領域c
1,c2の場合は、計測偏差量wが正常加工範囲から正また
は負の範囲に外れていると判断し、その旨の報知を行っ
て旋盤の動作を停止するようにしても良い。
In the above embodiment, the tool correction is performed in the positive and negative large correction areas c1 and c2.
In the case of 1, c2, it may be determined that the measured deviation amount w is out of the normal processing range to the positive or negative range, and the operation of the lathe may be stopped by reporting the fact.

また、補正有り領域をさらに多数の段階に分け、各段
階ごとに定量補正量を設定しても良い。
Alternatively, the area with correction may be further divided into a number of stages, and a quantitative correction amount may be set for each stage.

〔発明の効果〕〔The invention's effect〕

この発明の工作機械の制御装置は、加工プログラムに
工具誤差の補正無し領域,補正有り領域,および定量補
正量の各データを書き込んでおき、これらの領域データ
と誤差計測手段の計測偏差量とを比較して前記定量補正
量の工具補正を行うように構成したため、製品公差に応
じた工具補正の有無判断や定量補正量のデータを加工プ
ログラムで管理することができる。そのため、多品種少
量生産の場合でも、工具誤差補正を容易に、かつ誤りを
生じることなく行えるという効果がある。また、補正有
り領域を複数の領域に分けて、定量補正量も複数設けた
場合、より正確で細かい補正ができ、よって、加工精度
が向上する。
The control device for a machine tool according to the present invention writes the data of the non-correction area of the tool error, the area with the correction, and the quantitative correction amount in the machining program, and compares these area data with the measurement deviation amount of the error measuring means. Since the tool correction of the fixed amount of correction is performed by comparison, the presence / absence of the tool correction according to the product tolerance and the data of the fixed amount of correction can be managed by the machining program. Therefore, there is an effect that tool error correction can be performed easily and without error even in the case of high-mix low-volume production. In addition, when the area with correction is divided into a plurality of areas and a plurality of quantitative correction amounts are provided, more accurate and fine correction can be performed, thereby improving processing accuracy.

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

第1図はこの発明の一実施例の構成説明図、第2図はそ
の加工プログラムの説明図、第3図は同じくその判断手
段および転送手段の動作の流れ図、第4図は同じくその
判断領域の説明図である。 1……数値制御装置、2……プログラマブルコントロー
ラ、6……誤差計測手段、7……加工プログラム、12…
…補正演算部、13……オフセットデータ記憶部、14……
カスタムマクロ、16……記憶手段、19……工具補正手
段、20……判別手段、21……転送手段、a……補正無し
領域、b1……負小補正有り領域、b2……正小補正有り領
域、c1……負大補正有り領域、c2……正大補正有り領
域、A,B……リミットデータ、C,D……定量補正量、w…
…計測偏差量
FIG. 1 is an explanatory view of the configuration of one embodiment of the present invention, FIG. 2 is an explanatory view of a machining program, FIG. 3 is a flowchart of the operation of the judging means and transfer means, and FIG. FIG. 1 Numerical control device 2 Programmable controller 6 Error measuring means 7 Processing program 12
... Correction operation unit, 13 ... Offset data storage unit, 14 ...
Custom macro, 16 storage means, 19 tool correction means, 20 determination means, 21 transfer means, a area without correction, b1 area with negative / low correction, b2 positive / small correction Existence area, c1 ... area with large negative correction, c2 ... Area with positive large correction, A, B ... limit data, C, D ... quantitative correction amount, w ...
… Measurement deviation

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】呼出し命令,工具誤差の補正無し領域,補
正有り領域,および定量補正量が書き込まれた加工プロ
グラムと、この加工プログラムを実行する数値制御装置
に設けられて前記加工プログラムの前記呼出し命令に応
答して前記加工プログラムの前記補正無し領域,補正有
り領域,および定量補正量の各データを所定の記憶手段
に記憶させる手段と、刃物台上の工具の刃先偏差量を計
測する誤差計測手段と、この手段の計測偏差量が前記記
憶手段に記憶された何れの領域にあるかを判別する判別
手段と、この手段の判別結果により補正有り領域と判別
されると前記定量補正量だけ工具補正する工具補正手段
とを備えた工作機械の制御装置。
1. A machining program in which a calling command, an area without correction of a tool error, an area with correction, and a fixed amount of correction are written, and the calling of the machining program provided in a numerical control device for executing the machining program. Means for storing, in response to a command, the data of the uncorrected area, the area with correction, and the quantitative correction amount of the machining program in a predetermined storage means, and an error measurement for measuring an edge deviation amount of the tool on the tool post. Means, a discriminating means for discriminating in which area the measured deviation amount of this means is stored in the storage means, and a tool by the quantitative correction amount when discriminated as an area with correction by the discrimination result of this means. A control device for a machine tool, comprising: a tool correcting means for performing correction.
【請求項2】前記補正有り領域を複数の領域に分け、前
記定量補正量は、前記分けられた領域の大小に応じて複
数設けられている請求項1記載の工作機械の制御装置。
2. The control device for a machine tool according to claim 1, wherein the area with correction is divided into a plurality of areas, and a plurality of the quantitative correction amounts are provided according to the size of the divided areas.
JP2158351A 1990-06-15 1990-06-15 Machine tool control device Expired - Fee Related JP2903651B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2158351A JP2903651B2 (en) 1990-06-15 1990-06-15 Machine tool control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2158351A JP2903651B2 (en) 1990-06-15 1990-06-15 Machine tool control device

Publications (2)

Publication Number Publication Date
JPH0452803A JPH0452803A (en) 1992-02-20
JP2903651B2 true JP2903651B2 (en) 1999-06-07

Family

ID=15669756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2158351A Expired - Fee Related JP2903651B2 (en) 1990-06-15 1990-06-15 Machine tool control device

Country Status (1)

Country Link
JP (1) JP2903651B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5931289B2 (en) 2014-04-16 2016-06-08 三菱電機株式会社 Command value generator
JP6574915B1 (en) * 2018-05-15 2019-09-11 東芝機械株式会社 Workpiece processing method and work piece processing machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5336192B2 (en) * 1972-10-30 1978-09-30
JPS6130357A (en) * 1984-07-23 1986-02-12 Yamazaki Mazak Corp Working control in nc machine tool

Also Published As

Publication number Publication date
JPH0452803A (en) 1992-02-20

Similar Documents

Publication Publication Date Title
US5066902A (en) Automatic nominal data setting method in a visual sensor system
KR910006499B1 (en) Numerical controller
US5093608A (en) Motor control apparatus
JP2903651B2 (en) Machine tool control device
EP0797081A2 (en) Automatic load measuring device
KR0168068B1 (en) Positioning information reader & reading method
US4495561A (en) Numerical control method
EP0423351A1 (en) Method of sliding mode control
JPH0646848U (en) Tool breakage detector
JP2574228Y2 (en) Lathe in-machine measuring device
JPH0310742A (en) Absolute positioning method
WO1982004005A1 (en) A spindle rotating speed checking method
EP0556412A1 (en) Method of controlling feed-forward of servo motor
JP2686099B2 (en) NC device of bending machine
JPS58102653A (en) Alarm display method of numerical control type machine tool
JPH034921B2 (en)
JPH01270784A (en) Controller for motor
JPH06104291B2 (en) Turret turning control system and its equipment for numerically controlled lathe
JPH0643018B2 (en) Measurement correction device with quantitative correction function
JPH0372428B2 (en)
JPH04114207A (en) Work data preparing system for nc work machine
JPH0675004U (en) Numerical control device with double check function of machine origin
JPH04184504A (en) Numerical controller with automatic tool offsetting amount setting function
JPS62152647A (en) Tool tip measurement
JPH0264804A (en) Numerical controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080326

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100326

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees