JPS6145302A - Setting method for mechanical original point of numerically controlled moving object - Google Patents

Setting method for mechanical original point of numerically controlled moving object

Info

Publication number
JPS6145302A
JPS6145302A JP16656084A JP16656084A JPS6145302A JP S6145302 A JPS6145302 A JP S6145302A JP 16656084 A JP16656084 A JP 16656084A JP 16656084 A JP16656084 A JP 16656084A JP S6145302 A JPS6145302 A JP S6145302A
Authority
JP
Japan
Prior art keywords
dog
moving object
encoder
origin
original point
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
JP16656084A
Other languages
Japanese (ja)
Inventor
Kiyotaka Nishiyama
西山 清隆
Tadaaki Goto
後藤 忠昭
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.)
Amada Co Ltd
Amada Metrecs Co Ltd
Original Assignee
Amada Co Ltd
Amada Metrecs 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 Amada Co Ltd, Amada Metrecs Co Ltd filed Critical Amada Co Ltd
Priority to JP16656084A priority Critical patent/JPS6145302A/en
Publication of JPS6145302A publication Critical patent/JPS6145302A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/401Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • G05B19/4015Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes going to a reference at the beginning of machine cycle, e.g. for calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To improve the setting labor and time for setting an original point by providing a detection means for arrival of the original point position of a moving object so that its position can be freely controlled and then controlling the detecting position of the original point to a place shifted by a prescribed distance from the oscillating position of a zero pulse. CONSTITUTION:The moving action of a moving object 5 is caught by an encoder 1 of an incremental system, and a zero pulse detection signal is oscillated at a zero point slit 3a decided by a slit 3 of a slit disk 1. Thus the moving action of the object 5 is controlled. Here a dog 13 is provided with free control of its position to detect that the object 5 arrives at a prescribed position near an original point. Then the shift of the object 5 toward the original point is detected by a limit switch LS provided to the object 5 at both ends 13a and 13b of the dog 13. At the same time, the number of pulses are counted until the oscillation of said zero pulse. This counted number of pulses is compared with the number of pulses equivalent to half rotation of the encoder 1. The dog 13 is controlled to a position where the difference is equal to zero between both pulse numbers. Then an original point is set.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は数値制御される移動対象の機械的原点設定方
法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for setting a mechanical origin of a moving object that is numerically controlled.

[従来技術の説明] 数値制御工作機械のキャリッジその個数値制御される移
動対象には、移動対象の移動mを検出するエンコーダが
設けられる。このエンコーダには移動全域に亘ってその
移動位置を絶対値で知ることのできるアブソリュート方
式のものと、単位移動母毎に所定数のパルス信号を発振
するだりのインクリメンタル方式のものとがあるが、制
御方式の都合上、又、価格面からの都合上インクリメン
タル方式のエンコーダが良く用いられている。
[Description of the Prior Art] A carriage of a numerically controlled machine tool, which is a moving object that is numerically controlled, is provided with an encoder that detects the movement m of the moving object. There are two types of encoders: absolute type encoders that allow you to know the movement position in absolute values over the entire range of movement, and incremental type encoders that oscillate a predetermined number of pulse signals for each unit of movement. Incremental encoders are often used for reasons of control and cost.

ところで、インクリメンタル方式のエンコーダを用いた
場合移動対象の位置の検出は検出パルスをカウンタで積
算して求めるものであるから電源オフ状態では原点位置
を失うことになる。又、カウント数のずれを取り除く必
要性から移動対象の原点位置は機械的に定める必要があ
る。
By the way, when an incremental encoder is used, the position of the object to be moved is detected by integrating the detection pulses with a counter, so the origin position is lost when the power is off. Furthermore, it is necessary to mechanically determine the origin position of the object to be moved in order to eliminate discrepancies in the count numbers.

この機械的原点を定める方式及びこの原点に関する礪械
動作は次の通りである。
The method for determining this mechanical origin and the grinding machine operation with respect to this origin are as follows.

(1)  ベース上の原点位置近傍にドッグを設けてい
る。一方、移動対象側には上記ベースに設【プだドッグ
に接触してオンオフ作動されるリミットスイッチを設け
ている。
(1) A dog is provided near the origin position on the base. On the other hand, on the side to be moved, a limit switch is provided that is turned on and off by contacting the pulley set on the base.

(2)前記移動対象を原点復帰モードで原点方向に向っ
て移動させるのであるが、移動対象は該移動対象に設け
たリミットスイッチが先ずドッグの一端に接触した位置
から減速される。この減速は移動対象を低速化して後述
するゼロパルス(Z er。
(2) The moving object is moved toward the origin in the origin return mode, and the moving object is decelerated from the position where the limit switch provided on the moving object first contacts one end of the dog. This deceleration slows down the moving object and produces a zero pulse (Zer), which will be described later.

pulse)の検出及びこの検出に基づく停止動作を確
実化するためである。
This is to ensure the detection of pulse (pulse) and the stopping operation based on this detection.

?     (3)  移動対象は更に原点方向に向っ
て移動し前記ドッグの他端を通過し前記リミットスイッ
チをオフとする。このオフ信号で移動対象は更に減速さ
れ、更に原点方向に向って微速で移動づる。
? (3) The object to be moved further moves toward the origin, passes the other end of the dog, and turns off the limit switch. The moving object is further decelerated by this off signal, and further moves at a very slow speed toward the origin.

(4)移動対象の微速移動に伴ってエンコーダはゆつく
り回転し最初のゼロパルスが検出8れる。このせロバル
スの検出位置を原点位置と定め、この位置で停止する。
(4) The encoder slowly rotates as the moving object moves slowly, and the first zero pulse is detected. This detection position of the robot is set as the origin position, and the robot stops at this position.

よって、機械的原点は本例で【よドッグの位置、特に、
リミットスイッチをオフするドッグの他端で定めている
ということができる。
Therefore, in this example, the mechanical origin is [the position of the dog, especially,
It can be said that the other end of the dog turns off the limit switch.

ここに、エンコーダには前記ゼロパルスが1回転する間
に1回発振されるようになっているが、前記の如くして
定められる原点位置と前記ドッグの他端の位置(リミッ
トスイッチがオフする位置)との距離は前記エンコーダ
の1/2回転に相当する距離とするのが最も望ましい。
Here, the encoder is designed so that the zero pulse is oscillated once during one rotation, and the origin position determined as described above and the position of the other end of the dog (the position where the limit switch is turned off) ) is most preferably a distance corresponding to 1/2 rotation of the encoder.

その理由は、移動対象に設けたりミツトスイッチのオフ
位置とゼロパルス検出位置が近すぎる場合には、リミッ
トスイッチの検出時間のずれ等の理由によりゼロパルス
検出ができない場合があり、この場合エンコーダが更に
1回転し次のゼロパル   スが検出された位置を原点
位置と誤る恐れがあるからである。実際、数値制御装置
の検出系では2QIllSeC〜50m5ecの信号の
ディレィを持lζぜであるので低速で作動させてもこの
ような状態はし生じ得るのである。
The reason for this is that if the limit switch is installed on a moving object or the off position of the limit switch is too close to the zero pulse detection position, zero pulse detection may not be possible due to a difference in detection time of the limit switch. This is because the position where the next zero pulse is detected after rotation may be mistaken as the origin position. In fact, since the detection system of the numerical control device has a signal delay of 2QIllSeC to 50m5ec, such a situation can occur even if the system is operated at a low speed.

又一方、オフ位置とゼロパルス検出位置とが速すぎる場
合にばとりもなおさずその前の(既に通過しlζはずの
)ゼロパルスと近いことになり、機械の振動、その他の
理由でこの前のゼロパルスを検出し原点位置を誤ってし
まう恐れがある。
On the other hand, if the off position and the zero pulse detection position are too fast, it will be close to the previous zero pulse (which should have already passed), and the previous zero pulse may be lost due to machine vibration or other reasons. may be detected and the origin position may be incorrect.

以上の理由からゼロパルス検出位置と前記ドッグの他端
(オフ位置)との距離はエンコーダの半回転に相当する
距離とするのが最も一般的である。
For the above reasons, the distance between the zero pulse detection position and the other end (off position) of the dog is most commonly set to a distance equivalent to half a rotation of the encoder.

以上の前提下で、従来行われていた原点設定方法は以下
の通りである。
Under the above premise, the conventional origin setting method is as follows.

(1)  原点復帰モードで移動対象を原点位置まで復
帰さぜる(この移動方向をマイナス(−)方向とする)
。その際ドッグ位置は仮の位置であるので、実際の停止
位置が好ましい位置となるようドッグ位置を調整する。
(1) Return the object to be moved to the origin position in the origin return mode (this movement direction is the minus (-) direction)
. At this time, since the dog position is a temporary position, the dog position is adjusted so that the actual stopping position becomes a preferable position.

これは原点確認のためであり、これにより以下のドッグ
調整作業が開始される。
This is to confirm the origin, and the following dog adjustment work is started.

移動対象は原点に居るままとする。The object to be moved remains at the origin.

(2)CRTの表示を自己診断(ダイアグノーズ)モー
ドとする。これによりリミットスイッチのオンオフ作動
が判明できるようになる。即ち、リミットスイッチがオ
ンであれば該リミットスイッチ対応する表示部分が「1
」となり、オフであれば「0」と表示されることになる
。現在オフであるのでrOJと表示されている。リミッ
トスイッチは現在ドッグから離れており、ドッグ通過部
分でのみオンとなるようにしているからである。
(2) Set the CRT display to self-diagnosis mode. This makes it possible to determine whether the limit switch is on or off. That is, if the limit switch is on, the display area corresponding to the limit switch will be "1".
”, and if it is off, “0” will be displayed. Since it is currently off, rOJ is displayed. This is because the limit switch is currently away from the dog and is turned on only when the dog passes through.

(3)  運転モードを手動に切換え、手動ボタンを押
圧しながら、原点方向(マイナス(ト)方向)へ微速で
移動させる。
(3) Switch the operation mode to manual, and while pressing the manual button, move the motor toward the home position (minus (G) direction) at very low speed.

(4)  移動対象に設けられたリミツ1〜スイッチは
原点位置からドッグ他端に向って進行するので、作業者
はCRTに表示されているリミツ1〜スイッチのオン信
号を注意深く観察し、特に、ドッグとリミットスイッチ
が接触しそうな位置では手動ボタンをいわゆるチョイ押
し操作しつつ表示が「0」から「1」に変化する位置を
探す。
(4) Since the limit 1 switch installed on the object to be moved moves from the origin position toward the other end of the dog, the operator should carefully observe the ON signal of the limit 1 switch displayed on the CRT, and in particular, At the position where the dog and limit switch are likely to come into contact, press the manual button slowly and search for a position where the display changes from "0" to "1".

(5)CRTの表示が「1」となる位置をようやく探し
た作業者はCRTの表示モードを現在位置表示モードに
切換える。
(5) After finally finding the position where the CRT display is "1", the operator switches the CRT display mode to the current position display mode.

(6)  その時の現在位置は例えば12.34mmの
如く表示される。これは、ドッグの他端が原点位置(エ
ンコーダのゼロパルス発振位置)から12゜34 md
Lれていることを意味する。
(6) The current position at that time is displayed as 12.34 mm, for example. This means that the other end of the dog is 12°34 md from the origin position (encoder zero pulse oscillation position).
L means being left.

(7)  ところで、エンコーダが1回転する間に発振
するパルス数を2000としその半分の1000パルス
を当該機械の移動対象の移!JJ ffiに換算すると
1パルス当り0.024n+iとして24n+mになる
(7) By the way, let us assume that the number of pulses emitted during one revolution of the encoder is 2000, and half of that number, 1000 pulses, is used to move the object of the machine. When converted to JJ ffi, it becomes 24n+m as 0.024n+i per one pulse.

そこでつまり、ドッグ他端の位置は原点位置から24m
mの位置にあることが望ましいのである。従って、上記
表示値は12.3411111であるからドッグをプラ
ス(+)方向(原点から離れる方向)へ11.66mm
だけ移動すれば良いことが判る。
Therefore, the position of the other end of the dog is 24 m from the origin position.
It is desirable that it be at position m. Therefore, since the above displayed value is 12.3411111, move the dog in the plus (+) direction (away from the origin) by 11.66 mm.
It turns out that all you have to do is move.

(8)  上記の如くして求めた補正距離+11.66
mmに基づいてドッグを調整する。
(8) Corrected distance calculated as above +11.66
Adjust the dog based on mm.

(9)  以上の操作より、原点とドッグ他端との距離
はほぼエンコーダの半回転に相当する距離に一致するこ
とになるが、より正確を期するため以°上の操作を何回
か繰り返して行う。
(9) From the above operations, the distance between the origin and the other end of the dog will approximately correspond to the distance equivalent to half a turn of the encoder, but to ensure greater accuracy, repeat the above operations several times. I will do it.

以上の原点設定方法は極めて煩わしく、多くの手間と労
を及しており、何らかの改善が望まれていたのである。
The above origin setting method is extremely troublesome and requires a lot of time and effort, and some kind of improvement has been desired.

[発明の目的] この発明は上記点に鑑み、これを改善するもので、容易
、かつ、正確に行うことのできる数値制御される移動対
象の機械的原点設定方法を提供することを目的とする。
[Object of the Invention] In view of the above-mentioned points, the present invention is an improvement thereof, and an object thereof is to provide a method for setting a mechanical origin of a numerically controlled moving object, which can be performed easily and accurately. .

[発明の目的) 上記目的を達成するためのこの発明は、移動対象の移動
動作をインクリメンタル方式のエンコーダで捉えてこの
移動動作を数値制tIlするようにした移動対象の機械
的原点の設定方法において、前記移動対象が原点位置近
傍の所定位置に到達したことを検出する所定位置検出手
段を位置調、整自在に設けておき、前記移動対象を実際
に原点復帰動作とさせ、前記所定位置検出手段が作動し
てから前記エンコーダの最初のゼロパルスが発振される
までの発振パルス数をカウントするようにし、該カウン
ト数を前記エンコーダの半回転に相当す°るパルス数と
比較して両者の差を適宜移動mに換算しで表示するよう
にする一方、該換算され表示された数値に基づいて前記
所定位置検出手段の検出位置が前記ゼロパルスが発振さ
れた位置から前記エンコーダの例えば半回転に相当する
距離だけずらせた位置となるよう前記所定位置検出手段
の検出位置を調整するようにしたことを特徴とする数値
制御される移動対象の機械的原点設定方法である。
[Object of the Invention] To achieve the above object, the present invention provides a method for setting a mechanical origin of a moving object, in which the moving movement of the moving object is captured by an incremental encoder and the moving movement is numerically controlled. , a predetermined position detecting means for detecting that the moving object has reached a predetermined position near the origin position is provided in a position adjustable manner, and the moving object is actually returned to the origin, and the predetermined position detecting means The number of oscillation pulses from when the encoder is activated until the first zero pulse of the encoder is oscillated is counted, and the counted number is compared with the number of pulses corresponding to half a rotation of the encoder to find the difference between the two. While displaying the converted movement m as appropriate, the detected position of the predetermined position detection means corresponds to, for example, half a rotation of the encoder from the position where the zero pulse was oscillated, based on the converted and displayed numerical value. A method for setting a mechanical origin of a numerically controlled moving object, characterized in that the detection position of the predetermined position detection means is adjusted to a position shifted by a distance.

[実施例の説明] 第1図はこの発明方法の一実施例を示ず操作及び制御の
フローチ1シートであり、第2図はエンコーダの説明図
、第3図位)〜第3図口)は所定位置検出手段(ドッグ
とリミットスイッチ)の動作説明図、第4図はドッグの
調整位置の説明図である。
[Explanation of Embodiment] Figure 1 does not show an embodiment of the method of this invention, but shows one flowchart of operation and control, Figure 2 is an explanatory diagram of the encoder, and Figure 3) to Figure 3). 4 is an explanatory diagram of the operation of the predetermined position detection means (dog and limit switch), and FIG. 4 is an explanatory diagram of the adjusted position of the dog.

第2図に示すように、インクリメンタル方式のロータリ
エンコーダのスリット円板1にはその半径方向に多数の
スリット3が設けられており、このうら1つのスリット
3aはゼロ点スリットとしC他とメ別される。該エンコ
ーダのスリット円板1は第3図(a)に示した移動対象
5がベース7に対して移動するに伴いベース7図に摺接
して転動される転勤ロール9と関連して回転され、エン
コーダは該スリット円板の一側面方向から投射される光
を他の側面で受けてこの光学的d号を電気的信号として
パルス信号を得ている。第2図に示しIζ矢印11は現
在検出位置を示し、この位置にスリット円板1に設けた
ゼロ点スリットが来ればゼロパルス検出信号が発振され
る。
As shown in Fig. 2, a slit disk 1 of an incremental type rotary encoder is provided with a large number of slits 3 in the radial direction, and one of these slits 3a is a zero point slit and is separated from C and others. be done. The slit disk 1 of the encoder is rotated in conjunction with a transfer roll 9 that rolls in sliding contact with the base 7 as the moving object 5 shown in FIG. 3(a) moves relative to the base 7. , the encoder receives light projected from one side of the slit disk at the other side and obtains a pulse signal using this optical d as an electrical signal. The Iζ arrow 11 shown in FIG. 2 indicates the current detection position, and when the zero point slit provided on the slit disk 1 comes to this position, a zero pulse detection signal is oscillated.

第3図(a)に示ずようにベース7にはドッグ13が設
けられている。一方、移動対象5にはリミットスイッチ
LSが設けられている。従って、移動対象5が図におい
て右方(プラス方向)から原点方向(マイナス方向)へ
向って移動すると、リミットスイッチLSは、先ず、ド
ッグ13の一端13aに差しかかるとオンし、次いで他
4n 13 b ”Cオフされることになる。ドッグ1
3の他端13 bの位置は!L1であるとする。一方リ
ミツトスイッチLSがマイナス方向側からプラス方向へ
移!FJJ tる場合にはドッグ13の他端13bから
一端13aにか【プて移行することになるのでこの場合
には他端13bでオンし、一端13aでオフすることに
なる。
As shown in FIG. 3(a), the base 7 is provided with a dog 13. On the other hand, the moving object 5 is provided with a limit switch LS. Therefore, when the moving object 5 moves from the right side (plus direction) toward the origin (minus direction) in the figure, the limit switch LS is first turned on when it approaches one end 13a of the dog 13, and then the other end 4n 13 is turned on. b “C will be turned off. Dog 1
What is the position of the other end 13b of 3? Suppose that it is L1. On the other hand, the limit switch LS moves from the negative direction to the positive direction! When FJJ is turned on, the signal is moved from the other end 13b of the dog 13 to the one end 13a, so in this case, the other end 13b turns on and the one end 13a turns off.

第1図ステップ101以下において、ステップ103で
原点復帰指令を与えると移動対象5はマイナス方向へ向
って移動する(ステップ1o5)。
After step 101 in FIG. 1, when a return-to-origin command is given in step 103, the moving object 5 moves in the negative direction (step 1o5).

そして、第3図(b)に示ずように、リミットスイッチ
LSはドッグ13の一端13aでオンする。第1図には
この状態をステップ107で判断している。
Then, as shown in FIG. 3(b), the limit switch LS is turned on at one end 13a of the dog 13. In FIG. 1, this state is determined in step 107.

ステップ109に示すように、数値制御装置はステップ
107に示したリミットスイッチLSのオフ信号を受け
ると移動対象5の移動速度を低下させる。そして、移動
対象5はその低下された移動速度で更にマイナス方向に
向って移動され、第つ    3図(C)に示りように
リミットスイッチLSはドッグ13の他端13bでオフ
される。第1図ステップ111に示した判断はこのリミ
ットスイッチしSがオフされtcことを知るものである
As shown in step 109, upon receiving the off signal from the limit switch LS shown in step 107, the numerical control device reduces the moving speed of the moving object 5. Then, the moving object 5 is further moved in the negative direction at the reduced moving speed, and the limit switch LS is turned off at the other end 13b of the dog 13, as shown in FIG. 3(C). The judgment shown in step 111 in FIG. 1 is to know that the limit switch S is turned off and tc.

ステップ113に示すようい、リミットスイッチLSの
オフ信号が判断されると、移動対象5の移動速度は更に
低速化され、微速でマイナス方向に向うことになる。又
、第1図ステップ115に示されるように、リミットス
イッチl−Sオフの信号を得てこの時点からエンコーダ
の検出パルスをカウントするようにする。
As shown in step 113, when the off signal of the limit switch LS is determined, the moving speed of the moving object 5 is further reduced, and the moving object 5 moves at a very low speed in the negative direction. Further, as shown in step 115 in FIG. 1, a limit switch l-S off signal is obtained and the encoder detection pulses are counted from this point on.

ステップ117で最初のゼロパルスが検出されたならば
ステップ115で示した移動量のカウントを終了すると
共にステップ119に示すj;うに移動対象5をその位
置で停止する。第3図(d)に示したようにその時のリ
ミットスイッチLSの位置をioとする。
If the first zero pulse is detected in step 117, the counting of the movement amount shown in step 115 is finished, and at the same time, in step 119, the moving object 5 is stopped at that position. As shown in FIG. 3(d), the position of the limit switch LS at that time is io.

そこで、ステップ121に示したように、数(11°i
制御装置にリミットスイッチLSオフ位置史1(ドッグ
13の他端13bの位置)からレロパルス検出位置吏0
までの距離(史1−吏0)を演紳さぜる。又、次いでス
テップ123でこの差(愛+−No)からエンコーダ半
回転に相当する距離L/2を減算させる。この答をDI
!:する。第3図(d)に示したように、ドッグ13の
他D’a 13 bの位置はリミットスイッチLSの停
止位置Lo  (原点)からDl、f*ノ離れているこ
とが明らかとなる。
Therefore, as shown in step 121, the number (11°i
The control device has limit switch LS off position history 1 (position of the other end 13b of dog 13) to relopulse detection position 0.
The distance to (shi 1 - 吏0) is shown. Further, in step 123, a distance L/2 corresponding to a half rotation of the encoder is subtracted from this difference (love+-no). DI this answer
! :do. As shown in FIG. 3(d), it is clear that the position of the dog 13 as well as D'a 13b is Dl, f* away from the stop position Lo (origin) of the limit switch LS.

ところで、従来技術の説明で示したようにドッグ13の
他端13 bの位置はリミットスイッチLSの停止位置
史。<FA点)からし/2とするのが望ましい。即ちD
=0となるのが望ましい。そこで、ステップ、25で示
した表示に基づいて以下の通りの操作を行うのである。
By the way, as shown in the description of the prior art, the position of the other end 13b of the dog 13 is the history of the stop position of the limit switch LS. <FA point) Mustard/2 is desirable. That is, D
It is desirable that =0. Therefore, the following operations are performed based on the display shown in step 25.

即ら、D>Oならばドッグをマイナス方向へD (aの
絶対値量だけずらせる。一方、D < OならばD値の
絶対値量だけプラス方向へずら旭る。これにより、第4
図に示した如くドッグ13の他端13bの位置が調整さ
れてD=Oとなるべき位置となる。
That is, if D > O, the dog is shifted in the negative direction by the absolute value of D (a). On the other hand, if D < O, the dog is shifted in the positive direction by the absolute value of D.
As shown in the figure, the position of the other end 13b of the dog 13 is adjusted to a position where D=O.

ところh<−1−紀ドッグ13の調整操作は人為的に行
うものであるから、−回で十分正確に行うことは難かし
い。そこで、第1図においてステップ103以下のプロ
グラムを再度実行させてみる。
However, since the adjustment operation of the h<-1- period dog 13 is performed manually, it is difficult to perform it accurately enough in - times. Therefore, try executing the program from step 103 onwards in FIG. 1 again.

これによりステップ125の表示結果がD=Oを報告す
ればこれをステップ127で判断しステン7129r全
作業を終了する。
As a result, if the display result in step 125 reports D=O, this is determined in step 127 and all operations of the stainless steel 7129r are completed.

以上のことから明らかなように、これらの全作業におい
て作業者が行うべきことは、原点復帰ボタンの抑圧と、
ステップ125の表示結果に基づいてドッグ13の位置
を調整する操作のみである。
As is clear from the above, what the operator must do in all of these operations is to press the return-to-origin button,
The only operation required is to adjust the position of the dog 13 based on the display result in step 125.

即ち、途中の煩られしい操作、例えばリミットスイッチ
しSの位置をダイアグノーズモードで確認する操作、及
びどれだけドッグを移動さゼたら良いのかの紛られしい
演算作業を行うを要さず、全作業を極めて容易に行うこ
とができる。
In other words, there is no need to perform troublesome operations during the process, such as checking the position of S by using a limit switch in diagnosis mode, or confusing calculations such as how far to move the dog. Work can be done extremely easily.

なお、上記実施例の説明においてはリミットスイッチL
Sとドッグ13とによりベース7と移動対象5の所定位
置を検出するようにしているが、これら検出手段として
はこの他光学的、或いは磁気的な検出手段を利用できる
ことは明らかであり、又、その位置関係も相対的なもの
であり、例えば移動対象にドッグを、スペース側にリミ
ットスイッチを配設しても良いことは勿論である。
In addition, in the description of the above embodiment, the limit switch L
Although the predetermined positions of the base 7 and the movable object 5 are detected by the S and the dog 13, it is obvious that other optical or magnetic detection means can be used as these detection means. Their positional relationship is also relative; for example, it goes without saying that the dog may be placed as the moving object and the limit switch may be placed on the space side.

又、なお、ステップ125に示した演算結果の表示は単
にドッグを移動させる数値或い(よごれに4もじた表示
を行うだけでも良いが、調整方向をプラス、マイナス符
号で、又、矢印等で示しておくと一層作業が容易となる
In addition, the display of the calculation result shown in step 125 can be done by simply displaying the numerical value for moving the dog (it is also possible to simply display 4 in the dirt, but the direction of adjustment can be indicated using a plus or minus sign, or an arrow, etc.). It will make the work even easier if you indicate it.

更になお、上記実施例における演算作業は移すJ対象を
数値制御する数値制御装置そのものに行わゼることもて
ぎるが、これに限らず、調整作業用の演算装置を句属さ
せて行っても良いことは勿論である。
Furthermore, although the calculation work in the above embodiment may be performed by the numerical control device itself that numerically controls the object to be transferred, the calculation work is not limited to this, and may be performed by adding a calculation device for adjustment work. Of course.

[発明の効果] 以上の説明により明らかなように、この発明方法を用う
れば、a値制御される移動対象の機械的原点の設定を極
めて容易に行うことができる。
[Effects of the Invention] As is clear from the above description, by using the method of the present invention, it is possible to extremely easily set the mechanical origin of a moving object whose a value is controlled.

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

図面はいずれも実施例を示し、第1図はこの発明方法の
一実施例を示す操作及び制御のフローチャートであり、
第2図はエンコーダの説明図、第3図(a)〜第3図(
d)は所定位置検出手段(ドッグとリミットスイッチ)
の動作説明図、第4図はドッグの調整位置の説明図であ
る。 1・・・エンコーダのスリット円板 5・・・移動対象  13・・・ドッグLS・・・リミ
ットスイッチ 代理人  弁理士  三 好  保 男図面の浄書(内
容に変更なし) 第1図 手続補正凹く自発) 昭和59年?月−2Z日 特許庁長官  志 賀   学  殿 1、事件の表示 昭和夕2年 特許願第76メl)o号
4〜表倉  入IB講明(Itm’ 1角)6、誦正の
ガ象 rll  哨に8? (2)  ロ シ (1)明 P41  警 (コ)El        h
The drawings all show embodiments, and FIG. 1 is a flowchart of operation and control showing one embodiment of the method of the present invention.
Figure 2 is an explanatory diagram of the encoder, Figures 3(a) to 3(
d) Predetermined position detection means (dog and limit switch)
FIG. 4 is an explanatory diagram of the adjustment position of the dog. 1...Encoder slit disk 5...Movement target 13...Dog LS...Limit switch agent Patent attorney Yasuo Miyoshi Engraving of drawing (no change in content) Diagram 1 Procedural amendment indentation Voluntary) 1982? Manabu Shiga, Commissioner of the Japan Patent Office on Mon-2Z, 1, Indication of the incident, Showa 2, Patent application no. rll 8 on the clock? (2) Roshi (1) Akira P41 Police El h

Claims (1)

【特許請求の範囲】[Claims] 移動対象の移動動作をインクリメンタル方式のエンコー
ダで捉えてこの移動動作を数値制御するようにした移動
対象の機械的原点の設定方法において、前記移動対象が
原点位置近傍の所定位置に到達したことを検出する所定
位置検出手段を位置調整自在に設けておき、前記移動対
象を実際に原点復帰動作させ、前記所定位置検出手段が
作動してから前記エンコーダの最初のゼロパルスが発振
されるまでの発振パルス数をカウントするようにし、該
カウント数を前記エンコーダの半回転に相当するパルス
数と比較して両者の差を適宜移動量に換算して表示する
ようにする一方、該換算され表示された数値に基づいて
前記所定位置検出手段の検出位置が前記ゼロパルスが発
振された位置から前記エンコーダの例えば半回転に相当
する距離だけずらせた位置となるよう前記所定位置検出
手段の検出位置を調節するようにしたことを特徴とする
数値制御される移動対象の機械的原点設定方法。
In a method for setting a mechanical origin of a moving object in which the movement movement of the moving object is captured by an incremental encoder and this movement movement is numerically controlled, it is detected that the moving object has reached a predetermined position near the origin position. A predetermined position detecting means is provided whose position can be adjusted freely, and the moving target is actually returned to its origin, and the number of oscillation pulses from when the predetermined position detecting means is activated until the first zero pulse of the encoder is oscillated is determined. The number of counts is compared with the number of pulses corresponding to half a revolution of the encoder, and the difference between the two is converted to the amount of movement as appropriate and displayed. Based on this, the detection position of the predetermined position detection means is adjusted so that the detection position of the predetermined position detection means is shifted from the position where the zero pulse is oscillated by a distance corresponding to, for example, half a rotation of the encoder. A method for setting a mechanical origin of a numerically controlled moving object, characterized in that:
JP16656084A 1984-08-10 1984-08-10 Setting method for mechanical original point of numerically controlled moving object Pending JPS6145302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16656084A JPS6145302A (en) 1984-08-10 1984-08-10 Setting method for mechanical original point of numerically controlled moving object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16656084A JPS6145302A (en) 1984-08-10 1984-08-10 Setting method for mechanical original point of numerically controlled moving object

Publications (1)

Publication Number Publication Date
JPS6145302A true JPS6145302A (en) 1986-03-05

Family

ID=15833523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16656084A Pending JPS6145302A (en) 1984-08-10 1984-08-10 Setting method for mechanical original point of numerically controlled moving object

Country Status (1)

Country Link
JP (1) JPS6145302A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56116105A (en) * 1980-02-20 1981-09-11 Mitsubishi Electric Corp Original point setting device for numerical control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56116105A (en) * 1980-02-20 1981-09-11 Mitsubishi Electric Corp Original point setting device for numerical control

Similar Documents

Publication Publication Date Title
US4743823A (en) Method and device for correcting backlash
US5670857A (en) Method of returning to an absolute zero point for use by an industrial controller
JPS6145302A (en) Setting method for mechanical original point of numerically controlled moving object
US5920171A (en) Starting-point returning apparatus for robot
CN106371402B (en) It is a kind of to realize that communication transmission origin signal returns former method and corresponding servo-driver
JP3010107B2 (en) Encoder system
JPS6297004A (en) Original point reset controller for traveling object undergoing numerical control
JPS62103703A (en) Origin return system for positioning controller
JPH0869326A (en) Positioning controller
JPS59109809A (en) Origin double return confirmation device
JPH01147607A (en) Numerical controller
KR100224862B1 (en) Calibration device and method of robot arm
JPH0431603Y2 (en)
JP3183662B2 (en) Origin setting device for positioning device
JPH11259109A (en) Method and system for return to axial origin
JPH03179504A (en) Method and device for resetting to original point
JPH02108470A (en) Position detector for welding head
JPH0535320A (en) Origin homing device for movable object
JPH01103277A (en) Method of controlling position of origin of robot arm
JPH01183336A (en) Method for detecting reference position of working table
KR940005587Y1 (en) Home position setting device of numerical controller for machine tool
KR200177079Y1 (en) The origin equipment for robot system
JPS60167002A (en) Automatic origin return system of machine tool
JPH01264746A (en) Origin return device for automatic control machine tool
JPH01264747A (en) Origin return device for automatic control machine tool