JP4258716B2 - Robot controller - Google Patents
Robot controller Download PDFInfo
- Publication number
- JP4258716B2 JP4258716B2 JP2003325693A JP2003325693A JP4258716B2 JP 4258716 B2 JP4258716 B2 JP 4258716B2 JP 2003325693 A JP2003325693 A JP 2003325693A JP 2003325693 A JP2003325693 A JP 2003325693A JP 4258716 B2 JP4258716 B2 JP 4258716B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- work
- robot
- color
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Numerical Control (AREA)
- Manipulator (AREA)
Description
本発明は、ロボットプログラムに基づいて作業電源に対して作業指令を行うロボット制御装置に関する。 The present invention relates to a robot control apparatus that issues a work command to a work power supply based on a robot program.
従来の技術として、ロボットプログラムを表示及び編集するペンダントにおいて、多色の表示を行う多機能パネルがある。この従来技術では、無効な操作入力キーの表示色を薄くしたり、エラー発生時に目立つ色でエラー表示を行ったり、動作が限界に近い動作キーの色を薄くしたりする制御を行っている(例えば、特許文献1)。 As a conventional technique, there is a multi-function panel that performs multi-color display in a pendant for displaying and editing a robot program. In this prior art, control is performed such that the display color of the invalid operation input key is lightened, the error is displayed with a conspicuous color when an error occurs, or the color of the operation key whose operation is close to the limit is lightened ( For example, Patent Document 1).
また、他の従来技術のロボット言語処理装置は、ティーチングプレイバック型のロボットの作業内容を記述するロボット言語の表示及び編集の機能を有するものであり、ロボット言語によるプログラムを中間コードとして格納するエリアをメモリ上に有し、ロボット言語の表示の際には、メモリ内の中間コードを解読することにより、時系列的に記憶された移動命令群の直交空間位置をその移動命令の補間種類に従って直線もしくは曲線でつなぎ、任意の視点から見たスクリーン上の座標にこれらの線群を変換し、変換後の線を表示デバイスに表示する。このとき、作業区間に対応する線を例えば赤色で、エアカット区間(作業をせずに移動だけする区間)を例えば緑色で表示し、線での各ポイントごとに、移動命令の時系列的な番号を表示するものがある(例えば、特許文献2)。
また、動作命令と作業命令を含む作業プログラムの作業区間を識別し、区間情報として溶接作業の条件などを編集、表示するロボット制御装置がある(例えば、特許文献3)
Further, there is a robot control device that identifies a work section of a work program including an operation command and a work command, and edits and displays a welding work condition or the like as the section information (for example, Patent Document 3).
以上に述べた従来の問題点は、作業区間の認識は可能であるが、周辺機器への現在の出力状態が不明であるため、ロボットを操作している操作者には、作業開始命令が実行されているかどうかわからないという問題があった。 The conventional problems described above can recognize the work section, but the current output state to the peripheral device is unknown, so a work start command is executed for the operator operating the robot. There was a problem of not knowing if it was.
本発明は、このような従来の構成が有していた問題を解決しようとするものであり、周辺機器への作業開始指令の出力状態により、作業区間の命令例の表示色を変更することで、安全性が向上したロボット制御装置を提供するものである。 The present invention is intended to solve the problem of such a conventional configuration, and by changing the display color of the command example of the work section according to the output state of the work start command to the peripheral device. The present invention provides a robot control device with improved safety.
本発明の請求項1記載のロボット制御装置は、ロボットプログラムを表示、編集する画面制御部を備え、周辺機器を制御する命令を含むロボットプログラムに基づいてロボットを制御するロボット制御装置において、前記ロボットプログラムを中間コードの形式で格納するロボットプログラム格納部と、前記ロボットプログラムの命令を解釈する命令解釈部と、前記命令解釈部に基づいて周辺機器へ作業命令を実行したことを判定する作業命令判定部と、前記作業命令判定部の結果に基づいて作業区間を認識する作業区間認識部と、前記命令解釈部の結果に基づいて中間コードの命令を表示形式の文字列の命令に変換する表示文字列変換部と、前記表示文字列変換部により変換された表示形式の文字列を格納する表示文字列格納部と、前記作業区間内の命令を表示する領域の色を変更する色設定部とを備え、前記色設定部は、前記作業区間中にロボットの動作が停止した場合、停止した移動命令を他の作業区間の移動命令の色と異なる色に変更することを特徴とするものである。
The robot control apparatus according to
本発明の請求項2記載のロボット制御装置は、前記色設定部は、前記作業区間中にロボットの動作が停止した場合、作業開始位置から停止位置までの移動命令の色と停止後の移動命令から作業終了区間までの色とを異なる色に変更することを特徴とするものである。
According to a second aspect of the present invention, in the robot control device according to the second aspect of the present invention, when the operation of the robot stops during the work section, the color setting unit moves the color of the movement command from the work start position to the stop position and the movement command after the stop The color from the work to the work end section is changed to a different color .
本発明は、周辺機器への出力状態に基づいて作業区間の命令列の色を変化させることで、操作者が移動命令を実行する際に、実際の作業指令が出力されるかどうかを一目で確認することができるという効果を奏するものである。 According to the present invention, it is possible to determine at a glance whether or not an actual work command is output when an operator executes a movement command by changing the color of the command sequence of the work section based on the output state to the peripheral device. There is an effect that it can be confirmed.
以下、本発明の実施の形態として実施例を図1〜図4に基づいて説明する。 Hereinafter, examples of the present invention will be described with reference to FIGS.
本発明の実施例1の構成図を図1に示す。20は、作業命令を含むロボットプログラム格納部である。このロボットプログラムには、大きく分けてロボットを移動する命令群、プログラム自体を制御する命令群、周辺機器に対して作業指令を行う命令群が存在する。ロボットを移動する命令群には、2点間の移動量を求め各軸の中で最も移動時間の大きいものを基準にして他の軸の速度を決定する関節補間、2点間の軌跡を直線で補間する直線補間、3点の位置に基づいて2点間の軌跡を円弧で補間する円弧補間、3点の位置に基づいて2点間の軌跡を自由曲線で補間する曲線補間、及び移動速度を設定する命令等がある。プログラム自体を制御する命令群には、外部入力などによりプログラムの実行ステップを変更する命令、他のプログラムやサブルーチンを呼び出す命令や分岐する命令、タイマにより実行ステップを設定時間維持する命令等がある。周辺機器に作業指令を行う命令群には、周辺機器であるアーク溶接電源に対して、溶接開始を出力する命令、溶接条件を設定する命令、溶接終了を出力する命令などがある。これらのロボットプログラムは、ロボット制御装置に接続された外部の教示ペンダントをオペレータが操作することにより作成される。
FIG. 1 shows a configuration diagram of
ロボットプログラムの例としてアーク溶接用途を例に図2、図3に示して説明する。図2のロボットプログラムは、表示文字列の形式としている。ライン1のMOVJ命令は、関節補間であり、ロボットの待機点への移動命令である。ライン2のMOVL命令は、溶接開始位置のアプローチ点への直線移動命令である。このアプローチ点は、溶接開始位置より上方の位置であり、他の物体と干渉しないための位置である。ライン3は、溶接開始位置への直線移動命令である。ライン4のARCON命令は、溶接開始指令である。この命令は、溶接電源へ接続された接続線または通信線(ネットワーク)を介して、溶接電源へ溶接開始指令を出力する。しかし、溶接線の軌跡のみを確認するようなドライラン設定がされている場合には、溶接電源への溶接開始指令は、出力されない。
As an example of the robot program, an arc welding application will be described as an example with reference to FIGS. The robot program in FIG. 2 has a display character string format. The MOVJ command on
ライン5、6、7のMOVL命令は、作業区間の直線移動命令である。このオペランドのV=60、V=45は、移動速度を示している。アーク溶接用途の場合には、溶接速度の単位は、cm/minを使用している。
ライン8のARCOF命令は、溶接電源に対して、溶接終了指令を出力する。溶接電源は、この溶接終了指令を受信した場合には、溶接終了条件において、溶接を終了後、溶接ワイヤと母材間の電圧を監視し、溶着の監視を行う。この溶接電源による一連の溶接シーケンスが終了すれば、溶接は終了することになる。
The MOVL command on lines 5, 6, and 7 is a linear movement command for the work section. In this operand, V = 60 and V = 45 indicate the moving speed. In the case of arc welding application, the unit of welding speed is cm / min.
The ARCOF command in line 8 outputs a welding end command to the welding power source. When receiving the welding end command, the welding power source monitors the voltage between the welding wire and the base metal after the welding is completed under the welding end condition, and monitors the welding. When the series of welding sequences by the welding power source is completed, the welding is completed.
ライン9は、溶接終了位置からの退避位置である。通常は、ワークや冶具と干渉しない溶接ワイヤ突き出し方向とは逆向きの位置を教示している。ライン10では、他のロボットプログラムJOB:BBBの呼び出しを行う。
図2で示したロボットプログラムは、中間コードの形式にてロボットプログラム格納部20に格納されている。中間コードの形式の場合の1ライン目を図4に示す。MOVJ命令の場合には、中間コードは、S000110012060Fと格納されている。Sはこの命令の開始を示す制御コード、0001はMOVJ命令、1001の上位1バイトの‘1’は、位置変数を表わすコード、その下位3バイトの‘001’は、位置変数番号を表わす。2060の上位1バイトの‘2’は関節補間速度を表わし、下位3バイトの‘060’は、60%の速度を表わす。また末尾のFは、この命令の終了コードを表わす。また位置変数は、他の格納部分に格納されている。この位置変数は、ロボットプログラム格納部20とは別の領域に格納されている。 The robot program shown in FIG. 2 is stored in the robot program storage unit 20 in the form of an intermediate code. The first line in the case of the intermediate code format is shown in FIG. In the case of the MOVJ instruction, the intermediate code is stored as S000110012060F. S is a control code indicating the start of this instruction, 0001 is a MOVJ instruction, “1” in the upper 1 byte of 1001 is a code representing a position variable, and “001” in the lower 3 bytes represents a position variable number. “2” in the upper 1 byte of 2060 represents the joint interpolation speed, and “060” in the lower 3 bytes represents a speed of 60%. The suffix F represents the end code of this instruction. The position variable is stored in another storage part. This position variable is stored in an area different from the robot program storage unit 20.
本発明の処理の流れを図1に基づいて説明する。命令解釈部10は、指定されたロボットプログラムをロボットプログラム格納部20から読み出す。まず、指定されたロボットプログラム名からロボットプログラム格納部20内の指定ロボットプログラムの先頭アドレスを読み出す。その後、1ライン目を読み出す。1ライン目は、移動命令であるため、差作業命令判定部11には、通知されない。そして、表示文字列変換部14にて、上述したように中間コードを表示文字列変換する。図5に基づいて表示文字列変換部14の処理を説明する。図5は、中間コードと表示文字列の対応テーブルである。このように、中間コード0001は、MOVJに対応し、中間コード0002は、MOVLに対応する。
The processing flow of the present invention will be described with reference to FIG. The
命令解釈部10では、‘S’の制御コード検出する。その後、4バイトの読出しを行う。この命令を読出した後、中間コード列を分割し、表示文字列変換部14に転送する。表示文字列変換部14では、中間コードに応じて、表示文字列に変換する。1ライン目から順次このように表示文字列変換部14において、表示文字列に変換される。このように表示文字列に変換されたデータは、表示文字列格納部15に格納される。 The instruction interpreter 10 detects the control code “S”. After that, 4 bytes are read. After reading this command, the intermediate code string is divided and transferred to the display character string conversion unit 14. The display character string conversion unit 14 converts it into a display character string according to the intermediate code. In this manner, the display character string conversion unit 14 sequentially converts the display character string from the first line. The data thus converted into the display character string is stored in the display character string storage unit 15.
次に、ARCON命令が読出された場合、命令解釈部10では、作業命令であることが認識される。この後、作業命令判定部11にて、溶接電源への出力状態の確認が行われる。
ARCON命令実行時に、ドライランなど他のインターロックが設定されている場合には、作業命令は現実には実行されない。つまり、作業命令判定部11は、周辺機器への出力状態を監視し、出力している場合には、作業状態ステータス101をONする。また、周辺機器へ出力していない場合には、作業状態ステータス101をOFFする。
Next, when the ARCON command is read, the
If another interlock such as dry run is set when the ARCON instruction is executed, the work instruction is not actually executed. That is, the work instruction determination unit 11 monitors the output state to the peripheral device, and turns on the work state status 101 when outputting. In addition, when the data is not output to the peripheral device, the work status status 101 is turned off.
作業区間認識部12は、作業状態ステータス101がONであれば、作業終了命令のラインを検索する。この場合には、溶接終了命令に対応するARCOF命令である。各ラインの先頭の制御コード‘S’を検索し、その後の命令の中間コードを比較していく。ARCOFの中間コード、‘0011’を検索する。中間コード‘0011’を検出すると、そのライン番号を取得する。 If the work status status 101 is ON, the work section recognition unit 12 searches for a work end command line. In this case, it is an ARCOF command corresponding to the welding end command. The control code 'S' at the head of each line is searched, and intermediate codes of subsequent instructions are compared. Search the ARCOF intermediate code '0011'. When the intermediate code “0011” is detected, the line number is acquired.
色設定部13では、作業区間認識部12で指定された作業区間開始と終了のライン番号と作業区間の表示色のデータに基づいて、表示文字列格納部15に格納されているロボットプログラムの表示文字列の該当ラインを表示色を設定する。表示色は、RGBのデータで設定される。
その後、表示文字列格納部15に格納されたロボットプログラムは、画面制御部16を介して表示画面17に表示される。この表示画面17は、ロボット制御装置に接続されている教示ペンダントの画面、またはロボット制御装置とは別体の制御装置のモニタ等である。
The color setting unit 13 displays the robot program stored in the display character string storage unit 15 based on the work section start and end line numbers specified by the work section recognition unit 12 and the display color data of the work section. Set the display color of the corresponding line of the character string. The display color is set by RGB data.
Thereafter, the robot program stored in the display character string storage unit 15 is displayed on the display screen 17 via the screen control unit 16. The display screen 17 is a teaching pendant screen connected to the robot control device or a monitor of a control device separate from the robot control device.
本発明の実施例2について説明する。ロボットプログラム実行時、ホールド停止、非常停止、モード切替停止などによりロボットが停止した場合、作業命令判定部11は、停止した実行ライン番号を取得する。実行ライン番号の表示文字列を色設定部13により、作業区間とは異なる色に設定する。詳細には、図6に示すように、色設定部13は、色テーブル103に基づいて色を設定する。
エアカット区間、つまりロボットは、移動のみを行っている区間は、黒色で命令を表示する。次に、作業区間、つまり周辺機器へ開始指令を出力している区間は、黄色で命令を表示する。ロボットが停止した場合には、実行ラインを色テーブル103に基づいて、青色に設定する。
A second embodiment of the present invention will be described. When the robot program is executed, if the robot is stopped due to hold stop, emergency stop, mode switching stop, or the like, the work command determination unit 11 acquires the stopped execution line number. The display character string of the execution line number is set to a color different from the work section by the color setting unit 13. Specifically, as shown in FIG. 6, the color setting unit 13 sets a color based on the color table 103.
In the air cut section, that is, the section where the robot is only moving, the command is displayed in black. Next, in the work section, that is, the section outputting the start command to the peripheral device, the command is displayed in yellow. When the robot stops, the execution line is set to blue based on the color table 103.
実施例3では、実施例2の停止ライン番号から作業区間終了のライン番号を色テーブル103に基づいて色を設定する。
つまり、この後の作業区間は、一度ロボットが停止しているために、品質を確認する必要があることを操作者に明示する。
In the third embodiment, the line number of the work section end line number is set based on the color table 103 from the stop line number of the second embodiment.
That is, in the subsequent work section, since the robot has stopped once, it is clearly shown to the operator that the quality needs to be confirmed.
本発明の実施例3について説明する。実施例1では、ロボット制御装置内のインターロックがなく、周辺機器である溶接電源への指令を出力したかどうかで表示色を変更している。本実施例では、作業命令判定部11は、溶接電源からのアーク発生確認を受信した場合に、作業ステータス101をONし、作業区間認識部12に転送する。その後の処理は、実施例1と同様である。つまり、周辺機器が操作者の思いとおりに動作している場合には、表示色を色設定部13で変更する。 A third embodiment of the present invention will be described. In the first embodiment, there is no interlock in the robot control device, and the display color is changed depending on whether a command to a welding power source as a peripheral device is output. In this embodiment, the work command determination unit 11 turns on the work status 101 and transfers it to the work section recognition unit 12 when receiving an arc generation confirmation from the welding power source. The subsequent processing is the same as in the first embodiment. That is, when the peripheral device is operating as the operator desires, the display color is changed by the color setting unit 13.
本発明は、周辺機器に対して作業指令を行う産業用ロボットに有用である。 The present invention is useful for an industrial robot that issues a work command to a peripheral device.
10:命令解釈部
11:作業命令判定部
12:作業区間認識部
13:色設定部
14:表示文字列変換部
15:表示文字列格納部
16:画面制御部
17:表示画面
10: Instruction interpreter
11: Work instruction determination unit
12: Work section recognition unit
13: Color setting section
14: Display string converter
15: Display character string storage
16: Screen controller
17: Display screen
Claims (2)
前記ロボットプログラムを中間コードの形式で格納するロボットプログラム格納部と、
前記ロボットプログラムの命令を解釈する命令解釈部と、
前記命令解釈部に基づいて周辺機器へ作業命令を実行したことを判定する作業命令判定部と、
前記作業命令判定部の結果に基づいて作業区間を認識する作業区間認識部と、
前記命令解釈部の結果に基づいて中間コードの命令を表示形式の文字列の命令に変換する表示文字列変換部と、
前記表示文字列変換部により変換された表示形式の文字列を格納する表示文字列格納部と、
前記作業区間内の命令を表示する領域の色を変更する色設定部とを備え、
前記色設定部は、前記作業区間中にロボットの動作が停止した場合、停止した移動命令を他の作業区間の移動命令の色と異なる色に変更することを特徴とするロボット制御装置。 In a robot control apparatus that includes a screen control unit that displays and edits a robot program, and controls the robot based on a robot program including instructions for controlling peripheral devices.
A robot program storage unit for storing the robot program in the form of an intermediate code;
A command interpreter for interpreting commands of the robot program;
A work command determination unit that determines that a work command has been executed to a peripheral device based on the command interpretation unit;
A work section recognition unit for recognizing a work section based on the result of the work instruction determination unit;
A display character string conversion unit that converts an instruction of an intermediate code into a command of a character string in a display format based on a result of the instruction interpretation unit;
A display character string storage unit for storing a character string in a display format converted by the display character string conversion unit;
A color setting unit for changing a color of an area for displaying instructions in the work section ;
The robot controller according to claim 1, wherein when the operation of the robot is stopped during the work section, the color setting unit changes the stopped movement command to a color different from the color of the movement command of another work section .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003325693A JP4258716B2 (en) | 2003-09-18 | 2003-09-18 | Robot controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003325693A JP4258716B2 (en) | 2003-09-18 | 2003-09-18 | Robot controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005092571A JP2005092571A (en) | 2005-04-07 |
JP4258716B2 true JP4258716B2 (en) | 2009-04-30 |
Family
ID=34456072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003325693A Expired - Fee Related JP4258716B2 (en) | 2003-09-18 | 2003-09-18 | Robot controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4258716B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5565392B2 (en) | 2011-08-11 | 2014-08-06 | 株式会社安川電機 | Mobile remote control device and robot system |
JP6309910B2 (en) * | 2015-03-30 | 2018-04-11 | ファナック株式会社 | Numerical control device with program display function with high visibility |
-
2003
- 2003-09-18 JP JP2003325693A patent/JP4258716B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005092571A (en) | 2005-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5386569A (en) | Programmable controller having directly executable CPU instructions | |
WO2003071368A1 (en) | Robot control device | |
JP3537229B2 (en) | Robot control method | |
WO2006049210A1 (en) | Robot controller and robot system | |
JP4258716B2 (en) | Robot controller | |
JP5601949B2 (en) | Robot control system | |
JP2019025620A (en) | Robot system and operation method thereof | |
JPH0692029B2 (en) | Control method of arc welding robot | |
JPS58225406A (en) | Industrial robot | |
CN109863472B (en) | Encoding method and program for robot control device, and robot control device | |
JPS6249145B2 (en) | ||
WO2022039130A1 (en) | Robot control system | |
JP2003165079A (en) | Industrial robot | |
JP5721167B2 (en) | Robot controller | |
JPH09305213A (en) | Robot controller | |
JP2006099587A (en) | Nc apparatus | |
JPS61262809A (en) | Controller of robot | |
JPH09258808A (en) | Motion controller programming system | |
JP2005118968A (en) | Robot system | |
JP2003103371A (en) | Welding robot | |
JPH0916260A (en) | Setting method for easy jog coordinate system of robot | |
JP2971251B2 (en) | SFC programming device | |
JP4428073B2 (en) | Welding equipment | |
JPH01269105A (en) | Off-line programming device | |
JP3296477B2 (en) | Ladder program debugging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060817 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080829 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080902 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080912 |
|
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: 20090115 |
|
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: 20090128 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130220 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140220 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150220 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |