JP4563255B2 - Programmable display, control program, and recording medium recording the program - Google Patents
Programmable display, control program, and recording medium recording the program Download PDFInfo
- Publication number
- JP4563255B2 JP4563255B2 JP2005157109A JP2005157109A JP4563255B2 JP 4563255 B2 JP4563255 B2 JP 4563255B2 JP 2005157109 A JP2005157109 A JP 2005157109A JP 2005157109 A JP2005157109 A JP 2005157109A JP 4563255 B2 JP4563255 B2 JP 4563255B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- display
- screen
- unit
- data
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Programmable Controllers (AREA)
Description
本発明は、デバイスの状態を表示する機能を有するプログラマブル表示器、制御プログラムおよびそのプログラムを記録した記録媒体に関するものである。 The present invention relates to a programmable display having a function of displaying the state of a device, a control program, and a recording medium on which the program is recorded.
プログラマブルロジックコントローラ(PLC)などのホストコントローラを中心とする制御システムにおいては、PLCのメモリに蓄えられたデータをメモリのアドレスに関連付けて取得したり書き替えたりする。 In a control system centered on a host controller such as a programmable logic controller (PLC), data stored in the PLC memory is acquired or rewritten in association with the memory address.
例えば、特許文献1には、PLCから出力されるデータにコメントを対応付けてデータベース管理することが開示されている。データに関するコメントを参照することにより、アドレスを参照することに比べて、データの意味内容を容易に理解することができる。
ターゲットシステムの状態(より詳細にはターゲットシステムにおける特定のデバイスの状態)を確認する場面としては、ターゲットシステムの設置時における試運転やテスト、故障などのトラブル発生時などが挙げられる。しかしながら、上記の特許文献1に開示されたシステムでは、データをデータベースに一旦集めてから確認するので、ターゲットシステムが設置された現場で即時にデバイスの状態を確認することができない。
As a scene for confirming the state of the target system (more specifically, the state of a specific device in the target system), there are a trial operation, a test, and a trouble such as a failure when the target system is installed. However, in the system disclosed in the above-mentioned
一方、プログラマブル表示器は、PLCとの接続インタフェースを備えており、PLCに接続されたターゲットシステムの稼働状況を表示したり、ターゲットシステムへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。このようなプログラマブル表示器を用いれば、ターゲットシステムが設置された現場でデバイスの状態をメモリにおけるアドレスの内容として表示することができる(アドレスモニタ機能)。 On the other hand, the programmable display device has a connection interface with the PLC, displays the operating status of the target system connected to the PLC, and accepts an operation input for giving a control instruction to the target system from the screen. This is an operation-type display with a function. If such a programmable display is used, the state of the device can be displayed as the contents of the address in the memory at the site where the target system is installed (address monitor function).
プログラマブル表示器のアドレスモニタ機能は、ユーザがデバイスの状態を確認したいアドレスを入力すると、プログラマブル表示器がPLCより指定されたアドレスからデータを取得して、アドレスモニタ用の画面にアドレス名とともに表示するというものである。 The programmable monitor's address monitor function allows the programmable display to acquire data from the address specified by the PLC and display it on the address monitor screen together with the address name when the user inputs the address to check the device status. That's it.
ところが、このアドレスモニタ機能で提供される表示画面は、表示形式が定められており、アドレス名とそれに対応するデータしか表示されない。このため、このようなアドレスモニタ機能は、システム設計者のようにアドレス名が何を意味するかを理解できるユーザに対しては不都合はないが、現場の作業者のようにアドレス名が何を意味するかを理解できないユーザにとっては、どのアドレスを入力すればよいかがわからず、扱いにくいという不都合がある。また、前記の特許文献1のようにコメントに基づいて当該コメントに対応するアドレスの内容を表示するようにすれば、コメントによってデバイスの内容を容易に確認することができると考えられる。
However, the display screen provided by the address monitor function has a predetermined display format, and displays only the address name and the corresponding data. For this reason, such an address monitor function is not inconvenient for a user who can understand what an address name means like a system designer, but what an address name does like a worker in the field. For a user who cannot understand what is meant, there is an inconvenience that it is difficult to handle because it does not know which address to input. Further, if the content of the address corresponding to the comment is displayed based on the comment as in
しかしながら、従来のアドレスモニタ機能では、アドレスの内容を表示する形式が固定されており、多様な表現でアドレス内容を表示することができなかった。このため、アドレス内容に応じた最適の表示形式やプログラマブル表示器の操作者の好みに応じた表示形式などでアドレス内容を表示することができなかった。 However, in the conventional address monitor function, the format for displaying the address contents is fixed, and the address contents cannot be displayed in various expressions. For this reason, the address contents cannot be displayed in an optimum display format corresponding to the address contents or a display format according to the preference of the operator of the programmable display.
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、アドレスの内容を多様に表示することにより、よりわかやりすいアドレス内容表示機能を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an address content display function that is easier to understand by displaying a variety of address contents.
本発明に係るプログラマブル表示器は、デバイスの状態を記憶する記憶手段からアドレスを指定して取得したデバイスの状態を表示するプログラマブル表示器において、上記の課題を解決するために、前記アドレスおよび当該アドレスに付与されたコメントの組み合わせを記録したアドレス情報ファイルから前記アドレスまたは前記コメントを抽出する抽出手段と、抽出された当該アドレスまたは抽出された当該コメントに対応するアドレスに基づいて取得されたデバイスの状態を予め設定された表現にしたがって所定の画面に表示する処理を行う表示処理手段とを備えていることを特徴としている。 In order to solve the above-mentioned problem, the programmable display device according to the present invention displays the address and the address in the programmable display device that displays the device state obtained by designating the address from the storage unit that stores the device state. The extraction means for extracting the address or the comment from the address information file that records the combination of comments given to the device, and the state of the device acquired based on the extracted address or the address corresponding to the extracted comment And a display processing means for performing a process of displaying on a predetermined screen in accordance with a preset expression.
上記の構成では、抽出手段によって、アドレスがアドレス情報ファイルから抽出されると、そのアドレスに基づいてデバイスの状態が取得されると、表示処理手段によって、取得されたデバイスの状態が予め設定された表現にしたがって表示される。あるいは、抽出手段によって、コメントがアドレス情報ファイルから抽出されると、そのコメントに対応するアドレスに基づいてデバイスの状態が取得されると、表示処理手段によって、取得されたデバイスの状態が予め設定された表現にしたがって表示される。 In the above configuration, when the address is extracted from the address information file by the extraction unit, and the device state is acquired based on the address, the acquired device state is preset by the display processing unit. Displayed according to the expression. Alternatively, when the comment is extracted from the address information file by the extraction unit, and the device state is acquired based on the address corresponding to the comment, the acquired device state is preset by the display processing unit. It is displayed according to the expression.
上記の表現としては、文字の表示色の指定や、コメントの他言語での表示や、ビットデバイスの状態をランプ部品などで表示することなど、多様に設定することができる。それゆえ、よりわかりやすいデバイス状態表示機能を提供することができる。また、アドレス情報ファイルを参照することから、従来のアドレスモニタ機能のようにプログラマブル表示器においてアドレスを一つずつ入力する手間を省くことができる。しかも、アドレスの組み合わせが異なる別のアドレス情報ファイルを用意しておけば、多様なアドレス情報を提供することができる。 The above expression can be set in various ways, such as designation of the display color of characters, display of comments in other languages, and display of the status of the bit device with a lamp component or the like. Therefore, it is possible to provide a device status display function that is easier to understand. In addition, since the address information file is referred to, it is possible to save the trouble of inputting the addresses one by one in the programmable display as in the conventional address monitor function. In addition, if different address information files having different address combinations are prepared, a variety of address information can be provided.
前記プログラマブル表示器において、前記アドレス情報ファイルは、前記アドレスおよび前記コメントとの組み合わせをグループに分類して記録しており、前記抽出手段は、グループ毎に前記組み合わせを抽出することが好ましい。これにより、所望のひとまとまりのアドレス内容を容易に表示することができる。それゆえ、アドレスマップ情報の表示を効率的に行うことができる。 In the programmable display device, it is preferable that the address information file classifies and records combinations of the addresses and the comments into groups, and the extraction unit extracts the combinations for each group. As a result, a desired group of address contents can be easily displayed. Therefore, the address map information can be displayed efficiently.
また、前記プログラマブル表示器において、前記デバイスの状態が表示された前記画面を画面メモリに保存する保存手段を備えていることが好ましい。これにより、トラブルが生じたときの所望のアドレス内容を保存しておけば、それを後のトラブル検証に利用することができる。 Moreover, it is preferable that the said programmable display is provided with the memory | storage means to preserve | save the said screen by which the state of the said device was displayed on the screen memory. Thus, if the desired address content when a trouble occurs is stored, it can be used for later trouble verification.
本発明の制御プログラムは、前述のいずれかのプログラマブル表示器を動作させるための制御プログラムであって、コンピュータを前記各手段として機能させるプログラムである。また、この制御プログラムは、コンピュータ読み取り可能な記録媒体に記録される。このように、制御プログラムをコンピュータに読み取らせて実行させることにより、前記プログラマブル表示器による多様なデバイス状態表示機能を実現することができる。 The control program of the present invention is a control program for operating any of the aforementioned programmable displays, and is a program that causes a computer to function as each of the means. The control program is recorded on a computer-readable recording medium. As described above, various device state display functions by the programmable display device can be realized by causing the computer to read and execute the control program.
本発明に係るプログラマブル表示器は、以上のように、アドレス情報ファイルからアドレスまたはコメントを抽出し、抽出された当該アドレスまたは抽出された当該コメントに対応するアドレスに基づいて取得されたデバイスの状態を予め設定された表現にしたがって所定の画面に表示する処理を行うことによって、アドレスの内容を多様に表示することができるので、よりわかりやすいアドレス内容表示機能を提供することができる。それゆえ、システムに精通したシステム管理者やシステム設計者だけでなく、現場作業者や保守要員にとっても扱いやすいデバイス状態表示機能を実現することができるという効果を奏する。 As described above, the programmable display according to the present invention extracts an address or a comment from the address information file, and displays the state of the device acquired based on the extracted address or the address corresponding to the extracted comment. By performing the process of displaying on a predetermined screen according to a preset expression, the contents of the address can be displayed in various ways, so that a more easily understood address content display function can be provided. Therefore, it is possible to realize a device status display function that is easy to handle not only for system administrators and system designers familiar with the system, but also for field workers and maintenance personnel.
本発明の実施形態を図1ないし図5に基づいて説明すると、以下の通りである。 An embodiment of the present invention will be described with reference to FIGS. 1 to 5 as follows.
図1に示すように、本実施形態に係る制御システム1は、プログラマブル表示器2と、PLC3と、デバイス4と、シリアルケーブル5とを備えている。
As shown in FIG. 1, the
また、プログラマブル表示器2は、画面転送ケーブル6を介してパーソナルコンピュータ7と接続されている。画面転送ケーブル6は、後述するようにパーソナルコンピュータ7で作成された画面データをプログラマブル表示器2に転送するためのケーブルであり、USBケーブルなどが用いられる。パーソナルコンピュータ7は、作画ソフトウエアがインストールされており、後述するようにして作成した画面データを転送するときに画面転送ケーブル6を介してプログラマブル表示器2と接続されるが、通常、プログラマブル表示器2とPLC3とが通信を行う制御システム1の運転時には、プログラマブル表示器2と切り離される。
The
一方、プログラマブル表示器2およびPLC3は、シリアルケーブル5を介して接続されている。シリアルケーブル5は、PLC3に固有の通信プロトコルで通信を行うことが可能なケーブルである。通信プロトコルは、PLC3がシーケンサから発達してきた経緯もあって、製造会社毎、あるいは、同一会社であっても製品毎など、PLC3の機種毎に異なっていることが多い。
On the other hand, the
PLC3は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、入力ユニットを介して入力用のデバイス4から出力される出力データを取り込むとともに、出力用のデバイス4に制御データを与える。入力用のデバイス4としては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力用のデバイス4としては、アクチュエータ、リレー、電磁弁、表示器などが用いられる。これらのデバイス4…は、製造ラインなどの各種のターゲットシステムの所要各部に配置される。また、デバイス4は、後述するタッチパネル24などの入力装置から手動で入力されたデータを格納するための後述するメモリ部22における特定の領域であってもよい。また、デバイス4は、PLC3内の特定の領域であってもよい。
The
PLC3内のメモリ(デバイスメモリ,記憶手段)は、デバイス4の状態やデバイス4の設定値などのデータ(ワードデータやビットデータ)を、デバイスアドレスで指定された領域に格納している。メモリにおいて、ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、PLC3内の任意のワードデバイスまたはビットデバイスをアクセスするだけでデバイス4…を制御し、またはその状態に関する情報を個別に取り出すことができる。
The memory (device memory, storage means) in the
以降の説明では、デバイスアドレスを適宜アドレスと称する。 In the following description, the device address is appropriately referred to as an address.
プログラマブル表示器2は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画面データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。制御システム1のHMIとして好適に使用されるプログラマブル表示器2は、後述する処理指示語(タグ)を組み合わせて決定される画面データに基づいて、デバイス4の状態を画面表示する際の動作や、画面への操作に応じてデバイス4の状態を制御する際の動作を特定する。このプログラマブル表示器2は、シリアルケーブル5を介したPLC3との通信により、PLC3を介して表示画面に状態を表示する各デバイス4の状態を取得し、例えば、後述のディスプレイ34に各デバイス4の状態を表示する機能を有する。また、プログラマブル表示器2は、後述のタッチパネル24への操作に応じて、デバイス4へデバイスの状態制御を指示する機能を有する。
The
なお、デバイス4の状態の取得/変更は、その都度指示してもよいし、プログラマブル表示器2内にキャッシュを用意し、取得/変更時には、キャッシュへアクセスするとともに、所定の時間間隔毎や所定のイベント毎に通信してデバイスアドレスの実体と同期を取ってもよい。
The acquisition / change of the state of the device 4 may be instructed each time, or a cache is prepared in the
プログラマブル表示器2は、上記の機能を実現するために、HMI処理部21と、メモリ部22と、メモリカードインターフェース部(図中、メモリカードI/F)23、タッチパネル24、ディスプレイ25およびインターフェース部(図中、I/F)26,27を備えている。以下、プログラマブル表示器3の主要各部について詳細に説明する。
In order to realize the above functions, the
メモリカードインターフェース部23は、メモリカード8に対するデータの書き込みおよび読み出しを行なうリーダ/ライタである。メモリカード8としては、小型かつ大容量のCF(登録商標)カードが好適である。
The memory
タッチパネル24は、ディスプレイ25の表示画面上で入力を行うために設けられている入力装置である。ディスプレイ25は、プログラマブル表示器2を薄型に構成するために、液晶ディスプレイやELディスプレイのような平板型ディスプレイが好適に用いられる。
The
インターフェース部26は、プログラマブル表示器2がパーソナルコンピュータ7との間の通信を行うための通信制御部であり、画面転送ケーブル6に接続されている。一方、インターフェース部27は、プログラマブル表示器2がPLC3との間のシリアル通信を行うための通信制御部であり、シリアルケーブル5に接続されている。
The
HMI処理部21は、後述するユーザ画面の表示制御の処理を行うために各種のデータ処理を行う。なお、表示制御処理(表示制御機能)については、後に詳しく説明する。
The
メモリ部22は、DRAM22a、FEPROM(Flash Erasable and Programmable ROM)22b、SRAM22c等のメモリを含んでいる。
The
DRAM22aは、主に、表示制御などの演算処理時の作業用に用いられる他、PLC3との間でやり取りされるデータの一時的な記憶に用いられる。特に、DRAM22aは、PLC3の入出力メモリに格納されるデバイス4の状態(デバイスアドレスの内容)を入出力メモリとの間で受け渡しするための状態メモリ領域を有している。
The
SRAM22cは、PLC3から得られたデータをロギングしたり、PLC3に与える設定値データ(レシピデータ)を記憶したりするために用いられる。
The
FEPROM22bは、書き替え可能な読み出し専用のフラッシュメモリであり、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。
The
また、上記のFEPROM22bは、図2に示すように、HMI処理プログラムと、通信プロトコルと、画面データとをそれぞれ格納するエリアを有している。
Further, as shown in FIG. 2, the
HMI処理プログラム(制御プログラム)は、画像表示制御、入力操作制御、通信制御などのプログラマブル表示器2が動作するための基本機能を実現するためのプログラムである。このHMI処理プログラムがHMI処理部21において実現する機能については、後に詳しく説明する。
The HMI processing program (control program) is a program for realizing basic functions for operating the
通信プロトコル(専用通信プロトコル)は、PLC3との通信処理で用いられるプロトコルであり、PLC3の機種(メーカ)に応じて固有に定められている。この通信プロトコルには、PLC3へのデータの読み出しを指示するコマンドコードが含まれている。このコマンドコードは、PLC3の制御機能に対応付けられているアドレスと組み合わされることによって、所望の制御機能についてのデータをPLC3に送信することができる。
The communication protocol (dedicated communication protocol) is a protocol used in communication processing with the
画面データは、プログラマブル表示器2に表示される画面のデータであり、ディスプレイ25に表示すべきベース画面や部品のデータおよび各部品に付与された処理指示語Wなどを含んでいる。
The screen data is data of a screen displayed on the
図3に示すように、画面データに含まれる処理指示語(タグ)Wは、ベース画面上で実行されるべき事象毎に作成されている。この処理指示語Wは、基本的には、表示制御動作を実行すべきベース画面のファイル番号Fと、このベース画面上で実行すべき動作内容を特定する事象名Tと、各実行事象毎に参照される1または複数のデータからなる参照情報Iとを一組として備えている。 As shown in FIG. 3, the processing instruction word (tag) W included in the screen data is created for each event to be executed on the base screen. The processing instruction word W basically includes the file number F of the base screen on which the display control operation is to be executed, the event name T for specifying the operation content to be executed on the base screen, and the execution event for each execution event. A set of reference information I including one or a plurality of data to be referred to is provided.
本実施形態に係るプログラマブル表示器2では、上記のタグとして、ベース画面上の領域(表示範囲)とその領域への表示に対応するデバイスのデバイスアドレスとの対応を示す表示タグ、および画面上の領域(入力範囲)とその領域へのタッチ入力に対応するアドレスとの対応を示す入力タグが規定されている。さらに、本実施形態では、各タグは、複数の単位画面の少なくとも1つと関連付けることができる。
In the
表示タグは、タッチパネル24の操作と連動して、ベース画面上における対応位置に所定の図形を表示可能とする。すなわち、表示タグは、ファイル番号Fとしてベース画面のファイル番号を含み、事象名として図形などの表示対象の表示を特定する事象名を含み、表示対象の表示座標範囲、呼び出す表示対象を特定するファイル番号、および表示対象を表示時に参照するアドレスを含んでいる。
The display tag can display a predetermined graphic at a corresponding position on the base screen in conjunction with the operation of the
また、入力タグは、例えば、タッチパネル24に対するタッチ操作と連動して、DRAM22a内に設けられた前述の状態メモリ領域内の所定アドレス位置に設定したビットデバイスを反転可能とする。すなわち、入力タグは、ファイル番号Fとして単位画面のファイル番号を含み、事象名Tとしてタッチパネル24の操作を特定する事象名を含み、参照情報Iとしてタッチパネル24からの入力操作を有効とする入力座標範囲、およびタッチパネル24のタッチ操作と連動してデータを書き替えるべきアドレスを含んでいる。
The input tag enables the bit device set at a predetermined address position in the state memory area provided in the
上記の画面データは、後述する作画エディタ部73によって作成され、プログラマブル表示器2に転送されてFEPROM22bにファイル形式でFEPROM22bに保存される。この画面ファイルは、図形データやアドレスデータを含んでいる。図形データは、円や四角形などの図形データ、部品のデータ、文字列、処理指示語Wなどを含んでいる。アドレスデータは、図形データにおける部品のデータや処理指示語Wなどのアドレスに対応付けられるデータについて、作画エディタ部73で設定された前記のアドレスおよびアドレスに対応するコメントを含んでいる。
The screen data is created by the drawing
コメントとしては、デバイス4の動作状態のような事象名や、スイッチに対応するSWやランプに対応するLAMPのようなデバイス4に対応する符号や、操作指示などが挙げられる。 The comment includes an event name such as the operating state of the device 4, a code corresponding to the device 4 such as SW corresponding to the switch and the lamp, and an operation instruction.
HMI処理部21のHMI(Human Machine Interface)機能は、画面データの表示、ユーザ画面への各種のデータの設定、設定されたデータのPLC3への送信およびPLC3から受信したデータのユーザ画面への表示などである。このような機能は、前述のHMI処理プログラムをプログラマブル表示器2が備えるCPUなどの演算処理手段に実行させることにより図4に示す制御部21aとして実現される。
The HMI (Human Machine Interface) function of the
この制御部21aは、画面データから、現在表示中の単位画面に関連する表示タグを抽出するとともに、各表示タグに関連するデバイスアドレスの内容をそれらの表示タグについて所定の周期毎にPLC3から読み出し、表示タグで指定された表現形式の部品などを読み出した値に応じた形態で画面上の指定された領域へ表示する。一方、制御部21aは、タッチパネル24への入力操作を受け付けると、現在表示中の単位画面に対応し、その入力操作にマッチする入力タグを画面データから検索し、入力タグが示すデバイスアドレスの内容(デバイスアドレスで特定されるメモリ領域に格納されたデータ)を入力結果に応じて書き替える。これにより、プログラマブル表示器2は、画面データが示すデバイス4の状態を、画面データが示す表現形式で画面データが示す表示位置(部品など)に、データ表示用の部品(メータ表示器、数値表示器、グラフ表示器など)を用いて表示したり、表示した画面において部品などを介した入力操作に応じてデバイス4の状態を変更したりできる。
The
また、HMI処理部21は、アドレス内容表示処理部21bを含んでいる。
The
アドレス内容表示処理部21b(抽出手段,表示処理手段)は、メモリカード8に格納されたアドレスマップデータファイルAMDFの情報を、指定された表現で表示するための処理を行う。
The address content
メモリカード8には、例えば、図4に示すように、アドレスマップデータファイルAMDFが格納されている。このアドレスマップデータファイルAMDFは、アドレスと、このアドレスに対応する前述のコメントと、グループとを関連付けたデータを記録している。つまり、アドレスマップデータファイルAMDFは、アドレスとコメントとの組み合わせをグループに分類して記録している。
The
このアドレスマップデータファイルAMDFは、例えば汎用の表計算ソフトウエアにCSV(Comma Separated Value)の形式で形成されている。なお、アドレスマップデータファイルAMDFは、その他のソフトウエアの異なる形式で形成されていてもよい。 The address map data file AMDF is formed, for example, in a CSV (Comma Separated Value) format in general-purpose spreadsheet software. The address map data file AMDF may be formed in a different format of other software.
アドレス内容表示処理部21bは、図5に示すアドレスマップ表示画面101によってアドレスマップデータファイルAMDFの情報を表示する処理を行う。このアドレスマップ表示画面101は、アドレスマップデータファイル表示部102と、アドレスマップ表示部103と、詳細設定部104と、画面キャプチャボタン105とを有している。
The address content
アドレス内容表示処理部21bは、詳細設定部104で設定された表現にしたがい、アドレスマップデータファイル表示部102から取得したアドレスやコメントに基づいて、アドレスの内容(データ,デバイス4の状態)をアドレスマップ表示部103に表示する。また、保存手段としてのアドレス内容表示処理部21bは、アドレスマップ表示画面101にアドレスの内容が表示された状態で、画面キャプチャボタン105がユーザによってタッチ操作されると、そのアドレスマップ表示画面101をメモリカード8(画面メモリとして機能)などに保存する。
The address content
アドレスマップデータファイル表示部102は、上記のアドレスマップデータファイルAMDFの内容を表示するために設けられている。アドレスマップ表示部103は、アドレスの内容を詳細設定部104で設定された表現で表示するために設けられている。詳細設定部104は、アドレスの内容を表示する各種の表現を設定する項目をプルダウンメニュー形式などで表示する。
The address map data file
詳細設定部104で設定される表現の詳細としては、スクロール表示、色設定、ランプ表示、ローカライズなどが用意されている。スクロール表示は、全画面表示でも表示しきれない場合にスクロール表示できるようにする設定である。色設定は、表示内容を所望の色で表示できるようにする設定である。
Scroll display, color setting, lamp display, localization, and the like are prepared as details of the expression set in the
ランプ表示は、アドレスの内容が反映されている項目(ビットデバイス)をランプの点灯状態で表現する設定である。例えば、ビットデバイスのアドレスの内容が“1”である場合はアドレスまたはコメントの付近に設けられたランプを点灯表示し、ビットデバイスのアドレスの内容が“0”である場合はランプを消灯表示する。 The lamp display is a setting that expresses an item (bit device) reflecting the contents of the address by the lighting state of the lamp. For example, when the content of the bit device address is “1”, a lamp provided near the address or the comment is turned on, and when the content of the bit device address is “0”, the lamp is turned off. .
ローカライズ表示は、アドレスマップ表示部103にコメントを表示する場合、アドレスマップデータファイルAMDFにコメント(日本語)に対応する他言語(英語など)のコメントが含まれる場合、日本語のコメントではなくその他言語のコメントを表示できるようにする設定である。
In the localized display, when a comment is displayed on the address
詳細設定部104で設定される表現としては、その他、アドレスマップ表示部103における表示がグループの順番に並ぶようにソートとしてグループ毎に表示をまとめる設定や、現在アドレスマップ表示部103に表示されているグループと異なるグループのアドレス内容の表示に切り替えたり、アドレスを一つずつシフトしてアドレス内容を表示したりする表示情報を入れ替えることも設けられていてもよい。また、前記のランプ表示に代えて、アドレス内容が“1”である場合はそのまま“1”を表示する一方、アドレス内容が“0”である場合はそのまま“0”を表示するような文字で表示する表現も詳細設定部104で設定されてもよい。
The expression set in the
アドレス内容表示処理部21bは、アドレスマップデータファイル表示部102に表示されたアドレスがユーザによってアドレスマップ表示部103にドラッグ&ドロップされると、そのアドレスをアドレスマップ表示部103に表示し、そのアドレスのデータを制御部21aを介してPLC3から取得してアドレスマップ表示部103に表示する。また、アドレス内容表示処理部21bは、アドレスマップデータファイル表示部102に表示されたコメントがユーザによってアドレスマップ表示部103にドラッグ&ドロップされると、そのコメントをアドレスマップ表示部103に表示し、そのコメントに対応するアドレスのデータを制御部21aを介してPLC3から取得してアドレスマップ表示部103に表示する。さらに、アドレス内容表示処理部21bは、アドレスマップデータファイル表示部102に表示されたグループがユーザによってアドレスマップ表示部103にドラッグ&ドロップされると、そのグループの全てのアドレスおよびコメントをアドレスマップ表示部103に表示し、それらのアドレスのデータを制御部21aを介してPLC3から取得してアドレスマップ表示部103に表示する。
When the address displayed on the address map data file
上記のHMI制御部21は、FEPROM22bに格納されるHMI処理プログラム(制御プログラム)がCPUなどの演算処理部によって実行されることで実現される機能ブロックの部分である。このHMI処理プログラムは、プログラマブル表示器2と分離可能に構成される記録媒体に記録可能であり、その記録媒体からプログラマブル表示器2にインストールされてもよい。
The
上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。 The above recording media include tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as flexible disks and hard disks, optical disk systems such as CD-ROM, MO, MD, and DVD, IC cards (including memory cards), optical A card system such as a card is preferred. In addition, the program medium may be a medium that carries a fixed program including a semiconductor memory such as a mask ROM, EPROM, EEPROM, flash ROM, or the like.
また、本制御システム1は、インターネットを含む通信ネットワークと接続可能に構成されていれば、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。
Further, if the
続いて、パーソナルコンピュータ7について説明する。パーソナルコンピュータ7は、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有している。また、パーソナルコンピュータ7は、図1に示すように、制御部71、インターフェース部(図中、I/F)72、作画エディタ部73およびデータ記憶部74を備えている。
Next, the
インターフェース部72は、プログラマブル表示器2との間の通信を行うための通信制御部であり、画面転送ケーブル6に接続されている。
The
制御部71は、ハードウエア(CPUやメモリなど)およびソフトウエア(オペレーティングシステムなど)によって実現される演算処理を行う部分である。また、制御部71は、アプリケーションプログラムである作画ソフトウエアを実行することにより、作画エディタ部73を実現する。
The
作画エディタ部73は、ユーザ独自の画面であるユーザ画面を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品、各種のタグ設定機能、描画機能、テキスト入力機能などを備えている。部品としては、単一の機能を有する部品だけでなく、複数の機能を有する、複合スイッチ、カウンタ、タイマといった複合機能を有する部品が用意されている。表示要素としての部品は、ユーザが容易に選択できるようにライブラリ形式で登録されており、部品の機能に応じた入力タグや表示タグなどが予め付与されている。描画機能は、直線や曲線の線図形(表示要素)を描画したり、円、四角形、三角形などの基本図形(表示要素)の描画および図形内の指定色や模様による塗りつぶしを行ったりするための機能である。
The drawing
また、作画エディタ部73は、前述のアドレスマップ表示画面101を予め標準画面として用意するとともに、詳細設定部104にて設定可能な多種の表示表現を予め用意しており、ユーザによってそれらの表示表現から選択して設定することができるようなユーザーインターフェース(例えば設定ウインドウ)を提供する。
The drawing
データ記憶部74は、上記のアドレスマップ表示画面101を含む、作画エディタ部73によって作成されたユーザ画面(画面データ)を記憶する記憶装置である。データ記憶部74は、ハードディスク装置のような大容量記憶装置で構成される。データ記憶部74に記憶されている画面データは、実行環境にダウンロードするために、プログラマブル表示器2に転送されてFEPROM22bに保存される。また、このデータ記憶部74は、前述のアドレスマップデータファイルAMDFを格納していてもよい。
The
ここで、上記のように構成される制御システム1におけるアドレス内容を表示する動作について説明する。
Here, the operation of displaying the address contents in the
まず、オンラインの状態(PLC3の稼働状態)、かつアドレスマップ表示画面101がプログラマブル表示器2のディスプレイ25に表示されている状態で、ユーザが、例えば、アドレスマップデータファイル表示部102に表示されたコメント(図5の例では、「バルブ」と「タンク」)を、アドレスマップ表示部103にドラッグ&ドロップする操作を行って、コピー&ペーストする(アドレスマップデータファイルAMDFから抽出する)。すると、アドレス内容表示処理部21bによって、そのコメントがアドレスマップ表示部103に表示され、制御部21aのPLC3との通信機能を利用してアドレスの内容が取得されて、アドレスマップ表示部103にコメントとともに表示される。
First, the user is displayed on, for example, the address map data file
このとき、アドレス内容表示処理部21bによって、アドレスマップ表示部103に表示される詳細設定部104で設定された表現でアドレスマップ表示部103の表示内容が表示される。これにより、例えば、コメントの表示色を赤で表示したり、コメントを英語で表示したりすることができる。なお、コメントを他言語で表示する場合、コメントがユニコードで入力されていれば、詳細設定によりコメントの英語表示が設定されているとき、「運転」というコメントをユニコードに基づいて「RUN」という英語表記に変換して表示するようにしてもよい。
At this time, the display content of the address
以上のように、プログラマブル表示器2においては、アドレス内容表示処理部21bが、アドレスマップデータファイルAMDFの内容に基づいてアドレスの内容を表示し、その表示形態を詳細設定部104で設定された各種の表現で表示する。これにより、アドレスの内容を多様に表示することができるので、よりわかりやすいアドレス内容表示機能を提供することができる。それゆえ、制御システム1に精通したシステム管理者やシステム設計者だけでなく、現場作業者や保守要員にとっても扱いやすいアドレス内容表示機能を実現することができる。特に、コメントと併せてアドレス内容を表示することにより、よりアドレス内容をわかりやすくすることができる。
As described above, in the
また、アドレスマップデータファイルAMDFを参照することから、従来のアドレスモニタ機能のようにプログラマブル表示器2においてアドレスを一つずつ入力する手間を省くことができる。しかも、アドレスの組み合わせが異なる別のアドレスマップデータファイルAMDFを用意しておけば、多様なアドレスマップ情報を提供することができる。
In addition, since the address map data file AMDF is referred to, it is possible to save the trouble of inputting the addresses one by one in the
また、アドレスの内容をグループに分けて表示する機能により、所望のひとまとまりのアドレス内容を容易に表示することができる。それゆえ、アドレスマップ情報の表示を効率的に行うことができる。 In addition, a desired group of address contents can be easily displayed by the function of displaying the address contents in groups. Therefore, the address map information can be displayed efficiently.
さらに、表示されているアドレスマップ表示画面101をキャプチャして保存する機能により、トラブルが生じたときの所望のアドレス内容を保存しておけば、それを後に行うトラブル検証に利用することができる。
Furthermore, if a desired address content when a trouble occurs is saved by a function of capturing and saving the displayed address
なお、アドレスマップデータファイルAMDFは、メモリカード8に格納されているが、それ以外の記憶手段、例えばFEPROM22bやパーソナルコンピュータ7のデータ記憶部74に記憶されていてもよい。
The address map data file AMDF is stored in the
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
本発明のプログラマブル表示器は、アドレスの内容を、予め作成されているアドレスマップデータファイルAMDFを参照して表示するとともに、予め用意されている多様な表現で表示するので、プログラマブル表示器を含む制御システムのメンテナンス(システムの設置、試運転、テスト、トラブル対応など)を効率的に行うことに好適に利用できる。 The programmable display of the present invention displays the contents of the address with reference to the address map data file AMDF prepared in advance and displays it in various expressions prepared in advance, so that the control including the programmable display is included. It can be suitably used to efficiently perform system maintenance (system installation, trial operation, testing, troubleshooting, etc.).
2 プログラマブル表示器
3 PLC
8 メモリカード(画面メモリ)
21 HMI処理部
21b アドレス内容表示処理部(抽出手段,表示処理手段,保存手段)
101 アドレスマップ表示画面
AMDF アドレスマップデータファイルAMDF(アドレス情報ファイル)
2
8 Memory card (screen memory)
21
101 Address map display screen AMDF Address map data file AMDF (address information file)
Claims (4)
前記アドレスおよび当該アドレスに付与されたコメントの組み合わせをグループに分類して記録したアドレス情報ファイルから前記組み合わせをグループ毎に抽出する抽出手段と、
抽出された当該アドレスまたは抽出された当該コメントに対応するアドレスに基づいて取得されたデバイスの状態を予め設定された表現にしたがって所定の画面に表示する処理を行う表示処理手段とを備えていることを特徴とするプログラマブル表示器。 In a programmable display that displays the device status obtained by specifying an address from the memory that stores the device status,
Extraction means for extracting the combination for each group from the address information file in which the combination of the address and the comment given to the address is classified into a group and recorded;
Display processing means for performing processing for displaying a state of a device acquired based on the extracted address or an address corresponding to the extracted comment on a predetermined screen according to a preset expression; A programmable display characterized by the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005157109A JP4563255B2 (en) | 2005-05-30 | 2005-05-30 | Programmable display, control program, and recording medium recording the program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005157109A JP4563255B2 (en) | 2005-05-30 | 2005-05-30 | Programmable display, control program, and recording medium recording the program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006331275A JP2006331275A (en) | 2006-12-07 |
JP4563255B2 true JP4563255B2 (en) | 2010-10-13 |
Family
ID=37552878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005157109A Active JP4563255B2 (en) | 2005-05-30 | 2005-05-30 | Programmable display, control program, and recording medium recording the program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4563255B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6285476B2 (en) * | 2016-01-29 | 2018-02-28 | ファナック株式会社 | PLC maintenance support device and PLC maintenance support program |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63274987A (en) * | 1987-05-06 | 1988-11-11 | 三菱電機株式会社 | Plant state display device |
JPH0764821A (en) * | 1993-08-30 | 1995-03-10 | Fujitsu Ten Ltd | Stored contents display device for memory |
JPH11338513A (en) * | 1999-04-28 | 1999-12-10 | Mitsubishi Electric Corp | Peripheral device and display method of programmable controller |
JP2000242306A (en) * | 1999-02-23 | 2000-09-08 | Keyence Corp | Display unit |
JP2002182889A (en) * | 2000-12-15 | 2002-06-28 | Digital Electronics Corp | Display device for control |
JP2002268711A (en) * | 2001-03-09 | 2002-09-20 | Patoraito:Kk | Programmable display unit and plotting program for the same and recording medium with its plotting program recorded |
JP2002373007A (en) * | 2001-06-18 | 2002-12-26 | Yokogawa Electric Corp | Method and device for displaying information |
JP2004199258A (en) * | 2002-12-17 | 2004-07-15 | Toshiba Corp | Process monitoring device |
-
2005
- 2005-05-30 JP JP2005157109A patent/JP4563255B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63274987A (en) * | 1987-05-06 | 1988-11-11 | 三菱電機株式会社 | Plant state display device |
JPH0764821A (en) * | 1993-08-30 | 1995-03-10 | Fujitsu Ten Ltd | Stored contents display device for memory |
JP2000242306A (en) * | 1999-02-23 | 2000-09-08 | Keyence Corp | Display unit |
JPH11338513A (en) * | 1999-04-28 | 1999-12-10 | Mitsubishi Electric Corp | Peripheral device and display method of programmable controller |
JP2002182889A (en) * | 2000-12-15 | 2002-06-28 | Digital Electronics Corp | Display device for control |
JP2002268711A (en) * | 2001-03-09 | 2002-09-20 | Patoraito:Kk | Programmable display unit and plotting program for the same and recording medium with its plotting program recorded |
JP2002373007A (en) * | 2001-06-18 | 2002-12-26 | Yokogawa Electric Corp | Method and device for displaying information |
JP2004199258A (en) * | 2002-12-17 | 2004-07-15 | Toshiba Corp | Process monitoring device |
Also Published As
Publication number | Publication date |
---|---|
JP2006331275A (en) | 2006-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7456839B2 (en) | Screen creating device | |
JP4485326B2 (en) | PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
JP4916170B2 (en) | Programmable display, server and program thereof | |
JP2008033573A (en) | Programmable display, control program, recording medium recording the same, control system, client program, and recording medium recording the same | |
JP3847585B2 (en) | Editor registration device, registration program, and recording medium recording the same | |
JP4463716B2 (en) | Programmable display, display control program, and recording medium recording the same | |
JP4566904B2 (en) | System, control program and recording medium recording the program, and image data creation program and recording medium recording the program | |
JP2008158813A (en) | Programmable display unit, display control program and recording medium with this program recorded | |
JP4429990B2 (en) | SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP2006331278A (en) | Programmable display, control program, storage medium recording the program, screen forming device, screen forming program, and storage medium recording the program | |
JP4563255B2 (en) | Programmable display, control program, and recording medium recording the program | |
JP2007179112A5 (en) | ||
JP2007094724A (en) | Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program | |
JP4322780B2 (en) | Screen creation device, screen creation program and recording medium | |
JP2007065910A (en) | Screen preparation device, and screen preparation program, and record medium recording its program | |
JP4335109B2 (en) | Screen creation device, screen creation program, and recording medium recording the same | |
JP4372739B2 (en) | PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP2006099566A (en) | Screen forming device, screen forming program and storage medium recording the same | |
JP2001075791A (en) | Editor device and recording medium recording editor program | |
JP2008033572A (en) | Screen generating apparatus, screen generating program and recording medium for recording this program | |
JP3795473B2 (en) | Editor device and recording medium recording editor program | |
JP2006134098A (en) | Programmable display, display control program, and recording medium with the program recorded thereon | |
JP2006099573A (en) | Screen forming device, screen forming program and storage medium recording the same | |
JP2007065913A (en) | Programmable display unit, control program, and record medium recording its program | |
JP3710731B2 (en) | Editor device and recording medium recording editor program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080425 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100317 |
|
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: 20100727 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100728 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130806 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4563255 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |