JPH04130501A - Origin position adjusting method and numerical controller therefor - Google Patents

Origin position adjusting method and numerical controller therefor

Info

Publication number
JPH04130501A
JPH04130501A JP25126790A JP25126790A JPH04130501A JP H04130501 A JPH04130501 A JP H04130501A JP 25126790 A JP25126790 A JP 25126790A JP 25126790 A JP25126790 A JP 25126790A JP H04130501 A JPH04130501 A JP H04130501A
Authority
JP
Japan
Prior art keywords
reference point
grid
machine
origin position
movable part
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
JP25126790A
Other languages
Japanese (ja)
Inventor
Takao Sasaki
隆夫 佐々木
Kentaro Fujibayashi
謙太郎 藤林
Morimasa Sato
盛正 佐藤
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP25126790A priority Critical patent/JPH04130501A/en
Publication of JPH04130501A publication Critical patent/JPH04130501A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To determine a grid shift amount required for adjusting a reference point with only operation of reference point return by measuring distance between a position detected with a machine position detector and a grid position. CONSTITUTION:The set position of a dog 2 is adjusted so that a deceleration signal *DECX with a limit switch 3 can be generated at a position at a dis tance of X from the reference point of a machine, L/2 for example, which is determined corresponding to a space L between grid points. Commanding a manual reference point return moves a machine table 1 at a low speed with the dog 2 depressed with the limit switch 3 for deceleration and stops the machine at a first grid position. At this time, a moving distance l of a moving part from the position where the limit switch 3 departs from the dog 2 up to the position where the moving part stops is measured and a grid shift amount d(=x-l) is calculated with a CPU 11. Thus, the grid shift amount required for adjusting the reference point can be determined with only one operation of the reference point return.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、グリッド位置を機械原点と一致させる原点位
置の調整方法及びそのための数値制御装置に関し、特に
電源投入後に数値制御のだ杓の座標原点を機械固有の基
準点と一致させる原点(リファレンス点)復帰操作に必
要な原点位置の調整方法及びそのための数値制御装置に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method of adjusting the origin position to match the grid position with the machine origin and a numerical control device for the same, and particularly relates to a method for adjusting the origin position to match the grid position with the machine origin and a numerical control device for the same. The present invention relates to a method for adjusting the origin position necessary for an origin (reference point) return operation to match the origin with a machine-specific reference point, and a numerical control device therefor.

〔従来の技術〕[Conventional technology]

数値制御装置を用いて制御される工作機械あるいはロボ
ット(以下、単に機械という)には、移動指令に対して
独立したリファレンス点が必要である。リファレンス点
とは、工具等の機械の可動部の基準となり、機械に固定
された点である。
A machine tool or robot (hereinafter simply referred to as a machine) that is controlled using a numerical control device requires an independent reference point for movement commands. The reference point is a point fixed to the machine that serves as a reference for movable parts of the machine such as tools.

般に、電源投入後にリファレンス点復帰を行い、このリ
ファレンス点から加工が開始されるようになっている。
Generally, a reference point is returned after the power is turned on, and machining is started from this reference point.

一方、上記可動部を駆動するモータは、移動指令に対す
るフィードバック信号に基づいて制御されるが、このフ
ィードバック信号を形成するため、位置検出器が設けら
れる。そして、通常の位置検出器では、モータの1回転
当たりの上記可動部の移動量を、等間隔で発生するグリ
ッド信号がら知るようにしている。機械のリファレンス
点も、このグリッド点を基準にして設定される。
On the other hand, the motor that drives the movable part is controlled based on a feedback signal in response to a movement command, and a position detector is provided to form this feedback signal. In a normal position detector, the amount of movement of the movable part per rotation of the motor is known from grid signals generated at equal intervals. The reference point of the machine is also set based on this grid point.

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

しかし、機械を設置する際に従来の数値制御装置!では
、ニーqが手動により機械のリファレンス点の調整をし
ており、この調整作業は、減速用リミットスイッチの位
置を変更したり、グリッドシフト量をマイクロメータに
よって実測するなど、ユーザにとっては非常に煩わしい
ものであった。
However, when installing the machine, the traditional numerical control device! In this case, Niq manually adjusts the reference point of the machine, and this adjustment work is very difficult for the user, as it involves changing the position of the deceleration limit switch and actually measuring the amount of grid shift using a micrometer. It was annoying.

本発明はこのような点に鑑みてなされたものであり、1
回のリファレンス点復帰操作だけでリファレンス点の調
整に必要なグリッドシフト量を決定できる原点位置の調
整方法及びそのための数値制御装置を提供することを目
的とする。
The present invention has been made in view of the above points, and has the following features:
It is an object of the present invention to provide an origin position adjustment method that can determine the grid shift amount necessary for reference point adjustment with only one reference point return operation, and a numerical control device therefor.

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

本発明では上記課題を解決するた於に、リファレンス点
復帰操作により、複数のグリッド点のうち特定されたグ
リッド点の位置(グリッド位置)から、機械の可動部に
固有の基準点までの偏差を調整する原点位置の調整方法
において、前記グリッド点の間隔りに応じて決まる距離
Xだけ前記基準点から離れた位置に、前記機械位置の検
出器を固定する第1ステップと、リファレンス点復帰操
作の際に前記可動部の駆動手段の駆動量に比例して発生
するパルスに基づいて、前記固定された検出器による検
出位置から前記グリッド位置までの距離lを計測する第
2ステップど、前記グリッド位置と前記基準点との偏差
を式から演算し、この偏差に基づいて原点位置を調整す
る第3ステップとを含むことを特徴とする原点位置の調
整方法が提供される。
In order to solve the above problems, the present invention uses a reference point return operation to calculate the deviation from the position of a specified grid point (grid position) among a plurality of grid points to a reference point specific to the movable part of the machine. The method for adjusting the origin position to be adjusted includes a first step of fixing the machine position detector at a position separated from the reference point by a distance X determined according to the spacing of the grid points, and a reference point return operation. A second step of measuring the distance l from the detection position by the fixed detector to the grid position based on a pulse generated in proportion to the drive amount of the drive means of the movable part, and a third step of calculating the deviation between the reference point and the reference point using an equation, and adjusting the origin position based on the deviation.

また、本発明では、 数値制御される機械のリファレンス点を可動部に固有の
基準点と一致させて原点位置を調整する数値制御装置に
おいて、機械に固有の原点位置を基準点として記憶する
記憶手段と、前記機械の各座標軸に設けた減速用リミッ
トスイッチとドグに基づいて、前記基準点で可動部を停
止制御する制御手段と、前記制御手段で停止した機械可
動部の移動距離を、前記減速用リミットスイッチが復旧
した後の経過時間に基づいて計測する計測手段と、前記
計測手段の計測の結果と、前記記憶手段が記憶している
基準点までの距離との偏差だけ前記グリッド信号の発生
タイミングをシフトするグリッドシフト手段と、前記減
速用リミットスイッチによって特定されたグリッド信号
を数値制御のためのリファレンス点としてリファレンス
点復帰を指令する指令手段と、を具備したことを特徴と
する数値制御装置が提供される。
Further, the present invention provides a numerical control device that adjusts the origin position by aligning a reference point of a numerically controlled machine with a reference point specific to a movable part, and a storage means for storing the origin position specific to the machine as a reference point. a control means for controlling the movable part to stop at the reference point based on a deceleration limit switch and a dog provided on each coordinate axis of the machine; a measuring means that measures based on the elapsed time after the limit switch is restored; and generating the grid signal by the deviation between the measurement result of the measuring means and the distance to the reference point stored in the storage means. A numerical control device comprising: a grid shift means for shifting timing; and a command means for commanding reference point return using the grid signal specified by the deceleration limit switch as a reference point for numerical control. is provided.

〔作用〕[Effect]

