JPH056847B2 - - Google Patents

Info

Publication number
JPH056847B2
JPH056847B2 JP5707585A JP5707585A JPH056847B2 JP H056847 B2 JPH056847 B2 JP H056847B2 JP 5707585 A JP5707585 A JP 5707585A JP 5707585 A JP5707585 A JP 5707585A JP H056847 B2 JPH056847 B2 JP H056847B2
Authority
JP
Japan
Prior art keywords
data
tool
value
coordinate system
workpiece
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
JP5707585A
Other languages
Japanese (ja)
Other versions
JPS61213712A (en
Inventor
Hidemi Tamura
Tokuyasu Akai
Masahito Okuyama
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 JP5707585A priority Critical patent/JPS61213712A/en
Publication of JPS61213712A publication Critical patent/JPS61213712A/en
Publication of JPH056847B2 publication Critical patent/JPH056847B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 (1) 産業上の利用分野 本発明は工作機械特に複数刃物台を有したNC
旋盤でワークを複数の刃物台に取付けた工具によ
り旋削加工例えばワークの端面加工(以下胴巾加
工という)した後、一方の刃物台に取付けたタツ
チセンサでワークの加工端面の位置を計測し、そ
の計測データを他方の刃物台の加工用補正データ
としてデータ転送することを可能とした複数刃物
台の計測装置に関する。
[Detailed description of the invention] (1) Field of industrial application The present invention is applicable to machine tools, especially NCs having multiple turrets.
After turning a workpiece on a lathe using tools mounted on multiple tool posts, for example, machining the end face of the workpiece (hereinafter referred to as body width processing), the position of the machined end face of the workpiece is measured with a touch sensor mounted on one of the tool posts, and the The present invention relates to a measuring device for a plurality of turrets that enables data transfer of measurement data as processing correction data for another turret.

(2) 従来の技術 従来、工作機械特に複数刃物台を有したNC旋
盤で、ワークの胴巾加工を複数の刃物台に取付け
た工具により施すことは知られている。
(2) Conventional technology It has been known that machine tools, particularly NC lathes having multiple turrets, process the body width of a workpiece using tools attached to multiple turrets.

しかも、そのワークの胴巾加工をした後、ワー
クの胴巾を計測する際は、夫々個々の刃物台に取
付けたタツチセンサにより計測し、さらにその計
測データにより工具の補正量を補正していた。
Moreover, when measuring the body width of the workpiece after processing the body width of the workpiece, it was measured using a touch sensor attached to each individual tool post, and the amount of correction of the tool was further corrected based on the measurement data.

(3) 発明が解決しようとする問題点 しかしながら、上述の計測手段では、タツチセ
ンサを複数設置しなければならず、不経済であ
る。また、単にタツチセンサを一つにして計測し
た場合には、個々の刃物台の加工プログラムデー
タに対し計測した時点で工具補正量を作業者が相
互の関連を考慮して補正入力する必要があり、非
常に手間がかかりミスも多くさらにそれ相当の時
間を要するため、非能率であつた。
(3) Problems to be Solved by the Invention However, the above-mentioned measuring means requires a plurality of touch sensors to be installed, which is uneconomical. In addition, if measurements are simply made using a single touch sensor, the operator must input the tool correction amount at the time of measurement for the machining program data of each turret, taking into account the mutual relationship. It was inefficient because it was extremely time-consuming, involved many mistakes, and required a considerable amount of time.

(4) 目的 本発明の目的は上記事情に鑑み、問題を解決す
るために提案されたものであつて、相互の補正デ
ータの送受信機能を備えることにより計測時の手
間と時間を省き、計測の能率を向上せしめるよう
にした複数刃物台の計測装置を提供することにあ
る。
(4) Purpose The purpose of the present invention is to solve the problem in view of the above-mentioned circumstances.The purpose of the present invention is to save time and effort during measurement by providing a mutual correction data transmission/reception function. An object of the present invention is to provide a measuring device for multiple turrets that improves efficiency.

(5) 問題点を解決するための手段と作用 本発明は上記の目的を達成するために、単一ワ
ークを加工するために直交する2平面内を移動可
能な二つの刃物台を備えたNC工作機械におい
て、前記二つの刃物台のうちの一方の刃物台に取
付け、ワークの端部を計測し、ワークの回転軸方
向の原点からの距離を算出するための計測手段
と、ワークの加工箇所の基準値およびその公差を
設定する入力手段と、この入力手段により一方の
刃物台の加工座標値が設定される第1の座標系設
定データ手段と、前記計測手段でワーク加工後の
加工箇所を計測し、その値を記憶する座標値デー
タ手段と、この座標値データ手段と前記第1の座
標系設定データとの差値を求める第1の演算手段
と、この第1の演算手段で演算された差値と予め
設定されている基準公差とを比較する比較手段
と、この比較手段で比較して、前記差値が公差値
より小さく加工継続条件を満す場合に、前記第1
の演算手段で求めた差値を前記第1の座標系設定
データ手段にデータを転送してデータの書換えの
ための演算を行う第2の演算手段と、前記二つの
刃物台の打ちの他方の刃物台の加工のために設定
される第2の座標系設定データ手段と、前記第1
の演算手段で求めた差値を他方の刃物台の加工の
ためにデータ転送し、前記第2の座標系設定デー
タ手段のデータを書換える修正演算をする第3の
演算手段と、前記第1の演算手段で求めた差値を
他方の刃物台の工具補正値として記憶する工具補
正データ手段と、前記計測手段により計測したデ
ータ、予め設定された基準データおよび演算手段
により求められた修正データ等を前記各手段間に
データ転送して数値制御する中央制御手段とから
なり、一方の刃物台の一つの計測データに基づ
き、この計測値により修正値が他方の刃物台の修
正値となるようにして、両刃物台の座標系設定デ
ータを同じ修正値で修正可能にしたことを特徴と
する複数刃物台の計測装置であり、本発明の計測
装置で計測すると、計測時の手間と時間が従来よ
りも相当短縮され、さらに計測の能率を向上せし
める。
(5) Means and operation for solving the problems In order to achieve the above object, the present invention provides an NC equipped with two tool rests movable in two orthogonal planes in order to process a single workpiece. In a machine tool, a measuring means is attached to one of the two tool rests to measure the end of the workpiece and calculate the distance from the origin in the rotational axis direction of the workpiece, and a processing location of the workpiece. input means for setting reference values and their tolerances; first coordinate system setting data means for setting the machining coordinate values of one of the tool posts by the input means; a coordinate value data means for measuring and storing the measured value; a first calculating means for calculating a difference value between the coordinate value data means and the first coordinate system setting data; a comparison means for comparing the difference value and a preset reference tolerance, and when the difference value is smaller than the tolerance value and satisfies the machining continuation condition,
a second calculation means that transfers the difference value obtained by the calculation means to the first coordinate system setting data means and performs a calculation for rewriting the data; a second coordinate system setting data means set for machining the tool post; and the first
a third calculating means for performing a correction calculation for transferring the difference value obtained by the calculating means for processing the other tool post and rewriting the data in the second coordinate system setting data means; a tool correction data means for storing the difference value obtained by the calculation means of the other tool post as a tool correction value of the other tool post, the data measured by the measurement means, preset reference data, correction data obtained by the calculation means, etc. and a central control means for numerical control by transferring data between the respective means, and based on the measurement data of one of the turrets, the correction value is set as the correction value of the other turret based on this measurement value. This is a measuring device for multiple tool turrets, which is characterized in that the coordinate system setting data of both tool turrets can be corrected with the same correction value, and when measuring with the measuring device of the present invention, the time and effort required for measurement is reduced compared to conventional methods. It is considerably shorter than that, further improving measurement efficiency.

(6) 実施例 以下、本発明の一実施態様を図面に基づいて詳
細に説明する。
(6) Example Hereinafter, one embodiment of the present invention will be described in detail based on the drawings.

第1図は本発明に適用される複数刃物台を有し
たNC旋盤の正面図、第2図は第1図のI矢視側
面図である。
FIG. 1 is a front view of an NC lathe having multiple tool rests to which the present invention is applied, and FIG. 2 is a side view taken in the direction of arrow I in FIG.

第1図および第2図において、水平ベツド1上
の左側に主軸台2が載置され、該主軸台2には主
軸3が軸着されている。該主軸3にはワークWを
把持するチヤツク4が取付けられている。
In FIGS. 1 and 2, a headstock 2 is placed on the left side of a horizontal bed 1, and a main spindle 3 is pivotally attached to the headstock 2. As shown in FIGS. A chuck 4 for gripping a workpiece W is attached to the main shaft 3.

主軸3はモータ5により、該モータ5に軸着さ
れたプーリー6、ベルト7並びに主軸3の後部に
軸着されたプーリー8Tを介して所定の回転数
で、回転される。
The main shaft 3 is rotated by the motor 5 at a predetermined rotational speed via a pulley 6 and a belt 7 that are mounted on the motor 5 and a pulley 8T that is mounted on the rear of the main shaft 3.

水平ベツド1上にはスライドベツド9が載置さ
れ、さらに該スラントベツド9上の右側には心押
し台10が載置され、Z軸方向に移動される。
A slide bed 9 is placed on the horizontal bed 1, and a tailstock 10 is placed on the right side of the slant bed 9 and is moved in the Z-axis direction.

心押し台10の前面には心押し軸12が挿着さ
れ、該心押し軸12にはセンタ13が取付けら
れ、ワークWを端面中心を押し付ける。
A tailstock shaft 12 is inserted into the front surface of the tailstock 10, and a center 13 is attached to the tailstock shaft 12 to press the work W against the center of the end surface.

心押し台10の後部上には右用サドル14と左
用サドル15が載置され、夫々サーボモータ1
6,17によりZ軸方向に移動される。
A right saddle 14 and a left saddle 15 are placed on the rear part of the tailstock 10, and each is driven by a servo motor 1.
6 and 17 in the Z-axis direction.

右用サドル14上にはクロススライド18、左
用サドル15上にはクロスライド19が載置さ
れ、該クロススライド18,19の夫々には右刃
物台20,左刃物台21が載置される。右刃物台
20および左刃物台21は夫々サーボモータ22
および23によりX軸方向に移動される。
A cross slide 18 is placed on the right saddle 14, a cross slide 19 is placed on the left saddle 15, and a right tool rest 20 and a left tool rest 21 are placed on the cross slides 18 and 19, respectively. The right tool rest 20 and the left tool rest 21 are each driven by a servo motor 22.
and 23 in the X-axis direction.

右刃物台20および左刃物台21の夫々の前面
にはタレツト24および25が軸着され、図略の
駆動装置により旋回割出しされる。
Turrets 24 and 25 are pivoted to the front surfaces of the right tool rest 20 and the left tool rest 21, respectively, and are rotated and indexed by a drive device (not shown).

タレツト24および25には複数の工具26が
放射状に取付けられ、さらに計測装置である振込
み式のタツチセンサ27が右刃物台20に取付け
られている。なお、右刃物台20および左刃物台
21は夫々、単独の加工プログラムを有してい
る。
A plurality of tools 26 are attached radially to the turrets 24 and 25, and a transfer type touch sensor 27, which is a measuring device, is attached to the right tool rest 20. Note that the right tool rest 20 and the left tool rest 21 each have an independent machining program.

主軸3の先端に取付けられたチヤツク4でワー
クWを把持し、心押し軸12の前面に取付けたセ
ンタ13でワークWの端面を押し付け、モータ5
により主軸3を回転せしめてワークWは回転され
る。右刃物台20,左刃物台21のタレツト2
4,25に取付けられた工具26で所定の胴巾加
工の旋削が施される。
The chuck 4 attached to the tip of the main spindle 3 grips the workpiece W, and the center 13 attached to the front of the tailstock spindle 12 presses the end surface of the workpiece W, and the motor 5
The workpiece W is rotated by rotating the main shaft 3. Turret 2 of right turret 20 and left turret 21
A tool 26 attached to parts 4 and 25 performs turning for a predetermined body width.

ワークWの胴巾加工を施し、さらに本発明の計
測手段で計測する原理を第3図に基づいて説明す
る。
The principle of performing girth processing on the workpiece W and then measuring it with the measuring means of the present invention will be explained based on FIG. 3.

第3図において、主軸台2の前面に軸承された
主軸3に取付けられたチヤツク4でワークWを把
持し、ワークWの他端面は心押し軸12に取付け
られたセンタ13で押し付けられる。
In FIG. 3, a workpiece W is gripped by a chuck 4 attached to a main spindle 3 supported on the front surface of the headstock 2, and the other end surface of the workpiece W is pressed by a center 13 attached to a tailstock spindle 12.

右刃物台20のタレツト24に取付けられた工
具26をX,Z軸方向に移動せしめて、ワークW
の端面部Wz0とWz1の旋削加工を予め組込んだ加
工プログラムにより施す。また、左刃物台21の
タレツト25に取付けられた工具26をX,Z軸
方向に移動せしめて、ワークWの端面部Wz2の旋
削加工を予め組込んだ加工プログラムにより施
す。
The tool 26 attached to the turret 24 of the right tool rest 20 is moved in the X and Z axis directions, and the workpiece W is
Turning of the end face portions W z0 and W z1 is performed using a pre-installed machining program. Further, the tool 26 attached to the turret 25 of the left tool rest 21 is moved in the X and Z axis directions, and turning is performed on the end face portion Wz2 of the workpiece W according to a pre-installed machining program.

ワークWの端面部であるWz0,Wz1およびWz2
Wz3を夫々右刃物台および左刃物台のタレツトに
取付けられた工具で旋削加工を施した後、右刃物
台のタレツトに取付けられたタツチセンサ27を
振り込んで、まず、ワークWの端面部Wz0(プロ
グラム原点pr)にタツチセンサ27を接触せし
めて右刃物台20の機械原点nrからの距離Zpr
を計測する。この距離Zprは第1の座標系設定デ
ータである座標系設定データとなる。前もつてワ
ークWの端面部Wzpにおける座標系設定値Zpr′が
入力されているので、その差値である△Zprは、
△Zpr=Zpr−Zpr′となる。また、ワークWの端面
部Wzpにおける前回の座標系設定値△Zpr′の公差
値△Zpも前もつて入力されているから、これらの
公差値△Zprと△Zpとを比較し、△Zpr>△Zpの場
合には、公差範囲外となるのおで、原点公差不良
としてフイードバツクされる。△Zpr≦△Zpの場
合には公差範囲内となるのおで、△Zpr分だけ座
標系設定データをシフトさせる。また、この場合
には左刃物台21に取付けた工具26で端面部
Wz2を旋削加工しており、しかも、端面部Wz2
計測は右刃物台20のタレツト24に取付けたタ
ツチセンサ27で行なう。従つて、右刃物台20
の座標系設定データを△Zpr分だけシフトしてい
るので、左刃物台21の座標系設定データもその
△Zpr分だけシフトする必要がある。すなわち、
左刃物台21の機械原点をnlとし、機械原点
nlからワークWの端面部Wz3(プログラム原点pl
までの距離をZplは前回の座標系設定値をZpl′とす
れば、シフトされた座標系設定値はZpl=Zpl′+Zpr
となる。
W z0 , W z1 and W z2 , which are the end faces of the workpiece W,
After turning W z3 with the tools attached to the turrets of the right and left tool rests, the touch sensor 27 attached to the turrets of the right tool post is transferred, and the end face W z0 of the workpiece W is first turned. Distance Z pr from the mechanical origin nr of the right tool rest 20 by touching the touch sensor 27 to (program origin pr )
Measure. This distance Z pr becomes coordinate system setting data that is first coordinate system setting data. Since the coordinate system setting value Z pr ′ at the end surface W zp of the workpiece W has been input before, the difference value △Z pr is
△Z pr = Z pr −Z pr ′. In addition, since the tolerance value △Z p of the previous coordinate system setting value △Z pr ′ at the end surface W zp of the workpiece W has been input previously, these tolerance values △Z pr and △Z p are compared. However, if △Z pr > △Z p , it is outside the tolerance range and is fed back as a defective origin tolerance. If △Z pr ≦△Z p , it is within the tolerance range, so the coordinate system setting data is shifted by △Z pr . In this case, the tool 26 attached to the left tool rest 21 can be used to cut the end face.
Wz2 is machined by turning, and the end face Wz2 is measured by a touch sensor 27 attached to the turret 24 of the right tool post 20. Therefore, the right tool rest 20
Since the coordinate system setting data of the left tool rest 21 is shifted by ΔZ pr , the coordinate system setting data of the left tool post 21 also needs to be shifted by the amount of ΔZ pr . That is,
Let the mechanical origin of the left turret 21 be nl , and the mechanical origin
From nl to end face part W z3 of workpiece W (program origin pl )
If the distance to Z pl is the previous coordinate system setting value Z pl ′, then the shifted coordinate system setting value is Z pl = Z pl ′ + Z pr
becomes.

ワークWの端面部Wzpを△Zprだけシフトし、こ
の位置をプログラム原点plとし、タツチセンサ
27は、胴部Wz1および胴部Wz2のワーク座標系
における位置データZ1およびZ2を計測する。
The end face W zp of the work W is shifted by ΔZ pr , this position is set as the program origin pl , and the touch sensor 27 measures position data Z 1 and Z 2 of the body W z1 and the body W z2 in the work coordinate system. do.

また、ワークWの胴部Wz1,Wz2におけるプロ
グラム原点prからのプログラム上の座標値と、
その公差値は前もつて設定し、Z10,Z20および△
Z10、△Z20を入力してある。
In addition, the coordinate values on the program from the program origin pr in the body parts W z1 and W z2 of the workpiece W,
The tolerance values were previously set, Z 10 , Z 20 and △
Z 10 and △Z 20 are input.

計測値Z1,Z2とプログラム上の座標値Z10,Z20
との差値△Z1,△Z2は、 △Z1=Z1−Z10 △Z2=Z2−Z20 となる。而してこれらの△Z1,△Z2が夫々の公差
値△Z10,Z20と比較し、△Z1>△Z10,△Z2>Z20
であればアラーム信号を出し、不良フラグをたて
る。また△Z1≦△Z10,△Z2≦△Z20であれば、公
差OKのフラグをたてる。△Z1は右刃物台20の
加工データに対し工具補正を動作せしめるように
する。また△Z2は、右刃物台20からデータセツ
ト信号を発して転送し、左刃物台21にデータセ
ツト持ち信号で受け取つて、左刃物台21の加工
データに対し、工具補正を動作せしめるようにす
る。
Measured values Z 1 , Z 2 and program coordinate values Z 10 , Z 20
The difference values △Z 1 and △Z 2 are as follows: △Z 1 =Z 1 -Z 10 △Z 2 =Z 2 -Z 20 . Then, these △Z 1 and △Z 2 are compared with the respective tolerance values △Z 10 and Z 20 , and △Z 1 > △Z 10 , △Z 2 > Z 20
If so, an alarm signal is issued and a defect flag is set. Also, if △Z 1 ≦△Z 10 and △Z 2 ≦△Z 20 , a tolerance OK flag is set. ΔZ 1 causes tool correction to be performed on the machining data of the right tool post 20. In addition, △Z 2 is configured to emit and transmit a data set signal from the right tool rest 20, receive it as a data set signal to the left tool rest 21, and operate tool correction on the machining data of the left tool rest 21. do.

次に、本発明の主要部である計測手段を第4図
の制御ブロツク図に基づいて説明する。第4図に
おいて、右刃物台20の加工プログラムデータが
CPU100に入力され、右刃物台20のR加工
プログラム・メモリ103に一時格納されて記憶
される。またタツチセンサ(TS)27の計測動
作プログラムデータは、R計測動作プログラム・
メモリ104に一時格納されて記憶される。加工
すべきワークWの端面部Wzpの前回の座標系設定
データZpr′がメモリ107に記憶されている。胴
部Wz1の第1プログラム座標値Z10および胴部Wz2
の第2プログラム座標値Z20、さらの夫々の公差
値である原点公差値△Zp,第1プログラム公差値
△Z10,および第2プログラム公差値△Z20は夫々
画面付キーボード101からその入力回路101
aを介して夫々のメモリ108,109,11
0,111および112に一旦記憶される。
Next, the measuring means which is the main part of the present invention will be explained based on the control block diagram of FIG. In Fig. 4, the machining program data for the right tool post 20 is
It is input to the CPU 100 and temporarily stored in the R machining program memory 103 of the right tool post 20. In addition, the measurement operation program data of the touch sensor (TS) 27 is the R measurement operation program.
It is temporarily stored and stored in the memory 104. The previous coordinate system setting data Z pr ' of the end face portion W zp of the workpiece W to be machined is stored in the memory 107 . The first program coordinate value Z 10 of the torso W z1 and the torso W z2
The second program coordinate value Z 20 , the origin tolerance value ΔZ p which is the respective tolerance value, the first program tolerance value ΔZ 10 , and the second program tolerance value ΔZ 20 are obtained from the screen keyboard 101, respectively. Input circuit 101
each memory 108, 109, 11 via a
0, 111 and 112.

さらに、送出する位置送出手段である位置制御
回路補間路102から右刃物台20の移動に応じ
た機械原点からの現在値Znをメモリ113およ
びプログラム原点prからのワーク座標系現在値
Zwをメモリ114に常時取り込む。
Further, from the position control circuit interpolation path 102, which is a position sending means, the current value Z n from the machine origin corresponding to the movement of the right tool post 20 is sent to the memory 113 and the work coordinate system current value from the program origin pr .
Z w is always read into the memory 114.

右刃物台20のR加工プログラム・メモリ10
3からRプログラムセツトデータ115を受ける
と左刃物台21のセツト回路152に転送され、
Lプログラム持ちデータ154が入力されていれ
ば、該セツト回路152によりL加工プログラ
ム・メモリ150に入つているL加工プログラム
データが始動し、左刃物台21は作動する。
Right turret 20 R machining program memory 10
When the R program set data 115 is received from 3, it is transferred to the set circuit 152 of the left tool post 21.
If the L program data 154 is input, the L machining program data stored in the L machining program memory 150 is started by the set circuit 152, and the left tool rest 21 is operated.

L加工プログラム・メモリ150からL加工プ
ログラムセツトデータ153を受けると、右刃物
台20のセツト回路106に転送され、Rプログ
ラム持ちデータ116が入力されていれば、該セ
ツト回路106によりR加工プログラム・メモリ
103に入つている右加工プログラムデータが始
動し右刃物台20は作動する。従つて、R加工プ
ログラムとL加工プログラムの始動は、相互の連
動によつて行われる。
When the L machining program set data 153 is received from the L machining program memory 150, it is transferred to the set circuit 106 of the right tool post 20, and if the R program holding data 116 is input, the R machining program is set by the set circuit 106. The right machining program data stored in the memory 103 is started and the right tool rest 20 is operated. Therefore, the R machining program and the L machining program are started in conjunction with each other.

まず、タツチセンサ27をワークWの端面部
Wzpに当てることにより、Wzpタツチ信号を発し、
此のWzpタツチ信号で機械座標系現在値Znのメモ
リ113に取り込まれている現在値Znはアン
ド・ゲート117を通過し、原点座標値Zprとし
てメモリ118に記憶される。
First, place the touch sensor 27 on the end surface of the workpiece W.
By hitting W zp , a W zp touch signal is emitted,
The current value Z n of the machine coordinate system current value Z n stored in the memory 113 by this W zp touch signal passes through the AND gate 117 and is stored in the memory 118 as the origin coordinate value Z pr .

すでにメモリ107に記憶されている前回の座
標系設定データZpr′とメモリ118に記憶された
原点座標値Zprが演算部119で△Zpr=Zpr
Zpr′の演算処理を行う。演算部119で演算処理
された△Zprとメモリ110に記憶されている原
点交差値△Zpを比較器120および121に取り
込み、比較器120で△Zpr≦△Zpの比較判断が
行われ、比較器121では、△Zpr>△Zpの比較
判断が行われる。
The previous coordinate system setting data Z pr ' already stored in the memory 107 and the origin coordinate value Z pr stored in the memory 118 are calculated by the calculation unit 119 as △Z pr = Z pr
Performs arithmetic processing of Z pr ′. The comparators 120 and 121 take the ΔZ pr processed by the arithmetic unit 119 and the origin crossing value ΔZ p stored in the memory 110, and the comparator 120 compares and determines ΔZ pr ≦ΔZ p . The comparator 121 compares and determines that ΔZ pr >ΔZ p .

△Zpr>△Z0の判断がなされると、公差範囲外
としてアラーム信号を出力し原点公差不良フラグ
がたてられる。
If it is determined that △Z pr > △Z 0 , an alarm signal is output as it is outside the tolerance range, and an origin tolerance defect flag is set.

比較器120で△Zpr≦△Zpの条件を満たすと
そのビツト信号により、演算部119からの△
Zprはアンド・ゲート122を通過しデータセツ
ト信号によりアンド・ゲート124を通過して、
左刃物台21の制御側へデータ送信し、アンド・
ゲート150に入力される。
When the comparator 120 satisfies the condition △Z pr ≦△Z p , the bit signal causes the △
Z pr passes through AND gate 122 and then passes through AND gate 124 according to the data set signal.
Send data to the control side of the left turret 21, and
It is input to gate 150.

演算部119で演算処理された△Zprは、メモ
リ107に記憶されている前回の座標系設定デー
タZpr′と共に演算部125に取り込み、Zpr
Zpr′+△Zpの演算処理を行つて、その値を再度座
標系設定データ・メモリ107に代入し設定す
る。すなわち、座標系設定をZpr′からZprに△Zpr
分シフトする。
ΔZ pr processed by the calculation unit 119 is taken into the calculation unit 125 together with the previous coordinate system setting data Z pr ′ stored in the memory 107, and Z pr =
The arithmetic processing of Z pr '+ΔZ p is performed, and the value is again substituted and set in the coordinate system setting data memory 107. In other words, change the coordinate system setting from Z pr ′ to Z pr
Shift by minute.

座標系設定データをZpr′からZprに△Zpr分シフ
トした後、メモリ114に記憶されているワーク
座標系現在値Zwは、ワークWの胴部WZ1にタツ
チセンサ27をあてることにより、アンド・ゲー
ト126を通過し、第1計測点座標値Z1としてメ
モリ127に記憶させる。
After shifting the coordinate system setting data from Z pr ′ to Z pr by ΔZ pr , the current value of the work coordinate system Z w stored in the memory 114 can be changed by applying the touch sensor 27 to the body WZ 1 of the work W. , and gate 126, and is stored in the memory 127 as the first measurement point coordinate value Z1 .

メモリ127に記憶された第1計測点座標値Z1
とメモリ108に記憶されている第1プログラム
座標値Z10とが演算部128に取り込まれ、△Z1
=Z1−Z10の演算処理が行われ、その△Z1の値と
メモリ111に記憶されている第1プログラム公
差値△Z10と共に比較器129,130に取り込
む。比較器129で△Z1≦△Z10の比較判断がな
され、△Z1≦△Z10の条件を満たしていると、第
1計測点公差OKのフラグをたてる。また、その
ビツト信号により演算部128からの△Z1がアン
ド・ゲート131を通過し、該当するR工具No.の
R工具補正値としてR工具補正データメモリ10
5に記憶される。
The first measurement point coordinate value Z 1 stored in the memory 127
and the first program coordinate value Z 10 stored in the memory 108 are taken into the calculation unit 128, and ΔZ 1
=Z 1 -Z 10 is performed, and the value of ΔZ 1 and the first program tolerance value ΔZ 10 stored in the memory 111 are taken into the comparators 129 and 130. The comparator 129 makes a comparative judgment of △Z 1 ≦△Z 10 , and if the condition of △Z 1 ≦△Z 10 is satisfied, a flag indicating that the first measurement point tolerance is OK is set. In addition, according to the bit signal, △ Z1 from the calculation unit 128 passes through the AND gate 131, and is stored in the R tool correction data memory 10 as the R tool correction value of the corresponding R tool number.
5 is stored.

△Z1>△Z10の条件となつた時、比較器130
からアラーム信号を発すると共に、第1計測点不
良フラグを立てる。
When the condition of △Z 1 > △Z 10 is met, the comparator 130
At the same time as issuing an alarm signal from the first measurement point, a defective flag at the first measurement point is set.

次に、メモリ114に記憶されているワーク座
標系現在値Zwは、ワークWの胴部Wz2にタツチセ
ンサ27をあてることにより、アンド・ゲート1
32を通過し、第2計測点座標値Z2としてメモリ
133に記憶される。
Next, the current value Z w of the workpiece coordinate system stored in the memory 114 is determined by the AND gate 1 by applying the touch sensor 27 to the body W z2 of the workpiece W.
32 and is stored in the memory 133 as the second measurement point coordinate value Z2 .

該メモリ133に記憶された第2計測点座標値
Z2とメモリ109に記憶されている第2プログラ
ム座標値Z20とを演算部134に取り込ませる。
Second measurement point coordinate values stored in the memory 133
Z 2 and the second program coordinate value Z 20 stored in the memory 109 are taken into the calculation unit 134 .

演算部134で△Z2=Z2−Z20の演算処理を行
い、その値△Z2と、メモリ112に記憶されてい
る第2プログラム公差値△Z20とが比較器135
および比較器136に取り込む。比較器135で
△Z2≦Z20,比較器136で△Z2>Z20の比較判断
がなされ、△Z2≦△Z20,比較器136で△Z2
△Z20の比較判断がなされ、△Z2≦△N20の条件
を満たしていると、第2計測点公差OKフラグを
たてる。また、そのビツト信号により演算部13
4らの△Z2がアンド・ゲート137を通過し、第
2計測点公差OKのフラグを立てると共に、デー
タセツト信号S2によりアンド・ゲート138が開
くと、左刃物台21側の制御部のアンド・ゲート
158へデータを送信する。
The arithmetic unit 134 performs arithmetic processing of △Z 2 =Z 2 −Z 20 , and the value △Z 2 and the second program tolerance value △Z 20 stored in the memory 112 are used in the comparator 135.
and input into comparator 136. The comparator 135 makes a comparison judgment of △Z 2 ≦Z 20 and the comparator 136 makes a comparison judgment of △Z 2 ≦Z 20 , and the comparator 136 makes a comparison judgment that △Z 2 ≦Z 20 .
A comparison judgment of ΔZ 20 is made, and if the condition of ΔZ 2 ≦ΔN 20 is satisfied, a second measurement point tolerance OK flag is set. In addition, the bit signal causes the arithmetic unit 13 to
When △Z 2 of 4 passes through the AND gate 137 and sets a flag indicating that the second measurement point tolerance is OK, and the AND gate 138 is opened by the data set signal S 2 , the control section on the left tool rest 21 side is activated. Send data to AND gate 158.

△Z2>△Z20として比較判別されると、アラー
ム信号を発すると共に、第2計測点不良フラグを
立てる。
When it is determined that ΔZ 2 >ΔZ 20 , an alarm signal is generated and a second measurement point defect flag is set.

上述した右刃物台20側制御部のアンド・ゲート
124により△Zprが左刃物台21側の制御部の
アンド・ゲート155へ転送され、データ持ち信
号Wpを受けると、アンド・ゲート115が開き、
演算部156にメモリ157に記憶されている前
回の座標系設定データZpl′と共に取り込む。演算
部156では、Zpl=Zpl′+△Zprの演算処理がなさ
れ、その演算処理されたZplが座標系設定デー
タ・メモリ157に代入され、座標系設定が
Zpl′からZplに△Zpr分シフトされる。
The AND gate 124 of the control section on the right tool post 20 side described above transfers △Z pr to the AND gate 155 of the control section on the left tool post 21 side, and upon receiving the data holding signal W p , the AND gate 115 Open,
The previous coordinate system setting data Z pl ' stored in the memory 157 is taken into the calculation unit 156. In the calculation unit 156, the calculation process of Z pl = Z pl ′ + △Z pr is performed, and the processed Z pl is substituted into the coordinate system setting data memory 157, and the coordinate system setting is performed.
It is shifted from Z pl ′ to Z pl by ΔZ pr .

また、右刃物台20制御部のアンド・ゲート1
38から△Z2が左刃物台21の制御部のアンド・
ゲート158に転送され、データ待ち信号W2
受けるとアンド・ゲート158が開き、△Z2が通
過し、工具補正値メモリ159に代入され、該当
するL工具No.における工具補正値として、L工具
補正データ・メモリ151に一旦記憶される。
Also, the AND gate 1 of the right tool rest 20 control section
38 to △Z 2 is the AND of the control section of the left turret 21.
It is transferred to the gate 158, and upon receiving the data wait signal W2 , the AND gate 158 opens, ΔZ2 passes through, is substituted into the tool correction value memory 159, and is set as the tool correction value for the corresponding L tool number. It is temporarily stored in the tool correction data memory 151.

上述の明はZ座標系に付いて説明したが、X座
標系についても同様に行うことができる。
Although the above description has been made regarding the Z coordinate system, the same procedure can be applied to the X coordinate system.

従つて、本発明は右刃物台20のタツチセンサ
27で計測し、その計測データを左刃物台21の
制御部のへデータを転送しデータ処理するように
したことが最大の特徴である。
Therefore, the greatest feature of the present invention is that the touch sensor 27 of the right tool rest 20 measures the measurement data, and the measured data is transferred to the control section of the left tool rest 21 for data processing.

次に、本発明の動作を第5図のフローチヤート
をもとにして説明する。
Next, the operation of the present invention will be explained based on the flowchart of FIG.

第5図において、右刃物台20と左刃物台21
の加工プログラムを同時にスタートさせる。右刃
物台20の加工プログラムデータにより動作を開
始し、第段で、計測動作であるかどうかを判断
する。第段で計測ではない場合はリターンさせ
る。第段で計測動作されると判断されると、第
段で計測プローブのタツチセンサ27を振込
む。
In FIG. 5, the right tool rest 20 and the left tool rest 21
Start the machining programs at the same time. The operation is started based on the machining program data of the right tool rest 20, and in the first step, it is determined whether it is a measurement operation or not. If it is not a measurement in the first step, return. When it is determined that a measurement operation is to be performed in the second stage, the touch sensor 27 of the measurement probe is transferred in the second stage.

第段で位置送出手段102によりZ軸
(W20)の座標系設定動作を開始せしめる。この
第段で演算部119,125で演算処理シフト
量△Zprをもとめる。
In the second stage, the position sending means 102 starts the Z-axis (W 20 ) coordinate system setting operation. In this stage, the arithmetic processing shift amount ΔZ pr is determined by the arithmetic units 119 and 125.

第段で比較器120,121によりシフト量
△Zprが公差内に入つているかどうか判断し、公
差の範囲外であれば第段で原点公差の不良フラ
グを立てて終了する。公差の範囲内であれば第
段に進み、シフト量△Zprのデータ転送処理を行
う。左刃物台21の加工制御部は右刃物台20の
制御部で第〜第段の処理としている間は、第
段としてデータ待ち合わせ信号を発している。
その為、第段の△Zprのデータ転送により、第
でシフト量△Zprのデータを受け取り、第段
でZ軸の座標系設定をZpl′からZplへ演算部156
の演算処理で△Zpr分シフトする。その後は、第
段で、データ待ち合わせ(△Z2)の信号を発
し、右刃物台20の制御部からデータ転送されて
くるのを待つ。
In the second stage, it is determined by the comparators 120 and 121 whether the shift amount ΔZ pr is within the tolerance range, and if it is outside the tolerance range, a defective origin tolerance flag is set in the second stage and the process ends. If it is within the tolerance range, the process proceeds to the first stage and data transfer processing for the shift amount ΔZ pr is performed. The machining control section of the left tool rest 21 issues a data waiting signal as the first step while the control section of the right tool rest 20 is performing the processing of the first to third stages.
Therefore, by data transfer of △Z pr in the second stage, the data of the shift amount △Z pr is received in the second stage, and the coordinate system setting of the Z axis is changed from Z pl ' to Z pl in the calculation unit 156.
Shift by △Z pr by the calculation process. After that, in the second stage, a data waiting signal (ΔZ 2 ) is issued and the controller waits for data to be transferred from the control section of the right tool post 20.

右刃物台20の制御部は、第段から第段に
進み、Z軸の座標系設定をZpr′からZprへ演算部
125の演算処理でZpr分シフトする。
The control section of the right tool post 20 advances from the first stage to the second stage and shifts the Z-axis coordinate system setting from Z pr ' to Z pr by Z pr by the calculation process of the calculation section 125.

第段でワークWの胴部Wz1,Wz2であるZ巾
(Z1,Z2)の計測をタツチセンサ27で行う。第
段で、演算部128,134により演算処理
し、第段で、△Z1が公差の範囲内であるかどう
か比較器129,130で比較判断する。△Z1
値が公差値の範囲外であれば、第段で第1計測
点(Wz1)の公差不良フラグをたてる。
In the second stage, the Z widths (Z 1 , Z 2 ) of the body parts W z1 , W z2 of the workpiece W are measured using the touch sensor 27 . In the second stage, the calculation units 128 and 134 perform calculation processing, and in the second stage, the comparators 129 and 130 compare and determine whether ΔZ 1 is within the tolerance range. If the value of ΔZ 1 is outside the range of tolerance values, a tolerance defect flag is set at the first measurement point (W z1 ) in the second stage.

△Z1の値が公差値の範囲内であれば、第段で
第1計測点公差OKのフラグを立てると共に、△
Z1を該当するR工具No.の工具補正値として出力す
る。
If the value of △Z 1 is within the tolerance value range, the first measurement point tolerance OK flag is set in the first stage, and △
Output Z 1 as the tool correction value of the corresponding R tool number.

第段で△Z2が公差の範囲内であるかどうか比
較器135,136で比較判断する。△Z2の値が
公差値の範囲外であれば、第段で第2計側点
(Wz2)の公差不良フラグをたてる。△Z2の値が
公差値の範囲内であれば、第段で第2計測点公
差OKのフラグを立てる。
In the second stage, comparators 135 and 136 compare and determine whether ΔZ 2 is within the tolerance range. If the value of ΔZ 2 is outside the range of tolerance values, a tolerance defect flag is set at the second measurement side point (W z2 ) in the second stage. If the value of ΔZ 2 is within the tolerance value range, a flag indicating that the second measurement point tolerance is OK is set in the second stage.

第段で工具補正値(△Z2)のデータを左刃物
台21の制御部へ転送処理し、右刃物台20の制
御は終了する。
In the second stage, the data of the tool correction value (ΔZ 2 ) is transferred to the control section of the left tool rest 21, and the control of the right tool rest 20 is completed.

左刃物台21の制御部は第段でデータ待ち合
わせ(△Z2)の信号が発せられているので、左刃
物台21のの制御部からの工具補正値(△Z2)を
第段で受け取り、次いでメモリ159で該当す
る工具T−Noの工具補正値(LZpfo)として代入
し(第段)、L工具補正データ・メモリ151
に記憶させて終了する。
The control section of the left tool post 21 receives the tool correction value (△Z 2 ) from the control section of the left tool post 21 at the first stage, since the data waiting signal (△Z 2 ) is issued in the second stage. Then, it is substituted as the tool correction value (LZ pfo ) of the corresponding tool T-No in the memory 159 (step 1), and the L tool correction data memory 151
Store it in and exit.

上記の動作を繰り返すことによつて各ワークW
の計測処理が行われる。
By repeating the above operation, each work W
measurement processing is performed.

(7) 効果 本発明は複数の刃物台で旋削加工を施し、計測
は一方の刃物台のタレツトに取付けた計測手段の
タツチセンサで行い、その計測結果に座標系設定
データ,および工具補正値を一方の刃物台制御部
から他方の刃物台制御部へデータ転送するように
したので、計測時の手間と時間が大巾に短縮され
ると共に、各刃物台における工具補正値が自動処
理されるので、所定のワーク加工が自動的に無駄
なく施される。
(7) Effect The present invention performs turning processing using a plurality of tool posts, and measurements are performed using a touch sensor as a measuring means attached to the turret of one tool post, and coordinate system setting data and tool correction values are added to the measurement results on one side. Since the data is transferred from one tool post control section to the other tool post control section, the effort and time during measurement is greatly reduced, and the tool correction values for each tool post are automatically processed. Predetermined workpiece processing is automatically performed without waste.

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

第1図は本発明に適用される複数刃物台を有し
たNC旋盤の正面図、第2図は第1図のI矢視側
面図である。第3図はワークWの胴巾加工を施
し、本発明の計測手段で計測する原理図である第
4図は本発明の計測手段を説明する構成ブロツク
図である。第5図は本発明の計測手段の動作を説
明するフローチヤート図である。 2……主軸台、3……主軸、10……心押し
台、12……心押し軸、20……右刃物台、21
……左刃物台、24,25……タレツト、26…
…工具、27……タツチセンサ、100……
CPU、101……画面付キーボード、102…
…位置送出装置、103……R加工プログラム・
メモリ、104……R計測動作プログラム・メモ
リ、105……R工具補正データ・メモリ、10
9,125,128,134,156……演算
部、120,121,129,130,134,
135……比較器、150……L加工プログラ
ム・メモリ、151……L工具補正データ・メモ
リ。
FIG. 1 is a front view of an NC lathe having multiple tool rests to which the present invention is applied, and FIG. 2 is a side view taken in the direction of arrow I in FIG. FIG. 3 is a diagram showing the principle of processing the body width of a workpiece W and measuring it with the measuring means of the present invention. FIG. 4 is a block diagram illustrating the measuring means of the present invention. FIG. 5 is a flowchart illustrating the operation of the measuring means of the present invention. 2... Headstock, 3... Main spindle, 10... Tailstock, 12... Tailstock shaft, 20... Right turret, 21
...Left turret, 24, 25...Turret, 26...
...Tool, 27...Touch sensor, 100...
CPU, 101...Keyboard with screen, 102...
...Position sending device, 103...R machining program・
Memory, 104...R measurement operation program memory, 105...R tool correction data memory, 10
9, 125, 128, 134, 156... calculation section, 120, 121, 129, 130, 134,
135...Comparator, 150...L machining program memory, 151...L tool correction data memory.

Claims (1)

【特許請求の範囲】 1 単一ワークを加工するために直交する2平面
内を移動可能な二つの刃物台を備えたNC工作機
械において、 前記二つの刃物台のうちの一方の刃物台に取付
け、ワークの端部を計測し、ワークの回転軸方向
の原点からの距離を算出するための計測手段と、 ワークの加工箇所の基準値およびその公差を設
定する入力手段と、 この入力手段により一方の刃物台の加工座標値
が設定される第1の座標系設定データ手段と、 前記計測手段でワーク加工後の加工箇所を計測
し、その値を記憶する座標値データ手段と、 この座標値データ手段と前記第1の座標系設定
データとの差値を求める第1の演算手段と、 この第1の演算手段で演算された差値と予め設
定されている基準公差とを比較する比較手段と、 この比較手段で比較して、前記差値が公差値よ
り小さく加工継続条件を満す場合に、前記第1の
演算手段で求めた差値を前記第1の座標系設定デ
ータ手段にデータを転送してデタの書換えのため
の演算を行う第2の演算手段と、 前記二つの刃物台のうちの他方の刃物台の加工
のために設定される第2の座標系設定データ手段
と、 前記第1の演算手段で求めた差値を他方の刃物
台の加工のためにデータ転送し、前記第2の座標
系設定データ手段のデータを書換える修正演算を
する第3の演算手段と、 前記第1の演算手段で求めた差値を他方の刃物
台の工具補正値として記憶する工具補正データ手
段と、 前記計測手段により計測したデータ、予め設定
された基準データおよび演算手段により求められ
た修正データ等を前記各手段間にデータ転送して
数値制御する中央制御手段とからなり、 一方の刃物台の一つの計測データに基づき、こ
の計測値により修正値が他方の刃物台の修正値と
なるようにして、両刃物台の座標系設定データを
同じ修正値で修正可能にしたことを特徴とする複
数刃物台の計測装置。
[Claims] 1. In an NC machine tool equipped with two turrets movable in two orthogonal planes to process a single workpiece, the apparatus is mounted on one of the two turrets. , a measuring means for measuring the end of the workpiece and calculating the distance from the origin in the rotational axis direction of the workpiece; an input means for setting a reference value and its tolerance for a machining location of the workpiece; a first coordinate system setting data means for setting machining coordinate values of the tool rest; a coordinate value data means for measuring a machining location after machining the workpiece with the measuring means and storing the value; and this coordinate value data. a first calculation means for calculating a difference value between the means and the first coordinate system setting data; and a comparison means for comparing the difference value calculated by the first calculation means with a preset reference tolerance. , When the difference value is smaller than the tolerance value and satisfies the machining continuation condition after comparison by the comparison means, the difference value obtained by the first calculation means is transferred to the first coordinate system setting data means. a second calculation means for transferring and performing calculations for rewriting data; a second coordinate system setting data means for setting for processing the other of the two tool rests; a third calculation means that performs a correction calculation to transfer the difference value obtained by the first calculation means for processing the other tool post and rewrite the data of the second coordinate system setting data means; a tool correction data means for storing the difference value obtained by the first calculation means as a tool correction value of the other tool post; and a correction determined by the data measured by the measurement means, preset reference data, and the calculation means. It consists of a central control means that performs numerical control by transferring data between the above-mentioned means, and based on the measurement data of one of the turrets, the correction value based on this measurement value becomes the correction value of the other turret. A measuring device for multiple tool turrets, characterized in that the coordinate system setting data of both tool turrets can be corrected using the same correction value.
JP5707585A 1985-03-20 1985-03-20 Measuring apparatus mounted on plural tool slides Granted JPS61213712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5707585A JPS61213712A (en) 1985-03-20 1985-03-20 Measuring apparatus mounted on plural tool slides

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5707585A JPS61213712A (en) 1985-03-20 1985-03-20 Measuring apparatus mounted on plural tool slides

Publications (2)

Publication Number Publication Date
JPS61213712A JPS61213712A (en) 1986-09-22
JPH056847B2 true JPH056847B2 (en) 1993-01-27

Family

ID=13045339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5707585A Granted JPS61213712A (en) 1985-03-20 1985-03-20 Measuring apparatus mounted on plural tool slides

Country Status (1)

Country Link
JP (1) JPS61213712A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19604354A1 (en) * 1996-02-07 1997-08-14 Zeiss Carl Fa Process for the coordinate measurement of workpieces on processing machines
CN102328103A (en) * 2010-07-14 2012-01-25 鸿富锦精密工业(深圳)有限公司 Ultra-precision processing system and processing method
JP7090018B2 (en) * 2018-11-14 2022-06-23 株式会社ツガミ Machine Tools

Also Published As

Publication number Publication date
JPS61213712A (en) 1986-09-22

Similar Documents

Publication Publication Date Title
EP1243992B1 (en) Tool presetter and tool offset amount calculation method
WO1989010223A1 (en) Two opposed main shaft type cnc lathe
JPH06335801A (en) Numerical control lathe with balance correction function
JPH056847B2 (en)
JPS62163109A (en) Numerical controller
JP2919754B2 (en) Backlash measurement and correction device for spherical or circular surface machining
JPH0464405B2 (en)
JP3357083B2 (en) Automatic processing equipment
JPH0569280A (en) Machining center measuring device and work accuracy measuring method of workpiece
JPH05162002A (en) Combined machine tool with detector for dimension and position of work to be machined
JPH0146263B2 (en)
JP2574228Y2 (en) Lathe in-machine measuring device
JPH055343U (en) Phase determination mechanism during loading
JPH05245701A (en) Working process for long-sized workpiece
JPH0288101A (en) Work transfer confirmation method for facing type two spindle lathe and control device therefor
JPH0773807B2 (en) Deburring device for bar-shaped body and its control device
JPS6254653A (en) Phase alignment method
JPH0683420A (en) Machining program calling method for nc machine tool
JPH074108Y2 (en) Control device for pipe end chamfering machine
JPS61269707A (en) Controller for work size correction of nc machine tool
JP2581535B2 (en) Machine tool coordinate system setting device
JPH0639037B2 (en) Method and apparatus for setting C-axis origin of machine tool spindle
JP2686844B2 (en) Thin-walled workpiece processing method
JPH04131910A (en) Method and device for setting work coordinate shift variable of numerically controlled lathe
JPH0464820B2 (en)