JP4043742B2 - Ladder monitor device, program thereof, and recording medium - Google Patents

Ladder monitor device, program thereof, and recording medium Download PDF

Info

Publication number
JP4043742B2
JP4043742B2 JP2001274327A JP2001274327A JP4043742B2 JP 4043742 B2 JP4043742 B2 JP 4043742B2 JP 2001274327 A JP2001274327 A JP 2001274327A JP 2001274327 A JP2001274327 A JP 2001274327A JP 4043742 B2 JP4043742 B2 JP 4043742B2
Authority
JP
Japan
Prior art keywords
ladder
screen
display
variable
monitor
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
JP2001274327A
Other languages
Japanese (ja)
Other versions
JP2003084811A (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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2001274327A priority Critical patent/JP4043742B2/en
Publication of JP2003084811A publication Critical patent/JP2003084811A/en
Application granted granted Critical
Publication of JP4043742B2 publication Critical patent/JP4043742B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、視認性を損なうことなくラダーモニタ画面を表示可能なラダーモニタ装置、並びに、それを実現するためのプログラムおよび記録媒体に関するものである。
【0002】
【従来の技術】
従来から、例えば、デバイスの状態に異常が発生した際に異常の原因となるデバイスを特定するために、ラダーモニタ画面を表示可能な装置(ラダーモニタ装置)が用いられている。当該ラダーモニタ装置は、プログラマブル・ロジック・コントローラ(以下、PLCと略称する)など、デバイスを制御する制御装置の制御プログラムをラダー図として表示すると共に、ラダー図中の各ラダー記号の表示方法によって、それぞれに対応するデバイスの状態を表示できる。
【0003】
これにより、ラダーモニタ装置のユーザは、ラダー記号の表示方法によって、各デバイスの状態を把握すると共に、ラダー記号の接続関係によって、各デバイスの制御手順を把握し、状態が異常となったデバイスの制御に関係するデバイス群を推定できる。この結果、異常が検出されたデバイスと、異常の原因となったデバイスとが異なっている場合であっても、原因となるデバイスを特定し、当該デバイスを操作したり、交換するなどして、正常状態に復帰させることができる。
【0004】
【発明が解決しようとする課題】
しかしながら、例えば、プログラマブル表示器など、現場に設置される表示装置をラダーモニタ装置としても使用する場合など、画面の解像度が十分でない場合には、同時表示可能なラダー記号数が少なくなり、各デバイス間の相互関係の把握が難しくなる虞れがある。
【0005】
また、例えば、ラダー記号に対応するデバイス名など、それに付随する情報と、ラダー記号とをラダーモニタ画面に全て表示する際、各デバイス間の相互関係が把握できる程度に多くのラダー記号を表示できるように、画面全体を縮小表示すると、画面の解像度が十分でない場合、これらの情報が読み取れなくなってしまう。
【0006】
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、ラダーモニタの視認性を低下させることなく、デバイスの相互関係と、個々のデバイスの状態とを的確に把握可能なラダーモニタ装置を実現することにある。
【0007】
【課題を解決するための手段】
本発明に係るラダーモニタ装置は、上記の課題を解決するために、デバイスを制御する際の制御プログラムをラダー図として表示すると共に、ラダー記号に対応するデバイスの状態に応じてラダー記号の表示方法を変更するラダーモニタ手段を有するラダーモニタ装置において、画面上の領域と当該領域への表示に対応するデバイスとの対応関係を示すタグを組み合わせて構成された画面データに基づいて、デバイスの状態を画面表示する際の動作を特定するプログラマブル表示器であり、上記プログラマブル表示器のHMI処理手段は、上記デバイスの状態を取得し、それに応じて、変数メモリに格納された変数のうち、当該デバイスに関連付けられた変数の内容を更新すると共に、上記タグによって上記領域に対応付けられたデバイスに関連付けられた変数の内容を変数メモリから読み出し、内容に応じた部品図形を表示することによって、上記デバイスの状態を示す操作画面を表示し、上記HMI処理手段は、上記変数メモリに格納された変数が予め設定されたプログラムの演算結果に関連付けられている場合、当該プログラムに従って上記変数メモリの変数の内容を演算した結果を、当該プログラムに関連付けられた変数の内容として設定可能であり、さらに、上記ラダーモニタ装置は、ラダー記号と共に、当該ラダー記号に関連する詳細情報を併記する詳細画面と、当該詳細情報の一部または全部を省略して、詳細画面で表示されるラダー記号よりも多くのラダー記号を概略表示する概略画面とを、上記ラダーモニタ手段に切り換え表示させる表示制御手段を備え、上記ラダーモニタ手段によって表示されるラダーモニタ画面の起動、および、ラダーモニタ画面に対する操作は、上記デバイスラダーモニタ装置の記憶領域または上記プログラムの演算結果に関連付け可能なラダーモニタ変数に対応付けられており、上記表示制御手段は、ラダーモニタ変数の内容に応じて、ラダーモニタ画面の表示を制御し、さらに、HMI処理手段は、上記画面データに基づいてデバイスの状態を示す操作画面を表示している間に、画面の4隅の領域のうちの任意の3点が押されると、上記画面データに基づいて、メニュー表示が指示されたと判断して、操作画面の一部にメニューを表示すると共に、当該メニューのうち、上記ラダーモニタ画面の表示を指示するボタンが押されると、上記ラダーモニタ装置の記憶領域のうち、上記ラダーモニタ変数の領域と関連付けられている記憶領域に、当該ボタンが操作されたことを記憶して、上記ラダーモニタ画面を起動させることを特徴としている。
【0009】
さらに、本発明に係るラダーモニタ装置は、上記構成に加えて、上記詳細画面として、ラダー記号に対応付けられたデバイスの状態の文字表示、デバイスの名称およびデバイスのアドレスを、当該ラダー記号に併記して表示することを特徴としている。
【0010】
上記構成において、ラダーモニタ手段は、表示制御手段が概略画面表示を指示している場合、ラダー記号に関連する詳細情報の一部または全部を省略して、詳細情報全てを併記する詳細画面表示の場合よりも多くのラダー記号を表示する。これにより、ラダーモニタ装置のユーザは、あるデバイスの状態が異常な場合、各ラダー記号の表示方法で、ラダー記号に対応する各デバイスの状態の概略を把握すると共に、各ラダー記号同士の相互関係を把握できるので、異常の原因となるデバイスを推測しやすい。
【0011】
ここで、概略画面では、詳細画面と比較して、より多くのラダー記号がデバイスの状態に応じた表示方法で表示されているが、詳細情報の一部または全部の表示が省略されている。したがって、ユーザは、デバイスの相互関係をより的確に把握でき、詳細情報を取得すべきデバイスを的確に発見できる。
【0012】
なお、全詳細情報を含む画面全体を縮小表示する場合には、デバイスの相互関係を把握できる程度に、多くのラダー記号を表示しようとして、縮小率を大きくすると、詳細情報が読めなくなる虞れがある。この場合、詳細情報の表示領域が無駄になるので、画面が見にくくなってしまう。ところが、上記構成では、詳細情報の一部または全部の表示が省略されているので、多くのラダー記号を表示しても、ラダーモニタの視認性低下を防止できる。
【0013】
一方、表示制御手段によって、詳細画面への切り換えが指示されると、ラダーモニタ手段は、例えば、ラダー記号の状態を示す文字列や、ラダー記号に対応するデバイスの名称、あるいは、デバイスのアドレスなど、ラダー記号に関連する詳細情報全てを、各ラダー記号に併記して表示する。これにより、ラダーモニタ装置のユーザは、全ての詳細情報に基づいて、当該ラダー記号に対応するデバイスが異常の原因か否かを的確に判断できる。また、全ての詳細情報が表示されているので、詳細情報が表示されていない場合や一部のみが表示されている場合に比べて、異常から復帰する手順を把握しやすい。
【0014】
なお、詳細画面では、概略画面と比較して、より多くの詳細情報が表示されているが、概略画面よりも少ないラダー記号しか表示されていない。したがって、ユーザは、概略画面表示の際と同じ広さの画面に表示する場合であっても、個々のデバイスの状態をより的確に把握できる。
【0015】
このように、デバイスの相互関係を把握しやすい概略画面と、個々のデバイスの状態を詳細画面とを切り換えできるので、ラダーモニタの視認性を低下させることなく、デバイスの相互関係と、個々のデバイスの状態とを的確に把握できる。
【0016】
さらに、本発明に係るラダーモニタ装置は、上記構成において、上記表示制御手段は、概略画面で表示されるラダー記号が選択された場合、当該ラダー記号を含む詳細画面を表示することを特徴としている。
【0017】
上記構成によれば、概略画面上で選択されたラダー記号を含む詳細画面が表示されるので、例えば、ラダー記号に対応するデバイスの名称で指定する場合など、他の方法で指定する場合よりも容易に、全詳細情報と共に表示すべきラダー記号を選択できる。
【0018】
また、本発明に係るラダーモニタ装置は、上記構成において、上記制御プログラムに応じて、デバイスを制御する制御手段と、各デバイスの状態に応じた表示方法の図形で、各デバイスの状態を表示すると共に、当該図形に対する操作を受け付けると、操作に応じたデバイスの制御を上記制御手段に指示する操作手段とを備えていることを特徴としている。
【0019】
上記構成によれば、制御システムにおいて、必須の手段、すなわち、制御装置としての制御手段、および、HMI(Human Machine Interface )としての操作手段を備えた装置が、ラダーモニタ装置としても動作する。したがって、異常が発生した場合、現場に新たな機器を持ち込むことなく、ラダーモニタによって異常なデバイスを特定できる。この結果、正常動作に復帰するまでの時間を短縮できる。
【0020】
ところで、上記ラダーモニタ装置は、ハードウェアで実現してもよいし、プログラムをコンピュータに実行させて実現してもよい。具体的には、本発明に係るプログラムは、上記ラダーモニタ装置の各手段としてコンピュータを動作させるプログラムであり、本発明に係る記録媒体には、当該プログラムが記録されている。
【0021】
これらのプログラムが上記コンピュータで実行されると、当該コンピュータは、上記ラダーモニタ装置として動作する。したがって、上記と同様に、ラダーモニタの視認性を低下させることなく、デバイスの相互関係と、個々のデバイスの状態とを的確に把握できる。
【0022】
【発明の実施の形態】
本発明の一実施形態について図1ないし図10に基づいて説明すると以下の通りである。すなわち、本実施形態に係る制御システム1は、現場に新たな機器を持ち込むことなく、ユーザが所望するトリガでラダーモニタ画面を表示し、表示制御可能なシステムであって、図1に示すように、例えば、ベルトコンベアー式の自動組付機など、ターゲットシステム2のデバイス2aを制御するために用いられている。
【0023】
上記制御システム1には、上記デバイス2aを制御する制御装置としてのPLC11と、多くの場合、制御対象近傍に配されると共に、制御システム1のHMIとして、デバイス2aの状態を表示し、オペレータによるデバイス2aへの操作を受け付けるプログラマブル表示器12とを備えている。また、本実施形態に係るプログラマブル表示器12は、詳細は後述するように、PLCとしての機能も備えており、それぞれに対応するPLC11だけではなく、自らが制御するデバイス2aにも直接接続されている。
【0024】
さらに、本実施形態に係る制御システム1では、各プログラマブル表示器12は、イーサネット(登録商標)などのLAN(ローカルエリアネットワーク)13によって互いに接続されている。また、上記LAN13には、多くの場合、プログラマブル表示器12よりも離れた場所から、制御システム1全体を管理する制御用ホストコンピュータ14が接続されている。
【0025】
なお、上記各プログラマブル表示器12は、シリアルケーブルなどを介して、それぞれに対応するPLC11と接続されている。また、図1では、説明の便宜上、LAN13にプログラマブル表示器12が2台接続され、各プログラマブル表示器12には、PLC11およびデバイス2aがそれぞれ1台ずつ接続されると共に、各PLC11にデバイス2aが1台接続されている場合を例示しているが、当然ながら、それぞれの接続台数は任意に設定できる。
【0026】
また、デバイスは、デバイスアドレスにより特定可能で、しかも、状態を取得したり、制御(変更)できるものであれば、例えば、デバイス2a自体であってもよいし、例えば、PLC11やプログラマブル表示器12の記憶装置など、制御システム1に設けられた記憶装置の一領域を示していてもよい。
【0027】
ここで、上記制御システム1では、制御システム1に必須の構成であり、しかも、HMIとして動作するため、演算能力に余力のあるプログラマブル表示器12が通信の大半を処理するように構成されている。さらに、各プログラマブル表示器12は、自らに接続されているPLC11の機種に固有の専用プロトコルと、LAN13での共通プロトコルとを変換して、他のプログラマブル表示器12や制御用ホストコンピュータ14と、PLC11との通信を中継する。なお、共通プロトコルと専用プロトコルとの間のプロトコル変換には、同じ指示に同じコードが割り当てられるように予め定められた共通のコマンドと上記共通のコマンドに対応するPLC11固有のコマンドとの間の変換や、データやアドレスの表現方法の変換、デバイスアドレスと、当該デバイスアドレスに対応し、しかも、デバイスアドレスとは異なる値に設定可能な変数や変数の名称(変数名)との変換なども含まれる。
【0028】
これにより、プログラマブル表示器12および制御用ホストコンピュータ14は、他のプログラマブル表示器12に接続されているPLC11の機種に拘らず、LAN13を介して共通のプロトコルで通信できる。この結果、互いに異なる機種のPLC11の混在する制御システム1が比較的容易に実現されている。
【0029】
上記プログラマブル表示器12は、後述する画面データに基づいて、デバイスの状態を画面表示する際の動作や、画面への操作に応じてデバイスの状態を制御する際の動作を特定するものであって、PLC11と通信するPLC・IF部21と、上記LAN13に接続するためのLAN・IF部22と、例えば、液晶表示装置などからなるディスプレイ23と、ディスプレイ23の画面上に配されたタッチパネル24と、上記各部材21〜24を制御するHMI処理部25と、当該HMI処理部25によって参照され、上記画面データおよび後述する変数が格納される画面メモリ26および変数メモリ27とを備えている。なお、上記HMI処理部25がおよび後述のデバイス制御部33が特許請求の範囲に記載の操作手段および制御手段にそれぞれ対応する。
【0030】
上記画面データは、画面上の領域と、当該領域への表示や入力に対応するデバイスとの対応関係を示すタグを組み合わせて構成されている。本実施形態では、HMI処理部25が複数の単位画面を切り換え表示可能であり、上記タグは、当該タグが有効となる単位画面を示すファイル番号と、単位画面上で実行すべき動作内容を特定する事象名と、各事象毎に参照される参照情報とを含んでいる。
【0031】
例えば、上記タグが所定の画面領域(表示座標範囲)へ所定のデバイスの状態に応じた部品図形を表示する表示タグの場合、上記参照情報には、表示座標範囲と、デバイスを特定可能な変数(後述)と、例えば、部品図形がスイッチの場合、ONを示す図形のファイルおよびOFFを示す図形のファイルなど、表示時に参照するファイル番号とが含まれる。さらに、タグが入力タグの場合、参照情報として、有効入力座標範囲と、入力結果が書き込まれるデバイスの変数とが含まれる。
【0032】
また、変数メモリ27には、図2に示すように、各変数について、変数の名称(変数名)と、変数に対応するデバイス2aまたは内部メモリを特定するための情報(例えば、アドレスなど)と、変数の内容との組み合わせが記憶されている。なお、本実施形態では、変数に対応するデバイス2aの機種に拘わらず、変数の内容を格納する際の表現方法(例えば、ワード長や符号の有無、あるいは、BCD/2進表記など)が予め定められた表現方法に統一されており、変数が実在のデバイス2aに対応する場合、変数メモリ27には、実際の機種での表現方法も機能されている。この場合、HMI処理部25は、PLC・IF部21を介してデバイス2aの状態を取得あるいは制御する際、表現方法を形式変換して、格納時の表現方法を統一する。
【0033】
一方、上記HMI処理部25は、所定の時間間隔で、画面メモリ26に格納された画面データから、ベース画面のファイル番号が、現在表示中のベース画面である表示タグを抽出する。さらに、HMI処理部25は、変数メモリ27を参照して、タグに対応する変数の内容を読み出し、内容に応じた部品図形をディスプレイ23に表示する。ここで、PLC・IF部21に接続されたPLC11により制御されるデバイス2aに、上記変数が対応している場合、HMI処理部25は、PLC・IF部21によるPLC11との通信によって、デバイス2aの状態を取得し、上記変数の内容を当該状態に応じて更新している。これにより、ディスプレイ23には、デバイス2aの状態が表示される。
【0034】
なお、変数が他のプログラマブル表示器12に接続されたPLC11によって制御されるデバイス2aの場合、HMI処理部25は、LAN・IF部22、LAN13および他のプログラマブル表示器12を介して当該PLC11と通信するなどして、デバイスの状態を取得し、それに応じて変数の内容を更新する。
【0035】
また、タッチパネル24への押し操作など、オペレータの入力操作を受け付けると、HMI処理部25は、上記画面データから、現在表示中のベース画面に対応し、当該入力操作にマッチする入力タグを検索すると共に、入力結果に応じて、タグに対応する変数の内容を更新する。さらに、HMI処理部25は、デバイス2aの状態を取得する場合と略同様に、PLC11やプログラマブル表示器12と通信するなどして、上記変数の内容に応じて、デバイス2aの状態を制御させる。ここで、入力操作の後も、HMI処理部25は、デバイス2aの状態を画面表示するので、操作結果が画面表示に反映される。
【0036】
加えて、HMI処理部25は、例えば、他のプログラマブル表示器12や制御用ホストコンピュータ14など、LAN13に接続された機器から自らに接続されたPLC11のデバイス2aへの制御指示を受け取った場合や、これとは逆に、上記機器へ報告すべきデバイス2aの状態を自らのPLC11から受け取った場合には、上述したプロトコル変換によって、LAN13での通信、および、PLC11との通信の間を中継できる。
【0037】
さらに、本実施形態に係るプログラマブル表示器12は、PLCとしても動作するために、デバイス2aに接続するためのIO・IF部31と、制御プログラムなどを記憶する制御用ファイルメモリ32と、当該制御プログラムに基づいて、IO・IF部31に接続されたデバイス2aを制御するデバイス制御部33とを備えている。
【0038】
本実施形態に係るデバイス制御部33は、制御プログラムにおいて、制御対象を変数で特定可能なPLCであって、例えば、数十msなど、予め定められた長さの走査期間(スキャンタイム)毎に、各デバイス2aの状態を読み出し、各デバイス2aに対応する変数の内容として、変数メモリ27に格納する。
【0039】
さらに、デバイス制御部33は、変数メモリ27に格納された各変数の内容を参照しながら、制御用ファイルメモリ32の制御プログラムが示す各命令を順次実行する。ここで、各命令では、図3に示すラダープログラムのように、各命令語Cα…の制御対象(オペランド)を変数で指定可能であり、各命令の実行に伴なって、各変数の内容は更新される。さらに、エンド命令が実行され、制御プログラムの実行が終了すると、デバイス制御部33は、変数メモリ27に格納された各変数のうち、IO・IF部31に接続されたデバイス2aに対応する変数の内容を各デバイス2aに書き込む。これにより、デバイス制御部33は、PLCと同様に、ユーザが作成した制御プログラムに従い、デバイス2aの状態に応じて各デバイス2aを制御できる。
【0040】
なお、上述したように、変数の内容を格納する際の表現方法が統一されているので、デバイス制御部33は、IO・IF部31を介してデバイス2aと通信する際、表現方法を形式変換して、格納時の表現方法を統一する。
【0041】
さらに、本実施形態に係るプログラマブル表示器12は、ラダーモニタ装置としての機能も有しており、例えば、あるデバイス2aの状態が異常な場合に、その異常の原因となるデバイス2aを特定する際などに好適に用いられるラダーモニタ画面を表示するために、上記HMI処理部25およびデバイス制御部33を連携動作させるコントロール−HMI処理部(ラダーモニタ手段および表示制御手段)41を備えている。さらに、上記変数メモリ27には、ラダーモニタに関する変数(ラダーモニタ変数)を格納する領域42が設けられている。なお、上記制御用ファイルメモリ32には、制御プログラムのOPコード(命令語)およびオペランドだけではなく、例えば、変数の情報、ジャンプ先のラベル、各ラダー記号がどのように接続されるかを示す情報や、ラング番号など、制御プログラムに応じたラダー図を表示するための情報も記憶されている。
【0042】
ここで、ラダー図は、例えば、図4に示すように、接点やコイル、カウンタなど、図形やその他の形式で表された機能ブロックとしてのラダー記号(Iα…)と、これらに関連するラベルとからなる1または複数のネットワーク(L1…)を、左右の母線(La・Lb)内に記述した図であって、配置されているラダー記号の種類と、各ラダー記号の接続関係とによって、制御手順を図示できると共に、例えば、形状や色あるいは点滅の有無など、ラダー記号の表示形式で、デバイス2aの現在の制御状態も表示できる。
【0043】
例えば、図4および図5のラダー図は、上記図3にてラダープログラムとして記載された制御プログラムを図示したものであって、ロードを示すラダー記号Iαが、アンドを示すラダー記号Iβ、および、インクリメントを示すラダー記号Iγを介して、母線Lbに接続されている。したがって、これらのラダー記号Iα〜Iγと、各ラダー記号Iα〜Iγの接続関係とによって、命令語Cα〜Cγに対応する制御手順、すなわち、ラダー記号Iαに対応するデバイスがオン状態で、しかも、ラダー記号Iβに対応するデバイスがオン状態の場合、カウンタをインクリメントするという手順を記述できる。
【0044】
また、図4のラダー図では、ロードを示すラダー記号IαおよびIδがオフ状態を示す形状で記述されているのに対して、図5のラダー図では、両ラダー記号Iα、Iδがオン状態を示す形状で記述されている。したがって、図4および図5に示すラダー図からは、制御手順だけではなく、デバイスの制御状態、すなわち、図4の場合は、ラダー記号IαおよびIδに対応するデバイスがオフ状態であり、図5の場合は、ラダー記号IαおよびIδに対応するデバイスがオン状態であることも読み取れる。また、母線La・LbやネットワークL1…のうち、導電部分は、太く描画されている。なお、図3ないし図6では、例えば、命令語Cαとラダー記号Iαとのように、互いに対応するもの同士に、互いに同じギリシャ文字を付している。
【0045】
さらに、本実施形態に係るコントロール−HMI処理部41は、ラダーモニタ画面として上記ラダー図を表示する際、図4および図5に示すように、ラダーモニタ画面を操作するためのボタンB1〜B41も合わせて表示するよう、HMI処理部25へ指示する。ここで、上記ボタンB1は、ラダーモニタの終了を指示するボタンであり、ボタンB11は、ネットワークL1…の番号(ラング番号)を指示するボタンである。また、ボタンB21〜B24は、制御プログラムに応じたラダー図全体のうちのラダーモニタ画面中に表示する領域の移動(スクロール)を指示するボタンであり、それぞれ、左右上下方向に対応している。さらに、ボタンB31は、移動の単位をページ単位とするかラング単位とするかを指示するボタンであり、ボタンB41は、ラダー図中に数値を表示する際、10進表示するか16進表示するかの切り換えを指示するボタンである。
【0046】
一方、変数メモリ27のラダーモニタ変数を記憶する領域42には、ラダーモニタ変数の内容を記憶する領域として、図6に示すように、ラダーモニタ画面の表示開始/終了を指示するためのビット領域M1と、ラダー図の左右上下方向のスクロールを指示するためのビット領域M21〜M24と、スクロールの単位を指示するためのビット領域M31と、ラダー図において、数値を表示する際、10進で表示するか16進で表示するかを示すビット領域M41とが設けられている。
【0047】
上記構成において、例えば、制御用ホストコンピュータ14の作画エディタなどによって、プログラマブル表示器12用の画面データが作成される。また、制御用ホストコンピュータ14の制御プログラムエディタなどによって、プログラマブル表示器12のデバイス制御部33用の制御プログラムを含む制御用ファイルが作成される。上記各エディタでは、タグや制御プログラムにて、操作や参照の対象となるデバイスを指定する際、デバイスに対応する変数が生成され、当該変数で指定される。
【0048】
さらに、上記各エディタなどによって、各変数が実際のデバイス2aなどと関連付けられる。なお、変数には、実際のデバイス2aだけではなく、プログラマブル表示器12の記憶領域や、マクロの演算結果を関連付けることができる。この場合、HMI処理部25は、予め設定されたプログラム(マクロ)に従って、変数メモリ27の変数の内容を演算した結果を、マクロに関連付けられた変数の内容に設定できる。
【0049】
また、画面表示や操作あるいは制御に関連する変数の場合と同様に、上記各エディタによって、ラダーモニタ変数は、トリガとなる事象、すなわち、デバイス2aやプログラマブル表示器12の記憶領域またはマクロと関連付けられる。
【0050】
ここで、上記各エディタでは、デバイスのアドレスを指定するのではなく、デバイスを変数で指定している。したがって、実際のデバイス2aと変数との対応は、プログラマブル表示器12が動作を開始するまでに関連付ければよく、実際のアドレスが決まっていない段階でも、画面や制御手順を設計できる。また、デバイス2aの変更などによって、実際のアドレスが変更されたとしても、画面データおよび制御プログラムにおいて、当該デバイス2aに関連する箇所全てを変更する必要がなく、変数とアドレスとの関連付けを変更するだけでよい。
【0051】
画面データ、制御プログラムおよび変数の関連付けが完成すると、これらのデータは、プログラマブル表示器12に伝送され、画面メモリ26、制御用ファイルメモリ32および変数メモリ27に格納される。なお、上記では、説明の便宜上、画面データ、制御プログラムおよび変数の関連付けの順で説明したが、プログラマブル表示器12に格納されるまでに、これらのデータが設定されれば、順序が異なっていてもよい。
【0052】
さらに、プログラマブル表示器12は、上記制御プログラムに基づいて、IO・IF部31に接続されたデバイス2aを制御すると共に、上記画面データに基づいて、操作画面を表示する。ここで、コントロール−HMI処理部41は、ラダーモニタ変数の内容がラダーモニタの起動を示す値(図6に示す領域M1がON)になるか否かを監視しており、当該値が起動を示す値になるまでの間、ラダーモニタを起動しない。したがって、操作画面の表示およびデバイス2aの制御は、ラダーモニタ画面表示のトリガとなる事象が発生するまでの間、繰り返される。
【0053】
一例として、上記変数の関連付けによって、ラダーモニタ変数のうちの上記領域M1が、IO・IF部31に接続されたデバイス2aのON/OFFに関連付けられていた場合、デバイス制御部33は、デバイス2aのON/OFFに応じて、領域M1を更新している。したがって、当該デバイス2aがON状態となったときに、領域M1の値がONとなる。
【0054】
このように、ラダーモニタ画面表示のトリガとなる事象が発生し、上記領域M1の値がONになると、コントロール−HMI処理部41は、図7に示すステップ1(以下では、S1のように略称する)において、HMI処理部25へ指示して、ラダーモニタの概略画面を表示させる。
【0055】
具体的には、コントロール−HMI処理部41は、画面データのうち、予めラダーモニタ用に用意された画面を表示するよう、HMI処理部25へ指示する。これにより、図4および図5に示すように、各ボタンB1〜B41が表示される。さらに、コントロール−HMI処理部41は、制御用ファイルメモリ32の内容を解析して、制御プログラムが示すラダー図に含まれるラダー記号、および、各ラダー記号間の接続関係を把握し、上記ラダー図を表示するよう、HMI処理部25へ指示する。
【0056】
より詳細には、コントロール−HMI処理部41は、制御用ファイルに基づいて、ラダー図を表示するために必要な変数を特定する。また、コントロール−HMI処理部41は、これらの各変数について、デバイス制御部33へ変数名を通知し、デバイス制御部33から、変数メモリ27のアドレスのうち、当該変数名の変数の内容が格納されたアドレスを受け取る。さらに、コントロール−HMI処理部41は、当該アドレスへアクセスして、変数の内容を取得する。
【0057】
また、各変数の内容が取得できると、コントロール−HMI処理部41は、各変数の内容に応じた表示形式で、各変数に対応するラダー記号を表示するよう、HMI処理部25へ指示する。
【0058】
ここで、各デバイス2aに対応する変数の内容は、HMI処理部25またはデバイス制御部33によって更新されており、変数の内容取得および内容に応じた表示指示は、終了が指示されるまで、予め定めれた周期で繰り返される。これにより、ディスプレイ23には、図4または図5などに示すように、デバイス2aの状態に応じたラダー図が表示される。
【0059】
また、上記画面データでは、各ボタンB1〜B41が表示されており、HMI処理部25は、各ボタンB1〜B41が操作された場合、ラダーモニタ変数のうち、それぞれに対応する領域M1〜M41を変更する。一方、コントロール−HMI処理部41は、ラダーモニタ変数の内容を常時監視しており、内容に応じて、ラダーモニタ画面をスクロールしたり、ラダーモニタ画面に表示する数値の表現方法を変更する。
【0060】
ここで、概略画面では、後述の詳細画面と異なり、ラダー記号に対応するデバイス2aの名称やアドレスなど、各ラダー記号の詳細情報の表示が省略されている代わりに、より多くのラダー記号が表示されている。また、ラダー記号に対応するデバイス2aの状態は、ラダー記号の表示方法によって提示されている。したがって、ユーザは、当該概略画面によって、デバイス2aの状態の概略を把握できる。
【0061】
また、より多くのラダー記号が表示されているので、各ラダー記号間の接続関係を把握しやすく、あるデバイス2aの状態が異常な場合、その状態異常に関連するデバイス2a群を容易に把握できる。この結果、当該状態異常の原因となったデバイス2aを推測しやすい。この結果、不具合が発生したデバイス2aとは異なるデバイス2aにて異常が検出された場合でも、不具合が発生したデバイス2aを特定しやすい。
【0062】
ここで、上記詳細情報を含むラダー図全体を縮小表示する場合には、概略画面と同じ程度の数のラダー記号を表示しようとすると、縮小率が高くなり、詳細情報が潰れて読み取れなくなる虞れがある。この場合は、詳細情報が縮小表示されているにも拘らず、この表示領域が無駄になり、ラダー記号が示すデバイス2aの状態やラダー記号の相互関係の把握を妨げてしまう。
【0063】
これに対して、概略表示では、詳細情報の表示が省略されているので、視認性を低下させることなく、上記デバイス2aの状態や相互関係をユーザに提示できる。
【0064】
一方、ユーザは、概略画面の表示中に、異常の原因となったデバイス2aが推測された場合など、詳細情報を表示したいラダー記号が決まると、例えば、タッチパネル24への操作などによって、所望のラダー記号を指定する。
【0065】
この場合(S2にて、YES の場合)、コントロール−HMI処理部41は、S3において、操作位置に基づいて、操作されたラダー記号(例えば、図4に示すラダー記号Iγ)を特定し、図8に示すように、詳細画面として、当該ラダー記号に対応付けられたデバイス2aの状態の文字表示、デバイス2aの名称およびデバイス2aのアドレスなど、デバイス2aの詳細情報を、ラダー記号に併記して表示する。
【0066】
具体的には、コントロール−HMI処理部41は、概略画面をHMI処理部25に表示させる際、各ラダー記号について、ラダー記号の位置と、ラダー記号に対応する変数の内容とを指示している。したがって、操作位置に基づいて、ラダー記号が特定されると、コントロール−HMI処理部41は、選択されたラダー記号を特定できる。さらに、コントロール−HMI処理部41は、変数メモリ27から、当該ラダー記号に対応する変数の名称およびアドレスを読み出し、ラダー記号に併記させる。さらに、当該変数の内容に応じた表示方法で、ラダー記号を拡大表示するよう、HMI処理部25へ指示すると共に、変数の内容を文字列でも表示するよう指示する。これにより、詳細画面では、デバイス2aの名称、アドレスおよび状態を示す文字が、ラダー記号に併記される。
【0067】
コントロール−HMI処理部41は、概略画面表示が指示されるまでの間(S4にて、NOの間)、上記S3の処理を繰り返す。これにより、デバイス2aの状態変更に伴なって、ラダー記号の表示方法およびデバイス2aの状態の文字表示が更新される。
【0068】
ここで、詳細画面では、ラダー記号に詳細情報として、デバイス2aの状態の文字表示が併記されているので、ユーザは、ラダー記号に対応するデバイス2aの状態をより的確に把握できる。また、詳細情報として、アドレスや変数名(デバイス名)も表示されているので、デバイス2aの設置場所なども把握でき、例えば、設置場所へ赴いて、当該デバイス2aに不具合が発生しているか否かを確認したり、そのデバイス2aを交換するなどの対応を取ることができる。なお、変数メモリ27に、アドレスやデバイス名に加えて、設置場所や不具合への対応方法なども格納しておき、それらの情報も詳細情報として併記してもよい。いずれの場合であっても、詳細情報によって、ユーザへ、デバイス2aの現状を的確に提示できると共に、適切な対応を取るための情報も伝えることができる。
【0069】
また、例えば、詳細画面で、終了ボタンB1を押すなどして、概略画面表示が指示されると(S4にて、YES の場合)、コントロール−HMI処理部41は、S1以降の処理を繰り返す。これにより、図4や図5に示すように、ラダーモニタの概略画面が再度表示される。
【0070】
ところで、例えば、概略画面の表示中にボタンB1を押すなど、ラダーモニタの表示終了が指示されると、HMI処理部25は、ラダーモニタ変数の領域M1をOFFに設定し、コントロール−HMI処理部41は、HMI処理部25へラダーモニタ画面の表示終了を指示する。これにより、HMI処理部25は、再び、操作画面を表示する。なお、本実施形態に係るコントロール−HMI処理部41は、ラダーモニタを起動する際、例えば、画面番号などの形式で、直前に表示していた操作画面を記憶しており、終了時には、当該操作画面の表示の再開をHMI処理部25へ指示する。
【0071】
なお、上記では、ラダーモニタ変数の領域M1にデバイス2aが関連付けられている場合を例にして説明したが、上記変数の関連付けによって、プログラマブル表示器12の記憶領域のうち、メニュー画面中のボタンへの操作結果を示す記憶領域に、上記ラダーモニタ変数の領域M1が関連付けられた場合、プログラマブル表示器12は、以下のように動作する。
【0072】
すなわち、プログラマブル表示器12のHMI処理部25が、図9に示すように、各デバイス2aの状態を示す操作画面を表示している間に、画面の4隅の領域A11〜A14のうちの任意の3点が押されると、HMI処理部25は、画面データに基づいて、メニュー表示が指示されたと判断して、図10に示すように、操作画面A2の一部(この例では下端)にメニューを表示する。当該メニューには、メニューの項目を切り換えるボタンB51や、ラダーモニタ画面の表示を指示するボタンB52、あるいは、その他のボタンB53〜B54が表示されており、ボタンB52が押されると、HMI処理部25は、プログラマブル表示器12の内部メモリの記憶領域に、ボタンB52が操作されたことを記憶する。ここで、当該記憶領域は、上記変数の関連付けにて、ラダーモニタ変数の領域M1と関連付けられているので、上記操作によって上記領域M1の内容も起動を示す値になる。この結果、当該領域M1の内容を監視しているコントロール−HMI処理部41は、ラダーモニタを起動させる。
【0073】
また別の関連付けの例として、上記変数の関連付けによって、当該領域M1がマクロに関連付けられていた場合、HMI処理部25は、マクロの演算結果がONを示す値になると、上記領域M1の値をONに設定する。この場合、当該ラダーモニタ変数の内容を監視するコントロール−HMI処理部41は、ラダーモニタ画面表示のトリガが発生したと判断し、上述したように、ラダーモニタ画面を表示させる。
【0074】
ここで、上記ラダーモニタ変数の関連付けは、画面表示や操作あるいは制御に関連する変数の場合と同様に、上記作画エディタや制御プログラムエディタなどによって変更できる。したがって、ラダーモニタ画面の起動のトリガが固定の場合と異なり、ラダーモニタ画面を自動起動する際のトリガを、制御システム1のユーザが必要に応じて変更できるので、ラダーモニタ画面を起動する際の柔軟性を高めることができる。
【0075】
また、本実施形態では、ラダーモニタ画面の起動だけではなく、例えば、終了やスクロールなど、ラダーモニタ画面に対する操作もラダーモニタ変数に関連付けられており、コントロール−HMI処理部41は、これらの変数の内容に応じて、ラダーモニタ画面の表示を制御する。ここで、これらの変数も、デバイス2aやプログラマブル表示器12の記憶領域あるいはマクロなどに関連付けできる。したがって、ラダーモニタ画面への操作を自動実行する際のトリガも、ユーザが必要に応じて設定できる。この結果、例えば、デバイス2aの状態が特定の状態になった場合に、ラダーモニタ画面に、そのデバイス2aに対応するラダー記号を含む箇所を表示するなど、ラダーモニタ画面への自動的な操作を設定する際の柔軟性を向上できる。
【0076】
なお、上記では、プログラマブル表示器12のラダーモニタ画面の起動や画面への操作を、デバイス2aやプログラマブル表示器12の記憶領域あるいはマクロの演算結果などに対応付け可能な変数で制御する場合を例にして説明したが、例えば、制御用ホストコンピュータ14にて、ラダーモニタ画面を表示/操作する場合にする場合であっても、略同様の効果が得られる。
【0077】
ただし、本実施形態のように、ターゲットシステム2の近傍(現場)にて、オペレータに操作されるプログラマブル表示器12へ、ラダーモニタ画面やデバイスモニタ画面を表示できると、異常が発生した場合に、現場に新たな機器を持ち込むことなく、これらの画面を参照して、異常の原因を追求できる。
【0078】
また、プログラマブル表示器12は、現場に設置されるため、設置場所が限られていることが多く、十分な解像度や画面の広さを確保できないことが多い。ところが、上記構成では、全てを縮小表示する場合と比較して、ラダーモニタの視認性を低下させることなく、デバイス2aの相互関係と、個々のデバイス2aの状態とを的確に把握できるので、特に効果が大きい。
【0079】
なお、上記各部材21〜42は、CPUなどの演算手段が、ROMやRAMなどの記憶手段に格納されたプログラムを実行し、タッチパネルや液晶表示装置などの入出力手段、あるいは、インターフェース回路などの通信回路を制御することによって実現される機能ブロックである。したがって、これらの手段を有するコンピュータが、上記プログラムを記録した記録媒体(例えば、CD−ROMなど)を読み取り、当該プログラムを実行するだけで、本実施形態に係るプログラマブル表示器12を実現できる。なお、例えば、シリアルケーブルやLAN13あるいは、他の通信路を介してプログラムをダウンロードするためのプログラムが、上記コンピュータに予めインストールされていれば、当該通信路を介して、上記コンピュータへ上記プログラムを配付することもできる。
【0080】
【発明の効果】
本発明に係るラダーモニタ装置は、以上のように、画面上の領域と当該領域への表示に対応するデバイスとの対応関係を示すタグを組み合わせて構成された画面データに基づいて、デバイスの状態を画面表示する際の動作を特定するプログラマブル表示器であり、上記プログラマブル表示器のHMI処理手段は、上記デバイスの状態を取得し、それに応じて、変数メモリに格納された変数のうち、当該デバイスに関連付けられた変数の内容を更新すると共に、上記タグによって上記領域に対応付けられたデバイスに関連付けられた変数の内容を変数メモリから読み出し、内容に応じた部品図形を表示することによって、上記デバイスの状態を示す操作画面を表示し、上記HMI処理手段は、上記変数メモリに格納された変数が予め設定されたプログラムの演算結果に関連付けられている場合、当該プログラムに従って上記変数メモリの変数の内容を演算した結果を、当該プログラムに関連付けられた変数の内容として設定可能であり、さらに、上記ラダーモニタ装置は、ラダー記号と共に、当該ラダー記号に関連する詳細情報を併記する詳細画面と、当該詳細情報の一部または全部を省略して、詳細画面で表示されるラダー記号よりも多くのラダー記号を概略表示する概略画面とを、上記ラダーモニタ手段に切り換え表示させる表示制御手段を備え、上記ラダーモニタ手段によって表示されるラダーモニタ画面の起動、および、ラダーモニタ画面に対する操作は、上記デバイスラダーモニタ装置の記憶領域または上記プログラムの演算結果に関連付け可能なラダーモニタ変数に対応付けられており、上記表示制御手段は、ラダーモニタ変数の内容に応じて、ラダーモニタ画面の表示を制御し、さらに、HMI処理手段は、上記画面データに基づいてデバイスの状態を示す操作画面を表示している間に、画面の4隅の領域のうちの任意の3点が押されると、上記画面データに基づいて、メニュー表示が指示されたと判断して、操作画面の一部にメニューを表示すると共に、当該メニューのうち、上記ラダーモニタ画面の表示を指示するボタンが押されると、上記ラダーモニタ装置の記憶領域のうち、上記ラダーモニタ変数の領域と関連付けられている記憶領域に、当該ボタンが操作されたことを記憶して、上記ラダーモニタ画面を起動させる構成である。
【0082】
本発明に係るラダーモニタ装置は、以上のように、上記構成に加えて、上記詳細画面として、ラダー記号に対応付けられたデバイスの状態の文字表示、デバイスの名称およびデバイスのアドレスを、当該ラダー記号に併記して表示する構成である。
【0083】
また、本発明に係るプログラムおよび本発明に係る記録媒体に記録されたプログラムは、上記ラダーモニタ装置の各手段としてコンピュータを動作させるプログラムであり、当該プログラムを実行するコンピュータは、上記ラダーモニタ装置として動作する。
【0084】
これらの構成では、デバイスの相互関係を把握しやすい概略画面と、個々のデバイスの状態を詳細画面とを切り換えできるので、ラダーモニタの視認性を低下させることなく、デバイスの相互関係と、個々のデバイスの状態とを的確に把握できるという効果を奏する。
【0085】
本発明に係るラダーモニタ装置は、以上のように、上記構成において、上記表示制御手段は、概略画面で表示されるラダー記号が選択された場合、当該ラダー記号を含む詳細画面を表示する構成である。
【0086】
上記構成によれば、概略画面上で選択されたラダー記号を含む詳細画面が表示されるので、全詳細情報と共に表示すべきラダー記号を容易に選択できるという効果を奏する。
【0087】
本発明に係るラダーモニタ装置は、以上のように、上記構成において、上記制御プログラムに応じて、デバイスを制御する制御手段と、各デバイスの状態に応じた表示方法の図形で、各デバイスの状態を表示すると共に、当該図形に対する操作を受け付けると、操作に応じたデバイスの制御を上記制御手段に指示する操作手段とを備えている構成である。
【0088】
上記構成によれば、制御システムにおいて、必須の手段、すなわち、制御装置としての制御手段、および、HMIとしての操作手段を備えた装置が、ラダーモニタ装置としても動作する。したがって、異常が発生した場合、現場に新たな機器を持ち込むことなく、ラダーモニタによって異常なデバイスを特定できる。この結果、正常動作に復帰するまでの時間を短縮できるという効果を奏する。
【図面の簡単な説明】
【図1】 本発明の実施形態を示すものであり、制御システムの要部構成を示すブロック図である。
【図2】 上記制御システムのプログラマブル表示器の変数メモリに格納される変数のデータ構造を示す説明図である。
【図3】 上記プログラマブル表示器のプログラマブル・ロジック・コントローラ機能で実行される制御プログラムを示す説明図である。
【図4】 上記プログラマブル表示器で表示されるラダーモニタの画面例を示す説明図である。
【図5】 上記ラダーモニタの画面例を示すものであり、図4とはデバイスの状態が異なる場合を示す説明図である。
【図6】 上記変数メモリに格納されるラダーモニタ変数のデータ構造を示す説明図である。
【図7】 上記制御システムの動作を示すフローチャートである。
【図8】 上記プログラマブル表示器の画面例であり、詳細画面を示す説明図である。
【図9】 上記プログラマブル表示器の画面例であり、操作画面を示す説明図である。
【図10】 上記プログラマブル表示器の画面例であり、メニューを示す説明図である。
【符号の説明】
2a デバイス
12 プログラマブル表示器(ラダーモニタ装置)
25 HMI処理部(操作手段)
33 デバイス制御部(制御手段)
41 コントロール−HMI処理部(ラダーモニタ手段;表示制御手段)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a ladder monitor device capable of displaying a ladder monitor screen without impairing visibility, and a program and a recording medium for realizing the ladder monitor device.
[0002]
[Prior art]
Conventionally, for example, an apparatus (ladder monitor apparatus) capable of displaying a ladder monitor screen has been used to identify a device that causes an abnormality when an abnormality occurs in the state of the device. The ladder monitor device displays a control program of a control device that controls a device such as a programmable logic controller (hereinafter abbreviated as PLC) as a ladder diagram, and by a method of displaying each ladder symbol in the ladder diagram, The status of the corresponding device can be displayed.
[0003]
As a result, the user of the ladder monitor device grasps the state of each device by the display method of the ladder symbol, grasps the control procedure of each device by the connection relationship of the ladder symbol, and the device of the device in which the state becomes abnormal. A device group related to control can be estimated. As a result, even if the device where the abnormality is detected is different from the device that caused the abnormality, the device causing the abnormality is identified, and the device is operated or replaced. The normal state can be restored.
[0004]
[Problems to be solved by the invention]
However, the number of ladder symbols that can be displayed simultaneously decreases when the screen resolution is not sufficient, such as when a display device installed at the site such as a programmable display is also used as a ladder monitor device. There is a risk that it will be difficult to grasp the mutual relationship between the two.
[0005]
In addition, for example, when displaying all of the information accompanying the ladder symbol, such as the device name corresponding to the ladder symbol, on the ladder monitor screen, a large number of ladder symbols can be displayed so that the mutual relationship between the devices can be grasped. As described above, when the entire screen is reduced and displayed, if the screen resolution is not sufficient, these pieces of information cannot be read.
[0006]
The present invention has been made in view of the above-described problems, and its purpose is to accurately grasp the mutual relationship between devices and the state of each device without degrading the visibility of the ladder monitor. The object is to realize a ladder monitor device.
[0007]
[Means for Solving the Problems]
In order to solve the above problems, a ladder monitor device according to the present invention displays a control program for controlling a device as a ladder diagram and displays a ladder symbol according to the state of the device corresponding to the ladder symbol. In a ladder monitor device having ladder monitor means for changing Programmable display that identifies the operation when displaying the device status on the screen based on the screen data configured by combining tags indicating the correspondence between the area on the screen and the device corresponding to the display in the area. Yes, the HMI processing means of the programmable display acquires the state of the device, and updates the contents of the variable associated with the device among the variables stored in the variable memory, and the tag The content of the variable associated with the device associated with the region is read from the variable memory by displaying a part graphic corresponding to the content, thereby displaying an operation screen indicating the state of the device, and the HMI processing means If the variable stored in the variable memory is associated with the operation result of a preset program, The calculation result of the contents of the variable of the variable memory in accordance with the program, can be set as the contents of the variables associated with the program, In addition, the ladder monitor device includes a ladder screen and a detailed screen on which detailed information related to the ladder symbol is written together, and a ladder screen displayed on the detailed screen by omitting part or all of the detailed information. A display control means for switching and displaying a schematic screen for schematically displaying a lot of ladder symbols on the ladder monitor means, activation of the ladder monitor screen displayed by the ladder monitor means, and operations on the ladder monitor screen, Above devices , Storage area of the ladder monitor device Or the calculation result of the above program The display control means controls the display of the ladder monitor screen according to the contents of the ladder monitor variable. Furthermore, when any three points of the four corner areas of the screen are pressed while the operation screen indicating the device state is displayed based on the screen data, the HMI processing means Based on the data, it is determined that the menu display is instructed, the menu is displayed on a part of the operation screen, and when the button for instructing the display of the ladder monitor screen is pressed, the ladder monitor is displayed. In the storage area of the device, the fact that the button has been operated is stored in the storage area associated with the ladder monitor variable area, and the ladder monitor screen is activated. It is characterized by that.
[0009]
Furthermore, the ladder monitor device according to the present invention is ,Up In addition to the configuration described above, the detailed screen is characterized in that the character display of the device state associated with the ladder symbol, the device name and the device address are displayed together with the ladder symbol.
[0010]
In the above configuration, when the display control unit instructs the general screen display, the ladder monitor unit omits a part or all of the detailed information related to the ladder symbol and displays the detailed screen together with the detailed information. Display more ladder symbols than you can. As a result, when the state of a certain device is abnormal, the user of the ladder monitor device grasps the outline of the state of each device corresponding to the ladder symbol by the display method of each ladder symbol, and the mutual relationship between the ladder symbols. It is easy to guess the device that causes the abnormality.
[0011]
Here, in the summary screen, more ladder symbols are displayed in a display method according to the state of the device than in the detail screen, but some or all of the detailed information is omitted. Therefore, the user can more accurately grasp the mutual relationship between the devices, and can accurately find the device from which the detailed information is to be acquired.
[0012]
Note that when displaying the entire screen including all the detailed information in a reduced size, if you try to display as many ladder symbols as possible to understand the interrelationships between the devices and increase the reduction ratio, the detailed information may not be readable. is there. In this case, the detailed information display area is wasted, and the screen becomes difficult to see. However, in the above configuration, display of some or all of the detailed information is omitted, so that even if many ladder symbols are displayed, it is possible to prevent the visibility of the ladder monitor from being lowered.
[0013]
On the other hand, when switching to the detailed screen is instructed by the display control means, the ladder monitor means, for example, the character string indicating the status of the ladder symbol, the name of the device corresponding to the ladder symbol, the device address, etc. All the detailed information related to the ladder symbol is displayed along with each ladder symbol. Thereby, the user of the ladder monitor device can accurately determine whether or not the device corresponding to the ladder symbol is the cause of the abnormality based on all the detailed information. Further, since all the detailed information is displayed, it is easier to grasp the procedure for recovering from the abnormality than when the detailed information is not displayed or when only a part is displayed.
[0014]
In the detailed screen, more detailed information is displayed than in the general screen, but fewer ladder symbols are displayed than in the general screen. Therefore, the user can grasp the state of each device more accurately even when displaying on a screen having the same width as that when displaying the schematic screen.
[0015]
In this way, since it is possible to switch between the general screen that makes it easy to grasp the mutual relationship of devices and the detailed screen of the status of individual devices, the mutual relationship between devices and individual devices can be achieved without reducing the visibility of the ladder monitor. Can be accurately grasped.
[0016]
further, Main departure The ladder monitor device related to Ming Above structure In the configuration, when the ladder symbol displayed on the schematic screen is selected, the display control means displays a detailed screen including the ladder symbol.
[0017]
According to the above configuration, the detailed screen including the ladder symbol selected on the schematic screen is displayed. For example, when specifying by the name of the device corresponding to the ladder symbol, it is more than when specifying by other methods. You can easily select the ladder symbol to be displayed with all the detailed information.
[0018]
Also, Main departure The ladder monitor device related to Ming Above structure In the configuration, the state of each device is displayed with a control means for controlling the device in accordance with the control program and a display method according to the state of each device. And operating means for instructing the control means to control the corresponding device.
[0019]
According to the above configuration, in the control system, an essential means, that is, a device provided with a control means as a control device and an operation means as an HMI (Human Machine Interface) also operates as a ladder monitor device. Therefore, when an abnormality occurs, an abnormal device can be identified by the ladder monitor without bringing new equipment to the site. As a result, the time required to return to normal operation can be shortened.
[0020]
By the way, the ladder monitor device may be realized by hardware, or may be realized by causing a computer to execute a program. In particular, Main departure The program related to Ming is Each of the above ladder monitor devices A program for operating a computer as a means, Main departure The recording medium related to Ming Concerned The program is recorded.
[0021]
When these programs are executed on the computer, the computer Above It operates as a dar monitor device. Therefore, Above and Similarly, the mutual relationship between devices and the state of each device can be accurately grasped without degrading the visibility of the ladder monitor.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS. That is, the control system 1 according to the present embodiment is a system capable of displaying a ladder monitor screen with a trigger desired by the user without bringing new equipment to the site, and capable of display control, as shown in FIG. For example, it is used to control the device 2a of the target system 2 such as a belt conveyor type automatic assembly machine.
[0023]
The control system 1 includes a PLC 11 as a control device for controlling the device 2a, and in many cases, is arranged in the vicinity of the control target, and displays the state of the device 2a as an HMI of the control system 1, and is determined by an operator. And a programmable display 12 that receives an operation on the device 2a. Further, as will be described in detail later, the programmable display 12 according to the present embodiment also has a function as a PLC, and is directly connected not only to the corresponding PLC 11 but also to the device 2a controlled by itself. Yes.
[0024]
Furthermore, in the control system 1 according to the present embodiment, the programmable displays 12 are connected to each other by a LAN (Local Area Network) 13 such as Ethernet (registered trademark). Further, in many cases, a control host computer 14 that manages the entire control system 1 is connected to the LAN 13 from a location remote from the programmable display 12.
[0025]
Each programmable display 12 is connected to a corresponding PLC 11 via a serial cable or the like. In FIG. 1, for convenience of explanation, two programmable displays 12 are connected to the LAN 13. Each programmable display 12 is connected to one PLC 11 and one device 2 a, and each PLC 11 has a device 2 a. Although the case where one unit is connected is illustrated, it is a matter of course that the number of connected units can be arbitrarily set.
[0026]
In addition, the device may be the device 2a itself, for example, as long as the device can be specified by the device address, and the state can be acquired or controlled (changed), for example, the PLC 11 or the programmable display 12 An area of a storage device provided in the control system 1 may be shown.
[0027]
Here, in the said control system 1, since it is a structure essential for the control system 1, and since it operate | moves as HMI, it is comprised so that the programmable display 12 with sufficient computing power may process most communication. . Furthermore, each programmable display 12 converts a dedicated protocol unique to the model of the PLC 11 connected to itself and a common protocol in the LAN 13, and the other programmable display 12 and the control host computer 14, Relay communication with the PLC 11. For protocol conversion between the common protocol and the dedicated protocol, conversion between a predetermined common command so that the same code is assigned to the same instruction and a command unique to the PLC 11 corresponding to the common command is performed. Also included are conversion of data and address expression methods, conversion of device addresses and variables that correspond to the device addresses, and that can be set to values different from the device addresses and variable names (variable names). .
[0028]
Thereby, the programmable display 12 and the control host computer 14 can communicate with each other via the LAN 13 regardless of the type of the PLC 11 connected to the other programmable display 12. As a result, the control system 1 in which different types of PLCs 11 are mixed can be realized relatively easily.
[0029]
The programmable display 12 specifies an operation for displaying the device state on the screen and an operation for controlling the device state in accordance with an operation on the screen based on screen data described later. The PLC / IF unit 21 that communicates with the PLC 11, the LAN / IF unit 22 for connecting to the LAN 13, a display 23 including, for example, a liquid crystal display device, and a touch panel 24 disposed on the screen of the display 23 The HMI processing unit 25 that controls the members 21 to 24, and a screen memory 26 and a variable memory 27 that are referred to by the HMI processing unit 25 and store the screen data and variables described later. The HMI processing unit 25 and the device control unit 33 described later correspond to the operation unit and the control unit described in the claims.
[0030]
The screen data is configured by combining a tag indicating a correspondence relationship between an area on the screen and a device corresponding to display or input in the area. In the present embodiment, the HMI processing unit 25 can switch and display a plurality of unit screens, and the tag specifies the file number indicating the unit screen for which the tag is valid and the operation content to be executed on the unit screen. Event name and reference information referenced for each event.
[0031]
For example, when the tag is a display tag that displays a component graphic corresponding to a predetermined device state in a predetermined screen area (display coordinate range), the reference information includes a display coordinate range and a variable that can specify the device. For example, when the component graphic is a switch, a file number to be referred to at the time of display such as a graphic file indicating ON and a graphic file indicating OFF is included. Further, when the tag is an input tag, reference information includes an effective input coordinate range and a device variable in which an input result is written.
[0032]
As shown in FIG. 2, the variable memory 27 includes a variable name (variable name) and information (for example, an address) for specifying the device 2a or internal memory corresponding to the variable. A combination with the contents of the variable is stored. In this embodiment, regardless of the model of the device 2a corresponding to the variable, the expression method (for example, the presence or absence of a word length, the presence / absence of a code, or BCD / binary notation) is stored in advance. When a variable corresponds to the actual device 2a, the variable memory 27 also functions as an actual model. In this case, when the HMI processing unit 25 acquires or controls the state of the device 2 a via the PLC / IF unit 21, the HMI processing unit 25 converts the representation method to unify the representation method at the time of storage.
[0033]
On the other hand, the HMI processing unit 25 extracts, from the screen data stored in the screen memory 26 at a predetermined time interval, a display tag whose base screen file number is the currently displayed base screen. Further, the HMI processing unit 25 refers to the variable memory 27, reads the content of the variable corresponding to the tag, and displays a part graphic corresponding to the content on the display 23. Here, when the variable corresponds to the device 2a controlled by the PLC 11 connected to the PLC / IF unit 21, the HMI processing unit 25 communicates with the PLC 11 by the PLC / IF unit 21 to communicate with the device 2a. And the contents of the variable are updated according to the state. Thereby, the state of the device 2a is displayed on the display 23.
[0034]
In the case of the device 2a whose variable is controlled by the PLC 11 connected to the other programmable display 12, the HMI processing unit 25 is connected to the PLC 11 via the LAN / IF unit 22, the LAN 13, and the other programmable display 12. The state of the device is acquired through communication or the like, and the content of the variable is updated accordingly.
[0035]
When receiving an operator input operation such as a push operation on the touch panel 24, the HMI processing unit 25 searches the screen data for an input tag corresponding to the currently displayed base screen and matching the input operation. At the same time, the content of the variable corresponding to the tag is updated according to the input result. Further, the HMI processing unit 25 controls the state of the device 2a according to the contents of the variables by communicating with the PLC 11 and the programmable display device 12 in substantially the same manner as when acquiring the state of the device 2a. Here, even after the input operation, the HMI processing unit 25 displays the state of the device 2a on the screen, so that the operation result is reflected on the screen display.
[0036]
In addition, the HMI processing unit 25 receives a control instruction from the device connected to the LAN 13 such as another programmable display 12 or the control host computer 14 to the device 2a of the PLC 11 connected to itself. On the contrary, when the status of the device 2a to be reported to the device is received from its own PLC 11, it is possible to relay between the communication on the LAN 13 and the communication with the PLC 11 by the protocol conversion described above. .
[0037]
Furthermore, the programmable display device 12 according to the present embodiment also operates as a PLC, so that an IO / IF unit 31 for connection to the device 2a, a control file memory 32 for storing a control program, and the control A device control unit 33 that controls the device 2a connected to the IO / IF unit 31 is provided based on the program.
[0038]
The device control unit 33 according to the present embodiment is a PLC that can specify a control target by a variable in a control program, and for example, every predetermined scanning period (scan time) such as several tens of ms. The state of each device 2a is read and stored in the variable memory 27 as the contents of the variable corresponding to each device 2a.
[0039]
Furthermore, the device control unit 33 sequentially executes each command indicated by the control program in the control file memory 32 while referring to the contents of each variable stored in the variable memory 27. Here, in each instruction, as in the ladder program shown in FIG. 3, the control target (operand) of each instruction word Cα can be specified by a variable. Updated. Further, when the end instruction is executed and the execution of the control program is completed, the device control unit 33 sets a variable corresponding to the device 2 a connected to the IO / IF unit 31 among the variables stored in the variable memory 27. The contents are written to each device 2a. Thereby, the device control part 33 can control each device 2a according to the state of the device 2a according to the control program which the user produced similarly to PLC.
[0040]
As described above, since the expression method for storing the contents of the variable is unified, the device control unit 33 converts the expression method when the device 2a communicates with the device 2a via the IO / IF unit 31. And unify the expression method at the time of storage.
[0041]
Furthermore, the programmable display device 12 according to the present embodiment also has a function as a ladder monitor device. For example, when the state of a certain device 2a is abnormal, the device 2a that causes the abnormality is specified. In order to display a ladder monitor screen that is preferably used for the above, a control-HMI processing unit (ladder monitor unit and display control unit) 41 that operates the HMI processing unit 25 and the device control unit 33 in a coordinated manner is provided. Further, the variable memory 27 is provided with an area 42 for storing a variable related to the ladder monitor (ladder monitor variable). The control file memory 32 indicates not only the OP code (instruction word) and operand of the control program, but also how, for example, variable information, jump destination labels, and ladder symbols are connected. Information for displaying a ladder diagram corresponding to the control program, such as information and a rung number, is also stored.
[0042]
Here, for example, as shown in FIG. 4, the ladder diagram is a ladder symbol (Iα...) As a functional block represented in a figure or other form such as a contact, a coil, or a counter, and a label related to these. Is a diagram describing one or a plurality of networks (L1...) In the left and right busbars (La · Lb), and is controlled according to the type of ladder symbol arranged and the connection relationship of each ladder symbol. The procedure can be illustrated, and the current control state of the device 2a can also be displayed in the form of a ladder symbol such as the shape, color, and presence / absence of blinking.
[0043]
For example, the ladder diagrams in FIG. 4 and FIG. 5 illustrate the control program described as the ladder program in FIG. 3, where the ladder symbol Iα indicating load is the ladder symbol Iβ indicating AND, and It is connected to the bus Lb via a ladder symbol Iγ indicating increment. Therefore, according to the ladder symbols Iα to Iγ and the connection relationship between the ladder symbols Iα to Iγ, the control procedure corresponding to the instruction words Cα to Cγ, that is, the device corresponding to the ladder symbol Iα is on, When the device corresponding to the ladder symbol Iβ is on, a procedure for incrementing the counter can be described.
[0044]
In the ladder diagram of FIG. 4, the ladder symbols Iα and Iδ indicating the load are described in a shape indicating the off state, whereas in the ladder diagram of FIG. 5, both ladder symbols Iα and Iδ are in the on state. It is described in the shape shown. Therefore, from the ladder diagrams shown in FIGS. 4 and 5, not only the control procedure but also the control state of the device, that is, in the case of FIG. 4, the devices corresponding to the ladder symbols Iα and Iδ are in the OFF state. In this case, it can also be read that the devices corresponding to the ladder symbols Iα and Iδ are in the on state. In addition, the conductive portions of the buses La and Lb and the network L1... Are drawn thick. In FIGS. 3 to 6, for example, the same Greek letters are given to those corresponding to each other such as the instruction word Cα and the ladder symbol Iα.
[0045]
Furthermore, the control-HMI processing unit 41 according to the present embodiment also includes buttons B1 to B41 for operating the ladder monitor screen as shown in FIGS. 4 and 5 when the ladder diagram is displayed as the ladder monitor screen. The HMI processing unit 25 is instructed to display together. Here, the button B1 is a button for instructing the end of the ladder monitor, and the button B11 is a button for instructing the number of the network L1. Buttons B21 to B24 are buttons for instructing movement (scrolling) of an area displayed on the ladder monitor screen in the entire ladder diagram corresponding to the control program, and correspond to the left, right, up and down directions, respectively. Further, the button B31 is a button for instructing whether the unit of movement is a page unit or a rung unit, and the button B41 is displayed in decimal or hexadecimal when displaying a numerical value in the ladder diagram. It is a button for instructing switching.
[0046]
On the other hand, the area 42 for storing the ladder monitor variable in the variable memory 27 is a bit area for instructing the display start / end of the ladder monitor screen as shown in FIG. 6 as an area for storing the contents of the ladder monitor variable. M1, bit areas M21 to M24 for instructing scrolling in the left / right / up / down direction of the ladder diagram, bit area M31 for instructing the unit of scrolling, and displaying numerical values in the ladder diagram, displayed in decimal And a bit area M41 indicating whether to display in hexadecimal.
[0047]
In the above configuration, for example, screen data for the programmable display 12 is created by a drawing editor of the control host computer 14 or the like. Further, a control file including a control program for the device control unit 33 of the programmable display 12 is created by a control program editor of the control host computer 14 or the like. In each of the above editors, when a device to be operated or referred to is specified by a tag or a control program, a variable corresponding to the device is generated and specified by the variable.
[0048]
Further, each variable is associated with the actual device 2a or the like by the above editors or the like. Note that not only the actual device 2a but also a storage area of the programmable display 12 and a macro calculation result can be associated with the variable. In this case, the HMI processing unit 25 can set the result of computing the contents of the variables in the variable memory 27 according to a preset program (macro) as the contents of the variables associated with the macro.
[0049]
In addition, as in the case of variables related to screen display, operation, or control, the ladder monitor variable is associated with a triggering event, that is, a storage area or a macro of the device 2a or the programmable display 12 by each editor. .
[0050]
Here, in each of the above editors, the device is specified by a variable rather than by specifying the device address. Therefore, the correspondence between the actual device 2a and the variable may be associated before the programmable display 12 starts the operation, and the screen and the control procedure can be designed even when the actual address is not determined. Further, even if the actual address is changed by changing the device 2a or the like, it is not necessary to change all the parts related to the device 2a in the screen data and the control program, and the association between the variable and the address is changed. Just do it.
[0051]
When the association of the screen data, the control program, and the variables is completed, these data are transmitted to the programmable display 12 and stored in the screen memory 26, the control file memory 32, and the variable memory 27. In the above, for convenience of explanation, the screen data, the control program, and the variable are described in the order of association. However, if these data are set before they are stored in the programmable display 12, the order is different. Also good.
[0052]
Furthermore, the programmable display 12 controls the device 2a connected to the IO / IF unit 31 based on the control program, and displays an operation screen based on the screen data. Here, the control-HMI processing unit 41 monitors whether or not the content of the ladder monitor variable becomes a value indicating activation of the ladder monitor (the area M1 shown in FIG. 6 is ON), and the value is activated. Do not start the ladder monitor until the indicated value is reached. Therefore, the display of the operation screen and the control of the device 2a are repeated until an event that triggers the ladder monitor screen display occurs.
[0053]
As an example, when the region M1 in the ladder monitor variable is associated with ON / OFF of the device 2a connected to the IO / IF unit 31 by the association of the variable, the device control unit 33 includes the device 2a. The area M1 is updated in accordance with ON / OFF of. Therefore, when the device 2a is turned on, the value of the region M1 is turned on.
[0054]
In this way, when an event that triggers the display of the ladder monitor screen occurs and the value of the area M1 is turned ON, the control-HMI processing unit 41 performs step 1 (hereinafter abbreviated as S1) shown in FIG. ), The HMI processing unit 25 is instructed to display the ladder monitor schematic screen.
[0055]
Specifically, the control-HMI processing unit 41 instructs the HMI processing unit 25 to display a screen prepared for the ladder monitor in advance among the screen data. Thereby, as shown in FIGS. 4 and 5, the buttons B1 to B41 are displayed. Further, the control-HMI processing unit 41 analyzes the contents of the control file memory 32 to grasp the ladder symbols included in the ladder diagram indicated by the control program and the connection relationship between the ladder symbols. Is displayed to the HMI processing unit 25.
[0056]
More specifically, the control-HMI processing unit 41 identifies variables necessary for displaying the ladder diagram based on the control file. In addition, the control-HMI processing unit 41 notifies the device control unit 33 of the variable name for each of these variables, and the device control unit 33 stores the contents of the variable with the variable name among the addresses of the variable memory 27. Received address. Further, the control-HMI processing unit 41 accesses the address and acquires the contents of the variable.
[0057]
When the contents of each variable can be acquired, the control-HMI processing unit 41 instructs the HMI processing unit 25 to display a ladder symbol corresponding to each variable in a display format corresponding to the content of each variable.
[0058]
Here, the content of the variable corresponding to each device 2a is updated by the HMI processing unit 25 or the device control unit 33, and the variable content acquisition and the display instruction according to the content are in advance until the end is instructed. Repeated at a fixed cycle. As a result, a ladder diagram corresponding to the state of the device 2a is displayed on the display 23 as shown in FIG. 4 or FIG.
[0059]
In the screen data, the buttons B1 to B41 are displayed, and when the buttons B1 to B41 are operated, the HMI processing unit 25 displays areas M1 to M41 corresponding to the ladder monitor variables. change. On the other hand, the control-HMI processing unit 41 constantly monitors the content of the ladder monitor variable, and scrolls the ladder monitor screen or changes the expression method of the numerical value displayed on the ladder monitor screen according to the content.
[0060]
Here, unlike the detail screen described later, the summary screen displays more ladder symbols instead of omitting the display of the detailed information of each ladder symbol such as the name and address of the device 2a corresponding to the ladder symbol. Has been. The state of the device 2a corresponding to the ladder symbol is presented by a ladder symbol display method. Therefore, the user can grasp the outline of the state of the device 2a on the outline screen.
[0061]
Further, since more ladder symbols are displayed, it is easy to grasp the connection relationship between each ladder symbol, and when the state of a certain device 2a is abnormal, it is possible to easily grasp the device 2a group related to the state abnormality. . As a result, it is easy to guess the device 2a that has caused the state abnormality. As a result, even when an abnormality is detected in the device 2a different from the device 2a in which the problem has occurred, it is easy to identify the device 2a in which the problem has occurred.
[0062]
Here, when displaying the entire ladder diagram including the detailed information in a reduced size, if an attempt is made to display the same number of ladder symbols as the schematic screen, the reduction rate increases and the detailed information may be crushed and cannot be read. There is. In this case, although the detailed information is displayed in a reduced size, this display area is wasted, and it is difficult to grasp the state of the device 2a indicated by the ladder symbol and the mutual relationship between the ladder symbols.
[0063]
On the other hand, since the display of detailed information is omitted in the schematic display, the state and the mutual relationship of the device 2a can be presented to the user without reducing the visibility.
[0064]
On the other hand, when the ladder symbol for which detailed information is to be displayed is determined, for example, when the device 2a that has caused the abnormality is estimated during display of the outline screen, the user can select a desired symbol by operating the touch panel 24, for example. Specify the ladder symbol.
[0065]
In this case (YES in S2), the control-HMI processing unit 41 identifies the operated ladder symbol (for example, the ladder symbol Iγ shown in FIG. 4) based on the operation position in S3. As shown in FIG. 8, the detailed information of the device 2a, such as the character display of the state of the device 2a associated with the ladder symbol, the name of the device 2a and the address of the device 2a, is written together with the ladder symbol as a detailed screen. indicate.
[0066]
Specifically, the control-HMI processing unit 41 instructs the position of the ladder symbol and the content of the variable corresponding to the ladder symbol for each ladder symbol when displaying the schematic screen on the HMI processing unit 25. . Therefore, when the ladder symbol is specified based on the operation position, the control-HMI processing unit 41 can specify the selected ladder symbol. Further, the control-HMI processing unit 41 reads the name and address of the variable corresponding to the ladder symbol from the variable memory 27, and writes it together with the ladder symbol. In addition, the HMI processing unit 25 is instructed to display the ladder symbol in an enlarged manner by a display method according to the content of the variable, and the variable content is also displayed as a character string. Thereby, on the detailed screen, the name, address and status of the device 2a are written together with the ladder symbol.
[0067]
The control-HMI processing unit 41 repeats the process of S3 until a general screen display is instructed (NO in S4). Thus, the ladder symbol display method and the character display of the state of the device 2a are updated with the change of the state of the device 2a.
[0068]
Here, on the detailed screen, since the character display of the state of the device 2a is written as detailed information on the ladder symbol, the user can more accurately grasp the state of the device 2a corresponding to the ladder symbol. Further, since the address and variable name (device name) are also displayed as detailed information, the installation location of the device 2a can be grasped. For example, whether or not a failure has occurred in the device 2a by visiting the installation location. It is possible to take measures such as confirming whether or not the device 2a is replaced. In addition to the address and device name, the variable memory 27 may store an installation location, a method for dealing with a problem, and the like, and the information may be written as detailed information. In any case, the detailed information can accurately present the current state of the device 2a to the user, and can also convey information for taking an appropriate response.
[0069]
Further, for example, when the general screen display is instructed by pressing the end button B1 on the detailed screen (YES in S4), the control-HMI processing unit 41 repeats the processing after S1. As a result, the schematic screen of the ladder monitor is displayed again as shown in FIGS.
[0070]
By the way, for example, when the display of the ladder monitor is instructed such as pressing the button B1 while the schematic screen is displayed, the HMI processing unit 25 sets the ladder monitor variable area M1 to OFF, and the control-HMI processing unit. 41 instructs the HMI processing unit 25 to end the display of the ladder monitor screen. Thereby, the HMI processing unit 25 displays the operation screen again. Note that the control-HMI processing unit 41 according to the present embodiment stores the operation screen that was displayed immediately before, for example, in the form of a screen number when starting the ladder monitor. The HMI processing unit 25 is instructed to resume screen display.
[0071]
In the above description, the case where the device 2a is associated with the ladder monitor variable area M1 has been described as an example. However, by association of the variable, the button in the menu screen in the storage area of the programmable display 12 is displayed. When the ladder monitor variable area M1 is associated with the storage area indicating the operation result, the programmable display 12 operates as follows.
[0072]
That is, as shown in FIG. 9, while the HMI processing unit 25 of the programmable display 12 is displaying an operation screen indicating the state of each device 2 a, an arbitrary one of the areas A <b> 11 to A <b> 14 at the four corners of the screen. When the three points are pressed, the HMI processing unit 25 determines that the menu display is instructed based on the screen data, and displays a part of the operation screen A2 (lower end in this example) as shown in FIG. Display the menu. In the menu, a button B51 for switching menu items, a button B52 for instructing display of a ladder monitor screen, or other buttons B53 to B54 are displayed. When the button B52 is pressed, the HMI processing unit 25 is displayed. Stores in the storage area of the internal memory of the programmable display 12 that the button B52 has been operated. Here, since the storage area is associated with the ladder monitor variable area M1 in association with the variable, the contents of the area M1 are also set to values indicating activation by the above operation. As a result, the control-HMI processing unit 41 that monitors the contents of the area M1 activates the ladder monitor.
[0073]
As another example of association, when the region M1 is associated with a macro by association of the variable, the HMI processing unit 25 sets the value of the region M1 when the macro calculation result is a value indicating ON. Set to ON. In this case, the control-HMI processing unit 41 that monitors the contents of the ladder monitor variable determines that a ladder monitor screen display trigger has occurred, and displays the ladder monitor screen as described above.
[0074]
Here, the association of the ladder monitor variable can be changed by the drawing editor, the control program editor, or the like as in the case of the variable related to screen display, operation, or control. Therefore, unlike the case where the trigger for starting the ladder monitor screen is fixed, the trigger for automatically starting the ladder monitor screen can be changed by the user of the control system 1 as necessary. Flexibility can be increased.
[0075]
In the present embodiment, not only activation of the ladder monitor screen but also operations on the ladder monitor screen, such as termination and scrolling, are associated with the ladder monitor variables, and the control-HMI processing unit 41 sets these variables. The display of the ladder monitor screen is controlled according to the contents. Here, these variables can also be associated with the storage area or macro of the device 2a and the programmable display 12. Therefore, the trigger for automatically executing the operation on the ladder monitor screen can be set by the user as needed. As a result, for example, when the state of the device 2a becomes a specific state, an automatic operation on the ladder monitor screen such as displaying a place including a ladder symbol corresponding to the device 2a on the ladder monitor screen is performed. Flexibility when setting can be improved.
[0076]
Note that, in the above, the case where the activation of the ladder monitor screen of the programmable display 12 and the operation on the screen are controlled by a variable that can be associated with the storage area of the device 2a or the programmable display 12 or the calculation result of the macro is an example. As described above, for example, even when the ladder monitor screen is displayed / operated on the control host computer 14, substantially the same effect can be obtained.
[0077]
However, as shown in this embodiment, when a ladder monitor screen or device monitor screen can be displayed on the programmable display 12 operated by the operator in the vicinity (site) of the target system 2, when an abnormality occurs, The cause of the abnormality can be pursued by referring to these screens without bringing new equipment to the site.
[0078]
In addition, since the programmable display device 12 is installed at the site, the installation location is often limited, and sufficient resolution and screen size cannot be ensured in many cases. However, in the above configuration, since it is possible to accurately grasp the mutual relationship between the devices 2a and the state of the individual devices 2a without degrading the visibility of the ladder monitor as compared with the case where all are displayed in a reduced size, Great effect.
[0079]
In each of the members 21 to 42, a calculation unit such as a CPU executes a program stored in a storage unit such as a ROM or a RAM, and an input / output unit such as a touch panel or a liquid crystal display device, an interface circuit, or the like. It is a functional block realized by controlling a communication circuit. Therefore, the programmable display device 12 according to the present embodiment can be realized simply by a computer having these means reading a recording medium (for example, a CD-ROM) on which the program is recorded and executing the program. For example, if a program for downloading a program via a serial cable, LAN 13 or other communication path is installed in the computer in advance, the program is distributed to the computer via the communication path. You can also
[0080]
【The invention's effect】
The ladder monitor device according to the present invention is as described above. Programmable display that identifies the operation when displaying the device status on the screen based on the screen data configured by combining tags indicating the correspondence between the area on the screen and the device corresponding to the display in the area. Yes, the HMI processing means of the programmable display acquires the state of the device, and updates the contents of the variable associated with the device among the variables stored in the variable memory, and the tag The content of the variable associated with the device associated with the region is read from the variable memory by displaying a part graphic corresponding to the content, thereby displaying an operation screen indicating the state of the device, and the HMI processing means If the variable stored in the variable memory is associated with the operation result of a preset program, The calculation result of the contents of the variable of the variable memory in accordance with the program, can be set as the contents of the variables associated with the program, In addition, the ladder monitor device includes a ladder screen and a detailed screen on which detailed information related to the ladder symbol is written together, and a ladder screen displayed on the detailed screen by omitting part or all of the detailed information. A display control means for switching and displaying a schematic screen for schematically displaying a lot of ladder symbols on the ladder monitor means, activation of the ladder monitor screen displayed by the ladder monitor means, and operations on the ladder monitor screen, Above devices , Storage area of the ladder monitor device Or the calculation result of the above program The display control means controls the display of the ladder monitor screen according to the contents of the ladder monitor variable. Furthermore, when any three points of the four corner areas of the screen are pressed while the operation screen indicating the device state is displayed based on the screen data, the HMI processing means Based on the data, it is determined that the menu display is instructed, the menu is displayed on a part of the operation screen, and when the button for instructing the display of the ladder monitor screen is pressed, the ladder monitor is displayed. In the storage area of the device, the fact that the button has been operated is stored in the storage area associated with the ladder monitor variable area, and the ladder monitor screen is activated. It is a configuration.
[0082]
The ladder monitor device according to the present invention is as described above. ,Up In addition to the above-described configuration, the detailed screen is a configuration in which the character display of the device state associated with the ladder symbol, the device name, and the device address are displayed together with the ladder symbol.
[0083]
Also, Main departure Programs related to Main departure The program recorded on the recording medium related to Each of the above ladder monitor devices A program that causes a computer to operate as a means, and a computer that executes the program, Above It operates as a dar monitor device.
[0084]
In these configurations, it is possible to switch between a summary screen that makes it easy to understand the mutual relationship between devices and a detailed screen that shows the status of each device. There is an effect that the state of the device can be accurately grasped.
[0085]
Main departure As described above, the ladder monitor device according to Ming Above structure In the configuration, the display control means is configured to display a detailed screen including the ladder symbol when the ladder symbol displayed on the schematic screen is selected.
[0086]
According to the above configuration, since the detailed screen including the ladder symbol selected on the schematic screen is displayed, the ladder symbol to be displayed together with all the detailed information can be easily selected.
[0087]
Main departure As described above, the ladder monitor device according to Ming Above structure In the configuration, the state of each device is displayed with a control means for controlling the device in accordance with the control program and a display method according to the state of each device. And an operation unit that instructs the control unit to control the corresponding device.
[0088]
According to the above configuration, in the control system, an essential unit, that is, a device including a control unit as a control device and an operation unit as an HMI also operates as a ladder monitor device. Therefore, when an abnormality occurs, an abnormal device can be identified by the ladder monitor without bringing new equipment to the site. As a result, there is an effect that it is possible to shorten the time until the normal operation is restored.
[Brief description of the drawings]
FIG. 1, showing an embodiment of the present invention, is a block diagram showing a main configuration of a control system.
FIG. 2 is an explanatory diagram showing a data structure of variables stored in a variable memory of a programmable display of the control system.
FIG. 3 is an explanatory diagram showing a control program executed by a programmable logic controller function of the programmable display.
FIG. 4 is an explanatory diagram showing a screen example of a ladder monitor displayed on the programmable display device.
FIG. 5 shows an example of the ladder monitor screen, and is an explanatory diagram showing a case where the device state is different from FIG. 4;
FIG. 6 is an explanatory diagram showing a data structure of ladder monitor variables stored in the variable memory.
FIG. 7 is a flowchart showing the operation of the control system.
FIG. 8 is an explanatory view showing a detailed screen, which is a screen example of the programmable display device.
FIG. 9 is a screen example of the programmable display device and is an explanatory diagram showing an operation screen.
FIG. 10 is a screen example of the programmable display device and is an explanatory diagram showing a menu.
[Explanation of symbols]
2a device
12 Programmable display (ladder monitor device)
25 HMI processing section (operation means)
33 Device control unit (control means)
41 Control-HMI processing section (ladder monitor means; display control means)

Claims (6)

デバイスを制御する際の制御プログラムをラダー図として表示すると共に、ラダー記号に対応するデバイスの状態に応じてラダー記号の表示方法を変更するラダーモニタ手段を有するラダーモニタ装置において、
上記ラダーモニタ装置は、画面上の領域と当該領域への表示に対応するデバイスとの対応関係を示すタグを組み合わせて構成された画面データに基づいて、デバイスの状態を画面表示する際の動作を特定するプログラマブル表示器であり、
上記プログラマブル表示器のHMI処理手段は、上記デバイスの状態を取得し、それに応じて、変数メモリに格納された変数のうち、当該デバイスに関連付けられた変数の内容を更新すると共に、上記タグによって上記領域に対応付けられたデバイスに関連付けられた変数の内容を変数メモリから読み出し、内容に応じた部品図形を表示することによって、上記デバイスの状態を示す操作画面を表示し、
上記HMI処理手段は、上記変数メモリに格納された変数が予め設定されたプログラムの演算結果に関連付けられている場合、当該プログラムに従って上記変数メモリの変数の内容を演算した結果を、当該プログラムに関連付けられた変数の内容として設定可能であり、
さらに、上記ラダーモニタ装置は、ラダー記号と共に、当該ラダー記号に関連する詳細情報を併記する詳細画面と、当該詳細情報の一部または全部を省略して、詳細画面で表示されるラダー記号よりも多くのラダー記号を概略表示する概略画面とを、上記ラダーモニタ手段に切り換え表示させる表示制御手段を備え、
上記ラダーモニタ手段によって表示されるラダーモニタ画面の起動、および、ラダーモニタ画面に対する操作は、上記デバイス、ラダーモニタ装置の記憶領域または上記プログラムの演算結果に関連付け可能なラダーモニタ変数に対応付けられており、上記表示制御手段は、ラダーモニタ変数の内容に応じて、ラダーモニタ画面の表示を制御し、
さらに、HMI処理手段は、上記画面データに基づいてデバイスの状態を示す操作画面を表示している間に、画面の4隅の領域のうちの任意の3点が押されると、上記画面データに基づいて、メニュー表示が指示されたと判断して、操作画面の一部にメニューを表示すると共に、当該メニューのうち、上記ラダーモニタ画面の表示を指示するボタンが押されると、上記ラダーモニタ装置の記憶領域のうち、上記ラダーモニタ変数の領域と関連付けられている記憶領域に、当該ボタンが操作されたことを記憶して、上記ラダーモニタ画面を起動させることを特徴とするラダーモニタ装置。
In a ladder monitor device having ladder monitor means for displaying a control program for controlling a device as a ladder diagram and changing a ladder symbol display method according to the state of the device corresponding to the ladder symbol,
The ladder monitor device performs an operation when displaying the state of the device on the screen based on the screen data configured by combining the tag indicating the correspondence relationship between the area on the screen and the device corresponding to the display in the area. A programmable display to identify,
The HMI processing means of the programmable display acquires the state of the device, and updates the contents of the variable associated with the device among the variables stored in the variable memory, and the tag is used to Read the contents of the variable associated with the device associated with the area from the variable memory, and display the operation screen showing the state of the device by displaying the part graphic corresponding to the content,
When the variable stored in the variable memory is associated with an operation result of a preset program, the HMI processing unit associates the result of calculating the contents of the variable memory according to the program with the program. Can be set as the contents of the specified variable,
In addition, the ladder monitor device includes a ladder screen and a detailed screen on which detailed information related to the ladder symbol is written together, and a ladder screen displayed on the detailed screen by omitting part or all of the detailed information. Display control means for switching and displaying on the ladder monitor means a schematic screen for schematically displaying many ladder symbols;
The activation of the ladder monitor screen displayed by the ladder monitor means and the operation on the ladder monitor screen are associated with ladder monitor variables that can be associated with the storage area of the device, the ladder monitor device, or the calculation result of the program. The display control means controls the display of the ladder monitor screen according to the contents of the ladder monitor variable ,
Further, when any three points of the four corner areas of the screen are pressed while the operation screen indicating the device state is displayed based on the screen data, the HMI processing means displays the screen data. Based on this, it is determined that the menu display is instructed, the menu is displayed on a part of the operation screen, and when the button for instructing the display of the ladder monitor screen is pressed among the menu, the ladder monitor device A ladder monitor device that stores the fact that the button has been operated in a storage area associated with the ladder monitor variable area of the storage area and activates the ladder monitor screen .
上記表示制御手段は、概略画面で表示されるラダー記号が選択された場合、当該ラダー記号を含む詳細画面を表示することを特徴とする請求項記載のラダーモニタ装置。The display control means, when the ladder symbol is displayed in a schematic screen is selected, the ladder monitor device according to claim 1, wherein the displaying the details screen including the ladder symbols. 上記制御プログラムに応じて、デバイスを制御する制御手段と、
各デバイスの状態に応じた表示方法の図形で、各デバイスの状態を表示すると共に、当該図形に対する操作を受け付けると、操作に応じたデバイスの制御を上記制御手段に指示する操作手段とを備えていることを特徴とする請求項1または2記載のラダーモニタ装置。
Control means for controlling the device in accordance with the control program;
In addition to displaying the state of each device in a display method graphic according to the state of each device, and receiving an operation on the graphic, the operation means for instructing the control means to control the device according to the operation The ladder monitor device according to claim 1 , wherein the ladder monitor device is provided.
上記詳細画面として、ラダー記号に対応付けられたデバイスの状態の文字表示、デバイスの名称およびデバイスのアドレスを、当該ラダー記号に併記して表示することを特徴とする請求項1、2または3に記載のラダーモニタ装置。As the detail screen character display state of the associated device to the ladder symbols, the name and address of the device of the device, to claim 1, 2 or 3, characterized in that displayed together on the ladder symbol The ladder monitor device described. 請求項1〜のいずれか1項に記載のラダーモニタ装置の各手段として、コンピュータを動作させるプログラム。The program which operates a computer as each means of the ladder monitor apparatus of any one of Claims 1-4 . 請求項記載のプログラムが記録されたコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the program according to claim 5 is recorded.
JP2001274327A 2001-09-10 2001-09-10 Ladder monitor device, program thereof, and recording medium Expired - Lifetime JP4043742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001274327A JP4043742B2 (en) 2001-09-10 2001-09-10 Ladder monitor device, program thereof, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001274327A JP4043742B2 (en) 2001-09-10 2001-09-10 Ladder monitor device, program thereof, and recording medium

Publications (2)

Publication Number Publication Date
JP2003084811A JP2003084811A (en) 2003-03-19
JP4043742B2 true JP4043742B2 (en) 2008-02-06

Family

ID=19099387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001274327A Expired - Lifetime JP4043742B2 (en) 2001-09-10 2001-09-10 Ladder monitor device, program thereof, and recording medium

Country Status (1)

Country Link
JP (1) JP4043742B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4299620B2 (en) * 2003-09-19 2009-07-22 株式会社キーエンス Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium
GB0421286D0 (en) * 2004-09-24 2004-10-27 Primrose Hill Ltd Polymer mixed with oils
JP4573883B2 (en) * 2008-05-19 2010-11-04 三菱電機株式会社 Clutch / brake power amplifier device and control system thereof
US20130232423A1 (en) * 2011-02-03 2013-09-05 Mitsubishi Electric Corporation Display apparatus and operation checking method for the display apparatus
JP5762154B2 (en) * 2011-06-08 2015-08-12 三菱電機株式会社 Information processing apparatus, information processing method, and program
DE112018007978T5 (en) 2018-10-15 2021-05-20 Mitsubishi Electric Corporation Programmable logic controller, external device, method and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59174912A (en) * 1983-03-25 1984-10-03 Toshiba Corp Programming device
JPH05313708A (en) * 1992-05-14 1993-11-26 Fanuc Ltd Sequence program editing system
JP3442963B2 (en) * 1997-04-04 2003-09-02 株式会社デジタル Programmable display
JP2000315105A (en) * 1999-04-30 2000-11-14 Star Micronics Co Ltd Management system for nc machine tool and its management program
JP2001075791A (en) * 1999-09-02 2001-03-23 Digital Electronics Corp Editor device and recording medium recording editor program

Also Published As

Publication number Publication date
JP2003084811A (en) 2003-03-19

Similar Documents

Publication Publication Date Title
JP4043742B2 (en) Ladder monitor device, program thereof, and recording medium
KR20040081004A (en) Displaying method of sequence circuit of injection molding machine
JP2006209381A (en) Control display device, its program, and recording medium
US6711448B2 (en) Setting display apparatus for a programmable controller
JP3847665B2 (en) Control program search device and program thereof
JPH1153027A (en) Monitor system
JP2003157105A (en) Control system, and its program and recording medium
JP2009043569A (en) Illumination control system
JP2003131709A (en) Control display system, control program and recording medium storing the program
JPH08335103A (en) Plant proceeding state display system
JP3892276B2 (en) Programmable display
JP6938234B2 (en) Display system
CN115803785B (en) Display device, control system and drawing method
JPH08314620A (en) Display device
JP2705260B2 (en) Terminal device
JP2004302880A (en) Programmable logic controller, program editor device, their program, and recording medium
JP4509991B2 (en) Programmable display, program and recording medium recording the same
JPH053590A (en) Terminal equipment for remote control system
JP2533373B2 (en) Control program creation method
JP2005251014A (en) Control system, control monitor program, recording medium recorded with program therefor, editor device, editor program, and recording medium recorded with program therefor
JPH03169196A (en) Terminal equipment
JPH06266419A (en) Display method for operation indicator of programmable controller
JP2008059488A (en) Sequence processing monitoring device
JP4041963B2 (en) Inching control method and inching control system
JPH07160311A (en) Superimposing display device for operation display unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060120

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070205

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070821

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070913

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20071019

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071114

R150 Certificate of patent or registration of utility model

Ref document number: 4043742

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131122

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

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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