本発明の数値制御装置と接続される機械のりファレンス
点から、グリッド点の間隔りに応じて決まる距離X(例
えば、L/2)だけ離れた位置で、減速用リミットスイ
ッチが復旧するように、例えばドグを固定する。数値制
御装置を調整モードに切り換えて、手動でリファレンス
点復帰操作をして、機械の可動部を上記リミットスイッ
チが復旧した後の最初のグリッドで停止させたとき、上
記距離Xと、減速用リミットスイッチが復旧した後の経
過時間に基づいて計測された可動部の移動距離から、自
動的にグリッドシフト量が決定できる。
so that the deceleration limit switch is restored at a position separated by a distance X (for example, L/2) determined according to the grid point spacing from the mechanical reference point connected to the numerical control device of the present invention; For example, fix the dog. When the numerical control device is switched to adjustment mode and the reference point return operation is performed manually to stop the moving parts of the machine at the first grid after the limit switch is restored, the above distance X and the deceleration limit are The amount of grid shift can be automatically determined from the moving distance of the movable part, which is measured based on the elapsed time after the switch is restored.

〔実施例〕〔Example〕

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

第2図は本発明の原点位置の調整方法を実施するだめの
数値制御装置と機械可動部の一部を表す図である。プロ
セッサ11は数値制御装置(CNC)全体の制御の中心
となるプロセッサであり、ROM12に格納されたシス
テムプログラムに従って、数値制御装置(CNC)全体
の制御を実行する。ROM12にはEPROM又はEE
PROMが使用される。RAM13にはSRAMが使用
され、−時的な計算データや表示データ等の各種データ
が格納される。不揮発性メモリ14には工具補正量、加
ニブログラム14a及び各種パラメータ14b等が格納
され、バッテリバックアップされたCNC5等が使用さ
れるので、数値制御装置の電源切断後もその内容が保持
される。各種パラメータ14bとして、機械可動部の各
座標軸の基準位置Xや、グリッドシフト量d等も格納さ
れている。
FIG. 2 is a diagram showing a numerical control device and part of a mechanical movable part for implementing the method of adjusting the origin position of the present invention. The processor 11 is a central processor for controlling the entire numerical control device (CNC), and executes control of the entire numerical control device (CNC) according to a system program stored in the ROM 12. ROM12 is EPROM or EE
PROM is used. An SRAM is used as the RAM 13, and various data such as temporal calculation data and display data are stored. The non-volatile memory 14 stores the tool correction amount, the cutting program 14a, various parameters 14b, etc., and since a battery-backed CNC 5 or the like is used, the contents are retained even after the numerical control device is powered off. As various parameters 14b, the reference position X of each coordinate axis of the mechanical movable part, the grid shift amount d, etc. are also stored.

PMC(プログラマブル・マシン・コントローラ)15
は、M機能、1機能等の指令を受けて、ラダープログラ
ム15aによって工作機械を制御する信号に変換して出
力する。また、機械側からのリミットスイッチの信号又
は機械操作盤7からの各種の信号を受けて、それをシー
ケンスプログラムで処理する。処理に必要な信号はバス
を経由してRAM13に格納され、プロセッサ11によ
って読み取られる。
PMC (Programmable Machine Controller) 15
receives commands such as the M function and the 1 function, converts them into signals for controlling the machine tool according to the ladder program 15a, and outputs the signals. It also receives limit switch signals from the machine side or various signals from the machine operation panel 7, and processes them using a sequence program. Signals necessary for processing are stored in the RAM 13 via the bus and read by the processor 11.

表示制御回路16は各軸の現在位置、移動量、基準位置
X等のデータを表示信号に変換し、表示装置16aに送
る。表示装置16aはこの表示信号を表示する。表示装
置16aにはCRT、液晶表示装置等が使用される。キ
ーボード17は各種のデータを入力するのに使用される
The display control circuit 16 converts data such as the current position, movement amount, and reference position X of each axis into a display signal and sends it to the display device 16a. The display device 16a displays this display signal. A CRT, liquid crystal display, or the like is used as the display device 16a. The keyboard 17 is used to input various data.

位置制御回路18はプロセッサからの位置指令を受けて
、サーボモータ20を制御するための速度指令信号をサ
ーボアンプ19に出力する。サーボアンプ19はこの速
度指令信号を増幅し、サーボモータ20を駆動する。サ
ーボモータ20には位置帰還信号を出力するパルスコー
ダ21が結合されている。パルスコーダ21は位置帰還
パルスを位置制御回路18にフィードバックする。また
、パルスコーダ21からの位置帰還パルスを微分して、
速度帰還信号を生成している。パルスコーダ21に代え
て、この他にリニアスケール等の位置検出器を使用する
場合もある。これらの要素は軸数分だけ必要であるが、
各要素の構成は同じなので、ここではX軸分のみ記載し
である。
The position control circuit 18 receives a position command from the processor and outputs a speed command signal for controlling the servo motor 20 to the servo amplifier 19. The servo amplifier 19 amplifies this speed command signal and drives the servo motor 20. A pulse coder 21 that outputs a position feedback signal is coupled to the servo motor 20. The pulse coder 21 feeds back position feedback pulses to the position control circuit 18. Also, by differentiating the position feedback pulse from the pulse coder 21,
Generates a speed feedback signal. Instead of the pulse coder 21, a position detector such as a linear scale may be used. These elements are required for the number of axes, but
Since the configuration of each element is the same, only the X-axis is described here.

入出力回路23は機械側との人出力信号の授受を行うも
のであり、IJ ミツトスイッチ3及び5の信号*DE
CX、*−LXはこの入出力回路23に入力される。ま
た、工具交換を制御する工具選択信号(T信号)等はこ
の入出力回路23から機械側制御回路(図示されていな
い)へ出力される。
The input/output circuit 23 is for transmitting and receiving human output signals to and from the machine side, and the input/output circuit 23 is for transmitting and receiving human output signals to and from the machine side.
CX and *-LX are input to this input/output circuit 23. Further, a tool selection signal (T signal) for controlling tool exchange and the like are outputted from this input/output circuit 23 to a machine side control circuit (not shown).

手動パルス発生器24は回転角度に応じて、各軸を精密
に移動させるパルス列を出力するものであり、通常は機
械操作盤7に実装されるが本実施例では別々に示した。
The manual pulse generator 24 outputs a pulse train for precisely moving each axis according to the rotation angle, and is normally mounted on the machine operation panel 7, but is shown separately in this embodiment.

図ではスピンドルを制御するためのスピンドルアンプ、
スピンドルモータ等は省略しである。
The figure shows a spindle amplifier for controlling the spindle,
The spindle motor etc. are omitted.

また、ここでは、プロセッサは1個で説明したが、シス
テムに応じて複数のプロセッサを使用したマルチプロセ
ッサシステム構成にして処理速度を向上することもでき
る。
Further, although the description has been made using one processor here, depending on the system, a multiprocessor system configuration using a plurality of processors may be used to improve the processing speed.

サーボモータ20には機械的にボールネジ6が結合され
ており、機械テーブル1の移動を制御する。すなわちポ
ールネジ60回転によって機械テーブル1はX軸方向に
移動する。
A ball screw 6 is mechanically coupled to the servo motor 20 to control the movement of the machine table 1. That is, the machine table 1 moves in the X-axis direction by turning the pole screw 60 times.

機械テーブル1の下部に減速用ドグ2が固定されている
。これに、対応してリミットスイッチ3があり、減速信
号*DECXを出力する。
A deceleration dog 2 is fixed to the lower part of the machine table 1. There is a limit switch 3 corresponding to this, which outputs a deceleration signal *DECX.

さらに、機械テーブル1の下部にはス)o−クエンド用
のドグ4があり、これに対応して、リミットスイッチ5
がある。機械テーブル1が左側へ移動すると、リミット
スイッチ5にドグ4が当たり、ストロークエンド信号*
−LXを出力する。
Further, at the bottom of the machine table 1 there is a dog 4 for the engine end, and a limit switch 5 corresponding to the dog 4 is provided.
There is. When the machine table 1 moves to the left, the dog 4 hits the limit switch 5 and a stroke end signal *
-Output LX.

なお、信号*DECX及び*−LXの記号「*」はリミ
ットスイッチのブレーク接点信号であることを示してい
る。すなわち、ドグ2.4がリミットスイッチ3.4に
当ったときに、オフになる接点信号であることを示して
いる。
Note that the symbol "*" in the signals *DECX and *-LX indicates that they are limit switch break contact signals. That is, this indicates that the contact signal is turned off when the dog 2.4 hits the limit switch 3.4.

次に本発明の原点位置の調整の前提として、上記数値制
御装置において行われる通常のリファレンス点復帰の概
略について述べる。
Next, as a premise for adjusting the origin position of the present invention, an outline of the normal reference point return performed in the numerical control device will be described.

第3図はグリッド方式による手動のリファレンス点復帰
の手順を示す図である。ここで、グリッド方式とはリフ
ァレンス点が位置検出器の1回転信号を元にした電気的
な格子(すなわち、グリッド)によって決められる方式
である。
FIG. 3 is a diagram showing a procedure for manual reference point return using the grid method. Here, the grid method is a method in which a reference point is determined by an electrical grid (i.e., a grid) based on a one-rotation signal from a position detector.

まず、上記機械操作盤7において手動連続送りモード(
J)を選択し、信号Jから手動リファレンス点復帰選択
信号(ZRN)をハイレベルにする。その後、リファレ
ンス点復帰をさせたい軸について、送り軸及び送り方向
の選択信号(+X。
First, on the machine operation panel 7, start with manual continuous feed mode (
J) and set the manual reference point return selection signal (ZRN) from signal J to high level. After that, select the feed axis and feed direction selection signal (+X) for the axis for which you want to return to the reference point.

−X、 +Y、 −Y、 、 、 、 )を選び、可動
部をリファレンス点方向に移動せしめる。
-X, +Y, -Y, , , , ) and move the movable part in the direction of the reference point.

可動部がリファレンス点に近づくと、機械に固定されて
いるリミットスイッチを可動部のドグが踏んで、対応す
る減速信号、例えば*DECXをローレベルにして出力
する。これによって送り速度は一旦零まで減速され、そ
の後自動的にパラメータ設定されたリファレンス点復帰
速度PLの低速送りになる。
When the movable part approaches the reference point, a dog of the movable part steps on a limit switch fixed to the machine, and outputs a corresponding deceleration signal, for example *DECX, at a low level. As a result, the feed speed is once decelerated to zero, and then automatically becomes a low speed feed at the parameter-set reference point return speed PL.

その後に可動部はリミットスイッチを復旧するまで移動
したとき、最初に発生するグリッド点で停止する。さら
にインポジションに入ったことを確認して、リファレン
ス点復帰完了信号ZPXがハイレベルになる。
The movable part then stops at the first grid point that occurs as it moves until the limit switch is restored. Furthermore, after confirming that the device has entered the in-position, the reference point return completion signal ZPX becomes high level.

第4図は、本発明の原点位置の調整方法の概略を説明す
るタイトチャートである。
FIG. 4 is a tight chart illustrating the outline of the method for adjusting the origin position of the present invention.

手動リファレンス点復帰をするに先立って、減速信号*
DECXが機械固有の原点(機械のリファレンス点)P
に対して、グリッド点の間隔りに応じて決まる距離X、
ここではL/2、離れた位置で発生するように、ドグの
設置位置を調整しておく。その後にリファレンス点復帰
摸作を行い、IJミツトスイッチがドグを離れた位置か
ら可動部が停止するまでに可動部が移動した距離βを計
測し、その計測値βと上記距離Xとの偏差がらグリッド
シフトfidを求約る。
Prior to manual reference point return, a deceleration signal*
DECX is the machine-specific origin (machine reference point) P
, the distance X, which is determined according to the spacing of the grid points,
Here, the installation position of the dog is adjusted so that it occurs at a distance of L/2. After that, perform a reference point return simulation, measure the distance β that the movable part has moved from the position where the IJ Mitsutwitch leaves the dog until the movable part stops, and calculate the deviation between the measured value β and the distance X above. Find the grid shift fid.

手動リファレンス点復帰が終了して、自動的にグリッド
シフト量が設定されると、アラームメツセージに従って
オペレータは電源を落とし、その後再度電源をオンにす
ると、リファレンス点が機械に固有の原点と一致する。
When the manual reference point return is completed and the grid shift amount is automatically set, the operator turns off the power according to the alarm message and then turns it on again, so that the reference point coincides with the machine's unique origin.

次に本発明のソフトウェアの処理について述べる。第1
図は本発明の一実施例のフローチャートである。図にお
いて、Sに続く数値はステップ番号を示す。
Next, the software processing of the present invention will be described. 1st
The figure is a flowchart of one embodiment of the present invention. In the figure, the number following S indicates the step number.

