JPS6243210B2 - - Google Patents
Info
- Publication number
- JPS6243210B2 JPS6243210B2 JP56060307A JP6030781A JPS6243210B2 JP S6243210 B2 JPS6243210 B2 JP S6243210B2 JP 56060307 A JP56060307 A JP 56060307A JP 6030781 A JP6030781 A JP 6030781A JP S6243210 B2 JPS6243210 B2 JP S6243210B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- input
- turned
- output
- 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/0227—Cooperation and interconnection of the input arrangement with other functional units of a computer
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)
Description
【発明の詳細な説明】
本発明は例へば計測制御システムの操作盤の押
釦操作の場合誤つて複数個の釦を同時に押した場
合、同時に複数個のオン信号が入力しシーケンス
を乱すが、この場合1個の信号のみをオンとし他
は全部オフとする瞬時形デイジタル入力回路方式
に関する。[Detailed Description of the Invention] For example, when operating the push buttons on the operation panel of a measurement control system, if multiple buttons are pressed at the same time, multiple ON signals are input at the same time, disrupting the sequence. The present invention relates to an instantaneous digital input circuit system in which only one signal is turned on and all others are turned off.
第1図は従来例の入力するデータが16ビツトの
場合の瞬時入力形デイジタル入力回路方式のブロ
ツク図で、図中S1〜S16はモーメンタリスイツ
チ、d1〜d16は微分回路、1,G1〜G16はオア回
路、M1〜M16はメモリ(RS−FF)、D1〜D16はオ
ープンコレクタドライバ(NAND回路)、2は遅
延回路、3はリード信号入力端子、Vccは正の直
流電源である。又第2図は第1図の方式のタイム
チヤートでAはモーメンタリスイツチS3はオンに
した時のパルス信号、Bは微分回路d3によるパル
ス信号、CはモーメンタリスイツチS8をオンにし
た時のパルス信号、Dは微分回路d8によるパルス
信号、EはメモリM3のQの出力、FはメモリM8
のQの出力、Gはリード信号、Hはメモリのリセ
ツト信号、イはモーメンタリスイツチS3がオフと
なり次にS8がオンになつた場合、ロはモーメンタ
リスイツチS3,S8が同時にオンとなつた場合を示
す。まづ第2図イの場合について説明する。Aに
示す如く例へばモーメンタリスイツチS3をオンと
するとこのパルス信号の立下りで微分回路d3はB
に示す如くパルス信号を発する。このパルス信号
によりオア回路G3の出力は“0”となりメモリ
M3のQ出力はEに示す如く1となる。又オア回
路1を介してオア回路G1〜G16に“1”を入力す
る。続いて例へばCに示す如くモーメンタリスイ
ツチS8をオンとしてもオア回路G8にはオア回路
1の出力より1が加わつているのでメモリM8は
セツト(Qを1)されない。(ここで微分回路d1
〜d16を設けているのはモーメンタリスイツチが
オンの間にメモリの出力をリセツトしても再度メ
モリの出力が1となるのを防止するためであ
る。)次にGに示すリード信号によりオープンコ
レクタドライバD1〜D16よりデータを出力する。
この時はオープンコレクタドライバD3のみが
“1”であり他は全部“0”である。又リード信
号は遅延回路2を介してメモリM1〜M16に送られ
データを出力した後にリセツト(メモリM1〜M16
のQ出力が“0”となる)され新入力信号の入力
が可能となる。しかし第2図ロの部分に示す如く
入力信号が2ビツト以上同時にオンとなつた場合
〔微分回路(d1〜d16)、オア回路(G1〜G16、メモ
リ(M1〜M16)、オア回路1の伝達時間内にオ
ン〕この説明ではモーメンタリスイツチS3,S8が
同時にオンとなるとE,Fに示す如くメモリM3
〜M8のQの出力が1となりオープンコレクタド
ライバD1〜D16よりデータを出力する場合オープ
ンコレクタドライバD3〜D8の出力が1となり、
1つの信号のみが1とならず計測制御システム等
の場合シーケンスを混乱する欠点がある。 Figure 1 is a block diagram of a conventional instantaneous input type digital input circuit system when input data is 16 bits. In the figure, S 1 to S 16 are momentary switches, d 1 to d 16 are differentiating circuits, 1, G 1 to G 16 are OR circuits, M 1 to M 16 are memories (RS-FF), D 1 to D 16 are open collector drivers (NAND circuits), 2 is a delay circuit, 3 is a read signal input terminal, and Vcc is It is a positive DC power source. Figure 2 is a time chart of the method shown in Figure 1, where A is the pulse signal when the momentary switch S3 is turned on, B is the pulse signal from the differentiating circuit d3 , and C is the pulse signal when the momentary switch S8 is turned on. , D is the pulse signal from the differentiating circuit d 8 , E is the output of Q of memory M 3 , F is the output of memory M 8
, G is the read signal, H is the memory reset signal, A is the momentary switch S 3 is turned off and then S 8 is turned on, B is the momentary switch S 3 and S 8 are turned on at the same time. Indicates the case of aging. First, the case shown in FIG. 2A will be explained. For example, as shown in A, when the momentary switch S3 is turned on, the differentiating circuit d3 switches to B at the fall of this pulse signal.
A pulse signal is generated as shown in the figure. Due to this pulse signal, the output of OR circuit G3 becomes “0” and the memory
The Q output of M 3 becomes 1 as shown in E. Further, "1" is inputted to OR circuits G 1 to G 16 via OR circuit 1. Next, as an example, even if the momentary switch S8 is turned on as shown in C, since 1 is added to the OR circuit G8 from the output of the OR circuit 1, the memory M8 is not set (Q is set to 1). (Here, the differential circuit d 1
~ d16 is provided to prevent the memory output from becoming 1 again even if the memory output is reset while the momentary switch is on. ) Next, data is output from the open collector drivers D 1 to D 16 by the read signal shown at G.
At this time, only the open collector driver D3 is "1" and all others are "0". Also, the read signal is sent to the memories M 1 to M 16 via the delay circuit 2 and reset after outputting the data (memories M 1 to M 16
Q output becomes "0"), and a new input signal can be input. However, as shown in the part (b) of Figure 2, when two or more input signals are turned on at the same time [differential circuit (d 1 to d 16 ), OR circuit (G 1 to G 16 , memory (M 1 to M 16 ) , during the transmission time of the OR circuit 1] In this explanation, when the momentary switches S 3 and S 8 are turned on at the same time, the memory M 3 is turned on as shown in E and F.
When the output of Q of ~ M8 becomes 1 and data is output from open collector drivers D1 to D16 , the output of open collector drivers D3 to D8 becomes 1,
In the case of a measurement control system, etc., where only one signal does not become 1, there is a drawback that the sequence is confused.
本発明の目的は上記の欠点をなくするために入
力されるNビツトのデータ中同時に複数のオンの
ビツトがあつた場合でも出力は常に1個のビツト
のみオンとする瞬時入力形デイジタル入力回路方
式の提供にある。 The object of the present invention is to provide an instantaneous input type digital input circuit system in which only one bit is always turned on at the output even if multiple bits are turned on at the same time among N bits of input data, in order to eliminate the above-mentioned drawbacks. It is provided by.
本発明は上記の目的を達成するために並列に入
力するNビツトのデータを並直列変換部で一旦直
列に変換出力し、1ビツト毎にオンになつている
ビツトの検出を行ない、最初にオンとなつている
ビツト検出後の直列データを全てオフとして直並
列変換部へ転送し並列データとして出力すること
を特徴とする瞬時入力形デイジタル入力回路方式
である。 In order to achieve the above object, the present invention converts N bits of data input in parallel into serial data in a parallel-to-serial converter, detects which bits are turned on bit by bit, and detects which bits are turned on first. This is an instantaneous input type digital input circuit system that is characterized in that all serial data after detecting a bit that is OFF is transferred to a serial/parallel converter and output as parallel data.
以下本発明の1実施例につき図に従つて説明す
る。第3図は本発明の一実施例で入力するデータ
が16ビツトの場合の瞬時入力形デイジタル入力回
路方式のブロツク図で、図中第1図と同じ機能の
ものは同一記号で示し、SR1は並直列変換シフ
トレジスタ、SR2は直並列変換シフトレジス
タ、FF1は遅延形フリツプフロツプ、FF2はセ
ツトリセツトフリツプフロツプ、4,11,12
はアンド回路、5,8はデイレイ回路、6はクロ
ツク制御回路、7はパルス発生器、9は微分回
路、10はオア回路、a〜dは説明用の各位置を
示す。又第4図は第3図のタイムチヤートでイ,
ロはモーメンタリスイツチS3,S8を同時にオンに
した時のパルス信号(以下S3,S8とする)、ハは
FF2のQの出力信号、ニはd点の信号、ホはa
点の信号でSR1のセツト信号ヘはb点の信号で
16個のクロツクパルス、トはSR1の内部信号、
チはSR1の出力信号、リはFF1のの出力信
号、ヌはSR2の内部信号、ルはリード信号、オ
はC点の信号即ちリセツト信号である。今モーメ
ンタリスイツチS3,S8を同時にオンとした場合は
イ,ロに示す如くS3,S8の信号を発生する。この
信号はシフトレジスタSR1に入力すると同時に
オア回路10に入力される。オア回路10の出力
は2分岐され、一方は信号の立下りを検出する微
分回路9に入力され、ホに示す如きシフトレジス
タSR1のセツト信号となる。このセツト信号に
よりトに示す如く入力データをシフトレジスタ
SR1内へセツトする。他方の信号はデイレイ回
路8で遅延され(シフトレジスタSR1に入力デ
ータが格納する時間分)セツトリセツトフリツプ
フロツプFF2のQ,がハに示す如く反転す
る。〔ハはQの出力のみを示す〕セツトリセツト
フリツプフロツプFF2はシフトレジスタSR1,
SR2、遅延形フリツプフロツプFF1を動作させ
るためのクロツク出力制御しセツトリセツトフリ
ツプフロツプFF2のを“0”とし入力信号が
ドライバD1〜D16より出力する迄入力信号を阻止
する回路である。セツトリセツトフリツプフロツ
プFF2が動作するとクロツク制御回路6を動作
させヘに示す如く16個のクロツク信号を発する。
このクロツク信号がシフトレジスタSR1,SR
2、遅延形フリツプフロツプFF1のクロツクと
なる。このクロツク信号によりシフトレジスタ
SR1に格納された入力データが直列にチに示す
如く出力される。この場合S3,S8のみがオン信号
である。そして遅延形フリツプフロツプFF1で
まずS3を検出するとリに示す如くが反転しアン
ド回路4によりS4以降を“0”としてシフトレジ
スタSR2へ転送する〔ヌに示すオンの時点で転
送は完了〕。従つてシフトレジスタSR2へ転送さ
れた入力データはS3のみ“1”で他は全て“0”
となりルに示すリード信号により読取るデータも
当然S3のみ“1”で他は全て“0”である。又ア
ンド回路11を通つたリード信号はデイレイ回路
5によりオに示す如く遅延され読取完了後フリツ
プフロツプFF1,FF2、シフトレジスタSR2
をリセツトし新入力信号の入力が可能となる。尚
アンド回路11はシフトレジスタSR1がシフト
レジスタSR2に転送中にリード信号がきてもリ
セツトされないようニに示す信号により防止して
いる。以上の如く入力されるNビツトのデータ中
同時に複数のオンのビツト信号があつても常に1
個のビツト信号のみオンとして出力することが出
来る。 An embodiment of the present invention will be described below with reference to the drawings. FIG. 3 is a block diagram of an instantaneous input type digital input circuit system when the input data is 16 bits in one embodiment of the present invention. In the figure, the same functions as in FIG. Parallel-to-serial conversion shift register, SR2 is a serial-to-parallel conversion shift register, FF1 is a delay type flip-flop, FF2 is a set-reset flip-flop, 4, 11, 12
5 and 8 are AND circuits, 5 and 8 are delay circuits, 6 is a clock control circuit, 7 is a pulse generator, 9 is a differential circuit, 10 is an OR circuit, and a to d each position for explanation. Also, Figure 4 is the time chart of Figure 3.
B is the pulse signal when momentary switches S 3 and S 8 are turned on at the same time (hereinafter referred to as S 3 and S 8 ), C is the pulse signal when momentary switches S 3 and S 8 are turned on at the same time
Q output signal of FF2, D is the signal at point d, E is a
The signal at point B goes to the set signal of SR1.
16 clock pulses, SR1 internal signal,
H is the output signal of SR1, R is the output signal of FF1, N is the internal signal of SR2, L is the read signal, and O is the signal at point C, that is, the reset signal. If the momentary switches S 3 and S 8 are turned on at the same time, the signals S 3 and S 8 will be generated as shown in A and B. This signal is input to the OR circuit 10 at the same time as it is input to the shift register SR1. The output of the OR circuit 10 is branched into two branches, one of which is input to a differentiating circuit 9 that detects the fall of the signal, and becomes a set signal for the shift register SR1 as shown in E. This set signal causes the input data to be shifted into the register as shown in the figure below.
Set within SR1. The other signal is delayed by the delay circuit 8 (for the time required for the input data to be stored in the shift register SR1), and the Q of the reset flip-flop FF2 is inverted as shown in FIG. [C shows only the output of Q] The reset flip-flop FF2 is connected to the shift register SR1,
SR2 is a circuit that controls the clock output for operating the delay type flip-flop FF1, sets the reset flip-flop FF2 to "0", and blocks input signals until the input signals are output from the drivers D1 to D16 . When the reset flip-flop FF2 operates, the clock control circuit 6 operates to generate 16 clock signals as shown in FIG.
This clock signal is used by shift registers SR1 and SR.
2. Serves as a clock for delay type flip-flop FF1. The shift register is controlled by this clock signal.
The input data stored in SR1 is serially output as shown in H. In this case, only S 3 and S 8 are on signals. When the delay type flip-flop FF1 first detects S3 , the signal is inverted as shown in (R), and the AND circuit 4 sets S4 and subsequent signals to "0" and transfers them to the shift register SR2. Therefore, the input data transferred to shift register SR2 is "1" only in S3 , and all others are "0".
Of course, the data read by the read signal shown next to it is " 1 " only for S3, and all others are "0". Also, the read signal passing through the AND circuit 11 is delayed by the delay circuit 5 as shown in Fig.
is reset and new input signals can be input. Note that the AND circuit 11 is prevented from being reset by the signal shown in D even if a read signal is received while the shift register SR1 is transferring data to the shift register SR2. Even if there are multiple ON bit signals at the same time among the N bits of data input as described above, the bit signal is always 1.
Only one bit signal can be turned on and output.
以上詳細に説明した如く本発明によれば入力さ
れるNビツトのデータ中、同時に複数のオンのビ
ツト信号が入力しても常に1個のビツト信号のみ
オンとして出力が出来、例へば計測制御システム
の操作盤の釦を同時に複数個おした場合でもシー
ケンス等を混乱する心配がない効果がある。 As explained in detail above, according to the present invention, even if a plurality of ON bit signals are input at the same time among input N bit data, only one bit signal can always be output as ON, and for example, in a measurement control system. This has the advantage that even if multiple buttons on the operation panel are pressed at the same time, there is no need to worry about confusing the sequence.
第1図は従来例の入力するデータが16ビツトの
場合の瞬時入力形デイジタル入力回路方式のブロ
ツク図、第2図は第1図の方式におけるタイムチ
ヤートでAはモーメンタリスイツチS3をオンにし
た時のパルス信号、Bは微分回路d3によるパルス
信号、CはモーメンタリスイツチS8をオンにした
時のパルス信号、Dは微分回路d8によるパルス信
号、Eはメモリのリセツト信号、FはメモリM8
のQの出力、Gはリード信号、Hはメモリのリセ
ツト信号、をそれぞれ示す図、第3図は本発明の
一実施例を示す図、第4図は第3図の実施例にお
けるタイムチヤートでイ,ロはモーメンタリスイ
ツチをオンにした時のパルス信号、ハはセツトリ
セツトフリツプフロツプのQの出力信号、ニはd
点の信号、ホはシフトレジスタのセツト信号、ヘ
はクロツクパルス、トはシフトレジスタの内部信
号、チはシフトレジスタの出力信号、リはFF1
のの出力信号、ヌはシフトレジスタの内部信
号、ルはリード信号、オはリセツト信号をそれぞ
れ示す図である。
図中S1〜S16はモーメンタリスイツチ、d1〜
d16,9は微分回路、1,G1〜G16,10はオア回
路、M1〜M16はメモリ、D1〜D16はオープンコレ
クタドライバ、2,5,8は遅延回路、3はリー
ド信号入力端子、Vccは正の直流電源、SR1は
並直列変換用のシフトレジスタ、SR2は直並列
変換用のシフトレジスタ、FF1は遅延形フリツ
プフロツプ、FF2はセツトリセツトフリツプフ
ロツプ、4,11,12はアンド回路、6はクロ
ツク制御回路、7はパルス発生器、である。
Figure 1 is a block diagram of a conventional instantaneous input type digital input circuit system when the input data is 16 bits. Figure 2 is a time chart for the system shown in Figure 1. A shows momentary switch S3 turned on. B is the pulse signal from the differentiating circuit d3 , C is the pulse signal when the momentary switch S8 is turned on, D is the pulse signal from the differentiating circuit d8 , E is the memory reset signal, F is the memory M8
, G is a read signal, and H is a memory reset signal. FIG. 3 is a diagram showing an embodiment of the present invention. FIG. 4 is a time chart for the embodiment of FIG. A and B are the pulse signals when the momentary switch is turned on, C is the output signal of the reset flip-flop Q, and D is d.
Signal at point, E is shift register set signal, F is clock pulse, G is internal signal of shift register, H is output signal of shift register, R is FF1
In the figure, numeral 1 indicates an output signal, numeral numeral indicates an internal signal of the shift register, ru indicates a read signal, and oc indicates a reset signal. In the figure, S 1 to S 16 are momentary switches, and d 1 to
d 16 and 9 are differential circuits, 1, G 1 to G 16 and 10 are OR circuits, M 1 to M 16 are memories, D 1 to D 16 are open collector drivers, 2, 5 and 8 are delay circuits, and 3 is a Read signal input terminal, Vcc is a positive DC power supply, SR1 is a shift register for parallel-serial conversion, SR2 is a shift register for serial-parallel conversion, FF1 is a delay type flip-flop, FF2 is a set-reset flip-flop, 4,11 , 12 is an AND circuit, 6 is a clock control circuit, and 7 is a pulse generator.
Claims (1)
換部で一旦直列に変換し、1ビツト毎にオンにな
つているビツトの検出を行ない、最初にオンとな
つているビツト検出後の直列データを全てオフと
して直並列変換部へ転送し並列データとして出力
することを特徴とする瞬時入力形デイジタル入力
回路方式。1 N-bit data that is input in parallel is converted into serial data in the parallel-to-serial converter, and the bits that are turned on are detected bit by bit, and the serial data after the first bit that is turned on is detected. An instantaneous input type digital input circuit system characterized by turning everything off, transferring it to the serial/parallel converter, and outputting it as parallel data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56060307A JPS57174730A (en) | 1981-04-21 | 1981-04-21 | Digital input circuit system of instantaneous input type |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56060307A JPS57174730A (en) | 1981-04-21 | 1981-04-21 | Digital input circuit system of instantaneous input type |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57174730A JPS57174730A (en) | 1982-10-27 |
| JPS6243210B2 true JPS6243210B2 (en) | 1987-09-11 |
Family
ID=13138365
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56060307A Granted JPS57174730A (en) | 1981-04-21 | 1981-04-21 | Digital input circuit system of instantaneous input type |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57174730A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5927932B2 (en) * | 1976-09-13 | 1984-07-09 | カシオ計算機株式会社 | Key input method |
-
1981
- 1981-04-21 JP JP56060307A patent/JPS57174730A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57174730A (en) | 1982-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4429300A (en) | High speed shift register circuit | |
| GB1396923A (en) | Data communication system | |
| US4755817A (en) | Data transmission system having transmission intervals which are adjustable for data words of various lengths | |
| JPS6243210B2 (en) | ||
| JP3134449B2 (en) | Serial / parallel conversion circuit | |
| JPS59229779A (en) | Series-parallel-series type integrated memory circuit | |
| JPS5843934B2 (en) | Shingouhenkansouchi | |
| SU1651383A1 (en) | Bipulse-to-binary code converter | |
| SU1160589A1 (en) | Frequency modulator | |
| JPH0625064Y2 (en) | Multi-valued logic driver | |
| JPH02218243A (en) | Digital data transfer system | |
| KR950007106B1 (en) | Pwm external port extension circuit | |
| JPH0773212B2 (en) | A / D converter | |
| JPS5935048B2 (en) | Timing information transmission method | |
| JP2504459B2 (en) | Digital line multidrop circuit | |
| SU1354191A1 (en) | Microprogram control device | |
| SU496550A1 (en) | Multi-channel input device | |
| JPS6155291B2 (en) | ||
| JPH0430775B2 (en) | ||
| JPS60162325A (en) | Multiplex control circuit | |
| JPS62151029A (en) | Serial-parallel conversion circuit with counter | |
| JPH04172720A (en) | D/a converter | |
| JPH0337219B2 (en) | ||
| JPS61255120A (en) | Phase adjusting circuit | |
| JPH0746802B2 (en) | Frame synchronization circuit |