JPH07308878A - Teaching device for robot - Google Patents

Teaching device for robot

Info

Publication number
JPH07308878A
JPH07308878A JP28564094A JP28564094A JPH07308878A JP H07308878 A JPH07308878 A JP H07308878A JP 28564094 A JP28564094 A JP 28564094A JP 28564094 A JP28564094 A JP 28564094A JP H07308878 A JPH07308878 A JP H07308878A
Authority
JP
Japan
Prior art keywords
work
teaching
data
robot
input
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.)
Withdrawn
Application number
JP28564094A
Other languages
Japanese (ja)
Inventor
Noriaki Saisaka
則明 齋坂
Arata Hamamoto
新 濱本
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.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP28564094A priority Critical patent/JPH07308878A/en
Publication of JPH07308878A publication Critical patent/JPH07308878A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)

Abstract

PURPOSE:To provide a teaching device for a robot by which the teaching of the robot can be carried out on a computer without using an expensive software, and also without requiring skill. CONSTITUTION:When the plane images of works 4 are picked up by a videocamera 6, the plane images are displayed on a display unit 10. When an operator assigns an arbitrary point to a touch panel sensor by means of a finger or an input pen, the coordinates of the assigned point are taken in a control unit 7 as the data indicating the operational orbit, and are converted into the teaching data of the robot and stored.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ティーチングプレイ
バック型のロボットの教示に用いて好適な教示装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a teaching device suitable for teaching a teaching playback type robot.

【0002】[0002]

【従来の技術】一般に、ティーチングプレイバック(教
示再生方式)型のロボットを教示する方法として、動作
指令を数値化してコンピュータに入力する技術が知られ
ている。特に、ワークの形状データの作成、CADデー
タの入力、ロボットの軌跡および軌道ポイントの教示、
およびロボットの軌跡のシミュレーション等を、コンピ
ュータ上で行うことを可能とするソフトウェアが開発さ
れている。
2. Description of the Related Art Generally, as a method of teaching a teaching playback (teaching reproduction system) type robot, there is known a technique of digitizing an operation command and inputting it into a computer. In particular, creation of workpiece shape data, CAD data input, robot trajectory and trajectory point teaching,
Also, software has been developed that enables a computer to simulate a robot trajectory.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述したソ
フトウェアを用いた場合、ワークの形状データを作成す
る等の教示作業をするために非常に多くの工数がかかっ
てしまう上に、教示装置の構成や教示の手順が複雑であ
る等の原因により教示作業に熟練を要し、専門の作業員
を教示作業だけのために配置しなければならず、作業効
率が悪くなるという問題があった。また、ロボット操作
の未経験者にとっては、ワーク位置の教示は最も時間が
かかる作業である。特に、従来のダイレクトティーチや
リモートティーチでは、ロボットを動作させたり、座標
軸を入力したりする等の操作が必要であり、未経験者に
敬遠されてしまう。更に、ロボットの教示作業をするた
めのソフトウェア、およびそれを実行させるハードウェ
アは、価格が高いという問題があった。
By the way, when the above-mentioned software is used, an enormous number of man-hours are required for teaching work such as creating the shape data of the work, and the structure of the teaching device is used. There is a problem that skill is required for teaching work due to reasons such as complicated teaching procedures and teaching work, and a specialized worker must be arranged only for teaching work, resulting in poor work efficiency. In addition, teaching a work position is the most time-consuming task for a person who has no experience of operating a robot. Particularly, in the conventional direct teach and remote teach, operations such as operating a robot and inputting coordinate axes are required, and thus inexperienced people are shunned. Further, there is a problem that the software for teaching the robot and the hardware for executing the software are expensive.

【0004】この発明は、このような背景の下になされ
たもので、安価なソフトウェアおよびハードウェアで、
熟練を必要をせず、誰にでも簡単に、間違えることな
く、ロボットの教示をすることができるロボットの教示
装置を提供することを目的とする。
The present invention has been made under such a background, and is an inexpensive software and hardware,
It is an object of the present invention to provide a robot teaching device that does not require any skill and can easily teach a robot to anyone without making a mistake.

【0005】[0005]

【課題を解決するための手段】請求項1記載の発明によ
るロボットの教示装置は、作業面上に配置されたワーク
に対して作業具により作業を行うロボットの教示データ
を作成するロボットの教示装置において、前記作業面上
のワークの平面像を表わした画像データを取り込む画像
入力装置と、前記画像データによって表される平面像を
表示する表示手段と、前記表示手段に表示される平面像
上の任意の箇所を指定する入力手段と、前記入力手段に
よって指定される箇所の座標を前記作業具の作業軌跡を
示すデータとして取り込み、該データを前記ロボットの
教示データに変換して記憶する制御手段とを具備するこ
とを特徴としている。
A robot teaching device according to a first aspect of the invention is a robot teaching device for creating teaching data of a robot for performing work with a work tool on a work arranged on a work surface. In the above, an image input device for taking in image data representing a plane image of a work on the work surface, a display unit for displaying a plane image represented by the image data, and a plane image displayed on the display unit. Input means for designating an arbitrary location, and control means for taking in the coordinates of the location designated by the input means as data indicating the work trajectory of the work implement, converting the data into teaching data of the robot, and storing the data. It is characterized by having.

【0006】請求項2記載の発明によるロボットの教示
装置は、請求項1記載の発明において、前記入力手段
は、指および入力ペンを含み、前記表示手段は、前記入
力手段による接触を感知し、感知した部分の座標を検出
するタッチパネルセンサを有し、前記制御手段は、前記
タッチパネルセンサによって検出される座標を前記作業
具の作業軌跡を示すデータとして取り込むことを特徴と
している。
A robot teaching apparatus according to a second aspect of the present invention is the robot teaching apparatus according to the first aspect, wherein the input means includes a finger and an input pen, and the display means senses a touch by the input means. The control means has a touch panel sensor for detecting the coordinates of the sensed portion, and the control means takes in the coordinates detected by the touch panel sensor as data indicating a work trajectory of the work implement.

【0007】請求項3記載の発明によるロボットの教示
装置は、請求項1記載の発明において、前記入力手段
は、マウスであり、前記表示手段は、前記マウスの操作
によって指定される箇所を表示し、前記制御手段は、前
記マウスの操作によって指定される箇所の座標を前記作
業具の作業軌跡を示すデータとして取り込むことを特徴
としている。
A robot teaching apparatus according to a third aspect of the present invention is the robot teaching apparatus according to the first aspect, wherein the input means is a mouse, and the display means displays a portion designated by the operation of the mouse. The control means takes in the coordinates of a portion designated by the operation of the mouse as data indicating the work trajectory of the work implement.

【0008】請求項4記載の発明によるロボットの教示
装置は、作業面上に配置されたワークに対して作業具に
より作業を行うロボットの教示データを作成するロボッ
トの教示装置において、入力ペンが接触する部分の座標
を検出するタブレットと、前記タブレットによって検出
される座標を取り込み、該座標によって表される画像を
表示する表示手段と、前記座標を前記作業具の作業軌跡
を示すデータとして記憶する制御手段とを具備すること
を特徴としている。
According to a fourth aspect of the teaching device of the present invention, in the teaching device of the robot that creates teaching data of a robot that works on a work placed on a work surface with a work tool, an input pen makes contact. A tablet for detecting the coordinates of the portion to be touched, a display means for taking in the coordinates detected by the tablet and displaying an image represented by the coordinates, and a control for storing the coordinates as data indicating the work trajectory of the work implement. And means.

【0009】請求項5記載の発明によるロボットの教示
装置は、作業面上に配置されたワークに対して作業具に
より作業を行うロボットの教示データを作成するロボッ
トの教示装置において、前記作業面上またはその上方を
移動することにより、前記作業面上の任意の箇所を指定
する入力手段と、前記入力手段によって指定される箇所
の座標を前記作業具の作業軌跡を示すデータとして取り
込み、該データを前記ロボットの教示データに変換して
記憶する制御手段とを具備することを特徴としている。
A robot teaching device according to a fifth aspect of the present invention is a robot teaching device for creating teaching data of a robot for performing work with a work tool on a work arranged on the work surface, Or by moving above it, input means for designating an arbitrary location on the work surface and the coordinates of the location designated by the input means are taken in as data indicating the work trajectory of the work implement, and the data is stored. And a control unit for converting the teaching data of the robot and storing it.

【0010】請求項6記載の発明によるロボットの教示
装置は、請求項5記載のロボット教示装置において、前
記作業面上に光反射体または光吸収体を碁盤目状に設け
るとともに、前記入力手段は、発光素子と、受光素子
と、入力手段の移動方向に関するデータを出力する移動
方向データ出力手段とを有し、前記作業面上方を移動す
ることにより、前記発光素子から出射され、前記作業面
上に設けられた反射体または光吸収体によって反射され
た光を前記受光素子によって受光して受光信号を出力す
ることを特徴としている。
A robot teaching apparatus according to a sixth aspect of the present invention is the robot teaching apparatus according to the fifth aspect, wherein light reflectors or light absorbers are provided in a grid pattern on the work surface, and the input means is A light emitting element, a light receiving element, and a moving direction data output means for outputting data regarding a moving direction of the input means, and the light is emitted from the light emitting element by moving the work surface above the work surface, and on the work surface. It is characterized in that the light reflected by the reflector or the light absorber provided in is received by the light receiving element and a light reception signal is output.

【0011】請求項7記載の発明によるロボットの教示
装置は、請求項5記載のロボット教示装置において、前
記入力手段は、マウスであることを特徴としている。
A robot teaching device according to a seventh aspect of the present invention is the robot teaching device according to the fifth aspect, characterized in that the input means is a mouse.

【0012】[0012]

【作用】請求項1記載の発明によれば、作業面上のワー
クの平面像を表わした画像データが、画像入力装置によ
って読み込まれ、表示手段に表示される。オペレータが
入力手段を用いて、上記表示手段に表示される平面像の
任意の箇所を指定すると、指定された箇所の座標が作業
具の作業軌跡を示すデータとして制御手段に取り込ま
れ、ロボットの教示データに変換して記憶される。
According to the first aspect of the invention, the image data representing the plane image of the work on the work surface is read by the image input device and displayed on the display means. When the operator uses the input means to specify an arbitrary location on the plane image displayed on the display means, the coordinates of the designated location are taken into the control means as data indicating the work trajectory of the work implement, and the robot teaching is performed. It is converted into data and stored.

【0013】請求項2記載の発明によれば、表示手段に
表示される平面像の任意の箇所に対し、オペレータが指
および入力ペンを含む入力手段を接触させると、表示手
段に設けられたタッチパネルセンサがその接触を感知し
て、感知した部分の座標を検出する。この座標が、制御
手段により、作業具の作業軌跡を示すデータとして取り
込まれる。
According to the second aspect of the invention, when the operator brings the finger and the input means including the input pen into contact with an arbitrary portion of the plane image displayed on the display means, the touch panel provided on the display means. The sensor senses the touch and detects the coordinates of the sensed portion. These coordinates are fetched by the control means as data indicating the work trajectory of the work implement.

【0014】請求項3記載の発明によれば、オペレータ
がマウスが操作して任意の箇所を指定すると、指定され
た箇所が表示手段に表示され、その座標が作業具の作業
軌跡を示すデータとして制御手段に取り込まれる。
According to the third aspect of the present invention, when the operator operates the mouse to designate an arbitrary location, the designated location is displayed on the display means, and the coordinates thereof are data indicating the work locus of the work implement. Captured by the control means.

【0015】請求項4記載の発明によれば、オペレータ
が入力ペンを用いてタブレットに接触させると、その接
触した部分の座標が検出され、検出された座標によって
表される画像が表示手段に表示されると共に、その座標
が作業具の作業軌跡を示すデータとして制御手段に記憶
される。
According to the fourth aspect of the invention, when the operator touches the tablet with the input pen, the coordinates of the touched portion are detected, and the image represented by the detected coordinates is displayed on the display means. At the same time, the coordinates are stored in the control means as data indicating the work trajectory of the work implement.

【0016】請求項5記載の発明によれば、オペレータ
は、入力手段を、作業面上またはその上方を移動させ
て、作業面上の任意の箇所を指定する。制御手段は、入
力手段によって指定される座標を作業具の作業軌跡を示
すデータとして取り込み、該データをロボットの教示デ
ータに変換して記憶する。
According to the fifth aspect of the present invention, the operator moves the input means on or above the work surface to specify an arbitrary position on the work surface. The control means takes in the coordinates designated by the input means as data indicating the work trajectory of the work implement, converts the data into teaching data for the robot, and stores the data.

【0017】請求項6記載の発明によれば、オペレータ
は、入力手段を把持し作業面上またはその上方の作業具
の作業軌跡を移動させる。このとき、入力手段は、その
発光素子から作業面に向けて光線を出射し、その受光素
子により反射光を受光する。そして、入力手段の移動方
向データ出力手段は、受光信号を出力する。制御手段
は、該受光信号を、ロボットの教示データに変換して記
憶する。
According to the sixth aspect of the invention, the operator grips the input means and moves the work locus of the work implement on or above the work surface. At this time, the input means emits a light beam from the light emitting element toward the work surface, and the reflected light is received by the light receiving element. Then, the movement direction data output means of the input means outputs the light reception signal. The control means converts the received light signal into teaching data of the robot and stores it.

【0018】請求項7記載の発明によれば、オペレータ
は、作業面上においてマウスを移動させ、作業面上の任
意の箇所を指定する。制御手段は、マウスによって指定
される箇所の座標を作業具の作業軌跡を示すデータとし
て取り込み、該データをロボットの教示データとして記
憶する。
According to the invention described in claim 7, the operator moves the mouse on the work surface to designate an arbitrary position on the work surface. The control means takes in the coordinates of the location designated by the mouse as data indicating the work trajectory of the work implement and stores the data as teaching data for the robot.

【0019】[0019]

【実施例】以下、図面を参照して、この発明の一実施例
について説明する。 第1実施例 §1.工業用ロボットの構成 図1はこの発明の第1実施例による教示装置を適用した
工業用ロボットの構成を示す斜視図である。この図にお
いて、1は作業を行う多関節型のロボット本体であり、
アーム1aを備えている。アーム1aの前方の所定の位
置には、上部に金網2が設けられた支持台3が設置され
ており、この支持台3上には塗装の対象であるワーク
4,4,…が搭載されている。また、アーム1aの先端
には作業具である塗装ガン5が固定されている。塗装ガ
ン5は、所定範囲を移動することによりワーク4,4,
…に塗装を行う。更に、塗装ガン5の近傍にはビデオカ
メラ6が設けられており、ワーク4,4,…の形状およ
び配置の画像データを取り込む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. First embodiment §1. Structure of Industrial Robot FIG. 1 is a perspective view showing the structure of an industrial robot to which a teaching device according to a first embodiment of the present invention is applied. In this figure, 1 is an articulated robot main body for performing work,
The arm 1a is provided. At a predetermined position in front of the arm 1a, a support base 3 provided with a wire net 2 on the upper part is installed, and on this support base 3, works 4, 4, ... There is. Further, a coating gun 5 which is a working tool is fixed to the tip of the arm 1a. The coating gun 5 is moved within a predetermined range so that the work 4, 4,
Paint on ... Further, a video camera 6 is provided in the vicinity of the coating gun 5, and takes in image data of the shapes and arrangements of the works 4, 4, ...

【0020】また、7はロボット本体1の動作の制御を
行う制御装置であり、オペレータが動作を指示するため
の操作盤8が設けられている。更に、9はロボット本体
1の教示を行う教示装置であり、ディスプレイ10を有
する。このディスプレイ10は、教示装置9による各種
データ、および上記ビデオカメラ6によって取り込まれ
た画像データを表示する。また、ディスプレイ10に
は、タッチパネルセンサ11が設けられており、オペレ
ータが指もしくは入力ペンによりディスプレイ10に触
れるとその触れた部分の座標を検出する。更に、ディス
プレイ10は、タッチパネルセンサ11の検出した座標
に基づき、オペレータの触れた部分を表示する。
Reference numeral 7 is a control device for controlling the operation of the robot body 1, and is provided with an operation panel 8 for the operator to instruct the operation. Further, 9 is a teaching device that teaches the robot body 1, and has a display 10. The display 10 displays various data by the teaching device 9 and image data captured by the video camera 6. Further, the display 10 is provided with a touch panel sensor 11, and when an operator touches the display 10 with a finger or an input pen, the coordinates of the touched portion are detected. Further, the display 10 displays the portion touched by the operator based on the coordinates detected by the touch panel sensor 11.

【0021】図2は、上述した制御装置7の構成および
他の要素との関わりを示すブロック図である。この図に
おいて、12はモータドライバであり、ロボット本体1
の駆動を制御する。13はi/oインタフェースであ
り、塗装ガン5のオン/オフ等を制御する。14は中央
処理部であり、CPU15と、プログラムを記憶するR
OM16と、フラグおよびデータ等を記憶するRAM1
7とから構成されている。この中央処理部14は、モー
タドライバ12およびi/oインタフェース13の制御
を行うと共に、ビデオカメラ6から画像データを取り込
む。更に、中央処理部14は、教示装置9に対するデー
タの授受も行う。
FIG. 2 is a block diagram showing the configuration of the above-described control device 7 and the relationship with other elements. In this figure, reference numeral 12 is a motor driver, and the robot body 1
Control the drive of. An i / o interface 13 controls on / off of the coating gun 5. A central processing unit 14 is a CPU 15 and R for storing programs.
OM16 and RAM1 for storing flags, data, etc.
7 and 7. The central processing unit 14 controls the motor driver 12 and the i / o interface 13 and takes in image data from the video camera 6. Further, the central processing unit 14 also exchanges data with the teaching device 9.

【0022】§2.ロボットの教示装置の動作 ここで、教示装置の動作について説明する前に、オペレ
ータによる教示操作について図3を参照して説明する。
まず、ステップS1において、オペレータは、ディスプ
レイ10にワーク4,4,…の配置全体が表示されてい
るか否かを判断する。この判断結果が「NO」の場合
は、ステップS2に進み、操作盤8の図示しない移動キ
ーを操作することにより、ロボット本体1のアーム1a
を移動させる。そして、再びステップS1に戻り、同様
の判断を行い、ディスプレイ10にワーク4,4,…の
配置全体が表示されたと判断したら、ステップS3に進
む。この時のディスプレイ10上の画像の例を、図4に
示す。次に、ステップS3において、オペレータは、デ
ィスプレイ10に表示された画像データを教示装置9に
転送するように、教示装置9に設けられた図示しない転
送キーを操作する。
§2. Operation of Teaching Device of Robot Here, before describing the operation of the teaching device, the teaching operation by the operator will be described with reference to FIG.
First, in step S1, the operator determines whether or not the entire arrangement of the works 4, 4, ... Is displayed on the display 10. If the result of this determination is "NO", then the operation proceeds to step S2, and by operating a movement key (not shown) of the operation panel 8, the arm 1a of the robot body 1 is operated.
To move. Then, the process returns to step S1 again, and when the same determination is made and it is determined that the entire arrangement of the works 4, 4, ... Is displayed on the display 10, the process proceeds to step S3. An example of the image on the display 10 at this time is shown in FIG. Next, in step S3, the operator operates a transfer key (not shown) provided in the teaching device 9 so as to transfer the image data displayed on the display 10 to the teaching device 9.

【0023】次に、ステップS4に進み、ディスプレイ
10に表示されている画像データのスケールを、教示装
置9の所定のキーを操作することによって入力する。そ
して、ステップS5に進み、塗装を行う為のロボット本
体1の基準位置を教示して教示装置9に入力する。その
後、ステップS6に進み、ワーク4,4,…の上面を塗
装する(以下、これを上塗りと述べる)ための軌道を教
示する。この時のディスプレイ10の画像の例を、図5
に示す。オペレータは、タッチパネルセンサ11上を指
もしくは入力ペンで触れることにより、塗装ガン5の作
業軌道を入力すると、それに応じてラインL1が表示さ
れる。そして、オペレータは、ディスプレイ10に表示
されている終了を指定する箇所(図示せず)に触れるこ
とにより、ラインL1の入力を終了する。
Next, in step S4, the scale of the image data displayed on the display 10 is input by operating a predetermined key of the teaching device 9. Then, in step S5, the reference position of the robot body 1 for painting is taught and input to the teaching device 9. After that, the process proceeds to step S6, and a trajectory for coating the upper surfaces of the works 4, 4, ... (Hereinafter, referred to as top coating) is taught. An example of the image on the display 10 at this time is shown in FIG.
Shown in. When the operator touches the touch panel sensor 11 with a finger or an input pen to input the work trajectory of the coating gun 5, the line L1 is displayed accordingly. Then, the operator finishes the input of the line L1 by touching a location (not shown) displayed on the display 10 and designating the termination.

【0024】次に、ステップS7に進み、ワーク4,
4,…の側面を塗装する(以下、これを斜め塗りと述べ
る)ための軌道を教示する。この時のディスプレイ10
の画像の例を、図6に示す。オペレータは、上塗りの場
合と同様に指もしくは入力ペンを用いて、まず、ワーク
4,4,…の中心(ラインL2)を入力し、その後、塗
装ガン5の軌道(ラインL3)を入力する。それによっ
て、ディスプレイ10にラインL2およびラインL3が表
示される。そして、オペレータは、ディスプレイ10に
表示されている終了を指定する箇所(図示せず)に触れ
ることにより、ラインL2およびL3の入力を終了する。
Next, in step S7, the work 4,
Teach the trajectory for painting the side surfaces of 4, ... (Hereinafter referred to as diagonal painting). Display 10 at this time
An example of the image of is shown in FIG. The operator first inputs the center (line L2) of the works 4, 4, ... And then the orbit of the coating gun 5 (line L3) by using a finger or an input pen as in the case of the top coating. Thereby, the line L2 and the line L3 are displayed on the display 10. Then, the operator finishes inputting the lines L2 and L3 by touching a place (not shown) displayed on the display 10 and designating the end.

【0025】以上のように、上塗りおよび斜め塗りの教
示が終了すると、ステップS8に進んで教示が正しく行
われたか否かの確認を行う。この確認の結果、教示が正
しく行われなかった場合は、ステップS9に進んで教示
したデータを消去し、ステップS6に戻って再び教示を
行う。一方、ステップS8における確認の結果、教示が
正しく行われたと判断した場合は、ステップS10に進
んで、図示しない操作手段を操作することにより教示し
たデータを教示装置9内に保存し、教示操作を終了す
る。
As described above, when the teaching of the top coating and the diagonal coating is completed, the process proceeds to step S8, and it is confirmed whether or not the teaching is properly performed. As a result of this confirmation, if the teaching is not performed correctly, the process proceeds to step S9 to erase the taught data, and the process returns to step S6 to perform the teaching again. On the other hand, as a result of the confirmation in step S8, when it is determined that the teaching is performed correctly, the process proceeds to step S10, the teaching data is stored in the teaching device 9 by operating the operation unit (not shown), and the teaching operation is performed. finish.

【0026】次に、図7〜図13を参照して、ロボット
の教示装置の動作について説明する。ここで、動作の制
御に使用される各フラグについて説明する。これらの各
フラグは、RAM17の所定の記憶エリアに設定される
ものである。 教示終了フラグendflag:教示終了時に「オン」とな
る。 終了フラグflag1:上塗り軌道教示終了時に「オン」と
なる。 終了フラグflag2:斜め塗り教示終了時に「オン」とな
る。 終了フラグflag3:斜め塗り方向教示終了時に「オン」
となる。 終了フラグflag4:斜め塗り軌道教示終了時に「オン」
となる。
Next, the operation of the teaching device for the robot will be described with reference to FIGS. Here, each flag used for controlling the operation will be described. Each of these flags is set in a predetermined storage area of the RAM 17. Teaching end flag endflag: Turns on when teaching is completed. End flag flag1: Turns "ON" at the end of the teaching of the topcoat trajectory. End flag flag2: “ON” at the end of the diagonal painting teaching. End flag flag3: "ON" at the end of the diagonal painting direction teaching
Becomes End flag flag4: "ON" at the end of the diagonal painting trajectory teaching
Becomes

【0027】図7〜図13は、図2に示す中央制御部1
4のCPU15が実行する処理を示すPAD図である。
まず、CPU15は、電源が投入されると図7に示す処
理を行う。同図のステップS11において、電源が投入
されているか否かを判断し、投入されている間は以下の
処理を実行する。ステップS12においては、オペレー
タが操作盤8の所定の操作手段によりデータ作成モード
を設定しているか、再生モードを設定しているか、もし
くは、終了を設定しているかを判断する。そして、デー
タ作成モードが設定されている場合は、ステップS13
にすすんで図8〜図13に示すデータ作成処理を実行す
る。また、再生モードが設定されている場合は、ステッ
プS14にすすみ、ステップS13で作成されたデータ
に基づき、ロボット本体1に塗装動作を行わせる。更
に、終了が設定されている場合は、処理を終了する。
7 to 13 show the central control unit 1 shown in FIG.
FIG. 6 is a PAD diagram showing a process executed by the CPU 15 of No. 4;
First, the CPU 15 performs the processing shown in FIG. 7 when the power is turned on. In step S11 of the figure, it is determined whether or not the power is turned on, and the following processing is executed while the power is turned on. In step S12, it is determined whether the operator has set the data creation mode, the reproduction mode, or the end by the predetermined operation means of the operation panel 8. If the data creation mode is set, step S13
Then, the data creation process shown in FIGS. 8 to 13 is executed. If the reproduction mode is set, the process proceeds to step S14, and the robot body 1 is caused to perform the painting operation based on the data created in step S13. Further, when the end is set, the process is ended.

【0028】<データ作成処理>次に、上述したステッ
プS13で実行するデータ作成処理について、図8のP
AD図により説明する。同図のステップS16におい
て、オペレータによって上述した転送キーが操作された
か否かを判断し、操作されていない間は以下の処理を実
行する。まず、上述した移動キーが操作された(図3の
ステップS2)ことを検知すると、ステップS17に進
み、移動キーによっていずれの方向が指定されたかを判
断する。その結果、指定された方向が「上方」であると
判断した場合は、ステップS18に進み、ビデオカメラ
6が上方に移動するようモータドライバ12を介してア
ーム1aを移動させる。また、「下方」が指定されたと
判断した場合は、ステップS19に進んでビデオカメラ
6が下方に移動するようアーム1aを移動させ、同様に
「右方」、「左方」、「前方」、もしくは「後方」が指
定されたと判断した場合は、それぞれステップS20、
S21、S22、もしくはS23に進み、各方向にビデ
オカメラ6が移動するようアーム1aを移動させる。
<Data Creation Process> Next, the data creation process executed in step S13 described above will be described with reference to P in FIG.
This will be described with reference to the AD diagram. In step S16 of the figure, it is determined whether or not the above-described transfer key is operated by the operator, and the following processing is executed while the transfer key is not operated. First, when it is detected that the move key is operated (step S2 in FIG. 3), the process proceeds to step S17, and it is determined which direction is specified by the move key. As a result, when it is determined that the designated direction is “upward”, the process proceeds to step S18, and the arm 1a is moved via the motor driver 12 so that the video camera 6 moves upward. When it is determined that “downward” is designated, the process proceeds to step S19, the arm 1a is moved so that the video camera 6 moves downward, and similarly, “rightward”, “leftward”, “forward”, Alternatively, when it is determined that “rear” is designated, step S20,
In S21, S22, or S23, the arm 1a is moved so that the video camera 6 moves in each direction.

【0029】そして、ステップS16において、オペレ
ータによって転送キーが操作された(図3のステップS
3)と判断すると、その時にディスプレイ10に表示さ
れている画像の画像データを教示装置9に転送する。次
に、ステップS24に進み、教示装置9にスケールが入
力されたか否かを判断する。入力されていない場合は、
ステップS25に進み、入力されるまで待機する。オペ
レータによってスケールが入力された(図3のステップ
S4)と判断すると、ステップS26に進み、基準位置
が入力されたか否かを判断する。入力されていない場合
は、ステップS27に進み、入力されるまで待機する。
Then, in step S16, the transfer key is operated by the operator (step S in FIG. 3).
If it is determined to be 3), the image data of the image displayed on the display 10 at that time is transferred to the teaching device 9. Next, in step S24, it is determined whether or not a scale is input to the teaching device 9. If not entered,
The process proceeds to step S25 and waits for input. When it is determined that the scale has been input by the operator (step S4 in FIG. 3), the process proceeds to step S26, and it is determined whether the reference position has been input. If not, it proceeds to step S27 and waits until it is input.

【0030】ステップS26において、オペレータによ
り基準位置が入力された(図3のステップS5)ことを
検知すると、ステップS28に進んで教示終了フラグen
dflagを「オフ」とする。そして、ステップS29に進
み、教示終了フラグendflagがオフであるか否かを判断
し、オフである間は以下の処理を行う。まず、ステップ
S30において、後述する上塗り教示モジュールを実行
する。そして、ステップS31に進み、後述する斜め塗
り教示モジュールを実行する。その後、ステップS32
に進み、教示データを保存するか否かを判断し、オペレ
ータにより教示データの保存が指示されていない場合
は、再びステップS30,S31の処理を繰り返す。
In step S26, when it is detected that the reference position is input by the operator (step S5 in FIG. 3), the process proceeds to step S28 and the teaching end flag en
Set dflag to "off". Then, the process proceeds to step S29, it is determined whether or not the teaching end flag endflag is off, and while it is off, the following processing is performed. First, in step S30, the overcoating teaching module described later is executed. Then, the process proceeds to step S31 to execute a diagonal painting teaching module described later. Then, step S32
Then, it is determined whether or not to save the teaching data. If the operator has not instructed to save the teaching data, the processes of steps S30 and S31 are repeated.

【0031】<上塗り軌道教示モジュールの処理>次
に、図8のステップS30において実行する上塗り軌道
教示モジュールの処理について、図9のPAD図を参照
して説明する。まず、ステップS36において、終了フ
ラグflag1を「オフ」とし、ステップS37に進んで、
カウンタiに「0」を設定する。次に、ステップS38
に進み、図示しないタイマからのタイマ割込み信号の受
付を開始する。そして、ステップS39に進み、終了フ
ラグflag1が「オン」となっているか否かを判断し、
「オン」となっていない場合は、その間、ステップS4
0において上記タイマ割込み信号のサンプリングタイム
毎に上塗り軌道教示処理を実行する。
<Process of Topcoat Trajectory Teaching Module> Next, the process of the topcoat trajectory teaching module executed in step S30 of FIG. 8 will be described with reference to the PAD diagram of FIG. First, in step S36, the end flag flag1 is set to "off", and the process proceeds to step S37.
"0" is set to the counter i. Next, step S38.
Then, the reception of a timer interrupt signal from a timer (not shown) is started. Then, the process proceeds to step S39, it is determined whether or not the end flag flag1 is "ON",
If it is not “on”, step S4 is executed during that time.
At 0, the overpainting trajectory teaching process is executed at each sampling time of the timer interrupt signal.

【0032】図10に、上述した上塗り軌道教示処理を
示す。まず、ステップS42において、タッチパネルセ
ンサ11の検出を監視する。そして、ステップS43に
おいて、タッチパネルセンサ11がオペレータの指また
は入力ペンによる接触を検出したか否かを判断する。オ
ペレータがタッチパネルセンサ11に対してデータを入
力している場合は、この判断結果は「YES」となり、
ステップS44に進む。そして、ステップS44におい
て、タッチパネルセンサ11の検出した座標からオペレ
ータが終了を指定する箇所に触れているか否かを判断
し、この判断結果が「NO」の場合、すなわちオペレー
タが上塗り軌道教示データを入力している場合はステッ
プS46に進む。
FIG. 10 shows the above-mentioned teaching process for the top-coating trajectory. First, in step S42, the detection of the touch panel sensor 11 is monitored. Then, in step S43, it is determined whether or not the touch panel sensor 11 has detected contact with the operator's finger or the input pen. When the operator is inputting data to the touch panel sensor 11, the result of this determination is “YES”,
It proceeds to step S44. Then, in step S44, it is determined from the coordinates detected by the touch panel sensor 11 whether or not the operator is touching a location designating the end, and if the result of this determination is "NO", that is, the operator inputs the topcoat trajectory teaching data. If so, the process proceeds to step S46.

【0033】そして、ステップS46において、タッチ
パネルセンサ11の検出した座標を、各々上塗り軌道教
示データXui,Yuiに設定する。ここで、ディスプレイ
10に表示されている画像のx軸およびy軸を、図5に
示すように設定しているとすると、オペレータがライン
L1を入力していくに応じて、各点のx,yの座標を設
定する。その後、ステップS47に進み、カウンタiの
値をインクリメントする。
Then, in step S46, the coordinates detected by the touch panel sensor 11 are set in the topcoat trajectory teaching data Xui, Yui, respectively. Here, assuming that the x-axis and the y-axis of the image displayed on the display 10 are set as shown in FIG. 5, as the operator inputs the line L1, x, y Set the y coordinate. Then, it progresses to step S47 and increments the value of the counter i.

【0034】次に、またステップS42に戻ってタッチ
パネルセンサ11の検出を監視し、オペレータが終了を
指示するまで上記の処理を繰り返す。そして、オペレー
タがタッチパネルセンサ11に触れて終了を指示する
と、ステップS44における判断結果が「YES」とな
り、ステップS45に進む。そして、ステップS45に
おいて、終了フラグflag1を「オン」とする。これによ
り、図9に示す上塗り軌道教示処理において、ステップ
S39における判断結果が「YES」となり、ステップ
S41に進み、上塗り軌道教示タイマ割込みの受付を終
了する。
Next, returning to step S42, the detection of the touch panel sensor 11 is monitored, and the above processing is repeated until the operator gives an instruction to finish. Then, when the operator touches the touch panel sensor 11 to instruct the end, the determination result in step S44 becomes “YES”, and the process proceeds to step S45. Then, in step S45, the end flag flag1 is set to "ON". As a result, in the overpainting trajectory teaching process shown in FIG. 9, the result of the determination in step S39 is "YES", the process proceeds to step S41, and the acceptance of the overpainting trajectory teaching timer interrupt is ended.

【0035】<斜め塗り教示モジュールの処理>次に、
図8のステップS31において実行する斜め塗り教示モ
ジュールの処理について、図11のPAD図を参照して
説明する。まず、ステップS48において、終了フラグ
flag2を「オフ」とする。そして、ステップS49にお
いて終了フラグflag2が「オン」となっているか否かを
判断し、「オン」となっていない間は、ステップS50
以下の処理を行う。
<Processing of Oblique Painting Teaching Module> Next,
The processing of the diagonal coating teaching module executed in step S31 of FIG. 8 will be described with reference to the PAD diagram of FIG. First, in step S48, an end flag
Set flag2 to "off". Then, in step S49, it is determined whether or not the end flag flag2 is "ON", and while it is not "ON", step S50
The following processing is performed.

【0036】まず、ステップS50において、終了フラ
グflag3を「オフ」とし、ステップS51に進んで、カ
ウンタiに「0」を設定する。次に、ステップS52に
進み、図示しないタイマからのタイマ割込み信号の受付
を開始する。そして、ステップS53に進み、終了フラ
グflag3が「オン」であるか否かを判断し、「オン」と
なっていない間は、ステップS54において上記タイマ
割込み信号のサンプリングタイム毎に斜め塗り方向教示
処理を実行する。
First, in step S50, the end flag flag3 is set to "OFF", the flow proceeds to step S51, and "0" is set in the counter i. Next, in step S52, acceptance of a timer interrupt signal from a timer (not shown) is started. Then, the process proceeds to step S53, it is determined whether or not the end flag flag3 is "ON", and while it is not "ON", the oblique painting direction teaching process is performed at each sampling time of the timer interrupt signal in step S54. To execute.

【0037】ここで、上記ステップS54において実行
する斜め塗り方向教示処理について、図12により説明
する。まず、ステップS66において、タッチパネルセ
ンサ11の検出を監視する。そして、ステップS67に
おいて、タッチパネルセンサ11がオペレータの入力を
検出したか否かを判断する。オペレータがタッチパネル
センサ11に対して指もしくは入力ペンによってデータ
を入力している場合は、この判断結果は「YES」とな
り、ステップS68に進む。そして、ステップS68に
おいて、タッチパネルセンサ11の検出した座標からオ
ペレータの入力が終了を指示しているか否かを判断し、
この判断結果が「NO」の場合、すなわちオペレータが
斜め塗り方向教示データを入力している場合はステップ
S71に進む。
Here, the diagonal painting direction teaching process executed in step S54 will be described with reference to FIG. First, in step S66, the detection of the touch panel sensor 11 is monitored. Then, in step S67, it is determined whether or not the touch panel sensor 11 has detected the input of the operator. When the operator is inputting data to the touch panel sensor 11 with a finger or an input pen, the determination result is "YES", and the process proceeds to step S68. Then, in step S68, it is determined from the coordinates detected by the touch panel sensor 11 whether or not the operator's input is an instruction to finish,
If this determination result is "NO", that is, if the operator is inputting the diagonal painting direction teaching data, the process proceeds to step S71.

【0038】そして、ステップS71において、タッチ
パネルセンサ11の検出から得られる座標を、各々斜め
塗り方向教示データXpi,Ypiに設定する。すなわち、
図6に示すようにオペレータがラインL2を入力してい
くとすると、それに応じて各点のx,yの座標を設定す
る。その後、ステップS72に進み、カウンタiの値を
インクリメントする。
Then, in step S71, the coordinates obtained from the detection of the touch panel sensor 11 are set to the diagonal painting direction teaching data Xpi and Ypi, respectively. That is,
If the operator inputs the line L2 as shown in FIG. 6, the x and y coordinates of each point are set accordingly. Then, it progresses to step S72 and increments the value of the counter i.

【0039】次に、またステップS66に戻ってタッチ
パネルセンサ11の検出を監視し、オペレータが終了を
指示するまで上記の処理を繰り返す。そして、オペレー
タがタッチパネルセンサ11に触れて終了を指示する
と、ステップS68における判断結果が「YES」とな
り、ステップS69に進む。そして、ステップS69に
おいて、終了フラグflag3を「オン」とし、ステップS
70に進んで、変数kにカウンタiの値を設定する。こ
のように終了フラグflag3が「オン」となることによ
り、図11に示す斜め塗り教示処理において、ステップ
S55に進み、斜め塗り方向教示タイマ割込みの受付を
終了する。
Next, returning to step S66, the detection of the touch panel sensor 11 is monitored, and the above processing is repeated until the operator gives an instruction to finish. Then, when the operator touches the touch panel sensor 11 to instruct the end, the determination result in step S68 becomes “YES”, and the process proceeds to step S69. Then, in step S69, the end flag flag3 is set to "ON", and the step S
In step 70, the value of the counter i is set in the variable k. In this way, when the end flag flag3 is turned “on”, in the diagonal painting teaching process shown in FIG. 11, the process proceeds to step S55, and acceptance of the diagonal painting direction teaching timer interrupt is finished.

【0040】次に、図11においてステップS56に進
み、終了フラグflag4を「オフ」とし、ステップS57
に進んで、カウンタiに「0」を設定する。そして、ス
テップS58に進み、図示しないタイマからタイマ割込
み信号の受付を開始する。そして、ステップS59に進
み、終了フラグflag4が「オン」となっているかを判断
し、「オン」となっていない間は、ステップS60にお
いて上記タイマ割込み信号のサンプリングタイム毎に斜
め塗り軌道教示処理を実行する。
Next, in FIG. 11, the process proceeds to step S56, the end flag flag4 is set to "OFF", and step S57 is performed.
Then, the counter i is set to "0". Then, the process proceeds to step S58 to start accepting a timer interrupt signal from a timer (not shown). Then, the process proceeds to step S59, it is determined whether or not the end flag flag4 is "ON", and if it is not "ON", the diagonal painting trajectory teaching process is performed at each sampling time of the timer interrupt signal in step S60. Run.

【0041】ここで、上記ステップS60において実行
する斜め塗り軌道教示処理について、図13により説明
する。まず、S73において、タッチパネルセンサ11
の検出を監視する。そして、ステップS74において、
タッチパネルセンサ11がオペレータの入力を検出した
か否かを判断する。オペレータがタッチパネルセンサ1
1に対して指もしくは入力ペンによってデータを入力し
ている場合は、この判断結果は「YES」となり、ステ
ップS75に進む。
Here, the diagonally painted trajectory teaching processing executed in step S60 will be described with reference to FIG. First, in S73, the touch panel sensor 11
Monitor the detection of. Then, in step S74,
It is determined whether the touch panel sensor 11 has detected an operator input. Operator touch panel sensor 1
When data is input to 1 with a finger or an input pen, the result of this determination is "YES", and the flow proceeds to step S75.

【0042】そして、ステップS75において、タッチ
パネルセンサ11の検出した座標からオペレータの入力
が終了を指示しているか否かを判断し、この判断結果が
「NO」の場合、すなわちオペレータが斜め塗り軌道教
示データを入力している場合はステップS77に進み、
最小値minに最大値を設定する。ここで最大値とは、
後述する斜め塗り方向教示データと斜め塗り軌道教示デ
ータ間の距離のとり得る最大値である。
Then, in step S75, it is judged from the coordinates detected by the touch panel sensor 11 whether or not the operator's input is instructing the end, and if the result of this judgment is "NO", that is, the operator teaches the oblique coating trajectory. If data has been entered, the process proceeds to step S77,
Set the maximum value to the minimum value min. Here, the maximum value is
It is the maximum possible value of the distance between the diagonal painting direction teaching data and the diagonal painting trajectory teaching data described later.

【0043】次に、ステップS78に進み、タッチパネ
ルセンサ11の感度から得られる座標を、各々斜め塗り
軌道教示データXgi,Ygiに設定する。すなわち、図6
に示すようにオペレータがラインL3を入力していくと
すると、それに応じて各点のx,yの座標を設定する。
そして、ステップS79に進み、カウンタjに「0」を
設定し、カウンタjが「0」から「k」までの間ステッ
プS80以下の処理を行う。ここで、上述したように図
12のステップS79において、変数kには斜め塗り方
向教示時のデータの数が設定されている。
Next, in step S78, the coordinates obtained from the sensitivity of the touch panel sensor 11 are set to the diagonal painting trajectory teaching data Xgi and Ygi, respectively. That is, FIG.
When the operator inputs the line L3 as shown in (4), the x and y coordinates of each point are set accordingly.
Then, the process proceeds to step S79, "0" is set to the counter j, and the processes from step S80 onward are performed while the counter j is "0" to "k". Here, as described above, in step S79 of FIG. 12, the variable k is set to the number of data when the oblique painting direction is taught.

【0044】従って、ステップS80以下では、現在の
斜め塗り軌道教示データXgi,Ygiの示す座標との距離
が最短になる斜め塗り方向教示データXpj、Ypjを算出
するための演算を行う。すなわち、以下に示すように、
Xgi,YgiとXpj,Ypjとの距離を演算し、変数tに設
定する。 t=√{(Xgi−Xpj)2+(Ygi−Ypj)2} その後、ステップS81に進み、最小値minの値が変
数tの値より大であるか否かを判断し、この判断結果が
「YES」である場合は、ステップS82に進む。そし
て、ステップS82において、最小値minに変数tの
値を設定して、ステップS83に進み、その時の斜め塗
り方向教示データを記憶するために、変数nにカウンタ
jの値を設定する。そして、ステップS83の処理を終
了後か、もしくはステップS81での判断結果が「N
O」である場合は、再びステップS80に戻って演算を
行う。
Therefore, in step S80 and subsequent steps, an operation for calculating the diagonal painting direction teaching data Xpj, Ypj that has the shortest distance from the coordinates indicated by the current diagonal painting trajectory teaching data Xgi, Ygi is performed. That is, as shown below,
The distance between Xgi, Ygi and Xpj, Ypj is calculated and set in the variable t. t = √ {(Xgi-Xpj) 2+ (Ygi-Ypj) 2} After that, the process proceeds to step S81, it is determined whether or not the value of the minimum value min is larger than the value of the variable t, and this determination result is " If YES, the process proceeds to step S82. Then, in step S82, the value of the variable t is set to the minimum value min, the flow proceeds to step S83, and the value of the counter j is set to the variable n in order to store the oblique painting direction teaching data at that time. Then, after the processing of step S83 is completed, or the determination result of step S81 is “N
If it is “O”, the process returns to step S80 again to perform the calculation.

【0045】次に、カウンタjの値が変数kの値を等し
くなると、ステップS84に進み、斜め塗り軌道教示デ
ータXgi,Ygiと上記斜め塗り方向教示データXpn,Y
pnとを結んだ直線と、斜め塗り方向教示データXpn,Y
pnを通るx軸に平行な直線とで形成される角度Zgiを以
下に示す式により算出する。 Zgi=tan-1{(Ygi−Ypn)/(Xgi−Xpn)} 例えば、斜め塗り軌道教示データXgi,Ygiと斜め塗り
方向教示データXpn,Ypnとが示す座標が、図6に示す
点であるとすると、角度Zgi、すなわち塗装ガン5のワ
ーク4に対する角度が求められる。
Next, when the value of the counter j becomes equal to the value of the variable k, the process proceeds to step S84, and the diagonal painting trajectory teaching data Xgi, Ygi and the diagonal painting direction teaching data Xpn, Y are obtained.
Straight line connecting pn and diagonal painting direction teaching data Xpn, Y
The angle Zgi formed by a straight line passing through pn and parallel to the x-axis is calculated by the following formula. Zgi = tan-1 {(Ygi-Ypn) / (Xgi-Xpn)} For example, the coordinates indicated by the diagonal painting trajectory teaching data Xgi, Ygi and the diagonal painting direction teaching data Xpn, Ypn are points shown in FIG. Then, the angle Zgi, that is, the angle of the coating gun 5 with respect to the work 4 is obtained.

【0046】そして、ステップS85に進んで、カウン
タiの値をインクリメントする。その後、またステップ
S73に戻ってタッチパネルセンサ11の検出を監視
し、オペレータが終了を指示するまで上記の処理を繰り
返す。そして、オペレータがタッチパネルセンサ11に
触れて終了を指示すると、ステップS75における判断
結果が「YES」となり、ステップS76に進む。そし
て、ステップS76において、終了フラグflag4を「オ
ン」とする。
Then, in step S85, the value of the counter i is incremented. After that, the process returns to step S73, the detection of the touch panel sensor 11 is monitored, and the above process is repeated until the operator instructs the end. Then, when the operator touches the touch panel sensor 11 to instruct the end, the determination result in step S75 becomes “YES”, and the process proceeds to step S76. Then, in step S76, the end flag flag4 is set to "ON".

【0047】このように終了フラグflag4が「オン」と
なることにより、図11に示す斜め塗り教示処理におい
て、ステップS61に進み、斜め塗り軌道教示タイマ割
込みの受付を終了する。次に、ステップS62に進み、
次の処理を指示するキー入力があるか否かを判断し、キ
ー入力がない場合は、ステップS63に進んで待機す
る。そして、オペレータによりキー入力があったと判断
した場合は、ステップS64に進み、入力されたキーが
終了を指示するキーであるか否かを判断する。この判断
結果が「NO」である場合、すなわち教示中である場合
は、再びステップS50に戻ってステップS51〜64
の処理を行う。また、入力されたキーが終了を指示する
キーである場合は、ステップS65に進み、終了フラグ
flag2を「オン」とする。これにより、ステップS49
において終了フラグflag2が「オン」であると判断し、
斜め塗り教示処理を終了する。
When the end flag flag4 is turned on in this way, in the diagonal painting teaching process shown in FIG. 11, the process proceeds to step S61, and the acceptance of the diagonal painting trajectory teaching timer interrupt is finished. Next, in step S62,
It is determined whether or not there is a key input for instructing the next process. If there is no key input, the process proceeds to step S63 and stands by. Then, when it is determined that the operator has input a key, the process proceeds to step S64, and it is determined whether the input key is a key for instructing termination. If the result of this determination is "NO", that is, if teaching is in progress, the process returns to step S50 and steps S51-64 are performed again.
Process. If the input key is a key for instructing the end, the process proceeds to step S65 and the end flag
Set flag2 to "on". Thereby, step S49
In, it is determined that the end flag flag2 is "on",
The diagonal painting instruction processing is ended.

【0048】以上のように斜め塗り教示処理が終了する
と、図8に示すステップS32に進む。そして、オペレ
ータによって保存の指示が行われる(図3のステップS
10)と、ステップS33に進み、教示終了フラグendf
lagをオンとする。そして、ステップS34に進み、上
記教示データをロボットの軌道データに変換して、ステ
ップS35に進み、軌道データを教示装置9の所定の記
憶手段に保存する。ここで、教示終了フラグendflagが
オンとなったため、ステップS29における判断結果は
「NO」となって、データ作成モードを終了する。
When the diagonal coating teaching process is completed as described above, the process proceeds to step S32 shown in FIG. Then, the operator gives a save instruction (step S in FIG. 3).
10), the process proceeds to step S33, and the teaching end flag endf
Turn on lag. Then, in step S34, the teaching data is converted into trajectory data of the robot, and in step S35, the trajectory data is stored in a predetermined storage unit of the teaching device 9. Here, since the teaching end flag endflag is turned on, the determination result in step S29 is "NO", and the data creation mode is ended.

【0049】第2実施例 図14は、この発明の第2実施例によるロボットの教示
装置を示す図である。この図に示す教示装置9には、入
力手段として、タッチパネルセンサ11の代わりにマウ
ス31が接続されている。オペレータは、このマウス3
1を操作してディスプレイ10に表示されるカーソルを
動かすことによりデータを入力し、第1実施例と同様な
処理手順で塗装ガン5の軌道の教示を行う。なお、マウ
ス31に代えて、ディジタイザを用いてもよい。
Second Embodiment FIG. 14 is a diagram showing a robot teaching device according to a second embodiment of the present invention. To the teaching device 9 shown in this figure, a mouse 31 is connected as an input means instead of the touch panel sensor 11. The operator uses this mouse 3
Data is input by operating 1 to move the cursor displayed on the display 10, and the trajectory of the coating gun 5 is taught in the same processing procedure as in the first embodiment. A digitizer may be used instead of the mouse 31.

【0050】第3実施例 図15は、この発明の第3実施例によるロボットの教示
装置の構成を示す図である。第3実施例では、図15
(a)に示すように、アーム1aの先端には、ビデオカ
メラ6の代わりにカメラ32が取り付けられている。そ
して、このカメラ32により、ワーク4,4,…の形状
および金網2上の配置を撮影する。このカメラ32によ
って撮影された写真33は、図15(b)に示すよう
に、画像入力装置(スキャナ)34を介して教示装置9
に読み込まれ、ディスプレイ10に表示される。なお、
画像入力装置34に読み込まれる画像データは、写真3
3に限らず、予め作成されたワーク4,4,…の形状お
よび配置を表すデータであってもよい。
Third Embodiment FIG. 15 is a diagram showing the structure of a robot teaching apparatus according to a third embodiment of the present invention. In the third embodiment, FIG.
As shown in (a), a camera 32 is attached to the tip of the arm 1a instead of the video camera 6. Then, the camera 32 photographs the shapes of the works 4, 4, ... And the arrangement on the wire net 2. A photograph 33 taken by the camera 32 is transferred to the teaching device 9 via an image input device (scanner) 34 as shown in FIG.
And is displayed on the display 10. In addition,
The image data read by the image input device 34 is Photo 3
The data is not limited to 3 and may be data representing the shape and arrangement of the workpieces 4, 4, ... Created in advance.

【0051】第4実施例 図16は、この発明の第4実施例によるロボットの教示
装置の入力手段を示す図である。第4実施例では、入力
手段として教示装置9にタブレット35が設けられてい
る。そして、オペレータは、入力ペン36を用いて手書
き入力でワーク4,4,…の形状および配置の画像デー
タを入力する。
Fourth Embodiment FIG. 16 is a diagram showing the input means of the robot teaching apparatus according to the fourth embodiment of the present invention. In the fourth embodiment, the teaching device 9 is provided with a tablet 35 as an input means. Then, the operator inputs the image data of the shapes and arrangements of the works 4, 4, ... By handwriting using the input pen 36.

【0052】図17に、第4実施例によるロボットの教
示装置の操作手順を示す。まず、ステップS101にお
いて、オペレータは、入力ペン36を用いてタブレット
35上にワーク4,4,…の形状および配置のスケッチ
を描くことにより、データを入力する。そして、ステッ
プS102に進み、データの入力が終了したか否かを確
認し、終了していない場合はステップS101に戻って
入力を続行する。終了したことを確認した場合は、ステ
ップS103に進み、作成したワークの形状および配置
に対するスケールを設定する。そして、ステップS10
4に進み、ロボット本体1の基準位置を教示する。
FIG. 17 shows an operation procedure of the teaching device for the robot according to the fourth embodiment. First, in step S101, the operator inputs data by drawing a sketch of the shapes and arrangements of the works 4, 4, ... On the tablet 35 using the input pen 36. Then, the process proceeds to step S102, and it is confirmed whether or not the data input is completed. If not completed, the process returns to step S101 to continue the data input. If it is confirmed that the process is completed, the process proceeds to step S103, and the scale for the shape and arrangement of the created work is set. Then, step S10
4 and teaches the reference position of the robot body 1.

【0053】次に、ステップS105に進み、ワーク
4,4,…の上塗りのための軌道を教示し、その後、ス
テップS106に進み、ワーク4,4,…の斜め塗りの
ための軌道を教示する。そして、ステップS107に進
んで、教示が正しく行われたかの確認を行う。この確認
の結果、教示が正しく行われなかった場合は、ステップ
S108に進んで教示したデータを消去し、ステップS
105に戻って再び教示を行う。一方、ステップS10
7における確認の結果、教示が正しく行われたと判断し
た場合は、ステップS109に進んで、図示しない操作
手段を操作することにより教示したデータを教示装置9
内に保存し、教示を終了する。
Next, in step S105, a trajectory for top coating of the works 4, 4, ... Is taught, and then in step S106, a trajectory for oblique coating of the works 4, 4, ... Is taught. . Then, the process proceeds to step S107, and it is confirmed whether or not the teaching is properly performed. As a result of this confirmation, if the teaching is not performed correctly, the process proceeds to step S108, the taught data is erased, and the step S
Return to 105 and teach again. On the other hand, step S10
When it is determined that the teaching is performed correctly as a result of the confirmation in step 7, the process proceeds to step S109, and the teaching data is taught by operating the operating unit (not shown).
Save in and finish teaching.

【0054】第5実施例 §1.工業用ロボットの構成 図18は、この発明の第5実施例によるロボットの教示
装置を適用した工業用ロボットの構成を示す斜視図であ
る。この図において、ロボット本体100は塗装作業を
行う多関節型のロボットであり、図示しない駆動装置に
より駆動されるアーム100aを備えている。該アーム
100aの先端部には、塗料を噴射する塗装ガン50が
取り付けられている。ロボット本体100のアーム10
0aの下方には、図示せぬワーク台上に金網60が載置
されている。金網60は、針金が碁盤の目状に構成され
ており、その上には、塗装対象である直方体をなすワー
ク40が載置されている。コントローラ70は、各装置
を制御するものであり、ロボット本体100の近傍に設
置されている。また、コントローラ70には、ロボット
本体100の操作時に使用される操作盤80と、ワーク
40の設置位置の座標を読み取るための入力装置90と
が接続されている。
Fifth Embodiment §1. Structure of Industrial Robot FIG. 18 is a perspective view showing the structure of an industrial robot to which the teaching device for a robot according to the fifth embodiment of the present invention is applied. In this figure, a robot main body 100 is a multi-joint type robot that performs painting work, and includes an arm 100a driven by a drive device (not shown). A paint gun 50 for spraying paint is attached to the tip of the arm 100a. Arm 10 of robot body 100
A wire net 60 is placed on a work table (not shown) below 0a. In the wire net 60, the wire is formed in the shape of a grid, and the rectangular parallelepiped workpiece 40 to be painted is placed on the wire net 60. The controller 70 controls each device, and is installed near the robot body 100. Further, an operation panel 80 used when operating the robot body 100 and an input device 90 for reading the coordinates of the installation position of the work 40 are connected to the controller 70.

【0055】図19は、上述した操作盤80の外観構成
の一例を示す拡大正面図であり、この図において、操作
盤80には、コントローラ70の各種処理を指示するた
めの教示キーKk、再生キーKs、停止キーKt、テンキ
ー等の各種キーが設けられている。教示キーKk、再生
キーKsおよび停止キーKtのキートップには、オペレー
タに分かりやすい様に、それぞれ、「教示」、「再生」
および「停止」の文字が大きく表記されている。なお、
コントローラ70の各種処理については、後述する。ま
た、操作盤80には、操作内容を表示するディスプレイ
80aや、操作エラーをアラーム音でオペレータに報知
する図示しないスピーカが設けられている。
FIG. 19 is an enlarged front view showing an example of the external configuration of the operation panel 80 described above. In this figure, the operation panel 80 has a teaching key Kk for instructing various processes of the controller 70 and a reproduction key. Various keys such as a key Ks, a stop key Kt, and a numeric keypad are provided. On the key tops of the teaching key Kk, the reproduction key Ks, and the stop key Kt, “teaching” and “reproduction” are respectively made so that the operator can easily understand.
And the words "stop" are shown in large letters. In addition,
Various processes of the controller 70 will be described later. Further, the operation panel 80 is provided with a display 80a for displaying operation contents and a speaker (not shown) for notifying an operator of an operation error with an alarm sound.

【0056】図20は、上述した入力装置90の構成の
一例を示す一部裁断拡大斜視図であり、この図におい
て、90aは、その先端に向けて徐々に細くなっている
略中空円筒形状の本体である。本体90aは、その上部
側面に電源をオン/オフするための電源スイッチ94が
取り付けられ、その側面に縦横スイッチ91aおよび+
−スイッチ91bが並べて取り付けられている。縦横ス
イッチ91aおよび+−スイッチ91bは、その両端
に、それぞれ「縦」,「横」、「+」,「−」の文字が
表記され、図20中の円内に示すように、当該文字部分
が押されることによりオンとなる。縦横スイッチ91a
は、ワーク40(図18参照)の、縦および横座標を読
み取る場合に使用される。−+スイッチ12bは、縦横
スイッチ91aと同時に使用され、上記縦および横座標
の方向(正および負)を設定する。また、本体90aの
内面下部には、後述する教示データの作成時に使用する
LED(発光ダイオード)130と、受光センサ93と
が取り付けられている。LED92は、オペレータが金
網60上にかざした際に、金網60へ向けて光線を出射
する。
FIG. 20 is a partially cutaway enlarged perspective view showing an example of the configuration of the above-mentioned input device 90. In this figure, 90a has a substantially hollow cylindrical shape which is gradually narrowed toward its tip. It is the main body. The main body 90a is provided with a power switch 94 for turning on / off a power source on its upper side surface, and has a vertical / horizontal switch 91a and a +
-The switches 91b are mounted side by side. The vertical / horizontal switch 91a and the +/- switch 91b have the characters "vertical", "horizontal", "+", and "-" written on both ends thereof, respectively, as shown in the circle in FIG. It is turned on by pressing. Vertical / horizontal switch 91a
Is used to read the ordinate and abscissa of the work 40 (see FIG. 18). The- + switch 12b is used at the same time as the vertical / horizontal switch 91a and sets the directions of the vertical and horizontal coordinates (positive and negative). An LED (light emitting diode) 130 used when creating teaching data, which will be described later, and a light receiving sensor 93 are attached to the lower portion of the inner surface of the main body 90a. The LED 92 emits a light beam toward the wire netting 60 when the operator holds it over the wire netting 60.

【0057】図21は、図18に示したコントローラ7
0と該コントローラ70に接続されている各装置との電
気的接続状態の一例を示すブロック図であり、この図に
おいて、図18の各部に対応する部分には同一の符号を
付け、その説明を省略する。コントローラ70は、記憶
装置160と、制御部150とから構成されている。
FIG. 21 shows the controller 7 shown in FIG.
19 is a block diagram showing an example of an electrical connection state between 0 and each device connected to the controller 70. In this figure, parts corresponding to parts in FIG. Omit it. The controller 70 includes a storage device 160 and a control unit 150.

【0058】記憶装置160には、ロボット本体100
の動作時の位置指令データおよび速度指令データ、ワー
ク40の塗装時における塗装ガン50の軌道データを作
成するためのデータ等が記憶されている。該データは、
たとえば、塗装ガンの種類、塗装時の軌道ピッチ、塗料
の吐出量、アーム100aの動作速度である。また、記
憶装置160には、操作盤80の再生キーKsが押され
た際、アーム100aを動作させるための動作指令デー
タが記憶されている。これにより、ロボット本体100
は、常に動作させることが可能な状態とされている。
The storage device 160 includes the robot body 100.
The position command data and the speed command data at the time of the operation, the data for creating the trajectory data of the coating gun 50 at the time of coating the work 40, and the like are stored. The data is
For example, the type of coating gun, the orbital pitch at the time of coating, the discharge amount of the coating, and the operating speed of the arm 100a. The storage device 160 also stores operation command data for operating the arm 100a when the reproduction key Ks of the operation panel 80 is pressed. As a result, the robot body 100
Is always ready for operation.

【0059】操作盤80は、オペレータによって、教示
キーKk(図19参照)が押されると教示信号Skを、再
生キーKsが押されると再生信号Skを、停止キーKtが
押されると停止信号Stを、それぞれ制御部150へ出
力する。
The operation panel 80 has a teach signal Sk when the operator presses the teach key Kk (see FIG. 19), a play signal Sk when the play key Ks is pressed, and a stop signal St when the stop key Kt is pressed. Are output to the control unit 150, respectively.

【0060】制御部150は、操作盤80から各種信号
が入力されると、記憶装置160に記憶されている各種
データを読み出して各装置を制御する。なお、制御部1
50の動作の詳細については後述する。
When various signals are input from the operation panel 80, the control unit 150 reads out various data stored in the storage device 160 and controls each device. The control unit 1
Details of the operation of 50 will be described later.

【0061】入力装置90は、その受光センサ93が、
金網60からの反射光を受光したとき受光信号Sjを、
制御部150へ出力する。また、入力装置90の縦横ス
イッチ91a、+−スイッチ91bおよび電源スイッチ
94のオン/オフの状態を示す信号を制御部150へ出
力する。すなわち、縦横スイッチ91aは、縦横スイッ
チ信号Saを、+−スイッチは、+−スイッチ信号Sb
を、電源スイッチ94は、電源スイッチ信号Sdを出力
する。
In the input device 90, the light receiving sensor 93 is
When the reflected light from the wire net 60 is received, the received light signal Sj is
Output to the control unit 150. In addition, the control unit 150 outputs a signal indicating the on / off state of the vertical / horizontal switch 91a, the +/- switch 91b, and the power switch 94 of the input device 90. That is, the vertical / horizontal switch 91a outputs the vertical / horizontal switch signal Sa, and the +-switch the + -switch signal Sb
The power switch 94 outputs a power switch signal Sd.

【0062】§2.ロボットの教示装置の動作 図22は、オペレータの動作および制御部150の全体
処理を示すPAD図であり、この図において、ステップ
SA1において、オペレータは、工業用ロボットのシス
テムの初期化を行う。
§2. Operation of Robot Teaching Device FIG. 22 is a PAD diagram showing the operation of the operator and the overall processing of the control unit 150. In this figure, in step SA1, the operator initializes the system of the industrial robot.

【0063】次に、ステップSA2において、制御部1
50は、オペレータにより、工業用ロボットのシステム
を終了させるための終了コードが入力されない間はステ
ップSA3へ進み、終了コードが入力されると、全処理
を終了する。ここでは、終了コードが入力されていない
ものとし、制御部150は、ステップSA3へ進む。
Next, in step SA2, the control unit 1
The process proceeds to step SA3 while the operator does not input the end code for ending the industrial robot system, and when the end code is input, the entire process ends. Here, it is assumed that the end code has not been input, and the control unit 150 proceeds to step SA3.

【0064】ステップSA3において、制御部150
は、操作盤80から各種信号(教示信号Sk、再生信号
Ss、停止信号St等)が入力されるまで待機して、上記
各種信号が入力された場合は、ステップSA4へ進む。
At step SA3, the controller 150
Waits until various signals (teaching signal Sk, reproduction signal Ss, stop signal St, etc.) are input from the operation panel 80, and when the various signals are input, the process proceeds to step SA4.

【0065】ステップSA4において、制御部150
は、操作盤80から入力される各種信号に対応したステ
ップSA5〜7のいずれかへ進む。すなわち、制御部1
50は、操作盤80から教示信号Skが入力された場合
にステップSA5へ進み教示処理を実行する。なお、ス
テップSA5の教示処理については後述する。また、制
御部150は、再生信号Ssが入力された場合にステッ
プSA6へ進み、SA6において、制御部150は、記
憶装置160から軌道データ、塗料の吐出量データ、速
度指令データ等を読み出す。そして、制御部150は、
後述する軌道データに基づいて、ロボット本体100の
アーム100aを所定の速度で動作させるとともに、塗
装ガン50から塗料を所定の吐出量で噴射させる。これ
により、ロボット本体100の塗装ガン50は、塗料を
ワーク40に噴射しながら移動する。
In step SA4, the controller 150
Goes to any of steps SA5 to 7 corresponding to various signals input from the operation panel 80. That is, the control unit 1
When the teaching signal Sk is input from the operation panel 80, the process proceeds to step SA5 and executes the teaching process. The teaching process of step SA5 will be described later. Further, when the reproduction signal Ss is input, the control unit 150 proceeds to step SA6, and in SA6, the control unit 150 reads out trajectory data, paint discharge amount data, speed command data, etc. from the storage device 160. Then, the control unit 150
Based on the trajectory data described later, the arm 100a of the robot body 100 is operated at a predetermined speed, and the coating gun 50 sprays the coating material at a predetermined discharge amount. As a result, the coating gun 50 of the robot body 100 moves while spraying paint onto the work 40.

【0066】続いて、オペレータは、塗装作業が終了し
たことを確認した後、操作盤80の停止キーKtを押
す。このとき、入力装置90は、停止信号Stを制御部
150へ出力する。これにより、制御部150は、ステ
ップSA7へ進み、ロボットの動作を停止させる。
Subsequently, the operator confirms that the painting work is completed, and then presses the stop key Kt of the operation panel 80. At this time, the input device 90 outputs the stop signal St to the control unit 150. As a result, the control unit 150 proceeds to step SA7 and stops the operation of the robot.

【0067】次に、上述したステップSA5の教示処理
を、図23に示す教示処理のPAD図を参照して説明す
る。図23のステップSA5において、制御部150は
ステップSA8へ進む。
Next, the teaching process of step SA5 described above will be described with reference to the PAD diagram of the teaching process shown in FIG. In step SA5 of FIG. 23, the control unit 150 proceeds to step SA8.

【0068】<教示スタート処理>次に、上述したステ
ップSA8(図23参照)において、制御部150が実
行する教示スタート処理と、オペレータの動作とを図2
4に示す教示スタート処理のPAD図および図25〜2
7を参照して説明する。
<Teaching Start Processing> Next, in step SA8 (see FIG. 23) described above, the teaching start processing executed by the controller 150 and the operation of the operator will be described with reference to FIG.
4 and the PAD diagram of the teaching start process shown in FIG.
This will be described with reference to FIG.

【0069】まず、オペレータは、入力装置90を把持
し、図25に示すワーク40左下近傍の金網60上の原
点O上に位置させる。そして、オペレータが、入力装置
90の電源スイッチ94をオンにすると、入力装置90
は、電源スイッチ94がオンであることを示す電源スイ
ッチ信号Sdを制御部150へ出力する。これにより、
制御部150は、ステップSA10へ進む。
First, the operator holds the input device 90 and positions it on the origin O on the wire net 60 near the lower left of the work 40 shown in FIG. Then, when the operator turns on the power switch 94 of the input device 90, the input device 90
Outputs to the control unit 150 a power switch signal Sd indicating that the power switch 94 is on. This allows
The control unit 150 proceeds to step SA10.

【0070】ステップSA10において、制御部150
は、上述した電源スイッチ信号Sdが入力されると、入
力装置90の電源スイッチ94がオンにされた位置(図
25の原点O)を原点と認識した後、ステップSA11
へ進む。
At step SA10, the controller 150
When the power switch signal Sd described above is input, after recognizing the position where the power switch 94 of the input device 90 is turned on (origin O in FIG. 25) as the origin, the step SA11
Go to.

【0071】ステップSA11において、制御部150
は、記憶装置160に記憶されている前回のワーク設置
位置データをクリアした後、ステップSA12へ進む。
ここでいうワーク設置位置データとは、後述するように
ワーク40が設置されている座標データのことをさす。
At step SA11, the controller 150
After clearing the previous work installation position data stored in the storage device 160, proceeds to step SA12.
The work installation position data here refers to coordinate data on which the work 40 is installed, as will be described later.

【0072】ステップSA12において、制御部150
は、入力装置90(図20参照)の電源スイッチ94が
オフにされない間は、ステップSA13へ進む。
At step SA12, the controller 150
Proceeds to step SA13 while the power switch 94 of the input device 90 (see FIG. 20) is not turned off.

【0073】ステップSA13において、制御部150
は、入力装置90の縦横スイッチ91aおよび+−スイ
ッチ91bがオンにされるまでの間、すなわち、縦横ス
イッチ信号Sbおよび+−スイッチ信号Sbが入力され
るまで待機する。ここで、オペレータにより、入力装置
90の縦横スイッチ91aおよび+−スイッチ91bが
オンにされた場合は、ステップSA14へ進む。
At step SA13, the controller 150
Waits until the vertical / horizontal switch 91a and the + -switch 91b of the input device 90 are turned on, that is, until the vertical-horizontal switch signal Sb and the + -switch signal Sb are input. If the operator turns on the vertical / horizontal switch 91a and the +/- switch 91b of the input device 90, the process proceeds to step SA14.

【0074】ステップSA14において、制御部150
は、入力装置90から縦横スイッチ信号Saおよび+−
スイッチ信号Sbの入力を確認後、ステップSA15へ
進む。
At step SA14, the controller 150
Is the vertical and horizontal switch signals Sa and + -from the input device 90
After confirming the input of the switch signal Sb, the process proceeds to step SA15.

【0075】ステップSA15において、制御部150
は、上述した入力装置90の縦横スイッチ91aおよび
+−スイッチ91bのスイッチ状態の組み合わせに対応
した、ステップSA16〜19のいずれかへ進む。
At step SA15, the controller 150
Goes to any one of steps SA16 to 19 corresponding to the combination of the switch states of the vertical / horizontal switch 91a and the + -switch 91b of the input device 90 described above.

【0076】ここで、ステップSA16〜19の処理を
説明する前に、各ステップで作成されるワーク設置位置
データについて、図26を参照して説明する。ワーク設
置位置データは、UPデータ、DOWNデータ、RIG
HTデータおよびLEFTデータからなり、各データの
意味は、以下のとおりである。 UPデータ:入力装置90をワーク40の奥行方向Y+
に移動させた際の移動量を保持するデータ DOWNデータ:入力装置90をワーク40の手前方向
Y-に移動させた際の移動量を保持するデータ RIGHTデータ:入力装置90をワーク40の右方向
X+に移動させた際の移動量を保持するデータ LEFTデータ:入力装置90をワーク40の左方向X
-に移動させた際の移動量を保持するデータ
Before explaining the processing of steps SA16 to 19, the work setting position data created in each step will be described with reference to FIG. Work installation position data is UP data, DOWN data, RIG
It consists of HT data and LEFT data, and the meaning of each data is as follows. UP data: The input device 90 is moved in the depth direction Y + of the work 40.
Data that holds the amount of movement when moved to the DOWN data: Data that holds the amount of movement when the input device 90 is moved in the front direction Y- of the work 40 RIGHT data: Right direction of the work 40 Data that holds the amount of movement when moved to X + LEFT data: Input device 90 moves to the left X of workpiece 40
-Data that holds the amount of movement when moved to

【0077】次に、オペレータは、入力装置90を原点
O(図25参照)上に位置させたまま、入力装置90の
縦横スイッチ91aの「縦」、+−スイッチ91bの
「+」を押す。このとき、入力装置90は、上記各スイ
ッチのオンの状態を示す、縦横スイッチ信号Saおよび
+−スイッチ信号Sbを制御部150へ出力する。そし
て、オペレータは、図26に示すように、入力装置90
を奥行方向Y+に原点O→A点まで、ラインL1の軌跡で
移動させる。このとき、入力装置90は、そのLED9
2から光線を金網60へ向けて照射し、その受光センサ
93により金網60の針金からの反射光を受光する。そ
して、入力装置90は、反射光を受光する毎に受光信号
Sjを、制御部150へ出力する。すなわち、入力装置
90は、原点OからA点までの金網60の針金の本数を
読み取っている。これにより、制御部150は、ステッ
プSA16(図24参照)へ進む。
Next, the operator pushes the "vertical" switch of the vertical / horizontal switch 91a of the input device 90 and the "+" switch of the +/- switch 91b with the input device 90 positioned on the origin O (see FIG. 25). At this time, the input device 90 outputs the vertical / horizontal switch signal Sa and the + -switch signal Sb, which indicate the ON state of each switch, to the control unit 150. Then, the operator, as shown in FIG.
Is moved in the depth direction Y + from the origin O to the point A along the locus of the line L1. At this time, the input device 90 detects that the LED 9
Light rays are emitted from 2 toward the wire net 60, and the light receiving sensor 93 receives the light reflected from the wire of the wire net 60. Then, the input device 90 outputs the light reception signal Sj to the control unit 150 each time the reflected light is received. That is, the input device 90 reads the number of wires of the wire net 60 from the origin O to the point A. As a result, the control unit 150 proceeds to step SA16 (see FIG. 24).

【0078】ステップSA16において、制御部150
は、入力装置90から受光信号Sjが入力される毎に、
そのカウンタUの値Uをインクリメントする。このカウ
ンタUの値Uは、上述したUPデータである。
At step SA16, the controller 150
Each time the light receiving signal Sj is input from the input device 90,
The value U of the counter U is incremented. The value U of the counter U is the UP data described above.

【0079】続いて、オペレータは、図27に示すよう
に、A点上において、入力装置90の縦横スイッチ91
aを「縦」→「横」に押し換え、+−スイッチ91bは
「+」を押したままの状態とする。このとき、入力装置
90は、上記各スイッチのオンの状態を示す、縦横スイ
ッチ信号Saと+−スイッチ信号Sbを制御部150へ
出力する。そして、オペレータは、入力装置90を、右
方向X+にA点→B点まで、ラインL2の軌跡で移動させ
る。このとき、入力装置90は、上述した受光信号Sj
を制御部150へ出力する。これにより、制御部150
は、ステップSA18へ進む。
Then, the operator, as shown in FIG. 27, moves the vertical / horizontal switch 91 of the input device 90 on the point A.
"a" is changed from "vertical" to "horizontal", and the + -switch 91b keeps "+" pressed. At this time, the input device 90 outputs the vertical / horizontal switch signal Sa and the +/- switch signal Sb, which indicate the ON state of each switch, to the control unit 150. Then, the operator moves the input device 90 in the right direction X + from the point A to the point B along the locus of the line L2. At this time, the input device 90 causes the received light signal Sj described above.
Is output to the control unit 150. As a result, the control unit 150
Proceeds to step SA18.

【0080】ステップSA18において、制御部150
は、入力装置90から受光信号Sjが入力される毎に、
そのカウンタRの値Rをインクリメントする。このカウ
ンタRの値Rは、上述したRIGHTデータである。
At step SA18, the controller 150
Each time the light receiving signal Sj is input from the input device 90,
The value R of the counter R is incremented. The value R of the counter R is the RIGHT data described above.

【0081】続いて、オペレータは、図27に示すよう
にB点上において、入力装置90の縦横スイッチ91a
を「横」→「縦」、+−スイッチ91bを「+」→
「−」に押し換える。このとき、入力装置90は、上記
各スイッチのオン状態を示す、縦横スイッチ信号Saお
よび+−スイッチ信号Sbを制御部150へ出力する。
そして、オペレータは、入力装置90を、手前方向Y-
にB点→C点まで、ラインL3の軌跡で移動させる。こ
のとき、入力装置90は、受光信号Sjを制御部150
へ出力する。これにより、制御部150は、ステップS
A17へ進む。
Then, the operator operates the vertical / horizontal switch 91a of the input device 90 at the point B as shown in FIG.
"Horizontal" → "vertical", + -switch 91b "+" →
Replace with "-". At this time, the input device 90 outputs the vertical / horizontal switch signal Sa and the + -switch signal Sb, which indicate the ON state of each switch, to the control unit 150.
Then, the operator moves the input device 90 to the front direction Y-
Move from point B to point C along the locus of line L3. At this time, the input device 90 sends the received light signal Sj to the control unit 150.
Output to. As a result, the control unit 150 causes the step S
Go to A17.

【0082】ステップSA17において、制御部150
は、入力装置90から受光信号Sjが入力される毎に、
そのカウンタDの値Dをインクリメントする。このカウ
ンタDの値Dは、上述したDOWNデータである。
At step SA17, the controller 150
Each time the light receiving signal Sj is input from the input device 90,
The value D of the counter D is incremented. The value D of the counter D is the DOWN data described above.

【0083】続いて、オペレータは、図27に示すよう
にC点上において、入力装置90の縦横スイッチ91a
を「縦」→「横」に押し換え、+−スイッチ91bを
「−」に押したままの状態とする。このとき、入力装置
90は、上記各スイッチのオン状態を示す縦横スイッチ
信号Saおよび+−スイッチ信号Sbを制御部150へ
出力する。そして、オペレータは、入力装置90を左方
向X-にC点→原点OまでラインL4の軌跡で移動させ
る。このとき、入力装置90は、上述したように、受光
信号Sjを制御部150へ出力する。これにより、制御
部150は、ステップSA19へ進む。
Then, the operator operates the vertical / horizontal switch 91a of the input device 90 at the point C as shown in FIG.
Is changed from "vertical" to "horizontal", and the + -switch 91b is kept pressed to "-". At this time, the input device 90 outputs the vertical / horizontal switch signal Sa and the + -switch signal Sb indicating the ON state of each switch to the control unit 150. Then, the operator moves the input device 90 in the left direction X- from the point C to the origin O along the locus of the line L4. At this time, the input device 90 outputs the light reception signal Sj to the control unit 150, as described above. As a result, the control unit 150 proceeds to step SA19.

【0084】ステップSA19において、制御部150
は、入力装置90から受光信号Sjが入力される毎に、
そのカウンタLの値Lをインクリメントする。このカウ
ンタLの値Lは、上述したLEFTデータである。
At step SA19, the controller 150
Each time the light receiving signal Sj is input from the input device 90,
The value L of the counter L is incremented. The value L of the counter L is the LEFT data described above.

【0085】続いて、オペレータは、入力装置90が原
点O近くに戻ったとき、すなわち、入力装置90を、ラ
インL1→ラインL2→ラインL3→ラインL4の軌跡
(図27参照)でワーク40の周りを一周させたとき、
入力装置90の電源スイッチ94をオフにする。このと
き、入力装置90は、電源スイッチ94がオフであるこ
とを示す電源スイッチ信号Sdを制御部150へ出力す
る。これにより、制御部150は、ステップSA20へ
進む。
Subsequently, when the input device 90 returns to near the origin O, that is, the operator moves the input device 90 along the locus of line L1 → line L2 → line L3 → line L4 (see FIG. 27). When I went around,
The power switch 94 of the input device 90 is turned off. At this time, the input device 90 outputs the power switch signal Sd indicating that the power switch 94 is off to the control unit 150. As a result, the control unit 150 proceeds to step SA20.

【0086】ステップSA20において、制御部150
は、電源スイッチ信号Sdが入力されたことにより、入
力装置90が原点Oに復帰したと判断する。その後、制
御部150は、ステップSA21へ進む。
At step SA20, the controller 150
Determines that the input device 90 has returned to the origin O due to the input of the power switch signal Sd. After that, the control unit 150 proceeds to step SA21.

【0087】<ワーク設置位置算出>次に、上述したス
テップSA21において、制御部150が実行するワー
ク設置位置算出処理を図29を参照して説明する。同図
のステップSA22において、制御部150は、そのカ
ウンタUおよびDの値であるUPデータがDOWNデー
タより大きいか否かを判断する。この判断結果が「YE
S」の場合、制御部150は、ステップSA23へ進
む。いま、UPデータはDOWNデータに比して大きい
ものとする。
<Calculation of Work Installation Position> Next, the work installation position calculation process executed by the controller 150 in step SA21 will be described with reference to FIG. In step SA22 of the figure, the control unit 150 determines whether or not the UP data, which is the value of the counters U and D, is larger than the DOWN data. This judgment result is "YE
In the case of “S”, the control unit 150 proceeds to step SA23. Now, it is assumed that the UP data is larger than the DOWN data.

【0088】ステップSA23において、制御部150
は、UPデータを長方形座標における縦座標とした後、
ステップSA25へ進む。いっぽう、ステップSA22
の判断結果が「NO」の場合、制御部150は、ステッ
プSA24へ進み、DOWNデータを長方形座標におけ
る縦座標とする。
At step SA23, the controller 150
After the UP data is the ordinate in rectangular coordinates,
It proceeds to step SA25. On the other hand, step SA22
If the result of the determination is “NO”, the control unit 150 proceeds to step SA24 and sets the DOWN data as the ordinate in the rectangular coordinates.

【0089】ステップSA25において、制御部150
は、そのカウンタRおよびLの値であるRIGHTデー
タがLEFTデータより大きいか否かを判断する。この
判断結果が「YES」の場合、制御部150は、ステッ
プSA26へ進む。いま、RIGHTデータはLEFT
データに比して大きいものとする。
At step SA25, the controller 150
Determines whether the RIGHT data, which is the value of the counters R and L, is larger than the LEFT data. When this determination result is “YES”, the control unit 150 proceeds to step SA26. Right now, RIGHT data is LEFT
It should be larger than the data.

【0090】ステップSA26において、制御部150
は、RIGHTデータを長方形座標における横座標とす
る。いっぽう、ステップSA25の判断結果が「NO」
の場合、制御部150は、ステップSA27へ進み、L
EFTデータを長方形座標における横座標とする。これ
までの処理で、図24に示すステップSA8の教示スタ
ート処理が終了し、制御部150は、図23に示すステ
ップSA9へ進む。
At step SA26, the controller 150
Represents the RIGHT data as the abscissa in rectangular coordinates. On the other hand, the determination result of step SA25 is "NO".
In the case of, the control unit 150 proceeds to step SA27 and L
Let the EFT data be the abscissa in the rectangular coordinates. The teaching start processing of step SA8 shown in FIG. 24 is completed by the processing so far, and the control unit 150 proceeds to step SA9 shown in FIG.

【0091】<軌道作成>次に、図23のステップSA
9において、制御部150が実行する軌道作成処理を、
図30のPAD図を参照して説明する。同図のステップ
SA28において、制御部150は、ステップSA21
(図29参照)のワーク設置位置算出処理において算出
されたワーク設置位置データのうち、横座標(今の場
合、RIGHTデータ)と、記憶装置160に記憶され
ている軌道ピッチデータとを読み出す。ここでいう、軌
道ピッチデータとは、ワーク設置位置データを所定の大
きさで分割するための定数(軌道ピッチP)のデータを
さす。そして、制御部150は、RIGHTデータを軌
道ピッチデータで除算し、RIGHTデータを分割す
る。すなわち、ステップSA28は、図28に示すよう
に、横座標であるラインL2(RIGHTデータ)を軌
道ピッチPの間隔をおいてa1点,a2点,・・・,a5点の
各点で分割する処理である。その後、制御部150は、
ステップSA29へ進む。
<Trajectory Creation> Next, step SA in FIG.
9, the trajectory creation processing executed by the control unit 150 is
This will be described with reference to the PAD diagram in FIG. In step SA28 of the figure, the control unit 150 determines in step SA21.
Among the work installation position data calculated in the work installation position calculation process (see FIG. 29), the abscissa (in this case, RIGHT data) and the trajectory pitch data stored in the storage device 160 are read. The orbital pitch data mentioned here refers to data of a constant (orbital pitch P) for dividing the work installation position data into a predetermined size. Then, the control unit 150 divides the RIGHT data by the track pitch data to divide the RIGHT data. That is, as shown in FIG. 28, the step SA28 divides the line L2 (RIGHT data), which is the abscissa, at points a1, a2, ..., A5 at intervals of the track pitch P. Processing. After that, the control unit 150
Go to step SA29.

【0092】図30に示すステップSA29において、
制御部150は、図28に示すように、分割されたライ
ンL2の各点(a1,a2,・・・,a5)と、ラインL2の各
点に対応するラインL4の各点(a'1,a'2,・・・,a'
5)とを結び、a'1点(原点O)→a1点(A点)→a2
点→a'2点→・・・→a5点→a6点→a'6点→C点→B点
の軌跡(ラインL0)からなる、軌道データを作成した
後、ステップSA30へ進む。
At step SA29 shown in FIG. 30,
As shown in FIG. 28, the control unit 150 controls each point (a1, a2, ..., A5) of the divided line L2 and each point (a′1) of the line L4 corresponding to each point of the line L2. , A'2, ..., a '
5) and a'1 point (origin O) → a1 point (A point) → a2
After creating trajectory data composed of a locus (line L0) of points → a′2 points → ... → a5 points → a6 points → a′6 points → C points → B points, the process proceeds to step SA30.

【0093】ステップSA30において、制御部150
は、ステップSA29において、作成された軌道データ
を記憶装置160へ記憶させる。これにより、ステップ
SA9の軌道作成処理が終了する。
At step SA30, the controller 150
Stores the created trajectory data in the storage device 160 in step SA29. As a result, the trajectory creation process of step SA9 ends.

【0094】以上、説明したように、第5実施例による
ロボットの教示装置よれば、オペレータが入力装置90
を把持して、直接ワーク40の外周をなぞるだけで、塗
装ガン50の軌道データを作成することができる。これ
により、使い勝手が向上するとともに、通常、問題とな
りうる段取り時間を大幅に短縮することができる。
As described above, according to the robot teaching apparatus of the fifth embodiment, the operator inputs the input device 90.
The trajectory data of the coating gun 50 can be created by simply grasping and tracing the outer periphery of the work 40. As a result, the usability is improved, and the setup time, which usually causes a problem, can be greatly shortened.

【0095】以上、この発明の実施例を図面を参照して
詳述したきたが、具体的な構成はこれらの実施例に限ら
れるものではなく、この発明の要旨を逸脱しない範囲の
設計の変更等があってもこの発明に含まれる。
The embodiments of the present invention have been described in detail above with reference to the drawings. However, the specific configuration is not limited to these embodiments, and the design can be changed without departing from the gist of the present invention. Etc. are included in the present invention.

【0096】たとえば、第5実施例においては、金網6
0を用いた例を示したが、光を反射するものであればど
のようなものでもよい。また、逆に光を吸収するものに
代えてもよい。たとえば、合成樹脂製の網や、支持台上
に反射(吸収)テープを碁盤の目状に張り付けてもよ
い。また、上述した第5実施例においては、ワーク40
(図18参照)の設置位置の座標を読み取るために、入
力装置90を用いた例を示したが、ワーク40を、反射
テープが張り付けられた上述した支持台上に直接載置す
るとともに、マウスを支持台上に移動させて、その移動
量を上述したワーク設置位置データとし、同様にして軌
道データを作成してもよい。また、第5実施例において
は、入力装置90の縦横スイッチ91aおよび+−スイ
ッチ91bにより、ワーク設置位置の座標を識別した
が、両スイッチに代えてジャイロ等を使用して、さらに
使い勝手を向上させてもよい。さらに、第5実施例にお
いては、横座標(RIGHTデータもしくはLEFTデ
ータ)を分割データにより分割する例を示したが、縦座
標(UPデータもしくはDOWNデータ)を分割して同
様に軌道データを作成してもよい。
For example, in the fifth embodiment, the wire mesh 6
Although an example using 0 has been shown, any element that reflects light may be used. On the contrary, it may be replaced with one that absorbs light. For example, a synthetic resin net or a reflective (absorption) tape may be attached on a support in the shape of a grid. In addition, in the fifth embodiment described above, the work 40
Although an example in which the input device 90 is used to read the coordinates of the installation position of (see FIG. 18) is shown, the work 40 is placed directly on the above-mentioned support table to which the reflection tape is attached, and the mouse is also used. May be moved onto the support table, and the movement amount may be used as the work installation position data described above, and trajectory data may be created in the same manner. Further, in the fifth embodiment, the coordinates of the workpiece installation position are identified by the vertical and horizontal switches 91a and the + -switches 91b of the input device 90, but a gyro or the like is used instead of both switches to further improve the usability. May be. Further, in the fifth embodiment, an example in which the abscissa (RIGHT data or LEFT data) is divided by the division data is shown, but the ordinate (UP data or DOWN data) is divided and the trajectory data is similarly created. May be.

【0097】[0097]

【発明の効果】以上説明したように、請求項1〜4記載
の発明によれば、高価なソフトウェアを用いることなく
教示を行うことができるという効果がある。また、作業
面上に配置されたワークの平面像を表示手段に表示し、
表示される平面像に対してデータを入力するようにした
ので、視覚的にロボットの教示データを作成することが
できる。
As described above, according to the inventions described in claims 1 to 4, there is an effect that teaching can be performed without using expensive software. In addition, a plane image of the work placed on the work surface is displayed on the display means,
Since the data is input to the displayed plane image, the teaching data of the robot can be visually created.

【0098】請求項2〜4記載の発明によれば、指、入
力ペン、もしくはマウス等で作業具の作業軌跡を入力す
るようにしたので、熟練者でなくても容易に教示を行う
ことができるという効果がある。
According to the second to fourth aspects of the invention, since the work locus of the work implement is input with a finger, an input pen, a mouse, or the like, it is possible to easily teach even an unskilled person. The effect is that you can do it.

【0099】請求項5または6記載の発明によれば、オ
ペレータが入力手段を把持して、直接、作業面上を移動
させるだけで、教示データを作成することができる。こ
れにより、使い勝手が向上するとともに、通常、問題と
なりうる段取り時間を大幅に短縮することができるとい
う効果がある。
According to the fifth or sixth aspect of the present invention, the teaching data can be created only by the operator holding the input means and moving it directly on the work surface. As a result, the usability is improved, and the setup time, which usually causes a problem, can be greatly shortened.

【0100】請求項7記載の発明によれば、請求項5ま
たは6記載の発明の効果に加えて、オペレータの使い勝
手が更に向上するという効果がある。
According to the invention of claim 7, in addition to the effect of the invention of claim 5 or 6, there is an effect that the usability for the operator is further improved.

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

【図1】この発明の第1実施例によるロボットの教示装
置を適用した工業用ロボットの構成を示す斜視図であ
る。
FIG. 1 is a perspective view showing a configuration of an industrial robot to which a robot teaching device according to a first embodiment of the present invention is applied.

【図2】同実施例における制御装置7の構成および他の
要素との関わりを示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a control device 7 and a relationship with other elements in the embodiment.

【図3】同実施例におけるオペレータによる教示操作の
手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure of a teaching operation by an operator in the embodiment.

【図4】同実施例におけるディスプレイ10の表示例を
示す図である。
FIG. 4 is a diagram showing a display example of a display 10 in the embodiment.

【図5】同実施例における上塗り軌道教示時のディスプ
レイ10の表示例を示す図である。
FIG. 5 is a diagram showing a display example of a display 10 when teaching a top-coating trajectory in the same embodiment.

【図6】同実施例における斜め塗り教示ディスプレイ1
0の表示例を示す図である。
FIG. 6 is a diagonal coating teaching display 1 in the same embodiment.
It is a figure which shows the example of a display of 0.

【図7】同実施例におけるCPU15の処理を示すPA
D図である。
FIG. 7 is a PA showing the processing of the CPU 15 in the embodiment.
FIG.

【図8】同実施例におけるCPU15のデータ作成モー
ドを示すPAD図である。
FIG. 8 is a PAD diagram showing a data creation mode of the CPU 15 in the embodiment.

【図9】同実施例におけるCPU15の上塗り教示処理
を示すPAD図である。
FIG. 9 is a PAD diagram showing a topcoating teaching process of the CPU 15 in the embodiment.

【図10】同実施例におけるCPU15の上塗り軌道教
示タイマ割込み処理を示すPAD図である。
FIG. 10 is a PAD diagram showing an overpainting trajectory teaching timer interrupt process of the CPU 15 in the embodiment.

【図11】同実施例におけるCPU15の斜め塗り教示
処理を示すPAD図である。
FIG. 11 is a PAD diagram showing a diagonal coating teaching process of the CPU 15 in the embodiment.

