JPH06282427A - Programmable controller with icon control function - Google Patents

Programmable controller with icon control function

Info

Publication number
JPH06282427A
JPH06282427A JP5068577A JP6857793A JPH06282427A JP H06282427 A JPH06282427 A JP H06282427A JP 5068577 A JP5068577 A JP 5068577A JP 6857793 A JP6857793 A JP 6857793A JP H06282427 A JPH06282427 A JP H06282427A
Authority
JP
Japan
Prior art keywords
icon
program
display
data
button
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.)
Withdrawn
Application number
JP5068577A
Other languages
Japanese (ja)
Inventor
Yasushi Murazaki
安志 村崎
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP5068577A priority Critical patent/JPH06282427A/en
Publication of JPH06282427A publication Critical patent/JPH06282427A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the programmable controller with the icon control function which enables a program indicating a process procedure as to an icon to easily be inputted in a short time and is speedily applicable to alternations of process contents and icons, etc. CONSTITUTION:A user program 74 which is inputted by using keys 30 and indicates the control procedure of an electronic notebook 20 is stored in a RAM 28 by a programmable controller 22. When a CPU 24 executes the user program 74, icon display control programs 62-72 stored in a ROM 26 are actuated corresponding to icon display instructions included in the user program 74 to control the display of icons on an LCD 32.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、機器をコントロールす
るためのプログラマブルコントローラに関し、特に、対
話形式の操作において用いるアイコンの表示を制御する
技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller for controlling equipment, and more particularly to a technique for controlling display of icons used in interactive operations.

【0002】[0002]

【従来の技術】OA機器や家電製品、工作機械などの中
には、その汎用性を高めるために制御部にプログラマブ
ルコントローラを用いたものがある。このプログラマブ
ルコントローラは、動作手順を示したプログラムに従っ
て機器を制御するものであり、プログラムの内容を変え
ることにより、機器の構成を追加したり変更することな
く、用途や目的、使用環境等に応じて機器を適正に動作
させることが可能となる。
2. Description of the Related Art Among OA equipment, home electric appliances, machine tools, and the like, there are some which use a programmable controller in a control section in order to increase their versatility. This programmable controller controls the device according to the program that shows the operation procedure, and by changing the contents of the program, it does not add or change the configuration of the device, depending on the application, purpose, usage environment, etc. It is possible to operate the device properly.

【0003】一方、画面にオペレーションガイドやメッ
セージなどを表示しつつ対話形式で操作される機器にあ
っては、昨今、操作を容易にするためにアイコンを用い
るものが多くなっており、このような機器を制御するた
めのコントローラでは、プログラムによってアイコンを
表示処理する技術が実現されている。
On the other hand, in devices operated interactively while displaying operation guides and messages on the screen, recently, icons are often used to facilitate the operation. In a controller for controlling a device, a technique of displaying an icon by a program is realized.

【0004】たとえば、BASIC(Beginner´s All-
purpose Symbolic Instruction Code)言語で記述した
プログラムを用いるコントローラが制御部として搭載さ
れた電子手帳にあって、液晶のタッチパネルにアイコン
を表示し、このアイコンをタッチペン、もしくはキーボ
ードで指示するという操作手順をプログラムで示すと以
下のようになる。
For example, BASIC (Beginner's All-
purpose symbolic instruction code) In an electronic notebook equipped with a controller that uses a program written in a language as a control unit, an icon is displayed on a liquid crystal touch panel, and the operation procedure of instructing this icon with a touch pen or keyboard is programmed. It is as shown below.

【0005】 PSET,LINE,GPRINT命
令などを用いて、タッチパネルにアイコンの画像を表示
する。
An image of an icon is displayed on the touch panel using a PSET, LINE, GPRINT command or the like.

【0006】 TOUCH,INPUT,INKEY
$命令などを用いて、タッチペンもしくはキーボードに
よりタッチパネル上のいずれかの箇所(点)が指示され
たか否かを調べる。
TOUCH, INPUT, INKEY
Using a $ command or the like, it is checked whether or not any part (point) on the touch panel is designated by the touch pen or the keyboard.

【0007】 何らかの指示があれば、その指示され
た点がアイコンの画像の表示範囲内にあるか否かをTO
UCH関数命令を用いて調べる。
[0007] If there is any instruction, whether or not the instructed point is within the display range of the icon image is TO.
Check using the UCH function instruction.

【0008】 指示点がアイコン画像の表示範囲内に
あれば、アイコンが指示されていることを使用者に知ら
せるために、LINE命令などを用いて、アイコン画像
を包含する長方形の範囲で塗りつぶす処理を行ない、ア
イコン画像を反転させる。
If the designated point is within the display range of the icon image, in order to inform the user that the icon is designated, a LINE command or the like is used to fill in a rectangular range including the icon image. Do and flip the icon image.

【0009】 同一箇所が2回連続して指示される
か、もしくは、タッチパネル上からタッチペンが離され
ることにより、使用者がアイコンを確認したと判断すれ
ば、必要に応じて処理データなどを保持しつつ、次の処
理に移行する。これらの手順をIF THEN ELS
E命令などを用いた構文として、プログラム内に記述す
る。
If it is determined that the user has confirmed the icon by instructing the same location twice in succession or by releasing the touch pen from the touch panel, the processing data and the like are held as necessary. While moving to the next process. Follow these steps with IF THEN ELS
Described in the program as a syntax using the E instruction or the like.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述し
たようなプログラムでは、アイコンに関する処理手順を
示すために多数のプログラム命令を組合わせて用いなけ
ればならないので、プログラミング作業が煩雑になり、
また、プログラムを入力するために長時間を要する。さ
らには、入力されるプログラムのステップ数が多く、プ
ログラムサイズが大きいために、大容量の使用者用メモ
リをコントローラに備える必要があり、機器の組立コス
トが高価になる。また、機器によっては、その制御手順
を多様化させるために多数のプログラムがコントローラ
に入力されることがあり、同一のアイコンに関する処理
手順がプログラムにおける多くの箇所で記述されている
場合には、アイコンの形状を変更するときなどに各々の
箇所のプログラムを変えなければならず、大変面倒であ
り、変更漏れや誤修正の原因にもなり得る。
However, in the above-mentioned program, a large number of program instructions must be combined in order to show the processing procedure relating to the icon, which complicates the programming work.
In addition, it takes a long time to input the program. Furthermore, since the number of steps of a program to be input is large and the size of the program is large, it is necessary to provide the controller with a large-capacity memory for the user, which increases the assembly cost of the device. Also, depending on the device, a large number of programs may be input to the controller in order to diversify the control procedure, and if the processing procedure for the same icon is described in many places in the program, It is necessary to change the program at each location when changing the shape of, which is very troublesome, and may cause omission of changes or erroneous correction.

【0011】一方、プログラミングの手法について、上
述したプログラムのような、アイコンが指示されたか否
かを判定する処理は、具体的には、図34に示すよう
に、アイコンの画像の表示範囲を大小多数の矩形に分割
し、いずれかの矩形内に指示点が存在するか否かを調べ
るなどの方法を用いる。したがって、この処理をプログ
ラムによって表現するためには、幾何演算やプログラミ
ングに関する高度な手法を習得していなければならず、
使用者にとって大きな負担となる。同様に、上述したプ
ログラムで示したようなアイコンの画像を反転させる処
理は、例示したBASIC言語では、指定範囲の塗りつ
ぶし命令が備えられているので、それを用いて行なえ
る。しかし、この場合は、長方形の範囲しか指定するこ
とができないので、図35に示すように、アイコンの形
状によっては不必要な部分までも反転してしまい、操作
する上での不具合となることがある。
On the other hand, regarding the programming method, the process of determining whether or not an icon is instructed, as in the above-described program, is specifically as shown in FIG. A method of dividing into a large number of rectangles and checking whether or not the designated point exists in any of the rectangles is used. Therefore, in order to express this processing by a program, it is necessary to learn advanced techniques related to geometric calculation and programming.
It is a heavy burden on the user. Similarly, the process of inverting the image of the icon as shown in the above-described program can be performed by using the BASIC language, which is provided with a paint command in a designated range. However, in this case, since only the rectangular range can be specified, as shown in FIG. 35, even an unnecessary portion may be inverted depending on the shape of the icon, which may cause a problem in operation. is there.

