JP3999477B2 - Control program creation system, apparatus, method, recording medium, and program - Google Patents

Control program creation system, apparatus, method, recording medium, and program Download PDF

Info

Publication number
JP3999477B2
JP3999477B2 JP2001187918A JP2001187918A JP3999477B2 JP 3999477 B2 JP3999477 B2 JP 3999477B2 JP 2001187918 A JP2001187918 A JP 2001187918A JP 2001187918 A JP2001187918 A JP 2001187918A JP 3999477 B2 JP3999477 B2 JP 3999477B2
Authority
JP
Japan
Prior art keywords
control
control program
data
job
creation
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 - Lifetime
Application number
JP2001187918A
Other languages
Japanese (ja)
Other versions
JP2003005964A (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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2001187918A priority Critical patent/JP3999477B2/en
Publication of JP2003005964A publication Critical patent/JP2003005964A/en
Application granted granted Critical
Publication of JP3999477B2 publication Critical patent/JP3999477B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Control By Computers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、制御プログラム作成システム、装置、方法、記録媒体およびプログラムに関し、特に制御システムの制御対象を制御コントローラによりネットワークを介して制御するための制御プログラムを作成する制御プログラム作成システム、装置、方法、記録媒体およびプログラムに関するものである。
【0002】
【従来の技術】
プラントに設置されている各種制御対象の制御状態や運転状態を監視するプロセス監視装置は、プロセス制御機器やセンサなどから制御コントローラやネットワークを介してデータを受信し、プロセス状態をCRT画面に表示するとともに、プロセス制御データの設定値や運転モードなどを変更する機能を備えている。一方、制御コントローラは、プロセス制御機器や制御対象の状態を検出するセンサなどから信号を取り込み、その情報を用いて各種演算を行い、その結果を出力するなどの、プラントの制御対象を一定の目的の下で制御し、安定した状態で運転する機能を備えている。
【0003】
制御コントローラには、このような機能を実現する制御プログラムがバイナリ形式のコントローラデータとして格納されており、この制御プログラムに基づいて上記機能を提供している。
従来、このような制御プログラムは、制御プログラム作成装置において、制御ブロック図として表現され、構築するシステム単位に作成されるのが一般的であった。
ここで、制御プログラム作成装置で制御プログラムの作成単位をジョブと表現すると、通常、1つのジョブで1つのシステムの制御プログラムを作成されていた。
【0004】
図10に従来の制御プログラム作成システム例を示す。また図11に従来の制御プログラム作成手順を示す。
ここでは、作業者Aは制御プログラム作成装置Aのジョブ01により制御コントローラ91の制御プログラムを作成し、作業者Bは制御プログラム作成装置Bのジョブ02により制御コントローラ92の制御プログラムを作成する例が示されている。
以下では、制御コントローラ91の制御プログラムおよび制御コントローラ92の制御プログラムが各制御コントローラへダウンロードされるまでの手順について説明する。
【0005】
まず、作業者Aにより作成された制御ブロック図と作業者Bにより作成された制御ブロック図とをそれぞれコピーし、制御プログラム作成装置2において統合したジョブ03を生成する。
そして、この統合したジョブ03により、ジョブ01とジョブ02との結合情報などを定義する。この作業が完了した後、制御プログラム作成装置2は制御コントローラのコントローラデータファイルを作成する。
このようにして作成されたコントローラデータファイルは、制御コントローラごとに制御プログラムとしてダウンロードされる。
【0006】
ここで、別々に作成した制御プログラムを一旦統合する理由の1つは、プラントの運転監視を行うプロセス監視装置における運転監視画面で必要になるデータを作成するためである。
運転監視画面には複数の制御コントローラが取り扱う複数のデータを表示する必要がある。これは、作業効率の点から、その表示データを定義する際、どの制御コントローラのデータであるのかを意識しないで作業を行うのが一般的であるが、この運転監視画面作成に必要な情報が存在する複数の制御プログラムを一旦統合することが必要となるからである。
【0007】
また、制御プログラムを統合しないで、各制御プログラム作成装置で作成された制御プログラムを直接制御コントローラにダウンロードしないのは、例えば、制御コントローラのノードアドレスが誤って重複したまま制御プログラムが作成された場合には、ダウンロード時に上書きされ、その誤りのチェックができないからである。
つまり、別々に作成した制御プログラムを一旦統合する他の理由は、制御プログラムを統合したときに、制御コントローラのノードアドレスやタグ名の重複などのチェックを行うためである。
【0008】
【発明が解決しようとする課題】
このように、従来、制御プログラムを作成する際、ジョブごとに作成した制御プログラムを一旦統合して新たなジョブを作成するとともに、この統合したジョブにおいて個々の制御コントローラごとにコントローラデータファイルを作成し、制御コントローラに制御プログラムをダウンロードするものとなっていた。
このため、1つの制御コントローラの制御プログラムを変更修正する場合、統合したジョブ全体に対してデータの再生成処理が必要となるケースもあり、制御プログラムの変更修正作業に手間がかかるという問題があった。
【0009】
また、複数の制御コントローラの制御プログラムを変更修正する場合であっても、統合したジョブにおいて1人の作業者が上作業を行う必要があった。したがって、統合前のジョブごとに各々の作業者が並行して作業を行うことができず、作業効率が悪いという問題があった。
統合前のジョブごとに各々の作業者が併行して作業を行うことができないのは、一旦ジョブを統合して、かつ、ジョブ間の結合情報などを定義した場合、統合されたジョブを再度統合前のジョブに分割する作業は負荷が多く、ほとんど不可能だからである。
【0010】
本発明はこのような課題を解決するためのものであり、ジョブごとに作成した制御プログラムから統合したジョブを作成することなく、個々の制御コントローラの制御プログラムを作成できる制御プログラム作成システム、装置、方法、プログラムおよび記録媒体を提供することを目的としている。
【0011】
【課題を解決するための手段】
このような目的を達成するために、本発明にかかる制御プログラム作成装置は、複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて制御対象を一定の目的の下で制御するための制御プログラムを作成する制御プログラム作成装置であって、制御対象に関する情報からなるシステム定義データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするシステム定義データ管理手段と、作成する制御プログラムで用いる制御対象と、他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理手段と、システム定義データ管理手段で取得したシステム定義データおよびジョブ間風船データ管理手段で取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集手段とを備えるものである。
【0017】
また、コントローラデータ作成手段を設け、制御コントローラで実行して制御対象を制御するためのバイナリ形式からなるコントローラデータを、制御ブロック図作成編集手段で作成した制御プログラムに基づき作成するようにしてもよい。
システムデータ作成手段を設け、制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データとして統合されるシステムデータを、制御ブロック図作成編集手段で作成した制御プログラムから作成するようにしてもよい。
【0018】
あるいは、システムデータ作成手段を設けて、制御ブロック図作成編集手段で作成した制御プログラムに基づき制御システムの運転監視に用いるシステムデータを作成し、システム統合データ作成手段を設けて、個々の制御プログラム作成装置で作成された複数のシステムデータを統合することにより、制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データを作成するようにしてもよい。
【0019】
さらに、システム統合データ作成手段で、複数のシステムデータを統合する際、これらシステムデータ相互間の整合性を検査し、その検査結果をこれらシステムデータを作成した元の制御プログラムを修正するのに用いるエラー情報として出力するようにしてもよい。
制御ブロック図作成編集手段に変換手段を設け、当該制御プログラムに固有の識別情報をその制御プログラムで用いる制御対象の名前に付加することにより、これら制御対象の名前を制御システム全体で重複しない新たな名前へ変換するようにしてもよい。
【0020】
本発明にかかるプログラム制御方法は、複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置で用いられる制御プログラム作成方法であって、ジョブ処理手段により、制御システムに接続されている制御対象に関する情報からなるシステム定義データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップとジョブ処理手段により、作成する制御プログラムで用いる制御対象と、他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップとジョブ処理手段により、システム定義データ管理ステップで取得したシステム定義データおよびジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップとを備えている
【0021】
このとき、ジョブ処理手段のコントローラデータ作成ステップにより、制御コントローラで実行して制御対象を制御するためのバイナリ形式からなるコントローラデータを、制御ブロック図作成編集ステップで作成編集した制御プログラムに基づき作成するようにしてもよい。
また、ジョブ処理手段のシステムデータ作成ステップにより、制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データへ統合されるシステムデータを、制御ブロック図作成編集ステップで作成した制御プログラムから作成するようにしてもよい。
【0022】
あるいは、ジョブ処理手段のシステムデータ作成ステップにより、制御ブロック図作成編集ステップで作成した制御プログラムに基づき制御システムの運転監視に用いるシステムデータを作成し、ジョブ処理手段のシステム統合データ作成ステップにより、個々の制御プログラム作成装置で作成された複数のシステムデータを統合することにより、制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データを作成するようにしてもよい。
システム統合データ作成ステップにより、複数のシステムデータを統合する際、これらシステムデータ相互間の整合性を検査し、その検査結果をこれらシステムデータを作成した元の制御プログラムを修正するのに用いるエラー情報として出力するようにしてもよい。
【0023】
制御ブロック図作成編集ステップにより、制御プログラムを作成・編集する際、当該制御プログラムに固有の識別情報をその制御プログラムで用いる制御対象の名前に付加することにより、これら制御対象の名前を制御システム全体で重複しない新たな名前へ変換するようにしてもよい。
【0024】
また、本発明にかかる記録媒体は、複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置のコンピュータに、ジョブ処理手段により、制御対象に関する情報からなるシステム定義データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップと、ジョブ処理手段により、作成する制御プログラムで用いる制御対象と他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップと、ジョブ処理手段により、システム定義データ管理ステップで取得したシステム定義データおよびジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップとを実行させるためのプログラムを記録したものである。
【0025】
また、本発明にかかるプログラムは、複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置のコンピュータに、ジョブ処理手段により、制御対象に関する情報からなるシステム定義データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップと、ジョブ処理手段により、作成する制御プログラムで用いる制御対象と他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップと、ジョブ処理手段により、システム定義データ管理ステップで取得したシステム定義データおよびジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップとを実行させるためのプログラムである。
【0026】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して説明する。
図1は本発明の一実施の形態にかかる制御プログラム作成システムを示すブロック図である。
この制御プログラム作成システムは、ネットワーク9に接続された制御プログラム作成装置10A(以下、処理端末Aという)および制御プログラム作成装置10B(以下、処理端末Bという)から構成されている。また、ネットワーク9には制御コントローラ91,92が接続されており、ここでは制御コントローラ91で用いる制御プログラムを処理端末Aで作成し、制御コントローラ92で用いる制御プログラムを処理端末Bで作成するものとする。
【0027】
処理端末A,Bは、全体として通信機能を有するコンピュータから構成されており、メモリやハードディスク装置などの記憶装置からなる記憶手段1、この記憶手段1に格納されているプログラムファイルを読み出して実行することにより制御プログラムの作成処理などの各種ジョブ処理を行うジョブ処理手段2、ネットワーク9を介して各種情報を制御プログラム作成装置間や制御コントローラ91,92との間でやり取りする通信手段3が設けられている。
この他、作業者との間で各種情報をやり取りするインターフェース手段として、CRT5A、タッチスクリーン5B、キーボード6、マウス7が設けられている。
【0028】
ジョブ処理手段2で実行されるプログラムについては、そのプログラムが記録されている記録媒体8から読み出し、必要に応じて記憶手段1へ格納して実行される。なお、この記録媒体8に代えて、ネットワーク9に接続された装置(図示せず)から上記プログラムを取り込むようにしてもよい。
以下では、処理端末A,Bのうち、処理端末Bでシステムの運転監視を行うものとし、そのための構成として処理端末Aには、運転監視画面表示手段4が設けられている。
【0029】
次に、図2を参照して、処理端末A,Bの記憶手段1およびジョブ処理手段2について詳細に説明する。図2は記憶手段1およびジョブ処理手段2の構成を示すブロック図である。
処理端末Aの記憶手段1には、ジョブ処理手段2でのジョブ処理に用いる各種情報がファイルとして記憶されている。ここでは、制御ブロック図(シート)11、システム定義データ12、ジョブ間風船データ13、システムデータ14、コントローラデータ15、およびジョブ処理プログラム16が記憶されている。
【0030】
また、処理端末Aのジョブ処理手段2には、制御ブロック図作成編集手段(制御プログラム作成編集手段)21、システム定義データ管理手段22、ジョブ間風船データ管理手段23、システムデータ作成手段24、コントローラデータ作成手段25、およびタグ名置換手段26が設けられている。
【0031】
一方、処理端末Bの記憶手段1には、処理端末Aの記憶手段1での記憶内容に加えて、システム統合データ17、運転画面表示プログラム18、および運転用初期化データ19が記憶されている。
また、処理端末Bの記憶手段1には、処理端末Aのジョブ処理手段2に設けられている手段に加えて、システム統合データ作成手段27が設けられている。
【0032】
図3に各種情報と処理手段との関係を示す。
制御ブロック図11は、制御コントローラ91,92で実行される制御プログラムが図形式で表現されたものである。具体的には、制御システム内のプロセス制御機器などの制御対象(ハードウェア)を示す制御パーツや制御パーツ間の接続関係を示すリンクから構成されるブロック図で表現される。
制御ブロック図作成編集手段21は、この制御ブロック図11を作成し編集するための手段である。
【0033】
システム定義データ12は、制御システムで共通に使用されるシステム定義データであり、ネットワークに接続される制御対象に関する情報が定義されている。具体的には、ノード名(例えば、制御コントローラの名称)、ノード番号(例えば、制御コントローラの番号)、ノードIPアドレス、モジュール番号(例えば、制御コントローラに装着される入出力モジュールの番号)、モジュール種類(例えば、制御コントローラに装着される入出力モジュールの種類、デジタル入力やアナログ出力)などのデータからなる。
システム定義データ管理手段22は、このシステム定義データ12を作成・編集したり他のジョブとの間でやり取りするための設計データ入出力手段である。
【0034】
ジョブ間風船データ13は、異なる制御ブロック図11間にまたがるリンクをジョブ間風船パーツで定義するものである。具体的には、ジョブ間風船パーツID、ジョブ間風船パーツのディスクリプタ(コメント)、ジョブ間風船パーツが記述されている制御ブロック図(シート)の名称などのデータからなる。
ジョブ間風船データ管理手段23は、このジョブ間風船データ13を作成・編集し、必要に応じて他のジョブ処理との間でやり取りするための設計データ入出力手段である。
【0035】
システムデータ14は、制御システム全体の運転監視を行う場合に用いるデータである。具体的には、制御システムで用いる各ノードに付与されたノード名、ノードタイプ、ノード番号、ノードIPアドレスなどからなるノード情報や、監視ポイントのタグ名、ノード番号、モジュール番号、モジュール種類、スロット番号などからなるポイント情報から構成されている。
システムデータ作成手段24は、当該制御ブロック図11に対応するシステムデータ14を作成する手段である。
【0036】
コントローラデータ15は、当該処理端末A,Bで作成された制御ブロック図11に基づき各制御コントローラ91,92ごとに作成される制御プログラムである。具体的には、制御コントローラ91,92で、その制御ブロック図11からなる制御プログラムが実行できるように、図形式で表現された制御パーツやリンクに関する情報がバイナリ形式で表現されている。
コントローラデータ作成手段25は、このコントローラデータ15を制御ブロック図11から作成する手段である。
【0037】
システム統合データ作成手段27は、各処理端末A,Bのシステムデータ作成手段24で作成されたシステムデータ14を統合してシステム統合データ17を作成する手段である。
これらシステム統合データ作成手段27およびシステム統合データ17は、システムの運転監視を行う処理端末Bに設けられている。
【0038】
運転画面表示プログラム18は、制御システムを起動する際にシステムの運転監視を行う処理端末Bで実行されるプログラムである。具体的には、システム統合データ17を読み取って、運転監視画面表示手段4でCRT5A上に各種データを表示するのに必要な情報を設定する。また、運転監視の対象データについて、制御コントローラ91,92およびその内部アドレスなどを設定する。
運転用初期化データ19は、運転画面実行プログラム18が実行されるときに用いられ、システム統合データ17が記憶されている場所を示す情報からなる。これら運転画面表示プログラム18および運転用初期化データ19は、システムの運転監視を行う処理端末Bに設けられている。
【0039】
なお、本発明でいうノードとは、ネットワーク9上に位置する装置単体を指し、例えば、ネットワーク9に接続されているコントローラや、オペレータが操作するコンピュータ、さらには制御プログラム作成装置などのエンジニアリング用コンピュータなども含まれる。また、ノード番号とは個々のノードを識別するための番号である。但し、一般には狭義の意味でコントローラのみを指す場合が多い。
【0040】
また、ポイントとは、コントローラで実行される各制御(アルゴリズム)の単位を指し、1つのコントローラには、数十から数百のポイントがある。例えば、ポイント01は、バルブAを制御するためのポイント、ポイント02は流量計Bを制御するためのポイントというように、制御する単位ごとにポイントが割り当てられる。また、ポイントは、コントローラのノード番号、そのコントローラに装着されているモジュールを示すモジュール番号、そのモジュールのスロットを指すスロット番号により特定される。
【0041】
また、タグ名とは、上記ポイントを識別するための名前を指し、各ポイントに対して任意のタグ名を付与できる。このタグ名としては、1システムでユニークなものが付与され、プログラム作成装置や運転画面でポイントを識別するためのキーとして用いられる。例えば、コントローラにあるタグ名「AI100」のポイントのデータを得る場合、システムデータファイルからこのタグ名「AI100」に対応する、ノード番号、モジュール番号およびスロット番号の組が参照され、この組が示す場所から所望のデータを得ることになる。
【0042】
また、パーツとは、プログラム作成装置で制御プログラムを作成・編集する際に、上記ポイントを表すために用いるオブジェクトである。例えば、AIパーツを制御ブロック図上に配置し、そのAIパーツにタグ名や上記ノード番号ほかを設定する。このようにして設定された複数のパーツを用いてコントロールデータファイルなどが生成出力されて、個々のパーツのデータがそれぞれのポイントにロードされる。
【0043】
次に、図4を参照して、本発明の制御プログラム作成システムの動作について説明する。図4は、本発明の制御プログラム作成システムの動作を示すフローチャートである。
以下では、処理端末Aで作業者Aが制御コントローラ91用の制御プログラムを作成し、処理端末Bで作業者Bが制御コントローラ92用の制御プログラムを作成する場合について説明する。また、処理端末Bで制御システムの運転監視に用いるシステム統合データ17を作成する場合について説明する。
通常、制御プログラム作成装置における制御プログラムの作成処理単位をジョブという。ここでは、作業者Aによる処理をジョブ01と呼び、作業者Bによる処理をジョブ02と呼ぶ。
【0044】
まず、作業者Aは、処理端末Aでタッチスクリーン5B、キーボード6あるいはマウス7などの操作入力手段を用いてジョブ処理手段2を起動する。これにより、記録媒体8やネットワーク9を介して記憶手段1へ予め格納しておいたジョブ処理プログラム16が読み出されて実行され、各種ジョブ処理が利用可能となる。
作業者Aは、ジョブ処理手段2のシステム定義データ管理手段22を用いて、処理端末Bで予め入力されたシステム定義データ12をネットワーク9を介して取得する(ステップ100)。そして、制御ブロック図作成編集手段21を選択し、上記操作入力手段やCRT5Aなどの表示出力手段を用いて、制御コントローラ91の制御プログラムとして、制御ブロック図11の作成・編集を開始する(ステップ101)。
【0045】
一方、作業者Bは、作業者Aと同様にして、処理端末Bでジョブ処理手段2を起動し、システム定義データ管理手段22を用いて、当該処理端末Bのシステム定義データ12を読み込む(ステップ110)。そして、制御ブロック図作成編集手段21を選択し、上記操作入力手段やCRT5Aなどの表示出力手段を用いて、制御コントローラ92の制御プログラムとして、制御ブロック図11の作成・編集を開始する(ステップ111)。
【0046】
ここで、処理端末Aにおいて、ジョブ01での制御プログラム作成に必要なジョブ間風船データが発生した場合、作業者Aはジョブ間風船データ管理手段を用いて、他の処理端末Bからジョブ間風船データ13を取得する(ステップ102)。
このようにして、作業者Aは、他の処理端末から取得したデータを用いて、ジョブ01により制御コントローラ91の制御プログラムとして制御ブロック図11を完成させる(ステップ103)。
【0047】
一方、処理端末Bでも、同様にして作業者Bはジョブ02の制御プログラム作成に必要なジョブ間風船データが発生した場合、ジョブ間風船データ管理手段23を用いて、他の処理端末Aからジョブ間風船データ13を取得する(ステップ112)。
このようにして、作業者Bは、他の処理端末から取得したデータを用いて、ジョブ02により制御コントローラ92の制御プログラムとして制御ブロック図11を完成させる(ステップ113)。
【0048】
次に、処理端末Bでの運転監視で用いるシステム統合データ17を作成するために、まず作業者Aは、システムデータ作成手段24を用いて制御ブロック図11からシステムデータ14を作成する(ステップ104)。
一方、作業者Bは、システムデータ作成手段24を用いて制御ブロック図11からシステムデータ14を作成し(ステップ114)、処理端末Aで作成されたシステムデータ14をネットワーク9を介して処理端末Bから参照する(ステップ115)。そして、システム統合データ作成手段27を用いて、処理端末A,Bのシステムデータ14を統合することにより、システム統合データ17を作成する(ステップ116)。
【0049】
このとき、システム統合データ作成手段27では、処理端末A,Bのシステムデータ14の整合性がチェックされる。
そして、両者に不一致があった場合はエラー情報が出力される。作業者Aは、必要に応じて制御ブロック図作成編集手段21でこのエラー情報に基づき制御ブロック図11を修正する(ステップ107)。
【0050】
修正後、コントローラデータ作成手段25を用いて、当該制御ブロック図11から制御コントローラ91で実行可能なコントローラデータ15を作成する(ステップ108)。
そして、そのコントローラデータ15を処理端末Aからネットワーク9を介して制御コントローラ91へダウンロードする(ステップ109)。これにより、新たに作成された制御プログラムが制御コントローラ91へ設定されて実行可能となる。
【0051】
一方、作業者Bは、必要に応じて制御ブロック図作成編集手段21で、システム統合データ作成手段27からのエラー情報に基づき制御ブロック図11を修正する(ステップ117)。
修正後、コントローラデータ作成手段25を用いて、当該制御ブロック図11から制御コントローラ92で実行可能なコントローラデータ15を作成する(ステップ118)。
そして、そのコントローラデータ15を処理端末Aからネットワーク9を介して制御コントローラ92へダウンロードする(ステップ119)。これにより、新たに作成された制御プログラムが制御コントローラ92へ設定されて実行可能となる。
【0052】
このように、ネットワーク9を介して接続された制御プログラム作成装置10A,10Bのジョブ処理手段2に、システム定義データ管理手段22やジョブ間風船データ管理手段23などの設計データ入出力手段を設け、制御プログラム作成編集時に必要なシステム定義データ12やジョブ間風船データ13などの設計データを、設計データ入出力手段によりネットワーク9を介して他の制御プログラム作成装置との間でやり取りするようにしたので、ジョブごとに作成した制御プログラムに基づき統合したジョブを作成することなく、各制御プログラム作成装置10A,10Bで当該制御コントローラ91,92の制御プログラムすなわちコントローラデータを個別に作成できる。
【0053】
したがって、個々の制御コントローラの制御プログラムを変更修正する場合、従来のように統合したジョブ全体に対するデータの再生成処理を行う必要がなくなり、制御プログラムの変更修正作業を大幅に削減できる。
さらに、複数の制御コントローラの制御プログラムを変更修正する場合であっても、複数の作業者で手分けして並列的に作業を行うことができ、作業効率を大幅に改善できる。
【0054】
また、システム統合データ作成手段27において、制御システムの運転監視で用いるシステム統合データ17を作成する際に行われるシステムデータの整合性チェックの結果に基づき、各ジョブ01,02で制御プログラムを修正するようにしたので、各制御プログラム作成装置10A,10Bで作成された制御プログラム相互間の整合性を得ることができる。
このとき、運転監視用のシステム統合データ17の作成は、制御システムの構築に必要な処理であり、このような必須の処理の結果を利用するようにしたので、新たな処理を追加することなく、各制御プログラム作成装置10A,10Bで個別に作成された個々の制御プログラムの整合性を効率よく得ることができる。
【0055】
また、制御ブロック図作成編集手段21にタグ名変換機能(交換手段)を設け、上記ステップ104,114でシステムデータを作成するまでに、各ジョブ01,02で作成した制御ブロック図11で用いている各パーツのタグ名を、当該ジョブ番号を用いて変換するようにしてもよく、これにより、異なるジョブ間におけるタグ名の重複を回避できる。
図5にタグ名変換処理を示す。例えば、ジョブ01,02の各制御ブロック図11でタグ名「AI001」,「PID001」,「AO001」というパーツが用いられている場合、このままではこれら制御ブロック図11から作成されたシステムデータを統合した場合、タグ名重複でエラーが発生する。
【0056】
これに対して、制御ブロック図作成編集手段21のタグ名変換機能では、個々の制御ブロック図11で用いられているパーツの各タグ名に、そのジョブ番号が付加される。これによりジョブ01のパーツのタグ名には、例えば末桁から4桁目に「J01」が付加されて、「AIJ01001」,「PIDJ01001」,「AOJ01001」へ変換される。また、ジョブ02のパーツのタグ名には、例えば末桁から4桁目に「J02」が付加されて、「AIJ02001」,「PIDJ02001」,「AOJ02001」へ変換される。
これにより、これらタグ名変換後の制御ブロック図11から作成されたシステムデータを統合する際、タグ名重複によるエラー発生を回避できる。
【0057】
次に、図6を参照して、システム定義データ管理手段22について説明する。図6はシステム定義データ管理手段22の動作を示す説明図である。
制御プログラムを作成する際、制御システムのネットワークに接続される制御対象に関する情報は、システム定義データ12として制御システムの設計書類により配布される。
ここでは、作業者Bにより処理端末Bでシステム定義データ管理手段22を用いて、ジョブ02として予めシステム定義データ12を入力する(ステップ120)。
【0058】
そして、入力したシステム定義データ12を上記システム定義データ管理手段22を用いて、システム定義データファイル12Aとして記憶手段1へエキスポートする(ステップ121)。
一方、作業者Aは、処理端末Aのシステム定義データ管理手段22を用いて、処理端末Bからネットワーク9を介してシステム定義データファイル12Aをインポートし(ステップ122)、ジョブ01のシステム定義データ12として記憶手段1へ格納し、制御ブロック図11の作成編集に用いる(ステップ123)。
【0059】
従来、このようなシステム定義データは、個々の作業者が当該処理端末でそれぞれ個別に入力する必要があり、システム規模の増大に応じてその入力作業負担も飛躍的に増加するという問題点があった。また、入力ミスにより他の処理端末との間でシステム定義データの内容が異なり、作成した制御プログラムに矛盾が生じる場合もあった。
本発明では、システム定義データ管理手段22を設けて処理端末間でシステム定義データをやり取りすることにより、1回の入力作業で済みその作業負担が大幅に削減できる。また、システム定義データの不一致を回避でき、これに起因して制御プログラムに矛盾が生じることもなくなる。
【0060】
なお、上記説明では、制御ブロック図11の作成開始時にすべての制御対象に関するシステム定義データ12をジョブ間でやり取りする場合を例として説明したが、これに限定されるものではない。
例えば、制御ブロック図11の作成・編集を行っている途中でシステム定義データ12の修正や追加が必要となる場合もある。このような際にも、システム定義データ管理手段22を用いて、特定のハードウェアに関するシステム定義データ12をジョブ間でやり取りするようにしてもよく、システム定義データの入力作業負担を軽減でき、またシステム定義データの不一致を回避できる。
【0061】
次に、図7を参照して、ジョブ間風船データ管理手段23について説明する。図7はジョブ間風船データ管理手段23の動作を示す説明図である。
複数の処理端末で個別に制御プログラムを作成する際、ジョブを越えた管理ポイント間のリンクを定義する必要が生じる。
例えば、図7に示すように、ジョブ01のパーツPR01に設けられている接続先PR01.OPと、ジョブ02のパーツPRに設けられている接続先RD01.CIとを接続する場合、各処理端末A,Bのジョブ01,02でジョブ間風船データ管理手段23を用いて、このリンクを定義する。
【0062】
そして作業者Aは、その定義したジョブ間風船データを、処理端末Aのジョブ間風船データ管理手段23を用いて記憶手段1へジョブ間風船データファイル13Aとして出力する(ステップ130)。
一方、作業者Bは、処理端末Bのジョブ間風船データ管理手段23を用いて、処理端末Aからネットワーク9を介してジョブ間風船データファイル13Aを読み込み(ステップ131)、ジョブ01でのジョブ間風船データ13として、制御ブロック図11の作成編集に用いる。
また、処理端末Bでも上記と同様にして、定義したジョブ間風船データがジョブ間風船データファイル13Bとして出力され(ステップ132)、これら処理端末Aへ読み込まれて(ステップ133)、制御ブロック図11の作成編集に用いられる。
【0063】
従来、このような接続の定義は、システム定義データ12と同様にして制御システムの設計書類により配布され、あるいは作業者間での連絡に基づき、個々の作業者が必要に応じて入力するものとなっていた。したがって、システム規模の増大に応じてその入力作業負担も飛躍的に増加し、また、入力ミスにより他の処理端末との間で接続の定義が異なり、作成した制御プログラムに矛盾が生じる場合もあった。
本発明では、ジョブ間風船データ管理手段23を設けて処理端末間でジョブ間風船データ13をやり取りすることにより、1回の入力作業で済みその作業負担が大幅に削減できる。また、定義の不一致を回避でき、これに起因して制御プログラムに矛盾が生じることもなくなる。
【0064】
次に、図8を参照して、システムデータ作成手段24およびシステム統合データ作成手段27について説明する。図8はシステムデータ作成手段24およびシステム統合データ作成手段27の動作を示す説明図である。
制御システムでは、通常、そのシステムの運転状態を監視するのに用いるシステム統合データが必要となる。
システムデータ作成手段24では、複数の処理端末で個別に作成した制御ブロック図11から、当該ジョブに対応するシステムデータ14を作成し、システム統合データ作成手段27では、これら各システムデータ14からシステム統合データ17を作成する。
【0065】
具体的には、図8に示すように、作業者Aは、処理端末Aでジョブ01として作成した制御ブロック図11から、システムデータ作成手段24を用いてシステムデータ14Aを作成し(ステップ140)、ネットワーク9を介してシステム統合データ作成手段27のある処理端末Bへ転送する。
作業者Bも同様にして、処理端末Bでジョブ02として作成した制御ブロック図11から、システムデータ作成手段24を用いてシステムデータ14Bを作成する(ステップ141)。
【0066】
そして、処理端末Bのシステム統合データ作成手段27で、システムデータ14Aをシステム統合データ17へ統合するとともに(ステップ142)、システムデータ14Bをシステム統合データ17へ統合する(ステップ143)。
これにより、ジョブ01およびジョブ02の制御ブロック図11の内容を含むシステム統合データ17が作成される。
【0067】
その後、処理端末Bで運転監視を開始する際(オンライン立ち上げ時)、運転監視画面表示手段4が、記憶手段1の運転画面表示プログラム18を実行させることにより、システム統合データ17の格納場所が記憶されている運転用初期化データ19を読み出す。
そして、そのシステム統合データ17に記憶されている情報に従って、タグ名に対応する制御コントローラのノードアドレスや制御コントローラのスロットにおけるアドレス等を特定する。これにより、そのタグ名に対応するデータが格納されている所在位置が特定される。
運転監視画面表示手段4では、予め画面ごとに表示するデータが定義されたタグ名に基づいて、この特定された所在位置からデータを取得し、CRT5Aへ画面表示する。
【0068】
従来、システム統合データを作成する際、コントローラデータと同様に、複数のジョブを1つのジョブに統合した後、その統合したジョブからシステム統合データを作成するものとなっていた。したがって、多様なデータを含む比較的データ量の大きいジョブを統合して大規模なジョブを作成し、その統合されたジョブからシステム統合データを作成する必要があるため、その作成処理に時間がかかり、作業効率が悪いという問題点があった。
本実施の形態によれば、接続情報など制御プログラムの設計にのみ用いる情報(例えば、リンク情報など)を含まず、運転監視に必要なノード情報やポイント情報からなるシステムデータを統合してシステム統合データを作成するようにしたので、その作成の所要時間を短縮でき、作業効率を改善できる。
【0069】
また、システム統合データ作成手段27では、各システムデータ14を統合する際、それらシステムデータ14間の整合性をチェックし、その結果をエラー情報17Aとして出力する(ステップ145)。
通常、この種のエラー情報は、CRT5Aから画面表示されたり、エラーログファイルとして記憶手段1へ格納される。
したがって、システム統合データ作成手段27のある処理端末Bでは、CRT5Aに表示されたエラー情報に基づき、作業者Bが制御ブロック図作成編集手段21を用いて制御ブロック図11を修正できる。また、処理端末Aでは、処理端末Bのエラーログファイルをネットワーク9を介して参照し、あるいはその印刷出力を参照して、作業者Aが制御ブロック図作成編集手段21を用いて制御ブロック図11を修正できる。
【0070】
次に、図9を参照して、コントローラデータ作成手段25について説明する。図9はコントローラデータ作成手段25の動作を示す説明図である。
コントローラデータ作成手段25では、制御コントローラ91,92で、その制御ブロック図11からなる制御プログラムが実行できるように、バイナリ形式で表現されたコントローラデータ15を作成する。
このとき、作業者は、各処理端末A,Bのコントローラデータ作成手段25を用いて、それぞれジョブ01,02の制御ブロック図11から別に対応するコントローラデータ15を作成し、それぞれコントローラデータファイル15A,15Bとして出力する(ステップ150,151)。
【0071】
そして、各処理端末A,Bからネットワーク9を介して対応する制御コントローラ91,92へ、それぞれのコントローラデータファイル15A,15Bをダウンロードする(ステップ152,153)。
これにより、新たに作成された制御プログラムが制御コントローラ92へ設定されて実行可能となる。
【0072】
以上では、2つの処理端末A,Bを用いて複数のジョブで並行して制御プログラムを作成編集する作業(マルチエンジニアリング)を行う場合を例として説明したが、これに限定されるものではなく、3以上の処理端末を用いる場合にも本発明を適用でき、上記と同様の作用効果が得られる。
また、処理端末Bにシステム統合データ作成手段27を設けた場合を例として説明したが、ジョブを実行する処理端末A,Bとは異なる処理端末にシステム統合データ作成手段27を設けてシステム統合データを作成するようにしてもよい。
【0073】
【発明の効果】
以上説明したように、本発明は、制御プログラム作成装置の制御プログラム作成編集手段で、当該制御コントローラで用いる制御プログラムを作成・編集するとともに、設計データ入出力手段で、制御プログラムの作成編集に必要な設計データをネットワークを介して他の制御プログラム作成装置との間でやり取りするものとし、具体的には、システム定義データ管理手段により、制御対象に関する情報からなるシステム定義データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りするとともに、ジョブ間風船データ管理手段により、制御プログラム作成編集手段で作成する制御プログラムで用いる制御対象と、他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、ネットワークを介して他の制御プログラム作成装置との間でやり取りし、制御ブロック図作成編集手段により、システム定義データ管理手段で取得したシステム定義データおよびジョブ間風船データ管理手段で取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集するようにしたので、ジョブごとに作成した制御プログラムから統合したジョブを作成することなく、各制御プログラム作成装置で当該制御コントローラの制御プログラムを個別に作成できる。
したがって、個々の制御コントローラの制御プログラムを変更修正する場合、従来のように統合したジョブ全体に対するデータの再生成処理を行う必要がなくなり、制御プログラムの変更修正作業を大幅に削減できる。さらに、複数の制御コントローラの制御プログラムを変更修正する場合であっても、複数の作業者で手分けして並列的に作業を行うことができ、作業効率を大幅に改善できる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態による制御プログラム作成装置を示すブロック図である。
【図2】 記憶手段およびジョブ処理手段の構成を示すブロック図である。
【図3】 各種情報と処理手段との関係を示す説明図である。
【図4】 制御プログラム作成システムの動作を示すフローチャートである。
【図5】 タグ名変換処理を示す説明図である。
【図6】 システム定義データ管理手段の動作を示す説明図である。
【図7】 ジョブ間風船データ管理手段の動作を示す説明図である。
【図8】 システムデータ作成手段およびシステム統合データ作成手段の動作を示す説明図である。
【図9】 コントローラデータ作成手段の動作を示す説明図である。
【図10】 従来の制御プログラム作成システムの構成例である。
【図11】 従来の制御プログラム作成手順を示すフローチャートである。
【符号の説明】
10A…制御プログラム作成装置(処理端末A)、10B…制御プログラム作成装置(処理端末B)、1…記憶手段、2…ジョブ処理手段、3…通信手段、4…運転監視画面表示手段、5A…CRT、5B…タッチスクリーン、6…キーボード、7…マウス、8記録媒体、9…ネットワーク、91,92…制御コントローラ、11…制御ブロック図(シート)、12…システム定義データ、12A…システム定義データファイル、13…ジョブ間風船データ、13A,13B…ジョブ間風船データファイル、14…システムデータ、14A,14B…システムデータファイル、15…コントローラデータ、15A,15B…コントローラデータファイル、16…ジョブ処理プログラム、17…システム統合データ、17A…エラー情報、18…運転画面表示プログラム、19…運転用初期化データ、21…制御ブロック図作成編集手段、22…システム定義データ管理手段、23…ジョブ間風船データ管理手段、24…システムデータ作成手段、25…コントローラデータ作成手段、26…タグ名置換手段、27…システム統合データ作成手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control program creation system, apparatus, method, recording medium, and program, and in particular, a control program creation system, apparatus, and method for creating a control program for controlling a control target of a control system via a network by a control controller. The present invention relates to a recording medium and a program.
[0002]
[Prior art]
A process monitoring device installed in a plant for monitoring the control state and operation state of various control targets receives data from process control devices and sensors via a control controller and a network, and displays the process state on a CRT screen. At the same time, it has a function to change process control data set values and operation modes. On the other hand, the control controller captures signals from process control devices and sensors that detect the status of the control target, performs various calculations using the information, and outputs the results. It has the function of controlling under the control and driving in a stable state.
[0003]
The control controller stores a control program for realizing such a function as binary controller data, and provides the above function based on this control program.
Conventionally, such a control program is generally expressed as a control block diagram in a control program creation apparatus and is created for each system to be constructed.
Here, when a control program creation unit is expressed as a job in the control program creation device, a control program for one system is usually created by one job.
[0004]
FIG. 10 shows an example of a conventional control program creation system. FIG. 11 shows a conventional control program creation procedure.
Here, worker A creates a control program for control controller 91 using job 01 of control program creation apparatus A, and worker B creates a control program for control controller 92 using job 02 of control program creation apparatus B. It is shown.
Hereinafter, a procedure until the control program of the control controller 91 and the control program of the control controller 92 are downloaded to each control controller will be described.
[0005]
First, the control block diagram created by the worker A and the control block diagram created by the worker B are respectively copied and the job 03 integrated in the control program creation device 2 is generated.
The combined information of job 01 and job 02 is defined by the integrated job 03. After this operation is completed, the control program creation device 2 creates a controller data file for the control controller.
The controller data file created in this way is downloaded as a control program for each control controller.
[0006]
Here, one of the reasons for integrating the separately created control programs is to create data necessary for the operation monitoring screen in the process monitoring apparatus that performs plant operation monitoring.
It is necessary to display a plurality of data handled by a plurality of control controllers on the operation monitoring screen. This is because, from the viewpoint of work efficiency, when defining the display data, it is common to work without being aware of which control controller data, but the information necessary to create this operation monitoring screen is This is because it is necessary to integrate a plurality of existing control programs.
[0007]
Also, the control program created by each control program creation device is not downloaded directly to the control controller without integrating the control program, for example, when the control program is created with the node address of the control controller duplicated in error. Is overwritten at the time of download, and the error cannot be checked.
That is, another reason for integrating the separately created control programs is to check the node address of the control controller and duplication of tag names when the control programs are integrated.
[0008]
[Problems to be solved by the invention]
As described above, conventionally, when creating a control program, the control program created for each job is once integrated to create a new job, and a controller data file is created for each control controller in the integrated job. The control program was downloaded to the control controller.
For this reason, when the control program of one control controller is changed and corrected, there is a case where data re-generation processing is required for the entire integrated job, and there is a problem that it takes time to change and correct the control program. It was.
[0009]
Further, even when the control programs of a plurality of control controllers are changed and corrected, it is necessary for one worker to perform the upper work in the integrated job. Accordingly, there is a problem in that each worker cannot work in parallel for each job before integration, and work efficiency is poor.
The reason why each worker cannot work in parallel for each job before integration is that once the jobs are integrated and the connection information between jobs is defined, the integrated jobs are integrated again This is because the work to be divided into the previous jobs is heavy and almost impossible.
[0010]
The present invention is for solving such problems, and a control program creation system, device, and system that can create a control program for each control controller without creating an integrated job from a control program created for each job, It is an object to provide a method, a program, and a recording medium.
[0011]
[Means for Solving the Problems]
In order to achieve such an object, a control program creation device according to the present invention is a control system comprising a plurality of control objects and a plurality of control controllers that control these control objects via a network. These control controllers are used to control the controlled object for a certain purpose. A control program creation device for creating a control program , System System definition data management means for exchanging system definition data consisting of information about the target with other control program creation devices via a network; , Product Create inter-job balloon data via the network to define the connection relationship between the control object used in the control program to be created and the control object used in the control program created by another control program creation device Inter-job balloon data management means exchanged with the device Using the system definition data acquired by the system definition data management means and the inter-job balloon data management means acquired by the system-defined-balloon data management means, a control program comprising a control block diagram expressed in a diagram format is created based on the operator's operation Control block diagram creation and editing means to create and edit Is provided.
[0017]
In addition, a controller data creation means is provided, and controller data that is executed in the control controller and controls the control target in binary format. Control block diagram creation and editing means You may make it produce based on the control program produced by.
System data creation means is provided, and system data to be integrated as system integration data used to display an operation monitoring screen for monitoring the control state and operation state of the controlled object, Control block diagram creation and editing means You may make it produce from the control program created by (1).
[0018]
Alternatively, a system data creation means is provided, Control block diagram creation and editing means The system data used for operation monitoring of the control system is created based on the control program created in step 1, the system integrated data creation means is provided, and a plurality of system data created by the individual control program creation devices are integrated to control the system. You may make it produce the system integration data used for displaying the driving | operation monitoring screen which monitors the control state and driving | running state of object.
[0019]
Further, when a plurality of system data is integrated by the system integrated data creation means, the consistency between these system data is inspected, and the inspection result is used to correct the original control program that created these system data. You may make it output as error information.
Control block diagram creation and editing means Conversion means is added, and identification information unique to the control program is added to the name of the control target used in the control program, so that the name of the control target is converted into a new name that does not overlap in the entire control system. May be.
[0020]
A program control method according to the present invention is a control system comprising a plurality of control objects and a plurality of control controllers for controlling these control objects via a network. These control controllers are used in a control program creating apparatus having job processing means for creating a control program for controlling a controlled object for a certain purpose. A control program creation method comprising: By job processing means System definition data consisting of information related to the control target connected to the control system via the network to another control program creation device System definition data management steps to and from , By job processing means Create other control programs via the network for inter-job balloon data to define the connection relationship between the control target used in the control program to be created and the control target used in the control program created by another control program creation device apparatus Inter-job balloon data management step to communicate with , By using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means, a control program consisting of a control block diagram expressed in a diagram format is Control block diagram creation and editing step for creating and editing based on the operation of .
[0021]
At this time, By the controller data creation step of the job processing means, Controller data consisting of a binary format to be executed by the controller and control the controlled object Control block diagram creation and editing steps You may make it produce based on the control program created and edited by.
Also, By the system data creation step of the job processing means, System data that is integrated into the system integration data used to display the operation monitoring screen that monitors the control status and operating status of the control target, Created in the control block diagram creation edit step You may make it produce from a control program.
[0022]
Or Control block diagram creation / editing step by system data creation step of job processing means Create system data to be used for monitoring operation of the control system based on the control program created in By the system integrated data creation step of the job processing means, By integrating a plurality of system data created by individual control program creation devices, system integrated data used to display an operation monitoring screen for monitoring the control state and operation state of the control target may be created. Good.
System integration data creation step When integrating a plurality of system data, the consistency between these system data is inspected, and the inspection result is output as error information used for correcting the original control program that created these system data. Good.
[0023]
Control block diagram creation and editing steps When creating or editing a control program, identification information unique to the control program is added to the name of the control target used in the control program, so that the name of the control target is converted to a new name that does not overlap with the entire control system. You may make it do.
[0024]
The recording medium according to the present invention is a control system including a plurality of control objects and a plurality of control controllers that control the control objects via a network. A computer for a control program creation device comprising a job processing means for creating a control program for controlling a controlled object under a certain purpose using these control controllers, by a job processing means, System definition data consisting of information related to the control target is created via the network to another control program creation device. -Defined data management to and from Steps, By job processing means Control target used in the control program to be created And others To control objects used in control programs created by other control program creation devices Relationship Other control program creation device via the network, balloon data between jobs to define -Ball data management between jobs Steps, By using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means, a control program consisting of a control block diagram expressed in a diagram format is Control block diagram creation and editing step to create and edit based on the operation of This is a program that records the program to be executed.
[0025]
A program according to the present invention is a control system including a plurality of control objects and a plurality of control controllers that control these control objects via a network. A computer for a control program creation device comprising a job processing means for creating a control program for controlling a controlled object under a certain purpose using these control controllers. System definition data consisting of information related to the control target is created via the network to another control program creation device. -Defined data management to and from Steps, By job processing means Control target used in the control program to be created And others To control objects used in control programs created by other control program creation devices Relationship Other control program creation device via the network, balloon data between jobs to define -Ball data management between jobs Steps, By using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means, a control program consisting of a control block diagram expressed in a diagram format is Control block diagram creation and editing step to create and edit based on the operation of It is a program for making it run.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a control program creation system according to an embodiment of the present invention.
This control program creation system includes a control program creation device 10A (hereinafter referred to as processing terminal A) and a control program creation device 10B (hereinafter referred to as processing terminal B) connected to a network 9. Further, control controllers 91 and 92 are connected to the network 9. Here, a control program used by the control controller 91 is created by the processing terminal A, and a control program used by the control controller 92 is created by the processing terminal B. To do.
[0027]
The processing terminals A and B are composed of a computer having a communication function as a whole. The processing terminals A and B read out and execute a storage unit 1 including a storage device such as a memory or a hard disk device, and a program file stored in the storage unit 1. Thus, there are provided job processing means 2 for performing various job processing such as control program creation processing, and communication means 3 for exchanging various information between the control program creation apparatuses and the control controllers 91 and 92 via the network 9. ing.
In addition, a CRT 5A, a touch screen 5B, a keyboard 6, and a mouse 7 are provided as interface means for exchanging various types of information with the worker.
[0028]
The program executed by the job processing unit 2 is read from the recording medium 8 on which the program is recorded, and stored in the storage unit 1 and executed as necessary. Instead of the recording medium 8, the program may be fetched from a device (not shown) connected to the network 9.
In the following description, it is assumed that the operation of the system is monitored by the processing terminal B among the processing terminals A and B, and the operation monitoring screen display means 4 is provided in the processing terminal A as a configuration for that purpose.
[0029]
Next, the storage unit 1 and job processing unit 2 of the processing terminals A and B will be described in detail with reference to FIG. FIG. 2 is a block diagram showing the configuration of the storage unit 1 and the job processing unit 2.
In the storage unit 1 of the processing terminal A, various types of information used for job processing in the job processing unit 2 are stored as files. Here, a control block diagram (sheet) 11, system definition data 12, inter-job balloon data 13, system data 14, controller data 15, and a job processing program 16 are stored.
[0030]
The job processing means 2 of the processing terminal A includes a control block diagram creation / editing means (control program creation / editing means) 21, a system definition data management means 22, an inter-job balloon data management means 23, a system data creation means 24, a controller. Data creation means 25 and tag name replacement means 26 are provided.
[0031]
On the other hand, in addition to the contents stored in the storage means 1 of the processing terminal A, the system integration data 17, the operation screen display program 18, and the operation initialization data 19 are stored in the storage means 1 of the processing terminal B. .
In addition to the means provided in the job processing means 2 of the processing terminal A, the storage means 1 of the processing terminal B is provided with a system integrated data creation means 27.
[0032]
FIG. 3 shows the relationship between various types of information and processing means.
The control block diagram 11 shows a control program executed by the control controllers 91 and 92 in a diagram form. Specifically, it is expressed by a block diagram including control parts indicating control objects (hardware) such as process control devices in the control system and links indicating connection relationships between the control parts.
The control block diagram creation / editing means 21 is a means for creating and editing the control block diagram 11.
[0033]
The system definition data 12 is system definition data commonly used in the control system, and defines information related to a control target connected to the network. Specifically, the node name (for example, the name of the control controller), the node number (for example, the number of the control controller), the node IP address, the module number (for example, the number of the input / output module attached to the control controller), the module It consists of data such as type (for example, type of input / output module mounted on the controller, digital input or analog output).
The system definition data management means 22 is a design data input / output means for creating / editing the system definition data 12 and exchanging with other jobs.
[0034]
The inter-job balloon data 13 defines links between different control block diagrams 11 by using inter-job balloon parts. Specifically, it consists of data such as an inter-job balloon part ID, a descriptor (comment) of the inter-job balloon part, and a name of a control block diagram (sheet) describing the inter-job balloon part.
The inter-job balloon data management means 23 is design data input / output means for creating / editing the inter-job balloon data 13 and exchanging with other job processes as necessary.
[0035]
The system data 14 is data used when monitoring the operation of the entire control system. Specifically, node information including node name, node type, node number, node IP address, etc. given to each node used in the control system, tag name of monitoring point, node number, module number, module type, slot It consists of point information consisting of numbers.
The system data creation means 24 is means for creating system data 14 corresponding to the control block diagram 11.
[0036]
The controller data 15 is a control program created for each of the control controllers 91 and 92 based on the control block diagram 11 created by the processing terminals A and B. More specifically, information about control parts and links expressed in a diagram format is expressed in a binary format so that the control controllers 91 and 92 can execute a control program consisting of the control block diagram 11.
The controller data creating means 25 is means for creating the controller data 15 from the control block diagram 11.
[0037]
The system integrated data creating unit 27 is a unit that creates the system integrated data 17 by integrating the system data 14 created by the system data creating unit 24 of each processing terminal A and B.
The system integrated data creating means 27 and the system integrated data 17 are provided in the processing terminal B that performs system operation monitoring.
[0038]
The operation screen display program 18 is a program executed by the processing terminal B that monitors the operation of the system when the control system is activated. Specifically, the system integration data 17 is read, and information necessary for displaying various data on the CRT 5A by the operation monitoring screen display means 4 is set. In addition, the controller 91, 92 and its internal address are set for the target data for operation monitoring.
The operation initialization data 19 is used when the operation screen execution program 18 is executed, and includes information indicating a location where the system integration data 17 is stored. The operation screen display program 18 and the operation initialization data 19 are provided in the processing terminal B that monitors the operation of the system.
[0039]
Note that the node in the present invention refers to a single device located on the network 9, for example, a controller connected to the network 9, a computer operated by an operator, and an engineering computer such as a control program creation device. Etc. are also included. The node number is a number for identifying each node. However, in general, only the controller is often indicated in a narrow sense.
[0040]
The point refers to a unit of each control (algorithm) executed by the controller, and one controller has several tens to several hundred points. For example, the point 01 is assigned to each unit to be controlled, such as the point for controlling the valve A and the point 02 for controlling the flow meter B. The point is specified by the node number of the controller, the module number indicating the module attached to the controller, and the slot number indicating the slot of the module.
[0041]
The tag name refers to a name for identifying the point, and an arbitrary tag name can be assigned to each point. As this tag name, a unique name is given in one system, and it is used as a key for identifying a point on a program creation device or an operation screen. For example, when the point data of the tag name “AI100” in the controller is obtained, a set of node number, module number and slot number corresponding to the tag name “AI100” is referred from the system data file, and this set indicates The desired data is obtained from the location.
[0042]
A part is an object used to represent the point when a control program is created / edited by a program creation device. For example, an AI part is arranged on the control block diagram, and a tag name, the node number, and the like are set in the AI part. A control data file or the like is generated and output using a plurality of parts set in this way, and data of each part is loaded to each point.
[0043]
Next, the operation of the control program creation system of the present invention will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the control program creation system of the present invention.
Hereinafter, a case where the worker A creates a control program for the control controller 91 at the processing terminal A and the worker B creates a control program for the control controller 92 at the processing terminal B will be described. Further, a case where the processing terminal B creates system integrated data 17 used for operation monitoring of the control system will be described.
Usually, a control program creation processing unit in a control program creation device is called a job. Here, the process by worker A is called job 01, and the process by worker B is called job 02.
[0044]
First, the worker A activates the job processing unit 2 using the operation input unit such as the touch screen 5B, the keyboard 6 or the mouse 7 on the processing terminal A. As a result, the job processing program 16 stored in advance in the storage unit 1 via the recording medium 8 or the network 9 is read and executed, and various job processing can be used.
The worker A uses the system definition data management unit 22 of the job processing unit 2 to acquire the system definition data 12 input in advance at the processing terminal B via the network 9 (step 100). Then, the control block diagram creation / editing means 21 is selected, and creation / editing of the control block diagram 11 is started as a control program of the controller 91 using the operation input means and the display output means such as the CRT 5A (step 101). ).
[0045]
On the other hand, the worker B activates the job processing means 2 at the processing terminal B in the same manner as the worker A, and reads the system definition data 12 of the processing terminal B using the system definition data management means 22 (step) 110). Then, the control block diagram creation / editing means 21 is selected, and creation / editing of the control block diagram 11 is started as a control program of the controller 92 using the operation input means and the display output means such as the CRT 5A (step 111). ).
[0046]
Here, in the processing terminal A, when the inter-balloon data necessary for creating the control program in the job 01 is generated, the worker A uses the inter-job balloon data management means to send the inter-job balloon from another processing terminal B. Data 13 is acquired (step 102).
In this way, the worker A completes the control block diagram 11 as a control program of the control controller 91 by the job 01 using the data acquired from the other processing terminals (step 103).
[0047]
On the other hand, in the processing terminal B, similarly, when the inter-balloon balloon data necessary for creating the control program for the job 02 is generated, the worker B uses the inter-job balloon data management unit 23 to execute a job from another processing terminal A. The space balloon data 13 is acquired (step 112).
In this way, the worker B completes the control block diagram 11 as a control program of the control controller 92 by the job 02 using the data acquired from the other processing terminal (step 113).
[0048]
Next, in order to create the system integration data 17 used for operation monitoring at the processing terminal B, the worker A first creates the system data 14 from the control block diagram 11 using the system data creation means 24 (step 104). ).
On the other hand, the worker B creates system data 14 from the control block diagram 11 using the system data creation means 24 (step 114), and the system data 14 created by the processing terminal A is processed via the network 9 to the processing terminal B. (Step 115). Then, the system integrated data 17 is created by integrating the system data 14 of the processing terminals A and B using the system integrated data creating means 27 (step 116).
[0049]
At this time, the system integrated data creation means 27 checks the consistency of the system data 14 of the processing terminals A and B.
If there is a mismatch between the two, error information is output. The worker A corrects the control block diagram 11 based on the error information by the control block diagram creation / editing means 21 as necessary (step 107).
[0050]
After the correction, the controller data creating means 25 is used to create the controller data 15 that can be executed by the controller 91 from the control block diagram 11 (step 108).
Then, the controller data 15 is downloaded from the processing terminal A to the controller 91 via the network 9 (step 109). As a result, the newly created control program is set in the control controller 91 and can be executed.
[0051]
On the other hand, the worker B corrects the control block diagram 11 based on the error information from the system integrated data creation unit 27 by the control block diagram creation / editing unit 21 as necessary (step 117).
After the correction, the controller data creating means 25 is used to create the controller data 15 that can be executed by the controller 92 from the control block diagram 11 (step 118).
Then, the controller data 15 is downloaded from the processing terminal A to the control controller 92 via the network 9 (step 119). As a result, the newly created control program is set in the control controller 92 and can be executed.
[0052]
In this way, the job processing means 2 of the control program creation devices 10A and 10B connected via the network 9 is provided with design data input / output means such as the system definition data management means 22 and the inter-job balloon data management means 23, Since design data such as system definition data 12 and inter-job balloon data 13 necessary for control program creation / editing is exchanged with other control program creation devices via the network 9 by design data input / output means. The control program for the control controllers 91 and 92, that is, the controller data can be individually created by each of the control program creation devices 10A and 10B without creating an integrated job based on the control program created for each job.
[0053]
Therefore, when the control program of each control controller is changed and corrected, it is not necessary to perform data regeneration processing for the entire integrated job as in the conventional case, and the control program change and correction work can be greatly reduced.
Furthermore, even when the control programs of a plurality of control controllers are changed and corrected, a plurality of workers can separately work in parallel and work efficiency can be greatly improved.
[0054]
Further, the system integrated data creation means 27 corrects the control program for each job 01 and 02 based on the result of the consistency check of the system data performed when creating the system integrated data 17 used for operation monitoring of the control system. Since it did in this way, the consistency between the control programs produced by each control program production apparatus 10A, 10B can be obtained.
At this time, the creation of the system integrated data 17 for operation monitoring is a process necessary for the construction of the control system, and the result of such an essential process is used, so that a new process is not added. Thus, it is possible to efficiently obtain the consistency of the individual control programs created individually by the control program creation devices 10A and 10B.
[0055]
Also, the control block diagram creation / editing means 21 is provided with a tag name conversion function (exchange means) and used in the control block diagram 11 created in each job 01, 02 until the system data is created in steps 104, 114. The tag name of each part may be converted using the job number, so that duplication of tag names between different jobs can be avoided.
FIG. 5 shows tag name conversion processing. For example, when parts named “AI001”, “PID001”, and “AO001” are used in each control block diagram 11 of jobs 01 and 02, the system data created from these control block diagrams 11 is integrated as it is. If this happens, an error will occur due to duplicate tag names.
[0056]
On the other hand, in the tag name conversion function of the control block diagram creation / editing means 21, the job number is added to each tag name of the part used in each control block diagram 11. Thus, for example, “J01” is added to the tag name of the part of job 01 from the last digit to the fourth digit, and converted into “AIJ010001”, “PIDJ010001”, and “AOJ010001”. For example, “J02” is added to the tag name of the part of the job 02 from the last digit to the fourth digit, and is converted to “AIJ02001”, “PIDJ02001”, and “AOJ02001”.
Thereby, when integrating the system data created from the control block diagram 11 after the tag name conversion, it is possible to avoid the occurrence of an error due to tag name duplication.
[0057]
Next, the system definition data management unit 22 will be described with reference to FIG. FIG. 6 is an explanatory diagram showing the operation of the system definition data management means 22.
When creating a control program, information about the control target connected to the network of the control system is distributed as system definition data 12 by a control system design document.
Here, the system definition data 12 is input in advance as a job 02 by the worker B using the system definition data management means 22 at the processing terminal B (step 120).
[0058]
Then, the input system definition data 12 is exported to the storage means 1 as the system definition data file 12A using the system definition data management means 22 (step 121).
On the other hand, the worker A imports the system definition data file 12A from the processing terminal B via the network 9 using the system definition data management means 22 of the processing terminal A (step 122), and the system definition data 12 of the job 01 is imported. Is stored in the storage means 1 and used for creating and editing the control block diagram 11 (step 123).
[0059]
Conventionally, such system definition data has to be input individually by each worker at the processing terminal, and the input work burden increases dramatically as the system scale increases. It was. In addition, the contents of the system definition data differ from other processing terminals due to an input error, and inconsistencies may occur in the created control program.
In the present invention, by providing the system definition data management means 22 and exchanging system definition data between processing terminals, only one input work is required, and the work load can be greatly reduced. Further, inconsistencies in system definition data can be avoided, and no contradiction occurs in the control program due to this.
[0060]
In the above description, the case where the system definition data 12 related to all control targets is exchanged between jobs at the start of creation of the control block diagram 11 has been described as an example, but the present invention is not limited to this.
For example, the system definition data 12 may need to be corrected or added while the control block diagram 11 is being created / edited. In such a case, the system definition data management means 22 may be used to exchange the system definition data 12 related to specific hardware between jobs, reducing the work of inputting system definition data, Inconsistencies in system definition data can be avoided.
[0061]
Next, the inter-job balloon data management unit 23 will be described with reference to FIG. FIG. 7 is an explanatory diagram showing the operation of the inter-job balloon data management means 23.
When individually creating a control program at a plurality of processing terminals, it is necessary to define a link between management points that exceed the job.
For example, as shown in FIG. 7, the connection destination PR01. OP and the connection destination RD01. When connecting to the CI, this link is defined by using the inter-job balloon data management means 23 in the jobs 01 and 02 of the processing terminals A and B.
[0062]
Then, the worker A outputs the defined inter-job balloon data to the storage unit 1 as the inter-job balloon data file 13A using the inter-job balloon data management unit 23 of the processing terminal A (step 130).
On the other hand, the worker B reads the inter-job balloon data file 13A from the processing terminal A via the network 9 using the inter-job balloon data management means 23 of the processing terminal B (step 131). The balloon data 13 is used for creating and editing the control block diagram 11.
In the same manner as described above, the processing terminal B outputs the defined inter-job balloon data as the inter-job balloon data file 13B (step 132) and reads it into the processing terminal A (step 133). Used to create and edit
[0063]
Conventionally, such a connection definition is distributed by a control system design document in the same manner as the system definition data 12, or is input by each worker as needed based on communication between workers. It was. Therefore, the input work burden increases dramatically as the system scale increases, and connection definitions differ between other processing terminals due to input errors, which may cause inconsistencies in the created control program. It was.
In the present invention, by providing the inter-job balloon data management means 23 and exchanging the inter-job balloon data 13 between the processing terminals, only one input operation is required, and the work load can be greatly reduced. In addition, it is possible to avoid definition inconsistencies, and no contradiction arises in the control program due to this.
[0064]
Next, the system data creation means 24 and the system integrated data creation means 27 will be described with reference to FIG. FIG. 8 is an explanatory diagram showing the operation of the system data creation means 24 and the system integrated data creation means 27.
A control system usually requires system integration data that is used to monitor the operating state of the system.
The system data creation means 24 creates system data 14 corresponding to the job from the control block diagram 11 individually created by a plurality of processing terminals. The system integration data creation means 27 creates a system integration from these system data 14. Data 17 is created.
[0065]
Specifically, as shown in FIG. 8, the worker A creates system data 14A using the system data creation means 24 from the control block diagram 11 created as the job 01 at the processing terminal A (step 140). Then, the data is transferred to the processing terminal B having the system integrated data creation means 27 via the network 9.
Similarly, the worker B creates the system data 14B by using the system data creation means 24 from the control block diagram 11 created as the job 02 at the processing terminal B (step 141).
[0066]
Then, the system integrated data creating means 27 of the processing terminal B integrates the system data 14A into the system integrated data 17 (step 142) and integrates the system data 14B into the system integrated data 17 (step 143).
As a result, system integrated data 17 including the contents of the control block diagram 11 of job 01 and job 02 is created.
[0067]
Thereafter, when the operation monitoring is started at the processing terminal B (on-line startup), the operation monitoring screen display unit 4 executes the operation screen display program 18 of the storage unit 1, thereby storing the system integrated data 17. The stored operation initialization data 19 is read out.
Then, according to the information stored in the system integration data 17, the node address of the control controller corresponding to the tag name, the address in the slot of the control controller, etc. are specified. Thereby, the location where the data corresponding to the tag name is stored is specified.
The operation monitoring screen display means 4 acquires data from the specified location based on a tag name in which data to be displayed for each screen is defined in advance, and displays the data on the CRT 5A.
[0068]
Conventionally, when creating system integrated data, like controller data, a plurality of jobs are integrated into one job, and then system integrated data is created from the integrated jobs. Therefore, since it is necessary to create a large-scale job by integrating jobs with a relatively large amount of data including various data and create system-integrated data from the integrated job, the creation process takes time. There was a problem that work efficiency was bad.
According to the present embodiment, system information is integrated by integrating system data including node information and point information necessary for operation monitoring without including information (eg, link information) used only for control program design such as connection information. Since data is created, the time required for creation can be shortened and work efficiency can be improved.
[0069]
Further, when integrating the system data 14, the system integrated data creating means 27 checks the consistency between the system data 14 and outputs the result as error information 17A (step 145).
Normally, this type of error information is displayed on the screen from the CRT 5A or stored in the storage means 1 as an error log file.
Therefore, in the processing terminal B having the system integrated data creation means 27, the operator B can correct the control block diagram 11 using the control block diagram creation / editing means 21 based on the error information displayed on the CRT 5A. In the processing terminal A, the operator A refers to the error log file of the processing terminal B via the network 9 or refers to the print output, and the operator A uses the control block diagram creation / editing means 21 to control block diagram 11. Can be corrected.
[0070]
Next, the controller data creation means 25 will be described with reference to FIG. FIG. 9 is an explanatory diagram showing the operation of the controller data creation means 25.
The controller data creating means 25 creates controller data 15 expressed in binary format so that the control controllers 91 and 92 can execute the control program shown in FIG.
At this time, the operator uses the controller data creation means 25 of each processing terminal A and B to create corresponding controller data 15 separately from the control block diagram 11 of jobs 01 and 02, respectively. It is output as 15B (steps 150 and 151).
[0071]
Then, the controller data files 15A and 15B are downloaded from the processing terminals A and B to the corresponding controller 91 and 92 via the network 9 (steps 152 and 153).
As a result, the newly created control program is set in the control controller 92 and can be executed.
[0072]
In the above, the case where the operation (multi-engineering) of creating and editing a control program in parallel with a plurality of jobs using two processing terminals A and B has been described as an example, but the present invention is not limited to this. The present invention can also be applied to the case where three or more processing terminals are used, and the same effect as described above can be obtained.
Further, the case where the system integrated data creating unit 27 is provided in the processing terminal B has been described as an example. However, the system integrated data creating unit 27 is provided in a processing terminal different from the processing terminals A and B that execute the job, and the system integrated data is created. You may make it create.
[0073]
【The invention's effect】
As described above, the present invention creates and edits a control program used in the control controller by the control program creation / editing means of the control program creation device, and is necessary for creating and editing the control program by the design data input / output means. Design data is exchanged with other control program creation devices via a network. Specifically, the system definition data management means sends system definition data consisting of information on the control target via the network. Control objects used in the control program created by the control program creation / editing means and the control program created by the other control program creating apparatus by exchanging with other control program creating apparatuses and by the inter-job balloon data management means To define the connection relationship with the controlled object used in The inter-job balloon data, communicated via a network with other control program creating device The control block diagram creation / editing unit uses the system definition data acquired by the system definition data management unit and the inter-job balloon data acquired by the inter-job balloon data management unit to control the control block diagram expressed in a diagram format. Create and edit programs based on operator operations Since it did in this way, the control program of the said control controller can be produced individually by each control program production apparatus, without producing the job integrated from the control program produced for every job.
Therefore, when the control program of each control controller is changed and corrected, it is not necessary to perform data regeneration processing for the entire integrated job as in the conventional case, and the control program change and correction work can be greatly reduced. Furthermore, even when the control programs of a plurality of control controllers are changed and corrected, a plurality of workers can separately work in parallel and work efficiency can be greatly improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a control program creation device according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating configurations of a storage unit and a job processing unit.
FIG. 3 is an explanatory diagram showing a relationship between various types of information and processing means.
FIG. 4 is a flowchart showing the operation of the control program creation system.
FIG. 5 is an explanatory diagram showing tag name conversion processing;
FIG. 6 is an explanatory diagram showing the operation of the system definition data management means.
FIG. 7 is an explanatory diagram showing the operation of the inter-balloon data management unit.
FIG. 8 is an explanatory diagram showing operations of system data creation means and system integrated data creation means.
FIG. 9 is an explanatory diagram showing the operation of the controller data creation means.
FIG. 10 is a configuration example of a conventional control program creation system.
FIG. 11 is a flowchart showing a conventional control program creation procedure.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10A ... Control program creation apparatus (processing terminal A), 10B ... Control program creation apparatus (processing terminal B), 1 ... Memory | storage means, 2 ... Job processing means, 3 ... Communication means, 4 ... Operation monitoring screen display means, 5A ... CRT, 5B ... touch screen, 6 ... keyboard, 7 ... mouse, 8 recording medium, 9 ... network, 91, 92 ... control controller, 11 ... control block diagram (sheet), 12 ... system definition data, 12A ... system definition data File, 13 ... Balloon data between jobs, 13A, 13B ... Balloon data file between jobs, 14 ... System data, 14A, 14B ... System data file, 15 ... Controller data, 15A, 15B ... Controller data file, 16 ... Job processing program 17 ... System integrated data, 17A ... Error information, 18 Operation screen display program, 19 ... Operation initialization data, 21 ... Control block diagram creation / editing means, 22 ... System definition data management means, 23 ... Inter-balloon balloon data management means, 24 ... System data creation means, 25 ... Controller data Creating means, 26... Tag name replacing means, 27... System integrated data creating means.

Claims (14)

複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて前記制御対象を一定の目的の下で制御するための制御プログラムを作成する制御プログラム作成装置であって、
記制御対象に関する情報からなるシステム定義データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするシステム定義データ管理手段と、
作成する前記制御プログラムで用いる制御対象と前記他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理手段と、
前記システム定義データ管理手段で取得したシステム定義データおよび前記ジョブ間風船データ管理手段で取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集手段と
を備えることを特徴とする制御プログラム作成装置。
In a control system comprising a plurality of control objects and a plurality of control controllers for controlling these control objects via a network, a control program for controlling the control objects for a certain purpose is created using these control controllers A control program creation device,
The system-defined data consisting of information on the previous SL control object, and a system-defined data management means for exchanging between said other control program creation device via the network,
Job between balloon data for defining a connection relationship between the control object used by the control program created by the control object used by the control program to be created before Symbol another control program creating device, the other through the network Inter-job balloon data management means for exchanging with the control program creation device of
Using the system definition data acquired by the system definition data management means and the inter-job balloon data management means acquired by the inter-job balloon data management means, a control program consisting of a control block diagram expressed in a diagram format can be used for an operator's operation. A control program creating apparatus comprising control block diagram creating / editing means for creating / editing based on the control block diagram .
請求項1記載の制御プログラム作成装置において、
前記制御コントローラで実行して前記制御対象を制御するためのバイナリ形式からなるコントローラデータを、前記制御ブロック図作成編集手段で作成した前記制御プログラムに基づき作成するコントローラデータ作成手段をさらに備えることを特徴とする制御プログラム作成装置
The control program creation device according to claim 1,
Further comprising a controller data creation means controller data consisting of binary format, created on the basis of the control program created by the control block diagram creation and editing means for controlling the running the control target by the controller Control program creation device .
請求項1記載の制御プログラム作成システムにおいて、
前記制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データとして統合されるシステムデータを、前記制御ブロック図作成編集手段で作成した前記制御プログラムから作成するシステムデータ作成手段をさらに備えることを特徴とする制御プログラム作成装置。
The control program creation system according to claim 1,
System data created from the control program created by the control block diagram creating / editing means , which is integrated as system integrated data used to display an operation monitoring screen for monitoring the control state and the operation state of the control target A control program creation device further comprising creation means.
請求項1記載の制御プログラム作成装置において、
前記制御ブロック図作成編集手段で作成した前記制御プログラムに基づき前記制御システムの運転監視に用いるシステムデータを作成するシステムデータ作成手段と、
個々の制御プログラム作成装置で作成された複数のシステムデータを統合することにより、前記制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データを作成するシステム統合データ作成手段と
さらに備えることを特徴とする制御プログラム作成装置。
The control program creation device according to claim 1,
System data creation means for creating system data used for operation monitoring of the control system based on the control program created by the control block diagram creation editing means ;
System integration data for creating system integration data used to display an operation monitoring screen for monitoring the control state and operation state of the control target by integrating a plurality of system data created by individual control program creation devices A control program creation device further comprising: creation means.
請求項4記載の制御プログラム作成装置において、
前記システム統合データ作成手段は、複数のシステムデータを統合する際、これらシステムデータ相互間の整合性を検査し、その検査結果をこれらシステムデータを作成した元の制御プログラムを修正するのに用いるエラー情報として出力することを特徴とする制御プログラム作成装置。
The control program creation device according to claim 4,
The system integrated data creation means, when integrating a plurality of system data, checks the consistency between these system data, and uses the check result to correct the original control program that created these system data. A control program creation device characterized in that it is output as information.
請求項1記載の制御プログラム作成システムにおいて、
前記制御ブロック図作成編集手段は、当該制御プログラムに固有の識別情報をその制御プログラムで用いる制御対象の名前に付加することにより、これら制御対象の名前を制御システム全体で重複しない新たな名前へ変換する変換手段を有することを特徴とする制御プログラム作成装置。
The control program creation system according to claim 1,
The control block diagram creation / editing means adds identification information unique to the control program to the name of the control target used in the control program, thereby converting these control target names into new names that are not duplicated in the entire control system. A control program creation device comprising conversion means for performing
複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて前記制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置で用いられる制御プログラム作成方法であって、
前記ジョブ処理手段により、前記制御対象に関する情報からなるシステム定義データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップと
前記ジョブ処理手段により、作成する制御プログラムで用いる制御対象と前記他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップと、
前記ジョブ処理手段により、前記システム定義データ管理ステップで取得したシステム定義データおよび前記ジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップと
を備えることを特徴とする制御プログラム作成方法。
In a control system comprising a plurality of control objects and a plurality of control controllers for controlling these control objects via a network, a control program for controlling the control objects for a certain purpose is created using these control controllers A control program creation method used in a control program creation device having job processing means ,
A system definition data management step for exchanging system definition data including information on the control target with the other control program creation device via the network by the job processing unit;
Inter-job balloon data for defining a connection relationship between a control object used in a control program to be created by the job processing means and a control object used in a control program created by the other control program creation device is stored in the network. Inter- job balloon data management step exchanged with the other control program creation device via,
A control program comprising a control block diagram expressed in a diagram format using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means. Control block diagram creation and editing step to create and edit based on the operator's operation
Control program creation method characterized by comprising a.
請求項7記載の制御プログラム作成方法において、
前記ジョブ処理手段により、前記制御コントローラで実行して前記制御対象を制御するためのバイナリ形式からなるコントローラデータを、前記制御ブロック図作成編集ステップで作成編集した前記制御プログラムに基づき作成するコントローラデータ作成ステップをさらに備えることを特徴とする制御プログラム作成方法。
The control program creation method according to claim 7,
By the job processing unit, a controller data consisting of binary format for controlling the controlled object running on the controller, the controller data creation to create on the basis of the control program created and edited in the control block diagram creation and editing steps A control program creation method further comprising a step .
請求項7記載の制御プログラム作成方法において、
前記ジョブ処理手段により、前記制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データへ統合されるシステムデータを、前記制御ブロック図作成編集ステップで作成した前記制御プログラムから作成するシステムデータ作成ステップをさらに備えることを特徴とする制御プログラム作成方法。
The control program creation method according to claim 7,
The control created by the control block diagram creation / editing step by the job processing means, the system data integrated into the system integration data used to display the operation monitoring screen for monitoring the control state and the operation state of the control target A control program creation method , further comprising a system data creation step created from a program.
請求項7記載の制御プログラム作成方法において、
前記ジョブ処理手段により、前記制御ブロック図作成編集ステップで作成した前記制御プログラムに基づき前記制御システムの運転監視に用いるシステムデータを作成するシステムデータ作成ステップと
前記ジョブ処理手段により、個々の制御プログラム作成装置で作成された複数のシステムデータを統合することにより、前記制御対象の制御状態や運転状態を監視する運転監視画面を表示するのに用いるシステム統合データを作成するシステム統合データ作成ステップと
をさらに備えること特徴とする制御プログラム作成方法。
The control program creation method according to claim 7,
A system data creating step for creating system data used for operation monitoring of the control system based on the control program created in the control block diagram creating and editing step by the job processing means ;
System integration data used to display an operation monitoring screen for monitoring the control state and operation state of the control target by integrating a plurality of system data created by individual control program creation devices by the job processing means. Create system integration data creation step and
A control program creation method characterized by further comprising :
請求項10記載の制御プログラム作成方法において、
前記システム統合データ作成ステップは、複数のシステムデータを統合する際、これらシステムデータ相互間の整合性を検査し、その検査結果をこれらシステムデータを作成した元の制御プログラムを修正するのに用いるエラー情報として出力することを特徴とする制御プログラム作成方法。
The control program creation method according to claim 10 ,
In the system integration data creation step, when integrating a plurality of system data, the consistency between the system data is checked, and the check result is used to correct the original control program that created the system data. A control program creation method characterized by outputting as information.
請求項7記載の制御プログラム作成方法において、
前記制御ブロック図作成編集ステップは、前記制御プログラムを作成・編集する際、当該制御プログラムに固有の識別情報をその制御プログラムで用いる制御対象の名前に付加することにより、これら制御対象の名前を制御システム全体で重複しない新たな名前へ変換することを特徴とする制御プログラム作成方法。
The control program creation method according to claim 7,
In the control block diagram creation / editing step, when creating or editing the control program, identification information unique to the control program is added to the name of the control subject used in the control program, thereby controlling the names of the control subjects. A method of creating a control program, characterized by converting to a new name that does not overlap in the entire system.
複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて前記制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置のコンピュータに、
前記ジョブ処理手段により、前記制御対象に関する情報からなるシステム定義データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップと、
前記ジョブ処理手段により、作成する制御プログラムで用いる制御対象と前記他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップと、
前記ジョブ処理手段により、前記システム定義データ管理ステップで取得したシステム 定義データおよび前記ジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップと
を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
In a control system comprising a plurality of control objects and a plurality of control controllers for controlling these control objects via a network, a control program for controlling the control objects for a certain purpose is created using these control controllers In the computer of the control program creation device provided with job processing means,
A system definition data management step for exchanging system definition data including information on the control target with the other control program creation device via the network by the job processing unit ;
By the job processing unit, the job between balloon data for defining a connection relationship between the control object used by the control program created by the control object used by the control program to be created before Symbol another control program creating device, the network Inter-job balloon data management step for exchanging with the other control program creation device via
A control program comprising a control block diagram expressed in a diagram format using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means . Control block diagram creation and editing step to create and edit based on the operator's operation
A computer-readable recording medium storing a program for executing the.
複数の制御対象とこれら制御対象をネットワークを介して制御する複数の制御コントローラからなる制御システムで、これら制御コントローラを用いて前記制御対象を一定の目的の下で制御するための制御プログラムを作成するジョブ処理手段を備える制御プログラム作成装置のコンピュータに、
前記ジョブ処理手段により、前記制御対象に関する情報からなるシステム定義データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするシステム定義データ管理ステップと、
前記ジョブ処理手段により、作成する制御プログラムで用いる制御対象と前記他の制御プログラム作成装置で作成される制御プログラムで用いる制御対象との接続関係を定義するためのジョブ間風船データを、前記ネットワークを介して前記他の制御プログラム作成装置との間でやり取りするジョブ間風船データ管理ステップと、
前記ジョブ処理手段により、前記システム定義データ管理ステップで取得したシステム定義データおよび前記ジョブ間風船データ管理ステップで取得したジョブ間風船データを用いて、図形式で表現した制御ブロック図からなる制御プログラムを、作業者の操作に基づき作成編集する制御ブロック図作成編集ステップと
を実行させるためのプログラム。
In a control system comprising a plurality of control objects and a plurality of control controllers for controlling these control objects via a network, a control program for controlling the control objects for a certain purpose is created using these control controllers In the computer of the control program creation device provided with job processing means,
A system definition data management step for exchanging system definition data including information on the control target with the other control program creation device via the network by the job processing unit ;
By the job processing unit, the job between balloon data for defining a connection relationship between the control object used by the control program created by the control object used by the control program to be created before Symbol another control program creating device, the network Inter-job balloon data management step for exchanging with the other control program creation device via
A control program comprising a control block diagram expressed in a diagram format using the system definition data acquired in the system definition data management step and the inter-job balloon data acquired in the inter-job balloon data management step by the job processing means. Control block diagram creation and editing step to create and edit based on the operator's operation
A program to be run.
JP2001187918A 2001-06-21 2001-06-21 Control program creation system, apparatus, method, recording medium, and program Expired - Lifetime JP3999477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001187918A JP3999477B2 (en) 2001-06-21 2001-06-21 Control program creation system, apparatus, method, recording medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001187918A JP3999477B2 (en) 2001-06-21 2001-06-21 Control program creation system, apparatus, method, recording medium, and program

