JPH0786764B2 - Teaching method for work position teaching device - Google Patents
Teaching method for work position teaching deviceInfo
- Publication number
- JPH0786764B2 JPH0786764B2 JP63031299A JP3129988A JPH0786764B2 JP H0786764 B2 JPH0786764 B2 JP H0786764B2 JP 63031299 A JP63031299 A JP 63031299A JP 3129988 A JP3129988 A JP 3129988A JP H0786764 B2 JPH0786764 B2 JP H0786764B2
- Authority
- JP
- Japan
- Prior art keywords
- teaching
- pulse encoder
- position detection
- pulse
- detection pulses
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Automatic Assembly (AREA)
- Numerical Control (AREA)
- Manipulator (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、部品が組付けられたワークの所定の作業位置
で作業機に順次所定の作業を行わせるため、部品が取付
けられているダミーワーク上で作業位置をあらかじめテ
ィーチングする作業位置ティーチング装置のティーチン
グ方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dummy work on which parts are attached in order to cause a working machine to sequentially perform a predetermined work at a predetermined work position of a work on which a part is assembled. Relates to a teaching method of a work position teaching device for teaching a work position in advance.
[従来技術および発明が解決しようとする課題] 従来、マイクロコンピュータ制御により作動する作業機
の制御装置は、所定作業を行うための動作プログラムを
記憶するROMを有し、CPUチップを有する中央制御部から
の指令に基づき、ROM内のプログラムおよびRAMから各種
動作条件および作業位置等の必要情報を呼出し、作業機
にあらかじめ決められた所定の作業を行わせるように構
成されている。[Prior Art and Problems to be Solved by the Invention] Conventionally, a control device for a working machine that operates by microcomputer control has a central control unit that has a ROM that stores an operation program for performing a predetermined work and that has a CPU chip. Based on a command from the computer, the necessary information such as various operating conditions and working position is called from the program in the ROM and the RAM, and the working machine is configured to perform a predetermined work.
この種制御装置では、作業前に作業位置をティーチング
してそれぞれの作業位置をRAM内に記憶しておかなけれ
ばならないが、部品があらかじめ組付けられたワーク上
に作業位置を持つ場合には、組付けられた部品が邪魔と
なり、作業機上で直接ティーチングするのが極めて面倒
となって、ティーチングにかなりの時間を要する等の欠
点が生じている。この欠点を除去するために、作業機と
別にワークと同じ作業位置を持つダミーワークを使用し
て作業位置のティーチングのみを行うことが要望されて
いる。この要望に沿って作業機からから離れた位置でテ
ィーチングを行う特開昭53−90577号公報に記載の装置
がある。この装置では、ワーク上の作業位置をカメラに
より選択してこの時の作業位置をX、Y、Z軸上のパル
スエンコーダにより検出してそのパルス数が記憶されて
いる。In this type of control device, it is necessary to teach the work position and store each work position in the RAM before the work, but when the work position is on the work in which the parts are assembled in advance, The assembled parts become an obstacle, and it becomes very troublesome to teach directly on the working machine, and there are drawbacks such that the teaching requires a considerable time. In order to eliminate this drawback, it is desired to perform only the teaching of the work position by using a dummy work having the same work position as the work in addition to the work machine. In response to this demand, there is an apparatus described in Japanese Patent Laid-Open No. 90577/53, which teaches at a position away from a working machine. In this apparatus, the work position on the work is selected by the camera, the work position at this time is detected by the pulse encoders on the X, Y, and Z axes, and the number of pulses is stored.
ところが、この装置では、あらかじめパルスエンコーダ
の単位位置パルス当たりの移動距離が記憶されているた
め、ティーチングの際の移動部の移動距離が直接パルス
エンコーダの回転に変換される場合は支障ないが、これ
をワイヤなどの伝達機構を介してパルスエンコーダの回
転に変換する場合には、周囲温度の影響で伝達機構が伸
縮し、その影響で単位位置パルス当たりの移動距離が変
化し、正確なティーチングができない等の欠点が生じて
いる。However, in this device, since the moving distance per unit position pulse of the pulse encoder is stored in advance, there is no problem if the moving distance of the moving portion during teaching is directly converted into rotation of the pulse encoder. When converting to rotation of a pulse encoder via a transmission mechanism such as a wire, the transmission mechanism expands and contracts due to the influence of ambient temperature, and the movement distance per unit position pulse changes due to that influence, making accurate teaching impossible. There are drawbacks such as.
本発明は上記欠点の除去を目的とするもので、作業機と
は別の場所でテイーチングするとともに、周囲温度の影
響を受けず正確にティーチングを行うことができるティ
ーチング方法を提供することを目的としている。The present invention is intended to eliminate the above drawbacks, and an object of the present invention is to provide a teaching method capable of performing teaching at a place different from a working machine and performing accurate teaching without being affected by ambient temperature. There is.
[課題を解決するための手段] 上記目的を達成するため、基台に第1固定ブロックを介
して2本の第1ガイドロッドを所定間隔をおいて平行に
固定し、この第1ガイドロッドそれぞれに第1スライド
ブロックを摺動自在に案内し、この第1スライドブロッ
クの移動量を第1ワイヤおよび第1無端ワイヤを介して
検出する第1パルスエンコーダを配置するとともに、 前記基台8の両側に位置する第1スライドブロック間に
前記第1ガイドロッドと直交する第2ガイドロッドを第
2固定ブロックを介して固定し、この第2ガイドロッド
に位置決めピンを備えた第2スライドブロックを摺動自
在に案内し、前記第2スライドブロックの移動量を第2
ワイヤおよび第2無端ワイヤを介して検出する第2パル
スエンコーダを配置し、 さらに、前記第2スライドブロックに第3パルスエンコ
ーダをその回転軸が上方に位置するように固定するとと
もに回転軸にロータリヘッドを固定する構成を有してい
る。[Means for Solving the Problem] In order to achieve the above object, two first guide rods are fixed to a base in parallel via a first fixing block at predetermined intervals, and each of the first guide rods is fixed. And a first pulse encoder for slidably guiding the first slide block and detecting the amount of movement of the first slide block via the first wire and the first endless wire, and on both sides of the base 8. A second guide rod that is orthogonal to the first guide rod is fixed between the first slide blocks located on the second slide block, and a second slide block having a positioning pin is slid on the second guide rod. Freely guide the movement amount of the second slide block to the second
A second pulse encoder for detecting through a wire and a second endless wire is arranged, and further, a third pulse encoder is fixed to the second slide block so that its rotary shaft is located above, and a rotary head is mounted on the rotary shaft. Has a structure for fixing.
しかも、この装置は次の順序で作業位置のティーチング
を行うように構成されている。Moreover, this device is configured to teach the work position in the following order.
1)第1パルスエンコーダおよび第2パルスエンコーダ
の位置検出パルスを零にセットする。1) The position detection pulses of the first pulse encoder and the second pulse encoder are set to zero.
2)直交する二つの基準線を持ちかつ各基準線が一定の
基準長さを持つ校正治具のX軸側の基準線の両端の2点
のティーチングを行い、各ティーチング完了時の第1パ
ルスエンコーダの位置検出パルス数をそれぞれ一時記憶
する。2) Teaching two points at both ends of the reference line on the X-axis side of the calibration jig, which has two orthogonal reference lines and each reference line has a constant reference length, and the first pulse when each teaching is completed. The number of position detection pulses of the encoder is temporarily stored.
3)前記二つの位置検出パルス数と基準長さとから第1
パルスエンコーダの単位位置検出パルス当たりの移動量
を算出して、これを外部記憶部に記憶する。3) The first from the number of position detection pulses and the reference length
The movement amount per unit position detection pulse of the pulse encoder is calculated and stored in the external storage unit.
4)前記校正治具のY軸側の基準線の両端の2点のティ
ーチングを行い、各ティーチング完了時の第2パルスエ
ンコーダの位置検出パルス数をそれぞれ一時記憶する。4) Teaching two points at both ends of the Y-axis side reference line of the calibration jig is performed, and the number of position detection pulses of the second pulse encoder upon completion of each teaching is temporarily stored.
5)前記二つの位置検出パルス数から第2パルスエンコ
ーダの位置検出パルス当たりの移動量を求め、これを外
部記憶部に記憶する。5) The movement amount per position detection pulse of the second pulse encoder is obtained from the two position detection pulse numbers and stored in the external storage unit.
6)基台に載置されかつ少なくと二つの基準点を有する
ダミーワーク上の二つの基準点のティーチングを行い、
最初の基準点のティーチング完了時の各パルスエンコー
ダの位置検出パルス数を零にセットし、次の基準点のテ
ィーチング完了時の第1パルスエンコーダおよび第2パ
ルスエンコーダの位置検出パルス数を外部記憶部に記憶
する。6) Teaching two reference points on a dummy work that is placed on the base and has at least two reference points,
The number of position detection pulses of each pulse encoder when the teaching of the first reference point is completed is set to zero, and the number of position detection pulses of the first pulse encoder and the second pulse encoder when the teaching of the next reference point is completed is stored in the external storage unit. Remember.
7)前記ダミーワークの作業位置およびロータリヘッド
の回転位置のティーチングを順次行い、ティーチング完
了時の各パルスエンコーダの位置検出パルスをそれぞれ
外部記憶部に記憶する。7) The working position of the dummy work and the rotary position of the rotary head are sequentially taught, and the position detection pulse of each pulse encoder at the completion of the teaching is stored in the external storage unit.
[作用] 前記装置では、ワーク上の作業位置のティーチング前
に、各パルスエンコーダの位置検出パルス数を零にす
る。その後、位置決めピンを移動させて、直交する二つ
の基準線を持ちかつ各基準線が一定の基準長さを持つ校
正治具のX軸側の基準線の両端の2点のティーチングを
行う。この時、位置決めピンが移動して所定の点に達す
ると、第1ガイドブロックが第1ガイドロッドに沿って
移動し、第1スライドブロックも一体に移動する。この
第1スライドブロックの移動にともなって、その移動量
が第1パルスエンコーダの回転数として検出され、この
位置検出パルス数がそれぞれのティーチング完了時に一
時記憶される。この二つの位置検出パルスと校正治具の
X軸側の基準線の基準長さとから、第1パルスエンコー
ダの単位位置検出パルス当たり移動量を算出してこれが
外部記憶部に記憶される。[Operation] In the above apparatus, the number of position detection pulses of each pulse encoder is set to zero before teaching the work position on the work. After that, the positioning pin is moved to perform teaching at two points at both ends of the X-axis side reference line of the calibration jig having two orthogonal reference lines and each reference line having a constant reference length. At this time, when the positioning pin moves and reaches a predetermined point, the first guide block moves along the first guide rod, and the first slide block also moves integrally. Along with the movement of the first slide block, the amount of movement is detected as the rotation number of the first pulse encoder, and the number of position detection pulses is temporarily stored at the completion of each teaching. The movement amount per unit position detection pulse of the first pulse encoder is calculated from the two position detection pulses and the reference length of the X-axis side reference line of the calibration jig, and this is stored in the external storage unit.
同様に、校正治具のY軸側の基準線の両端の2点のティ
ーチングを行い、各ティーチング完了時の第2パルスエ
ンコーダの位置検出パルス数が一時記憶される。前記二
つの位置検出パルス数と校正治具のY軸側の基準線の基
準長さとから第2パルスエンコーダの単位位置検出パル
ス当たりの移動量を算出してこれが外部記憶部に記憶さ
れる。Similarly, teaching is performed at two points at both ends of the Y-axis side reference line of the calibration jig, and the number of position detection pulses of the second pulse encoder at the time of completion of each teaching is temporarily stored. The movement amount per unit position detection pulse of the second pulse encoder is calculated from the two position detection pulse numbers and the reference length of the reference line on the Y-axis side of the calibration jig, and this is stored in the external storage unit.
さらに、作業機の作業線に載置されかつ少なくとも二つ
の基準点を持つワークをダミーワークとして基台上に固
定し、前記位置決めピンを移動させてこのダミーワーク
の二つの基準点のティーチングを行う。最初の基準点の
ティーチング完了時に各パルスエンコーダそれぞれの位
置検出パルス数を零にセットする。続いて、位置決めピ
ンを移動させて、別の基準点のティーチングを行い、テ
ィーチング完了時の第1パルスエンコーダおよび第2パ
ルスエンコーダの位置検出パルス数が外部記憶部に記憶
される。Further, a work placed on the work line of the working machine and having at least two reference points is fixed as a dummy work on the base, and the positioning pin is moved to teach the two reference points of the dummy work. . When the teaching of the first reference point is completed, the number of position detection pulses for each pulse encoder is set to zero. Then, the positioning pin is moved to perform teaching of another reference point, and the number of position detection pulses of the first pulse encoder and the second pulse encoder at the completion of teaching is stored in the external storage unit.
その後、作業者がダミーワークの作業位置上に順次位置
決めピンを移動させ、その移動量が第1パルスエンコー
ダおよび第2パルスエンコーダの位置検出パルス数とし
て検出される。After that, the worker sequentially moves the positioning pin onto the work position of the dummy work, and the movement amount is detected as the number of position detection pulses of the first pulse encoder and the second pulse encoder.
さらに、前記位置決めピンが作業位置に一致すると、ロ
ータリヘッドの持つ矢印が所望作業工具の任意の方向に
合致するようにロータリヘッドを回転させる。前記矢印
の方向の回転角は第3パルスエンコーダの回転時に伝達
され、第3パルスエンコーダの位置検出パルス数として
検出される。(この時、ロータリヘッドの回転角はX軸
上、あるいはY軸上からの回転角として検出されるよう
にしておく。)その後、各作業位置でのティーチング完
了の度にこれらパルスエンコーダの位置検出パルス数が
外部記憶部に送られ、外部記憶部で各作業位置の位置情
報として順次記憶され、作業位置のティーチングを完了
することができる。そのため、パルスエンコーダの単位
位置パルス当たりの移動量が第1ワイヤあるいは第2ワ
イヤの周囲温度の影響による伸縮により変化することが
あっても、これをティーチング前に算出できるので、各
作業位置の位置情報は周囲温度の影響を受けずに正確に
記憶される。Further, when the positioning pin coincides with the working position, the rotary head is rotated so that the arrow of the rotary head coincides with an arbitrary direction of the desired work tool. The rotation angle in the direction of the arrow is transmitted when the third pulse encoder rotates and is detected as the number of position detection pulses of the third pulse encoder. (At this time, the rotation angle of the rotary head is detected as the rotation angle from the X-axis or the Y-axis.) After that, the position of these pulse encoders is detected each time teaching is completed at each work position. The number of pulses is sent to the external storage unit and sequentially stored as position information of each work position in the external storage unit, and teaching of work positions can be completed. Therefore, even if the movement amount per unit position pulse of the pulse encoder may change due to expansion and contraction due to the influence of the ambient temperature of the first wire or the second wire, this can be calculated before teaching, so the position of each work position can be calculated. The information is stored accurately without being affected by ambient temperature.
[実施例] 以下、実施例を図面について説明する。第1図ないし第
4図において、1はXYテーブル(図示せず)を有するリ
ード線切断装置(図示せず)に隣接される作業位置ティ
ーチング装置である。前記XYテーブルの先端には、取付
具(図示せず)を介して上向きに先端工具のカッタ部が
固定されており、カッタ部の上方に配置されたワークの
裏面から突出する電子部品(図示せず)のリード線を切
断するように構成されている。Embodiments Embodiments will be described below with reference to the drawings. 1 to 4, reference numeral 1 is a work position teaching device adjacent to a lead wire cutting device (not shown) having an XY table (not shown). At the tip of the XY table, a cutter portion of a tip tool is fixed upward through a fixture (not shown), and an electronic component (not shown) protruding from the back surface of the work disposed above the cutter portion. No.) is configured to cut the lead wire.
前記作業位置ティーチング装置1は、基台8とこれを覆
うカバー(図示せず)とを有し、この基台8には所定間
隔をおいて2本の第1ガイドロッド10が第1固定ブロッ
ク11を介して平行に固定されている。この第1ガイドロ
ット10それぞれには、第1スライドブロック12が摺動自
在に案内されており、後記する第2ガイドロッド13によ
り連結されて一体に移動するように構成されている。ま
た、前記第1ガイドロッド10の一方を保持する第1固定
ブロック11にはそれぞれ第1プーリ14が回転自在に配置
されており、これら第1プーリ14,14間には第1ワイヤ1
5が巻回され、その両端は連結具16aを介して前記第1ス
ライドブロック12に連結されている。しかも、前記第1
固定ブロック11の一方には第1パルスエンコーダ17が固
定されており、その回転軸(図示せず)には第1被動プ
ーリ18が固定されている。この第1被動プーリ18と隣接
の第1プーリ14との間には第1無端ワイヤ19が巻回され
ており、第1スライドブロック12の移動により第1被動
プーリ18が回転するように構成されている。The work position teaching device 1 has a base 8 and a cover (not shown) that covers the base 8, and two first guide rods 10 are provided on the base 8 at predetermined intervals to form a first fixing block. It is fixed in parallel through 11. A first slide block 12 is slidably guided to each of the first guide lots 10, and is configured to be integrally moved by being connected by a second guide rod 13 described later. A first pulley 14 is rotatably arranged on a first fixed block 11 that holds one of the first guide rods 10, and the first wire 1 is interposed between the first pulleys 14 and 14.
5 is wound, and both ends thereof are connected to the first slide block 12 via connecting members 16a. Moreover, the first
A first pulse encoder 17 is fixed to one side of the fixed block 11, and a first driven pulley 18 is fixed to a rotation shaft (not shown) of the first pulse encoder 17. A first endless wire 19 is wound between the first driven pulley 18 and an adjacent first pulley 14, and the first driven block 18 is configured to rotate by the movement of the first slide block 12. ing.
一方、前記基台8の両側に位置する第1スライドブロッ
ク12には、第2固定ブロック20を介して前記第1ガイド
ロッド10と直交する方向に延びるスプラインシャフトで
なる第2ガイドロッド13が固定されており、この第2ガ
イドロッド13には第2スライドブロック21が摺動自在に
案内されている。また、前記第2固定ブロック20それぞ
れには第2プーリ22が回転自在に配置されており、これ
ら第2プーリ22,22間には第2ワイヤ23が巻回され、そ
の両端は連結具16bを介して前記第2スライドブロック2
1に連結されている。さらに、前記第2固定ブロック20
の一方には第2パルスエンコーダ24が固定されており、
その回転軸(図示せず)には第2被動プーリ25が固定さ
れている。この第2被動プーリ25と隣接の第2プーリ22
との間には、第2無端ワイヤ26が巻回されており、第2
スライドブロック21の移動により第2波動プーリ25が回
転するように構成されている。On the other hand, a second guide rod 13 formed of a spline shaft extending in a direction orthogonal to the first guide rod 10 is fixed to a first slide block 12 located on both sides of the base 8 via a second fixing block 20. The second slide block 21 is slidably guided by the second guide rod 13. A second pulley 22 is rotatably arranged on each of the second fixed blocks 20, and a second wire 23 is wound between the second pulleys 22 and 22, and a connecting tool 16b is provided at both ends thereof. Through the second slide block 2
Concatenated to 1. Further, the second fixed block 20
The second pulse encoder 24 is fixed to one of the
A second driven pulley 25 is fixed to the rotation shaft (not shown). The second pulley 22 adjacent to the second driven pulley 25
A second endless wire 26 is wound between and
The movement of the slide block 21 causes the second wave pulley 25 to rotate.
前記第2スライドブロック21には第3パルスエンコーダ
27がその回転軸27aを上方に位置して固定されており、
この回転軸27aにはロータリヘッド28が固定されてい
る。このロータリヘッド28の下端にはベアリングを固定
する固定リング28aが固定されており、この固定リング2
8aには第2スライドブロック21に向かって突出するプラ
ンジャ28bが固定されている。一方、前記第2スライド
ブロック21には前記プランジャ28bの移動路に位置して
位置決め穴21aが削設されており、前記ロータリヘッド2
8が所定角度回転すると、前記プランジャ28bが位置決め
穴21aに嵌合するように構成されている。また、前記ロ
ータリヘッド28の上面にはその中心と後記する位置決め
ピン29とを結ぶ線上に矢印が刻印されており、この位置
を原点として前記リード線切断装置のカッタ部の方向が
選択できるように構成されている。さらに、前記第2ス
ライドブロック21には保持具30を介して先端に尖鋭部を
有する位置決めピン29が配置されており、この位置決め
ピン29はばね31により上方に付勢されて下降可能に保持
されている。The second slide block 21 has a third pulse encoder.
27 is fixed with its rotating shaft 27a positioned above,
A rotary head 28 is fixed to the rotary shaft 27a. A fixing ring 28a for fixing a bearing is fixed to the lower end of the rotary head 28.
A plunger 28b protruding toward the second slide block 21 is fixed to 8a. On the other hand, the second slide block 21 has a positioning hole 21a formed in the moving path of the plunger 28b, and the rotary head 2
The plunger 28b is configured to fit into the positioning hole 21a when the 8 rotates by a predetermined angle. Further, an arrow is engraved on the upper surface of the rotary head 28 on a line connecting the center of the rotary head 28 and a positioning pin 29 described later, so that the direction of the cutter portion of the lead wire cutting device can be selected with this position as an origin. It is configured. Further, the second slide block 21 is provided with a positioning pin 29 having a sharp portion at its tip through a holder 30. The positioning pin 29 is urged upward by a spring 31 and held so as to be lowered. ing.
前記基台8には前記第1ガイドロッド10,10間に位置し
てワーク台32が固定されており、このワーク台32には前
記第1ガイドロッド10と平行に延びるガイド溝32aが削
設されている。しかも、前記ワーク台32には前記第1ガ
イドロッド10、第2ガイドロッド13それぞれと平行に延
びる平面からなる直角面を有する直角ブロック33が前記
ガイド溝33aに嵌合して固定されている。前記ワーク台3
2には、前記直角ブロック33の一方の平面の延長線上に
係止面を持つスライダ34が前記ガイド溝32aに沿って摺
動自在に案内されており、所望ワークの大きさに対応し
てその位置を変更できるように構成されている。また、
前記ワーク台32には、磁性体でなる固定具35が2個配置
されており、前記直角ブロック33およびスライダ34と協
動して所望ワークを固定するように構成されている。A work table 32 is fixed to the base 8 between the first guide rods 10, 10, and a guide groove 32a extending parallel to the first guide rod 10 is formed in the work table 32. Has been done. Moreover, a right-angled block 33 having a right-angled surface formed of a plane extending in parallel with the first guide rod 10 and the second guide rod 13 is fitted and fixed to the guide groove 33a on the work table 32. Work table 3
2, a slider 34 having a locking surface on an extension line of one flat surface of the right-angled block 33 is slidably guided along the guide groove 32a, and the slider 34 corresponding to the size of a desired workpiece is formed. It is configured so that the position can be changed. Also,
Two fixtures 35 made of a magnetic material are arranged on the work table 32, and are configured to cooperate with the right angle block 33 and the slider 34 to fix a desired work.
また、前記作動位置ティーチング装置の制御部1aはCPU
2、ROM3、I/Oポート4aを介してCPU2に接続されるキーボ
ード5および表示部6ならびに外部記憶部7をなすRAM
カードからなっている。また、この制御部1aにはI/Oポ
ート4bを介して前記第1パルスエンコーダ17、第2パル
スエンコーダ24および第3パルスエンコーダ27が接続さ
れており、これらの位置検出パルスが積算されて一時記
憶されるように構成されている。また、前記ROM3にはダ
ミーワーク上の作業位置をティーチングするティーチン
グプログラムが記憶されている。このティーチングプロ
グラムは、 1)第1パルスエンコーダ17および第2パルスエンコー
ダ24の位置検出パルスを零にセットする。The control unit 1a of the operating position teaching device is a CPU.
2, ROM3, RAM which is connected to the CPU2 via the I / O port 4a, the keyboard 5 and the display section 6 and the external storage section 7
It consists of cards. Further, the first pulse encoder 17, the second pulse encoder 24, and the third pulse encoder 27 are connected to the control unit 1a via the I / O port 4b, and the position detection pulses of these are integrated and temporarily stored. It is configured to be stored. Further, the ROM 3 stores a teaching program for teaching a work position on a dummy work. This teaching program sets 1) the position detection pulses of the first pulse encoder 17 and the second pulse encoder 24 to zero.
2)直交する二つの基準線を持ちかつ各基準線が一定長
さを持つ校正治具(図示せず)のX軸側の基準線の両端
の2点のティーチングを行い、キーボード5から入力さ
れるデータ読込み指令信号により各ティーチング完了時
の第1パルスエンコーダ17の位置検出パルス数をそれぞ
れ一時記憶する。2) Teaching two points at both ends of the X-axis side reference line of a calibration jig (not shown) having two orthogonal reference lines and each reference line having a constant length is input from the keyboard 5. The number of position detection pulses of the first pulse encoder 17 at the completion of each teaching is temporarily stored by the data reading command signal.
3)前記二つの位置検出パルス数と前記基準線の基準長
さとから第1パルスエンコーダ17の単位位置検出パルス
当たりの移動量を算出して、これを外部記憶部7に記憶
する。(なお、前記単位位置検出パルス当たりの移動量
は、単位移動量当たりの位置検出パルス数であってもよ
い。) 4)前記校正治具のY軸側の基準線の両端の2点のティ
ーチングを行い、各ティーチング完了時の第2パルスエ
ンコーダ24の位置検出パルス数をそれぞれ一時記憶す
る。3) The movement amount per unit position detection pulse of the first pulse encoder 17 is calculated from the two number of position detection pulses and the reference length of the reference line, and this is stored in the external storage unit 7. (Note that the movement amount per unit position detection pulse may be the number of position detection pulses per unit movement amount.) 4) Teaching of two points at both ends of the reference line on the Y-axis side of the calibration jig. The number of position detection pulses of the second pulse encoder 24 at the completion of each teaching is temporarily stored.
5)前記二つの位置検出パルス数から第2パルスエンコ
ーダ24の単位位置検出パルス当たりの移動量を求め、こ
れを外部記憶部7に記憶する。5) The movement amount per unit position detection pulse of the second pulse encoder 24 is obtained from the two number of position detection pulses, and stored in the external storage unit 7.
6)基台に載置されかつ2個(3個以上でもよい)の基
準点を持つダミーワーク上の二つの基準点のティーチン
グを行い、キーボード5からのデータ読込み指令信号に
より最初の基準点のティーチング完了時の各パルスエン
コーダ17,24,27の位置検出パルス数を零にセットし、次
の基準点のティーチング完了時のデータ読込み指令信号
により第1パルスエンコーダ17および第2パルスエンコ
ーダ24の位置検出パルス数を外部記憶部7に記憶する。
(この場合、第3パルスエンコーダはロータリヘッド28
の矢印がX軸あるいはY軸と平行となる位置にある時に
零セットされる。) 7)前記ダミーワークの作業位置およびロータリヘッド
28の回転位置のティーチングを順次各作業位置毎に行
い、ティーチング完了時のデータ読込み指令信号により
各パルスエンコーダ17,24,27の位置検出パルス数をそれ
ぞれ外部記憶部7に記憶する。6) Teaching the two reference points on the dummy work which is placed on the base and has two (three or more) reference points, and the data reading command signal from the keyboard 5 causes the first reference point Set the number of position detection pulses of each pulse encoder 17, 24, 27 at the time of teaching completion to zero and set the position of the first pulse encoder 17 and the second pulse encoder 24 by the data read command signal at the completion of teaching at the next reference point. The number of detected pulses is stored in the external storage unit 7.
(In this case, the third pulse encoder is the rotary head 28
Is set to zero when the arrow is at a position parallel to the X axis or the Y axis. ) 7) Working position of the dummy work and rotary head
Teaching of the rotational positions of 28 is sequentially performed for each work position, and the number of position detection pulses of each pulse encoder 17, 24, 27 is stored in the external storage unit 7 in response to a data read command signal when the teaching is completed.
ように構成されている。Is configured.
上記作業位置ティーチング装置では、まず、校正治具を
直角ブロック33、スライダ34および2個の固定具35でワ
ーク台32上に固定し、位置決めピン29を移動してX軸側
の基準線の両端の点のティーチングを行うと、第1スラ
イドブロック12が移動して、その移動量が第1パルスエ
ンコーダ17の位置検出パルス数として検出される。この
位置検出パルス数が各ティーチング完了時にキーボード
5から入力されるデータ読込み指令信号により一時記憶
される。前記二つの位置検出パルス数と前記基準線の基
準長さとから第1パルスエンコーダ17の単位位置検出パ
ルス当たりの移動量を算出してこれを外部記憶部7に記
憶する。In the above work position teaching device, first, the calibration jig is fixed on the work table 32 by the right angle block 33, the slider 34 and the two fixing tools 35, and the positioning pin 29 is moved to move both ends of the reference line on the X-axis side. When the teaching of the point is performed, the first slide block 12 moves, and the movement amount is detected as the number of position detection pulses of the first pulse encoder 17. The number of position detection pulses is temporarily stored by a data read command signal input from the keyboard 5 at the completion of each teaching. The movement amount per unit position detection pulse of the first pulse encoder 17 is calculated from the two number of position detection pulses and the reference length of the reference line and stored in the external storage unit 7.
同様に、位置決めピンをY軸に沿って移動させ、校正治
具のY軸側の基準線の両端の点のティーチングを行い、
第2パルスエンコーダ24の位置検出パルス数が各ティー
チング完了時に一時記憶され、この二つの位置検出パル
ス数から第2パルスエンコーダ24の単位位置検出パルス
当たりの移動量を算出してこれを外部記憶部7に記憶す
る。Similarly, the positioning pin is moved along the Y-axis to teach points at both ends of the reference line on the Y-axis side of the calibration jig,
The number of position detection pulses of the second pulse encoder 24 is temporarily stored at the completion of each teaching, the movement amount per unit position detection pulse of the second pulse encoder 24 is calculated from these two number of position detection pulses, and this is stored in the external storage unit. Store in 7.
さらに、位置決めピンを移動させて、ダミーワークに設
けられた二つの基準点のティーチングを行い、最初の基
準点のティーチング完了時に第1パルスエンコーダ17お
よび第2パルスエンコーダ24の位置検出パルス数を零に
セットする。(同時に、ロータリヘッド28の矢印をX軸
と平行にした状態で、第3ロータリエンコーダの位置検
出パルス数を零にセットする。)続いて、位置決めピン
29を移動させて別の基準点のティーチングを行うと、第
1スライドブロック12および第2スライドブロック21が
移動し、その移動量が第1パルスエンコーダ17、第2パ
ルスエンコーダ24の位置検出パルス数として検出され
る。これら位置検出パルス数が基準点のティーチング完
了時にキーボード5から入力されるデータ読込み指令信
号により、外部記憶部7に記憶される。Further, the positioning pin is moved to perform teaching of two reference points provided on the dummy work, and when the teaching of the first reference point is completed, the number of position detection pulses of the first pulse encoder 17 and the second pulse encoder 24 becomes zero. Set to. (At the same time, the number of position detection pulses of the third rotary encoder is set to zero with the arrow of the rotary head 28 parallel to the X axis.)
When 29 is moved to teach another reference point, the first slide block 12 and the second slide block 21 move, and the movement amount is the number of position detection pulses of the first pulse encoder 17 and the second pulse encoder 24. Detected as. The number of position detection pulses is stored in the external storage unit 7 by a data read command signal input from the keyboard 5 when the teaching of the reference point is completed.
その後、作業者が位置決めピン29をダミーワーク上の所
定作業位置に合致するように移動させ、第1スライドブ
ロック12および2スライドブロック21を移動させ、その
移動量が第1パルスエンコーダ17、第2パルスエンコー
ダ24の位置検出パルス数として検出され、一時記憶され
る。さらに、前記ダミーワーク上に配置される予定の部
品の位置に応じて位置決めピン29の進入方向を設定する
場合には、作業者が第2スライドブロック21に保持され
たロータリヘッド28をこれに刻印された矢印が希望の進
入方向に合致するまで回転させると、ロータリヘッド28
の回転により第3パルスエンコーダ27の回転軸27aが回
転し、その回転角が第3パルスエンコーダ27の位置検出
パルス数として検出される。これら各パルスエンコーダ
17,24,27の位置検出パルス数がキーボード5からのデー
タ読込み指令信号により外部記憶部に順次記憶される。After that, the operator moves the positioning pin 29 so as to match the predetermined work position on the dummy work, moves the first slide block 12 and the second slide block 21, and the movement amount is the first pulse encoder 17, It is detected as the number of position detection pulses of the pulse encoder 24 and temporarily stored. Further, when setting the approaching direction of the positioning pin 29 according to the position of the part to be placed on the dummy work, the operator stamps the rotary head 28 held on the second slide block 21 on this. Turn the rotary arrow 28 until the arrow
The rotation shaft 27a of the third pulse encoder 27 is rotated by the rotation of, and the rotation angle is detected as the number of position detection pulses of the third pulse encoder 27. Each of these pulse encoders
The number of position detection pulses of 17, 24, 27 is sequentially stored in the external storage unit by a data read command signal from the keyboard 5.
その後、外部記憶部7の情報を作業機の制御部(図示せ
ず)に送ると、制御部が外部記憶部7から必要な情報を
呼出し、作業位置ティーチング装置で得た位置情報を作
業機側のモータ(図示せず)に応じた位置情報に変換し
て、作業機は順次ティーチング装置でティーチングした
作業位置に順次移動して所定の作業を行うことができ
る。しかも、この時第1ワイヤあるいは第2ワイヤが周
囲温度の影響による伸縮することによりパルスエンコー
ダの単位位置パルス当たりの移動量が変化することがあ
っても、これをティーチング前に算出するので、各作業
位置の位置情報は周囲温度の影響を受けずに正確に記憶
される。After that, when the information in the external storage unit 7 is sent to the control unit (not shown) of the work machine, the control unit calls the necessary information from the external storage unit 7 and the position information obtained by the work position teaching device is transferred to the work machine side. Of the motor (not shown), the working machine can sequentially move to the working position taught by the teaching device to perform a predetermined work. Moreover, at this time, even if the movement amount per unit position pulse of the pulse encoder changes due to expansion and contraction of the first wire or the second wire due to the influence of ambient temperature, this is calculated before teaching. The position information of the working position is accurately stored without being affected by the ambient temperature.
[発明の効果] 以上説明したように、本発明はワーク上の作業位置をテ
ィーチングする際に、パルスエンコーダの単位位置パル
ス当たりの移動距離を算出して後、各作業位置のティー
チングを行い各作業位置に応じた位置パルス数を得るよ
うに構成しているため、作業機から離れて各作業位置の
ティーチングができるばかりか、周囲温度の影響でパル
スモータの単位位置パルス当たりの移動距離が変化して
も、ティーチング前に変化後の単位位置パルス当たりの
移動距離を算出してパルスモータの単位位置パルス当た
りの移動距離を検出でき、各作業位置の位置情報を周囲
温度の影響なしに正確に記憶することができる。[Effects of the Invention] As described above, according to the present invention, when teaching the work position on the work, the moving distance per unit position pulse of the pulse encoder is calculated, and then each work position is taught. Since it is configured to obtain the number of position pulses according to the position, it is possible to teach each work position away from the work machine, and the movement distance per unit position pulse of the pulse motor changes due to the influence of ambient temperature. However, the moving distance per unit position pulse after change can be calculated before teaching and the moving distance per unit position pulse of the pulse motor can be detected, and the position information of each work position can be stored accurately without the influence of ambient temperature. can do.
なお、実施例では、スライドブロックの移動はプーリ伝
達機構により回転角に変換されているが、スライドブロ
ックの移動をスクリュウシャフトと軸受ナットとの組み
合せにより取出すこともできる。In the embodiment, the movement of the slide block is converted into the rotation angle by the pulley transmission mechanism, but the movement of the slide block can be taken out by combining the screw shaft and the bearing nut.
第1図は本発明に係わる制御部のブロック図、第2図は
本発明に係わるティーチングプログラムのフローチャー
ト、第3図は本発明に係わる作業位置ティーチング装置
のカバーを取外した状態を示す要部平面図、第4図は第
3図のA−A線に沿った要部断面図である。 A ワーク、 1……作業位置ティーチング装置、1a……制御部、 2……CPU、3……ROM、 4a,4b……I/Oポート、5……キーボード、 6……表示部、7……外部記憶部、 8……基台、9 10……第1ガイドロッド、11……第1固定ブロック、 12……第1スライドブロック、 13……第2ガイドロッド、14……第1プーリ、 15……第1ワイヤ、16a,16b……連結具、 17……第1パルスエンコーダ、18……第1被動プーリ、 19……第1無端ワイヤ、20……第2固定ブロック、 21……第2スライドブロック、21a……位置決め穴、 22……第2プーリ、23……第2ワイヤ、 24……第2パルスエンコーダ、25……第2被動プーリ、 26……第2無端ワイヤ、27……第3パルスエンコーダ、 27a……回転軸、28……ロータリヘッド、 28a……固定リング、28b……プランジャ、 29……位置決めピン、30……保持具、 31……ばね、32……ワーク台、 32a……ガイド溝、33……直角ブロック、 34……スライダ、35……固定具、FIG. 1 is a block diagram of a control unit according to the present invention, FIG. 2 is a flow chart of a teaching program according to the present invention, and FIG. 3 is a main part plane view showing a state in which a cover of a work position teaching device according to the present invention is removed. FIG. 4 and FIG. 4 are cross-sectional views of main parts taken along the line AA of FIG. A work, 1 ... work position teaching device, 1a ... control unit, 2 ... CPU, 3 ... ROM, 4a, 4b ... I / O port, 5 ... keyboard, 6 ... display unit, 7 ... ... External storage, 8 ... Base, 9 10 ... First guide rod, 11 ... First fixed block, 12 ... First slide block, 13 ... Second guide rod, 14 ... First pulley , 15 ... First wire, 16a, 16b ... Coupling, 17 ... First pulse encoder, 18 ... First driven pulley, 19 ... First endless wire, 20 ... Second fixed block, 21 ... … Second slide block, 21a …… Positioning hole, 22 …… Second pulley, 23 …… Second wire, 24 …… Second pulse encoder, 25 …… Second driven pulley, 26 …… Second endless wire, 27 …… Third pulse encoder, 27a …… Rotary axis, 28 …… Rotary head, 28a …… Fixing ring, 28b …… Plunger, 29 …… -Decided Me pins, 30 ...... retainer 31 ...... spring, 32 ...... worktable, 32a ...... guide groove 33 ...... perpendicular block, 34 ...... slider 35 ...... fixture,
Claims (1)
して2本の第1ガイドロッド(10)を所定間隔をおいて
平行に固定し、この第1ガイドロッド(10)それぞれに
第1スライドブロック(12)を摺動自在に案内し、この
第1スライドブロック(12)の移動量を第1ワイヤ(1
5)および第1無端ワイヤ(19)を介して検出する第1
パルスエンコーダ(17)を配置するとともに、 前記基台(8)の両側に位置する第1スライドブロック
間(12)に前記第1ガイドロッド(10)と直交する第2
ガイドロッド(13)を第2固定ブロック(20)を介して
固定し、この第2ガイドロッド(13)に位置決めピン
(29)を備えた第2スライドブロック(21)を摺動自在
に案内し、前記第2スライドブロック(21)の移動量を
第2ワイヤ(23)および第2無端ワイヤ(26)を介して
検出する第2パルスエンコーダ(24)を配置し、 さらに、前記第2スライドブロック(21)に第3パルス
エンコーダ(27)をその回転軸(27a)が上方に位置す
るように固定するとともに回転軸(27a)にロータリヘ
ッド28を固定した作業位置ティーチング装置において、 1)第1パルスエンコーダ(17)および第2パルスエン
コーダ(24)の位置検出パルスを零にセットする。 2)直交する二つの基準線を持ちかつ各基準線が一定基
準長さを持つ校正治具のX軸と平行な基準線の両端の2
点のティーチングを行い、各ティーチング完了時の第1
パルスエンコーダ(17)の位置検出パルス数をそれぞれ
一時記憶する。 3)前記二つの位置検出パルス数と基準長さとから第1
パルスエンコーダ(17)の単位位置検出パルス当たりの
移動量を算出して、これを外部記憶部7に記憶する。 4)前記校正治具のY軸と平行な線の両端の2点のティ
ーチングを行い、各ティーチング完了時の第2パルスエ
ンコーダ(24)の位置検出パルス数をそれぞれ一時記憶
する。 5)前記二つの位置検出パルス数から第2パルスエンコ
ーダ(24)の位置検出パルス当たりの移動量を算出し
て、これを外部記憶部に記憶する。 6)基台(8)に載置されかつ少なくとも2個の基準点
を持つダミーワーク上の二つの基準点のティーチングを
行い、最初の基準点のティーチング完了時の各パルスエ
ンコーダ(17,24,27)の位置検出パルス数を零にセット
し、次の基準点のティーチング完了時の第1パルスエン
コーダ(17)および第2パルスエンコーダ(24)の位置
検出パルス数を外部記憶部に記憶する。 7)前記ダミーワークの作業位置およびロータリヘッド
(28)の回転位置のティーチングを順次行い、ティーチ
ング完了時の全パルスエンコーダ(17,24,27)の位置検
出パルス数をそれぞれ外部記憶部(7)に記憶する。 上記順序に従ってティーチングを行うことを特徴とする
ティーチング方法。1. Two first guide rods (10) are fixed to a base (8) via a first fixing block (11) in parallel at a predetermined interval, and the first guide rods (10) are fixed. The first slide block (12) is slidably guided to each of them, and the movement amount of the first slide block (12) is adjusted by the first wire (1
5) and first detecting via the first endless wire (19)
A pulse encoder (17) is arranged, and a second slide orthogonal to the first guide rod (10) is provided between the first slide blocks (12) located on both sides of the base (8).
The guide rod (13) is fixed via the second fixing block (20), and the second slide block (21) provided with the positioning pin (29) is slidably guided to the second guide rod (13). A second pulse encoder (24) for detecting the amount of movement of the second slide block (21) via the second wire (23) and the second endless wire (26), and further, the second slide block. A work position teaching device in which a third pulse encoder (27) is fixed to (21) so that its rotary shaft (27a) is located above and a rotary head 28 is fixed to the rotary shaft (27a): 1) First The position detection pulses of the pulse encoder (17) and the second pulse encoder (24) are set to zero. 2) 2 at both ends of the reference line parallel to the X axis of the calibration jig, which has two orthogonal reference lines and each reference line has a constant reference length.
Teaching points, and first when each teaching is completed
The number of position detection pulses of the pulse encoder (17) is temporarily stored. 3) The first from the number of position detection pulses and the reference length
The movement amount per unit position detection pulse of the pulse encoder (17) is calculated and stored in the external storage unit 7. 4) Teaching at two points on both ends of a line parallel to the Y axis of the calibration jig is performed, and the number of position detection pulses of the second pulse encoder (24) at the completion of each teaching is temporarily stored. 5) The movement amount per position detection pulse of the second pulse encoder (24) is calculated from the two number of position detection pulses and stored in the external storage unit. 6) Teaching of two reference points on the dummy work which is placed on the base (8) and has at least two reference points, and each pulse encoder (17, 24, 24, The number of position detection pulses of 27) is set to zero, and the number of position detection pulses of the first pulse encoder (17) and the second pulse encoder (24) at the completion of teaching of the next reference point is stored in the external storage unit. 7) Teaching the working position of the dummy work and the rotary position of the rotary head (28) is performed in sequence, and the number of position detection pulses of all pulse encoders (17, 24, 27) at the completion of teaching is stored in the external storage unit (7). Remember. A teaching method, characterized in that teaching is performed according to the above sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63031299A JPH0786764B2 (en) | 1988-02-13 | 1988-02-13 | Teaching method for work position teaching device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63031299A JPH0786764B2 (en) | 1988-02-13 | 1988-02-13 | Teaching method for work position teaching device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01206407A JPH01206407A (en) | 1989-08-18 |
JPH0786764B2 true JPH0786764B2 (en) | 1995-09-20 |
Family
ID=12327411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63031299A Expired - Lifetime JPH0786764B2 (en) | 1988-02-13 | 1988-02-13 | Teaching method for work position teaching device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0786764B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02212032A (en) * | 1989-02-13 | 1990-08-23 | Sanyo Electric Co Ltd | Transfer device for parts |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5390577A (en) * | 1977-01-18 | 1978-08-09 | Matsushita Electric Ind Co Ltd | Apparatus for prepation unmerical control tape |
JPS6198410A (en) * | 1984-10-19 | 1986-05-16 | Hitachi Ltd | Robot teaching method |
JPS633310A (en) * | 1986-06-23 | 1988-01-08 | Shimizu Constr Co Ltd | Driving method for industrial robot |
-
1988
- 1988-02-13 JP JP63031299A patent/JPH0786764B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH01206407A (en) | 1989-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3633011A (en) | Method and apparatus for precisely contouring a workpiece imprecisely positioned on a supporting fixture | |
US4653011A (en) | Method of measuring by coordinate measuring instrument and coordinate measuring instrument | |
US4483079A (en) | Coordinate measuring apparatus | |
JPS59161207A (en) | Borer for plate | |
JPS6161746A (en) | Method of searching contact of tool and device for preciselypositioning surface of cutting tool | |
KR860002744A (en) | Operation method of numerical control machine tool | |
US20040129756A1 (en) | Device for positioning a tool in relation to a workpiece | |
JP3186213B2 (en) | Tool breakage detection method | |
US6480757B1 (en) | Method of locating a workpiece on a computer numeric controlled machining system | |
US7625158B2 (en) | Clamping assembly | |
US20020000047A1 (en) | Work form-measuring method and device, and coordinate-measuring machine | |
JPH0786764B2 (en) | Teaching method for work position teaching device | |
CN114136984A (en) | Multifunctional detection platform for cutter and use method | |
JPH1174228A (en) | Precision cutting equipment | |
JPH04256550A (en) | Detection device for tip of cutting tool | |
US4366424A (en) | Method and apparatus for programming and operating a machine tool | |
CN216227110U (en) | Drilling machine positioning device | |
JP3270115B2 (en) | Blade position detection device | |
JPH0513780B2 (en) | ||
JPH0760505A (en) | Cutting tool setting method | |
JP2624248B2 (en) | Measurement polishing equipment | |
JPH0346516Y2 (en) | ||
JPS63272477A (en) | Working position teaching device | |
JP2931381B2 (en) | Processing inspection method | |
SU659289A1 (en) | Arrangement for positioning cutting tool by two coordinates |