JP2000268016A - Distributed control system and its constituting element - Google Patents
Distributed control system and its constituting elementInfo
- Publication number
- JP2000268016A JP2000268016A JP11068579A JP6857999A JP2000268016A JP 2000268016 A JP2000268016 A JP 2000268016A JP 11068579 A JP11068579 A JP 11068579A JP 6857999 A JP6857999 A JP 6857999A JP 2000268016 A JP2000268016 A JP 2000268016A
- Authority
- JP
- Japan
- Prior art keywords
- control device
- physical address
- logical name
- data
- tag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Computer And Data Communications (AREA)
- Control By Computers (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、例えばプログラ
マブル・ロジック・コントローラ(PLC)システム等
として好適な分散制御システム並びにその構成要素に係
り、特に、上位コンピュータの側で、論理名称指定によ
る入出力信号モニタ等を可能とした分散制御システム並
びにその構成要素に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed control system suitable for use as, for example, a programmable logic controller (PLC) system and the components thereof, and more particularly to an input / output signal by designating a logical name on a host computer. The present invention relates to a distributed control system capable of monitoring and the like and components thereof.
【0002】[0002]
【従来の技術】FA(Factory Automation)の分野にお
いては、1若しくは2以上の制御装置(例えば、PL
C、温調コントローラ等)とそれら制御装置の上位に位
置する複数のコンピュータとをFAネットワークを介し
て結んだ分散制御システムがしばしば見られる。2. Description of the Related Art In the field of factory automation (FA), one or more control devices (for example, PL
C, a temperature control controller, etc.) and a plurality of computers located above the control devices via a FA network.
【0003】それら複数のコンピュータのそれぞれに
は、各制御装置が扱う入出力信号の物理アドレス(接点
のON/OFFや温度等のアナログ値を格納しているデ
ータエリアの物理アドレス)とその論理名称との割付関
係を示すタグデータベースと、タグデータベースを参照
して論理名称を物理アドレスに変換した上で入出力信号
をアクセスする機能を有するアクセス支援手段としての
ミドルウェアとが保持されている。Each of the plurality of computers has a physical address of an input / output signal handled by each control device (a physical address of a data area storing an analog value such as ON / OFF of a contact or a temperature) and a logical name thereof. And a middleware as an access support means having a function of converting a logical name to a physical address with reference to the tag database and then accessing an input / output signal.
【0004】そして、各コンピュータに組み込まれたア
プリケーション(例えば、SCADAや簡易モニタリン
グソフト等)において論理名称を指定したデータアクセ
ス要求が発せられた場合には、前記アクセス支援手段と
してのミドルウェアの介在により、該当する物理アドレ
スへのデータアクセスが自動的に行われる。[0004] When a data access request specifying a logical name is issued in an application (for example, SCADA or simple monitoring software) incorporated in each computer, the middleware as the access support means intervenes. Data access to the corresponding physical address is automatically performed.
【0005】このような分散制御システムの一例が図1
9のブロック図に示されている。同図に示されるよう
に、この分散制御システム1は、3台の制御装置(この
例では、PLC)2a,2b,2cと、それら制御装置
2a,2b,2cの上位に位置する2台のコンピュータ
3a,3bとをFAネットワーク4を介して結んで構成
されている。An example of such a distributed control system is shown in FIG.
9 is shown in the block diagram. As shown in FIG. 1, the distributed control system 1 includes three control devices (in this example, PLCs) 2a, 2b, and 2c, and two control devices 2a, 2b, and 2c located above the control devices 2a, 2b, and 2c. It is configured by connecting the computers 3a and 3b via the FA network 4.
【0006】それら2台のコンピュータ3a,3bのそ
れぞれには、各制御装置2a,2b,2cが扱う入出力
信号の物理アドレス(接点のON/OFFや温度等のア
ナログ値を格納しているデータエリアの物理アドレス)
とその論理名称との割付関係を示すタグデータベース5
a,5bと、タグデータベース5a,5bを参照して論
理名称を物理アドレスに変換した上で入出力信号をアク
セスする機能を有するアクセス支援手段としてのミドル
ウェア(図示せず)とが保持されている。In each of these two computers 3a, 3b, a physical address of an input / output signal handled by each of the controllers 2a, 2b, 2c (data storing analog values such as ON / OFF of a contact and temperature) is stored. Area physical address)
Tag database 5 showing the allocation relationship between the logical names
a, 5b, and middleware (not shown) as an access support means having a function of accessing a I / O signal after converting a logical name into a physical address with reference to the tag databases 5a, 5b. .
【0007】そして、各コンピュータ3a,3bに組み
込まれたアプリケーション(例えば、SCADAや簡易
モニタリングソフト等)において論理名称を指定したデ
ータアクセス要求が発せられた場合には、アクセス支援
手段としてのミドルウェアの介在により、該当する物理
アドレスへのデータアクセス(読み出し、及び/又は、
書き込み)が自動的に行われる。[0007] When a data access request specifying a logical name is issued in an application (for example, SCADA or simple monitoring software) incorporated in each of the computers 3a and 3b, middleware as access support means intervenes. By the data access to the corresponding physical address (read and / or
Write) is performed automatically.
【0008】ところで、この種の分散制御システムにお
いては、制御装置2a,2b,2cのいずれかにおける
被制御対象設備の増設や変更等のために、物理アドレス
と論理名称との割付関係を変更せざるを得ない場合があ
る。このような場合、同一の物理アドレスに関しては、
2台のコンピュータ3a,3bにおいて統一した論理名
称の使用を保証せねばならないから、双方のタグデータ
ベース5a,5bを新たな割付関係に合わせて修正する
ことが必要となる。In this type of distributed control system, the assignment relationship between a physical address and a logical name is changed in order to add or change equipment to be controlled in one of the control devices 2a, 2b, and 2c. There are times when it is inevitable. In such a case, regarding the same physical address,
Since it is necessary to guarantee the use of unified logical names in the two computers 3a and 3b, it is necessary to modify both tag databases 5a and 5b according to the new assignment relationship.
【0009】このような修正作業は、FAネットワーク
4として、イーサネット(登録商標)(TCP/IPプ
ロトコル)の利用を前提としたOA用のネットワークO
Sや分散データベースを利用してタグデータベースの共
有化を図ることで容易に自動化することができる。[0009] Such a correction work is performed on the OA network O assuming that the FA network 4 uses Ethernet (registered trademark) (TCP / IP protocol).
It is easy to automate by sharing the tag database using S and distributed database.
【0010】[0010]
【発明が解決しようとする課題】しかしながら、ネット
ワークの耐環境性や耐ノイズ性などが重視されるFAの
分野においては、イーサネット(TCP/IPプロトコ
ル)の利用を前提としたOA用のネットワークOSや分
散データベースの使用は稀であるため、工場内の多くの
生産システムにおいては、複数のコンピュータで同じタ
グデーターベースを共有することは事実上困難であっ
た。そのため、現状では、設計者若しくは保守員が各コ
ンピュータ毎にデーターベースの再入力を行うか、コン
ピュータ間でのファイルコピーを手動で行わざるを得
ず、その結果、入力データの確認作業やデータベースの
整合性確保に多くの工数を必要とする等の問題点があっ
た。However, in the field of FA where importance is placed on environmental resistance and noise resistance of the network, etc., a network OS for OA based on the use of Ethernet (TCP / IP protocol), Because of the rare use of distributed databases, it has been practically difficult for multiple computers in a factory to share the same tag database with multiple computers. Therefore, at present, designers or maintenance personnel have to re-enter the database for each computer or manually copy files between computers, and as a result, input data confirmation work and database There were problems such as requiring many man-hours to ensure consistency.
【0011】この発明は、上述の問題点に着目してなさ
れたものであり、その目的とするところは、イーサネッ
ト(TCP/IPプロトコル)の利用を前提としたOA
用のネットワークOSや分散データベースを使用せずと
も、論理名称と物理アドレスとの割付変更がいずれかの
制御装置に関して行われた場合には、その変更情報をす
べてのコンピュータで共有できるようにした分散制御シ
ステム並びにその構成要素を提供することにある。The present invention has been made in view of the above-mentioned problems, and has as its object to provide an OA based on the use of Ethernet (TCP / IP protocol).
If the assignment of logical names to physical addresses is changed for any control device without using a network OS or distributed database for distribution, the change information can be shared by all computers. It is to provide a control system and its components.
【0012】[0012]
【課題を解決するための手段】上記の目的を達成するた
めに、この発明の分散制御システムは、1若しくは2以
上の制御装置と1若しくは2以上の上位装置とをネット
ワークを介して結ぶと共に、上位装置には、制御装置が
扱う信号の物理アドレスとその論理名称との割付関係を
示すタグデータ記憶部と、タグデータ記憶部を参照して
論理名称を物理アドレスに変換した上で信号をアクセス
する機能を有するアクセス支援手段とを保持させ、上位
装置に組み込まれたアプリケーションにおいて論理名称
を指定したデータアクセス要求が発せられた場合には、
前記アクセス支援手段の介在により、該当する物理アド
レスへのデータアクセスが自動的に行われるようにした
分散制御システムにおいて、前記制御装置には、自機が
扱う信号の物理アドレスとその論理名称との割付関係を
示すローカルタグデータ記憶部を保持させると共に、前
記アクセス支援手段のそれぞれには、制御装置からのロ
ーカルタグデータの情報に基づいてタグデータを更新す
る機能を設け、論理名称と物理アドレスとの割付変更が
いずれの制御装置に関して行われた場合にも、その変更
情報をすべての上位装置で共有できるようにしたことを
特徴とするものである。In order to achieve the above object, a distributed control system according to the present invention connects one or more control devices and one or more higher-level devices via a network, The host device accesses the signal after converting the logical name to a physical address by referring to the tag data storage unit, which indicates the assignment relationship between the physical address of the signal handled by the control device and its logical name, and referring to the tag data storage unit. In the case where a data access request specifying a logical name is issued in an application incorporated in a higher-level device,
In a distributed control system in which data access to a corresponding physical address is automatically performed by the intervention of the access support means, the control device includes a physical address of a signal handled by the own device and a logical name thereof. Along with holding a local tag data storage unit indicating the assignment relationship, each of the access support means is provided with a function of updating tag data based on information of local tag data from the control device, and has a logical name, a physical address, In the case where the assignment change of any of the control devices is performed, the change information can be shared by all the higher-level devices.
【0013】そして、このような構成によれば、各制御
装置側に保持されるローカルタグデータベースは、すべ
ての上位コンピュータに共通なものとなり、しかも通常
のFAネットワークであっても、各上位コンピュータは
制御装置からローカルタグデータを自由に吸い上げるこ
とができるため、イーサネット(TCP/IPプロトコ
ル)の利用を前提としたOA用のネットワークOSや分
散データベースを使用せずとも、論理名称と物理アドレ
スとの割付変更がいずれかの制御装置に関して行われた
場合には、その変更情報をすべてのコンピュータで直ち
に共有することができ、従来のように、設計者若しくは
保守員が各コンピュータ毎にデーターベースの再入力を
行なったり、コンピュータ間でのファイルコピーを手動
で行なうと言った煩雑な作業が不要となり、その結果、
入力データの確認作業やデータベースの整合性確保に多
くの工数をかける必要もなくなる。According to such a configuration, the local tag database held in each control device becomes common to all the high-level computers, and even in a normal FA network, each high-level computer is Since local tag data can be freely downloaded from the control device, the assignment of logical names and physical addresses can be performed without using a network OS for OA or a distributed database on the premise of using Ethernet (TCP / IP protocol). If a change is made to any of the control units, the change information can be shared immediately between all computers, and the designer or maintenance person can re-enter the database for each computer as before. Or manually copying files between computers Sloppy work is not required, as a result,
There is no need to take a lot of man-hours to check input data and to ensure database consistency.
【0014】この発明のアクセス支援装置は、ネットワ
ークを介して制御装置に対して通信できる上位装置に組
み込み可能で、当該上位装置から制御装置に対する論理
名称指定による入出力信号アクセスを支援する装置であ
って、指定された制御装置の信号の物理アドレスとその
論理名称との割付関係を示すローカルタグデータ情報を
獲得するデータ獲得手段と、前記獲得されたローカルタ
グデータ情報に基づいて自機のタグデータ情報を更新す
るデータ更新手段と、を具備することを特徴とするもの
である。The access support device of the present invention can be incorporated in a higher-level device capable of communicating with the control device via a network, and supports input / output signal access from the higher-level device to the control device by designating a logical name. Data acquisition means for acquiring local tag data information indicating an assignment relationship between a physical address of a signal of a designated control device and its logical name; and tag data of the own device based on the acquired local tag data information. Data updating means for updating information.
【0015】そして、このような構成によれば、論理名
称指定による入力信号アクセスを行うアクセス支援装置
(ミドルウェアで実現できる)それ自体にデータ吸い上
げ手段並びにデータ更新手段を付加したことにより、被
制御設備の増設や変更があった場合にも、そのことをア
プリケーションに意識させることなく、論理名称による
的確なデータアクセスを継続することができる。According to such a configuration, the data download means and the data update means are added to the access support device (which can be realized by middleware) for accessing an input signal by designating a logical name. Even if there is an increase or change in the number, it is possible to continue accurate data access by the logical name without making the application aware of the fact.
【0016】この発明の制御装置は、ネットワークを介
して複数の上位コンピュータに接続され、かつ被制御機
器との間で入出力信号のやり取りを行うものであって、
当該制御装置が扱う入出力信号の物理アドレスとその論
理名称との割付関係を示すローカルタグデータベースを
記憶する記憶手段と、上位コンピュータから物理アドレ
スを指定したデータ読み書き要求が到来するのに応答し
て、当該物理アドレスに相当する入出力信号に対してデ
ータ読み書き処理を実行するデータ読み書き処理手段
と、アップロード先として指定された上位コンピュータ
に対して、当該制御装置に記憶されたローカルタグデー
タベースをアップロードするタグデータベースアップロ
ード手段と、を具備することを特徴とするものである。A control device according to the present invention is connected to a plurality of host computers via a network and exchanges input / output signals with a controlled device.
Storage means for storing a local tag database indicating an assignment relationship between a physical address of an input / output signal handled by the control device and its logical name, and a response to a data read / write request specifying a physical address from a host computer Data read / write processing means for executing data read / write processing on an input / output signal corresponding to the physical address, and uploading a local tag database stored in the control device to a host computer designated as an upload destination And a tag database upload unit.
【0017】そして、このような構成によれば、制御装
置それ自体に当該制御装置が扱う入出力信号の物理アド
レスとその論理名称との割付関係を示すローカルタグデ
ータベースを記憶させると共に、これをアップロード先
として指定された上位コンピュータに対してアップロー
ドするように構成したため、各上位コンピュータの側で
はアップロードされたローカルタグデータベースに基づ
いて自機のタグデータベースを更新するだけで、常に、
正確な割付関係を維持することができる。According to such a configuration, the control device itself stores the local tag database indicating the assignment relationship between the physical address of the input / output signal handled by the control device and its logical name, and uploads the local tag database. Since uploading is performed to the upper computer specified as the destination, each upper computer only updates its own tag database based on the uploaded local tag database,
An accurate assignment relationship can be maintained.
【0018】この発明の制御装置の好ましい実施の形態
では、タグデータベースアップロード手段は、上位コン
ピュータからのタグデータベースのアップロード要求に
応答して起動されるように構成される。In a preferred embodiment of the control device of the present invention, the tag database upload means is configured to be started in response to a tag database upload request from a host computer.
【0019】そして、このような構成によれば、タグデ
ータベースアップロード手段は、上位コンピュータから
のタグデータベースのアップロード要求に応答して起動
されるため、アップロードのタイミングを上位コンピュ
ータ側で制御することが可能となる。According to such a configuration, the tag database upload unit is started in response to the tag database upload request from the host computer, so that the timing of the upload can be controlled by the host computer. Becomes
【0020】この発明の制御装置の好ましい実施の形態
では、当該制御装置内のローカルタグデータベースが変
更されるのに応答して、指定された上位コンピュータに
対して変更通知を送出する変更通知送出手段が具備され
る。In a preferred embodiment of the control device according to the present invention, a change notification sending means for sending a change notification to a designated host computer in response to a change in the local tag database in the control device. Is provided.
【0021】そして、このような構成によれば、当該制
御装置内のローカルタグデータベースが変更されるのに
応答して、指定された上位コンピュータに対して変更通
知を送出するため、上位コンピュータは適切なタイミン
グでデータ吸い上げ並びに更新を促されることとなる。According to such a configuration, the change notification is sent to the designated host computer in response to the change of the local tag database in the control device. The user is prompted to download and update data at an appropriate timing.
【0022】この発明の制御装置の好ましい実施の形態
では、変更通知先となる上位コンピュータの指定は、当
該制御装置内に設けられた変更通知リストへの登録によ
り行われるように構成される。In a preferred embodiment of the control device of the present invention, the designation of a higher-level computer as a change notification destination is configured to be performed by registration in a change notification list provided in the control device.
【0023】そして、このような構成によれば、変更通
知先となる上位コンピュータの指定は、当該制御装置内
に設けられた変更通知リストへの登録により行われるた
め、登録内容を適切に設定することにより、変更通知先
となる上位コンピュータを適切に選択することができ、
割付関係の変更と無関係なコンピュータの動作を煩わせ
ることがない。According to such a configuration, the designation of the higher-level computer as the change notification destination is performed by registration in the change notification list provided in the control device, so that the registered contents are appropriately set. By doing so, it is possible to appropriately select the higher-level computer to be notified of the change,
The operation of the computer irrelevant to the change in the assignment relationship is not bothered.
【0024】この発明の制御装置の好ましい実施の形態
では、上位コンピュータからコンピュータ登録要求が到
来するのに応答して、当該要求に含まれるネットワーク
アドレスを変更通知リストへ登録する通知先コンピュー
タ登録手段が具備される。In a preferred embodiment of the control device of the present invention, in response to a computer registration request from a host computer, a notification destination computer registration means for registering a network address included in the request in a change notification list is provided. Provided.
【0025】そして、このような構成によれば、上位コ
ンピュータからコンピュータ登録要求が到来するのに応
答して、当該要求に含まれるネットワークアドレスを変
更通知リストへ登録するため、タグデータベースアップ
ロード先となる上位コンピュータの指定を当該コンピュ
ータ側から設定可能となる。According to such a configuration, in response to the computer registration request from the host computer, the network address included in the request is registered in the change notification list, so that the tag database is uploaded to the tag database upload destination. The designation of the host computer can be set from the computer.
【0026】この発明の制御装置の好ましい実施の形態
では、プログラミングツールから受信されるタグデータ
ベースの内容によりローカルタグデータベースの内容を
更新するローカルタグデータベース更新手段が具備され
る。In a preferred embodiment of the control device of the present invention, a local tag database updating means for updating the contents of the local tag database with the contents of the tag database received from the programming tool is provided.
【0027】そして、このような構成によれば、プログ
ラミングツールを使用してローカルタグデータベースの
内容を更新することができる。According to such a configuration, the contents of the local tag database can be updated using a programming tool.
【0028】この発明のプログラミングツールは、制御
プログラムの作成操作に伴い、当該制御プログラムに含
まれる入出力信号に関して、その論理名称と物理アドレ
スとの割付関係を示すタグデータベースを生成するタグ
データベース生成手段と、前記生成されたタグデータベ
ースを作成された制御プログラムと共に指定された制御
装置へとダウンロードするダウンロード手段と、を具備
することを特徴とするものである。The programming tool according to the present invention is a tag database generating means for generating a tag database indicating an assignment relationship between a logical name and a physical address with respect to an input / output signal included in the control program in accordance with a control program creating operation. And download means for downloading the generated tag database together with the created control program to a designated control device.
【0029】そして、このような構成によれば、制御プ
ログラム作成作業並びに制御装置への組み込み作業と並
行して、ローカルタグデータベースの作成並びに制御装
置への組み込みを実現することができる。According to such a configuration, the creation of the local tag database and the incorporation into the control device can be realized in parallel with the control program creation operation and the incorporation into the control device.
【0030】[0030]
【発明の実施の形態】以下に、この発明の好適な一実施
形態を添付図面を参照しつつ詳細に説明する。本発明が
適用された分散制御システムの構成が図1のブロック図
に概略的に示されている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. The configuration of a distributed control system to which the present invention is applied is schematically shown in the block diagram of FIG.
【0031】同図に示されるように、この分散制御シス
テム6は、3台の制御装置(この例では、PLC)7
a,7b,7cと、それら制御装置7a,7b,7cの
上位に位置する2台のコンピュータ8a,8bとをFA
ネットワーク9を介して結んで構成されている。As shown in the figure, the distributed control system 6 includes three control devices (in this example, PLCs) 7.
a, 7b, and 7c and two computers 8a and 8b located above the control devices 7a, 7b, and 7c.
It is connected via a network 9.
【0032】それら2台のコンピュータ8a,8bのそ
れぞれには、各制御装置7a,7b,7cが扱う入出力
信号の物理アドレス(接点のON/OFFや温度等のア
ナログ値を格納しているデータエリアの物理アドレス)
とその論理名称との割付関係を示すタグデータベース1
0a,10bと、タグデータベース10a,10bを参
照して論理名称を物理アドレスに変換した上で入出力信
号をアクセスする機能を有するアクセス支援手段として
のミドルウェア11a,11b(図2参照)とが保持さ
れている。なお、タグデータベース10a,10bは例
えばコンピュータ8a,8bのハードディスク上に記憶
されている。In each of these two computers 8a and 8b, a physical address of an input / output signal handled by each of the controllers 7a, 7b and 7c (data storing an analog value such as ON / OFF of a contact and temperature) is stored. Area physical address)
Tag database 1 showing the allocation relationship between the logical names
0a, 10b and middleware 11a, 11b (see FIG. 2) as access support means having a function of accessing a I / O signal after converting a logical name into a physical address with reference to the tag databases 10a, 10b. Have been. The tag databases 10a and 10b are stored on, for example, the hard disks of the computers 8a and 8b.
【0033】そして、各コンピュータ8a,8bに組み
込まれたアプリケーション(例えば、SCADAや簡易
モニタリングソフト等)において論理名称を指定したデ
ータアクセス要求が発せられた場合には、アクセス支援
手段としてのミドルウェア11a,11bの介在によ
り、該当する物理アドレスへのデータアクセス(読み出
し、及び/又は、書き込み)が自動的に行われる。When a data access request specifying a logical name is issued in an application (for example, SCADA or simple monitoring software) incorporated in each of the computers 8a and 8b, the middleware 11a as an access support means is issued. The data access (read and / or write) to the corresponding physical address is automatically performed with the intervention of 11b.
【0034】以上の構成に加え、制御装置7a,7b,
7cのそれぞれには、自機が扱う入出力信号の物理アド
レスとその論理名称との割付関係を示すローカルタグデ
ータベース12a,12b,12cが保持されいる。さ
らに、後に詳細に説明するように、アクセス支援手段を
構成するミドルウェア11a,11bのそれぞれには、
各制御装置7a,7b,7cのそれぞれから吸い上げた
ローカルタグデータベース12a,12b,12cに基
づいてタグデータベース10a,10bを更新する機能
が付加されている。なお、図2において、符号13で示
されるのは、制御プログラム並びにタグデータベースの
作成や、それらの制御装置7a,7b,7cへのダウン
ロードに使用れさるプログラミングツールである。In addition to the above configuration, the control devices 7a, 7b,
Each of 7c holds a local tag database 12a, 12b, 12c indicating an assignment relationship between a physical address of an input / output signal handled by the own device and its logical name. Further, as will be described in detail later, each of the middlewares 11a and 11b constituting the access support means includes:
A function of updating the tag databases 10a, 10b based on the local tag databases 12a, 12b, 12c downloaded from the respective control devices 7a, 7b, 7c is added. In FIG. 2, reference numeral 13 denotes a programming tool used for creating a control program and a tag database and downloading them to the control devices 7a, 7b, 7c.
【0035】制御装置7a,7b,7cを構成するPL
C(Programable Logic Controller)のハードウェア構
成が図3に概略的に示されている。図3(a)に示され
るように、制御装置7a,7b,7cを構成するPLC
は、電源ユニット71と、CPUユニット72と、I/
Oユニット73と、通信ユニット74と、その他の高機
能ユニット75とを有しており、それらは図示しないシ
ステムバスにて接続されている。I/Oユニット73に
はセンサやスイッチ等の入力信号源が接続され、通信ユ
ニット74には通信ライン14を介してリモートI/O
15が接続されている。図3(b)に示されるように、
CPUユニット72は、ユニット全体を統括制御するC
PU(マイクロプロセッサで構成)721と、システム
プログラムを格納するROM722と、ワーキングエリ
ア等として使用されるRAM723と、ユーザプログラ
ムを格納するためのユーザプログラムメモリ724と、
各種の演算用パラメータを格納するためのパラメータ保
持用メモリ725と、入出力信号の状態を格納するため
のI/Oメモリ(CI/O)726とを有しており、そ
れらは内部バス727を介して結ばれている。そして、
本発明の要部であるローカルタグデータベース12a,
12b,12cはパラメータメモリ725に格納され、
また入出力信号の物理アドレスとはI/Oメモリ726
内の該当入出力データ等のアドレスを指すものである。
なお、図において、符号728で示されるのは、他のユ
ニットに通ずるシステムバスとのインタフェースであ
る。PL constituting control devices 7a, 7b, 7c
FIG. 3 schematically illustrates a hardware configuration of a C (Programmable Logic Controller). As shown in FIG. 3A, the PLCs constituting the control devices 7a, 7b, 7c
Are a power supply unit 71, a CPU unit 72, an I / O
It has an O unit 73, a communication unit 74, and another high-performance unit 75, which are connected by a system bus (not shown). An input signal source such as a sensor or a switch is connected to the I / O unit 73, and a remote I / O unit is connected to the communication unit 74 via the communication line 14.
15 are connected. As shown in FIG.
The CPU unit 72 controls the entire unit.
A PU (configured with a microprocessor) 721, a ROM 722 for storing a system program, a RAM 723 used as a working area and the like, a user program memory 724 for storing a user program,
It has a parameter holding memory 725 for storing various operation parameters and an I / O memory (CI / O) 726 for storing the state of input / output signals. Are tied through. And
The local tag database 12a, which is a main part of the present invention,
12b and 12c are stored in the parameter memory 725,
The physical address of the input / output signal is the I / O memory 726
Indicates the address of the corresponding input / output data.
In the drawing, reference numeral 728 denotes an interface with a system bus leading to another unit.
【0036】上位コンピュータ8a,8bを構成するコ
ンピュータのハードウェア構成並びにソフトウェア構成
が図4に示されている。図4(a)に示されるように、
上位コンピュータ8a,8bを構成するコンピュータ8
は、装置全体を統括制御するCPU81と、システムプ
ログラムを格納するためのROM82と、ワーキングエ
リア等として使用されるRAM83と、ハードディスク
等で構成されて各種のソフトウェアを格納する補助記憶
装置84と、Ethernet等で構成されるLANコ
ントローラ85と、その他の入出力装置86とを有して
おり、それらはシステムバス87で結ばれている。そし
て、本発明の要部であるタグデータベース10a,10
bは補助記憶装置84に格納される。図4(b)に示さ
れるように、このコンピュータに組み込まれたソフトウ
ェアは、最下層に位置するOS(Operating Systeem)
811と、中間層に位置する分散ミドルウェア812
と、最上層に位置するSCADA813や簡易モニタア
プリケーション814等からなる階層構造を有してい
る。そして、本発明の要部であるアクセス支援機能は分
散ミドルウェア812に組み込まれている。FIG. 4 shows the hardware configuration and software configuration of the computers constituting the host computers 8a and 8b. As shown in FIG.
Computer 8 configuring upper computers 8a and 8b
Includes a CPU 81 for controlling the entire apparatus, a ROM 82 for storing a system program, a RAM 83 used as a working area and the like, an auxiliary storage 84 composed of a hard disk or the like and storing various software, an Ethernet, And the like, and other input / output devices 86, which are connected by a system bus 87. The tag databases 10a, 10a, which are main parts of the present invention,
b is stored in the auxiliary storage device 84. As shown in FIG. 4B, the software installed in this computer is an OS (Operating System) located at the lowest level.
811 and distributed middleware 812 located in the middle layer
And a hierarchical structure including the SCADA 813, the simple monitor application 814, and the like located at the uppermost layer. The access support function, which is a main part of the present invention, is incorporated in the distributed middleware 812.
【0037】制御装置7a,7b,7cに保持されるロ
ーカルタグデータベース12a,12b,12cの内容
例が図5に示されている。同図に示されるように、ロー
カルタグデータベースには、『変数名』、『変数種
別』、『サイズ』、『エリア種別』、『実I/Oアドレ
ス(データの格納アドレス)』からなる5個の項目が定
義されている。そして、このローカルタグデータベース
によれば、『変数名』を引数として、当該入出力信号の
『実I/Oアドレス(データの格納アドレス)』を求め
ることができる。FIG. 5 shows an example of the contents of the local tag databases 12a, 12b, 12c held in the control devices 7a, 7b, 7c. As shown in the figure, the local tag database has five items including “variable name”, “variable type”, “size”, “area type”, and “real I / O address (data storage address)”. Items are defined. According to the local tag database, the "real I / O address (data storage address)" of the input / output signal can be obtained using the "variable name" as an argument.
【0038】上位コンピュータ8a,8bに保持される
タグデータベースの内容例が図6に示されている。同図
に示されるように、タグデータベースには、『グループ
名称』、『変数名』、『制御機器の名称』、『変数種
別』、『サイズ』、『エリア種別』、『実I/Oアドレ
ス(データの格納アドレス)』からなる7個の項目が定
義されている。そして、『グループ名称』と『変数名』
との組み合わせを引数として、当該入出力信号の『実I
/Oアドレス(データの格納アドレス)』を求めること
ができる。FIG. 6 shows an example of the contents of the tag database held in the host computers 8a and 8b. As shown in the figure, the tag database includes “group name”, “variable name”, “control device name”, “variable type”, “size”, “area type”, and “real I / O address”. (Data storage address)] are defined. And "group name" and "variable name"
Of the input / output signal as an argument,
/ O address (data storage address)].
【0039】コンピュータ8a,8bのミドルウェアに
組み込まれる制御装置/ネットワークアドレス管理テー
ブルの内容例が図7(a)に示されている。同図に示さ
れるように、制御装置/ネットワークアドレス管理テー
ブルには、『制御機器の名称』と『制御機器のネットワ
ークアドレス』とが対になって記憶されている。そし
て、『制御機器の名称』を引数として『制御機器のネッ
トワークアドレス』を求めることができる。FIG. 7A shows an example of the contents of the control device / network address management table incorporated in the middleware of the computers 8a and 8b. As shown in the figure, the “control device / network address management table” stores “control device name” and “control device network address” in pairs. Then, the "network address of the control device" can be obtained using the "name of the control device" as an argument.
【0040】制御装置7a,7b,7cを構成するPL
Cに保持される変更通知リストテーブルの内容例が図7
(b)に示されている。同図に示されるように、変更通
知リストテーブルには、変更通知を必要とする上位コン
ピュータのネットワークアドレスが1若しくは2以上登
録されている。従って、変更通知の送出に際しては、こ
の変更通知リストテーブルの登録欄を順に検索して、登
録されているネットワークアドレスへと変更通知を送出
することとなる。PLs constituting control devices 7a, 7b, 7c
FIG. 7 shows an example of the contents of the change notification list table held in C.
This is shown in (b). As shown in the figure, in the change notification list table, one or more network addresses of higher-level computers that need change notification are registered. Therefore, when sending the change notification, the registration column of the change notification list table is searched in order, and the change notification is sent to the registered network address.
【0041】次に、本発明の分散制御システムの構成要
素におけるソフトウェア構成を個別に説明する。先ず、
プログラミングツール13側の処理を図8のフローチャ
ートを参照しつつ説明する。Next, the software configuration of the components of the distributed control system of the present invention will be described individually. First,
The processing on the programming tool 13 side will be described with reference to the flowchart of FIG.
【0042】ユーザはプログラミングツールを用いて、
IEC1131−3言語(ラダー、SFC等)により制
御プログラムを作成する。ユーザはこのツール上にて論
理名称(変数)と実I/Oアドレスの対応を決定、入力
する(ステップ801,802,803,804)。プ
ログラミングツールは、ユーザが入力した論理名称と実
アドレスI/Oの対応から対象となる制御装置単位にタ
グデータベースを生成する(ステップ805)。プログ
ラミングツールは、対象となる制御装置にプログラムの
ダウンロードを行うと同時にこのタグデータベースもダ
ウンロードする(ステップ806,807)。The user uses the programming tool to
A control program is created in IEC1131-3 language (ladder, SFC, etc.). The user determines and inputs the correspondence between the logical name (variable) and the real I / O address on this tool (steps 801, 802, 803, 804). The programming tool generates a tag database for each target control device based on the correspondence between the logical name input by the user and the real address I / O (step 805). The programming tool downloads the tag database at the same time as downloading the program to the target control device (steps 806 and 807).
【0043】次に、制御装置7a,7b,7c側の処理
を図9〜図13のフローチャートを参照しつつ説明す
る。Next, the processing on the control devices 7a, 7b, 7c side will be described with reference to the flowcharts of FIGS.
【0044】制御装置7a,7b,7cは、通信処理を
起動し、受信待ちを行う。受信したコマンドにより(図
9、ステップ901,901A〜901D)、以下の4
つの処理に分岐する(図9、ステップ902,903,
904,905)。The control devices 7a, 7b, 7c start communication processing and wait for reception. According to the received command (FIG. 9, steps 901 and 901A to 901D), the following 4
(FIG. 9, steps 902, 903,
904, 905).
【0045】受信されたコマンドの内容がタグデータベ
ースのダウンロード要求であると解読されると(図9,
ステップ901A)、タグデータベースのダウンロード
要求時の処理が実行される(図9,ステップ902)。
すなわち、図10に示されるように、制御装置は、プロ
グラミングツールよりタグデータベースを受信すると
(ステップ101,102)、『変更通知リスト』テー
ブルを検索し(ステップ104)、登録されている複数
のコンピュータに対してデータベースの変更通知を行う
(ステップ104〜107)。なお、コンピュータが登
録されていない場合には(ステップ105NO)、どの
コンピュータにも通知しない。When it is determined that the content of the received command is a request to download the tag database (FIG. 9,
Step 901A), a process at the time of a request to download the tag database is executed (FIG. 9, step 902).
That is, as shown in FIG. 10, upon receiving the tag database from the programming tool (steps 101 and 102), the control device searches the “change notification list” table (step 104), and registers the plurality of registered computers. To the database (steps 104 to 107). If no computer is registered (step 105 NO), no notification is made to any computer.
【0046】受信されたコマンドの内容がタグデータベ
ースのアップロード要求であると解読されると(ステッ
プ901B)、タグデータベースのアップロード要求時
の処理が実行される(図9,ステップ903)。すなわ
ち、図11に示されるように、制御装置は、装置内に所
有しているタグデータベースをレスポンス内に格納して
返送する(ステップ1101,1102)。When the content of the received command is interpreted as a request for uploading the tag database (step 901B), the processing at the time of the request for uploading the tag database is executed (FIG. 9, step 903). That is, as shown in FIG. 11, the control device stores the tag database owned by the device in the response and returns it (steps 1101 and 1102).
【0047】受信されたコマンドの内容がコンピュータ
の登録要求であると解読されると(図9,ステップ90
1C)、コンピュータの登録要求時の処理が実行される
(図9,ステップ904)。すなわち、図12に示され
るように、送信されてきたコンピュータのネットワーク
アドレスを『通知変更リスト』に登録する(ステップ1
201〜1203)。When the content of the received command is interpreted as a computer registration request (FIG. 9, step 90)
1C), the process at the time of the computer registration request is executed (FIG. 9, step 904). That is, as shown in FIG. 12, the transmitted network address of the computer is registered in the "notification change list" (step 1).
201 to 1203).
【0048】受信されたコマンドの内容がデータの読み
書き要求であると解読されると(図9,ステップ901
D)、データの読み書き要求時の処理が実行される(図
9,ステップ905)。すなわち、図13に示されるよ
うに、読み出し処理の場合には(ステップ1301読み
出し)、指定された物理アドレス内に格納されているデ
ータを、レスポンス内に格納し返送する(ステップ13
02,1303)。これに対して、書き込み処理の場合
には(ステップ1301書き込み)、指定された物理ア
ドレス内に返信されてきたデータを書き込む(ステップ
1304)。When the content of the received command is interpreted as a data read / write request (step 901 in FIG. 9).
D), the processing at the time of the data read / write request is executed (FIG. 9, step 905). That is, as shown in FIG. 13, in the case of the read processing (read in step 1301), the data stored in the specified physical address is stored in the response and returned (step 1313).
02, 1303). On the other hand, in the case of the write processing (write in step 1301), the returned data is written in the specified physical address (step 1304).
【0049】次に、コンピュータ8a,8b上のミドル
ウェア11a,11bの処理を図14〜図18を参照し
つつ説明する。Next, the processing of the middlewares 11a and 11b on the computers 8a and 8b will be described with reference to FIGS.
【0050】ミドルウエア11a,11bは、2つのス
レッドを起動しアプリケーションからの要求と、制御装
置からの受信処理を待機する。The middlewares 11a and 11b activate two threads and wait for a request from an application and a reception process from a control device.
【0051】アプリケーションが制御装置の登録要求を
行った場合には(図14,ステップ1401,1401
A)、登録要求時の処理(図14,ステップ1402)
を実行する。すなわち、図15に示されるように、制御
装置の論理名称とネットワークのアドレスを対にしてテ
ーブルに記録する(ステップ1501〜1503)。When the application makes a registration request for the control device (FIG. 14, steps 1401 and 1401)
A), Processing at the time of registration request (FIG. 14, step 1402)
Execute That is, as shown in FIG. 15, the logical name of the control device and the address of the network are paired and recorded in a table (steps 1501 to 1503).
【0052】アプリケーションが制御装置との通信開始
の要求行った場合には(図14,ステップ1401,1
401B)、通信開始時の処理が実行される(図14,
ステップ1403)。すなわち、図16に示されるよう
に、ミドルウエアは、自分の所有しているタグデータベ
ースを検索し(ステップ1601)、該当制御装置名の
グループが存在するか確認する(ステップ1602)。
該当グループ名が無い場合には(ステップ1602N
O)、該当制御装置に対してネットワーク経由でコマン
ドを発行しデータベースをアップロードする(ステップ
1603,1604)。When the application issues a request to start communication with the control device (FIG. 14, steps 1401, 1)
401B), the processing at the start of communication is executed (FIG. 14,
Step 1403). That is, as shown in FIG. 16, the middleware searches its own tag database (step 1601), and checks whether a group of the corresponding control device name exists (step 1602).
If there is no corresponding group name (step 1602N
O), a command is issued to the corresponding control device via the network and the database is uploaded (steps 1603 and 1604).
【0053】アプリケーションがデータ読み書き要求行
った場合には(図14,ステップ1401,1401
C)、データ読み書き要求時の処理が実行される(図1
4,ステップ1404)。すなわち、図17に示される
ように、ミドルウエアは、制御装置名よりネットワーク
アドレスを、変数名から物理アドレスをタグデータベー
スを検索し(ステップ1701,1702)、それらの
情報より通信のコマンドバケットを作成し(ステップ1
703)、対象制御装置にデータ読み書きを要求を発行
する(ステップ1704,1705又は1704,17
08)。対象制御装置からレスポンスが返送されてきた
場合には(ステップ1706YES又は1709YE
S)、コンピュータ側のアプリケーションにリクエスト
完了を伝える(ステップ1707)。データ読み出しの
場合はデータを受け渡す(ステップ1710)。When the application makes a data read / write request (FIG. 14, steps 1401 and 1401)
C), the processing at the time of the data read / write request is executed (FIG. 1)
4, step 1404). That is, as shown in FIG. 17, the middleware searches the tag database for the network address from the control device name and the physical address from the variable name (steps 1701 and 1702), and creates a communication command bucket from the information. (Step 1
703), issue a data read / write request to the target control device (step 1704, 1705 or 1704, 17).
08). If a response is returned from the target control device (YES in step 1706 or 1709YE
S), the completion of the request is notified to the application on the computer side (step 1707). In the case of data reading, data is transferred (step 1710).
【0054】制御装置からデータベースの変更通知が到
来した場合には、図18に示されるように、アプリケー
ションからのアクセスを一時的にロックする(ステップ
1801)。続いて、該当制御装置に対して、ネットワ
ークを介して、コマンドを発行しデータベースをアップ
ロードする(ステップ1802,1803)。続いて、
制御装置と同じ論理名称を持つグループを検索し(ステ
ップ1804)、アップロードしたデータベースを上書
きで格納する(ステップ1805)。最後に、アプリケ
ーションからのアクセスロックを解除する(ステップ1
806)。When a database change notification arrives from the control device, the access from the application is temporarily locked as shown in FIG. 18 (step 1801). Subsequently, a command is issued to the corresponding control device via the network and the database is uploaded (steps 1802 and 1803). continue,
A group having the same logical name as the control device is searched (step 1804), and the uploaded database is overwritten and stored (step 1805). Finally, release the access lock from the application (step 1
806).
【0055】次に、操作手順に従って全体の流れを説明
する。まず、ユーザはプログラミングツール13を用い
て、IEC1131−3言語(ラダー、SFC等)によ
り制御プログラムを作成する。ユーザーはこのツール上
にて、論理名称(以下、変数と呼ぶ)と実I/Oアドレ
スの対応を決定、入力する(図8,ステップ801〜8
04)。プログラミングツールは、ユーザが入力した論
理名称と実アドレスの対応から対象となる制御装置単位
にタグデータベースを生成し(図8,ステップ80
5)、対象となる制御装置にプログラムのダウンロード
を行うと同時にタグデータベースもダウンロードする
(図8,ステップ806,807)。Next, the overall flow will be described according to the operation procedure. First, the user uses the programming tool 13 to create a control program in IEC1131-3 language (ladder, SFC, etc.). The user determines and inputs the correspondence between the logical name (hereinafter, referred to as a variable) and the real I / O address on this tool (FIG. 8, steps 801 to 8).
04). The programming tool generates a tag database for each target control device based on the correspondence between the logical name input by the user and the real address (FIG. 8, step 80).
5) At the same time as downloading the program to the target control device, the tag database is also downloaded (FIG. 8, steps 806 and 807).
【0056】コンピュータ側では、通信したい制御装置
の登録をミドルウエアに行う。そのときに、制御装置の
論理名称(以下、制御装置名)とネットワーク上のアド
レスを対にして記録する(図5,ステップ1501〜1
503)。The computer registers the control device to be communicated with the middleware. At this time, the logical name of the control device (hereinafter, control device name) and the address on the network are recorded as a pair (FIG. 5, steps 1501 to 1501).
503).
【0057】コンピュータ側のアプリケーションは、ミ
ドルウエアに対して通信したい制御装置を論理名称で指
定し、通信開始を宣言する。このとき、ミドルウエア内
に対象の制御装置に関するタグデータベースがない場合
には(図16,ステップ1601,1603NO)、対
象の制御装置より通信を介してタグデーターベースをア
ップロードする。ミドルウエアはアップロードしたデー
タベースを制御装置の単位でアップロードする。ミドル
ウエアはアップロードしたベースを制御装置の単位でグ
ルービングし格納する(図16,ステップ1603,1
604)。グループ名は制御装置名とする。The application on the computer side designates a control device to communicate with the middleware by a logical name and declares the start of communication. At this time, if there is no tag database for the target control device in the middleware (FIG. 16, steps 1601 and 1603 NO), the tag database is uploaded from the target control device via communication. The middleware uploads the uploaded database in units of the control device. The middleware grooves and stores the uploaded base in units of the control device (FIG. 16, steps 1603, 1).
604). The group name is the control device name.
【0058】ミドルウエアは制御装置に対してその制御
装置内のタグデータベースを使用していることを明示す
るために、制御装置内の『変更通知リスト』テーブルに
コンピュータのネットワークアドレスを記録しておく
(図12,ステップ1201〜1203)。The middleware records the network address of the computer in the "change notification list" table in the control device in order to clearly indicate to the control device that the tag database in the control device is used. (FIG. 12, steps 1201 to 1203).
【0059】コンピュータ側のアプリケーションは、次
に制御装置名と変数名を指定してデータの読み書きをミ
ドルウエアに要求する。ミドルウエアは、制御装置名よ
りもネットワークアドレスを、変数名から物理アドレス
を検索し、それらの情報より通信コマンドバケットを作
成し、対象制御装置にデータ読み書き要求を発行する
(図17,ステップ1701,1702,1703,1
705,1708)。Next, the application on the computer side requests the middleware to read and write data by designating the control device name and the variable name. The middleware searches the network address rather than the control device name and the physical address from the variable name, creates a communication command bucket based on the information, and issues a data read / write request to the target control device (FIG. 17, step 1701, step 1701). 1702, 1703, 1
705, 1708).
【0060】対象制御装置からレスポンスが返送されて
きた場合には(図17,ステップ1706,170
9)、コンピュータ側のアプリケーションにリクエスト
完了を伝える(ステップ1707。データの読み出しの
場合はデータを渡す(図17,ステップ1710)。When a response is returned from the target control device (FIG. 17, steps 1706, 170)
9), the completion of the request is notified to the application on the computer side (step 1707. In the case of reading the data, the data is passed (step 1710 in FIG. 17).
【0061】次に、データべベース変更時の処理につい
て説明する。コンピュータ側のアプリケーションの動作
中に、プログラミングツールで制御装置内のプログラム
またはタグデータベースに変更とダウンロードが行われ
た場合には(図8,ステップ801〜807)、制御装
置がメモリ内の『変更通知リスト』テーブルを参照し、
リスト内にあるコンピュータ(ミドルウエア)に対して
制御装置内のタグデータベースに変更があったことを通
知する(図10,ステップ101〜107)。Next, the processing when the database is changed will be described. When the programming tool changes and downloads the program or tag database in the control device during the operation of the application on the computer side (FIG. 8, steps 801 to 807), the control device executes the “change notification” in the memory. List ”table,
The computer (middleware) in the list is notified that the tag database in the control device has been changed (FIG. 10, steps 101 to 107).
【0062】ミドルウエアはこの変更通知を受信する
と、アプリケーションからのアクセスを一時的にロック
し、再度該当制御装置からデータベースをアップロード
し制御装置内のタグデータベースと整合を行う(図1
8,ステップ1801〜1806)。When the middleware receives this change notification, it temporarily locks the access from the application, uploads the database again from the corresponding control device, and performs consistency with the tag database in the control device (FIG. 1).
8, steps 1801 to 1806).
【0063】以上の説明で明らかなように、この実施形
態によれば、プログラミング時に作成したタグデータベ
ースを制御装置にダウンロードする機能を有するプログ
ラミングツールと、関連する部分のみのタグデータベー
スを分散的に保持し、それがプログラム変更などにより
割付が変更された場合には関連するコンピュータ内のミ
ドルウエアに通知する機能を持つ制御装置と、複数制御
装置のタグデータベースをアップロードし、そのデータ
より一つのデータベースを再構成するコンピュータ上の
ミドルウエアとを具備したことにより、複数のコンピュ
ータ毎の設定作業が不要となると共に、データベースの
整合性の管理も不要となり、さらに、複数のコンピュー
タ上に動作しているモニタリングソフトウェアが同一制
御装置の同一I/Oアドレスに対して同じ論理名称でア
クセスすることが保証でき、システム全体の統合デバッ
グ工数が削減される等の優れた効果を有する。As is apparent from the above description, according to this embodiment, a programming tool having a function of downloading a tag database created at the time of programming to a control device, and a tag database of only relevant parts are held in a distributed manner. When the assignment is changed due to a program change, etc., the controller that has a function to notify the middleware in the related computer and the tag database of multiple controllers are uploaded, and one database is created from the data. The provision of the middleware on the computer to be reconfigured eliminates the need for setting work for each of a plurality of computers, the management of database consistency, and the monitoring that operates on a plurality of computers. Software is the same I / Guarantee to access the same logical name to an address, an excellent effect such that integrated debugging steps of the entire system is reduced.
【0064】[0064]
【発明の効果】以上の説明で明らかなように、本発明に
よれば、各制御装置側に保持されるローカルタグデータ
ベースは、すべての上位コンピュータに共通なものとな
り、しかも通常のFAネットワークであっても、各上位
コンピュータは制御装置からローカルタグデータを自由
に吸い上げることができるため、イーサネット(TCP
/IPプロトコル)の利用を前提としたOA用のネット
ワークOSや分散データベースを使用せずとも、論理名
称と物理アドレスとの割付変更がいずれかの制御装置に
関して行われた場合には、その変更情報をすべてのコン
ピュータで直ちに共有することができ、従来のように、
設計者若しくは保守員が各コンピュータ毎にデーターベ
ースの再入力を行なったり、コンピュータ間でのファイ
ルコピーを手動で行なうと言った煩雑な作業が不要とな
り、その結果、入力データの確認作業やデータベースの
整合性確保に多くの工数をかける必要もなくなると言う
効果を有する。As is apparent from the above description, according to the present invention, the local tag database held in each control device is common to all the upper computers, and is a normal FA network. However, since each host computer can freely download local tag data from the control device, Ethernet (TCP)
/ IP protocol), if the assignment of the logical name and the physical address is changed for any of the control devices without using the network OS or the distributed database for OA based on the use of the Can be instantly shared with all computers, and as before,
This eliminates the need for the designer or maintenance staff to re-enter the database for each computer or manually copy files between computers, and as a result, there is no need to check input data or create a database. This has the effect that it is not necessary to take a lot of man-hours to ensure consistency.
【図1】本発明が適用された分散制御システムの構成図
である。FIG. 1 is a configuration diagram of a distributed control system to which the present invention is applied.
【図2】本発明が適用された分散制御システムの作用説
明図である。FIG. 2 is an explanatory diagram of an operation of the distributed control system to which the present invention is applied.
【図3】PLCのハードウェア構成を示すブロック図で
ある。FIG. 3 is a block diagram illustrating a hardware configuration of a PLC.
【図4】上位コンピュータのハードウェア構成を示すブ
ロック図である。FIG. 4 is a block diagram illustrating a hardware configuration of a host computer.
【図5】PLCに保持されるローカルタグデータベース
の内容例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of contents of a local tag database held in a PLC.
【図6】上位コンピュータに保持されるタグデータベー
スの内容例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of the contents of a tag database held in a host computer.
【図7】上位コンピュータに保持される論理名/ネット
ワークアドレス管理テーブルの内容例、並びに、PLC
に保持される変更通知リストテーブルの内容例を示す説
明図である。FIG. 7 shows an example of the contents of a logical name / network address management table held in a host computer, and a PLC.
FIG. 9 is an explanatory diagram showing an example of the content of a change notification list table held in the storage device.
【図8】プログラミングツール側の処理を示すフローチ
ャートである。FIG. 8 is a flowchart showing processing on the programming tool side.
【図9】制御装置側の処理を示すゼネラルフローチャー
トである。FIG. 9 is a general flowchart showing processing on the control device side.
【図10】タグデータベースのダウンロード要求時の処
理を示すフローチャートである。FIG. 10 is a flowchart showing a process at the time of a request for downloading a tag database.
【図11】タグデータベースのアップロード要求時の処
理を示すフローチャートである。FIG. 11 is a flowchart showing a process at the time of an upload request of a tag database.
【図12】コンピュータの登録要求時の処理を示すフロ
ーチャートである。FIG. 12 is a flowchart illustrating a process performed when a computer requests registration.
【図13】データ読み書き要求時の処理を示すフローチ
ャートである。FIG. 13 is a flowchart showing a process at the time of a data read / write request.
【図14】コンピュータ上のミドルウェアの処理を示す
フローチャートである。FIG. 14 is a flowchart illustrating processing of middleware on a computer.
【図15】制御装置の登録要求時の処理を示すフローチ
ャートである。FIG. 15 is a flowchart illustrating a process when a control device requests registration.
【図16】制御装置との通信開始要求時の処理を示すフ
ローチャートである。FIG. 16 is a flowchart showing a process at the time of a request to start communication with the control device.
【図17】データ読み書き要求時の処理を示すフローチ
ャートである。FIG. 17 is a flowchart illustrating a process at the time of a data read / write request.
【図18】制御装置からのデータベース変更通知到来時
の処理を示すフローチャートである。FIG. 18 is a flowchart showing processing when a database change notification comes from a control device.
【図19】従来の分散制御システムの構成図である。FIG. 19 is a configuration diagram of a conventional distributed control system.
1 分散制御システム 2a,2b,2c 制御装置 3a,3b 上位コンピュータ 4 FAネットワーク 5a,5b タグデータベース 6 分散制御システム 7a,7b,7c 制御装置 8a,8b 上位コンピュータ 9 FAネットワーク 10a,10b タグデータベース 11a,11b ミドルウェア 12a,12b,12c ローカルタグデータベース 13 プログラミングツール 14 通信ライン 15 リモートI/O 725 パラメータ保持用メモリ 84 補助記憶装置 812 分散ミドルウェア Reference Signs List 1 distributed control system 2a, 2b, 2c control device 3a, 3b host computer 4 FA network 5a, 5b tag database 6 distributed control system 7a, 7b, 7c control device 8a, 8b host computer 9 FA network 10a, 10b tag database 11a, 11b Middleware 12a, 12b, 12c Local tag database 13 Programming tool 14 Communication line 15 Remote I / O 725 Parameter holding memory 84 Auxiliary storage 812 Distributed middleware
フロントページの続き Fターム(参考) 5B045 AA05 BB02 DD18 5B089 GA21 JA11 JB07 JB22 KB06 KC15 KH03 5H215 AA06 BB10 CC07 CC09 CX01 CX04 GG04 GG09 HH03 KK04 5H220 AA06 BB07 BB12 CC07 CC09 DD04 DD07 DD10 EE08 FF05 FF10 HH01 HH04 JJ12 JJ16 JJ24 JJ26 JJ59 JJ60 Continued on the front page F term (reference) 5B045 AA05 BB02 DD18 5B089 GA21 JA11 JB07 JB22 KB06 KC15 KH03 5H215 AA06 BB10 CC07 CC09 CX01 CX04 GG04 GG09 HH03 KK04 5H220 AA06 BB07 BB12 CC07 CC09 DD04JJ07 DD10 DD01 DD07 DD10 JJ59 JJ60
Claims (4)
は2以上の上位装置とをネットワークを介して結ぶと共
に、 上位装置には、 制御装置が扱う信号の物理アドレスとその論理名称との
割付関係を示すタグデータ記憶部と、 タグデータ記憶部を参照して論理名称を物理アドレスに
変換した上で信号をアクセスする機能を有するアクセス
支援手段とを保持させ、 上位装置に組み込まれたアプリケーションにおいて論理
名称を指定したデータアクセス要求が発せられた場合に
は、前記アクセス支援手段の介在により、該当する物理
アドレスへのデータアクセスが自動的に行われるように
した分散制御システムにおいて、 前記制御装置には、自機が扱う信号の物理アドレスとそ
の論理名称との割付関係を示すローカルタグデータ記憶
部を保持させると共に、 前記アクセス支援手段のそれぞれには、制御装置からの
ローカルタグデータの情報に基づいてタグデータを更新
する機能を設け、 論理名称と物理アドレスとの割付変更がいずれの制御装
置に関して行われた場合にも、その変更情報をすべての
上位装置で共有できるようにしたことを特徴とする分散
制御システム。At least one control device is connected to one or more high-level devices via a network, and the high-level device has an assignment relationship between a physical address of a signal handled by the control device and a logical name thereof. And an access support unit having a function of accessing a signal after converting a logical name into a physical address with reference to the tag data storage unit. In the case where a data access request specifying a name is issued, in a distributed control system in which data access to a corresponding physical address is automatically performed by the intervention of the access support means, Holds a local tag data storage unit indicating the assignment relationship between the physical address of the signal handled by the own device and its logical name. In addition, each of the access support means is provided with a function of updating tag data based on information of local tag data from the control device, and the assignment of a logical name and a physical address is changed for any control device. A distributed control system characterized in that the change information can be shared by all higher-level devices even in the event of a change.
通信できる上位装置に組み込み可能で、当該上位装置か
ら制御装置に対する論理名称指定による入出力信号アク
セスを支援する装置であって、 指定された制御装置の信号の物理アドレスとその論理名
称との割付関係を示すローカルタグデータ情報を獲得す
るデータ獲得手段と、 前記獲得されたローカルタグデータ情報に基づいて自機
のタグデータ情報を更新するデータ更新手段と、 を具備することを特徴とするアクセス支援装置。2. An apparatus which can be incorporated in a higher-level device capable of communicating with a control device via a network, and which supports input / output signal access from the higher-level device to the control device by designating a logical name. Data acquisition means for acquiring local tag data information indicating an assignment relationship between a physical address of a device signal and a logical name thereof, and data updating for updating tag data information of the own device based on the acquired local tag data information An access support device, comprising:
信号のやり取り可能な制御装置であって、 当該制御装置が扱う信号の物理アドレスとその論理名称
との割付関係を示すローカルタグデータ情報を記憶する
記憶手段と、 上位装置から物理アドレスを指定したデータ読み書き要
求が到来するのに応答して、当該物理アドレスに相当す
る入出力信号に対してデータ読み書き処理を実行するデ
ータ読み書き処理手段と、 アップロード先として指定された上位装置に対して、当
該制御装置に記憶されたローカルタグデータ情報を出力
するタグデータ出力手段と、 を具備することを特徴とする制御装置。3. A control device capable of exchanging signals with a host device via a network, storing local tag data information indicating an assignment relationship between a physical address of a signal handled by the control device and a logical name thereof. A data read / write processing means for executing data read / write processing for an input / output signal corresponding to the physical address in response to a data read / write request specifying a physical address from a higher-level device; A tag data output means for outputting local tag data information stored in the control device to the higher-level device designated as the first device.
制御プログラムに含まれる入出力信号に関して、その論
理名称と物理アドレスとの割付関係を示すタグデータベ
ースを生成するタグデータベース生成手段と、 前記生成されたタグデータベースを作成された制御プロ
グラムと共に指定された制御装置へとダウンロードする
ダウンロード手段と、を具備することを特徴とするプロ
グラミングツール。4. A tag database generating means for generating a tag database indicating an assignment relationship between a logical name and a physical address of an input / output signal included in the control program in accordance with an operation of generating the control program; Download means for downloading the tag database together with the created control program to a designated control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11068579A JP2000268016A (en) | 1999-03-15 | 1999-03-15 | Distributed control system and its constituting element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11068579A JP2000268016A (en) | 1999-03-15 | 1999-03-15 | Distributed control system and its constituting element |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000268016A true JP2000268016A (en) | 2000-09-29 |
Family
ID=13377840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11068579A Pending JP2000268016A (en) | 1999-03-15 | 1999-03-15 | Distributed control system and its constituting element |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000268016A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086981A1 (en) * | 2000-05-12 | 2001-11-15 | Nokia Corporation | Method of generating network name in wireless network |
JP2002278606A (en) * | 2001-03-15 | 2002-09-27 | Omron Corp | Programming tool and controller |
JP2005129026A (en) * | 2003-10-02 | 2005-05-19 | Omron Corp | Programmable controller, communication unit, controller system, data processing method, variable solution method and data exchange method |
WO2005124571A1 (en) * | 2004-06-22 | 2005-12-29 | Yokogawa Electric Corporation | Mutual access method of data and mutual access system of data |
JP2007265252A (en) * | 2006-03-29 | 2007-10-11 | Mitsubishi Electric Corp | Program creation support apparatus and method |
JP2008046731A (en) * | 2006-08-11 | 2008-02-28 | Toshiba Corp | Controller and duplex control program |
WO2010103700A1 (en) * | 2009-03-13 | 2010-09-16 | 三菱電機株式会社 | Program creation support device |
US8072924B2 (en) | 2000-05-12 | 2011-12-06 | Wi-Lan, Inc. | Assigning radio channels in a wireless network |
JP2014199485A (en) * | 2013-03-29 | 2014-10-23 | オムロン株式会社 | Information processor and information processing program |
JP5868563B1 (en) * | 2014-10-02 | 2016-02-24 | 三菱電機株式会社 | Control device and unit for distributed control system |
WO2016110983A1 (en) * | 2015-01-08 | 2016-07-14 | 三菱電機株式会社 | System design assistance tool |
WO2018185854A1 (en) * | 2017-04-04 | 2018-10-11 | 三菱電機株式会社 | Path information generation device, path information generation method, and program |
-
1999
- 1999-03-15 JP JP11068579A patent/JP2000268016A/en active Pending
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086981A1 (en) * | 2000-05-12 | 2001-11-15 | Nokia Corporation | Method of generating network name in wireless network |
US8072924B2 (en) | 2000-05-12 | 2011-12-06 | Wi-Lan, Inc. | Assigning radio channels in a wireless network |
US8391214B2 (en) | 2000-05-12 | 2013-03-05 | Wi-Lan, Inc. | Assigning radio channels in a wireless network |
JP2002278606A (en) * | 2001-03-15 | 2002-09-27 | Omron Corp | Programming tool and controller |
JP2005129026A (en) * | 2003-10-02 | 2005-05-19 | Omron Corp | Programmable controller, communication unit, controller system, data processing method, variable solution method and data exchange method |
CN100428141C (en) * | 2003-10-02 | 2008-10-22 | 欧姆龙株式会社 | Programmable controller and communication unit, and methods of solving variables and of handing data |
WO2005124571A1 (en) * | 2004-06-22 | 2005-12-29 | Yokogawa Electric Corporation | Mutual access method of data and mutual access system of data |
JP2007265252A (en) * | 2006-03-29 | 2007-10-11 | Mitsubishi Electric Corp | Program creation support apparatus and method |
JP2008046731A (en) * | 2006-08-11 | 2008-02-28 | Toshiba Corp | Controller and duplex control program |
WO2010103700A1 (en) * | 2009-03-13 | 2010-09-16 | 三菱電機株式会社 | Program creation support device |
JP2014199485A (en) * | 2013-03-29 | 2014-10-23 | オムロン株式会社 | Information processor and information processing program |
JP5868563B1 (en) * | 2014-10-02 | 2016-02-24 | 三菱電機株式会社 | Control device and unit for distributed control system |
WO2016051573A1 (en) * | 2014-10-02 | 2016-04-07 | 三菱電機株式会社 | Control device for distributed control system |
CN105659174A (en) * | 2014-10-02 | 2016-06-08 | 三菱电机株式会社 | Control device for distributed control system |
CN105659174B (en) * | 2014-10-02 | 2018-03-23 | 三菱电机株式会社 | Dcs control device and elementary cell |
WO2016110983A1 (en) * | 2015-01-08 | 2016-07-14 | 三菱電機株式会社 | System design assistance tool |
JP6076564B2 (en) * | 2015-01-08 | 2017-02-08 | 三菱電機株式会社 | System design support tool |
CN107003649A (en) * | 2015-01-08 | 2017-08-01 | 三菱电机株式会社 | System design aided tool |
CN107003649B (en) * | 2015-01-08 | 2019-05-03 | 三菱电机株式会社 | System design aided tool |
WO2018185854A1 (en) * | 2017-04-04 | 2018-10-11 | 三菱電機株式会社 | Path information generation device, path information generation method, and program |
JP6466024B1 (en) * | 2017-04-04 | 2019-02-06 | 三菱電機株式会社 | Control system and route information generation method |
CN110249590A (en) * | 2017-04-04 | 2019-09-17 | 三菱电机株式会社 | Route information generation device, route information generation method, and program |
US10530687B2 (en) | 2017-04-04 | 2020-01-07 | Mitsubishi Electric Corporation | Control system and path information generating method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8050801B2 (en) | Dynamically extensible and automatically configurable building automation system and architecture | |
CA2620071C (en) | Building automation system data management | |
US8055387B2 (en) | Building automation system data management | |
US7870090B2 (en) | Building automation system date management | |
US8055386B2 (en) | Building automation system data management | |
CN1764877B (en) | Method for launching applications | |
US20070055760A1 (en) | Building automation system data management | |
US7275236B1 (en) | Method for programming a multiple device control system using object sharing | |
EP3042254B1 (en) | Systems and methods for virtualizing a programmable logic controller | |
JP2000268016A (en) | Distributed control system and its constituting element | |
CA2620064A1 (en) | Dynamically extensible and automatically configurable building automation system and architecture | |
CN101169655B (en) | Process control system | |
EP2256635B1 (en) | System and method for storing data from an industrial controller | |
JP6954191B2 (en) | Control systems, development support equipment, and development support programs | |
JP3988605B2 (en) | Setting tool device | |
JP2001325010A (en) | Programmable controller system | |
JP6856048B2 (en) | Control system and control method | |
JP2016024818A (en) | Industrial control system and method for transferring data | |
JP3781112B2 (en) | Programmable controller system | |
JP3544886B2 (en) | Programmable controller | |
WO2024190554A1 (en) | Support device, control method, and support program | |
WO2024190551A1 (en) | Support device, control method, and support program | |
JP2006146526A (en) | Device and method for managing field equipment | |
JP6020854B2 (en) | Computerized machine control system | |
JPH08115219A (en) | Virsion management system and network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050106 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050120 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050322 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050725 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050921 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20050930 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20051216 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080407 |