Publications (2)

Publication Number Publication Date
JP2003005964A JP2003005964A (en) 2003-01-10
JP3999477B2 true JP3999477B2 (en) 2007-10-31

Family

ID=19027132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001187918A Expired - Lifetime JP3999477B2 (en) 2001-06-21 2001-06-21 Control program creation system, apparatus, method, recording medium, and program

Country Status (1)

Country Link
JP (1) JP3999477B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5020856B2 (en) * 2008-02-19 2012-09-05 東芝機械株式会社 Programmable logic controller
JP2011013941A (en) * 2009-07-02 2011-01-20 Yamatake Corp Device and method for creating control program
KR102021327B1 (en) * 2016-12-22 2019-09-16 미쓰비시덴키 가부시키가이샤 Program Development Supporting Device and Program Parts Management Method

Also Published As

Publication number Publication date
JP2003005964A (en) 2003-01-10

Similar Documents

Publication Publication Date Title
JP4525681B2 (en) Program generating device for programmable controller, program generating method for programmable controller, and recording medium recording program of the method
JP2002268707A (en) Controller and tool, and system constituted of the same
JPH0973307A (en) Generating device and controller for order sequence program
CN108427383B (en) Engineering device, engineering method, and storage medium
JP2017142767A (en) Controller system and variable coordination support device
JP6442131B2 (en) Control system and control device
JP3999477B2 (en) Control program creation system, apparatus, method, recording medium, and program
JP2002268730A (en) Maintenance system for field device
JP4102137B2 (en) Control program creation support system and support method thereof
JP2012141722A (en) Setting device
JP4546020B2 (en) Environment definition information management system and method in large-scale distributed computing system
JPH08179896A (en) Logging data analysis system
US20220244695A1 (en) Support device, non-transitory computer-readable recording medium recording support program, and setting method
JP5205988B2 (en) PLC global variable definition method
JP6558250B2 (en) Design support device
JPH08314702A (en) Visual programming system and graphic program editing method
US20220398355A1 (en) Design support device and storage medium
JP2006127069A (en) Plant monitoring control system
JP2000305765A (en) Construction device for process control system
JP7224277B2 (en) Engineering support equipment
WO2018179206A1 (en) System design assistance device and system design assistance method
JP6907760B2 (en) Check device, check program and program check method
CN112764396B (en) Configuration method and device
CN117415813A (en) Robot joint control method, device, system and computer equipment
JPH06332150A (en) Automatic processing system for mask data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070712

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: 20070807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070809

R150 Certificate of patent or registration of utility model

Ref document number: 3999477

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130817

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130817

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140817

Year of fee payment: 7

EXPY Cancellation because of completion of term