JP2002318607A - Renewal design supporting method and its system and virtual equipment to be used for the same - Google Patents

Renewal design supporting method and its system and virtual equipment to be used for the same

Info

Publication number
JP2002318607A
JP2002318607A JP2001120326A JP2001120326A JP2002318607A JP 2002318607 A JP2002318607 A JP 2002318607A JP 2001120326 A JP2001120326 A JP 2001120326A JP 2001120326 A JP2001120326 A JP 2001120326A JP 2002318607 A JP2002318607 A JP 2002318607A
Authority
JP
Japan
Prior art keywords
equipment
facility
virtual
control program
actual
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
JP2001120326A
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 JP2001120326A priority Critical patent/JP2002318607A/en
Publication of JP2002318607A publication Critical patent/JP2002318607A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a renewal design supporting method and system capable of easily verifying a renewal control program. SOLUTION: In a production factory 10, facility controllers 12 and 13 which receive an instruction from a facility management server 14 controls the operation of a robot 11 to be controlled so that a plurality of actual facilities can be cooperated. A virtual facility 20 is connected through an Internet 30 to the production factory. An improved control object 22c is integrated into a carriage facility controller 22 of the virtual facility, and a carriage robot operation simulator part 21 being an object to be controlled is arranged in the virtual facility. The control object 22c controls the simulator part 21 corresponding to the actual facility to be controlled according to an instruction received from the facility management server 14 in a state in which the production factory is operated. Thus, the verification of the control object 22c can be performed. After the verification, the control object 22c is downloaded to the controller 12 of the production factory.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、リニューアル設
計支援方法及びシステム並びにそれに用いられる仮想設
備に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a renewal design support method and system, and a virtual facility used for the method and system.

【0002】[0002]

【発明の背景】例えば生産工場において、複数の設備を
組み合わせて一つのシステムを構築する際には、協働す
る個々の設備の動作を制御するための制御プログラムを
作成し、実設備(実機)に組み込むことになる。この制
御プログラムは、設備単体の動作制御はもちろんのこ
と、他の設備と協働するための動作制御も行う。係る場
合、通常は作成した制御プログラムを実機に組み込む前
に、シミュレーション装置を用いて検証し、正常に動作
することを確認後、その制御プログラムを実機にダウン
ロードし、生産工場を稼動するようにしている。
BACKGROUND OF THE INVENTION For example, when one system is constructed by combining a plurality of facilities in a production factory, a control program for controlling the operation of each of the cooperating facilities is created, and actual facilities (real machines) are created. Will be incorporated into This control program performs not only the operation control of the facility itself but also the operation control for cooperating with other facilities. In such a case, usually, before incorporating the created control program into the actual machine, it is verified using a simulation device, and after confirming that it operates normally, the control program is downloaded to the actual machine, and the production factory is operated. I have.

【0003】そして、係るシミュレーションを行う従来
技術としては、例えば、特開2000−81906号公
報に示された仮想工場シミュレーション装置などがあっ
た。この公報に開示された技術は、コンピュータ上に実
際の設備に対応するシミュレーション装置を作成して仮
想工場を生成する。そして、制御プログラムを用いてそ
の仮想工場におけるシミュレーション装置を動作させ、
正常に稼動するか否かを判断するものである。
As a conventional technique for performing such a simulation, for example, there is a virtual factory simulation apparatus disclosed in Japanese Patent Application Laid-Open No. 2000-81906. The technology disclosed in this publication creates a virtual factory by creating a simulation device corresponding to actual equipment on a computer. Then, the simulation device in the virtual factory is operated using the control program,
This is to determine whether or not to operate normally.

【0004】しかしながら、上記した公報に開示された
仮想工場シミュレーションを用いた技術では、例えば、
既に稼働中の生産工場内に設置された一部の設備の変更
を行う場合にも、その変更する設備に関係するシステム
を構築する全ての設備に付いてのシミュレーション装置
を作成し、変更する設備の制御プログラムの検証を行う
ことになる。従って、仮想工場は大規模となり、係る仮
想工場を実行するコンピュータも高性能でメモリ容量も
大きなものが必要となる。さらに、それら全ての実機
(設備)に対応するシミュレーション用のプログラムを
作成するのは煩雑であり、システムが大規模になり関連
する実機の数が増えるほど、その煩雑さは顕著になる。
However, in the technology using the virtual factory simulation disclosed in the above-mentioned publication, for example,
When changing some equipment installed in a production plant that is already in operation, create a simulation device for all equipment that constructs a system related to the equipment to be changed, and change the equipment. Will be verified. Therefore, the virtual factory becomes large-scale, and a computer for executing the virtual factory needs to have a high performance and a large memory capacity. Further, it is complicated to create a simulation program corresponding to all of these real machines (equipment), and the complexity becomes more remarkable as the system becomes larger and the number of related real machines increases.

【0005】更に、上記公知技術のものは、ロボットな
どの機構が決まったコントローラに限定した場合に有効
な技術である。そして、上記提示した先行文献に限ら
ず、ロボットコントローラの場合は、オフラインティー
チングによりシミュレーション用のプログラムを、実行
可能なコントローラ用の形式のプログラムに生成し、翻
訳または変換して実機にダウンロードする技術は従来か
ら知られている。
Further, the above-mentioned known technique is an effective technique when the mechanism such as a robot is limited to a fixed controller. In addition to the prior art documents presented above, in the case of a robot controller, a technology for generating a simulation program by offline teaching into a program for an executable controller, translating or converting the program, and downloading the program to an actual machine is known. Conventionally known.

【0006】一方、ロボットやセンサ、アクチュエータ
などの多量で多様な要素の組み合わせでシ−ケンス制御
するプログラマブルコントロ−ラを含む制御システム
(以下、PLC制御システムと言う)では、抽象化した
モデル化が難しく実用的でない。
On the other hand, in a control system including a programmable controller (hereinafter, referred to as a PLC control system) that performs sequence control using a combination of a large number of various elements such as robots, sensors, and actuators, an abstract model is used. Hard and impractical.

【0007】よって、実際の生産工場内にPLC制御シ
ステムが存在する場合には、従来の仮想工場によりシミ
ュレーションを行うには係るPLC制御システムのモデ
ル化が不可避であり、実用に供し得ない。
Therefore, when a PLC control system exists in an actual production factory, it is inevitable to model the PLC control system for performing a simulation using a conventional virtual factory, and it cannot be put to practical use.

【0008】さらに、パラレルI/O制御プログラムの
ような抽象レベルでは、物理インタフェースの無い環境
ではそのまま動作できないし、相手からの信号が帰って
こないと動作確認ができない。従って、PLCで実行可
能なプログラムを抽象的形式のプログラムから生成、翻
訳することはかえって複雑になるため使えない。
Further, at an abstract level such as a parallel I / O control program, operation cannot be performed in an environment without a physical interface, and operation cannot be confirmed unless a signal from a partner returns. Therefore, generating and translating a program that can be executed by the PLC from a program in an abstract format becomes rather complicated and cannot be used.

【0009】すなわち、例えば実際の設備システムで
は、PLCはMES(manufacturing e
xecute system:生産実行システム)から
の生産指示を受けて動作しており、FMS(flexi
ble manufacturing system:
フレキシブル生産方式,多品種中少量生産システム)の
全体の動きを含めたオフラインシミュレーションとダウ
ンロードは実機より複雑になってしまう。
That is, for example, in an actual facility system, the PLC is a MES (manufacturing device).
XMS execute system in response to a production instruction from a production execution system (FMS).
ble manufacturing system:
Offline simulation and download including the entire movement of the flexible production system, high-mix, low-volume production system are more complicated than actual machines.

【0010】これは、MESの機能は、実施の形態でも
説明するように設備側と指示管理サーバ側の2つにな
る。しかも、設備側は、制御のデバイスに依存した部分
が必要であり、設計や動的な動作の検証が複雑である。
そして、制御プログラムは、制御対象である設備からの
信号を受けて初めて動作する。従って、制御対象からの
信号がないと検査ができないため、事前の検証をリモー
トで行うことは困難である。
As described in the embodiment, the MES has two functions: the equipment side and the instruction management server side. In addition, the equipment side requires a part depending on the control device, and the design and verification of the dynamic operation are complicated.
Then, the control program operates only when receiving a signal from the equipment to be controlled. Therefore, the inspection cannot be performed without the signal from the control target, and it is difficult to perform the preliminary verification remotely.

【0011】この発明は、工場設備の改善やリニューア
ルで必要となるPLC制御システムなどのためのプログ
ラムの検証を行うとともに、検証後に実機の設備に当該
プログラムをダウンロードすることが容易に行うことの
できるリニューアル設計支援方法及びシステム並びにそ
れに用いられる仮想設備を提供することを目的とする。
According to the present invention, a program for a PLC control system or the like required for improvement or renewal of factory equipment can be verified, and the program can be easily downloaded to actual equipment after verification. It is an object of the present invention to provide a renewal design support method and system and a virtual facility used for the method and system.

【0012】[0012]

【課題を解決するための手段】この発明によるリニュー
アル設計支援方法は、複数の実設備が協働するシステム
における前記実設備の制御プログラムのリニューアル設
計支援方法である。そして、まず、変更した制御プログ
ラムと、その変更した制御プログラムの制御対象である
実設備に対応するシミュレーション手段を備えた仮想設
備を設けるとともに、その仮想設備と前記システムをデ
ータ通信手段を介して接続する。この状態で、前記仮想
設備が、必要な情報を前記実設備と前記仮想設備間で通
信し、その通信により得られた情報を利用して前記変更
した制御プログラムを実行させることにより、前記シミ
ュレーション手段を動作させて前記変更した制御プログ
ラムの検証を行うことである。
A renewal design support method according to the present invention is a renewal design support method for a control program of an actual facility in a system in which a plurality of actual facilities cooperate. Then, first, a virtual facility including a changed control program and a simulation unit corresponding to a real facility to be controlled by the changed control program is provided, and the virtual facility and the system are connected via a data communication unit. I do. In this state, the virtual equipment communicates necessary information between the real equipment and the virtual equipment, and executes the changed control program by using information obtained by the communication, whereby the simulation means To verify the changed control program.

【0013】また、係る方法を実施するために適したリ
ニューアル設計支援システムとしては、複数の実設備が
協働するシステムにおける前記実設備の制御プログラム
のリニューアル設計支援システムであって、前記システ
ムと、変更した制御プログラムと、その変更した制御プ
ログラムの制御対象である実設備に対応するシミュレー
ション手段を備えた仮想設備と、その仮想設備と前記シ
ステムとを接続するデータ通信手段とを備える。さら
に、前記仮想設備は、必要な情報を前記実設備と前記仮
想設備間で通信するとともに、前記実設備からの情報を
利用して前記変更した制御プログラムを実行させ、前記
シミュレーション手段を動作させることにより前記変更
した制御プログラムの検証を行う機能を備えるものであ
る。
[0013] Also, a renewal design support system suitable for carrying out such a method is a renewal design support system for a control program of the actual equipment in a system in which a plurality of actual equipment cooperates, the system comprising: The virtual equipment includes a changed control program, virtual equipment including simulation means corresponding to the actual equipment to be controlled by the changed control program, and data communication means for connecting the virtual equipment to the system. Further, the virtual equipment communicates necessary information between the real equipment and the virtual equipment, executes the changed control program using information from the real equipment, and operates the simulation means. And a function for verifying the changed control program.

【0014】さらに、上記方法並びにシステムを実現す
るための仮想設備としては、複数の実設備が協働するシ
ステムにおける前記実設備の制御プログラムのリニュー
アル設計支援方法を実施するための仮想設備であって、
変更した制御プログラムと、その変更した制御プログラ
ムの制御対象である実設備に対応するシミュレーション
手段と、データ通信手段を介して取得した前記実設備か
らの情報を利用して、前記変更した制御プログラムを実
行させ、前記シミュレーション手段を動作させることに
より前記変更した制御プログラムの検証を行う機能を備
えて構成したものである。
Further, the virtual facility for realizing the above method and system is a virtual facility for implementing a renewal design support method for a control program of the real facility in a system in which a plurality of real facilities cooperate. ,
The changed control program, the simulation means corresponding to the actual equipment to be controlled by the changed control program, and the information obtained from the actual equipment obtained via the data communication means is used to execute the changed control program. It has a function of executing the simulation program and verifying the changed control program by operating the simulation means.

【0015】データ通信手段は、実施の形態では、イン
ターネット30により実現しているが、これに限ること
はなく、公衆回線や専用回線でも良く、また、実設備
(システム)と仮想設備の設置位置が離れていない場合
には、LAN等の各種のネットワークやケーブルにより
直接接続するなど各種の形態がとれる。さらには、有線
に限ることはなく、無線でも良い。また、制御プログラ
ムは、実施の形態では制御オブジェクトに対応する。
The data communication means is realized by the Internet 30 in the embodiment, but is not limited to this, and may be a public line or a dedicated line. If they are not apart from each other, various forms such as a direct connection by various networks such as a LAN or a cable can be adopted. Further, the present invention is not limited to wired, but may be wireless. In the embodiment, the control program corresponds to a control object.

【0016】また、仮想設備に組み込む制御プログラム
並びにその制御プログラムにより制御されるシミュレー
ション装置は、少なくとも改善・作成し、検証する制御
プログラムに関するものであるが、検証しないものを含
ませるようにしても良い。
The control program incorporated in the virtual facility and the simulation device controlled by the control program relate to a control program for at least improving, creating, and verifying, but may include a program not to be verified. .

【0017】この発明によると、仮想設備は、稼働中の
システム(実設備)と通信をしながらその仮想設備内の
制御プログラムの検証を行う。つまり、検証の必要がな
い稼働中の制御プログラムを含む実設備については、シ
ミュレーション装置を作成する必要がなく、仮想設備は
最小限のシミュレーション装置を組み込めばよいので
(必要以上に組み込むのは妨げないが)、仮想設備を構
築するのが容易に行える。しかも、PLC制御システム
のようにモデル化が難しいものを含むシステムであって
も、係るモデル化の難しいものは実機のデータをそのま
ま使用することが可能となる。
According to the present invention, the virtual facility verifies the control program in the virtual facility while communicating with the operating system (real facility). In other words, it is not necessary to create a simulation device for actual equipment including an operating control program that does not need to be verified, and it is only necessary to incorporate a minimum number of simulation devices into the virtual equipment. However, it is easy to construct virtual facilities. Moreover, even in a system including a system that is difficult to model, such as a PLC control system, it is possible to use the data of the actual machine as it is for the system that is difficult to model.

【0018】更に、ネットワーク上にある別のハードウ
ェアで、本番と同じ制御プログラムを仮想設備上でリモ
ート検証できる。そして、システムと仮想設備がデータ
通信手段により接続され通信可能で有れば、どこでもリ
モートで設計や検証サービスが提供ができる。しかも、
実設備を運転しながら、仮想設備で設計と実装の検証が
できる。
Further, the same control program as the actual control program can be remotely verified on the virtual equipment by another hardware on the network. If the system and the virtual facility are connected and communicable by data communication means, design and verification services can be remotely provided anywhere. Moreover,
You can verify design and implementation on virtual equipment while operating real equipment.

【0019】更に本発明によれば、前記検証後、前記変
更した制御プログラムを前記実設備側に前記データ通信
手段を介してダウンロードすることができる。つまり、
生産指示や設備管理システム全体の検証をしてから、プ
ログラム変更のダウンロードができる。
Further, according to the present invention, after the verification, the changed control program can be downloaded to the actual equipment via the data communication means. That is,
After verifying the production instructions and the entire equipment management system, the program changes can be downloaded.

【0020】[0020]

【発明の実施の形態】図1は、本発明の好適な一実施の
形態を示している。実際に稼働している加工組立型の生
産工場10に設置されている搬送ロボット11用のコン
トローラ(搬送設備コントローラ12)を修正する場合
の例を示している。
FIG. 1 shows a preferred embodiment of the present invention. An example is shown in which a controller (transport equipment controller 12) for a transport robot 11 installed in a production and assembly type production factory 10 that is actually operating is modified.

【0021】まず、生産工場10について説明すると、
この例では、搬送ロボット11が、被搬送物であるワー
クを、搬送元から取り出し、所定の経路(運動軌跡)を
経て搬送先へ渡すようになっている。搬送元としては、
そのワークを収納している保管棚(貯蔵設備)や、別の
搬送ラインの搬出位置や、そのワークに対して前工程の
加工を行った加工設備であったりする。また、搬送先
は、加工設備であったり、搬出ラインであったり、貯蔵
設備であったりする。
First, the production factory 10 will be described.
In this example, the transfer robot 11 takes out a work, which is an object to be transferred, from a transfer source and passes the work to a transfer destination via a predetermined path (movement trajectory). As the carrier,
It may be a storage shelf (storage facility) that stores the work, an unloading position of another transport line, or a processing facility that has processed the work in a previous process. Further, the transfer destination may be a processing facility, an unloading line, or a storage facility.

【0022】搬送ロボット11は、搬送設備コントロー
ラ12によってその動作が制御され、図示省略の加工設
備(NCマシニングセンター等)は、加工設備コントロ
ーラ13によってその動作が制御される。そして、それ
ら搬送設備コントローラ12や加工設備コントローラ1
3は、設備管理サーバ14からの生産指示を受けて、接
続された実機(実設備)を動作させる。
The operation of the transfer robot 11 is controlled by a transfer equipment controller 12, and the operation of a processing equipment (not shown) such as an NC machining center is controlled by a processing equipment controller 13. The transport equipment controller 12 and the processing equipment controller 1
3 operates a connected real machine (actual facility) in response to a production instruction from the facility management server 14.

【0023】設備管理サーバ14と、設備コントローラ
並びに実設備の関係を、改善対象の搬送設備(搬送設備
コントローラ12)を例にとって、より具体的に説明す
る。搬送ロボット11が、搬送設備コントローラ12の
PLC制御システムに接続されている。
The relationship between the equipment management server 14, the equipment controller, and the actual equipment will be described more specifically, taking a transfer equipment (transfer equipment controller 12) to be improved as an example. The transfer robot 11 is connected to a PLC control system of the transfer equipment controller 12.

【0024】搬送設備コントローラ12は、設備管理サ
ーバ14内の搬送アプリオブジェクト14aからの生産
指示を受けて、搬送ロボット11の動作順序を決定す
る。一例としては、加工するワークを貯蔵設備から取り
出して、加工設備に渡す働きをする。また、加工が終了
すると搬送ロボット11は加工完了ワークをつかんで搬
送し、貯蔵設備に戻す動作を行うものがある。
The transfer equipment controller 12 receives the production instruction from the transfer application object 14a in the equipment management server 14, and determines the operation order of the transfer robot 11. As an example, the work to be processed is taken out of the storage facility and passed to the processing facility. In some cases, when the processing is completed, the transfer robot 11 performs an operation of grasping and transferring the completed work and returning the work to the storage facility.

【0025】そして、搬送設備コントローラ12は、そ
の決定した動作順序に従って搬送ロボット11のロボッ
トアームを動作させる。つまり、搬送設備コントローラ
12は、パラレルI/Oインタフェース(P−I/O)
やシリアルインタフェース(SI/O)等のI/Oイン
タフェース12aを有し、このI/Oインタフェース1
2aを介して、搬送ロボット11に取り付けられたセン
サ,アクチュエータ,サーボコントローラ等の入出力機
器11aとの間で入出力信号を送受し、上記した動作を
行わせるようにする。一例としては、搬送ロボット11
に設置されたセンサから得られる位置情報に基づいて、
所定のロボットアームが、所定の軌跡を通り、行き過ぎ
たりしないように制御する。
Then, the transfer equipment controller 12 operates the robot arm of the transfer robot 11 in accordance with the determined operation order. That is, the transport equipment controller 12 controls the parallel I / O interface (P-I / O)
And an I / O interface 12a such as a serial interface (SI / O).
An input / output signal is transmitted / received to / from an input / output device 11a such as a sensor, an actuator, and a servo controller attached to the transfer robot 11 via 2a, so that the above operation is performed. As an example, the transfer robot 11
Based on the position information obtained from the sensors installed in
Control is performed so that a predetermined robot arm passes a predetermined trajectory and does not go too far.

【0026】さらに、搬送設備コントローラ12には、
バーチャルマシン(VM)12bが設けられており、ハ
ードウェア(実設備)の差を吸収して異なるハードウェ
アでも同じプログラムが動作する。バーチャルマシン1
2bの例としてはJava言語実行用のバーチャルマシ
ンがある。なお、上記した動作順序の決定や、それに基
づいて実際にロボットアームを動作をさせるのは、制御
オブジェクト12cが行う。
Further, the transport equipment controller 12 includes:
A virtual machine (VM) 12b is provided, and the same program operates on different hardware by absorbing differences in hardware (real equipment). Virtual machine 1
An example of 2b is a virtual machine for Java language execution. The control object 12c determines the above-described operation order and actually operates the robot arm based on the determination.

【0027】設備管理サーバ14は、生産指示や設備管
理の機能を果たすMES(生産実行システム)層アプリ
ケーションを実行するもので、搬送アプリオブジェクト
14aが、係る生産指示を出す。生産指示としては、
「搬送元,搬送先,搬送するワークの種類,個数」等を
送信データの中身とする搬送オーダーがある(図2参
照)。
The equipment management server 14 executes a MES (production execution system) layer application that performs the functions of production instructions and equipment management, and the transfer application object 14a issues such production instructions. As production instructions,
There is a transfer order whose contents include transmission source, transfer destination, type and number of works to be transferred, and the like (see FIG. 2).

【0028】また、図示省略するが、設備管理サーバ1
4には、加工設備用の加工アプリオブジェクトもあり、
その加工アプリオブジェクトが加工設備コントローラ1
3に対して生産指示を送ると、加工設備コントローラ1
3内の制御オブジェクトが動作順序を決定するととも
に、所定のタイミングで加工設備(NCマシニングセン
ター等)を動作させる。なお、上記した構成並びに作用
は、従来のものと同様であるので、その詳細な説明を省
略する。
Although not shown, the equipment management server 1
4 also has a processing application object for processing equipment,
The processing application object is the processing equipment controller 1
3 sends a production instruction to the processing equipment controller 1
The control object in 3 determines the operation order and operates the processing equipment (NC machining center or the like) at a predetermined timing. Since the above-described configuration and operation are the same as those of the related art, detailed description thereof will be omitted.

【0029】ここで、本発明では、実際の工場ラインの
実設備とは別に、仮想設備20を設け、この仮想設備2
0と生産工場(実設備)10を、インターネット30を
介して接続している。なお、各設備とインターネット3
0との接続は、LANや電話回線などの通信手段により
行われる。
Here, according to the present invention, a virtual facility 20 is provided separately from the actual facility of the actual factory line,
0 and a production factory (actual equipment) 10 are connected via the Internet 30. In addition, each facility and Internet 3
The connection with 0 is made by a communication means such as a LAN or a telephone line.

【0030】仮想設備20は、例えば設計サービス会社
などのコントローラ(制御オブジェクト,プログラム)
の改善を行う施設内に設置されたコンピュータにより実
現される。もちろん、設置位置は係る施設内に限ること
はなく、施設外でも良く、生産工場10内に設置された
コンピュータでも良い。その場合には、接続形態として
は、インターネット30にする必要はなく、通常のLA
Nでも良い。また、インターネット30を用いて接続す
るのは、異なる会社間での接続の容易性からであり、通
常の電話回線,公衆回線や専用回線の使用ももちろん妨
げない。要は、生産工場10(設備管理サーバ14等)
と、仮想設備20間で、データの送受信ができればよ
い。
The virtual equipment 20 is, for example, a controller (control object, program) such as a design service company.
It is realized by a computer installed in a facility that improves the quality. Of course, the installation position is not limited to the inside of the facility, and may be outside the facility or a computer installed in the production factory 10. In that case, the connection form does not need to be the Internet 30, and the normal LA
N may be used. The connection using the Internet 30 is made because of the easiness of connection between different companies, and the use of ordinary telephone lines, public lines and dedicated lines is of course not hindered. In short, production factory 10 (equipment management server 14 etc.)
It is sufficient that data can be transmitted and received between the virtual facilities 20.

【0031】仮想設備20内には、改善対象の搬送設備
コントローラ22と、そのコントローラにより動作され
る実機(搬送ロボット11)に対応する搬送ロボット動
作シミュレータ部21が組み込まれている。搬送ロボッ
ト動作シミュレータ部21は、IGRIPなどの搬送動
作を三次元の仮想空間上に見える形で表示できるもので
ある。つまり、従来と同様に一般的なシミュレーション
装置により実現できる。
In the virtual facility 20, a transport facility controller 22 to be improved and a transport robot operation simulator 21 corresponding to an actual machine (transport robot 11) operated by the controller are incorporated. The transfer robot operation simulator section 21 can display a transfer operation such as IGRIP in a three-dimensional virtual space. That is, it can be realized by a general simulation device as in the related art.

【0032】ここで、搬送設備コントローラ22は、改
善した制御オブジェクト22cを有している。この制御
オブジェクト22cは、仮想設備の搬送設備コントロー
ラ22上はもちろんのこと、実設備上の搬送設備コント
ローラ12上においても動作するようにしている。つま
り、実設備の搬送コントローラ12に実装するためのプ
ログラム(制御オブジェクト)を作成し、仮想設備20
内の搬送設備コントローラ22に組み込み、後述するよ
うにその作成した制御オブジェクト22cの動作に不具
合がないかの検証を行う。そして、不具合がない場合に
は、その制御オブジェクトを生産工場10の搬送設備コ
ントローラ12にダウンロードすることにより、以後、
その改善した制御オブジェクトに基づいて実設備での制
御・動作を行うことができる。
Here, the transport equipment controller 22 has an improved control object 22c. The control object 22c operates not only on the transport facility controller 22 of the virtual facility but also on the transport facility controller 12 on the actual facility. That is, a program (control object) to be mounted on the transport controller 12 of the real equipment is created, and the virtual equipment 20 is created.
It is incorporated into the transport equipment controller 22 in the inside, and as described later, it is verified whether or not the operation of the created control object 22c has a defect. Then, when there is no defect, the control object is downloaded to the transport equipment controller 12 of the production factory 10, and thereafter,
Control and operation in actual equipment can be performed based on the improved control object.

【0033】係る処理(検証,ダウンロード等)を実現
するために、仮想設備20内の搬送設備コントローラ2
2には、実設備と同様にバーチャルマシン22b(機能
は、バーチャルマシン12bと同じ)を組み込むととも
に、P−I/O,SI/O機能部22aと、搬送設備ロ
ボットシミュレータ部21を通信I/F機能部22dに
よって接続している。通信I/F機能部22dは、たと
えばソケットインタフェースなどにより実現できる。
In order to realize such processing (verification, download, etc.), the transport equipment controller 2 in the virtual equipment 20
2, a virtual machine 22b (the function is the same as that of the virtual machine 12b) is incorporated as in the actual equipment, and a PI / I / O / SI / O function unit 22a and a transfer equipment robot simulator 21 are connected to the communication I / O. They are connected by the F function unit 22d. The communication I / F function unit 22d can be realized by, for example, a socket interface or the like.

【0034】これにより、制御オブジェクト22cから
みると、実設備と同様にP−I/O,SI/O機能部2
2aとI/Oデータの送受を行うことにより、搬送ロボ
ット動作シミュレータ部21とデータ通信ができる。つ
まり、制御オブジェクト22cからみると、搬送ロボッ
ト動作シミュレータ部21が仮想的な制御対象となる。
これによって、制御オブジェクト22cの動作が論理的
かつ時間的に正しく行えるかどうかを検証できる。
Thus, when viewed from the control object 22c, the PI / O and SI / O function units 2
By transmitting and receiving I / O data to and from 2a, data communication with the transfer robot operation simulator unit 21 can be performed. That is, as viewed from the control object 22c, the transfer robot operation simulator unit 21 is a virtual control target.
This makes it possible to verify whether the operation of the control object 22c can be performed logically and correctly in time.

【0035】すなわち、実設備で稼働中の制御オブジェ
クト(A)から、制御オブジェクト(B)への変更や修
正としては、例えばロボットの上下限リミットスイッチ
と安全柵につけた緊急停止スイッチを追加して安全性を
向上させる場合がある。係る場合における新たな入力情
報は、実設備では、PIOの決められたアドレスに配線
される。そこで、仮想設備20においてもセンサの役割
をするシミュレーション要素を追加し、通信I/F機能
部22dでの実機に相当するPIOのアドレスをON,
OFFさせることができる。そこで、制御オブジェクト
(B)22cでは、PIOの状態を一定間隔で読み込
み、入力パターンによってサーボや自動運転を停止させ
るプログラムを全く実機と同じに追加することになる。
That is, as a change or correction from the control object (A) operating in the actual facility to the control object (B), for example, an upper / lower limit switch of the robot and an emergency stop switch attached to the safety fence are added. May improve safety. In such a case, new input information is wired to a PIO determined address in actual equipment. Therefore, a simulation element serving as a sensor is also added to the virtual equipment 20, and the address of the PIO corresponding to the actual device in the communication I / F function unit 22d is set to ON,
It can be turned off. Therefore, in the control object (B) 22c, the state of the PIO is read at regular intervals, and a program for stopping the servo and automatic operation according to the input pattern is added in the same manner as the actual machine.

【0036】さらに、本形態では、仮想設備20には、
改善した制御オブジェクト22cと、その制御オブジェ
クト22cの制御対象となる設備のシミュレータ(搬送
ロボット動作シミュレータ部21)のみが組み込まれて
おり、他の装置についてのシミュレータやコントローラ
などは組み込んでいない(組み込むのは妨げないが)。
そこで、係る改善した制御オブジェクト22cの検証を
行うためのシミュレーションは、実際の生産工場で稼働
している実設備側から各種データを取得し、動作させる
ようにしている。
Further, in this embodiment, the virtual equipment 20 includes:
Only the improved control object 22c and the simulator (transportation robot operation simulator unit 21) of the equipment to be controlled by the control object 22c are incorporated, and simulators and controllers for other devices are not incorporated (not included). Does not hinder).
Therefore, in the simulation for verifying the improved control object 22c, various data are obtained from the actual equipment operating in the actual production factory and operated.

【0037】そのため、設備管理サーバ14には、搬送
アプリオブジェクト14aと同等の機能を持つ仮想設備
アプリオブジェクト14a′を有している。この仮想設
備アプリオブジェクト14a′は、搬送アプリオブジェ
クト14aと同様に生産指示などを出力する機能を持
つ。但し、係る生産指示の送り先が、仮想設備20の搬
送設備コントローラ22内の制御オブジェクト22cで
ある。
Therefore, the facility management server 14 has a virtual facility application object 14a 'having the same function as the transport application object 14a. The virtual facility application object 14a 'has a function of outputting a production instruction or the like, similarly to the transfer application object 14a. However, the destination of the production instruction is the control object 22c in the transport equipment controller 22 of the virtual equipment 20.

【0038】また、仮想設備20側の制御オブジェクト
22cは、上記したように制御対象の搬送ロボット動作
シミュレータ部21に対して情報の送受を行うととも
に、インターネット30を介して生産工場10の設備管
理サーバ14(仮想設備アプリオブジェクト14a′)
との間でもデータの送受を行うようになる。よって、通
信媒体が、インターネット30かLAN等かで相違する
ものの、データの送受の相手並びに通信方式は、生産工
場10内の実設備に組み込まれた制御オブジェクト12
cと同じになる。
The control object 22c of the virtual facility 20 sends and receives information to and from the transfer robot operation simulator unit 21 to be controlled as described above, and the facility management server of the production factory 10 via the Internet 30. 14 (virtual facility application object 14a ')
Data will be transmitted and received between the device and. Therefore, although the communication medium is different depending on the Internet 30 or the LAN, the data transmission / reception partner and the communication method are the control objects 12 incorporated in the actual equipment in the production factory 10.
It becomes the same as c.

【0039】さらに、仮想設備20で検証を終えた制御
オブジェクト(図示の例では、制御オブジェクト22
c)は、インターネット30を介して生産工場10の設
備コントローラ(図示の例では、搬送設備コントローラ
12)にダウンロード可能としている。上記したよう
に、仮想設備20内での制御オブジェクト22cは、動
作やデータ通信方式などが実設備と同様であるので、そ
のままダウンロードすることにより、実設備側の制御オ
ブジェクトとして稼働可能となる。
Further, the control object which has been verified by the virtual facility 20 (in the illustrated example, the control object 22
c) can be downloaded to the equipment controller of the production factory 10 (in the illustrated example, the transport equipment controller 12) via the Internet 30. As described above, since the control object 22c in the virtual facility 20 has the same operation and data communication system as the actual facility, the control object 22c can be operated as a control object on the real facility side by downloading the control object 22c as it is.

【0040】上記したシステムを用いて、実際に改善・
変更した制御オブジェクトの検証からダウンロードまで
の手順は、図3に示すようになる。そして、その際の設
備管理サーバ14,実設備の搬送設備コントローラ12
と仮想設備の搬送設備コントローラ22間で行われる通
信シーケンスは図2のようになる。さらに、係る処理を
行うための設備管理サーバ14,搬送設備コントローラ
(実設備)12並びに搬送設備コントローラ(仮想設
備)22の各処理機能は、それぞれ図4,(図5・図
6)並びに(図7・図8)に示すフローチャートのよう
になる。
By using the system described above, the
The procedure from verification to download of the changed control object is as shown in FIG. At that time, the equipment management server 14 and the transport equipment controller 12 of the actual equipment
FIG. 2 shows a communication sequence performed between the virtual equipment and the transport equipment controller 22 of the virtual equipment. Further, the processing functions of the equipment management server 14, the transfer equipment controller (real equipment) 12, and the transfer equipment controller (virtual equipment) 22 for performing such processing are shown in FIGS. 4, (FIGS. 5 and 6), and (FIG. 7, the flowchart shown in FIG. 8) is obtained.

【0041】次に、上記した手順を追って、各部の機能
を説明する。まず、図3(a)に示すように、運転中の
制御オブジェクト(A)を改善・作成した制御オブジェ
クト(B)を、仮想設備20に組み込み、その制御オブ
ジェクト(B)についての検証を行う。つまり、リニュ
ーアルの要求仕様に従って、制御の方法の改善や設備の
新規追加などを設計し作成した制御オブジェクト(B)
の事前検証を行う際には、仮想設備上で機械の動作及び
制御の動作の検証をする。
Next, the function of each section will be described following the above procedure. First, as shown in FIG. 3A, a control object (B) obtained by improving / creating a running control object (A) is incorporated into the virtual facility 20, and the control object (B) is verified. In other words, the control object (B) designed and created in accordance with the renewal requirement specifications, such as improvement of the control method and addition of new equipment
When performing pre-verification, the operation of machines and the operation of control are verified on virtual facilities.

【0042】なお、図1中では示さなかったが、設備管
理サーバ14,搬送設備コントローラ12並びに搬送設
備コントローラ(仮想設備20)22には、それぞれ設
備管理サーバインタフェース15,搬送設備インタフェ
ース16並びに仮想設備インタフェース26が設けられ
ており、各インタフェース15,16,26を介して所
定の相手先へデータを送ることができるようになってい
る。なお、これらのインタフェース15,16,26間
のリモート通信は、ネットワーク上の分散オブジェクト
技術であるCORBAやDCOMなどの技術によって実
現できる。これを使えば、オブジェクト名を指定してメ
ソッド呼出しの手続きをすることで、ネットワーク上で
あれば簡単に仮想設備20と生産工場(実設備)10の
通信相手を切替えることができる。
Although not shown in FIG. 1, the facility management server 14, the transport facility controller 12, and the transport facility controller (virtual facility 20) 22 have a facility management server interface 15, a transport facility interface 16, and a virtual facility interface, respectively. An interface 26 is provided, and data can be sent to a predetermined destination via each of the interfaces 15, 16, and 26. The remote communication between these interfaces 15, 16, and 26 can be realized by a technology such as CORBA or DCOM, which is a distributed object technology on a network. If this is used, the communication partner between the virtual facility 20 and the production factory (real facility) 10 can be easily switched on the network by designating the method by specifying the object name.

【0043】そして、事前検証の際には、搬送設備コン
トローラ12には、制御オブジェクト(A)12cが組
み込まれており、実設備で運転中である。つまり、実設
備では、制御オブジェクト(A)12cと搬送アプリオ
ブジェクト14aの間では、設備管理サーバインタフェ
ース15,搬送設備インタフェース16を用いた通信シ
ーケンスによって、制御が行われる。また、搬送アプリ
オブジェクト14aとまったく同じ機能を持つが、仮想
設備20と通信する仮想設備アプリオブジェクト14
a′がコピーによって生成される。この仮想設備アプリ
オブジェクト14a′は、設備管理サーバインタフェー
ス15と仮想設備インタフェース26間の通信により行
う。
At the time of the preliminary verification, the control object (A) 12c is incorporated in the transport equipment controller 12, and the transport equipment controller 12 is operating on the actual equipment. That is, in the actual equipment, control is performed between the control object (A) 12c and the transport application object 14a by a communication sequence using the equipment management server interface 15 and the transport equipment interface 16. The virtual facility application object 14 has exactly the same function as the transport application object 14a, but communicates with the virtual facility 20.
a 'is generated by copying. This virtual facility application object 14a 'is performed by communication between the facility management server interface 15 and the virtual facility interface 26.

【0044】そして、図2に示すように、仮想設備20
の搬送設備コントローラ22から事前検証開始メッセー
ジが出力される(図7:ST40,ST41)。この事
前検証開始メッセージは、設備管理サーバ14と実設備
の搬送設備コントローラ12に送られるので、それらは
係る事前検証開始メッセージの受信の有無をチェックす
る(図4:ST1,図5:ST21)。
Then, as shown in FIG.
A pre-verification start message is output from the transport equipment controller 22 of FIG. 7 (FIG. 7: ST40, ST41). Since the pre-verification start message is sent to the equipment management server 14 and the transport equipment controller 12 of the actual equipment, they check whether or not such a pre-verification start message has been received (FIG. 4: ST1, FIG. 5: ST21).

【0045】設備管理サーバ14は、図4に示すよう
に、事前検証開始メッセージを受信したならば、ステッ
プ2に進み、事前検証する設備コントローラ(制御オブ
ジェクト)用の仮想設備アプリオブジェクト14a′を
生成する(ST2)。そして、以後、生成した仮想設備
アプリオブジェクト14a′と、搬送アプリオブジェク
ト14aが、並列的に搬送オーダー制御シーケンスを開
始する(ST3)。つまり、搬送アプリオブジェクト1
4aは搬送設備コントローラ(実設備)12に対して搬
送オーダーを送り、仮想設備アプリオブジェクト14
a′は搬送設備コントローラ(仮想設備)22に対して
搬送オーダーを送る。なお、この例における制御シーケ
ンスは、ワークを保管設備から取り出して加工設備まで
搬送(搬出作業)し、加工後のワークを保管設備まで搬
送し、戻す(搬入作業する)。
As shown in FIG. 4, upon receiving the pre-verification start message, the facility management server 14 proceeds to step 2 and generates a virtual facility application object 14a 'for the facility controller (control object) to be pre-verified. (ST2). Thereafter, the generated virtual facility application object 14a 'and the transfer application object 14a start a transfer order control sequence in parallel (ST3). That is, the transport application object 1
4a sends a transfer order to the transfer equipment controller (actual equipment) 12 and sends the virtual equipment application object 14
a 'sends a transfer order to the transfer equipment controller (virtual equipment) 22. In the control sequence in this example, the work is taken out of the storage facility, transported to the processing facility (unloading operation), and the processed work is transported to the storage facility and returned (performing the loading operation).

【0046】次いで、搬送アプリオブジェクト14a,
仮想設備アプリオブジェクト14a′は、各搬送設備コ
ントローラ12,22から、搬送処理の進行にともない
送られてくる搬送先搬入予約メッセージ,搬送元搬出予
約メッセージ並びに搬入完了メッセージを受信する(S
T4からST7)。そして、受信したメッセージの内容
にしたがって、所定の処理を実行する。
Next, the transport application object 14a,
The virtual facility application object 14a 'receives a transfer destination carry-in reservation message, a transfer source carry-out reservation message, and a carry-in completion message sent from the respective transfer facility controllers 12 and 22 as the transfer processing progresses (S).
T4 to ST7). Then, predetermined processing is executed according to the content of the received message.

【0047】すなわち、予約メッセージを受けた搬送ア
プリオブジェクト14aは、指定された搬入先設備や搬
入元設備に対して予約する。つまり、他で使用されない
ように確保する。また、搬出完了メッセージの場合に
は、加工設備に対して搬出完了を通知し、加工設備コン
トローラが加工設備を駆動するようになっている。な
お、仮想設備アプリオブジェクト14a′の場合には、
係る各種のメッセージを受けたら、そのステップでの処
理は終了する。
That is, the transport application object 14a that has received the reservation message makes a reservation for the designated destination equipment or destination equipment. That is, it is ensured that it will not be used by others. In the case of the unloading completion message, the completion of unloading is notified to the processing equipment, and the processing equipment controller drives the processing equipment. In the case of the virtual facility application object 14a ',
Upon receiving such various messages, the process in that step ends.

【0048】そして、仮想設備20側から事前検証終了
運転停止メッセージを受信するまで、上記したステップ
3から7までの処理を繰り返し実行する。なお、それら
ステップ3から7までの各処理ステップにおける具体的
な処理は、従来の生産工場10で行われている実設備で
の制御と同様であるので、その詳細な説明を省略する。
The above-described steps 3 to 7 are repeatedly executed until a pre-verification end operation stop message is received from the virtual facility 20 side. Note that the specific processing in each of the processing steps 3 to 7 is the same as the control in the actual equipment performed in the conventional production plant 10, and thus detailed description thereof will be omitted.

【0049】また、事前検証終了運転停止メッセージを
受信した(ステップ8でYes)ならば、実設備の運転
を停止する(ST9)。そして、搬送設備コントローラ
12に新たな制御オブジェクト(B)がダウンロードす
るのを待ち、その後、ダウンロードした新たな制御オブ
ジェクト(B)を使用して運転を再開するか否かを判断
する(ST10)。なお、係る判断は、仮想設備から運
転再開メッセージが送られてきたか否かにより判断す
る。つまり、図3(b)に示すように、仮想設備インタ
フェース26は搬送設備インタフェース16を経由して
搬送設備コントローラ12に制御オブジェクト(B)を
送る。このとき、設備管理サーバインタフェース15
は、搬送設備インタフェース16と仮想設備インタフェ
ース26のいずれとも通信をしていない。
If a pre-verification end operation stop message is received (Yes in step 8), the operation of the actual equipment is stopped (ST9). Then, it waits for the new control object (B) to be downloaded to the transport equipment controller 12, and then determines whether or not to resume operation using the downloaded new control object (B) (ST10). This determination is made based on whether or not an operation restart message has been sent from the virtual facility. That is, as shown in FIG. 3B, the virtual facility interface 26 sends the control object (B) to the transport facility controller 12 via the transport facility interface 16. At this time, the equipment management server interface 15
Does not communicate with either the transport facility interface 16 or the virtual facility interface 26.

【0050】再開しない場合には、そのまま処理を終了
する。これにより、仮想設備アプリオブジェクトも自動
的に消去される。また、運転再開する場合には、ダウン
ロードした制御オブジェクトに関する仮想設備オブジェ
クトを消去し(ST11)、ステップ1に戻る。そし
て、再び事前検証開始メッセージの受信の有無を判断
し、受信していない場合にはステップ12に進み、実設
備のみ運転を続ける。この実設備のみの運転は、搬送設
備アプリオブジェクトに基づくステップ3から7までの
処理を実行することになる。
If not restarted, the process is terminated. Thereby, the virtual facility application object is also automatically deleted. If the operation is to be resumed, the virtual facility object related to the downloaded control object is deleted (ST11), and the process returns to step 1. Then, it is determined again whether or not the pre-verification start message has been received. If the message has not been received, the process proceeds to step 12, and only the actual equipment continues to operate. This operation of only the actual equipment executes the processing of steps 3 to 7 based on the transport equipment application object.

【0051】このとき、図3(c)に示すように、設備
管理サーバインタフェース15と搬送設備インタフェー
ス16が通信を行う。また、仮想設備インタフェース2
6は、搬送設備インタフェース16と仮想設備インタフ
ェース26のいずれとも通信をしていない。
At this time, as shown in FIG. 3C, the equipment management server interface 15 and the transport equipment interface 16 communicate. Virtual equipment interface 2
6 does not communicate with either the transport facility interface 16 or the virtual facility interface 26.

【0052】一方、実設備の搬送設備コントローラ12
は、図5,図6に示すような処理を行う。すなわち、事
前検証開始メッセージを受信したならば、ステップ22
に進み、対応する搬送アプリオブジェクト14aから送
られてくる搬送オーダーの受信を待つ。そして、受信し
たならばその搬送オーダーをサーボ動作指令シーケンス
に変換する(ST22)。
On the other hand, the transport equipment controller 12 of the actual equipment
Performs the processing as shown in FIGS. That is, if the pre-verification start message is received, step 22
And waits for the reception of the transport order sent from the corresponding transport application object 14a. Then, if received, the transport order is converted into a servo operation command sequence (ST22).

【0053】次いで、設備管理サーバ14の搬送アプリ
オブジェクト14aに対して搬入予約メッセージと搬出
予約メッセージを送る(ST23,ST24)。予約完
了後、所定のタイミングで搬出作業サーボ動作指令をP
−I/Oから入出力し、実際の搬出作業を行う(ST2
5)。搬出作業が完了すると、搬出完了メッセージを送
信する(ST26)。
Next, a carry-in reservation message and a carry-out reservation message are sent to the transport application object 14a of the equipment management server 14 (ST23, ST24). After the reservation is completed, the unloading operation servo operation command is
-Input / output from I / O and perform actual unloading work (ST2
5). When the unloading operation is completed, an unloading completion message is transmitted (ST26).

【0054】次に、搬入処理に移行する。つまり、所定
のタイミングで搬入作業サーボ動作指令をP−I/Oか
ら入出力し、実際の搬入作業を行う(ST27)。搬入
作業が完了すると、搬入完了メッセージを送信する(S
T28)。
Next, the process proceeds to the loading process. That is, a carry-in work servo operation command is input / output from the PI / O at a predetermined timing, and an actual carry-in work is performed (ST27). When the carry-in work is completed, a carry-in completion message is transmitted (S
T28).

【0055】そして、仮想設備20側から事前検証終了
運転停止メッセージを受信するまで、上記したステップ
22から28までの処理を繰り返し実行する。また、事
前検証終了運転停止メッセージを受信した(ステップ2
9でYes)ならば、実設備の運転を停止する(ST3
0)。そして、新たな制御オブジェクト(B)をダウン
ロードする(ST31)。
Then, the above-described steps 22 to 28 are repeatedly executed until a pre-verification end operation stop message is received from the virtual facility 20 side. Also, a pre-verification end operation stop message is received (step 2).
If Yes in 9), the operation of the actual equipment is stopped (ST3).
0). Then, a new control object (B) is downloaded (ST31).

【0056】ダウンロード終了後は、そのダウンロード
した新たな制御オブジェクト(B)を使用して運転を再
開するか否かを判断する(ST32)。なお、係る判断
は、仮想設備から運転再開メッセージが送られてきたか
否かにより判断する。そして、再開しない場合には、そ
のまま処理を終了する。
After the download is completed, it is determined whether or not the operation is restarted using the new control object (B) that has been downloaded (ST32). This determination is made based on whether or not an operation restart message has been sent from the virtual facility. If the processing is not to be resumed, the processing is terminated.

【0057】また、運転再開する場合には、再始動し
(ST33)、ステップ21に戻る。そして、再び事前
検証開始メッセージの受信の有無を判断し、受信してい
ない場合にはステップ34に進み、実設備のみ運転を続
ける。この実設備のみの運転は、ステップ22から28
までの処理を実行することになる。
If the operation is to be resumed, the operation is restarted (ST33), and the process returns to step 21. Then, it is determined again whether or not the pre-verification start message has been received. If the message has not been received, the process proceeds to step 34, and only the actual equipment is operated. The operation of only the actual equipment is performed in steps 22 to 28.
The processing up to is performed.

【0058】一方、仮想設備の搬送設備コントローラ2
2は、図7,図8に示すような処理を行う。すなわち、
上記したごとく、事前検証を開始する場合には、事前検
証開始メッセージを送信後(ST40,ST41)、そ
れを受けた設備管理サーバ14の仮想設備アプリオブジ
ェクト14a′から送られてくる搬送オーダーの受信を
待つ。そして、受信したならばその搬送オーダーをサー
ボ動作指令シーケンスに変換する(ST42)。
On the other hand, the transport equipment controller 2 of the virtual equipment
2 performs processing as shown in FIGS. That is,
As described above, when starting the pre-verification, after transmitting the pre-verification start message (ST40, ST41), receiving the transfer order sent from the virtual equipment application object 14a 'of the equipment management server 14 receiving the message. Wait for. Then, if received, the transport order is converted into a servo operation command sequence (ST42).

【0059】次いで、設備管理サーバ14の仮想設備ア
プリオブジェクト14a′に対して搬入予約メッセージ
と搬出予約メッセージを送る(ST43,ST44)。
予約完了後、所定のタイミングで仮想搬出作業サーボ動
作指令をP−I/Oから入出力し、仮想搬出作業を行う
(ST45)。そのシミュレーションによる仮想搬出作
業が完了すると、搬出完了メッセージを送信する(ST
46)。
Next, a carry-in reservation message and a carry-out reservation message are sent to the virtual facility application object 14a 'of the facility management server 14 (ST43, ST44).
After the reservation is completed, a virtual unloading operation servo operation command is input / output from the PI / O at a predetermined timing to perform a virtual unloading operation (ST45). When the virtual unloading operation by the simulation is completed, an unloading completion message is transmitted (ST
46).

【0060】次に、仮想搬入処理に移行する。つまり、
所定のタイミングで仮想搬入作業サーボ動作指令をP−
I/Oから入出力し、仮想搬入作業を行う(ST4
7)。シミュレーション処理による仮想搬入作業が完了
すると、搬入完了メッセージを送信する(ST48)。
Next, the process proceeds to the virtual loading process. That is,
At a predetermined timing, the virtual loading operation servo operation command is
Input / output from I / O and perform virtual carry-in work (ST4)
7). When the virtual carrying-in work by the simulation processing is completed, a carrying-in completion message is transmitted (ST48).

【0061】そして、事前検証終了するまで、上記した
ステップ42から48までの処理を繰り返し実行する。
そして、事前検証が終了したならば(判断は、例えば作
業者からの入力により行う)、設備管理サーバ14と実
設備の搬送設備コントローラ12に対して、事前検証終
了運転停止メッセージを送信する(ST49,ST5
0)。次いで、検証済みの新たな制御オブジェクト
(B)をダウンロードする(ST51)。
Then, the above-described processing of steps 42 to 48 is repeatedly executed until the end of the preliminary verification.
Then, when the pre-verification is completed (the determination is made based on, for example, input from an operator), a pre-verification end operation stop message is transmitted to the equipment management server 14 and the transport equipment controller 12 of the actual equipment (ST49). , ST5
0). Next, a new verified control object (B) is downloaded (ST51).

【0062】ダウンロード終了後に運転開始しない場合
(ステップ52でNo)は、そのまま処理を終了する。
また、運転開始する場合には、運転再開メッセージを送
信する(ST53)。その後、ステップ40に戻り、再
び事前検証を開始するか否かを判断する。開始しない場
合には、実設備のみの運転を続ける(ST54)図5,
図6のステップ22〜28と、図7,図8のステップ4
2〜48を比較すると明らかなように、各搬送設備コン
トローラの制御オブジェクトの処理は同等である。ま
た、仮想設備の搬送設備コントローラ22(制御オブジ
ェクト(B))が行う仮想搬入作業や、仮想搬出作業の
開始タイミングも、実設備の搬送設備コントローラ12
と同様に、設備管理サーバ14からのトリガを受けて動
作する。つまり、実設備からの信号を受けて動作する。
If the operation is not started after the download is completed (No in step 52), the process is terminated.
When the operation is to be started, an operation restart message is transmitted (ST53). Thereafter, the process returns to step 40, and it is determined whether or not to start the preliminary verification again. If not, the operation of only the actual equipment is continued (ST54).
Steps 22 to 28 in FIG. 6 and Step 4 in FIGS.
As is clear from comparison of 2 to 48, the processing of the control objects of the respective transport facility controllers is equivalent. In addition, the start timing of the virtual loading operation and the virtual unloading operation performed by the transport facility controller 22 (control object (B)) of the virtual facility is controlled by the transport facility controller 12 of the real facility.
In the same manner as described above, it operates in response to a trigger from the equipment management server 14. That is, it operates by receiving a signal from the actual equipment.

【0063】以上の仕組みによって、リニューアルの設
計時に精度よく仮想設備を使って検証した実機で実行可
能な制御オブジェクトそのものを実機で動作させること
ができる。また、実機がなくとも、MES層のアプリケ
ーションからP−I/Oのセンサ,アクチュエータまで
全体を含んだ形で設計検証ができる。
According to the above-described mechanism, the control object itself that can be executed by the real machine and that has been accurately verified by using the virtual equipment at the time of designing the renewal can be operated by the real machine. In addition, even without an actual device, design verification can be performed in a form including the entire application from the application of the MES layer to the P / I / O sensor and actuator.

【0064】つまり、従来の方法では、実機調整段階
で、修正をしながら要求仕様どおりのプログラムやパラ
メータに仕上げることが必須であったが、本形態では、
(a)の事前検証の段階でほとんどのポイントを検証で
きるため、期間とかかる工数を短縮できる。このことに
より、迅速に制御の改善や設備リニューアルを行い、か
つインターネット上の設計や検証サービスとしてリモー
トで提供できるようになる。
In other words, in the conventional method, it is necessary to finish the program and parameters according to the required specifications while making corrections in the actual machine adjustment stage.
Since most points can be verified in the pre-verification stage (a), the period and the number of steps can be reduced. This makes it possible to quickly improve control and renew equipment, and to provide it remotely as a design and verification service on the Internet.

【0065】[0065]

【発明の効果】以上のように、この発明では、検証する
制御プログラムを組み込んだ仮想設備と実設備とを接続
し、運転中の実設備から所定の情報を仮想設備の制御プ
ログラムに渡し、これに基づき制御プログラムが動作す
るので、その動作状況を監視し、検証を行うことができ
る。よって、仮想設備には、少なくとも検証する制御プ
ログラムと制御対象となるシミュレーション手段を組み
込めば良く、システム全体をモデル化する必要がないの
で、工場設備の改善やリニューアルで必要となるPLC
制御システムなどのためのプログラムの検証を行うとと
もに、検証後に実機の設備に当該プログラムをダウンロ
ードすることが容易に行える。
As described above, according to the present invention, the virtual equipment incorporating the control program to be verified is connected to the real equipment, and predetermined information is passed from the operating real equipment to the control program of the virtual equipment. Since the control program operates on the basis of the above, it is possible to monitor and verify the operation status. Therefore, at least the control program to be verified and the simulation means to be controlled need only be incorporated in the virtual equipment, and it is not necessary to model the entire system. Therefore, the PLC required for the improvement or renewal of the factory equipment is required.
The program for the control system or the like is verified, and the program can be easily downloaded to the actual equipment after the verification.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の好適な一実施の形態を示す図である。FIG. 1 is a diagram showing a preferred embodiment of the present invention.

【図2】設備管理サーバ,実設備の搬送設備コントロー
ラ並びに仮想設備の搬送設備コントローラ間で行われる
通信シーケンスの一例を示す図である。
FIG. 2 is a diagram illustrating an example of a communication sequence performed between a facility management server, a transport facility controller of a real facility, and a transport facility controller of a virtual facility.

【図3】改善・変更した制御オブジェクトの検証→ダウ
ンロード→運転再開の手順を説明する図である。
FIG. 3 is a diagram illustrating a procedure of verification of an improved / changed control object → download → operation restart.

【図4】管理設備サーバの機能を示すフローチャートで
ある。
FIG. 4 is a flowchart illustrating functions of a management facility server.

【図5】実設備の搬送設備コントローラ(制御オブジェ
クト)の機能を示すフローチャートの一部である。
FIG. 5 is a part of a flowchart showing functions of a transport equipment controller (control object) of the actual equipment.

【図6】実設備の搬送設備コントローラ(制御オブジェ
クト)の機能を示すフローチャートの一部である。
FIG. 6 is a part of a flowchart showing functions of a transport equipment controller (control object) of the actual equipment.

【図7】仮想設備の搬送設備コントローラ(制御オブジ
ェクト)の機能を示すフローチャートの一部である。
FIG. 7 is a part of a flowchart showing functions of a transport facility controller (control object) of the virtual facility.

【図8】仮想設備の搬送設備コントローラ(制御オブジ
ェクト)の機能を示すフローチャートの一部である。
FIG. 8 is a part of a flowchart showing functions of a transport facility controller (control object) of the virtual facility.

【符号の説明】[Explanation of symbols]

10 生産工場 11a 入出力機器 11 搬送ロボット 12 搬送設備コントローラ 12a I/Oインタフェース 12b バーチャルマシン 12c 制御オブジェクト 13 加工設備コントローラ 14 設備管理サーバ 14a 搬送アプリオブジェクト 14a′ 仮想設備アプリオブジェクト 15 設備管理サーバインタフェース 16 搬送設備インタフェース 20 仮想設備 21 搬送ロボット動作シミュレータ部 22 搬送設備コントローラ 22a P−I/O,SI/O機能部 22b バーチャルマシン 22c 制御オブジェクト 22d 通信I/F機能部 26 仮想設備インタフェース 30 インターネット DESCRIPTION OF SYMBOLS 10 Production factory 11a I / O device 11 Transfer robot 12 Transfer equipment controller 12a I / O interface 12b Virtual machine 12c Control object 13 Processing equipment controller 14 Equipment management server 14a Transfer application object 14a 'Virtual equipment application object 15 Equipment management server interface 16 Transport Equipment interface 20 Virtual equipment 21 Transfer robot operation simulator part 22 Transfer equipment controller 22a PI / O, SI / O function part 22b Virtual machine 22c Control object 22d Communication I / F function part 26 Virtual equipment interface 30 Internet

フロントページの続き Fターム(参考) 5H220 AA04 BB12 CC05 CC09 CX09 EE08 EE10 HH04 JJ12 JJ24 JJ38 KK08 LL06 5H223 AA05 CC03 CC06 DD03 EE19 FF05 5H269 AB01 AB33 BB13 EE19 KK01 KK04 KK10 NN16 QE01 QE19Continued on the front page F-term (reference) 5H220 AA04 BB12 CC05 CC09 CX09 EE08 EE10 HH04 JJ12 JJ24 JJ38 KK08 LL06 5H223 AA05 CC03 CC06 DD03 EE19 FF05 5H269 AB01 AB33 BB13 EE19 KK01 KK04 KK10 NN19 QE01

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の実設備が協働するシステムにおけ
る前記実設備の制御プログラムのリニューアル設計支援
方法であって、 変更した制御プログラムと、その変更した制御プログラ
ムの制御対象である実設備に対応するシミュレーション
手段を備えた仮想設備を設けるとともに、その仮想設備
と前記システムをデータ通信手段を介して接続し、 前記仮想設備が、必要な情報を前記実設備と前記仮想設
備間で通信し、 前記仮想設備が、その通信により得られた情報を利用し
て前記変更した制御プログラムを実行させることによ
り、前記シミュレーション手段を動作させて前記変更し
た制御プログラムの検証を行うことを特徴とするリニュ
ーアル設計支援方法。
1. A method for supporting a renewal design of a control program of an actual facility in a system in which a plurality of actual facilities cooperate, the method supporting a modified control program and an actual facility to be controlled by the modified control program A virtual facility provided with simulation means for performing the above, and connecting the virtual facility and the system via data communication means, the virtual facility communicates necessary information between the real facility and the virtual facility, Renewal design support, wherein the virtual facility executes the changed control program using information obtained by the communication, thereby operating the simulation means to verify the changed control program. Method.
【請求項2】 前記検証後、前記変更した制御プログラ
ムを前記実設備側に前記データ通信手段を介してダウン
ロードすることを特徴とする請求項1に記載のリニュー
アル設計支援方法。
2. The renewal design support method according to claim 1, wherein, after the verification, the changed control program is downloaded to the actual equipment via the data communication means.
【請求項3】 複数の実設備が協働するシステムにおけ
る前記実設備の制御プログラムのリニューアル設計支援
システムであって、 前記システムと、 変更した制御プログラムと、その変更した制御プログラ
ムの制御対象である実設備に対応するシミュレーション
手段を備えた仮想設備と、 その仮想設備と前記システムとを接続するデータ通信手
段とを備え、 前記仮想設備は、必要な情報を前記実設備と前記仮想設
備間で通信するとともに、前記実設備からの情報を利用
して前記変更した制御プログラムを実行させ、前記シミ
ュレーション手段を動作させることにより前記変更した
制御プログラムの検証を行う機能を備えたことを特徴と
するリニューアル設計支援システム。
3. A renewal design support system for a control program of the actual equipment in a system in which a plurality of actual equipments cooperate, wherein the system, a changed control program, and an object to be controlled by the changed control program. Virtual equipment provided with simulation means corresponding to real equipment; and data communication means for connecting the virtual equipment and the system, wherein the virtual equipment communicates necessary information between the real equipment and the virtual equipment. A renewal design having a function of executing the changed control program using information from the actual equipment and verifying the changed control program by operating the simulation means. Support system.
【請求項4】 複数の実設備が協働するシステムにおけ
る前記実設備の制御プログラムのリニューアル設計支援
方法を実施するための仮想設備であって、 変更した制御プログラムと、 その変更した制御プログラムの制御対象である実設備に
対応するシミュレーション手段と、 データ通信手段を介して取得した前記実設備からの情報
を利用して、前記変更した制御プログラムを実行させ、
前記シミュレーション手段を動作させることにより前記
変更した制御プログラムの検証を行う機能を備えたこと
を特徴とする仮想設備。
4. A virtual facility for implementing a method for supporting the renewal design of a control program of a real facility in a system in which a plurality of real facilities cooperate, comprising: a modified control program; and control of the modified control program. Using the simulation means corresponding to the target real equipment and the information from the real equipment obtained via the data communication means, executing the changed control program,
A virtual facility having a function of verifying the changed control program by operating the simulation means.
JP2001120326A 2001-04-18 2001-04-18 Renewal design supporting method and its system and virtual equipment to be used for the same Pending JP2002318607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001120326A JP2002318607A (en) 2001-04-18 2001-04-18 Renewal design supporting method and its system and virtual equipment to be used for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001120326A JP2002318607A (en) 2001-04-18 2001-04-18 Renewal design supporting method and its system and virtual equipment to be used for the same

Publications (1)

Publication Number Publication Date
JP2002318607A true JP2002318607A (en) 2002-10-31

Family

ID=18970386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001120326A Pending JP2002318607A (en) 2001-04-18 2001-04-18 Renewal design supporting method and its system and virtual equipment to be used for the same

Country Status (1)

Country Link
JP (1) JP2002318607A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008094553A (en) * 2006-10-12 2008-04-24 Murata Mach Ltd Warehouse management system, warehouse design device and warehouse design program
JP2013517151A (en) * 2010-01-21 2013-05-16 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Test device for testing control programs for robotic devices
CN108139752A (en) * 2017-12-28 2018-06-08 深圳市元征软件开发有限公司 The command verification method, apparatus and slave computer of diagnostic device
WO2018146757A1 (en) * 2017-02-08 2018-08-16 三菱電機株式会社 Information processing device, information processing method, and information processing program
JP6898506B1 (en) * 2020-07-01 2021-07-07 株式会社安川電機 Control system, robot system and control method
WO2021172429A1 (en) * 2020-02-28 2021-09-02 日本電気株式会社 Verification control device, system, and method, and non-transitory computer-readable medium
JP7047965B1 (en) * 2021-08-03 2022-04-05 株式会社安川電機 Controller and system construction method
CN114518724A (en) * 2022-01-28 2022-05-20 弥费实业(上海)有限公司 Communication device and communication mode suitable for AMHS

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008094553A (en) * 2006-10-12 2008-04-24 Murata Mach Ltd Warehouse management system, warehouse design device and warehouse design program
JP2013517151A (en) * 2010-01-21 2013-05-16 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Test device for testing control programs for robotic devices
US9436172B2 (en) 2010-01-21 2016-09-06 Duerr Systems Gmbh Test installation for testing control programs for a robot installation
WO2018146757A1 (en) * 2017-02-08 2018-08-16 三菱電機株式会社 Information processing device, information processing method, and information processing program
JPWO2018146757A1 (en) * 2017-02-08 2019-06-27 三菱電機株式会社 INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING PROGRAM
CN108139752A (en) * 2017-12-28 2018-06-08 深圳市元征软件开发有限公司 The command verification method, apparatus and slave computer of diagnostic device
JP7392823B2 (en) 2020-02-28 2023-12-06 日本電気株式会社 Verification control device, system, method and verification control program
WO2021172429A1 (en) * 2020-02-28 2021-09-02 日本電気株式会社 Verification control device, system, and method, and non-transitory computer-readable medium
JP6898506B1 (en) * 2020-07-01 2021-07-07 株式会社安川電機 Control system, robot system and control method
US11826913B2 (en) 2020-07-01 2023-11-28 Kabushiki Kaisha Yaskawa Denki Control system, robot system and control method
JP2022013559A (en) * 2020-07-01 2022-01-18 株式会社安川電機 Control system, robot system, and control method
JP7047965B1 (en) * 2021-08-03 2022-04-05 株式会社安川電機 Controller and system construction method
EP4130901A1 (en) * 2021-08-03 2023-02-08 Kabushiki Kaisha Yaskawa Denki Controller and system construction method
CN114518724A (en) * 2022-01-28 2022-05-20 弥费实业(上海)有限公司 Communication device and communication mode suitable for AMHS
CN114518724B (en) * 2022-01-28 2023-04-28 弥费科技(上海)股份有限公司 Communication device and communication mode suitable for AMHS

Similar Documents

Publication Publication Date Title
US6850973B1 (en) Downloadable code in a distributed process control system
EP2790101A1 (en) System and method for automated virtual commissioning of an industrial automation system
US5483440A (en) Remote control apparatus and control method thereof
CN101853018B (en) Industrial control system
WO2012114435A1 (en) Electric motor control system and communication method
WO2005109300A1 (en) Integrated service method of distribution software for robot development based on open internet network
CN108989382A (en) Method for replacing and/or cloning at least some equipment of machine
EP1521149B1 (en) Programmable logic controller with variable name resolving means
JP2002318607A (en) Renewal design supporting method and its system and virtual equipment to be used for the same
JP2007102632A (en) Simulation device
JP6570772B1 (en) Simulation apparatus and simulation program
JP2005173849A (en) Automatic machine control system
JP3946312B2 (en) PC remote support system and method
JP2019077011A (en) Slave device, master device and industrial network system
JP2004237364A (en) Creation method of robot teaching data
JP2011062798A (en) Robot control device and robot control method
JP2020144594A (en) Control device and software deployment method
JP7163657B2 (en) Support device, setting method and setting program
JP4904907B2 (en) Slave device
JP2006350884A (en) Firmware update system and method
WO2021145124A1 (en) Control device
EP1999523B1 (en) Control and communication system including at least one automation unit
JP3888588B2 (en) Data transfer method
JP2002351512A (en) Control system, data write/read control program and recording medium recorded with the program
JP5641217B2 (en) Field device communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080722

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080902