【0012】本発明は、上述したような問題点を解決す
るためになされたものであり、アイコンに関する処理手
順を示すプログラムを容易に、かつ、短時間で入力で
き、さらには、処理内容やアイコンの変更などにも迅速
に対応することが可能なアイコン制御機能を有したプロ
グラマブルコントローラを提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and allows a program indicating a processing procedure relating to an icon to be input easily and in a short time. It is an object of the present invention to provide a programmable controller having an icon control function capable of swiftly responding to changes in the.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に本発明は、表示部により表示されたアイコンを用いて
対話形式で操作される機器をコントロールする装置であ
って、機器の動作を制御する手順を示すプログラムを入
力するための入力手段と、入力手段に接続され、この入
力手段によって入力されたプログラムを格納するための
第1の記憶手段と、第1の記憶手段に格納されたプログ
ラムに含まれる制御情報に基づいて、機器の動作を制御
する制御信号を出力するための制御手段と、アイコンの
イメージデータを格納するための第2の記憶手段と、制
御手段と第2の記憶手段とに接続され、第1の記憶手段
に格納されたプログラムに含まれる1単位のアイコン制
御情報に基づいて制御手段から出力されるアイコン制御
信号に応答し、この信号が指定するアイコンのイメージ
データを第2の記憶手段から読出してアイコンの表示部
による表示を制御するための表示制御手段とを含むもの
である。
In order to achieve the above object, the present invention is an apparatus for controlling a device operated interactively by using an icon displayed on a display unit, and controlling the operation of the device. Input means for inputting a program indicating a procedure for performing, a first storage means connected to the input means for storing the program input by the input means, and a program stored in the first storage means Control means for outputting a control signal for controlling the operation of the device based on the control information contained in the second storage means, a second storage means for storing the image data of the icon, a control means and a second storage means. Connected to and responding to an icon control signal output from the control means on the basis of one unit of icon control information contained in the program stored in the first storage means, It is intended to include display control means for controlling the display by the display unit of the read Te icon image data icon signal designates the second storage means.

【0014】[0014]

【作用】上記の構成により、入力手段から機器の制御手
順を示すプログラムが入力されると、このプログラムが
第1の記憶手段に格納される。格納されたプログラムに
従って、制御手段から機器を制御するための各種の制御
信号を出力される。この制御手段により、プログラムに
含まれる1単位のアイコン制御情報に基づいてアイコン
制御信号が出力され、表示制御手段に入力されると、こ
の表示制御手段により、アイコン制御信号によって指定
されたアイコンのイメージデータが第2の記憶手段から
読出され、該アイコンの表示部による表示が制御され
る。
With the above structure, when the program indicating the control procedure of the equipment is input from the input means, the program is stored in the first storage means. According to the stored program, the control means outputs various control signals for controlling the device. When the control means outputs an icon control signal based on one unit of icon control information included in the program and is input to the display control means, the display control means causes an image of the icon designated by the icon control signal. The data is read from the second storage means, and the display of the icon on the display unit is controlled.

【0015】[0015]

【実施例】以下、本発明の一実施例について電子手帳を
制御するためのプログラマブルコントローラ(以下、単
に「コントローラ」と呼ぶ)を例にして説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below by taking a programmable controller (hereinafter simply referred to as "controller") for controlling an electronic notebook as an example.

【0016】図1は、本実施例による電子手帳20の概
略構成を示すブロック図である。この電子手帳20の制
御部であるコントローラ22は、請求項1記載の制御手
段に対応するCPU(Central Processing Unit )24
と、請求項1記載の表示制御手段に対応するプログラム
(後述)を格納したROM(Read Only Memory)26
と、請求項1記載の第1の記憶手段と第2の記憶手段と
に対応するRAM(Random Access memory)28と、デ
ータ入力などに用いる請求項1記載の入力手段に対応す
るキー30とを含む。CPU24には、データを表示す
る液晶ディスプレイ(以下、「LCD」と呼ぶ)32
が、LCDドライバ34を介して接続されている。LC
D32の表面には、タッチペン36を備えたタッチパネ
ル38が設けられ、タッチペン36によって指示された
位置のデータがA/D(Analog/Digital)コンバータ4
0を介してCPU24に送信される。さらに、外部との
データの入出力を担う入出力ポート42が設けられ、I
/O(Input/Output)44を介してCPU24に接続さ
れている。また、コネクタ46には、IC(Integrated
Circuit)カード48が装着できる。このICカード4
8は、ROM50とRAM52とを含み、CPU24に
接続されて拡張メモリとして用いられる。
FIG. 1 is a block diagram showing a schematic structure of an electronic notebook 20 according to this embodiment. A controller 22 which is a control unit of the electronic notebook 20 has a CPU (Central Processing Unit) 24 corresponding to the control means according to claim 1.
And a ROM (Read Only Memory) 26 storing a program (described later) corresponding to the display control means according to claim 1.
And a RAM (Random Access Memory) 28 corresponding to the first storage means and the second storage means according to claim 1, and a key 30 corresponding to the input means according to claim 1 used for data input. Including. The CPU 24 has a liquid crystal display (hereinafter, referred to as “LCD”) 32 for displaying data.
Are connected via the LCD driver 34. LC
A touch panel 38 having a touch pen 36 is provided on the surface of D32, and the data of the position designated by the touch pen 36 is stored in the A / D (Analog / Digital) converter 4.
It is transmitted to the CPU 24 via 0. Further, an input / output port 42 for inputting / outputting data to / from the outside is provided, and
It is connected to the CPU 24 via an / O (Input / Output) 44. Further, an IC (Integrated
Circuit) card 48 can be installed. This IC card 4
Reference numeral 8 includes a ROM 50 and a RAM 52, is connected to the CPU 24, and is used as an expansion memory.

【0017】コントローラ22のROM26は、アイコ
ンのデータファイルを指定するためのファイル指定プロ
グラム62と、LCD32にアイコンを表示するための
表示プログラム64と、アイコンを点滅させるための点
滅プログラム66と、アイコンをLCD30から消去
(非表示)するための消去プログラム68と、指示され
ているアイコンのドットを反転させるためのトレースプ
ログラム70と、タッチパネル38において指示された
点がアイコンの表示範囲内にあるか否かを判定するため
のエリア判定プログラム72とを格納している。RAM
28は、電子手帳20をコントロールするために使用者
によって入力されるユーザプログラム74と、アイコン
のイメージデータを格納したデータファイル76と、L
CD32に表示されたアイコンを管理するために用いら
れる表示管理テーブル78とを格納している。なお、ユ
ーザプログラム74とは、電子手帳20の動作手順をB
ASIC言語で示したものである。
The ROM 26 of the controller 22 includes a file designating program 62 for designating an icon data file, a display program 64 for displaying an icon on the LCD 32, a blinking program 66 for blinking the icon, and an icon. An erasing program 68 for erasing (non-displaying) from the LCD 30, a trace program 70 for inverting the dot of the designated icon, and whether the point designated on the touch panel 38 is within the display range of the icon. An area determination program 72 for determining is stored. RAM
Reference numeral 28 denotes a user program 74 input by the user to control the electronic notebook 20, a data file 76 storing icon image data, and L.
A display management table 78 used for managing the icons displayed on the CD 32 is stored. The user program 74 is the operation procedure of the electronic notebook 20.
It is shown in the ASIC language.

