JPH08272571A - Display device and program generation device - Google Patents

Display device and program generation device

Info

Publication number
JPH08272571A
JPH08272571A JP7558395A JP7558395A JPH08272571A JP H08272571 A JPH08272571 A JP H08272571A JP 7558395 A JP7558395 A JP 7558395A JP 7558395 A JP7558395 A JP 7558395A JP H08272571 A JPH08272571 A JP H08272571A
Authority
JP
Japan
Prior art keywords
data
display
screen
setting
area
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
JP7558395A
Other languages
Japanese (ja)
Inventor
Toshihiko Asai
利彦 浅井
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP7558395A priority Critical patent/JPH08272571A/en
Publication of JPH08272571A publication Critical patent/JPH08272571A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a display device and a program generation device for display device, which can arrange a data setting area on an arbitrary position on a screen after a data display area is arranged on the screen. CONSTITUTION: Display data consisting of an external address, reception data and a display position is stored in the display data memory 61 of a screen data storage part 60. Frame arrangement information consisting of a frame number and an arrangement position is stored in a frame arrangement memory 62. The display area is displayed on the screen based on display data in the display data memory 61. When one of the frames arranged on the screen is selected, the display area existing in the frame becomes the candidate for setting data. When data is inputted to the display area becoming the candidate of data setting, inputted data and the external address allocated to the display area are transmitted to a programmable controller.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラ等の外部装置に接続可能な表示装置およびその表
示装置の表示プログラムを作成するプログラム作成装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display device connectable to an external device such as a programmable controller and a program creating device for creating a display program for the display device.

【0002】[0002]

【従来の技術】被制御機器をシーケンシャルに制御する
ためにプログラマブルコントローラが用いられている。
また、プログラマブルコントローラのデータ記憶部に記
憶されるデータの状態を表示するために表示装置が用い
られる。この表示装置はデータの状態を表示するだけで
なく、プログラマブルコントローラのデータ記憶部にデ
ータを設定する(書き込む)ためにも用いられる。表示
装置の表示動作は予め画面データとしてプログラム作成
装置により作成された表示プログラムによって制御され
る。
2. Description of the Related Art A programmable controller is used to sequentially control a controlled device.
A display device is also used to display the state of the data stored in the data storage unit of the programmable controller. This display device is used not only for displaying the state of data, but also for setting (writing) data in the data storage section of the programmable controller. The display operation of the display device is controlled by a display program created by the program creating device as screen data in advance.

【0003】図13は従来の表示装置用プログラム作成
装置により作成される表示画面の一例を示す図である。
図において、画面上にプログラマブルコントローラのデ
ータ記憶部から読み込んだデータを表示するための表示
専用エリア30,31,32が配置され、プログラマブ
ルコントローラのデータ記憶部から読み込んだデータを
表示しかつプログラマブルコントローラのデータ記憶部
にデータを設定するための設定表示エリア40,41,
42が配置される。表示専用エリア30,31,32に
はプログラマブルコントローラのデータ記憶部のアドレ
スA0,A1,A2がそれぞれ割り付けられている。ま
た、設定表示エリア40,41,42にはプログラマブ
ルコントローラのデータ記憶部のアドレスA3,A4,
A5がそれぞれ割り付けられ、かつ識別子ID0,ID
1,ID2がそれぞれ付されている。
FIG. 13 is a diagram showing an example of a display screen created by a conventional program creating apparatus for a display device.
In the figure, display-only areas 30, 31, 32 for displaying the data read from the data storage unit of the programmable controller are arranged on the screen to display the data read from the data storage unit of the programmable controller and to display the data read from the data storage unit of the programmable controller. Setting display areas 40, 41 for setting data in the data storage unit,
42 is arranged. Addresses A0, A1, A2 of the data storage section of the programmable controller are assigned to the display-only areas 30, 31, 32, respectively. Further, in the setting display areas 40, 41, 42, addresses A3, A4 of the data storage section of the programmable controller are provided.
A5 is assigned respectively, and the identifiers ID0 and ID
1 and ID2 are attached respectively.

【0004】それにより、表示専用エリア30,31,
32にはデータ記憶部のアドレスA0,A1,A2に記
憶されるデータの状態がそれぞれ表示され、設定表示エ
リア40,41,42にはデータ記憶部のアドレスA
3,A4,A5に記憶されるデータの状態がそれぞれ表
示される。また、識別子ID0,ID1,ID2を用い
て設定表示エリア40,41,42のいずれかを選択す
ることにより、選択された設定表示エリアに入力したデ
ータをプログラマブルコントローラのデータ記憶部の該
当するアドレスに設定することができる。
As a result, the display-only areas 30, 31,
The state of the data stored in the addresses A0, A1, A2 of the data storage unit is displayed in 32, and the address A of the data storage unit is displayed in the setting display areas 40, 41, 42.
The states of the data stored in A3, A4, and A5 are displayed. Further, by selecting one of the setting display areas 40, 41, and 42 using the identifiers ID0, ID1, and ID2, the data input to the selected setting display area is set to the corresponding address of the data storage unit of the programmable controller. Can be set.

【0005】このようにして、図13の例では、「現在
値」についてはデータの表示のみが行なわれ、「目標
値」についてはデータの表示およびデータの設定が可能
となっている。
As described above, in the example of FIG. 13, only the data of the "current value" is displayed, and the data of the "target value" can be displayed and set.

【0006】図14(a)は図13の表示専用エリアに
関する画面データを示し、図14(b)は図13の設定
表示エリアに関する画面データを示す。図14(a)に
示すように、表示専用エリア30,31,32の画面デ
ータはそれぞれ表示専用データDD0,DD1,DD2
からなり、各表示専用データは外部アドレス(プログラ
マブルコントローラのデータ記憶部のアドレス)および
表示位置を含む。一方、図14(b)に示すように、設
定表示エリア40,41,42の画面データはそれぞれ
設定表示データSD0,SD1,SD2からなり、各設
定表示データは外部アドレス、表示位置および識別子を
含む。このような画面データが表示プログラムとして表
示装置に送信され、画面データ記憶部に格納される。
FIG. 14 (a) shows screen data relating to the display-only area shown in FIG. 13, and FIG. 14 (b) shows screen data relating to the setting display area shown in FIG. As shown in FIG. 14A, the screen data in the display-only areas 30, 31, 32 are display-only data DD0, DD1, DD2, respectively.
Each display-only data includes an external address (address of data storage unit of programmable controller) and display position. On the other hand, as shown in FIG. 14B, the screen data in the setting display areas 40, 41, 42 is composed of setting display data SD0, SD1, SD2, and each setting display data includes an external address, a display position and an identifier. . Such screen data is transmitted to the display device as a display program and stored in the screen data storage unit.

【0007】図15は従来の表示装置の画面データ記憶
部の構成を示すブロック図である。図15の画面データ
記憶部90は、表示専用データメモリ91、設定表示デ
ータメモリ92、設定データ一時保持メモリ93および
外部送信データメモリ94を含む。
FIG. 15 is a block diagram showing the configuration of a screen data storage unit of a conventional display device. The screen data storage unit 90 of FIG. 15 includes a display-only data memory 91, a setting display data memory 92, a setting data temporary holding memory 93, and an external transmission data memory 94.

【0008】表示専用データメモリ91には、表示専用
エリアに対応する表示専用データが記憶される。各表示
専用データは、外部アドレス(プログラマブルコントロ
ーラのデータ記憶部のアドレス)、プログラマブルコン
トローラからの受信データ、および表示専用エリアの画
面上の表示位置を含む。表示位置は、図16(a)に示
す表示専用エリアの始点X座標、始点Y座標、終点X座
標および終点Y座標を含む。
The display-only data memory 91 stores display-only data corresponding to the display-only area. Each display-only data includes an external address (address of the data storage unit of the programmable controller), received data from the programmable controller, and a display position on the screen of the display-only area. The display position includes the starting point X coordinate, the starting point Y coordinate, the ending point X coordinate, and the ending point Y coordinate of the display-only area shown in FIG.

【0009】設定表示データメモリ92には、設定表示
エリアに対応する設定表示データが記憶される。設定表
示データは、設定表示エリアに付された識別子、外部ア
ドレス(プログラマブルコントローラのデータ記憶部の
アドレス)、プログラマブルコントローラからの受信デ
ータ、および設定表示エリアの表示位置を含む。表示位
置は、図16(b)に示す始点X座標、始点Y座標、終
点X座標および終点Y座標を含む。
The setting display data memory 92 stores setting display data corresponding to the setting display area. The setting display data includes an identifier attached to the setting display area, an external address (address of the data storage unit of the programmable controller), received data from the programmable controller, and a display position of the setting display area. The display position includes the start point X coordinate, the start point Y coordinate, the end point X coordinate, and the end point Y coordinate shown in FIG.

【0010】設定データ一時保持メモリ93には、設定
表示データメモリ92内の設定表示データのうち選択さ
れた設定表示データに含まれる識別子、外部アドレスお
よび表示位置が記憶され、さらにプログラマブルコント
ローラのデータ記憶部に設定するための設定データが記
憶される。外部送信データメモリ94には、プログラマ
ブルコントローラのデータ記憶部に送信すべき送信デー
タおよび外部アドレス(プログラマブルコントローラの
データ記憶部のアドレス)が記憶される。
The setting data temporary storage memory 93 stores an identifier, an external address and a display position included in the setting display data selected from the setting display data in the setting display data memory 92, and further stores data of the programmable controller. Setting data for setting the copy is stored. The external transmission data memory 94 stores transmission data to be transmitted to the data storage unit of the programmable controller and an external address (address of the data storage unit of the programmable controller).

【0011】図17は従来の表示装置の運転時の表示画
面の一例を示す図である。表示専用エリア30,31,
32には、表示専用データメモリ91内の表示専用デー
タDD0,DD1,DD2に基づいて、プログラマブル
コントローラのデータ記憶部のアドレスA0,A1,A
2からの受信データがそれぞれ表示されている。
FIG. 17 is a diagram showing an example of a display screen when the conventional display device is in operation. Display-only areas 30, 31,
32 includes addresses A0, A1, A of the data storage section of the programmable controller based on the display-only data DD0, DD1, DD2 in the display-only data memory 91.
Received data from No. 2 are displayed respectively.

【0012】一方、設定表示エリア40,41,42に
は、設定表示データメモリ92内の設定表示データSD
0,SD1,SD2に基づいて、プログラマブルコント
ローラのデータ記憶部のアドレスA3,A4,A5から
の受信データがそれぞれ表示されている。
On the other hand, in the setting display areas 40, 41, 42, the setting display data SD in the setting display data memory 92 is displayed.
The received data from the addresses A3, A4, A5 of the data storage unit of the programmable controller are displayed based on 0, SD1, SD2.

【0013】画面上のテンキー70の選択キー71を用
いて設定表示エリア40,41,42のいずれかを選択
状態にすることができる。図17の例では、設定表示エ
リア40が選択状態となっている。選択状態となった設
定表示エリア40にテンキー70の数値キー72を用い
てデータを入力すると、その設定表示エリア40に対応
する設定表示データSD0に含まれる識別子ID0、外
部アドレスA3および表示位置が設定表示データ一時保
持メモリ93に格納されるとともに、設定表示エリア4
0に入力されたデータが設定データとして設定表示デー
タ一時保持メモリ93に格納される。
Any one of the setting display areas 40, 41 and 42 can be selected by using the selection key 71 of the ten key 70 on the screen. In the example of FIG. 17, the setting display area 40 is in the selected state. When data is input to the selected setting display area 40 using the numeric keys 72 of the numeric keypad 70, the identifier ID0, the external address A3 and the display position included in the setting display data SD0 corresponding to the setting display area 40 are set. The display data is temporarily stored in the memory 93, and the setting display area 4
The data input to 0 is stored in the setting display data temporary holding memory 93 as setting data.

【0014】その後、確定キー73を押すと、設定デー
タ一時保持メモリ93内の設定データおよび外部アドレ
スA3が外部送信データメモリ94に転送され、プログ
ラマブルコントローラに送信される。それにより、プロ
グラマブルコントローラのデータ記憶部のアドレスA3
に送信データが書き込まれる。
After that, when the enter key 73 is pressed, the setting data in the setting data temporary holding memory 93 and the external address A3 are transferred to the external transmission data memory 94 and transmitted to the programmable controller. As a result, the address A3 of the data storage unit of the programmable controller is
The transmission data is written in.

【0015】[0015]

【発明が解決しようとする課題】通常、表示画面の作成
時には、画面上のレイアウトを先に決定し、後で各エリ
アの機能を決定または変更することも多い。しかしなが
ら、従来の表示装置用プログラム作成装置においては、
図13に示す表示画面の作成時に、表示専用エリアと設
定表示エリアとを区別して別個に作成しなければならな
いため、画面上に各エリアを配置する前に、各エリアを
表示専用エリアにするか設定表示エリアにするかを決定
しておく必要がある。そのため、画面上に各エリアを配
置した後に、各エリアを表示専用エリアにするか設定表
示エリアにするかを決定するという作業手順をとること
ができない。
Usually, when creating a display screen, the layout on the screen is often determined first, and the function of each area is often determined or changed later. However, in the conventional display device program creation device,
When the display screen shown in FIG. 13 is created, the display-only area and the setting display area must be separately created, and therefore each area should be a display-only area before arranging each area on the screen. It is necessary to decide whether to use the setting display area. Therefore, it is not possible to take the work procedure of deciding whether each area should be a display-only area or a setting display area after arranging each area on the screen.

【0016】一旦画面上に作成した表示専用エリアを設
定表示エリアに変更する場合には、その表示専用エリア
を削除した後に設定表示エリアを新たに作成しなければ
ならない。
When changing the display-only area once created on the screen to the setting display area, the setting display area must be newly created after deleting the display-only area.

【0017】このように、表示画面の作成手順における
柔軟性および融通性が少なく、表示プログラムの作成の
ための労力が大きくかつ時間がかかるという問題があっ
た。本発明の目的は、画面上にデータ表示領域を配置し
た後に、画面上の任意の位置にデータ設定領域を配置す
ることができる表示装置およびそのプログラム作成装置
を提供することである。
As described above, there is a problem that flexibility and flexibility in the procedure for creating the display screen are small, and the labor and time for creating the display program are large. It is an object of the present invention to provide a display device and a program creation device thereof, which can arrange a data setting region on a screen and then arrange a data setting region on the screen.

【0018】[0018]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 第1の発明 第1の発明に係る表示装置は、外部装置のデータ記憶部
に記憶されるデータを画面に表示するとともにデータ記
憶部にデータを設定する機能を有する表示装置であっ
て、受信手段、第1の記憶手段、表示手段、第2の記憶
手段、選択手段、データ入力手段、検出手段および送信
手段を備える。
(1) First Invention A display device according to a first invention is a display device having a function of displaying data stored in a data storage unit of an external device on a screen and setting the data in the data storage unit. , Reception means, first storage means, display means, second storage means, selection means, data input means, detection means and transmission means.

【0019】受信手段は、外部装置のデータ記憶部から
読み出されたデータを表示データとして受信する。第1
の記憶手段は、受信手段により受信された表示データ、
その表示データが記憶されるデータ記憶部内の記憶位置
およびその表示データを表示すべき画面上のデータ表示
領域を表示情報として記憶する。表示手段は、第1の記
憶手段に記憶される表示情報に基づいて、第1の記憶手
段に記憶される表示データを該当する画面上のデータ表
示領域に表示する。
The receiving means receives the data read from the data storage section of the external device as display data. First
The storage means of the display data received by the receiving means,
A storage position in the data storage unit where the display data is stored and a data display area on the screen where the display data is to be displayed are stored as display information. The display means displays the display data stored in the first storage means in a data display area on the corresponding screen based on the display information stored in the first storage means.

【0020】第2の記憶手段は、データの設定のために
画面上に配置されたデータ設定領域を設定情報として記
憶する。選択手段は、画面上に配置されたデータ設定領
域のいずれかを選択する。データ入力手段は、選択手段
により選択されたデータ設定領域にデータを入力する。
検出手段は、第1の記憶手段に記憶された表示情報およ
び第2の記憶手段に記憶された設定情報に基づいて、選
択手段により選択されたデータ設定領域内に表示される
表示データのデータ記憶部内の記憶位置を検出する。送
信手段は、データ入力手段により入力されたデータを設
定データとして検出手段により検出された記憶位置とと
もに外部装置に送信する。
The second storage means stores a data setting area arranged on the screen for setting data as setting information. The selection means selects one of the data setting areas arranged on the screen. The data input means inputs data to the data setting area selected by the selection means.
The detection means stores data of display data displayed in the data setting area selected by the selection means based on the display information stored in the first storage means and the setting information stored in the second storage means. Detects the storage location in the department. The transmission means transmits the data input by the data input means to the external device as the setting data together with the storage position detected by the detection means.

【0021】(2) 第2の発明 第2の発明に係る表示装置は、第1の発明に係る表示装
置の構成において、データ表示領域が1または複数の第
1の画面上に配置され、データ設定領域が第2の画面上
に配置され、表示手段が、通常は第1の画面のいずれか
を表示し、データの設定時に第1の画面のいずれかに重
ねて第2の画面を表示するものである。
(2) Second Invention A display device according to a second invention is the display device according to the first invention, wherein a data display area is arranged on one or a plurality of first screens, and a data display area is provided. The setting area is arranged on the second screen, and the display means normally displays any one of the first screens, and displays the second screen over any one of the first screens when setting the data. It is a thing.

【0022】(3) 第3の発明 第3の発明に係るプログラム作成装置は、外部装置のデ
ータ記憶部に記憶されるデータを画面に表示するととも
にデータ記憶部内にデータを設定する機能を有する表示
装置のための表示プログラムを作成するプログラム作成
装置であって、表示領域配置手段、設定領域配置手段お
よびプログラム記憶手段を備える。
(3) Third Invention A program creating apparatus according to a third invention is a display having a function of displaying data stored in a data storage section of an external device on a screen and setting the data in the data storage section. A program creating device for creating a display program for the device, comprising a display area arranging means, a setting area arranging means, and a program storing means.

【0023】表示領域配置手段は、画面上にデータの表
示のためのデータ表示領域を配置するとともに、配置さ
れたデータ表示領域に外部装置のデータ記憶部内の記憶
位置を割り付ける。設定領域配置手段は、画面上にデー
タの設定のためのデータ設定領域を配置する。プログラ
ム記憶手段は、表示領域配置手段により配置されたデー
タ表示領域およびそのデータ表示領域に割り付けられた
記憶位置に関する情報および設定領域配置手段により配
置されたデータ設定領域に関する情報を表示プログラム
として記憶する。
The display area arranging means arranges a data display area for displaying data on the screen and allocates a storage position in the data storage section of the external device to the arranged data display area. The setting area arrangement means arranges a data setting area for setting data on the screen. The program storage means stores, as a display program, information regarding the data display area arranged by the display area arranging means, the storage position allocated to the data display area, and the information regarding the data setting area arranged by the setting area arranging means.

【0024】(4) 第4の発明 第4の発明に係るプログラム作成装置は、第3の発明に
係るプログラム作成装置の構成において、表示領域配置
手段がデータ表示領域を1または複数の第1の画面上に
配置し、設定領域配置手段がデータ設定領域を第2の画
面上に配置するものである。
(4) Fourth Invention In the program creating apparatus according to the fourth invention, in the configuration of the program creating apparatus according to the third invention, the display area arranging means has one or a plurality of data display areas. The data is arranged on the screen, and the setting area arrangement means arranges the data setting area on the second screen.

【0025】[0025]

【作用】第1および第2の発明に係る表示装置において
は、第1の記憶手段に、受信手段により受信された表示
データ、その表示データが記憶される外部装置のデータ
記憶部内の記憶位置およびその表示データを表示すべき
画面上のデータ表示領域が表示情報として記憶される。
第1の記憶手段に記憶される表示データは、画面上の該
当するデータ表示領域に表示される。一方、第2の記憶
手段には、画面上に配置されたデータ設定領域が設定情
報として記憶される。
In the display device according to the first and second aspects of the invention, the first storage means stores the display data received by the receiving means, the storage position in the data storage section of the external device in which the display data is stored, and A data display area on the screen where the display data should be displayed is stored as display information.
The display data stored in the first storage means is displayed in the corresponding data display area on the screen. On the other hand, in the second storage means, the data setting area arranged on the screen is stored as setting information.

【0026】選択手段によって画面上に配置されたデー
タ設定領域のいずれかを選択すると、そのデータ設定領
域内に表示される表示データのデータ記憶部内の記憶位
置が検出される。選択されたデータ設定領域にデータ入
力手段によってデータを入力すると、入力されたデータ
が検出された記憶位置とともに外部装置に送信され、デ
ータ記憶部内の記憶位置に書き込まれる。
When any one of the data setting areas arranged on the screen is selected by the selecting means, the storage position in the data storage section of the display data displayed in the data setting area is detected. When data is input to the selected data setting area by the data input means, the input data is transmitted to the external device together with the detected storage position and written in the storage position in the data storage unit.

【0027】このように、本発明に係る表示装置におい
ては、データ表示領域とは独立に画面上の任意の位置に
データ設定領域が配置され、データ設定領域内にデータ
表示領域が存在する場合に、そのデータ表示領域を介し
て外部装置のデータ記憶部にデータを設定することがで
きる。したがって、表示画面の作成時に、画面上にデー
タ表示領域を配置した後に、画面上の任意の位置に存在
するデータ表示領域をデータ表示およびデータ設定のた
めの領域に変更することが可能となる。
As described above, in the display device according to the present invention, when the data setting area is arranged at an arbitrary position on the screen independently of the data display area and the data display area exists in the data setting area. Data can be set in the data storage unit of the external device via the data display area. Therefore, at the time of creating the display screen, after arranging the data display area on the screen, the data display area existing at an arbitrary position on the screen can be changed to an area for data display and data setting.

【0028】特に、第2の発明に係る表示装置において
は、データ表示領域が1または複数の第1の画面上に配
置され、データ設定領域が第2の画面上に配置される。
通常は第1の画面のいずれかが表示され、データの設定
時に第1の画面のいずれかに重ねて第2の画面が表示さ
れる。これにより、データ設定領域を複数の画面上に表
示されるデータ表示領域に共通に用いることができる。
Particularly, in the display device according to the second invention, the data display area is arranged on one or a plurality of first screens, and the data setting area is arranged on the second screen.
Normally, one of the first screens is displayed, and when setting the data, the second screen is displayed so as to overlap with any one of the first screens. Accordingly, the data setting area can be commonly used for the data display areas displayed on a plurality of screens.

【0029】第3および第4の発明に係るプログラム作
成装置においては、表示領域配置手段により、画面上に
データの表示のためのデータ表示領域が配置され、配置
されたデータ表示領域に外部装置のデータ記憶部内の記
憶位置が割り付けられる。また、設定領域配置手段によ
り、画面上にデータの設定のためのデータ設定領域が配
置される。表示領域配置手段により配置されたデータ表
示領域およびそのデータ表示領域に割り付けられた記憶
位置に関する情報および設定領域配置手段により配置さ
れた設定領域に関する情報がプログラム記憶手段に表示
プログラムとして記憶される。
In the program creating apparatus according to the third and fourth aspects of the invention, the display area arranging means arranges the data display area for displaying the data on the screen, and the arranged data display area is provided with an external device. Storage locations within the data storage are allocated. Further, the setting area arranging means arranges a data setting area for setting data on the screen. The information about the data display area arranged by the display area arranging means, the information about the storage position allocated to the data display area and the information about the setting area arranged by the setting area arranging means are stored as a display program in the program storing means.

【0030】本発明に係るプログラム作成装置によれ
ば、画面上に配置されたデータ表示領域に関わらず、画
面上の任意の位置にデータ設定領域を配置することがで
きるので、画面上にデータ表示領域を配置した後に、画
面上の任意の位置に存在するデータ表示領域をデータ表
示およびデータ設定のための領域に変更することが可能
となる。
According to the program creating device of the present invention, the data setting area can be arranged at an arbitrary position on the screen regardless of the data display area arranged on the screen. After arranging the areas, it becomes possible to change the data display area existing at an arbitrary position on the screen to an area for data display and data setting.

【0031】特に、第4の発明に係るプログラム作成装
置においては、データ表示領域が1または複数の第1の
画面上に配置され、データ設定領域が第2の画面上に配
置される。これにより、データ設定領域を複数の画面上
に配置されたデータ表示領域に共通に用いることができ
る。
Particularly, in the program creating device according to the fourth aspect of the present invention, the data display area is arranged on one or a plurality of first screens, and the data setting area is arranged on the second screen. Accordingly, the data setting area can be commonly used for the data display areas arranged on a plurality of screens.

【0032】[0032]

【実施例】以下、本発明の実施例を図面を参照しながら
詳細に説明する。図1は本発明の一実施例における表示
装置およびプログラマブルコントローラの構成を示すブ
ロック図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configurations of a display device and a programmable controller according to an embodiment of the present invention.

【0033】表示装置100は、通信制御部110、表
示パネル120、表示制御部130、スイッチパネル1
40、スイッチパネル制御部150、メモリ部160お
よびCPU(中央演算処理装置)170を含む。
The display device 100 includes a communication control section 110, a display panel 120, a display control section 130, and a switch panel 1.
40, a switch panel control unit 150, a memory unit 160, and a CPU (central processing unit) 170.

【0034】通信制御部110は、プログラマブルコン
トローラ200等の外部装置との通信を制御する。表示
パネル120は、外部装置から受信したデータの状態や
図形および文字を表示する。表示制御部130は、CP
U170からの指令に従って表示パネル120の表示動
作を制御する。スイッチパネル140は、表示パネル1
20に重ねて設けられる透明スイッチパネルからなり、
外部装置のデータ記憶部に記憶されるデータの変更また
は表示パネル120の表示状態の変更のための入力手段
として用いられる。スイッチパネル制御部150は、C
PU170からの指令に従ってスイッチパネル140の
動作を制御する。
The communication controller 110 controls communication with external devices such as the programmable controller 200. The display panel 120 displays the state of data received from an external device, a figure, and a character. The display control unit 130 uses the CP
The display operation of the display panel 120 is controlled according to the instruction from U170. The switch panel 140 is the display panel 1
It consists of 20 transparent switch panels
It is used as an input unit for changing the data stored in the data storage unit of the external device or changing the display state of the display panel 120. The switch panel control unit 150 is C
The operation of the switch panel 140 is controlled according to a command from the PU 170.

【0035】メモリ部160は、表示装置用プログラム
作成装置により作成された画面データ(表示プログラ
ム)を記憶する画面データ記憶部と、通信制御部11
0、表示制御部130およびスイッチパネル制御部15
0の動作を制御する制御プログラムを記憶する制御プロ
グラム記憶部と、作業用記憶部とを含む。CPU170
は、メモリ部160の制御プログラム記憶部に記憶され
る制御プログラムを実行し、画面データ記憶部に記憶さ
れる画面データに従って通信制御部110、表示制御部
130およびスイッチパネル制御部150に各種指令を
与える。
The memory section 160 has a screen data storage section for storing screen data (display program) created by the display program creating apparatus, and the communication control section 11.
0, display control unit 130 and switch panel control unit 15
It includes a control program storage unit that stores a control program that controls the 0 operation, and a work storage unit. CPU170
Executes the control program stored in the control program storage unit of the memory unit 160, and sends various commands to the communication control unit 110, the display control unit 130, and the switch panel control unit 150 according to the screen data stored in the screen data storage unit. give.

【0036】本実施例では、通信制御部110が受信手
段および送信手段を構成し、メモリ部160内の画面デ
ータ記憶部が第1の記憶手段および第2の記憶手段を構
成し、表示パネル120および表示制御部130が表示
手段を構成する。また、スイッチパネル140およびス
イッチパネル制御部150が選択手段およびデータ入力
手段を構成し、CPU170が検出手段を構成する。
In this embodiment, the communication control unit 110 constitutes a receiving unit and a transmitting unit, the screen data storage unit in the memory unit 160 constitutes a first storing unit and a second storing unit, and the display panel 120. The display control unit 130 constitutes a display means. Further, the switch panel 140 and the switch panel control unit 150 constitute a selection unit and a data input unit, and the CPU 170 constitutes a detection unit.

【0037】一方、プログラマブルコントローラ200
は、通信制御部210、データ記憶部220、プログラ
ム保存部230およびプログラム実行部240を含む。
このプログラマブルコントローラ200には、スイッ
チ、センサ等の入力機器(図示せず)および電磁開閉
器、リレー、ソレノイド、モータ等の出力機器(図示せ
ず)が接続される。
On the other hand, the programmable controller 200
Includes a communication control unit 210, a data storage unit 220, a program storage unit 230, and a program execution unit 240.
Input devices (not shown) such as switches and sensors and output devices (not shown) such as electromagnetic switches, relays, solenoids and motors are connected to the programmable controller 200.

【0038】通信制御部210は、表示装置100等の
外部装置との通信を制御する。プログラム保存部230
には、プログラマブルコントローラ用プログラム作成装
置により作成された制御プログラムが保存される。プロ
グラム実行部240は、プログラム保存部230に保存
された制御プログラムを実行する。データ記憶部220
には、デバイス情報等のデータが記憶される。ここで、
デバイス情報とは、入力機器からの入力状態、出力機器
への出力状態および制御プログラム上で設定される内部
リレー(入力リレー、出力リレーおよび補助リレー)、
タイマー、カウンタ、データメモリ等の状態を示す情報
である。
The communication controller 210 controls communication with an external device such as the display device 100. Program storage unit 230
The control program created by the programmable controller program creation device is stored in. The program execution unit 240 executes the control program stored in the program storage unit 230. Data storage unit 220
Stores data such as device information. here,
Device information is the input state from the input device, the output state to the output device, and the internal relay (input relay, output relay and auxiliary relay) set on the control program,
This is information indicating the states of the timer, counter, data memory, and the like.

【0039】図2は表示装置用プログラム作成装置の構
成を示すブロック図である。表示装置用プログラム作成
装置300は、通信制御部310、表示部320、入力
部330、画面データ作成部340および画面データ保
存部350を含む。
FIG. 2 is a block diagram showing the configuration of the display device program creating apparatus. The display device program creation device 300 includes a communication control unit 310, a display unit 320, an input unit 330, a screen data creation unit 340, and a screen data storage unit 350.

【0040】通信制御部310は、表示装置100等の
外部装置との通信を制御する。入力部330は、表示画
面の作成時に各種データおよび指令を入力するために用
いられる。表示部320は、入力部330により作成お
よび編集される表示画面を表示する。画面データ作成部
340は、入力部330による入力に基づいて画面デー
タを作成する。画面データ保存部350は、画面データ
作成部340により作成された画面データを保存する。
画面データ保存部350に保存された画面データは、通
信制御部310を介して表示装置100に送信される。
The communication control section 310 controls communication with an external device such as the display device 100. The input unit 330 is used to input various data and commands when creating a display screen. The display unit 320 displays a display screen created and edited by the input unit 330. The screen data creation unit 340 creates screen data based on the input from the input unit 330. The screen data storage unit 350 stores the screen data created by the screen data creation unit 340.
The screen data stored in the screen data storage unit 350 is transmitted to the display device 100 via the communication control unit 310.

【0041】本実施例では、画面データ作成部340が
表示領域配置手段および設定領域配置手段を構成し、画
面データ保存部350がプログラム記憶手段を構成す
る。図3は図2の表示装置用プログラム作成装置300
により作成される表示画面の一例を示す図である。図3
を参照しながら表示装置用プログラム作成装置300に
よる表示画面の作成方法を説明する。
In the present embodiment, the screen data creating section 340 constitutes the display area arranging means and the setting area arranging means, and the screen data storing section 350 constitutes the program storing means. FIG. 3 is a program creation device 300 for the display device of FIG.
It is a figure which shows an example of the display screen created by. FIG.
A method of creating a display screen by the display device program creating apparatus 300 will be described with reference to FIG.

【0042】まず、図3(a)に示すように、画面上に
プログラマブルコントローラ200のデータ記憶部22
0から読み込んだデータを表示するための表示エリア1
0,11,12,13,14,15を配置し、表示エリ
ア10〜15にそれぞれ外部アドレス(データ記憶部の
アドレス)A0,A1,A2,A3,A4,A5を割り
付ける。本実施例では、表示エリアがデータ表示領域に
相当する。
First, as shown in FIG. 3A, the data storage section 22 of the programmable controller 200 is displayed on the screen.
Display area 1 for displaying data read from 0
0, 11, 12, 13, 14, 15 are arranged, and external addresses (addresses of the data storage section) A0, A1, A2, A3, A4, A5 are assigned to the display areas 10 to 15, respectively. In this embodiment, the display area corresponds to the data display area.

【0043】次に、図3(b)に示すように、画面上の
所定の位置に「現在値」、「目標値」、「A」、「B」
および「C」等の文字を記述し、画面上の所望の位置に
プログラマブルコントローラ200のデータ記憶部22
0にデータを設定するための機能コード受信フレーム
(以下、フレームと呼ぶ)20,21,22を配置す
る。このフレームは、表示エリアの有無に関わらず画面
上の任意の位置に配置することができる。図3(b)の
例では、表示エリア13,14,15上にフレーム2
0,21,22が配置されている。ここで、フレーム2
0,21,22のフレーム番号をそれぞれf0,f1,
f2とする。本実施例では、フレームがデータ設定領域
に相当する。
Next, as shown in FIG. 3B, "current value", "target value", "A" and "B" are displayed at predetermined positions on the screen.
And characters such as “C” are described, and the data storage unit 22 of the programmable controller 200 is placed at a desired position on the screen.
Function code reception frames (hereinafter referred to as frames) 20, 21 and 22 for setting data to 0 are arranged. This frame can be arranged at any position on the screen regardless of the presence or absence of the display area. In the example of FIG. 3B, the frame 2 is displayed on the display areas 13, 14 and 15.
0, 21, 22 are arranged. Where frame 2
The frame numbers of 0, 21, 22 are f0, f1, respectively.
f2. In this embodiment, the frame corresponds to the data setting area.

【0044】これにより、表示エリア10〜15には、
プログラマブルコントローラ200のデータ記憶部22
0のアドレスA0〜A5に記憶されるデータの状態がそ
れぞれ表示される。また、フレーム20,21,22の
いずれかを選択することにより、選択されたフレーム上
に位置する表示エリアにデータを入力することができ、
入力されたデータをプログラマブルコントローラ200
のデータ記憶部220の該当するアドレスに設定するこ
とができる。
As a result, in the display areas 10 to 15,
Data storage unit 22 of programmable controller 200
The states of the data stored in the addresses 0 to A5 of 0 are displayed. Further, by selecting one of the frames 20, 21, 22 it is possible to input data to the display area located on the selected frame,
Programmable controller 200 for input data
It can be set to a corresponding address of the data storage unit 220.

【0045】図4(a)は図3の表示エリアに関する画
面データを示し、図4(b)は図3のフレームに関する
画面データを示す。図4(a)に示すように、表示エリ
ア10〜15の画面データはそれぞれ表示データD0〜
D5からなり、各表示データは外部アドレスおよび表示
位置を含む。また、図4(b)に示すように、フレーム
20,21,22の画面データはそれぞれフレーム配置
情報F0,F1,F2からなり、各フレーム配置情報は
フレーム番号および配置位置を含む。このような画面デ
ータが表示プログラムとして図1の表示装置100に送
信され、メモリ部160内の画面データ記憶部に格納さ
れる。
FIG. 4A shows screen data concerning the display area of FIG. 3, and FIG. 4B shows screen data concerning the frame of FIG. As shown in FIG. 4A, the screen data of the display areas 10 to 15 are the display data D0 to D0, respectively.
Each display data includes an external address and a display position. Further, as shown in FIG. 4B, the screen data of the frames 20, 21 and 22 is composed of frame arrangement information F0, F1 and F2, respectively, and each frame arrangement information includes a frame number and an arrangement position. Such screen data is transmitted to the display device 100 of FIG. 1 as a display program and stored in the screen data storage unit in the memory unit 160.

【0046】図5は表示装置100の画面データ記憶部
の構成を示すブロック図である。図5の画面データ記憶
部60は、表示データメモリ61、フレーム配置メモリ
62、画面表示状態保持メモリ63、設定データ一時保
持メモリ64および外部送信データメモリ65を含む。
FIG. 5 is a block diagram showing the configuration of the screen data storage unit of the display device 100. The screen data storage unit 60 of FIG. 5 includes a display data memory 61, a frame layout memory 62, a screen display state holding memory 63, a setting data temporary holding memory 64, and an external transmission data memory 65.

【0047】表示データメモリ61には、表示エリアに
対応する表示データが記憶される。各表示データは、外
部アドレス、プログラマブルコントローラ200からの
受信データおよび表示エリアの画面上の表示位置を含
む。表示位置は、図6(a)に示す表示エリアの始点X
座標、始点Y座標、終点X座標および終点Y座標を含
む。
The display data memory 61 stores display data corresponding to the display area. Each display data includes the external address, the received data from the programmable controller 200, and the display position of the display area on the screen. The display position is the start point X of the display area shown in FIG.
Includes coordinates, starting point Y coordinates, ending point X coordinates, and ending point Y coordinates.

【0048】フレーム配置メモリ62には、フレームに
対応するフレーム配置情報が記憶される。各フレーム配
置情報は、フレームのフレーム番号およびフレームの画
面上の配置位置を含む。配置位置は、図6(b)に示す
フレームの始点X座標、始点Y座標、終点X座標および
終点Y座標を含む。
The frame arrangement memory 62 stores the frame arrangement information corresponding to the frame. Each frame arrangement information includes the frame number of the frame and the arrangement position of the frame on the screen. The arrangement position includes the starting point X coordinate, the starting point Y coordinate, the ending point X coordinate, and the ending point Y coordinate of the frame shown in FIG. 6B.

【0049】画面表示状態保持メモリ63には、後述す
る表示モード、アクティブモードおよび設定入力モード
の区別が記憶される。表示モード時には「0」が格納さ
れ、アクティブモード時には「1」が格納され、設定入
力モード時には「2」が格納される。
The screen display state holding memory 63 stores a display mode, an active mode, and a setting input mode, which will be described later. “0” is stored in the display mode, “1” is stored in the active mode, and “2” is stored in the setting input mode.

【0050】設定データ一時保持メモリ64には、画面
上に設定されたフレームのうち選択されたフレームに関
するフレーム番号および配置位置が格納されるととも
に、選択されたフレームの配置位置内に存在する表示エ
リアに関する外部アドレスおよび表示位置が格納され、
さらにプログラマブルコントローラ200のデータ記憶
部220に設定するための設定データが格納される。
The setting data temporary holding memory 64 stores the frame number and the arrangement position of the selected frame among the frames set on the screen, and the display area existing within the arrangement position of the selected frame. External address and display position for
Further, setting data for setting is stored in the data storage unit 220 of the programmable controller 200.

【0051】外部送信データメモリ65には、プログラ
マブルコントローラ200のデータ記憶部220に送信
すべき送信データおよび外部アドレスが記憶される。図
7は本実施例の表示装置100の運転時の表示画面の一
例を示す図である。図7(a)は表示モード時の表示画
面を示し、図7(b)はアクティブモード時の表示画面
を示し、図7(c)は設定入力モード時の表示画面を示
す。
The external transmission data memory 65 stores the transmission data and the external address to be transmitted to the data storage section 220 of the programmable controller 200. FIG. 7 is a diagram showing an example of a display screen when the display device 100 of the present embodiment is in operation. 7A shows the display screen in the display mode, FIG. 7B shows the display screen in the active mode, and FIG. 7C shows the display screen in the setting input mode.

【0052】ここで、表示モードとは、いずれの表示エ
リアもデータ設定の候補になっていない状態をいう。ア
クティブモードとは、いずれかの表示エリアがデータ設
定の候補になっている状態をいう。設定入力モードと
は、データ設定の候補になっている表示エリアに設定デ
ータを入力している状態をいう。
Here, the display mode means a state in which none of the display areas are candidates for data setting. The active mode refers to a state in which any display area is a candidate for data setting. The setting input mode is a state in which setting data is being input to the display area that is a candidate for data setting.

【0053】図7(a)に示すように、表示モード時に
は、表示エリア10〜15には、表示データメモリ61
内の表示データD0〜D5に基づいて、プログラマブル
コントローラ200のデータ記憶部220のアドレスA
0〜A5からの受信データがそれぞれ表示されている。
また、画面上の所定の位置にテンキー70が表示されて
いる。
As shown in FIG. 7A, in the display mode, the display data memory 61 is displayed in the display areas 10 to 15.
Based on the display data D0 to D5 in the address A of the data storage unit 220 of the programmable controller 200.
Received data from 0 to A5 are displayed respectively.
Further, the ten key 70 is displayed at a predetermined position on the screen.

【0054】図7(b)に示すように、アクティブモー
ド時には、画面上のテンキー70の選択キー71を用い
て画面上に設定されたフレームのいずれかを選択状態に
することができる。なお、フレームは画面上には表示さ
れない。選択状態になったフレーム内に存在する表示エ
リアには選択マーク80が表示される。図7(b)の例
では、表示エリア13上のフレームが選択状態となって
いる。これにより、表示エリア13がデータ設定の候補
となる。
As shown in FIG. 7B, in the active mode, one of the frames set on the screen can be brought into a selected state by using the selection key 71 of the ten key 70 on the screen. The frame is not displayed on the screen. A selection mark 80 is displayed in the display area existing in the selected frame. In the example of FIG. 7B, the frame on the display area 13 is in the selected state. As a result, the display area 13 becomes a candidate for data setting.

【0055】図7(c)に示すように、設定入力モード
時には、テンキー70の数値キー72を用いてデータ設
定の候補となった表示エリアに設定データを入力するこ
とができる。図7(c)の例では、表示エリア13に設
定データを入力することができる。
As shown in FIG. 7C, in the setting input mode, the setting data can be input to the display area which is a candidate for data setting by using the numerical keys 72 of the ten-key pad 70. In the example of FIG. 7C, setting data can be input to the display area 13.

【0056】次に、図8〜図11のフローチャートを参
照しながら図1の表示装置100の動作を説明する。図
8は表示装置100の表示処理を示すフローチャートで
ある。図9は表示処理における表示モード処理を示すフ
ローチャート、図10は表示処理におけるアクティブモ
ード処理を示すフローチャート、図11は表示処理にお
ける設定入力モード処理を示すフローチャートである。
Next, the operation of the display device 100 of FIG. 1 will be described with reference to the flow charts of FIGS. FIG. 8 is a flowchart showing a display process of the display device 100. 9 is a flowchart showing a display mode process in the display process, FIG. 10 is a flowchart showing an active mode process in the display process, and FIG. 11 is a flowchart showing a setting input mode process in the display process.

【0057】まず、プログラマブルコントローラ200
からの受信データを表示データメモリ61に読み込む
(図8のステップS1)。そして、画面表示状態保持メ
モり63の記憶内容を判別する(ステップS2)。画面
表示状態保持メモリ63の記憶内容が「0」(表示モー
ド)を示している場合には、図9に示す表示モード処理
を行い(ステップS3)、表示データメモリ61の内容
を表示する(ステップS4)。
First, the programmable controller 200
The received data from is read into the display data memory 61 (step S1 in FIG. 8). Then, the stored content of the screen display state holding memory 63 is determined (step S2). When the stored content of the screen display state holding memory 63 indicates "0" (display mode), the display mode process shown in FIG. 9 is performed (step S3), and the content of the display data memory 61 is displayed (step S3). S4).

【0058】画面表示状態保持メモリ63の記憶内容が
「1」(アクティブモード)を示している場合には、図
10に示すアクティブモード処理を行い(ステップS
5)、設定データ一時保持メモリ64に格納される表示
位置に選択マーク80を表示する(ステップS6)。そ
して、表示データメモリ61の内容を表示する(ステッ
プS7)。
When the content stored in the screen display state holding memory 63 indicates "1" (active mode), the active mode processing shown in FIG. 10 is performed (step S
5) The selection mark 80 is displayed at the display position stored in the setting data temporary storage memory 64 (step S6). Then, the contents of the display data memory 61 are displayed (step S7).

【0059】画面表示状態保持メモリ63の記憶内容が
「2」(設定入力モード)を示している場合には、図1
1に示す設定入力モード処理を行い(ステップS7)、
設定データ一時保持メモリ64に格納される設定データ
を表示するとともに(ステップS8)、設定データ一時
保持メモリ64に格納された設定データを除いて表示デ
ータメモリ61の内容を表示する(ステップS9)。
When the stored content of the screen display state holding memory 63 indicates "2" (setting input mode),
The setting input mode process shown in 1 is performed (step S7),
The setting data stored in the setting data temporary holding memory 64 is displayed (step S8), and the contents of the display data memory 61 are displayed except for the setting data stored in the setting data temporary holding memory 64 (step S9).

【0060】次に、図9を参照して表示モード処理を説
明する。テンキー70によるキー入力があり(ステップ
S31)、選択キー71が押された場合には(ステップ
S32)、設定データ一時保持メモリ64に選択フレー
ム番号として初期値f0を書き込む(ステップS3
3)。そして、選択フレーム番号に対応するフレームの
配置位置内に存在する表示データを表示データメモリ6
1から探索し(ステップS34)、探索された表示デー
タを設定データ一時保持メモリ64に格納する(ステッ
プS35)。画面表示状態保持メモリ63に「1」(ア
クティブモード)を格納し(ステップS36)、図8の
ステップS4に進む。
Next, the display mode processing will be described with reference to FIG. When there is a key input by the ten keys 70 (step S31) and the selection key 71 is pressed (step S32), the initial value f0 is written as the selected frame number in the setting data temporary holding memory 64 (step S3).
3). Then, the display data existing in the arrangement position of the frame corresponding to the selected frame number is displayed in the display data memory 6
The search is performed from 1 (step S34), and the searched display data is stored in the setting data temporary storage memory 64 (step S35). "1" (active mode) is stored in the screen display state holding memory 63 (step S36), and the process proceeds to step S4 in FIG.

【0061】次に、図10を参照してアクティブモード
処理を説明する。テンキー70によるキー入力があり
(ステップS51)、選択キー71が押された場合には
(ステップS52)、設定データ一時保持メモリ64に
格納された選択フレーム番号を1増加(または1減少)
させ(ステップS53)、選択フレーム番号に対応する
フレームの配置位置に存在する表示データを表示データ
メモリ61から探索する(ステップS54)。そして、
表示データメモリ61から探索された表示データを設定
データ一時保持メモリ64に格納し(ステップS5
5)、図8のステップS6に進む。
Next, the active mode processing will be described with reference to FIG. When there is a key input from the ten keys 70 (step S51) and the selection key 71 is pressed (step S52), the selected frame number stored in the setting data temporary holding memory 64 is incremented by 1 (or decremented by 1).
Then, the display data memory 61 is searched for the display data existing at the arrangement position of the frame corresponding to the selected frame number (step S53) (step S54). And
The display data retrieved from the display data memory 61 is stored in the setting data temporary storage memory 64 (step S5
5), and proceeds to step S6 in FIG.

【0062】テンキー70の数値キー72が押された場
合には(ステップS56)、設定データ一時保持メモリ
64に格納された設定データを数値キー72の入力によ
り更新する(ステップS57)。そして、画面表示状態
保持メモリ63に「2」(設定入力モード)を格納し
(ステップS58)、図8のステップS6に進む。
When the numerical key 72 of the numeric keypad 70 is pressed (step S56), the setting data stored in the temporary setting data holding memory 64 is updated by inputting the numerical key 72 (step S57). Then, "2" (setting input mode) is stored in the screen display state holding memory 63 (step S58), and the process proceeds to step S6 in FIG.

【0063】テンキー70のエスケープキー(図示せ
ず)が押された場合には(ステップS59)、画面表示
状態保持メモリ63に「0」(表示モード)を格納し
(ステップS60)、図8のステップS6に進む。
When the escape key (not shown) of the ten-key pad 70 is pressed (step S59), "0" (display mode) is stored in the screen display state holding memory 63 (step S60), and as shown in FIG. Go to step S6.

【0064】次に、図11を参照して設定入力モード処
理を説明する。テンキー70によるキー入力があり(ス
テップS71)、選択キー71が押された場合には(ス
テップS72)、設定データ一時保持メモリ64内の選
択フレーム番号を1増加(または1減少)させ(ステッ
プS73)、選択フレーム番号に対応するフレームの配
置位置に存在する表示データを表示データメモリ61か
ら探索する(ステップS74)。そして、表示データメ
モリ61から探索された表示データを設定データ一時保
持メモリ64に格納し(ステップS75)、画面表示状
態保持メモリ63に「1」(アクティブモード)を格納
し(ステップS76)、図8のステップS8に進む。
Next, the setting input mode process will be described with reference to FIG. When there is a key input from the ten keys 70 (step S71) and the selection key 71 is pressed (step S72), the selected frame number in the setting data temporary storage memory 64 is incremented (or decremented by 1) (step S73). ), The display data memory 61 is searched for the display data existing at the arrangement position of the frame corresponding to the selected frame number (step S74). Then, the display data searched from the display data memory 61 is stored in the setting data temporary holding memory 64 (step S75), and "1" (active mode) is stored in the screen display state holding memory 63 (step S76). 8 to step S8.

【0065】テンキー70の数値キー72が押された場
合には(ステップS77)、設定データ一時保持メモリ
64内の設定データを数値キー72の入力により更新し
(ステップS78)、図8のステップS8に進む。
When the numerical key 72 of the numeric keypad 70 is pressed (step S77), the setting data in the temporary setting data memory 64 is updated by inputting the numerical key 72 (step S78), and step S8 of FIG. Proceed to.

【0066】テンキー70の確定キー73が押された場
合には(ステップS79)、設定データ一時保持メモリ
64内の外部アドレスおよび設定データを外部送信デー
タメモリ65に転送する(ステップS80)。そして、
画面表示状態保持メモリ63に「1」(アクティブモー
ド)を格納し(ステップS81)、図8のステップS8
に進む。
When the confirm key 73 of the ten-key pad 70 is pressed (step S79), the external address and setting data in the setting data temporary holding memory 64 are transferred to the external transmission data memory 65 (step S80). And
"1" (active mode) is stored in the screen display state holding memory 63 (step S81), and step S8 of FIG.
Proceed to.

【0067】このように、本実施例の表示装置100に
おいては、データ表示エリアとは独立に画面上の任意の
位置にフレームが配置され、選択されたフレーム内にデ
ータ表示エリアが存在する場合に、そのデータ表示エリ
アを介してプログラマブルコントローラ200のデータ
記憶部220にデータを設定することができる。したが
って、表示装置用プログラム作成装置300による表示
画面の作成の際に、画面上にデータ表示エリアを配置し
た後に、画面上の任意の位置にデータ設定のためのフレ
ームを配置することができる。その結果、表示画面の作
成手順における柔軟性および融通性が大きくなり、表示
プログラム作成の労力および時間が低減する。
As described above, in the display device 100 of this embodiment, when the frame is arranged at an arbitrary position on the screen independently of the data display area and the data display area exists in the selected frame. Data can be set in the data storage unit 220 of the programmable controller 200 via the data display area. Therefore, when a display screen is created by the display device program creating apparatus 300, after a data display area is placed on the screen, a frame for data setting can be placed at an arbitrary position on the screen. As a result, the flexibility and flexibility in the procedure for creating the display screen are increased, and the labor and time for creating the display program are reduced.

【0068】図12は図2の表示装置用プログラム作成
装置300により作成される表示画面の他の例および図
1の表示装置100により表示される表示画面の他の例
を示す図である。
FIG. 12 is a diagram showing another example of the display screen created by the display device program creation device 300 of FIG. 2 and another example of the display screen displayed by the display device 100 of FIG.

【0069】図12(a)は表示装置用プログラム作成
装置300により作成される複数の第1の画面を示す図
であり、図12(b)は表示装置用プログラム作成装置
300により作成される第2の画面を示す図である。
FIG. 12A is a diagram showing a plurality of first screens created by the display device program creating apparatus 300, and FIG. 12B is a view showing the first screen created by the display device program creating apparatus 300. It is a figure which shows the screen of FIG.

【0070】図12(a)に示すように、第1の画面A
1上には、表示エリア101,102,103が配置さ
れている。同様に、第1の画面A2〜Anの任意の位置
に表示エリアが配置されている。図12(b)に示すよ
うに、第2の画面B上には、フレーム201,202,
203およびテンキー701が配置されている。図12
(a),(b)の第1の画面A1,A2,…Anおよび
第2の画面Bは画面データとして表示装置100の画面
データ記憶部60に記憶される。
As shown in FIG. 12A, the first screen A
Display areas 101, 102, and 103 are arranged on the display unit 1. Similarly, the display area is arranged at an arbitrary position on the first screens A2 to An. As shown in FIG. 12B, on the second screen B, the frames 201, 202,
203 and ten keys 701 are arranged. 12
The first screens A1, A2, ... An and the second screen B in (a) and (b) are stored in the screen data storage unit 60 of the display device 100 as screen data.

【0071】図12(c)は表示装置100における通
常の運転時の表示画面を示す図であり、図12(d)は
表示装置100におけるデータ設定時の表示画面を示す
図である。
FIG. 12C is a diagram showing a display screen of the display device 100 during normal operation, and FIG. 12D is a diagram showing a display screen of the display device 100 during data setting.

【0072】図12(c)に示すように、通常の運転時
には、第1の画面A1〜Anのうちいずれか1つの画面
が表示される。図12(c)の例では、第1の画面A1
が表示されている。図12(d)に示すように、データ
設定時には、第1の画面A1上に第2の画面Bが重ねて
表示される。それにより、第1の画面A1に配置された
表示エリア101,102,103上にそれぞれフレー
ム201,202,203が配置され、かつテンキー7
01が表示されている。
As shown in FIG. 12C, at the time of normal operation, one of the first screens A1 to An is displayed. In the example of FIG. 12C, the first screen A1
Is displayed. As shown in FIG. 12D, at the time of data setting, the second screen B is displayed so as to overlap the first screen A1. As a result, the frames 201, 202, 203 are arranged on the display areas 101, 102, 103 arranged on the first screen A1, respectively, and the numeric keypad 7 is used.
01 is displayed.

【0073】このように、フレーム201,202,2
03およびテンキー701が配置された第2の画面Bを
複数の第1の画面A1〜Anに共通に用いることができ
る。したがって、画面の作画データ量ならびに作画およ
び編集工数を低減することができる。
In this way, the frames 201, 202, 2
The second screen B on which 03 and the numeric keypad 701 are arranged can be commonly used for the plurality of first screens A1 to An. Therefore, the amount of screen drawing data and the number of man-hours for drawing and editing can be reduced.

【0074】なお、上記実施例では、画面上のテンキー
の選択キーを用いてフレームの選択を行っているが、画
面上に配置されたフレームにタッチスイッチの機能を付
加しておけば、フレームを押すことによりそのフレーム
を選択状態にすることができる。
In the above-mentioned embodiment, the frame is selected using the selection key of the ten-key on the screen. However, if the function of the touch switch is added to the frame arranged on the screen, the frame is selected. The frame can be selected by pressing.

【0075】[0075]

【発明の効果】第1および第2の発明によれば、データ
表示領域とは独立に画面上の任意の位置にデータ設定領
域が配置され、データ設定領域内にデータ表示領域が存
在する場合に、そのデータ表示領域を介して外部装置の
データ記憶部にデータを設定することができるので、表
示画面の作成時に、画面上にデータ表示領域を配置した
後に、画面上の任意の位置に存在するデータ表示領域を
データ表示およびデータ設定のための領域に変更するこ
とが可能となる。したがって、表示画面の作成手順にお
ける柔軟性および融通性が大きくなる。
According to the first and second aspects of the invention, when the data setting area is arranged at an arbitrary position on the screen independently of the data displaying area and the data displaying area exists in the data setting area. Since data can be set in the data storage unit of the external device via the data display area, it exists at an arbitrary position on the screen after the data display area is arranged on the screen when the display screen is created. The data display area can be changed to an area for displaying data and setting data. Therefore, flexibility and flexibility in the procedure for creating the display screen are increased.

【0076】特に、第2の発明によれば、データ設定領
域を複数の画面に対して共通に用いることができるの
で、設定情報を記憶する第2の記憶手段の記憶容量を低
減することが可能となる。
In particular, according to the second invention, since the data setting area can be commonly used for a plurality of screens, the storage capacity of the second storage means for storing the setting information can be reduced. Becomes

【0077】第3および第4の発明によれば、画面上に
データ表示領域を配置した後に画面上の任意の位置にデ
ータ設定領域を配置することができるので、画面上にデ
ータ表示領域を配置した後に画面上の任意の領域をデー
タ表示およびデータ設定のための領域に変更することが
可能となる。したがって、表示プログラムの作成手順に
おける柔軟性および融通性が大きくなり、表示プログラ
ム作成の労力および時間が低減する。
According to the third and fourth aspects, the data display area can be arranged on the screen since the data setting area can be arranged at an arbitrary position on the screen after the data display area is arranged on the screen. After that, it becomes possible to change any area on the screen to an area for data display and data setting. Therefore, the flexibility and flexibility in the procedure for creating the display program are increased, and the labor and time for creating the display program are reduced.

【0078】特に、第4の発明によれば、データ設定領
域を複数の画面に対して共通に用いることができるの
で、作成画面のデータ量および画面作成の工数を低減す
るこが可能となる。
In particular, according to the fourth aspect, since the data setting area can be commonly used for a plurality of screens, it is possible to reduce the data amount of the created screen and the man-hour for creating the screen.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例における表示装置およびプロ
グラマブルコントローラの構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing configurations of a display device and a programmable controller according to an embodiment of the present invention.

【図2】本発明の一実施例における表示装置用プログラ
ム作成装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a display device program creation device according to an embodiment of the present invention.

【図3】図2の表示装置用プログラム作成装置により作
成される表示画面の一例を示す図である。
FIG. 3 is a diagram showing an example of a display screen created by the program creating device for a display device of FIG.

【図4】図3の表示画面に対応する画面データを示す図
である。
FIG. 4 is a diagram showing screen data corresponding to the display screen of FIG.

【図5】図1の表示装置内の画面データ記憶部の構成を
示すブロック図である。
5 is a block diagram showing a configuration of a screen data storage unit in the display device of FIG.

【図6】表示エリアおよびフレームの始点および終点を
示す図である。
FIG. 6 is a diagram showing a display area and a start point and an end point of a frame.

【図7】図1の表示装置により表示される表示画面の一
例を示す図である。
FIG. 7 is a diagram showing an example of a display screen displayed by the display device of FIG.

【図8】図1の表示装置における表示処理を示すフロー
チャートである。
8 is a flowchart showing a display process in the display device of FIG.

【図9】図8の表示処理における表示モード処理を示す
フローチャートである。
9 is a flowchart showing a display mode process in the display process of FIG.

【図10】図8の表示処理におけるアクティブモード処
理を示すフローチャートである。
10 is a flowchart showing an active mode process in the display process of FIG.

【図11】図8の表示処理における設定入力モード処理
を示すフローチャートである。
11 is a flowchart showing a setting input mode process in the display process of FIG.

【図12】図2の表示装置用プログラム作成装置により
作成される表示画面の他の例および図1の表示装置によ
り表示される表示画面の他の例を示す図である。
12 is a diagram showing another example of the display screen created by the display device program creation device of FIG. 2 and another example of the display screen displayed by the display device of FIG.

【図13】従来の表示装置用プログラム作成装置により
作成される表示画面の一例を示す図である。
FIG. 13 is a diagram showing an example of a display screen created by a conventional program creating device for a display device.

【図14】図13の表示画面に対応する画面データを示
す図である。
14 is a diagram showing screen data corresponding to the display screen of FIG.

【図15】従来の表示装置内の画面データ記憶部の構成
を示すブロック図である。
FIG. 15 is a block diagram showing a configuration of a screen data storage unit in a conventional display device.

【図16】表示専用エリアおよび設定表示エリアの始点
および終点を示す図である。
FIG. 16 is a diagram showing start points and end points of a display-only area and a setting display area.

【図17】従来の表示装置により表示される表示画面の
一例を示す図である。
FIG. 17 is a diagram showing an example of a display screen displayed by a conventional display device.

【符号の説明】[Explanation of symbols]

100 表示装置 110 通信制御部 120 表示パネル 130 表示制御部 140 スイッチパネル 150 スイッチパネル制御部 160 メモリ部 200 プログラマブルコントローラ 220 データ記憶部 300 表示装置用プログラム作成装置 320 表示部 330 入力部 340 画面データ作成部 350 画面データ保存部 10〜15 表示エリア 20,21,22 機能コード受信フレーム 60 画面データ記憶部 61 表示データメモリ 62 フレーム配置メモリ 64 設定データ一時保持メモリ 65 外部送信データメモリ 100 display device 110 communication control unit 120 display panel 130 display control unit 140 switch panel 150 switch panel control unit 160 memory unit 200 programmable controller 220 data storage unit 300 display device program creation device 320 display unit 330 input unit 340 screen data creation unit 350 screen data storage unit 10-15 display area 20, 21, 22 function code reception frame 60 screen data storage unit 61 display data memory 62 frame arrangement memory 64 setting data temporary storage memory 65 external transmission data memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部装置のデータ記憶部に記憶されるデ
ータを画面に表示するとともに前記データ記憶部にデー
タを設定する機能を有する表示装置であって、 前記外部装置の前記データ記憶部から読み出されたデー
タを表示データとして受信する受信手段と、 前記受信手段により受信された表示データ、前記表示デ
ータが記憶される前記データ記憶部内の記憶位置および
前記表示データを表示すべき画面上のデータ表示領域を
表示情報として記憶する第1の記憶手段と、 前記第1の記憶手段に記憶される表示情報に基づいて、
前記第1の記憶手段に記憶される表示データを画面上の
該当するデータ表示領域に表示する表示手段と、 データの設定のために画面上に配置されたデータ設定領
域を設定情報として記憶する第2の記憶手段と、 画面上に配置されたデータ設定領域のいずれかを選択す
る選択手段と、 前記選択手段により選択されたデータ設定領域にデータ
を入力するデータ入力手段と、 前記第1の記憶手段に記憶された表示情報および前記第
2の記憶手段に記憶された設定情報に基づいて、前記選
択手段により選択されたデータ設定領域内に表示される
表示データの前記データ記憶部内の記憶位置を検出する
検出手段と、 前記データ入力手段により入力されたデータを設定デー
タとして前記検出手段により検出された記憶位置ととも
に前記外部装置に送信する送信手段とを備えた表示装
置。
1. A display device having a function of displaying data stored in a data storage unit of an external device on a screen and setting the data in the data storage unit, wherein the data is read from the data storage unit of the external device. Receiving means for receiving the issued data as display data, display data received by the receiving means, a storage position in the data storage section where the display data is stored, and data on a screen for displaying the display data First storage means for storing the display area as display information, and based on the display information stored in the first storage means,
Display means for displaying the display data stored in the first storage means in a corresponding data display area on the screen, and a data setting area arranged on the screen for setting the data as setting information Second storage means, selection means for selecting one of the data setting areas arranged on the screen, data input means for inputting data to the data setting area selected by the selection means, and the first storage Based on the display information stored in the means and the setting information stored in the second storage means, the storage position in the data storage section of the display data displayed in the data setting area selected by the selecting means is set. Detecting means for detecting, and the data inputted by the data inputting means are transmitted to the external device as setting data together with the storage position detected by the detecting means. Display device and transmission means that.
【請求項2】 前記データ表示領域は1または複数の第
1の画面上に配置され、前記データ設定領域は第2の画
面上に配置され、前記表示手段は、通常は前記第1の画
面のいずれかを表示し、データの設定時に前記第1の画
面のいずれかに重ねて前記第2の画面を表示することを
特徴とする請求項1記載の表示装置。
2. The data display area is arranged on one or a plurality of first screens, the data setting area is arranged on a second screen, and the display means is usually arranged on the first screen. 2. The display device according to claim 1, wherein any one of them is displayed, and the second screen is displayed so as to be overlapped with any one of the first screens when data is set.
【請求項3】 外部装置のデータ記憶部に記憶されるデ
ータを画面に表示するとともに前記データ記憶部内にデ
ータを設定する機能を有する表示装置のための表示プロ
グラムを作成するプログラム作成装置であって、 画面上にデータの表示のためのデータ表示領域を配置す
るとともに、配置されたデータ表示領域に前記外部装置
の前記データ記憶部内の記憶位置を割り付ける表示領域
配置手段と、 画面上にデータの設定のためのデータ設定領域を配置す
る設定領域配置手段と、 前記表示領域配置手段により配置されたデータ表示領域
および前記データ表示領域に割り付けられた記憶位置に
関する情報および前記設定領域配置手段により配置され
たデータ設定領域に関する情報を表示プログラムとして
記憶するプログラム記憶手段とを備えたプログラム作成
装置。
3. A program creation device for creating a display program for a display device having a function of displaying data stored in a data storage unit of an external device on a screen and setting the data in the data storage unit. , A data display area for displaying data on the screen, and a display area arranging means for allocating a storage position in the data storage unit of the external device to the arranged data display area, and setting the data on the screen Setting area arranging means for arranging a data setting area for, a data display area arranged by the display area arranging means, information on a storage position allocated to the data display area, and the setting area arranging means A program storing means for storing information about the data setting area as a display program. Program generator.
【請求項4】 前記表示領域配置手段は前記データ表示
領域を1または複数の第1の画面上に配置し、前記設定
領域配置手段は前記データ設定領域を第2の画面上に配
置することを特徴とする請求項3記載のプログラム作成
装置。
4. The display area arranging means arranges the data display area on one or a plurality of first screens, and the setting area arranging means arranges the data setting area on a second screen. 4. The program creation device according to claim 3, which is characterized in that.
JP7558395A 1995-03-31 1995-03-31 Display device and program generation device Pending JPH08272571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7558395A JPH08272571A (en) 1995-03-31 1995-03-31 Display device and program generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7558395A JPH08272571A (en) 1995-03-31 1995-03-31 Display device and program generation device

Publications (1)

Publication Number Publication Date
JPH08272571A true JPH08272571A (en) 1996-10-18

Family

ID=13580367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7558395A Pending JPH08272571A (en) 1995-03-31 1995-03-31 Display device and program generation device

Country Status (1)

Country Link
JP (1) JPH08272571A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711448B2 (en) 2001-05-29 2004-03-23 Mitsubishi Denki Kabushiki Kaisha Setting display apparatus for a programmable controller
JP2020166827A (en) * 2019-03-29 2020-10-08 株式会社キーエンス Programmable display device and programmable logic controller system including the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711448B2 (en) 2001-05-29 2004-03-23 Mitsubishi Denki Kabushiki Kaisha Setting display apparatus for a programmable controller
DE10200377B4 (en) * 2001-05-29 2008-04-03 Mitsubishi Denki K.K. Adjustment indicator for a programmable controller
JP2020166827A (en) * 2019-03-29 2020-10-08 株式会社キーエンス Programmable display device and programmable logic controller system including the same

Similar Documents

Publication Publication Date Title
JPH08137804A (en) Information processor
EP0477760B1 (en) Programming method and apparatus for programmable controller
JPH08272571A (en) Display device and program generation device
JPH10214171A (en) Information processor
JP2002278666A (en) Control panel for controlling facility
JP2006061679A (en) System and method for providing help information in medical ultrasound equipment
JP2000235447A (en) Display controller and storage medium
JPH0778015A (en) Numerical controller with data displaying and alterating function
JPH09219756A (en) Touch pannel operating unit and facsimile equipment using the same by connection
JP4697822B2 (en) Operation content setting method and display device
JPS63208921A (en) Switch pattern display device
JPH08272586A (en) Information display device and method
JPH06202606A (en) Display method for window screen
JP3268243B2 (en) Data entry method
EP0386260A1 (en) Sequence program editing system
JPH05173711A (en) Input system in touch panel input screen
JPH09237146A (en) Device and method for assigning key
JPH047633A (en) Information processor
JPH05204584A (en) Window display device and window display method
JPH0877106A (en) Data processor
JP2965811B2 (en) Information processing apparatus and display method
JPH02204792A (en) Crt display device
JPH10301705A (en) Handwriting input device
JPH07219737A (en) Window display controller
JPH0588833A (en) Data input system for automatic demonstration