【0001】
【発明の属する技術分野】
本発明は、LED(発光ダイオード)表示器や液晶表示器などの表示装置、このような表示装置に表示させる画面データを作成するための作画装置、コンピュータをこのような作画装置として機能させるための作画プログラム、及びそのような作画プログラムを記録した記録媒体に関するものである。
【0002】
【従来の技術】
工場、オフィス、公共設備、家庭などの場所で発生する異常を検知して、画面にその異常の内容に対応するアラームメッセージを表示する機能を有する表示装置が知られている。
このアラームメッセージ機能を有する表示装置は、異常を検知する装置(ホスト装置)から異常を表すデータを受信して、そのデータに基づいて、アラームメッセージの表示を行う。
【0003】
従来の表示装置11の構成を、図7を用いて説明する。表示装置11は、プログラマブルロジックコントローラ(PLC)やパーソナルコンピュータなどからなるホスト装置12に接続されている。
ホスト装置12は、各種の現場状態における信号入力に対して、現場状態信号が異常を示す内容になった時点で、当該異常を検知し、表示装置11にアラームメッセージの表示を指示するデータ(以下「状態データ」又は単に「データ」という)を送信する。
【0004】
表示装置11は、アラームメッセージデータ等を記憶する記憶部13、ホスト装置12から状態データを受信すると、記憶部13に記憶されているアラームメッセージデータ等を読み込み、設定内容に基づいてアラームメッセージ等を作成するデータ処理部14、作成された内容のアラームメッセージを描画する描画部15、並びに描画データを表示するLCD(液晶)表示部16を備えている。
記憶部13に記憶される前記アラームメッセージデータ等は、作画装置としてのパーソナルコンピュータ18を用いて、作画プログラムを使って作成され、表示装置11の記憶部13に記憶されるデータである。
【0005】
作画プログラムを使った従来のアラームメッセージの作成手順を、図8を用いて解説する。図8は、パーソナルコンピュータ18上における、設定画面の概要を表した図である。
まず、アラーム番号(001,002,…)に対応付けて、アラームメッセージ(警報A,B,C,..)を、図8(a)のように対応付けて作成する。また、アラームメッセージを表示するときの配色や表示状態も、図8(b)のように一括して作成する。
【0006】
このアラームメッセージや、配色、表示状態のデータは、パーソナルコンピュータ18から表示装置11に送信され、表示装置11の記憶部13に登録される。
図9は、ホスト装置12から受信される、どのような異常が発生しているのかを表す状態データの構成を示す。状態データは、アラーム番号ごとに1又は0のビットからなる。
【0007】
データ処理部14は、状態データを受信すると、ビット1の立っているアラーム番号を参照して、表示すべきアラームメッセージを知り、そのアラームメッセージを表示部16に送る。
例えば、状態データのアラーム番号1がビット1であれば「警報A」を表示する。続くアラーム番号2,3は、ビット0なので、対応するアラームメッセージ(警報B,C)の表示は行わない。次のアラーム番号4は、ビット1になっているので、アラームメッセージ(警報D)を表示する。以降のアラーム番号5以下は、ビット0なので、対応するアラームメッセージの表示は行わない、等である。
【0008】
画面の上では、図10に示すように、設定された配色、表示態様での警報Aと警報Dの交互表示の繰り返しとなる。
【0009】
【特許文献1】特開平7−225888号
【0010】
【発明が解決しようとする課題】
前述した例では、アラームメッセージ自体に優先度を示す情報が存在していないために、複数のアラームが発生した場合でも、それぞれ同じ表示態様で表示される。例えば、重要なアラームも軽度のアラームも同じ色や表示状態で表示される。このため、アラームの重度、軽度の区別がつきにくい。
また、その表示の順番も決められていないので、アラーム番号順のサイクリックな表示となり、重要なアラームよりも軽度のアラームが先に告知されることもある。
【0011】
そこで、本発明は、アラームに優先度をつけることにより、アラームの表示態様の差別化を図ることができる表示装置を実現することを目的とする。
また、本発明は、アラームに優先度をつけることにより、重要なアラームの認識が容易にできるアラームメッセージ機能を有する表示装置を実現することを目的とする。
【0012】
【課題を解決するための手段及び発明の効果】
本発明の表示装置は、異常の内容に対応付けてアラームの優先度を記憶するとともに、アラームの優先度に対応する表示態様を記憶する記憶部と、ホスト装置より入力されたデータに基づいて、発生している異常に対応するアラームの優先度を記憶部から読み出して、当該優先度に対応する表示態様でアラームメッセージの表示をさせるデータ処理部とを備えるものである(請求項1)。
【0013】
前記の構成によれば、アラームの優先度に応じて、重要なアラームメッセージと軽度のアラームメッセージとを表示態様を変えて表示させることができるので、利用者は、アラームメッセージの差別化がしやすくなり、より確実に異常対応措置がとれるようになる。
前記データ処理部は、現在発生しているアラームの中で、優先度の高い順にアラームメッセージを表示させる設定ができることが好ましい(請求項2)。これにより、重要なアラームメッセージほど時間的に早く表示することができるので、利用者は、アラームの認識が的確にでき、適切な対応がとりやすくなる。
【0014】
前記データ処理部は、現在発生しているアラームの中で、優先度のもっとも高いアラームメッセージのみを表示させる設定ができるようにしてもよい(請求項3)。これにより利用者は、現在設定されている環境下で、比較的重要なアラームメッセージに絞って対応することが可能となる。
前記データ処理部は、特定の優先度のアラームメッセージのみを表示させる設定も可能である(請求項4)。例えば、「特定の優先度」として優先度のもっとも高いものを選定しておけば、優先度の低いアラームが発生してもアラーム表示がなされないことになり、利用者は、早期フォローが求められているアラームに絞って対応することが可能となる。
【0015】
前記表示態様には、配色、点滅表示、反転表示等がある(請求項5)。従来、アラームの重度、軽度を問わず、同じ色や表示態様で表示されていたのに対して、この請求項5記載の発明では、アラームの優先度に応じて、表示態様の差別化を図ることができるようになる。
前記記憶部は、異常の内容に対応付けて、表示を許容するか禁止するかの有効/無効指示情報を記憶しており、前記データ処理部は、この有効/無効指示情報に基づいて、有効指示のある異常の内容に対応するアラームメッセージを表示させ、無効指示のある異常の内容に対応するアラームメッセージを表示させないこともできる(請求項6)。
【0016】
請求項7記載の作画プログラムは、 ホスト装置から入力される状態データに基づいて、アラームメッセージを表示する機能を有する表示装置に適用されるものであって、異常の内容に対応付けてアラームの優先度を設定するとともに、アラームの優先度に対応する表示態様を設定し、これらの設定したデータを請求項1記載の表示装置の記憶部に記憶させるものである。
利用者は、この作画プログラムを作画装置にロードして、アラームの優先度やその優先度に対応する表示態様を設定し、表示装置の記憶部に記憶させることができる。
【0017】
請求項8は、前記作画プログラムを記録した記録媒体に係るものであり、請求項9は、前記作画プログラムによって動作する作画装置に係るものである。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を、添付図面を参照しながら詳細に説明する。
図1は、本発明のアラームメッセージ機能を有する表示装置(以下単に「表示装置」という)1の接続状態、内部構成等を示すブロック図である。
表示装置1は、プログラマブルロジックコントローラ(PLC)やパーソナルコンピュータなどからなるホスト装置2に接続されている。ホスト装置2は、各種の現場状態信号を入力していて、現場状態信号が異常を示す内容になった時点で、当該異常を通知し、表示装置1にアラームメッセージの表示を指示する状態データを送信する。
【0019】
表示装置1は、アラームメッセージデータ、レベル設定データ等を記憶する記憶部3、ホスト装置2から状態データを受信すると、記憶部3に記憶されている対応アラームメッセージデータ、レベル設定データ等を読み込み、アラームメッセージを作成するデータ処理部4、作成された内容のアラームメッセージを描画する描画部5、並びに描画データを表示するLCD(液晶)表示部6を備えている。なお、LCDに代えてLED(発光ダイオード)を表示部に用いてもよい。
【0020】
前記アラームメッセージデータ、レベル設定データ等は、作画装置としてのパーソナルコンピュータ8を用いて、作画プログラムを使って作成される。作成は、マウス、キーボード等を使って行う。
作画プログラムは、図1に示すようにCD−ROM9等の記録媒体に記憶されているものでもよく、ネットワークを通してパーソナルコンピュータ8にダウンロードされるものでもよい。
【0021】
作画プログラムを使ったアラームメッセージデータ等の作成手順を、図2を用いて説明する。図2は、パーソナルコンピュータ8上における、設定画面の概要を表した図である。
まずユーザは、図2(a)のように、アラームメッセージ表示の優先度(レベル)を設定する。この発明の実施の形態では、レベルの数値の大きなほど優先度が高いことを表す。また、レベルごとに、アラームメッセージを表示するときの配色(赤、緑又は青)や表示状態(点滅、反転又は通常)も設定する。
【0022】
なお、レベル数は3つ(1,2,3)に限定されることはなく、もっと数を増やしても減らしてもよい。
そして、図2(b)のように、アラーム番号(001,002,…)に対応付けて、レベル、メッセージ(警報A,B,C,...で表している)、有効/無効の別を設定する。
「有効/無効」とは、アラームメッセージ表示を許容するか禁止するか示すフラグである。「無効」になっていれば、状態データでビット1が入力されても、当該アラームメッセージは表示されない。登録されているアラームメッセージを一時的に未使用としたい場合に、当該アラームメッセージを登録削除しなくても、設定を「無効」にするだけでよい。再度、アラームメッセージを使用したい場合は、当該アラームメッセージの設定を「有効」にすればよい。
【0023】
さらに、図2(c)のように、発生している複数のアラームメッセージを同時に表示する場合に、レベル順に表示するか、アラーム番号順に表示するか、あるいは発生している中で最も高いレベルのもののみ表示するか、特定レベルのもののみ表示するかをチェックすることにより、表示順を選択する。
これら設定されたアラームメッセージ、レベル、配色、表示状態等のデータは、パーソナルコンピュータ18から表示装置11に送信され、表示装置11の記憶部13に登録される。
【0024】
図3は、表示装置1の記憶部3に記憶されるデータの構造を示す図である。
記憶されるデータは、表示位置情報、アラームメッセージ共通情報、アラームメッセージ個別情報に分けられる。
表示位置情報は、アラームメッセージを表示するときの始点位置を示す情報である。
アラームメッセージ共通情報は、アラームメッセージの内容に関わらない共通の情報であり、アラームメッセージ個別情報は、アラームメッセージごとに設定された情報である。
【0025】
アラームメッセージ共通情報には、アラーム状態情報格納先アドレス(PLC又は表示装置の記憶部内において、どこの領域を状態データの格納領域とするかを定義づけるためのデータ)の他、図2(c)で説明した表示順、図2(a)で説明したレベルごとの配色、表示状態がある。
アラームメッセージ個別情報には、図2(b)で説明したとおり、アラーム番号ごとの、レベル、メッセージ、有効/無効の別がある。
【0026】
図4は、ホスト装置2から送られてくる状態データの構造を示す図である。状態データは、例えば、1にはアラーム番号1に対応したデータ、2にはアラーム番号2に対応したデータ、という具合にビット単位のデータごとに各アラーム番号のデータを対応させたデータである。
ホスト装置2は、接続されている機械などの装置の状態が正常(ビットデータ:OFF)であるか異常(ビットデータ:ON)であるかといった情報を、アラーム状態情報格納先アドレスに状態データとして一括して取り込み、表示装置1に送信する。
【0027】
したがって、その状態データの各ビット情報において、ONしているビットに対応するアラーム番号に割り当てられたアラームメッセージが表示する対象となり、装置全体においては、表示装置1に表示されたアラームメッセージが示す内容の異常が発生していることを意味する。
図5は、表示装置1のデータ処理部4の行うアラームメッセージ表示制御手順を示すフローチャートである。
【0028】
表示装置1に、状態データが取得されると(ステップS1)、データ処理部4は、ワークエリア7を使って有効メッセージテーブルを作成する。この有効メッセージテーブルは、1が立っているアラームメッセージであって、かつ、有効フラグが立っているもののみを取り出して、レベル、メッセージを、アラーム番号順にテーブル化したものである。
図6に、有効メッセージテーブルの一例を示す。このテーブルによれば、有効なメッセージのアラーム番号は1,3,5,6であり、アラーム番号1,5はレベル2、アラーム番号3,6はレベル3で表される。
【0029】
データ処理部4は、作成された有効メッセージテーブル数を確認し(図5;ステップS3)、有効メッセージテーブルが存在しなければ(つまり有効なアラームメッセージを受信しなければ)、アラームメッセージの表示をしないで(ステップS4)、リターンする。
有効メッセージテーブルが存在すれば、前記アラームメッセージ共通情報(図3参照)の表示順を参照する(ステップS5)。「レベル順」に設定されている場合は、メッセージテーブルをレベル順にソートし直して(ステップS6)、テーブル順に表示する(ステップS9)。「発生している中で最も高いレベルのもののみを表示」が選択されている場合は、メッセージテーブルをレベル順にソートし直した(ステップS6)後、発生している中で最も高いレベルのもの以外のものをテーブルより削除して(ステップS7)、テーブル順に表示する(ステップS9)。これにより、利用者は最も重要なアラームに絞って対応することが可能となる。また、「特定レベルのみを表示」が選択されている場合は、同様にソートし直した(ステップS6)後、指定された特定レベルのもの以外をテーブルより削除し(ステップS8)、テーブル順に表示する(ステップS9)。なお、同レベルの場合は、アラーム番号順に従う。
【0030】
アラーム番号順に設定されていれば、ステップS6を飛ばしてテーブル順に表示する(ステップS9)。
以上の処理の結果、表示部6における表示例は次のようなものとなる。矢印は時間推移を表す。これらの表示はサイクリックに行われる。
アラーム番号順の場合:警報A→警報C→警報E→警報F→警報A→・・・
レベル順の場合:警報C→警報F→警報A→警報E→警報C→・・・
発生している中で最も高いレベルのもののみを表示:警報C→警報F→警報C→・・・
特定レベルのみを表示(レベル2が指定されている場合):警報A→警報E→警報A→・・・
記憶部3のアラームメッセージ共通情報、アラームメッセージ個別情報を変更するときは、前述したと同様、作画プログラムを使って、パーソナルコンピュータ8の画面において行う。その画面の上で、マウス、キーボード等を使って設定内容を修正、追加する。
【0031】
例えば、特定のアラームメッセージのメッセージ内容を変更する、レベルを変更する、有効/無効の設定を変更する、表示順をレベル順からアラーム番号順に変更する、などである。
以上で、本発明の実施の形態を説明したが、本発明の実施は、前記の形態に限定されるものではなく、本発明の範囲内で種々の変更を施すことが可能である。
【図面の簡単な説明】
【図1】本発明のアラームメッセージ機能を有する表示装置1の接続状態、内部構成等を示すブロック図である。
【図2】作画プログラムを使ってアラームメッセージデータ等の作成するときの、パーソナルコンピュータ8の画面図である。
【図3】表示装置1の記憶部3に記憶されるデータの構造図である。
【図4】ホスト装置2から受信される状態データの構造図である。
【図5】表示装置1のデータ処理部4の行うアラームメッセージ表示制御手順を示すフローチャートである。
【図6】有効メッセージテーブルの構造図である。
【図7】従来の表示装置11の構成図である。
【図8】作画プログラムを使って従来のアラームメッセージを作成するときの、パーソナルコンピュータ18の画面図である。
【図9】ホスト装置12から受信される状態データの構成図である。
【図10】従来のアラームメッセージ表示手順図である。
【符号の説明】
1 表示装置
2 ホスト装置
3 記憶部
4 データ処理部
5 描画部
6 LCD表示部
7 ワークエリア
8 パーソナルコンピュータ
9 CD−ROM[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a display device such as an LED (light emitting diode) display and a liquid crystal display, a drawing device for creating screen data to be displayed on such a display device, and a computer for functioning as such a drawing device. The present invention relates to a drawing program and a recording medium on which such a drawing program is recorded.
[0002]
[Prior art]
2. Description of the Related Art There is known a display device having a function of detecting an abnormality occurring in a place such as a factory, an office, a public facility, or a home, and displaying an alarm message corresponding to the content of the abnormality on a screen.
The display device having the alarm message function receives data indicating an abnormality from a device (host device) that detects the abnormality, and displays an alarm message based on the data.
[0003]
The configuration of the conventional display device 11 will be described with reference to FIG. The display device 11 is connected to a host device 12 including a programmable logic controller (PLC) and a personal computer.
In response to a signal input in various on-site states, the host device 12 detects the abnormality when the on-site state signal indicates an abnormality, and instructs the display device 11 to display an alarm message (hereinafter, data). "Status data" or simply "data").
[0004]
When receiving the status data from the storage unit 13 and the host device 12 for storing the alarm message data and the like, the display device 11 reads the alarm message data and the like stored in the storage unit 13 and outputs the alarm message and the like based on the settings. The system includes a data processing unit 14 to be created, a drawing unit 15 to draw an alarm message of the created contents, and an LCD (liquid crystal) display unit 16 to display drawing data.
The alarm message data and the like stored in the storage unit 13 are data created using a drawing program using a personal computer 18 as a drawing device and stored in the storage unit 13 of the display device 11.
[0005]
A conventional procedure for creating an alarm message using a drawing program will be described with reference to FIG. FIG. 8 is a diagram showing an outline of a setting screen on the personal computer 18.
First, alarm messages (alarms A, B, C,...) Are created in association with the alarm numbers (001, 002,...) As shown in FIG. Also, the color scheme and the display state when displaying the alarm message are created collectively as shown in FIG. 8B.
[0006]
The alarm message, the color scheme, and the data of the display state are transmitted from the personal computer 18 to the display device 11 and registered in the storage unit 13 of the display device 11.
FIG. 9 shows a configuration of status data received from the host device 12 and indicating what kind of abnormality has occurred. The status data consists of 1 or 0 bits for each alarm number.
[0007]
When receiving the status data, the data processing unit 14 refers to the alarm number in which the bit 1 is set, knows the alarm message to be displayed, and sends the alarm message to the display unit 16.
For example, if the alarm number 1 of the status data is bit 1, "alarm A" is displayed. Since the subsequent alarm numbers 2 and 3 are bit 0, the corresponding alarm messages (alarms B and C) are not displayed. Since the next alarm number 4 is bit 1, an alarm message (alarm D) is displayed. Since the subsequent alarm numbers 5 and below are bit 0, the corresponding alarm message is not displayed.
[0008]
On the screen, as shown in FIG. 10, the alternate display of the alarm A and the alarm D in the set color scheme and display mode is repeated.
[0009]
[Patent Document 1] JP-A-7-225888
[Problems to be solved by the invention]
In the above-described example, since information indicating the priority does not exist in the alarm message itself, even when a plurality of alarms occur, they are displayed in the same display mode. For example, important alarms and mild alarms are displayed in the same color and display state. For this reason, it is difficult to distinguish between severe and mild alarms.
In addition, since the order of the display is not determined, the display is cyclical in the order of the alarm number, and the minor alarm may be notified earlier than the important alarm.
[0011]
Therefore, an object of the present invention is to realize a display device that can differentiate the display mode of an alarm by giving a priority to the alarm.
Another object of the present invention is to provide a display device having an alarm message function that can easily recognize important alarms by assigning priorities to the alarms.
[0012]
Means for Solving the Problems and Effects of the Invention
The display device of the present invention stores the priority of the alarm in association with the content of the abnormality, and a storage unit that stores a display mode corresponding to the priority of the alarm, based on data input from the host device, A data processing unit for reading out the priority of the alarm corresponding to the occurring abnormality from the storage unit and displaying the alarm message in a display mode corresponding to the priority (claim 1).
[0013]
According to the configuration, the important alarm message and the mild alarm message can be displayed in different display modes according to the priority of the alarm, so that the user can easily differentiate the alarm messages. In other words, abnormal measures can be taken more reliably.
It is preferable that the data processing unit can be set to display alarm messages in descending order of priority among alarms that are currently occurring (claim 2). As a result, an important alarm message can be displayed earlier in time, so that the user can accurately recognize the alarm and easily take an appropriate response.
[0014]
The data processing unit may be configured to be able to display only an alarm message having the highest priority among alarms that are currently occurring (claim 3). As a result, the user can respond only to relatively important alarm messages in the currently set environment.
The data processing unit can be set to display only an alarm message of a specific priority. For example, if the highest priority is selected as the “specific priority”, the alarm will not be displayed even if a low priority alarm occurs, and the user is required to follow up early. It is possible to respond only to the alarms that are present.
[0015]
The display modes include a color scheme, blinking display, reverse display, and the like (claim 5). Conventionally, alarms are displayed in the same color and display mode regardless of their severity or lightness. In the invention according to the fifth aspect, the display mode is differentiated according to the alarm priority. Will be able to do it.
The storage unit stores valid / invalid instruction information indicating whether display is permitted or prohibited in association with the content of the abnormality. The data processing unit validates the valid / invalid instruction information based on the valid / invalid instruction information. It is also possible to display an alarm message corresponding to the content of an abnormality with an instruction and not to display an alarm message corresponding to the content of an abnormality with an invalidation instruction.
[0016]
8. The drawing program according to claim 7, wherein the drawing program is applied to a display device having a function of displaying an alarm message based on state data input from a host device. In addition to setting the degree, the display mode corresponding to the priority of the alarm is set, and the set data is stored in the storage unit of the display device according to claim 1.
The user can load the drawing program into the drawing device, set the priority of the alarm and the display mode corresponding to the priority, and store the setting in the storage unit of the display device.
[0017]
Claim 8 relates to a recording medium on which the drawing program is recorded, and claim 9 relates to a drawing device operated by the drawing program.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram illustrating a connection state, an internal configuration, and the like of a display device 1 (hereinafter, simply referred to as a “display device”) 1 having an alarm message function according to the present invention.
The display device 1 is connected to a host device 2 including a programmable logic controller (PLC) and a personal computer. The host device 2 receives various site status signals, and when the site status signal indicates an abnormality, notifies the abnormality and sends status data for instructing the display device 1 to display an alarm message. Send.
[0019]
When receiving the status data from the storage unit 3 and the host device 2, the display unit 1 reads the corresponding alarm message data, the level setting data, and the like stored in the storage unit 3. The system includes a data processing unit 4 for creating an alarm message, a drawing unit 5 for drawing an alarm message of the created content, and an LCD (liquid crystal) display unit 6 for displaying drawing data. Note that an LED (light emitting diode) may be used for the display unit instead of the LCD.
[0020]
The alarm message data, the level setting data, and the like are created by using a personal computer 8 as a drawing device using a drawing program. Creation is performed using a mouse, a keyboard, and the like.
The drawing program may be stored in a recording medium such as a CD-ROM 9 as shown in FIG. 1, or may be downloaded to the personal computer 8 through a network.
[0021]
A procedure for creating alarm message data and the like using the drawing program will be described with reference to FIG. FIG. 2 is a diagram showing an outline of a setting screen on the personal computer 8.
First, the user sets the priority (level) of the alarm message display as shown in FIG. In the embodiment of the present invention, the higher the numerical value of the level, the higher the priority. Also, for each level, the color scheme (red, green or blue) and the display state (blinking, inversion or normal) for displaying the alarm message are set.
[0022]
The number of levels is not limited to three (1, 2, 3), and may be increased or decreased.
Then, as shown in FIG. 2B, in correspondence with the alarm number (001, 002,...), The level, the message (represented by alarm A, B, C,. Set.
“Valid / invalid” is a flag indicating whether to permit or prohibit the display of the alarm message. If "invalid", the alarm message is not displayed even if bit 1 is input in the status data. If a registered alarm message is to be temporarily unused, it is only necessary to invalidate the setting without deleting the registered alarm message. To use the alarm message again, the setting of the alarm message may be set to “valid”.
[0023]
Further, as shown in FIG. 2C, when a plurality of generated alarm messages are displayed simultaneously, they are displayed in order of level, displayed in order of alarm number, or displayed in the highest level among the generated levels. The display order is selected by checking whether only objects or only specific levels are displayed.
Data such as the set alarm message, level, color scheme, and display state are transmitted from the personal computer 18 to the display device 11 and registered in the storage unit 13 of the display device 11.
[0024]
FIG. 3 is a diagram illustrating a structure of data stored in the storage unit 3 of the display device 1.
The stored data is divided into display position information, alarm message common information, and alarm message individual information.
The display position information is information indicating a start point position when displaying an alarm message.
The alarm message common information is common information irrespective of the content of the alarm message, and the alarm message individual information is information set for each alarm message.
[0025]
The alarm message common information includes an alarm status information storage destination address (data for defining which area is to be a status data storage area in the storage unit of the PLC or the display device), as well as FIG. 2A, the color scheme and the display state for each level described in FIG.
As described in FIG. 2B, the alarm message individual information includes a level, a message, and a valid / invalid for each alarm number.
[0026]
FIG. 4 is a diagram showing a structure of status data sent from the host device 2. The state data is, for example, data corresponding to the alarm number 1, data corresponding to the alarm number 2, and so on, in which data of each alarm number is associated with each bit of data.
The host device 2 stores information such as whether the status of a connected device such as a machine is normal (bit data: OFF) or abnormal (bit data: ON) in the alarm status information storage destination address as status data. The data is collectively captured and transmitted to the display device 1.
[0027]
Therefore, in each bit information of the status data, the alarm message assigned to the alarm number corresponding to the ON bit is to be displayed, and the contents of the alarm message displayed on the display device 1 are displayed in the entire device. Means that an abnormality has occurred.
FIG. 5 is a flowchart showing an alarm message display control procedure performed by the data processing unit 4 of the display device 1.
[0028]
When the display device 1 acquires the status data (step S1), the data processing unit 4 creates a valid message table using the work area 7. This valid message table is a table in which only those alarm messages for which a 1 is set and for which a valid flag is set are taken out, and the levels and the messages are tabulated in the order of the alarm number.
FIG. 6 shows an example of the valid message table. According to this table, the alarm numbers of valid messages are 1, 3, 5, and 6, alarm numbers 1 and 5 are represented by level 2, and alarm numbers 3 and 6 are represented by level 3.
[0029]
The data processing unit 4 checks the number of created valid message tables (FIG. 5; step S3). If there is no valid message table (that is, if no valid alarm message is received), the display of the alarm message is performed. Otherwise (step S4), the process returns.
If there is a valid message table, the display order of the alarm message common information (see FIG. 3) is referred to (step S5). If "level order" is set, the message table is re-sorted in level order (step S6) and displayed in table order (step S9). If "display only the highest level of occurrence" is selected, the message table is re-sorted in order of level (step S6), and then the message table of the highest level among occurrences is sorted. Items other than the above are deleted from the table (step S7), and are displayed in the table order (step S9). This allows the user to respond only to the most important alarms. If "display only specific level" is selected, the data is sorted again in the same manner (step S6), and then the tables other than the specified specific level are deleted from the table (step S8) and displayed in the table order. (Step S9). In the case of the same level, the alarm numbers are followed.
[0030]
If they are set in the order of the alarm numbers, the process skips step S6 and displays in the order of the table (step S9).
As a result of the above processing, a display example on the display unit 6 is as follows. Arrows indicate time transition. These displays are performed cyclically.
In the order of alarm number: Alarm A → Alarm C → Alarm E → Alarm F → Alarm A →
In order of level: Alarm C → Alarm F → Alarm A → Alarm E → Alarm C → ・ ・ ・
Display only the highest level among those that have occurred: alarm C → alarm F → alarm C →
Only a specific level is displayed (when level 2 is specified): Alarm A → Alarm E → Alarm A → ...
Changing the alarm message common information and the alarm message individual information in the storage unit 3 is performed on the screen of the personal computer 8 using the drawing program, as described above. On the screen, use the mouse, keyboard, etc. to modify or add settings.
[0031]
For example, changing the message content of a specific alarm message, changing the level, changing the valid / invalid setting, changing the display order from the level order to the alarm number order, and the like.
The embodiments of the present invention have been described above. However, the embodiments of the present invention are not limited to the above embodiments, and various modifications can be made within the scope of the present invention.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a connection state, an internal configuration, and the like of a display device 1 having an alarm message function according to the present invention.
FIG. 2 is a screen view of the personal computer 8 when creating alarm message data or the like using a drawing program.
FIG. 3 is a structural diagram of data stored in a storage unit 3 of the display device 1.
FIG. 4 is a structural diagram of status data received from a host device 2;
FIG. 5 is a flowchart showing an alarm message display control procedure performed by the data processing unit 4 of the display device 1.
FIG. 6 is a structural diagram of a valid message table.
FIG. 7 is a configuration diagram of a conventional display device 11.
FIG. 8 is a screen view of the personal computer 18 when a conventional alarm message is created using a drawing program.
FIG. 9 is a configuration diagram of status data received from the host device 12;
FIG. 10 is a diagram showing a conventional alarm message display procedure.
[Explanation of symbols]
Reference Signs List 1 display device 2 host device 3 storage unit 4 data processing unit 5 drawing unit 6 LCD display unit 7 work area 8 personal computer 9 CD-ROM