【0018】図2および図3は、LCD32に表示され
るアイコン画像の一例であり、それぞれ(a)は通常の
表示状態、(b)は反転状態を示す。本実施例の電子手
帳20では、アイコンのデータを矩形の表示範囲(破線
で図示)で取扱う。図2に示したアイコンの場合は、表
示範囲内のドットの輝度を反転させることによりアイコ
ン画像を反転させる。一方、図3に示したアイコンで
は、通常の表示画像(以下、「表イメージ」と呼ぶ)の
データとは別に、反転時の画像(以下、「裏イメージ」
と呼ぶ)のデータも格納しておき、アイコンを反転させ
るときには、裏イメージのデータを表示する。これら2
種類の反転方法のいずれを用いるかは、アイコンの用途
や形状などを考慮して、アイコンデータを作成する際
(後述)に決めればよい。なお、以降の説明において
は、裏イメージのデータを有するものをアイコンとは区
別してボタンという。
2 and 3 are examples of the icon image displayed on the LCD 32, in which (a) shows a normal display state and (b) shows an inverted state. In the electronic organizer 20 of this embodiment, icon data is handled in a rectangular display range (illustrated by a broken line). In the case of the icon shown in FIG. 2, the icon image is inverted by inverting the brightness of the dots within the display range. On the other hand, in the icon shown in FIG. 3, in addition to the data of the normal display image (hereinafter, referred to as “front image”), the image at the time of inversion (hereinafter, “back image”)
Data is also stored, and when the icon is inverted, the back image data is displayed. These two
Which of the types of inversion methods should be used may be determined at the time of creating the icon data (described later) in consideration of the purpose and shape of the icon. Note that, in the following description, those having back image data are referred to as buttons in distinction from icons.

【0019】図4ないし図7は、アイコン/ボタンのイ
メージデータを作成もしくは変更するために、パーソナ
ルコンピュータ(以下、単に「パソコン」と呼ぶ)にお
いて用いられるアイコン/ボタン作成ツールの画面表示
例である。これらの図を参照して、アイコン/ボタンの
データを作成する手順を述べる。アイコン/ボタン作成
ツールを起動すると図4に示すファイル設定・選択画面
90が表示される。アイコン/ボタンのデータファイル
を新規に作成するときは、ファイル名入力領域92から
新しいファイル名を入力する。既に登録してあるファイ
ルを呼出すときは、ファイル名一覧表示領域94におい
てカーソル96を所望するファイル名に移動させて選択
する。
4 to 7 are examples of screen displays of an icon / button creating tool used in a personal computer (hereinafter, simply referred to as "personal computer") to create or change the image data of the icon / button. . A procedure for creating icon / button data will be described with reference to these drawings. When the icon / button creation tool is activated, a file setting / selection screen 90 shown in FIG. 4 is displayed. When a new icon / button data file is created, a new file name is input from the file name input area 92. When calling a file already registered, the cursor 96 is moved to the desired file name in the file name list display area 94 and selected.

【0020】ファイル名が入力もしくは選択されると、
図5に示す作成・編集画面100が表示される。この作
成・編集画面100は、アイコン/ボタンのイメージを
描画するための描画領域102と、この描画領域102
で描画したイメージデータに対する「登録」、「呼
出」、「削除」などの処理を選択するためのメニュー領
域104が設けられている。描画領域102にて、アイ
コン/ボタンのイメージをドット単位で描画する。
When the file name is input or selected,
The creation / edit screen 100 shown in FIG. 5 is displayed. The creation / edit screen 100 has a drawing area 102 for drawing an image of an icon / button and a drawing area 102.
A menu area 104 is provided for selecting processing such as "registration", "call", and "delete" for the image data drawn in. In the drawing area 102, the icon / button image is drawn in dot units.

【0021】イメージの描画が完了し、メニュー領域1
04において「登録」を選択指示すると、図6に示す登
録・移動・削除画面110が表示される。ここで、前記
作成・編集画面100で作成したアイコン/ボタンを空
いている場所に登録する。登録すると、アイコン/ボタ
ンのイメージデータが所定の様式のデータファイルとし
てフレキシブルディスクに格納される。なお、アイコン
/ボタンの登録番号を変えるためにイメージデータを
「移動」したり、イメージデータを「削除」するときに
も、この登録・移動・削除画面110を用いる。
After the image drawing is completed, the menu area 1
When the user selects "Register" in 04, the registration / movement / deletion screen 110 shown in FIG. 6 is displayed. Here, the icon / button created on the creating / editing screen 100 is registered in a vacant place. When registered, the image data of the icon / button is stored in the flexible disk as a data file of a predetermined format. The registration / movement / deletion screen 110 is also used when “moving” the image data to change the registration number of the icon / button or “deleting” the image data.

【0022】一方、登録したアイコン/ボタンは、メニ
ュー領域104にて「呼出」を指示して図7に示す呼出
画面114を表示し、所望するアイコン/ボタンを選択
することにより、作成・編集画面100の描画領域10
2にイメージデータを呼出して変更することができる。
On the other hand, the registered icon / button is displayed in the menu area 104 by instructing “call” to display a call screen 114 shown in FIG. 7, and a desired icon / button is selected to create / edit a screen. 100 drawing areas 10
The image data can be called and changed to 2.

【0023】図8は、上述した手順で作成したアイコン
/ボタンのデータを電子手帳20に送信する方法を示す
図である。データ送信時には、電子手帳20とパソコン
120とをケーブル122によって接続してパソコン1
20のフレキシブルディスクから電子手帳20へデータ
を送信する。パソコン120から送信されたデータは、
入出力ポート42を介してCPU22に受信され、前記
図1に示したようにRAM28の空き領域にデータファ
イル76として格納される。
FIG. 8 is a diagram showing a method for transmitting the icon / button data created by the above-described procedure to the electronic notebook 20. At the time of data transmission, the electronic notebook 20 and the personal computer 120 are connected by a cable 122 to connect the personal computer 1
Data is transmitted from the flexible disk 20 to the electronic notebook 20. The data sent from the personal computer 120 is
The data is received by the CPU 22 via the input / output port 42 and stored as a data file 76 in the empty area of the RAM 28 as shown in FIG.

【0024】図9は、データファイル76の構成図であ
る。データファイル76は、ヘッダ部とインデックス部
とデータ部とからなる。ヘッダ部は、ファイルの種類を
示すための識別コードと、ファイル内に格納されたデー
タ数すなわちアイコン/ボタンの個数とを含む。識別コ
ードとしては、アイコン/ボタンのデータファイルの場
合、Icon or Button の略である“IB”の文字がAS
CIIコードで格納される。インデックス部は、データ
部に含まれたアイコン/ボタンのデータファイル76内
における相対アドレスを順に格納する。データ部は、そ
のデータがアイコンかボタンかを判別するためのアイコ
ン/ボタン判別コードと、アイコン/ボタンのドットデ
ータとを格納し、さらに、ボタンの場合には、裏イメー
ジのドットデータも格納する。
FIG. 9 is a structural diagram of the data file 76. The data file 76 includes a header part, an index part, and a data part. The header portion includes an identification code indicating the type of file and the number of data items stored in the file, that is, the number of icons / buttons. As the identification code, in the case of an icon / button data file, the character "IB", which is the abbreviation for Icon or Button, is AS.
It is stored in CII code. The index portion sequentially stores the relative addresses in the data file 76 of the icons / buttons included in the data portion. The data section stores an icon / button discrimination code for discriminating whether the data is an icon or a button, and dot data of the icon / button, and in the case of a button, also stores dot data of the back image. .

【0025】図10は、表示管理テーブル78の構成図
である。表示管理テーブル78は、LCD32(図1)
に表示されたアイコン/ボタンについて、その登録番号
と表示範囲の最左上座標とを格納する。
FIG. 10 is a configuration diagram of the display management table 78. The display management table 78 is the LCD 32 (FIG. 1).
For the icon / button displayed in, the registration number and the upper left coordinate of the display range are stored.

【0026】表1ないし表6に、アイコン/ボタンの表
示を制御するための命令について、その書式と機能を示
す。ユーザプログラム74(図1)において、命令“I
CON”に所定のパラメータを設定して実行することに
より、その命令に対応してROM26のプログラム62
〜72(図1)が起動し、表に示すような制御動作が行
なわれる。
Tables 1 to 6 show the formats and functions of the commands for controlling the display of icons / buttons. In the user program 74 (FIG. 1), the instruction "I
By setting a predetermined parameter in CON "and executing the program, the program 62 of the ROM 26 corresponding to the instruction is executed.
.About.72 (FIG. 1) is activated, and the control operation shown in the table is performed.

【0027】[0027]

【表1】 [Table 1]

【0028】[0028]

【表2】 [Table 2]

【0029】[0029]

【表3】 [Table 3]

【0030】[0030]

【表4】 [Table 4]

【0031】[0031]

【表5】 [Table 5]

【0032】[0032]

【表6】 [Table 6]

【0033】図11ないし図32を参照して、ROM2
6のプログラム62〜72(図1)の処理手順について
説明する。なお、本実施例では、プログラム62〜72
をC言語を用いて作成した。
Referring to FIGS. 11 to 32, ROM 2
The processing procedure of the programs 62 to 72 (FIG. 1) of No. 6 will be described. In this embodiment, the programs 62-72
Was created using C language.

【0034】図11は、ファイル指定プログラム62
(図1)のフローチャートである。ユーザプログラム7
4において、「ICON I,“ファイル名”」が実行
されると、ファイル指定プログラム62が起動し、パラ
メータで指定されたファイル名をRAM28の空き領域
に格納する(S101)。
FIG. 11 shows a file designation program 62.
It is a flowchart of (FIG. 1). User program 7
4, when "ICON I," file name "" is executed, the file designation program 62 is activated and the file name designated by the parameter is stored in the free space of the RAM 28 (S101).

【0035】図12および図13は、表示プログラム6
4(図1)のフローチャートである。「ICON D,
登録番号,(表示X座標,Y座標)」が実行されると、
表示プログラム64が起動し、ファイル指定プログラム
62によってRAM28の空き領域に格納されたファイ
ル名に該当するデータファイル76をオープンする(S
201)。データファイル76(図9)のヘッダ部にあ
るファイル識別コードを読込み(S202)、識別コー
ドが“IB”でなければ(S203にてNO)、エラー
処理して(S204)、終了する。識別コードが“I
B”であれば(S203にてYES)、データの個数す
なわち最大登録番号を読込む(S205)。パラメータ
に指定された登録番号が最大登録番号より小さいか否か
をチェックし(S206)、小さくなければ(S206
にてNO)、エラー処理して(S204)、終了する。
指定番号が最大番号より小さければ(S206にてYE
S)、指定された登録番号のインデックスのアドレスを
算出し(S207)、インデックスの内容を読込んで
(S208)、データが格納されたアドレスを求め、デ
ータ部のアイコン/ボタンデータを読込む(S20
9)。読込んだ表イメージをLCD32におけるタッチ
パネル38で指定された座標に表示する(S210)。
アイコン/ボタンの表示が完了すれば、表示したアイコ
ン/ボタンの登録番号と、表示範囲の最左上座標とを表
示管理テーブル78(図10)に登録し(S211)、
データファイル76をクローズして(S212)、終了
する。
12 and 13 show the display program 6
4 is a flowchart of FIG. 4 (FIG. 1). "ICON D,
Registration number, (display X coordinate, Y coordinate) "is executed,
The display program 64 is activated, and the file designating program 62 opens the data file 76 corresponding to the file name stored in the free area of the RAM 28 (S
201). The file identification code in the header portion of the data file 76 (FIG. 9) is read (S202). If the identification code is not "IB" (NO in S203), error processing is performed (S204), and the process ends. The identification code is "I
If it is B ″ (YES in S203), the number of data, that is, the maximum registration number is read (S205). It is checked whether or not the registration number specified in the parameter is smaller than the maximum registration number (S206), and it is smaller. If not (S206
NO), error processing is performed (S204), and the process ends.
If the designated number is smaller than the maximum number (YES in S206
S), the address of the index of the designated registration number is calculated (S207), the content of the index is read (S208), the address where the data is stored is obtained, and the icon / button data of the data part is read (S20).
9). The read front image is displayed at the coordinates designated by the touch panel 38 on the LCD 32 (S210).
When the display of the icon / button is completed, the registration number of the displayed icon / button and the upper left coordinate of the display range are registered in the display management table 78 (FIG. 10) (S211),
The data file 76 is closed (S212) and the process ends.

【0036】図14ないし図16は、点滅プログラム6
6(図1)のフローチャートである。「ICON B,
登録番号,点滅回数」が実行されると、点滅プログラム
66が起動し、前記表示プログラム64のS201〜S
209(図12および図13)と同様の手順で、指定さ
れたアイコン/ボタンのデータを読込む(S301〜S
309)。表示管理テーブル78(図10)を読込んで
(S310)、指定されたアイコン/ボタンが、表示管
理テーブル78に登録されているかどうかを調べ(S3
11)、登録されていなければ(S311にてNO)、
エラー処理して(S304)、終了する。指定されたア
イコン/ボタンが表示管理テーブル78に登録されてい
れば(S311にてYES)、その表示管理テーブル7
8のデータを参照して、表示範囲の最左上座標を読込む
(S312)。
14 to 16 show a blinking program 6
6 is a flowchart of FIG. 6 (FIG. 1). "ICON B,
When the "registration number, number of blinks" is executed, the blinking program 66 is activated, and S201 to S of the display program 64 are executed.
209 (FIGS. 12 and 13), the data of the designated icon / button is read (S301 to S301).
309). The display management table 78 (FIG. 10) is read (S310), and it is checked whether the designated icon / button is registered in the display management table 78 (S3).
11) If not registered (NO in S311),
Error processing is performed (S304), and the process ends. If the designated icon / button is registered in display management table 78 (YES in S311), display management table 7
The upper left coordinate of the display range is read with reference to the data of No. 8 (S312).

【0037】次に、点滅させた回数をカウントするため
の点滅カウンタを0クリアした後(S313)、データ
ファイル76(図9)のデータ部に含まれるアイコン/
ボタン判別コードによって、指定されたものがアイコン
かボタンか、すなわち裏イメージのデータがあるかない
かを判断する(S314)。該データがアイコンデータ
であり、裏イメージのデータが含まれていなければ(S
314にてNO)、読込んだ表イメージデータの縦・横
サイズを算出し(S315)、S312にて求めた最左
上座標を基準にした上記縦・横サイズの表示範囲に含ま
れるすべてのドットを反転させる(S316)。一方、
S314において、データがボタンデータであり裏イメ
ージのデータが含まれていれば(S314にてYE
S)、そのデータに基づいて、S312で求めた座標に
裏イメージを表示する(S317)。アイコンの反転画
像もしくはボタンの裏イメージが表示されれば、所定時
間待機した後(S318)、表イメージを表示する(S
319)。点滅カウンタに1加算した後(S320)、
点滅カウンタが指定された点滅回数に至っているか、す
なわち指定回数点滅させたか否かを判断する(S32
1)。点滅させた回数が指定回数に至っていなければ
(S321にてNO)、所定時間待機した後(S32
2)、上述したS314〜S320の処理を繰り返す。
点滅回数が指定回数に至れば(S321にてYES)、
データファイル76をクローズして(S323)、終了
する。
Next, after the blinking counter for counting the number of blinks is cleared to 0 (S313), the icon / icon included in the data portion of the data file 76 (FIG. 9) is set.
It is determined by the button discrimination code whether the designated one is an icon or a button, that is, whether or not there is back image data (S314). If the data is icon data and the back image data is not included (S
(NO in 314), the vertical / horizontal size of the read table image data is calculated (S315), and all the dots included in the display range of the vertical / horizontal size based on the upper leftmost coordinates obtained in S312. Is reversed (S316). on the other hand,
If the data is button data and the back image data is included in S314 (YES in S314).
S), based on the data, the back image is displayed at the coordinates obtained in S312 (S317). If the reverse image of the icon or the back image of the button is displayed, after waiting for a predetermined time (S318), the front image is displayed (S).
319). After adding 1 to the blinking counter (S320),
It is determined whether the blinking counter has reached the designated number of blinks, that is, whether the blinking has been performed the designated number of times (S32).
1). If the number of blinks has not reached the specified number (NO in S321), after waiting for a predetermined time (S32).
2), the above-described processing of S314 to S320 is repeated.
If the number of blinks reaches the designated number (YES in S321),
The data file 76 is closed (S323) and the process ends.

【0038】図17ないし図20は、消去プログラム6
8(図1)のフローチャートである。「ICON C,
登録番号」が実行されると、消去プログラム68が起動
し、前記表示プログラム64のS201〜S204(図
12)と同様の手順でデータファイル76をオープンす
る(S401〜S404)。続いて、パラメータで指定
された登録番号が0か否か、すなわち表示されているア
イコン/ボタンのすべてを消去することが指示されたか
否かを判断し(S405)、指定番号が0であれば(S
405にてYES)、全消去の処理へ移る(後述)。パ
ラメータの指定番号が0でなければ(S405にてN
O)、前記点滅プログラム66のS305〜S312
(図14および図15)と同様の手順で、指定番号をチ
ェックし、表示座標とサイズとを求め(S406〜S4
13)、表示範囲を計算して(S414)、その範囲内
に含まれる画像を消去する(S415)。
17 to 20 show an erase program 6
8 is a flowchart of FIG. 8 (FIG. 1). "ICON C,
When the "registration number" is executed, the deletion program 68 is activated, and the data file 76 is opened by the same procedure as S201 to S204 (FIG. 12) of the display program 64 (S401 to S404). Subsequently, it is determined whether or not the registration number designated by the parameter is 0, that is, whether or not it is instructed to delete all the displayed icons / buttons (S405), and if the designated number is 0, (S
(YES at 405), and proceeds to the process of all erasing (described later). If the designated number of the parameter is not 0 (N in S405
O), S305 to S312 of the blinking program 66
The designated number is checked and the display coordinates and the size are obtained in the same procedure as (FIGS. 14 and 15) (S406 to S4).
13) The display range is calculated (S414), and the images included in the range are deleted (S415).

【0039】一方、全消去が指定された場合は(S40
5にてYES)、表示管理テーブル78(図10)にデ
ータが格納されているか否かを調べる(S416)。デ
ータが格納されていれば(S416にてYES)、先頭
にあるアイコン/ボタンの登録番号と、その表示座標と
を取出す(S417)。取出した登録番号に対応するデ
ータファイル76(図9)におけるインデックスのアド
レスを計算して(S418)、その内容を読込む(S4
19)。インデックスが示すアドレスに格納されたアイ
コン/ボタンのデータを読込み(S420)、イメージ
データの縦・横サイズを計算し、そのサイズとS417
で取出した最左上座標とによって表示範囲を計算して、
範囲内に含まれる画像を消去する(S421)。消去し
たアイコン/ボタンの表示管理テーブル78(図10)
におけるデータ、すなわち先頭にあるデータを消去し、
2つ目以降のデータを繰り上げて更新した後(S42
2)、S416に戻る。S416でデータの有無をチェ
ックし、データがあれば(S416にてYES)、上述
のS417〜S422の処理を繰り返し、データがなく
なれば(S416にてNO)、データファイル76をク
ローズして(S423)、終了する。
On the other hand, if all deletion is designated (S40
5 is YES), and it is checked whether or not data is stored in the display management table 78 (FIG. 10) (S416). If the data is stored (YES in S416), the registration number of the icon / button at the head and the display coordinates thereof are taken out (S417). The address of the index in the data file 76 (FIG. 9) corresponding to the retrieved registration number is calculated (S418), and the content is read (S4).
19). The icon / button data stored at the address indicated by the index is read (S420), the vertical and horizontal sizes of the image data are calculated, and the size and S417 are calculated.
Calculate the display range by using the upper left coordinates extracted in
The images included in the range are deleted (S421). Display management table 78 for deleted icons / buttons (FIG. 10)
Delete the data in, that is, the data at the beginning,
After moving up and updating the second and subsequent data (S42
2) and returns to S416. The presence or absence of data is checked in S416, and if there is data (YES in S416), the above-described processing of S417 to S422 is repeated. If there is no data (NO in S416), the data file 76 is closed (S423). ),finish.

【0040】図21ないし図25は、トレースプログラ
ム70(図1)のフローチャートである。「ICON
T,登録番号,結果変数」が実行されると、トレースプ
ログラム70が起動し、前記点滅プログラム66のS3
01〜S312(図14および図15)と同様の手順
で、データファイル76と表示管理テーブル78とか
ら、指定された登録番号のアイコン/ボタンのデータを
読込む(S501〜S512)。読込んだデータに基づ
いて、イメージの縦・横サイズを計算し(S513)、
LCD32における表示範囲を求める(S514)。続
いて、この時点以降に、最初に、タッチペン36によっ
て押されたタッチパネル38上の座標を取得し(S51
5)、押された位置がS514にて求めた表示範囲内に
あるか否かを調べる(S516)。表示範囲外であれば
(S516にてNO)、結果変数に0すなわち「範囲
外」を示すコードをセットして(S517)、終了す
る。一方、最初に押された位置が表示範囲内であれば
(S516にてYES)、現在表示しているアイコン/
ボタンが表イメージであるのか裏イメージもしくは反転
したイメージであるのかを示すための表/裏フラグに0
(表)をセットする(S518)。
21 to 25 are flowcharts of the trace program 70 (FIG. 1). "ICON
"T, registration number, result variable" is executed, the trace program 70 is activated, and S3 of the blinking program 66 is executed.
01-S312 (FIGS. 14 and 15), the data of the icon / button of the designated registration number is read from the data file 76 and the display management table 78 (S501-S512). Calculate the vertical and horizontal size of the image based on the read data (S513),
The display range on the LCD 32 is obtained (S514). Subsequently, after this time point, first, the coordinates on the touch panel 38 pressed by the touch pen 36 are acquired (S51).
5) Then, it is checked whether or not the pressed position is within the display range obtained in S514 (S516). If it is outside the display range (NO in S516), 0 is set in the result variable, that is, a code indicating "out of range" (S517), and the process is ended. On the other hand, if the first pressed position is within the display range (YES in S516), the currently displayed icon /
0 for the front / back flag to indicate whether the button is a front image, a back image, or an inverted image
(Table) is set (S518).

【0041】次に、データファイル76(図9)のデー
タ部におけるアイコン/ボタン判別コードを参照してア
イコンかボタンかを判別することにより、裏イメージデ
ータの有無を調べる(S519)。裏イメージのデータ
がない場合は(S519にてNO)、S514にて求め
た表示範囲内のドットを反転させて、アイコンの反転イ
メージを表示する(S520)。裏イメージデータがあ
れば(S519にてYES)、ボタンの裏イメージをS
512にて取出した座標に表示する(S521)。反転
もしくは裏イメージの表示が完了すれば、表/裏フラグ
に1(裏)をセットする(S522)。
Next, by referring to the icon / button discrimination code in the data portion of the data file 76 (FIG. 9), it is discriminated whether it is an icon or a button to check the presence / absence of back image data (S519). If there is no back image data (NO in S519), the dots within the display range obtained in S514 are reversed to display an inverted image of the icon (S520). If there is back image data (YES in S519), the back image of the button is S
It is displayed at the coordinates taken out at 512 (S521). When the inversion or the back image display is completed, 1 (back) is set to the front / back flag (S522).

【0042】引続いて、現時点でタッチパネル38(図
1)上の押されている座標を取得する(S523)。タ
ッチパネル38から座標を示す出力があれば、すなわち
タッチペン36によってタッチされていれば(S524
にてYES)、その押された位置がS514にて求めた
表示範囲内か否かを調べ(S525)、表示範囲外であ
れば(S525にてNO)、表イメージを表示する(S
526〜S528)。表示範囲内であれば(S525に
てYES)、アイコンの場合には反転イメージを、ま
た、ボタンの場合には、裏イメージをそれぞれ表示する
(S529〜S531)。なお、表示の表と裏を切り替
える際には、表/裏フラグによって現在表示中の状態を
チェックし(S526,S529)、表示切替が不要で
あれば(S526にてYES,S529にてYES)、
そのまま先へ進む。また、表示切替を行なった場合に
は、その直後に表/裏フラグのコードを変更する(S5
28,S531)。
Subsequently, the coordinates currently pressed on the touch panel 38 (FIG. 1) are acquired (S523). If there is an output indicating the coordinates from the touch panel 38, that is, if it is touched by the touch pen 36 (S524).
YES), it is checked whether the pressed position is within the display range obtained in S514 (S525), and if it is outside the display range (NO in S525), a table image is displayed (S).
526-S528). If it is within the display range (YES in S525), an inverted image is displayed for an icon, and a reverse image is displayed for a button (S529 to S531). When switching between the front and back of the display, the current display state is checked by the front / back flag (S526, S529), and if the display switching is unnecessary (YES at S526, YES at S529). ,
Continue to proceed. When the display is switched, the code of the front / back flag is changed immediately after that (S5).
28, S531).

【0043】上述したS523〜S531の処理をタッ
チパネル38上からタッチペン36が離されるまで繰り
返す。タッチパネル38からタッチペン36が離されれ
ば(S524にてNO)、その時点の表/裏フラグをチ
ェックし(S532)、フラグに0がセットされていれ
ば(S532にてYES)、「範囲外」を示すコードで
ある0を結果変数にセットする(S533)。表/裏フ
ラグの値が1であれば(S532にてNO)、アイコン
/ボタンの表示画像を表イメージに戻した後(S53
4)、「範囲内」を示す1を結果変数にセットする(S
535)。結果変数のセットが完了すれば、データファ
イル76をクローズして(S536)、終了する。
The above steps S523 to S531 are repeated until the touch pen 36 is released from the touch panel 38. If the touch pen 36 is released from the touch panel 38 (NO in S524), the front / back flag at that time is checked (S532), and if the flag is set to 0 (YES in S532), “out of range” , Which is a code indicating "," is set to the result variable (S533). If the value of the front / back flag is 1 (NO in S532), the display image of the icon / button is returned to the front image (S53).
4), 1 indicating “within range” is set to the result variable (S
535). When the setting of the result variable is completed, the data file 76 is closed (S536), and the process ends.

【0044】図26ないし図32は、エリア判定プログ
ラム72(図1)のフローチャートである。「ICON
A(結果変数),登録番号,トレースの有無,点滅回
数」が実行されると、エリア判定プログラム72が起動
し、前記トレースプログラム70のS501〜S514
(図21および図22)と同様の手順で、アイコン/ボ
タンの表示範囲を求める(S601〜S614)。次
に、パラメータにおけるトレース指定の有無を判定し
(S615)、トレースの有無を指定するパラメータが
Tでなければ(S615にてNO)、通常のエリア判定
処理へ進む。
26 to 32 are flowcharts of the area determination program 72 (FIG. 1). "ICON
"A (result variable), registration number, presence / absence of trace, number of blinks" is executed, the area determination program 72 is activated, and S501 to S514 of the trace program 70 are executed.
The display range of the icon / button is obtained by the same procedure as (FIGS. 21 and 22) (S601 to S614). Next, the presence / absence of trace designation in the parameter is determined (S615). If the parameter designating the presence / absence of trace is not T (NO in S615), the process proceeds to normal area determination processing.

【0045】通常のエリア判定処理では、タッチパネル
38が押された座標を取得し(S616)、その位置が
S614にて求めたアイコン/ボタンの表示範囲内であ
るか否かを調べる(S617)。押された位置が表示範
囲外であれば(S617にてNO)、エリア判定を指定
するパラメータであるとともに結果変数でもあるAに
「範囲外」であることを示す0をセットする(S61
8)。押された位置が表示範囲内であれば(S617に
てYES)、結果変数Aに「範囲内」の値である1をセ
ットする(S619)。
In the normal area determination processing, the coordinates at which the touch panel 38 is pressed are acquired (S616), and it is checked whether or not the position is within the icon / button display range obtained in S614 (S617). If the pressed position is out of the display range (NO in S617), 0 indicating “out of range” is set in A, which is a parameter that specifies the area determination and is also a result variable (S61).
8). If the pressed position is within the display range (YES in S617), the result variable A is set to "within range", which is 1 (S619).

【0046】一方、トレース指定パラメータにTがセッ
トされている場合は(S615にてYES)、エリア判
定と同時にトレース処理するように、前記トレースプロ
グラム70のS515〜S535(図23ないし図2
5)と同様の処理を行なう(S620〜S640)。
On the other hand, when T is set in the trace designation parameter (YES in S615), the trace program 70 performs steps S515 to S535 (see FIGS. 23 to 2) so that the trace processing is performed simultaneously with the area determination.
The same process as 5) is performed (S620 to S640).

【0047】上述した通常のエリア判定処理(S616
〜S619)、もしくは、エリア判定/トレース処理
(S620〜S640)が完了した時点で、「範囲内」
と判定される場合は(S641にてYES)、前記点滅
プログラム66のS313〜S322(図15および図
16)と同様の手順で、アイコン/ボタンの点滅処理を
行なう(S642〜S651)。処理が完了すればデー
タファイル76をクローズして(S652)、終了す
る。
The normal area determination processing described above (S616
To S619) or when the area determination / trace processing (S620 to S640) is completed, "within range"
If it is determined (YES in S641), the blinking process of the icon / button is performed in the same procedure as S313 to S322 (FIGS. 15 and 16) of the blinking program 66 (S642 to S651). When the process is completed, the data file 76 is closed (S652) and the process is ended.

【0048】図33は、本実施例の電子手帳20をコン
トロールするためのユーザプログラムの一例であり、ア
イコン/ボタンを表示し、そのアイコン/ボタンが選択
されたら3回点滅させて、選択されたことを示す処理を
記述したものである。同図(a)は、アイコン/ボタン
の制御命令である“ICON”を用いたプログラムであ
り、(b)は、従来と同じくBASIC言語の基本命令
のみを用いたものである。従来のプログラムでは、アイ
コン/ボタンの表示を制御するにあたり、多数の図形を
表示したり、座標を判定したりするなどの処理のため
に、複数単位のプログラム命令(制御情報)を組合わせ
て用いなければならない。一方、本実施例のコントロー
ラ22では、ユーザプログラムにおいて、個々のアイコ
ン/ボタンの表示を1単位のプログラム命令で制御でき
るようにしたので、従来と比べてプログラムを簡単に小
さく作成できる。
FIG. 33 shows an example of a user program for controlling the electronic notebook 20 of this embodiment, which displays an icon / button, and when the icon / button is selected, blinks three times and is selected. This is a description of a process indicating that. FIG. 7A shows a program using "ICON" which is an icon / button control command, and FIG. 9B shows only a basic command in the BASIC language as in the conventional case. In the conventional program, when controlling the display of icons / buttons, a plurality of units of program commands (control information) are used in combination for processing such as displaying a large number of figures and determining coordinates. There must be. On the other hand, in the controller 22 of the present embodiment, the display of each icon / button can be controlled by the program command of one unit in the user program, so that the program can be easily made smaller than the conventional one.

【0049】また、本実施例のコントローラ22では、
アイコン/ボタンを個々に識別可能なイメージデータと
してRAM28に格納し、制御命令である“ICON”
のパラメータでアイコンの登録番号を指定することによ
り、任意のアイコンの表示を制御できるようにした。し
たがって、表示するアイコン/ボタンの種類を変更する
ときなどは、ユーザプログラムにおいて指定する番号を
変えるだけで容易に行なえる。さらには、アイコンの形
状を変えるときには、パソコン上でイメージデータを編
集することにより、プログラムを修正することなく対応
できる。
In the controller 22 of this embodiment,
The icon / button is stored in the RAM 28 as individually identifiable image data, and the control command "ICON" is stored.
By specifying the registration number of the icon with the parameter, the display of any icon can be controlled. Therefore, when changing the type of icon / button to be displayed, it can be easily performed by changing the number specified in the user program. Furthermore, when changing the shape of the icon, the image data can be edited on the personal computer without modifying the program.

【0050】以上、本発明を一実施例に基づいて説明し
たが、本発明はこれに限られるものではなく、様々な変
形が可能である。たとえば、本実施例では、アイコン/
ボタンのイメージデータを矩形の表示範囲で取扱うよう
にしたが、アイコン/ボタンの絵柄を外形とする表示範
囲で取扱うようにしてもよい。その場合は、範囲内か外
かの判定を行なうときに、座標による判定ではなく、タ
ッチペン36で押された位置のドットが、黒か白かによ
って判定することも可能である。また、図8にはパソコ
ン上で作成したデータをケーブルを介して電子手帳に送
信する例を示したが、図1に示したICカード48のR
AM52にデータファイル76を格納し、そのICカー
ド48を電子手帳20に装着するという方法を用いても
よい。
The present invention has been described above based on the embodiment, but the present invention is not limited to this, and various modifications can be made. For example, in this embodiment, the icon /
Although the image data of the button is handled in the rectangular display range, it may be handled in the display range in which the picture of the icon / button is the outer shape. In that case, when determining whether it is within or outside the range, it is possible to determine whether the dot at the position pressed by the touch pen 36 is black or white, instead of the coordinate. Further, FIG. 8 shows an example in which data created on a personal computer is transmitted to the electronic notebook via a cable, but the R of the IC card 48 shown in FIG.
A method of storing the data file 76 in the AM 52 and mounting the IC card 48 on the electronic notebook 20 may be used.

【0051】一方、図11ないし図32に示したプログ
ラムの処理内容については、個々の手順は限定されるも
のではなく、本発明の趣旨を逸脱しない範囲で変形が可
能である。また、ユーザプログラムについてはBASI
C言語を用いる例を示し、アイコンの表示を制御するプ
ログラム62〜72はC言語で作成した例を示したが、
両者ともにほかの一般的な高級プログラム言語や機械語
を用いてもよく、場合によっては、制御の対象となる機
器に限定して用いられるような特定の制御用言語を用い
てもよい。
On the other hand, the processing contents of the programs shown in FIGS. 11 to 32 are not limited to individual procedures, and can be modified without departing from the spirit of the present invention. For user programs, see BASI
Although an example using C language is shown and the programs 62 to 72 for controlling the display of icons are created in C language,
Both of them may use other general high-level programming languages or machine languages, and in some cases, may use a specific control language that is limited to the device to be controlled.

【0052】なお、本実施例構成は、電子手帳の制御部
として用いるプログラマブルコントローラを例示した
が、本発明はディスプレイなどの表示部にアイコンを表
示し、対話形式で操作される機器をコントロールするた
めの装置に広く適用できるものである。
Although the configuration of the present embodiment exemplifies the programmable controller used as the control unit of the electronic notebook, the present invention displays the icon on the display unit such as a display and controls the device operated interactively. It can be widely applied to the device.

【0053】[0053]

【発明の効果】以上説明したように本発明のプログラマ
ブルコントローラは、アイコンを用いて対話形式で操作
される機器の制御動作を指定するにあたり、プログラム
において個々のアイコンの表示を1単位の制御情報で制
御できるように構成した。これにより、従来のように1
つのアイコンの表示を制御するために、多数の図形を表
示したり座標値を判定したりするための複数単位の制御
情報を組合わせて用いる必要がなくなり、簡素で、かつ
容易に入力および変更できるプログラムによって機器を
制御することが可能なプログラマブルコントローラを提
供することができる。
As described above, the programmable controller of the present invention uses a unit of control information to display each icon in a program when designating a control operation of a device operated interactively using the icon. It was configured to be controllable. As a result, 1
Controlling the display of one icon eliminates the need to combine a plurality of units of control information for displaying a large number of figures and determining coordinate values, and is simple and easy to input and change. A programmable controller capable of controlling a device by a program can be provided.

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

【図1】本発明の一実施例による電子手帳を制御するた
めのプログラマブルコントローラの概略構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a schematic configuration of a programmable controller for controlling an electronic notebook according to an embodiment of the present invention.

【図2】アイコン画像の表示例を示す図である。FIG. 2 is a diagram showing a display example of an icon image.

【図3】ボタン画像の表示例を示す図である。FIG. 3 is a diagram showing a display example of a button image.

【図4】アイコン/ボタン作成ツールのファイル設定・
選択画面の表示例を示す図である。
[Figure 4] Icon / button creation tool file settings
It is a figure which shows the example of a display of a selection screen.

【図5】アイコン/ボタン作成ツールの作成・編集画面
の表示例を示す図である。
FIG. 5 is a diagram showing a display example of a creation / editing screen of an icon / button creation tool.

【図6】アイコン/ボタン作成ツールの登録・移動・削
除画面の表示例を示す図である。
FIG. 6 is a diagram showing a display example of a registration / movement / deletion screen of an icon / button creation tool.

【図7】アイコン/ボタン作成ツールの呼出画面の表示
例を示す図である。
FIG. 7 is a diagram showing a display example of a call screen of an icon / button creation tool.

【図8】パーソナルコンピュータで作成したアイコン/
ボタンのデータを電子手帳に送信する方法を示す説明図
である。
[Figure 8] Icon / created on a personal computer
It is explanatory drawing which shows the method of transmitting the data of a button to an electronic notebook.

【図9】アイコン/ボタンのデータファイルの構成図で
ある。
FIG. 9 is a configuration diagram of an icon / button data file.

【図10】アイコン/ボタンの表示管理テーブルの構成
図である。
FIG. 10 is a configuration diagram of an icon / button display management table.

【図11】ファイル指定プログラムの処理手順を示すフ
ローチャートである。
FIG. 11 is a flowchart showing a processing procedure of a file designation program.

【図12】表示プログラムの処理手順を示すフローチャ
ートである。
FIG. 12 is a flowchart showing a processing procedure of a display program.

【図13】表示プログラムの処理手順を示すフローチャ
ートである。
FIG. 13 is a flowchart showing a processing procedure of a display program.

【図14】点滅プログラムの処理手順を示すフローチャ
ートである。
FIG. 14 is a flowchart showing a processing procedure of a blinking program.

【図15】点滅プログラムの処理手順を示すフローチャ
ートである。
FIG. 15 is a flowchart showing a processing procedure of a blinking program.

【図16】点滅プログラムの処理手順を示すフローチャ
ートである。
FIG. 16 is a flowchart showing a processing procedure of a blinking program.

【図17】消去プログラムの処理手順を示すフローチャ
ートである。
FIG. 17 is a flowchart showing a processing procedure of an erase program.

【図18】消去プログラムの処理手順を示すフローチャ
ートである。
FIG. 18 is a flowchart showing a processing procedure of an erase program.

【図19】消去プログラムの処理手順を示すフローチャ
ートである。
FIG. 19 is a flowchart showing a processing procedure of an erase program.

【図20】消去プログラムの処理手順を示すフローチャ
ートである。
FIG. 20 is a flowchart showing a processing procedure of an erase program.

【図21】トレースプログラムの処理手順を示すフロー
チャートである。
FIG. 21 is a flowchart showing a processing procedure of a trace program.

【図22】トレースプログラムの処理手順を示すフロー
チャートである。
FIG. 22 is a flowchart showing a processing procedure of a trace program.

【図23】トレースプログラムの処理手順を示すフロー
チャートである。
FIG. 23 is a flowchart showing a processing procedure of a trace program.

【図24】トレースプログラムの処理手順を示すフロー
チャートである。
FIG. 24 is a flowchart showing a processing procedure of a trace program.

【図25】トレースプログラムの処理手順を示すフロー
チャートである。
FIG. 25 is a flowchart showing a processing procedure of a trace program.

【図26】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 26 is a flowchart showing a processing procedure of an area determination program.

【図27】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 27 is a flowchart showing a processing procedure of an area determination program.

【図28】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 28 is a flowchart showing a processing procedure of an area determination program.

【図29】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 29 is a flowchart showing a processing procedure of an area determination program.

【図30】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 30 is a flowchart showing a processing procedure of an area determination program.

【図31】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 31 is a flowchart showing a processing procedure of an area determination program.

【図32】エリア判定プログラムの処理手順を示すフロ
ーチャートである。
FIG. 32 is a flowchart showing a processing procedure of an area determination program.

【図33】電子手帳をコントロールするためのユーザプ
ログラムの一例を示す図である。
FIG. 33 is a diagram showing an example of a user program for controlling an electronic notebook.

【図34】従来のプログラマブルコントローラにおいて
アイコン画像を大小対数の矩形に分割した状態を示す説
明図である。
FIG. 34 is an explanatory diagram showing a state in which an icon image is divided into rectangles of large and small logarithms in a conventional programmable controller.

【図35】従来のプログラマブルコントローラにおいて
長方形の範囲を塗りつぶしてアイコン画像を反転させた
状態を示す説明図である。
FIG. 35 is an explanatory diagram showing a state in which a rectangular range is filled and an icon image is inverted in a conventional programmable controller.

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

20 電子手帳 22 プログラマブルコントローラ 24 CPU 26 ROM 28 RAM 30 キー 32 液晶ディスプレイ 62 ファイル指定プログラム 64 表示プログラム 66 点滅プログラム 68 消去プログラム 70 トレースプログラム 72 エリア判定プログラム 74 ユーザプログラム 76 データファイル 20 Electronic Notebook 22 Programmable Controller 24 CPU 26 ROM 28 RAM 30 Key 32 Liquid Crystal Display 62 File Designation Program 64 Display Program 66 Blinking Program 68 Erase Program 70 Trace Program 72 Area Judgment Program 74 User Program 76 Data File

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 表示部により表示されたアイコンを用い
て対話形式で操作される機器をコントロールする装置で
あって、 前記機器の動作を制御する手順を示すプログラムを入力
するための入力手段と、 前記入力手段に接続され、この入力手段によって入力さ
れたプログラムを格納するための第1の記憶手段と、 前記第1の記憶手段に格納されたプログラムに含まれる
制御情報に基づいて、前記機器の動作を制御する制御信
号を出力するための制御手段と、 アイコンのイメージデータを格納するための第2の記憶
手段と、 前記制御手段と第2の記憶手段とに接続され、前記第1
の記憶手段に格納されたプログラムに含まれる1単位の
アイコン制御情報に基づいて前記制御手段から出力され
るアイコン制御信号に応答し、この信号が指定するアイ
コンのイメージデータを前記第2の記憶手段から読出し
て該アイコンの前記表示部による表示を制御するための
表示制御手段とを含むアイコン制御機能を有したプログ
ラマブルコントローラ。
1. An apparatus for controlling a device that is interactively operated by using an icon displayed on a display unit, and an input unit for inputting a program showing a procedure for controlling the operation of the device. A first storage unit connected to the input unit for storing a program input by the input unit; and, based on control information included in the program stored in the first storage unit, the device A control means for outputting a control signal for controlling the operation, a second storage means for storing the image data of the icon, and a first storage means connected to the control means and the second storage means.
In response to an icon control signal output from the control means on the basis of one unit of icon control information contained in the program stored in the storage means of the second storage means. A programmable controller having an icon control function, comprising: a display control unit for controlling the display of the icon by the display unit read from the display unit.
JP5068577A 1993-03-26 1993-03-26 Programmable controller with icon control function Withdrawn JPH06282427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5068577A JPH06282427A (en) 1993-03-26 1993-03-26 Programmable controller with icon control function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5068577A JPH06282427A (en) 1993-03-26 1993-03-26 Programmable controller with icon control function

Publications (1)

Publication Number Publication Date
JPH06282427A true JPH06282427A (en) 1994-10-07

Family

ID=13377776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5068577A Withdrawn JPH06282427A (en) 1993-03-26 1993-03-26 Programmable controller with icon control function

Country Status (1)

Country Link
JP (1) JPH06282427A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus
US8368904B2 (en) 2006-05-26 2013-02-05 Kyocera Document Solutions Inc. Image forming device

Similar Documents

Publication Publication Date Title
US5986639A (en) Apparatus and method for extending a reactive area on a display screen
US5157768A (en) Method and apparatus for displaying context sensitive help information on a display
JP3486459B2 (en) Electronic information equipment and control method thereof
EP0249399A2 (en) Multiwindow control method and apparatus for work station having multiwindow function
US7742095B2 (en) Information processing apparatus, method and storage medium
US6335740B1 (en) Data processing apparatus and method for facilitating item selection by displaying guidance images
JPH0749760A (en) Word processor
JPH06259217A (en) Multiwindow system
US6304276B1 (en) Data processing device and data processing method
US5504850A (en) Data processing apparatus with headline representation
JPH0561405A (en) In-figure name display device
JPH06282427A (en) Programmable controller with icon control function
JP3268029B2 (en) Handwriting input device
JPS644189B2 (en)
JP2803298B2 (en) Information processing apparatus and menu display method
JP3048748B2 (en) Pen input method and pen input system
JPH0470925A (en) Help message display system
JPH01191269A (en) Image controller
JPH0245878A (en) Interactive cad system
JPH056230B2 (en)
JPH07295778A (en) Document storage system
JPH01290065A (en) Document processor
JPH047633A (en) Information processor
JP3521212B2 (en) Multi-window computer system
JPH02204792A (en) Crt display device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000530