JPH03212704A - Method for restoring zero point of rotation axis in numerical controller - Google Patents

Method for restoring zero point of rotation axis in numerical controller

Info

Publication number
JPH03212704A
JPH03212704A JP941790A JP941790A JPH03212704A JP H03212704 A JPH03212704 A JP H03212704A JP 941790 A JP941790 A JP 941790A JP 941790 A JP941790 A JP 941790A JP H03212704 A JPH03212704 A JP H03212704A
Authority
JP
Japan
Prior art keywords
origin
rotation
rotation axis
zero
coordinate system
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.)
Granted
Application number
JP941790A
Other languages
Japanese (ja)
Other versions
JP3013998B2 (en
Inventor
Minoru Sugiyama
実 杉山
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2009417A priority Critical patent/JP3013998B2/en
Publication of JPH03212704A publication Critical patent/JPH03212704A/en
Application granted granted Critical
Publication of JP3013998B2 publication Critical patent/JP3013998B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To quickly restore an origin without considering a mechanical error such as backlash by restoring the origin always in the same rotating direction within 360 deg. angle without reversing the rotation. CONSTITUTION:At first, a work coordinate system is set up to zero and allowed to coincide with the origin of a rotation axis which is the origin (0 deg.) of a mechanical coordinate system. Then a program is executed. Thereby, the rotation axis is rotated up to the angular position 13 of four revolutions or more. In parallel with the rotation control of the rotation axis, the mechanical coordinate system using a mechanical origin included in a numerical control device as its coordinate origin and a work coordinate system formed around a work are restored to zero in each 360 deg. unit. When the rotation axis arrives at the rotational angle position 13 and the origin restoration program is started, the current position of the work coordinate system is read out and the rotational angle 270 deg. up to the succeeding rotational angle zero position is calculated. The rotation axis is rotated by 270 deg. in the same rotating direction and positioned on a newly set rotation axis origin 9 and the completion of the positioning is displayed as zero display.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、数値制御装置における回転軸零点復帰方法に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for returning a rotary axis to zero point in a numerical control device.

(従来の技術) 第3図は、従来の回転軸零点復帰方法を示す。(Conventional technology) FIG. 3 shows a conventional rotary axis zero point return method.

第3図において、0゛は数値制御装置が有する機械座標
系の座標原点であり、これを基準に36o。
In FIG. 3, 0゛ is the coordinate origin of the mechanical coordinate system possessed by the numerical control device, and 36o is based on this.

720°  ・・・・・・の角度位置が規定されている
。そして、数値制御装置はワークの座標系を有し、回転
軸の駆動制御に先立ってプログラムG50 (YO;)
を実行してワーク座標系を零にし、機械座標系の原点(
0°)である回転軸原点12に一致させる0次いで、プ
ログラムGOI(例えばF 1000Y 1530.;
)を実行する。その結果1、第3図に示すように、回転
軸は4回転強の1530”の角度位置13まで回転駆動
される。そして、角度位置13に到達すると、原点復帰
プログラム053 (YO;)が起動され、回転軸は角
度位置13がら逆回転駆動されて角度0°の回転軸原点
12に復帰する。
An angular position of 720° is specified. The numerical control device has the coordinate system of the workpiece, and prior to drive control of the rotary axis, the program G50 (YO;)
to zero the workpiece coordinate system, and set the origin of the machine coordinate system (
Then program GOI (for example F 1000Y 1530.;
). As a result, as shown in Figures 1 and 3, the rotating shaft is driven to rotate a little more than 4 times to the angular position 13 of 1530''.When the angular position 13 is reached, the return-to-origin program 053 (YO;) is started. Then, the rotating shaft is rotated in the opposite direction from the angular position 13 and returns to the rotating shaft origin 12 at an angle of 0°.

(発明が解法しようとする課題) 上述した従来の数値制御装置における回転軸零点復帰方
法では、回転軸原点からの回転角度量だけ回転軸を逆回
転させて回転軸原点に復帰させるようにしているので、
回転角度量が大きくなるにつれて原点復帰に要する時間
が増大する。また、逆回転させるようにしているので、
減速機構を用いる場合、バックラッシュ等の機械誤差を
考慮しなければならないという問題がある。
(Problem to be Solved by the Invention) In the above-mentioned method for returning the rotary axis to zero point in the conventional numerical control device, the rotary axis is reversely rotated by the amount of rotation angle from the rotary axis origin to return to the rotary axis origin. So,
As the amount of rotation angle increases, the time required for returning to the origin increases. Also, since it is rotated in the opposite direction,
When using a speed reduction mechanism, there is a problem in that mechanical errors such as backlash must be taken into account.

本発明は、このような問題に鑑みなされたもので、その
目的は、回転軸原点からの回転角度量とは無関係に同一
回転方向において短時間に原点復帰ができる数値制御装
置における回転軸零点復帰方法を提供することにある。
The present invention was made in view of such problems, and its purpose is to return the rotary axis to zero point in a numerical control device that can return to the origin in a short time in the same rotation direction regardless of the amount of rotation angle from the rotation axis origin. The purpose is to provide a method.

(課題を解決するための手段) 前記目的を達成するなめに、本発明の数値制御装置にお
ける回転軸零点復帰方法は次の如き構成を有する。
(Means for Solving the Problems) In order to achieve the above object, a rotary axis zero point return method in a numerical control device of the present invention has the following configuration.

即ち、本発明の数値制御装置における回転軸零点復帰方
法は、回転軸を同一回転方向に回転駆動制御した後、回
転軸を零点位置に復帰させる数値制御装置における回転
軸零点復帰方法において;回転軸を同一回転方向に回転
駆動制御をしている際に、1回転毎に回転角度を零度に
する処理をしてこれを基準に1回転以内の回転角度を規
定するようにし; 回転軸の回転駆動制御の終了に応答
して、その終了時の回転角度位置から同一回転方向にお
ける次の回転角度零度までの回転角度を算出し; 算出
した回転角度だけ回転軸を同一回転方向に回転させる;
 ようにしたことを特徴とするものである。
That is, a rotary shaft zero point return method in a numerical control device of the present invention is a rotary shaft zero point return method in a numerical control device that returns the rotary shaft to a zero point position after rotating the rotary shaft in the same rotational direction; When controlling the rotational drive in the same direction of rotation, the rotation angle is set to zero for each rotation, and the rotation angle within one rotation is defined based on this; Rotation drive of the rotation axis In response to the end of the control, calculate the rotation angle from the rotation angle position at the end to the next rotation angle of zero degrees in the same rotation direction; rotate the rotation axis in the same rotation direction by the calculated rotation angle;
It is characterized by the following.

(作 用) 次に、前記の如く構成される本発明の数値制御装置にお
ける回転軸零点復帰方法の作用を説明する。
(Function) Next, the function of the rotary axis zero point return method in the numerical control device of the present invention configured as described above will be explained.

回転軸を同一回転方向に回転駆動する制御と並行して1
回転毎に回転角度を零度にする処理をし、回転軸の回転
駆動制御が終了するとその終了時の回転角度位置から同
一回転方向における次の回転角度零度までの回転角度を
算出し、その算出した回転角度だけ回転軸を同一回転方
向に回転させる。
1 in parallel with the control to rotate the rotating shaft in the same rotational direction.
The rotation angle is set to zero degrees for each rotation, and when the rotational drive control of the rotary shaft is completed, the rotation angle from the rotation angle position at the end to the next rotation angle of zero degrees in the same rotation direction is calculated. Rotate the rotation shaft in the same rotation direction by the rotation angle.

即ち、回転軸を次の回転角度零度の位置に位置決めし、
新たな原点とするのである。
That is, position the rotation axis at the next rotation angle of zero degrees,
It is a new starting point.

斯くして、逆回転することなく常に360゛以内に原点
復帰できることになる。
In this way, it is possible to always return to the origin within 360° without rotating backwards.

(実 ・施 例) 以下、本発明の実施例を添付図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the accompanying drawings.

第1図は本発明の一実施例に係る数値制御装置における
回転軸零点復帰方法の動作フローチャート、第2図は具
体的な動作説明図である。
FIG. 1 is an operation flowchart of a rotary axis zero point return method in a numerical control device according to an embodiment of the present invention, and FIG. 2 is a detailed explanatory diagram of the operation.

最初のステップ1では、制御対象が回転軸であるか否か
を判定し、判定結果が肯定(YES)であれば次のステ
ップ2へ進む0周知のように、数値制御装置の制御対象
には回転軸の他に直線軸もあるので、その直線軸を除外
するのである。
In the first step 1, it is determined whether the controlled object is a rotating shaft or not, and if the judgment result is affirmative (YES), proceed to the next step 2.0 As is well known, the controlled object of the numerical control device is In addition to the rotational axis, there is also a linear axis, so that linear axis is excluded.

なお、回転軸の回転駆動制御は、従来と同様であって、
まずプログラムG50(YO;)を実行してワーク座標
系を零にし、機械座標系の原点(0°)である回転軸原
点12に一致させ、次いで例えばプログラムGO1(F
l(100YI530.:)を実行するのである。従っ
て、本実施例においても第2図に示すように、回転軸は
4回転強の1530゜の角度位置13まで回転駆動され
る6 ステツプ2では、回転軸の回転駆動制御と並行して、数
値制御装置が有する機械原点を座標原点とする機械座標
系と工作物を中心としたワーク座標系とを360゛単位
で零度に戻す処理(r360°丸目処理」と称される)
を行う、第2図に示すように、360°→O@、720
°→o @、togo’→0″1440@→0°となる
。この3606丸目処理は本発明に係る原点復帰プログ
ラムG58 (YO、)が起動される家で繰り返し実行
される(ステップ2→同3→同2)。
Note that the rotational drive control of the rotating shaft is the same as before,
First, execute program G50 (YO;) to zero the workpiece coordinate system and make it coincide with the rotation axis origin 12, which is the origin (0°) of the machine coordinate system, and then, for example, program GO1 (F
l(100YI530.:). Therefore, in this embodiment as well, as shown in FIG. A process of returning the machine coordinate system with the machine origin of the control device as the coordinate origin and the workpiece coordinate system centered on the workpiece to zero degrees in units of 360° (referred to as r360° rounding process)
As shown in Figure 2, 360°→O@, 720°
°→o@, togo'→0″1440@→0°. This 3606 round process is repeatedly executed at the home where the origin return program G58 (YO,) according to the present invention is started (step 2→same). 3 → same 2).

回転軸が回転角度位置13に到達し、原点復帰プログラ
ムG58 (YO: )が起動されると、ステップ3の
判定結果は肯定(YES)となり、ワーク座標系におけ
る現在値(pos>を読み取り(ステップ4)、その正
負を判定する(ステップ5ン0回転軸の回転方向を正負
の符号で示しである。現在値(PO3)が正であれば、
ステップ6にて(360−POIの演算をし、また現在
値(POS)が負であればステップ7にて(−(360
−I PO3l ) lの演算をする。即ち、回転角度
位置13は回転軸原点12からは1530°の位置にあ
るが、前回零度位i! (1440’ )から90゛回
転した位置にあるから、次の回転角度零度位置(180
0’ )までの回転角度(270°)を求めるのである
When the rotation axis reaches the rotation angle position 13 and the return-to-origin program G58 (YO: ) is started, the judgment result in step 3 becomes affirmative (YES), and the current value (pos> in the workpiece coordinate system is read (step 4) Determine whether it is positive or negative (Step 5) The direction of rotation of the rotation axis is indicated by a positive or negative sign. If the current value (PO3) is positive,
In step 6, (360-POI is calculated, and if the current value (POS) is negative, in step 7, (-(360
-I PO3l ) Calculate l. That is, the rotation angle position 13 is at a position of 1530 degrees from the rotation axis origin 12, but it is at the previous zero degree i! Since it is at a position rotated 90 degrees from (1440'), the next rotation angle zero degree position (180
The rotation angle (270°) up to 0' is calculated.

そして、最後のステップ8では、回転軸を同一回転方向
に27θ°回転させ、新たに設定した回転軸原点9に位
置決めし、その位置決めを完了した旨を零度表示すると
ともに、回転軸が原点位置にあることを示す信号を外部
に出力し、一連の復帰動作を終了する。
Then, in the final step 8, the rotation axis is rotated by 27θ° in the same rotation direction, positioned at the newly set rotation axis origin 9, and a zero degree is displayed to indicate that the positioning is completed, and the rotation axis is returned to the origin position. A signal indicating that there is a condition is output to the outside, and the series of return operations is completed.

(発明の効果) 以上説明したように、本発明の数値制御装置における回
転軸零点復帰方法によれば、逆回転させることなく常に
同一回転方向で、しかも360°以内に原点復帰できる
ようにしたので、バックラッシュ等の機械誤差を考慮す
ることなく、短時間で原点復帰できる効果がある。
(Effects of the Invention) As explained above, according to the rotary axis zero point return method in the numerical control device of the present invention, it is possible to always return to the origin in the same rotational direction and within 360° without reverse rotation. This has the effect of returning to the origin in a short time without considering mechanical errors such as backlash.

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

第1図は本発明の一実施例に係る数値制御装置における
回転軸零点復帰方法の動作フローチャート、第2図は本
発明方法の具体的な動作説明図、第3図は従来方法の動
作説明図である。 9・・・・・・本発明方法によって移動した位置(新た
な回転軸原点)、 12・・・・・・回転軸の回転駆動
制御開始時の回転軸原点、 13・・・・・・回転軸の
回転駆動制御終了時の回転角度位置。
Fig. 1 is an operation flowchart of a rotary axis zero point return method in a numerical control device according to an embodiment of the present invention, Fig. 2 is a detailed explanatory diagram of the operation of the method of the present invention, and Fig. 3 is an explanatory diagram of the operation of the conventional method. It is. 9...Position moved by the method of the present invention (new rotation axis origin), 12...Rotation axis origin at the start of rotational drive control of the rotation axis, 13...Rotation Rotation angle position at the end of axis rotation drive control.

Claims (1)

【特許請求の範囲】[Claims] 回転軸を同一回転方向に回転駆動制御した後、回転軸を
零点位置に復帰させる数値制御装置における回転軸零点
復帰方法において;回転軸を同一回転方向に回転駆動制
御をしている際に、1回転毎に回転角度を零度にする処
理をしてこれを基準に1回転以内の回転角度を規定する
ようにし;回転軸の回転駆動制御の終了に応答して、そ
の終了時の回転角度位置から同一回転方向における次の
回転角度零度までの回転角度を算出し;算出した回転角
度だけ回転軸を同一回転方向に回転させる;ようにした
ことを特徴とする数値制御装置における回転軸零点復帰
方法。
In a rotary shaft zero point return method in a numerical control device that returns the rotary shaft to the zero point position after controlling the rotary shaft in the same rotational direction; The rotation angle is set to zero for each rotation, and the rotation angle within one rotation is defined based on this; in response to the end of the rotational drive control of the rotary shaft, the rotation angle is adjusted from the rotation angle position at the end of the rotational drive control. A rotation axis zero point return method in a numerical control device, characterized in that: calculates the rotation angle up to the next rotation angle of zero degrees in the same rotation direction; and rotates the rotation axis in the same rotation direction by the calculated rotation angle;
JP2009417A 1990-01-18 1990-01-18 Rotary axis zero return method in numerical controller Expired - Fee Related JP3013998B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009417A JP3013998B2 (en) 1990-01-18 1990-01-18 Rotary axis zero return method in numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009417A JP3013998B2 (en) 1990-01-18 1990-01-18 Rotary axis zero return method in numerical controller

Publications (2)

Publication Number Publication Date
JPH03212704A true JPH03212704A (en) 1991-09-18
JP3013998B2 JP3013998B2 (en) 2000-02-28

Family

ID=11719801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009417A Expired - Fee Related JP3013998B2 (en) 1990-01-18 1990-01-18 Rotary axis zero return method in numerical controller

Country Status (1)

Country Link
JP (1) JP3013998B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381560A (en) * 2020-04-30 2020-07-07 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57201153A (en) * 1981-05-29 1982-12-09 Toshiba Corp Control device for spindle indexing of machine tool

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57201153A (en) * 1981-05-29 1982-12-09 Toshiba Corp Control device for spindle indexing of machine tool

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381560A (en) * 2020-04-30 2020-07-07 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing
CN111381560B (en) * 2020-04-30 2023-01-06 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing

Also Published As

Publication number Publication date
JP3013998B2 (en) 2000-02-28

Similar Documents

Publication Publication Date Title
WO1991009358A1 (en) Servo motor control method
JPH01252340A (en) Machining control device employing force sensor
JPS58132439A (en) Correction control system of work program in nc machine tool
JPH0655037B2 (en) Servo motor speed control method
JPH07164359A (en) Circular arc tracking method of robot
JPH03212704A (en) Method for restoring zero point of rotation axis in numerical controller
WO1991015334A1 (en) Gear pitch error correction system of numerical controller
JPH0731534B2 (en) How to create an offset shape
WO1995006851A1 (en) Gear shape measurement system
WO1985000678A1 (en) Method of inspecting machining locus control
JPS6332608A (en) Numerical controller
JPS61100815A (en) Method for returning revolving shaft to reference point
JPS59201107A (en) Control system for restart of processing with numerical control
JP2652789B2 (en) Arc tracking control method
JPH04289020A (en) Automatic setting device for gear grinding machine
JPS59124561A (en) Cam grinding method
JPS6168606A (en) Numerical controller
JPH0365088A (en) Controller of motor
JPS6374550A (en) Machine tool
JPH0623681A (en) Robot origin return device
JPS62114815A (en) Hob head swiveling device for nc gear hobbing machine
JPH0326416A (en) Thread cutting control
JPH04326104A (en) robot control device
JPH11272321A (en) Grinding method of non-completely round work piece
WO1990008990A1 (en) Preparation method of machining program of cylindrical groove shape

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees