JP4001458B2 - Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method - Google Patents

Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method Download PDF

Info

Publication number
JP4001458B2
JP4001458B2 JP2000363720A JP2000363720A JP4001458B2 JP 4001458 B2 JP4001458 B2 JP 4001458B2 JP 2000363720 A JP2000363720 A JP 2000363720A JP 2000363720 A JP2000363720 A JP 2000363720A JP 4001458 B2 JP4001458 B2 JP 4001458B2
Authority
JP
Japan
Prior art keywords
name
tag
assignment table
terminal
terminal name
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
JP2000363720A
Other languages
Japanese (ja)
Other versions
JP2002163010A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000363720A priority Critical patent/JP4001458B2/en
Publication of JP2002163010A publication Critical patent/JP2002163010A/en
Application granted granted Critical
Publication of JP4001458B2 publication Critical patent/JP4001458B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Programmable Controllers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、工場等に配置された機器を制御する複数の制御プログラム間において、制御対象となる機器を特定するためのタグ情報を共有化するタグ名共有化装置、タグ名共有化方法およびその方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものである。
【0002】
【従来の技術】
自動車や電化製品など、ものを生産する工場などではファクトリーオートメーション化により、さまざまな機械が導入されている。図10は、工場内に配置される機械設備の例を示すブロック図である。図10に示すように、工場内では、ものの形を変えるための加工機1001、ものを組み立てるためのロボット1002、ものを動かすための搬送機1003、ものをためておくための自動倉庫1004などの機械が配置されている。これらの機械は、一般に、プログラマブルコントローラ(以下、PCと称する。)1005によって制御される。特に、このPC1005は、ネットワーク1006により接続されることで、他の機械と統合的に制御されることもある。
【0003】
PC1005による機械の制御は、ラダープログラムなどの制御プログラムによって定義される。図11は、ラダープログラムの例を示す図である。図11において、X0000、Y0030はそれぞれPCが備えている端子の番号を表す。特に図11に示すラダープログラムは、X0000がONになると、Y0030をONにするという記述である。
【0004】
図12は、PCと制御対象となる機械の例を示す図である。図12に示すように、PC1005は、ランプ、警報装置、センサ、スイッチなどの機器に接続するためのいくつかの端子1102を備えている。特に図12においては、端子番号X0000にスイッチ1103を接続し、端子番号Y0030にランプ1104を接続した状態を示している。よって、このPC1005で、図11に示したラダープログラムを実行させると、スイッチ1103がONになったとき、ランプ1104が点灯する。
【0005】
このラダープログラムのような制御プログラムは、一般に、コンピュータ上で提供される制御プログラム作成アプリケーションによって作成される。また、機械の状態監視をおこなう監視プログラムもコンピュータ上で提供される監視プログラム作成アプリケーションによって作成される。さらに、監視プログラム作成アプリケーションで作成された監視プログラム(以下、監視アプリケーションと称する。)や機械の動作を予想するシミュレーションアプリケーションなどもコンピュータ上で実行される。
【0006】
図13は、上記した各種アプリケーションの適用例を説明するための説明図である。図13に示すように、コンピュータ上で実行される制御プログラム作成アプリケーション1201、監視アプリケーション1202、シミュレーションアプリケーション1203などが動作するコンピュータは、工場内のネットワーク1006と接続されることで、PCや加工機などの機械へ制御プログラムを送信したり、機械の状態を確認することができる。
【0007】
以下に、監視アプリケーションについて説明する。図14は、監視アプリケーションの例を説明するための説明図である。特に、監視アプリケーションは、あらかじめ作成された割付表に基づいて監視動作をおこなう。この監視動作は、各機械の状態を表した絵の部品が、コンピュータの画面上に表示されることで実現される。図14(a)では、その絵の部品の例として、ランプ301、メータ302、グラフ303が示されている。なお、ここではこの絵の部品をオブジェクトと呼ぶ。
【0008】
よって、上記各オブジェクトに、実際の機械やPCの端子を割付ける必要があり、その割り付けを表したのが上記割付表である。割付表は、たとえば、図14(b)は、この割付表の例を示しており、たとえば、ランプ301はオブジェクトランプ1として端子Y0030が割り付けられている。この割付表によって、監視アプリケーションは、たとえば端子Y0030にON状態の信号が入力された際に、ランプ301の絵の色を変えるなどして、操作者に機械の状態を直感的に伝えることができる。
【0009】
この監視アプリケーションのように、各種アプリケーションは、上記したX0000、Y0030のような英数字をPCや機械の端子名として用いているが、この表現は操作者にはわかりにくく、設定間違いなどのミス発生の原因となる。そこで、一般に、端子に、操作者がわかりやすい名前、たとえば「始動ボタン押下」「動作中ランプ点灯」をつけて、アプリケーション上での操作を容易にしている。この名前は、タグ名と呼ばれている。
【0010】
図15は、タグ名を説明するための説明図である。図15に示すように、タグ名は、接続されたセンサなどの機器の名称と、動作を表す作用名との組み合わせによって構成される。特に、作用名は、ひとつの機器名に対して、「瀬切」、「戻る」など複数有する。たとえば、図15において、タグ名「0.8メタル瀬切1瀬切」は、名称「0.8メタル瀬切1」で特定される機器を、作用「瀬切」の状態にすること、または名称「0.8メタル瀬切1」の機器が「瀬切」の状態であることを表す。
【0011】
よって、このタグ名を利用するには、タグ名と端子名の対応付けをした端子名割付表を作成する必要がある。一般に、この端子名割付表は、同じ工場において動作する複数のアプリケーションのそれぞれが個々に作成・保有している。ところが、タグ名を、各アプリケーションが個々に作成してしまっては、アプリケーション間において同一の機器を制御または監視対象として指定しているにもかかわらず、それを識別する名称が異なってしまうという事態を生じる。これは、複数のアプリケーションを開発やデバッグするにおいて混乱を生ずる原因となる。なお、タグ名と端子名の対応付けをおこなった組み合せをタグという。
【0012】
そこで、一般に、同一の工場内において、複数の異なるアプリケーションが動作する場合、アプリケーション間でタグ名を統一するため、アプリケーションを実現するプログラムの作成時または初期設定時において、他のアプリケーションですでにタグ名が作成されている場合には、そのタグ名を取得して流用するタグ名共有化方法が採用されている。
【0013】
以下に、従来のタグ名共有化方法について説明する。図16は、従来のタグ名共有化方法を説明するためのソフトウェアブロック図である。図16において、101はCRTなどの表示装置、102はキーボード、マウスなどの入力装置、104はベルトコンベア、接触スイッチなどの機械、103および106は機械を監視・制御などをおこなうアプリケーションAおよびB、105は複数のアプリケーション間におけるタグ名共有のためのタグ名統合化アプリケーションを示す。なお、ここで、アプリケーション103および106は、監視アプリケーションであるとし、後述するプロジェクト情報やタグ名等を設定する初期設定機能を有しているとする。
【0014】
アプリケーション103は、図16に示すように、プロジェクト情報定義手段111、タグ名割付手段112、プロジェクト情報管理手段113、タグ管理手段115、端子名割付手段116およびタグ名変換手段117によって、上記した初期設定機能を実現する。
【0015】
ここで、プロジェクト情報定義手段111は、一つの工場内において監視対象または制御対象となる機械104をグラフィカルにあらわした絵の部品を表示装置101上の適当な画面に配置する手段である。また、タグ名割付手段112は、プロジェクト情報定義手段111で定義された絵の部品に結び付けられた機械の情報に、人がわかるように名づけられたタグ名を割り付ける手段であり、プロジェクト情報管理手段113は、プロジェクト情報定義手段111で定義されたプロジェクト情報とタグ名割付手段112で割り付けられたタグ名とを管理する手段である。
【0016】
また、タグ管理手段115は、タグ名と端子名とを端子名割付表として管理する手段であり、端子名割付手段116は、タグ名に実際の機械の位置を設定する手段であり、タグ名変換手段117は、タグ名から端子名を検索する手段である。さらに、アプリケーション103は、監視動作をおこなうために、実際の機械を上記したプロジェクト情報に従って機械情報を取得する通信手段118を備えている。
【0017】
また、アプリケーション106も、上記アプリケーション103と同構成であるが、図16においては説明を簡単にするため、タグ管理手段115のみを示している。
【0018】
一方、タグ名統合化アプリケーション105は、アプリケーションのタグ管理手段115によって管理されている端子名割付表を読み出す端子名割付表読出手段121と、アプリケーション毎に定義された様々なタグ名から同一のものを結び付けるための同一タグ名検索手段1801と、タグ管理手段115に格納された端子名割付表のうち、端子名が割り付けられていないタグ名に他のアプリケーションで割り付けられた端子名を割り付ける端子名割付表書込手段126と、によってタグ名の統合化を実現する。
【0019】
ここで、上記アプリケーション103および106と、タグ名統合化アプリケーション105とは、上記各手段による処理をコンピュータプログラムによって実現するものであり、例えば、それら各手段は、対応する処理を記述したサブルーチンによって実現される。
【0020】
実際には、操作者は、図16に示したようなアプリケーションが実行された環境において、CRTなどの表示装置101を見ながら、キーボードやマウスなどの入力装置102を用いて、上記プロジェクト情報の作成等の初期設定をおこなった後に、PCや加工機などの機械104の状態監視操作へと移行する。
【0021】
つぎに、監視アプリケーションの初期設定時のタグ名統合化処理について説明する。図17は、従来のタグ名共有化方法におけるタグ名統合化処理を示すフローチャートである。まず、操作者は、アプリケーション103の初期設定機能を実行させ、入力装置102からプロジェクト情報定義手段111によって、プロジェクト情報を作成するとともに、作成したプロジェクトを表示装置101上の適切な位置に配置する(ステップS201)。
【0022】
図18は、プロジェクト情報を説明するための説明図である。図18(a)に示すように、プロジェクト情報は、オブジェクト情報、タグ名割付表および端子名割付表により構成される。ここで、オブジェクトとは、図18(b)に示すような機械の状態を表すために利用する絵の部品のことをいう。また、オブジェクト情報には、各オブジェクトを識別するための名前が定義される。図18(b)においては、301をランプ1、302をメータ11、303をグラフ21と定義している。
【0023】
つづいて、タグ名割付手段112により、これらオブジェクトに対してタグ名を割り付けてタグ名割付表を作成し、作成したタグ名割付表をプロジェクト情報管理手段113によってコンピュータ上のメモリなどに保管する(ステップS202)。なお、タグ名割付表は、図18(c)に示すように、各オブジェクトに定義された名前とタグ名とが一対一に対応した表である。なお、操作者は、割り付けるタグ名を、同一のアプリケーション内で一意になるように名前付けすればよく、他のアプリケーションのタグ名を知っておく必要はない。
【0024】
つぎに、アプリケーション103は、タグ名統合化アプリケーション105に対して、タグ名と端子名の対応付けを表す端子名割付表が他のアプリケーションにおいてすでに作成されているか否かを問い合わせる(ステップS203)。ここで、すでに端子名割付表が作成されていれば、タグ名統合化アプリケーション105によって、後述するタグ名共有化処理(ステップS204)による端子名の割付けがおこなわれる。作成されていない場合には、操作者は、アプリケーション103上において、端子名の割付けをおこなう(ステップS205)。なお、端子名割付表は、図18(d)に示すように、各タグ名と端子名とが一対一に対応した表形式の電子データである。
【0025】
端子名の割付けが終了すると、つぎにプロジェクト情報に含まれている全オブジェクトに対して、タグ名変換手段117により、端子名割付表からオブジェクトに割り付けられたタグ名を検索し(ステップS206)、対応付けられた端子名を、たとえばランプ1にY0030のように割り付ける(ステップS207)。全オブジェクトに対して端子名の割り付けが終了すると(ステップS208肯定)、初期設定を完了し、通信手段118により、上記割り付けられた端子名を用いた監視動作、たとえばセンサがONした状態やベルトコンベアの動作速度などの機械104の情報を取得する(ステップS209)。
【0026】
つぎに、上記したステップS204における、複数のアプリケーション間のタグ名を共有する従来のタグ名共有化処理について説明する。なお、このタグ名共有化処理は、タグ名統合化アプリケーション105がおこなう。図19は、従来のタグ名共有化処理を示すフローチャートである。図19において、まず、タグ名統合化アプリケーション105は、端子名割付表読出手段121によって、アプリケーション103から端子名割付表を読み出し(ステップS1901)、同一タグ名検索手段1801によって既存の端子名割付表に、上記読み出した端子名割付表内に割り付けられたタグ名と同一のタグ名を検索する(ステップS1902)。
【0027】
ここで、既存の端子名割付表もまた、端子名割付表読出手段121によって、たとえば別のアプリケーション106のタグ管理手段115から読み出す。なお、同一のタグ名を検索する方法は、名前を降順(あいうえお順)に並べたものを順番に一致するか否かを確かめる方法など、一般のキーワード検索に用いられている様々な方法が採用されている。
【0028】
タグ名の検索が終了すると、検索されたタグ名に割り付けられた端子名を、端子名割付表書込手段126により、該当するプロジェクト情報の中の端子名割付表に書き込む(ステップS1903)。
【0029】
このように、複数の異なるアプリケーション間においても、他のアプリケーションですでにタグ名が作成されて用いられている場合に、そのタグ名に割り付けられた端子名を取得して、自身のアプリケーション内の端子名割付表に追加することで、タグ名の統合化が実現される。
【0030】
上述したタグ名統合化方法以外の従来技術として、複数のアプリケーション間において唯一のタグ管理手段を利用する方法も知られている。図20は、従来の他のタグ名統合化方法を説明するためのソフトウェアブロック図である。図20に示す方法では、アプリケーション107は、あらかじめ同じタグ管理手段119を共有するように作成されており、端子名割付表を流用する処理は不要となる。
【0031】
【発明が解決しようとする課題】
しかしながら、上述したような従来のタグ名統合化方法においてタグを共有するには、アプリケーション間であらかじめタグ名を統一する必要があり、そのためタグ名を定義してからでないと、アプリケーションプロジェクト作成作業が始められずアプリケーション開発・運用効率が低下していたという問題があった。
【0032】
また、アプリケーション毎に定義されたタグ名を一つ一つ対応づけなければならず、大規模システム、たとえば端子が3000個を超えるような工場の場合、アプリケーションでの操作が煩雑になり、操作ミスが発生しやすいという問題があった。
【0033】
この発明は上記問題点を解決するためになされたもので、複数のアプリケーション間でタグを共有化する際の処理を効率化したタグ名共有化装置、タグ名共有化方法およびその方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体を得ることを目的とする。
【0034】
【課題を解決するための手段】
上述した課題を解決し、目的を達成するために、この発明にかかるタグ名共有化装置にあっては、機器および当該機器の状態を特定する定義要素に、人が直感的に理解できる名前であるタグ名を割り付けるとともに、割り付けたタグ名に前記機器の端子名を割り付けた端子名割付表を管理し、前記タグ名の表示または指定によって前記機器の制御、監視、模擬動作等をおこなうアプリケーション間で、前記タグ名を共有化させるタグ名共有化装置において、前記アプリケーションで管理されている端子名割付表を読み出す端子名割付表読出手段と、複数のアプリケーション間において統合化されたタグ名と前記機器の端子とを割り付けた統合端子名割付表を、タグ名を機器名と作用名とに分割して管理するとともに、前記端子名割付表読出手段によって読み出された端子名割付表内のタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加する統合端子名割付表管理手段と、前記端子名割付表読出手段によって読み出された端子名割付表内のタグ名と、前記統合端子名割付表に含まれたタグ名とを対応付けるタグ名対応付け手段と、前記タグ名対応付け手段により対応付けられた統合端子名割付表の内容を、前記アプリケーションで管理されている端子名割付表に書き込む端子名割付表書込手段と、を備えたことを特徴とする。
【0035】
この発明によれば、各アプリケーションにおいて定義されたタグ名を読み出し、読み出したタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加登録し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加登録し、読み出したタグ名に、統合端子名割付表にすでに含まれたタグ名を対応付け、その結果を各アプリケーションの端子名割付表に書き込むので、新たなタグ名に対し、より詳細にタグ名を統合化して管理することができとともに、新たなタグ名を、統合端子名割付表に統合的に登録されたタグ名のどれに対応させるかを容易に特定することができ、その結果、各アプリケーション間において、共通のタグ名を使用することができる。
【0038】
つぎの発明にかかるタグ名共有化方法にあっては、機器および当該機器の状態を特定する定義要素に、人が直感的に理解できる名前であるタグ名を割り付けるとともに、割り付けたタグ名に前記機器の端子名を割り付けた端子名割付表を管理し、前記タグ名の表示または指定によって前記機器の制御、監視、模擬動作等をおこなうアプリケーション間で、前記タグ名を共有化させるタグ名共有化方法において、前記アプリケーションで管理されている端子名割付表を読み出す端子名割付表読出ステップと、前記端子名割付表読出ステップによって読み出された端子名割付表内のタグ名を機器名と作用名に分割し、分割した機器名が、複数のアプリケーション間において統合化されたタグ名と前記機器の端子とが割り付けられかつタグ名が機器名と作用名とに分割して管理される統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加する統合端子名割付表管理ステップと、前記端子名割付表読出ステップによって読み出された端子名割付表内のタグ名と、前記統合端子名割付表に含まれたタグ名とを対応付けるタグ名対応付けステップと、前記タグ名対応付けステップにおいて対応付けられた結果を、前記アプリケーションで管理されている端子名割付表に書き込む端子名割付表書込ステップと、を含んだことを特徴とする。
【0039】
この発明によれば、各アプリケーションにおいて定義されたタグ名を読み出し、読み出したタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加し、読み出したタグ名に、統合端子名割付表にすでに含まれたタグ名を対応付け、その結果を各アプリケーションの端子名割付表に書き込むので、新たなタグ名に対し、より詳細にタグ名を統合化して管理することができとともに、新たなタグ名を、統合端子名割付表に統合的に登録されたタグ名のどれに対応させるかを容易に特定することができ、その結果、各アプリケーション間において、共通のタグ名を使用することができる。
【0042】
つぎの発明にかかる記録媒体にあっては、上記タグ名共有化方法をコンピュータに実行させるプログラムを記録したため、これによって、上記タグ名共有化方法に従った処理をコンピュータに実行させることが可能となる。
【0043】
【発明の実施の形態】
以下に、この発明にかかるタグ名共有化装置およびタグ名共有化方法の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
【0044】
図1は、本実施の形態にかかるタグ名共有化方法を説明するためのソフトウェアブロック図である。なお、図1において、図16と共通する部分については同一の符号を付し、ここではその説明を省略する。特に、図1は、タグ名統合化アプリケーション120が、図16に示したタグ名統合化アプリケーション105と異なる。
【0045】
タグ名統合化アプリケーション120は、各種アプリケーションで定義されたタグ名を読み出す端子名割付表読出手段121と、そのタグ名を機器名および作用名に分割するタグ名解析手段122と、分割された機器名を機器名リストとして保管する機器名管理手段123と、分割された作用名を作用名リストとして保管する作用名管理手段124と、機器名リストおよび作用名リストを用いて各種アプリケーションのタグ名を統合化したひとつの端子名割付表を管理する統合端子名割付表管理手段125と、各種アプリケーションの端子名割付表にタグ名を書き込む端子名割付表書込手段126と、を有している。
【0046】
以下に、監視アプリケーションの初期設定時のタグ名統合化処理について説明する。なお、タグ名統合化処理の流れは、図17に示したとおりであり、本実施の形態では、そのタグ名共有化処理(図17中のステップS204)のみが異なるため、タグ名統合化処理のうちの特にタグ名共有化処理を説明する。
【0047】
図2は、本実施の形態にかかるタグ名共有化方法におけるタグ名共有化処理を示すフローチャートである。本実施の形態におけるタグ名共有化処理では、まず、タグ名統合化アプリケーション120が、アプリケーション103のタグ管理手段115に保管されている端子名割付表を、端子名割付表読出手段121によって読み出し、タグ名解析手段122により、タグ名を機器名と作用名に分割する。図2は、特に、この分割の処理を示している。
【0048】
図2において、タグ名統合化アプリケーション120は、まず、タグ名に、作用名管理手段124が保持する作用名リストに登録された文字列が含まれているか否かを確認する(ステップS501)。図3は、機器名リストおよび作用名リストの例を示す図であり、上記したステップS501では、図3(b)に示すような作用名リストを確認対象とする。なお、この確認は、文字列を比較することでおこなうがその方法は問わない。
【0049】
そして、タグ名に、図3(b)に示したような作用名リストに登録された文字列が含まれていれば、残りの文字列を機器名管理手段123が保持する機器名リストに追加する(ステップS502)。もし存在しなければ、タグ名に、機器名管理手段123が保持する、図3(a)に示すような機器名リストに登録された文字列が含まれているか否かを確認し(ステップS503)、含まれていれば残りの文字列を作用名管理手段124が保持する作用名リストに追加する(ステップS504)。
【0050】
なお、図3(a)において、A−M1は、機器名につけられた便宜上の番号であり、アプリケーションAの機器名1を意味し、図3(b)において、A−O1は、アプリケーションAの作用名1番を意味する。なお、機器名リスト、作用名リストはたとえば表形式の電子ファイルとして作成される。
【0051】
ステップS503において、タグ名に、機器名リストに登録された文字列が含まれていないならば、操作者がタグ名を機器名、作用名に分割し、分割した機器名および作用名を、入力装置102を用いて機器名リストおよび作用名リストに登録する(ステップS505、S506)。そしてその後、統合端子名一覧表を作成するためのタグ統合一覧表作成処理を実行する(ステップS507)。
【0052】
図4は、タグ統合一覧表作成処理を示すフローチャートである。図4において、まず、操作者は、既存タグ名に対応する機器名と新しいタグ名に対応する機器名との対応付けをおこなう(ステップS801)。図5は、すでに統合端子名割付表に登録されている内容の例を示す図である。特に、図5(a)は、アプリケーションBで定義された既存端子名割付表の例であり、B−T1はアプリケーションBの1番目のタグ名を、B−M1はアプリケーションBの1番目の機器名を、B−O1−1はアプリケーションBの1番目の作用名の1番目の作用を表す。また、図5(b)は、アプリケーションBで定義された端子名リストおよび作用名リストの例である。
【0053】
また、図6は、アプリケーション103としてあらたに統合端子名割付表に登録する内容の例を示す図である。なお、図6に対応する機器名リストおよび作用名リストは、図3に示したとおりとする。これらの表はすでにそれぞれアプリケーションB、アプリケーションAの操作者によって作成されている。よって、この例では、上記したステップS801は、図5(a)に示した機器名を既存タグ名の機器名とし、図6に示した機器名を新しいタグ名の機器名として、対応付けをおこなう。
【0054】
この操作者による対応付けは、具体的には、表示装置101上に表示されたグラフィカルユーザインターフェースの下でおこなう。図7は、対応付けの具体的手順を説明するための説明図である。たとえば、図7(a)に示すように、新規機器名「A−M1」に既存機器名「B−M1」を対応付けるには、図7(c)のように、ボックス1501内に表示された新規機器名リストのうちの「A−M1」に対応するタグ名「ST1上爪開閉」と、ボックス1502内に表示された既存機器名リストのうちの「B−M1」に対応するタグ名「上爪1開閉」とを、入力装置102で選択するとともに、対応付けボタンを押下する。そして、この手順を繰り返すことで、最終的に、図7(d)に示すような機器名の対応付け結果を得る。
【0055】
つぎに、既存の作用名リストと新たな作用名リストとの対応付けを、上記した機器名リストの対応付けと同様におこなう(ステップS802)。たとえば、図7(b)に示すように、新規作用名「A−O1」に既存作用名「B−O1」を対応付ける。このように、機器名と作用名の対応付けをおこなうことで、統合タグ一覧名が作成され、作成した統合タグ一覧名は端子名割付表として統合端子名割付表管理手段125により保管される(ステップS803)。そして、最後に、端子名割付表書込手段126が、アプリケーション103のタグ管理手段115に保管された端子名割付表のうち、タグ名に対応した端子名未定の部分に、統合タグ一覧名で対応付けられた端子名を書き込む。
【0056】
図8は、最終的に得られたタグ統合一覧表の例を示す図である。図8に示すように、アプリケーション103とアプリケーション106との間で、共通となる制御または監視の対象機器の端子名を、タグ名が異なっている場合でも、特定することができる。
【0057】
図9は、タグ名と機器名・作用名との対応付けを説明するための説明図である。図9において、アプリケーション103のタグ名「ST1上爪開閉開」(A−T1)は、機器名A−M1と作用名A−01−1から構成され、これはアプリケーションBの機器名B−M1と作用名B−01−1から構成されるB−T1(「上爪1開閉開」)と対応付けられおり、結局、その端子名がX1Aであると知得できる。
【0058】
以上に説明したとおり、実施の形態にかかるタグ名共有化装置およびタグ名共有化方法によれば、各アプリケーションにおいてアプリケーション毎にタグ名を定義したプロジェクトを作成したあと、タグ名統合化アプリケーションによって、複数のアプリケーション間の異なるタグ名を有するタグを結びつけ、結び付けられた結果を各アプリケーションに与えるので、複数のアプリケーション間においてデバイス情報を共有でき、アプリケーションプロジェクト作成作業を容易に着手することができるとともに、その効率を高めることが可能となる。
【0059】
【発明の効果】
以上、説明したとおり、この発明によれば、この発明によれば、各アプリケーションにおいて定義されたタグ名を読み出し、読み出したタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加登録し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加登録し、読み出したタグ名に、統合端子名割付表にすでに含まれたタグ名を対応付け、その結果を各アプリケーションの端子名割付表に書き込むので、新たなタグ名に対し、より詳細にタグ名を統合化して管理することができとともに、新たなタグ名を、統合端子名割付表に統合的に登録されたタグ名のどれに対応させるかを容易に特定して各アプリケーション間で共通のタグ名を使用することができ、アプリケーションプロジェクト作成作業を容易に着手することができるとともに、その効率を高めることが可能となるタグ名共有化装置を提供できるという効果を奏する。
【0061】
つぎの発明によれば、各アプリケーションにおいて定義されたタグ名を読み出し、読み出したタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加し、読み出したタグ名に、統合端子名割付表にすでに含まれたタグ名を対応付け、その結果を各アプリケーションの端子名割付表に書き込むので、新たなタグ名に対し、より詳細にタグ名を統合化して管理することができとともに、新たなタグ名を、統合端子名割付表に統合的に登録されたタグ名のどれに対応させるかを容易に特定して各アプリケーション間で、共通のタグ名を使用することができ、アプリケーションプロジェクト作成作業を容易に着手することができるとともに、その効率を高めることが可能となるタグ名共有化方法を提供できるという効果を奏する。
【0063】
つぎの発明によれば、上記したタグ名共有化方法をコンピュータに実行させるプログラムを記録しているため、これによって、タグ名共有化方法によって実現される処理をコンピュータ上で実行させることが可能となるという効果を奏する。
【図面の簡単な説明】
【図1】 本実施の形態にかかるタグ名共有化方法を説明するためのソフトウェアブロック図である。
【図2】 本実施の形態にかかるタグ名共有化方法におけるタグ名共有化処理を示すフローチャートである。
【図3】 機器名リストおよび作用名リストの例を示す図である。
【図4】 タグ統合一覧表作成処理を示すフローチャートである。
【図5】 統合端子名割付表に登録されている内容の例を示す図である。
【図6】 アプリケーションAとしてあらたに統合端子名割付表に登録する内容の例を示す図である。
【図7】 対応付けの具体的手順を説明するための説明図である。
【図8】 最終的に得られたタグ統合一覧表の例を示す図である。
【図9】 タグ名と機器名・作用名との対応付けを説明するための説明図である。
【図10】 工場内に配置される機械設備の例を示すブロック図である。
【図11】 ラダープログラムの例を示す図である。
【図12】 PCおよび制御対象となる機械の例を示す図である。
【図13】 各種アプリケーションの適用例を説明するための説明図である。
【図14】 監視アプリケーションの例を説明するための説明図である。
【図15】 タグ名を説明するための説明図である。
【図16】 従来のタグ名統合化方法を説明するためのソフトウェアブロック図である。
【図17】 従来のタグ名共有化方法におけるタグ名統合化処理を示すフローチャートである。
【図18】 プロジェクト情報を説明するための説明図である。
【図19】 従来のタグ名共有化処理を示すフローチャートである。
【図20】 従来の他のタグ名統合化方法を説明するためのソフトウェアブロック図である。
【符号の説明】
101 表示装置、102 入力装置、103,106,107 アプリケーション、104 機械、105,120 タグ名統合化アプリケーション、111 プロジェクト情報定義手段、112 タグ名割付手段、113 プロジェクト情報管理手段、115 タグ管理手段、116 端子名割付手段、117 タグ名変換手段、118 通信手段、119 タグ管理手段、121 端子名割付表読出手段、122 タグ名解析手段、123 機器名管理手段、124 作用名管理手段、125 統合端子名割付表管理手段、126 端子名割付表書込手段、301,1104 ランプ、302 メータ、303 グラフ、1001 加工機、1002 ロボット、1003 搬送機、1004 自動倉庫、1006 ネットワーク、1102 端子、1103 スイッチ、1201 制御プログラム作成アプリケーション、1202 監視アプリケーション、1203 シミュレーションアプリケーション、1801 同一タグ名検索手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a tag name sharing apparatus, a tag name sharing method, and a tag name sharing method for sharing tag information for identifying a device to be controlled among a plurality of control programs for controlling devices arranged in a factory or the like The present invention relates to a computer-readable recording medium on which a program for causing a computer to execute the method is recorded.
[0002]
[Prior art]
In factories that produce things such as automobiles and electrical appliances, various machines have been introduced by factory automation. FIG. 10 is a block diagram illustrating an example of mechanical equipment arranged in a factory. As shown in FIG. 10, in the factory, there are a processing machine 1001 for changing the shape of a thing, a robot 1002 for assembling things, a conveyor 1003 for moving things, an automatic warehouse 1004 for keeping things, etc. The machine is arranged. These machines are generally controlled by a programmable controller (hereinafter referred to as a PC) 1005. In particular, the PC 1005 may be integratedly controlled with other machines by being connected via the network 1006.
[0003]
The machine control by the PC 1005 is defined by a control program such as a ladder program. FIG. 11 is a diagram illustrating an example of a ladder program. In FIG. 11, X0000 and Y0030 represent terminal numbers provided in the PC. In particular, the ladder program shown in FIG. 11 describes that Y0030 is turned on when X0000 is turned on.
[0004]
FIG. 12 is a diagram illustrating an example of a PC and a machine to be controlled. As shown in FIG. 12, the PC 1005 includes several terminals 1102 for connecting to devices such as a lamp, an alarm device, a sensor, and a switch. In particular, FIG. 12 shows a state in which the switch 1103 is connected to the terminal number X0000 and the lamp 1104 is connected to the terminal number Y0030. Therefore, when the ladder program shown in FIG. 11 is executed by the PC 1005, the lamp 1104 is turned on when the switch 1103 is turned on.
[0005]
A control program such as this ladder program is generally created by a control program creation application provided on a computer. A monitoring program for monitoring the state of the machine is also created by a monitoring program creation application provided on the computer. Furthermore, a monitoring program created by the monitoring program creation application (hereinafter referred to as a monitoring application), a simulation application that predicts the operation of the machine, and the like are also executed on the computer.
[0006]
FIG. 13 is an explanatory diagram for explaining an application example of the various applications described above. As shown in FIG. 13, a computer on which a control program creation application 1201, a monitoring application 1202, a simulation application 1203, and the like that are executed on a computer operate is connected to a network 1006 in a factory, so that a PC, a processing machine, and the like. The control program can be transmitted to the machine and the state of the machine can be confirmed.
[0007]
The monitoring application will be described below. FIG. 14 is an explanatory diagram for explaining an example of the monitoring application. In particular, the monitoring application performs a monitoring operation based on an allocation table created in advance. This monitoring operation is realized by displaying picture parts representing the state of each machine on the screen of the computer. In FIG. 14A, a lamp 301, a meter 302, and a graph 303 are shown as examples of the parts of the picture. Here, the parts of this picture are called objects.
[0008]
Therefore, it is necessary to assign an actual machine or a PC terminal to each object, and the assignment table represents the assignment. For example, FIG. 14B shows an example of the allocation table. For example, the lamp 301 is assigned as the object lamp 1 to the terminal Y0030. With this assignment table, the monitoring application can intuitively inform the operator of the state of the machine, for example, by changing the color of the picture of the lamp 301 when an ON state signal is input to the terminal Y0030. .
[0009]
Like this monitoring application, various applications use alphanumeric characters such as X0000 and Y0030 as the terminal names of PCs and machines, but this expression is difficult for the operator to understand and errors such as incorrect settings occur. Cause. Therefore, in general, names on the terminals that are easy for the operator to understand, such as “press start button” and “lighting lamp during operation” are given to facilitate the operation on the application. This name is called a tag name.
[0010]
FIG. 15 is an explanatory diagram for explaining a tag name. As shown in FIG. 15, the tag name is configured by a combination of a name of a device such as a connected sensor and an action name representing an operation. In particular, there are a plurality of action names such as “SEKURI” and “RETURN” for one device name. For example, in FIG. 15, the tag name “0.8 Metal Sekir 1 Sekir” puts the device specified by the name “0.8 Metal Sekir 1” into a state of action “Sekir”, or This indicates that the device with the name “0.8 Metal Seki 1” is in the “Sekir” state.
[0011]
Therefore, in order to use this tag name, it is necessary to create a terminal name assignment table in which the tag name is associated with the terminal name. In general, this terminal name assignment table is individually created and held by each of a plurality of applications operating in the same factory. However, if each application creates a tag name individually, the name that identifies it will differ even though the same device is specified as a control or monitoring target between applications. Produce. This causes confusion in developing and debugging multiple applications. A combination in which a tag name is associated with a terminal name is called a tag.
[0012]
Therefore, in general, when multiple different applications operate in the same factory, the tag names are unified among the applications. Therefore, when creating a program that implements the application or at the time of initial setting, the tag is already used by another application. When a name is created, a tag name sharing method is adopted in which the tag name is acquired and used.
[0013]
A conventional tag name sharing method will be described below. FIG. 16 is a software block diagram for explaining a conventional tag name sharing method. In FIG. 16, 101 is a display device such as a CRT, 102 is an input device such as a keyboard and mouse, 104 is a belt conveyor, a machine such as a contact switch, 103 and 106 are applications A and B for monitoring and controlling the machine, Reference numeral 105 denotes a tag name integrated application for tag name sharing among a plurality of applications. Here, it is assumed that the applications 103 and 106 are monitoring applications and have an initial setting function for setting project information, tag names, and the like, which will be described later.
[0014]
As shown in FIG. 16, the application 103 uses the project information defining unit 111, the tag name assigning unit 112, the project information managing unit 113, the tag managing unit 115, the terminal name assigning unit 116, and the tag name converting unit 117 as described above. Implement the setting function.
[0015]
Here, the project information definition unit 111 is a unit that arranges a picture part graphically representing the machine 104 to be monitored or controlled in one factory on an appropriate screen on the display device 101. The tag name assigning means 112 is a means for assigning a tag name named so as to be understood by a person to the machine information linked to the picture part defined by the project information defining means 111, and is a project information managing means. Reference numeral 113 denotes a means for managing the project information defined by the project information defining means 111 and the tag names assigned by the tag name assigning means 112.
[0016]
The tag management means 115 is means for managing tag names and terminal names as a terminal name assignment table, and the terminal name assignment means 116 is means for setting the actual machine position to the tag name. The conversion means 117 is a means for searching for the terminal name from the tag name. Furthermore, the application 103 includes a communication unit 118 that acquires machine information according to the above-described project information for an actual machine in order to perform a monitoring operation.
[0017]
The application 106 has the same configuration as that of the application 103, but only the tag management unit 115 is shown in FIG.
[0018]
On the other hand, the tag name integrated application 105 is identical to the terminal name assignment table reading means 121 that reads the terminal name assignment table managed by the tag management means 115 of the application, and the various tag names defined for each application. Of the same tag name search means 1801 for associating the terminal name and the terminal name assignment table stored in the tag management means 115 with the terminal name assigned by another application assigned to the tag name to which no terminal name is assigned Integration of tag names is realized by the allocation table writing means 126.
[0019]
Here, the applications 103 and 106 and the tag name integrated application 105 realize processing by the above means by a computer program. For example, each means is realized by a subroutine describing corresponding processing. Is done.
[0020]
Actually, the operator creates the project information using the input device 102 such as a keyboard and a mouse while viewing the display device 101 such as a CRT in the environment where the application as shown in FIG. 16 is executed. After the initial setting such as the above, the state shifts to the state monitoring operation of the machine 104 such as a PC or a processing machine.
[0021]
Next, tag name integration processing at the time of initial setting of the monitoring application will be described. FIG. 17 is a flowchart showing tag name integration processing in a conventional tag name sharing method. First, the operator executes the initial setting function of the application 103, creates project information from the input device 102 by the project information defining unit 111, and arranges the created project at an appropriate position on the display device 101 ( Step S201).
[0022]
FIG. 18 is an explanatory diagram for explaining the project information. As shown in FIG. 18A, the project information includes object information, a tag name assignment table, and a terminal name assignment table. Here, the object refers to a picture part used to represent the state of the machine as shown in FIG. In the object information, a name for identifying each object is defined. In FIG. 18B, 301 is defined as lamp 1, 302 is defined as meter 11, and 303 is defined as graph 21.
[0023]
Subsequently, the tag name assigning means 112 assigns tag names to these objects to create a tag name assignment table, and the created tag name assignment table is stored in a memory on the computer by the project information management means 113 ( Step S202). As shown in FIG. 18C, the tag name assignment table is a table in which names defined for each object and tag names correspond one-to-one. The operator only needs to name the tag name to be assigned unique within the same application, and does not need to know the tag name of another application.
[0024]
Next, the application 103 inquires of the tag name integrated application 105 as to whether or not a terminal name assignment table indicating the correspondence between tag names and terminal names has already been created in another application (step S203). Here, if a terminal name assignment table has already been created, the tag name integration application 105 assigns terminal names by tag name sharing processing (step S204) described later. If not created, the operator assigns terminal names on the application 103 (step S205). The terminal name assignment table is tabular electronic data in which each tag name and terminal name correspond one-to-one as shown in FIG.
[0025]
When the assignment of the terminal names is completed, the tag name conversion unit 117 searches for the tag names assigned to the objects from the terminal name assignment table for all the objects included in the project information (step S206). The associated terminal name is assigned to the lamp 1, for example, as Y0030 (step S207). When the assignment of terminal names to all objects is completed (Yes at step S208), the initial setting is completed, and the monitoring operation using the assigned terminal names is performed by the communication means 118, for example, the sensor is turned on or the belt conveyor Information of the machine 104 such as the operation speed is acquired (step S209).
[0026]
Next, a conventional tag name sharing process for sharing tag names among a plurality of applications in step S204 described above will be described. The tag name sharing process is performed by the tag name integration application 105. FIG. 19 is a flowchart showing a conventional tag name sharing process. In FIG. 19, first, the tag name integration application 105 reads the terminal name assignment table from the application 103 by the terminal name assignment table reading unit 121 (step S1901), and the existing tag name assignment table 1801 by the same tag name search unit 1801. Then, the same tag name as the tag name assigned in the read terminal name assignment table is searched (step S1902).
[0027]
Here, the existing terminal name assignment table is also read by the terminal name assignment table reading means 121, for example, from the tag management means 115 of another application 106. The same tag name can be searched using various methods used in general keyword searches, such as checking whether or not the names arranged in descending order are in order. Has been.
[0028]
When the search for the tag name is completed, the terminal name assigned to the searched tag name is written into the terminal name assignment table in the corresponding project information by the terminal name assignment table writing means 126 (step S1903).
[0029]
In this way, when a tag name has already been created and used by another application even between different applications, the terminal name assigned to that tag name is obtained and By adding to the terminal name assignment table, tag names can be integrated.
[0030]
As a prior art other than the tag name integration method described above, a method of using a single tag management means between a plurality of applications is also known. FIG. 20 is a software block diagram for explaining another conventional tag name integration method. In the method shown in FIG. 20, the application 107 is created in advance so as to share the same tag management means 119, and the process of diverting the terminal name assignment table is not necessary.
[0031]
[Problems to be solved by the invention]
However, in order to share tags in the conventional tag name integration method as described above, it is necessary to unify tag names between applications in advance. There was a problem that application development / operation efficiency was not able to be started, and it had fallen.
[0032]
In addition, tag names defined for each application must be associated one by one. In a large-scale system, for example, a factory with more than 3000 terminals, the operation in the application becomes complicated and an operation error occurs. There was a problem that was likely to occur.
[0033]
The present invention has been made in order to solve the above-described problems. A tag name sharing apparatus, a tag name sharing method, and a method for efficiently sharing a tag when a plurality of applications share a tag. An object of the present invention is to obtain a computer-readable recording medium in which a program to be executed is recorded.
[0034]
[Means for Solving the Problems]
In order to solve the above-described problems and achieve the object, the tag name sharing apparatus according to the present invention uses a name that can be intuitively understood by a person as a definition element that identifies the device and the state of the device. Between applications that assign a tag name, manage a terminal name assignment table in which the terminal name of the device is assigned to the assigned tag name, and perform control, monitoring, simulation operation, etc. of the device by displaying or specifying the tag name In the tag name sharing apparatus for sharing the tag name, the terminal name assignment table reading means for reading the terminal name assignment table managed by the application, the tag name integrated among a plurality of applications, and the The integrated terminal name assignment table to which the device terminals are assigned is managed by dividing the tag name into the device name and the action name, and the terminal name assignment table reading method. When the tag name in the terminal name assignment table read out by is divided into the device name and action name, and the divided device name is not included in the device name in the integrated terminal name assignment table, the device name is Integrated terminal name assignment that adds to the integrated terminal name assignment table when the action names that are added to the integrated terminal name assignment table and the divided action names are not included in the action names in the integrated terminal name assignment table A table management means, a tag name in the terminal name assignment table read by the terminal name assignment table reading means, and a tag name included in the integrated terminal name assignment table; Vs Attachment Ruta Group name association means; Matched by tag name matching means Terminal name assignment table writing means for writing the contents of the integrated terminal name assignment table into the terminal name assignment table managed by the application.
[0035]
According to this invention, the tag name defined in each application is read, and the read tag name If the divided device name is not included in the device name in the integrated terminal name assignment table, the device name is additionally registered in the integrated terminal name assignment table and divided. If the action name is not included in the action name in the integrated terminal name assignment table, the action name is additionally registered in the integrated terminal name assignment table, and the read tag name is already included in the integrated terminal name assignment table. Map the tag name Because it writes in the pin name assignment table of each application, In addition to being able to manage and integrate tag names in more detail for new tag names, It is possible to easily identify which tag name is newly registered in the integrated terminal name assignment table, and as a result, a common tag name is used between the applications. be able to.
[0038]
In the tag name sharing method according to the next invention, a tag name, which is a name that can be intuitively understood by a person, is assigned to a definition element that identifies a device and the state of the device, and the assigned tag name includes the above-described tag name. Tag name sharing that manages a terminal name assignment table that assigns terminal names of devices and shares the tag names between applications that control, monitor, or simulate operations of the devices by displaying or specifying the tag names In the method, a terminal name assignment table reading step for reading a terminal name assignment table managed by the application, and a tag name in the terminal name assignment table read by the terminal name assignment table reading step are used as a device name and an action name. And the divided device name is assigned a tag name integrated between a plurality of applications and the terminal of the device, and the tag name is the device name. When the device name is not included in the device name in the integrated terminal name assignment table managed by dividing it into the integrated terminal name assignment table, the device name is added to the integrated terminal name assignment table, and the divided action name is the integrated terminal name. When not included in the action name in the name assignment table, the terminal name read by the integrated terminal name assignment table management step for adding the action name to the integrated terminal name assignment table and the terminal name assignment table reading step The tag name in the allocation table and the tag name included in the integrated terminal name allocation table Vs Attachment Kick Tag name association step and association in the tag name association step Was And a terminal name assignment table writing step of writing the result into the terminal name assignment table managed by the application.
[0039]
According to this invention, the tag name defined in each application is read, and the read tag name When the divided device name is not included in the device name in the integrated terminal name assignment table, the device name is added to the integrated terminal name assignment table, If the name is not included in the action name in the integrated terminal name assignment table, the action name is added to the integrated terminal name assignment table, Since the tag name already included in the integrated terminal name assignment table is associated with the read tag name, and the result is written to the terminal name assignment table of each application, In addition to being able to manage and integrate tag names in more detail for new tag names, It is possible to easily identify which tag name is newly registered in the integrated terminal name assignment table, and as a result, a common tag name is used between the applications. be able to.
[0042]
In the recording medium according to the next invention, the above Because the program that makes the computer execute the tag name sharing method was recorded, the above It is possible to cause the computer to execute processing according to the tag name sharing method.
[0043]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of a tag name sharing apparatus and a tag name sharing method according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
[0044]
FIG. 1 is a software block diagram for explaining a tag name sharing method according to the present embodiment. In FIG. 1, parts that are the same as those in FIG. 16 are given the same reference numerals, and descriptions thereof are omitted here. In particular, in FIG. 1, the tag name integration application 120 is different from the tag name integration application 105 shown in FIG.
[0045]
The tag name integration application 120 includes a terminal name assignment table reading unit 121 that reads tag names defined by various applications, a tag name analysis unit 122 that divides the tag name into a device name and an action name, and a divided device Device name management means 123 that stores names as device name lists, action name management means 124 that stores divided action names as action name lists, and tag names of various applications using the device name list and action name list. It has integrated terminal name assignment table management means 125 for managing one integrated terminal name assignment table, and terminal name assignment table writing means 126 for writing tag names into the terminal name assignment tables of various applications.
[0046]
The tag name integration process at the time of initial setting of the monitoring application will be described below. Note that the flow of the tag name integration process is as shown in FIG. 17. In this embodiment, only the tag name sharing process (step S204 in FIG. 17) is different. In particular, tag name sharing processing will be described.
[0047]
FIG. 2 is a flowchart showing tag name sharing processing in the tag name sharing method according to the present embodiment. In the tag name sharing process according to the present embodiment, first, the tag name integration application 120 reads the terminal name assignment table stored in the tag management unit 115 of the application 103 by the terminal name assignment table reading unit 121, The tag name analysis unit 122 divides the tag name into a device name and an action name. FIG. 2 particularly shows this division process.
[0048]
In FIG. 2, the tag name integrated application 120 first confirms whether or not the tag name includes a character string registered in the action name list held by the action name management unit 124 (step S501). FIG. 3 is a diagram showing examples of the device name list and the action name list. In step S501 described above, the action name list as shown in FIG. This confirmation is performed by comparing character strings, but the method is not limited.
[0049]
If the tag name includes a character string registered in the action name list as shown in FIG. 3B, the remaining character string is added to the device name list held by the device name management unit 123. (Step S502). If it does not exist, it is confirmed whether or not the tag name includes a character string registered in the device name list as shown in FIG. 3A held by the device name management means 123 (step S503). If it is included, the remaining character string is added to the action name list held by the action name management means 124 (step S504).
[0050]
In FIG. 3A, A-M1 is a convenient number given to the device name and means device name 1 of application A. In FIG. 3B, A-O1 represents application A's name. Means action name 1. The device name list and the action name list are created as, for example, an electronic file in a tabular format.
[0051]
In step S503, if the tag name does not include the character string registered in the device name list, the operator divides the tag name into the device name and action name, and inputs the divided device name and action name. The device 102 is used to register the device name list and the action name list (steps S505 and S506). After that, tag integrated list creation processing for creating an integrated terminal name list is executed (step S507).
[0052]
FIG. 4 is a flowchart showing a tag integration list creation process. In FIG. 4, first, the operator associates a device name corresponding to an existing tag name with a device name corresponding to a new tag name (step S801). FIG. 5 is a diagram illustrating an example of contents already registered in the integrated terminal name assignment table. 5A is an example of an existing terminal name assignment table defined in application B. B-T1 is the first tag name of application B, and B-M1 is the first device of application B. B-O1-1 represents the first action of the first action name of application B. FIG. 5B is an example of a terminal name list and an action name list defined in the application B.
[0053]
FIG. 6 is a diagram illustrating an example of contents newly registered in the integrated terminal name assignment table as the application 103. The device name list and action name list corresponding to FIG. 6 are as shown in FIG. These tables have already been created by the operators of application B and application A, respectively. Therefore, in this example, the above-described step S801 associates the device name shown in FIG. 5A with the device name of the existing tag name and the device name shown in FIG. 6 as the device name of the new tag name. Do it.
[0054]
Specifically, the association by the operator is performed under a graphical user interface displayed on the display device 101. FIG. 7 is an explanatory diagram for explaining a specific procedure of association. For example, as shown in FIG. 7A, in order to associate the existing device name “B-M1” with the new device name “A-M1”, the information is displayed in the box 1501 as shown in FIG. 7C. The tag name “ST1-upper claw opening / closing” corresponding to “A-M1” in the new device name list and the tag name “B-M1” in the existing device name list displayed in the box 1502 are displayed. “Open / close upper nail 1” is selected by the input device 102 and the association button is pressed. Then, by repeating this procedure, a device name association result as shown in FIG. 7D is finally obtained.
[0055]
Next, the association between the existing action name list and the new action name list is performed in the same manner as the association of the device name list described above (step S802). For example, as shown in FIG. 7B, the existing action name “B-O1” is associated with the new action name “A-O1”. Thus, by associating the device name with the action name, an integrated tag list name is created, and the created integrated tag list name is stored as a terminal name assignment table by the integrated terminal name assignment table management means 125 ( Step S803). Finally, the terminal name assignment table writing unit 126 uses the integrated tag list name in the terminal name undetermined portion corresponding to the tag name in the terminal name assignment table stored in the tag management unit 115 of the application 103. Write the associated terminal name.
[0056]
FIG. 8 is a diagram illustrating an example of a tag integration list finally obtained. As shown in FIG. 8, the terminal names of control or monitoring target devices that are common between the application 103 and the application 106 can be specified even when the tag names are different.
[0057]
FIG. 9 is an explanatory diagram for explaining the association between a tag name and a device name / action name. In FIG. 9, the tag name “ST1 upper claw opening / closing” (A-T1) of the application 103 is composed of a device name A-M1 and an action name A-01-1, which is a device name B-M1 of the application B. And B-T1 ("upper claw 1 open / closed open") composed of the action name B-01-1, and eventually it can be known that the terminal name is X1A.
[0058]
As described above, according to the tag name sharing apparatus and tag name sharing method according to the embodiment, after creating a project in which a tag name is defined for each application in each application, Since tags with different tag names between multiple applications are linked and the linked results are given to each application, device information can be shared between multiple applications, application project creation work can be easily started, The efficiency can be increased.
[0059]
【The invention's effect】
As described above, according to the present invention, according to the present invention, the tag name defined in each application is read, and the read tag name If the divided device name is not included in the device name in the integrated terminal name assignment table, the device name is additionally registered in the integrated terminal name assignment table and divided. If the action name is not included in the action name in the integrated terminal name assignment table, the action name is additionally registered in the integrated terminal name assignment table, and the read tag name is already included in the integrated terminal name assignment table. Map the tag name Because it writes in the pin name assignment table of each application, In addition to being able to manage and integrate tag names in more detail for new tag names, You can easily identify which tag name is newly registered in the integrated terminal name assignment table, and use a common tag name for each application. There is an effect that it is possible to provide a tag name sharing apparatus that can easily start work and increase the efficiency thereof.
[0061]
According to the next invention, the tag name defined in each application is read, and the read tag name When the divided device name is not included in the device name in the integrated terminal name assignment table, the device name is added to the integrated terminal name assignment table, If the name is not included in the action name in the integrated terminal name assignment table, the action name is added to the integrated terminal name assignment table, Since the tag name already included in the integrated terminal name assignment table is associated with the read tag name, and the result is written to the terminal name assignment table of each application, In addition to being able to manage and integrate tag names in more detail for new tag names, You can easily identify which tag name is newly registered in the integrated terminal name assignment table, and use a common tag name between each application. There is an effect that it is possible to provide a tag name sharing method capable of easily starting the creation work and improving the efficiency.
[0063]
According to the next invention, since the program for causing the computer to execute the tag name sharing method described above is recorded, the processing realized by the tag name sharing method can be executed on the computer. The effect of becoming.
[Brief description of the drawings]
FIG. 1 is a software block diagram for explaining a tag name sharing method according to an embodiment;
FIG. 2 is a flowchart showing tag name sharing processing in the tag name sharing method according to the embodiment;
FIG. 3 is a diagram illustrating an example of a device name list and an action name list.
FIG. 4 is a flowchart showing tag integration list creation processing;
FIG. 5 is a diagram showing an example of contents registered in an integrated terminal name assignment table.
6 is a diagram illustrating an example of contents newly registered in an integrated terminal name assignment table as an application A. FIG.
FIG. 7 is an explanatory diagram for explaining a specific procedure of association;
FIG. 8 is a diagram showing an example of a tag integration list finally obtained.
FIG. 9 is an explanatory diagram for explaining a correspondence between a tag name and a device name / action name.
FIG. 10 is a block diagram showing an example of mechanical equipment arranged in a factory.
FIG. 11 is a diagram illustrating an example of a ladder program.
FIG. 12 is a diagram illustrating an example of a PC and a machine to be controlled.
FIG. 13 is an explanatory diagram for describing application examples of various applications;
FIG. 14 is an explanatory diagram for explaining an example of a monitoring application;
FIG. 15 is an explanatory diagram for explaining a tag name;
FIG. 16 is a software block diagram for explaining a conventional tag name integration method;
FIG. 17 is a flowchart showing tag name integration processing in a conventional tag name sharing method;
FIG. 18 is an explanatory diagram for explaining project information.
FIG. 19 is a flowchart showing conventional tag name sharing processing;
FIG. 20 is a software block diagram for explaining another conventional tag name integration method.
[Explanation of symbols]
101 display device, 102 input device, 103, 106, 107 application, 104 machine, 105, 120 tag name integrated application, 111 project information definition means, 112 tag name assignment means, 113 project information management means, 115 tag management means, 116 terminal name assigning means, 117 tag name converting means, 118 communication means, 119 tag managing means, 121 terminal name assignment table reading means, 122 tag name analyzing means, 123 device name managing means, 124 action name managing means, 125 integrated terminal Name assignment table management means, 126 Terminal name assignment table writing means, 301, 1104 lamp, 302 meter, 303 graph, 1001 processing machine, 1002 robot, 1003 transport machine, 1004 automatic warehouse, 1006 network, 1102 terminal, 1103 switch, 12 1 control program creation application, 1202 monitoring application, 1203 simulation applications, 1801 same tag name search unit.

Claims (3)

機器および当該機器の状態を特定する定義要素に、人が直感的に理解できる名前であるタグ名を割り付けるとともに、割り付けたタグ名に前記機器の端子名を割り付けた端子名割付表を管理し、前記タグ名の表示または指定によって前記機器の制御、監視、模擬動作等をおこなうアプリケーション間で、前記タグ名を共有化させるタグ名共有化装置において、
前記アプリケーションで管理されている端子名割付表を読み出す端子名割付表読出手段と、
複数のアプリケーション間において統合化されたタグ名と前記機器の端子とを割り付けた統合端子名割付表を、タグ名を機器名と作用名とに分割して管理するとともに、前記端子名割付表読出手段によって読み出された端子名割付表内のタグ名を機器名と作用名に分割し、分割した機器名が、前記統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加する統合端子名割付表管理手段と、
前記端子名割付表読出手段によって読み出された端子名割付表内のタグ名と、前記統合端子名割付表に含まれたタグ名とを対応付けるタグ名対応付け手段と、
前記タグ名対応付け手段により対応付けられた統合端子名割付表の内容を、前記アプリケーションで管理されている端子名割付表に書き込む端子名割付表書込手段と、
を備えたことを特徴とするタグ名共有化装置。
Assign a tag name, which is a name that can be intuitively understood by humans, to a definition element that identifies the device and the state of the device, and manage a terminal name assignment table in which the terminal name of the device is assigned to the assigned tag name. In a tag name sharing apparatus that shares the tag name between applications that perform control, monitoring, simulation operation, etc. of the device by displaying or specifying the tag name,
A terminal name assignment table reading means for reading a terminal name assignment table managed by the application;
Manages an integrated terminal name assignment table in which tag names integrated between a plurality of applications and terminals of the device are assigned, and divides the tag name into device names and action names, and reads the terminal name assignment table. When the tag name in the terminal name assignment table read by the means is divided into the device name and the action name, and the divided device name is not included in the device name in the integrated terminal name assignment table, the device name Is added to the integrated terminal name assignment table, and when the divided action name is not included in the action name in the integrated terminal name assignment table, the action name is added to the integrated terminal name assignment table. Allocation table management means;
A tag name and, the integrated terminal name assignment pairs a tag name included in Table応付only filter grayed name correlating means in the terminal name allocation table read by the terminal name allocation table reading means,
Terminal name assignment table writing means for writing the contents of the integrated terminal name assignment table associated by the tag name association means to the terminal name assignment table managed by the application;
A tag name sharing apparatus characterized by comprising:
機器および当該機器の状態を特定する定義要素に、人が直感的に理解できる名前であるタグ名を割り付けるとともに、割り付けたタグ名に前記機器の端子名を割り付けた端子名割付表を管理し、前記タグ名の表示または指定によって前記機器の制御、監視、模擬動作等をおこなうアプリケーション間で、前記タグ名を共有化させるタグ名共有化方法において、
前記アプリケーションで管理されている端子名割付表を読み出す端子名割付表読出ステップと、
前記端子名割付表読出ステップによって読み出された端子名割付表内のタグ名を機器名と作用名に分割し、分割した機器名が、複数のアプリケーション間において統合化されたタグ名と前記機器の端子とが割り付けられかつタグ名が機器名と作用名とに分割して管理される統合端子名割付表内の機器名に含まれない場合に、当該機器名を前記統合端子名割付表に追加し、分割した作用名が、前記統合端子名割付表内の作用名に含まれない場合に、当該作用名を前記統合端子名割付表に追加する統合端子名割付表管理ステップと、
前記端子名割付表読出ステップによって読み出された端子名割付表内のタグ名と、前記統合端子名割付表に含まれたタグ名とを対応付けるタグ名対応付けステップと、
前記タグ名対応付けステップにおいて対応付けられた結果を、前記アプリケーションで管理されている端子名割付表に書き込む端子名割付表書込ステップと、
を含んだことを特徴とするタグ名共有化方法。
Assign a tag name, which is a name that can be intuitively understood by humans, to a definition element that identifies the device and the state of the device, and manage a terminal name assignment table in which the terminal name of the device is assigned to the assigned tag name. In a tag name sharing method for sharing the tag name between applications that perform control, monitoring, simulated operation, etc. of the device by displaying or specifying the tag name,
A terminal name assignment table reading step for reading a terminal name assignment table managed by the application;
The tag name in the terminal name assignment table read by the terminal name assignment table reading step is divided into a device name and an action name, and the divided device name is integrated between a plurality of applications and the device name. And the tag name is not included in the device name in the integrated terminal name assignment table managed by dividing the device name into the device name and action name, the device name is stored in the integrated terminal name assignment table. When the added and divided action names are not included in the action names in the integrated terminal name assignment table, an integrated terminal name assignment table management step for adding the action names to the integrated terminal name assignment table;
And tag names in the terminal name allocation table read by the terminal name allocation table reading step, and the integrated terminal name assignment tag name and a pair応付included in Table Keru tag name correspondence step,
A terminal name assignment table writing step of writing the result associated in the tag name association step into the terminal name assignment table managed by the application;
A tag name sharing method characterized by including a tag.
前記請求項2に記載のタグ名共有化方法をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体。  A computer-readable recording medium storing a program for causing a computer to execute the tag name sharing method according to claim 2.
JP2000363720A 2000-11-29 2000-11-29 Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method Expired - Fee Related JP4001458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000363720A JP4001458B2 (en) 2000-11-29 2000-11-29 Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000363720A JP4001458B2 (en) 2000-11-29 2000-11-29 Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method

Publications (2)

Publication Number Publication Date
JP2002163010A JP2002163010A (en) 2002-06-07
JP4001458B2 true JP4001458B2 (en) 2007-10-31

Family

ID=18834786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000363720A Expired - Fee Related JP4001458B2 (en) 2000-11-29 2000-11-29 Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method

Country Status (1)

Country Link
JP (1) JP4001458B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008021156A (en) * 2006-07-13 2008-01-31 Win System:Kk Display device for supervising and controlling
US9811071B2 (en) 2012-11-22 2017-11-07 Mitsubishi Electric Corporation System construction support apparatus

Also Published As

Publication number Publication date
JP2002163010A (en) 2002-06-07

Similar Documents

Publication Publication Date Title
US7747718B2 (en) Control system apparatus, method for setting control system and setting program
US7356773B1 (en) Wizard builder, for application software, building a setup wizard which sets up a defacto interface between the application program and monitoring or control equipment
US20160125037A1 (en) Information processing apparatus, information processing method, information processing program, and storage medium
CN110147241A (en) Program configures update method, electronic device, computer equipment and storage medium
US20090228839A1 (en) Plant information display apparatus and method
CN101414301A (en) Content management system that renders multiple types of data to different applications
JP2004303217A (en) Displaying/editing device, method for displaying, and program product
CN111095195A (en) Controller, control method, and control program
EP1708057A1 (en) Programmable terminal system
US11880625B2 (en) Display device, screen generation method, and screen generation program
JP4462426B2 (en) PLC tool device
JP4001458B2 (en) Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method
US11199993B2 (en) Control system, development assistance device, and development assistance program
JP2011186607A (en) Field device, setting method for the same, field device management method and program
US20160132327A1 (en) Visual tool for reverse engineering software components
JP6385616B1 (en) Display screen creation support apparatus and display screen creation support program
KR100928895B1 (en) Tool generator for control system development
US11215974B2 (en) Factory automation (FA) system, controller, and control method
CN102467090A (en) Measurement resource control method and measurement resource control system
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
KR101784796B1 (en) Network Device Simulation Method
US11921496B2 (en) Information processing apparatus, information processing method and computer readable medium
EP3937024A1 (en) Control system, information processing device, and information processing program
JP2007172128A (en) I/o simulator device
Czauski et al. NERD--No Effort Rapid Development: A Framework for Provisioning Mobile Cloud Industrial Control Applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061110

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

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070814

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

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130824

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees