JPS6339018A - Data input unit - Google Patents

Data input unit

Info

Publication number
JPS6339018A
JPS6339018A JP62191479A JP19147987A JPS6339018A JP S6339018 A JPS6339018 A JP S6339018A JP 62191479 A JP62191479 A JP 62191479A JP 19147987 A JP19147987 A JP 19147987A JP S6339018 A JPS6339018 A JP S6339018A
Authority
JP
Japan
Prior art keywords
data
knob
value
task
rotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62191479A
Other languages
Japanese (ja)
Inventor
ブライアン・ディー・ディーム
レスター・レイバーン・ラーソン
ジェームス・シー・スタンレー
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.)
Tektronix Inc
Original Assignee
Tektronix Inc
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 Tektronix Inc filed Critical Tektronix Inc
Publication of JPS6339018A publication Critical patent/JPS6339018A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0362Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 1D translations or rotations of an operating part of the device, e.g. scroll wheels, sliders, knobs, rollers or belts

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ入力装置、特に回転つまみを用いてコン
ピュータ等にデータを入力する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data input device, and particularly to a device for inputting data into a computer or the like using a rotary knob.

〔従来技術及び発明が解決しようとする問題点〕多くの
電子計測機器には信号計測i能を向上する為にマイクロ
プロセッサ(μP)シテスムが内蔵さている。このよう
なi器に於て、計測条件を設定したり、データ表示のス
クロール動作を制御したり、英数字データを入力したり
するのにキー・スイッチを使用することが多い。時には
1個かそれ以上のキー・スイッチ(例えば、インクレメ
ント及びデクレメント用キー)を用いて、パラメータの
設定やデータ値の変更、スクロール動作を制御すること
もある。このようなキー・スイッチの欠点は予め定めた
次のデータ値とかパラメータの設定とかスクロール可能
なデータ列等を表示しなければならないことである。9
通はキー・スイッチを下げた状態に保つと、データやパ
ラメータの値とかスクロール可能なデータ列の位置等の
変化は予め定めた一定の速度で連続的に進む。これは多
くの場合、所望のデータ値、パラメータの設定、或いは
スクロール可能なデータ列の位置を通り越してしまう結
果となり易い。使用者は再度調整作業をやり直さなくて
はならず、所望の点に向けでもっとゆっくりと調整しな
ければならない。
[Prior Art and Problems to be Solved by the Invention] Many electronic measuring instruments have built-in microprocessor (μP) systems to improve signal measurement capabilities. In such i-devices, key switches are often used to set measurement conditions, control scrolling of data displays, and input alphanumeric data. Sometimes one or more key switches (eg, increment and decrement keys) are used to control parameter settings, data value changes, and scrolling operations. A disadvantage of such key switches is that they must display predetermined next data values, parameter settings, scrollable data columns, etc. 9
When the user holds the key switch in the down position, changes in data, parameter values, positions in scrollable data columns, etc. proceed continuously at a predetermined constant speed. This often results in passing over a desired data value, parameter setting, or position in a scrollable data column. The user has to start over again and adjust more slowly towards the desired point.

このような調整の欠点は、設定進行速度の選定が遅すぎ
れば大きな設定値や長いスクロール可能なデータ列の設
定に不便であり、早すぎれば各データ値や各データ列の
値を正確にv1認できなくなるということである。一般
に、このような計測機器は非常に複雑であるので、制御
システムとしてより節単にデータ入力やパラメータの設
定動作を行えるシステムの実現が望まれている。米国特
許筒4.561.049号[回転つまみを採用した制御
システムJ  (1985年12月24日登録)の公報
記載のシステムはスクロール表示、計測条件の設定、及
び英数字データの入力等の制御の為に、手動回転つまみ
の動作により駆動される。この回転つまみはつまみの回
転に応じて2ピントの交番2進コードを発生する機械的
スイッチを駆動するのに用いられる。
The disadvantage of this kind of adjustment is that if the setting progression speed is selected too slowly, it is inconvenient to set large settings or long scrollable data columns, and if it is too fast, it is difficult to accurately set each data value or each data column. This means that it will no longer be recognized. In general, such measuring instruments are very complex, so it is desired to realize a control system that can more easily perform data input and parameter setting operations. The system described in U.S. Patent No. 4.561.049 [Control System J Adopting Rotary Knob (Registered December 24, 1985) controls scrolling display, measurement condition setting, alphanumeric data input, etc. Therefore, it is driven by the operation of the manual rotation knob. This rotary knob is used to drive a mechanical switch that generates a two-pin alternating binary code in response to rotation of the knob.

この交番2進コードは調整回路に印加され、そこで方向
信号とカウンタのクロック信号を発生する。
This alternating binary code is applied to a regulating circuit which generates a direction signal and a clock signal for the counter.

この方向信号はつまみの回転方向を表わし、クロック信
号の周波数はつまみの回転速度を表わしている。カウン
タの計数値は方向信号の状態に応じてクロック信号の各
パルス毎に増加或いは減少してつまみの正しい回転量を
表わす。このカウンタの計数値はμPに周期的に読出さ
れてからリセットされ、蓄積データ値に与える変化量の
値として使用される。この蓄積データは設定パラメータ
の値や英数字入力の値やスクロール表示を制御する値等
を表わしてもよい。
This direction signal represents the rotation direction of the knob, and the frequency of the clock signal represents the rotation speed of the knob. The count value of the counter increases or decreases with each pulse of the clock signal depending on the state of the direction signal to represent the correct amount of rotation of the knob. The counted value of this counter is periodically read out to μP, reset, and used as the amount of change given to the stored data value. This accumulated data may represent values of setting parameters, alphanumeric input values, values for controlling scroll display, and the like.

データを変更する速度即ち、従来のシステムで新しいデ
ータ値を入力する速度は使用者がつまみを回転させる速
度に比例しているので、データ値を広範囲に亘って変更
するのに便利である。もし使用者が各入力値や各表示位
置を確認したければ、つまみをゆっくり回せばよい。ま
た、使用者が所望の値を既に知っていたり、表示データ
を高速にスクロールしたければ、つまみの回転速度を速
くすればよい。
The speed at which data is changed, ie, the speed at which new data values are entered in conventional systems, is proportional to the speed at which the user rotates the knob, making it convenient to change data values over a wide range. If the user wants to check each input value or each display position, they can simply turn the knob slowly. Furthermore, if the user already knows the desired value or wants to scroll the displayed data at high speed, the rotation speed of the knob can be increased.

一般に、このシステムがデータ入力装置として動作して
いる間、μPはつまみの位置の変更を検出する為に絶え
ずカウンタの計数値を監視していなければならない。こ
の監視をするには、たとえつまみが使用されていなくて
も相当な処理時間を必要とする。多くの場合、制御つま
みはたまにしか使用されないので、μPの処理時間の多
くはカウンタの出力を監視する為に浪費されることにな
る。これは複数の回転つまみの入力装置を有するシステ
ムの問題点であり、このような監視制御用の専用μPを
設けなければならない場合も多い。
Generally, while the system is operating as a data input device, the μP must constantly monitor the counter count to detect changes in knob position. This monitoring requires considerable processing time even if the knob is not in use. In many cases, control knobs are used only occasionally, so much of the μP's processing time is wasted monitoring the output of the counter. This is a problem in systems having a plurality of rotary knob input devices, and it is often necessary to provide a dedicated μP for such monitoring and control.

〔発明の目的〕[Purpose of the invention]

従って、本発明の目的はコンピュータの処理効 ′率の
無駄を最小にする回転つまみを利用したコンピュータの
入力装置を提供することである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a computer input device using a rotary knob that minimizes waste in computer processing efficiency.

〔発明の1既要〕 本発明によるシステムは手動の回転つまみの駆動に応し
て動作し、記憶データの値を制御する。
SUMMARY OF THE INVENTION A system according to the present invention operates in response to actuation of a manual rotary knob to control the value of stored data.

この回転つまみは、ノブの回転に応じて2ビツトの交番
2進コードを発生する機械的スイッチ(或いは光電スイ
ッチ)の駆動或いは位置設定を行うのに利用される。こ
の交番2進コードには方向信号及び割込信号が含まれて
いる。方向信号はつまみの回転方向を表わし、割込信号
の周波数はつまみの回転速度を表わしている。この方向
信号はランチのデータ入力イδ号となり、他方割込信号
はランチのクロック入力信号となるので、割込信号が発
生する毎に、方向信号の現在の状態はμPがアクセスす
るコンピュータ・バス上にラッチされる。
This rotary knob is used to drive or position a mechanical switch (or photoelectric switch) that generates a 2-bit alternating binary code in response to rotation of the knob. This alternating binary code includes a direction signal and an interrupt signal. The direction signal represents the rotational direction of the knob, and the frequency of the interrupt signal represents the rotational speed of the knob. This direction signal becomes the launch's data input number δ, while the interrupt signal becomes the launch's clock input signal, so that each time the interrupt signal occurs, the current state of the direction signal is determined by the computer bus accessed by μP. latched up.

μPは割込信号が割込入力として入力すると、割込信号
の入力毎に、バス上にランチされた方向ピントのデータ
を読出し、その方向ビットのデータの状態に応じて回転
制御つまみの総変位四を表わす記憶データを増加或いは
減少させる。μPは回転制御つまみが駆動されたときの
み割込信号に応してラッチされた方向データを読出すの
で、回転制御つまみが駆動されない時には入力装置を監
視するのに無駄な時間を費すことはない。
When an interrupt signal is input as an interrupt input, μP reads the direction focus data launched on the bus every time the interrupt signal is input, and changes the total displacement of the rotation control knob according to the state of the data of the direction bit. Increase or decrease the stored data representing 4. The μP reads the latched direction data in response to an interrupt signal only when the rotation control knob is driven, so there is no need to waste time monitoring the input device when the rotation control knob is not driven. do not have.

〔実施例〕 第1図は本発明の好適実施例を利用した信号計測システ
ムのブロック図である。スイッチαωは回転つまみ(図
示せず)の回転に応じて2ビツトの交番2進コードを発
生する従来の機械的スイノチ或いは光電スイッチである
。第1図に於て、2個の接点を有する機械的スイッチと
して示したスイッチQ[l+は回転つまみの制御に応じ
て交番2進コードを発生するように動作する。調整回路
側はスイッチ0〔から交番2進コード出力を受けて、回
転つまみの回転方向を示す1ビツトの方向信号を発生し
、回転つまみが右或いは左方向に所定の角度以上回転す
るとクロック信号を発生する。調整回路−から出力した
クロック信号はラッチa船のクロック入力となり、コン
ピュータ・バス019上に方向信号の状態をランチする
。スイッチOmと調整回路@とラッチ(14)とにより
つまみ装置(32)が構成される。スイッチα1及び調
整回路−は日本特許出願昭54〜36194号及び実用
新案出願昭57−67435号の公報に開示された周知
のものである。
[Embodiment] FIG. 1 is a block diagram of a signal measurement system using a preferred embodiment of the present invention. The switch .alpha..omega. is a conventional mechanical switch or photoelectric switch that generates a 2-bit alternating binary code in response to rotation of a rotary knob (not shown). Switch Q[l+, shown in FIG. 1 as a mechanical switch with two contacts, operates to generate an alternating binary code in response to control of a rotary knob. The adjustment circuit side receives the alternating binary code output from switch 0 and generates a 1-bit direction signal indicating the rotation direction of the rotary knob, and generates a clock signal when the rotary knob rotates to the right or left by a predetermined angle or more. Occur. The clock signal output from the adjustment circuit becomes the clock input of latch a, which launches the state of the direction signal onto computer bus 019. The switch Om, the adjustment circuit @, and the latch (14) constitute a knob device (32). The switch α1 and the adjustment circuit are well known as disclosed in Japanese Patent Application No. 54-36194 and Utility Model Application No. 57-67435.

ロジック・アナライザの如き計測装置(2鴫は入力信号
をコンピュータ・バスαQからの命令信号の制御により
測定し、その測定結果をコンピュータ・バス0[9へ出
力する。コンピュータ・バスOeは、また表示制御回路
(22)、μP (24)、続出専用メモリ(ROM)
 (26)及びランダム・アクセス・メモリ(RIIM
)(28)にも接続している。表示制御回路(22)は
測定結果を表示して計測装置(211の値を設定する為
にCRT (30)を制御する。本発明の実施例では、
μP(24)はROM (26)に記憶されたソフトウ
ェアにより動作し、RAM (28)にデータを一時記
憶させる。
A measuring device such as a logic analyzer (2) measures the input signal under the control of a command signal from the computer bus αQ and outputs the measurement result to the computer bus 0[9. Control circuit (22), μP (24), continuous memory (ROM)
(26) and random access memory (RIIM)
) (28). The display control circuit (22) controls the CRT (30) in order to display the measurement results and set the values of the measuring device (211).
μP (24) is operated by software stored in ROM (26) and temporarily stores data in RAM (28).

調整回路−からのクロック13号出力はμP (24)
の割込入力信号としても入力し、この割込信号が入力す
るとμP (24)はランチ041によりコンピュータ
・バスOIにラッチされている方向ピントの状態を読込
む。第2図はつまみ装置 (32)の動作に応じて働く
ソフトウェアの信号の流れ図である。つまみ装ra(3
2)のクロック信号出力により、つまみ割込処理ルーチ
ン(34)が呼出される。このつまみ割込処理ルーチン
(34)により、第1図のラッチ0侃こラッチされたコ
ンピュータ・バスae上の方向信号の状態が読込まれ、
第1図のRAM(28)に記j7されているつまみの一
時回転変位データ(36)の値り。
The clock No. 13 output from the adjustment circuit is μP (24)
When this interrupt signal is input, μP (24) reads the directional focus state latched to the computer bus OI by launch 041. FIG. 2 is a signal flow diagram of the software that operates in response to the operation of the knob device (32). Tsumami ra (3
The knob interrupt processing routine (34) is called by the clock signal output in step 2). This knob interrupt processing routine (34) reads the state of the direction signal on the computer bus ae latched by latch 0 in FIG.
The value of the temporary rotational displacement data (36) of the knob written in the RAM (28) in FIG. 1.

を増加又は減少させる。一時回転変位データ(36)の
値り、は、このシステムの始動時点でOに初期設定され
ており、D、が最後にOに設定されてからの回転ノブの
相対的角度の変位をこの値り、は表わしている。この一
時回転変位データ(36)の値り、は割込信号が入力す
る毎に方向ビットの状態に応じて増加又は減少されるの
で、この値り、が最後に0に設定されてからのつまみの
回転角をこの一時回転変位データ(36)の値り、は示
していることになる。つまみの駆動の結果、一時回転変
位データの値D1が0から正又は負の数値に変化すると
、つまみ割込処理ルーチン(34)から状態更新メツセ
ージが正味変位データ更新タスク(38)に移され、つ
まみの正味回転変位が0でないことが示される。
increase or decrease. The value of the temporary rotational displacement data (36) is initially set to O at the start of this system, and this value is the relative angular displacement of the rotation knob since D was last set to O. ri, represents. The value of this temporary rotational displacement data (36) is increased or decreased depending on the state of the direction bit each time an interrupt signal is input, so the value of the temporary rotational displacement data (36) is increased or decreased depending on the state of the direction bit. The value of this temporary rotational displacement data (36) indicates the rotation angle of . When the value D1 of the temporary rotational displacement data changes from 0 to a positive or negative value as a result of driving the knob, a status update message is transferred from the knob interrupt processing routine (34) to the net displacement data update task (38), It is shown that the net rotational displacement of the knob is not zero.

割込処理ルーチン(34)の処理が終ると、μP(24
)は正味変位データ更新タスク(38)に送られたメツ
セージに応じて、種々の作業を実行する通常動作を再開
する。μP (24)が割込処理ルーチン(34)から
の状態更新メソセージに応じて正味変位データ更新タス
ク(38)を実行する際、正味変位データ更新タスク(
38)から計数要求メソセージがデータ読込タスク(4
0)へ送られる。その後、正味変位データ更新タスク(
38)からの計数要求メツセージに応じてμP (24
)がデータ読込タスク(40)を実行すると、一時回転
変位データ(36)の現在の値り。
When the processing of the interrupt processing routine (34) is completed, μP (24)
) resumes normal operation performing various tasks in response to messages sent to the Net Displacement Data Update Task (38). When μP (24) executes the net displacement data update task (38) in response to the status update message from the interrupt processing routine (34), the net displacement data update task (
38), the counting request message is sent to the data reading task (4).
0). After that, the net displacement data update task (
μP (24) in response to a counting request message from (38)
) executes the data reading task (40), the current value of the temporary rotational displacement data (36) is read.

がRAM(28)から読込まれ、この値が計数メツセー
ジとして正味変位データ更新タスク(38)に送られ、
RAM (28)内の一時回転変位データ(36)の値
り、は0にリセットされる。このシステムの始動からの
つまみの総変位量はRAM(−28)に記憶される正味
変位データ(42)の値り、、で示される。
is read from the RAM (28), this value is sent as a counting message to the net displacement data update task (38),
The value of the temporary rotational displacement data (36) in the RAM (28) is reset to zero. The total displacement of the knob since the start of this system is represented by the value of net displacement data (42) stored in RAM (-28).

この値D1はこのシステムの始動時点でOに初期設定さ
れ、その後データ読込タスク(40)からの計数メツセ
ージに応じて正味変位データ更新タスク(38)が実行
される際に、正味変位データ(42)の値D7は計数メ
ツセージとして送られた一時回転変位データの値D、に
より調整されてから更新メツセージが出力タスク(44
)に送られる。この出力タスク(44)がタスク(38
)からの更新メツセージに応して実行されると、正味変
位データ(42)の値匹がRAM(28)から読込まれ
、この値り。は計測ンステムの機能制御パラメータとし
て、例えばスクロール表示とか測定条件の設定とか英数
字データの入力等を制御するのに用いられる。
This value D1 is initially set to O at the time of starting this system, and then when the net displacement data update task (38) is executed in response to the counting message from the data reading task (40), the net displacement data (42 ) value D7 is adjusted by the value D of the temporary rotational displacement data sent as a count message, and then the update message is sent to the output task (44
) will be sent to. This output task (44) is the task (38
), the value of the net displacement data (42) is read from the RAM (28); is used as a function control parameter of the measurement system, for example, to control scroll display, setting of measurement conditions, input of alphanumeric data, etc.

以下に、つまみ割込処理ルーチン(34)の擬似コード
表を示す。
A pseudocode table for the knob interrupt processing routine (34) is shown below.

つ み ゛ 几 ル−チン (1)  もしDi=Oならば (2)以下を実行 (3)状態更新メツセージを正味変位データ更新タスク
に送る (4)終了 (5)方向信号(DIR)を読込   −(6)  も
しDIR=1ならば (7)以下を実行 (8)  Diに1を加算 (9)終了 (101もしDIR≠1ならば以下を実行0υ D、か
ら1を減算 (ロ)終了 α違 通常処理に戻る つまみ装置 (32)からの割込信号によりつまみ割込
処理ルーチン(34)が呼出されると、上記(1)行で
一時回転変位データの値D8が確認される。もし、D8
が0ならば(21−(41行で、つまみ割込処理ルーチ
ン(34)から状態更新メツセージが第2図の正味変位
更新タスク(38)に送られる。(5)行でつまみ割込
処理ルーチン(34)は方向ビットの値DIRを読込み
、f6) −+91行で方向ビットの値DIRが論理状
態1ならばり、の値に1を加算する。もしDIRが論理
状BOならばαの一叩行でり、の値から1が減算される
。このつまみ割込処理ルーチンはθ1行で終了する。
Routine (1) If Di=O, (2) Execute the following (3) Send status update message to net displacement data update task (4) End (5) Read direction signal (DIR) -(6) If DIR=1, execute the following (7) (8) Add 1 to Di (9) End (101 If DIR≠1, execute the following 0υ D, subtract 1 from (b) End α difference When the knob interrupt processing routine (34) is called by an interrupt signal from the knob device (32) that returns to normal processing, the value D8 of the temporary rotational displacement data is confirmed in the above line (1). , D8
If (21-(41 lines), the status update message is sent from the knob interrupt processing routine (34) to the net displacement update task (38) in FIG. 2. In line (5), the knob interrupt processing routine (34) reads the value DIR of the direction bit, and if the value DIR of the direction bit is in the logic state 1 in line f6) -+91, it adds 1 to the value of 1 is subtracted from the value of line 1. This knob interrupt processing routine ends at line θ1.

以下に第2図の正味変位データ更新タスク(38)の擬
似コードの表を示す。
Below is a table of pseudocode for the net displacement data update task (38) in FIG.

正 ゛立データ  タスク (21)初期設定:DR=0 (22)  もし状態更新メソセージが入力すれば(2
3)以下を実行 (24)  計数要求メツセージをデータ読込タスクに
送る (25)  データ読込タスクからの計数メツセージを
待つ (26)  D、をDイに加算する (27)  更新メツセージを出力タスクに送る(28
)終了 (29)  タスク終了 正味変位データ更新タスク(38)はシステムの初期動
作即ち、(21)行で正味変位データの値D1はOに初
期設定される。その後、(22) −(28)行で正味
変位データ更新タスクは状態更新メツセージが入力して
いるかを確認し、状態更新メツセージの入力があると、
第2図のデータ読込タスク(40)に計数要求メツセー
ジを送り、データ読込タスク(40)から計数メツセー
ジが入力されるまで待機する。一時変位データの現在の
値り、を示す計数メソセージを受取ると、正味変位デー
タ更新タスクはRAM(28)内のり。の値をD8とり
、lの値の和と入換えてから、第2図の出力タスク(4
4)に更新メツセージを送る。(29)行でこの正味変
位データ更新タスクは終了する。
Correct data Task (21) Initial setting: DR=0 (22) If the status update message is input (2
3) Execute the following (24) Send a counting request message to the data reading task (25) Wait for the counting message from the data reading task (26) Add D to D (27) Send an update message to the output task (28
) End (29) Task End The net displacement data update task (38) is the initial operation of the system, that is, the value D1 of the net displacement data is initialized to O in line (21). After that, in lines (22) to (28), the net displacement data update task checks whether a status update message is input, and if a status update message is input,
It sends a counting request message to the data reading task (40) in FIG. 2 and waits until a counting message is input from the data reading task (40). Upon receiving a count message indicating the current value of the temporary displacement data, the net displacement data update task is loaded into RAM (28). Take the value of D8, replace it with the sum of the values of l, and then execute the output task (4
4) Send an update message to. At line (29), this net displacement data update task ends.

次に、第2図のデータ読込タスク(40)の擬似コード
の表を示す。
Next, a table of pseudocode for the data reading task (40) in FIG. 2 is shown.

i二W贋乙友久 (31)初期設定:D、=0 (32)  もし計数要求メツセージが入力したら(3
3)以下を実行 (34)  D、を読込む (35)正味変位データ更新タスクに計数メツセージを
送る (36)設定:D、=0 (37)終了 (3日)  タスク終了 システムの始動時点でデータ読込タスク(40)は(3
1)行から開始し、一時変位データの値D、を0に初期
設定する。その後、計数要求メソセージが入力してデー
タ読込タスクが呼び出されると、(32) −(37)
行が実行され、データ読込タスクは一時変位データの値
り、を読込み、このり、の値を含んだ計数メツセージを
正味変位データ更新タスク(38)に送り、それからR
AM(28)内の値D、を0に設定する。このタスク(
40)は(38)行で終了する。
i2W Fake Tomohisa (31) Initial setting: D, = 0 (32) If a counting request message is input (3
3) Execute the following (34) Read D, (35) Send a counting message to the net displacement data update task (36) Setting: D, = 0 (37) End (3 days) Task end At the time the system starts The data reading task (40) is (3
1) Starting from row, initialize the value D of temporary displacement data to 0. After that, when the counting request message is input and the data reading task is called, (32) - (37)
When the row is executed, the data reading task reads the value of the temporary displacement data, sends a count message containing the value of this value to the net displacement data update task (38), and then R
Set the value D in AM(28) to 0. This task (
40) ends at line (38).

このように、本発明の回転つまみ駆動のコンピュータ入
力システムでは操作者はつまみを回転させてコンピュー
タ・システムの記憶データ値を制御することができるが
、コンピュータ・システムはつまみが回転したかどうか
を検知する為にカウンタ或いは他の外部装置の記憶デー
タを絶えず監視し続ける必要がない。
Thus, although the rotary knob-driven computer input system of the present invention allows an operator to rotate the knob to control stored data values in the computer system, the computer system detects whether the knob has been rotated. There is no need to constantly monitor stored data on counters or other external devices to do this.

以上、本発明の好適実施例について説明してきたが、本
発明の要旨から逸脱することなく、種々変更し得ること
は当業者には明らかであろう。
Although preferred embodiments of the present invention have been described above, it will be obvious to those skilled in the art that various changes can be made without departing from the gist of the invention.

〔発明の効果〕〔Effect of the invention〕

本発明の入力装置によれば、つまみの回転により発生す
るクロック信号を割込信号としてμPが受けた時のみ入
力装置として動作するので、μPは常につまみの回転を
監視している必要がなく、従来の如き無駄な処理時間が
排除できるので、入力装置用の専用プロセッサを設ける
必要もなく、μPの処理効率が格段に向上すると共に経
費低減にも顕著に寄与する。
According to the input device of the present invention, since the μP operates as an input device only when the μP receives a clock signal generated by the rotation of the knob as an interrupt signal, the μP does not need to constantly monitor the rotation of the knob. Since wasteful processing time as in the conventional method can be eliminated, there is no need to provide a dedicated processor for the input device, which greatly improves the processing efficiency of μP and significantly contributes to cost reduction.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の好適実施例を用いた計測システムのブ
ロック図、第2図は第1図のつまみ装置の出力信号に応
じて記憶データの値を制御するμPのソフトウェアの流
れ図である。 001、(2)は回転検知回路、Q41.(24)は処
理手段、(28)は記憶手段である。
FIG. 1 is a block diagram of a measurement system using a preferred embodiment of the present invention, and FIG. 2 is a flow diagram of the μP software that controls the value of stored data in response to the output signal of the knob device of FIG. 001, (2) is a rotation detection circuit, Q41. (24) is a processing means, and (28) is a storage means.

Claims (1)

【特許請求の範囲】[Claims] 回転つまみと、該回転つまみの回転方向及び回転角度に
応じて夫々回転方向信号及びクロック信号を発生する回
転検知回路と、データを記憶する記憶手段と、上記クロ
ック信号を割込入力として受けクロック毎に上記回転方
向に応じて上記記憶手段の記憶データを調整する処理手
段とを具えることを特徴とするデータ入力装置。
A rotation knob, a rotation detection circuit that generates a rotation direction signal and a clock signal according to the rotation direction and rotation angle of the rotation knob, a storage means for storing data, and a rotation detection circuit that receives the clock signal as an interrupt input every clock. and processing means for adjusting the data stored in the storage means according to the rotation direction.
JP62191479A 1986-08-04 1987-07-30 Data input unit Pending JPS6339018A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US89296286A 1986-08-04 1986-08-04
US892962 1986-08-04

Publications (1)

Publication Number Publication Date
JPS6339018A true JPS6339018A (en) 1988-02-19

Family

ID=25400783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62191479A Pending JPS6339018A (en) 1986-08-04 1987-07-30 Data input unit

Country Status (3)

Country Link
JP (1) JPS6339018A (en)
GB (1) GB2193586A (en)
NL (1) NL8700717A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5204600A (en) * 1991-02-06 1993-04-20 Hewlett-Packard Company Mechanical detent simulating system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59180614A (en) * 1983-03-30 1984-10-13 Jeol Ltd Joy stick control device
JPS61131110A (en) * 1984-11-30 1986-06-18 Fujitsu Ltd Input device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1295307A (en) * 1969-04-14 1972-11-08
SE413573B (en) * 1977-10-07 1980-06-02 Transcale Ab ELECTRONIC DEVICE
US4561049A (en) * 1983-03-23 1985-12-24 Tektronix, Inc. Control system employing a rotary knob
GB2157033B (en) * 1984-09-22 1986-04-16 Tippey Keith Edward Control device for computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59180614A (en) * 1983-03-30 1984-10-13 Jeol Ltd Joy stick control device
JPS61131110A (en) * 1984-11-30 1986-06-18 Fujitsu Ltd Input device

Also Published As

Publication number Publication date
GB8703598D0 (en) 1987-03-25
GB2193586A (en) 1988-02-10
NL8700717A (en) 1988-03-01

Similar Documents

Publication Publication Date Title
EP0120683A1 (en) Control system employing a rotary knob
US5619734A (en) Programmable controller and method of operation thereof
JPS6339018A (en) Data input unit
US5467463A (en) System independent timing reference for computer
CN112146686B (en) Rotation information acquisition method, device and system and computer readable storage medium
US6320927B1 (en) Electronic counter
KR100191502B1 (en) Control device and the method of fan motor speed variableness for air conditioner
JPS5997182A (en) Scroll control system
US6442437B1 (en) Method for step motor control
JP3164680B2 (en) Screen display data change device
JPS61248715A (en) Injection molding machine indicating number of set factors in accordance with number of set stages
JP2696811B2 (en) Electronic preset counter
JPH0614330B2 (en) Microprocessor device
JPH03121487A (en) Contrast adjusting circuit for console panel
JPH0638206B2 (en) Counter device
JPS6194130A (en) Standby operation display unit
JP2871787B2 (en) Integration counter
JPH0295551A (en) Display method for completed amount of work
EP2391992A1 (en) Communication system and protocol
JPS5842487B2 (en) Program loading method
JPH04192037A (en) Semiconductor integrated circuit
JPS615306A (en) Programmable controller
JPS615349A (en) Programmable controller
JPS62187957A (en) Electronic calculator having file managing function
JPH08272405A (en) Sequence controller