WO1987001476A1 - Method of confirming a robot program - Google Patents

Method of confirming a robot program Download PDF

Info

Publication number
WO1987001476A1
WO1987001476A1 PCT/JP1986/000459 JP8600459W WO8701476A1 WO 1987001476 A1 WO1987001476 A1 WO 1987001476A1 JP 8600459 W JP8600459 W JP 8600459W WO 8701476 A1 WO8701476 A1 WO 8701476A1
Authority
WO
WIPO (PCT)
Prior art keywords
variable
file
block
robot
position variable
Prior art date
Application number
PCT/JP1986/000459
Other languages
French (fr)
Japanese (ja)
Inventor
Kunio Tanaka
Haruhiko Tatsumi
Original Assignee
Fanuc 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
Priority claimed from JP20021285A external-priority patent/JPS6260005A/en
Priority claimed from JP24567385A external-priority patent/JPS62106507A/en
Application filed by Fanuc Ltd filed Critical Fanuc Ltd
Publication of WO1987001476A1 publication Critical patent/WO1987001476A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety

Definitions

  • the present invention relates to a method for checking a robot program and a mouth program, and in particular, to position data of a robot program created by off-line programming. It relates to a method for confirming a robot program that is suitable for debugging of data and robot languages.
  • the robot handles parts on the work station, move the robot to a strong point along any path. It is necessary to input such path data and data for defining the mouth-bottom operation to the robot controller. For this reason, usually, the robot is actually moved by operating the teaching operation panel, and the coordinate values of the necessary points, the operating speed to the point, and the straight line A robot type that teaches the type of movement, such as movement or arc movement, and the ⁇ -bot service code at the point, etc. A robot is created, and the robot program is input to a robot controller to control the mouth robot.
  • This offline programming is a simple robotic language that defines the movement of the robot (each point is The source program created in the robot language is translated by an offline programming device.
  • a motion file of a predetermined code which can be translated by the function and executed by the robot controller, and a post file used in the motion file. This is done by creating a file of location variables and then identifying the location variables by keyboard or other means.
  • the actual position coordinates of the position variables can also be specified during the source program creation stage.
  • a source program for robot control is known.
  • the source program can be easily created, and the offline programming device can be used as a robot controller by simply inputting the source program. It creates a motion file and a position variable file from a predetermined code executable by the controller.
  • the position variable file is a file that indicates the correspondence between the position variable name and the actual position coordinate value, and (a) the source program If the actual position coordinate value of the position variable is specified at the time of creating the column, the position variable file at the time of completion of the translation will be replaced with the position variable name and the actual position value.
  • the position coordinates and values of each position variable are specified by using a keyboard after the motion file is generated.
  • the position coordinates are input correctly or the source program is correct. It was difficult to check whether it was created well.
  • an object of the present invention is to provide a robot ⁇ -gram confirming method capable of easily visually recognizing a position coordinate value and a mouth robot language.
  • Another object of the present invention is to be able to modify the value of a variable in a parallel program in parallel with the debugging process without returning to the source level.
  • the purpose is to provide a method for verifying the bot program.
  • the movement file created by the predetermined code from the movement file is used as one block.
  • the block contains a position variable
  • the actual position coordinate value of the position variable is read in the position variable function. If the trajectory of the mouth-port movable part can be displayed on the display screen using the position coordinate value obtained from the file PF, the movement file MF and the position are visually displayed.
  • Variable file PF can be downloaded 0 Therefore, according to the present invention, a source program SPR created in a robot language is translated into a translator (translation function) of an offline programming device. ) To generate a motion file MF that defines the motion of the robot, and the position variables and actual positions used in the motion file. Generate a position variable file PF that stores the correspondence between the coordinate values.
  • the exercise sentence created by the predetermined code is sequentially read from the exercise file MF one block at a time, and the position variable is included in the block. If so, the actual position coordinate value of the position variable is obtained from the position variable file-PF, and the display screen is displayed using the position coordinate value. In addition to displaying the trajectory of the robot movable part in., The source line number of the current block, the position variable name, and the coordinate value are displayed.
  • FIG. 1 shows a pro, sock diagram, and a schematic diagram of an off-line machine for realizing the method of the present invention.
  • Fig. 2 is a robot operation diagram for explaining the source program, the motion file, and the position variable file.
  • FIG. 3 is a flowchart of the process of the method of the present invention.
  • FIG. 4 is a flowchart of another processing of the present invention.
  • Fig. 5 is an example of drawing a path trajectory.
  • Figure S is an example of a variable modification screen.
  • FIG. 1 is a block diagram of an offline pro- gramming apparatus for realizing the method of the present invention.
  • Reference numeral 101 denotes an offline programming device, which includes a processor 101a, a ROM 101b, a RAM 101c, and a floppy disk. Sk10ld, disk controller 101e, graphics display device (CRT) 101f, keyboard 101 g, data input devices such as tape readers, etc., and a source program tape 101 i.
  • SPR shown in the frame of R AMI01c is a source program
  • MF is a motion file
  • PF is a position variable file.
  • TRF translation function
  • IPF inter- printer function
  • the source gel SPR was originally recorded on the source program tape 101i, and the tape was therefore stored on the data input device 10lh.
  • the software program is transferred to the RAM 101c and stored in the memory by activating the software. Then, the motion file MF and the position variable file PF generated based on the source program SPR are also described in RAMI01c. It is done.
  • the graphic display device 101 After the completion of generation of each of the files MF and PF, the graphic display device 101 has a motion file MF and a position variable file upon request.
  • Robot movable using Il PF The locus of the part TI ⁇ , the source line ⁇ SL ⁇ , the position variable name ⁇ ⁇ ⁇ , and the position data PD are displayed.
  • the source program SPR created in the robot language is stored in the RAM 101c via the data input device 101h. As shown in Fig. 2,
  • VAR means a variable
  • BEGIN means the beginning of a program
  • LINEAR means a linear movement
  • CIRCULAR means an arc movement
  • OPENZCLOSE means opening and closing a hand.
  • the source program is translated by the translator TRF, and (a) the robot controller can execute the executable code.
  • the motion file MF in the case of FIG. 2 is as follows.
  • the position variable file PF is used when the position coordinate value of the position variable is not specified.
  • each position variable has (i) the variable value, and (ii) the type of the variable (integer, vector, real, single-line, (S column, etc.) and (iii) when the type of variable is an array, etc., also includes data specifying the length of each.
  • the above-mentioned position variable feature
  • the control axes are X, Y, Z, P, Q, and R.
  • a position variable file PF indicating the correspondence between the position variables and the position coordinate values is generated by the processor 101a and stored in the RAMI01c. Let it go.
  • the processing selection menu screen is displayed on the display screen of the graphic display device 101f, and the interface The trajectory display request is made by selecting the processing.
  • the processing selection menu screen includes, for example, translation processing, interpreter processing, variable editing processing, and the like. Since the processing name and menu number of the program output processing etc. are displayed, operate the key on the keyboard 101g to display "Inter-processor processing". By selecting "", the offline programming function.
  • the interface 101 IPF of the device 101 is activated.
  • the processor 101a executes one block of an exercise sentence created by a predetermined code (for example, a P code) constituting the exercise file MF. Read.
  • a predetermined code for example, a P code
  • the processor stores the position data corresponding to the position variables included in the read one block motion statement in the position variable PF. Read from the path and CR ⁇ 2
  • position variable may not be present in one block of motion sentence, so that the block in which the position variable exists is automatically searched. Then, display the passage trace, source line number, position variable name, and position data.
  • the processor 101a checks whether or not the data indicating the end placed at the end of the motion file MF has been read. The above process is repeated until the data is read.
  • FIG. 4 is a flowchart of the process in such a case
  • FIG. 5 is a drawing example of a path trajectory
  • FIG. 6 is a variable correction screen. Note that in FIG. 4 , the processing up to step (6) is the same as the processing up to step (6) in FIG. The processing of will be described.
  • the processor 101a transmits a predetermined motion to the motion file MF.
  • Read one block of the exercise sentence created with the code for example, P code.
  • the processor checks whether the read block has a position variable and whether the position variable exists. If not, skip to step (1).
  • the position data corresponding to the position variable is read from the position variable file PF.
  • the point P is marked with an asterisk (*), it is drawn on the display screen of the graphics display device 101f, and the point P is displayed on the display screen. Displays the source line number of the jig SLN position variable name PNM and position data PD (see Fig. 5).
  • the recorder is a keyboard. Press the NL key on 101'g.
  • the processor and the processor connect the last point Q of the trajectory and the * point P by execution, and after that, perform the processing from step (15) onward. I do
  • the mouth sensor 101a is used to display a variable correction image for correcting the position variables displayed along with the trajectory on the display screen. Display on the screen (see Fig. 6).
  • the key area KIA displays the value of the variable pointed to by the power source. That is, the processor reads the variable data from the position variable file, and the variable value of the position variable name PNM displayed on the trajectory display screen.
  • the groups are displayed in sequence so that they arrive in the first column.
  • the R0 key provided on the keyboard 101g has a function of terminating the editing process.
  • the key displays the previous screen of the variable data
  • the R3 key displays the next screen of the variable data
  • the K2 key moves the cursor to the next higher variable name position.
  • the K3 key moves the cursor to the next lower variable name position
  • the K0 key moves the cursor to the previous variable data position (to the left).
  • the K1 key has the function of moving the cursor to the next variable data position (to the right).
  • the display After that, perform the same operation to correct the necessary position variables. Then, if the R0 key is depressed after the correction, the display returns to the locus display screen (the display is the corrected data), and then the NL key is depressed. Note that the corrected trajectory display screen is the one in which the path end point display position of the current work has been corrected based on the new variable values.
  • the processor 101a reads the next block from the motion file MF, and indicates the end of the program. — Check whether the data is correct, and if it is not the data indicating the end, execute the processing from step (8). If the data indicates the end, the process ends.
  • step (9) The above processing is performed when the position coordinate value of the position variable is specified by steps (4) to (5). However, the processing of (4) to (5) Is omitted, and instead, a judgment step for judging whether or not the position variable has been specified after step (8) is provided. If so, the process from step (9) onward is performed, and if not waiting, the process from step (9) will be specified.
  • the position coordinate values and the debugging of the robot language can be visually and easily performed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

A motion file (MF) is formed to define the motion of a robot by translating a source program (SPR) prepared in a robot language by the use of the translation function (TRF) of an off-line programming unit (101), and a position variable file (PF) is formed to store a relationship between a position variable used in the motion file and a coordinate value of a practical position. Then, a motion sentence prepared from the motion file (MF) with predetermined codes is successively read out block by block. When a position variable is contained in the block, coordinate values of practical position of the position variable are found from the position variable file (PF), and a locus (TIM) of robot moving portion is displayed on the display screen of a graphic display device (101f) using the position coordinate values. At the same time, a source line number (SLN) of the present block, a position variable name (PNM) and a coordinate value (PD) thereof are displayed.

Description

明 細 書  Specification
ロ ボ ッ ト プ ロ グ ラ ム確認方法  How to check the robot program
技術分野  Technical field
本発明は ロ ボ ッ ト プ ·口 グ ラ ム 確認方法に係 り 、 特に ォ フ ラ イ ン プ ロ グ ラ ミ ン グ に よ り 作成 し た ロ ボ ッ ト プ ロ グ ラ ム の位置デー タ や ロ ボッ ト 言語のデバッ グ に適用 し て 好適な ロ ボ ッ ト プ ロ グ ラ ム 確認方法に 関す る 。  The present invention relates to a method for checking a robot program and a mouth program, and in particular, to position data of a robot program created by off-line programming. It relates to a method for confirming a robot program that is suitable for debugging of data and robot languages.
背景技術  Background art
ロ ボ ッ ト に よ り ワ ー ク ス テ ー シ ョ ン 上 の部品 を 扱 ゔ場 合 、 いか な る 通路に 沿 っ て い力 な る ポ イ ン ト 迄 ロ ボッ ト を移動 さ せ る か の通路デ ー タ や 口 ボ ッ ト 動作 を 規定す.る デ ー タ を ロ ボ ッ .ト コ ン ト ロ 一 ラ に 入力す る 必要があ る 。 こ の た め通常、 教示操作盤を 操作す る こ と に よ り ロ ボ ッ 卜 を 実際に 移動 さ せ て 必要な ボ イ ン ト の座標値、 該 ボ イ ン ト へ の動作速度、 直線移動か あ る い は 円弧移動か な ど を 示 す移動 タ ィ プ 、 該 ポ ィ ン ト に お け る σ ボ ト サ ー ビ ス コ ー ド等を 教示 し て ロ ボ ッ ト プ ロ グ ラ ム を 作成 し 、 該 ロ ボ ッ ト プ ロ グ ラ ム を ロ ボ ッ 卜 コ ン ト ロ ー ラ に入力 し て 口 ボ ッ ト を 制御す る よ う に し て い る 。  If the robot handles parts on the work station, move the robot to a strong point along any path. It is necessary to input such path data and data for defining the mouth-bottom operation to the robot controller. For this reason, usually, the robot is actually moved by operating the teaching operation panel, and the coordinate values of the necessary points, the operating speed to the point, and the straight line A robot type that teaches the type of movement, such as movement or arc movement, and the σ-bot service code at the point, etc. A robot is created, and the robot program is input to a robot controller to control the mouth robot.
し 力 > し 、 力、 か る ロ ボ ッ ト プ ロ グ ラ ム の作成方法で は教 示操作が面倒 と な る 。 こ の た め オ フ ラ イ ン プ ロ ダ ラ ミ ン グ操作で ロ ボ ッ ト プ ロ グ ラ ム を作成す る 方法が提案 さ れ て い る 。  The teaching operation is troublesome with the method of creating a robot program. For this reason, there has been proposed a method of creating a robot program by an offline programming operation.
こ の オ フ ラ イ ン プ ロ グ ラ ミ ン グ は簡単な ロ ボ ッ ト 言語 で ロ ポッ ト の運動を 定義す る と 共に (各ポ イ ン ト は ポ ジ シ ョ ン変数た と え ば P i で表現す る ) 、 該 ロ ボッ ト言語 で作成さ れた ソ ー ス プ ロ グ ラ ム を オ フ ラ イ ン プ ロ ダ ラ ミ ン グ装置の翻訳機能に よ り 翻訳して ロ ボッ ト コ ン ト 口 一 ラ が実行可能な所定コ ー ド の運動フ ァ ィ ル .と 該運動フ ァ ィ ル に お い て 用 レ、 ら れ る ポ ジ シ ョ ン変数の フ ァ ィ ル と を 作成し 、 し か る後該ポ ジ シ ョ ン変数を キ ー ボ ー ド そ の他 の手段で特定す る こ と に よ り 行われ る 。 尚、 ポ ジ シ ョ ン 変数の実際の位置座標値は ソ ー ス プ ロ ダ ラ ム作成段階で 特定す る こ と も で き る 。 This offline programming is a simple robotic language that defines the movement of the robot (each point is The source program created in the robot language is translated by an offline programming device. A motion file of a predetermined code, which can be translated by the function and executed by the robot controller, and a post file used in the motion file. This is done by creating a file of location variables and then identifying the location variables by keyboard or other means. The actual position coordinates of the position variables can also be specified during the source program creation stage.
そ し て 、 か か る オ フ ラ イ ン プ ロ ダ ラ ミ ン グ方法に よ れ ば簡単な ロ ボッ ト 言語さ え知 つ て いれば ロ ボッ ト 制御用 の ソ ー ス プ ロ グ ラ ム を容易に作れ、 し か も 該ソ ー ス プ ロ グ ラ ム を入力す る だ け で以後オ フ ラ イ' ン プ ロ 'ダ ラ ミ ン グ 装置が ロ ボ ッ ト コ ン ト ロ ー ラ が実行可能な所定の コ 一 ド よ り な ろ 運動フ ア イ ル' と ポ ジ シ ョ ン変数フ ァ ィ ル を作成 し て く れ る 。 た た' し 、 ポ ジ シ ョ ン変数フ ァ ィ ノレ は ボ ジ シ ョ ン変数名 と 実際の位置座標値の対応を示す フ ァ ィ ル で あ り 、 (a) ソ ー ス プ ロ グ ラ ム の作成段階で ポ ジ シ ョ ン変数 の実際の位置座標値が特定さ れて い れ ば翻訳完了時ポ ジ シ ョ ン変数フ ァ ィ ル は ポ ジ シ ョ ン変数名 と 実際の位置座 標値の対応を示す フ ァ ィ ル と な り 、 W ソ ー ス プ ロ グ ラ ム の作成段階で特定さ れて い な け れ ば翻訳完了時位置座標 値が未定の フ ァ ィ ル と な る 。 そ し て 、 (b)の場合には各ポ ジ シ ョ ン変数の位置座標.値は運動フ ァ イ ルが生成さ れて か ら キ ー ボ ー ド を用 いて特定 さ れ る 。 し か し 、 従来のオ フ ラ イ ン プロ グ ラ ミ ン グにお いて は 正し く 位置座標値が入力 さ れて い る か、 あ る いは ソ ー ス プロ ダ ラ ム が正し く 作成さ れて い る かのチ エツ ク が困難 で あ っ た 。 According to such an off-line programming method, if a simple robot language is known, a source program for robot control is known. The source program can be easily created, and the offline programming device can be used as a robot controller by simply inputting the source program. It creates a motion file and a position variable file from a predetermined code executable by the controller. However, the position variable file is a file that indicates the correspondence between the position variable name and the actual position coordinate value, and (a) the source program If the actual position coordinate value of the position variable is specified at the time of creating the column, the position variable file at the time of completion of the translation will be replaced with the position variable name and the actual position value. This is a file that indicates the correspondence between the position coordinate values, and if the position coordinate value is not specified at the stage of creating the W source program, the position coordinate value at the time of completion of translation is undetermined. It will be. In the case of (b), the position coordinates and values of each position variable are specified by using a keyboard after the motion file is generated. However, in the conventional off-line programming, the position coordinates are input correctly or the source program is correct. It was difficult to check whether it was created well.
又、 従来の ロ ボ ッ ト 言語を使用す る オ フ ラ イ ン シ ス テ ム で は ポ ジ シ ョ ン変数 (位置座標値) のみ を変更し た い と き に は ソ 一 ス レ ベ ル迄戻っ て修正を加え な く て は な ら なか つ た 。  In addition, in an off-line system using a conventional robot language, when only a position variable (position coordinate value) is to be changed, the source level is changed. I had to go back and make some corrections.
以上か ら本発明の目的は位置座標値や 口 ボツ ト 言語の デバツ ク を視覚的に簡単に行え る ロ ボッ ト プ π グ ラ ム確 認方法を提供す る こ と で あ る 。  As described above, an object of the present invention is to provide a robot π-gram confirming method capable of easily visually recognizing a position coordinate value and a mouth robot language.
本発明の別の 目的は ソ 一 ス レ ベ ル迄戻 ら な く て も 前記 デバッ グ処理 と 並行 し て コ ボッ ト プ ロ グ ラ ム の変数値を 修正す る こ と がで き る ロ ボ ッ ト プ ロ グ ラ ム の確認方法を 提供す る こ と で あ る 。  Another object of the present invention is to be able to modify the value of a variable in a parallel program in parallel with the debugging process without returning to the source level. The purpose is to provide a method for verifying the bot program.
発明の開示  Disclosure of the invention
運動フ ァ ィ ル M F と ポ ジ ン ョ ン変数フ ァ ィ ル P F を作 成し て か ら 、 該運動フ ァ ィ ル よ り 所定の コ ー ドで作成 さ れ た運動文を 1 ブ ロ ッ ク づっ順次読み取 り 、 該 ブ 口 ッ ク に ボ ジ シ ョ ン変数が含ま れて い る場合に は該ポ ジ シ ョ ン 変数の実際の位置座標値を ポ ジ シ ョ ン変数フ ァ ィ ル P F か ら求め 、 該位置座標値を用 いて デ ィ ス プ レ イ 画面に 口 ボッ ト 可動部の軌跡を表示で き れば視覚的に運動フ ァ ィ ノレ M F と ポ ジ シ ョ ン変数フ ァ イ ル P F の デ ノヽ' ッ ク がで き る 0 そ こ で 、 本発明に おいて は 、 ロ ボ ッ ト 言語で作成さ れ た ソ ー ス プ ロ グ ラ ム S P R を オ フ ラ イ ン プ ロ ダ ラ ミ ン グ装置の翻訳機 (翻訳機能) に よ り 翻訳 し て ロ ボ ツ ト の 運動を定義す る運動フ ァ イ ル M F を生成す る と 共に 、 該 運動フ ァ ィ ル で用い られ る ポ ジ シ ョ ン変数 と実際の位置 座標値 と の対応関係を記億す る ポ ジ シ ョ ン変数フ ァ ィ ル P F を生成す る 。 After creating the movement file MF and the position variable file PF, the movement file created by the predetermined code from the movement file is used as one block. When the block contains a position variable, the actual position coordinate value of the position variable is read in the position variable function. If the trajectory of the mouth-port movable part can be displayed on the display screen using the position coordinate value obtained from the file PF, the movement file MF and the position are visually displayed. Variable file PF can be downloaded 0 Therefore, according to the present invention, a source program SPR created in a robot language is translated into a translator (translation function) of an offline programming device. ) To generate a motion file MF that defines the motion of the robot, and the position variables and actual positions used in the motion file. Generate a position variable file PF that stores the correspondence between the coordinate values.
し か る後、 運動フ ァ ィ ル M F か ら所定の コ ー ドで作成 さ れた運動文を 1 ブ ロ ク づっ順次読み取 り 、 該ブ ロ ッ ク に ポ ジ シ ョ ン変数が含ま れて い る 場合に は該ポ ジ シ ョ ン変数の実際の位置座標値を ポ ジ シ ョ ン変数フ ァ ィ ル- P F か ら求め 、 該位置座標値を用 いて デ ィ ス プ レ ィ 画面.に ロ ボツ ト 可動部の軌跡を表示す る と 共に 、 現 ブ ロ ッ ク の ソ ー ス ラ イ ン番号 と ポ ジ シ ョ ン変数名 と 、 そ の座嫖値を 表示す る 。  After that, the exercise sentence created by the predetermined code is sequentially read from the exercise file MF one block at a time, and the position variable is included in the block. If so, the actual position coordinate value of the position variable is obtained from the position variable file-PF, and the display screen is displayed using the position coordinate value. In addition to displaying the trajectory of the robot movable part in., The source line number of the current block, the position variable name, and the coordinate value are displayed.
. 図面の簡単な説明  Brief description of the drawings
第 1 図は本発明方法を実現す る オ フ ラ ィ ン マ コ ゲ ラ ミ ン グ装置の プ ロ 、ソ ク 図、  FIG. 1 shows a pro, sock diagram, and a schematic diagram of an off-line machine for realizing the method of the present invention.
第 2 図は ソ ー ス プ ロ グ ラ ム 、 運動フ ァ ィ ノレ 、 ジ シ ョ ン変数フ ァ ィ ル を説明す る た め の ロ ボッ ト 動作図、  Fig. 2 is a robot operation diagram for explaining the source program, the motion file, and the position variable file.
第 3 図は本発明方法の処理の流れ図、  FIG. 3 is a flowchart of the process of the method of the present invention,
第 4 図は本発明の別の処理の流れ図、  FIG. 4 is a flowchart of another processing of the present invention,
第 5 図は通路軌跡描画例、  Fig. 5 is an example of drawing a path trajectory.
第 S 図は変数修正画面.例で あ る 。  Figure S is an example of a variable modification screen.
発明を実旌す る た めの最良の形 第 1 図は本発明方法を実現す る オ フ ラ イ ン プ ロ ダ ラ ミ ン グ装置のブ ロ ッ ク で あ る 。 The best way to carry out your invention FIG. 1 is a block diagram of an offline pro- gramming apparatus for realizing the method of the present invention.
1 0 1 は オ フ ラ イ ン プ ロ ダ ラ ミ ン グ装置で あ り 、 プ ロ セ ッ サ 1 0 1 a 、 R O M 1 0 1 b 、 R A M 1 0 1 c 、 フ ロ ッ ピ 一 デ ィ ス ク 1 0 l d 、 デ ィ ス ク コ ン ト ロ ー ラ 1 0 1 e 、 グ ラ フ イ ツ ク デ ィ ス プ レ イ 装置 ( C R T ) 1 0 1 f , キ ー ボ ー ド 1 0 1 g 、 テ ー プ リ ー ダ等 の デ ー タ 入力 装置 1 0 1 h 、 ソ ー ス プ ロ グ ラ ム テ ー プ 1 0 1 i を 有 し て い る 。  Reference numeral 101 denotes an offline programming device, which includes a processor 101a, a ROM 101b, a RAM 101c, and a floppy disk. Sk10ld, disk controller 101e, graphics display device (CRT) 101f, keyboard 101 g, data input devices such as tape readers, etc., and a source program tape 101 i.
R A M I 0 1 c の枠 内 に 示 さ れ る S P R は ソ ー ス プ ロ グ ラ ム 、 M F は運動 フ ァ イ ル 、 P F は ポ ジ シ ョ ン変数フ ァ ィ ノレ で め  SPR shown in the frame of R AMI01c is a source program, MF is a motion file, and PF is a position variable file.
R 0 M 1 0 1 b に は翻訳機能 ( T R F ) や イ ン タ プ リ — タ 機能 ( I P F ) 等の各種処理機能プ コ グ ラ ム が記億 さ れ て い る 。  In R0M101b, various processing function programs such as a translation function (TRF) and an inter- printer function (IPF) are described.
ソ ー ス ゲ ラ ム S P R は 当初ソ ー ス プ ロ ゲ ラ 厶 テ ー プ 1 0 1 i に 記録 さ れ て お り 、 従 っ て 該 テ ー プ を デ ー タ 入力装置 1 0 l h に セ ッ ト し て起動す る こ と に よ り ソ — ス プ ロ グ ラ ム は R A M 1 0 1 c に 転送 、 記億 さ れ る 。 そ し て 、 該ソ ー ス プ ロ グ ラ ム S P R に 基 づ い て生成 さ れ た運動 フ ァ ィ ル M F と ポ ジ シ ョ ン変数フ ァ ィ ル P F も R A M I 0 1 c に言己億 さ れ る 。  The source gel SPR was originally recorded on the source program tape 101i, and the tape was therefore stored on the data input device 10lh. The software program is transferred to the RAM 101c and stored in the memory by activating the software. Then, the motion file MF and the position variable file PF generated based on the source program SPR are also described in RAMI01c. It is done.
グ ラ フ イ ツ ク デ ィ ス プ レ イ 装置 1 0 1 ί に は 各 フ ァ ィ ル M F , P F の生成完了後に要求に よ り 運動フ ァ イ ル M F と ポ ジ シ ョ ン変数フ ァ イ ル P F を用 いて ロ ボッ ト 可動 部の軌跡 T I Μやソ ー ス ラ イ ン審号 S L Ν やポ ジ シ ョ ン 変数名 Ρ Ν Μや位置データ P D が表示 さ れ る 。 After the completion of generation of each of the files MF and PF, the graphic display device 101 has a motion file MF and a position variable file upon request. Robot movable using Il PF The locus of the part TI Μ, the source line 号 SL Ν, the position variable name Ν Ν Μ, and the position data PD are displayed.
以下本発明にかか る ロ ボッ ト プ ロ ダ ラ ム 確認方法を第 3 図の流れ図に従 っ て説明す る 。  The method for confirming the robot program according to the present invention will be described below with reference to the flowchart of FIG.
(1)ロ ボ ッ ト 言語で作成さ れた ソ ー ス プ ロ グ ラ ム S P R を デー タ 入力装置 1 0 1 h を介 して R A M I 0 1 c に格 納す る 。 尚、 第 2 図に示す よ う に  (1) The source program SPR created in the robot language is stored in the RAM 101c via the data input device 101h. As shown in Fig. 2,
(a)初期位置 P 0 か ら ボ イ ン ト P 1 に速度 8 0 0 で直綠 的に 口 ボッ ト ヽ ン ド を移動 さ せ、  (a) Move the mouth bottle directly from the initial position P0 to point P1 at speed 800.
(b)該ポ イ ン ト P 1 で ハ ン ド を開き 、  (b) Open the hand at the point P 1,
(c) し か る 後ハ ン ド を速度 2 0 0 で ポ ィ ン 卜 P 2 に移動 さ せ、 。  (c) After that, the hand is moved at a speed of 200 to the point P2.
(d)該ポ イ ン ト P 2 で ハ ン ド を 閉 じ て て ワ ー ク W K を把 持し 、  (d) The hand is closed at the point P2, and the work WK is grasped;
(e)以後ボ イ ン :、 P 2 → P 1 — P 3 → P 4 の通路に沿 つ て ハ ン :ぺ' ボ ィ ン !、 P 4 に 位置决め し 、 該ポ イ ン ト P 4 で ハ ン ド ' を 開い て ワ ー ク を テ ー ブ . 上に載置す る も の と すればゾ 一 ス プ ロ グ ラ ム は以下の よ う に な る  (e) Afterwards: Boy: along the path from P2 to P1 — P3 to P4. , P 4, and open the hand at the point P 4 to place the work on the table. Will be as follows
1 PROGRAM TEST  1 PROGRAM TEST
2 VAR P l, P 2 , P 3 , P4: POS I T I ON  2 VAR P l, P 2, P 3, P4: POS I T I ON
3 BEG I  3 BEG I
4 SPEED=800. 0  4 SPEED = 800. 0
5 MOVETYPE = L I NEAR  5 MOVETYPE = L I NEAR
6 MOVE TO P I  6 MOVE TO P I
7 OPEN HAND 8 SPEED=200. 0 7 OPEN HAND 8 SPEED = 200. 0
9 MOVE TO P 2  9 MOVE TO P 2
10 CLOSE HAND  10 CLOSE HAND
11 MOVE TO PI  11 MOVE TO PI
12 MOVE TO P 3  12 MOVE TO P 3
13 MOVE TO P4  13 MOVE TO P4
1 OPEN HAND  1 OPEN HAND
15 END TEST  15 END TEST
た だ し 、 V A R は変数を意味し 、 B E G I N は プ ロ グ ラ ム の始ま り を意味し 、 L I N E A R は直線移動を意味 し ( C I R C U L A R は 円弧移動) 、 O P E N Z C L O S E は ハ ン ド の開ノ閉を意味す る 。  However, VAR means a variable, BEGIN means the beginning of a program, LINEAR means a linear movement (CIRCULAR means an arc movement), and OPENZCLOSE means opening and closing a hand. You
(2)ソ ー ス プ ロ グ ラ ム が入力 さ れ れ ば オ フ ラ イ ン プ ロ グ ラ ミ ン グ装置 1 0 1 の翻訳機 (翻訳機能 T R F ) が起動 す る 。  (2) When the source program is input, the translator (translation function TRF) of the offline programming device 101 is started.
) こ れ に よ り 、 該翻訳機 T R F に よ り ソ ー ス プ ロ グ ラ ム を翻訳 し て(a) ロ ボ ッ ト コ ン ト ロ ー ラ が実行可能な コ 一 ド た と え ば P コ ー ド の運動フ ァ ィ ル- と (b)該運動フ ァ ィ ル に お い て 用 い ら れ る ポ ジ ン ョ ン変数フ ァ ィ ル を生成 し て R A M I 0 1 c に格納す る と 共に 、 フ ロ ッ ピ 一 デ ィ ス ク 1 0 1 d に 出力す る 。 尚、 運動フ ァ ィ ル M F は第 2 図の 場合以下 の よ う に な る 。  Thus, the source program is translated by the translator TRF, and (a) the robot controller can execute the executable code. Generates the P-code motion file and (b) the position variable file used in the motion file and stores it in RAMI01c. At the same time, output to the floppy disk 101d. The motion file MF in the case of FIG. 2 is as follows.
L I NE 3  L I NE 3
( L I N E は ソ ー ス ラ イ ン番号で あ り 、 3 審目 の ロ ボ ッ ト 言語力; B E G I N 命令で あ る こ と を示 し て い る ) LI NE 4 (LINE is the source line number, the robot language ability of the third subject; this indicates that it is a BEGIN command.) LI NE 4
LOADN 800. 0  LOADN 800. 0
STO 1 H (SPEED) '  STO 1 H (SPEED) ''
(速度 800 · 0を ス タ ツ ク レ ジ ス タ に一旦記億し た後速 度記億域 1 H に ス ト ァす る こ と を意味 し て い る )  (This means that once the speed 800 • 0 is stored in the status register, it is stored in the speed storage area 1H.)
L I NE 5  L I NE 5
LOADN 1 (L I NEAR)  LOADN 1 (LI NEAR)
STO 2 H (MOVETYPE)  STO 2 H (MOVETYPE)
(直線移動を示す 1 を ス タ ツ ク レ ジ ス タ に記億し た後、 移動タ ィ プ記億域 2 H に ス ト ァ す る こ と を意味し て い る ) L I E 6  (This means that after 1 indicating linear movement is stored in the sta- tus register, it is stored in the movement type storage area 2H.) L I E 6
LOADS 4 H (P I)  LOADS 4 H (P I)
GO TYPE 0  GO TYPE 0
(0 は MOVE TOに よ る移動タ イ プで あ る こ と を 示す 。 尚 - 1 は MOVE AWAYに よ る 移動 タ イ プ)  (0 indicates a move type by MOVE TO. In addition, -1 indicates a move type by MOVE AWAY.)
L I NE 7  L I NE 7
LOAD (OPEN)  LOAD (OPEN)
LOADN ( I 0 = HAND)  LOADN (I 0 = HAND)
ST I O H  ST I O H
L I NE 8 L I NE 8
LO AND 200, 0  LO AND 200, 0
STO 1 H (SPEED) LOADS 5 H (P 2) STO 1 H (SPEED) LOADS 5 H (P 2)
GO TYPE 0 GO TYPE 0
L I NE 0 L I NE 0
LOADN 0 (CLOSE) LOADN 1 ( I 0 = HAND) ST I 0 1 H LOADN 0 (CLOSE) LOADN 1 (I 0 = HAND) ST I 0 1 H
L I E 11 L I E 11
LOAD S 4 H (P I) LOAD S 4 H (P I)
GO TYPE 0 GO TYPE 0
L I E 12 L I E 12
LOAD 6 H (P 3) LOAD 6 H (P 3)
GO TYPE 0 GO TYPE 0
L I NE 13 L I NE 13
LOADS 7 H (P4) LOADS 7 H (P4)
GO TYPE 0 GO TYPE 0
L I NE 1 L I NE 1
LOADN 0 (OPEN) LOAD 1 ( I 0 = HAND) ST I O 1 H ^ Q LOADN 0 (OPEN) LOAD 1 (I 0 = HAND) ST IO 1 H ^ Q
L I NE 15 L I NE 15
RET  RET
又、 ポ ジ シ ョ ン変数フ ァ イ ル P F は ポ ジ シ ョ ン 変数の位置座標値が特定さ れて いな い場合に は  Also, the position variable file PF is used when the position coordinate value of the position variable is not specified.
P 1: POS I T I ON  P 1: POS I T I ON
P 2: POS I T I ON  P 2: POS I T I ON
P 3: POS I T I ON .  P3: POS I T I ON.
P4: POS I T I ON  P4: POS I T I ON
と な り 、 ポ ジ シ ョ ン変数の位置座標値が特定さ れて い る 場合に は Therefore, if the position coordinate value of the position variable is specified,
P 1: POS I T I ON 00 1000, 00 1000 , 000500 ,  P 1: POS I T I ON 00 1000, 00 1000, 000 500,
000000 , 000000 , 000000  000000, 000000, 000000
P 2: POS I T I ON 001000 , 001000 , 000000 ,  P 2: POS I T I ON 001000, 001000, 000000,
000000 , 000000 , 000000  000000, 000000, 000000
P3: POS I T I ON 000500, 00 1500, 000500,  P3: POS I T I ON 000500, 00 1500, 000500,
000000 , 000000, .000000  000000, 000000, .000000
P4: POS I T I O 000500 , 00 1500 , 000000,  P4: POS I T I O 000 500, 00 1500, 000000,
000000, o o o o o o, o o o o o o  000000, o o o o o o, o o o o o o o
と な る 。 た だ し 、 実際に は各ポ ジ シ ョ ン変数に は(i)変数 値のほ かに 、 (ii)変数のタ イ プ (整数、 べ ク ト ル 、 実数、 ヷ一 リ ア ン 、 S列等) や(iii)変数のタ ィ プが配列等の場合 に は そ の長さ を それ ぞれ特定す る デー タ も 含ま れてい る 又、 上記ポ ジ シ ョ ン変数フ ァ ィ ルでは制御軸は X , Y , Z , P , Q , R の 6 車由で あ る 。 It becomes. However, in practice, each position variable has (i) the variable value, and (ii) the type of the variable (integer, vector, real, single-line, (S column, etc.) and (iii) when the type of variable is an array, etc., also includes data specifying the length of each. Also, the above-mentioned position variable feature In this case, the control axes are X, Y, Z, P, Q, and R.
(4)以上に よ り 運動フ ァ ィ ル と ポ ジ シ ョ ン変数フ ァ ィ ル が作成さ れれば、 ポ ジ シ ョ ン変数の実際の位置座標値が 特定さ れて い る 力 > ど う 力 > を チ エ ツ ク す る 。 (4) From the above, the motion file and the position variable file Once the is created, check the force>force> at which the actual position coordinates of the position variables are determined.
)ポ ジ シ ョ ン変数の実際の座標値が特定 さ れて いな い 場合には キ ー ボ ー ド 1 0 1 g よ り 各ポ ジ シ ョ ン変数の位 置座標値を入力 し 、 ポ ジ シ ョ ン変数 と 位置座標値の対応 関係を示す ポ ジ シ ョ ン変数フ ァ イ ル P F を プ ロ セ ッ サ 1 0 1 a を し て生成 さ せ 、 R A M I 0 1 c に記億 さ せ る 。  If the actual coordinate value of the position variable is not specified, enter the position coordinate value of each position variable using the keyboard 101g, and A position variable file PF indicating the correspondence between the position variables and the position coordinate values is generated by the processor 101a and stored in the RAMI01c. Let it go.
(6)以上に よ り 、 運動フ ァ ィ ル M F と 位置座標値が特定 さ れ た ポ ジ シ ョ ン変数フ ァ ィ ル P F が生成 さ れればキ ー ボ ー ド よ り 軌跡の表示要求を行 う 。 尚、 実際に は グ ラ フ ィ ッ ク デ ィ ス プ レ イ 装置 1 0 1 f の デ ィ ス プ レ イ 画面に 処理選択 メ ニ ュ ー画面 を 表示 さ せ、 イ ン タ プ リ ータ 処理 を選択す る こ と で軌跡表示要求を行 う ゥ すな わ ち 、 処理 選択メ ニ ュ ー画面に は 、 た と え ば翻訳処理、 イ ン タ プ リ — タ 処理、 変数編集処理、 プ ロ グ ラ ム 出力処理等の処理 名 と メ ニ ュ ー番号が表示 さ れ る か ら キ ー ボ ー ド 1 0 1 g 上の キ 一 を 操作 し て 「 イ ン タ プ リ ー タ 処理」 を 選択す る こ れ に よ り 、 オ フ ラ イ ン プ ロ ダ ラ ミ ン グ.装置 1 0 1 の ィ ン タ プ リ 一 タ 機能 I P F が起動す る 。  (6) As described above, if the motion file MF and the position variable file PF in which the position coordinate values are specified are generated, the keyboard is requested to display the trajectory by the keyboard. I do . Actually, the processing selection menu screen is displayed on the display screen of the graphic display device 101f, and the interface The trajectory display request is made by selecting the processing. In other words, the processing selection menu screen includes, for example, translation processing, interpreter processing, variable editing processing, and the like. Since the processing name and menu number of the program output processing etc. are displayed, operate the key on the keyboard 101g to display "Inter-processor processing". By selecting "", the offline programming function. The interface 101 IPF of the device 101 is activated.
(7) プ ロ セ ッ サ 1 0 1 a は運動フ ァ ィ ル M F を構成す る 所定の コ ー ド ( た と え ば P コ ー ド) で作成し た運動文を 1 ブ ロ ッ ク 読み取 る 。  (7) The processor 101a executes one block of an exercise sentence created by a predetermined code (for example, a P code) constituting the exercise file MF. Read.
(8) プ ロ セ ッ サ は読み取 っ た 1 ブ ロ ッ ク の運動文に 含 ま れ る ポ ジ シ ョ ン 変数に 対応す る 位置デ ー タ を ポ ジ シ ョ ン 変数フ ァ ィ P F か ら読み取っ て通路軌跡 T I Mを C R ^ 2 (8) The processor stores the position data corresponding to the position variables included in the read one block motion statement in the position variable PF. Read from the path and CR ^ 2
T 1 0 I F のデ ィ ス プ レ イ 画面に描画す る と共に、 該ブ ロ ッ ク の ソ ー ス ラ イ ン審号 S L N 、 ポ ジ シ ョ ン 変数名 P N M , 位置データ P D を表示す る 。 Draw on the display screen of the T10 IF, and display the source line identification SLN, position variable name PNM, and position data PD of the block. .
尚、 1 ブ ロ ッ ク の運動文に は ポ ジ シ ョ ン変数が存在し な い場合も あ る 力 > ら 、 自動的に ポ ジ シ ョ ン変数が存在す る ブ ロ ッ ク を検索し て通路執跡、 ソ ー ス ラ イ ン番号、 ポ ジ ン ョ ン変数名 、 位置データ を表示す る よ う にす る 。  Note that the position variable may not be present in one block of motion sentence, so that the block in which the position variable exists is automatically searched. Then, display the passage trace, source line number, position variable name, and position data.
(9)以後、 プ ロ セ ッ サ 1 0 1 a は運動フ ァ ィ ル M F の 末尾に置かれて い る終わ り を示すデー タ が読み取 られた か ど う か を チ ヱ ッ ク し 、 読み取 られ る 迄上記処理を繰 り 返す。  (9) Thereafter, the processor 101a checks whether or not the data indicating the end placed at the end of the motion file MF has been read. The above process is repeated until the data is read.
以上は 自動的に全プ ロ ッ ク の通路執跡を デ ィ ス プ レ ィ 画面に描画 し た例で あ る が、 オ ペ レ ー タ 操作に よ り 1 ブ ロ ツ ク づつ 、 かつ必要に応じ て変数の修正を行い な が ら 通路軌跡を描画す る よ う に構成す る こ と も で き る 。 第 4 図は かか る場合の処理の流れ図、 第 5 図は通路軌跡の描 画例、 第 6 図は変数修正画面で あ る 。 尚、 第 4 図に お い て 、 ス テ ツ プ(6)迄の処理は第 3 図の ス チ ッ プ(6)迄の処理 と 同一で あ る ので 、 ス テ ツ ブ(7)以降の処理を説明す る 。 The above is an example in which the path traces of all blocks are automatically drawn on the display screen.However, one block is required and one block is required by the operator's operation. It can also be configured to draw the path of the passage while modifying the variables according to. FIG. 4 is a flowchart of the process in such a case, FIG. 5 is a drawing example of a path trajectory, and FIG. 6 is a variable correction screen. Note that in FIG. 4 , the processing up to step (6) is the same as the processing up to step (6) in FIG. The processing of will be described.
(7) さ て 、 イ ン タ プ リ 一タ 処理の選択に よ り 軌跡表示が 要求 さ れ る と 、 プ ロ セ ッ サ 1 0 1 a は運動フ ァ ィ ル M F を構成す る所定の コ ー ド ( た と え ば P コ ー ド) で作成し た運動文を 1 ブ ロ ッ ク 読み取 る 。  (7) Then, when the trajectory display is requested by the selection of the interpreter processing, the processor 101a transmits a predetermined motion to the motion file MF. Read one block of the exercise sentence created with the code (for example, P code).
(8) プ ロ セ ッ サ は読み取 っ た ブ ロ ッ ク に ポ ジ シ ョ ン変数 力 存在す る か ど う 力、 を チ ヱッ ク し 、 ポ ジ シ ョ ン変数が存 在し な ければス テ ツ プ(1 に飛ぶ 。 (8) The processor checks whether the read block has a position variable and whether the position variable exists. If not, skip to step (1).
(9) し カゝ し 、 ポ ジ シ ョ ン変数が存在すれば該ポ ジ シ ョ ン 変数に対応す る 位置デ ー タ を ポ ジ シ ョ ン変数フ ァ ィ ル P F 力 ら読み取 っ て該ポ ィ ン ト P を た と え ば * 印で グ ラ フ イ ツ ク デ ィ ス プ レ イ 装置 1 0 1 f のデ ィ ス プ レ イ 画面に 描画す る と 共に 、 該ブ 口 'ジ ク の ソ ー ス ラ イ ン番号 S L N ポ ジ シ ョ ン 変数名 P N M , 位置デ ー タ P D を表示す る (第 5 図参照) 。  (9) If there is a position variable, the position data corresponding to the position variable is read from the position variable file PF. For example, if the point P is marked with an asterisk (*), it is drawn on the display screen of the graphics display device 101f, and the point P is displayed on the display screen. Displays the source line number of the jig SLN position variable name PNM and position data PD (see Fig. 5).
(10)軌跡表示を参照 し て オ ペ レ ー タ は ポ ジ シ ョ ン変数を 修正す る 必要力 sあ る 力 > ど う か を判断す る 。  (10) Referring to the trajectory display, the operator determines whether the force required to correct the position variable is greater than a certain force.
(11)修正す る 必要がな ければォ ぺ レ 一タ は キ 一 ボ ー ド . 1 0 1 ' g 上 の N L キ 一 を抻圧す る 。 こ れ に よ り 、 プ ロ セ 、 サ は軌跡の最終ボ イ ン ト Q と * 印 ポ イ ン ト P 間を実铩 で接続し 、 し か る 後ス テ ツ プ(15)以降の処理を行 う  (11) If there is no need to modify, the recorder is a keyboard. Press the NL key on 101'g. As a result, the processor and the processor connect the last point Q of the trajectory and the * point P by execution, and after that, perform the processing from step (15) onward. I do
(12)—方、 修正す る 必要があれば才 ぺ レ ー タ は キ 一 ボ一- ド' 1 0 1 g 力 ら ,  (12) —If it is necessary to make corrections, the data should be obtained from the keyboard '101g force.
S T E P - V R E D I T  S T E P-V R E D I T
と キ 一 イ ン し 、 表示 さ れて い る ポ ジ シ ョ ン変数の修正要 求を入力す る 。 尚、 「 V R E D I T 」 は変数編集の意 味力 あ る 。  Key in and enter the correction request for the displayed position variable. “VREDIT” has the meaning of variable editing.
(13) こ れ に よ り 、 フ。 口 セ ッ サ 1 0 1 a は デ ィ ス プ レ イ 画 面に軌跡 と と も に表示 さ れて い る ポ ジ シ ョ ン変数を 修正 さ せ る 変数修正画像を デ ィ ス プ レ イ 画面に表示す る (第 6 図参照) 。 尚、 キ 一 イ ン エ リ ア K I A に は 力 一 ソ ル が 指示す る変数値が表示 さ れ る 。 すな わち 、 プ ロ セ ッ サ は ポ ジ シ ョ ン変数フ ァ イ ル か ら 変数データ を読み取 り 、 軌跡表示画面で表示さ れて い た ポ ジ シ ョ ン変数名 P N M の変数値群が第 1 列に到来す る よ う に順次表示す る 。 (13) As a result, the The mouth sensor 101a is used to display a variable correction image for correcting the position variables displayed along with the trajectory on the display screen. Display on the screen (see Fig. 6). The key area KIA displays the value of the variable pointed to by the power source. That is, the processor reads the variable data from the position variable file, and the variable value of the position variable name PNM displayed on the trajectory display screen. The groups are displayed in sequence so that they arrive in the first column.
尚、 第 6 図の変数ヱ デ イ タ 画面に お いて 、 キ一 ボ ー ド 1 0 1 g に設け られた R 0 キ ーは編集処理を終了 さ せ る 機能を有し 、 同様に R 2 キ ーは変数デー タ の前画面を表 示 さ せ、 R 3 キ ー は変数デー タ の次画面を表示 さ せ 、 K 2 キ ーは 1 つ上の変数名位置へ カ ー ソ ル を シ フ ト さ せ、 K 3 キ ー は 1 つ下の変数名位置へ カ ー ソ ル を移動 さ せ 、 K 0 キ ー は前変数デ ー タ 位置へ (左へ) カ ー ソ ル を移動 さ せ 、 K 1 キ ー は次の変数デ ー タ 位置へ (右へ) カ ー ソ ル を移動 さ せ る 機能を有し て い る 。  In the variable data screen shown in FIG. 6, the R0 key provided on the keyboard 101g has a function of terminating the editing process. The key displays the previous screen of the variable data, the R3 key displays the next screen of the variable data, and the K2 key moves the cursor to the next higher variable name position. The K3 key moves the cursor to the next lower variable name position, the K0 key moves the cursor to the previous variable data position (to the left). However, the K1 key has the function of moving the cursor to the next variable data position (to the right).
(14)所定の R キ ー及び K キ 一 を操作し て カ ー ソ ル を修正 し た い変数値 (変数デ ー タ ) の位置に移動 さ せ 、 し か る 後斩変数値を キ ー ィ ン すれば指示.さ れて い る 旧変数値が 新変数値で置 き 替わ る 。  (14) Operate the specified R and K keys to move the cursor to the position of the variable value (variable data) for which you want to modify, and then change the key value. If you do, the old variable value specified will be replaced with the new variable value.
以後、 同様な操作を実行 し て必要な ポ ジ シ ョ ン変数を 修正す る 。 そ し て 、 修正後 R 0 キ ー を抻圧すれば軌跡表 示画面に戻 り (表示は修正さ れたデー タ と な っ て い る ) しか る後 N L キ ー を抻圧す る 。 尚、 修正後の軌跡表示画 面は 、 新変数値に基づ いて現プ ロ ツ- ク の通路終点表示位 置が修正 さ れた も の と な る 。  After that, perform the same operation to correct the necessary position variables. Then, if the R0 key is depressed after the correction, the display returns to the locus display screen (the display is the corrected data), and then the NL key is depressed. Note that the corrected trajectory display screen is the one in which the path end point display position of the current work has been corrected based on the new variable values.
(15)以後、 プ ロ セ ッ サ 1 0 1 a は次のブ π ッ ク を運動 フ ア イ ル M F か ら読み取 り 、 プ ロ グ ラ ム の終わ り を示すデ — タ か ど う か を チ エ ツ ク し 、 終わ り を示す デー タ で な け れ ば ス テ ツ プ(8)以降の処理を 実行す る 。 又、 終わ り を 示 すデ ー タ で あ れば処理を終了す る 。 (15) After that, the processor 101a reads the next block from the motion file MF, and indicates the end of the program. — Check whether the data is correct, and if it is not the data indicating the end, execute the processing from step (8). If the data indicates the end, the process ends.
尚 、 以上の処理は ス テ ツ プ(4)〜(5)に よ り ポ ジ シ ョ ン 変 数の位置座標値を特定 し た場合で あ る が、 (4)〜(5)の処理 を 省略 し 、 代わ っ て ス テ ツ プ(8)以降に ポ ジ シ ョ ン変数が 特定 さ れて い る か ど う か を 判断 さ せ る 判断ス テ ツ プ を お き 、 特定 さ れて い ればス テ ツ プ(9)以降の処理 を 行い 、 待 定 さ れて い な け れ ば ス テ ツ プ( 以降の修正処理に よ り 特 定す る よ う に構成 し て も よ い つ  The above processing is performed when the position coordinate value of the position variable is specified by steps (4) to (5). However, the processing of (4) to (5) Is omitted, and instead, a judgment step for judging whether or not the position variable has been specified after step (8) is provided. If so, the process from step (9) onward is performed, and if not waiting, the process from step (9) will be specified. When
以上本発明 に よ れば 、 位置座標値や ロ ボ ッ ト 言語の デ バ ッ ク を 視覚的:こ 簡単に 行 え る と 共に 、 ソ 一 ス レ ベ ,'レ 迄 ら な く て も 前記デ バ ッ ゲ処理 と 並行 し て 口 ボ 、:' 卜 制御 ザ ロ グ ラ ム の変数値 を 修正す る こ と がで き 、 修正作業 を 簡単に 、 か つ迅速に 行 う こ と がで き る 。  As described above, according to the present invention, the position coordinate values and the debugging of the robot language can be visually and easily performed. In parallel with the debugger process, it is possible to modify the variable values of the mouth control program, making the modification work simpler and faster. Wear .

Claims

請求の範囲 The scope of the claims
1 * 口 ポ ク ト 言語で作成 さ れた ソ ー ス プ ロ グ ラ ム を翻 訳機に よ り 翻訳し て ロ ボッ ト の運動を定義す る運動フ ァ ィ ル を生成す る と 共に 、 該運動フ ァ ィ ルで用 い られ る ポ ジ シ ョ ン変数 と 実際の位置座標値と の対応関係を記億す る ポ ジ シ ョ ン変数フ ァ イ ノレ を生成す る ス テ ツ プ 、  1 * Translates a source program created in the spoken language into a motion file that defines the robot's motion. And a step for generating a position variable file that records the correspondence between the position variables used in the motion file and the actual position coordinate values. ,
運動フ ァ ィ ルか ら所定の コ ー ドで作成さ れた運動文を 1 ブ ロ ッ ク づっ順次読み取 り 、 該ブ ロ ッ ク に ポ ジ シ ョ ン 変数が含ま れて い る場合に は該ポ ジ シ ョ ン変数の実際の 位置座標値を ポ ジ シ ョ ン変数フ ァ ィ ル か ら求め る ス テ ツ プ、  Exercise sentences created with a predetermined code from an exercise file are sequentially read one block at a time, and if the block contains a position variable, Is a step in which the actual position coordinate value of the position variable is obtained from the position variable file.
該位置座標値を用 いて デ ィ ス プ レ イ 画面に σ ボッ ト 可 動部の執跡を表示す る と 共に 、 現ブ ロ ッ ク の ソ ー ス ラ イ ン審号 と ポ ジ シ ョ ン変数名 と そ の座標値を表示す る ス テ ッ ブ'  The position coordinate values are used to display the trace of the movable part of the sigma bot on the display screen, as well as the source block number and position of the current block. Step to display the variable name and its coordinate value
を有す る こ と を特徵 と す る ロ ボ ッ ト プ ロ グ ラ ム 確認方法 Robot program confirmation method that has
2 ♦ 前記通路軌跡表示 を 1 ブ ロ ッ ク づっ進め る キ ー を 設け 、 該キ ーが抻圧 さ れ る毎に 1 ブ ロ ッ ク づ っ通路軌跡 や ソ ー ス ラ イ ン審号、 ポ ジ シ ョ ン 変数名 、 座標値を表示 す る こ と を特徵 と す る 請求の範囲第 1 項記載の π ボッ ト プ ロ グ ラ ム確認方法。  2 ♦ A key is provided to advance the passage trajectory display one block at a time. Each time the key is depressed, the passage trajectory and the source line The π-bot program confirmation method according to claim 1, which is characterized by displaying a position variable name and a coordinate value.
3 . デ ィ ス プ レ イ 画面に お い て 、 現ブ ロ ッ ク の通路終 点を所定のマ ー ク で表示 し 、 前記キ ーが押圧さ れた と き 直前の ブ ロ ッ ク の通路終点 と 該現ブ ロ ッ ク の通路終点を 結び、 かつ次の ブ ロ ッ ク の通路終点を以後現ブ ロ ッ ク の 通路終点 と し て所定のマ ー ク で表示す る こ と を特徵 と す る 請求の範囲第 2 項記載の ロ ボッ ト プ ロ グ ラ ム 確認方法 4 . 現ブ ロ ッ ク の通路終点がマ ー ク で表示 さ れて い る 伏態に お い て 、 変数修正処理要求が発生す る と 表示 さ れ て い る ポ ジ シ ョ ン変数名 の変数値を修正 さ せ る変数修正 画面を デ ィ ス プ レ イ 画面に表示す る ス テ ツ プ、 3. On the display screen, the path end point of the current block is displayed with a predetermined mark, and when the key is pressed, the end of the block immediately before is pressed. Connects the end point of the passage to the end point of the passage of the current block, and connects the end point of the passage of the next block to the end point of the current block. The robot program confirmation method according to claim 2, which is characterized in that the path end point is displayed with a predetermined mark. 4. The path end point of the current block is When the variable correction processing request is generated in the state shown below with the mark displayed, the variable correction screen that corrects the variable value of the displayed position variable name is displayed. To display on the display screen,
変数値修正後に新変数値に基づ いて現ブ π ツ ク の通路 終点表示位置を 修正し た通路執跡を デ ィ ス プ レ ィ 画面に 表示す る ス テ ツ プ  After the variable value is corrected, the path end of the current π-track is corrected based on the new variable value.
を有す る こ と を待徵 と す る ロ ボッ ト プ ロ グ ラ ム確認方法 Robot program confirmation method that waits for having
PCT/JP1986/000459 1985-09-10 1986-09-10 Method of confirming a robot program WO1987001476A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP20021285A JPS6260005A (en) 1985-09-10 1985-09-10 Confirming method for robot program
JP60/200212 1985-09-10
JP24567385A JPS62106507A (en) 1985-11-01 1985-11-01 Method for correcting variable of robot control program
JP60/245673 1985-11-01

Publications (1)

Publication Number Publication Date
WO1987001476A1 true WO1987001476A1 (en) 1987-03-12

Family

ID=26512029

Family Applications (1)

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

Country Status (1)

Country Link
WO (1) WO1987001476A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0402764A2 (en) * 1989-06-07 1990-12-19 Kabushiki Kaisha Toshiba Control apparatus for plane working robot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53122078A (en) * 1977-03-31 1978-10-25 Shin Meiwa Ind Co Ltd Position controlling method
JPS5486887A (en) * 1977-12-22 1979-07-10 Toyoda Mach Works Ltd Numerical controller
JPS58217223A (en) * 1982-06-07 1983-12-17 Mitsubishi Electric Corp Numerically controlled electric discharge machine equipped with display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53122078A (en) * 1977-03-31 1978-10-25 Shin Meiwa Ind Co Ltd Position controlling method
JPS5486887A (en) * 1977-12-22 1979-07-10 Toyoda Mach Works Ltd Numerical controller
JPS58217223A (en) * 1982-06-07 1983-12-17 Mitsubishi Electric Corp Numerically controlled electric discharge machine equipped with display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0402764A2 (en) * 1989-06-07 1990-12-19 Kabushiki Kaisha Toshiba Control apparatus for plane working robot
EP0402764A3 (en) * 1989-06-07 1991-10-23 Kabushiki Kaisha Toshiba Control apparatus for plane working robot

Similar Documents

Publication Publication Date Title
JP2525358B2 (en) Robot controller
US7430457B2 (en) Robot teaching program editing apparatus based on voice input
US10747507B2 (en) Development support device, development support method, and non-transitory recording medium
WO1990004222A1 (en) Robot program checking method
JPH07191717A (en) Automatic preparing device for control program
WO1987001476A1 (en) Method of confirming a robot program
JPS62130405A (en) Nc data correction method
JPH07120285B2 (en) How to use the syntax checker and text editor
JPH08137532A (en) Generating method for operation program of robot and teaching method for robot
JPH03257508A (en) Nc automatic programming system for interactive language
JPS62192806A (en) Variable specifying method for robot control program
JP2528878B2 (en) Robot operation sequence diagram output method
JP3823938B2 (en) Program creation device
JP3259987B2 (en) Interactive numerical controller
JPS6260005A (en) Confirming method for robot program
JP2754533B2 (en) Flow chart creation device
JPH05127720A (en) Offline instruction device for robot
JP2658492B2 (en) Robot work teaching method
JPS62157911A (en) Generating method for path data on robot
JPH07302107A (en) Numerical controller
JP2022017732A (en) Device for creating robot motion program and method for improving robot motion program
JPS62173140A (en) Check method just before interference
JPH05189221A (en) Information display device
EP0331759A1 (en) Automatic programming device
JPS62260205A (en) Executing method for off-line control

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): DE FR GB