【図12】同実施例におけるCPU15の斜め塗り方向
教示タイマ割込み処理を示すPAD図である。
FIG. 12 is a PAD diagram showing an oblique painting direction teaching timer interrupt process of the CPU 15 in the embodiment.

【図13】同実施例におけるCPU15の斜め塗り軌道
教示タイマ割込み処理を示すPAD図である。
FIG. 13 is a PAD diagram showing an oblique painting trajectory teaching timer interrupt process of the CPU 15 in the embodiment.

【図14】この発明の第2実施例によるロボットの教示
装置を示す正面図である。
FIG. 14 is a front view showing a robot teaching apparatus according to a second embodiment of the present invention.

【図15】この発明の第3実施例によるロボットの教示
装置の構成を示す(a)斜視図、(b)正面図である。
15 (a) is a perspective view and FIG. 15 (b) is a front view showing the configuration of a robot teaching apparatus according to a third embodiment of the present invention.

【図16】この発明の第4実施例によるロボットの教示
装置の構成を示す斜視図である。
FIG. 16 is a perspective view showing the configuration of a teaching device for a robot according to a fourth exemplary embodiment of the present invention.

【図17】同実施例におけるオペレータによる教示操作
の手順を示すフローチャートである。
FIG. 17 is a flowchart showing a procedure of a teaching operation by an operator in the embodiment.

【図18】この発明の第5実施例によるロボット教示装
置を適用した工業用ロボットの構成を示す斜視図であ
る。
FIG. 18 is a perspective view showing the configuration of an industrial robot to which the robot teaching device according to the fifth embodiment of the present invention is applied.

【図19】図18に示す操作盤80の構成の一例を示す
拡大正面図である。
19 is an enlarged front view showing an example of the configuration of the operation panel 80 shown in FIG.

【図20】図18に示す入力装置90の構成の一例を示
す一部裁断拡大斜視図である。
20 is a partially cutaway enlarged perspective view showing an example of the configuration of the input device 90 shown in FIG.

【図21】図18に示すコントローラ70と、該コント
ローラ70に接続されている各装置との電気的接続状態
の一例を示すブロック図である。
21 is a block diagram showing an example of an electrical connection state between the controller 70 shown in FIG. 18 and each device connected to the controller 70. FIG.

【図22】この発明の第5実施例によるオペレータの動
作および制御部150の全体処理を示すPAD図であ
る。
FIG. 22 is a PAD diagram showing the operation of the operator and the overall processing of the control unit 150 according to the fifth embodiment of the present invention.

【図23】同実施例による制御部150の教示処理を示
すPAD図である。
FIG. 23 is a PAD diagram showing a teaching process of a control unit 150 according to the embodiment.

【図24】同実施例による制御部150の教示スタート
処理を示すPAD図である。
FIG. 24 is a PAD diagram showing a teaching start process of the control unit 150 according to the embodiment.

【図25】同実施例による教示処理を説明する図であ
る。
FIG. 25 is a diagram illustrating a teaching process according to the same embodiment.

【図26】同実施例による教示処理を説明する図であ
る。
FIG. 26 is a diagram illustrating teaching processing according to the embodiment.

【図27】同実施例による教示処理を説明する図であ
る。
FIG. 27 is a diagram illustrating teaching processing according to the embodiment.

【図28】同実施例による軌道作成処理を説明する図で
ある。
FIG. 28 is a diagram illustrating a trajectory creation process according to the embodiment.

【図29】同実施例による制御部150のワーク設置位
置算出処理を示すPAD図である。
FIG. 29 is a PAD diagram showing a work installation position calculation process of the control unit 150 according to the embodiment.

【図30】同実施例による制御部150の軌道作成処理
を示すPAD図である。
FIG. 30 is a PAD diagram showing a trajectory creating process of the control unit 150 according to the embodiment.

【符号の説明】[Explanation of symbols]

1 ロボット本体 1a アーム 2 金網 4 ワーク 5 塗装ガン 6 ビデオカメラ 7 制御装置 9 教示装置 10 ディスプレイ 11 タッチパネルセンサ 15 CPU 31 マウス 32 カメラ 33 写真 34 画像入力装置 35 タブレット 36 入力ペン 1 Robot Body 1a Arm 2 Wire Mesh 4 Work 5 Painting Gun 6 Video Camera 7 Control Device 9 Teaching Device 10 Display 11 Touch Panel Sensor 15 CPU 31 Mouse 32 Camera 33 Photo 34 Image Input Device 35 Tablet 36 Input Pen

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 作業面上に配置されたワークに対して作
業具により作業を行うロボットの教示データを作成する
ロボットの教示装置において、 前記作業面上のワークの平面像を表わした画像データを
取り込む画像入力装置と、 前記画像データによって表される平面像を表示する表示
手段と、 前記表示手段に表示される平面像上の任意の箇所を指定
する入力手段と、 前記入力手段によって指定される箇所の座標を前記作業
具の作業軌跡を示すデータとして取り込み、該データを
前記ロボットの教示データに変換して記憶する制御手段
とを具備することを特徴とするロボットの教示装置。
1. A robot teaching device for creating teaching data of a robot for performing work with a work tool on a work arranged on a work surface, wherein image data representing a plane image of the work on the work surface is generated. An image input device for capturing, display means for displaying a plane image represented by the image data, input means for designating an arbitrary position on the plane image displayed on the display means, and designated by the input means. A teaching device for a robot, comprising: a control unit that takes in coordinates of a point as data indicating a work trajectory of the work implement, converts the data into teaching data of the robot, and stores the teaching data.
【請求項2】 前記入力手段は、指および入力ペンを含
み、 前記表示手段は、前記入力手段による接触を感知し、感
知した部分の座標を検出するタッチパネルセンサを有
し、 前記制御手段は、前記タッチパネルセンサによって検出
される座標を前記作業具の作業軌跡を示すデータとして
取り込むことを特徴とする請求項1記載のロボットの教
示装置。
2. The input unit includes a finger and an input pen, the display unit includes a touch panel sensor that detects a touch by the input unit, and detects a coordinate of a sensed portion, and the control unit includes: The robot teaching apparatus according to claim 1, wherein the coordinates detected by the touch panel sensor are fetched as data indicating a work trajectory of the work implement.
【請求項3】 前記入力手段は、マウスであり、 前記表示手段は、前記マウスの操作によって指定される
箇所を表示し、 前記制御手段は、前記マウスの操作によって指定される
箇所の座標を前記作業具の作業軌跡を示すデータとして
取り込むことを特徴とする請求項1記載のロボットの教
示装置。
3. The input means is a mouse, the display means displays a location specified by the operation of the mouse, and the control means displays the coordinates of the location specified by the operation of the mouse. The robot teaching device according to claim 1, wherein the teaching device is loaded as data indicating a work locus of the work implement.
【請求項4】 作業面上に配置されたワークに対して作
業具により作業を行うロボットの教示データを作成する
ロボットの教示装置において、 入力ペンが接触する部分の座標を検出するタブレット
と、 前記タブレットによって検出される座標を取り込み、該
座標によって表される画像を表示する表示手段と、 前記座標を前記作業具の作業軌跡を示すデータとして記
憶する制御手段とを具備することを特徴とするロボット
の教示装置。
4. A tablet teaching device for creating teaching data of a robot for performing work on a work arranged on a work surface with a work tool, wherein the tablet detects coordinates of a portion touched by an input pen, A robot comprising: a display unit that takes in coordinates detected by the tablet and displays an image represented by the coordinates; and a control unit that stores the coordinates as data indicating a work trajectory of the work implement. Teaching device.
【請求項5】 作業面上に配置されたワークに対して作
業具により作業を行うロボットの教示データを作成する
ロボットの教示装置において、 前記作業面上またはその上方を移動することにより、前
記作業面上の任意の箇所を指定する入力手段と、 前記入力手段によって指定される箇所の座標を前記作業
具の作業軌跡を示すデータとして取り込み、該データを
前記ロボットの教示データに変換して記憶する制御手段
とを具備することを特徴とするロボットの教示装置。
5. A robot teaching apparatus for creating teaching data of a robot for performing work on a work arranged on a work surface with a work tool, wherein the work is performed by moving on or above the work surface. Input means for designating an arbitrary location on the surface and coordinates of the location designated by the input means are fetched as data indicating a work trajectory of the work implement, and the data is converted into teaching data of the robot and stored. A robot teaching apparatus comprising: a control unit.
【請求項6】 前記作業面上に光反射体または光吸収体
を碁盤目状に設けるとともに、 前記入力手段は、発光素子と、受光素子と、入力手段の
移動方向に関するデータを出力する移動方向データ出力
手段とを有し、前記作業面上方を移動することにより、
前記発光素子から出射され、前記作業面上に設けられた
反射体または光吸収体によって反射された光を前記受光
素子によって受光して受光信号を出力することを特徴と
する請求項5記載のロボットの教示装置。
6. A light reflector or a light absorber is provided on the work surface in a grid pattern, and the input means is a light emitting element, a light receiving element, and a movement direction for outputting data regarding a movement direction of the input means. By having a data output means and moving above the work surface,
The robot according to claim 5, wherein the light emitted from the light emitting element and reflected by a reflector or a light absorber provided on the work surface is received by the light receiving element and a light reception signal is output. Teaching device.
【請求項7】 前記入力手段は、マウスであることを特
徴とする請求項5記載のロボットの教示装置。
7. The robot teaching apparatus according to claim 5, wherein the input means is a mouse.
JP28564094A 1994-03-16 1994-11-18 Teaching device for robot Withdrawn JPH07308878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28564094A JPH07308878A (en) 1994-03-16 1994-11-18 Teaching device for robot

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4621494 1994-03-16
JP6-46214 1994-03-16
JP28564094A JPH07308878A (en) 1994-03-16 1994-11-18 Teaching device for robot

Publications (1)

Publication Number Publication Date
JPH07308878A true JPH07308878A (en) 1995-11-28

Family

ID=26386331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28564094A Withdrawn JPH07308878A (en) 1994-03-16 1994-11-18 Teaching device for robot

Country Status (1)

Country Link
JP (1) JPH07308878A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09174468A (en) * 1995-12-26 1997-07-08 Nec Corp Robot teaching device
JP2007159703A (en) * 2005-12-12 2007-06-28 Kyoei Seiko Kk Attachment operating apparatus
WO2014083695A1 (en) 2012-11-30 2014-06-05 株式会社安川電機 Robotic system
WO2015194011A1 (en) * 2014-06-19 2015-12-23 株式会社牧野フライス製作所 Control device for machine tool
JP2016060020A (en) * 2014-09-19 2016-04-25 株式会社デンソーウェーブ Robot operation device and input device of robot operation device
WO2017037931A1 (en) * 2015-09-03 2017-03-09 株式会社安川電機 Processing-trajectory editing device, robot, article processing system, and article production method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09174468A (en) * 1995-12-26 1997-07-08 Nec Corp Robot teaching device
JP2007159703A (en) * 2005-12-12 2007-06-28 Kyoei Seiko Kk Attachment operating apparatus
WO2014083695A1 (en) 2012-11-30 2014-06-05 株式会社安川電機 Robotic system
WO2015194011A1 (en) * 2014-06-19 2015-12-23 株式会社牧野フライス製作所 Control device for machine tool
JPWO2015194011A1 (en) * 2014-06-19 2017-04-20 株式会社牧野フライス製作所 Machine tool controller
US10191460B2 (en) 2014-06-19 2019-01-29 Makino Milling Machine Co., Ltd. Control device for machine tool
JP2016060020A (en) * 2014-09-19 2016-04-25 株式会社デンソーウェーブ Robot operation device and input device of robot operation device
WO2017037931A1 (en) * 2015-09-03 2017-03-09 株式会社安川電機 Processing-trajectory editing device, robot, article processing system, and article production method
JPWO2017037931A1 (en) * 2015-09-03 2018-04-26 株式会社安川電機 Processing locus editing apparatus, robot, article processing system, and article manufacturing method

Similar Documents

Publication Publication Date Title
JP5526881B2 (en) Robot system
JP3841439B2 (en) Robot jog feed method
US7353082B2 (en) Method and a system for programming an industrial robot
JP2007015037A (en) Motion editing device of robot, motion editing method, computer program and robot device
CN106896796B (en) Industrial robot master-slave type teaching programming method based on data gloves
JP2004122356A (en) Portable terminal for controlling, programming and/or teaching robot or the same automatic device
US20220176567A1 (en) Robot instructing apparatus, teaching pendant, and method of instructing a robot
JPS59114609A (en) Method and device for controlling robot
JP2019217593A (en) Robot system, method for controlling robot system, method for assembling article using robot system, control program and recording medium
JPH07308878A (en) Teaching device for robot
JPS5914006A (en) Industrial robot
CN114227681A (en) Robot off-line virtual teaching programming method based on infrared scanning tracking
JP7190552B1 (en) Robot teaching system
JPH0118442B2 (en)
EP0573657B1 (en) Robot controller
JPH0699377A (en) Method for teaching robot track
JPH08141958A (en) Industrial robot
JP2006343975A (en) Robot instruction device
Dixon et al. Gesture-based Programming for Robotic Arc Welding
US20240066694A1 (en) Robot control system, robot control method, and robot control program
JP7217821B1 (en) Robot teaching system
JP7493816B2 (en) ROBOT, SYSTEM, METHOD, AND PROGRAM
Doshi et al. Simulation and implementation of calligraphic writing using ABB 1410 industrial manipulator
CN210589293U (en) Arm teaching device
JP2023017441A (en) Image processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020205