JP2008142788A - Operation program preparation supporting method and operation program preparing device - Google Patents

Operation program preparation supporting method and operation program preparing device Download PDF

Info

Publication number
JP2008142788A
JP2008142788A JP2006329166A JP2006329166A JP2008142788A JP 2008142788 A JP2008142788 A JP 2008142788A JP 2006329166 A JP2006329166 A JP 2006329166A JP 2006329166 A JP2006329166 A JP 2006329166A JP 2008142788 A JP2008142788 A JP 2008142788A
Authority
JP
Japan
Prior art keywords
icon
operation program
robot
program
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006329166A
Other languages
Japanese (ja)
Inventor
Takayuki Nakamura
高幸 中村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2006329166A priority Critical patent/JP2008142788A/en
Publication of JP2008142788A publication Critical patent/JP2008142788A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prepare an operation program for a robot efficiently. <P>SOLUTION: This operation program preparing device 1 is provided with a program preparing part 11 allowing a program preparing worker to arrange an icon on a program, an order interpreting part 13 for detecting and interpreting the arranged program, a simulation part 14 for simulating the operation program up to the arranged icon by corresponding to the robot automatically, and a result evaluation part 15 for evaluating whether the arranged icon can be executed or not and informing the program preparing worker of the results of evaluation through GUI. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ロボットの動作プログラムをGUI(Graphical User Interface)、すなわち、ユーザに対する情報の表示にグラフィックを多用し、大半の基礎的な操作をマウスなどのポインティングデバイスによって行なうことができるユーザインターフェース、を利用してグラフィカルに作成する動作プログラム作成支援方法およびそれを用いた動作プログラム作成装置に関する。   The present invention provides a GUI (Graphical User Interface) for a robot operation program, that is, a user interface that can use most graphics for displaying information to the user and perform most basic operations with a pointing device such as a mouse. The present invention relates to an operation program creation support method for creating graphically by using and an operation program creation apparatus using the operation program creation support method.

従来のロボットの動作プログラムの作成は、作成した動作プログラムをシミュレーションにより確認し、動作の不都合が発見された場合、動作プログラムのその部分を修正し、再度シミュレーションにより確認する手順を繰り返し行っている。例えば、特許文献1に開示の「ロボットのシミュレーション装置」はテキストによるロボット言語とシミュレーションによるロボットのモデルを画面に表示するものである。
図7は特許文献1に開示の「ロボットのシミュレーション装置」の表示画面の表示例である。図7において、211はCRTディスプレイの左半分、212はCRTディスプレイの右半分、213はカーソルである。CRTディスプレイの左半分211にはロボット言語により作成した動作プログラム、右半分212にはロボットをシンボル化したグラフィックが表示される。213は、シミュレーション実行した場合に、次に実行される動作を記述した部分を指し示す。
画面の下部に各種コマンドのラベルがあるので、挿入・削除・修正・実行をカーソル213で選んでロボットの動作プログラムを記述するテキストを作成すると、それが画面の左半分211に表示されていく。これと同時に、テキスト管理部がこのテキストを読み込んで、インタプリタ部に送り、インタプリタ部ではテキストを解釈し、ロボットを動作させる内容であれば、その動作のための軌道・ポイントデータを取り出して、ロボット制御部へ送る。ロボット制御部は送られてきた軌道・ポイントデータを基にロボット制御信号を作成し、シミュレータ部に送り、シミュレータ部はCRTディスプレイの右半分212にシンボル化されたロボットを表示し、かつロボット制御部から送られてきたロボット制御信号に基づいてアニメーションでロボットの動きを表示する。
このようにして、特許文献1によれば、プログラムの検証および修正を容易かつ効率的に行うものである。
In the conventional robot operation program creation, the created operation program is confirmed by simulation, and if an inconvenience of the operation is found, that part of the operation program is corrected and confirmed again by simulation. For example, the “robot simulation device” disclosed in Patent Document 1 displays a robot language by text and a robot model by simulation on a screen.
FIG. 7 is a display example of the display screen of the “robot simulation device” disclosed in Patent Document 1. In FIG. 7, 211 is the left half of the CRT display, 212 is the right half of the CRT display, and 213 is the cursor. An operation program created in the robot language is displayed on the left half 211 of the CRT display, and a graphic symbolizing the robot is displayed on the right half 212. Reference numeral 213 denotes a portion describing an operation to be executed next when the simulation is executed.
Since there are labels of various commands at the bottom of the screen, when text that describes the robot operation program is created by selecting insertion / deletion / correction / execution with the cursor 213, it is displayed on the left half 211 of the screen. At the same time, the text management unit reads this text, sends it to the interpreter unit, interprets the text in the interpreter unit, and if the content is to operate the robot, extracts the trajectory / point data for the operation, Send to control unit. The robot controller generates a robot control signal based on the received trajectory / point data and sends it to the simulator. The simulator displays the symbolized robot on the right half 212 of the CRT display, and the robot controller Based on the robot control signal sent from, the robot motion is displayed in animation.
In this way, according to Patent Document 1, the verification and correction of the program is easily and efficiently performed.

また、特許文献2に開示の「プログラム作成装置」も公知である。
これは、動作プログラムの効率的な作成を目的とするもので、ロボット言語により作成した動作プログラムの行を指定すると、その行の指令が移動指令であった場合、指定されたパラメータに従って位置データの表示やロボットのモデルを表示するものである。
図8は特許文献2に開示の「プログラム作成装置」の表示画面の表示例1であり、図9は同じく表示画面の表示例2である。
この発明は、命令内容を示す命令文字列及びその命令内容に対応する数値データのパラメータ番号を有する命令データと、上記数値データとを入力する入力手段、この入力手段により入力された命令データ及び数値データを格納すると共に、予め特定の命令文字列を設定記憶する記憶手段、上記入力手段により入力された上記命令文字列が上記記憶手段に設定記憶されている命令文字列と同一であるか否かを解釈する命令解釈手段、この命令解釈手段により上記命令文字列が予め設定記憶されている命令文字列と同一であると判断された際に、その命令文字列を有する命令データの上記パラメータ番号に基づいて、その命令データに対応する上記数値データを上記記憶手段から読み出すデータ管理手段、この管理手段により読み出された上記数値データを表示装置にその命令データと共に表示させる表示制御手段とから構成されており、表示制御手段により表示装置の表示画面上に命令データ及び数値データを表示させる際、その数値データに基づく制御対象物の姿勢をモデル化して表示するものである。
A “program creation device” disclosed in Patent Document 2 is also known.
The purpose of this is to create an operation program efficiently. When a line of an operation program created in the robot language is specified, if the command on that line is a movement command, the position data is written according to the specified parameter. The display and the robot model are displayed.
FIG. 8 is a display example 1 of the display screen of the “program creation device” disclosed in Patent Document 2, and FIG. 9 is a display example 2 of the display screen.
The present invention relates to an instruction character string indicating an instruction content and instruction data having a parameter number of numerical data corresponding to the instruction content; the input means for inputting the numerical data; the instruction data and the numerical value input by the input means Storage means for storing data and setting and storing a specific instruction character string in advance, whether or not the instruction character string input by the input means is the same as the instruction character string set and stored in the storage means Instruction interpreting means for interpreting the instruction character string, and when the instruction interpreting means determines that the instruction character string is the same as the instruction character string preset and stored, the parameter number of the instruction data having the instruction character string is set to Based on the data management means for reading out the numerical data corresponding to the command data from the storage means, the read out by the management means Display control means for displaying value data together with the command data on the display device, and when the command data and the numerical data are displayed on the display screen of the display device by the display control means, the control object based on the numerical data It models and displays the posture of an object.

図8において、23Aは表示装置が表示する表示画面、231は命令データを表示する命令ウインドウ、232は位置データを表示する位置ウインドウ、2311は操作者が注目している命令データの命令行である。
このようにカーソルにより注目行2311を移動指令の行へ移動すると、表示装置上に表示画面232が表示され位置データが表示されるようになる。
また、図9にの表示画面23Aおいては、動作プログラム231のうちの1つをカーソルで指示すると、その行2311が移動指令である際にモデルウインドウ234にパラメータに従ったロボットのモデルが表示されるようになる。
また、パラメータがロボットの稼動範囲内にあるかを評価し、問題がある場合は表示により通知するようにしている。
特開平1−250109号公報(第3図) 特許第3435954号(図3、図9)
In FIG. 8, 23A is a display screen displayed by the display device, 231 is a command window for displaying command data, 232 is a position window for displaying position data, and 2311 is a command line for command data in which the operator is paying attention. .
When the attention line 2311 is moved to the movement command line by the cursor in this way, the display screen 232 is displayed on the display device, and the position data is displayed.
On the display screen 23A shown in FIG. 9, when one of the operation programs 231 is designated with a cursor, the model of the robot according to the parameter is displayed in the model window 234 when the line 2311 is a movement command. Will come to be.
Also, it is evaluated whether the parameter is within the operating range of the robot, and if there is a problem, it is notified by display.
JP-A-1-250109 (FIG. 3) Japanese Patent No. 3435954 (FIGS. 3 and 9)

しかしながら、特許文献1により作成した動作プログラムの確認をシミュレーションを実行して行う方法では、シミュレーション実行とプログラム修正をロボットの動作に不都合がなくなるまで繰り返して行う必要があることや毎回動作プログラムの最初からシミュレーションを行うことから動作プログラム作成の効率が良いとは言えない。
また、特許文献2の指令パラメータをロボットの動作範囲テーブルを用いて評価する方法では、与えられたパラメータの一点のみを用いて評価を行うため、相対移動や相対速度変更など相対的な指令には対応できないといった問題及び、パラメータで与えた値は動作範囲に入っているが、実機を動作させると干渉等が発生して動作できないといった場合、実際に動作させるまで動作の不都合がわからないという問題がある。
本発明はこのような問題に鑑みてなされたものであり、ロボットの動作に不都合がでない動作プログラムを効率よく作成することができる動作プログラム作成支援方法および動作プログラム作成装置を提供することを目的とする。
However, in the method of confirming the operation program created according to Patent Document 1 by executing a simulation, it is necessary to repeatedly execute the simulation and the program correction until there is no problem in the operation of the robot. Since simulation is performed, it cannot be said that the efficiency of operation program creation is high.
In addition, in the method of evaluating the command parameters of Patent Document 2 using the robot motion range table, the evaluation is performed using only one point of the given parameters. Therefore, relative commands such as relative movement and relative speed change are not used. There is a problem that it is not possible to deal with, and the value given by the parameter is within the operating range, but if the actual machine is operated and interference etc. occur and it can not be operated, there is a problem that the inconvenience of operation is not known until it is actually operated .
The present invention has been made in view of such problems, and an object of the present invention is to provide an operation program creation support method and an operation program creation apparatus capable of efficiently creating an operation program that is not inconvenient for the operation of the robot. To do.

上記問題を解決するため、請求項1記載の発明は、動作プログラム作成支援方法に係り、GUIを使用してロボットへの指令を表すアイコン(グラフィカルシンボル)を動作順に配置していくことでロボットの動作プログラムを作成する動作プログラム作成装置の動作プログラム作成支援方法において、プログラム作成者が前記アイコンをプログラム上に配置したことを検出し、配置した前記アイコンまでの動作プログラムを前記ロボットに対応したシミュレーション部を用いて自動的にシミュレーションし、配置した前記アイコンが実行可能かどうかを結果評価部において評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知することで動作プログラム作成を支援することを特徴としている。
また、請求項2記載の発明は、請求項1記載の動作プログラム作成支援方法において、新たに前記アイコンが配置された際に、前記ロボットの関節角度や速度等のロボットの状態が特定できる位置まで前記動作プログラム上のアイコンを検索して遡り、前記ロボットの状態が特定できる位置から前記新たに配置されたアイコンまでを前記シミュレーション部によりシミュレーションを行うことを特徴としている。
また、請求項3記載の発明は、請求項1記載の動作プログラム作成支援方法において、最後に配置された前記アイコンで前記シミュレーション部によりシミュレーションした前記ロボットの状態を保持し、最後に配置された前記アイコンの次の位置に新たに前記ロボットへの指令を表すアイコンが配置された場合に、保持した前記ロボットの状態からシミュレーションを行いアイコン評価にかかる時間を短縮することを特徴としている。
また、請求項4記載の発明は、請求項1記載の動作プログラム作成支援方法において、前記動作プログラムの途中に前記アイコンが挿入された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から挿入した前記アイコンまでを前記シミュレーション部によってシミュレーションし、前記アイコンの挿入が可能かを前記結果評価部で評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知し、次に、挿入した前記アイコンから前記動作プログラムの最後に配置されているアイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを挿入することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することで動作プログラム作成を支援することを特徴としている。
また、請求項5記載の発明は、請求項1記載の動作プログラム作成支援方法において、前記動作プログラムの途中の前記アイコンが削除された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から前記プログラムの最後に配置されている前記アイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを削除することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することで動作プログラム作成を支援することを特徴としている。
また、請求項6記載の発明は、請求項1記載の動作プログラム作成支援方法において、前記シミュレーション部により得られた各アイコンでの前記ロボットの状態を、各アイコンに記録し、前記アイコンを編集した際の前記シミュレーション部によるシミュレーションに直前のアイコンに記録されたロボットの状態を使用することで、前記シミュレーションと前記結果評価部における評価に要する時間を短縮することを特徴としている。
また、請求項7記載の発明は、請求項1記載の動作プログラム作成支援方法において、前記アイコンがパラメータを要求するものである場合に、前記シミュレーション部と予め記憶部に記憶されているロボットの稼動範囲情報とから入力可能なパラメータ値の範囲を求め、前記プログラム作成者に対して前記GUIを通じて提示することで動作プログラム作成を支援することを特徴としている。
また、請求項8記載の発明は、動作プログラム作成装置に係り、GUIを使用してロボットへの指令を表すアイコン(グラフィカルシンボル)を動作順に配置していくことでロボットの動作プログラムを作成する動作プログラム作成装置において、プログラム作成者が前記アイコンをプログラム上に配置するプログラム作成部と、前記配置されたプログラムを検出し解釈する指令解釈部と、配置した前記アイコンまでの動作プログラムを前記ロボットに対応して自動的にシミュレーションするシミュレーション部と、配置した前記アイコンが実行可能かどうかを評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知する結果評価部と、を備えたことを特徴としている。
また、請求項9記載の発明は、請求項8記載の動作プログラム作成装置において、新たに前記アイコンが配置された際に、前記ロボットの関節角度や速度等のロボットの状態が特定できる位置まで前記動作プログラム上のアイコンを検索して遡るプログラム検索部を備え、前記ロボットの状態が特定できる位置から前記新たに配置されたアイコンまでを前記シミュレーション部によりシミュレーションを行うことを特徴としている。
また、請求項10記載の発明は、請求項8記載の動作プログラム作成装置において、最後に配置された前記アイコンで前記シミュレーション部によりシミュレーションした前記ロボットの状態を保持し、最後に配置された前記アイコンの次の位置に新たに前記ロボットへの指令を表すアイコンが配置された場合に、保持した前記ロボットの状態からシミュレーションを行うシミュレーション部を備えてアイコン評価にかかる時間を短縮することを特徴としている。
また、請求項11記載の発明は、請求項8記載の動作プログラム作成装置において、前記動作プログラムの途中に前記アイコンが挿入された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から挿入した前記アイコンまでを前記シミュレーション部によってシミュレーションし、前記アイコンの挿入が可能かを前記結果評価部で評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知し、次に、挿入した前記アイコンから前記動作プログラムの最後に配置されているアイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを挿入することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することを特徴としている。
また、請求項12記載の発明は、請求項8記載の動作プログラム作成装置において、前記動作プログラムの途中の前記アイコンが削除された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から前記プログラムの最後に配置されている前記アイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを削除することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することを特徴としている。
また、請求項13記載の発明は、請求項8記載の動作プログラム作成装置において、前記シミュレーション部により得られた各アイコンでの前記ロボットの状態を、各アイコンに記録し、前記アイコンを編集した際の前記シミュレーション部によるシミュレーションに直前のアイコンに記録されたロボットの状態を使用することで、前記シミュレーションと前記結果評価部における評価に要する時間を短縮することを特徴としている。
また、請求項14記載の発明は、請求項8記載の動作プログラム作成装置において、前記アイコンがパラメータを要求するものである場合に、前記シミュレーション部と予め記憶部に記憶されているロボットの稼動範囲情報とから入力可能なパラメータ値の範囲を求め、前記プログラム作成者に対して前記GUIを通じて提示することを特徴としている。
In order to solve the above-mentioned problem, the invention according to claim 1 relates to a motion program creation support method, wherein icons (graphical symbols) representing commands to the robot are arranged in the order of motion using a GUI. In an operation program creation support method of an operation program creation device for creating an operation program, the program creator detects that the icon has been arranged on the program, and a simulation unit corresponding to the robot detects the operation program up to the arranged icon The result evaluation unit evaluates whether or not the placed icon can be executed automatically, and supports the creation of an operation program by notifying the program creator of the evaluation result through the GUI. It is said.
According to a second aspect of the present invention, in the motion program creation support method according to the first aspect, when the icon is newly placed, the robot state such as the joint angle and speed of the robot can be specified. Searching for an icon on the operation program and going back, the simulation unit performs a simulation from a position where the state of the robot can be specified to the newly placed icon.
The invention according to claim 3 is the operation program creation support method according to claim 1, wherein the state of the robot simulated by the simulation unit with the icon arranged last is held, and the robot arranged last is used. When an icon representing a command to the robot is newly placed at the next position of the icon, a simulation is performed from the held state of the robot to reduce the time required for icon evaluation.
According to a fourth aspect of the present invention, in the motion program creation support method according to the first aspect, when the icon is inserted in the middle of the motion program, the state of the robot is specified from the position of the inserted icon. The operation program is traced back to a position where the operation can be performed, the icon inserted from the specified position is simulated by the simulation unit, the result evaluation unit evaluates whether the icon can be inserted, and the evaluation result is determined by the program creator. And through the GUI, then the simulation unit simulates from the inserted icon to the icon arranged at the end of the operation program, evaluates by the result evaluation unit, and inserts the icon If a problem occurs, the problem It is characterized by supporting the creation operation program by notifying via the GUI the configuration in the program creator.
According to a fifth aspect of the present invention, in the motion program creation support method according to the first aspect, when the icon in the middle of the motion program is deleted, the state of the robot is specified from the position of the inserted icon. The operation program is traced back to a position where it can be performed, the simulation unit simulates the position from the identified position to the icon arranged at the end of the program, the evaluation is performed by the result evaluation unit, and the icon is deleted. When a problem occurs, the operation program creation is supported by notifying the program creator through the GUI of the icon in which the problem occurs.
According to a sixth aspect of the present invention, in the operation program creation support method according to the first aspect, the state of the robot at each icon obtained by the simulation unit is recorded in each icon, and the icon is edited. The time required for the simulation and the evaluation in the result evaluation unit is shortened by using the state of the robot recorded in the immediately preceding icon for the simulation by the simulation unit.
According to a seventh aspect of the present invention, in the operation program creation support method according to the first aspect, when the icon requests a parameter, the operation of the robot stored in the simulation unit and the storage unit in advance is performed. A range of parameter values that can be input is obtained from the range information and presented to the program creator through the GUI to assist in creating an operation program.
According to an eighth aspect of the present invention, there is provided an operation program creating apparatus, wherein an operation (creating a robot operation program) is created by arranging icons (graphical symbols) representing commands to the robot in the order of operation using a GUI. In the program creation device, the program creator corresponds to the robot a program creation unit that places the icon on the program, a command interpretation unit that detects and interprets the placed program, and an operation program up to the placed icon And a simulation unit that automatically simulates, and a result evaluation unit that evaluates whether the arranged icon is executable and notifies the program creator of the evaluation result through the GUI. .
Further, the invention according to claim 9 is the operation program creation device according to claim 8, wherein when the icon is newly arranged, the robot state such as a joint angle and a speed of the robot can be specified. A program search unit that searches and searches for icons on the operation program is provided, and the simulation unit performs a simulation from a position where the state of the robot can be specified to the newly arranged icon.
Further, the invention described in claim 10 is the operation program creation device according to claim 8, wherein the state of the robot simulated by the simulation unit with the icon arranged last is held, and the icon arranged last is used. When a new icon representing a command to the robot is placed at the next position, a simulation unit that performs a simulation from the state of the held robot is provided to reduce the time required for icon evaluation .
In the motion program creation device according to claim 8, when the icon is inserted in the middle of the motion program, the state of the robot can be specified from the position of the inserted icon. The operation program is traced back to the position, the icon inserted from the identified position is simulated by the simulation unit, the result evaluation unit evaluates whether the icon can be inserted, and the evaluation result is sent to the program creator. Notifying through the GUI, then simulating from the inserted icon to the icon placed at the end of the operation program by the simulation unit, evaluating by the result evaluation unit, and inserting the icon If a problem occurs, the problem It is characterized by notifying through the GUI a on to the program creator.
According to a twelfth aspect of the present invention, in the motion program creation device according to the eighth aspect, when the icon in the middle of the motion program is deleted, the state of the robot can be specified from the position of the inserted icon. The operation program is traced back to the position, and the simulation unit simulates the position from the identified position to the icon arranged at the end of the program, evaluates by the result evaluation unit, and deletes the icon. When the problem occurs, an icon causing the problem is notified to the program creator through the GUI.
According to a thirteenth aspect of the present invention, in the motion program creating device according to the eighth aspect, when the state of the robot at each icon obtained by the simulation unit is recorded in each icon and the icon is edited By using the state of the robot recorded in the immediately preceding icon for the simulation by the simulation unit, the time required for the simulation and the evaluation in the result evaluation unit is shortened.
According to a fourteenth aspect of the present invention, in the operation program creating device according to the eighth aspect, when the icon requests a parameter, the operating range of the robot stored in the simulation unit and the storage unit in advance. A range of parameter values that can be input is obtained from the information and presented to the program creator through the GUI.

本発明によると、動作プログラムに入力時に動作に不都合の発生する指令を確実に知ることができ、効率良く動作プログラムを作成することができる。
また、ロボットの状態が確定する位置まで遡ってシミュレーションを実行するため、相対値をパラメータとする指令の場合でも指令実行の評価ができる。
また、動作プログラムの最初からシミュレーションを行う必要がないためシミュレーションに掛かる時間が短縮でき、効率よく動作プログラムを作成することができる。
また、シミュレーションによるロボットの状態を直前のアイコンに記録するため、シミュレーション実行時間を短縮でき、効率良く動作プログラムを作成することができる。
また、プログラムの途中へのアイコンの挿入や削除にもシミュレーションを自動的に実行するため動作に不都合のでるアイコンを知ることができる。
また、シミュレーションに直前のアイコンに記録されたロボットの状態を使用できるので、シミュレーションに要する時間を短縮でき、効率良く動作プログラムを作成することができる。
また、入力できるパラメータの範囲が提示されるため、効率よく動作プログラムを作成することができる。
According to the present invention, it is possible to surely know a command that causes an inconvenience in operation when the operation program is input, and an operation program can be created efficiently.
Further, since the simulation is executed retroactively to the position where the state of the robot is determined, the command execution can be evaluated even in the case of a command using a relative value as a parameter.
Further, since it is not necessary to perform a simulation from the beginning of the operation program, the time required for the simulation can be shortened, and the operation program can be created efficiently.
In addition, since the state of the robot by simulation is recorded in the immediately preceding icon, the simulation execution time can be shortened and an operation program can be created efficiently.
In addition, since the simulation is automatically executed when the icon is inserted or deleted in the middle of the program, it is possible to know an icon which is inconvenient for the operation.
Further, since the robot state recorded in the immediately preceding icon can be used for the simulation, the time required for the simulation can be shortened and an operation program can be efficiently created.
In addition, since a range of parameters that can be input is presented, an operation program can be created efficiently.

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

図1は本発明の実施例1に係る動作プログラム作成装置を示す構成図である。
図1において、1は本発明による動作プログラム作成支援方法を用いた動作プログラム作成装置である。11はプログラム作成部であり、アイコン(グラフィカルシンボル)を配置することによる動作プログラム作成の全般を制御するものである。13は指令解釈部であり、プログラム作成部11によって作成された動作プログラムを解釈し、シミュレーション部14へ指令を送るものである。指令解釈部13は動作プログラムの最初から解釈することや指定された途中の位置からの解釈も可能なものである。シミュレーション部14は、動作プログラムを解釈した指令解釈部13からの指令に従ってロボットの動作シミュレーションを行うものである。シミュレーション部14は指令解釈部13からの指令で動作した際、動作範囲の逸脱や干渉等が発生する場合は警告を発するものである。15は結果評価部であり、シミュレーション部14でのシミュレーションによる動作が問題なく行われたかをシミュレーション部14からの警告情報から評価し、その結果をプログラム作成部11に送るものである。16は記憶部であり、プログラム作成部11により作成された動作プログラムの記録やプログラム作成部11により使用される各種データ、例えばアイコンの形状データ等が記録されている。17はキーボードであり、プログラム作成部11の操作、例えばパラメータ値の入力等を行うものである。18はマウスであり、キーボード17と同様にプログラム作成部11の操作、例えばアイコンの配置等を行うものである。19は表示装置であり、プログラム作成部11により作成された動作プログラム等を表示するものである。
FIG. 1 is a block diagram showing an operation program creation device according to Embodiment 1 of the present invention.
In FIG. 1, reference numeral 1 denotes an operation program creation apparatus using an operation program creation support method according to the present invention. Reference numeral 11 denotes a program creation unit that controls the overall creation of an operation program by arranging icons (graphical symbols). A command interpretation unit 13 interprets the operation program created by the program creation unit 11 and sends a command to the simulation unit 14. The command interpretation unit 13 can be interpreted from the beginning of the operation program and can be interpreted from a designated halfway position. The simulation unit 14 performs an operation simulation of the robot in accordance with a command from the command interpretation unit 13 that has interpreted the operation program. When the simulation unit 14 operates in response to a command from the command interpretation unit 13, a warning is issued if a deviation or interference of the operation range occurs. Reference numeral 15 denotes a result evaluation unit, which evaluates whether or not the operation by the simulation in the simulation unit 14 has been performed without any problem from the warning information from the simulation unit 14 and sends the result to the program creation unit 11. Reference numeral 16 denotes a storage unit, which records the operation program created by the program creation unit 11 and various data used by the program creation unit 11, such as icon shape data. Reference numeral 17 denotes a keyboard for operating the program creation unit 11, for example, inputting parameter values. Reference numeral 18 denotes a mouse, which, like the keyboard 17, performs operations of the program creation unit 11, for example, icon placement. Reference numeral 19 denotes a display device that displays an operation program or the like created by the program creation unit 11.

図2は、作成された動作プログラムの表示の一例を示す図であり、表示装置19に表示される。
図2において複数配置された線で接続された箱は、動作プログラムの制御や
ロボットへの指令を表すアイコンである。例えば、図において、アイコンI1のBeginやI9のEndと表示されたアイコンは動作プログラムの開始と終了を表すアイコンであり、I2のRobotIDと表示されたアイコンは以下に続くアイコンが対象とするロボットを指定するアイコンである。
I3のSetSpd、I4とI8のMLeft、I5〜I7のMLinearと表示されたアイコンはロボットへの指令を表すアイコンであり、それぞれ、動作速度指令、関節角度指定による動作指令、直線補間による動作指令を表している。ロボットへの指令を表すアイコンには、速度や角度、座標等のパラメータを設定する必要がある。設定方法としては、各アイコンをクリックすることにより、パラメータ入力ウィンドウを表示し、パラメータを入力する等いくつかの方法がある。
指令解釈手段13は、このような動作プログラムのアイコンを線で接続された
順に解釈し、実行する。
FIG. 2 is a diagram showing an example of the display of the created operation program, which is displayed on the display device 19.
In FIG. 2, boxes connected by a plurality of arranged lines are icons representing control of the operation program and commands to the robot. For example, in the figure, the icons indicated by the icons I1 Begin and I9 End indicate the start and end of the operation program, and the icons indicated by the I2 Robot ID indicate the robot to which the following icon is the target. Icon to specify.
The icons displayed as SetSpd of I3, MLefts of I4 and I8, and MLinear of I5 to I7 are icons indicating commands to the robot, and are respectively an operation speed command, an operation command by specifying a joint angle, and an operation command by linear interpolation. Represents. It is necessary to set parameters such as speed, angle, and coordinates for an icon representing a command to the robot. As a setting method, there are several methods such as clicking on each icon to display a parameter input window and inputting a parameter.
The command interpreter 13 interprets and executes the icons of such operation programs in the order in which they are connected by lines.

図3は、動作プログラム作成装置において、動作プログラム作成を支援する主要部の処理手順を示すフローチャートである。以下、この図を用いて本発明の実施例1の処理を順を追って説明する。
まず、図2に示すような動作プログラム入力画面で、プログラム作成者がプログラム作成部11でアイコンを配置する(S1)。
配置されたアイコンが、移動指令や速度設定指令などのロボットの動作に関わるアイコンである場合(S2)、配置したアイコンの直前のアイコンまでを指令解釈部13で解釈し、シミュレーション部14を用いてシミュレーション実行する(S3)。
ここで、S2からS3はプログラム作成者がアイコンを配置した際にプログラム作成部11によって自動的に実行される。この段階では、ここには記述していない前回のシミュレーション実行によってエラーの無い事がわかっているため、結果の評価は特に行う必要はない。
次に、プログラム作成者が配置したアイコンに、プログラム作成部11を用いて関節角度や速度値といったパラメータを入力する(S4)。
配置したアイコンへのパラメータの入力が確定した際に、直前のアイコンから配置したアイコンへのシミュレーションを、指令解釈部13、シミュレーション部14を用いて行う(S5)。
S5もS2、S3と同様に自動的に行われる。
S5でシミュレーションした結果から動作範囲の逸脱や動作速度超過といったエラーの有無を結果評価部15を用いて評価する(S6)。
S6における評価において、シミュレーションによるエラーが無い場合、配置したアイコンは実機においても問題なく動作可能であるので、S1に戻り動作プログラム作成を継続する。S6の評価において、シミュレーションによるエラーが検出された場合、表示装置19に配置したアイコンが動作不可能な事やその理由を示すメッセージを表示する(S7)。このままでは、実行可能な動作プログラムとならないので、プログラム作成者はアイコンの削除やパラメータの再入力といったアイコンの編集を行う(S8)。
アイコンの編集がパラメータの再入力の場合はS4に戻り、実行継続される。また、配置したアイコンの削除、新たなアイコンの配置の場合、S1に戻り実行継続される(S9)。
このようにして、アイコン配置時にシミュレーションを行い、配置したアイコンが動作に不都合が無いことの検証が自動的に行われるので、動作に不都合の無い動作プログラムを効率良く作成することができる。
FIG. 3 is a flowchart showing a processing procedure of a main part that supports operation program creation in the operation program creation device. Hereinafter, the processing of the first embodiment of the present invention will be described step by step with reference to this figure.
First, on the operation program input screen as shown in FIG. 2, the program creator places an icon in the program creation unit 11 (S1).
When the arranged icon is an icon related to the operation of the robot such as a movement command or a speed setting command (S2), the command interpreting unit 13 interprets up to the icon immediately before the arranged icon, and uses the simulation unit 14. Simulation is executed (S3).
Here, S2 to S3 are automatically executed by the program creation unit 11 when the program creator places an icon. At this stage, since it is known that there is no error in the previous simulation execution not described here, it is not necessary to evaluate the result.
Next, parameters such as a joint angle and a speed value are input to the icons arranged by the program creator using the program creation unit 11 (S4).
When the input of parameters to the arranged icon is confirmed, a simulation from the immediately preceding icon to the arranged icon is performed using the command interpretation unit 13 and the simulation unit 14 (S5).
S5 is also automatically performed in the same manner as S2 and S3.
Based on the result of the simulation in S5, the result evaluation unit 15 is used to evaluate whether there is an error such as a deviation of the operation range or an excess of the operation speed (S6).
In the evaluation in S6, if there is no error due to simulation, the arranged icon can operate without any problem even in the actual machine, so the process returns to S1 and the operation program creation is continued. When an error due to simulation is detected in the evaluation of S6, a message indicating that the icon arranged on the display device 19 is inoperable and the reason is displayed (S7). Since the operation program is not executable as it is, the program creator edits the icon such as deleting the icon or re-entering the parameter (S8).
If the icon editing is a parameter re-input, the process returns to S4 and the execution is continued. If the arranged icon is deleted or a new icon is arranged, the process returns to S1 and continues to be executed (S9).
In this way, simulation is performed at the time of icon placement, and verification that the placed icons are not inconvenient in operation is automatically performed, so that an operation program without inconvenience in operation can be efficiently created.

以下、本発明の実施例2について図を参照して説明する。
図4は本発明の実施例2に係る動作プログラム作成装置を示す構成図である。
図4において、実施例1の図1と異なる構成は12のプログラム検索部が追加されたこと である。このプログラム検索部12は、プログラム作成部11で新たにアイコンが配置された際に、配置されたアイコン位置から動作プログラムを遡り、ロボットの関節角度や動作速度等の状態が確定するアイコンを検索する。
なお、その他の図1との同一構成であるプログラム作成部11、指令解釈部13、シミュレーション部14、結果評価部15、記憶部16、キーボード17、マウス18及び表示装置19については重複する説明は省略する。
Embodiment 2 of the present invention will be described below with reference to the drawings.
FIG. 4 is a block diagram showing an operation program creation apparatus according to Embodiment 2 of the present invention.
In FIG. 4, the configuration different from FIG. 1 of the first embodiment is that 12 program search units are added. When a new icon is arranged by the program creation unit 11, the program search unit 12 goes back to the operation program from the arranged icon position, and searches for an icon in which the state such as the joint angle and the operation speed of the robot is fixed. .
In addition, the description which overlaps about the program preparation part 11, the command interpretation part 13, the simulation part 14, the result evaluation part 15, the memory | storage part 16, the keyboard 17, the mouse | mouth 18, and the display apparatus 19 which are the same structures as FIG. Omitted.

図5は図4に示すプログラム作成装置の主要部の処理手順を示すフローチャートである。
以下、この図を用いて実施例2の処理を説明する。
まず、実施例1と同様にプログラム作成者がアイコンを配置する(S11)。
配置されたアイコンが、移動命令や速度設定指令等の動作に関わるアイコンの場合(S12)、プログラム検索部12を用いて、新たに配置されたアイコンから動作プログラムを遡り、ロボットの関節角度の絶対値や動作速度値が確定されるアイコンが検索される(S13)。
次に、プログラム検索部12により検索されたアイコンから新たに配置したアイコンの直前までが指令解釈部13に送られシミュレーション部14を用いてシミュレーションされる(S14)。
ここで、S12からS14は実施例1と同様にプログラム作成者がアイコンを配置した際に自動的に実行される。
次に、実施例1と同様に配置したアイコンにパラメータが入力されると(S15)、直前のアイコンから配置したアイコンへのシミュレーションが指令解釈部13とシミュレーション部14で実行される(S16)。
以下S17からS19や以降の処理は実施例1のS6からS8や以降の処理と同様である。
以上のようにして、アイコン配置時にロボットの状態を確定できるアイコン位置を検索し、その部分のみをシミュレーションすることでシミュレーションに要する時間の短縮が図れる。
また、ロボットの状態が確定する位置を検索するため相対移動指令を表すアイコンを配置した場合でもアイコンの評価が可能である。
FIG. 5 is a flowchart showing a processing procedure of a main part of the program creation device shown in FIG.
Hereinafter, the processing of the second embodiment will be described with reference to FIG.
First, the program creator arranges icons as in the first embodiment (S11).
When the arranged icon is an icon related to an operation such as a movement command or a speed setting command (S12), the program search unit 12 is used to trace the operation program from the newly arranged icon to determine the absolute joint angle of the robot. An icon for determining the value and the operation speed value is searched (S13).
Next, from the icon searched by the program search unit 12 to immediately before the newly placed icon is sent to the command interpretation unit 13 and simulated using the simulation unit 14 (S14).
Here, S12 to S14 are automatically executed when an icon is arranged by the program creator as in the first embodiment.
Next, when a parameter is input to the arranged icon as in the first embodiment (S15), a simulation from the immediately preceding icon to the arranged icon is executed by the command interpretation unit 13 and the simulation unit 14 (S16).
Hereinafter, S17 to S19 and subsequent processes are the same as S6 to S8 and subsequent processes of the first embodiment.
As described above, the time required for the simulation can be shortened by searching for the icon position where the state of the robot can be determined at the time of icon arrangement and simulating only that portion.
In addition, the icon can be evaluated even when an icon representing a relative movement command is arranged to search for a position where the state of the robot is determined.

図6は本発明の実施例3に係るプログラム作成装置の主要部の処理手順を示すフローチャートである。
以下、この図を用いて実施例3の処理を説明する。
まず、先の実施例と同様にプログラム作成者がアイコンを配置する(S21)。続けてアイコンにパラメータを入力する(S22)。
次に、配置されたアイコンが動作に関わるアイコンであるかを判定し(S23)、動作に関わらない場合S21に戻りアイコンの配置から継続実行する。動作に関わる場合、S24へ進み、記述しない前回のアイコン配置による後述のS26で記録されたシミュレーション上のロボットの最新状態から新たに配置されアイコンへのシミュレーションを実行する(S24)。
シミュレーション結果を評価し(S25)、シミュレーションにエラーが無い場合、シミュレーション部14内または他の何らかの手段により現在のロボットの状態を記録し(S26)、S21に戻りアイコンの配置から継続実行する。シミュレーションにエラーがあった場合は、先に示した実施例と同様の処理を行う。
以上の手順で処理を行うことにより、前に行ったシミュレーションの最新状態から新たに配置したアイコンのシミュレーションを行うので、シミュレーションにかかる時間が大幅に短縮でき、動作プログラム作成装置の反応速度の向上により動作プログラム作成の効率をあげることができる。
FIG. 6 is a flowchart showing the processing procedure of the main part of the program creation device according to Embodiment 3 of the present invention.
Hereinafter, the processing of the third embodiment will be described with reference to FIG.
First, as in the previous embodiment, the program creator arranges icons (S21). Subsequently, a parameter is input to the icon (S22).
Next, it is determined whether or not the arranged icon is an icon related to the operation (S23), and if it is not related to the operation, the process returns to S21 and continues from the icon arrangement. If it is related to the operation, the process proceeds to S24, and a simulation is performed on the newly arranged icon from the latest state of the robot on the simulation recorded in S26 described later by the previous icon arrangement not described (S24).
The simulation result is evaluated (S25). If there is no error in the simulation, the current robot state is recorded in the simulation unit 14 or by some other means (S26), and the process returns to S21 and continues from the icon arrangement. If there is an error in the simulation, the same processing as in the previous embodiment is performed.
By performing the process according to the above procedure, the newly placed icon is simulated from the latest state of the previous simulation, so the time required for the simulation can be greatly reduced and the response speed of the operation program creation device can be improved. The efficiency of creating an operation program can be increased.

以下、実施例4の処理として、動作プログラムの途中のアイコンが削除された場合や挿入された場合について説明する。
先ず、動作プログラムの途中のアイコンが削除された場合、削除されたアイコンの直前のアイコンから実施例2と同様にプログラム検索部12を用いてロボットの状態が確定できるアイコンを検索する。
次に、削除されたアイコンの直前のアイコンと直後のアイコンが接続されたり、削除したアイコンの位置に新たなアイコンが挿入されたりした場合、検索した結果得られたアイコンから動作プログラムの最後までを各部を用いてシミュレーションを実行し、結果評価部15により評価を行う。評価の結果、どのアイコンにおいても動作に不都合が無い場合、アイコン配置から継続実行する。評価の結果、何れかのアイコンにおいて動作に不都合が出る場合、不都合の出るアイコンと不都合の内容を表示装置19に表示する。
また、途中のアイコンを削除することなく、動作プログラムの途中にアイコンを挿入した場合も同様で、挿入したアイコンの直前の位置からプログラム検索部12を用いてロボットの状態を確定できるアイコンを検索する。
次に、検索した結果得られたアイコンから挿入したアイコンも含めて、動作プログラムの最後まで各部を用いてシミュレーションを行い、結果の評価を行う。以降の処理は前述の処理と同様である。
以上のようにすることで、動作プログラムの途中のアイコンが削除されたり、新たにアイコンが挿入された場合でも本発明の動作プログラム作成支援方法が発揮されるため、効率良く動作プログラムの作成を行うことができる。
また、実施例3におけるS26でロボットの状態をそれぞれのアイコンに行い、そのまま保持するようにし、削除や挿入を行ったアイコンの直前の動作に関わるアイコンに記録されたロボットの状態を用いてシミュレーションを行うことで、プログラム検索部による検索にかかる時間を短縮することができ、動作プログラム作成装置の反応速度の向上により動作プログラム作成の効率をあげることができる。
Hereinafter, as a process according to the fourth embodiment, a case where an icon in the middle of the operation program is deleted or inserted will be described.
First, when an icon in the middle of the operation program is deleted, an icon that can determine the state of the robot is searched from the icon immediately before the deleted icon using the program search unit 12 as in the second embodiment.
Next, when the icon immediately before and after the deleted icon is connected, or when a new icon is inserted at the position of the deleted icon, the icon from the search result to the end of the operation program. A simulation is executed using each unit, and the result evaluation unit 15 performs evaluation. As a result of the evaluation, if there is no inconvenience in the operation of any icon, execution is continued from the icon arrangement. As a result of the evaluation, when an operation is inconvenient for any of the icons, the inconvenient icon and the inconvenient content are displayed on the display device 19.
The same applies to the case where an icon is inserted in the middle of the operation program without deleting the intermediate icon, and an icon that can determine the state of the robot is searched using the program search unit 12 from the position immediately before the inserted icon. .
Next, a simulation is performed using each part to the end of the operation program including the icon inserted from the icons obtained as a result of the search, and the result is evaluated. The subsequent processing is the same as the processing described above.
As described above, since the operation program creation support method of the present invention can be exhibited even when an icon in the middle of the operation program is deleted or a new icon is inserted, the operation program is efficiently created. be able to.
Further, in S26 in the third embodiment, the robot state is set for each icon and is held as it is, and a simulation is performed using the robot state recorded in the icon related to the operation immediately before the icon that has been deleted or inserted. By doing so, the time required for the search by the program search unit can be shortened, and the operation program creation efficiency can be increased by improving the reaction speed of the operation program creation device.

以上、述べたようにすることで動作プログラムを効率良く作成することができるが、さらに、先に示した実施例のように新たにアイコンを配置した場合に、その直前の動作に関わるアイコンでのシミュレーションによるロボットの状態(各関節角度や手先の位置、姿勢、設定速度)と予め記憶部16に保存されたロボットの動作範囲情報とを使用し、動作に関わるアイコンへのパラメータ入力の際に入力可能な値の範囲をプログラム作成者に対して、表示装置19を通して提示することが可能となる。例えば、アイコンが関節角度の絶対値入力による移動指令を表す場合は、動作範囲情報に保存された各関節の動作範囲を提示する。また、関節角度の相対値入力による移動指令を表す場合は、シミュレーションによる直前のロボットの現在の各関節角度と動作範囲情報から相対値として入力可能な値を提示する。その範囲を求める方法は、例えば、動作範囲情報の+側最大角度から現在の角度を減算することで+側に入力可能な最大値が、−側最大角度(符号付)から現在の角度を減算することで−側に入力可能な最大値を得ることができる。速度等も同様にして範囲を提示することができる。
このようにパラメータ入力時に入力可能なパラメータの範囲を提示することで、より効率的に動作プログラムの作成を行うことができる。
As described above, it is possible to efficiently create an operation program as described above. Furthermore, when an icon is newly arranged as in the above-described embodiment, an icon related to the immediately preceding operation is displayed. Using the robot state (each joint angle, hand position, posture, and set speed) by simulation and the robot motion range information stored in the storage unit 16 in advance, input the parameters for the icons related to the motion. The range of possible values can be presented to the program creator through the display device 19. For example, when the icon represents a movement command by inputting an absolute value of the joint angle, the motion range of each joint stored in the motion range information is presented. When a movement command is input by inputting a relative value of the joint angle, a value that can be input as a relative value is presented from each joint angle and the motion range information of the robot immediately before the simulation. For example, the range can be obtained by subtracting the current angle from the maximum angle that can be input to the + side by subtracting the current angle from the maximum angle on the + side of the motion range information, and subtracting the current angle from the maximum angle (signed). By doing so, the maximum value that can be input to the minus side can be obtained. The range of speed and the like can be presented in the same manner.
Thus, by presenting a range of parameters that can be input at the time of parameter input, an operation program can be created more efficiently.

本発明の実施例1に係るプログラム作成装置の構成を示す図である。It is a figure which shows the structure of the program preparation apparatus which concerns on Example 1 of this invention. 図1に示すプログラム作成装置の表示の一例を示す図である。It is a figure which shows an example of a display of the program creation apparatus shown in FIG. 図1に示すプログラム作成装置の主要部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the principal part of the program creation apparatus shown in FIG. 本発明の実施例2に係るプログラム作成装置の構成を示す図である。It is a figure which shows the structure of the program preparation apparatus which concerns on Example 2 of this invention. 図4に示すプログラム作成装置の主要部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the principal part of the program creation apparatus shown in FIG. 本発明の実施例3に係るプログラム作成装置の主要部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the principal part of the program preparation apparatus which concerns on Example 3 of this invention. 従来のロボットのシミュレーション装置の表示画面を示す図である。It is a figure which shows the display screen of the simulation apparatus of the conventional robot. 従来のプログラム作成装置の表示画面を示す図である。It is a figure which shows the display screen of the conventional program creation apparatus. 図8に示す表示画面のロボットモデルを示す図である。It is a figure which shows the robot model of the display screen shown in FIG.

符号の説明Explanation of symbols

1 プログラム作成装置
11 プログラム作成部
12 プログラム検索部
13 指令解釈部
14 シミュレーション部
15 結果評価部
16 記憶部
17 キーボード
18 マウス
19 表示装置
DESCRIPTION OF SYMBOLS 1 Program creation apparatus 11 Program creation part 12 Program search part 13 Command interpretation part 14 Simulation part 15 Result evaluation part 16 Memory | storage part 17 Keyboard 18 Mouse 19 Display apparatus

Claims (14)

グラフィカルユーザインターフェース(以下、GUI)を使用してロボットへの指令を表すアイコン(グラフィカルシンボル)を動作順に配置していくことでロボットの動作プログラムを作成する動作プログラム作成装置の動作プログラム作成支援方法において、
プログラム作成者が前記アイコンをプログラム上に配置したことを検出し、配置した前記アイコンまでの動作プログラムを前記ロボットに対応したシミュレーション部を用いて自動的にシミュレーションし、配置した前記アイコンが実行可能かどうかを結果評価部において評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知することにより動作プログラム作成を支援することを特徴とする動作プログラム作成支援方法。
In an operation program creation support method for an operation program creation apparatus that creates an operation program for a robot by arranging icons (graphical symbols) representing commands to the robot in the order of operation using a graphical user interface (hereinafter, GUI) ,
Is it possible to detect that the program creator has placed the icon on the program, automatically simulate the operation program up to the placed icon using a simulation unit corresponding to the robot, and execute the placed icon? An operation program creation support method characterized in that a result evaluation unit evaluates whether or not and the operation result creation is supported by notifying the program creator of the evaluation result through the GUI.
新たに前記アイコンが配置された際に、前記ロボットの関節角度や速度等のロボットの状態が特定できる位置まで前記動作プログラム上のアイコンを検索して遡り、前記ロボットの状態が特定できる位置から前記新たに配置されたアイコンまでを前記シミュレーション部によりシミュレーションを行うことを特徴とする請求項1記載の動作プログラム作成支援方法。   When the icon is newly arranged, the icon on the operation program is searched and traced back to a position where the robot state such as the joint angle and speed of the robot can be specified, and the robot state can be specified from the position where the robot state can be specified. The operation program creation support method according to claim 1, wherein the simulation unit performs simulation up to a newly arranged icon. 最後に配置された前記アイコンで前記シミュレーション部によりシミュレーションした前記ロボットの状態を保持し、最後に配置された前記アイコンの次の位置に新たに前記ロボットへの指令を表すアイコンが配置された場合に、保持した前記ロボットの状態からシミュレーションを行いアイコン評価に掛かる時間を短縮することを特徴とする請求項1記載の動作プログラム作成支援方法。   When the state of the robot simulated by the simulation unit is held with the last placed icon, and an icon representing a command to the robot is newly placed at a position next to the last placed icon 2. The operation program creation support method according to claim 1, wherein a simulation is performed from the held state of the robot to reduce time required for icon evaluation. 前記動作プログラムの途中に前記アイコンが挿入された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から挿入した前記アイコンまでを前記シミュレーション部によってシミュレーションし、前記アイコンの挿入が可能かを前記結果評価部で評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知し、次に、挿入した前記アイコンから前記動作プログラムの最後に配置されているアイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを挿入することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することで動作プログラム作成を支援することを特徴とする請求項1記載の動作プログラム作成支援方法。   When the icon is inserted in the middle of the operation program, the operation program is traced back to a position where the state of the robot can be specified from the position of the inserted icon, and the simulation is performed from the specified position to the inserted icon. The result evaluation unit evaluates whether the icon can be inserted, notifies the program creator of the evaluation result through the GUI, and then places the icon from the inserted icon at the end of the operation program. If a problem occurs by inserting the icon, the icon that causes the problem is passed to the program creator through the GUI. Make an operation program by notifying Operation program creation supporting method of claim 1, wherein the supporting. 前記動作プログラムの途中の前記アイコンが削除された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から前記プログラムの最後に配置されている前記アイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを削除することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することで動作プログラム作成を支援することを特徴とする請求項1記載の動作プログラム作成支援方法。   When the icon in the middle of the operation program is deleted, the operation program is traced back to the position where the state of the robot can be specified from the position of the inserted icon, and is arranged at the end of the program from the specified position. When a problem occurs by simulating the icon up to the icon, performing evaluation by the result evaluation unit, and deleting the icon, the icon in which the problem occurs is notified to the program creator through the GUI. The operation program creation support method according to claim 1, wherein the operation program creation is supported. 前記シミュレーション部により得られた各アイコンでの前記ロボットの状態を、各アイコンに記録し、前記アイコンを編集した際の前記シミュレーション部によるシミュレーションに直前のアイコンに記録されたロボットの状態を使用することで、前記シミュレーションと前記結果評価部における評価に要する時間を短縮することを特徴とする請求項1記載の動作プログラム作成支援方法。   The state of the robot at each icon obtained by the simulation unit is recorded in each icon, and the state of the robot recorded in the immediately preceding icon is used for simulation by the simulation unit when the icon is edited The operation program creation support method according to claim 1, wherein a time required for the evaluation in the simulation and the result evaluation unit is shortened. 前記アイコンがパラメータを要求するものである場合に、前記シミュレーション部と予め記憶部に記憶されているロボットの稼動範囲情報とから入力可能なパラメータ値の範囲を求め、前記プログラム作成者に対して前記GUIを通じて提示することで動作プログラム作成を支援することを特徴とする請求項1記載の動作プログラム作成支援方法。   When the icon requests a parameter, a range of parameter values that can be input from the simulation unit and robot operating range information stored in advance in the storage unit is determined, and the program creator is The operation program creation support method according to claim 1, wherein the operation program creation is supported by presenting through a GUI. GUIを使用してロボットへの指令を表すアイコン(グラフィカルシンボル)を動作順に配置していくことでロボットの動作プログラムを作成する動作プログラム作成装置において、プログラム作成者が前記アイコンをプログラム上に配置するプログラム作成部と、前記配置されたプログラムを検出し解釈する指令解釈部と、配置した前記アイコンまでの動作プログラムを前記ロボットに対応して自動的にシミュレーションするシミュレーション部と、配置した前記アイコンが実行可能かどうかを評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知する結果評価部と、を備えたことを特徴とする動作プログラム作成装置。   In an operation program creation apparatus that creates an operation program for a robot by arranging icons (graphical symbols) representing instructions to the robot in the order of operation using a GUI, the program creator places the icon on the program. A program creation unit, a command interpretation unit that detects and interprets the arranged program, a simulation unit that automatically simulates an operation program up to the arranged icon corresponding to the robot, and the arranged icon executes An operation program creation device comprising: a result evaluation unit that evaluates whether or not it is possible and notifies the program creator of the evaluation result through the GUI. 新たに前記アイコンが配置された際に、前記ロボットの関節角度や速度等のロボットの状態が特定できる位置まで前記動作プログラム上のアイコンを検索して遡るプログラム検索部を備え、前記ロボットの状態が特定できる位置から前記新たに配置されたアイコンまでを前記シミュレーション部によりシミュレーションを行うことを特徴とする請求項8記載の動作プログラム作成装置。   When the icon is newly arranged, a program search unit for searching for an icon on the operation program to a position where the robot state such as the joint angle and speed of the robot can be specified is traced back. The operation program creating apparatus according to claim 8, wherein the simulation unit performs a simulation from an identifiable position to the newly arranged icon. 最後に配置された前記アイコンで前記シミュレーション部によりシミュレーションした前記ロボットの状態を保持し、最後に配置された前記アイコンの次の位置に新たに前記ロボットへの指令を表すアイコンが配置された場合に、保持した前記ロボットの状態からシミュレーションを行うシミュレーション部を備えてアイコン評価にかかる時間を短縮することを特徴とする請求項8記載の動作プログラム作成装置。   When the state of the robot simulated by the simulation unit is held with the last placed icon, and an icon representing a command to the robot is newly placed at a position next to the last placed icon The operation program creation device according to claim 8, further comprising a simulation unit that performs simulation from the state of the robot that is held to reduce time required for icon evaluation. 前記動作プログラムの途中に前記アイコンが挿入された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から挿入した前記アイコンまでを前記シミュレーション部によってシミュレーションし、前記アイコンの挿入が可能かを前記結果評価部で評価し、評価結果を前記プログラム作成者に前記GUIを通じて通知し、次に、挿入した前記アイコンから前記動作プログラムの最後に配置されているアイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを挿入することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することを特徴とする請求項8記載の動作プログラム作成装置。   When the icon is inserted in the middle of the operation program, the operation program is traced back to a position where the state of the robot can be specified from the position of the inserted icon, and the simulation is performed from the specified position to the inserted icon. The result evaluation unit evaluates whether the icon can be inserted, notifies the program creator of the evaluation result through the GUI, and then places the icon from the inserted icon at the end of the operation program. If a problem occurs by inserting the icon, the icon that causes the problem is passed to the program creator through the GUI. Claims to be notified Operation program creating device as claimed. 前記動作プログラムの途中の前記アイコンが削除された場合、前記挿入されたアイコンの位置から前記ロボットの状態が特定できる位置まで前記動作プログラムを遡り、特定できた位置から前記プログラムの最後に配置されている前記アイコンまでを前記シミュレーション部によりシミュレーションし、前記結果評価部により評価を行い、前記アイコンを削除することで問題の発生する場合、その問題の発生するアイコンを前記プログラム作成者に前記GUIを通じて通知することを特徴とする請求項8記載の動作プログラム作成作成装置。   When the icon in the middle of the operation program is deleted, the operation program is traced back to the position where the state of the robot can be specified from the position of the inserted icon, and is arranged at the end of the program from the specified position. When a problem occurs by simulating the icon up to the icon, performing evaluation by the result evaluation unit, and deleting the icon, the icon in which the problem occurs is notified to the program creator through the GUI. The operation program creation / creation apparatus according to claim 8. 前記シミュレーション部により得られた各アイコンでの前記ロボットの状態を、各アイコンに記録し、前記アイコンを編集した際の前記シミュレーション部によるシミュレーションに直前のアイコンに記録されたロボットの状態を使用することで、前記シミュレーションと前記結果評価部における評価に要する時間を短縮することを特徴とする請求項8記載の動作プログラム作成装置。   The state of the robot at each icon obtained by the simulation unit is recorded in each icon, and the state of the robot recorded in the immediately preceding icon is used for simulation by the simulation unit when the icon is edited The operation program creation device according to claim 8, wherein a time required for the evaluation in the simulation and the result evaluation unit is shortened. 前記アイコンがパラメータを要求するものである場合に、前記シミュレーション部と予め記憶部に記憶されているロボットの稼動範囲情報とから入力可能なパラメータ値の範囲を求め、前記プログラム作成者に対して前記GUIを通じて提示することを特徴とする請求項8記載の動作プログラム作成装置。   When the icon requests a parameter, a range of parameter values that can be input from the simulation unit and robot operating range information stored in advance in the storage unit is determined, and the program creator is The operation program creating apparatus according to claim 8, wherein the operation program creating apparatus is presented through a GUI.
JP2006329166A 2006-12-06 2006-12-06 Operation program preparation supporting method and operation program preparing device Pending JP2008142788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006329166A JP2008142788A (en) 2006-12-06 2006-12-06 Operation program preparation supporting method and operation program preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006329166A JP2008142788A (en) 2006-12-06 2006-12-06 Operation program preparation supporting method and operation program preparing device

Publications (1)

Publication Number Publication Date
JP2008142788A true JP2008142788A (en) 2008-06-26

Family

ID=39603530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006329166A Pending JP2008142788A (en) 2006-12-06 2006-12-06 Operation program preparation supporting method and operation program preparing device

Country Status (1)

Country Link
JP (1) JP2008142788A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101201231B1 (en) 2011-01-03 2012-11-15 동명대학교산학협력단 Educating Game robot system available of programming and robot game method thereof
US9612727B2 (en) 2013-04-02 2017-04-04 Toyota Jidosha Kabushiki Kaisha Task changing apparatus, task changing method, and task changing program
CN109001986A (en) * 2018-09-20 2018-12-14 南京邮电大学 A kind of networking flexible mechanical arm control emulation platform and its working method
JP2020121389A (en) * 2019-01-31 2020-08-13 セイコーエプソン株式会社 Control device, robot system and display method
WO2021125192A1 (en) 2019-12-17 2021-06-24 川崎重工業株式会社 Offline programming device and offline programming method
WO2023112772A1 (en) * 2021-12-13 2023-06-22 川崎重工業株式会社 Robot programming assistance device, robot programming assistance program, and robot programming assistance method
WO2023127056A1 (en) * 2021-12-27 2023-07-06 ファナック株式会社 Simulation device for robot or machine tool

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101201231B1 (en) 2011-01-03 2012-11-15 동명대학교산학협력단 Educating Game robot system available of programming and robot game method thereof
US9612727B2 (en) 2013-04-02 2017-04-04 Toyota Jidosha Kabushiki Kaisha Task changing apparatus, task changing method, and task changing program
CN109001986A (en) * 2018-09-20 2018-12-14 南京邮电大学 A kind of networking flexible mechanical arm control emulation platform and its working method
JP2020121389A (en) * 2019-01-31 2020-08-13 セイコーエプソン株式会社 Control device, robot system and display method
JP7255210B2 (en) 2019-01-31 2023-04-11 セイコーエプソン株式会社 Control device, robot system, and display method
WO2021125192A1 (en) 2019-12-17 2021-06-24 川崎重工業株式会社 Offline programming device and offline programming method
WO2023112772A1 (en) * 2021-12-13 2023-06-22 川崎重工業株式会社 Robot programming assistance device, robot programming assistance program, and robot programming assistance method
WO2023127056A1 (en) * 2021-12-27 2023-07-06 ファナック株式会社 Simulation device for robot or machine tool

Similar Documents

Publication Publication Date Title
EP1310844B1 (en) Simulation device
JP2008142788A (en) Operation program preparation supporting method and operation program preparing device
JP2019084664A (en) Programming assist device, robot system, and program generating method
US10534349B2 (en) Machining program editing apparatus, method, and storage medium
JP2003241807A (en) Robot control unit
JP4329248B2 (en) NC machining simulation equipment
JP2002091523A (en) Automatic programming simulation device
JP2015231640A (en) Robot operation path checking device, robot system, robot operation path checking method, program and recording medium
JP2015098076A (en) Robot program creation method, robot program creation device, program, and recording medium
US20060085783A1 (en) Multi-process display method in debugger system
JP4731335B2 (en) ASSEMBLY EVALUATION METHOD, SYSTEM, AND PROGRAM
CN110737244A (en) Numerical controller and data editing method
JP2016164751A (en) Simulation program generating device, simulation program generating method, and program
JP2017102766A (en) Numerical control device
JP5026925B2 (en) Control program creation device and control program creation method
JP3805776B2 (en) Graphical programming device and programmable display
JP6460692B2 (en) Robot system, robot system control method, teaching apparatus, teaching apparatus control method, program, and recording medium
JP6337810B2 (en) Information processing apparatus, information processing method, and program
JP2009070181A (en) Operation program creation support system
JP4198374B2 (en) Equipment simulation method and equipment simulation program
JP2008165324A (en) Program creation support device
JP4771831B2 (en) Graphic display program and graphic display method
JP2003303213A (en) Design work supporting apparatus
JP2012014560A (en) Graphic editing program, graphic editing method and graphic editing apparatus
JP6557036B2 (en) Simulation device