JPS62152645A - Machine tool coordinate correction device - Google Patents

Machine tool coordinate correction device

Info

Publication number
JPS62152645A
JPS62152645A JP29647785A JP29647785A JPS62152645A JP S62152645 A JPS62152645 A JP S62152645A JP 29647785 A JP29647785 A JP 29647785A JP 29647785 A JP29647785 A JP 29647785A JP S62152645 A JPS62152645 A JP S62152645A
Authority
JP
Japan
Prior art keywords
coordinate
coordinate rotation
machining
rotation angle
rotation center
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
JP29647785A
Other languages
Japanese (ja)
Inventor
Ko Tsuda
津田 興
Masaaki Sakata
雅章 坂田
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 JP29647785A priority Critical patent/JPS62152645A/en
Publication of JPS62152645A publication Critical patent/JPS62152645A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)

Abstract

PURPOSE:To reduce mounting time and improve working efficiency, by calculating workpiece coordinate system dimensions at a machining point and correcting them to machine coordinate system dimensions automatically through determination of a coordinate rotation angle and a coordinate value of a coordinate rotation center of a workpiece mounted by a sensor. CONSTITUTION:A coordinate rotation angle theta and a coordinate value of a coordinate rotation center sensed by sensing means 101 are stored in memory means 102 and the coordinate rotation angle theta and the coordinate value of the coordinate rotation center stored in the memory means 102 are applied to correction means 103. In addition, the correction means 103 is provided with machining program data stored in machining program memory means 105, a selection signal selected by selection means 104 and position data sensed by position sensing means 107. Then, the correction means 103 corrects operation of a machine tool by use of the coordinate rotation angle theta and the coordinate value of the coordinate rotation center and a servomotor 109 is corrected based on the correction data through a table actuator 110 and a servo amplifier 108, whereby a prescribed machining is automatically effected and mounting time is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はテーブル上に適宜取付けられた角物ワークを工
作機械で加工する時、角物ワークのテーブル上の取付状
態を検出記憶し、加工プログラムの再生1こあたって゛
この取付状態を補正する動きを自動生成する工作機械の
座標修正装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention detects and stores the mounting state of the square workpiece on the table when machining a square workpiece appropriately mounted on a table with a machine tool. The present invention relates to a coordinate correction device for a machine tool that automatically generates a movement for correcting the mounting condition each time a program is reproduced.

〔従来の技術〕[Conventional technology]

従来、角物ワークを工作機械で所定の加工を施す際、ま
ず角物ワークをテーブル上゛に取付ける。
Conventionally, when a square workpiece is subjected to a predetermined processing using a machine tool, the square workpiece is first mounted on a table.

角物ワークをテーブル上に取付ける際には作業者、  
が角物ワークをテーブル上に正確に取付けるために、治
具を用いたりして心出しを行ったりあるいは専用的なプ
ログラムを使用して行っていた。
When installing a square workpiece on a table, the operator
In order to accurately mount a square workpiece on a table, centering was performed using a jig or a special program was used.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、前述した各種のワーク取付手段は正確に
取付けしていることからワーク取付作業に非常な手間を
要しているため迅速な処理が出来ないという問題がある
However, since the above-mentioned various workpiece attachment means are used to attach the workpieces accurately, the workpiece attachment operation requires a great deal of time and effort, and there is a problem in that quick processing is not possible.

本発明の目的は上記事情に鑑み問題点を解決するために
提案されたものであって、角物ワークがテーブル上にど
のような状態で載置されているか、その状態を検出記憶
し加工プログラムの再生にあたってこの取付状態を自動
的に補正処理して修正を可能にした工作機械の座標修正
装置を提供することにある。
The purpose of the present invention was proposed in order to solve the problems in view of the above-mentioned circumstances.The purpose of the present invention is to detect and store the state in which a square workpiece is placed on a table, and to create a machining program. An object of the present invention is to provide a coordinate correction device for a machine tool that automatically corrects and corrects the mounting state when regenerating the machine tool.

〔問題点を解決するための手段と作用〕本発明はテーブ
ル上に角物ワークがどのような状態に置かれているかを
検出し、その取付状態を検出記憶しさらに自動的に補正
処理して修正を行う工作機械の座標修正装置であって、
その具体的な手段は、予め設定された種々のパラメータ
等を入出力せしめる入出力手段と、各位置を検出する位
置検出手段と、該位置検出手段が加工基準面および該加
工基準面に直交する加工面に接触したことを検出する接
触検出手段と、工作機械が角度の検出を行う検出動作も
しくは加工プログラムの再生を行う再生動作を選択する
選択手段と、前記位置検出手段により加工基準面の2点
と加工面の1点の位置を検出し、その検出した位置デー
タをもとに演算処理して座標回転角と座標回転中心座標
値を求める座標回転角・座標回転中心検出手段と、該座
標回転角・座標回転中心検出手段で検出された座標回転
角および座標回転中心の座標値を記憶する座標回転角・
座標回転中心・メモリと、加工プログラムデータを記憶
する加工プログラム・メモリと、、該加工プログラム・
メモリに記憶されている加工プログラムデータと、座標
回転角・座標回転中心・メモリに記憶されている座標回
転角。
[Means and effects for solving the problem] The present invention detects the state in which the square workpiece is placed on the table, detects and stores the mounting state, and further automatically performs correction processing. A coordinate correction device for a machine tool that performs correction,
The specific means includes an input/output means for inputting and outputting various preset parameters, a position detecting means for detecting each position, and a processing reference plane in which the position detecting means is orthogonal to the processing reference plane. contact detection means for detecting contact with the machining surface; selection means for selecting a detection operation in which the machine tool detects an angle or a regeneration operation in which the machining program is regenerated; A coordinate rotation angle/coordinate rotation center detection means for detecting the position of a point and one point on a machined surface and performing calculation processing based on the detected position data to obtain a coordinate rotation angle and a coordinate rotation center coordinate value; Rotation angle/coordinate A coordinate rotation angle/coordinate that stores the coordinate rotation angle detected by the rotation center detection means and the coordinate value of the coordinate rotation center.
A coordinate rotation center memory, a machining program memory that stores machining program data, and a machining program memory that stores machining program data.
Machining program data stored in memory, coordinate rotation angle, coordinate rotation center, and coordinate rotation angle stored in memory.

座標回転中心座標値から加工点のワーク座標値を機械座
標値に修正する修正量を算出し工作機械の動作を修正す
る修正手段と、テーブル等を移動させる為の位置送り制
御手段とから構成される。
It consists of a correction means for correcting the operation of the machine tool by calculating the correction amount for correcting the workpiece coordinate value of the machining point to the machine coordinate value from the coordinate rotation center coordinate value, and a position feed control means for moving the table etc. Ru.

而して、本発明の装置を採用することによりテーブル上
に角物ワークがどのような状態に置かれていても自動的
に修正を行うことが出来るので迅速な処理が可能となる
By employing the apparatus of the present invention, corrections can be made automatically regardless of the state in which the square workpiece is placed on the table, so that rapid processing becomes possible.

〔実施例〕〔Example〕

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

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

第2図(イ)は本発明の基本原理を説明するモデ。Figure 2 (a) is a model explaining the basic principle of the present invention.

ル図である。第2図(イ)において、工作機械のテーブ
ルTa上に任意角度すなわち回転角θで角物ワークWが
取付けられたとする。
This is a diagram. In FIG. 2(A), it is assumed that a square workpiece W is mounted on a table Ta of a machine tool at an arbitrary angle, that is, a rotation angle θ.

今月初ワークWの1つの頂点と加工プログラム原点dp
とが一致しているとし、ワークWの加工基準面WaをX
軸とし、ワークWの加工基準面Waに直交する加工面w
bをY軸とする。機械原点をd4とし、機械座標系のQ
、I X線をX軸、c59−Y線をY軸とする。
One vertex of this month's first workpiece W and the machining program origin dp
Assuming that they match, the machining reference plane Wa of the workpiece W is
The machining surface w is the axis and is orthogonal to the machining reference surface Wa of the workpiece W.
Let b be the Y axis. The machine origin is d4, and the Q of the machine coordinate system is
, I The X-ray is the X-axis, and the c59-Y line is the Y-axis.

加工プログラム原点opの座標値を機械座標系の機械原
点0.(0,O)から夫々Φx、oyとすると、加工し
ようとするワークWにおける加工点Pのワーク座標系の
座標値(x、  y)を機械座標系の座標値(X、Y)
で表すと、 で求められる。
The coordinate values of the machining program origin OP are set to the machine origin 0. of the machine coordinate system. Letting Φx and oy respectively from (0, O), the coordinate values (x, y) of the workpiece coordinate system of the machining point P on the workpiece W to be machined are the coordinate values (X, Y) of the machine coordinate system.
Expressed as , it can be found by .

上記式を解(と、 ’)(=xcosθ+y sinθ+ΦXY−−xsi
nθ+y cosθ+c5y  となる。
Solve the above equation (and ') (=xcosθ+y sinθ+ΦXY−-xsi
nθ+y cosθ+c5y.

従って、ワーク座標系の加工プログラム原点Φpから機
械座標系の座標値(Ox、Oy)と角度θが求められれ
ば変換が可能である。
Therefore, conversion is possible if the coordinate values (Ox, Oy) and angle θ of the machine coordinate system are found from the machining program origin Φp of the workpiece coordinate system.

次に加工プログラ台原点Φpの機械座標系の座標値(p
x、Oy”)、と角度θを計測し演算する要領について
説明する。
Next, the coordinate value (p
The procedure for measuring and calculating the angle θ (x, Oy”) will be explained.

第2図(II)の加工基準面Waに計測タッチセンサの
プローブを2ケ所P、、P2に、加工面wbに計測タッ
チセンサのプローブを1ケ所P3に当てて計測し、各P
 l+ P zおよびP3の座標値を夫々P +(X 
In 3+ +)+h(Xz、 yz)およびP 3(
X 3. )’ 3)を計測の実測値とすると、点P 
+(X l、y+)と点P2(Xz、)’z)を通る加
工基準面Waの直線mをy=a x+b・・・・・・・
・・(11とする。
The probes of the measurement touch sensor are applied to the machining reference surface Wa in FIG.
The coordinate values of l + P z and P3 are respectively P + (X
In 3+ +) + h(Xz, yz) and P 3(
X 3. )' 3) is the actual measurement value, then point P
+(X l, y+) and point P2(Xz,)'z), the straight line m of the machining reference plane Wa is y=a x+b...
...(Suppose it is 11.

点P3(X3.Vt)と加ニブローブ原点opを通る加
工面wbの直線をnとすると、直線nは直線mに直交す
るので y=−−x十c・・・・・・(2)    となる。
Let n be the straight line on the machined surface wb that passes through point P3 (X3.Vt) and the origin of the cutting nib probe OP, and since the straight line n is perpendicular to the straight line m, y=--x0c... (2) Become.

直線mの式(1)は点P+(X+、)’+)+点P z
(X z、 ’/ z)を通るから x、  −X。
Equation (1) of straight line m is point P + (X+, )'+) + point P z
Since it passes through (X z, '/z), x, -X.

さらに点P+(X+、)’+)が直線mの式(1)上に
あることから b=y、−ax、     となる。
Furthermore, since the point P+(X+,)'+) is on the equation (1) of the straight line m, b=y, -ax.

マタ、点P*(Xz、)’z)は直vAnの式(2)上
にあるから 従って、上記(11,(2+の式は夫々y−a x+ 
 (y+   a X+)…・=fll’となる。
Since the point P*(Xz,)'z) is on the equation (2) of direct vAn, the above equations (11 and (2+) are respectively y-a x+
(y+ a X+)...=fll'.

X ! 7X。X! 7X.

上記fl+ ’ 、 (2+ ’の交点Op (OX、
O’/)を求めると Oy=(b +31゜)/(1+a・)=(y+−ax
+ +3□ys−axs)/(1+ a ”) ”とな
る。
The intersection Op (OX,
O'/) is obtained as Oy=(b +31°)/(1+a・)=(y+-ax
+ +3□ys-axs)/(1+a")".

而して加工プログラム原点Φpのワーク座標系の座標値
Φx、oyは上記■で、座標回転角θはXg  −X。
Therefore, the coordinate values Φx and oy of the workpiece coordinate system of the machining program origin Φp are the above ■, and the coordinate rotation angle θ is Xg -X.

ることになる。That will happen.

上記■によるQX、Φyの値を式■に取り込ませること
によって加工点Pのワーク座標系の座標値(x、y)が
機械座標系の座標値(X、Y)に修正される。従って第
2図(ハ)に示す如(加工プログラムのxI+ )’I
  ; XZ+ )’2  ; X、l、y3が修正さ
れてX+、Yl、; Xz、Yt  ; Xs、Y3に
変換される。
The coordinate values (x, y) of the workpiece coordinate system of the machining point P are corrected to the coordinate values (X, Y) of the machine coordinate system by incorporating the values of QX and Φy according to the above (2) into the equation (2). Therefore, as shown in Figure 2 (c) (xI+ of the machining program) 'I
; XZ+ )'2 ; X, l, y3 are modified and converted into X+, Yl;

計測タッチセンサのプローブを加工基準面Waおよび該
加工基準面Waに直交する加工面wbに当てて計測する
際、実際のコーナー位置は第2図(ニ)に示す如く、タ
ッチプローブTpの中心と一致しないのでタッチプロー
ブTpの半径1分だけ実際上は補正してやる必要がある
When measuring by applying the probe of the measurement touch sensor to the processing reference surface Wa and the processing surface wb perpendicular to the processing reference surface Wa, the actual corner position is located between the center of the touch probe Tp and the processing surface wb perpendicular to the processing reference surface Wa, as shown in FIG. Since they do not match, it is actually necessary to correct the radius of the touch probe Tp by one minute.

(2)次に本発明の構成を第3図に示した機能ブロック
図で説明する。
(2) Next, the configuration of the present invention will be explained using the functional block diagram shown in FIG.

第3図において、座標回転角θと座標回転中心すなわち
ワーク座標系の加工プログラム原点opの座標値を検出
する検出手段101にキー人力手段100から予め設定
された設定値を入力し、検出動作・再生動作の選択手段
104で選択する。
In FIG. 3, preset values are input from the key manual means 100 to the detection means 101 that detects the coordinate rotation angle θ and the coordinate rotation center, that is, the coordinate values of the machining program origin OP of the workpiece coordinate system, and the detection operation and The selection is made using the playback operation selection means 104.

また検出手段101には接触検出手段106により計測
しようとする点PI、P2およびP3に接触せしめ、そ
の位置データを位置検出手段107で検出して取り込ま
れる。
Further, the contact detection means 106 makes contact with the points PI, P2, and P3 to be measured, and the position data is detected and taken into the detection means 101 by the position detection means 107.

検出手段101で検出された座標回転角θと座標回転中
心の座標値を記憶手段102に記憶させ、該記憶手段1
02に記憶された座標回転角θと座標回転中心の座標値
が修正手段103に取り込まれる。さらに該修正手段1
03には加工プログラム記憶手段105に記憶された加
工プログラムデータ、選択手段104によって選択され
た選択信号および位置検出手段107によって検出され
た位置データが取り込まれる。
The coordinate rotation angle θ detected by the detection means 101 and the coordinate value of the coordinate rotation center are stored in the storage means 102, and the storage means 1
The coordinate rotation angle θ and the coordinate value of the coordinate rotation center stored in 02 are taken into the correction means 103. Furthermore, the correction means 1
03, the machining program data stored in the machining program storage means 105, the selection signal selected by the selection means 104, and the position data detected by the position detection means 107 are taken in.

修正手段103で座標回転角θと座標回転中心の座標値
より工作機械の動作を補正処理して、その補正処理デー
タをもとにしてテーブルアクチュエータ110やサーボ
アンプ108を介してサーボモータ109を補正して所
定の加工が自動的に行われる。
The correction means 103 corrects the operation of the machine tool based on the coordinate rotation angle θ and the coordinate value of the coordinate rotation center, and corrects the servo motor 109 via the table actuator 110 and servo amplifier 108 based on the correction processing data. Then, the predetermined processing is automatically performed.

(3)本発明の具体的な構成を説明する。(3) The specific configuration of the present invention will be explained.

第1図は本発明の構成を示す制御ブロック図である。FIG. 1 is a control block diagram showing the configuration of the present invention.

第1図において、CPUIに画面付キーボード2から入
出力回路2aを介して予め設定された種々のデータが入
力される。
In FIG. 1, various preset data are input to the CPUI from a keyboard with screen 2 via an input/output circuit 2a.

例えばパラメータの内タッチセンサのプローブ球直径の
PRMO4,主軸中心からプローブ球の中心までのX方
向偏心量のPRMO5,主軸中心からプローブ球の中心
までのY方向偏心量のPRMO6および再タッチ時の戻
り量のPRMO8等が画面付キーボード2から入力され
てパラメータ・メモリ3に記憶される。
For example, among the parameters, PRMO4 is the probe sphere diameter of the touch sensor, PRMO5 is the eccentricity in the X direction from the center of the main axis to the center of the probe sphere, PRMO6 is the eccentricity in the Y direction from the center of the main axis to the center of the probe sphere, and the return when touching again. The quantity PRMO8 etc. are input from the screen keyboard 2 and stored in the parameter memory 3.

検出記憶作業、再生作業の選択スイッチ4がCFull
に接続され、また加工プログラムデータが加工プログラ
ム・メモリ5に記憶されている。
The selection switch 4 for detection memory work and playback work is CFull.
The machining program data is stored in the machining program memory 5.

テーブル等は入出力装置6a、サーボアンプ6を介して
X、Y軸方向のモータ6CによりX、Y軸方向に移動制
御される。モータ6CからPC6dを介してフィードバ
ックされる。
The table and the like are controlled to move in the X- and Y-axis directions by a motor 6C in the X- and Y-axis directions via an input/output device 6a and a servo amplifier 6. Feedback is provided from the motor 6C via the PC 6d.

タッチセンサ7aはアンプ7b、入出力装置7を介して
CPUIに接続されている。
The touch sensor 7a is connected to the CPUI via an amplifier 7b and an input/output device 7.

加算命令信号により計測回数Nがカウンタ8にカウント
され、リセット信号によりカウンタ8の計測回数Nはリ
セットされる。
The number of measurements N is counted by the counter 8 by the addition command signal, and the number N of measurements by the counter 8 is reset by the reset signal.

タッチセンサ7aのプローブが加工基準面Waおよび加
工面wbに接触するとそのタッチセンサの現在位置デー
タがタッチセンサの現在位置レジスタ9に取り込まれる
。今1番目に加工基準面Waの点p、(x+、yt)に
タッチセンサのプローブが接触すると、点PIの座標値
がタッチセンサの現在位置レジスタ9に取り込まれてカ
ウンタ10をN=1としてメモリ11にX++)’+の
値が記憶される。2番目に加工基準面Waの点P zc
x 2. )’ z)にタッチセンサのプローブが接触
すると、点P2の座標値がタッチセンサの現在位置レジ
スタ9に取り込まれてカウンタ10をN=2としてメモ
リ12に記憶される。メモリ11およびメモリ12に記
憶されている xI+ Y I  ; xZ+ y2の
値が角度のみを算出する指令により演算部13に取り込
まれる。
When the probe of the touch sensor 7a comes into contact with the processing reference surface Wa and the processing surface wb, the current position data of the touch sensor is taken into the current position register 9 of the touch sensor. When the probe of the touch sensor first contacts the point p, (x+, yt) on the processing reference surface Wa, the coordinate value of the point PI is taken into the current position register 9 of the touch sensor and the counter 10 is set to N=1. The value of X++)'+ is stored in the memory 11. Second point P zc on the processing reference plane Wa
x2. )' z) When the probe of the touch sensor comes into contact with point P2, the coordinate value of point P2 is taken into the current position register 9 of the touch sensor and stored in the memory 12 with the counter 10 set to N=2. The values of xI+YI;

演算部13に取り込まれた”I+ yt  : xl 
ytの値により座標回転角 Xt  −X皿 理される。演算部13で演算処理された座標回転角θが
座標回転角・座標回転中心・メモリ15に取り込まれて
記憶される。
“I+yt:xl” taken into the calculation unit 13
The coordinate rotation angle Xt -X is calculated by the value of yt. The coordinate rotation angle θ calculated by the calculation unit 13 is taken into the coordinate rotation angle/coordinate rotation center/memory 15 and stored.

3番目に加工面wbの点P+OC+、)’3)にタッチ
センサのプローブが接触すると、点P、の座標値がタッ
チセンサの現在位置レジスタ9に取り込まれてカウンタ
lOをN=3として演算部14に取り込まれる。該演算
部14にはすでにメモリ11およびメモリ12に記憶さ
れているX I+ 3’ I  ; ” try2の値
が取り込まれているから、 3                       a
Oy;(yt  ax、 +a2yz  a、xi)/
(1+a”)ox、oyが座標回転角・座標回転中ノ、
、、・メモリ15に取り込まれて記憶される。
Thirdly, when the probe of the touch sensor contacts the point P+OC+,)'3) on the processing surface wb, the coordinate value of the point P is taken into the current position register 9 of the touch sensor, and the counter lO is set to N=3 and the arithmetic unit 14. Since the calculation unit 14 has already taken in the value of X I+ 3'I;"try2 stored in the memory 11 and the memory 12, 3 a
Oy; (yt ax, +a2yz a, xi)/
(1+a”) ox, oy are coordinate rotation angle/coordinate rotation,
. . . Captured and stored in the memory 15.

座標回転角・座標回転中心・メモリ15に記憶された座
標回転角θ、座標回転中心の座標値QX。
Coordinate rotation angle, coordinate rotation center, coordinate rotation angle θ stored in the memory 15, and coordinate value QX of the coordinate rotation center.

oyおよび加工プログラム・メモリ5に記憶されている
加工プログラムデータが夫々加工プログラムコンバータ
16に取り込まれて の演算処理がなされて、加工点Pのワーク座標系の座標
(; (x、y)が機械座標系の座標値(X、Y)に変
換処理される。
oy and the machining program data stored in the machining program memory 5 are respectively taken into the machining program converter 16 and subjected to arithmetic processing, so that the coordinates of the workpiece coordinate system of the machining point P (; (x, y) are Conversion processing is performed to coordinate values (X, Y) of the coordinate system.

加工プログラムコンバータ16で変換処理された機械座
標系の座標値(X 、Y)により位置送り制御手段のモ
ータ6Cが駆動制御されて補正処理される自動修正が行
われる。
The motor 6C of the position feed control means is driven and controlled by the coordinate values (X, Y) of the machine coordinate system converted by the machining program converter 16, and automatic correction is performed.

(4)本発明の動作を第4図のフローチャートに基づい
て説明する。
(4) The operation of the present invention will be explained based on the flowchart of FIG.

本発明の装置を作動させてスタフトさせると、第0段で
検出作業選択手段で検出するかどうか判別し、検出作業
選択をしないと判断すれば初期状態に戻してスタート点
へフィードバンクされる。
When the device of the present invention is operated to cause the device to drift, it is determined in the 0th stage whether or not to detect by the detection work selection means, and if it is determined that the detection work is not selected, the system is returned to the initial state and feedbanked to the starting point.

第0段で検出作業選択を行うと判断されると、第0段に
進み、タッチセンサのプローブを各加工面に接触させる
かどうか判断する。第0段でタッチセンサのプローブを
各加工面に接触させないと判断されると、初期状態に戻
してからスタート点ヘフィードパソクされる。
If it is determined at the 0th stage that a detection work selection is to be performed, the process proceeds to the 0th stage and it is determined whether or not to bring the probe of the touch sensor into contact with each processing surface. If it is determined that the probe of the touch sensor is not to be brought into contact with each processing surface at the 0th stage, the initial state is returned and then the feed path to the starting point is performed.

第0段でタッチセンサのプローブを各加工面に接触させ
ると判断されると、第0段に進み、夕・ンチセンサの現
在位置(x、y)の読み込みを行う。
When it is determined that the probe of the touch sensor is to be brought into contact with each processing surface at the 0th stage, the process proceeds to the 0th stage and the current position (x, y) of the evening/time sensor is read.

まず第0段でカウンタlOがN=1であれば第0段に進
み点P、のワーク座標値(x+、y+)を読取ってメモ
リ11に記憶しスタート点へ戻る。
First, if the counter lO is N=1 at the 0th stage, the process advances to the 0th stage, reads the workpiece coordinate values (x+, y+) of the point P, stores them in the memory 11, and returns to the starting point.

第0段でカウンタ10がN=1でなければ、第0段に進
み、第0段でカウンタ10がN==2であれば第0段で
点P2のワーク座標値(xz、yz)を読取ってメモリ
12に記憶する。さらに第0段で座標回転角θの角度の
みを算出するかどうか判断し、算出しないと判断される
とスタート点ヘフィードバソクされ、算出すると判断さ
れれば第0段で演算部13によりθの演算処理がなされ
て座標回転角・座標回転中心・メモリ15に記憶されて
からスタート点へフィードバックされる。
If the counter 10 is not N=1 at the 0th stage, proceed to the 0th stage, and if the counter 10 is N==2 at the 0th stage, the work coordinate value (xz, yz) of the point P2 is calculated at the 0th stage. Read and store in memory 12. Furthermore, in the 0th stage, it is determined whether or not only the angle of the coordinate rotation angle θ is calculated. If it is determined not to be calculated, it is fed back to the starting point, and if it is determined to be calculated, the calculation unit After arithmetic processing is performed, the coordinate rotation angle, the coordinate rotation center, and the coordinate rotation center are stored in the memory 15 and then fed back to the starting point.

第0段でカウンタ10がN=2でなければ第[相]段に
進みカウンタ10がN=3であるかどうか判別する。N
=3であると判断されると第0段で点P3のワーク座標
値(X3.ys)が演算部14に取り込まれて座標回転
中心の座標値QX、 Φyが求められる。求められた座
標値Φx、oyが座標回転角・座標回転中心・メモリ1
5に記憶される。
If the counter 10 is not N=2 at the 0th stage, the process proceeds to the [phase] stage and it is determined whether the counter 10 is N=3. N
When it is determined that =3, the workpiece coordinate value (X3.ys) of point P3 is taken into the calculation unit 14 at the 0th stage, and the coordinate values QX, Φy of the center of coordinate rotation are determined. The obtained coordinate values Φx, oy are the coordinate rotation angle, coordinate rotation center, and memory 1.
5 is stored.

第[相]段でN=3でないと判断されると例外処理ハン
ドラが行われる。
If it is determined in the [phase] stage that N=3 is not present, an exception handling handler is executed.

第■及び第0段で求められて座標回転角・座標回転中心
・メモリ15に記憶された座標回転角θ。
The coordinate rotation angle, the coordinate rotation center, and the coordinate rotation angle θ obtained in the 2nd and 0th stages and stored in the memory 15.

座標回転中心の座標値ox、oyおよび加工プログラム
・メモリ5に記憶されている加工プログラムデータが加
工プログラムコンバータ16に取り込まれて加工点Pの
ワーク座標系の座標値x、  yが機械座標系の座標値
X、Yへの変換補正処理がなされる。次いで位置送り制
御手段のモータ6Cが駆動制御されて自動修正がなされ
る。
The coordinate values ox, oy of the coordinate rotation center and the machining program data stored in the machining program memory 5 are taken into the machining program converter 16, and the coordinate values x, y of the workpiece coordinate system of the machining point P are converted into the machine coordinate system. A conversion correction process to the coordinate values X and Y is performed. Next, the motor 6C of the position feed control means is driven and controlled to perform automatic correction.

〔効果〕〔effect〕

本発明はテーブル上にワーク例えt測角物ワークがどの
ような状態で置かれているかを検出するため、テーブル
上のワークの加工基準面および該加工基準面に直交する
加工面夫々にタッチセンサのプローブを当て機械座標軸
とのなす角度すなわち座標回転角、加工基準面と直交す
る加工面との交点すなわち座標回転中心座標値を求めて
加工点におけるワーク座標系の寸法を機械座標系の寸法
に自動的に演算し自動修正するようにしたから、被加工
物取付時の段取時間が削減されて迅速な処理が可能とな
った。延いては作業効率の向上につながる効果を奏する
In order to detect the state in which a workpiece (for example, a goniometric object workpiece) is placed on a table, the present invention provides touch sensors on each of the machining reference surface of the workpiece on the table and the machining surface perpendicular to the machining reference surface. The dimensions of the workpiece coordinate system at the machining point are converted into the dimensions of the machine coordinate system by applying the probe to the machine coordinate axis and determining the angle formed by the machine coordinate axis, that is, the coordinate rotation angle, and the intersection point between the machining reference plane and the orthogonal machining surface, that is, the coordinate rotation center coordinate value. Automatic calculations and automatic corrections reduce setup time when attaching workpieces, allowing for faster processing. In turn, this has the effect of improving work efficiency.

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

第1図は本発明の構成を示す制御ブロック図である。第
2図(イ)は本発明の基本原理を説明するモデル図、第
2図(II+)は座標回転角および座標回転中心座標値
を求めるモデル図、第2図(ハ)はワーク座標系から機
械座標系へ修正する加工プログラムのモデル図および第
2図(ニ)はタッチセンサのプローブを加工基準面およ
び加工面に接触させて実際上の計測値を計測するタッチ
センサのプローブ半径を考慮する説明のモデル図である
。第3図は本発明の構成を機能的に説明する機能ブロッ
ク図である。第4図は本発明の詳細な説明するフローチ
ャートである。 ■・・・・・・CPU    2・・・・・・画面付キ
ーボード5・・・・・・加工プログラム・メモリ6C・
・・モータ   7a・・・タッチセンサ9・・・・・
・タッチセンサの現在位置レジスタ10・・・・・・カ
ウンタ  11,12・・・メモリ16・・・・・・加
工プログラムコンバータWa・・・加工基準面 wb・
・・加工面ON・・・機械原点  op・・・加工プロ
グラム原点。 特許出願人   日立精機株式会社 第2図(イ) 矛2図(0) 第3図 矛4FIJ
FIG. 1 is a control block diagram showing the configuration of the present invention. Figure 2 (A) is a model diagram explaining the basic principle of the present invention, Figure 2 (II+) is a model diagram for determining the coordinate rotation angle and coordinate rotation center coordinate value, and Figure 2 (C) is a model diagram for calculating the coordinate rotation angle and coordinate rotation center coordinate value. The model diagram of the machining program corrected to the machine coordinate system and Figure 2 (D) take into account the touch sensor probe radius that measures the actual measurement value by bringing the touch sensor probe into contact with the machining reference surface and the machining surface. It is a model diagram for explanation. FIG. 3 is a functional block diagram functionally explaining the configuration of the present invention. FIG. 4 is a flowchart illustrating the present invention in detail. ■・・・CPU 2・・・Keyboard with screen 5・・・Machining program memory 6C・
...Motor 7a...Touch sensor 9...
- Touch sensor current position register 10... Counter 11, 12... Memory 16... Machining program converter Wa... Machining reference plane wb.
...Machining surface ON...Machine origin op...Machining program origin. Patent applicant Hitachi Seiki Co., Ltd. Figure 2 (A) Figure 2 (0) Figure 3 Figure 4 FIJ

Claims (1)

【特許請求の範囲】[Claims] 予め設定された種々のパラメータ等を入出力せしめる入
出力手段と、各位置を検出する位置検出手段と、該位置
検出手段が加工基準面および該加工基準面に直交する加
工面に接触したことを検出する接触検出手段と、工作機
械が角度の検出を行う検出動作もしくは加工プログラム
の再生を行う再生動作を選択する選択手段と、前記位置
検出手段により加工基準面の2点と加工面の1点の位置
を検出し、その検出した位置データをもとに演算処理し
て座標回転角と座標回転中心座標値を求める座標回転角
・座標回転中心検出手段と、該座標回転角・座標回転中
心検出手段で検出された座標回転角および座標回転中心
の座標値を記憶する座標回転角・座標回転中心・メモリ
と、加工プログラムデータを記憶する加工プログラム・
メモリと、該加工プログラム・メモリに記憶されている
加工プログラムデータと、座標回転角・座標回転中心・
メモリに記憶されている座標回転角、座標回転中心座標
値から加工点のワーク座標値を機械座標値に修正する修
正量を算出し工作機械の動作を修正する修正手段と、テ
ーブル等を移動させる為の位置送り制御手段とからなる
ことを特徴とする工作機械の座標修正装置。
An input/output means for inputting and outputting various preset parameters, a position detecting means for detecting each position, and a position detecting means for detecting when the position detecting means has contacted a machining reference surface and a machining surface orthogonal to the machining reference surface. A contact detection means for detecting, a selection means for selecting a detection operation in which the machine tool detects an angle or a regeneration operation in which the machining program is reproduced, and the position detection means detects two points on the machining reference surface and one point on the machining surface. a coordinate rotation angle/coordinate rotation center detection means for detecting the position of and calculating a coordinate rotation angle and a coordinate rotation center coordinate value based on the detected position data, and detecting the coordinate rotation angle/coordinate rotation center. A coordinate rotation angle/coordinate rotation center/memory that stores the coordinate rotation angle detected by the means and coordinate values of the coordinate rotation center, and a machining program/memory that stores machining program data.
The memory, the machining program, the machining program data stored in the memory, the coordinate rotation angle, coordinate rotation center,
A correction means for correcting the operation of the machine tool by calculating the correction amount for correcting the workpiece coordinate value of the machining point to the machine coordinate value from the coordinate rotation angle and coordinate rotation center coordinate value stored in the memory, and moving the table, etc. A coordinate correction device for a machine tool, comprising a position feed control means for adjusting the coordinates of a machine tool.
JP29647785A 1985-12-25 1985-12-25 Machine tool coordinate correction device Pending JPS62152645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29647785A JPS62152645A (en) 1985-12-25 1985-12-25 Machine tool coordinate correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29647785A JPS62152645A (en) 1985-12-25 1985-12-25 Machine tool coordinate correction device

Publications (1)

Publication Number Publication Date
JPS62152645A true JPS62152645A (en) 1987-07-07

Family

ID=17834060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29647785A Pending JPS62152645A (en) 1985-12-25 1985-12-25 Machine tool coordinate correction device

Country Status (1)

Country Link
JP (1) JPS62152645A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105598742A (en) * 2016-03-07 2016-05-25 潍柴重机股份有限公司 Method for setting machining original points for workpieces
CN107009184A (en) * 2016-01-28 2017-08-04 陕西飞机工业(集团)有限公司 The digital-to-analogue localization method that a kind of part is repeatedly processed
CN108044403A (en) * 2017-12-13 2018-05-18 天水星火机床有限责任公司 A kind of accurate tool setting device of numerically controlled lathe and presetting cutter method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5082488A (en) * 1973-11-26 1975-07-03
JPS59101835A (en) * 1982-11-17 1984-06-12 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Displacing device
JPS59140510A (en) * 1983-02-01 1984-08-11 Mitsubishi Electric Corp Numerical controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5082488A (en) * 1973-11-26 1975-07-03
JPS59101835A (en) * 1982-11-17 1984-06-12 エヌ・ベ−・フイリツプス・フル−イランペンフアブリケン Displacing device
JPS59140510A (en) * 1983-02-01 1984-08-11 Mitsubishi Electric Corp Numerical controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107009184A (en) * 2016-01-28 2017-08-04 陕西飞机工业(集团)有限公司 The digital-to-analogue localization method that a kind of part is repeatedly processed
CN105598742A (en) * 2016-03-07 2016-05-25 潍柴重机股份有限公司 Method for setting machining original points for workpieces
CN108044403A (en) * 2017-12-13 2018-05-18 天水星火机床有限责任公司 A kind of accurate tool setting device of numerically controlled lathe and presetting cutter method

Similar Documents

Publication Publication Date Title
CN102207731B (en) Machine tool having function of setting measurement reference point of workpiece
JPH0360956A (en) Non-contact profile control device
US4881021A (en) Numerical control equipment
JPS62152645A (en) Machine tool coordinate correction device
JP2919754B2 (en) Backlash measurement and correction device for spherical or circular surface machining
JP2001051713A (en) Method and device for teaching work to robot
JPH0464405B2 (en)
JPS58206316A (en) Discharge machining device
JPH06138921A (en) Measuring method and automatic correction method for linear interpolation feeding accuracy of numerically controlled machine tool
JPH081405A (en) Device and method for detecting lost motion
JP2020146808A (en) Measurement system and measurement method
JPS6347579B2 (en)
JPS60175555U (en) Processing reference point correction device for NC machine tools
JPS62241640A (en) Workpiece mounting error correction device in machining center
JP2009136954A (en) Workpiece machining method and numerical control machine tool and workpiece mounting tool
EP0312634B1 (en) Numerical control equipment
JPH03277449A (en) Numerical control device with measurement function
JPS59140510A (en) Numerical controller
JPS62152647A (en) Tool tip measurement
JPH04148308A (en) Designating method for pressing direction for force control robot
JPH0557567A (en) Workpiece center position measuring method
JPH0349851A (en) On-machine measuring device
JPH0825180A (en) Tool edge point detecting device
JPS6125208A (en) Automatic coordinate system setting device for machine tool
JPH0783653A (en) Method and system for measuring shape