〔S1〕各軸毎にリミットスイッチがドグを離れる位置
を、機械固有の原点に対する距離として指示する。例え
ば、このうち距離XはL/2のように、グリッド点の間
隔に応じて指示し、これによってドグの位置を設定する
[S1] Indicate the position where the limit switch leaves the dog for each axis as a distance from the origin unique to the machine. For example, the distance X is specified, such as L/2, according to the interval between grid points, and the position of the dog is thereby set.

〔S2〕各軸毎にパラメータでリファレンス点復帰の調
整モードに設定する。
[S2] Set the reference point return adjustment mode using parameters for each axis.

〔S3〕手動リファレンス点復帰を指令する。[S3] Command manual reference point return.

〔S4〕これによって、機械テーブル1は、リファレン
ス点復帰方向へ、早送り速度Vrで移動し、減速用のリ
ミットスイッチがドグを踏んで、低速度で移動しながら
、リミットスイッチが復旧した後の最初のグリッド位置
で停止する。このときリミットスイッチがドグを離れた
位置から可動部が停止するまでに可動部が移動した距離
lを計測する。この計測にはパルスコーダ21が位置制
御回路18に送出している移動量パルスを使用する。
[S4] As a result, the machine table 1 moves in the reference point return direction at the rapid traverse speed Vr, and while the deceleration limit switch depresses the dog and moves at a low speed, the machine table 1 moves at the first speed after the limit switch is restored. Stop at the grid position. At this time, the distance l that the movable part has moved from the position where the limit switch leaves the dog until the movable part stops is measured. For this measurement, the movement amount pulse sent from the pulse coder 21 to the position control circuit 18 is used.

[35]CN、C内部の例えばCPUIIで、偏差d 
(=X−1)を演算し、不揮発性メモリ14に格納する
[35] CN, for example in CPU II inside C, the deviation d
(=X-1) is calculated and stored in the nonvolatile memory 14.

このように、手動リファレンス点復帰が終了して、なお
グリッドシフト量が設定されると、表示装置16aには
一旦電源をオフにせよというアラームが表示される。こ
こで正常に偏差dが演算されていれば、リファレンス点
復帰の調整モードを設定したパラメータを自動的に解除
し、次に電源を投入した時に手動リファレンス点復帰操
作を行えば、上記偏差がグリッドシフト量として設定さ
れているため、リファレンス点は機械に固有の原点と一
致する。
In this way, when the manual reference point return is completed and the grid shift amount is still set, an alarm to temporarily turn off the power is displayed on the display device 16a. If the deviation d has been calculated normally, the parameter that set the reference point return adjustment mode will be automatically canceled, and the next time the power is turned on, if the manual reference point return operation is performed, the above deviation will be calculated on the grid. Since it is set as a shift amount, the reference point coincides with the origin unique to the machine.

なお、機械可動部として機械テーブルを例に説明したが
、これ以外の軸の原点位置の調整にも同様に適用される
ことは言うまでもない。
Although the explanation has been given using a mechanical table as an example of a mechanical movable part, it goes without saying that the present invention can be similarly applied to adjusting the origin position of other axes.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、数値制御装置の内部で
自動的にグリッドシフト量が設定されるようにしたので
、繰り返し減速用リミットスイッチの位置を変更したり
、グリッドシフト量をマイクロメータによって実測する
などの煩わしさがなくなり、1回のリファレンス点復帰
操作だけでリファレンス点の調整に必要なグリッドシフ
トBを決定できる。
As explained above, in the present invention, the grid shift amount is automatically set inside the numerical control device, so the position of the limit switch for deceleration can be repeatedly changed, and the grid shift amount can be actually measured using a micrometer. The grid shift B necessary for adjusting the reference point can be determined with just one reference point return operation.

この結果、制御対象の機械が異なる場合でも容易に原点
位置を調整でき、精度の良いリファレンス点復帰操作が
可能となる。
As a result, even if the machines to be controlled are different, the origin position can be easily adjusted, and a highly accurate reference point return operation is possible.

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

第1図は本発明の一実施例のフローチャート、第2図は
本発明の原点位置の調整方法を実施するための数値制御
装置と機械可動部の一部を示す図、 第3図は本発明の原点位置の調整方法の概略を説明する
図、 第4図は本発明の一実施例のタイムチャートである。 1・−−−一−・機械テーブル 2.4    ・ドグ 3.5 11 ・ リミットスイッチ ボールネジ 機械操作盤 プロセッサ OM AM 不揮発性メモリ PMC(プログラマブル ・マシン・コントローラ) 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖 第 ■ 図 第3図
FIG. 1 is a flowchart of an embodiment of the present invention, FIG. 2 is a diagram showing a numerical control device and part of a mechanical movable part for carrying out the method of adjusting the origin position of the present invention, and FIG. 3 is a diagram of the present invention. FIG. 4 is a time chart of an embodiment of the present invention. 1・---1-・Machine table 2.4 ・Dog 3.5 11 ・Limit switch ball screw Machine operation panel Processor OM AM Non-volatile memory PMC (Programmable Machine Controller) Patent applicant Fanuc Co., Ltd. agent Patent attorney Takemitaka Hattori ■ Figure 3

Claims (5)

【特許請求の範囲】[Claims] (1)リファレンス点復帰操作により、複数のグリッド
点のうち特定されたグリッド点の位置(グリッド位置)
から、機械の可動部に固有の基準点までの偏差を調整す
る原点位置の調整方法において、 前記グリッド点の間隔Lに応じて決まる距離Xだけ前記
基準点から離れた位置に、前記機械位置の検出器を固定
する第1ステップと、 リファレンス点復帰操作の際に前記可動部の駆動手段の
駆動量に比例して発生するパルスに基づいて、前記固定
された検出器による検出位置から前記グリッド位置まで
の距離lを計測する第2ステップと、 前記グリッド位置と前記基準点との偏差を式d=X−l から演算し、この偏差に基づいて原点位置を調整する第
3ステップと、 を含むことを特徴とする原点位置の調整方法。
(1) The position of the grid point identified among multiple grid points by the reference point return operation (grid position)
In the method for adjusting the origin position to adjust the deviation from the reference point specific to the movable part of the machine, a first step of fixing the detector, and changing the grid position from the detection position by the fixed detector based on a pulse generated in proportion to the drive amount of the drive means of the movable part during the reference point return operation; a second step of measuring the distance l from the grid position to the reference point, and a third step of calculating the deviation between the grid position and the reference point from the formula d=X−l and adjusting the origin position based on this deviation. A method for adjusting an origin position, characterized by:
(2)前記第1ステップでは、前記距離Xを前記グリッ
ド点の間隔Lに対してL/2として、前記検出器を前記
機械の可動部に固定していることを特徴とする請求項1
記載の原点位置の調整方法。
(2) In the first step, the distance X is set to L/2 with respect to the interval L between the grid points, and the detector is fixed to a movable part of the machine.
How to adjust the origin position described.
(3)前記第3ステップで演算された偏差を、グリッド
シフト量dとして設定し、同時に原点位置の調整の終了
を表示することを特徴とする請求項1記載の原点位置の
調整方法。
(3) The method of adjusting the origin position according to claim 1, characterized in that the deviation calculated in the third step is set as the grid shift amount d, and at the same time, the completion of the adjustment of the origin position is displayed.
(4)数値制御される機械のリファレンス点を可動部に
固有の基準点と一致させて原点位置を調整する数値制御
装置において、 機械に固有の原点位置を基準点として記憶する記憶手段
と、 前記機械の各座標軸に設けた減速用リミットスイッチと
ドグに基づいて、前記基準点で可動部を停止制御する制
御手段と、 前記制御手段で停止した機械可動部の移動距離を、前記
減速用リミットスイッチが復旧した後の経過時間に基づ
いて計測する計測手段と、 前記計測手段の計測の結果と、前記記憶手段が記憶して
いる基準点までの距離との偏差だけ前記グリッド信号の
発生タイミングをシフトするグリッドシフト手段と、 前記減速用リミットスイッチによって特定されたグリッ
ド信号を数値制御のためのリファレンス点としてリファ
レンス点復帰を指令する指令手段と、 を具備したことを特徴とする数値制御装置。
(4) In a numerical control device that adjusts the origin position by aligning a reference point of a numerically controlled machine with a reference point specific to a movable part, a storage means for storing the origin position specific to the machine as a reference point; a control means for controlling the movable part to stop at the reference point based on a deceleration limit switch and a dog provided on each coordinate axis of the machine; a measuring means for measuring based on the elapsed time after the restoration of the grid; and shifting the generation timing of the grid signal by the deviation between the measurement result of the measuring means and the distance to the reference point stored in the storage means. A numerical control device comprising: a grid shift means for controlling the deceleration limit switch; and a command means for commanding reference point return using the grid signal specified by the deceleration limit switch as a reference point for numerical control.
(5)前記記憶手段で記憶している基準点の有効、無効
を切り換えるパラメータ設定手段と、 機械のリファレンス点が可動部に固有の基準点と一致し
たとき前記パラメータ設定手段を自動的に無効とする手
段と、 を更に具備したことを特徴とする請求項4記載の数値制
御装置。
(5) parameter setting means for switching between valid and invalid reference points stored in the storage means; and automatically disabling the parameter setting means when a reference point of the machine matches a reference point specific to the movable part. The numerical control device according to claim 4, further comprising means for:
JP25126790A 1990-09-20 1990-09-20 Origin position adjusting method and numerical controller therefor Pending JPH04130501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25126790A JPH04130501A (en) 1990-09-20 1990-09-20 Origin position adjusting method and numerical controller therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25126790A JPH04130501A (en) 1990-09-20 1990-09-20 Origin position adjusting method and numerical controller therefor

Publications (1)

Publication Number Publication Date
JPH04130501A true JPH04130501A (en) 1992-05-01

Family

ID=17220247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25126790A Pending JPH04130501A (en) 1990-09-20 1990-09-20 Origin position adjusting method and numerical controller therefor

Country Status (1)

Country Link
JP (1) JPH04130501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003060616A1 (en) * 2002-01-17 2003-07-24 Mitsubishi Denki Kabushiki Kaisha Method and device for numerical control

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62260201A (en) * 1986-05-07 1987-11-12 Mitsubishi Electric Corp Numerical controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62260201A (en) * 1986-05-07 1987-11-12 Mitsubishi Electric Corp Numerical controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003060616A1 (en) * 2002-01-17 2003-07-24 Mitsubishi Denki Kabushiki Kaisha Method and device for numerical control
US6950726B2 (en) 2002-01-17 2005-09-27 Mitsubishi Denki Kabushiki Kaisha Method and device for numerical control return to origin of a master and slave shaft

Similar Documents

Publication Publication Date Title
JP2807461B2 (en) Three-dimensional shape processing laser device
EP0397887B1 (en) Method of correcting machining program
EP0510204A1 (en) Method of evaluating operating accuracy in numerically controlled machine
EP0640900B1 (en) Apparatus and method for numeral control
JP4044105B2 (en) Numerical control device having function of switching operation means for each system
US5124621A (en) Reference point return system
KR0132901B1 (en) Numerical control apparatus
JPH04130501A (en) Origin position adjusting method and numerical controller therefor
JP2581725B2 (en) Three-dimensional shape processing laser device
WO1994026454A1 (en) Apparatus for electric discharge machining
JPH0822313A (en) Numerical controller
US5583409A (en) Numerical control apparatus and method for controlling a machine
JPH01147608A (en) Correction system for positioning error
JP2895685B2 (en) Numerical control unit
JPH0863212A (en) Origin return system for cnc
KR940010397B1 (en) Reloading method of pitch error correction data
JPH08229773A (en) Numerical control device
JP2793677B2 (en) Origin setting method
JPH05309546A (en) Machining hour computing method for numerically controlled machine tool and its device
JPH04284505A (en) Setting system for pitch error correction data
JPH01210250A (en) Skip position control device
JP3425969B2 (en) Positioning method in NC device
JPH08211916A (en) System for return to origin of cnc
JPH08112739A (en) Nc system
JPH01147607A (en) Numerical controller