JP2008158813A - Programmable display unit, display control program and recording medium with this program recorded - Google Patents

Programmable display unit, display control program and recording medium with this program recorded Download PDF

Info

Publication number
JP2008158813A
JP2008158813A JP2006346809A JP2006346809A JP2008158813A JP 2008158813 A JP2008158813 A JP 2008158813A JP 2006346809 A JP2006346809 A JP 2006346809A JP 2006346809 A JP2006346809 A JP 2006346809A JP 2008158813 A JP2008158813 A JP 2008158813A
Authority
JP
Japan
Prior art keywords
display
character string
alarm
scroll
displayed
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.)
Pending
Application number
JP2006346809A
Other languages
Japanese (ja)
Inventor
Kentaro Kakoya
賢太郎 家古谷
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 JP2006346809A priority Critical patent/JP2008158813A/en
Publication of JP2008158813A publication Critical patent/JP2008158813A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To display a character string relating to the information of alarm acquired from a controller in list display without dividing it into independent display regions. <P>SOLUTION: When data stored in a device memory 13a of a PLC 13 are turned to a state of showing the generation of alarm, a character string display processing part 81 displays a character string (message) associated with alarm at an alarm display on a user picture displayed on a display 2 of a programmable display unit 1. The character string display processing part 81 judges whether or not the number of characters of the character string exceeds the preliminarily set specific number of display characters, and when it exceeds, performs the scroll display of the character string. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、制御装置の制御状態に関する情報を文字列で表示するプログラマブル表示器に関するものである。   The present invention relates to a programmable display that displays information related to a control state of a control device as a character string.

プログラマブル表示器は、ホストコントローラ(PLC)とのインタフェースを備えており、ホストコントローラに接続されたデバイスの稼働状況を表示したり、デバイスへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えた操作型表示器である。一般に、プログラマブル表示器は、グラフィック表示機能を有するので、操作盤、スイッチ、表示灯等を表示することができ、制御システムにおける操作端末としての役割を果たす。このような制御システムにおいて、各PLCの稼働状況などの表示やPLCへの制御指示は、PLC付近に配置されたプログラマブル表示器によって行われる。   The programmable display has an interface with the host controller (PLC), displays the operating status of the device connected to the host controller, and accepts an operation input for giving a control instruction to the device from the screen. This is an operation-type display with a function. In general, since the programmable display has a graphic display function, it can display an operation panel, a switch, an indicator lamp, and the like, and serves as an operation terminal in the control system. In such a control system, the display of the operating status of each PLC and the control instruction to the PLC are performed by a programmable display arranged near the PLC.

また、このような制御システムでは、異常や不具合が発生した場合、PLCでそれを検出し、アラームとしてプログラマブル表示器に表示させることが行われている(特許文献1)。アラーム情報としては、発生の日付や時刻、アラームの内容(メッセージ)などが表示される。また、上記特許文献1には、アラーム情報の一覧を表示する画面(メインウインドウ)と詳細な情報を表示する画面(サブウインドウ)を1つのアラーム表示用の画面に表示することが記載されている。   Moreover, in such a control system, when abnormality and malfunction generate | occur | produce, it detects that with PLC and displays on a programmable display as an alarm (patent document 1). As the alarm information, the date and time of occurrence, the content (message) of the alarm, etc. are displayed. Japanese Patent Application Laid-Open No. 2004-228561 describes that a screen for displaying a list of alarm information (main window) and a screen for displaying detailed information (subwindow) are displayed on one alarm display screen. .

これにより、オペレータは、アラームの発生を把握し、復旧のための作業に早急に対応することができる。また、上記のアラーム表示方法では、概略の情報をメインウインドウに表示する一方で、詳細な情報や長いメッセージをサブウインドウに表示することにより、限られた表示領域で必要なアラーム情報を表示することができる。   Thereby, the operator can grasp the occurrence of the alarm and can promptly respond to the work for recovery. Moreover, in the above alarm display method, while displaying general information on the main window, detailed information and long messages are displayed on the sub-window so that necessary alarm information can be displayed in a limited display area. Can do.

また、アラームの表示方法に関して、特許文献2には、アラームメッセージウインドウに、短いメッセージを固定的に表示する部分に加えて、長いメッセージを流れ表示する部分を設けることが開示されている。流れ表示の部分は、固定表示の部分と独立して画面の下端部に設けられる。このような表示方法でも、限られた表示領域で必要なアラーム情報を表示することができる。
特許第3031888号明細書(2000年4月10日発行) 特開2002−268704号公報(2002年9月20日公開)
Regarding the alarm display method, Patent Document 2 discloses that an alarm message window is provided with a portion for displaying a long message in addition to a portion for displaying a short message in a fixed manner. The flow display portion is provided at the lower end of the screen independently of the fixed display portion. Even with such a display method, necessary alarm information can be displayed in a limited display area.
Patent No. 3031888 (issued on April 10, 2000) JP 2002-268704 A (published on September 20, 2002)

ところが、特許文献1に記載されたように、詳細な情報を表示させるためのサブウインドウをアラーム表示用画面に設けると、アラーム表示用画面において、他の情報を表示させるための領域が狭くなるという不都合がある。   However, as described in Patent Document 1, if a sub-window for displaying detailed information is provided on the alarm display screen, an area for displaying other information on the alarm display screen is narrowed. There is an inconvenience.

また、特許文献2に記載されたように、流れ表示の部分を短いメッセージの固定表示部分と別個に設けると、やはり、アラーム表示用画面において、他の情報を表示させるための領域が狭くなるという不都合がある。   Also, as described in Patent Document 2, if the flow display portion is provided separately from the short message fixed display portion, the area for displaying other information is also narrowed on the alarm display screen. There is an inconvenience.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、制御装置から得たアラーム等の情報に関する文字列を独立した表示領域に分けて表示することなく、一覧表示において表示させることができるプログラマブル表示器を提供することにある。   The present invention has been made in view of the above-mentioned problems, and its purpose is to display a list of character strings related to information such as alarms obtained from a control device without displaying them in separate display areas. An object of the present invention is to provide a programmable display that can be made to operate.

本発明に係るプログラマブル表示器は、制御装置と相互に通信することによって当該制御装置のメモリに格納される特定のデータの状態を取得し、当該特定のデータの状態が指定された状態に変化したときに、当該特定のデータについて登録されている文字列を文字列表示領域を有する表示部に表示するプログラマブル表示器において、上記の課題を解決するために、前記文字列が規定された表示量を越えるか否かを判定し、越えないときには前記文字列を固定表示させる一方、越えるときに前記文字列を1行分の前記文字列表示領域にスクロール表示させるスクロール表示制御手段を備えていることを特徴としている。   The programmable display according to the present invention acquires the state of specific data stored in the memory of the control device by communicating with the control device, and the state of the specific data has changed to a specified state. Sometimes, in a programmable display that displays a character string registered for the specific data on a display unit having a character string display area, in order to solve the above problem, a display amount in which the character string is defined Scroll display control means is provided for determining whether or not the character string is to be exceeded, and for displaying the character string in a fixed manner when it does not exceed, and for scrolling and displaying the character string in the character string display area for one line when exceeding the character string. It is a feature.

上記の構成では、スクロール表示制御手段によって、表示部に表示される文字列が規定された表示量を越えるか否かが判定され、越えないときには文字列が固定表示されるが、越えるときには文字列が文字列表示領域にスクロール表示される。これにより、限られた文字列表示領域においても、長いメッセージを表示することが可能になる。それゆえ、文字列を表示するための領域を大幅に削減することが可能となる。   In the above configuration, it is determined by the scroll display control means whether or not the character string displayed on the display unit exceeds the specified display amount. If it does not exceed, the character string is fixedly displayed. Is scrolled to the character string display area. This makes it possible to display a long message even in a limited character string display area. Therefore, the area for displaying the character string can be greatly reduced.

なお、前記表示量は、例えば、文字数やバイト数などであって、好ましくは半角文字数またはバイト数である。表示量を半角文字数とする場合、英数字や半角かな文字は1文字であり、漢字や全角かな文字は2文字である。表示量をバイト数とする場合、英数字や半角かな文字は1バイトであり、漢字や全角かな文字は2バイトである。   Note that the display amount is, for example, the number of characters or the number of bytes, and is preferably the number of single-byte characters or the number of bytes. When the display amount is the number of single-byte characters, alphanumeric characters and single-byte kana characters are one character, and kanji characters and double-byte kana characters are two characters. When the display amount is the number of bytes, alphanumeric characters and half-width kana characters are 1 byte, and kanji and full-width kana characters are 2 bytes.

前記プログラマブル表示器においては、前記特定のデータがアラームの発生の有無を表し、当該アラームには、当該アラームの重要度を表すレベルが予め設定され、当該レベルとスクロール速度とが対応付けられており、前記スクロール表示制御手段が、前記特定のデータがアラームの発生を示す状態に変化したときに、前記文字列を前記表示部に表示し、当該アラームに設定された前記レベルと前記スクロール速度との対応付けに基づいて、前記スクロール表示制御手段によるスクロール表示のスクロール速度を切り替えることが好ましい。   In the programmable display, the specific data indicates whether or not an alarm has occurred, and a level indicating the importance of the alarm is preset in the alarm, and the level and the scroll speed are associated with each other. The scroll display control means displays the character string on the display unit when the specific data changes to a state indicating the occurrence of an alarm, and displays the level set for the alarm and the scroll speed. It is preferable to switch the scroll speed of the scroll display by the scroll display control means based on the association.

このように、アラームの重要度に応じて、スクロール速度を切り替えて文字列を表示することができる。これにより、例えば、重要度が低く対処方法も比較的簡単で緊急対応が必要となるような文字列については、速くスクロール表示することにより、メッセージの内容を素早く把握することができる。また、重要度が高く対処方法も比較的複雑であるような文字列については、遅くスクロール表示することにより、メッセージの内容を確実に把握することができる。   In this manner, the character string can be displayed by switching the scroll speed according to the importance of the alarm. Thus, for example, for a character string that has a low degree of importance and a relatively simple handling method and requires emergency response, the content of the message can be quickly grasped by scrolling and displaying quickly. In addition, for a character string that has a high degree of importance and a relatively complicated handling method, the content of the message can be surely grasped by scrolling and displaying slowly.

前記プログラマブル表示器においては、前記文字列が複数の言語について登録されており、前記プログラマブル表示器は、前記表示部に表示する文字列の言語を切り替える言語切替手段を備え、前記スクロール表示制御手段は、前記文字列の言語が切り替えられたときに、前記文字列が前記表示量を越えるか否かを判定することが好ましい。   In the programmable display, the character strings are registered for a plurality of languages, the programmable display includes language switching means for switching the language of the character strings displayed on the display unit, and the scroll display control means It is preferable to determine whether or not the character string exceeds the display amount when the language of the character string is switched.

言語切替手段によって文字列の言語が切り替えられると、スクロール表示制御手段によって、文字列が規定された表示量を越えるか否かが判定され、その結果、越えるときには、文字列が文字列表示領域にスクロール表示される。これにより、文字列が日本語から英語に切り替わる場合のように、表示量(文字数)が増加するときに、切り替え前の言語で文字列が表示量を越えないときは、文字列がスクロール表示されないが、切り替え後の言語で文字列が表示量を越えるときには、文字列がスクロール表示される。   When the language of the character string is switched by the language switching means, the scroll display control means determines whether or not the character string exceeds the specified display amount, and as a result, when it exceeds, the character string is displayed in the character string display area. Scroll display. As a result, when the display amount (number of characters) increases, such as when the character string switches from Japanese to English, if the character string does not exceed the display amount in the language before switching, the character string is not scrolled. However, when the character string exceeds the display amount in the language after switching, the character string is scroll-displayed.

また、本発明の他のプログラマブル表示器は、制御装置と相互に通信することによって当該制御装置のメモリに格納されるアラームの発生の有無を表す特定のデータの状態を取得し、当該特定のデータの状態がアラームの発生を示す状態に変化したときに、アラームの発生を報知するために当該特定のデータについて登録されている文字列を文字列表示領域を有する表示部に表示するプログラマブル表示器において、前記文字列を1行分の前記文字列表示領域にスクロール表示させ、前記アラームに予め設定された重要度を表すレベルとスクロール速度との対応付けに基づいて、スクロール表示のスクロール速度を切り替えるスクロール表示制御手段を備えていることを特徴としている。   In addition, the other programmable display of the present invention acquires the state of specific data indicating the presence or absence of an alarm stored in the memory of the control device by communicating with the control device, and the specific data In a programmable display that displays a character string registered for the specific data on a display unit having a character string display area in order to notify the occurrence of an alarm when the state changes to a state indicating the occurrence of an alarm Scroll the character string display area in one line of the character string display area and switch the scroll speed of the scroll display based on the correspondence between the level indicating the importance set in advance in the alarm and the scroll speed. A display control means is provided.

この構成では、スクロール表示制御手段によって、表示部に表示される文字列がスクロール表示される。これにより、限られた文字列表示領域においても、長いメッセージを表示することが可能になる。それゆえ、文字列を表示するための領域を大幅に削減することが可能となる。また、前述のプログラマブル表示器のように、アラームの重要度に応じて、スクロール速度を切り替えて文字列を表示するので、スクロール速度からアラームの重要度を視覚的に判断することができる。   In this configuration, the character string displayed on the display unit is scroll-displayed by the scroll display control means. This makes it possible to display a long message even in a limited character string display area. Therefore, the area for displaying the character string can be greatly reduced. Moreover, since the character string is displayed by switching the scroll speed according to the importance of the alarm as in the above-described programmable display, the importance of the alarm can be visually determined from the scroll speed.

本発明のプログラマブル表示器のためのプログラムは、前述のように構成される各プログラマブル表示器を実現するコンピュータを前記各手段として機能させるためのプログラムである。また、このプログラムは、コンピュータ読み取り可能な記録媒体に記録されて提供される。これにより、表示文字数を越える長い文字列でも限られた表示領域で表示することが可能となる。   The program for the programmable display of the present invention is a program for causing a computer that realizes each programmable display configured as described above to function as each means. The program is provided by being recorded on a computer-readable recording medium. Thereby, even a long character string exceeding the number of display characters can be displayed in a limited display area.

本発明に係るプログラマブル表示器は、以上のように、文字列表示領域に表示される文字列が規定された表示文字数を越えるか否かを判定し、越えるときに前記文字列を1行分の前記文字列表示領域にスクロール表示させるスクロール表示制御手段を備えているので、限られた文字列表示領域においても、長いメッセージを表示することができる。   As described above, the programmable display according to the present invention determines whether or not the character string displayed in the character string display area exceeds the specified number of display characters. Since the scroll display control means for scrolling the character string display area is provided, a long message can be displayed even in a limited character string display area.

また、本発明に係るプログラマブル表示器は、以上のように、文字列を1行分の文字列表示領域にスクロール表示させ、アラームに予め設定された重要度を表すレベルとスクロール速度との対応付けに基づいて、スクロール表示のスクロール速度を切り替えるスクロール表示制御手段を備えているので、限られた文字列表示領域においても、長いメッセージを表示することができる。また、スクロール速度からアラームの重要度を視覚的に判断することができる。   In addition, as described above, the programmable display according to the present invention causes the character string to be scroll-displayed in the character string display area for one line, and the level indicating the importance set in advance in the alarm is associated with the scroll speed. Since the scroll display control means for switching the scroll speed of the scroll display is provided based on the above, a long message can be displayed even in a limited character string display area. In addition, the importance of the alarm can be visually determined from the scroll speed.

したがって、画面における文字列表示領域の面積を小さくすることができ、画面を有効に利用することができるという効果を奏する。この結果、制御装置から得たアラーム等の情報に関する文字列を独立した表示領域に分けて表示することなく、一覧表示において表示させるといったことも可能となる。   Therefore, the area of the character string display area on the screen can be reduced, and the screen can be used effectively. As a result, it is also possible to display the character string related to information such as an alarm obtained from the control device in a list display without being divided and displayed in an independent display area.

本発明の実施形態を図1ないし図8に基づいて説明すると、以下の通りである。   The embodiment of the present invention will be described with reference to FIGS. 1 to 8 as follows.

図1に示すように、操作表示装置としてのプログラマブル表示器1は、CPUなどの演算処理装置を備えており、ユーザが作成した入力操作および表示用の画面データを表示することによりプログラマブル表示器特有の操作機能および表示機能を実現する専用コンピュータである。   As shown in FIG. 1, a programmable display 1 as an operation display device includes an arithmetic processing unit such as a CPU, and displays an input operation created by a user and screen data for display. It is a dedicated computer that realizes the operation function and display function.

このプログラマブル表示器1は、シリアルケーブル12を介したPLC13との通信により、PLC13を介して表示画面に表示される各デバイス11の状態を取得して、例えば、後述のディスプレイ2に各デバイス11の状態を表示する機能を有している。また、プログラマブル表示器1は、後述のタッチパネル3への操作に応じて、デバイス11の状態制御をPLC13に指示する機能を有している。   The programmable display 1 acquires the state of each device 11 displayed on the display screen via the PLC 13 through communication with the PLC 13 via the serial cable 12. It has a function to display the status. The programmable display 1 has a function of instructing the PLC 13 to control the state of the device 11 in accordance with an operation on the touch panel 3 described later.

プログラマブル表示器1は、上記の機能を実現するために、ディスプレイ2と、タッチパネル3と、インターフェース部(図中、I/F)4,5と、データメモリ6と、作業メモリ7と、HMI処理部8とを備えている。以下、プログラマブル表示器1の主要各部について詳細に説明する。   In order to realize the above functions, the programmable display 1 includes a display 2, a touch panel 3, interface units (I / F in the figure) 4, 5, a data memory 6, a work memory 7, and an HMI process. Part 8. Hereinafter, each main part of the programmable display device 1 will be described in detail.

ディスプレイ2は、プログラマブル表示器1を薄型に構成するために、液晶ディスプレイや、ELディスプレイや、プラズマディスプレイのような平板型ディスプレイが好適に用いられる。タッチパネル3は、ディスプレイ2の表示画上でタッチ入力を行なうために設けられている入力装置である。   As the display 2, a flat panel display such as a liquid crystal display, an EL display, or a plasma display is preferably used in order to configure the programmable display 1 to be thin. The touch panel 3 is an input device provided for performing touch input on the display image of the display 2.

インターフェース部4は、プログラマブル表示器1がPLC13との間のシリアル通信を行なうための通信制御部であり、シリアルケーブル12で各々が接続されている。インターフェース部4は、その接続機器データに基づいて、PLC13のメーカや機種に応じた通信プロトコルを用いて通信を行なう。上記の接続機器データや通信プロトコルは、例えば、後述するデータメモリ6に格納される。   The interface unit 4 is a communication control unit for the programmable display 1 to perform serial communication with the PLC 13, and each is connected by a serial cable 12. The interface unit 4 performs communication using a communication protocol corresponding to the manufacturer and model of the PLC 13 based on the connected device data. The connected device data and the communication protocol are stored in, for example, a data memory 6 described later.

なお、プログラマブル表示器1とPLC13との接続は、シリアルケーブル12に限らず、イーサネット(登録商標)等のネットワークやその他の通信手段によってなされてもよい。   Note that the connection between the programmable display 1 and the PLC 13 is not limited to the serial cable 12, and may be made by a network such as Ethernet (registered trademark) or other communication means.

ここで、PLC13について説明する。   Here, the PLC 13 will be described.

PLC13は、ユーザが作成したシーケンスプログラム(ラダープログラムなど)にしたがって、例えば、数十msなどの予め定められたスキャンタイム毎に、入力ユニットを介して入力用のデバイス11の状態を取り込むとともに、出力用のデバイス11に状態を変更するように制御指示を与える。   The PLC 13 captures the state of the input device 11 via the input unit and outputs it at every predetermined scan time such as several tens of ms, for example, according to a sequence program (ladder program or the like) created by the user. A control instruction is given to the device 11 for changing the state.

入力用のデバイス11としては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力用のデバイス11としては、アクチュエータ、リレー、電磁弁、表示器などが用いられる。これらのデバイス11は、製造ラインなどの所要各部に配置される。また、プログラマブル表示器1に表示されるユーザ画面に設けられるスイッチ部品や表示器部品もデバイス11として扱われる。   As the input device 11, devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, etc.) are used. As the output device 11, an actuator, a relay, a solenoid valve, a display, or the like is used. These devices 11 are arranged in required parts such as a production line. Further, switch parts and display parts provided on the user screen displayed on the programmable display 1 are also handled as the device 11.

なお、デバイス11は、プログラマブル表示器1における特定のメモリ領域(例えば後述のシステムエリアにおけるユーザエリア)であってもよいし、PLC13内のメモリにおける特定のメモリ領域であってもよい。これらのメモリ領域は内部デバイスとして設定される。   The device 11 may be a specific memory area in the programmable display device 1 (for example, a user area in a system area described later), or may be a specific memory area in a memory in the PLC 13. These memory areas are set as internal devices.

PLC13内のメモリであるデバイスメモリ13aは、デバイス11の状態(デバイス11からの出力値やデバイス11への設定値)を示すデータ(ワードデータやビットデータ)を、デバイスアドレスで特定される領域に格納している。上記デバイスメモリ13aにおいて、ワードデバイスとビットデバイスとが設定される。ワードデバイスは、入出力されるデータが数値のようなワードデータを格納する領域として設定され、ワードアドレス(デバイスアドレス)で指定される。また、ビットデバイスは、オン・オフ状態のようなビットデータを格納する領域として設定され、ビットアドレス(デバイスアドレス)で設定される。このような設定により、デバイスメモリ13a内の任意のワードデバイスまたはビットデバイスをデバイスアドレスとして指定してアクセスするだけでデバイス11を制御し、またはその状態に関する情報を個別に取り出すことができる。   The device memory 13a, which is a memory in the PLC 13, stores data (word data or bit data) indicating the state of the device 11 (the output value from the device 11 or the set value to the device 11) in an area specified by the device address. Storing. In the device memory 13a, a word device and a bit device are set. The word device is set as an area for storing word data such as numeric values as input / output data, and is designated by a word address (device address). The bit device is set as an area for storing bit data such as an on / off state, and is set by a bit address (device address). With such a setting, the device 11 can be controlled by simply specifying and accessing an arbitrary word device or bit device in the device memory 13a as a device address, or information regarding the state can be individually taken out.

PLC13のメーカ毎に固有の名称で呼ばれるデバイスアドレスには、変数が対応付けられている。変数は、ユーザによって任意に設定可能な名称であり、後述するコメントを変数として扱うことができる。   A variable is associated with a device address called by a unique name for each manufacturer of the PLC 13. The variable is a name that can be arbitrarily set by the user, and a comment described later can be handled as a variable.

以降の説明では、デバイスアドレスを適宜、アドレスと称する。   In the following description, the device address is appropriately referred to as an address.

インターフェース部5は、プログラマブル表示器1がエディタコンピュータ21との間の通信を行なうための通信制御部である。このインターフェース部5は、画面データ等をエディタコンピュータ21からプログラマブル表示器1へ転送するための転送ケーブル14に接続されている。転送ケーブル14としては、例えばUSBケーブルが用いられる。   The interface unit 5 is a communication control unit for the programmable display device 1 to communicate with the editor computer 21. The interface unit 5 is connected to a transfer cable 14 for transferring screen data and the like from the editor computer 21 to the programmable display 1. For example, a USB cable is used as the transfer cable 14.

データメモリ6は、画面データ、文字列テーブル、前述の通信プロトコルなどを格納するためのメモリであり、FEPROM(Flash Erasable and Programmable ROM)が用いられる。FEPROMは、書き替え可能な読み出し専用のフラッシュメモリであるので、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。   The data memory 6 is a memory for storing screen data, a character string table, the above-described communication protocol, and the like, and FEPROM (Flash Erasable and Programmable ROM) is used. Since FEPROM is a rewritable read-only flash memory, it plays the role of a hard disk drive in a general personal computer. A flash memory does not have a movable part and is resistant to impacts, and thus operates stably even in a poor ambient environment.

画面データは、プログラマブル表示器1に表示されるユーザ画面(1フレーム分の画面データによって構成される単位画面)のデータのファイルである。画面データは、ディスプレイ2に表示すべきベース画面や部品等のオブジェクトに付与された処理規定情報および属性データなどを含んでいる。処理規定情報は、HMI処理部8で実行される各種の処理を規定(定義)しており、属性データはその処理を実行するために必要なオブジェクトの属性(大きさ、形状、色、データの取得先、データの送信先等)。また、通常、ターゲットシステムやターゲットシステムで製造される製品などに応じた一連の関連する複数の画面データがひとまとまりのプロジェクトファイルとして用意され、データメモリ6に保存される。プロジェクトファイルには、後述するアラーム設定データも含まれる。   The screen data is a data file of a user screen (unit screen configured by screen data for one frame) displayed on the programmable display 1. The screen data includes processing definition information and attribute data assigned to objects such as a base screen and parts to be displayed on the display 2. The process definition information defines (defines) various processes executed by the HMI processing unit 8, and the attribute data includes object attributes (size, shape, color, data) necessary for executing the process. Acquisition destination, data transmission destination, etc.). In general, a series of related screen data corresponding to a target system or a product manufactured by the target system is prepared as a set of project files and stored in the data memory 6. The project file also includes alarm setting data described later.

プログラマブル表示器1は、上記のプロジェクトファイルから各画面番号に付与される固有の画面番号に基づいて1つの画面データを選択して、その画面データに含まれるオブジェクトに基づいてユーザ画面を表示する。   The programmable display 1 selects one screen data based on a unique screen number given to each screen number from the project file, and displays a user screen based on an object included in the screen data.

文字列テーブルは、各種の表示器部品等に表示する文字列が登録されている。この文字列テーブルに登録された文字列は、後述するようにアラーム発生時に表示するメッセージとして利用される。文字列テーブルは、後述するように、文字列の行数、文字数、表示言語に対応したテーブル番号毎の文字列を含んでいる。   In the character string table, character strings to be displayed on various display parts are registered. The character string registered in this character string table is used as a message to be displayed when an alarm occurs, as will be described later. As will be described later, the character string table includes a character string for each table number corresponding to the number of lines, the number of characters, and the display language.

作業メモリ7は、例えば、DRAMによって構成されており、表示制御などの演算処理時の作業用に用いられる。また、作業メモリ7は、取得したデバイス11のデータの一時的な記憶に用いられる。また、作業メモリ7は、PLC13のデバイスメモリ13aに格納されるデバイス11の状態(デバイスアドレスの内容)をデバイスメモリ13aとの間で受け渡しするための状態メモリ領域を有している。   The work memory 7 is composed of, for example, a DRAM, and is used for work during arithmetic processing such as display control. The work memory 7 is used for temporary storage of the acquired data of the device 11. The working memory 7 has a state memory area for transferring the state of the device 11 (the contents of the device address) stored in the device memory 13a of the PLC 13 to and from the device memory 13a.

プログラマブル表示器1のメモリには、システムエリアが設けられている。システムエリアは、プログラマブル表示器1の稼働に必要なデータを格納するシステムデータエリアや、ユーザが内部デバイスとして利用できるユーザエリアや、特殊リレーとして利用される特殊リレーエリアなどを含んでいる。このシステムエリアは、例えば、作業メモリ7に設けられている。   The memory of the programmable display 1 is provided with a system area. The system area includes a system data area that stores data necessary for the operation of the programmable display 1, a user area that can be used as an internal device by a user, a special relay area that is used as a special relay, and the like. This system area is provided in the work memory 7, for example.

HMI処理部8は、HMI機能を実現するために、制御の中心として設けられている。このHMI処理部8は、プログラムを実行することによって実現される機能ブロックである。   The HMI processing unit 8 is provided as the center of control in order to realize the HMI function. The HMI processing unit 8 is a functional block realized by executing a program.

HMI処理部8を実現するためのプログラムは、プログラマブル表示器1と分離可能に構成される記録媒体にも記録可能であり、その記録媒体からプログラマブル表示器1にインストールされてもよい。当該プログラムは、プログラマブル表示器2の機種に応じた機能を発揮させるために、機種毎に個別に用意されている。   The program for realizing the HMI processing unit 8 can be recorded on a recording medium configured to be separable from the programmable display 1 and may be installed in the programmable display 1 from the recording medium. The program is prepared individually for each model in order to exhibit a function corresponding to the model of the programmable display 2.

上記の記録媒体は、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、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が、インターネットを含む通信ネットワークと接続可能に構成されていれば、当該通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めプログラマブル表示器2に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   Further, if the programmable display 1 is configured to be connectable to a communication network including the Internet, it may be a medium that fluidly carries the program so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in advance in the programmable display 2 or may be installed from another recording medium.

上記のHMI処理部8は、所定の時間間隔毎や所定のイベント毎にPLC13と通信することによって、PLC13のデバイスメモリ13aから、デバイス11の状態を状態データとして取得して、プログラマブル表示器1内に用意された一時的なメモリ空間、例えば作業メモリ7の特定の領域(状態メモリ領域)に書き込む。また、HMI処理部8は、PLC3のデバイスメモリ13aにおける状態データを更新するように、状態メモリ領域におけるデバイス11の状態データを書き替えて、PLC13に送信する。HMI処理部8は、前述のオブジェクトを組み合わせて作成された画面データに基づいて、デバイス11の状態データをPLC13から取得してプログラマブル表示器1に描画表示するときの動作や、画面への操作に応じてデバイス11の状態の変更を指示するときの動作を処理規定情報によって特定する。   The HMI processing unit 8 acquires the state of the device 11 as state data from the device memory 13a of the PLC 13 by communicating with the PLC 13 at predetermined time intervals or at predetermined events. Are written in a temporary memory space prepared in the above, for example, a specific area (state memory area) of the working memory 7. Further, the HMI processing unit 8 rewrites the state data of the device 11 in the state memory area so as to update the state data in the device memory 13 a of the PLC 3, and transmits it to the PLC 13. Based on the screen data created by combining the above-mentioned objects, the HMI processing unit 8 acquires the state data of the device 11 from the PLC 13 and draws and displays it on the programmable display 1 and performs operations on the screen. Accordingly, the operation when the change of the state of the device 11 is instructed is specified by the process definition information.

また、HMI処理部8は、文字列表示処理部81と、文字列言語切替部82とを有している。   The HMI processing unit 8 includes a character string display processing unit 81 and a character string language switching unit 82.

文字列表示処理部81は、後述する各種の表示器に設定されている属性データおよび予め画面データ(プロジェクトファイル)に含まれるアラーム設定データに基づいて、PLC13からアラームの発生が通知されると、その通知に基づいてアラームに関するメッセージ(文字列)を表示するための処理を行なう。ここで、アラームに関するメッセージを表示するために、図2に示すようなアラーム表示画面101がユーザ画面として用意されている。   When the occurrence of an alarm is notified from the PLC 13, the character string display processing unit 81 is notified from the PLC 13 based on the attribute data set in various displays described later and the alarm setting data included in the screen data (project file) in advance. Based on the notification, processing for displaying a message (character string) regarding the alarm is performed. Here, in order to display a message regarding an alarm, an alarm display screen 101 as shown in FIG. 2 is prepared as a user screen.

アラーム表示画面101は、部品として、アラーム表示器102と、言語切替スイッチ103,104とを含んでいる。   The alarm display screen 101 includes an alarm indicator 102 and language changeover switches 103 and 104 as components.

アラーム表示器102は、PLC13で現在もしくは過去に発生しているアラームについての各種の情報を表示するために設けられている部品である。このアラーム表示器102には、表示する項目として、日付、発報時刻、メッセージおよびレベルを1行内で表示する表示領域を含んでおり、これらの情報を1つのアラームにつき1行で表示するように構成されている。過去のアラームについての各種の情報を表示させることにより、アラームの履歴を確認することができる。   The alarm indicator 102 is a component provided for displaying various types of information about alarms currently or in the past in the PLC 13. This alarm display 102 includes a display area for displaying the date, time of issue, message and level in one line as items to be displayed, and these information are displayed in one line for one alarm. It is configured. By displaying various information about past alarms, the history of alarms can be confirmed.

「日付」はアラームが発生した日付であり、「発報時刻」はアラームの発生時刻である。   “Date” is the date when the alarm occurred, and “alarm time” is the time when the alarm occurred.

「メッセージ」は、発生したアラームについて報知する必要のある予め登録された情報である。「メッセージ」としては、アラームの内容を示すごく短いメッセージや、アラームへの対処方法を説明する比較的長いメッセージなどが用意される。アラーム表示器102における「メッセージ」を表示する領域(メッセージ表示領域)に「メッセージ」として文字列を表示できる文字数(表示文字数)については、予めアラーム表示器102に設定されている。また、表示すべき文字列の上記の文字数が表示文字数を越えている場合に文字列をスクロール表示(流れ表示)するか否かが、予めアラーム表示器102に設定されている。   “Message” is pre-registered information that needs to be notified of an alarm that has occurred. As the “message”, a very short message indicating the content of the alarm and a relatively long message explaining how to deal with the alarm are prepared. The number of characters (number of display characters) that can be displayed as a “message” in the “message” display area (message display area) in the alarm display 102 is set in the alarm display 102 in advance. Whether or not the character string is scroll-displayed (flow-displayed) when the number of characters to be displayed exceeds the number of displayed characters is set in the alarm display 102 in advance.

「レベル」は、アラームの重要度をランク付けして示す情報であり、アラーム設定データに含まれている。「レベル」としては、例えば“0”から“7”の8段階のレベルが設けられており、“0”レベルが最も重要度が低いアラームであり、“7”レベルが最も重要度が高いアラームであることを示している。したがって、オペレータは、示されたレベルに応じた適切な対応をとることが可能となる。   “Level” is information that ranks and indicates the importance of the alarm, and is included in the alarm setting data. As the “level”, for example, eight levels from “0” to “7” are provided, the “0” level being the least important alarm, and the “7” level being the most important alarm. It is shown that. Therefore, the operator can take an appropriate response according to the indicated level.

アラーム表示器102には、アラームの発生の有無を表すビットデータまたはワードデータの格納場所をそれぞれ特定するビットアドレスまたはワードアドレスと、当該アラームについて表示すべきメッセージ(文字列)または当該メッセージが登録されている文字列テーブルのインデックス番号(行番号)とが格納されているワードデバイスのワードアドレス(テーブル指定アドレス)が予め設定されている。また、前述の画面データ(プロジェクトファイル)に含まれるアラーム設定データには、上記のレベルが含まれている。このレベルの設定は、後述する画面エディタ部24によって行われる。   Registered in the alarm display 102 are a bit address or word address for identifying the storage location of bit data or word data indicating the occurrence of an alarm, and a message (character string) or the message to be displayed for the alarm. The word address (table designation address) of the word device storing the index number (row number) of the character string table being stored is preset. Further, the alarm setting data included in the screen data (project file) described above includes the above level. This level setting is performed by the screen editor unit 24 described later.

文字列表示処理部81は、上記のビットデバイスのビットアドレスまたはワードアドレスのデータがアラームを示す状態に変わると、当該アラームについてアラーム表示器102に直接設定されている文字列、アラーム設定データに含まれる文字列または文字列テーブルにおける上記のテーブル指定アドレスで指定されるインデックス番号に登録されている文字列を表示する。また、文字列表示処理部81は、プログラマブル表示器1が備えるカレンダー機能および時計機能を利用して、アラーム表示器102に、PLC13よりアラームが発生したというイベントを取得した日,時刻をそれぞれ日付,発報時刻として表示する。   When the bit address or word address data of the bit device changes to a state indicating an alarm, the character string display processing unit 81 includes the alarm string in the character string and alarm setting data set directly on the alarm display 102 for the alarm. The character string registered at the index number specified by the table specified address in the character string or character string table to be displayed is displayed. In addition, the character string display processing unit 81 uses the calendar function and the clock function provided in the programmable display device 1 to set the date and time when the event that an alarm has occurred from the PLC 13 is acquired to the alarm display device 102, respectively. It is displayed as the notification time.

また、文字列表示処理部81は、アラーム表示器102においてメッセージとして表示すべき文字列の文字数が上記の設定された表示文字数(表示量)を超えているか否かを判定する。文字列表示処理部81は、越えていないと判定した場合には、文字列をアラーム表示器102に固定表示し、越えていると判定した場合には、アラーム表示器102にスクロール表示することが設定されていれば、文字列をスクロール表示する。   The character string display processing unit 81 determines whether or not the number of characters in the character string to be displayed as a message on the alarm display device 102 exceeds the set number of display characters (display amount). If the character string display processing unit 81 determines that the character string is not exceeded, the character string is fixedly displayed on the alarm display unit 102. If it is determined that the character string is exceeded, the character string display processing unit 81 scrolls and displays the character string on the alarm display unit 102. If set, scroll the string.

なお、文字列をスクロール表示するか否かの判定の基準に用いる表示量を、例えば、メッセージ表示領域に表示される文字列の表示文字数などで表すことができるが、好ましくは半角文字数またはバイト数である。表示量を半角文字数で規定する場合、英数字や半角かな文字は1文字であり、漢字(全角)や全角かな文字は2文字の容量となる。つまり、全角文字を表示する場合は、半角文字数の半分の文字数しか表示できないことになる。   The display amount used as a criterion for determining whether or not to scroll the character string can be expressed by, for example, the number of display characters of the character string displayed in the message display area, but preferably the number of single-byte characters or the number of bytes It is. When the display amount is defined by the number of single-byte characters, alphanumeric characters and single-byte kana characters are one character, and kanji (double-byte) and double-byte kana characters have a capacity of two characters. That is, when displaying full-width characters, only half the number of half-width characters can be displayed.

また、全角文字と半角文字とが混在する場合でも、表示量を半角文字数で規定しておけば、クロール表示させるか否かを容易に判断することができる。   Also, even when full-width characters and half-width characters are mixed, if the display amount is defined by the number of half-width characters, it can be easily determined whether or not to perform crawling display.

さらに、全角文字は2バイトであり、半角文字は1バイトであることが知られているので、規定された表示量をバイト数で表しても上記と同様である。   Further, since it is known that a full-width character is 2 bytes and a half-width character is 1 byte, the prescribed display amount is the same as described above in terms of the number of bytes.

また、文字列表示処理部81は、HMI処理部8を介して、画面データ(プロジェクトファイル)に含まれるアラーム設定データから取得される上記のレベルを示すデータに基づいて文字列をスクロール表示するときのスクロール速度を切り替える。各レベルには、それぞれ対応するスクロール速度が割り付けられているので、文字列表示処理部81は、文字列をスクロール表示する場合、その割り付けに基づいて、レベルに応じた速度で文字列をスクロール表示する。   When the character string display processing unit 81 scrolls and displays the character string based on the data indicating the level acquired from the alarm setting data included in the screen data (project file) via the HMI processing unit 8. Change the scroll speed. Since the scroll speed corresponding to each level is assigned, the character string display processing unit 81 scrolls the character string at a speed corresponding to the level when scrolling the character string. To do.

レベルとスクロール速度との割り付けは、レベルが高いほどスクロール速度が低くなるように設定される。あるいは、レベルとスクロール速度との割り付けは、上記の割り付けとは逆に、レベルが高いほどスクロール速度が高くなるように設定されてもよい。レベルとスクロール速度の割り付けは、別のテーブルとして用意され、画面データに付加データとして付与されていてもよい。   The allocation between the level and the scrolling speed is set so that the higher the level, the lower the scrolling speed. Alternatively, the assignment of the level and the scroll speed may be set so that the scroll speed increases as the level increases, contrary to the above assignment. The assignment of the level and the scroll speed may be prepared as a separate table and may be given as additional data to the screen data.

なお、スクロール速度のレベルの割り付けは、必ずしも1対1でなくてもよい。例えば、レベル“0”〜“2”を高速スクロール表示とし、レベル“3”〜“5”を中速スクロール表示とし、レベル“6”〜“8”を低速スクロール表示とするような3段階の速度でスクロール表示を切り替えてもよい。   Note that the allocation of the scroll speed level is not necessarily one-to-one. For example, the level “0” to “2” is a high speed scroll display, the level “3” to “5” is a medium speed scroll display, and the level “6” to “8” is a low speed scroll display. The scroll display may be switched at a speed.

あるいは、文字列表示処理部81は、文字列の文字数が上記の設定された表示文字数(表示量)を超えているか否かを判断せずに、文字数に関わらず、アラーム表示器102にスクロール表示することが設定されていれば、文字列をスクロール表示してもよい。この場合、文字列表示処理部81は、併せて、上記のようにレベルに応じてスクロール速度を変更するようにしてもよい。これにより、アラームの重要度が視覚的に判るようになる。   Alternatively, the character string display processing unit 81 does not determine whether or not the number of characters in the character string exceeds the set number of display characters (display amount), and scrolls the alarm display 102 regardless of the number of characters. If it is set to do, the character string may be scrolled. In this case, the character string display processing unit 81 may also change the scroll speed according to the level as described above. As a result, the importance of the alarm can be visually determined.

言語切替スイッチ103,104は、上記メッセージの言語を切り替えるために設けられたスイッチ部品である。この言語切替スイッチ103,104には、文字列テーブルに登録された各言語を示すテーブル番号をワードデバイスに格納するワードアドレス(テーブル番号アドレス)が予め設定されている。   The language changeover switches 103 and 104 are switch parts provided for switching the language of the message. In the language selector switches 103 and 104, a word address (table number address) for storing a table number indicating each language registered in the character string table in the word device is set in advance.

文字列言語切替部82は、言語切替スイッチ103,104のいずれかがオペレータによりタッチ操作されると、テーブル番号アドレスで指定されるテーブル番号を文字列テーブルより読み出して文字列表示処理部81に通知する。文字列表示処理部81は、通知されたテーブル番号の文字列を表示するように使用するテーブルを切り替える。   The character string language switching unit 82 reads the table number specified by the table number address from the character string table and notifies the character string display processing unit 81 when any of the language switching switches 103 and 104 is touched by the operator. To do. The character string display processing unit 81 switches the table to be used so as to display the character string of the notified table number.

前述のアラーム表示画面101は、部品として、アラーム表示器102の代わりに、図3に示すテキストアラーム表示器105を含んでいてもよい。   The alarm display screen 101 described above may include a text alarm display 105 shown in FIG. 3 instead of the alarm display 102 as a component.

テキストアラーム表示器105は、図3(a)に示すように、アラーム表示器102における「メッセージ」のみを表示する機能を備えている。このテキストアラーム表示器105は、1行で各アラームについての「メッセージ」を表示する表示領域を有している。このために、テキストアラーム表示器105には、アラーム表示器102に「メッセージ」の表示について設定されている前述の各設定事項が設定されているとともに、表示できる文字数および表示できるメッセージ数(行数)が予め設定されている。   As shown in FIG. 3A, the text alarm indicator 105 has a function of displaying only the “message” in the alarm indicator 102. The text alarm display 105 has a display area for displaying a “message” for each alarm in one line. For this purpose, the text alarm display 105 is set with the above-mentioned setting items set for the display of “message” in the alarm display 102, and the number of characters that can be displayed and the number of messages that can be displayed (number of lines). ) Is preset.

文字列表示処理部81および文字列言語切替部82は、アラーム表示器102に対して行なった文字列を表示するための前述の処理と同様な処理をテキストアラーム表示器105において文字列を表示するときにも行なう。   The character string display processing unit 81 and the character string language switching unit 82 display the character string on the text alarm display unit 105 by performing the same processing as that described above for displaying the character string performed on the alarm display unit 102. Sometimes.

ここで、アラームを表示する部品としては、前述のアラーム表示器102やテキストアラーム表示器105に限らない。例えば、図4に示すようなユーザ画面201に設けられたメッセージ表示器202や図示しない文字列データ表示器もアラームについての情報を文字列として1行分の表示領域で表示することができる。メッセージ表示器202も、文字列を表示させるイベントについては、当該表示器に予め設定されているビットアドレスのビットデータやワードアドレスのワードデータが指定された状態に変化したときに予め登録されている文字列を表示する。このことから、上記のビットデータやワードデータをアラームの発生の有無を表すデータとして設けておけば、メッセージ表示器202についても、アラーム表示器102やテキストアラーム表示器105のようにアラームに対応した文字列を表示することが可能である。   Here, the alarm display part is not limited to the alarm display 102 and the text alarm display 105 described above. For example, a message display 202 provided on the user screen 201 as shown in FIG. 4 or a character string data display (not shown) can also display alarm information as a character string in a display area for one line. The message display 202 also registers an event for displaying a character string when the bit data of the bit address or the word data of the word address preset in the display changes to a specified state. Displays a string. For this reason, if the above bit data and word data are provided as data indicating the presence or absence of the occurrence of an alarm, the message display 202 can also cope with an alarm like the alarm display 102 and the text alarm display 105. It is possible to display a character string.

そこで、文字列表示処理部81および文字列言語切替部82は、テキストアラーム表示器105に対して行なった文字列を表示するための前述の処理と同様な処理をメッセージ表示器202において文字列を表示するときにも行なう。   Therefore, the character string display processing unit 81 and the character string language switching unit 82 perform the same processing as the above-described processing for displaying the character string performed on the text alarm display unit 105 on the message display unit 202. Also when displaying.

また、文字列データ表示器は、ワードアドレスの文字列データ(文字コードデータ)を文字列として表示する機能を有しているが、予め登録されている文字列を表示したり、アラームのレベルを参照することができない。しかしながら、文字列データ表示器が文字列を有するので、文字列表示処理部81は、文字列データ表示器に文字列を表示する処理も行なう。ここで、文字列表示処理部81は、文字列データ表示器において表示される文字列の文字数が当該文字列データ表示器に予め設定された表示文字数を超えているか否かを判定し、越えていると判定した場合には、文字列データ表示器にスクロール表示するが、スクロール速度の切替は行わない。   The character string data display has a function of displaying the character address data (character code data) of the word address as a character string, but displays a pre-registered character string or sets the alarm level. I can't refer to it. However, since the character string data display has a character string, the character string display processing unit 81 also performs processing for displaying the character string on the character string data display. Here, the character string display processing unit 81 determines whether or not the number of characters of the character string displayed on the character string data display exceeds the number of display characters preset in the character string data display. If it is determined that the character string is displayed, the scrolling display is performed on the character string data display, but the scroll speed is not switched.

続いてエディタコンピュータ21について説明する。   Next, the editor computer 21 will be described.

図1に示すように、エディタコンピュータ21は、プログラマブル表示器1に表示される画面を作成するエディタコンピュータとしての機能を有する。   As shown in FIG. 1, the editor computer 21 has a function as an editor computer that creates a screen displayed on the programmable display 1.

エディタコンピュータ21は、CPU、メモリ(RAM、ROMなど)、外部記憶装置(ハードディスクドライブ、MOドライブなど)、表示装置および入力装置(キーボード、マウスなど)を有するパーソナルコンピュータによって構成されている。また、エディタコンピュータ21は、制御部22、インターフェース部(図中、I/F)23、画面エディタ部24およびデータ記憶部25を備えている。   The editor computer 21 is constituted by a personal computer having a CPU, a memory (RAM, ROM, etc.), an external storage device (hard disk drive, MO drive, etc.), a display device and an input device (keyboard, mouse, etc.). The editor computer 21 includes a control unit 22, an interface unit (I / F in the figure) 23, a screen editor unit 24, and a data storage unit 25.

インターフェース部23は、プログラマブル表示器1との間の通信を行なうための通信制御部であり、転送ケーブル14に接続されている。   The interface unit 23 is a communication control unit for performing communication with the programmable display 1 and is connected to the transfer cable 14.

制御部22は、ハードウエア(CPUやメモリなど)およびソフトウエア(オペレーティングシステムなど)によって実現される機能ブロックであり、アプリケーションプログラムの実行や周辺機器の動作を制御する部分である。制御部22は、その機能を果たすために作業メモリ22aを有している。作業メモリ22aは、DRAMなどによって構成され、画面データのファイルを展開するためなどに用いられる。   The control unit 22 is a functional block realized by hardware (CPU, memory, etc.) and software (operating system, etc.), and controls the execution of application programs and the operation of peripheral devices. The control unit 22 has a work memory 22a to fulfill its function. The work memory 22a is constituted by a DRAM or the like, and is used for developing a screen data file.

また、制御部22は、アプリケーションプログラムであるエディタソフトウエアを実行することにより、画面エディタ部24を実現する。アプリケーションプログラムは、エディタコンピュータ21と分離可能に構成される記録媒体に記録され、この記憶媒体からエディタコンピュータ21にインストールすることが可能である。   The control unit 22 implements the screen editor unit 24 by executing editor software that is an application program. The application program is recorded on a recording medium configured to be separable from the editor computer 21 and can be installed in the editor computer 21 from this storage medium.

上記の記録媒体(プログラムメディア)は、コンピュータに読み取り可能な記録媒体であり、磁気テープやカセットテープなどのテープ系、フレキシブルディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。   The above-mentioned recording medium (program medium) is a computer-readable recording medium, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk system such as a flexible disk or a hard disk, CD-ROM, MO, MD, DVD, etc. A card system such as an optical disk system, an IC card (including a memory card), or an optical card is suitable. 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.

また、エディタコンピュータ21が、インターネットを含む通信ネットワークと接続可能な環境に置かれていれば、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めエディタコンピュータ21に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。   Further, if the editor computer 21 is placed in an environment that can be connected to a communication network including the Internet, the editor computer 21 may be a medium that fluidly carries the program so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in the editor computer 21 in advance, or may be installed from another recording medium.

画面エディタ部24は、ユーザ独自の画面であるユーザ画面の作成を支援するように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品(オブジェクト)、描画機能、テキスト入力機能などを備えている。オブジェクトは、ユーザが容易に選択できるようにライブラリ形式で登録されている。   The screen editor unit 24 supports components (such as a switch, a lamp, a numeric keypad, and various displays (for example, a numerical display, a meter display, and a graph display) so as to support the creation of a user screen that is a user-specific screen. Object), drawing function, text input function, etc. Objects are registered in a library format so that the user can easily select them.

また、画面エディタ部24は、作成された画面データおよび後述する文字列テーブルを上記の外部記憶装置によって構成されるデータ記憶部25に保存する。また、画面エディタ部24は、画面データおよび文字列テーブルをデータ記憶部25から読み出して、転送ケーブル14を介してプログラマブル表示器1に転送する。   Further, the screen editor unit 24 stores the created screen data and a character string table described later in the data storage unit 25 configured by the external storage device. Further, the screen editor unit 24 reads the screen data and the character string table from the data storage unit 25 and transfers them to the programmable display device 1 via the transfer cable 14.

画面エディタ部24は、前述のアラーム設定データを作成するためのアラーム設定部24aと、前述の各表示器についての属性データを設定するための表示器設定部24bと、前述の文字列テーブルを作成するための文字列テーブル作成部24cとを有している。   The screen editor unit 24 creates the alarm setting unit 24a for creating the above-described alarm setting data, the display unit setting unit 24b for setting the attribute data for each of the above-mentioned display units, and the above-described character string table. And a character string table creation unit 24c.

アラーム設定部24aは、アラーム設定データを作成するために、図5に示すようなアラーム設定画面301をユーザインターフェースとして提供する。   The alarm setting unit 24a provides an alarm setting screen 301 as shown in FIG. 5 as a user interface in order to create alarm setting data.

アラーム設定画面301は、言語切替設定ボタン302と、テーブル番号選択表示ボックス303と、言語表示ボックス304と、監視形態選択ボタン305と、文字列チェックボックス306と、アラーム情報設定欄307とを有している。   The alarm setting screen 301 includes a language switching setting button 302, a table number selection display box 303, a language display box 304, a monitoring form selection button 305, a character string check box 306, and an alarm information setting field 307. ing.

言語切替設定ボタン302は、文字列テーブルに登録されている複数言語のテーブルを切り替えて使用するときに必要な設定を行なうために設けられる。この設定については、後に詳しく説明する。   The language switching setting button 302 is provided for performing settings necessary for switching and using a table of a plurality of languages registered in the character string table. This setting will be described in detail later.

テーブル番号選択表示ボックス303は、初期状態で使用するテーブル番号を表示するために設けられている。このテーブル番号選択表示欄303は、例えば、スピンボックスの形態で設けられている。   The table number selection display box 303 is provided for displaying the table number used in the initial state. This table number selection display field 303 is provided in the form of a spin box, for example.

言語表示ボックス304は、テーブル番号選択表示欄303で選択されたテーブル番号のテーブルに登録されている文字列の言語を表示するために設けられている。   The language display box 304 is provided for displaying the language of the character string registered in the table of the table number selected in the table number selection display field 303.

監視形態選択ボタン305は、ビットデータ(ビット監視)またはワードデータ(ワード監視)のいずれの状態に基づいて文字列を表示するかを選択するためのボタンである。この監視形態選択ボタン305は、ラジオボタンの形態で設けられている。   The monitoring form selection button 305 is a button for selecting whether to display a character string based on the state of bit data (bit monitoring) or word data (word monitoring). The monitoring form selection button 305 is provided in the form of a radio button.

文字列チェックボックス306は、文字列テーブルを使用するときにチェックするために設けられている。   The character string check box 306 is provided for checking when the character string table is used.

アラーム情報設定欄307は、アラーム情報を設定するために設けられている。このアラーム情報設定欄307に設定される情報としては、ビットアドレスまたはワードアドレス、発報条件、メッセージおよびレベルが設定可能である。   The alarm information setting field 307 is provided for setting alarm information. As information set in the alarm information setting field 307, a bit address or a word address, a notification condition, a message, and a level can be set.

「ビットアドレス」は、監視形態選択ボタン305においてビット監視が選択されている場合に、アラームの有無を監視するビットデータである。「ワードアドレス」は、監視形態選択ボタン305においてワード監視が選択されている場合に、アラームの有無を監視するワードデータである。   “Bit address” is bit data for monitoring the presence / absence of an alarm when bit monitoring is selected by the monitoring mode selection button 305. “Word address” is word data for monitoring the presence or absence of an alarm when word monitoring is selected by the monitoring mode selection button 305.

「発報条件」は、ビット監視の場合にはアラームの発生と認識するときのビットデータの状態である。また、「発報条件」は、ワード監視の場合にはアラームの発生と認識するときのワードデータの状態である。   The “reporting condition” is the state of bit data when it is recognized that an alarm has occurred in the case of bit monitoring. The “reporting condition” is the state of word data when it is recognized that an alarm has occurred in the case of word monitoring.

「メッセージ」は、「発報条件」が満たされたときに表示すべきメッセージを構成する文字列である。   “Message” is a character string constituting a message to be displayed when the “reporting condition” is satisfied.

「レベル」は、前述のアラームの重要度を表す情報(数値や順序を表す符号(例えばアルファベット))である。   The “level” is information (signs indicating numerical values or order (for example, alphabet)) indicating the importance of the alarm.

アラーム設定部24aは、上記のように構成されるアラーム設定画面301にユーザによって入力された各項目を画面データに付属するアラーム設定データとして、データ記憶部25に保存する。   The alarm setting unit 24a stores each item input by the user on the alarm setting screen 301 configured as described above in the data storage unit 25 as alarm setting data attached to the screen data.

表示器設定部24bは、前述の各種の表示器に属性データを設定するためにダイアログボックスをユーザインターフェースとして提供する。   The display setting unit 24b provides a dialog box as a user interface in order to set attribute data in the various displays described above.

ここでは、図6に示すように、前述のアラーム表示器102について属性データを設定するためのダイアログボックス401について説明する。   Here, as shown in FIG. 6, a dialog box 401 for setting attribute data for the alarm indicator 102 will be described.

このダイアログボックス401は、図6(a)および(b)に示すように、基本設定のタブと表示設定のタブとを有している。   As shown in FIGS. 6A and 6B, the dialog box 401 includes a basic setting tab and a display setting tab.

ダイアログボックス401は、基本設定のタブにおいては、動作モード指定ボックス402と、アドレス指定ボックス403とを有している。一方、ダイアログボックス401は、表示設定のタブにおいては、文字列タイプ選択ボタン404と、文字列テーブル登録アドレス指定ボックス405と、表示文字数指定ボックス406と、スクロール表示チェックボックス407と、文字列登録ボックス408とを有している。   The dialog box 401 includes an operation mode designation box 402 and an address designation box 403 in the basic setting tab. On the other hand, the dialog box 401 includes a character string type selection button 404, a character string table registration address specification box 405, a display character number specification box 406, a scroll display check box 407, and a character string registration box in the display setting tab. 408.

動作モード指定ボックス402は、アラーム表示器102の動作モードとしてビット動作モードまたはワード動作モードのいずれかを選択指定するために設けられている。ビット動作モードは、ビットアドレスで指定されるビットデータが指定された状態に変化することによってアラームの発生を表示する動作モードである。ワード動作モードは、ワードアドレスで指定されるワードデータが指定された状態に変化することによってアラームの発生を表示する動作モードである。   The operation mode designation box 402 is provided for selecting and designating either the bit operation mode or the word operation mode as the operation mode of the alarm display 102. The bit operation mode is an operation mode for displaying the occurrence of an alarm when the bit data specified by the bit address changes to a specified state. The word operation mode is an operation mode for displaying the occurrence of an alarm when word data specified by a word address changes to a specified state.

アドレス入力ボックス403は、ビット動作モードが指定されたときに監視するビットデータの格納先を指定するビットアドレス、またはワード動作モードが指定されたときに監視するワードデータの格納先を指定するワードアドレスを入力するために設けられている。   The address input box 403 is a bit address that specifies the storage location of the bit data to be monitored when the bit operation mode is specified, or the word address that specifies the storage location of the word data to be monitored when the word operation mode is specified. Is provided to enter.

文字列タイプ選択ボタン404は、アラームに関するメッセージの登録の形態を文字列タイプとして選択するためにラジオボタンの形態で設けられている。選択可能な文字列タイプとしては、直接文字列タイプと文字列テーブルタイプとが用意されている。直接文字列タイプは、後述する文字列登録ボックス408に直接入力されることによりアラーム表示器102に直接設定された文字列を使用するときに選択される。文字列テーブルタイプは、文字列テーブルに登録された文字列を使用するときに選択される。   The character string type selection button 404 is provided in the form of a radio button in order to select the registration form of the message regarding the alarm as the character string type. Direct character string types and character string table types are prepared as selectable character string types. The direct character string type is selected when a character string directly set in the alarm indicator 102 by using a character string registration box 408 described later is used. The character string table type is selected when using a character string registered in the character string table.

文字列テーブル登録アドレス指定ボックス405は、文字列テーブルを使用するときに、文字列テーブルにおいて用いる文字列が登録されているインデックス番号を格納しているワードデバイスのワードアドレスを入力指定するために設けられている。   The character string table registration address designation box 405 is provided for inputting and designating the word address of the word device storing the index number in which the character string used in the character string table is registered when the character string table is used. It has been.

表示文字数指定ボックス406は、メッセージとして表示可能な文字数を指定するために設けられている。この表示文字数指定ボックス406は、例えば、スピンボックスの形態で設けられている。   The display character number designation box 406 is provided for designating the number of characters that can be displayed as a message. The display character number designation box 406 is provided, for example, in the form of a spin box.

なお、前述の表示量として半角文字数またはバイト数を用いる場合は、図示はしないが、表示文字数指定ボックス406の代わりに、半角文字数またはバイト数を指定するためのボックスがダイアログボックス401に設けられる。   When the number of single-byte characters or the number of bytes is used as the display amount, the dialog box 401 is provided with a box for designating the number of single-byte characters or the number of bytes instead of the display character number designation box 406, although not shown.

スクロール表示チェックボックス407は、メッセージとして表示される文字数をスクロール表示するか否かを指定するために設けられている。   The scroll display check box 407 is provided for designating whether or not to scroll the number of characters displayed as a message.

文字列登録ボックス408は、文字列タイプ選択ボタン404によって直接文字列タイプが選択されたときに記入するために設けられている。   The character string registration box 408 is provided for filling in when the character string type is directly selected by the character string type selection button 404.

表示器設定部24bは、上記のように構成されるダイアログボックス401にユーザによって入力された各項目をアラーム表示器102に属性データとして設定して、画面データの一部としてデータ記憶部25に保存する。また、表示器設定部24bは、前述のテキストアラーム表示器105やメッセージ表示器202に対しても、図示はしないが同様なダイアログボックスを用意しており、そのダイアログボックスに入力された各項目を属性データとして設定する。さらに、表示器設定部24bは、前述の文字列データ表示器に対しては、表示する文字列の文字列データを格納するワードデバイスのワードアドレスと表示文字数とを設定するためのダイアログボックスを用意しており、そのダイアログボックスに入力された各項目を属性データとして設定する。   The display setting unit 24b sets each item input by the user in the dialog box 401 configured as described above as attribute data in the alarm display 102 and stores it in the data storage unit 25 as part of the screen data. To do. The display setting unit 24b prepares a similar dialog box (not shown) for the above-described text alarm display 105 and message display 202, and sets each item input in the dialog box. Set as attribute data. Furthermore, the display setting unit 24b provides a dialog box for setting the word address of the word device for storing the character string data of the character string to be displayed and the number of display characters for the character string data display described above. Each item entered in the dialog box is set as attribute data.

文字列テーブル作成部24cは、文字列テーブルを作成するために、図7に示す文字列テーブル設定画面501をユーザインターフェースとして提供する。   The character string table creating unit 24c provides a character string table setting screen 501 shown in FIG. 7 as a user interface in order to create a character string table.

文字列テーブル設定画面501は、言語切替設定ボタン502と、文字列情報設定欄503とを有している。   The character string table setting screen 501 has a language switching setting button 502 and a character string information setting field 503.

言語切替設定ボタン502は、前述の言語切替設定ボタン302と同じ機能を有しており、文字列テーブルに登録されている複数言語のテーブルを切り替えて使用するときに必要な設定を行なうために設けられる。この言語切替設定ボタン502がユーザによってクリック操作されると、文字列テーブル作成部24cは、図8に示すダイアログボックス601を表示する。このダイアログボックス601は、言語切替チェックボックス602と、切替制御アドレス指定ボックス603と、初期テーブル指定ボックス604と、テーブル名表示欄605とを有している。   The language switching setting button 502 has the same function as the language switching setting button 302 described above, and is provided for performing settings necessary for switching and using a table of a plurality of languages registered in the character string table. It is done. When the language switching setting button 502 is clicked by the user, the character string table creation unit 24c displays a dialog box 601 shown in FIG. This dialog box 601 includes a language switching check box 602, a switching control address designation box 603, an initial table designation box 604, and a table name display field 605.

言語切替チェックボックス602は、言語切替機能を使用するか否かを選択指定するために設けられている。   The language switching check box 602 is provided to select and specify whether or not to use the language switching function.

切替制御アドレス指定ボックス603は、切り替えて表示するテーブルのテーブル番号を格納するワードデバイスのワードアドレスを指定するために設けられている。初期テーブル指定ボックス604は、初期状態で使用されるテーブルをテーブル名で指定するために設けられている。   The switching control address designation box 603 is provided for designating the word address of the word device that stores the table number of the table to be switched and displayed. An initial table designation box 604 is provided for designating a table used in the initial state by a table name.

テーブル名表示欄605は、切り替えて使用するテーブルのテーブル名を対応する言語とともに表示するために設けられている。   The table name display field 605 is provided for displaying the table name of the table used by switching together with the corresponding language.

図7に示す文字列情報設定欄503は、インデックス番号(図中「No.」にて示す)と、文字数と、文字行数と、文字列とを設定するための各ブロックを有している。   The character string information setting field 503 shown in FIG. 7 includes blocks for setting an index number (indicated by “No.” in the figure), the number of characters, the number of character lines, and a character string. .

「インデックス番号」は、使用する文字列毎を特定するための行番号である。「文字数」は登録可能な文字列の最大文字数である。「文字行数」は登録する文字列の行数である。前述の各表示器に当該文字列を表示する場合は、文字行数として1が指定される。「文字列」は、登録される文字列であり、言語に応じたテーブルとして登録される。例えば、図7に示す例では、日本語の文字列を登録するためにテーブル番号“1”でテーブル名“Table1”のテーブルが用意され、英語の文字列を登録するためにテーブル番号“2”でテーブル名“Table2”のテーブルが用意される。また、使用可能な言語としては、日本語や英語に限らず、中国語(繁字体,簡字体)、韓国語等の各種の言語を設けてもよい。   The “index number” is a line number for specifying each character string to be used. “Number of characters” is the maximum number of characters that can be registered. “Number of character lines” is the number of lines of the character string to be registered. When the character string is displayed on each of the aforementioned display devices, 1 is designated as the number of character lines. “Character string” is a registered character string, and is registered as a table corresponding to the language. For example, in the example shown in FIG. 7, a table with the table name “Table1” is prepared with a table number “1” for registering a Japanese character string, and a table number “2” for registering an English character string. The table with the table name “Table2” is prepared. The usable languages are not limited to Japanese and English, and various languages such as Chinese (traditional and simplified) and Korean may be provided.

文字列テーブル設定部24cは、上記のように構成される文字列テーブル設定画面50およびダイアログボックス601にユーザによって入力された各項目を文字列テーブルを構成するためのデータとして設定して文字列テーブルを作成し、当該文字列テーブルをデータ記憶部25に保存する。 Text Table unit 24c, a character string is set as data for constituting the string table the items input by the user to the Text Table screen 50 1 and dialog box 601 configured as described above A table is created and the character string table is stored in the data storage unit 25.

ここで、プログラマブル表示器1によるアラーム発生時のメッセージの表示動作について説明する。   Here, the display operation of a message when an alarm is generated by the programmable display device 1 will be described.

まず、アラーム表示器102においてアラームの発生を表示する場合について説明する。ここでは、文字列テーブルを使用してアラームのメッセージを表示する例について説明する。   First, a case where an alarm occurrence is displayed on the alarm display 102 will be described. Here, an example of displaying an alarm message using a character string table will be described.

HMI処理部8は、PLC13と所定の通信サイクルで通信を行なうことにより、アラームの有無を監視するビットアドレスまたはワードアドレスの最新の状態を取得している。HMI処理部8は、当該ビットアドレスまたはワードアドレスの状態が、アラーム設定データにおける「発報条件」として設定された状態に変化すると、そのときの日付および時刻をアラーム表示画面101に表示されているアラーム表示器102に表示する。また、HMI処理部8は、当該アラームに対応するレベルをアラーム設定データを参照することによって特定してアラーム表示器102に表示する。また、HMI処理部8は、文字列表示処理部81に文字列を表示するように指示する。   The HMI processing unit 8 communicates with the PLC 13 in a predetermined communication cycle, thereby acquiring the latest state of the bit address or word address for monitoring the presence or absence of an alarm. When the state of the bit address or the word address changes to the state set as “alert condition” in the alarm setting data, the HMI processing unit 8 displays the date and time at that time on the alarm display screen 101. Displayed on the alarm display 102. Further, the HMI processing unit 8 specifies the level corresponding to the alarm by referring to the alarm setting data, and displays it on the alarm indicator 102. Further, the HMI processing unit 8 instructs the character string display processing unit 81 to display the character string.

文字列表示処理部81は、その指示を受けて、アラーム表示器102に設定されている文字列テーブル登録アドレスとして設定されているインデックス番号に登録されている文字列をアラーム表示器102のメッセージ表示領域に表示する。このとき、初期テーブルとして日本語のテーブルが設定されていれば、図2に示すように、アラーム表示器102には、メッセージとして日本語が指定された表示文字数で表示される。このとき、文字列表示処理部81は、表示すべき文字列が表示文字数を越えるか否かを判定し、越えない場合は当該文字列を固定表示するが、越える場合は当該文字列を右方向に流れるようにスクロール表示する。   In response to the instruction, the character string display processing unit 81 displays the character string registered in the index number set as the character string table registration address set in the alarm display unit 102 in the message display of the alarm display unit 102. Display in the area. At this time, if a Japanese table is set as the initial table, as shown in FIG. 2, the alarm display 102 displays the message with the number of display characters designated in Japanese. At this time, the character string display processing unit 81 determines whether or not the character string to be displayed exceeds the number of characters to be displayed. If not, the character string is fixedly displayed. Scroll to display.

このとき、スクロール表示処理部81は、HMI処理部8から取得されたレベルに応じたデータを文字列表示処理部81に与えると、文字列表示処理部81は、そのデータに応じた速度で文字列をスクロール表示する。これにより、メッセージがレベルすなわちアラームの重要度に応じた速度でスクロール表示されることになる。例えば、重要度が低く対処方法も比較的簡単で緊急対応が必要となるようなメッセージについては、速くスクロール表示することにより、メッセージの内容を素早く把握することができる。また、重要度が高く対処方法も比較的複雑であるようなメッセージについては、遅くスクロール表示することにより、メッセージの内容を確実に把握することができる。   At this time, when the scroll display processing unit 81 provides the character string display processing unit 81 with data corresponding to the level acquired from the HMI processing unit 8, the character string display processing unit 81 performs character processing at a speed corresponding to the data. Scroll through columns. As a result, the message is scrolled and displayed at a speed corresponding to the level, that is, the importance of the alarm. For example, for messages that are low in importance and relatively easy to deal with and require urgent response, the contents of the message can be quickly grasped by quickly scrolling and displaying. In addition, messages that have a high degree of importance and are relatively complicated to deal with can be surely grasped by slowly scrolling and displaying the messages.

また、アラーム設定データや文字列テーブルに言語切替が設定されている場合は、アラーム表示画面101における言語切替スイッチ104がタッチされると、文字列言語切替部82が使用するテーブルのテーブル番号を文字列テーブルより読み出して、当該テーブル番号のテーブル(英語のテーブル)を有効にする。これにより、文字列表示処理部81は、文字列の表示を当該テーブルに登録された英語の文字列に切り替えて表示する。この結果、日本語の文字列を表示しているときの文字列の文字数が表示文字数以内であった場合でも、英語では文字列の文字数が多くなる。したがって、この場合、文字列表示処理部81は、英語の文字列が表示文字列を超えたと判断して、当該文字列をスクロール表示する。   In addition, when language switching is set in the alarm setting data or the character string table, when the language switching switch 104 on the alarm display screen 101 is touched, the table number of the table used by the character string language switching unit 82 is changed to the character number. Read from the column table to validate the table of the table number (English table). As a result, the character string display processing unit 81 switches the character string display to the English character string registered in the table and displays it. As a result, even when the number of characters in the character string when the Japanese character string is displayed is less than the number of displayed characters, the number of characters in the character string increases in English. Therefore, in this case, the character string display processing unit 81 determines that the English character string exceeds the display character string, and scrolls and displays the character string.

次に、テキストアラーム表示器105にてアラームのメッセージを表示する場合、文字列表示処理部81は、表示する文字列が表示文字数を越えると、図3(b)に示すように、テキストアラーム表示器105における各行の文字列をスクロール表示する。また、テキストアラーム表示器105においても、アラーム表示器102と同様、スクロール表示処理部81によるレベルに応じたスクロール速度の切り替え、および文字列言語切替部82による文字列の言語切り替えが行われる。   Next, when displaying an alarm message on the text alarm display 105, the character string display processing unit 81 displays the text alarm as shown in FIG. 3 (b) when the displayed character string exceeds the number of display characters. The character string of each line in the device 105 is scroll-displayed. In the text alarm display 105, similarly to the alarm display 102, the scroll display processing unit 81 switches the scroll speed according to the level, and the character string language switching unit 82 switches the character string language.

さらに、メッセージ表示器202にてアラームのメッセージを表示する場合も、文字列表示処理部81は、表示する文字列が表示文字数を越えると、図4に示すように、メッセージ表示器201における文字列をスクロール表示する。また、メッセージ表示器202においても、アラーム表示器102と同様、スクロール表示処理部81によるレベルに応じたスクロール速度の切り替え、および文字列言語切替部82による文字列の言語切り替えが行われる。   Further, when displaying an alarm message on the message display 202, the character string display processing unit 81, as shown in FIG. 4, displays the character string in the message display 201 when the displayed character string exceeds the number of display characters. Scroll the display. Also in the message display 202, as with the alarm display 102, the scroll display processing unit 81 switches the scrolling speed according to the level, and the character string language switching unit 82 switches the character string language.

このように、本実施の形態のプログラマブル表示器1は、文字列表示処理部81を備えることにより、1行でアラームについてのメッセージを表示するときに、限られた表示文字数を越えると、メッセージをスクロール表示する。これにより、ユーザ画面において所望の位置に配置された表示器内の限られた表示領域においても、長いメッセージを表示することが可能になる。それゆえ、アラームのメッセージを表示するための領域を大幅に削減することが可能となり、ユーザ画面を有効に利用することができる。   As described above, the programmable display device 1 according to the present embodiment includes the character string display processing unit 81 so that when a message about an alarm is displayed on one line, the message is displayed when the number of display characters exceeds a limited number. Scroll display. As a result, a long message can be displayed even in a limited display area in the display device arranged at a desired position on the user screen. Therefore, the area for displaying the alarm message can be greatly reduced, and the user screen can be used effectively.

また、プログラマブル表示器1は、文字列言語切替部82を備えることにより、文字列の言語を切り替えるが、この切替に伴って文字数が表示文字数を越える場合に、文字列表示処理部81によってメッセージがスクロール表示される。   In addition, the programmable display 1 includes the character string language switching unit 82 to switch the language of the character string. When the number of characters exceeds the number of displayed characters due to this switching, a message is displayed by the character string display processing unit 81. Scroll display.

また、プログラマブル表示器1は、スクロール表示処理部81を備えることにより、アラームのレベルに応じてスクロール速度が切り替えられる。特に、アラームの重要度が高いほどスクロール速度を遅くすることにより、重要度が高いアラームの表示文字列については視認性および可読性に優れる。   Moreover, the programmable display 1 is provided with the scroll display process part 81, and a scroll speed is switched according to the level of an alarm. In particular, the alarm display character string having high importance is excellent in visibility and readability by lowering the scroll speed as the importance of the alarm is higher.

本発明のプログラマブル表示器は、アラーム発生時にアラームに関するメッセージを画面に設けられた表示器部品に文字列で表示するときに、その文字列が規定の表示文字数を越えると、その文字列をスクロール表示するので、限られた領域で長いメッセージを表示することができ、アラーム表示に好適に利用できる。   The programmable display of the present invention, when an alarm message is displayed as a character string on a display part provided on the screen when an alarm occurs, if the character string exceeds the specified number of display characters, the character string is scrolled and displayed. Therefore, a long message can be displayed in a limited area, which can be suitably used for alarm display.

本発明の実施形態に係るプログラマブル表示器およびエディタコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of the programmable display and editor computer which concern on embodiment of this invention. 上記プログラマブル表示器におけるHMI処理部の文字列表示処理部によって表示されるアラーム表示器を含むアラーム表示画面を示す図である。It is a figure which shows the alarm display screen containing the alarm indicator displayed by the character string display process part of the HMI process part in the said programmable display. (a)および(b)は上記文字列表示処理部によって表示されるテキストアラーム表示器を示す図である。(A) And (b) is a figure which shows the text alarm indicator displayed by the said character string display process part. 上記HMI処理部によって表示されるメッセージ表示器またはデータ表示器を含むユーザ画面を示す図である。It is a figure which shows the user screen containing the message display or data display displayed by the said HMI process part. 上記エディタコンピュータにおける画面エディタ部のアラーム設定部によって表示されるアラーム設定画面を示す図である。It is a figure which shows the alarm setting screen displayed by the alarm setting part of the screen editor part in the said editor computer. (a)および(b)は上記画面エディタ部の表示器設定部によって表示されるアラーム表示器の属性を設定するためのダイアログボックスを示す図である。(A) And (b) is a figure which shows the dialog box for setting the attribute of the alarm indicator displayed by the indicator setting part of the said screen editor part. 上記エディタコンピュータにおける文字列テーブル作成部によって文字列テーブル作成画面を示す図である。It is a figure which shows a character string table preparation screen by the character string table preparation part in the said editor computer. 上記文字列テーブル作成部によって表示される言語切替設定用のダイアログボックスを示す図である。It is a figure which shows the dialog box for the language switching setting displayed by the said character string table preparation part.

符号の説明Explanation of symbols

1 プログラマブル表示器
8 HMI処理部
13 PLC(制御装置)
13a デバイスメモリ(メモリ)
21 エディタコンピュータ
81 文字列表示処理部
82 文字列言語切替部
102 アラーム表示器(表示部)
105 テキストアラーム表示器(表示部)
201 メッセージ表示器(表示部)
DESCRIPTION OF SYMBOLS 1 Programmable display 8 HMI processing part 13 PLC (control apparatus)
13a Device memory (memory)
21 Editor Computer 81 Character String Display Processing Unit 82 Character String Language Switching Unit 102 Alarm Display (Display Unit)
105 Text alarm display (display unit)
201 Message display (display unit)

Claims (7)

制御装置と相互に通信することによって当該制御装置のメモリに格納される特定のデータの状態を取得し、当該特定のデータの状態が指定された状態に変化したときに、当該特定のデータについて登録されている文字列を文字列表示領域を有する表示部に表示するプログラマブル表示器において、
前記文字列が規定された表示量を越えるか否かを判定し、越えないときには前記文字列を固定表示させる一方、越えるときに前記文字列を1行分の前記文字列表示領域にスクロール表示させるスクロール表示制御手段を備えていることを特徴とするプログラマブル表示器。
Acquire the status of specific data stored in the memory of the control device by communicating with the control device, and register the specific data when the status of the specific data changes to the specified status In a programmable display for displaying a character string being displayed on a display unit having a character string display area,
It is determined whether or not the character string exceeds a specified display amount. If not, the character string is fixedly displayed, and if it exceeds, the character string is scroll-displayed in the character string display area for one line. A programmable display comprising scroll display control means.
前記表示量が半角文字数またはバイト数であることを特徴とする請求項1に記載のプログラマブル表示器。   The programmable display device according to claim 1, wherein the display amount is the number of single-byte characters or the number of bytes. 前記特定のデータがアラームの発生の有無を表し、当該アラームには、当該アラームの重要度を表すレベルが予め設定され、当該レベルとスクロール速度とが対応付けられており、
前記スクロール表示制御手段は、前記特定のデータがアラームの発生を示す状態に変化したときに、前記文字列を前記表示部に表示し、当該アラームに設定された前記レベルと前記スクロール速度との対応付けに基づいて、前記スクロール表示制御手段によるスクロール表示のスクロール速度を切り替えることを特徴とする請求項1に記載のプログラマブル表示器。
The specific data represents whether or not an alarm has occurred, a level indicating the importance of the alarm is set in advance for the alarm, and the level and the scroll speed are associated with each other,
The scroll display control means displays the character string on the display unit when the specific data changes to a state indicating the occurrence of an alarm, and associates the level set for the alarm with the scroll speed. The programmable display device according to claim 1, wherein a scroll speed of the scroll display by the scroll display control means is switched based on the attachment.
前記文字列が複数の言語について登録されており、
前記プログラマブル表示器は、前記表示部に表示する文字列の言語を切り替える言語切替手段を備え、
前記スクロール表示制御手段は、前記文字列の言語が切り替えられたときに、前記文字列が前記表示量を越えるか否かを判定することを特徴とする請求項1に記載のプログラマブル表示器。
The character string is registered for a plurality of languages,
The programmable display comprises language switching means for switching the language of the character string displayed on the display unit,
The programmable display device according to claim 1, wherein the scroll display control unit determines whether or not the character string exceeds the display amount when a language of the character string is switched.
制御装置と相互に通信することによって当該制御装置のメモリに格納されるアラームの発生の有無を表す特定のデータの状態を取得し、当該特定のデータの状態がアラームの発生を示す状態に変化したときに、アラームの発生を報知するために当該特定のデータについて登録されている文字列を文字列表示領域を有する表示部に表示するプログラマブル表示器において、
前記文字列を1行分の前記文字列表示領域にスクロール表示させ、前記アラームに予め設定された重要度を表すレベルとスクロール速度との対応付けに基づいて、スクロール表示のスクロール速度を切り替えるスクロール表示制御手段を備えていることを特徴とするプログラマブル表示器。
By communicating with the control device, the state of the specific data indicating the presence or absence of the occurrence of the alarm stored in the memory of the control device is acquired, and the state of the specific data has changed to a state indicating the occurrence of the alarm Sometimes, in a programmable display that displays a character string registered for the specific data in order to notify the occurrence of an alarm on a display unit having a character string display area,
Scroll display that scrolls the character string in the character string display area for one line and switches the scroll speed of the scroll display based on the correspondence between the level indicating the importance set in advance in the alarm and the scroll speed A programmable display comprising control means.
請求項1ないし5のいずれか1項に記載のプログラマブル表示器を実現するコンピュータを前記各手段として機能させるための表示制御プログラム。   The display control program for functioning the computer which implement | achieves the programmable display of any one of Claim 1 thru | or 5 as said each means. 請求項6に記載の表示制御プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the display control program according to claim 6 is recorded.
JP2006346809A 2006-12-22 2006-12-22 Programmable display unit, display control program and recording medium with this program recorded Pending JP2008158813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006346809A JP2008158813A (en) 2006-12-22 2006-12-22 Programmable display unit, display control program and recording medium with this program recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006346809A JP2008158813A (en) 2006-12-22 2006-12-22 Programmable display unit, display control program and recording medium with this program recorded

Publications (1)

Publication Number Publication Date
JP2008158813A true JP2008158813A (en) 2008-07-10

Family

ID=39659646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006346809A Pending JP2008158813A (en) 2006-12-22 2006-12-22 Programmable display unit, display control program and recording medium with this program recorded

Country Status (1)

Country Link
JP (1) JP2008158813A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086457A (en) * 2008-10-02 2010-04-15 Brother Ind Ltd Communication apparatus
JP2010118972A (en) * 2008-11-14 2010-05-27 Brother Ind Ltd Communication equipment and control program
JP5554458B1 (en) * 2013-05-15 2014-07-23 三菱電機株式会社 Programmable display
JP2016066116A (en) * 2014-09-22 2016-04-28 東芝ライテック株式会社 Control system
JPWO2015145689A1 (en) * 2014-03-27 2017-04-13 三菱電機株式会社 PLC monitor system
CN112827046A (en) * 2020-12-31 2021-05-25 北京谊安医疗系统股份有限公司 Interface display system for evaporating pot of anesthesia machine

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086457A (en) * 2008-10-02 2010-04-15 Brother Ind Ltd Communication apparatus
JP4725627B2 (en) * 2008-10-02 2011-07-13 ブラザー工業株式会社 Communication device
US9317618B2 (en) 2008-10-02 2016-04-19 Brother Kogyo Kabushiki Kaisha Communication device and method of displaying content titles
JP2010118972A (en) * 2008-11-14 2010-05-27 Brother Ind Ltd Communication equipment and control program
JP4702434B2 (en) * 2008-11-14 2011-06-15 ブラザー工業株式会社 Communication apparatus and control program
US9092126B2 (en) 2008-11-14 2015-07-28 Brother Kogyo Kabushiki Kaisha Communication apparatus with display section and computer-readable media
JP5554458B1 (en) * 2013-05-15 2014-07-23 三菱電機株式会社 Programmable display
WO2014184897A1 (en) * 2013-05-15 2014-11-20 三菱電機株式会社 Programmable display unit
CN105210141A (en) * 2013-05-15 2015-12-30 三菱电机株式会社 Programmable display unit
JPWO2015145689A1 (en) * 2014-03-27 2017-04-13 三菱電機株式会社 PLC monitor system
JP2016066116A (en) * 2014-09-22 2016-04-28 東芝ライテック株式会社 Control system
CN112827046A (en) * 2020-12-31 2021-05-25 北京谊安医疗系统股份有限公司 Interface display system for evaporating pot of anesthesia machine

Similar Documents

Publication Publication Date Title
JP2008158813A (en) Programmable display unit, display control program and recording medium with this program recorded
JP4554570B2 (en) Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same
JP6708241B2 (en) Equipment maintenance device, equipment maintenance method, equipment maintenance program and recording medium
JP5805612B2 (en) Programmable display, control program and control system
JP4426492B2 (en) Programmable terminal system
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP2014102567A (en) Control system
JP2003140798A (en) Display controller and its program
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP2018132875A (en) Programmable logic control system, programmable logic controller, communication test support device, communication test support method, and computer program executable on the communication test support device
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4892509B2 (en) Monitoring screen creation device
JP2005084862A (en) Computer-readable recording medium recording display device, its customizing method and customize program stored therein
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program
JP4372739B2 (en) PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JPH0973383A (en) Hmi management system and managing method
JP2004178151A (en) Display control device, program, and recording medium to which this program is recorded
JP2006333324A (en) Programmable display unit, control program and recording medium with the program stored
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP2003140797A (en) Display controller and its program
JP2005174131A (en) Programmable display unit, display control program and recording medium where the program is stored, screen-generating device, and screen-generating program and recording medium where the program is stored
JP4970105B2 (en) Editor device and editor program
JP2002268704A (en) Display device and picture preparing device and picture preparating program