JPH11143637A - Touch panel controller and its method - Google Patents

Touch panel controller and its method

Info

Publication number
JPH11143637A
JPH11143637A JP30675697A JP30675697A JPH11143637A JP H11143637 A JPH11143637 A JP H11143637A JP 30675697 A JP30675697 A JP 30675697A JP 30675697 A JP30675697 A JP 30675697A JP H11143637 A JPH11143637 A JP H11143637A
Authority
JP
Japan
Prior art keywords
touch panel
memory space
state
interrupt signal
stored
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.)
Granted
Application number
JP30675697A
Other languages
Japanese (ja)
Other versions
JP3562266B2 (en
Inventor
Junichi Hamanaka
淳一 濱中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP30675697A priority Critical patent/JP3562266B2/en
Publication of JPH11143637A publication Critical patent/JPH11143637A/en
Application granted granted Critical
Publication of JP3562266B2 publication Critical patent/JP3562266B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To restrict chattering and also to surely detect the depression of a touch panel by permitting a detection control means for detecting the input position of the touch panel to add information stored by means of a last time interrupting signal to this time information to store it. SOLUTION: A CPU 21 of a monitor device 2 receives the interrupting signal of a key gate array (key G/A) 27, stores information of the touch panel 23 and also investigate a position where the touch panel 23 is depressed and the position where it is not depressed. Then, the CPU 21 starts counting by the interrupting signal of the key G/A 27 and holds the state of the touch panel 23 just before interruption even at the time of the interruption of the new key G/A 27 for a time of about 40 m sec being the one when chattering generally occurs. Thus, chattering which ON/OFF within a prescribed time is repeated is prevented and also information by newly depressing the touch panel 23 is surely detected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プログラマブル
コントローラなどを介してロボットや数値制御装置の状
況をモニタするモニタ装置における表示画面の表面に装
備されたタッチパネルの操作時に発生するチャタリング
を抑制するタッチパネルのチャタリング制御手段及び制
御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a touch panel for suppressing chattering that occurs when operating a touch panel provided on the surface of a display screen in a monitor device for monitoring the status of a robot or a numerical controller via a programmable controller or the like. The present invention relates to chattering control means and a control method.

【0002】[0002]

【従来の技術】図7は、画面データ編集装置であるパソ
コンとモニタ装置とプログラマブルコントローラ(以
下、PCと称す)とを有する従来のモニタシステムのハ
ードウェアブロック図である。図において、1はロボッ
トや数値制御装置等の制御対象機器を制御するPC、2
AはPC1から送れてきたデバイス値などを表示した
り、PC1のデバイス値の強制的なセットなどを行うモ
ニタ装置、3はモニタ装置2Aで表示する画面データの
作成などを行うパソコンである。
2. Description of the Related Art FIG. 7 is a hardware block diagram of a conventional monitor system having a personal computer as a screen data editing device, a monitor device, and a programmable controller (hereinafter, referred to as PC). In the figure, reference numeral 1 denotes a PC for controlling a device to be controlled such as a robot or a numerical control device;
A is a monitor for displaying device values sent from the PC 1 and forcibly setting device values of the PC 1, and 3 is a personal computer for creating screen data to be displayed on the monitor 2A.

【0003】PC1において、11はCPU、12はモ
ニタ装置2Aと交信するためのモニタ装置I/F、13
はPC1のシステムプログラム/シーケンスプログラム
/デバイス値などが格納されるメモリである。
In the PC 1, 11 is a CPU, 12 is a monitor I / F for communicating with the monitor 2A, 13
Is a memory in which system programs / sequence programs / device values of the PC 1 are stored.

【0004】モニタ装置2Aにおいて、21AはCP
U、22はタッチパネル23を装備した表示装置である
CRT、24は電気的に書き込み/消去ができる不揮発
性メモリであるフラッシュメモリ(EEPROMとも称
す)であり、例えば、画面の輝度/ブザーの音量/ユー
ザ作成の画面データ等のユーザデータが格納されてい
る。25Aはシステムプログラムが格納されたROM、
26はDRAM、27はタッチパネル23の状態をDR
AM26内に保存するためのキーゲートアレイ(以下、
キーG/Aと称す)であり、タッチパネル23において
表面のすべて、または、一部が押されている状態から放
されている状態へ、あるいは放されている状態から押さ
れている状態へ変化したかを判定し、その変化後のタッ
チパネルの状態を記憶する。28はパソコンと交信する
ためのパソコンインターフェース(以下、パソコンI/
Fと称す)、29はPCと交信するためのPCI/Fで
ある。
In the monitor device 2A, 21A is a CP.
Reference numerals U and 22 denote a CRT, which is a display device equipped with a touch panel 23, and a flash memory (also referred to as an EEPROM), which is a nonvolatile memory which can be electrically written / erased. User data such as screen data created by the user is stored. 25A is a ROM in which a system program is stored,
26 is a DRAM, and 27 is a state of the touch panel 23.
A key gate array for storing in the AM 26 (hereinafter, referred to as a key gate array)
Key G / A), and all or part of the surface of the touch panel 23 has changed from being pressed to being released, or from being released to being being pressed. Is determined, and the state of the touch panel after the change is stored. Reference numeral 28 denotes a personal computer interface (hereinafter referred to as a personal computer I / O) for communicating with a personal computer.
F), and 29 is a PCI / F for communicating with a PC.

【0005】パソコン3において、31はCPU、32
はモニタ装置と交信するためのパソコンのモニタ装置I
/F、33はパソコンで動作するプログラムや画面デー
タが格納されるメモリ、34はCRT、35はキーボー
ドである。
[0005] In the personal computer 3, reference numeral 31 denotes a CPU;
Is a personal computer monitor device I for communicating with the monitor device.
/ F, 33 is a memory for storing programs and screen data operated on the personal computer, 34 is a CRT, and 35 is a keyboard.

【0006】図8は、図7で示されるモニタシステムに
おける機能ブロック図である。PC1において、101
はモニタ装置2AのPCI/F機能201とのデータを
やり取りするためのモニタ装置I/F機能、102はP
C1のメモリ13上に設定されるデバイス値領域であ
る。
FIG. 8 is a functional block diagram of the monitor system shown in FIG. In PC1, 101
Is a monitor device I / F function for exchanging data with the PCI / F function 201 of the monitor device 2A, and 102 is P
This is a device value area set on the memory 13 of C1.

【0007】モニタ装置2Aにおいて、201はPC1
のモニタI/F機能101とのデータをやり取りするた
めのPCI/F機能であり、PC1から送られてくるデ
バイス値データをDRAM26内のデバイス値領域20
2へ格納する。203はパソコン3のモニタ装置I/F
機能301とのデータをやり取りするためのパソコンI
/F機能であり、パソコン3から送られてくる画面デー
タを画面データ領域204へ格納すると共に、画面デー
タに記述されているデバイス等をデバイス登録領域20
5に登録する。206はデバイス値領域202に格納さ
れているPC1からのデバイス値と、画面データ領域2
04に格納されている画面データとに基づきCRT22
に画面表示する表示機能、207はタッチパネル23表
面の状態を読み取り、DRAM26内のタッチパネル状
態登録領域208に格納するタッチパネル読取機能、2
09はタッチパネル状態登録領域208に基づきタッチ
パネル23表面で押されている状態から放されている状
態へ変化した位置と放されている状態から押されている
状態へ変化した位置を調査し、この変化に基づきDRA
M26内のデバイス登録領域205に記述されたデバイ
ス動作をDRAM26内のデバイス値書込領域210に
登録するタッチパネルON/OFF読取機能である。
In the monitor device 2A, reference numeral 201 denotes a PC1.
Is a PCI I / F function for exchanging data with the monitor I / F function 101 of the device 26. The device value data sent from the PC 1 is stored in the device value area 20 in the DRAM 26.
Stored in 2. 203 is a monitor I / F of the personal computer 3
A personal computer I for exchanging data with the function 301
/ F function, stores the screen data sent from the personal computer 3 in the screen data area 204, and stores the device or the like described in the screen data in the device registration area 20.
Register to 5. Reference numeral 206 denotes a device value from the PC 1 stored in the device value area 202 and a screen data area 2
CRT 22 based on the screen data stored in
A display function 207 displays a screen on the touch panel. A touch panel reading function 207 reads the state of the surface of the touch panel 23 and stores the state in the touch panel state registration area 208 in the DRAM 26.
A step 09 examines the position where the state changed from being pressed on the surface of the touch panel 23 to the released state and the position where the state changed from the released state to the pressed state based on the touch panel state registration area 208. DRA based on
This is a touch panel ON / OFF reading function for registering a device operation described in the device registration area 205 in the M26 in the device value writing area 210 in the DRAM 26.

【0008】パソコン装置3において、301はモニタ
装置2AのパソコンI/F機能203とのデータをやり
取りするためのモニタ装置I/F機能であり、メモリ3
3内の画面データ領域302に格納されている画面デー
タをモニタ装置へ送信する。303はキーボード35か
らの入力に基づき画面データを作成し、画面データ領域
302に格納する画面設定機能である。
In the personal computer device 3, reference numeral 301 denotes a monitor device I / F function for exchanging data with the personal computer I / F function 203 of the monitor device 2A.
3 transmits the screen data stored in the screen data area 302 to the monitor device. A screen setting function 303 creates screen data based on an input from the keyboard 35 and stores the screen data in the screen data area 302.

【0009】図8を用いて、モニタシステムにおける概
略動作について説明する。PC1が保有する制御対象機
器等のデバイス値は、モニタ装置I/F機能101、P
CI/F機能201を介してデバイス値領域202に格
納される。また、パソコン3では、モニタ装置2AのC
RT22画面に表示するための画面データがキーボード
35により入力され、モニタ装置I/F機能301、パ
ソコンI/F機能203を介して画面データが画面デー
タ領域204に、デバイスがデバイス登録領域205に
格納される。モニタ装置2Aの表示機能206は、デバ
イス値領域202及び画面データ領域204にそれぞれ
格納されているデータに基づき、CRT22に対して画
面表示を行う。
The general operation of the monitor system will be described with reference to FIG. The device values of the control target device and the like held by the PC 1 are determined by the monitor device I / F function 101, P
The information is stored in the device value area 202 via the CI / F function 201. In the personal computer 3, the C of the monitor device 2A is
Screen data to be displayed on the RT22 screen is input by the keyboard 35, and the screen data is stored in the screen data area 204 and the device is stored in the device registration area 205 via the monitor I / F function 301 and the personal computer I / F function 203. Is done. The display function 206 of the monitor device 2A displays a screen on the CRT 22 based on data stored in the device value area 202 and the screen data area 204, respectively.

【0010】一方、CRT22画面上に表示されている
画面情報に基づき、タッチパネル23を操作することに
より、タッチパネル読取機能207が、タッチパネル2
3上の状態をタッチパネル状態登録領域208に格納
し、該状態をタッチパネルON/OFF読取機能209
により読み取り、所定の変化に基づきデバイス登録領域
205に記述されたデバイス動作をデバイス値書込領域
210に登録する。
On the other hand, by operating the touch panel 23 based on the screen information displayed on the CRT 22 screen, the touch panel reading function 207
3 is stored in the touch panel status registration area 208, and the status is stored in the touch panel ON / OFF reading function 209.
The device operation described in the device registration area 205 is registered in the device value writing area 210 based on a predetermined change.

【0011】図9は、モニタ装置1におけるCPU21
Aがタッチパネル23の状態を記憶するメモリ空間の様
子を示す図である。図9において、261はキーG/A
27がタッチパネル23の状態を記憶するためのメモリ
空間であり、DRAM26内のタッチパネル状態登録領
域208に確保されている。具体的には、タッチパネル
23が押されている位置を「1」、放されている位置を
「0」としてタッチパネル23のキー配列と同じ位置の
第1メモリ空間261に記憶する。262、263、2
64はキーG/A27が第1メモリ空間261に記憶し
たタッチパネルの状態をCPU21Aが記憶するための
メモリ空間であり、DRAM26内に確保されている。
この例では、このメモリ空間は3個である。
FIG. 9 shows the CPU 21 of the monitor device 1.
FIG. 2A is a diagram illustrating a state of a memory space in which a state of the touch panel 23 is stored. In FIG. 9, reference numeral 261 denotes a key G / A
Reference numeral 27 denotes a memory space for storing the state of the touch panel 23, which is secured in a touch panel state registration area 208 in the DRAM 26. Specifically, the position where the touch panel 23 is pressed is stored as “1”, and the released position is stored as “0” in the first memory space 261 at the same position as the key arrangement of the touch panel 23. 262, 263, 2
Reference numeral 64 denotes a memory space for the CPU 21A to store the state of the touch panel stored in the first memory space 261 by the key G / A 27, and is reserved in the DRAM 26.
In this example, this memory space is three.

【0012】キーG/A27は、タッチパネル23の状
態が変化するごとにCPU21Aへ割込み信号を送り、
また、第1メモリ空間261にタッチパネルの状態を記
憶する。CPU21Aは、キーG/A27の割込み信号
を受け、第1メモリ空間261に記憶されたタッチパネ
ルの情報をキーG/A27が第1メモリ空間261にタ
ッチパネルの状態を記憶するごとに第2メモリ空間26
2、263、264の順に記憶する。CPU21Aは、
第2メモリ空間262、263、264の順にタッチパ
ネル23の押されている位置と放されている位置を調査
する。
The key G / A 27 sends an interrupt signal to the CPU 21A every time the state of the touch panel 23 changes,
The state of the touch panel is stored in the first memory space 261. The CPU 21A receives the interrupt signal of the key G / A 27 and updates the information of the touch panel stored in the first memory space 261 every time the key G / A 27 stores the state of the touch panel in the first memory space 261.
2, 263, and 264 are stored in this order. The CPU 21A
The pressed position and the released position of the touch panel 23 are examined in the order of the second memory spaces 262, 263, and 264.

【0013】次に、図10のフローチャートを用いて動
作について説明する。なお、図10のフローは、タッチ
パネル23の表面のすべて、または、一部が押されてい
る状態から放されている状態に変化すること、あるい
は、放されている状態から押されている状態に変化する
ことによってが開始される。図9aに示すように、作業
者がタッチパネル23表面(左から3つ目かつ上から1
つ目)を押すことにより、その情報をキーG/A27が
第1メモリ空間261に記憶(ステップS21)し、C
PU21Aに対して、タッチパネル23の状態が変化し
たことを通知する割込み信号を出力する。CPU21A
では、割込み信号を受信すると、第1メモリ空間261
に記憶された情報を第2メモリ空間262に記憶(ステ
ップS22)し、ステップS23に移行する。ステップ
S23では、CPU21Aは第2メモリ空間262を調
査する(例えば、注目する位置を左上から右下まで順番
に動かし、その位置の情報が「1」であるのか「0」で
あるのかを調べる)ことによってタッチパネル表面の左
から3つ目かつ上から1つ目が押されていることと、そ
の他の場所が放されていることを検出する。
Next, the operation will be described with reference to the flowchart of FIG. Note that the flow of FIG. 10 corresponds to a state in which all or part of the surface of the touch panel 23 changes from a pressed state to a released state, or a state in which the released state is pressed. It starts by changing. As shown in FIG. 9A, the worker touches the surface of the touch panel 23 (third from the left and one from the top).
Key G / A 27 stores the information in the first memory space 261 (step S21).
An interrupt signal for notifying that the state of the touch panel 23 has changed is output to the PU 21A. CPU 21A
Then, upon receiving the interrupt signal, the first memory space 261
Is stored in the second memory space 262 (step S22), and the process proceeds to step S23. In step S23, the CPU 21A checks the second memory space 262 (for example, moves the position of interest in order from the upper left to the lower right, and checks whether the information of the position is "1" or "0"). Accordingly, it is detected that the third and the first from the left of the touch panel surface are pressed and that the other places are released.

【0014】その後、図9bに示すように、作業者がタ
ッチパネル23表面から手を放すことにより、その情報
(タッチパネル表面が何も押されていない情報)をキー
G/A27が第1メモリ空間261に記憶する。そし
て、CPU21Aは第1メモリ空間261に記憶された
情報を次のメモリ空間263に記憶する。CPU21A
は、メモリ空間263を調査することによってタッチパ
ネル表面が押されていないことを検出する。
After that, as shown in FIG. 9B, when the operator releases his / her hand from the surface of the touch panel 23, the key G / A 27 stores the information (information in which nothing is pressed on the surface of the touch panel) in the first memory space 261. To memorize. Then, the CPU 21A stores the information stored in the first memory space 261 in the next memory space 263. CPU 21A
Detects that the touch panel surface is not pressed by examining the memory space 263.

【0015】次に、タッチパネルの動作に伴うモニタ装
置の動作について説明する。タッチパネル23の所定箇
所が押されると、CPU21Aはタッチパネル23の押
された位置からデバイス登録領域205に記述された中
でその位置と押された動作に該当するデバイス動作、例
えばPC1のデバイスを強制セットする等の動作をデバ
イス値書き込み領域210に登録する。そして、タッチ
パネルを放すと、CPU21Aはタッチパネルの放され
た位置からデバイス登録領域205に記述された中でそ
の位置と放された動作に該当するデバイス動作、例えば
PC3のデバイスを強制リセットする動作をデバイス書
き込み領域210に登録する。
Next, the operation of the monitor device accompanying the operation of the touch panel will be described. When a predetermined position on the touch panel 23 is pressed, the CPU 21A forcibly sets the device operation corresponding to the position and the pressed operation in the device registration area 205 from the pressed position on the touch panel 23, for example, the device of the PC1. The operation such as performing is registered in the device value writing area 210. Then, when the touch panel is released, the CPU 21A executes a device operation corresponding to the position and the released operation described in the device registration area 205 from the position where the touch panel is released, for example, an operation of forcibly resetting the device of the PC3. Register in the writing area 210.

【0016】[0016]

【発明が解決しようとする課題】上記のような従来のモ
ニタシステムでは、例えば、図9aの状態から図9bの
状態への変化が、20msec以内の短時間であって
も、キーG/A27がタッチパネルの状態を検出し、変
化に伴う割込み信号をCPU21Aに送出し、該CPU
21Aがメモリ空間を調査することによりタッチパネル
の変化を検出してしまう。ここで、タッチパネルの操作
は人が指で押すので、特にタッチパネルに抵抗薄膜式を
用いている場合、タッチパネルが押されている状態か放
されている状態かを区別できない微妙な状態になり、こ
のときタッチパネルの状態は押されている状態と放され
ている状態とが短時間の内に繰り返される。タッチパネ
ルON/OFF読取機能209は、タッチパネルの状態
が変化する度に動作するので、操作者が意図してタッチ
パネルから手を放していなくてもモニタ装置はタッチパ
ネルから手が放されたような動作をするという問題点、
つまりチャタリングが発生する。
In the conventional monitor system as described above, for example, even if the change from the state of FIG. 9A to the state of FIG. The state of the touch panel is detected, and an interrupt signal accompanying the change is sent to the CPU 21A.
21A detects a change in the touch panel by examining the memory space. Here, since a person presses the touch panel with a finger, especially when a resistive thin film type is used for the touch panel, the touch panel is in a delicate state where it cannot be distinguished between the pressed state and the released state. When the touch panel is pressed, the pressed state and the released state are repeated within a short time. Since the touch panel ON / OFF reading function 209 operates each time the state of the touch panel changes, the monitor device performs an operation as if the hand was released from the touch panel even if the operator did not intentionally release the hand from the touch panel. The problem of doing
That is, chattering occurs.

【0017】この発明は、かかる問題点を解決するため
になされたもので、チャタリングを抑制することを目的
とする。また、チャタリングの抑制と共に、タッチパネ
ルの押下は確実に検出することを目的とする。
The present invention has been made to solve such a problem, and has as its object to suppress chattering. It is another object of the present invention to suppress chattering and to reliably detect a press on the touch panel.

【0018】[0018]

【課題を解決するための手段】この発明は、タッチパネ
ルの入力変化を検出し、変化後の状態を第1メモリ空間
に記憶すると共に、タッチパネル入力変化を示す割込み
信号を出力する入力制御手段と、この入力制御手段から
の割込み信号ごとに、上記タッチパネルの状態を上記第
1メモリ空間から所定の第2メモリ空間に対して記憶
し、該第2メモリ空間を調査することにより上記タッチ
パネルの入力位置を検出する検出制御手段と、を備えた
タッチパネル制御装置において、上記検出制御手段は、
上記入力制御手段からの割込み信号を入力する度に、前
回の割込み信号により上記第2メモリ空間に記憶されて
いる情報を、今回新たに発生した割込み信号に基づく第
1メモリ空間の情報に付加し、上記第2メモリ空間に記
憶するようにしたものである。
According to the present invention, there is provided an input control means for detecting an input change of a touch panel, storing a state after the change in a first memory space, and outputting an interrupt signal indicating the change of the touch panel input; For each interrupt signal from the input control means, the state of the touch panel is stored from the first memory space to a predetermined second memory space, and the input position of the touch panel is determined by examining the second memory space. Detection control means for detecting, in the touch panel control device, wherein the detection control means,
Each time an interrupt signal is input from the input control means, the information stored in the second memory space by the previous interrupt signal is added to the information in the first memory space based on the newly generated interrupt signal. , In the second memory space.

【0019】また、第2メモリ空間を複数設け、割込み
信号発生毎に異なる上記第2メモリ空間に対して順番に
格納するようにしたものである。
Further, a plurality of second memory spaces are provided, and are sequentially stored in the second memory space, which is different every time an interrupt signal is generated.

【0020】また、前回の割込み信号から今回新たに発
生した割込み信号までの時間を計測し、この時間が所定
時間を超えた場合は、前回の割込み信号により記憶され
ている情報を、今回新たに発生した割込み信号に基づく
第2メモリ空間への情報に付加しないようにしたもので
ある。
The time from the previous interrupt signal to the newly generated interrupt signal is measured, and if this time exceeds a predetermined time, the information stored by the previous interrupt signal is newly added to the current time. The information is not added to the information in the second memory space based on the generated interrupt signal.

【0021】さらに、所定時間変更手段を備え、前回の
割込み信号から今回新たに発生した割込み信号までの時
間と比較するための所定時間を変更するようにしたもの
である。
Further, a predetermined time changing means is provided for changing a predetermined time for comparing with a time from a previous interrupt signal to a newly generated interrupt signal.

【0022】また、この発明にかかるタッチパネルの制
御方法は、タッチパネルの入力変化を件出し、変化後の
状態を第1メモリ空間に記憶する工程と、第1メモリ空
間に格納された今回のタッチパネルの状態に、前回のタ
ッチパネルの状態を付加し、第1メモリ空間から第2メ
モリ空間に格納する工程と、第2メモリ空間に格納され
た情報に基づき、上記タッチパネルの入力変化を検出す
る工程と、を備えたものである。
Further, the touch panel control method according to the present invention includes a step of detecting a change in the input of the touch panel, storing the changed state in the first memory space, and a method of controlling the current touch panel stored in the first memory space. Adding a previous touch panel state to the state and storing the state from the first memory space to the second memory space; and detecting an input change of the touch panel based on information stored in the second memory space; It is provided with.

【0023】また、タッチパネルの入力変化を件出し、
変化後の状態を第1メモリ空間に記憶すると共に、タッ
チパネル入力変化を示す割込み信号を出力する工程と、
この割込み信号ごとにカウントを開始し、このカウント
値と予め設定された所定値と比較することにより、上記
カウント値が上記所定値を超えた場合は上記第1メモリ
空間に記憶された上記タッチパネルの状態を第2メモリ
空間に記憶し、上記カウント値が上記所定値以下の場合
は、第1メモリ空間に格納された今回のタッチパネルの
状態に、前回のタッチパネルの状態を付加し、第1メモ
リ空間から第2メモリ空間に格納する工程と、第2メモ
リ空間に格納された情報に基づき、上記タッチパネルの
入力変化を検出する工程と、を備えたものである。
In addition, an input change of the touch panel is detected.
Storing the changed state in the first memory space and outputting an interrupt signal indicating a change in touch panel input;
A count is started for each interrupt signal, and by comparing this count value with a predetermined value set in advance, when the count value exceeds the predetermined value, the touch panel stored in the first memory space is displayed. The state is stored in the second memory space, and when the count value is equal to or less than the predetermined value, the state of the previous touch panel is added to the state of the current touch panel stored in the first memory space, and the first memory space is added. To a second memory space, and a step of detecting an input change of the touch panel based on the information stored in the second memory space.

【0024】[0024]

【発明の実施の形態】実施の形態1.図1は、この発明
におけるモニタ装置のブロック図である。図において、
1はロボットや数値制御装置等の制御対象機器を制御す
るPC、2はPC1から送られてくる入出力デバイスの
デバイス値などを表示したり、PC1へデバイス値を送
りデバイス値の強制的なセットなどを行うモニタ装置、
3はモニタ装置2で表示する画面データの作成などを行
うパソコンである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram of a monitor device according to the present invention. In the figure,
Reference numeral 1 denotes a PC for controlling a device to be controlled such as a robot or a numerical controller, and 2 denotes a device value of an input / output device sent from the PC 1 or sends a device value to the PC 1 to forcibly set the device value. A monitor device that performs
Reference numeral 3 denotes a personal computer that creates screen data to be displayed on the monitor device 2.

【0025】PC1において、11はCPU、12はモ
ニタ装置2と交信するためのモニタ装置I/F、13は
PC1のシステムプログラム/シーケンスプログラム/
デバイス値などが格納されるメモリである。
In the PC 1, 11 is a CPU, 12 is a monitor I / F for communicating with the monitor 2, and 13 is a system program / sequence program / PC of the PC 1.
This is a memory for storing device values and the like.

【0026】モニタ装置2において、21はROM25
に格納されたプログラムを実行する演算処理装置である
CPUであり、検出制御手段と機能としてタッチパネル
読取機能、タッチパネルON/OFF読取機能を有して
いる。22はタッチパネル23を装備した表示装置とし
てのCRT、24は電気的に書き込み/消去ができる不
揮発性メモリであるフラッシュメモリであり、例えば、
画面の輝度/ブザーの音量/ユーザ作成の画面データ等
のユーザデータが格納されている。25はシステムプロ
グラムが格納されたROM、26はDRAM、27はタ
ッチパネル23の状態をDRAM26内に保存する入力
制御手段としてのキーG/Aであり、タッチパネル23
において表面のすべて、または、一部が押されている状
態から放されている状態へ、あるいは放されている状態
から押されている状態へ変化したかを判定し、その変化
後のタッチパネルの状態を記憶すると共に、タッチパネ
ル入力変化を示す割込み信号を出力する。28はパソコ
ンと交信するためのパソコンI/F、29はPCと交信
するためのPCI/Fである。
In the monitor device 2, reference numeral 21 denotes a ROM 25
The CPU is an arithmetic processing unit that executes a program stored in the CPU, and has a touch panel reading function and a touch panel ON / OFF reading function as detection control means and functions. Reference numeral 22 denotes a CRT as a display device equipped with a touch panel 23, and 24 denotes a flash memory which is a nonvolatile memory which can be electrically written / erased.
User data such as screen brightness / buzzer volume / screen data created by the user is stored. Reference numeral 25 denotes a ROM in which a system program is stored; 26, a DRAM; 27, a key G / A as input control means for storing the state of the touch panel 23 in the DRAM 26;
Determines whether all or part of the surface has changed from the pressed state to the released state, or from the released state to the pressed state, and the state of the touch panel after the change And outputs an interrupt signal indicating a touch panel input change. 28 is a personal computer I / F for communicating with a personal computer, and 29 is a PCI I / F for communicating with a PC.

【0027】パソコン3において、31はCPU、32
はモニタ装置と交信するためのパソコンのモニタ装置I
/F、33はパソコンで動作するプログラムや画面デー
タが格納されるメモリ、34はCRT、35はキーボー
ドである。
In the personal computer 3, 31 is a CPU, 32
Is a personal computer monitor device I for communicating with the monitor device.
/ F, 33 is a memory for storing programs and screen data operated on the personal computer, 34 is a CRT, and 35 is a keyboard.

【0028】図2及び図3は、CPU21がタッチパネ
ルの状態を記憶するメモリ空間の様子を示す図であり、
図2a、図2b、図3a、図3bといった時系列でタッ
チパネル23が押された状態を示している。図におい
て、21はCPU、23はタッチパネル、27はタッチ
パネル23において表面のすべて、または、一部が押さ
れている状態から放されている状態へ、あるいは、放さ
れている状態から押されている状態へ変化したかを判定
し、タッチパネル23の状態が変化するごとにその変化
後のタッチパネルの状態を記憶すると共に、CPU21
に対して割込み信号を出力することによりタッチパネル
23を介した入力の変化を通知するキーG/Aである。
FIGS. 2 and 3 are views showing a state of a memory space in which the CPU 21 stores the state of the touch panel.
2A, 2B, 3A, and 3B show states in which the touch panel 23 is pressed in a time series. In the figure, reference numeral 21 denotes a CPU, 23 denotes a touch panel, and 27 denotes a touch panel 23 in which all or a part of the surface is pressed from a pressed state to a released state or from a released state. Each time the state of the touch panel 23 changes, the state of the touch panel after the change is stored.
Is a key G / A for notifying a change in input via the touch panel 23 by outputting an interrupt signal to the key G / A.

【0029】261はキーG/A27がタッチパネル2
3の状態を記憶するためのDRAM26内に設けられた
第1メモリ空間で、例えば、タッチパネル23が押され
ている位置を「1」、放されている位置を「0」として
タッチパネル23のキー配列と同じ位置に対応してい
る。262、263、264はキーG/A27が第1メ
モリ空間261に記憶したタッチパネル23の状態をC
PU21が記憶するためのDRAM26内に領域が確保
されている第2メモリ空間で、本実施の形態では、この
第2メモリ空間は3個として説明する。
261 is a key G / A 27 is a touch panel 2
In the first memory space provided in the DRAM 26 for storing the state of the touch panel 3, for example, the position where the touch panel 23 is pressed is "1" and the position where the touch panel 23 is released is "0", and the key arrangement of the touch panel 23 It corresponds to the same position as. 262, 263, and 264 indicate the state of the touch panel 23 stored in the first memory space 261 by the key G / A 27 as C.
This is a second memory space in which an area is secured in the DRAM 26 for storing the PU 21. In the present embodiment, the second memory space will be described as three.

【0030】なお、CPU21は、キーG/A27の割
込み信号を受け、第1メモリ空間261に記憶されたタ
ッチパネル23の情報をキーG/A27が第1メモリ空
間261にタッチパネルの状態を記憶するごとに第2メ
モリ空間262、263、264の順に記憶するととも
に、第2メモリ空間262、263、264の順にタッ
チパネルの押されている位置と放されている位置を調査
する。
The CPU 21 receives the interrupt signal of the key G / A 27 and updates the information of the touch panel 23 stored in the first memory space 261 each time the key G / A 27 stores the state of the touch panel in the first memory space 261. Are stored in the order of the second memory spaces 262, 263, and 264, and the pressed position and the released position of the touch panel are examined in the order of the second memory spaces 262, 263, and 264.

【0031】次に、図4で示されるモニタ装置における
キーG/A27の動作フローチャートを用いて説明す
る。タッチパネルの表面の全て、または一部が押されて
いる状態から放されている状態への変化、或いは、放さ
れている状態から押されている状態への変化によって、
図4のフローが起動される。図2aの如く、CRT22
画面上に表示されている画面情報に基づき、タッチパネ
ル23を操作することにより、タッチパネル表面の左か
ら3つ目かつ上から1つ目のみが押されると(ステップ
S1)、ステップS2において、キーG/A27がタッ
チパネルの押されている位置を「1」、放されている位
置を「0」としてタッチパネル23のキー配列と同じ位
置の第1メモリ空間261に記憶し、ステップS3にお
いてCPU21に対して割込み信号を出力する。キーG
/A27は、図4で示されるフローチャートを継続して
行い、タッチパネル23が変化する度にCPU21に対
して割り込み指令を出力する。
Next, the operation of the key G / A 27 in the monitor device shown in FIG. 4 will be described with reference to the flowchart. All or part of the surface of the touch panel changes from a pressed state to a released state, or by a change from a released state to a pressed state,
The flow of FIG. 4 is started. As shown in FIG.
By operating the touch panel 23 based on the screen information displayed on the screen and pressing only the third left and the first top of the touch panel surface (step S1), in step S2, the key G is pressed. / A27 stores the pressed position of the touch panel as “1” and the released position as “0” in the first memory space 261 at the same position as the key arrangement of the touch panel 23, and in step S3, Outputs an interrupt signal. Key G
/ A27 continuously executes the flowchart shown in FIG. 4 and outputs an interrupt command to the CPU 21 every time the touch panel 23 changes.

【0032】次に、図5で示されるCPU21の動作フ
ローチャートを用いて説明する。CPU21は、常にキ
ーG/A27からの割込み指令の有無を検出し(ステッ
プS11)、割込み指令が有ると、ステップS12にお
いて、第1メモリ空間261の内容を、第2メモリ空間
262へ直接コピー等の処理を行い、第1メモリ空間2
61と同一内容をCPU21がアクセス可能な第2メモ
リ空間262に作成すると共に、所定のカウンタ等によ
りカウントを開始する(ステップS13)。
Next, a description will be given with reference to an operation flowchart of the CPU 21 shown in FIG. The CPU 21 always detects the presence or absence of an interrupt command from the key G / A 27 (step S11). If there is an interrupt command, the CPU 21 directly copies the contents of the first memory space 261 to the second memory space 262 in step S12. And the first memory space 2
The same contents as those in 61 are created in the second memory space 262 accessible by the CPU 21, and counting is started by a predetermined counter or the like (step S13).

【0033】ステップS14では、CPU21は第2メ
モリ空間262を調査する(例えば、注目する位置を左
上から右下まで順番に動かし、その位置の情報が「1」
であるのか「0」であるのかを調べる)ことによってタ
ッチパネル表面の左から3つ目かつ上から1つ目が押さ
れていることと、その他の場所が放されていることを検
出し、そのタッチパネル表面が押された位置に対応する
所定の処理を実行し、ステップS15に移行する。
In step S14, the CPU 21 examines the second memory space 262 (for example, moves the position of interest sequentially from upper left to lower right, and the information of the position is "1").
, Or “0”) to detect that the third and first from the left of the touch panel surface are pressed and that the other places are released. A predetermined process corresponding to the position where the touch panel surface is pressed is executed, and the process proceeds to step S15.

【0034】ステップS15において、例えば、40m
secの所定時間、タッチパネルの状態に変化があるか
ないかをキーG/A27からCPU21に対する割り込
み指令が有るか否かで判断し、所定時間内にタッチパネ
ルの状態変化があるときはステップS16に移行し、な
いときはステップS19に移行する。
In step S15, for example, 40 m
It is determined whether or not there is an interrupt command from the key G / A 27 to the CPU 21 for a predetermined time of sec whether or not there is a change in the state of the touch panel. If there is a change in the state of the touch panel within the predetermined time, the process proceeds to step S16. If not, the process proceeds to step S19.

【0035】ステップS16では、CPU21は所定時
間以内に新たに第1メモリ空間261に書込まれた内容
に対し、割込み指令を検出する直前の第2メモリ空間2
62に記憶されている情報を付加し、CPUメモリ空間
263へ記憶すると共に、ステップS27にて所定時間
を再カウントする。
In step S16, the CPU 21 adds the contents newly written in the first memory space 261 within a predetermined time to the second memory space 2 immediately before detecting the interrupt command.
The information stored in 62 is added and stored in the CPU memory space 263, and the predetermined time is counted again in step S27.

【0036】例えば、図2aの状態から図2bの状態へ
とタッチパネル23の押された位置が所定時間内に変化
した場合、第2メモリ空間262に記憶されているタッ
チパネル表面の左から3つ目かつ上から1つ目のみが押
されていることが、新たにキーG/A27により検出さ
れたタッチパネル表面の左から6つ目かつ上から3つ目
のみが押されている情報に付加され、CPUメモリ空間
263に示されるように、タッチパネル表面の左から3
つ目かつ上から1つ目、及び左から6つ目かつ上から3
つ目が押されていることを示す位置に「1」が格納され
る(図2b参照)。
For example, when the pressed position of the touch panel 23 changes from the state of FIG. 2A to the state of FIG. 2B within a predetermined time, the third leftmost position on the touch panel surface stored in the second memory space 262 is assumed. In addition, the fact that only the first key from the top is pressed is added to the information that only the sixth key from the left and the third key from the top of the touch panel surface detected by the key G / A 27 are newly pressed, As shown in the CPU memory space 263, 3
First and first from top, and sixth from left and 3 from top
“1” is stored in a position indicating that the eye is being pressed (see FIG. 2B).

【0037】そして、ステップS18においてCPU2
1はCPUメモリ空間263を調査することによってタ
ッチパネル表面の左から3つ目かつ上から1つ目、及び
が左から6つ目かつ上から3つ目が押されていることを
検出し、そのタッチパネル表面が押された位置に対応す
る所定の処理を実行する。
Then, in step S18, the CPU 2
1 inspects the CPU memory space 263 to detect that the third touch from the left and the first touch from the top and the sixth touch from the left and the third touch from the top of the touch panel surface are detected. A predetermined process corresponding to the position where the touch panel surface is pressed is executed.

【0038】また仮に、図2bの状態から図3aの如く
タッチパネル23のいずれも押されていない状態へと所
定時間内に変化した場合も、CPUメモリ空間263に
記憶されているタッチパネル表面の左から3つ目かつ上
から1つ目、及び左から6つ目かつ上から3つ目が押さ
れていることが、第1メモリ空間261の全てが「0」
の情報に付加されることにより、タッチパネル23が押
されていないにもかかわらず、CPUメモリ空間264
に対しては、タッチパネル表面の左から3つ目かつ上か
ら1つ目、及び左から6つ目かつ上から3つ目が押され
ていることを示す位置に「1」が格納される(図3a参
照)。すなわち、チャタリングによりタッチパネル23
表面の押下が検出されなくなったとしても、所定時間以
内なら、直前のCPUメモリ空間263の状態が保持さ
れるので、タッチパネル表面の左から3つ目かつ上から
1つ目の位置、及び左から6つ目かつ上から3つ目が押
されなくなったことは検出されない。
If the state of FIG. 2B changes within a predetermined time from the state of FIG. 3B to a state in which none of the touch panels 23 is pressed, as shown in FIG. The fact that the third and first from the top and the sixth from the left and the third from the top are pressed indicates that all of the first memory space 261 is “0”.
Of the CPU memory space 264 even though the touch panel 23 is not pressed.
, “1” is stored at a position indicating that the third and first from the left and the first from the top and the sixth and the third from the left from the top of the touch panel surface are pressed ( See FIG. 3a). That is, the touch panel 23 is chattered.
Even if the pressing of the front surface is no longer detected, the state of the CPU memory space 263 immediately before is maintained within a predetermined time, so the third position from the left and the first position from the top of the touch panel surface and the left position from the left. It is not detected that the sixth and the third from the top are no longer pressed.

【0039】図3aの状態から図3bの状態へと所定時
間内にタッチパネル23表面の入力がなければ、ステッ
プS19に移行し、キーG/A27の記憶した第1メモ
リ空間261の情報(全てが「0」)を、第2メモリ空
間262に記憶し、ステップS20にて、CPU21は
第2メモリ空間262を調査することによってタッチパ
ネル表面全てが押されていないことを検出し、一連の処
理を終了する。
If there is no input from the surface of the touch panel 23 within a predetermined time from the state of FIG. 3A to the state of FIG. 3B, the process proceeds to step S19 and the information of the first memory space 261 stored in the key G / A 27 "0") is stored in the second memory space 262, and in step S20, the CPU 21 checks that the entire touch panel surface is not pressed by examining the second memory space 262, and terminates a series of processing. I do.

【0040】本実施の形態によれば、CPU21は、キ
ーG/A27からの割込み信号により、カウントを開始
し、一般的にチャタリングが発生する時間である例えば
約40msec程度の時間は、新たなキーG/A27か
らの割り込みがあったとしても、直前のタッチパネルの
状態を保持しておき、所定時間内のON/OFFが繰り
返されるチャタリングを防止することができると共に、
新たにタッチパネルが押された情報(図2b参照)は、
確実に検出し、タッチパネル制御に関する信頼性が向上
する。なお、チャタリング防止の際に、所定時間内のタ
ッチパネルの放されている状態のみを無視するので、チ
ャタリングを防止するために所定時間タッチパネルを押
し続けなければならないといったタッチパネルの動作時
間に影響を与えることがない。
According to the present embodiment, the CPU 21 starts counting in response to an interrupt signal from the key G / A 27, and for about 40 msec, which is generally the time when chattering occurs, a new key is used. Even if there is an interruption from the G / A 27, the state of the touch panel immediately before is maintained, so that chattering in which ON / OFF is repeated within a predetermined time can be prevented, and
The information on the newly touched touch panel (see FIG. 2B)
Detection is performed reliably, and the reliability of touch panel control is improved. When chattering is to be prevented, only the state of the touch panel that has been released within a predetermined time is ignored, so that the touch panel operation time, such as the need to keep pressing the touch panel for a predetermined time to prevent chattering, may be affected. There is no.

【0041】実施の形態2.本実施の形態2では、タッ
チパネル23の所定部分を押すことにより、タッチパネ
ルの状態変化を待つ所定時間を可変とすることができる
ようにしたものであり、本実施の形態において、タッチ
パネル表面の左から1つ目かつ上から1つ目の位置に所
定時間変更ボタンを設け、その所定時間変更ボタンが押
されたときのみに所定時間を例えば40msecから8
0msecに変更するものである。図6は、本実施の形
態におけるCPU21の動作フローチャートを示したも
のであり、このフローチャートを用いて本実施の形態の
動作を説明する。
Embodiment 2 In the second embodiment, by pressing a predetermined portion of the touch panel 23, the predetermined time for waiting for a change in the state of the touch panel can be made variable. A predetermined time change button is provided at the first and first position from the top, and only when the predetermined time change button is pressed, the predetermined time is changed from 40 msec to 8 for example.
It is changed to 0 msec. FIG. 6 shows an operation flowchart of the CPU 21 in the present embodiment, and the operation of the present embodiment will be described with reference to this flowchart.

【0042】キーG/A27の動作は、上述した図4に
おける動作と同様に、タッチパネルの状態変化を検出
し、タッチパネルの状態を第1メモリ空間261に記憶
し、CPU21に対して割込み指令を行う。
The operation of the key G / A 27 detects a change in the state of the touch panel, stores the state of the touch panel in the first memory space 261, and issues an interrupt command to the CPU 21, similarly to the operation in FIG. 4 described above. .

【0043】CPU21は、常にキーG/A27からの
割込み指令の有無を検出し(ステップS21)、割込み
指令が有ると、ステップS22において、第1メモリ空
間261の内容を、第2メモリ空間262へ直接コピー
等の処理を行い、第1メモリ空間261と同一内容をC
PU21がアクセス可能な第2メモリ空間262に作成
すると共に、所定のカウンタ等によりカウントを開始す
る(ステップS23)。
The CPU 21 always detects the presence or absence of an interrupt command from the key G / A 27 (step S21). If there is an interrupt command, the CPU 21 transfers the contents of the first memory space 261 to the second memory space 262 in step S22. A process such as direct copy is performed, and the same contents as in the first memory space 261 are stored in C
It is created in the second memory space 262 accessible by the PU 21 and starts counting by a predetermined counter or the like (step S23).

【0044】ステップS24では、CPU21は第2メ
モリ空間262を調査することによってタッチパネル表
面の押されている位置を検出し、例えば、タッチパネル
表面の左から1つ目かつ上から1つ目の位置に設けられ
た所定時間変更ボタンが押されたことを確認すると、ス
テップS25において、タッチパネルの状態の変化を待
つ所定時間を40msecから80msecに変更す
る。すなわち、CPUメモリ空間の左から1つ目かつ上
から1つ目の情報が「0」か「1」かを調べ、「0」の
時には所定時間を40msecに、「1」の時には所定
時間を80msecに変更し、ステップS26で割込み
指令有無の判断の所定時間を変更する。
In step S24, the CPU 21 detects the pressed position on the touch panel surface by examining the second memory space 262, and, for example, moves the touch panel surface to the first position from the left and the first position from the top. After confirming that the provided predetermined time change button has been pressed, in step S25, the predetermined time for waiting for a change in the state of the touch panel is changed from 40 msec to 80 msec. That is, it is checked whether the first information from the left and the first information from the top of the CPU memory space is “0” or “1”. When the information is “0”, the predetermined time is 40 msec. The time is changed to 80 msec, and the predetermined time for determining the presence or absence of the interrupt command is changed in step S26.

【0045】ステップS26において、所定時間タッチ
パネルの状態に変化があるかないかをキーG/A27か
らCPU21に対する割り込み指令が有るか否かで判断
し、所定時間内にタッチパネルの状態変化があるときは
ステップS27に移行し、ないときはステップS30に
移行する。
In step S26, it is determined whether or not there is a change in the state of the touch panel for a predetermined time based on whether or not there is an interrupt command from the key G / A 27 to the CPU 21. The process proceeds to S27, and if not, proceeds to step S30.

【0046】ステップS27では、CPU21は所定時
間以内に新たに第1メモリ空間261に書込まれた内容
に対し、割込み指令を検出する直前の第2メモリ空間2
62記憶されている情報を付加し、CPUメモリ空間2
63へ記憶すると共に、ステップS28にて所定時間を
再カウントする。
In step S27, the CPU 21 adds the contents newly written in the first memory space 261 within a predetermined time to the second memory space 2 immediately before detecting the interrupt command.
62, adding the stored information to the CPU memory space 2
At step S28, a predetermined time is counted again.

【0047】そして、ステップS29においてCPU2
1はCPUメモリ空間を調査することによってタッチパ
ネル表面の押されている位置に対応する所定の処理を実
行する。
Then, in step S29, the CPU 2
1 executes a predetermined process corresponding to the pressed position on the touch panel surface by examining the CPU memory space.

【0048】ステップS26における所定時間内の割込
み指令がなければ、ステップS30において、キーG/
A27の記憶した第1メモリ空間261の情報を、第2
メモリ空間262に記憶し、ステップS31にて、CP
U21は第2メモリ空間262を調査することによって
タッチパネル表面の押された位置に対応する処理を行
い、一連の処理を終了する。
If there is no interrupt command within a predetermined time in step S26, the key G /
The information of the first memory space 261 stored in A27 is
Stored in the memory space 262, and in step S31, the CP
U21 performs processing corresponding to the pressed position on the touch panel surface by examining the second memory space 262, and ends a series of processing.

【0049】本実施の形態によれば、タッチパネル23
の所定領域に設けた所定時間変更ボタンを押すことによ
り、所定時間を容易に変更することができ、タッチパネ
ルを放したときの動作の応答時間をできるだけ短くした
いときは所定時間を短くする、あるいは、タッチパネル
のチャタリングをできるだけ押さえたいときは所定時間
を長くすることによって、容易にタッチパネルの動作の
特性を変更することができる。
According to the present embodiment, the touch panel 23
By pressing the predetermined time change button provided in the predetermined area, the predetermined time can be easily changed, and when the response time of the operation when releasing the touch panel is desired to be as short as possible, the predetermined time is shortened, or When it is desired to suppress chattering of the touch panel as much as possible, the operation characteristics of the touch panel can be easily changed by increasing the predetermined time.

【0050】[0050]

【発明の効果】この発明によれば、タッチパネルを押し
たときの動作の応答時間に影響を与えることなくチャタ
リングを防止すると共に、押された情報は確実に検出す
ることができる。また、タッチパネルの検出のための所
定時間を設けているため、過去にタッチパネルが押され
た情報がいつまでも残ることなく、必要な情報のみ検出
することができ、タッチパネル検出の信頼性が向上す
る。さらに、所定時間を可変とすることにより、タッチ
パネルの動作の特性を変更することができ、使い勝手が
向上する。
According to the present invention, chattering can be prevented without affecting the response time of the operation when the touch panel is pressed, and the pressed information can be reliably detected. Further, since a predetermined time for detecting the touch panel is provided, only the necessary information can be detected without the information on the touch panel being pressed indefinitely remaining in the past, and the reliability of the touch panel detection is improved. Further, by making the predetermined time variable, the characteristics of the operation of the touch panel can be changed, and the usability is improved.

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

【図1】 本発明におけるモニタシステムのハードウェ
ア構成を示すハードウェアブロック図である。
FIG. 1 is a hardware block diagram illustrating a hardware configuration of a monitor system according to the present invention.

【図2】 モニタ装置におけるメモリ空間の状態を示し
た状態図である。
FIG. 2 is a state diagram showing a state of a memory space in the monitor device.

【図3】 モニタ装置におけるメモリ空間の状態を示し
た状態図である。
FIG. 3 is a state diagram showing a state of a memory space in the monitor device.

【図4】 モニタ装置におけるキーG/Aの動作フロー
チャートである。
FIG. 4 is an operation flowchart of a key G / A in the monitor device.

【図5】 モニタ装置におけるCPUの動作フローチャ
ートである。
FIG. 5 is an operation flowchart of a CPU in the monitor device.

【図6】 モニタ装置におけるCPUの動作フローチャ
ートである。
FIG. 6 is an operation flowchart of a CPU in the monitor device.

【図7】 従来のモニタシステムのハードウェア構成を
示すハードウェアブロック図である。
FIG. 7 is a hardware block diagram showing a hardware configuration of a conventional monitor system.

【図8】 従来のモニタシステムにおける機能ブロック
図である。
FIG. 8 is a functional block diagram of a conventional monitor system.

【図9】 モニタ装置におけるタッチパネルの状態を記
憶するメモリ空間の様子を示す図である。
FIG. 9 is a diagram showing a state of a memory space for storing a state of the touch panel in the monitor device.

【図10】 モニタ装置の動作を示すフローチャートで
ある。
FIG. 10 is a flowchart showing the operation of the monitor device.

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

2 モニタ装置、21 CPU、23 タッチパネル、
26 DRAM、27 キーG/A。
2 monitor device, 21 CPU, 23 touch panel,
26 DRAM, 27 key G / A.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 タッチパネルの入力変化を検出し、変化
後の状態を第1メモリ空間に記憶すると共に、タッチパ
ネル入力変化を示す割込み信号を出力する入力制御手段
と、 この入力制御手段からの割込み信号ごとに、上記タッチ
パネルの状態を上記第1メモリ空間から所定の第2メモ
リ空間に対して記憶し、該第2メモリ空間を調査するこ
とにより上記タッチパネルの入力位置を検出する検出制
御手段と、を備えたタッチパネル制御装置において、 上記検出制御手段は、上記入力制御手段からの割込み信
号を入力する度に、前回の割込み信号により上記第2メ
モリ空間に記憶されている情報を、今回新たに発生した
割込み信号に基づく第1メモリ空間の情報に付加し、上
記第2メモリ空間に記憶することを特徴とするタッチパ
ネル制御装置。
1. An input control means for detecting an input change of a touch panel, storing a state after the change in a first memory space, and outputting an interrupt signal indicating a touch panel input change, and an interrupt signal from the input control means. Detection control means for storing the state of the touch panel from the first memory space to a predetermined second memory space, and detecting the input position of the touch panel by examining the second memory space. In the touch panel control device provided, the detection control means newly generates information stored in the second memory space by a previous interrupt signal each time an interrupt signal is input from the input control means. A touch panel control device characterized by adding information to a first memory space based on an interrupt signal and storing the information in the second memory space.
【請求項2】 第2メモリ空間を複数設け、割込み信号
発生毎に異なる上記第2メモリ空間に対して順番に格納
することを特徴とする請求項1に記載のタッチパネル制
御装置。
2. The touch panel control device according to claim 1, wherein a plurality of second memory spaces are provided, and the plurality of second memory spaces are sequentially stored in the different second memory spaces each time an interrupt signal is generated.
【請求項3】 前回の割込み信号から今回新たに発生し
た割込み信号までの時間を計測し、この時間が所定時間
を超えた場合は、前回の割込み信号により記憶されてい
る情報を、今回新たに発生した割込み信号に基づく第2
メモリ空間への情報に付加しないことを特徴とする請求
項1または2に記載のタッチパネル制御装置。
3. The time from a previous interrupt signal to a newly generated interrupt signal is measured, and when this time exceeds a predetermined time, information stored by the previous interrupt signal is newly added to the current time. Second based on the generated interrupt signal
3. The touch panel control device according to claim 1, wherein the touch panel control device does not add information to the memory space.
【請求項4】 所定時間変更手段を備え、前回の割込み
信号から今回新たに発生した割込み信号までの時間と比
較するための所定時間を変更することを特徴とする請求
項3に記載のタッチパネル制御装置。
4. The touch panel control according to claim 3, further comprising a predetermined time changing means for changing a predetermined time for comparing with a time from a previous interrupt signal to a newly generated interrupt signal. apparatus.
【請求項5】 タッチパネルの入力変化を件出し、変化
後の状態を第1メモリ空間に記憶する工程と、 第1メモリ空間に格納された今回のタッチパネルの状態
に、前回のタッチパネルの状態を付加し、第1メモリ空
間から第2メモリ空間に格納する工程と、第2メモリ空
間に格納された情報に基づき、上記タッチパネルの入力
変化を検出する工程と、を備えたタッチパネルの制御方
法。
5. A step of detecting an input change of the touch panel and storing a state after the change in the first memory space, and adding a previous touch panel state to the current touch panel state stored in the first memory space. A control method for a touch panel, comprising: a step of storing from a first memory space to a second memory space; and a step of detecting an input change of the touch panel based on information stored in the second memory space.
【請求項6】 タッチパネルの入力変化を件出し、変化
後の状態を第1メモリ空間に記憶すると共に、タッチパ
ネル入力変化を示す割込み信号を出力する工程と、 この割込み信号ごとにカウントを開始し、このカウント
値と予め設定された所定値と比較することにより、上記
カウント値が上記所定値を超えた場合は上記第1メモリ
空間に記憶された上記タッチパネルの状態を第2メモリ
空間に記憶し、上記カウント値が上記所定値以下の場合
は、第1メモリ空間に格納された今回のタッチパネルの
状態に、前回のタッチパネルの状態を付加し、第1メモ
リ空間から第2メモリ空間に格納する工程と、 第2メモリ空間に格納された情報に基づき、上記タッチ
パネルの入力変化を検出する工程と、を備えたタッチパ
ネルの制御方法。
6. A step of detecting an input change of the touch panel, storing the changed state in the first memory space, and outputting an interrupt signal indicating the change of the touch panel input, and starting counting for each of the interrupt signals. By comparing the count value with a predetermined value set in advance, when the count value exceeds the predetermined value, the state of the touch panel stored in the first memory space is stored in a second memory space, When the count value is equal to or less than the predetermined value, a step of adding the state of the previous touch panel to the state of the current touch panel stored in the first memory space and storing the state from the first memory space to the second memory space; Detecting a change in the input of the touch panel based on information stored in the second memory space.
JP30675697A 1997-11-10 1997-11-10 Touch panel control device and control method Expired - Fee Related JP3562266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30675697A JP3562266B2 (en) 1997-11-10 1997-11-10 Touch panel control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30675697A JP3562266B2 (en) 1997-11-10 1997-11-10 Touch panel control device and control method

Publications (2)

Publication Number Publication Date
JPH11143637A true JPH11143637A (en) 1999-05-28
JP3562266B2 JP3562266B2 (en) 2004-09-08

Family

ID=17960935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30675697A Expired - Fee Related JP3562266B2 (en) 1997-11-10 1997-11-10 Touch panel control device and control method

Country Status (1)

Country Link
JP (1) JP3562266B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5120460B2 (en) * 2008-10-28 2013-01-16 富士通株式会社 Mobile terminal and input control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5120460B2 (en) * 2008-10-28 2013-01-16 富士通株式会社 Mobile terminal and input control method

Also Published As

Publication number Publication date
JP3562266B2 (en) 2004-09-08

Similar Documents

Publication Publication Date Title
JPH0962446A (en) Touch panel input method and device therefor
JPS63220334A (en) Data processor
CN104536586A (en) Portable information terminal and key arrangement alteration method therefor
JP2004086790A (en) Touch panel apparatus and computer program thereof
JP2000293289A (en) Portable terminal device
JPH11143637A (en) Touch panel controller and its method
JP6003166B2 (en) Touch panel system, touch panel device, and program
JP4201656B2 (en) Pointing device control method and apparatus
JPH0314121A (en) Programmable display device
JPH0922330A (en) Input method for touch panel
JP2001034379A (en) Information equipment, method for setting set value, and storage medium
JP3394369B2 (en) Information input device
KR100189925B1 (en) Error display method of mode converting selection for complex device
JP4038870B2 (en) Pen input computer
JP2595045B2 (en) Touch panel input device
JP2003084883A (en) Screen scroll method, and storage medium with program stored by it
JP2003015798A (en) Information input processor
JP3521212B2 (en) Multi-window computer system
JPH11134113A (en) Input detection method for touch panel and touch panel device
JPH01269119A (en) Information input device
JP2024053570A (en) Electronic device and touch operation method
JPH1091226A (en) Machine control device
JPH07110747A (en) Data display method
JPH01147712A (en) Conversation type operating device
JP3224043B2 (en) Initial processing method of intelligent graphic operation panel

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040524

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080611

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080611

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090611

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100611

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100611

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110611

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120611

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees