JP3709984B2 - Fieldbus system construction equipment - Google Patents

Fieldbus system construction equipment Download PDF

Info

Publication number
JP3709984B2
JP3709984B2 JP2001317825A JP2001317825A JP3709984B2 JP 3709984 B2 JP3709984 B2 JP 3709984B2 JP 2001317825 A JP2001317825 A JP 2001317825A JP 2001317825 A JP2001317825 A JP 2001317825A JP 3709984 B2 JP3709984 B2 JP 3709984B2
Authority
JP
Japan
Prior art keywords
block
file
fieldbus system
registered
information
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.)
Expired - Fee Related
Application number
JP2001317825A
Other languages
Japanese (ja)
Other versions
JP2003124937A (en
Inventor
昭司 富田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2001317825A priority Critical patent/JP3709984B2/en
Publication of JP2003124937A publication Critical patent/JP2003124937A/en
Application granted granted Critical
Publication of JP3709984B2 publication Critical patent/JP3709984B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)
  • Control By Computers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置に関するものである。
【0002】
【従来の技術】
プラントの制御には分散型制御システムが多く用いられていた。分散型制御システムは、操作監視ステーションと制御ステーションを通信バスに接続し、制御ステーションはプラントに分散配置し、操作監視ステーションの監視下で制御ステーションによりプラントを制御する構成をとっている。最近は、フィールドバスを用いたプラント制御も行われるようになった。フィールドバスを用いたプラント制御では、プラントにフィールドバスを敷設し、このフィールドバスにフィールド機器を接続し、フィールド機器が互いに通信をしながらプラントの制御を実行する。フィールドバスを用いたプラント制御では、フィールドに配置された機器にインテリジェンスをもたせ、制御機能をフィールドに分散することができる。
フィールド機器を組み合わせてフィールドバスシステムを構築する手段としてフィールドバスエンジニアリングツール(以下、これをツールと略称する)がある。
【0003】
図5は分散型制御システムとツールの構成例を示した図である。図5で、操作監視ステーションHISとパソコン(パーソナルコンピュータ)PCは通信用のバス1に接続されている。パソコンPCにツール3が設けられている。制御ステーションFCSは通信用のバス1、2に接続されている。インタフェイス機器4は4はバス2に接続され、フィールドバス5はインタフェイス機器4に接続されている。フィールド機器61〜6nはフィールドバス5に接続されている。フィールド機器61〜6nは制御機能が搭載されていて図ではセンサが例示されている。
【0004】
ツール3ではフィールドバスシステム7のエンジニアリング作業を行う。
エンジニアリング作業では、パソコンPC内で論理的にフィールド機器を組み合わせてフィールドバスシステムを構築する。このとき、フィールド機器に関する情報を記述したファイルを作成したり、フィールド機器の接続のしかたを記述したファイルを作成する。ツール3で論理的に構築したフィールドバスシステムに基づいて物理フィールド機器を組み合わせで物理フィールドバスシステムを構築する。
【0005】
ツールには、フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置が設けられている。
図6は従来におけるフィールドバスシステムの構築装置の構成例を示した図である。
図6で、フィールドバス仕様によりフィールド機器11にはケーパビリティファイル12とDDファイル13が添付されている。ケーパビリティファイル12は、機器(機器はフィールド機器のことである)の能力等の資源情報を記述したファイルである。DDファイル13は、機器を用いるブロックのパラメータの一覧情報、パラメータの属性等を記述したファイルである。これらのファイルは電子化されている。
【0006】
フィールドバスシステムに用いるフィールド機器のケーパビリティファイル12とDDファイル13は、エンジニアリング部20に格納される。図の例ではケーパビリティファイル12とDDファイル13とからなる機器情報ファイルX1がファイル格納部21にインポートされる。エンジニアリング部20では、格納した機器情報ファイルX1を元ファイルとしてフィールド機器a1の機器情報ファイルを作成する。同様にして機器情報ファイルX2を元ファイルとしてフィールド機器a2の機器情報ファイルを作成する。フィールド機器a1、a2は登録された論理的な機器である。機器情報ファイルX1、X2とフィールド機器a1、a2は紐付けされている。論理的なフィールド機器a1、a2は物理フィールド機器61、62に相当する。これらの関係は機器情報ファイルに記述されている。エンジニアリング部20で作成した機器情報ファイルX1、X2は物理フィールド機器61、62に送られる。これによって、エンジニアリングデータが物理フィールド機器に反映される。
データベース30には機器情報ファイル等が保存されている。
【0007】
ケーパビリティファイルやDDファイルは頻繁にレブアップ(改訂)され、その内容をエンジニアリングデータに反映させるためには、一旦機器を論理的に削除してから、再登録を実施する必要があった。ここでいう削除は、機器の登録を抹消することである。ファイル更新するときに機器を削除するのは、機器情報ファイルと機器の紐付けが強いため、機器を削除して紐付けを解除してからでないと機器情報ファイルを更新できないためである。
【0008】
また、実際の運用にて物理機器の交換が故障および定期修理時に実施され、このときしばしば機器のレブアップ(バージョンアップ)も同時に実施される。機器のレビジョンが変更されると、一般にケーパビリティファイルやDDファイルも変更される。機器のレブアップにおいても物理機器の交換だけに留まらず、その機器のレビジョンに応じたケーパビリティファイルやDDファイルを使用する必要がある。この場合も、機器の削除と追加を実施することになる。
機器の削除を実施するためにはアプリケーション(制御ループ構成)にて当該機器が有するブロックが使用されている場合、そのブロックを削除する必要がある。この場合、機器追加後にアプリケーションの再構築を実施しなければならない。
【0009】
しかし、図6の従来例では次の問題点があった。
(a)ファイルを更新するときに、ユーザ設定の機器情報(タグ名、アドレス、機器クラス等)やブロック情報(タグ名、パラメータ値等)を記録しておき、機器追加後に手動にて再設定しなければならない。
【0010】
(b)フィールドバスエンジニアリングツールでは、対象機器のブロックを用いて制御ループを構成している場合、一旦制御ループ構成からそのブロックを削除しなければならない。本来、機器構成(セグメンテーション)と制御ループ構成(アプリケーション)は独立して実施できなければならないが、機器の交換時や、ケーパビリティファイルやDDファイルの更新時にアプリケーションの変更が余儀無くされる。
【0011】
(c)ケーパビリティファイルやDDファイルを更新するときは、機器を用いたブロックを削除し、機器を削除し、機器情報ファイル(ケーパビリティファイルとDDファイル)をインポートし、機器を追加し、ブロックを登録する作業をユーザが行わなければならなかった。このため、更新作業が面倒である。
【0012】
【発明が解決しようとする課題】
本発明は上述した問題点を解決するためになされたものであり、機器情報ファイルを更新するときに、制御ループ構成を変更する必要がなくしかもユーザが設定した機器情報やブロック情報を再設定する必要がなく、更新作業が容易なフィールドバスシステムの構築装置を実現することを目的とする。
【0013】
【課題を解決するための手段】
本発明は次のとおりの構成になったフィールドバスシステムの構築装置である。
【0014】
(1)フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置において、
フィールドバスシステムを構築する機器を登録する登録手段と、
登録された機器の中から所定の機器の登録を削除する削除手段と、
前記削除された機器についてのユーザ設定情報を所定の記憶領域に退避しておく退避手段と、
削除された機器の代替機器を前記登録手段に追加するとともに、前記退避しておいたユーザ設定情報を前記代替機器に継承させる追加手段と、
を有することを特徴とするフィールドバスシステムの構築装置。
【0015】
(2)登録された機器の中から更新する機器を選択する機器選択手段と、
新たな機器情報ファイルを選択するファイル選択手段と、
更新する機器に関する機器情報ファイルを削除し、新たな機器に関する機器情報ファイルに更新するファイル更新手段と、
を有することを特徴とする(1)記載のフィールドバスシステムの構築装置。
【0016】
(3)前記ユーザ設定情報は、機器タグ名、ノードアドレス、機器クラス、機器IDの少なくとも1つであることを特徴とする(1)記載のフィールドバスシステムの構築装置。
【0017】
(4)フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置において、
フィールドバスシステムを構築する機器を登録する登録手段と、
登録された機器の中から所定の機器の登録を削除する削除手段と、
制御ループを構成するブロックの情報を記述したアプリケーションファイルと、
機器構成に関する情報を記述したセグメンテーションファイルと、
前記削除手段で削除した機器を用いたブロックを制御ループで使用しているときは、そのブロックを物理機器との繋がりが絶たれたブロックとして認識される無効ブロックにする設定手段と、
削除した機器の代替機器が登録されたときに、無効ブロック状態を解除する解除手段と、
を有することを特徴とするフィールドバスシステムの構築装置。
【0018】
(5)前記登録手段は、フィールド機器に設けられたファンクションブロックを登録していて、
前記設定手段は、登録されているファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックが削除された場合に、前記登録されているファンクションブロックを無効ブロックとすることを特徴とする(4)記載のフィールドバスシステムの構築装置。
【0019】
(6)前記登録手段は、フィールド機器に設けられたファンクションブロックを登録していて、
前記設定手段は、登録されているファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックのブロックインデックスまたはビューインデックスが変更された場合に、前記登録されているファンクションブロックを無効ブロックとすることを特徴とする(4)記載のフィールドバスシステムの構築装置。
【0020】
(7)分散型制御システムのファンクションブロックとフィールド機器のファンクションブロックが結線されていて、これらのファンクションブロックは前記登録手段に登録されていて、
前記設定手段は、結線されたフィールド機器のファンクションブロックのブロックパラメータが削除された場合に、前記登録されているフィールド機器のファンクションブロックを無効ブロックとすることを特徴とする(4)記載のフィールドバスシステムの構築装置。
【0021】
【発明の実施の形態】
以下図面を用いて本発明を詳しく説明する。
図1は本発明の一実施例を示す構成図である。図1で前出の図と同一のものは同一符号を付ける。
図1で、エンジニアリング部40は、フィールドバスシステムに用いる各種機器の機器情報ファイルX1,X2等がインポートされ、インポートされたファイルを用いてフィールドバスシステムを論理的に構築する。論理的に構築したフィールドバスシステムに基づいて作業者は物理フィールドバスシステムを構築する。このとき、論理的なフィールドバスシステムについて作成した情報を物理フィールドバスシステムに反映させる。例えば、機器情報ファイルX1,X2をもとに作成した個々のフィールド機器の機器情報ファイルA1,A2をフィールド機器61,62に送る。
FBAP(Function Block Application Processes)構成ファイル71には、制御ループ構成が記述されている。継承データファイル72には、ケーパビリティファイルとDDファイルを更新するときに継承する情報を一時待避する。
【0022】
図2は本発明のエンジニアリング部の具体的構成例を示した図である。
図2で、登録手段41はフィールドバスシステムを構築する機器を論理的に登録する。
削除手段42は、登録された機器の中から所定の機器の登録を削除する。例えばケーパビリティファイルやDDファイルを更新するときに削除を行う。
退避手段43は、削除された機器についてのユーザ設定情報を継承データファイル72に一時退避しておく。
追加手段44は、削除された機器の代替機器を登録手段41に追加するとともに、継承データファイル72に退避しておいたユーザ設定情報を代替機器に継承させる。ユーザ設定情報は、ユーザが設定した機器情報やブロック情報等で、例えば機器タグ名、ノードアドレス、機器クラス、機器ID等である。
【0023】
機器選択手段45は、登録手段41に登録された機器の中から更新する機器を選択する。
ファイル選択手段46は、新たな機器情報ファイルを選択する。
ファイル更新手段47は、更新する機器に関する機器情報ファイルを削除し、新たな機器に関する機器情報ファイルに更新する作業を支援する。
【0024】
設定手段48は、削除手段42で削除した機器を用いたブロックを制御ループで使用しているときは、そのブロックを「無効ブロック」にする。「無効ブロック」は、物理機器との繋がりが絶たれたブロックとして認識されるブロックである。
解除手段49は、削除した機器の代替機器が登録されたときに、代替機器を無効ブロックに割り当てられるときは、この無効ブロック状態を解除する。
【0025】
アプリケーションファイル31には、制御ループを構成するブロックの情報が記述されている。
セグメンテーションファイル32には、機器構成に関する情報が記述されている。
【0026】
図1及び図2の装置の動作を説明する。
図3はファイルの更新手順を示したフローチャートである。フローチャートの処理手順に従って動作を説明する。
【0027】
(S1)ケーパビリティファイル選択
ケーパビリティファイルやDDファイルの更新あるいは機器のレビジョンアップは、更新するケーパビリティファイルを選択するという作業で開始する。DDファイルは選択されたケーパビリティファイルから自動的に選択される。
ユーザの作業は更新対象機器を選択し、更新するケーパビリティファイルを選択するのみである。フィールドバスエンジニアリングツールにおいては、予め更新対象となるケーパビリティファイルをインポートしておく。
S2以降の処理はフィールドバスシステムの構築装置の内部処理である。
【0028】
(S2)継承データ保存
ユーザが設定した機器情報とブロック情報を継承データファイル72に退避する。構築装置では、機器レビジョンの変更およびオプションの変更以外はエンジニアリング情報(通信系パラメータ情報やスケジューリング情報)も退避する。
【0029】
(S3)機器削除
エンジニアリング上論理的に登録されている機器を削除する。このとき削除対象機器が有するブロックをアプリケーションが使用している場合は、そのブロックは「無効ブロック」となり、物理機器との繋がりがなくなったブロックとして認識される。
「無効ブロック」とは、物理機器が有するブロックとの結び付きが解除された論理的なブロックとして認識されたブロックである。
無効ブロックは機器登録後に解決される。
【0030】
(S4)機器追加
選択されたケーパビリティファイルに応じた機器が新規に登録される。このとき退避された機器情報を基に機器が登録される。機器タグ名、ノードアドレス、機器クラス、機器ID等が設定される。
機器レビジョンの変更およびオプションの変更以外は新規登録であっても機器の修正作業とみなされる。
【0031】
(S5)継承データ上書き
退避したデータをすべて上書き保存する。フィールドバスエンジニアリングツールでは、機器レビジョンの変更およびオプションの変更以外はエンジニアリング情報(通信系パラメータ情報やスケジューリング情報)も上書き保存する。
【0032】
(S6)FBAP構成(アプリケーション)復元
更新前のアプリケーション情報(FBAP構成情報)を基に、新しい機器のブロックに対して再割り当てを実施する。更新前に使用していたブロックが削除されていない限り完全にアプリケーションが復元される。使用していたブロックが更新により削除された場合は、無効ブロックのままとなる。
完全に復元された場合は、その後のジェネレーションは不要である。その後のダウンロードやアップロードが実行可能である。ただし、機器レビジョンが変更された場合は、機器内部のインデックス情報、通信能力、資源情報等が変更されている可能性があるため、再ジェネレーションが必要である。
【0033】
無効ブロックについて説明する。
図4は制御ループの構成例を示した図である。
図4で、ブロックB1,B2,B3により制御ループを構成している。これは論理的に構成された制御ループである。ここで、ブロックB1に用いる機器の登録を削除すると、ブロックB1は無効ブロックとなる。ブロックB1は物理機器との繋がりがなくなったブロックとして認識される。削除した機器の代替機器が登録されると、無効ブロックは解除される。フィールドバスシステムの構築装置は、制御ループに無効ブロックが存在するときはエンジニアリング作業を続行しない。
【0034】
無効ブロックの解除について説明する。
FBAP構成ファイルには、「どの機器のどのブロックを使用している」という情報が記述されている。ブロックについてはさらにブロックタグ名が記述されている。まず、更新された機器に対して対応するブロックにタグ名を復元する。ブロックの特定はブロックIDを基に特定する。
特定のしかたは次のとおりである。
ブロックのタイプはケーパビリティファイルにより知ることができる。ケーパビリティファイルには、どのようなブロックが実装されているのかが記述されている。ブロックIDはブロックのタイプとユニークな番号を結合した文字列である。例えば「AI_01」はAIブロックの1番目のことである。
AIブロックが2個あった場合は上から順番に01,02・・・となる。特定は、まずブロックのタイプが一致していることを確認し、後は上から順番に割り当てる。保存したブロック情報に基づくため、更新後の機器のブロックの方が多い場合は何もしない,逆に少ない場合は,割り当てをしない。この場合には「無効ブロック」となる。
ブロックタグが設定されると,データベース内のユニークIDを更新して更新後のリソースとのデータベース上の結び付けを行う。以降ユニークIDで処理が実行される。これでブロックが復元されたことになる。
【0035】
本発明の他の実施例について説明する。
分散型制御システムにはフィールドバスシステムを構築するフィールドバスビルダと制御ドローイングビルダを塔載したものがある。これらのビルダを用いてフィールドバスシステムを構築する。フィールドバスビルダは、機器構成を記述する。制御ドローイングビルダは、どのブロックをどのように組み合わせて制御ループを構成するかを記述する。フィールドバスビルダと制御ドローイングビルダは、例えば図5の操作監視ステーションHISに塔載する。
ファンクションブロックは制御機能を実現する単位である。ファンクションブロックとしては、例えば、PID演算(比例,積分,微分演算)ブロックや、足し算を行うブロック、アナログ信号を入力するブロック、アナログ信号を出力するブロック等がある。
【0036】
フィールドバスビルダとして用いられるフィールドバスシステムの構築装置がある。このフィールドバスシステムの構築装置では、図2の登録手段41は、フィールドバスエンジニアリングツールと同様に、機器の登録を実施するが、資源としてのブロックの登録も行う。図2の設定手段48は、例えば次の場合に登録されているファンクションブロックを無効ブロックとする。
(a)登録手段41に登録されている論理的なファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックが削除された場合に、登録されているファンクションブロックを無効ブロックとする。
(b)登録手段41に登録されている論理的なファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックのブロックインデックスまたはビューインデックスが変更された場合に、登録されているファンクションブロックを無効ブロックとする。
【0037】
また、分散型制御システムのファンクションブロックとフィールド機器のファンクションブロックが結線されていて、これらのファンクションブロックは登録手段41に登録されている場合がある。
この場合フィールドバスシステムの構築装置では、図2の設定手段48は、結線されたフィールド機器のファンクションブロックのブロックパラメータが削除された場合に、登録されているフィールド機器のファンクションブロックを無効ブロックとする。
【0038】
【発明の効果】
本発明によれば次の効果が得られる。
【0039】
請求項1及び請求項3記載の発明では、論理的に登録された機器を削除するときに、削除する機器についてのユーザ設定情報を記憶領域に一時待避しておき、代替機器が追加されると、退避したユーザ設定情報を代替機器に継承させている。このため、機器追加後にユーザ設定情報を再設定する作業が不要になる。
【0040】
請求項2記載の発明では、更新する機器を選択し、新たな機器情報ファイルを選択するだけで、機器情報ファイルは自動的に更新される。これによって、更新作業が容易になる。
【0041】
請求項4記載の発明では、削除した機器を用いたブロックを制御ループで使用しているときは、そのブロックを無効ブロックにしているため、制御ループ構成を変更することなく機器情報ファイルを更新できる。
【0042】
請求項5及び請求項6記載の発明によれば、物理フィールド機器に入っているファンクションブロックが削除されたりインデックスが変更された場合に、登録されているファンクションブロックを無効ブロックにしている。このため、ファンクションブロックで構築した制御ループ構成を変更することなく、ファンクションブロックを削除したりインデックスを変更できる。
【0043】
請求項7記載の発明では、分散型制御システムのファンクションブロックと結線されたフィールド機器のファンクションブロックのブロックパラメータが削除された場合に、登録されているフィールド機器のファンクションブロックを無効ブロックとしている。このため、分散型制御システムのファンクションブロックとフィールド機器のファンクションブロックで構築された制御ループ構成を変更することなく、ファンクションブロックのパラメータを変更できる。
【図面の簡単な説明】
【図1】本発明の一実施例を示す構成図である。
【図2】本発明の要部構成図である。
【図3】本発明の動作説明図である。
【図4】本発明の動作説明図である。
【図5】分散型制御システムとツールの構成例を示した図である。
【図6】従来におけるフィールドバスシステムの構築装置の構成例を示した図である。
【符号の説明】
12 ケーパビリティファイル
13 DDファイル
31 アプリケーションファイル
32 セグメンテーションファイル
41 登録手段
42 削除手段
43 退避手段
44 追加手段
45 機器選択手段
46 ファイル選択手段
47 ファイル更新手段
48 設定手段
49 解除手段
71 FBAPファイル
72 継承データファイル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a fieldbus system construction device that supports engineering work for constructing a fieldbus system.
[0002]
[Prior art]
Many distributed control systems have been used for plant control. The distributed control system has a configuration in which an operation monitoring station and a control station are connected to a communication bus, the control stations are distributed in the plant, and the plant is controlled by the control station under the monitoring of the operation monitoring station. Recently, plant control using a field bus has also been performed. In plant control using a field bus, a field bus is laid in the plant, a field device is connected to the field bus, and the field device performs control of the plant while communicating with each other. In plant control using a fieldbus, it is possible to give intelligence to devices arranged in the field and distribute the control function to the field.
A fieldbus engineering tool (hereinafter abbreviated as a tool) is a means for constructing a fieldbus system by combining field devices.
[0003]
FIG. 5 is a diagram showing a configuration example of a distributed control system and tools. In FIG. 5, the operation monitoring station HIS and a personal computer (personal computer) PC are connected to a communication bus 1. A tool 3 is provided on the personal computer PC. The control station FCS is connected to communication buses 1 and 2. The interface device 4 is connected to the bus 2, and the field bus 5 is connected to the interface device 4. The field devices 61 to 6n are connected to the field bus 5. The field devices 61 to 6n are equipped with a control function, and a sensor is illustrated in the figure.
[0004]
Tool 3 performs engineering work for the fieldbus system 7.
In engineering work, a fieldbus system is constructed by logically combining field devices in a personal computer PC. At this time, a file describing information on the field device is created, or a file describing how to connect the field device is created. Based on the fieldbus system logically constructed by the tool 3, a physical fieldbus system is constructed by combining physical field devices.
[0005]
The tool is provided with an apparatus for constructing a fieldbus system that supports engineering work for constructing a fieldbus system.
FIG. 6 is a diagram showing a configuration example of a conventional fieldbus system construction apparatus.
In FIG. 6, a capability file 12 and a DD file 13 are attached to the field device 11 according to the fieldbus specification. The capability file 12 is a file in which resource information such as the capability of a device (device is a field device) is described. The DD file 13 is a file describing parameter list information, parameter attributes, and the like of blocks using the device. These files are digitized.
[0006]
The field device capability file 12 and the DD file 13 used in the fieldbus system are stored in the engineering unit 20. In the example shown in the figure, a device information file X 1 composed of a capability file 12 and a DD file 13 is imported into the file storage unit 21. The engineering unit 20 creates a device information file for the field device a1 using the stored device information file X1 as an original file. Similarly, a device information file of the field device a2 is created using the device information file X2 as an original file. Field devices a1 and a2 are registered logical devices. The device information files X1 and X2 are associated with the field devices a1 and a2. The logical field devices a1 and a2 correspond to the physical field devices 61 and 62. These relationships are described in the device information file. The device information files X1 and X2 created by the engineering unit 20 are sent to the physical field devices 61 and 62. As a result, the engineering data is reflected in the physical field device.
The database 30 stores device information files and the like.
[0007]
Capability files and DD files are frequently reviewed (revised), and in order to reflect the contents in engineering data, it is necessary to logically delete the device and then re-register it. Deletion here means deleting the registration of the device. The reason why the device is deleted when updating the file is that the device information file and the device are strongly linked, and the device information file cannot be updated until the device is deleted and the association is released.
[0008]
Also, in actual operation, replacement of physical equipment is performed at the time of failure and periodic repair, and at this time, equipment revup (version up) is often performed at the same time. When the revision of the device is changed, generally the capability file and the DD file are also changed. It is necessary to use a capability file or a DD file according to the revision of the device in addition to the replacement of the physical device in the device rev-up. In this case, the device is deleted and added.
In order to delete a device, when a block of the device is used in an application (control loop configuration), it is necessary to delete the block. In this case, the application must be rebuilt after the device is added.
[0009]
However, the conventional example of FIG. 6 has the following problems.
(A) When updating a file, record user-configured device information (tag name, address, device class, etc.) and block information (tag name, parameter value, etc.), and reset manually after adding the device Must.
[0010]
(B) In the fieldbus engineering tool, when a control loop is configured using a block of the target device, the block must be once deleted from the control loop configuration. Originally, the device configuration (segmentation) and the control loop configuration (application) must be able to be performed independently, but the application must be changed when the device is replaced or when the capability file or DD file is updated.
[0011]
(C) When updating a capability file or DD file, delete the block using the device, delete the device, import the device information file (capability file and DD file), add the device, block The user had to do the work of registering. For this reason, the update work is troublesome.
[0012]
[Problems to be solved by the invention]
The present invention has been made to solve the above-described problems. When the device information file is updated, it is not necessary to change the control loop configuration, and the device information and block information set by the user are reset. An object of the present invention is to realize a fieldbus system construction apparatus that is not necessary and can be easily updated.
[0013]
[Means for Solving the Problems]
The present invention is an apparatus for constructing a fieldbus system having the following configuration.
[0014]
(1) In a fieldbus system construction device that supports engineering work for constructing a fieldbus system,
A registration means for registering devices for constructing the fieldbus system;
A deletion means for deleting registration of a predetermined device from registered devices;
Saving means for saving user setting information about the deleted device in a predetermined storage area;
Adding an alternative device of the deleted device to the registration means, and an adding means for causing the alternative device to inherit the saved user setting information;
An apparatus for constructing a fieldbus system, comprising:
[0015]
(2) device selection means for selecting a device to be updated from registered devices;
A file selection means for selecting a new device information file;
A file updating means for deleting the device information file related to the device to be updated and updating the device information file related to the new device;
(1) The fieldbus system construction device according to (1).
[0016]
(3) The fieldbus system construction device according to (1), wherein the user setting information is at least one of a device tag name, a node address, a device class, and a device ID.
[0017]
(4) In a fieldbus system construction device that supports engineering work for constructing a fieldbus system,
A registration means for registering devices for constructing the fieldbus system;
A deletion means for deleting registration of a predetermined device from registered devices;
An application file that describes the information of the blocks that make up the control loop;
A segmentation file with information about the device configuration,
When using a block using the device deleted by the deleting means in the control loop, the setting means to make the block an invalid block recognized as a block disconnected from the physical device,
When a replacement device for the deleted device is registered, release means for releasing the invalid block state,
An apparatus for constructing a fieldbus system, comprising:
[0018]
(5) The registration means registers a function block provided in the field device,
The setting means makes the registered function block an invalid block when a function block associated with the registered function block and contained in the physical field device is deleted (4) ) Fieldbus system construction device described.
[0019]
(6) The registration means registers a function block provided in the field device,
The setting means makes the registered function block an invalid block when the block index or view index of the function block connected to the registered function block and included in the physical field device is changed. (4) The fieldbus system construction device according to (4).
[0020]
(7) The function block of the distributed control system and the function block of the field device are connected, and these function blocks are registered in the registration means,
The field bus according to (4), wherein the setting unit sets the registered function block of the field device as an invalid block when the block parameter of the function block of the connected field device is deleted. System construction device.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, the same reference numerals are assigned to the same parts as those in the previous figure.
In FIG. 1, the engineering unit 40 imports device information files X1, X2, etc. of various devices used in the fieldbus system, and logically constructs a fieldbus system using the imported file. Based on the logically constructed fieldbus system, the worker constructs a physical fieldbus system. At this time, the information created for the logical fieldbus system is reflected in the physical fieldbus system. For example, device information files A1, A2 of individual field devices created based on the device information files X1, X2 are sent to the field devices 61, 62.
An FBAP (Function Block Application Processes) configuration file 71 describes a control loop configuration. In the inherited data file 72, information inherited when updating the capability file and the DD file is temporarily saved.
[0022]
FIG. 2 is a diagram showing a specific configuration example of the engineering unit of the present invention.
In FIG. 2, the registration means 41 logically registers the devices that construct the fieldbus system.
The deletion unit 42 deletes registration of a predetermined device from the registered devices. For example, deletion is performed when a capability file or a DD file is updated.
The saving unit 43 temporarily saves the user setting information about the deleted device in the inherited data file 72.
The adding unit 44 adds the replacement device of the deleted device to the registration unit 41 and causes the replacement device to inherit the user setting information saved in the inheritance data file 72. The user setting information is device information or block information set by the user, for example, a device tag name, a node address, a device class, a device ID, or the like.
[0023]
The device selection unit 45 selects a device to be updated from the devices registered in the registration unit 41.
The file selection means 46 selects a new device information file.
The file update unit 47 supports the operation of deleting the device information file related to the device to be updated and updating it to a device information file related to a new device.
[0024]
When the block using the device deleted by the deleting unit 42 is used in the control loop, the setting unit 48 sets the block as an “invalid block”. The “invalid block” is a block that is recognized as a block that is disconnected from the physical device.
When the replacement device of the deleted device is registered, the canceling unit 49 cancels the invalid block state when the replacement device can be assigned to the invalid block.
[0025]
In the application file 31, information on blocks constituting the control loop is described.
In the segmentation file 32, information related to the device configuration is described.
[0026]
The operation of the apparatus shown in FIGS. 1 and 2 will be described.
FIG. 3 is a flowchart showing a file update procedure. The operation will be described according to the processing procedure of the flowchart.
[0027]
(S1) Capability file selection Capability file or DD file update or device revision up is started by selecting a capability file to be updated. The DD file is automatically selected from the selected capability files.
The user only has to select the device to be updated and select the capability file to be updated. In the fieldbus engineering tool, a capability file to be updated is imported in advance.
The processes after S2 are internal processes of the fieldbus system construction apparatus.
[0028]
(S2) Saving inherited data The device information and block information set by the user are saved in the inherited data file 72. The construction apparatus saves engineering information (communication system parameter information and scheduling information) other than the device revision change and option change.
[0029]
(S3) Device deletion The device logically registered in engineering is deleted. At this time, if the application uses a block of the device to be deleted, the block becomes an “invalid block” and is recognized as a block that is no longer connected to the physical device.
An “invalid block” is a block that is recognized as a logical block that has been unlinked from the block of the physical device.
Invalid blocks are resolved after device registration.
[0030]
(S4) Device addition A device corresponding to the selected capability file is newly registered. Devices are registered based on the device information saved at this time. A device tag name, a node address, a device class, a device ID, and the like are set.
Other than device revision changes and option changes, even new registrations are considered as device modification work.
[0031]
(S5) Inheritance data overwrite All the saved data is overwritten and saved. The fieldbus engineering tool overwrites and saves engineering information (communication system parameter information and scheduling information) other than device revision changes and option changes.
[0032]
(S6) FBAP configuration (application) Restoration is performed for a new device block based on application information (FBAP configuration information) before restoration update. As long as the blocks used before the update are not deleted, the application is completely restored. When a block that has been used is deleted by updating, it remains an invalid block.
When fully restored, no further generation is required. Subsequent downloads and uploads can be performed. However, when the device revision is changed, there is a possibility that the index information, communication capability, resource information, etc. inside the device may have been changed, so regeneration is necessary.
[0033]
The invalid block will be described.
FIG. 4 is a diagram showing a configuration example of the control loop.
In FIG. 4, a control loop is configured by the blocks B1, B2, and B3. This is a logically constructed control loop. Here, if the registration of the device used for the block B1 is deleted, the block B1 becomes an invalid block. Block B1 is recognized as a block that is no longer connected to the physical device. When an alternative device for the deleted device is registered, the invalid block is released. The fieldbus system construction device does not continue the engineering work when an invalid block exists in the control loop.
[0034]
Deletion of invalid blocks will be described.
In the FBAP configuration file, information “which block of which device is used” is described. The block tag name is further described for the block. First, the tag name is restored to the block corresponding to the updated device. The block is specified based on the block ID.
The specific method is as follows.
The type of block can be known from the capability file. The capability file describes what block is implemented. The block ID is a character string that combines a block type and a unique number. For example, “AI — 01” is the first of the AI blocks.
When there are two AI blocks, they are 01, 02,... In order from the top. To specify, first check that the block types match, and then assign them in order from the top. Since it is based on the stored block information, nothing is done when there are more blocks in the device after the update, and conversely, no assignment is made when there are fewer blocks. In this case, it becomes an “invalid block”.
When the block tag is set, the unique ID in the database is updated, and the resource on the database is linked with the updated resource. Thereafter, the process is executed with the unique ID. This will restore the block.
[0035]
Another embodiment of the present invention will be described.
Some distributed control systems include a fieldbus builder for constructing a fieldbus system and a control drawing builder. A fieldbus system is constructed using these builders. The fieldbus builder describes the device configuration. The control drawing builder describes which blocks are combined and how to form a control loop. The fieldbus builder and the control drawing builder are mounted on, for example, the operation monitoring station HIS in FIG.
A function block is a unit that realizes a control function. Examples of the function block include a PID calculation (proportional, integral, differential calculation) block, a block for performing addition, a block for inputting an analog signal, a block for outputting an analog signal, and the like.
[0036]
There is an apparatus for constructing a fieldbus system used as a fieldbus builder. In this fieldbus system construction device, the registration means 41 in FIG. 2 registers devices as in the fieldbus engineering tool, but also registers blocks as resources. The setting unit 48 in FIG. 2 sets the function block registered in the following case as an invalid block, for example.
(A) When a function block associated with a logical function block registered in the registration means 41 and included in a physical field device is deleted, the registered function block is set as an invalid block.
(B) When a block index or a view index of a function block connected to a logical function block registered in the registration unit 41 and included in a physical field device is changed, the registered function block is invalidated Let it be a block.
[0037]
In some cases, the function block of the distributed control system and the function block of the field device are connected, and these function blocks are registered in the registration means 41.
In this case, in the fieldbus system construction apparatus, the setting means 48 in FIG. 2 sets the registered function block of the field device as an invalid block when the block parameter of the function block of the connected field device is deleted. .
[0038]
【The invention's effect】
According to the present invention, the following effects can be obtained.
[0039]
In the first and third aspects of the invention, when a logically registered device is deleted, user setting information about the device to be deleted is temporarily saved in the storage area, and an alternative device is added. The saved user setting information is inherited by the alternative device. This eliminates the need to reset the user setting information after adding the device.
[0040]
According to the second aspect of the present invention, the device information file is automatically updated only by selecting the device to be updated and selecting a new device information file. This facilitates the update work.
[0041]
In the invention according to claim 4, when the block using the deleted device is used in the control loop, the block is set to an invalid block, so that the device information file can be updated without changing the control loop configuration. .
[0042]
According to the fifth and sixth aspects of the present invention, when a function block included in the physical field device is deleted or the index is changed, the registered function block is made an invalid block. For this reason, the function block can be deleted or the index can be changed without changing the control loop configuration constructed by the function block.
[0043]
In the invention described in claim 7, when the block parameter of the function block of the field device connected to the function block of the distributed control system is deleted, the registered function block of the field device is set as an invalid block. For this reason, the parameters of the function block can be changed without changing the control loop configuration constructed by the function block of the distributed control system and the function block of the field device.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing an embodiment of the present invention.
FIG. 2 is a configuration diagram of a main part of the present invention.
FIG. 3 is an operation explanatory diagram of the present invention.
FIG. 4 is an operation explanatory diagram of the present invention.
FIG. 5 is a diagram illustrating a configuration example of a distributed control system and a tool.
FIG. 6 is a diagram showing a configuration example of a conventional fieldbus system construction device.
[Explanation of symbols]
12 Capability file 13 DD file 31 Application file 32 Segmentation file 41 Registration means 42 Deletion means 43 Saving means 44 Addition means 45 Device selection means 46 File selection means 47 File update means 48 Setting means 49 Release means 71 FBAP file 72 Inherited data file

Claims (7)

フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置において、
フィールドバスシステムを構築する機器を登録する登録手段と、
登録された機器の中から所定の機器の登録を削除する削除手段と、
前記削除された機器についてのユーザ設定情報を所定の記憶領域に退避しておく退避手段と、
削除された機器の代替機器を前記登録手段に追加するとともに、前記退避しておいたユーザ設定情報を前記代替機器に継承させる追加手段と、
を有することを特徴とするフィールドバスシステムの構築装置。
In a fieldbus system construction device that supports engineering work to construct a fieldbus system,
A registration means for registering devices for constructing the fieldbus system;
A deletion means for deleting registration of a predetermined device from registered devices;
Saving means for saving user setting information about the deleted device in a predetermined storage area;
Adding an alternative device of the deleted device to the registration means, and an adding means for causing the alternative device to inherit the saved user setting information;
An apparatus for constructing a fieldbus system, comprising:
登録された機器の中から更新する機器を選択する機器選択手段と、
新たな機器情報ファイルを選択するファイル選択手段と、
更新する機器に関する機器情報ファイルを削除し、新たな機器に関する機器情報ファイルに更新するファイル更新手段と、
を有することを特徴とする請求項1記載のフィールドバスシステムの構築装置。
A device selection means for selecting a device to be updated from the registered devices;
A file selection means for selecting a new device information file;
A file updating means for deleting the device information file related to the device to be updated and updating the device information file related to the new device;
The apparatus for constructing a fieldbus system according to claim 1, comprising:
前記ユーザ設定情報は、機器タグ名、ノードアドレス、機器クラス、機器IDの少なくとも1つであることを特徴とする請求項1記載のフィールドバスシステムの構築装置。2. The fieldbus system construction apparatus according to claim 1, wherein the user setting information is at least one of a device tag name, a node address, a device class, and a device ID. フィールドバスシステムを構築するエンジニアリング作業を支援するフィールドバスシステムの構築装置において、
フィールドバスシステムを構築する機器を登録する登録手段と、
登録された機器の中から所定の機器の登録を削除する削除手段と、
制御ループを構成するブロックの情報を記述したアプリケーションファイルと、
機器構成に関する情報を記述したセグメンテーションファイルと、
前記削除手段で削除した機器を用いたブロックを制御ループで使用しているときは、そのブロックを物理機器との繋がりが絶たれたブロックとして認識される無効ブロックにする設定手段と、
削除した機器の代替機器が登録されたときに、無効ブロック状態を解除する解除手段と、
を有することを特徴とするフィールドバスシステムの構築装置。
In a fieldbus system construction device that supports engineering work to construct a fieldbus system,
A registration means for registering devices for constructing the fieldbus system;
A deletion means for deleting registration of a predetermined device from registered devices;
An application file that describes the information of the blocks that make up the control loop;
A segmentation file with information about the device configuration,
When using a block using the device deleted by the deleting means in the control loop, the setting means to make the block an invalid block recognized as a block disconnected from the physical device,
When a replacement device for the deleted device is registered, release means for releasing the invalid block state,
An apparatus for constructing a fieldbus system, comprising:
前記登録手段は、フィールド機器に設けられたファンクションブロックを登録していて、
前記設定手段は、登録されているファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックが削除された場合に、前記登録されているファンクションブロックを無効ブロックとすることを特徴とする請求項4記載のフィールドバスシステムの構築装置。
The registration means registers function blocks provided in the field device,
The setting means, when a function block connected to a registered function block and contained in a physical field device is deleted, makes the registered function block an invalid block. 4. The fieldbus system construction apparatus according to 4.
前記登録手段は、フィールド機器に設けられたファンクションブロックを登録していて、
前記設定手段は、登録されているファンクションブロックと結び付いていて物理フィールド機器に入っているファンクションブロックのブロックインデックスまたはビューインデックスが変更された場合に、前記登録されているファンクションブロックを無効ブロックとすることを特徴とする請求項4記載のフィールドバスシステムの構築装置。
The registration means registers function blocks provided in the field device,
The setting means makes the registered function block an invalid block when the block index or view index of the function block connected to the registered function block and included in the physical field device is changed. The apparatus for constructing a fieldbus system according to claim 4.
分散型制御システムのファンクションブロックとフィールド機器のファンクションブロックが結線されていて、これらのファンクションブロックは前記登録手段に登録されていて、
前記設定手段は、結線されたフィールド機器のファンクションブロックのブロックパラメータが削除された場合に、前記登録されているフィールド機器のファンクションブロックを無効ブロックとすることを特徴とする請求項4記載のフィールドバスシステムの構築装置。
The function block of the distributed control system and the function block of the field device are connected, and these function blocks are registered in the registration means,
5. The fieldbus according to claim 4, wherein when the block parameter of the function block of the connected field device is deleted, the setting means sets the registered function block of the field device as an invalid block. System construction device.
JP2001317825A 2001-10-16 2001-10-16 Fieldbus system construction equipment Expired - Fee Related JP3709984B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001317825A JP3709984B2 (en) 2001-10-16 2001-10-16 Fieldbus system construction equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001317825A JP3709984B2 (en) 2001-10-16 2001-10-16 Fieldbus system construction equipment

Publications (2)

Publication Number Publication Date
JP2003124937A JP2003124937A (en) 2003-04-25
JP3709984B2 true JP3709984B2 (en) 2005-10-26

Family

ID=19135631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001317825A Expired - Fee Related JP3709984B2 (en) 2001-10-16 2001-10-16 Fieldbus system construction equipment

Country Status (1)

Country Link
JP (1) JP3709984B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4547614B2 (en) * 2003-10-28 2010-09-22 横河電機株式会社 Fieldbus system
JP2008004025A (en) * 2006-06-26 2008-01-10 Yokogawa Electric Corp Engineering device
JP2008021135A (en) * 2006-07-13 2008-01-31 Yokogawa Electric Corp Equipment simulation device
JP5024624B2 (en) * 2008-02-26 2012-09-12 横河電機株式会社 Field device management apparatus, field device management system, field device management method, computer program, recording medium
JP4947175B2 (en) * 2010-03-23 2012-06-06 横河電機株式会社 Engineering tools
US9182757B2 (en) * 2011-03-30 2015-11-10 Fisher-Rosemount Systems, Inc. Methods and apparatus to transmit device description files to a host
JP6984301B2 (en) * 2017-10-13 2021-12-17 横河電機株式会社 Setting system, setting device, setting method, and setting program
JP2019200505A (en) * 2018-05-15 2019-11-21 アズビル株式会社 Information processor and method
JP2022112427A (en) * 2021-01-21 2022-08-02 オムロン株式会社 Device and method for proposing system configuration
US20230053594A1 (en) * 2021-08-20 2023-02-23 Yokogawa Electric Corporation Distributive deployment of process automation software applications

Also Published As

Publication number Publication date
JP2003124937A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
US10558642B2 (en) Mechanism for deprecating object oriented data
US7676792B2 (en) Software component library management system
JP4973867B2 (en) PLC control program development device and program
JP3709984B2 (en) Fieldbus system construction equipment
WO2002042853A1 (en) Method and apparatus for programming
JP5766378B2 (en) System development apparatus, method and program
JPH07334572A (en) Information processing system
JP2009205243A (en) Field equipment management device, field equipment management system, field equipment management method, computer program, and recording medium
CN112948099B (en) Task issuing flow method and device, computer equipment and storage medium
US8051407B2 (en) Method for controlling a software maintenance process in a software system landscape and computer system
JP2019046052A (en) Control system, development support device, and control method
US20070150861A1 (en) Method and system for software design that combines signal flow and object reference connections
US5848141A (en) Method and apparatus for provisioning call processing records using logic and data templates
JP2007249422A (en) Organization constitution management system, and program therefor
WO2015136643A1 (en) Computer environment management system
JP6054008B1 (en) Data management apparatus, data management method, and data management program
JP2007242051A (en) Device for mounting/executing business logic program
JP3736467B2 (en) Cable management system and management method
JP2010181930A (en) Field-equipment engineering apparatus
US20060155481A1 (en) System and method for reusing project planning data
JP2004046585A (en) Distributed control device
JP4582462B2 (en) Information management system
US20210110006A1 (en) Controller, Method for Managing License, and Program for Managing License
JP4374524B2 (en) Field equipment management system
JP2005353092A (en) Process control system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050721

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050803

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3709984

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080819

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090819

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100819

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100819

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110819

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120819

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120819

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130819

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees