JP2004259112A - Evaluation system, evaluation method, and motion controller - Google Patents

Evaluation system, evaluation method, and motion controller Download PDF

Info

Publication number
JP2004259112A
JP2004259112A JP2003050792A JP2003050792A JP2004259112A JP 2004259112 A JP2004259112 A JP 2004259112A JP 2003050792 A JP2003050792 A JP 2003050792A JP 2003050792 A JP2003050792 A JP 2003050792A JP 2004259112 A JP2004259112 A JP 2004259112A
Authority
JP
Japan
Prior art keywords
motion
programmable controller
controller
program
actual operation
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
JP2003050792A
Other languages
Japanese (ja)
Inventor
Kenichiro Mori
健一郎 森
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2003050792A priority Critical patent/JP2004259112A/en
Publication of JP2004259112A publication Critical patent/JP2004259112A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an evaluation system for improving verification accuracy of designing a facility control system and effectively conducting tests on software of the control system. <P>SOLUTION: A PLC 20 and a simulator 15 are connected to a control network 50. The PLC is provided with a CPU unit 21 mounted with a user program for an actual machine, and a motion control unit 23 mounted with a motion program for the actual machine. The motion controller is provided with a delay time Δt based on a time difference between an ideal operation and an actual operation, executes the motion program based on a start instruction given along with execution of the user program, outputs positional data according to an ideal value, and also outputs a positioning complete notice estimating an actual operation based on the delay time. The simulator performs simulation based on the positional data. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、評価用システム及び評価方法並びにモーションコントローラに関するものである。
【0002】
【従来の技術】
例えば、生産工場に設置するFAシステムを構築する場合、生産対象にあわせてどうような装置構成を設計したり、各装置,機器の仕様や動作タイミングを規定するタイムチャートなどを作成した(企画設計フェーズ)後、各装置を動作させるためのプログラムなどの開発を行う。すなわち、PLCを動作させるためのユーザプログラムをラダー言語で作成したり、モーションコントローラを動作させるためのモーションプログラムを作成したり、ロボットを動作させるためのプログラムをロボット言語で作成したりする(実装フェーズ)。
【0003】
そして、この実装フェーズにて作成したソフトウェア等の設計が正しく、かつ機器,モータ選定などにより妥当な設計になっているかは、実装フェーズの次の設計検証フェーズで行う。この設計検証フェーズでは、計算値を求めて机上検証を行うものであった。
【0004】
そして、このようにして作成したプログラムが正常に動作するかの検証を行う。この検証は、通常現場での調整フェーズで行う。すなわち、使用する実機を用意し、実際に各位置に配置するとともに制御ネットワークに接続する。そして、PLCやモーションコントローラ等に対しては、作成したプログラムをダウンロードする。この状態で実際に各プログラムを動作させて検証を行い、不具合が生じた場合には、適宜調整を行うことになる。
【0005】
従って、現場での調整フェーズを実行する際には、各種プログラムのソフトウェアと、実機のハードウェアの両方がそろっている必要がある。その結果、フトウェアが完成してもハードウェアが完成・調達できていないと検証はできない。また、実際の設備がない時期に事前にソフトウェアのテストや設計の検証を精度よく行いたいという要求はあるが、上記のように実機でのテストを必須とすると事前検証ができず、結果として設計から実際のシステム立ち上げまでにかかる時間が長期化してしまう。
【0006】
一方、事前に検証する方法として、一般に各種のシミュレーションを行うことがある。そして、制御システムを対象とした検証用シミュレーションシステムは、シミュレータ上の仮想メカやロボットの動作をシミュレーション言語で記述し、仮想的にPLCのI/O動作を確認するようにしたものがある。なお、従来のこの種の公知文献としては、例えば特許文献1に開示された機器制御プログラムの開発支援システム及び開発支援方法があった。
【0007】
【特許文献1】
特開平10−143221号
【0008】
【発明が解決しようとする課題】
しかしながら、実際のPLCやモーションコントローラで使う制御言語は、ラダー言語であったり、G言語やモーション用の独自言語なので、シミュレーションの際に使用するプログラム言語とは異なるため、実際に動くプログラムでのタイミングを精度よく検証することや制御プログラムの正常,異常動作テストには使えなかった。そのため、設計用のシミュレーションシステムと実システムが別プログラムとなるため、データ入力やプログラム開発の2度手間が発生したり、課題ごとに部分的に利用するしかなかった。
【0009】
またシミュレーション言語やタイミングチャートからプログラムを自動生成する方法は、本発明の目的とする制御プログラムに100%変換できるものではないため、利用は部分的なものにとどまっていた。
【0010】
さらにまた、分散制御構成では、ネットワークの通信時間がタイミングに影響を与え、PLCやロボット間のロジックやタクトタイムが影響を受ける。しかし、リアルタイム通信を含めてシミュレーションすることは工数が大きく実用的でなかった。そのため、従来のシミュレーションでは、FAシステムの設計・構築に際しては、実用に供し得ることはできなかった。
【0011】
この発明は、設備制御システム設計の検証の精度を向上し、制御システムのソフトウェアのテストを効率よく行うことのできる評価用システム及び評価方法並びにモーションコントローラを提供することを目的とする。
【0012】
【課題を解決するための手段】
この発明による評価用システムでは、制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラとを備え、前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラに対して出力する手段を有し、前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力してモーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有するようにした。
【0013】
ここで、「理想動作と実際動作との時間差」は、モーションコントローラが被制御機器に対して一連の動作をさせる場合の、理想動作の動作開始から動作終了と、実際動作の動作開始から動作終了までの時間の差である。実施の形態では、図4に示すΔtに対応する。また、一連の動作とは、ある動作開始からある動作終了までのことをいう。例えば、速度が生じてから速度がゼロになるまでの間の動作で、図4でいうと動作開始する台形の左下から動作停止する台形の右下までのことである。もちろん、一連の動作として▲1▼加速段階の動作、▲2▼定速動作、▲3▼減速動作などと細分化してもよい。つまり図4でいうと、それぞれ▲1▼台形の左の直角三角形部分、▲2▼真ん中の長方形部分、▲3▼右の直角三角形部分となる。
【0014】
「遅れ時間情報を推定する」とは、実際には所定の計算式によって求めることになる。例えば、負荷慣性,慣性モーメントを算出する(375/GD2)(1/S)により求めることができる。さらに、完了通知は、実際の被制御機器の負荷などを考慮した実動作を想定して、仮想的に計算式で求めた完了タイミングになった時点を知らせるための通知である。具体的には、たとえは理想動作の完了時点から、遅れ時間だけ遅れたときに完了通知を発行することができる。
【0015】
また、制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した完了通知とをシミュレータに出力する手段とを有し、前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有し、前記シミュレータは、前記始動命令を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有するようにすることもできる。
【0016】
シミュレータは、実施の形態で言う3D離散型シミュレータ部や3D機構シミュレータ部など各種のシミュレーションを行う装置であり、そのシミュレーションの際に遅れ時間を考慮して動作することにより、実際の動作に即したシミュレーションを行うことができる。シミュレーションの一例として、3Dシミュレータがあり、この3Dシミュレータにおけるシミュレーションは、設備装置・ロボットなどのメカ動作を視認できるように仮想的にその動作を表示することであり、シミュレーション完了は、メカ動作の終了状態を表示することである。このとき、遅れ時間を考慮し、終了状態になるのも理想動作から所定時間遅れるような動作を行う。
【0017】
さらにまた、制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから実際動作に関するデータを入力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した実際動作に関するデータと完了通知とをシミュレータに出力する手段とを有し、前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段と、実際動作を推定する手段と、推定した実際動作に関するデータを前記プログラマブルコントローラに対して出力する手段とを有し、前記シミュレータは、前記指令値を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した実際動作に関するデータに基づいてシミュレーションを続行する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有するようにするとよい。
【0018】
ここで、「実際動作を推定する」とは、例えば、設備機器やロボットなどの連続的な動作を計算式によって求めることである。あるタイミング毎の動作状態を連続的につなぐことで、動作全体を表現できる。また、「シミュレーションを続行する」とは、例えば、設備機器やロボットなどの動作を連続的に視認的に表示することである。
【0019】
また、上記した各発明では、「遅れ時間情報を推定する手段」をモーションコントローラ内に実装したが、本発明はこれに限ることはなく、ツールその他で求めたものを、モーションコントローラに設定し、記憶保持させるようにすることもできる。なお、モーションコントローラに推定する手段を実装しておくと、ユーザは特に別途遅れ時間情報を求め、それを設定する必要が無くなるので、便利となる。
【0020】
モーションコントローラは、実施の形態ではモーションコントロールユニットに対応する。実施の形態にも示したように、モーションコントローラは、PLCに組み込まれても良いし、別途形成しても良い。また、PLCに組み込んだ場合には、モーションコントローラは、例えばPLCのCPUユニットを介して制御ネットワークに接続されることになる。つまり、制御ネットワークに接続されるとは、直接接続されるもののみならず、間接的に接続されるものも含む。
【0021】
モーション制御においては、設定動作(理想動作)と実際動作とでは時間差が必ず生じる。そこで、本発明では、係る時間差を遅れ時間情報としてモーションコントローラに設定しておき、制御対象の実機を接続しないシミュレーション時に、その遅れ時間情報を考慮することにより、検証精度が高まる。さらに、ユーザプログラム並びにモーションプログラムは、実際に使用する本物であるので、精度のよい検証が行われるばかりでなく、検証が終わったプログラムは、そのまま実機において使用可能となる。
【0022】
そして、上記した発明を前提とし、前記制御ネットワークに、ネットワークトレースモニタ装置を接続し、そのネットワークトレースモニタ装置が、前記制御ネットワーク上を伝送する情報をモニタリングするようにしてもよい。このようにすると、モニタリング結果をモニタ装置の表示装置に表示することにより、各装置の動作タイミングが一目でわかるので、好ましい。
【0023】
また、制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のロボット制御用のプログラムを実装したロボットコントローラと、仮想I/O情報を出力する仮想I/O用プログラマブルコントローラとを備え、制御ネットワークを介して送受した前記仮想I/O用プログラマブルコントローラからの仮想I/O情報に基づいて前記実機用のユーザプログラム並びにロボット制御用のプログラムを実行させるようにしてもよい。これにより、入出力機器等の実機が無くても、実際に使用するユーザプログラムとロボット制御用のプログラムを用いて、シミュレーションが行え、しかも、制御ネットワークを介して情報の伝送を行うので、実際の動作環境に近いシミュレーションによる評価が行える。
【0024】
さらに、上記した各発明では、実機と実機用プログラムと制御ネットワークを利用することで、システム全体のタクトタイムやタイミングを精度よく確認できる。また、設計の実機による検証ができる。さらに、今まで並行作業ができなかった設備機械の製作と、プログラムのテストが並行作業できるので生産立上げ期間が短縮できる。
【0025】
また、本発明に係るモーションコントローラは、モーション制御を行うモーションプログラムを備えたモーションコントローラであって、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持し、入力した始動命令に基づいて前記モーションプログラムを実行して被制御機器に指令値を出力し、前記遅れ時間情報に基づいて実動作を予測した完了タイミングの時に完了通知を出力する機能を有するようにした。
【0026】
また、本発明に係る評価方法は、実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータを制御ネットワークに接続して評価用システムを構築する。そして、前記モーションコントローラに、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持させる。この状態で、前記モーションコントローラは、前記プログラマブルコントローラにおけるユーザプログラムの実行に伴い発行された始動命令に基づいて前記モーションプログラムを実行し、順次指令値を出力し、前記シミュレータは、前記指令値に基づいてシミュレーションを行う。さらに、前記モーションコントローラは、前記遅れ時間情報に基づいて実動作を予測した完了通知を出力し、その完了通知の出力並びにシミュレータのシミュレーション結果に基づいてモーション制御の評価を行うようにした。ここで、「モーションコントローラの指令値」とは、実際動作を推定した結果のことを言う。
【0027】
また、本発明に係る評価方法では、実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを制御ネットワークに接続して評価用システムを構築し、前記プログラマブルコントローラにてユーザプログラムの実行に伴い始動命令が発行されて、モーションコントローラに出力され、前記モーションコントローラに、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持させ、前記プログラマブルコントローラからの始動命令に基づいて前記モーションプログラムを実行し、順次指令値を出力するとともに、前記遅れ時間情報に基づいて実動作を予測した完了通知を出力し、前記シミュレータは、モーションコントローラの前記指令値および完了通知を入力して、シミュレーションを行い、そのシミュレーション結果に基づいてモーション制御の評価を行うようにすることもできる。
【0028】
【発明の実施の形態】
図1は、本発明の好適な一実施の形態を実現するシステム全体を示している。図1に示すように、パソコン10,PLC20,仮想I/O用PLC30並びにロボットコントローラ40が制御ネットワーク50に接続されている。パソコン10は、ネットワークインタフェース11を介して制御ネットワーク50に接続されるとともに、本実施の形態では、各種のアプリケーションプログラムをインストールすることにより、異なる機能(装置)を構成するようになっている。
【0029】
すなわち、3D CAD部13は、設備機械の形状,寸法を3次元CADデータとして設計するためのツールである。機械の設計はCADによって行われる。そして、この3D CAD部13にて作成された3次元CADデータは、3D離散系シミュレータ部14と3D機構シミュレータ部15に読み込まれる。なお、この3次元CADデータは、例えば制御ネットワーク50を介して伝送されるようにしても良いし、別途記憶媒体を介して渡すようにしても良い。
【0030】
3D離散系シミュレータ部14では、生産ラインのワークの流れを中心にして、要求された生産性を上げるために加工時間や搬送時間を設計し、バッファの量を設計するものである。また、3D機構シミュレータ部15では、割り当てられた加工時間や搬送時間でロボットや治具の機器動作を設計し、干渉やタイミングをチェックする。これらの要素によって、机上で図面やチャートで行われていたものをコンピュータで実行し、ダイナミックな動作を確認できるようになる。なお、これら3D CAD部13,3D離散系シミュレータ部14並びに3D機構シミュレータ部15は従来公知のものであるので、その詳細な説明を省略する。
【0031】
また、従来の設備設計の手順を確認すると、「企画設計フェーズ」→「実装フェーズ」→「設計検証フェーズ」→「現場検証フェーズ」の順番で順次実行する。そして、上記した3D CAD部13,3D離散型シミュレータ14並びに3D機構シミュレータ部15を用いて実行するシミュレーション等は、上記した企画設計フェーズを行うことになる。
【0032】
そして、パソコン10を用いたシミュレーションでは、問題ごとのモデルをシミュレーション言語によってプログラムすることでシミュレーションしており、実機のプログラムとは異なるアルゴリズムで動作している。したがって、設計通りに実際の制御機器が動作するかどうかは、プログラミングツール部16を使って実機のプログラムを作成し、PLC20やロボットコントローラ40にダウンロードし、実際の機械でテストや調整をすることになる。
【0033】
そこで、このプログラミングツール部16で行う各装置用のプログラム作成は、上記した「実装フェーズ」を行うことになる。つまり、企画設計フェーズで作成した設計にしたがって、プログラミングツール部16を用いて、ロボット,PLC,モーションコントローラを動作させるための制御プログラム(ユーザプログラム)を、それぞれの言語で作成していく。また、このように各プログラムを作成し、ロボット,PLC,モーションコントローラにダウンロードする機能は、従来と同様であるので、その詳細な説明を省略する。そして、本発明との関係で言うと、後述するモーションコントローラにおける「遅れ時間」を計算し、モーションコントロールユニットに設定する機能を有する。
【0034】
ネットワークトレースモニタ部12は、制御ネットワーク50上を伝送されるパケットをモニタリングする機能を持ち、仮想I/O,ロボット,モーションコントローラなどの制御システムのイベント動作を時間とともに記録する。そして、記録したデータは、例えば表示画面に表示する。これにより、ユーザは、正しく動作しているか否かを知ることができる。なお、制御ネットワーク上を伝送される情報(パケット)をモニタリングする機能自体は、従来公知のアルゴリズムを用いて実現できる。
【0035】
なお、図1では各機能部は、個々のパソコン10にインストールされ別々の装置として記載しているが、複数の機能部を1つのパソコン10にインストールしてももちろん良い。
【0036】
また、PLC,ロボット,モーションコントローラは実機の本番と同じプログラムを動作させるテスト環境を構成している。すなわち、PLC20は、所望の機能を実現する複数のユニットを連結して構成されるもので、ユーザプログラムを実行し、入出力機器の制御等を行うCPUユニット21と、制御ネットワーク50に接続され、その制御ネットワーク50に接続された他の装置と通信を行うネットワークユニット22と、モーション制御を実行するモーションコントロールユニット23を備えている。もちろん、本発明との関係で3つのユニットを図示したが、これら3つのユニット以外にも、電源ユニットや、IOユニットや、マスタユニットなどのユニットが必要に応じて連結される。
【0037】
ロボットコントローラ40は、制御ネットワーク50に接続するためのネットワークインタフェース41と、実際にロボットを動作させる命令を出力するロボットコントローラ部42を備えている。上記したPLC20を構成するCPUユニット21,ネットワークユニット22並びにロボットコントローラ40も基本的に従来の実機と同様であるので、その機能も従来と同様である。また、モーションコントロールユニット23は、例えば制御ネットワーク50を介して取得した入力信号に従い、そのモーションコントロールユニット23に接続された制御対象の機器(サーボモータ等)に対してモーション制御を行うといった基本機能は、従来と同様であるが、本発明ではプログラミングツール部16にて設定された「遅れ時間」に基づく処理を実行する機能が付加されている。なお、詳細は後述する。
【0038】
仮想I/O用PLC30は、機械に設置されたセンサをON/OFFさせるイベントを仮想的に作り出すプログラムを動作させるものである。つまり、ユーザプログラムを実行し、仮想I/O用PLC30入出力機器の制御等を行うCPUユニット31と、制御ネットワーク50に接続され、その制御ネットワーク50に接続された他の装置と通信を行うネットワークユニット32と、I/Oユニット33を備えている。実機であれば、このI/Oユニットにセンサなどの入力機器が接続され、その入力機器から与えられたI/O情報(入力信号)をPLC20に与えるが、本実施の形態では、CPUユニット31に実装されたユーザプログラムにしたがって、所定のタイミングで入力信号(センサのON/OFF)を仮想的に生成し、送信するようにしている。
【0039】
これにより、実機がなくても実際に使用する機器のタイミングでイベントが発生し、そのイベントであるI/O情報が実際に制御ネットワーク50を介してPLC20に伝達され、PLC20側では、ネットワークユニット22が受信するとともに、CPUユニット21のサイクリックな処理の所定タイミングでネットワークユニット22が受信したI/O情報をCPUユニット21が取り込み、モーションコントロールユニットがその取り込んだI/O情報を取得することができる。そして、その取得したI/O情報に従って、CPUのユーザプログラムや、モーション制御のプログラムを実行させることができる。
【0040】
そして、PLC20(CPUユニット21,モーションコントロールユニット23)や、ロボットコントローラ40にダウンロードしたプログラムは、ラダー言語,ロボット言語などの実際に使用する言語で作成した本物である。よって、実機がなくても、仮想I/O用PLC30からの仮想I/O情報に従って実際に使用するプログラムの動作チェック・検証を行うことができる。
【0041】
このように、本発明では、現場調整フェーズを、実機が存在しない状態でも現場調整と同様の精度で効率的に行うことができる。したがって、各フェーズを順次行うのではなく、並行にインクリメンタルに行うことができる。これにより設計精度を高め、結果として開発期間短縮につながる。
【0042】
次に、モーション制御についての検証について説明する。図2は、モーション制御の一形態を含むクランプ制御を示している。このクランプ制御は、固定ガイド60にて位置決めされたワーク61に対しクランプ部62が前進移動しワーク61を保持する。この状態で加工ロボット63のアーム63aを移動させてワーク61に対して所定の処理をするものである。
【0043】
そして、クランプ部62を前進移動させるのは、サーボモータ64の出力軸をウォームギヤ65に連結し、回転運動を直進運動に変換する。そして、この変換した直線運動は、ウォームギヤ65に連携させたロッド66に伝達することにより、ロッド66の先端に取り付けたクランプ部62をX軸方向に前進移動させるようにしている。また、クランク部62にはソレノイド67が取り付けられており、所定のタイミングでソレノイド67を動作させることによりワーク61を把持することができるようになる。
【0044】
サーボモータ64の出力軸が1回転したときにクランプ部62がX軸方向に移動する距離はウォームギヤのギヤ比その他から既知であるので、サーボモータ64の回転を制御することにより、クランプ部62の移動速度や移動距離を制御できるとともに、基準位置からの移動距離にしたがって現在どの位置に存在しているかもわかる。これにより位置制御ができる。一方、クランプ部62が目的地まで移動して停止するよりも少し前からソレノイド67を動作させ、目的地に達したときに確実に把持できるように制御される。
【0045】
このクランプ制御は、モーションコントロールユニット23によるモーション制御によってサーボモータの動作が制御され、CPUユニット21のI/O制御によりソレノイド67の動作が制御され、ロボットコントローラ40により加工ロボット63の動作が制御される。従って、ソレノイド,サーボモータ並びに加工ロボットの動作は、相互にタイミングを取る必要がある。つまり、それぞれ動作させるCPUユニット21,モーションコントロールユニット23並びにロボットコントローラ40を協調動作させる必要があり、各始動タイミングが合っているかなどの検証と調整を行う必要がある。
【0046】
また、図3に示すような、搬送制御においても、サーボモータとセンサを使ったPLC制御,加工用ロボット制御を必要としている。つまり、間歇駆動する搬送コンベア70の上にワーク71が配置された状態で、ワーク71を搬送する。そして、ワーク71が所定位置(ワーク加工位置)に来たならば、搬送コンベア70を一時停止させる。そして、ワーク加工位置に向かって加工ロボット72のアームを移動させ、ワーク加工位置にあるワーク71に対して加工処理をする。加工後は搬送コンベア70の搬送を再開する。搬送コンベア70は、サーボモータ73の回転出力により動作するため、モーション制御が行われ、加工ロボットに対する制御はロボットコントローラ40が行う。
【0047】
そして、本実施の形態におけるモーション制御の検証は、ロボットコントローラ40に替えて、機構部分の動作を3D機構シミュレータにより行うようにした。
【0048】
ところで、上記したモーションコントロールユニット23による実際のモーション制御は、例えば図4中破線で示すような理想速度台形線図に従って、時間の経過に伴って目標速度をパラメータとして制御対象(この場合、サーボモータ)に与える。実際には、サーボモータを駆動させるサーボドライバに与え、サーボドライバは与えられた目標速度になるようにサーボモータを制御する。しかし、現実の速度は、負荷その他の要因から理想速度台形線図通りには動作せず、例えば図4中の実線で示すように少し遅れて動作する。これにより、実際の動作時間は、目標動作時間よりもΔtだけ長くなり、そのΔtが誤差となる。
【0049】
そこで、本実施の形態では、遅れ時間Δtを考慮して実際の動作時間を推定し、そのΔtを含んだ動作時間を用いて各種のシミュレーション・検証を行うようにした。すなわち、このシミュレーションを行う場合のシステム構成としては、図5に示すようにPLC20(CPUユニット21,モーションコントロールユニット23)と、パソコン10(3D機構シミュレータ部15)を用いる。CPUユニット21とモーションコントロールユニット23の間では、PLC20内部のシステムバスを介して情報の送受を行い、CPUユニット21と3D機構シミュレータ部15との間では、制御ネットワーク50を介して情報の送受を行う。
【0050】
この図5は、図4に示す搬送コンベアの動作に対するモーション制御を検証する評価用システムを示している。すなわち、CPUユニット21には、搬送コンベアの動作を制御する搬送ラダーが実装される。また、モーションコントロールユニット23には、実機で使用するモーション言語によるモーションプログラムと、位置制御のための図4の理想速度台形線図等のパラメータが設定されるとともに、誤差となる遅れ時間Δtも設定する。さらに、3D機構シミュレータ部15には、サーボモータの駆動に伴い動作する搬送コンベアについての仮想メカ部が用意される。このとき、遅れ時間Δtを含んだ動作時間情報も組み込まれている。
【0051】
係る評価用システムにおいて、まずCPUユニット21がユーザプログラムをサイクリックに演算実行する。そして、搬送ラダーのプログラム部分の実行により、例えば、加工ロボットの処理終了等、搬送コンベアの運転開始条件を具備すると、モーションコントロールサイクル(MCサイクル)の開始を、モーションコントロールユニット23と3D機構シミュレータ部15に与える。
【0052】
これに伴い、モーションコントロールユニット23側では、設定されたパラメータに従って、所定タイミングで位置データ(図4で言う速度データ)を出力する。この位置データは、CPUユニット21さらにはネットワークユニット22を介して制御ネットワーク50へ出力され、その制御ネットワーク経由で3D機構シミュレータ部15に送られる。
【0053】
MCサイクルの開始信号を受けた3D機構シミュレータ部15では、仮想メカ部での搬送を開始し、順次取得する位置データに基づいて、その搬送状態を図示省略する表示装置に出力表示し、搬送コンベアが回転しワークが搬送される状態を表示する。
【0054】
ここで本発明では、モーションコントロールユニット23が、遅れ時間Δtを保有しているので、1つの理想速度台形線図についての位置データの送信完了後、Δt経過したときにCPUユニット21に向けて位置決め完了信号を出力する。この位置決め完了信号は、CPUユニット21に与えられる。また、位置データに基づいて動作した仮想メカ部が搬送完了した場合、その完了情報が制御ネットワーク50経由でCPUユニット21に伝えられる。
【0055】
つまり、実際のシステムでは、モーションコントロールユニット23に制御対象のサーボモータ(サーボドライバ)が接続されるが、このシミュレーションの場合、モーションコントロールユニット23内でサーボアンプへの信号を折り返し、遅れ時間Δtを加えて動作させ、各種の信号をCPUユニット21等へ出力するようにしているので、サーボアンプから先の機器を接続しなくても、モーションプログラムからみて同じ動作をすることになる。
【0056】
このように、モーションコントロールユニット23の内部で仮想的に遅れ時間Δtを作り出すことによって、実際の機器を接続しなくてもサーボ系を精度よくシミュレーションすることができる。しかも、シミュレーションの際に使用するモーションプログラムは、モーションコントロールユニット23に実装された本物のモーションプログラム(実機プログラム)を使うので、簡単に精度高い検証ができる。そして、実機プログラムを使うことで、検証した内容の実現性はきわめて高くなる。さらに、シミュレーションさせた仮想メカ部は、ロボット等に対応するものであり、実際の動作に近いシミュレーション動作ができるので信頼性が高い。
【0057】
さらにまた、デバッグテストやタイミングのテストを行うことができる。図2や図3の仮想メカに対して、モーションコントローラ(モーションコントロールユニット23)から現在位置情報を送り、仮想メカは、位置情報に合わせて3次元座標空間上にリアルタイムで表示する。このことでCAD機能による干渉チェックや、現場調整で行っているメカを動かしながらのテストができる。
【0058】
そして、上記した評価用システムを用いたモーションコントロールの具体的なシミュレーション手順は、図6に示すフローチャートのようになる。すなわち、まず機械系の基本設計,レイアウトを設計し、それに基づいて機構を決定する(ST1,ST2)。次いで、制御対象の動作パターンをモータ軸での動作パターンに換算する(ST3)。これにより、図4中波線で示した理想状態での速度線図(動作パターン)が求められる。
【0059】
次いで、ステップ1,2で決定した機構の条件等に基づき、サーボモータが回転した際の負荷イナーシャや負荷トルクさらには回転数を算出する(ST4)。そして、算出したモータの条件(何ワット,何トルク等)にあうモータを仮選定する(ST5)。
【0060】
仮選定したモータの仕様に基づき、加減速トルク,瞬間最大トルク,実効トルクを計算する(ST6)。そして、今まで算出した各データに基づき、仮選択したモータの適否を判断し、不適の場合にはよりよいモータを選定する。これにより、使用するモータが確定する(ST7)。なお、ここまでの処理は、従来と同様である。
【0061】
次いで、ステップ7までで決定されたモーション制御を行うシステム構成から、速度線図の遅れ時間Δtを推定する(ST8)。つまり、遅れ時間Δtは、負荷イナーシャや負荷の大きさなどによって決定されるため、各ステップ部で求めた各値を遅れ時間の算出式に代入することにより求めることができる。なお、遅れ時間の算出式自体は従来公知の各種のものを用いることができる。
【0062】
次いで、このようにして求めた遅れ時間Δtも考慮した動作時間に基づきモーションコントロールのシミュレーションを実行する(ST9)。つまり、図5を用いて説明した評価を行う。
【0063】
そして、評価結果が、サイクルタイム性能とモーション系の実現性が十分か否かを判断する(ST10)。つまり、要求されるサイクルタイムでモーション制御が正しく行え、制御対象物が所望の動作を行えるかを判断する。この判断は、例えばパソコン10の表示画面に表示される3D機構シミュレータ部15から出力される仮想メカ部の動作をユーザが確認したり、ネットワークトレースモニタ部12が検出した制御ネットワーク50上を流れる情報にしたがって生成され、表示装置に出力されたトレースモニタをユーザが確認することなどによって行われる。そして、満足する場合には、その内容で確定され検証が完了する。また、不十分な場合には、ステップ1に戻り、最初から設計をやり直す。
【0064】
また、上記したトレースモニタの表示例としては、例えば図7に示すようになる。この図7は、図2に示したメカ・クランプ制御におけるシミュレーションをネットワークトレースモニタ部12がトレースし、パソコン10の表示装置の表示画面10aに表示したものである。このように、動作結果をタイミングチャートで確認することができ、ロボット,PLC,モーションコントロールの3つのタイミングを事前に検証できる(図示の場合には、正常に動作している例である)。そして、実機のプログラムを使うことでこのタイミングの精度も、シミュレーション言語だけの場合よりも高いものになる。
【0065】
すなわち、上記した実施の形態によれば、実際の機器のPLC制御プログラムやモーションプログラムを使うことで、実際の設備がない時期であっても事前にソフトウェアのテストや設計の検証を精度よくおこない、設計の品質とプログラムの品質を効率よく向上させることができる。さらに、モーションコントローラの内部で時間遅れ要素(Δt)でシミュレーションすることで、モータやメカの外部機器をつないだときと同じ精度で検証ができる。
【0066】
【発明の効果】
以上のように、この発明では、PLCのユーザプログラム等の検証対象のプログラムが実機に使用するものを用いてシミュレーションを実行可能としたため、正確な検証が行える。さらに、モーション制御における設定動作(理想動作)と実際動作とで時間差が生じるため、その時間差に基づく遅れ時間情報を考慮してシミュレーションを実行するようにしたため、検証精度が高まる。
【図面の簡単な説明】
【図1】本発明の好適な一実施の形態を示すシステム構成図である。
【図2】モーション制御の一例を説明する図である。
【図3】モーション制御の一例を説明する図である。
【図4】モーション制御における遅れ時間を説明する図である。
【図5】評価システムの一例を示す図である。
【図6】モーション制御のシミュレーションの手順を説明するフローチャートである。
【図7】ネットワークトレースモニタ部から出力されるモニタ画面の一例を示す図である。
【符号の説明】
10 パソコン
10a 表示画面
11 ネットワークインタフェース
12 ネットワークトレースモニタ部
13 3D CAD部
14 3D離散系シミュレータ
15 3D機構シミュレータ部
16 プログラミングツール部
20 PLC
21 CPUユニット
22 ネットワークユニット
23 モーションコントロールユニット
30 仮想I/O用PLC
31 CPUユニット
32 ネットワークユニット
33 I/Oユニット
40 ロボットコントローラ
41 ネットワークインタフェース
42 ロボットコントローラ部
50 制御ネットワーク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an evaluation system, an evaluation method, and a motion controller.
[0002]
[Prior art]
For example, when constructing an FA system to be installed in a production factory, a device configuration was designed in accordance with the production target, and a time chart that specifies the specifications and operation timing of each device and device was created (planning and design). After the phase, development of programs for operating each device is performed. That is, a user program for operating a PLC is created in a ladder language, a motion program for operating a motion controller is created, and a program for operating a robot is created in a robot language (implementation phase). ).
[0003]
Whether or not the design of the software and the like created in this mounting phase is correct and the design is appropriate by selecting devices and motors is performed in a design verification phase next to the mounting phase. In the design verification phase, desk-top verification is performed by obtaining calculated values.
[0004]
Then, it verifies whether the program created in this way operates normally. This verification is usually performed during the on-site adjustment phase. That is, a real machine to be used is prepared, actually arranged at each position, and connected to a control network. Then, the created program is downloaded to the PLC, the motion controller, and the like. In this state, verification is performed by actually operating each program, and if a problem occurs, adjustment is appropriately performed.
[0005]
Therefore, when executing the on-site adjustment phase, it is necessary that both software of various programs and hardware of the actual machine are available. As a result, even if the software is completed, it cannot be verified unless the hardware is completed and procured. In addition, there is a demand for accurate software testing and design verification in advance when there is no actual equipment.However, if testing with actual equipment is required as described above, pre-verification cannot be performed, resulting in design From the start to the actual system startup is lengthened.
[0006]
On the other hand, as a method of performing verification in advance, generally, various simulations are sometimes performed. There is a verification simulation system for a control system in which the operation of a virtual mechanism or a robot on a simulator is described in a simulation language, and the I / O operation of the PLC is virtually confirmed. Conventionally, as this kind of known literature, there is, for example, a development support system and a development support method for a device control program disclosed in Patent Literature 1.
[0007]
[Patent Document 1]
JP-A-10-143221
[0008]
[Problems to be solved by the invention]
However, since the control language used in the actual PLC or motion controller is a ladder language or a proprietary language for G or motion, it is different from the programming language used for simulation. It could not be used to verify the accuracy of the test or to test the normal and abnormal operation of the control program. Therefore, since the simulation system for design and the real system are separate programs, two steps of data input and program development have to be performed, or only partial use is required for each task.
[0009]
Also, the method of automatically generating a program from a simulation language or a timing chart cannot be converted 100% into a control program which is the object of the present invention, so its use has been only partial.
[0010]
Furthermore, in the distributed control configuration, the communication time of the network affects the timing, and the logic and the tact time between the PLC and the robot are affected. However, simulation including real-time communication was not practical because of the large number of steps. Therefore, in the conventional simulation, the design and construction of the FA system cannot be put to practical use.
[0011]
An object of the present invention is to provide an evaluation system, an evaluation method, and a motion controller capable of improving the accuracy of verification of equipment control system design and efficiently testing software of a control system.
[0012]
[Means for Solving the Problems]
An evaluation system according to the present invention includes a programmable controller mounted with a user program for a real device connected to a control network, and a motion controller mounted with a motion program for a real device, wherein the programmable controller executes the user program. Means for issuing a start command and outputting the start command to the motion controller, wherein the motion controller inputs the start command from the programmable controller to execute a motion program; Means for estimating delay time information based on the time difference between the information and the means for outputting to the programmable controller a completion notification for estimating the actual operation based on the estimated delay time information.
[0013]
Here, the “time difference between the ideal operation and the actual operation” means the operation from the start of the ideal operation to the end of the operation, and the operation from the start of the actual operation to the end of the operation when the motion controller causes the controlled device to perform a series of operations. The difference in time until. In the embodiment, this corresponds to Δt shown in FIG. Also, a series of operations refers to a period from the start of a certain operation to the end of a certain operation. For example, in FIG. 4, the operation from the occurrence of the speed until the speed becomes zero, from the lower left of the trapezoid starting operation to the lower right of the trapezoid stopping operation. Of course, a series of operations may be subdivided into (1) the operation in the acceleration stage, (2) the constant speed operation, and (3) the deceleration operation. In other words, referring to FIG. 4, there are (1) a left-sided right triangle portion of a trapezoid, (2) a middle rectangular portion, and (3) a right-sided right triangle portion.
[0014]
“Estimating delay time information” is actually determined by a predetermined calculation formula. For example, the load inertia and the moment of inertia can be calculated by (375 / GD2) (1 / S). Further, the completion notification is a notification for notifying a point of time when the completion timing virtually obtained by a calculation formula is reached, assuming an actual operation in consideration of an actual load of the controlled device. Specifically, for example, a completion notification can be issued when a delay time has elapsed from the completion of the ideal operation.
[0015]
Also, a programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator, wherein the programmable controller starts upon execution of the user program Means for issuing an instruction to output to the motion controller and the simulator, means for inputting a completion notification from the motion controller, and means for outputting the input completion notification to the simulator; A controller configured to input the start command from the programmable controller to execute the motion program; a unit configured to estimate delay time information based on a time difference between an ideal operation and an actual operation; Means for outputting to the programmable controller a completion notification that predicted the actual operation based on the, the simulator is a means for starting a simulation based on the start command input from the programmable controller, Means for completing the simulation based on the completion notification input from the programmable controller.
[0016]
The simulator is a device that performs various simulations such as a 3D discrete type simulator unit and a 3D mechanism simulator unit described in the embodiment, and operates in consideration of a delay time in the simulation, thereby realizing an actual operation. A simulation can be performed. As an example of the simulation, there is a 3D simulator. The simulation in the 3D simulator is to virtually display the mechanical operation of the facility device, the robot, or the like so that the operation can be visually recognized. It is to display the status. At this time, taking into account the delay time, an operation is performed such that the end state is delayed by a predetermined time from the ideal operation.
[0017]
Furthermore, a programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator, wherein the programmable controller accompanies execution of the user program. Means for issuing a start command to output to the motion controller and the simulator, means for inputting data relating to an actual operation from the motion controller, means for inputting a completion notification from the motion controller, Means for outputting operation-related data and a completion notification to a simulator, wherein the motion controller executes the motion program by inputting the start command from the programmable controller. Means for estimating delay time information based on the time difference between the ideal operation and the actual operation, and means for outputting to the programmable controller a completion notification predicting the actual operation based on the estimated delay time information. Means for estimating an actual operation, and means for outputting data on the estimated actual operation to the programmable controller, wherein the simulator performs a simulation based on the instruction value input from the programmable controller. Means for starting, means for continuing the simulation based on data on the actual operation input from the programmable controller, and means for completing the simulation based on the completion notification input from the programmable controller. Then .
[0018]
Here, “estimating an actual operation” means, for example, obtaining a continuous operation of a facility device or a robot by a calculation formula. By continuously connecting the operation states at certain timings, the entire operation can be expressed. “Continue with simulation” means, for example, continuously and visually displaying operations of equipment and robots.
[0019]
Further, in each of the above-described inventions, the “means for estimating delay time information” is implemented in the motion controller. However, the present invention is not limited to this. It is also possible to store the information. If a means for estimating is installed in the motion controller, the user does not need to separately obtain the delay time information and set it, which is convenient.
[0020]
The motion controller corresponds to a motion control unit in the embodiment. As described in the embodiment, the motion controller may be incorporated in the PLC or may be formed separately. When incorporated in a PLC, the motion controller is connected to a control network via, for example, a CPU unit of the PLC. That is, being connected to the control network includes not only those directly connected but also those indirectly connected.
[0021]
In motion control, a time difference always occurs between a setting operation (ideal operation) and an actual operation. Thus, in the present invention, such a time difference is set in the motion controller as delay time information, and the simulation accuracy is increased by considering the delay time information during a simulation in which the actual machine to be controlled is not connected. Further, since the user program and the motion program are genuine products to be actually used, not only accurate verification is performed, but also the verified program can be used as it is in an actual machine.
[0022]
Then, on the premise of the invention described above, a network trace monitor device may be connected to the control network, and the network trace monitor device may monitor information transmitted on the control network. This is preferable because the operation result of each device can be seen at a glance by displaying the monitoring result on the display device of the monitor device.
[0023]
Also, a programmable controller mounted with a user program for a real machine connected to a control network, a robot controller mounted with a program for controlling a robot for a real machine, and a programmable controller for a virtual I / O for outputting virtual I / O information And executing the user program for the real machine and the robot control program based on the virtual I / O information from the virtual I / O programmable controller transmitted and received via the control network. As a result, even without an actual device such as an input / output device, simulation can be performed using a user program and a robot control program that are actually used, and information is transmitted via a control network. Evaluation by simulation close to the operating environment can be performed.
[0024]
Further, in each of the above-described inventions, the tact time and timing of the entire system can be accurately confirmed by using the actual machine, the actual machine program, and the control network. In addition, the design can be verified using an actual device. Further, since the production of the equipment machine which could not be performed in parallel and the test of the program can be performed in parallel, the production start-up period can be shortened.
[0025]
Further, the motion controller according to the present invention is a motion controller having a motion program for performing motion control, and stores and holds delay time information based on a time difference between an ideal operation and an actual operation, based on an input start command. A function is provided for outputting a command value to a controlled device by executing the motion program and outputting a completion notification at a completion timing at which an actual operation is predicted based on the delay time information.
[0026]
Further, the evaluation method according to the present invention constructs an evaluation system by connecting a programmable controller mounted with a user program for a real device, a motion controller mounted with a motion program for a real device, and a simulator to a control network. Then, the motion controller stores and holds delay time information based on a time difference between the ideal operation and the actual operation. In this state, the motion controller executes the motion program based on a start command issued in accordance with the execution of the user program in the programmable controller, and sequentially outputs a command value, and the simulator outputs a command value based on the command value. Simulation. Further, the motion controller outputs a completion notification in which an actual operation is predicted based on the delay time information, and evaluates the motion control based on the output of the completion notification and a simulation result of a simulator. Here, the “command value of the motion controller” refers to the result of estimating the actual operation.
[0027]
In the evaluation method according to the present invention, a programmable controller mounted with a user program for a real machine, a motion controller mounted with a motion program for a real machine, and a simulator are connected to a control network to construct an evaluation system, A start command is issued in accordance with execution of a user program by the programmable controller, and is output to the motion controller.The motion controller causes the motion controller to store and hold delay time information based on a time difference between an ideal operation and an actual operation. Executing the motion program based on a start command from the controller, sequentially outputting a command value, and outputting a completion notification for predicting an actual operation based on the delay time information, wherein the simulator includes the finger of a motion controller. Enter the values and completion notification, a simulation can also be performed to evaluate the motion control based on the simulation result.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows an entire system for realizing a preferred embodiment of the present invention. As shown in FIG. 1, a personal computer 10, a PLC 20, a virtual I / O PLC 30, and a robot controller 40 are connected to a control network 50. The personal computer 10 is connected to the control network 50 via the network interface 11, and in the present embodiment, various functions (devices) are configured by installing various application programs.
[0029]
That is, the 3D CAD unit 13 is a tool for designing the shape and dimensions of the equipment machine as three-dimensional CAD data. The design of the machine is done by CAD. Then, the three-dimensional CAD data created by the 3D CAD unit 13 is read into the 3D discrete system simulator unit 14 and the 3D mechanism simulator unit 15. The three-dimensional CAD data may be transmitted, for example, via the control network 50, or may be passed separately via a storage medium.
[0030]
The 3D discrete system simulator unit 14 designs a processing time and a transport time to increase a required productivity, and designs a buffer amount, mainly on a flow of a work on a production line. Further, the 3D mechanism simulator unit 15 designs the operation of the robot or the jig based on the allocated processing time and transfer time, and checks interference and timing. These elements allow a computer to execute what was done on a drawing or chart on a desk and check the dynamic operation. Since the 3D CAD unit 13, the 3D discrete system simulator unit 14, and the 3D mechanism simulator unit 15 are conventionally known, detailed description thereof will be omitted.
[0031]
Also, when the conventional equipment design procedure is confirmed, the steps are sequentially executed in the order of “planning design phase” → “implementation phase” → “design verification phase” → “site verification phase”. The simulation and the like executed using the 3D CAD unit 13, the 3D discrete simulator 14, and the 3D mechanism simulator unit 15 perform the planning and design phase described above.
[0032]
In the simulation using the personal computer 10, the simulation is performed by programming a model for each problem in a simulation language, and the simulation is performed using an algorithm different from the program of the actual machine. Therefore, whether or not the actual control device operates as designed is determined by creating a program of the actual device using the programming tool unit 16, downloading the program to the PLC 20 or the robot controller 40, and performing tests and adjustments on the actual machine. Become.
[0033]
Therefore, the creation of a program for each device performed by the programming tool unit 16 is performed in the above-described “mounting phase”. In other words, control programs (user programs) for operating the robot, the PLC, and the motion controller are created in the respective languages using the programming tool unit 16 in accordance with the design created in the planning and design phase. The function of creating each program and downloading it to the robot, the PLC, and the motion controller is the same as that of the related art, and a detailed description thereof will be omitted. Then, in relation to the present invention, it has a function of calculating a “delay time” in a motion controller described later and setting the calculated delay time in the motion control unit.
[0034]
The network trace monitor unit 12 has a function of monitoring packets transmitted on the control network 50, and records an event operation of a control system such as a virtual I / O, a robot, and a motion controller with time. Then, the recorded data is displayed on a display screen, for example. Thereby, the user can know whether or not the operation is correct. The function of monitoring information (packets) transmitted on the control network can be realized by using a conventionally known algorithm.
[0035]
In FIG. 1, each functional unit is installed in each personal computer 10 and described as a separate device. However, a plurality of functional units may be installed in one personal computer 10.
[0036]
The PLC, the robot, and the motion controller constitute a test environment in which the same program as that of the actual machine is operated. That is, the PLC 20 is configured by connecting a plurality of units that realize desired functions, and is connected to the CPU unit 21 that executes a user program and controls input / output devices and the like, and is connected to the control network 50, A network unit 22 that communicates with other devices connected to the control network 50 and a motion control unit 23 that executes motion control are provided. Of course, three units are shown in relation to the present invention, but units other than these three units, such as a power supply unit, an IO unit, and a master unit, are connected as necessary.
[0037]
The robot controller 40 includes a network interface 41 for connecting to a control network 50, and a robot controller unit 42 for outputting a command for actually operating the robot. The CPU unit 21, the network unit 22, and the robot controller 40 constituting the PLC 20 are basically the same as those of the conventional actual machine, so that their functions are also the same as those of the conventional machine. In addition, the motion control unit 23 has, for example, a basic function of performing motion control on a device to be controlled (such as a servomotor) connected to the motion control unit 23 in accordance with an input signal acquired via the control network 50. In the present invention, a function of executing a process based on the “delay time” set by the programming tool unit 16 is added. The details will be described later.
[0038]
The virtual I / O PLC 30 operates a program that virtually creates an event for turning on / off a sensor installed in a machine. That is, a CPU unit 31 that executes a user program and controls the input / output device of the virtual I / O PLC 30, and a network that is connected to the control network 50 and communicates with other devices connected to the control network 50. A unit 32 and an I / O unit 33 are provided. In the case of an actual device, an input device such as a sensor is connected to this I / O unit, and I / O information (input signal) given from the input device is given to the PLC 20. In the present embodiment, the CPU unit 31 According to a user program implemented in the above, an input signal (ON / OFF of the sensor) is virtually generated and transmitted at a predetermined timing.
[0039]
As a result, an event occurs at the timing of a device actually used even if there is no actual device, and the I / O information as the event is actually transmitted to the PLC 20 via the control network 50. And the CPU unit 21 captures the I / O information received by the network unit 22 at a predetermined timing of the cyclic processing of the CPU unit 21, and the motion control unit acquires the captured I / O information. it can. Then, according to the obtained I / O information, a user program of the CPU or a program for motion control can be executed.
[0040]
The programs downloaded to the PLC 20 (CPU unit 21 and motion control unit 23) and the robot controller 40 are genuine programs created in a language to be actually used such as a ladder language and a robot language. Therefore, even if there is no actual machine, the operation check / verification of the program actually used can be performed according to the virtual I / O information from the virtual I / O PLC 30.
[0041]
Thus, according to the present invention, the on-site adjustment phase can be efficiently performed with the same accuracy as on-site adjustment even in the absence of an actual machine. Therefore, each phase can be performed incrementally in parallel instead of sequentially. This increases design accuracy and, as a result, shortens development time.
[0042]
Next, verification of motion control will be described. FIG. 2 shows clamp control including one form of motion control. In this clamp control, the clamp portion 62 moves forward with respect to the work 61 positioned by the fixed guide 60 and holds the work 61. In this state, a predetermined process is performed on the workpiece 61 by moving the arm 63a of the processing robot 63.
[0043]
In order to move the clamp portion 62 forward, the output shaft of the servomotor 64 is connected to the worm gear 65, and the rotational motion is converted into a linear motion. The converted linear motion is transmitted to the rod 66 linked to the worm gear 65, so that the clamp portion 62 attached to the tip of the rod 66 is moved forward in the X-axis direction. Further, a solenoid 67 is attached to the crank portion 62, and the workpiece 61 can be gripped by operating the solenoid 67 at a predetermined timing.
[0044]
The distance the clamp 62 moves in the X-axis direction when the output shaft of the servo motor 64 makes one rotation is known from the gear ratio of the worm gear and other factors. It is possible to control the moving speed and the moving distance, and it is also possible to know which position is currently present according to the moving distance from the reference position. Thereby, position control can be performed. On the other hand, the solenoid 67 is operated shortly before the clamp portion 62 moves to the destination and stops, so that the solenoid 67 is controlled so as to be surely gripped when reaching the destination.
[0045]
In this clamp control, the operation of the servomotor is controlled by the motion control by the motion control unit 23, the operation of the solenoid 67 is controlled by the I / O control of the CPU unit 21, and the operation of the machining robot 63 is controlled by the robot controller 40. You. Therefore, the operations of the solenoid, the servomotor, and the processing robot need to be synchronized with each other. In other words, the CPU unit 21, the motion control unit 23, and the robot controller 40 to be operated need to cooperate with each other, and it is necessary to verify and adjust whether the respective start timings are correct.
[0046]
Further, in the transfer control as shown in FIG. 3, PLC control using a servomotor and a sensor and control of a processing robot are required. That is, the workpiece 71 is transported in a state where the workpiece 71 is arranged on the transport conveyor 70 that is intermittently driven. Then, when the work 71 reaches a predetermined position (work processing position), the transport conveyor 70 is temporarily stopped. Then, the arm of the processing robot 72 is moved toward the work processing position, and processing is performed on the work 71 at the work processing position. After the processing, the transport of the transport conveyor 70 is restarted. Since the conveyor 70 is operated by the rotation output of the servomotor 73, motion control is performed, and the robot controller 40 controls the processing robot.
[0047]
In the verification of the motion control in the present embodiment, the operation of the mechanism is performed by a 3D mechanism simulator instead of the robot controller 40.
[0048]
Meanwhile, the actual motion control by the motion control unit 23 is performed according to an ideal speed trapezoidal diagram as shown by a broken line in FIG. Give to). Actually, the servo motor is provided to a servo driver that drives the servo motor, and the servo driver controls the servo motor so that the given target speed is obtained. However, the actual speed does not operate according to the ideal speed trapezoidal diagram due to the load and other factors, but operates with a slight delay as shown by a solid line in FIG. 4, for example. As a result, the actual operation time becomes longer than the target operation time by Δt, and the Δt becomes an error.
[0049]
Thus, in the present embodiment, the actual operation time is estimated in consideration of the delay time Δt, and various simulations / verifications are performed using the operation time including the Δt. That is, as a system configuration for performing this simulation, the PLC 20 (CPU unit 21, motion control unit 23) and the personal computer 10 (3D mechanism simulator unit 15) are used as shown in FIG. Information is transmitted and received between the CPU unit 21 and the motion control unit 23 via a system bus inside the PLC 20, and information is transmitted and received between the CPU unit 21 and the 3D mechanism simulator unit 15 via the control network 50. Do.
[0050]
FIG. 5 shows an evaluation system for verifying motion control for the operation of the conveyor shown in FIG. That is, a transport ladder for controlling the operation of the transport conveyor is mounted on the CPU unit 21. In the motion control unit 23, a motion program in a motion language used in an actual machine and parameters such as an ideal speed trapezoidal diagram in FIG. I do. Further, the 3D mechanism simulator section 15 is provided with a virtual mechanism section for the transport conveyor that operates in accordance with the driving of the servo motor. At this time, operation time information including the delay time Δt is also incorporated.
[0051]
In such an evaluation system, first, the CPU unit 21 cyclically executes and executes a user program. By executing the program part of the transfer ladder, for example, if the operation start conditions of the transfer conveyor, such as the end of the processing robot, are satisfied, the start of the motion control cycle (MC cycle) is started by the motion control unit 23 and the 3D mechanism simulator unit. Give 15
[0052]
Accordingly, the motion control unit 23 outputs position data (speed data in FIG. 4) at a predetermined timing according to the set parameters. The position data is output to the control network 50 via the CPU unit 21 and the network unit 22, and sent to the 3D mechanism simulator unit 15 via the control network.
[0053]
Upon receiving the MC cycle start signal, the 3D mechanism simulator unit 15 starts transporting in the virtual mechanical unit, and outputs and displays the transport state on a display device (not shown) based on the sequentially acquired position data. Indicates that the work is being conveyed and the work is being conveyed.
[0054]
Here, in the present invention, since the motion control unit 23 has the delay time Δt, after the transmission of the position data for one ideal speed trapezoidal diagram is completed, the positioning toward the CPU unit 21 is performed when Δt has elapsed. Outputs a completion signal. This positioning completion signal is given to the CPU unit 21. Further, when the transport of the virtual mechanical unit operated based on the position data is completed, the completion information is transmitted to the CPU unit 21 via the control network 50.
[0055]
That is, in an actual system, a servo motor (servo driver) to be controlled is connected to the motion control unit 23. In this simulation, the signal to the servo amplifier is turned back in the motion control unit 23 to reduce the delay time Δt. In addition, since the operation is performed and various signals are output to the CPU unit 21 and the like, the same operation is performed from the viewpoint of the motion program without connecting the preceding device from the servo amplifier.
[0056]
As described above, by virtually creating the delay time Δt inside the motion control unit 23, it is possible to accurately simulate the servo system without connecting an actual device. In addition, since a real motion program (actual machine program) mounted on the motion control unit 23 is used as a motion program used in the simulation, accurate and accurate verification can be performed. Then, by using the actual machine program, the feasibility of the verified contents becomes extremely high. Further, the simulated virtual mechanical unit corresponds to a robot or the like, and can perform a simulation operation close to an actual operation, so that the reliability is high.
[0057]
Furthermore, a debugging test and a timing test can be performed. The current position information is sent from the motion controller (motion control unit 23) to the virtual mechanism shown in FIGS. 2 and 3, and the virtual mechanism displays in real time on a three-dimensional coordinate space in accordance with the position information. This makes it possible to perform an interference check using a CAD function and a test while moving a mechanism that is being adjusted in the field.
[0058]
A specific simulation procedure of the motion control using the evaluation system described above is as shown in a flowchart of FIG. That is, first, the basic design and layout of the mechanical system are designed, and the mechanism is determined based on the basic design and layout (ST1, ST2). Next, the operation pattern to be controlled is converted into an operation pattern on the motor shaft (ST3). As a result, a velocity diagram (operation pattern) in an ideal state indicated by a dashed line in FIG. 4 is obtained.
[0059]
Next, based on the conditions of the mechanism and the like determined in Steps 1 and 2, the load inertia and the load torque when the servo motor rotates, and the rotation speed are calculated (ST4). Then, a motor that satisfies the calculated motor conditions (how many watts, how much torque, etc.) is provisionally selected (ST5).
[0060]
The acceleration / deceleration torque, instantaneous maximum torque, and effective torque are calculated based on the specifications of the temporarily selected motor (ST6). Then, based on the data calculated so far, the suitability of the temporarily selected motor is determined, and if not, a better motor is selected. Thus, the motor to be used is determined (ST7). Note that the processing up to this point is the same as in the related art.
[0061]
Next, the delay time Δt of the velocity diagram is estimated from the system configuration for performing the motion control determined up to step 7 (ST8). That is, since the delay time Δt is determined by the load inertia, the magnitude of the load, and the like, the delay time Δt can be obtained by substituting each value obtained in each step unit into the calculation formula of the delay time. Note that various conventionally known formulas for calculating the delay time can be used.
[0062]
Next, a simulation of the motion control is executed based on the operation time in consideration of the delay time Δt thus obtained (ST9). That is, the evaluation described with reference to FIG. 5 is performed.
[0063]
Then, it is determined whether the evaluation result indicates that the cycle time performance and the feasibility of the motion system are sufficient (ST10). That is, it is determined whether the motion control can be performed correctly in the required cycle time and the control target can perform a desired operation. This determination is performed by, for example, the user confirming the operation of the virtual mechanical unit output from the 3D mechanism simulator unit 15 displayed on the display screen of the personal computer 10 or the information flowing on the control network 50 detected by the network trace monitor unit 12. Is performed by the user confirming the trace monitor generated according to the above and output to the display device. If satisfied, the content is determined and the verification is completed. If it is not sufficient, the process returns to step 1 and the design is started again from the beginning.
[0064]
FIG. 7 shows a display example of the trace monitor. In FIG. 7, the simulation in the mechanical clamp control shown in FIG. 2 is traced by the network trace monitor unit 12 and displayed on the display screen 10a of the display device of the personal computer 10. As described above, the operation result can be confirmed by the timing chart, and the three timings of the robot, the PLC, and the motion control can be verified in advance (in the illustrated example, the operation is normal). Then, by using the program of the actual machine, the accuracy of the timing is higher than that of the simulation language alone.
[0065]
In other words, according to the above-described embodiment, by using the PLC control program or the motion program of the actual device, the software test and the design verification are accurately performed in advance even when there is no actual equipment. The quality of the design and the quality of the program can be improved efficiently. Furthermore, by performing a simulation using a time delay element (Δt) inside the motion controller, verification can be performed with the same accuracy as when an external device such as a motor or a mechanism is connected.
[0066]
【The invention's effect】
As described above, in the present invention, a simulation can be executed using a program to be verified, such as a user program of a PLC, which is used for a real machine, so that accurate verification can be performed. Further, since a time difference occurs between the setting operation (ideal operation) and the actual operation in the motion control, the simulation is performed in consideration of the delay time information based on the time difference, so that the verification accuracy is improved.
[Brief description of the drawings]
FIG. 1 is a system configuration diagram showing a preferred embodiment of the present invention.
FIG. 2 is a diagram illustrating an example of motion control.
FIG. 3 is a diagram illustrating an example of motion control.
FIG. 4 is a diagram illustrating a delay time in motion control.
FIG. 5 is a diagram illustrating an example of an evaluation system.
FIG. 6 is a flowchart illustrating a procedure of a simulation of motion control.
FIG. 7 is a diagram illustrating an example of a monitor screen output from a network trace monitor unit.
[Explanation of symbols]
10 PC
10a Display screen
11 Network interface
12 Network trace monitor
13 3D CAD unit
14 3D discrete system simulator
15 3D mechanism simulator
16 Programming Tool Department
20 PLC
21 CPU unit
22 Network Unit
23 Motion control unit
30 PLC for virtual I / O
31 CPU unit
32 Network Unit
33 I / O unit
40 Robot controller
41 Network Interface
42 Robot controller
50 Control Network

Claims (11)

制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラに対して出力する手段を有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力してモーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real device connected to a control network, and a motion controller mounted with a motion program for a real device,
The programmable controller has means for issuing a start command in accordance with the execution of the user program and outputting the start command to the motion controller,
The motion controller is configured to execute the motion program by inputting the start command from the programmable controller, to estimate delay time information based on a time difference between an ideal operation and an actual operation, and to estimate the delay time information. Means for outputting, to the programmable controller, a completion notification for predicting the actual operation based on the evaluation system.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した完了通知とをシミュレータに出力する手段とを有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有し、
前記シミュレータは、前記始動命令を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator,
The programmable controller issues a start instruction in accordance with the execution of the user program, outputs the start instruction to the motion controller and the simulator, and inputs a completion notification from the motion controller. Means for outputting to a simulator,
Means for executing the motion program by inputting the start command from the programmable controller; means for estimating delay time information based on a time difference between an ideal operation and an actual operation; and the estimated delay time information. Means for outputting a completion notification that predicts the actual operation based on the programmable controller to the programmable controller,
The simulator has means for starting a simulation based on the start command input from the programmable controller, and means for completing the simulation based on a completion notification input from the programmable controller. Characteristic evaluation system.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから実際動作に関するデータを入力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した実際動作に関するデータと完了通知とをシミュレータに出力する手段とを有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を推定する手段と、前記推定した遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段と、実際動作を推定する手段と、推定した実際動作に関するデータを前記プログラマブルコントローラに対して出力する手段と、を有し、
前記シミュレータは、前記指令値を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した実際動作に関するデータに基づいてシミュレーションを続行する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator,
A means for issuing a start command in accordance with the execution of the user program and outputting the start instruction to the motion controller and the simulator; a means for inputting data relating to an actual operation from the motion controller; Means for inputting a notification of completion from, and means for outputting data and a notification of completion of the input actual operation to the simulator,
Means for executing the motion program by inputting the start command from the programmable controller; means for estimating delay time information based on a time difference between an ideal operation and an actual operation; and the estimated delay time information. Means for outputting, to the programmable controller, a completion notification for estimating the actual operation based on the program, means for estimating the actual operation, and means for outputting data on the estimated actual operation to the programmable controller. And
A means for starting a simulation based on the command value input from the programmable controller; a means for continuing the simulation based on actual operation data input from the programmable controller; and an input from the programmable controller. Means for completing the simulation based on the completion notification given.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラに対して出力する手段を有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力してモーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持する手段と、前記遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real device connected to a control network, and a motion controller mounted with a motion program for a real device,
The programmable controller has means for issuing a start command in accordance with the execution of the user program and outputting the start command to the motion controller,
The motion controller executes the motion program by inputting the start command from the programmable controller, storing and holding delay time information based on a time difference between an ideal operation and an actual operation, and based on the delay time information. Means for outputting, to the programmable controller, a completion notification for predicting the actual operation of the system.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した完了通知とをシミュレータに出力する手段とを有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持する手段と、前記遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段とを有し、
前記シミュレータは、前記始動命令を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator,
The programmable controller issues a start instruction in accordance with the execution of the user program, outputs the start instruction to the motion controller and the simulator, and inputs a completion notification from the motion controller. Means for outputting to a simulator,
Means for executing the motion program by inputting the start command from the programmable controller, means for storing and holding delay time information based on a time difference between an ideal operation and an actual operation, and Means for outputting to the programmable controller a completion notification that predicted the actual operation based on the
The simulator has means for starting a simulation based on the start command input from the programmable controller, and means for completing the simulation based on a completion notification input from the programmable controller. Characteristic evaluation system.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを備え、
前記プログラマブルコントローラは、前記ユーザプログラムの実行に伴い始動命令を発行して前記モーションコントローラと前記シミュレータとに対して出力する手段と、前記モーションコントローラから実際動作に関するデータを入力する手段と、前記モーションコントローラから完了通知を入力する手段と、入力した実際動作に関するデータと完了通知とをシミュレータに出力する手段とを有し、
前記モーションコントローラは、前記始動命令を前記プログラマブルコントローラから入力して前記モーションプログラムを実行する手段と、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持する手段と、前記遅れ時間情報に基づいて実動作を予測した完了通知を前記プログラマブルコントローラに対して出力する手段と、実際動作を推定する手段と、推定した実際動作に関するデータを前記プログラマブルコントローラに対して出力する手段とを有し、
前記シミュレータは、前記指令値を前記プログラマブルコントローラから入力したことに基づいてシミュレーションを開始する手段と、前記プログラマブルコントローラから入力した実際動作に関するデータに基づいてシミュレーションを続行する手段と、前記プログラマブルコントローラから入力した完了通知に基づいてシミュレーションを完了となるようにする手段とを有することを特徴とする評価用システム。
A programmable controller mounted with a user program for a real machine connected to a control network, a motion controller mounted with a motion program for a real machine, and a simulator,
A means for issuing a start command in accordance with the execution of the user program and outputting the start instruction to the motion controller and the simulator; a means for inputting data relating to an actual operation from the motion controller; Means for inputting a notification of completion from, and means for outputting data and a notification of completion of the input actual operation to the simulator,
Means for executing the motion program by inputting the start command from the programmable controller, means for storing and holding delay time information based on a time difference between an ideal operation and an actual operation, and Means for outputting to the programmable controller a completion notification that predicts the actual operation based on, and means for estimating the actual operation, and means for outputting data on the estimated actual operation to the programmable controller,
A means for starting a simulation based on the command value input from the programmable controller; a means for continuing the simulation based on actual operation data input from the programmable controller; and an input from the programmable controller. Means for completing the simulation based on the completion notification given.
前記制御ネットワークに、ネットワークトレースモニタ装置を接続し、
そのネットワークトレースモニタ装置が、前記制御ネットワーク上を伝送する情報をモニタリングするようにしたことを特徴とする請求項1乃至6のいずれかに記載の評価用システム。
A network trace monitor device is connected to the control network,
The evaluation system according to any one of claims 1 to 6, wherein the network trace monitoring device monitors information transmitted on the control network.
制御ネットワークに接続された実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のロボット制御用のプログラムを実装したロボットコントローラと、仮想I/O情報を出力する仮想I/O用プログラマブルコントローラとを備え、
制御ネットワークを介して送受した前記仮想I/O用プログラマブルコントローラからの仮想I/O情報に基づいて前記実機用のユーザプログラム並びにロボット制御用のプログラムを実行させるように構成したことを特徴とする評価用システム。
A programmable controller mounted with a user program for a real machine connected to a control network, a robot controller mounted with a program for controlling a robot for a real machine, and a programmable controller for a virtual I / O for outputting virtual I / O information. Prepare,
An evaluation characterized in that it is configured to execute a user program for the real machine and a program for robot control based on virtual I / O information from the virtual I / O programmable controller transmitted and received via a control network. System.
モーション制御を行うモーションプログラムを備えたモーションコントローラであって、
理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持し、
入力した始動命令に基づいて前記モーションプログラムを実行して被制御機器に指令値を出力し、
前記遅れ時間情報に基づいて実動作を予測した完了タイミングの時に完了通知を出力することを特徴とするモーションコントローラ。
A motion controller having a motion program for performing motion control,
The delay time information based on the time difference between the ideal operation and the actual operation is stored and held,
Output the command value to the controlled device by executing the motion program based on the input start command,
A motion controller that outputs a completion notification at a completion timing at which an actual operation is predicted based on the delay time information.
実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを制御ネットワークに接続して評価用システムを構築し、
前記モーションコントローラに、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持させ、前記プログラマブルコントローラにおけるユーザプログラムの実行に伴い発行された始動命令に基づいて前記モーションプログラムを実行し、順次指令値を出力し、
前記シミュレータは、前記指令値に基づいてシミュレーションを行い、
かつ前記モーションコントローラは、前記遅れ時間情報に基づいて実動作を予測した完了通知を出力し、
その完了通知の出力並びにシミュレータのシミュレーション結果に基づいてモーション制御の評価を行うことを特徴とする評価方法。
Build an evaluation system by connecting a programmable controller with a real machine user program, a motion controller with a real machine motion program, and a simulator to a control network.
The motion controller stores and holds delay time information based on a time difference between an ideal operation and an actual operation, executes the motion program based on a start command issued in accordance with execution of a user program in the programmable controller, and sequentially issues a command. Outputs the value,
The simulator performs a simulation based on the command value,
And the motion controller outputs a completion notification that predicts an actual operation based on the delay time information,
An evaluation method characterized by evaluating motion control based on the output of the completion notification and the simulation result of the simulator.
実機用のユーザプログラムを実装したプログラマブルコントローラと、実機用のモーションプログラムを実装したモーションコントローラと、シミュレータとを制御ネットワークに接続して評価用システムを構築し、
前記プログラマブルコントローラにてユーザプログラムの実行に伴い始動命令が発行されて、モーションコントローラに出力され、
前記モーションコントローラに、理想動作と実際動作との時間差に基づく遅れ時間情報を記憶保持させ、前記プログラマブルコントローラからの始動命令に基づいて前記モーションプログラムを実行し、順次指令値を出力するとともに、前記遅れ時間情報に基づいて実動作を予測した完了通知を出力し、
前記シミュレータは、モーションコントローラの前記指令値および完了通知を入力して、シミュレーションを行い、そのシミュレーション結果に基づいてモーション制御の評価を行うことを特徴とする評価方法。
Build an evaluation system by connecting a programmable controller with a real machine user program, a motion controller with a real machine motion program, and a simulator to a control network.
A start command is issued in accordance with the execution of the user program in the programmable controller, output to the motion controller,
The motion controller stores and holds delay time information based on a time difference between an ideal operation and an actual operation, executes the motion program based on a start command from the programmable controller, sequentially outputs a command value, and sequentially outputs the command value. Outputs a completion notification that predicts actual operation based on time information,
The evaluation method, wherein the simulator inputs the command value of the motion controller and the completion notification, performs simulation, and evaluates motion control based on the simulation result.
JP2003050792A 2003-02-27 2003-02-27 Evaluation system, evaluation method, and motion controller Pending JP2004259112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003050792A JP2004259112A (en) 2003-02-27 2003-02-27 Evaluation system, evaluation method, and motion controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003050792A JP2004259112A (en) 2003-02-27 2003-02-27 Evaluation system, evaluation method, and motion controller

Publications (1)

Publication Number Publication Date
JP2004259112A true JP2004259112A (en) 2004-09-16

Family

ID=33116113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003050792A Pending JP2004259112A (en) 2003-02-27 2003-02-27 Evaluation system, evaluation method, and motion controller

Country Status (1)

Country Link
JP (1) JP2004259112A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007128213A (en) * 2005-11-02 2007-05-24 Taiyo Nippon Sanso Corp Simulation system
JP2009048396A (en) * 2007-08-20 2009-03-05 Koyo Electronics Ind Co Ltd Simulator of motor motion
JP2009080770A (en) * 2007-09-27 2009-04-16 Jfe Steel Kk Monitor and control system
JP2009095864A (en) * 2007-10-17 2009-05-07 Aida Eng Ltd Servo press
JP2011107866A (en) * 2009-11-16 2011-06-02 Hakko Denki Kk Apparatus and method for sequence control of connected equipment simulator, and program therefor
JP2011192019A (en) * 2010-03-15 2011-09-29 Omron Corp Display device, display method, program, virtual mechanism library, and computer-readable recording medium
JP4877423B1 (en) * 2011-03-15 2012-02-15 オムロン株式会社 PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP2012198636A (en) * 2011-03-18 2012-10-18 Mitsubishi Electric Corp Controller
CN104321706A (en) * 2012-03-28 2015-01-28 欧姆龙株式会社 Simulation device, simulation method and simulation program
WO2015079503A1 (en) * 2013-11-26 2015-06-04 三菱電機株式会社 System-setup assistance apparatus
KR20190046984A (en) 2016-10-14 2019-05-07 미쓰비시덴키 가부시키가이샤 Simulation device
JP2019128802A (en) * 2018-01-24 2019-08-01 村田機械株式会社 Simulation system, simulation method and program
JP6570772B1 (en) * 2018-05-17 2019-09-04 三菱電機株式会社 Simulation apparatus and simulation program
JP7189383B1 (en) 2022-01-20 2022-12-13 Tdk株式会社 Verification system and verification method

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007128213A (en) * 2005-11-02 2007-05-24 Taiyo Nippon Sanso Corp Simulation system
JP2009048396A (en) * 2007-08-20 2009-03-05 Koyo Electronics Ind Co Ltd Simulator of motor motion
JP2009080770A (en) * 2007-09-27 2009-04-16 Jfe Steel Kk Monitor and control system
JP2009095864A (en) * 2007-10-17 2009-05-07 Aida Eng Ltd Servo press
JP2011107866A (en) * 2009-11-16 2011-06-02 Hakko Denki Kk Apparatus and method for sequence control of connected equipment simulator, and program therefor
US9507339B2 (en) 2010-03-15 2016-11-29 Omron Corporation Display device, display method, program, virtual mechanism library, and computer readable recording medium
JP2011192019A (en) * 2010-03-15 2011-09-29 Omron Corp Display device, display method, program, virtual mechanism library, and computer-readable recording medium
JP4877423B1 (en) * 2011-03-15 2012-02-15 オムロン株式会社 PLC CPU unit, PLC system program, and recording medium storing PLC system program
CN103403631A (en) * 2011-03-15 2013-11-20 欧姆龙株式会社 CPU of PLC, system program for PLC, and recording medium storing system program for PLC
US10274923B2 (en) 2011-03-15 2019-04-30 Omron Corporation CPU of PLC, system program for PLC, and recording medium storing system program for PLC
CN103403631B (en) * 2011-03-15 2016-01-20 欧姆龙株式会社 The CPU element of programmable logic controller (PLC)
WO2012124132A1 (en) * 2011-03-15 2012-09-20 オムロン株式会社 Cpu of plc, system program for plc, and recording medium storing system program for plc
JP2012198636A (en) * 2011-03-18 2012-10-18 Mitsubishi Electric Corp Controller
CN104321706A (en) * 2012-03-28 2015-01-28 欧姆龙株式会社 Simulation device, simulation method and simulation program
CN104321706B (en) * 2012-03-28 2016-11-02 欧姆龙株式会社 Analogue means and analogy method
KR20160087885A (en) * 2013-11-26 2016-07-22 미쓰비시덴키 가부시키가이샤 System-setup assistance apparatus
JP5996125B2 (en) * 2013-11-26 2016-09-21 三菱電機株式会社 System construction support device
CN105765468A (en) * 2013-11-26 2016-07-13 三菱电机株式会社 System-setup assistance apparatus
KR101706029B1 (en) 2013-11-26 2017-02-10 미쓰비시덴키 가부시키가이샤 System-setup assistance apparatus
JPWO2015079503A1 (en) * 2013-11-26 2017-03-16 三菱電機株式会社 System construction support device
WO2015079503A1 (en) * 2013-11-26 2015-06-04 三菱電機株式会社 System-setup assistance apparatus
DE112016007339T5 (en) 2016-10-14 2019-07-04 Mitsubishi Electric Corporation simulation device
KR20190046984A (en) 2016-10-14 2019-05-07 미쓰비시덴키 가부시키가이샤 Simulation device
US11467569B2 (en) 2016-10-14 2022-10-11 Mitsubishi Electric Corporation Simulation device
JP2019128802A (en) * 2018-01-24 2019-08-01 村田機械株式会社 Simulation system, simulation method and program
JP6570772B1 (en) * 2018-05-17 2019-09-04 三菱電機株式会社 Simulation apparatus and simulation program
WO2019220605A1 (en) * 2018-05-17 2019-11-21 三菱電機株式会社 Simulation device and simulation program
CN112119358A (en) * 2018-05-17 2020-12-22 三菱电机株式会社 Simulation device and simulation program
JP7189383B1 (en) 2022-01-20 2022-12-13 Tdk株式会社 Verification system and verification method
WO2023140299A1 (en) * 2022-01-20 2023-07-27 Tdk株式会社 Verification system, and verification method
JP2023106035A (en) * 2022-01-20 2023-08-01 Tdk株式会社 Verification system and verification method

Similar Documents

Publication Publication Date Title
CN108628595B (en) System and method for developing control applications for controllers of an automation system
US7174225B2 (en) Method and system for simulating processing of a workpiece with a machine tool
EP2549344B1 (en) Simulation method of control program enabling a selective restart of the simulation
CN108021099B (en) Machine learning device and machining time prediction device
KR101641853B1 (en) Simulation system, programmable controller, simulation device, and engineering tool
JP2004259112A (en) Evaluation system, evaluation method, and motion controller
JP5692877B2 (en) Test device for testing control programs for robotic devices
JP7052250B2 (en) Information processing equipment, information processing methods, and information processing programs
US20070233452A1 (en) Simulation apparatus and simulation method
US20150378333A1 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
JP2012194671A (en) Controller support device, controller support program to be executed in controller support device, and recording medium storing controller support program
US10814486B2 (en) Information processing device, information processing method, and non-transitory computer-readable recording medium
JP2019061523A (en) Information processing unit, information processing method, and program
JP5891891B2 (en) Information processing apparatus, information processing method, and program
US20210018903A1 (en) Information processing system, information processing method, and recording medium
JP2003162304A (en) Simulating method for facility control and device therefor
JP3913666B2 (en) Simulation device
JP2017045141A (en) Equipment operation analysis device
JP2018036945A (en) Simulator linkage device, control method of simulator linkage device, information processing program, and record medium
JP2001042907A (en) Sequence controller
US20230121498A1 (en) Simulated collaboration of multiple controllers
JPH11272307A (en) Motion controller
JP2005301334A (en) Motion controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20051024

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Effective date: 20080311

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080508

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080610

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080808

A02 Decision of refusal

Effective date: 20080909

Free format text: JAPANESE INTERMEDIATE CODE: A02