JPS6260005A - Confirming method for robot program - Google Patents

Confirming method for robot program

Info

Publication number
JPS6260005A
JPS6260005A JP20021285A JP20021285A JPS6260005A JP S6260005 A JPS6260005 A JP S6260005A JP 20021285 A JP20021285 A JP 20021285A JP 20021285 A JP20021285 A JP 20021285A JP S6260005 A JPS6260005 A JP S6260005A
Authority
JP
Japan
Prior art keywords
file
position variable
robot
motion
coordinate values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP20021285A
Other languages
Japanese (ja)
Inventor
Kunio Tanaka
久仁夫 田中
Haruhiko Tatsumi
巽 晴彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP20021285A priority Critical patent/JPS6260005A/en
Priority to PCT/JP1986/000459 priority patent/WO1987001476A1/en
Publication of JPS6260005A publication Critical patent/JPS6260005A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate debugging by displaying the track, source number, position variable name, coordinate values of a robot movable part on the screen of a display device. CONSTITUTION:A tape 101i where a source program SPR is perforated is set on a data input device 101h, which is started to transfer and store the source program SPR in a RAM 101c. Then, an operation file MF and a position variable file PF generated on the basis of the source program SPR are also stored in the RAM 101c. Then, motion statements are read out of the motion file MF and when a block contains a position variable, the actual position coordinate values of the position variable are calculated from the position variable file PF and the instruction and coordinate values of the block are used to display the track TIM of the robot movable part and also display the source line number SLN, position variable name PNW, and position data PD.

Description

【発明の詳細な説明】[Detailed description of the invention]

〈産業上の利用分野〉 本発明はロボットプログラム確認方法に係り、特にオフ
ラインプログラミー・グにより作成したロボットプログ
ラムの位置データやロボット言語のデバッグに適用して
好適なロボットゴログラ、・、確認方法に関する。 〈従来技術〉 ロボットによりワークスティジョン上の部品を扱う場合
、いかなる通路に沿っていかなるポインI・迄ロボット
を移動させるかの通路データやロボット動作を規定する
データをロボットコンl−lt −ラに入力する必要が
ある3、このため通常、教示操作盛を操作することによ
りロボットを実際に移動させて必要なポイントの座標値
、該ポイントへの動作速度、直線移動かあるいは円弧移
動かなどを示す移動タイプ、該ポイ>1・におけろロボ
・7トサービスコード等を教示して
<Industrial Application Field> The present invention relates to a robot program confirmation method, and in particular, a robot program confirmation method suitable for application to debugging position data and robot language of a robot program created by offline programming. Regarding. <Prior art> When a robot handles parts on a workstation, it is necessary to provide the robot controller with data on the path along which path and to what point the robot should move, as well as data that defines the robot's movements. 3. For this reason, usually, the robot is actually moved by operating the teaching operation control, and the coordinate values of the required point, the movement speed to the point, whether it is moving in a straight line or in an arc, etc. are indicated. Please tell me the mobile type, the service code, etc. for the mobile type >1.

【1ボット制御プT
−?々゛ラムを作成し、該ロボッ1−制御プログラムを
口゛オミットコントローラに入力してロボットを制御す
るようにしている。 しかし、かかるロボット制御プログラムの作成方法では
教示操作が面倒となる。このためオフラインプログラミ
ング操作でロボット制御プログラムを作成する方法が提
案されている。 このオフラインプログラミングは簡単なロボット言語で
ロボットの運動を定義すると共に(各ポイントはポジシ
ョン変数たとえばPiで表現する)、該ロボット言語で
作成されたソースプログラムをオフラインプログラミン
グ装置の翻訳機能によφ8訳1.’T:ロボットコント
ローラが実行可能な所定コードの運動ファイルと該運動
ファイルにおいて用いられるポジション変数のファイル
とを作成し、しかる後該ポジシヲン変数をキーボードそ
の他の手段で特定することにより行われる。尚、ポジシ
ョン変数の実際の位置座標値はソースプログラム作成段
階で特定することもできる。 そして、かかるオフラインプログラミング方法によれば
簡単なロボット言語さえ知っていればロボット制御用の
ソースプログラムを容易に作れ、しかも該ソースプログ
ラムを入力するだけて以後オフラインプログラミング装
置がロボットコントローラが実行可能な所定のコードよ
りなる運動ファイルとポジション変数ファイルを作成し
てくれる。尚、(alソースプログラムの作成段階でポ
ジション変数の実際の位置座標値が特定されていればポ
ジション変数ファイルはポジション変数名と実際の位置
座標値の対応を示すファイルとなり、(bl−、/−ス
プログラムの作成段階で特定されていなければ位置座標
値が未定のファイルとなる。そして、(blの場合には
各ポジション変数の位置座標値は運動ファイルが生成さ
れてからキーボードを用いて、あるいは教示操作盤を用
いてティーチングによって特定されろ。 〈発明が解決しようとしている問題点〉しかし、従来の
オフラインプログラミングにおいては正しく位置座標値
が入力されているか、あるいはソースプログラムが正し
く作成されているかのチェックが困難であった。 以上から本発明の目的は位置座標値やロボット言語のデ
パックを視覚的に簡単に行えるロボ、ソ1−プoグラム
確認方法を提供することである。 く問題点を解決するための手段〉 第1図は本発明方法を実現するオフラインプログラミン
グ装置のブロックである。 101はオフラインプログラミング装置であり、ゴロセ
ッサ101 a、 ROM10 l b、 RAM]、
 01 c 、フロッピーディスク101d、フロッピ
ーディスク装置101e、CRTlolf、キーボード
101g、テープリーグ等のデータ入力装置101hを
有している。 SPRはソースプログラム、MFは連動ファイル、PF
はポジション変数ファイルである◇CRT101fには
各ファイルMF、PF生成完了後に要求により運動ファ
イルMFとポジション変数ファイルPFを用いてロボッ
ト可動部の軌跡TIMやソースライン番号SLNやポジ
ション変数名PNMや位置データPDが表示される。 く作用〉 運動ファイルMFとポジション変数ファイルPFを作成
してから、該運動ファイルから所定のコードで作成され
た運動文を1ブロックづつ順次読み取り、該ブロックに
ポジション変数が含まれている場合には該ポジション変
数の実際の位置座標値をポジション変数ファイルPFか
ら求め、該位置座標値を用いてディスプレイ画面にロボ
ット可動部の軌跡TIMを表示できれば視覚的に運動フ
ァイルMFとポジション変数ファイルPFのデパックが
できる。 そこで、本発明においては ロボット言語で作成されたソースプログラムSPRをオ
フラインプログラミング装置101の翻訳機(翻訳機能
)により翻訳してロボットの運動を定義する運動ファイ
ルMFを生成すると共に、該運動ファイルで用いられる
ポジション変数と実際の位置座標値との対応関係を記憶
するポジション変数ファイルPFを生成する。 しかる後、運動ファイルMFから所定のコードで作成さ
れた運動文を1ブロックづつ順次読み取り、該ブロック
にポジション変数が含まれている場合には該ポジション
変数の実際の位置座標値をポジション変数ファイルPF
から求め、該位置座標値を用いてCRTlolfのディ
スプレイ画面にロボット可動部の軌跡TIMを表示する
と共に、現ブロックのソースライン番号SLNとポジシ
ョン変数名PNMと、その座標値PDを表示する。 〈実施例〉 第1図は本発明方法を実現するオフラインプログラミン
グ装置のブロックである。 101はオフラインプログラミング装置であり、プロセ
、ソサ101 aXROMI O1bXRAMl、 0
1 c 、フロッピーディスク101d1フロツピーデ
イスク装51101G、CRTlolf、キーボード1
01g、テープリーグ等のデータ入力装置101 h、
ソースプログラムテープ101iを有している。 SPRはソースプログラム、MFは運動ファイル、PF
はポジション変数ファイルである。 ROM101bには翻訳機能やインクプリーク機能等の
各種処理機能プログラムが記憶されている。 ソースプログラムSPRはソースプログラムテープ10
11に穿孔されており、従って該テープをデータ入力装
置101hにセットして起動することによりソースプロ
グラムはRAM101cに転送、記憶される。そして、
該ソースプログラムSPRに基づいて生成された運動フ
ァイルMFとポジション変数ファイルPFもRAM10
1c+C記憶される。 CRTlolfには各ファイルMF、PFの生成完了後
に要求により連動ファイルMFとポジション変数ファイ
ルPFを用いてロボット可動部の軌跡TTMやソースラ
イン番号SLNやポジション変数名PNMや位置データ
PDが表示される。 以下本発明にかかるロボットプログラム確認方法を第3
図の流れ図に従って説明する。 (1)ロボット言語で作成されたソースプログラムSP
Rをデータ入力装置11101hを介してRAM101
cに格納する。尚、第2図に示すように(al初期位置
からポイントP1に速度800で直線的にロボットハン
ドを移動させ、 (bl該ポイントP1でハンドを開き、(C)シかろ後
ハンドを速度200でポイントP2に移動させ、 fd)該ポイントP2でハンドを閉じててワークWKを
把持し、 (e+以後ポインl−P 2−” P 1− P 3−
hP 4の通路に沿ってハンドをポイントP4に位置決
めし、該ポイントP4でハンドを開いてワークをテーブ
ル上に載置するものとすればソースプログラムは以下の
ようになる。 I  PROGRAM TEST 2 VARPI、 P2. P3. P4: PO3I
TION38EGIN 4 5PEED=800.0 5 MOVETYPE=LINEAR 6MOVE To Pi 70PEN HAND 8 5PEED=200.0 9 MOVE To P2 10  CLO3E  HAND 11  MOVE  T”OPi 12  MOVE  To  P3 13  MOVE  To  P4 14 0PEN  HAND 15  END  TEST ただし、VARは変数を意味し、BEGINはプログラ
ムの始まりを意味し、LINEARは直線移動を意味し
くCIRCULARは円弧移動)、0PEN/CLO3
Eはハンドの開/閉を意味する。 (2)ソースプログラムが入力されればオフラインプロ
グラミング装置101の翻訳機(翻訳機能)が起動する
。 (3)これにより、該翻訳機によりソースプログラムを
翻訳して(alロボットコントローラが実行可能なコー
ドたとえばPコードの運動ファイルとtb)該運動ファ
イルにおいて用いられるポジション変数ファイルを生成
してRAM101cに格納すると共に、フロッピーディ
スク101dに出力する。 尚、運動ファイルMFは第2図の場合以下のようになる
。 LINE 3 (LINEはソースライン番号であり、3番目のロボッ
トH語がBEGIN命令てあることを示している) LINE 4 し0ADN  80Q、Q STOIH(SPEED) (速度soo、 oをスタックレジスフに一旦記憶した
後速度記憶域IHにストアすることを意味している) LINE  5 LOADN  1  (LINEAR)STO2H(M
OVETYPE) (直線移動を示す1をスタックレジスフに記憶した後、
移動タイプ記憶域2Hにストアすることを意味している
) LINE  6 LOADS 4H(Pi) Go  TYPE  Q (0はMOVE Toによる移動タイプであることを示
す。尚、1 ハMOVE AWAYによる移動タイプ)
LINE  7 LOADN  1  (OPEN) LOADN  1  (IO=HAND)STTOIH LINE  8 LOAND  200.Q STOIH(SPEED) LINE  9 LOADS  5H Go  TYPE  0 LINE  10 LOADN O(CLO3E) LOADN  1 (IO=HAND)STIOIH LINE  11 LOADS  4H Go  TYPE  0 LINE  12 LOAD  6H(P3) GOTYPE LINE  13 LOADS  7H(P4) Go  TYPE  0 LINE  14 L、0ADN  O(OPEN) LOADN  1   (IO=HAND)STIOI
H LINE  15 ET 又、ポジション変数ファイルPFはポジション変数の位
置座標値が特定されていない場合にはPI:  PO3
ITION P2:  PO3TTION P3:  PO3ITION P4:  PO3ITION となり、ポジション変数の位置座標値が特定されている
場合には PI: PO8ITION 001000.00100
0.000500゜oooooo、 oooooo、 
ooooo。 P2: PO3ITION 001000.00100
0.000000゜oooooo、 oooooo、 
ooooo。 P3: PO8ITION 000500.00150
0.000500゜oooooo、 oooooo、 
ooooo。 P4: PO3ITION 000500.00150
0.000000゜oooooo、 oooooo、 
ooooo。 となる。ただし、制御軸はX、Y、Z、P、Q。 Rの6軸である。 (4)以上により運動ファイルとポジション変数ファイ
ルが作成されれば、ボジシ9ン変数の実際の位置座標値
が特定されているかどうかをチェソクする。 (5)ポジション変数の実際の座標値が特定されていな
い場合にはキーボード101gより各ポジション変数の
位置座標値を入力し、ボッジョン変数と位置座標値の対
応関係を示すポジション変数ファイルPFをプロセッサ
101aをして生成させ、RAM101cに記憶させる
。尚、運動ファイルMFと位置座標値が未定のポジショ
ン変数ファイルPFを図示しないロボットコントローラ
に入力し、該ロボットコントローラの教示機能により実
際の座標値をティーチングすることもできる。 (6)以上により、運動ファイルMFと位置座標値が特
定されたポジション変数ファイルPFが生成されねばキ
ーボードより軌跡の表示要求を行う。 これにより、オフラインプログラミング装置10】のイ
ンクプリータ機能が起動する。 (7)プロセッサ101aは運動ファイルMFを構成す
る所定のコード(たとえばPコード)で作成した運動文
を1ブロック読み取る。 (8)ゴロセッサは読み取ったブロックに含まれるポジ
ション変数に対応する位置データをボジノ3ン変数ファ
イルPFから読み取って通路軌跡TIMJeCRT 1
01 Fのディスプレイ画面に描画すると共に、該ブロ
ックのソースライン番号SLN。 ポジション変数名PNM、位置デークPDを表示する。 尚、全ブロックにはポジション変数が存在しないから、
自動的にポジション変数が存在するブロックを検索して
通路軌跡、ソースライン番号、ポジション変数名、位置
データを表示するようにする。 (9)以後、プロセッサ101aは運動ファイルMFの
末尾に置かれている終わりを示すデータが読み取られた
かどうかをチェックし、読み取られろ迄上記処理を繰り
返す。 〈発明の効果〉 以上本発明によれば、ロボット言語で作成されたソース
プログラムを翻訳機により翻訳してロボットの運動を定
義する運動ファイルを生成すると共に、該運動ファイル
で用いられるポジション変数と実際の位置座標値との対
応関係を記憶するポジしヨシ変数ファイルを生成し、運
動ファイルから所定のコードで作成されたブロックを順
次読み取り、該ブロックにポジション変数が含まれてい
る場合には該ポジション変数の実際の位置座標値をポジ
ション変数ファイルから求め、ブロックの命令と位置座
標値を用いてディスプレイ画面にロボ・ソト可動部の軌
跡を表示すると共に、現ブロックのソースライン番号と
ポジション変数名とその座標値を表示するように構成し
たから、位置データやロボット言語のデパックを視覚的
に簡単に行文、プログラムチェックが容易になった。
[1 Bot Control]
−? The robot is controlled by creating a robot 1 program and inputting the robot 1 control program to the robot controller. However, in this method of creating a robot control program, teaching operations become troublesome. For this reason, methods have been proposed for creating robot control programs using offline programming operations. In this offline programming, the motion of the robot is defined in a simple robot language (each point is expressed as a position variable, for example Pi), and the source program created in the robot language is translated into φ8 by the translation function of the offline programming device. .. 'T: This is performed by creating a motion file of a predetermined code executable by the robot controller and a file of position variables used in the motion file, and then specifying the position variable using a keyboard or other means. Note that the actual position coordinate values of the position variables can also be specified at the source program creation stage. According to such an offline programming method, it is possible to easily create a source program for robot control even if one knows a simple robot language, and by simply inputting the source program, the offline programming device can create a predetermined program that can be executed by the robot controller. It will create a motion file and a position variable file consisting of the code. If the actual position coordinate values of the position variables are specified at the stage of creating the (al source program), the position variable file will be a file that shows the correspondence between the position variable names and the actual position coordinate values, and (bl-, /- If the position coordinate values are not specified at the stage of creating the program, the file will have undetermined position coordinate values.In the case of (bl), the position coordinate values of each position variable can be determined by using the keyboard or It should be specified by teaching using a teaching pendant. <Problems to be solved by the invention> However, in conventional offline programming, it is difficult to determine whether the position coordinate values are input correctly or whether the source program is created correctly. Therefore, it is an object of the present invention to provide a method for confirming robot and software programs that can visually and easily depack position coordinate values and robot language. Means for Solving> Fig. 1 is a block diagram of an offline programming device that implements the method of the present invention. 101 is an offline programming device, which includes a processor 101 a, a ROM 10 l b, a RAM],
01c, a floppy disk 101d, a floppy disk device 101e, a CRTlolf, a keyboard 101g, and a data input device 101h such as a tape league. SPR is source program, MF is linked file, PF
is a position variable file ◇The CRT 101f contains the trajectory TIM of the robot movable part, source line number SLN, position variable name PNM, and position data using the motion file MF and position variable file PF upon request after each file MF and PF generation is completed. PD is displayed. After creating a motion file MF and a position variable file PF, read the motion sentences created with a predetermined code from the motion file one block at a time, and if the block contains a position variable, If the actual position coordinate value of the position variable can be obtained from the position variable file PF and the locus TIM of the robot movable part can be displayed on the display screen using the position coordinate value, the movement file MF and the position variable file PF can be visually depacked. can. Therefore, in the present invention, the source program SPR created in the robot language is translated by the translator (translation function) of the offline programming device 101 to generate a motion file MF that defines the motion of the robot, and is used in the motion file. A position variable file PF is generated that stores the correspondence between position variables and actual position coordinate values. After that, the motion sentences created with a predetermined code are read one block at a time from the motion file MF, and if the block contains a position variable, the actual position coordinate value of the position variable is read into the position variable file PF.
Using the position coordinate values, the locus TIM of the robot movable part is displayed on the display screen of CRTlolf, and the source line number SLN, position variable name PNM, and coordinate value PD of the current block are displayed. <Embodiment> FIG. 1 is a block diagram of an offline programming device that implements the method of the present invention. 101 is an offline programming device, which includes a processor, a processor 101 aXROMI O1bXRAMl, 0
1c, floppy disk 101d1 floppy disk unit 51101G, CRTlolf, keyboard 1
01g, data input device 101h such as tape league,
It has a source program tape 101i. SPR is source program, MF is motion file, PF
is a position variable file. The ROM 101b stores various processing function programs such as a translation function and an ink leak function. Source program SPR is source program tape 10
Therefore, when the tape is set in the data input device 101h and activated, the source program is transferred to and stored in the RAM 101c. and,
The motion file MF and position variable file PF generated based on the source program SPR are also stored in the RAM 10.
1c+C is stored. After the generation of each file MF and PF is completed, CRTlolf displays the locus TTM of the robot movable part, source line number SLN, position variable name PNM, and position data PD using the interlocking file MF and position variable file PF upon request. The robot program confirmation method according to the present invention will be explained in the third section below.
The explanation will be given according to the flowchart in the figure. (1) Source program SP created in robot language
R to the RAM 101 via the data input device 11101h.
Store in c. As shown in Fig. 2, move the robot hand linearly from the initial position to point P1 at a speed of 800, (bl open the hand at the point P1, and (C) move the hand backward at a speed of 200. Move to point P2, fd) Close the hand at point P2 and grip the workpiece WK, (from e+ point l-P 2-" P 1- P 3-
Assuming that the hand is positioned at point P4 along the path of hP4, the hand is opened at point P4, and a workpiece is placed on the table, the source program will be as follows. I PROGRAM TEST 2 VARPI, P2. P3. P4: PO3I
TION38EGIN 4 5PEED=800.0 5 MOVETYPE=LINEAR 6MOVE To Pi 70PEN HAND 8 5PEED=200.0 9 MOVE To P2 10 CLO3E HAND 11 MOVE T”OPi 12 MOVE To P3 13 MOVE To P4 14 0PEN HAND 15 END TEST However, VAR means variable, BEGIN means the beginning of the program, LINEAR means straight line movement, CIRCULAR means arc movement), 0PEN/CLO3
E means open/close hand. (2) When the source program is input, the translator (translation function) of the offline programming device 101 is activated. (3) As a result, the source program is translated by the translator (code executable by the al robot controller, for example, the P code motion file and tb), and a position variable file used in the motion file is generated and stored in the RAM 101c. At the same time, it is output to the floppy disk 101d. Incidentally, the motion file MF in the case of FIG. 2 is as follows. LINE 3 (LINE is the source line number, and the third robot H word indicates that there is a BEGIN command) LINE 4 0ADN 80Q, Q STOIH (SPEED) (Speed soo, o once in the stack register LINE 5 LOADN 1 (LINEAR) STO2H (M
OVETYPE) (After storing 1 indicating linear movement in the stack register,
LINE 6 LOADS 4H (Pi) Go TYPE Q (0 indicates the movement type by MOVE To. Note that 1 indicates the movement type by MOVE AWAY)
LINE 7 LOADN 1 (OPEN) LOADN 1 (IO=HAND) STTOIH LINE 8 LOAND 200. Q STOIH (SPEED) LINE 9 LOADS 5H Go TYPE 0 LINE 10 LOADN O (CLO3E) LOADN 1 (IO=HAND) STIOIH LINE 11 LOADS 4H Go TYPE 0 LINE 12 LOAD 6H (P3) GOTYPE LINE 13 LOADS 7H (P4) Go TYPE 0 LINE 14 L, 0ADN O(OPEN) LOADN 1 (IO=HAND)STIOI
H LINE 15 ET Also, in the position variable file PF, if the position coordinate value of the position variable is not specified, PI: PO3
ITION P2: PO3TTION P3: PO3ITION P4: PO3ITION, and if the position coordinate value of the position variable is specified, PI: PO8ITION 001000.00100
0.000500゜oooooo, ooooooo,
ooooo. P2: PO3ITION 001000.00100
0.000000゜oooooo, ooooooo,
ooooo. P3: PO8ITION 000500.00150
0.000500゜oooooo, ooooooo,
ooooo. P4: PO3ITION 000500.00150
0.000000゜oooooo, ooooooo,
ooooo. becomes. However, the control axes are X, Y, Z, P, and Q. This is the 6th axis of R. (4) Once the motion file and position variable file have been created as described above, it is checked whether the actual position coordinate values of the position variables have been specified. (5) If the actual coordinate values of the position variables are not specified, input the position coordinate values of each position variable from the keyboard 101g, and transfer the position variable file PF indicating the correspondence between the position variables and the position coordinate values to the processor 101a. is generated and stored in the RAM 101c. It is also possible to input the motion file MF and the position variable file PF whose position coordinate values are undetermined to a robot controller (not shown), and teach the actual coordinate values using the teaching function of the robot controller. (6) If the motion file MF and the position variable file PF in which the position coordinate values are specified are not generated as described above, a trajectory display request is made from the keyboard. As a result, the inkpleter function of the offline programming device 10 is activated. (7) The processor 101a reads one block of exercise sentences created with a predetermined code (for example, P code) constituting the exercise file MF. (8) The gorocessor reads the position data corresponding to the position variables included in the read block from the position variable file PF and creates the path trajectory TIMJeCRT 1
01 Draw on the display screen of F and the source line number SLN of the block. Display position variable name PNM and position data PD. Furthermore, since there are no position variables in all blocks,
Automatically searches for a block where a position variable exists and displays the path locus, source line number, position variable name, and position data. (9) Thereafter, the processor 101a checks whether the data indicating the end placed at the end of the motion file MF has been read, and repeats the above processing until it has been read. <Effects of the Invention> According to the present invention, a source program created in a robot language is translated by a translator to generate a motion file that defines the motion of the robot, and position variables used in the motion file and actual Generates a positive variable file that stores the correspondence with the position coordinate values of The actual position coordinate values of the variables are obtained from the position variable file, and the locus of the robot/soto moving part is displayed on the display screen using the block command and position coordinate values, and the source line number and position variable name of the current block are displayed. Since the system was configured to display the coordinate values, it became easy to visually check the position data and robot language, and to check the lines and programs easily.

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

第1図は本発明方法を実現するオフラインプログラミン
グ装置のブロック図、 第2図はソースプログラム、運動ファイル、ポジション
変数ファイルを説明するためのロボット動作図、 第3図は本発明方法の処理の流れ図である。 101・・オフラインプログラミング装置、101 f
 ・ ・ CRT。 SPR・・ソースプログラム、 MF・・運動ファイル、 PF・・ポジション変数ファイル TIM・・軌跡、SLN・・ソースライン番号、PNM
・・ポジション変数名、 PD・・位置データ
Figure 1 is a block diagram of an offline programming device that implements the method of the present invention. Figure 2 is a robot operation diagram for explaining the source program, motion file, and position variable file. Figure 3 is a flowchart of the processing of the method of the present invention. It is. 101...offline programming device, 101 f
・ ・ CRT. SPR...source program, MF...movement file, PF...position variable file TIM...trajectory, SLN...source line number, PNM
...Position variable name, PD...Position data

Claims (1)

【特許請求の範囲】 ロボット言語で作成されたソースプログラムを翻訳機に
より翻訳してロボットの運動を定義する運動ファイルを
生成すると共に、該運動ファイルで用いられるポジショ
ン変数と実際の位置座標値との対応関係を記憶するポジ
ション変数ファイルを生成し、 運動ファイルから所定のコードで作成された運動文を1
ブロックづつ順次読み取り、該ブロックにポジション変
数が含まれている場合には該ポジション変数の実際の位
置座標値をポジション変数ファイルから求め、 該位置座標値を用いてディスプレイ画面にロボット可動
部の軌跡を表示すると共に、現ブロックのソースライン
番号とポジション変数名とその座標値を表示することを
特徴とするロボットプログラム確認方法。
[Claims] A source program created in a robot language is translated by a translator to generate a motion file that defines the motion of the robot, and the position variables used in the motion file and the actual position coordinate values are Generate a position variable file that stores the correspondence relationship, and convert the motion statement created with the specified code from the motion file into 1
Read each block sequentially, and if the block contains a position variable, find the actual position coordinate value of the position variable from the position variable file, and use the position coordinate value to show the trajectory of the robot movable part on the display screen. A robot program confirmation method characterized by displaying the current block's source line number, position variable name, and its coordinate value.
JP20021285A 1985-09-10 1985-09-10 Confirming method for robot program Pending JPS6260005A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP20021285A JPS6260005A (en) 1985-09-10 1985-09-10 Confirming method for robot program
PCT/JP1986/000459 WO1987001476A1 (en) 1985-09-10 1986-09-10 Method of confirming a robot program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20021285A JPS6260005A (en) 1985-09-10 1985-09-10 Confirming method for robot program

Publications (1)

Publication Number Publication Date
JPS6260005A true JPS6260005A (en) 1987-03-16

Family

ID=16420678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20021285A Pending JPS6260005A (en) 1985-09-10 1985-09-10 Confirming method for robot program

Country Status (1)

Country Link
JP (1) JPS6260005A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04149707A (en) * 1990-10-15 1992-05-22 Koyou Sokushin Jigyodan Numerical control program input device
JP2014126939A (en) * 2012-12-25 2014-07-07 Fanuc Ltd Load display device of machine tool

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04149707A (en) * 1990-10-15 1992-05-22 Koyou Sokushin Jigyodan Numerical control program input device
JP2014126939A (en) * 2012-12-25 2014-07-07 Fanuc Ltd Load display device of machine tool

Similar Documents

Publication Publication Date Title
JP2525358B2 (en) Robot controller
JPS6318403A (en) Off-line control executing method
Exel et al. Simulation workshop and remote laboratory: Two web-based training approaches for control
CN111103850A (en) Machine tool system
JPS6260005A (en) Confirming method for robot program
JPH10143221A (en) System and method for supporting development of equipment control program
JP2002507303A (en) Programming device
JPH08194518A (en) Work robot teaching device and work program composition device
Gini et al. Interactive development of object handling programs
Hwang et al. Interactive task planning through natural language
CN111993419A (en) PDPS-based robot offline manufacturing method and device and computer terminal equipment
JPS6260006A (en) Interference checking method for robot control program
JPH08137532A (en) Generating method for operation program of robot and teaching method for robot
JPS6353610A (en) Off-line control executing method
JPS62106507A (en) Method for correcting variable of robot control program
JPS62192806A (en) Variable specifying method for robot control program
JPS638910A (en) Display method for robot position
JPS62106506A (en) Method for correcting variable of robot control program
WO1987001476A1 (en) Method of confirming a robot program
JPS62157911A (en) Generating method for path data on robot
Weck et al. Experiences with off-line robot programming via standardized interfaces
JP2533372B2 (en) Control program creation method
JP3283055B2 (en) Program editing device
JPS6260007A (en) Teaching method for position variable
JPH05241649A (en) Teaching device for industrial robot