JP2008142788A - Operation program preparation supporting method and operation program preparing device - Google Patents
Operation program preparation supporting method and operation program preparing device Download PDFInfo
- 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
Links
Images
Abstract
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
FIG. 7 is a display example of the display screen of the “robot simulation device” disclosed in
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
In this way, according to
また、特許文献2に開示の「プログラム作成装置」も公知である。
これは、動作プログラムの効率的な作成を目的とするもので、ロボット言語により作成した動作プログラムの行を指定すると、その行の指令が移動指令であった場合、指定されたパラメータに従って位置データの表示やロボットのモデルを表示するものである。
図8は特許文献2に開示の「プログラム作成装置」の表示画面の表示例1であり、図9は同じく表示画面の表示例2である。
この発明は、命令内容を示す命令文字列及びその命令内容に対応する数値データのパラメータ番号を有する命令データと、上記数値データとを入力する入力手段、この入力手段により入力された命令データ及び数値データを格納すると共に、予め特定の命令文字列を設定記憶する記憶手段、上記入力手段により入力された上記命令文字列が上記記憶手段に設定記憶されている命令文字列と同一であるか否かを解釈する命令解釈手段、この命令解釈手段により上記命令文字列が予め設定記憶されている命令文字列と同一であると判断された際に、その命令文字列を有する命令データの上記パラメータ番号に基づいて、その命令データに対応する上記数値データを上記記憶手段から読み出すデータ管理手段、この管理手段により読み出された上記数値データを表示装置にその命令データと共に表示させる表示制御手段とから構成されており、表示制御手段により表示装置の表示画面上に命令データ及び数値データを表示させる際、その数値データに基づく制御対象物の姿勢をモデル化して表示するものである。
A “program creation device” disclosed in
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
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にパラメータに従ったロボットのモデルが表示されるようになる。
また、パラメータがロボットの稼動範囲内にあるかを評価し、問題がある場合は表示により通知するようにしている。
When the
On the
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.
しかしながら、特許文献1により作成した動作プログラムの確認をシミュレーションを実行して行う方法では、シミュレーション実行とプログラム修正をロボットの動作に不都合がなくなるまで繰り返して行う必要があることや毎回動作プログラムの最初からシミュレーションを行うことから動作プログラム作成の効率が良いとは言えない。
また、特許文献2の指令パラメータをロボットの動作範囲テーブルを用いて評価する方法では、与えられたパラメータの一点のみを用いて評価を行うため、相対移動や相対速度変更など相対的な指令には対応できないといった問題及び、パラメータで与えた値は動作範囲に入っているが、実機を動作させると干渉等が発生して動作できないといった場合、実際に動作させるまで動作の不都合がわからないという問題がある。
本発明はこのような問題に鑑みてなされたものであり、ロボットの動作に不都合がでない動作プログラムを効率よく作成することができる動作プログラム作成支援方法および動作プログラム作成装置を提供することを目的とする。
However, in the method of confirming the operation program created according to
In addition, in the method of evaluating the command parameters of
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
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
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
Further, the invention described in
In the motion program creation device according to
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
In FIG. 1,
図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
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
図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
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
S5 is also automatically performed in the same manner as S2 and S3.
Based on the result of the simulation in S5, the
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
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については重複する説明は省略する。
FIG. 4 is a block diagram showing an operation program creation apparatus according to
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
In addition, the description which overlaps about the program preparation part 11, the
図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
Next, from the icon searched by the
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
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
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
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
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
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
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
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 プログラム作成装置
11 プログラム作成部
12 プログラム検索部
13 指令解釈部
14 シミュレーション部
15 結果評価部
16 記憶部
17 キーボード
18 マウス
19 表示装置
DESCRIPTION OF
Claims (14)
プログラム作成者が前記アイコンをプログラム上に配置したことを検出し、配置した前記アイコンまでの動作プログラムを前記ロボットに対応したシミュレーション部を用いて自動的にシミュレーションし、配置した前記アイコンが実行可能かどうかを結果評価部において評価し、評価結果を前記プログラム作成者に前記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.
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)
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 |
-
2006
- 2006-12-06 JP JP2006329166A patent/JP2008142788A/en active Pending
Cited By (8)
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 |