JP4882882B2 - How to create a program - Google Patents

How to create a program Download PDF

Info

Publication number
JP4882882B2
JP4882882B2 JP2007157228A JP2007157228A JP4882882B2 JP 4882882 B2 JP4882882 B2 JP 4882882B2 JP 2007157228 A JP2007157228 A JP 2007157228A JP 2007157228 A JP2007157228 A JP 2007157228A JP 4882882 B2 JP4882882 B2 JP 4882882B2
Authority
JP
Japan
Prior art keywords
command
control
control instruction
program
group
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.)
Active
Application number
JP2007157228A
Other languages
Japanese (ja)
Other versions
JP2008310557A (en
Inventor
靖啓 衣笠
嘉幸 岡崎
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007157228A priority Critical patent/JP4882882B2/en
Publication of JP2008310557A publication Critical patent/JP2008310557A/en
Application granted granted Critical
Publication of JP4882882B2 publication Critical patent/JP4882882B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、主に、産業用ロボットの動作に係わるプログラムの作成方法に関するものである。   The present invention mainly relates to a method for creating a program related to the operation of an industrial robot.

近年、人間に代わって塗装や溶接、重量物のハンドリング等の作業をロボットが行うようになっている。こうしたロボットは制御プログラムを変更することによって多様な動作が可能となり、複雑な作業にも対応できる。ロボットを制御するためのプログラムは、人間がロボットを操作してその動作を教示することで作成する。ロボットのコントローラには、作成した教示プログラムを再利用したり、特定のポイントのみ位置を変えたりできるように、教示プログラムの編集機能が備えられている。そして、この編集機能を用いることで、ロボットの繰り返し動作を行う場合に、ロボットを再教示することなく教示プログラムの編集を行うだけで容易に作成することが可能となっている。   In recent years, robots have been working on behalf of humans, such as painting, welding, and handling heavy objects. These robots can be operated in various ways by changing the control program, and can handle complex tasks. A program for controlling the robot is created by a human operating the robot and teaching its operation. The robot controller has a teaching program editing function so that the created teaching program can be reused or the position of a specific point can be changed. By using this editing function, when the robot is repeatedly operated, it can be easily created simply by editing the teaching program without re-teaching the robot.

従来の教示プログラムの編集方法の1つとして、塗装用ロボットの往復動作に関し、先ず往路動作の教示を行い、復路に関しては、教示した往路動作の教示プログラムを反転させることで作成し、このようにして往復動作のプログラムを容易に作成することができる教示プログラム作成方法が知られている(例えば、特許文献1参照)。
特開平2−218573号公報
As one of the conventional teaching program editing methods, firstly, the reciprocating motion of the painting robot is taught, and the backward motion is created by reversing the taught outbound motion teaching program. A teaching program creation method that can easily create a reciprocating motion program is known (see, for example, Patent Document 1).
JP-A-2-218573

上記した従来の教示プログラム作成方法に開示されているように、ロボットの往復動作を教示プログラムの編集によって作成することは可能である。しかしながら、この方法ではロボットに移動動作に加えて移動命令に付随する動作指示命令(例えば、溶接や切断などの作業)をもつ経路の往復動作プログラムを作成することはできない。つまり、ロボットへの動作指示命令が移動動作に付随した1命令であれば往復動作ができるが、それ以外の動作命令がある場合には往復動作を作成できないという課題を有していた。   As disclosed in the conventional teaching program creation method described above, it is possible to create the reciprocating motion of the robot by editing the teaching program. However, in this method, it is not possible to create a reciprocating operation program for a path having an operation instruction command (for example, work such as welding or cutting) attached to the movement command in addition to the moving operation. That is, if the operation instruction command to the robot is one command accompanying the movement operation, the reciprocation operation can be performed, but if there is any other operation command, the reciprocation operation cannot be created.

本発明の目的とするところは、産業用ロボットの往復動作プログラム作成時に、移動命令のみではなく、移動動作以外の動作命令があった場合でも、往復動作を容易に作成することができるプログラム作成方法を提供することである。   An object of the present invention is to provide a program creation method capable of easily creating a reciprocating motion even when there is an operation command other than a moving command, not only a moving command, when creating a reciprocating motion program for an industrial robot. Is to provide.

上記課題を解決するために、本発明のプログラム作成方法は、第1の記憶領域に格納された時系列に連続して並べられた複数の制御命令からなるプログラムから、時系列に連続して並べられた複数の制御命令からなる基本プログラムを選択し、この基本プログラムを、少なくとも溶接トーチ移動命令溶接条件命令を備えたn(nは3以上の整数)個の制御命令群単位で順次処理して新たなプログラムを作成するプログラム作成方法であって、前記基本プログラムのうち、前記基本プログラムの先頭から時系列に連続して並べられた複数の制御命令からなる第1番目の制御命令群を選択して第2の記憶領域に格納する第1のステップと、前記第1の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令アーク発生命令のうち、前記溶接条件命令の指令値を第3の記憶領域に記憶する第2のステップと、前記基本プログラムのうち、1つ前の順番の制御命令群である前記第1番目の制御命令群の最終の制御命令の次の制御命令から時系列に連続して並べられた複数の制御命令からなる第2番目の制御命令群を選択し、この第2番目の制御命令群を、前記第2の記憶領域のうち、1つ前の順番の制御命令群である前記第1番目の制御命令群と重複せず、前記第1番目の制御命令群よりも時系列的に前の領域に格納する第3のステップと、前記第2番目の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令のうち、前記溶接条件命令の指令値を前記第3の記憶領域に記憶されている指令値と入れ替える第4のステップと、前記第3のステップと前記第4のステップとを、第n−1番目の制御命令群まで繰り返す第5のステップと、前記基本プログラムのうち、前記第n−1番目の制御命令群の最終の制御命令の次の制御命令から時系列に連続して並べられた複数の制御命令からなる第n番目の制御命令群を選択して、この第n番目の制御命令群を、前記第2の記憶領域のうち、1つ前の順番の制御命令群である前記第n−1番目の制御命令群と重複せず、前記第n−1番目の制御命令群よりも時系列的に前の領域に格納する第6のステップと、前記第3の記憶領域に記憶されている指令値を、前記第1番目の制御命令群の溶接条件命令の指令値に替えて格納する第7のステップと、前記第n番目の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令であるクレータ処理条件命令アーク停止命令のうち、前記溶接条件命令であるクレータ処理条件命令を、前記第1番目の制御命令群の溶接条件命令と入れ替え、前記アーク停止命令を、前記第1番目の制御命令群のアーク発生命令と入れ替える第8のステップとからなるものである。 In order to solve the above-mentioned problem, a program creation method of the present invention is arranged in a time series from a program consisting of a plurality of control instructions arranged in a time series stored in a first storage area. A basic program consisting of a plurality of control commands is selected, and this basic program is sequentially processed in units of n (n is an integer of 3 or more) control command groups including at least a welding torch movement command and a welding condition command. A method for creating a new program, wherein a first control instruction group consisting of a plurality of control instructions arranged in time series from the top of the basic program is selected from the basic programs. the first step and the first welding torch movement instruction arranged in a chronological constituting the control instructions to the welding condition instruction and arcing life to be stored in the second storage area and Of a second step of storing the command value of the welding condition command to the third storage area, wherein among the basic program, the first th control instructions is one control instructions before the order A second control instruction group consisting of a plurality of control instructions arranged in time series from the control instruction next to the last control instruction is selected, and the second control instruction group is selected as the second control instruction group. In the storage area, the first control instruction group which is the control instruction group in the previous order is not overlapped, and is stored in the previous area in time series before the first control instruction group. Of the welding step command and the welding condition command arranged in time series constituting the third step and the second control command group, the command value of the welding condition command is stored in the third storage area. a fourth step of replacing the command value is, the third scan And the fourth step to the (n-1) th control instruction group, and the final control instruction of the (n-1) th control instruction group in the basic program. An n-th control instruction group consisting of a plurality of control instructions arranged in time series from the next control instruction is selected, and this n-th control instruction group is selected from the second storage area. The nth control command group that is the control command group in the previous order is not overlapped with the n−1th control command group, and is stored in the previous area in time series from the n−1th control command group. The seventh step of storing the command value stored in the third storage area in place of the command value of the welding condition command of the first control command group, and the nth step Welding torch movement command and welding condition command arranged in time series constituting the control command group of Among the crater processing condition command and the arc stop command , the crater processing condition command which is the welding condition command is replaced with the welding condition command of the first control command group, and the arc stop command is replaced with the first stop command . And an eighth step of replacing the arc generation command of the control command group.

また、本発明のプログラム作成方法は、上記のプログラム作成方法により作成したプログラムを、基本プログラムに続けて一体として、新たなプログラムを作成するものである。   Further, the program creation method of the present invention creates a new program by integrating the program created by the above-described program creation method into a unit following the basic program.

また、本発明のプログラム作成方法は、上記に加えて、時系列的に連続して並べられた複数の制御命令のうち、ある第1種類制御命令から次の第1種類制御命令を検索するステップと、前記ある第1種類制御命令から前記次の第1種類制御命令の1つ前の制御命令までを、基本プログラムから、1つの制御命令群として選択するステップとからなるものである。   In addition to the above, the program creation method of the present invention further includes a step of searching for a next first type control instruction from a certain first type control instruction among a plurality of control instructions arranged continuously in time series. And selecting from the basic program one control instruction group from the certain first type control instruction to the control instruction immediately before the next first type control instruction.

以上のように、本発明のプログラム作成方法によれば、産業用ロボットの往復動作プログラムを容易に作成することができる。また、この方法では、単なるロボットの往復動作だけではなく、補助動作(例えば、溶接ロボットの溶接条件や溶接開始・終了命令の指定、塗装ロボットの塗装開始・終了など)をも含めた往復動作も作成可能である。このことにより、ロボットの補助動作を含めた往復動作プログラムを作成したい場合、往路のプログラムを作成しておけば、教示を行う等して復路のプログラムを作成する必要がなくなり、作業者がロボットへの教示にかける工数を削減できるとともに、復路プログラム作成時の教示間違いも無くすことができる。   As described above, according to the program creation method of the present invention, a reciprocation program for an industrial robot can be easily created. In addition, this method is not limited to reciprocal movement of the robot, but also includes reciprocal movements including auxiliary movements (for example, specifying welding conditions and welding start / end commands for the welding robot, and starting / ending the painting of the painting robot). Can be created. As a result, if you want to create a reciprocating motion program that includes the robot's auxiliary motion, if you create a forward program, there is no need to create a backward program by teaching, etc. The number of man-hours required for teaching can be reduced, and mistakes in teaching when creating a return route program can be eliminated.

以下、本発明の実施の形態について、図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

なお、本実施の形態は、主に、溶接や切断などのハンドリング動作以外の作業を行う産業用ロボットの往復動作プログラム作成する際に、往路プログラムを作成しておくだけで、そのプログラムを編集して往復動作プログラムを作成することができるプログラム作成方法に関するものである。   In this embodiment, when creating a reciprocating operation program for an industrial robot that mainly performs operations other than handling operations such as welding and cutting, the forward program is simply created and the program is edited. The present invention relates to a program creation method capable of creating a reciprocating operation program.

図1は、産業用ロボットの概略構成を示す図である。図1において、1は6軸を有するマニピュレータ、2はマニピュレータを制御するための主制御装置であり、3はマニピュレータや主制御装置を操作するためのディスプレイ兼入力装置であり、例えばティーチングペンダントである。操作者がこのディスプレイ兼入力装置3のディスプレイを見ながら、マニピュレータ1の操作を行うことで教示プログラムを作成する。4は主制御装置2を制御するためのCPU(Central Processing Unit)である。5は起動プログラムやBIOS(Basic Input/Output System)を格納している読込みのみ可能なROM(Read Only Memory)であり、6はロボットの操作者が例えばディスプレイ兼入力装置3によって作成したマニピュレータ1の教示プログラムや、産業用ロボットの機能設定を格納するための読み取り・書込み可能なRAM(Random Access Memory)である。7はマニピュレータ駆動装置であり、CPU4はこのマニピュレータ駆動装置7を介してマニピュレータ1の制御を行う。   FIG. 1 is a diagram showing a schematic configuration of an industrial robot. In FIG. 1, 1 is a manipulator having six axes, 2 is a main control device for controlling the manipulator, 3 is a display / input device for operating the manipulator and the main control device, for example, a teaching pendant. . The operator creates a teaching program by operating the manipulator 1 while viewing the display of the display and input device 3. Reference numeral 4 denotes a CPU (Central Processing Unit) for controlling the main control device 2. Reference numeral 5 denotes a ROM (Read Only Memory) that stores a startup program and BIOS (Basic Input / Output System). Reference numeral 6 denotes a manipulator 1 created by the robot operator using the display / input device 3, for example. It is a readable / writable RAM (Random Access Memory) for storing teaching programs and function settings of industrial robots. Reference numeral 7 denotes a manipulator driving device, and the CPU 4 controls the manipulator 1 via the manipulator driving device 7.

図2は、主制御装置2に設けられたRAM6の中のRAM領域8に用意すべき領域を示したものである。8はRAM領域全体を示し、9はロボットの教示プログラムを展開するための記憶領域である第1領域を示す。また、10はその教示プログラムを編集する際に必要となる、第1領域と同等の大きさを持つ記憶領域である第2領域であり、11は教示プログラムで使用される命令の設定値のみを保存するための記憶領域である第3領域、12は命令の入替を実行する際に命令や指令値を保存するための記憶領域である第4領域である。以上の第2領域から第4領域は教示プログラムの編集中、RAM6上に一時的に確保された領域であり、編集作業終了で確保された領域は開放される。   FIG. 2 shows an area to be prepared in the RAM area 8 in the RAM 6 provided in the main controller 2. Reference numeral 8 denotes the entire RAM area, and 9 denotes a first area which is a storage area for developing a robot teaching program. Reference numeral 10 denotes a second area which is a storage area having the same size as the first area, which is necessary when editing the teaching program. A third area 12 is a storage area for saving, and a fourth area 12 is a storage area for saving instructions and command values when executing instruction replacement. The above second to fourth areas are areas temporarily secured on the RAM 6 during editing of the teaching program, and the areas secured at the end of the editing operation are released.

図3はRAM領域8の第1領域9に用意するロボットの教示プログラム例を示したものである。このプログラムは第1種〜第4種の制御命令を含んだN個(N≧3)の制御命令群により構成されている。これら制御命令群はそれぞれ少なくとも1つの第1種命令・第2種制御命令を含んでおり、先頭の第1命令群には第3種制御命令が、最終命令群である第N命令群にのみ第4種制御命令が含まれるものとする。また、教示プログラムに示されている複数の命令群は処理される順に並べられており、プログラムの先頭から順に逐次処理されるものである。   FIG. 3 shows an example of a robot teaching program prepared in the first area 9 of the RAM area 8. This program is composed of N (N ≧ 3) control instruction groups including first to fourth control instructions. Each of these control instruction groups includes at least one first-type instruction / second-type control instruction, and the third type control instruction is included in the first instruction group at the head, and only the Nth instruction group is the final instruction group. It is assumed that the fourth type control instruction is included. A plurality of instruction groups shown in the teaching program are arranged in the order in which they are processed, and are sequentially processed from the top of the program.

なお、本来の教示プログラムは複数の制御命令が用意されているが、この教示プログラムでは、ロボット動作命令を簡易的に扱えるように第1種制御命令・第2種制御命令・第3種制御命令・第4種制御命令の4種に分類している。   The original teaching program is provided with a plurality of control commands. In this teaching program, the first type control command, the second type control command, and the third type control command are used so that the robot operation command can be handled easily. -It is classified into 4 types of 4th type control instructions.

第1種制御命令はロボットの位置・動作速度情報を含んだ命令であり、ロボットはその命令により指定された速度で指定された位置に移動する。第2種制御命令は第3種制御命令の実行時の条件を設定する命令であり、第3種制御命令は第2種制御命令の条件で実行される。第3種制御命令はロボットに移動動作以外の動作を開始させる命令であり、第4種制御命令はその動作を停止させる命令である。第2種制御命令は複数回呼び出された場合、ロボットは呼び出された条件で第3種制御命令により開始された動作を実行する。   The first type control command is a command including position / operation speed information of the robot, and the robot moves to a specified position at a speed specified by the command. The second type control instruction is an instruction for setting a condition for executing the third type control instruction, and the third type control instruction is executed under the condition of the second type control instruction. The third type control command is a command for causing the robot to start an operation other than the moving operation, and the fourth type control command is a command for stopping the operation. When the second type control command is called a plurality of times, the robot executes the operation started by the third type control command under the called condition.

以上のような構成とプログラムを前提として、ロボットの動作プログラムから反転動作プログラムを作成する方法について述べる。   Based on the above configuration and program, a method of creating a reversal operation program from a robot operation program will be described.

図4はこれから述べるプログラム作成方法の一連の処理の流れを示したフローチャートであり、各ステップの要点を以下に述べる。   FIG. 4 is a flowchart showing a flow of a series of processes of the program creation method described below. The main points of each step will be described below.

ステップST1において、制御命令群番号Kに1を代入し、ステップST2に進む。   In step ST1, 1 is assigned to the control instruction group number K, and the process proceeds to step ST2.

ステップST2において、RAM上の教示プログラム展開領域(第1領域)に展開されているプログラムの中で、先頭から時系列順に並べられている複数の制御命令群のうち、第N番目の制御命令群を選択し、制御命令群に含まれる複数の制御命令を、一時記憶領域であるRAM領域8の先頭に時系列順にコピーしてステップST3に進む。   In step ST2, the Nth control instruction group among a plurality of control instruction groups arranged in chronological order from the top in the program expanded in the teaching program expansion area (first area) on the RAM. Is selected, and a plurality of control instructions included in the control instruction group are copied in time-series order to the top of the RAM area 8 which is a temporary storage area, and the process proceeds to step ST3.

ステップST3において、第N制御命令群内に時系列に並べられている、第1種制御命令と、第2種制御命令と、第3種制御命令のうち、第2種制御命令を実行するための指令値をRAM6上の一時記憶領域である第3領域にコピーしてステップST4に進む。   In order to execute the second type control command among the first type control command, the second type control command, and the third type control command arranged in time series in the Nth control command group in step ST3. The command value is copied to the third area, which is a temporary storage area on the RAM 6, and the process proceeds to step ST4.

ステップST4において、制御命令群番号KにK+1を代入して、ステップST5に進む。   In step ST4, K + 1 is assigned to the control instruction group number K, and the process proceeds to step ST5.

ステップST5において、第2領域に展開されている教示プログラム中、第(K−1)番目の制御命令群の最終制御命令の後に続けて並べられた第K番目の制御命令群を選択し、この制御命令群を前記第2領域のうち、時系列的に1つ前の第(K−1)番目の制御命令群の制御命令に重複しないように、領域2の先頭から時系列ごとに選択した命令を並べ、ステップST6に進む。   In step ST5, the Kth control instruction group arranged after the last control instruction of the (K-1) th control instruction group is selected from the teaching program developed in the second area, The control instruction group is selected for each time series from the top of the area 2 so as not to overlap with the control instruction of the (K-1) th control instruction group immediately before in the second area in the second area. The instructions are arranged and the process proceeds to step ST6.

ステップST6において、領域2にコピーした第N番目の制御命令群内の、第2種制御命令の指令値のみをRAM上の領域4にコピーする。さらに、前記領域3に格納された、第(K−1)番目の制御命令群の第2種制御命令指令値を、第K番目の制御命令群の第2種制御命令指令値とする。続けて、領域4にコピーされた第K番目の制御命令群の第2種制御命令指令値を前記領域3に格納して、ステップST7に進む。   In step ST6, only the command value of the second type control instruction in the Nth control instruction group copied to the area 2 is copied to the area 4 on the RAM. Further, the second type control command command value of the (K-1) th control command group stored in the area 3 is set as the second type control command command value of the Kth control command group. Subsequently, the second type control instruction command value of the Kth control instruction group copied to the area 4 is stored in the area 3, and the process proceeds to step ST7.

ステップST7において、制御命令番号Kに1を加えて、ステップST8に進む。   In step ST7, 1 is added to the control command number K, and the process proceeds to step ST8.

ステップST8において、制御命令番号がNであれば、ステップST9に進み、そうでなければ、ステップST5に進む。   In step ST8, if the control command number is N, the process proceeds to step ST9, and if not, the process proceeds to step ST5.

ステップST9において、教示プログラム中、第(K−1)番目の制御命令群の最終制御命令の後に続けて並べられた、第N制御命令群を選択し、この制御命令群を前記領域2のうち、時系列的に1つ前の第(K−1)番目の制御命令群の制御命令に重複しないように、領域2の先頭から時系列ごとに選択した命令を並べ、ステップST10に進む。   In step ST9, the Nth control instruction group arranged after the last control instruction of the (K-1) th control instruction group in the teaching program is selected, and this control instruction group is selected from among the area 2 The selected instructions are arranged for each time series from the top of the area 2 so as not to overlap with the control instruction of the (K-1) th control instruction group immediately before in time series, and the process proceeds to step ST10.

ステップST10において、前記第2領域にコピーした第K番目の制御命令群内の、第2種制御命令指令値を第4領域にコピーする。さらに、第3領域に存在する第(K−1)番目の第2種制御命令指令値を、第1番目の制御命令群の第2種制御命令の指令値とする。続けて、第4領域にコピーされた第2種制御命令の指令値を前記領域3に格納し、ステップST11に進む。   In step ST10, the second type control instruction command value in the Kth control instruction group copied to the second area is copied to the fourth area. Further, the (K-1) th type 2 control command command value existing in the third area is set as the command value of the type 2 control command of the first control command group. Subsequently, the command value of the second type control instruction copied to the fourth area is stored in the area 3, and the process proceeds to step ST11.

ステップST11において、第K番目の制御命令群を構成する第1種制御命令、第2種制御命令、第4種制御命令のうち、第2種制御命令を選択し、第4領域にコピーする。前記第1番目の制御命令群の第2種制御命令を第K番目の制御命令群の第2種制御命令に上書き後に、第4の領域に格納されている第K番目の制御命令群の第2種制御命令を第1番目の制御命令群の第2種制御命令に上書きする。同様の方法で、第K番目の制御命令群の第4種制御命令と、第1番目の制御命令群の第3種制御命令群とを入れ替え、ステップST12に進む。   In step ST11, the second type control instruction is selected from the first type control instruction, the second type control instruction, and the fourth type control instruction constituting the Kth control instruction group, and is copied to the fourth area. After overwriting the second type control instruction of the first control instruction group on the second type control instruction of the Kth control instruction group, the Kth control instruction group stored in the fourth area The type 2 control command is overwritten on the type 2 control command of the first control command group. In the same manner, the fourth type control instruction of the Kth control instruction group and the third type control instruction group of the first control instruction group are exchanged, and the process proceeds to step ST12.

以上のステップにより第4領域に作成されたプログラムは、前記第1領域の編集元教示プログラムとは、第1種制御命令の並びが時系列的に逆となっているにも関わらず、第2種・第3種・第4種制御命令により指示される補助動作は、第1領域の教示プログラムが指示した条件と一致するものとなる。   The program created in the fourth area by the above steps is different from the editing instruction teaching program of the first area in spite of the fact that the arrangement of the first type control commands is reversed in time series. The auxiliary operation instructed by the seed / third / fourth type control instruction matches the condition instructed by the teaching program in the first area.

さらに、この第4領域に並べられた制御命令群の全てを選択し、第2領域の教示プログラムの最終制御命令の後に、第1領域の教示プログラムに重ならないようにして、時系列ごとに選択した命令を並べることで、新たなプログラムを作成できる。このプログラムは前記第1領域の教示プログラムを往路とした往復動作プログラムとなる。   In addition, select all control instruction groups arranged in the fourth area, and select each time series so that it does not overlap with the first area teaching program after the final control instruction of the second area teaching program. A new program can be created by arranging the instructions. This program is a reciprocating operation program using the teaching program of the first area as a forward path.

また、第1種制御命令を溶接トーチ先端の移動命令、第2種類制御命令を溶接条件指定命令、第3種類制御命令をアーク発生命令、第4種類制御命令にはアーク停止命令を指定しても成り立つ。この場合、第1種制御命令により指令された移動方向にしたがって進行しながら、第2種制御命令により指定された溶接条件にて、第3種制御命令により溶接を開始し、第4種制御命令によって溶接を終了させることにより、ロボットの往復溶接動作を行うことができる。   The first type control command is a welding torch tip movement command, the second type control command is a welding condition designation command, the third type control command is an arc generation command, and the fourth type control command is an arc stop command. Also holds. In this case, while proceeding according to the moving direction commanded by the first type control command, welding is started by the third type control command under the welding conditions specified by the second type control command, and the fourth type control command By completing the welding by the robot, the reciprocating welding operation of the robot can be performed.

また、第2種類制御命令に溶接終了時にのみ使用するクレータ処理条件命令を用いてもかまわない。クレータ処理条件も溶接条件を指定する命令であるので、他の溶接条件指定命令と同様に扱うことが可能である。   Further, a crater processing condition command used only at the end of welding may be used as the second type control command. Since the crater processing condition is also an instruction for designating a welding condition, it can be handled in the same manner as other welding condition designation instructions.

また、1つの制御命令群を特定する方法として、第1領域の教示プログラムの先頭から時系列順に並べられている制御命令を先頭から順に第1種制御命令が見付かるまで検索、さらに次の第1種制御命令が見付かるまで順に検索し、こうして見付かった第1種制御命令の直前の制御命令までを1つの制御命令群として選択することで行う。最後に教示プログラムの最終命令まできた場合は、そこまでを1つの制御命令群とする。   Further, as a method for specifying one control instruction group, a search is performed for control instructions arranged in chronological order from the top of the teaching program in the first area until the first type control instruction is found in order from the top. The search is performed in order until a seed control command is found, and the control commands immediately before the first type control command thus found are selected as one control command group. When the last instruction of the teaching program is finally reached, that is the one control instruction group.

本発明によるプログラム作成方法を用いることで、産業用ロボットの往復動作プログラムを容易に作成することができるので、ロボットの教示にかかる工数を削減でき、往復動作を多用する、塗装・溶接ロボット等のプログラム作成方法として産業上有用である。   By using the program creation method according to the present invention, it is possible to easily create a reciprocating operation program for an industrial robot. Therefore, it is possible to reduce the man-hours required for teaching the robot, and use a lot of reciprocating operations such as a painting / welding robot. Industrially useful as a program creation method.

本発明の実施の形態におけるの概略構成を示す図The figure which shows schematic structure in embodiment of this invention 本発明の実施の形態におけるプログラム作成領域を示す図The figure which shows the program creation area in embodiment of this invention 本発明の実施の形態におけるプログラム作成領域を示す図The figure which shows the program creation area in embodiment of this invention 本発明の実施の形態におけるフローチャートFlowchart in the embodiment of the present invention

符号の説明Explanation of symbols

1 マニピュレータ
2 主制御装置
3 ディスプレイ兼入力装置
4 CPU
5 ROM
6 RAM
7 マニピュレータ駆動装置
8 RAM領域
9 第1領域(教示プログラム展開用領域)
10 第2領域(教示プログラム編集用領域)
11 第3領域(命令指令値格納領域)
12 第4領域(命令格納領域)
DESCRIPTION OF SYMBOLS 1 Manipulator 2 Main control device 3 Display and input device 4 CPU
5 ROM
6 RAM
7 Manipulator drive device 8 RAM area 9 First area (Teaching program development area)
10 Second area (Teaching program editing area)
11 Third area (command command value storage area)
12 Fourth area (instruction storage area)

Claims (3)

第1の記憶領域に格納された時系列に連続して並べられた複数の制御命令からなるプログラムから、時系列に連続して並べられた複数の制御命令からなる基本プログラムを選択し、この基本プログラムを、少なくとも溶接トーチ移動命令溶接条件命令を備えたn(nは3以上の整数)個の制御命令群単位で順次処理して新たなプログラムを作成するプログラム作成方法であって、
前記基本プログラムのうち、前記基本プログラムの先頭から時系列に連続して並べられた複数の制御命令からなる第1番目の制御命令群を選択して第2の記憶領域に格納する第1のステップと、
前記第1の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令アーク発生命令のうち、前記溶接条件命令の指令値を第3の記憶領域に記憶する第2のステップと、
前記基本プログラムのうち、1つ前の順番の制御命令群である前記第1番目の制御命令群の最終の制御命令の次の制御命令から時系列に連続して並べられた複数の制御命令からなる第2番目の制御命令群を選択し、この第2番目の制御命令群を、前記第2の記憶領域のうち、1つ前の順番の制御命令群である前記第1番目の制御命令群と重複せず、前記第1番目の制御命令群よりも時系列的に前の領域に格納する第3のステップと、
前記第2番目の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令のうち、前記溶接条件命令の指令値を前記第3の記憶領域に記憶されている指令値と入れ替える第4のステップと、
前記第3のステップと前記第4のステップとを、第n−1番目の制御命令群まで繰り返す第5のステップと、
前記基本プログラムのうち、前記第n−1番目の制御命令群の最終の制御命令の次の制御命令から時系列に連続して並べられた複数の制御命令からなる第n番目の制御命令群を選択して、この第n番目の制御命令群を、前記第2の記憶領域のうち、1つ前の順番の制御命令群である前記第n−1番目の制御命令群と重複せず、前記第n−1番目の制御命令群よりも時系列的に前の領域に格納する第6のステップと、
前記第3の記憶領域に記憶されている指令値を、前記第1番目の制御命令群の溶接条件命令の指令値に替えて格納する第7のステップと、
前記第n番目の制御命令群を構成する時系列に並べられた溶接トーチ移動命令溶接条件命令であるクレータ処理条件命令アーク停止命令のうち、前記溶接条件命令であるクレータ処理条件命令を、前記第1番目の制御命令群の溶接条件命令と入れ替え、前記アーク停止命令を、前記第1番目の制御命令群のアーク発生命令と入れ替える第8のステップと
からなるプログラム作成方法。
A basic program consisting of a plurality of control instructions arranged in time series is selected from a program consisting of a plurality of control instructions arranged in time series stored in the first storage area. A program creation method for creating a new program by sequentially processing a program in units of n (n is an integer of 3 or more) control command groups having at least a welding torch movement command and a welding condition command ,
A first step of selecting a first control instruction group composed of a plurality of control instructions arranged in time series from the top of the basic program and storing the selected basic program in a second storage area. When,
Of the welding torch movement command , the welding condition command, and the arc generation command arranged in chronological order constituting the first control command group, a second value that stores the command value of the welding condition command in a third storage area Steps,
Among the basic programs, from a plurality of control commands arranged in time series from the control command next to the last control command in the first control command group which is the control command group in the previous order. The second control instruction group is selected, and the second control instruction group is the first control instruction group which is the control instruction group in the previous order in the second storage area. And a third step of storing in a region preceding the first control instruction group in time series before the first control instruction group,
When ordered welding torch movement command and of the welding condition instruction sequence, the instruction value stored command value of the welding condition command to the third storage area constituting the first the second control command group A fourth step to replace;
A fifth step of repeating the third step and the fourth step up to the (n-1) th control instruction group;
In the basic program, an nth control instruction group composed of a plurality of control instructions sequentially arranged in time series from the control instruction next to the final control instruction of the n-1st control instruction group. The nth control instruction group is selected so as not to overlap the n-1st control instruction group which is the control instruction group in the previous order in the second storage area, A sixth step of storing in an area chronologically prior to the (n-1) th control instruction group;
A seventh step of storing the command value stored in the third storage area in place of the command value of the welding condition command of the first control command group;
Of the welding torch movement command and the crater processing condition command that is a welding condition command and an arc stop command that are arranged in time series constituting the nth control command group , a crater processing condition command that is the welding condition command , A program creation method comprising: an eighth step of replacing a welding condition instruction of the first control instruction group and replacing the arc stop instruction with an arc generation instruction of the first control instruction group.
請求項1に記載のプログラム作成方法により作成したプログラムを、基本プログラムに続けて一体として、新たなプログラムを作成する請求項1記載のプログラム作成方法。 The program creation method according to claim 1, wherein the program created by the program creation method according to claim 1 is combined with the basic program to create a new program. 時系列的に連続して並べられた複数の制御命令のうち、ある溶接トーチ移動命令から次の溶接トーチ移動命令を検索するステップと、
前記ある溶接トーチ移動命令から前記次の溶接トーチ移動命令の1つ前の制御命令までを、基本プログラムから、1つの制御命令群として選択するステップとからなる請求項1または2に記載のプログラム作成方法。
Among the plurality of control instructions ordered series and continuously time, retrieving the next welding torch movement command from one welding torch movement instruction,
3. The program creation according to claim 1, further comprising a step of selecting, from the basic program, one control instruction group from the certain welding torch movement instruction to the control instruction immediately before the next welding torch movement instruction. Method.
JP2007157228A 2007-06-14 2007-06-14 How to create a program Active JP4882882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007157228A JP4882882B2 (en) 2007-06-14 2007-06-14 How to create a program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007157228A JP4882882B2 (en) 2007-06-14 2007-06-14 How to create a program

Publications (2)

Publication Number Publication Date
JP2008310557A JP2008310557A (en) 2008-12-25
JP4882882B2 true JP4882882B2 (en) 2012-02-22

Family

ID=40238105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007157228A Active JP4882882B2 (en) 2007-06-14 2007-06-14 How to create a program

Country Status (1)

Country Link
JP (1) JP4882882B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011096185A1 (en) 2010-02-03 2011-08-11 パナソニック株式会社 Robot system control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02218573A (en) * 1989-02-20 1990-08-31 Tokico Ltd Control method for industrial robot

Also Published As

Publication number Publication date
JP2008310557A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
JP4119372B2 (en) Numerical control method and numerical control system
JP7419001B2 (en) Motion planning method and device for manipulator collision avoidance
JP4137927B2 (en) Robot programming device
KR100376638B1 (en) Control device of working machine
US20060058906A1 (en) Simulation apparatus and method for NC machining
CN112621758B (en) Method for modifying teaching points in real time on line and robot control equipment
EP1471404A2 (en) Numerical control apparatus for machine tool
CN107165154B (en) Dynamic compaction machinery automatic control system, method and dynamic compaction machinery
JP2009181526A (en) Robot system
JP4882882B2 (en) How to create a program
JP2013226602A (en) Industrial machine system
JP6687579B2 (en) Numerical control device
JP4878460B2 (en) Work machine control device and work machine control system
CN116075400A (en) Numerical control system and robot control method
JPS62123504A (en) Robot control method
KR101328101B1 (en) Robot contol device, and the contol method
EP3003650A1 (en) Method and apparatus for managing laser process parameters in a robotic laser cell
CN116529035A (en) Numerical controller and numerical control system
JP4255783B2 (en) Robot controller
JP2012048517A (en) Modifying method of welding teaching program, and robot control device
JP2019194838A (en) Method for controlling motor driving by plc
JP6538199B2 (en) Machining method and apparatus
DE102018202321A1 (en) Coordination system, handling equipment and procedures
JP4305201B2 (en) Method and apparatus for reproducing operation status of production equipment
JPS6349803A (en) Nc program production system for nc device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100304

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110517

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111108

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4882882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3