JP3688518B2 - Process control controller label information processing method - Google Patents

Process control controller label information processing method Download PDF

Info

Publication number
JP3688518B2
JP3688518B2 JP17306899A JP17306899A JP3688518B2 JP 3688518 B2 JP3688518 B2 JP 3688518B2 JP 17306899 A JP17306899 A JP 17306899A JP 17306899 A JP17306899 A JP 17306899A JP 3688518 B2 JP3688518 B2 JP 3688518B2
Authority
JP
Japan
Prior art keywords
label
symbol
management
sheet
pointer
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
JP17306899A
Other languages
Japanese (ja)
Other versions
JP2001005506A (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 JP17306899A priority Critical patent/JP3688518B2/en
Publication of JP2001005506A publication Critical patent/JP2001005506A/en
Application granted granted Critical
Publication of JP3688518B2 publication Critical patent/JP3688518B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式と、任意文字列によるラベル管理方式とを統一的に扱えるようにしたプロセス制御コントローラ用プログラミング装置に関するものである。
【0002】
【従来の技術】
図9は従来のテーブル種別文字およびテーブル内オフセットアドレス形式のラベル名の付け方の例を示す説明図であり、図10は従来のテーブル種別文字およびテーブル内オフセットアドレス形式のラベル管理方式を示す説明図であり、図11は従来の任意文字列によるラベル管理方式を示す説明図である。
【0003】
次に動作について説明する。
従来のプロセス制御コントローラ用プログラミング装置では、プログラム上のシンボルに割付けるラベル名を、テーブル種別文字およびテーブル内オフセットアドレス形式により管理する方式と、任意文字列により管理する方式とがあった。
図9はテーブル種別文字およびテーブル内オフセットアドレス形式のラベル名の付け方の例を示すものであり、1桁の先頭ASCII文字からなるテーブル種別と、4桁の後続数字からなるテーブル内オフセットアドレスとからラベル名が付けられている。
図10はそのラベル名を用いたラベル管理方式を示すものであり、例として、ラベルを管理するAテーブルとDテーブルとを示す。これらのテーブルでは、図9に示したラベル名のテーブル種別(A)にAテーブルが対応しており、また、テーブル内オフセットアドレスにそのAテーブルの先頭アドレスからのオフセットが対応している。さらに、コメント欄が設けられており、これは設定されたラベル名がどのようなものであるのかを示すものである。
これらのテーブルでは、図9に示したラベル名のテーブル種別によって、どのテーブルに対応しているのか指定され、さらに、テーブル内オフセットアドレスによって、対応するテーブル内のオフセットが指定され、所望のラベル名について処理が行われる。
【0004】
図11は任意文字列によるラベル管理方式を示すものであり、ラベル名は、その設定されたラベルの内容に応じた略号を文字列の配列で示したものであり、実デバイスは、情報が格納された物理アドレスであり、コメントは、設定されたラベル名がどのようなものであるのかを示すものである。
所望のラベル名についての検索は、先頭のラベル名から順に検索して、そのラベル名が存在すれば処理が行われる。
これらテーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式と、任意文字列によるラベル管理方式とでは、管理方式が異なるので、それぞれの管理方式毎に別々のラベル管理処理部を設けてラベル管理を行う必要がある。
なお、図11に示した任意文字列によるラベル管理方式に関連する技術文献として、特開平10−260709号公報がある。
【0005】
【発明が解決しようとする課題】
従来のプロセス制御コントローラ用プログラミング装置は以上のように構成されているので、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式と、任意文字列によるラベル管理方式とでは、管理方式が異なるので、それぞれの管理方式毎に別々のラベル管理処理部を製作する必要があった。
また、任意文字列によるラベル管理方式では、ラベル名は、ラベルの内容に応じた略号を文字列の配列で管理されているので、ラベルに関連付けられる情報を検索する際に、先頭のラベル名から順に検索しなくてはならず、さらに、配列についても全て検索する必要があるなどの課題があった。
【0006】
この発明は上記のような課題を解決するためになされたもので、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式と、任意文字列によるラベル管理方式とを統一的に扱えるようにすることにより、ラベルの追加、削除、参照、変更などのラベル管理処理部を共通化し、ラベル管理処理部の開発ボリュームを削減することができるプロセス制御コントローラ用プログラミング装置を得ることを目的とする。
また、この発明はラベルに関連付けられる情報を効率良く検索することができるプロセス制御コントローラ用プログラミング装置を得ることを目的とする。
【0007】
【課題を解決するための手段】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、プログラム上のシンボルに割付けられ、管理ブロック識別子を含む文字列からなるラベル名、物理アドレス、次のラベル名へのポインタを示すラベル情報ポインタを1構成単位としてラベル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のラベル管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のラベル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のラベル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のラベル管理テーブルからラベル情報ポインタによって順番にラベル管理テーブルを検索するステップと、その検索されたラベル管理テーブルのラベル情報を処理するステップとを有するものである。
【0008】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、プログラム上のシンボルに割付けられ、ラベル名、物理アドレスを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のシンボル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって所望のシンボル名に応じたラベル管理テーブルのラベル情報を処理するステップとを有するものである。
【0009】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、プログラム上のシンボルに割付けられ、ラベル名、物理アドレス、シート情報ポインタを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、シンボルが定義されているシート番号、入出力種別、次のシート情報へのポインタを示すシート情報ポインタを1構成単位とし、同一のラベルを複数のシンボルで定義する度にシート情報ポインタに新たなシート情報を連結して管理するシート管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のシンボル名に応じたシート情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって該当するラベル管理テーブルを指定するステップと、その指定されたラベル管理テーブルのシート情報ポインタによって該当するシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの連結して管理されたシート情報を処理するステップとを有するものである。
【0010】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、シート管理テーブルに対応するシンボル名管理テーブルへのシンボル情報ポインタを付加するステップと、シート管理テーブルから対応するシンボル名管理テーブル内のシンボル名を参照するステップとを有するものである。
【0011】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップとを有するものである。
【0012】
この発明に係るプロセス制御コントローラのラベル情報の処理方法は、シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップと、シート切り替え後に連結して管理されたシート管理テーブルのうちの該当するシート番号のシンボルを色替え表示するシンボル色替えるステップとを有するものである。
【0013】
【発明の実施の形態】
以下、この発明の実施の一形態を説明する。
実施の形態1.
図1はこの発明の実施の形態1によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図であり、図において、1はプログラム上のシンボルに割付けられ、1桁の先頭ASCII文字(管理ブロック識別子)および4桁の後続数字の文字列からなるラベル名、そのラベルに対応して設けられ、情報を受け渡すための格納領域の先頭アドレスを示す物理アドレス、設定されたラベル名がどのようなものであるのかを示すコメント、次のラベル名へのポインタを示すラベル情報ポインタを1構成単位としてラベル情報を管理し、それら同一の先頭ASCII文字を有する管理ブロック毎に管理される複数のラベル管理テーブルである。図では、管理ブロック(A)と(D)とを示している。2はラベル管理テーブル1の管理ブロック毎の先頭ASCII文字に対応して、その管理ブロック毎の頭文字ポインタ(先頭ポインタ)を格納する頭文字ポインタテーブル(先頭ポインタテーブル)である。
【0014】
次に動作について説明する。
この実施の形態1では、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式と、任意文字列によるラベル管理方式とを統一的に扱えるようにするラベル管理方式を示すものである。
ここで、シンボルとは、プロセス制御コントローラ用プログラムの単位であり、例えば、図6では2つの矢印により連結された3つのシンボルが画面上に表示されたものを示している。
また、シンボル名とは、プログラム上のシンボルに対してユニークに割付けられた識別子であり、例えば、図3では(A0100−1)などで示されたものである。
さらに、ラベル名とは、プログラム上のシンボルに対して割付けられた識別子であり、例えば、図6では、各シンボルの上に(A0100)などで示されたものである。ここで、シンボル名がシンボルに対してユニークに割付けられているのに対して、ラベル名がシンボルに対してユニークに割付けられていないのは、図6に示すように、入出力を示すシンボルの場合に、入出力に関連する複数のシンボルに対して1つのラベル名(A0300)が割付けられるためである。したがって、ラベルでは、情報を受け渡すための格納領域を管理している。
【0015】
図1において、所望のラベル名が例えば、A0200であって、その所望のラベル名に応じたラベル情報を処理したい場合に、頭文字ポインタテーブル2からその所望のラベル名(A0200)の頭文字ポインタ(A)に対応した管理ブロック(A)の先頭ポインタを抽出して、その抽出された管理ブロック(A)内の先頭のラベル管理テーブル1からラベル情報ポインタによって順番にラベル管理テーブル1を検索して行く。管理ブロック(A)では、2番目のラベル管理テーブル1のラベル名がA0200に相当するので、これで所望のラベル名のラベル管理テーブル1を検索することができる。ラベル管理テーブル1が検索されれば、そのラベル管理テーブル1の物理アドレスなどからラベル情報を処理する。
【0016】
以上のように、この実施の形態1によれば、ラベル名を1桁の先頭ASCII文字および4桁の後続数字の文字列からなるように設定したので、任意の先頭ASCII文字からなる文字列によるラベル管理方式だけでなく、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式でラベル名から物理アドレスが一意に決定可能なラベルも同様にラベル名も文字列と見なして管理することができる。
また、ラベル管理テーブル1の管理ブロック毎の頭文字ポインタを格納する頭文字ポインタテーブル2と、次のラベル名へのポインタを示すラベル情報ポインタを有する管理ブロック毎に管理されるラベル管理テーブル1とにより、ラベルに関連付けられる情報を効率良く検索することができる効果が得られる。
なお、上記実施の形態1では、ラベル名を1桁の先頭ASCII文字および4桁の後続数字の文字列からなるように設定したが、管理ブロック識別子となるASCII文字は何桁でも良く、また、文字列のうちのどの桁に設定するようにしても良い。さらに、ラベル名の文字列は2桁以上であるならば何桁でも良い。
【0017】
実施の形態2.
図2はこの発明の実施の形態2によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図であり、図において、3はラベル管理テーブルであり、図1と異なる点は、ラベル情報ポインタを無くしていることである。
4はプログラム上のシンボルにユニークに割付けられ、1桁の先頭ASCII文字(管理ブロック識別子)および4桁の後続数字の文字列からなるシンボル名、シンボルに割付けられるラベル管理テーブル3へのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一の先頭ASCII文字を有する管理ブロック毎に管理される複数のシンボル名管理テーブルである。
その他の構成は、図1と同一であるので、重複する説明を省略する。
【0018】
次に動作について説明する。
図2において、所望のシンボル名が例えば、A0100−1であって、その所望のシンボル名に応じたラベル情報を処理したい場合に、頭文字ポインタテーブル2からその所望のシンボル名(A0100−1)の頭文字ポインタ(A)に対応した管理ブロック(A)の先頭ポインタを抽出して、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブル4からシンボル情報ポインタによって順番にシンボル名管理テーブル4を検索して行く。管理ブロック(A)では、1番目のシンボル名管理テーブル4のシンボル名がA0100−1に相当するので、そのシンボル名管理テーブル4のラベル情報ポインタによってラベル名がA0100のラベル管理テーブル3を指定し、そのラベル管理テーブル3の物理アドレスなどからラベル情報を処理する。さらに、シンボル名がA0100−1のシンボル名管理テーブル4のシンボル情報ポインタによって次のシンボル名へのポインタを指定し、そのシンボル名がA0100−2のシンボル名管理テーブル4のラベル情報ポインタによってラベル名がA0100のラベル管理テーブル3を指定し、そのラベル管理テーブル3の物理アドレスなどからラベル情報を処理する。
【0019】
以上のように、この実施の形態2によれば、実施の形態1の効果に加えて、シンボルに割付けられるラベル管理テーブル3へのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを有するシンボル名管理テーブル4により、複数のシンボル名、例えば、図2ではA0100−1とA0100−2に対して、同一のラベル、例えば、A0100を割り当てることができる効果が得られる。
【0020】
実施の形態3.
図3はこの発明の実施の形態3によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図であり、図において、5はラベル管理テーブルであり、図2と異なる点は、シート管理テーブルへのポインタを示すシート情報ポインタを加えていることである。
6はシンボルが定義されているシート番号、入出力種別、次のシート情報へのポインタを示すシート情報ポインタを1構成単位とし、同一のラベルを複数のシンボルで定義する度にシート情報ポインタに新たなシート情報を連結して管理するシート管理テーブルである。
その他の構成は、図2と同一であるので、重複する説明を省略する。
【0021】
次に動作について説明する。
図3において、所望のシンボル名が例えば、A0100−1であって、その所望のシンボル名に応じたシート情報を処理したい場合に、まず、頭文字ポインタテーブル2およびシンボル名管理テーブル4を用いて、ラベル名がA0100のラベル管理テーブル3を指定し、そのラベル管理テーブル3の物理アドレスなどからラベル情報を処理するが、これは、実施の形態2と同一である。
この実施の形態3では、そのラベル名がA0100のラベル管理テーブル3のシート情報ポインタによって該当するシート管理テーブル6を指定して、その指定されたシート管理テーブル6のシート番号(1)、入出力種別(入力)を抽出すると共に、そのシート管理テーブル6のシート情報ポインタによって連結して管理されたシート管理テーブル6のシート番号(2)、入出力種別(出力)を抽出する。
これは、例えば図6において、ラベル名がA0100のシート情報を抽出して、そのシート番号がシート1であり、かつ入力を示すシンボルであり、さらに、そのシンボルに連結して管理されたラベル名がA0100のシート情報を抽出して、そのシート番号がシート2であり、かつ出力を示すシンボルであることを示す情報を抽出することができたことを示したものである(図6には具体的に図示せず)。
なお、シート管理テーブル6は、同一のラベルを複数のシンボルで定義する度に、シート情報ポインタに新たなシート情報を連結して管理するものである。
例えば、図3の2番目のシート管理テーブル6のシート情報ポインタは、(0)であり、これは他に連結が無いことを示すものであるが、プログラム設計を進めていく上で、そのシンボルからさらに他のシンボルへの連結が必要になった場合には、その連結先のシンボルに応じたシート管理テーブル6を追加すると共に、(0)であった上記シート情報ポインタをその追加したシート管理テーブル6へのポインタに設定する。
【0022】
以上のように、この実施の形態3によれば、実施の形態1および実施の形態2の効果に加えて、ラベル管理テーブル5にシート管理テーブル6へのポインタを示すシート情報ポインタを加え、また、シート番号、入出力種別、次のシート情報へのポインタを示すシート情報ポインタを有するシート管理テーブル6を備えたので、複数のシンボルで同一ラベルを使用した場合に、対象ラベルのシート情報からどのシートでそのシンボルが使用され、そのシートで入力として使用されているのか出力として使用されているのかという情報を得ることができる。
また、シート管理テーブル6は、同一のラベルを複数のシンボルで定義する度に、シート情報ポインタに新たなシート情報を連結して管理することができる効果が得られる。
【0023】
実施の形態4.
図4はこの発明の実施の形態4によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図であり、図において、7はシート管理テーブルであり、図3と異なる点は、対応するシンボル名管理テーブル4へのシンボル情報ポインタを付加し、シート管理テーブル7から対応するシンボル名管理テーブル4内のシンボル名を参照することができるようにしたものである。
その他の構成は、図3と同一であるので、重複する説明を省略する。
【0024】
以上のように、この実施の形態4によれば、実施の形態1から実施の形態3の効果に加えて、シート管理テーブル7に対応するシンボル名管理テーブル4へのシンボル情報ポインタを付加したことにより、シート管理テーブル7から対応するシンボル名管理テーブル4内のシンボル名を参照することができる効果が得られる。
【0025】
実施の形態5.
図5はこの発明の実施の形態5によるプロセス制御コントローラ用プログラミング装置を示す説明図であり、図において、11はシンボルが選択された時に、そのシンボル名に応じたシート管理テーブル7を指定して、その指定されたシート管理テーブル7の入出力種別が出力であれば、その指定されたシート管理テーブル7に連結して管理されたシート管理テーブル7のシート番号を抽出して表示するシート番号表示手段、12は表示されたシート番号を選択するシート番号選択手段、13は選択されたシート番号へ切り替えるシート切替手段である。
また、図6はプロセス制御コントローラ用プログラムの画面表示例を示す概念図であり、図において、14はシート1の画面表示例、15はシート2の画面表示例である。シート1において、A0100、A0200、A0300そのものは、それぞれラベル名、14aは入力を示すシンボル、14bは演算処理などを示すシンボル、14cは出力を示すシンボルであり、出力先がシート2であることを示している。また、シート2において、A0300、A0400、A0500そのものは、それぞれラベル名、15aは入力を示すシンボルであり、入力元がシート1であることを示している。15bは演算処理などを示すシンボル、15cは出力を示すシンボルである。
【0026】
次に動作について説明する。
図6において、例えば、ラベル名(A0300)を、一方のシート1では出力を示すシンボル14cとして使用し、もう一方のシート2では入力を示すシンボル15aとして使用している場合、一方のシンボル14cまたはシンボル15aを選択した場合に、シート番号表示手段11により、他方のシート番号を実施の形態3または実施の形態4の管理情報より抽出して、図6に示すように、その抽出された他方のシート番号を表示する。
図6では、他方のシート番号が1つしか示されていないが、実施の形態3または実施の形態4にも示したように、他のシンボルへの連結は、必要に応じて2つ以上に増加することもできるので、シート番号表示手段11では、それら全ての連結されるシンボルへのシート番号を表示する。
そして、シート番号選択手段12により、それら表示されたシート番号のうちの1つを選択すれば、シート切替手段13により、その選択されたシート番号へ画面表示を切り替える。
【0027】
以上のように、この実施の形態5によれば、シート番号表示手段11により、全ての連結されるシンボルへのシート番号を表示し、シート番号選択手段12により、それら表示されたシート番号のうちの1つを選択すれば、シート切替手段13により、その選択されたシート番号へ画面表示を切り替えることができる効果が得られる。
【0028】
実施の形態6.
図7はこの発明の実施の形態6によるプロセス制御コントローラ用プログラミング装置を示す説明図であり、図において、16はシート切り替え後に連結して管理されたシート管理テーブル7のうちの該当するシート番号のシンボルを色替え表示するシンボル色替え手段である。
その他の構成は、図5と同一であるので、重複する説明を省略する。
【0029】
次に動作について説明する。
図8はプロセス制御コントローラ用プログラムの画面表示例を示す概念図であり、シート番号表示手段11、シート番号選択手段12、およびシート切替手段13の機能については同一であり、その選択されたシート番号へ画面表示を切り替える。ここで、シンボル色替え手段16は、実施の形態4に示した、シート管理テーブル7のシンボル情報ポインタにより、シート管理テーブル7から対応するシンボル名管理テーブル4内のシンボル名を参照することができる機能を利用して、切り替えられたシートの連結されるシンボルを色替え表示する。
【0030】
以上のように、この実施の形態6によれば、シンボル色替え手段16により、切り替えられたシートの連結されるシンボルを色替え表示することができる効果が得られる。
【0031】
【発明の効果】
以上のように、この発明によれば、プログラム上のシンボルに割付けられ、管理ブロック識別子を含む文字列からなるラベル名、物理アドレス、次のラベル名へのポインタを示すラベル情報ポインタを1構成単位としてラベル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のラベル管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のラベル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のラベル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のラベル管理テーブルからラベル情報ポインタによって順番にラベル管理テーブルを検索するステップと、その検索されたラベル管理テーブルのラベル情報を処理するステップとを有するように構成したので、任意の文字列によるラベル管理方式だけでなく、テーブル種別文字およびテーブル内オフセットアドレス形式によるラベル管理方式でラベル名から物理アドレスが一意に決定可能なラベルも同様にラベル名も文字列と見なして管理することができ、ラベル管理処理部の開発ボリュームを削減することができる。また、ラベルに関連付けられる情報を効率良く検索することができる効果が得られる。
【0032】
また、この発明によれば、プログラム上のシンボルに割付けられ、ラベル名、物理アドレスを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のシンボル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって所望のシンボル名に応じたラベル管理テーブルのラベル情報を処理するステップとを有するように構成したので、複数のシンボル名に対して、同一のラベルを割り当てることができる効果が得られる。
【0033】
さらに、この発明によれば、プログラム上のシンボルに割付けられ、ラベル名、物理アドレス、シート情報ポインタを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、シンボルが定義されているシート番号、入出力種別、次のシート情報へのポインタを示すシート情報ポインタを1構成単位とし、同一のラベルを複数のシンボルで定義する度にシート情報ポインタに新たなシート情報を連結して管理するシート管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラ用プログラミング装置において、所望のシンボル名に応じたシート情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって該当するラベル管理テーブルを指定するステップと、その指定されたラベル管理テーブルのシート情報ポインタによって該当するシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの連結して管理されたシート情報を処理するステップとを有するように構成したので、複数のシンボルで同一ラベルを使用した場合に、対象ラベルのシート情報からどのシートでそのシンボルが使用され、そのシートで入力として使用されているのか出力として使用されているのかという情報を得ることができる。
また、シート管理テーブルは、同一のラベルを複数のシンボルで定義する度に、シート情報ポインタに新たなシート情報を連結して管理することができる効果が得られる。
【0034】
さらに、この発明によれば、シート管理テーブルに対応するシンボル名管理テーブルへのシンボル情報ポインタを付加するステップと、シート管理テーブルから対応するシンボル名管理テーブル内のシンボル名を参照するステップとを有するように構成したので、シート管理テーブルから対応するシンボル名管理テーブル内のシンボル名を参照することができる効果が得られる。
【0035】
さらに、この発明によれば、シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップとを有するように構成したので全ての連結されるシンボルへのシート番号を表示し、それら表示されたシート番号のうちの1つを選択すればその選択されたシート番号へ画面表示を切り替えることができる効果が得られる。
【0036】
さらに、この発明によれば、シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップと、シート切り替え後に連結して管理されたシート管理テーブルのうちの該当するシート番号のシンボルを色替え表示するシンボル色替えるステップとを有するように構成したので、切り替えられたシートの連結されるシンボルを色替え表示することができる効果が得られる。
【図面の簡単な説明】
【図1】 この発明の実施の形態1によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図である。
【図2】 この発明の実施の形態2によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図である。
【図3】 この発明の実施の形態3によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図である。
【図4】 この発明の実施の形態4によるプロセス制御コントローラ用プログラミング装置によるラベル管理方式を示す説明図である。
【図5】 この発明の実施の形態5によるプロセス制御コントローラ用プログラミング装置を示す説明図である。
【図6】 プロセス制御コントローラ用プログラムの画面表示例を示す概念図である。
【図7】 この発明の実施の形態6によるプロセス制御コントローラ用プログラミング装置を示す説明図である。
【図8】 プロセス制御コントローラ用プログラムの画面表示例を示す概念図である。
【図9】 従来のテーブル種別文字およびテーブル内オフセットアドレス形式のラベル名の付け方の例を示す説明図である。
【図10】 従来のテーブル種別文字およびテーブル内オフセットアドレス形式のラベル管理方式を示す説明図である。
【図11】 従来の任意文字列によるラベル管理方式を示す説明図である。
【符号の説明】
1,3,5 ラベル管理テーブル、2 頭文字ポインタテーブル(先頭ポインタテーブル)、4 シンボル名管理テーブル、6,7 シート管理テーブル、11 シート番号表示手段、12 シート番号選択手段、13 シート切替手段、16 シンボル色替え手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a programming device for a process control controller that can uniformly handle a label management system based on table type characters and in-table offset address formats and a label management system based on an arbitrary character string.
[0002]
[Prior art]
FIG. 9 is an explanatory diagram showing an example of how to assign a label name in the conventional table type character and in-table offset address format, and FIG. 10 is an explanatory diagram showing a conventional label management method in the table type character and in-table offset address format. FIG. 11 is an explanatory view showing a conventional label management method using an arbitrary character string.
[0003]
Next, the operation will be described.
In a conventional process control controller programming device, there are a method of managing a label name assigned to a symbol on a program by a table type character and an offset address format in a table, and a method of managing by an arbitrary character string.
FIG. 9 shows an example of how to assign a label name in the table type character and the offset address format in the table. From the table type consisting of the first ASCII character of 1 digit and the offset address in the table consisting of the subsequent digit of 4 digits. A label name is given.
FIG. 10 shows a label management method using the label name, and shows an A table and a D table for managing labels as an example. In these tables, the A table corresponds to the table type (A) of the label name shown in FIG. 9, and the offset from the head address of the A table corresponds to the offset address in the table. Further, a comment field is provided, which indicates what the set label name is.
In these tables, the table type corresponding to the label name shown in FIG. 9 is specified, and further, the offset in the corresponding table is specified by the offset address in the table, and the desired label name Is processed.
[0004]
FIG. 11 shows a label management method using an arbitrary character string. The label name indicates an abbreviation corresponding to the set label content in an array of character strings. The actual device stores information. The comment indicates what the set label name is.
The search for a desired label name is performed in order from the first label name, and if the label name exists, processing is performed.
Since the label management method using the table type character and offset address format in the table and the label management method using an arbitrary character string are different from each other, a separate label management processing unit is provided for each management method. There is a need to do.
As a technical document related to the label management method using an arbitrary character string shown in FIG. 11, there is JP-A-10-260709.
[0005]
[Problems to be solved by the invention]
Since the conventional process control controller programming device is configured as described above, the label management method based on the table type character and the offset address format in the table differs from the label management method based on the arbitrary character string. It was necessary to produce a separate label management processing unit for each management method.
In the label management method using arbitrary character strings, the label name is managed by an array of character strings with abbreviations corresponding to the contents of the label, so when searching for information associated with the label, There was a problem that it was necessary to search in order, and it was necessary to search all the sequences.
[0006]
The present invention has been made to solve the above-described problems, and is capable of uniformly handling a label management method based on table type characters and in-table offset address format and a label management method based on an arbitrary character string. Accordingly, an object of the present invention is to provide a process control controller programming device that can reduce the development volume of a label management processing unit by sharing a label management processing unit for adding, deleting, referencing, and changing labels.
Another object of the present invention is to obtain a process control controller programming device capable of efficiently retrieving information associated with a label.
[0007]
[Means for Solving the Problems]
Process control controller according to the present invention The label information processing method is a label information that is assigned to a symbol on a program and includes a label name consisting of a character string including a management block identifier, a physical address, and a label information pointer indicating a pointer to the next label name as one constituent unit. A plurality of label management tables managed for each management block having the same management block identifier, and a head that stores a head pointer for each management block corresponding to the management block identifier for each management block In a process control controller programming device having a pointer table, when label information corresponding to a desired label name is to be processed, a management block corresponding to a management block identifier of the desired label name from the head pointer table Extracting the first pointer of the A retrieving the label management table in order, and processing the label information of the retrieved label management table by the head of the label information pointer from the label management table in the management block corresponding to the head pointer that is Is.
[0008]
Process control controller according to the present invention The label information processing method is assigned to a symbol on a program, a plurality of label management tables for managing label information with a label name and a physical address as one structural unit, and a unique assignment to a symbol on a program, and a management block Managing symbol information with a symbol name consisting of a character string including an identifier, a label information pointer indicating a pointer to the label management table assigned to the symbol, and a symbol information pointer indicating a pointer to the next symbol name as one constituent unit, A plurality of symbol name management tables managed for each management block having the same management block identifier, and a head pointer table for storing a head pointer for each management block corresponding to the management block identifier for each management block; For process control controller with In the logging device, when label information corresponding to a desired symbol name is to be processed, a step of extracting a management block head pointer corresponding to the management block identifier of the desired symbol name from the head pointer table; A step of retrieving the symbol management table in order from the first symbol name management table in the management block corresponding to the extracted first pointer by the symbol information pointer, and a desired symbol name by the label information pointer of the retrieved symbol management table Processing the label information of the label management table according to Is.
[0009]
Process control controller according to the present invention In the label information processing method, a plurality of label management tables that are assigned to symbols on a program and manage label information with a label name, a physical address, and a sheet information pointer as one constituent unit, and a sheet number in which the symbol is defined A sheet information pointer indicating the input / output type and the pointer to the next sheet information is used as one unit, and each time the same label is defined by a plurality of symbols, new sheet information is linked to the sheet information pointer and managed. A management table, a symbol name that is uniquely assigned to a symbol on the program and includes a management block identifier, a label information pointer indicating a pointer to the label management table assigned to the symbol, and a pointer to the next symbol name The symbol information pointer that indicates A plurality of symbol name management tables managed for each management block having the same management block identifier, and a head for storing a head pointer for each management block corresponding to the management block identifier for each management block In a process control controller programming device having a pointer table, when sheet information corresponding to a desired symbol name is to be processed, a management block corresponding to a management block identifier of the desired symbol name from the head pointer table A step of extracting the first pointer of the symbol, a step of searching the symbol management table in order by the symbol information pointer from the first symbol name management table in the management block corresponding to the extracted first pointer, and the management of the retrieved symbol Table label A step of designating the corresponding label management table by the information pointer, a step of designating the corresponding sheet management table by the sheet information pointer of the designated label management table, and the designated sheet management table are concatenated and managed. Processing the processed sheet information Is.
[0010]
Process control controller according to the present invention The label information processing method includes a step of adding a symbol information pointer to the symbol name management table corresponding to the sheet management table, and a step of referring to the symbol name in the corresponding symbol name management table from the sheet management table. Is.
[0011]
Process control controller according to the present invention When a symbol is selected, the label information processing method is designated if the sheet management table corresponding to the symbol name is specified and the input / output type of the specified sheet management table is output. Extracting and displaying the sheet number of the sheet management table managed by being linked to the sheet management table, selecting the displayed sheet number, and switching to the selected sheet number Is.
[0012]
Process control controller according to the present invention When a symbol is selected, the label information processing method is designated if the sheet management table corresponding to the symbol name is specified and the input / output type of the specified sheet management table is output. Extracting and displaying the sheet number of the sheet management table managed linked to the sheet management table, selecting the displayed sheet number, switching to the selected sheet number, and after sheet switching A symbol color changing step for changing the color of the symbol of the corresponding sheet number in the linked sheet management table. Is.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below.
Embodiment 1 FIG.
FIG. 1 is an explanatory view showing a label management method by a programming device for a process control controller according to Embodiment 1 of the present invention. In FIG. 1, 1 is assigned to a symbol on a program and a first ASCII character (management block) is assigned. Identifier) and a label name consisting of a character string of four digits following, a physical address indicating the start address of the storage area provided for that label, and for passing information, and what the set label name is A plurality of label managements managed for each management block having the same first ASCII character, managing the label information with a comment indicating whether or not and a label information pointer indicating a pointer to the next label name as one constituent unit It is a table. In the figure, management blocks (A) and (D) are shown. Reference numeral 2 denotes an initial pointer table (first pointer table) that stores an initial pointer (first pointer) for each management block corresponding to the first ASCII character for each management block in the label management table 1.
[0014]
Next, the operation will be described.
In the first embodiment, a label management system that can handle the label management system based on the table type character and the offset address format in the table and the label management system based on an arbitrary character string in a unified manner is shown.
Here, the symbol is a unit of the process control controller program. For example, in FIG. 6, three symbols connected by two arrows are displayed on the screen.
Further, the symbol name is an identifier uniquely assigned to a symbol on the program, for example, (A0100-1) in FIG.
Furthermore, the label name is an identifier assigned to a symbol on the program. For example, in FIG. 6, the label name is indicated by (A0100) on each symbol. Here, the symbol name is uniquely assigned to the symbol, but the label name is not uniquely assigned to the symbol, as shown in FIG. In this case, one label name (A0300) is assigned to a plurality of symbols related to input / output. Therefore, the label manages a storage area for transferring information.
[0015]
In FIG. 1, when a desired label name is, for example, A0200, and it is desired to process label information corresponding to the desired label name, the initial pointer of the desired label name (A0200) is obtained from the initial pointer table 2. The head pointer of the management block (A) corresponding to (A) is extracted, and the label management table 1 is searched in order by the label information pointer from the head label management table 1 in the extracted management block (A). Go. In the management block (A), since the label name of the second label management table 1 corresponds to A0200, the label management table 1 having a desired label name can be searched for. If the label management table 1 is searched, the label information is processed from the physical address of the label management table 1 or the like.
[0016]
As described above, according to the first embodiment, the label name is set to be composed of a character string consisting of a one-digit first ASCII character and a four-digit subsequent numeral, and therefore, according to a character string composed of an arbitrary first ASCII character. Not only the label management method but also the label whose physical address can be uniquely determined from the label name by the label management method using the table type character and the offset address format in the table can be managed by regarding the label name as a character string.
Also, an initial pointer table 2 for storing an initial pointer for each management block of the label management table 1, and a label management table 1 managed for each management block having a label information pointer indicating a pointer to the next label name, As a result, it is possible to efficiently retrieve information associated with the label.
In the first embodiment, the label name is set to be composed of a 1-digit first ASCII character and a 4-digit subsequent numeric character string. However, the ASCII character as the management block identifier may have any number of digits. Any digit in the character string may be set. Further, the character string of the label name may have any number of digits as long as it has two or more digits.
[0017]
Embodiment 2. FIG.
FIG. 2 is an explanatory view showing a label management method by the process control controller programming device according to the second embodiment of the present invention. In FIG. 2, 3 is a label management table. The difference from FIG. It is lost.
4 is uniquely assigned to a symbol on the program, and indicates a symbol name consisting of a 1-digit first ASCII character (management block identifier) and a 4-digit subsequent character string, and a pointer to the label management table 3 assigned to the symbol. The symbol information pointer is a plurality of symbol name management tables managed for each management block having the same first ASCII character, managing the symbol information with a label information pointer and a symbol information pointer indicating a pointer to the next symbol name as one constituent unit. .
Other configurations are the same as those in FIG.
[0018]
Next, the operation will be described.
In FIG. 2, when the desired symbol name is, for example, A0100-1, and it is desired to process the label information corresponding to the desired symbol name, the desired symbol name (A0100-1) is read from the initial pointer table 2. The first pointer of the management block (A) corresponding to the first letter pointer (A) of the management block (A) is extracted, and the symbol information pointer is sequentially used from the first symbol name management table 4 in the management block corresponding to the extracted first pointer. The symbol name management table 4 is searched. In the management block (A), since the symbol name of the first symbol name management table 4 corresponds to A0100-1, the label management pointer 3 of the symbol name management table 4 designates the label management table 3 whose label name is A0100. The label information is processed from the physical address of the label management table 3. Further, a pointer to the next symbol name is designated by the symbol information pointer in the symbol name management table 4 whose symbol name is A0100-1, and the label name is designated by the label information pointer in the symbol name management table 4 whose symbol name is A0100-2. Designates the label management table 3 of A0100, and processes the label information from the physical address of the label management table 3 and the like.
[0019]
As described above, according to the second embodiment, in addition to the effects of the first embodiment, the label information pointer indicating the pointer to the label management table 3 assigned to the symbol and the pointer to the next symbol name are indicated. The symbol name management table 4 having the symbol information pointer provides an effect that the same label, for example, A0100 can be assigned to a plurality of symbol names, for example, A0100-1 and A0100-2 in FIG.
[0020]
Embodiment 3 FIG.
FIG. 3 is an explanatory diagram showing a label management system by the process control controller programming device according to the third embodiment of the present invention. In FIG. 3, reference numeral 5 denotes a label management table. The difference from FIG. The sheet information pointer indicating the pointer is added.
6 is a sheet information pointer indicating the sheet number, input / output type, and pointer to the next sheet information in which one symbol is defined as one constituent unit, and is newly added to the sheet information pointer every time the same label is defined by a plurality of symbols. This is a sheet management table for concatenating and managing various sheet information.
Other configurations are the same as those in FIG.
[0021]
Next, the operation will be described.
In FIG. 3, when a desired symbol name is, for example, A0100-1, and sheet information corresponding to the desired symbol name is to be processed, first, the initial character pointer table 2 and the symbol name management table 4 are used. The label management table 3 whose label name is A0100 is specified, and the label information is processed from the physical address of the label management table 3, etc., which is the same as in the second embodiment.
In the third embodiment, the corresponding sheet management table 6 is designated by the sheet information pointer of the label management table 3 whose label name is A0100, the sheet number (1) of the designated sheet management table 6, and the input / output The type (input) is extracted, and the sheet number (2) and the input / output type (output) of the sheet management table 6 managed by being linked by the sheet information pointer of the sheet management table 6 are extracted.
For example, in FIG. 6, the sheet information whose label name is A0100 is extracted, the sheet number is sheet 1, and is a symbol indicating input, and further, the label name managed by being linked to the symbol Shows that the sheet information of A0100 has been extracted, and the information indicating that the sheet number is sheet 2 and that it is a symbol indicating the output has been extracted (FIG. 6 shows a specific example). Not shown).
The sheet management table 6 manages new sheet information linked to the sheet information pointer every time the same label is defined by a plurality of symbols.
For example, the sheet information pointer of the second sheet management table 6 in FIG. 3 is (0), which indicates that there is no other connection. However, as the program design proceeds, its symbol When it is necessary to link to another symbol from the sheet, a sheet management table 6 corresponding to the symbol to which the link is to be added is added, and the sheet information pointer which is (0) is added to the sheet management. Set as a pointer to table 6.
[0022]
As described above, according to the third embodiment, in addition to the effects of the first and second embodiments, a sheet information pointer indicating a pointer to the sheet management table 6 is added to the label management table 5, and , A sheet management table 6 having a sheet information pointer indicating a sheet number, an input / output type, and a pointer to the next sheet information, so when the same label is used for a plurality of symbols, it is determined from the sheet information of the target label. The symbol is used in the sheet, and it is possible to obtain information as to whether the symbol is used as input or output as the sheet.
In addition, the sheet management table 6 has an effect that new sheet information can be linked and managed each time the same label is defined by a plurality of symbols.
[0023]
Embodiment 4 FIG.
FIG. 4 is an explanatory diagram showing a label management method by the process control controller programming device according to the fourth embodiment of the present invention. In FIG. 4, reference numeral 7 denotes a sheet management table. The difference from FIG. A symbol information pointer to the management table 4 is added so that the symbol name in the corresponding symbol name management table 4 can be referred to from the sheet management table 7.
Other configurations are the same as those in FIG.
[0024]
As described above, according to the fourth embodiment, in addition to the effects of the first to third embodiments, the symbol information pointer to the symbol name management table 4 corresponding to the sheet management table 7 is added. As a result, it is possible to refer to the symbol names in the corresponding symbol name management table 4 from the sheet management table 7.
[0025]
Embodiment 5 FIG.
FIG. 5 is an explanatory diagram showing a process control controller programming device according to Embodiment 5 of the present invention. In FIG. 5, when a symbol is selected, a sheet management table 7 corresponding to the symbol name is designated. If the input / output type of the designated sheet management table 7 is output, the sheet number display for extracting and displaying the sheet number of the sheet management table 7 managed by being linked to the designated sheet management table 7 Means 12 is a sheet number selecting means for selecting the displayed sheet number, and 13 is a sheet switching means for switching to the selected sheet number.
FIG. 6 is a conceptual diagram showing a screen display example of the process control controller program. In the figure, 14 is a screen display example of sheet 1 and 15 is a screen display example of sheet 2. In sheet 1, A0100, A0200, and A0300 themselves are label names, 14a is a symbol indicating input, 14b is a symbol indicating arithmetic processing, 14c is a symbol indicating output, and the output destination is sheet 2. Show. In sheet 2, A0300, A0400, and A0500 themselves are label names, 15a is a symbol indicating input, and the input source is sheet 1. 15b is a symbol indicating arithmetic processing, and 15c is a symbol indicating output.
[0026]
Next, the operation will be described.
In FIG. 6, for example, when the label name (A0300) is used as a symbol 14c indicating output in one sheet 1 and used as a symbol 15a indicating input in the other sheet 2, one symbol 14c or When the symbol 15a is selected, the other sheet number is extracted from the management information of the third or fourth embodiment by the sheet number display means 11, and the other extracted number is displayed as shown in FIG. Displays the sheet number.
In FIG. 6, only one sheet number on the other side is shown, but as shown in the third embodiment or the fourth embodiment, the connection to other symbols may be made to two or more as necessary. Since the number can be increased, the sheet number display means 11 displays the sheet numbers for all of the connected symbols.
When the sheet number selection unit 12 selects one of the displayed sheet numbers, the sheet switching unit 13 switches the screen display to the selected sheet number.
[0027]
As described above, according to the fifth embodiment, the sheet number display means 11 displays the sheet numbers for all connected symbols, and the sheet number selection means 12 displays the sheet numbers. If one of these is selected, an effect is obtained that the sheet switching means 13 can switch the screen display to the selected sheet number.
[0028]
Embodiment 6 FIG.
FIG. 7 is an explanatory diagram showing a process control controller programming device according to Embodiment 6 of the present invention. In FIG. 7, reference numeral 16 denotes a corresponding sheet number in the sheet management table 7 which is connected and managed after sheet switching. It is a symbol color changing means for changing the symbol color.
Other configurations are the same as those in FIG.
[0029]
Next, the operation will be described.
FIG. 8 is a conceptual diagram showing a screen display example of the process control controller program. The functions of the sheet number display means 11, the sheet number selection means 12, and the sheet switching means 13 are the same, and the selected sheet number. Switch the screen display to. Here, the symbol color changing means 16 can refer to the symbol name in the corresponding symbol name management table 4 from the sheet management table 7 by the symbol information pointer of the sheet management table 7 shown in the fourth embodiment. Using the function, the connected symbols of the switched sheets are displayed in different colors.
[0030]
As described above, according to the sixth embodiment, it is possible to obtain an effect that the symbol color changing unit 16 can change and display the symbols connected to the switched sheets.
[0031]
【The invention's effect】
As described above, according to the present invention, Label information is managed by using a label information pointer assigned to a symbol on a program and including a label name consisting of a character string including a management block identifier, a physical address, and a pointer to the next label name as one unit, and the same management block Process control comprising a plurality of label management tables managed for each management block having an identifier, and a head pointer table for storing a head pointer for each management block corresponding to the management block identifier for each management block A step of extracting a head pointer of a management block corresponding to a management block identifier of the desired label name from the head pointer table when label information corresponding to the desired label name is to be processed in the controller programming device; Corresponds to the extracted first pointer A retrieving the label management table sequentially from the start of label management table managed in the block by the label information pointer that, and processing the label information of the retrieved label management table Since the label management method is based not only on any character string, but also on the label management method based on the table type character and the offset address format in the table, the label whose physical address can be uniquely determined from the label name is the same. It can be managed as a character string, and the development volume of the label management processing unit can be reduced. Moreover, the effect that the information linked | related with a label can be searched efficiently is acquired.
[0032]
Moreover, according to this invention, A symbol consisting of a character string including a management block identifier and a plurality of label management tables that are assigned to symbols on the program and manage label information with a label name and physical address as one component unit, and a symbol on the program A symbol information is managed with a name, a label information pointer indicating a pointer to the label management table assigned to the symbol, and a symbol information pointer indicating a pointer to the next symbol name as one constituent unit, and management having the same management block identifier Programming for process control controller comprising a plurality of symbol name management tables managed for each block and a head pointer table for storing the head pointer for each management block corresponding to the management block identifier for each management block In the equipment When label information corresponding to a desired symbol name is to be processed, a step of extracting a management block head pointer corresponding to the management block identifier of the desired symbol name from the head pointer table, and the extracted head A step of searching the symbol management table in order by the symbol information pointer from the head symbol name management table in the management block corresponding to the pointer, and a label corresponding to the desired symbol name by the label information pointer of the searched symbol management table Processing the label information of the management table. With this configuration, the same label can be assigned to a plurality of symbol names.
[0033]
Furthermore, according to the present invention, Multiple label management tables that are assigned to symbols on the program and manage label information with the label name, physical address, and sheet information pointer as one component, the sheet number, symbol type, and next sheet in which the symbol is defined A sheet management table for managing a new sheet information linked to a sheet information pointer each time a same label is defined by a plurality of symbols, and a symbol on a program, with a sheet information pointer indicating a pointer to information as one constituent unit A symbol name consisting of a character string including a management block identifier, a label information pointer indicating a pointer to the label management table allocated to the symbol, and a symbol information pointer indicating a pointer to the next symbol name Symbol information is managed as a unit, and these same management blocks are managed. A plurality of symbol name management tables managed for each management block having a block identifier, and a head pointer table for storing a head pointer for each management block corresponding to the management block identifier for each management block. In a process control controller programming device, when sheet information corresponding to a desired symbol name is to be processed, the head pointer of the management block corresponding to the management block identifier of the desired symbol name is extracted from the head pointer table. A step of searching the symbol management table in order from the first symbol name management table in the management block corresponding to the extracted first pointer by the symbol information pointer, and the label information pointer of the retrieved symbol management table Applicable A step of designating a label management table, a step of designating a corresponding sheet management table by a sheet information pointer of the designated label management table, and sheet information managed by concatenating the designated sheet management table Processing step If the same label is used for multiple symbols, which sheet is used from the sheet information of the target label, and whether the symbol is used as input or output as that sheet Can be obtained.
In addition, the sheet management table provides an effect that new sheet information can be managed by connecting to the sheet information pointer every time the same label is defined by a plurality of symbols.
[0034]
Furthermore, according to the present invention, Adding a symbol information pointer to a symbol name management table corresponding to the sheet management table, and referring to a symbol name in the corresponding symbol name management table from the sheet management table. With this configuration, it is possible to refer to the symbol name in the corresponding symbol name management table from the sheet management table.
[0035]
Furthermore, according to the present invention, When a symbol is selected, a step for specifying a sheet management table corresponding to the symbol name and if the input / output type of the specified sheet management table is output, it is linked to the specified sheet management table. Extracting and displaying the sheet number of the managed sheet management table, selecting the displayed sheet number, and switching to the selected sheet number Because it was configured as , Displays the sheet number for all connected symbols , That If you select one of the displayed sheet numbers , An effect is obtained in which the screen display can be switched to the selected sheet number.
[0036]
Furthermore, according to the present invention, When a symbol is selected, if the input / output type of the specified sheet management table is output, the step of specifying the sheet management table according to the symbol name is linked to the specified sheet management table. A step of extracting and displaying the sheet number of the managed sheet management table, a step of selecting the displayed sheet number, a step of switching to the selected sheet number, and a sheet management managed by concatenation after sheet switching A symbol color changing step for changing the color of the symbol corresponding to the sheet number in the table. With this configuration, it is possible to obtain an effect that the symbols connected to the switched sheets can be displayed in different colors.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a label management method by a process control controller programming device according to Embodiment 1 of the present invention;
FIG. 2 is an explanatory diagram showing a label management method by a process control controller programming device according to Embodiment 2 of the present invention;
FIG. 3 is an explanatory diagram showing a label management method by a process control controller programming device according to Embodiment 3 of the present invention;
FIG. 4 is an explanatory diagram showing a label management method by a process control controller programming device according to Embodiment 4 of the present invention;
FIG. 5 is an explanatory diagram showing a process control controller programming device according to a fifth embodiment of the present invention;
FIG. 6 is a conceptual diagram showing a screen display example of a process control controller program.
FIG. 7 is an explanatory diagram showing a process control controller programming device according to Embodiment 6 of the present invention;
FIG. 8 is a conceptual diagram showing a screen display example of a process control controller program.
FIG. 9 is an explanatory diagram showing an example of how to assign a label name in a conventional table type character and in-table offset address format;
FIG. 10 is an explanatory diagram showing a conventional label management method of table type characters and in-table offset address format.
FIG. 11 is an explanatory diagram showing a conventional label management method using an arbitrary character string.
[Explanation of symbols]
1, 3, 5 Label management table, 2 initial pointer table (head pointer table), 4 symbol name management table, 6, 7 sheet management table, 11 sheet number display means, 12 sheet number selection means, 13 sheet switching means, 16 Symbol color changing means.

Claims (6)

プログラム上のシンボルに割付けられ、管理ブロック識別子を含む文字列からなるラベル名、物理アドレス、次のラベル名へのポインタを示すラベル情報ポインタを1構成単位としてラベル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のラベル管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラにおいて、所望のラベル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のラベル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のラベル管理テーブルからラベル情報ポインタによって順番にラベル管理テーブルを検索するステップと、その検索されたラベル管理テーブルのラベル情報を処理するステップとを有するプロセス制御コントローラのラベル情報の処理方法Label information is managed by using a label information pointer assigned to a symbol on a program and including a label name consisting of a character string including a management block identifier, a physical address, and a pointer to the next label name as one unit, and the same management block Process control comprising a plurality of label management tables managed for each management block having an identifier, and a head pointer table for storing a head pointer for each management block corresponding to the management block identifier for each management block In the controller, when the label information corresponding to the desired label name is to be processed, the step of extracting the management block head pointer corresponding to the management block identifier of the desired label name from the head pointer table, and the extraction In the management block corresponding to the first pointer Steps and the processing method of the label information of the process controller and a step of processing the label information of the retrieved label management table to find the label management table sequentially from the head of the label management table by the label information pointer. プログラム上のシンボルに割付けられ、ラベル名、物理アドレスを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラにおいて、所望のシンボル名に応じたラベル情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって所望のシンボル名に応じたラベル管理テーブルのラベル情報を処理するステップとを有するプロセス制御コントローラのラベル情報の処理方法A symbol consisting of a character string including a management block identifier and a plurality of label management tables that are assigned to symbols on the program and manage label information with a label name and physical address as one component unit, and a symbol on the program A symbol information is managed with a name, a label information pointer indicating a pointer to the label management table assigned to the symbol, and a symbol information pointer indicating a pointer to the next symbol name as one constituent unit, and management having the same management block identifier In a process control controller comprising a plurality of symbol name management tables managed for each block and a head pointer table for storing a head pointer for each management block corresponding to the management block identifier for each management block, To the desired symbol name When the label information processed Flip was, and extracting the head pointer of the management block corresponding to the management block identifier of the desired symbol name from the head pointer table, the management corresponding to the extracted head pointer A step of searching the symbol management table in order from the first symbol name management table in the block by the symbol information pointer, and label information of the label management table corresponding to the desired symbol name by the label information pointer of the searched symbol management table processing method of the label information of the process controller and a step of processing. プログラム上のシンボルに割付けられ、ラベル名、物理アドレス、シート情報ポインタを1構成単位としてラベル情報を管理する複数のラベル管理テーブルと、シンボルが定義されているシート番号、入出力種別、次のシート情報へのポインタを示すシート情報ポインタを1構成単位とし、同一のラベルを複数のシンボルで定義する度にシート情報ポインタに新たなシート情報を連結して管理するシート管理テーブルと、プログラム上のシンボルにユニークに割付けられ、管理ブロック識別子を含む文字列からなるシンボル名、シンボルに割付けられる上記ラベル管理テーブルへのポインタを示すラベル情報ポインタ、次のシンボル名へのポインタを示すシンボル情報ポインタを1構成単位としてシンボル情報を管理し、それら同一管理ブロック識別子を有する管理ブロック毎に管理される複数のシンボル名管理テーブルと、上記管理ブロック毎の上記管理ブロック識別子に対応して、その管理ブロック毎の先頭ポインタを格納する先頭ポインタテーブルとを備えたプロセス制御コントローラにおいて、所望のシンボル名に応じたシート情報を処理対象とする場合に、上記先頭ポインタテーブルからその所望のシンボル名の管理ブロック識別子に対応した管理ブロックの先頭ポインタを抽出するステップと、その抽出された先頭ポインタに該当する管理ブロック内の先頭のシンボル名管理テーブルからシンボル情報ポインタによって順番にシンボル管理テーブルを検索するステップと、その検索されたシンボル管理テーブルのラベル情報ポインタによって該当するラベル管理テーブルを指定するステップと、その指定されたラベル管理テーブルのシート情報ポインタによって該当するシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの連結して管理されたシート情報を処理するステップとを有するプロセス制御コントローラのラベル情報の処理方法Multiple label management tables that are assigned to symbols on the program and manage label information with the label name, physical address, and sheet information pointer as one component, the sheet number, symbol type, and next sheet in which the symbol is defined A sheet management table for managing a new sheet information linked to a sheet information pointer each time a same label is defined by a plurality of symbols, and a symbol on a program, with a sheet information pointer indicating a pointer to information as one constituent unit A symbol name consisting of a character string including a management block identifier, a label information pointer indicating a pointer to the label management table allocated to the symbol, and a symbol information pointer indicating a pointer to the next symbol name Symbol information is managed as a unit, and these same management blocks are managed. A plurality of symbolic names management table managed for each management block having a click identifier, corresponding to the management block identifier for each said control block, and a head pointer table for storing the head pointer for each its management block In the process control controller, when sheet information corresponding to a desired symbol name is to be processed, a step of extracting a management block head pointer corresponding to a management block identifier of the desired symbol name from the head pointer table; A step of retrieving the symbol management table in order from the first symbol name management table in the management block corresponding to the extracted first pointer by the symbol information pointer, and a label corresponding to the label information pointer of the retrieved symbol management table Management table A step of designating the steps of: treating the step of designating the sheet management table corresponding the sheet information pointer of the specified label management table, a linked sheet information managed by the designated sheet management table A method for processing label information of a process control controller. シート管理テーブルに対応するシンボル名管理テーブルへのシンボル情報ポインタを付加するステップと、シート管理テーブルから対応するシンボル名管理テーブル内のシンボル名を参照するステップとを有することを特徴とする請求項3記載のプロセス制御コントローラのラベル情報の処理方法4. A step of adding a symbol information pointer to a symbol name management table corresponding to the sheet management table, and a step of referring to a symbol name in the corresponding symbol name management table from the sheet management table. A method of processing label information of the described process control controller. シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップとを有することを特徴とする請求項3または請求項4記載のプロセス制御コントローラのラベル情報の処理方法When a symbol is selected, a step for specifying a sheet management table corresponding to the symbol name and if the input / output type of the specified sheet management table is output, it is linked to the specified sheet management table. a step of extracting and displaying sheet number of managed sheet management table, and selecting the displayed sheet number, claim 3 or claim, characterized in that it comprises a step of switching to the selected sheet number Item 5. A method for processing label information of a process control controller according to Item 4. シンボルが選択された時に、そのシンボル名に応じたシート管理テーブルを指定するステップと、その指定されたシート管理テーブルの入出力種別が出力であれば、その指定されたシート管理テーブルに連結して管理されたシート管理テーブルのシート番号を抽出して表示するステップと、表示されたシート番号を選択するステップと、選択されたシート番号へ切り替えるステップと、シート切り替え後に連結して管理されたシート管理テーブルのうちの該当するシート番号のシンボルを色替え表示するシンボル色替えるステップとを有することを特徴とする請求項4記載のプロセス制御コントローラのラベル情報の処理方法When a symbol is selected, a step for specifying a sheet management table corresponding to the symbol name and if the input / output type of the specified sheet management table is output, it is linked to the specified sheet management table. a step of extracting and displaying sheet number of managed sheet management table, and selecting the displayed sheet number, and the step of switching to the selected sheet number, the sheet management are managed linked after the sheet switch corresponding processing method label information of the process controller of claim 4, wherein the symbols of the sheet numbers and wherein a call and a step of obtaining the symbol color change to display color change of the table.
JP17306899A 1999-06-18 1999-06-18 Process control controller label information processing method Expired - Lifetime JP3688518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17306899A JP3688518B2 (en) 1999-06-18 1999-06-18 Process control controller label information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17306899A JP3688518B2 (en) 1999-06-18 1999-06-18 Process control controller label information processing method

Publications (2)

Publication Number Publication Date
JP2001005506A JP2001005506A (en) 2001-01-12
JP3688518B2 true JP3688518B2 (en) 2005-08-31

Family

ID=15953624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17306899A Expired - Lifetime JP3688518B2 (en) 1999-06-18 1999-06-18 Process control controller label information processing method

Country Status (1)

Country Link
JP (1) JP3688518B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5205988B2 (en) * 2008-01-28 2013-06-05 株式会社明電舎 PLC global variable definition method

Also Published As

Publication number Publication date
JP2001005506A (en) 2001-01-12

Similar Documents

Publication Publication Date Title
US20020111933A1 (en) Multilingual system having dynamic language selection
US20030167286A1 (en) Information processing apparatus
JP2005519370A (en) Effective storage of indented threads in threaded discussion applications
WO1996007131A1 (en) Method of generating operation button for computer process, data retrieval method by the operation button and display method of the operation button
JP3688518B2 (en) Process control controller label information processing method
JP2000339327A (en) System for operating thumbnail image
CN112988142A (en) Attribute table generation method and device
JPH08305617A (en) File display system and method therefor
GB2254467A (en) Electronic register
JPH03147181A (en) Object reference processing system
JP4792635B2 (en) Catalog placement position assignment system
JPH09204465A (en) Organization chart output device
JPH1027239A (en) Electronic filing device
JPH09147027A (en) Change output device
JPH10171838A (en) System for processing data
JP4177148B2 (en) Flyer / catalog creation support system
WO2021218496A1 (en) Commodity marking method, commodity exhibiting method, server, terminal, and commodity exhibiting system
JPH02101578A (en) Picture retrieving device
JPH0237466A (en) Information processing system
JPH0895997A (en) Method for retrieving data with operating button for computer processing
JP2609680B2 (en) Data registration device
JPH04184570A (en) Block diagram drawing device
JP2702416B2 (en) Method of generating operation button for computer processing and method of storing selected state of operation button
JPH10283318A (en) Method for displaying processing task selection screen and client data base
JPH0476773A (en) Map retrieving device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050303

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050608

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3688518

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080617

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130617

Year of fee payment: 8

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term