JPH0136287B2 - - Google Patents
Info
- Publication number
- JPH0136287B2 JPH0136287B2 JP54095045A JP9504579A JPH0136287B2 JP H0136287 B2 JPH0136287 B2 JP H0136287B2 JP 54095045 A JP54095045 A JP 54095045A JP 9504579 A JP9504579 A JP 9504579A JP H0136287 B2 JPH0136287 B2 JP H0136287B2
- Authority
- JP
- Japan
- Prior art keywords
- pressed
- switch
- output
- time
- signal
- 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.)
- Expired
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
Landscapes
- Electronic Switches (AREA)
- Input From Keyboards Or The Like (AREA)
Description
【発明の詳細な説明】
本発明は単一のスイツチによつて複数個のスイ
ツチ機能を持たせるようにしたスイツチ回路に関
する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a switch circuit in which a single switch has multiple switch functions.
従来のスイツチ回路では、複数個の機能を果す
ために複数個のスイツチの設置を必要とするもの
であり、第1図に示すような回路構成を有してい
る。すなわち、SW1〜SWnは複数個のスイツ
チ、11〜1nはRSフリツプフロツプである。
Rはバイアス抵抗で電源+Vに接続されている。
これらスイツチの1個例えばSWnを押すと、そ
れに対応したスイツチ信号2nが変化することと
なり、サブシステムはスイツチが押されたことを
検知し、それに対応する機能動作を行なうように
構成されている。 A conventional switch circuit requires the installation of a plurality of switches in order to perform a plurality of functions, and has a circuit configuration as shown in FIG. That is, SW1 to SWn are a plurality of switches, and 11 to 1n are RS flip-flops.
R is a bias resistor connected to the power supply +V.
When one of these switches, for example SWn, is pressed, the corresponding switch signal 2n changes, and the subsystem is configured to detect that the switch has been pressed and perform a corresponding functional operation.
しかし、このような構成の従来のスイツチ回路
では、スイツチが押されることにより、それ特有
の一定の機能のみを果すようになされているた
め、複数個の機能を果すためには、複数個のスイ
ツチが必要であり、そのインターフエースの信号
線も多くなり、コスト高で多くのスペースを要す
る欠点があつた。 However, in conventional switch circuits with this type of configuration, when a switch is pressed, it performs only a specific function, so in order to perform multiple functions, multiple switches must be activated. , and the number of signal lines for the interface increases, resulting in high cost and the need for a large amount of space.
本発明はかかる事情に鑑みてなされたのであつ
て、その目的は、単一設置のスイツチが押されて
ある一定時間内に、何回同一スイツチが押される
かによつてそれに対応する処理機能を果すように
することにより、複数個のスイツチの設置を不要
にしたスイツチ回路を提供することを目的とす
る。 The present invention has been made in view of the above circumstances, and its purpose is to perform a corresponding processing function depending on how many times the same switch is pressed within a certain period of time when a single installed switch is pressed. It is an object of the present invention to provide a switch circuit that eliminates the need for installing a plurality of switches.
次に本発明のスイツチ回路の一実施例を第2図
の回路図によつて説明すると、SWは単一設置の
スイツチ、1はRSフリツプフロツプ(以下F/
Fという)、2はシフトレジスタ、3はワンシヨ
ツトF/F、4はこのワンシヨツトF/F3のト
リガ信号のゲートである。51〜5nは、シフト
レジスタ2の出力21〜2nとワンシヨツトF/
Fの出力とのアンドゲートである。CLR信号は
ゲート51〜5nの出力信号61〜6nのスイツ
チの押下による変化をサブシステムが検出したと
き出力されるクリア信号である。PRC信号はサ
ブシステムが処理中であり、再びスイツチが押さ
れても、信号61〜6nに変化がないようにする
ためのものである。7はワンシヨツトF/Fの出
力とPRC信号とのアンドゲートである。 Next, an embodiment of the switch circuit of the present invention will be explained with reference to the circuit diagram of FIG. 2. SW is a single installed switch, 1 is an RS flip-flop (hereinafter referred to as F/
2 is a shift register, 3 is a one-shot F/F, and 4 is a gate for the trigger signal of this one-shot F/F 3. 51 to 5n are outputs 21 to 2n of shift register 2 and one shot F/
This is an AND gate with the output of F. The CLR signal is a clear signal that is output when the subsystem detects a change in the output signals 61 to 6n of the gates 51 to 5n due to the depression of a switch. The PRC signal is being processed by the subsystem, and is used to ensure that the signals 61 to 6n do not change even if the switch is pressed again. 7 is an AND gate between the output of the one-shot F/F and the PRC signal.
第3図はこのように構成されたスイツチ回路の
タイミング図である。 FIG. 3 is a timing diagram of the switch circuit constructed in this manner.
以下上記のように構成された本発明のスイツチ
回路の動作について第2図および第3図を参照し
て説明すると、SWを押すと、RSF/F1の出力
が立上り、PRC信号がハイレベルであるため、
ゲート7の出力信号SWSはSWが押されている間
(A)立下がる。これがシフトレジスタ2のクロツク
となり、その出力21がハイレベルとなる。一方
3OUTは今ハイレベルなので、ゲート4の出力が
SWSのレベル変化により、ワンシヨツトF/F
3をセツトする。3OUTが立上る前に再びSWが
押されると出力信号SWSはSWが押されている間
(B)立下がり前と同様にシフトレジスタ2の出力2
2が1となる。この時3OUTはロウレベルである
ため、再びワンシヨツトF/F3がセツトするこ
とはない。最初にSWが押されて一定時間To後
に、ワンシヨトF/F3の出力3OUTが立上る。
この時ゲート51〜5nが開き、シフトレジスタ
2の出力21〜2nは出力61〜6nに反転にさ
れて出力する。上記のようにSWが2回押された
場合ではゲート52の出力信号62がローレベル
となる。サブシステムはそれに対応する処理を行
なう。サブシステムは信号61〜6nの1個がロ
ーレベルとなり、SWが押されたことを検出する
と、直ちにPRC信号を送る。またCLR信号を送
り、処理が完全に終了した時信号CLR,PRCを
立上げ、次にSWが押されるのを待つようなる。 The operation of the switch circuit of the present invention configured as described above will be explained below with reference to FIGS. 2 and 3. When SW is pressed, the output of RSF/F1 rises and the PRC signal becomes high level. For,
The output signal SWS of gate 7 is while SW is pressed.
(A) Fall down. This becomes the clock for the shift register 2, and its output 21 becomes high level. on the other hand
Since 3OUT is currently at high level, the output of gate 4 is
One-shot F/F due to SWS level changes
Set 3. If SW is pressed again before 3OUT rises, the output signal SWS will remain as long as SW is pressed.
(B) Output 2 of shift register 2 as before falling
2 becomes 1. Since 3OUT is at low level at this time, one shot F/F3 will not be set again. After the SW is pressed for the first time and a certain period of time has elapsed, the output 3OUT of the one-shot F/F3 rises.
At this time, the gates 51-5n are opened, and the outputs 21-2n of the shift register 2 are inverted and output as outputs 61-6n. When the SW is pressed twice as described above, the output signal 62 of the gate 52 becomes low level. The subsystem performs the corresponding processing. When the subsystem detects that one of the signals 61 to 6n goes low and the SW is pressed, it immediately sends a PRC signal. It also sends the CLR signal, raises the signals CLR and PRC when the processing is completely completed, and waits for the next SW button to be pressed.
上記の説明から明らかなように、本発明によれ
ば、従来必要とした複数個のスイツチの機能を単
一のスイツチに持たせるようにしたので、従来の
ようにインターフエースの信号線も多くなり、コ
スト高で多くのスペースを要する欠点を解消する
ことができ、実用的価値は大である。 As is clear from the above description, according to the present invention, a single switch has the functions of multiple switches that were required in the past, so there is no need for a large number of interface signal lines as in the past. , it is possible to eliminate the disadvantages of high cost and large space requirements, and has great practical value.
第1図は従来のスイツチ回路の結線図、第2図
は本発明に係わるスイツチ回路の結線図で第3図
はその各部信号のタイミング図である。
1,11,1n……RSフリツプフロツプ、2
……シフトレジスタ、3……ワンシヨツトフリツ
プフロツプ。
FIG. 1 is a wiring diagram of a conventional switch circuit, FIG. 2 is a wiring diagram of a switch circuit according to the present invention, and FIG. 3 is a timing chart of signals of each part thereof. 1, 11, 1n...RS flip-flop, 2
...Shift register, 3...One-shot flip-flop.
Claims (1)
間を監視する手段と、この一定時間内に前記単一
スイツチが何回押されたかを監視する手段と、こ
の回数監視手段によつて検知される有効回数に対
応する相異なる機能を処理する手段と、前記一定
時間の経過のときに前記回数監視手段によつて検
知される有効回数に対応する前記機能を処理する
手段を指定する出力信号を出力する出力手段と、
この出力手段により指定された前記機能を処理す
る手段の処理中のときは前記単一のスイツチの入
力を無効にする無効手段とを具備してなるスイツ
チ回路。1 means for monitoring a certain period of time after a single switch is first pressed; means for monitoring how many times the single switch has been pressed within this certain period of time; output signals for specifying means for processing different functions corresponding to the number of valid times detected by the number of valid times detected by the number of valid times detected by the number of times monitoring means when the predetermined period of time has elapsed; an output means for outputting;
a switch circuit comprising disabling means for disabling the input of the single switch when the means for processing the function specified by the output means is in process;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9504579A JPS5620331A (en) | 1979-07-27 | 1979-07-27 | Switch circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9504579A JPS5620331A (en) | 1979-07-27 | 1979-07-27 | Switch circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5620331A JPS5620331A (en) | 1981-02-25 |
| JPH0136287B2 true JPH0136287B2 (en) | 1989-07-31 |
Family
ID=14127090
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9504579A Granted JPS5620331A (en) | 1979-07-27 | 1979-07-27 | Switch circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5620331A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5879332A (en) * | 1981-11-05 | 1983-05-13 | Nissan Shatai Co Ltd | Control switch |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6013610B2 (en) * | 1978-11-14 | 1985-04-08 | ティアック株式会社 | Mode selection switching device |
-
1979
- 1979-07-27 JP JP9504579A patent/JPS5620331A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5620331A (en) | 1981-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0351002B2 (en) | ||
| JPH0136287B2 (en) | ||
| US4087665A (en) | Switching system | |
| GB1298505A (en) | Improvements in programmable sequential control means | |
| US3083907A (en) | Electronic counter | |
| JPS5334243A (en) | Device for diagnosing malfunction of elevator control unit | |
| JP2513032B2 (en) | Microcomputer input control circuit | |
| JPS5789155A (en) | Integrated logical operation circuit | |
| JPS57103175A (en) | Automatic music selector | |
| SU718921A1 (en) | Multichannel switching apparatus | |
| SU661755A1 (en) | Contact flutter preventing device | |
| SU1267420A1 (en) | Device for checking electronic units | |
| SU792254A1 (en) | Apparatus for interruption of programme | |
| SU1539974A1 (en) | Single-pulse transducer | |
| SU781814A1 (en) | Control device | |
| JPS578853A (en) | Digital computer | |
| SU1187169A1 (en) | Device for checking synchronizing buses | |
| JPS61136115A (en) | Basic clock generating circuit of microcomputer system | |
| SU630522A1 (en) | Tolerance meter | |
| SU769737A1 (en) | Switching device | |
| JPS57114954A (en) | Error recovery system for logical device | |
| SU614434A1 (en) | Arrangement for collecting information from discrete sensors | |
| SU1603367A1 (en) | Element of sorting network | |
| SU680172A1 (en) | Pulse distributor | |
| SU1571571A1 (en) | Device for information input |