JPH04222012A - Input device for data processor - Google Patents

Input device for data processor

Info

Publication number
JPH04222012A
JPH04222012A JP41317490A JP41317490A JPH04222012A JP H04222012 A JPH04222012 A JP H04222012A JP 41317490 A JP41317490 A JP 41317490A JP 41317490 A JP41317490 A JP 41317490A JP H04222012 A JPH04222012 A JP H04222012A
Authority
JP
Japan
Prior art keywords
input
scanning
ports
signals
input devices
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
JP41317490A
Other languages
Japanese (ja)
Inventor
Kazuhide Adachi
一秀 足立
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP41317490A priority Critical patent/JPH04222012A/en
Publication of JPH04222012A publication Critical patent/JPH04222012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To input signals from respective input apparatuses by means of input ports less than the number of input apparatuses to be connected. CONSTITUTION:Plural input apparatuses K11 to Kmn are divided into m groups each of which consists of n apparatuses in order to input signals from the mXn input apparatuses, n input apparatuses in each group are connected in common and connected to respective input ports T1 to Tn, and while scanning respective groups, a scanning signal from any one of the groups is inputted as a BCD code signal.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、コンピュータ・シー
ケンサ等のデータ処理装置に、複数の入力機器よりデー
タを入力するデータ処理装置の入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input device for a data processing device such as a computer sequencer, which inputs data from a plurality of input devices.

【0002】0002

【従来の技術】コンピュータ・シーケンサの入力装置は
、複数の入力機器(押ボタン、センサ等)からの信号を
取り込むのに、従来は図2に示すように、P個の入力機
器K1 、K2 、…、Kp の一端を接続するP個の
入力ポートT1 、T2 、…、Tp を備え、入力機
器K1 、K2 、…、Kp からの信号をパラレル入
力している。
2. Description of the Related Art An input device for a computer sequencer takes in signals from a plurality of input devices (push buttons, sensors, etc.). Conventionally, as shown in FIG. 2, P input devices K1, K2, ..., Kp are connected to one end of P input ports T1, T2, ..., Tp, and signals from input devices K1, K2, ..., Kp are input in parallel.

【0003】0003

【発明が解決しようとする課題】上記した従来のコンピ
ュータ・シーケンサの入力装置は、接続する入力機器と
同数の入力ポートを設けるものであり、100個(P=
100)の入力機器を接続する場合、100点の入力ポ
ートが必要となり、入力装置のコストが高くなるという
問題があった。
The conventional computer sequencer input device described above is provided with the same number of input ports as the input devices to be connected, and there are 100 input ports (P=
When connecting 100) input devices, 100 input ports are required, which poses a problem of increasing the cost of the input device.

【0004】この発明は、上記問題点に着目してなされ
たものであって、接続される入力機器の数に対して少な
い入力ポート数で各入力機器からの信号を取込み得るデ
ータ処理装置の入力装置を提供することを目的としてい
る。
The present invention has been made in view of the above problem, and is an input device for a data processing device that can receive signals from each input device with a small number of input ports relative to the number of connected input devices. The purpose is to provide equipment.

【0005】[0005]

【課題を解決するための手段】この発明のデータ処理装
置の入力装置は、入力機器をn個ずつのmグループに分
け、前記各グループの各1からnまでの対応する入力機
器の一端を、共通接続して、それぞれ対応するデータ処
理装置のn個の個別入力ポートに接続する一方、時間順
次のスキャニング信号を個別出力するm個のスキャニン
グ端子といずれのスキャニング信号が出力されているか
をコード出力する複数の出力ビットポートを持つ、スキ
ャニングユニットを設け、前記各グループの各1からn
までの入力機器の他端をそれぞれ共通接続して、前記ス
キャニング端子に個別接続し、前記データ処理装置に、
前記スキャニングユニットの複数の出力ビットポートか
らのコード信号を受ける複数の入力ビットポートを備え
、前記個別入力ポートと前記入力ビットポートからの信
号で入力機器を特定するようにしたことを特徴としてい
る。
[Means for Solving the Problems] An input device for a data processing apparatus according to the present invention divides input devices into m groups of n devices, and connects one end of each of the input devices 1 to n in each group to m groups. Connects commonly to n individual input ports of corresponding data processing devices, and outputs m scanning terminals that individually output time-sequential scanning signals, and outputs a code to indicate which scanning signal is being output. a scanning unit having a plurality of output bit ports for each of said groups 1 to n;
The other ends of the input devices up to are connected in common, respectively connected to the scanning terminal, and connected to the data processing device,
The apparatus is characterized in that it includes a plurality of input bit ports that receive code signals from a plurality of output bit ports of the scanning unit, and the input device is specified by signals from the individual input ports and the input bit ports.

【0006】[0006]

【作用】このデータ処理装置の入力装置では、各グルー
プの1からnの各入力機器からの信号は、データ処理装
置の個別入力ポートにそれぞれ入力される。そして、各
個別入力ポートに入力される信号がいずれのグループの
入力機器からのものであるかは、スキャニング端子の順
次選択により選択され、いずれのスキャニング端子が選
択中であるかを示すコード信号がスキャニングユニット
のビットポートからデータ処理装置の入力ビットポート
に送られる。そして、このコード信号により、個別入力
ポートに入力されている信号がいずれのグループの各入
力機器かを特定することができる。この入力装置では、
P=m×n個の入力機器を接続する場合でも、n+g(
コード信号のビット数)のポート数で足りる。
[Operation] In the input device of this data processing device, signals from each of the input devices 1 to n in each group are respectively input to individual input ports of the data processing device. Then, which group of input devices the signal input to each individual input port comes from is selected by sequentially selecting the scanning terminals, and a code signal indicating which scanning terminal is being selected is selected. from the bit port of the scanning unit to the input bit port of the data processing device. Based on this code signal, it is possible to specify which group each input device corresponds to the signal input to the individual input port. With this input device,
Even when connecting P=m×n input devices, n+g(
The number of ports (the number of bits of the code signal) is sufficient.

【0007】[0007]

【実施例】以下、実施例により、この発明をさらに詳細
に説明する。図1は、この発明の一実施例を示すコンピ
ュータ・シーケンサの入力装置の回路接続図である。同
図において、コンピュータ・シーケンサ1は、m×n個
の入力機器K11、K12、…、K1nからKm1、K
m2、…、Kmnの入力機器が接続されるようになって
いる。n×m個の入力機器は、n個の入力機器を1グル
ープとするm個のグループに分けられ、各グループの入
力機器は、1からmまでの入力機器がそれぞれ対応して
個別に一端が接続され、コンピュータ・シーケンサ1の
入力ポートT1 、T2 …、Tn にそれぞれ対応し
て接続されている。 また、各グループの入力機器の他端は、それぞれのグル
ープでダイオードdを介して共通接続され、入力スキャ
ニングユニット2のスキャニング端子S1 、S2 、
…、Sm に接続されている。つまり第1のグループの
入力機器K11、…、K1nは共通的に他端がスキャニ
ング端子S1 に接続され、第2番目のグループの入力
機器K21、…、K2nは他端がダイオードdを介して
スキャニング端子S2 に接続され、同様に第m番目の
グループの入力機器Km1、…、Kmnは、ダイオード
dを介して、共通接続されて、スキャニング端子Sm 
に接続されている。入力スキャニングユニット2の各ス
キャニング端子S1 、S2 、…、Sm は、トラン
ジスタQ1 、Q2 、…、Qm にそれぞれ時分割で
スキャニングされるスキャニング信号が入力され、時間
順次にスキャニング端子S1 、S2 、…、Sm が
接地接続されるように構成される。また、いずれのスキ
ャニング端子が接続されているかを示す信号がBCDコ
ード出力として、入力スキャニングユニット2のポート
B1 、B2 、B3 、B4 から出力され、このB
CDコードが、つまりいずれの端子がスキャニングされ
ているかを示す信号がコンピュータ・シーケンサ1のB
CDコード入力ポートb1 、b2 、b3 、b4 
に入力されるように構成されている。
[Examples] The present invention will be explained in more detail with reference to Examples below. FIG. 1 is a circuit connection diagram of an input device for a computer sequencer showing an embodiment of the present invention. In the figure, the computer sequencer 1 has m×n input devices K11, K12, ..., K1n to Km1, K
Input devices m2, . . . , Kmn are connected. The n×m input devices are divided into m groups, each group consisting of n input devices, and each group's input devices have input devices from 1 to m corresponding to each other. and are connected to the input ports T1, T2, . . . , Tn of the computer sequencer 1, respectively. Further, the other ends of the input devices of each group are commonly connected via a diode d in each group, and are connected to scanning terminals S1, S2, and S2 of the input scanning unit 2.
..., connected to Sm. In other words, the input devices K11, ..., K1n of the first group have their other ends commonly connected to the scanning terminal S1, and the input devices K21, ..., K2n of the second group have their other ends connected to the scanning terminal S1 through the diode d. The input devices Km1, ..., Kmn of the m-th group connected to the terminal S2 are similarly connected to the scanning terminal Sm through the diode d.
It is connected to the. Each of the scanning terminals S1, S2,..., Sm of the input scanning unit 2 receives a scanning signal that is time-divisionally scanned by the transistors Q1, Q2,..., Qm, and sequentially scans the scanning terminals S1, S2,..., Sm is configured to be connected to ground. In addition, a signal indicating which scanning terminal is connected is output as a BCD code output from ports B1, B2, B3, and B4 of the input scanning unit 2, and this B
The CD code, that is, the signal indicating which terminal is being scanned, is sent to B of computer sequencer 1.
CD code input ports b1, b2, b3, b4
is configured to be input.

【0008】以上のように、構成されるコンピュータ・
シーケンサ1の入力装置において、入力スキャニングユ
ニット2のトランジスタQ1 がオンされ、スキャニン
グ端子S1 が接地されると、つまり、スキャニング端
子S1 が選択されると、コンピュータ・シーケンサ1
の入力ポートT1 、T2 、…、Tn からの信号が
入力機器K11、K12、…、K1nのオン/オフ状況
に応じて通電され、コンピュータのシーケンサ1は、入
力ポートT1 、T2 …、Tn を介して、入力機器
K11、K12、…、K1nのオン/オフ信号が取り込
まれる。スキャニング端子S1 が選択されている状態
では、他のトランジスタQ2 、…、Qm はオフ状態
にあり、したがって、スキャニング端子S2 、…、S
m は選択されない。この場合、BCDコード出力ポー
トB1 、…、B4 よりスキャニング端子S1 が選
択されていることを示す信号が、コンピュータ・シーケ
ンサ1のBCDコード入力ポートb1 、…、b4 に
入力される。したがって、このBCDコード入力から取
り込まれるコード信号により、コンピュータ・シーケン
サ1では、スキャニング端子S1 が選択されているこ
とを認識し、入力ポートT1 、T2 、…、Tn か
ら取り込まれたオン/オフの信号は、入力機器K11、
K12、…、K1nからの信号であることを特定する。
[0008] As described above, the computer configured
In the input device of the sequencer 1, when the transistor Q1 of the input scanning unit 2 is turned on and the scanning terminal S1 is grounded, that is, when the scanning terminal S1 is selected, the computer sequencer 1
The signals from the input ports T1, T2, ..., Tn are energized according to the on/off status of the input devices K11, K12, ..., K1n, and the sequencer 1 of the computer receives the signals through the input ports T1, T2, ..., Tn. Then, on/off signals of the input devices K11, K12, . . . , K1n are taken in. In the state where the scanning terminal S1 is selected, the other transistors Q2,...,Qm are in the off state, and therefore the scanning terminal S2,...,S
m is not selected. In this case, a signal indicating that the scanning terminal S1 is selected from the BCD code output ports B1, . . . , B4 is input to the BCD code input ports b1, . . . , b4 of the computer sequencer 1. Therefore, the computer sequencer 1 recognizes that the scanning terminal S1 is selected by the code signal taken in from this BCD code input, and outputs the on/off signals taken in from the input ports T1, T2, ..., Tn. is input device K11,
It is specified that the signal is from K12, . . . , K1n.

【0009】次に、入力スキャニングユニット2のスキ
ャニング信号が移動し、トランジスタQ2 がオンされ
ると、スキャニング端子S2 が接地され、今度はコン
ピュータ・シーケンサ1の入力ポートT1 、T2 、
…、Tn より入力機器K21、K22、…、K2nの
オン/オフ状況に応じた通電信号がスキャニング端子S
2 に流れ、入力ポートT1 、T2 、…、Tn か
らは、K21、K22、…、K2nのオン/オフ信号が
取り込まれる。この場合、上記と同様に入力スキャニン
グユニット2からは、BCDコード出力として、スキャ
ニング端子S2 を選択したことを示す信号がコンピュ
ータ・シーケンサ1のBCDコード入力として入力され
るので、やはり入力ポートT1 、T2 、…、Tn 
から取り込まれた信号が入力機器K21、K22、…、
K2nからのオン/オフ信号であることを特定すること
ができる。
Next, when the scanning signal of the input scanning unit 2 moves and the transistor Q2 is turned on, the scanning terminal S2 is grounded and the input ports T1, T2, T2 of the computer sequencer 1 are connected to the ground.
..., Tn sends an energizing signal to the scanning terminal S according to the on/off status of the input devices K21, K22, ..., K2n.
2, and on/off signals of K21, K22, . . . , K2n are taken in from input ports T1, T2, . . . , Tn. In this case, similarly to the above, a signal indicating that the scanning terminal S2 has been selected as a BCD code output is input from the input scanning unit 2 as a BCD code input to the computer sequencer 1, so the input ports T1 and T2 are ,...,Tn
The signals taken in from the input devices K21, K22,...
It can be identified that this is an on/off signal from K2n.

【0010】以上のようにしてスキャニング信号が、ト
ランジスタQm に加えられると、スキャニング端子S
m のみが接地され、この場合には、入力ポートT1 
、T2 、…、Tn から入力機器Km1、…、Kmn
のオン/オフ状況に応じた通電信号が流れ、入力ポート
T1 、T2 、…、Tn からは、入力機器Km1、
Km2、…、Kmnのオン/オフに応じた信号を読み取
る。そして、この読み取られたオン/オフ信号はBCD
コード出力として、スキャニング信号Sm が選択され
ていることを示す信号が同様にコンピュータ・シーケン
サ1のBCDコード入力として取り込まれるので、やは
り入力ポートT1 、T2 、…、Tn から取り込ま
れたオン/オフ信号は、入力機器Km1、…、Kmnか
らのオン/オフ信号であることを特定することができる
When the scanning signal is applied to the transistor Qm as described above, the scanning terminal S
m is grounded, in this case input port T1
, T2 ,..., Tn to input devices Km1,..., Kmn
An energizing signal flows according to the on/off status of the input devices Km1, Tn from the input ports T1, T2,..., Tn.
Read signals corresponding to on/off of Km2, . . . , Kmn. And this read on/off signal is BCD
As a code output, a signal indicating that the scanning signal Sm is selected is similarly taken in as a BCD code input of the computer sequencer 1, so the on/off signal is also taken in from the input ports T1, T2,...,Tn. can be identified as on/off signals from the input devices Km1, . . . , Kmn.

【0011】この実施例コンピュータ・シーケンサ1に
よれば、入力ポートn個とBCDコード入力端子に要す
る複数個の端子のみで、m×n個の入力機器を接続する
ことができる。例えば、入力機器がm×n=100個で
あるとすると、10×10にグループ化した場合に、入
力ポート10個、さらにこの入力ポート10個のスキャ
ニング端子を選択・指定するためのBCDコードのビッ
ト数として、4ビット合わせて14個の入力ポートで対
応することができる。
According to the computer sequencer 1 of this embodiment, m×n input devices can be connected using only n input ports and a plurality of terminals required for the BCD code input terminal. For example, if there are m x n = 100 input devices, when grouped into 10 x 10, there are 10 input ports, and a BCD code for selecting and specifying the scanning terminals of these 10 input ports. The number of bits can be handled by a total of 14 input ports with 4 bits.

【0012】0012

【発明の効果】この発明によれば、n×m個の入力機器
を接続するのに、n個のIOポートとn個をコード化す
るためのビットポートを有するだけでよいので、接続す
る入力機器の数に比してはるかに少ない数の入力ポート
数で対応することができ、入力装置を非常に安価に製作
することができるという利点がある。
According to the present invention, in order to connect n×m input devices, it is only necessary to have n IO ports and n bit ports for encoding. This has the advantage that the number of input ports can be far smaller than the number of devices, and the input device can be manufactured at a very low cost.

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

【図1】この発明の一実施例を示すコンピュータ・シー
ケンサの入力装置の回路接続図である。
FIG. 1 is a circuit connection diagram of an input device for a computer sequencer showing an embodiment of the present invention.

【図2】従来のコンピュータ・シーケンサの入力装置を
示す回路接続図である。
FIG. 2 is a circuit connection diagram showing an input device of a conventional computer sequencer.

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

1  コンピュータ・シーケンサ 2  入力スキャニングユニット K11・…・K1n・K21・…・K2n・…・Km1
・…・Kmn  入力機器 T1 ・T2 ・…・Tn   入力ポートb1 ・b
2 ・b3 ・b4   BCDコードビット入力ポー
1 Computer sequencer 2 Input scanning unit K11...K1n K21...K2n...Km1
・…・Kmn Input device T1 ・T2 ・…・Tn Input port b1 ・b
2 ・b3 ・b4 BCD code bit input port

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データ処理装置に、m×n(m、n:整数
)個の入力機器からの信号を入力するためのデータ処理
装置の入力装置であって、前記入力機器をn個ずつのm
グループに分け、前記各グループの各1からnまでの対
応する入力機器の一端を、共通接続して、それぞれ対応
するデータ処理装置のn個の個別入力ポートに接続する
一方、時間順次のスキャニング信号を個別出力するm個
のスキャニング端子といずれのスキャニング信号が出力
されているかをコード出力する複数のビットポートを持
つ、スキャニングユニットを設け、前記各グループの各
1からnまでの入力機器の他端をグループ毎にそれぞれ
共通接続して、前記スキャニング端子に個別接続し、前
記データ処理装置に、前記スキャニングユニットの複数
の出力ビットポートからのコード信号を受ける複数の入
力ビットポートを備え、前記個別入力ポートと前記入力
ビットポートからの信号で入力機器を特定するようにし
たことを特徴とするデータ処理装置の入力装置。
1. An input device for a data processing device for inputting signals from m×n (m, n: integer) input devices to the data processing device, wherein the input devices are input to each of n input devices. m
divided into groups, and one end of each of the corresponding input devices from 1 to n of each group is commonly connected and connected to n individual input ports of the corresponding data processing device, while time-sequential scanning signals are transmitted. A scanning unit is provided, which has m scanning terminals that individually output signals, and a plurality of bit ports that output a code indicating which scanning signal is being output, and the other end of each input device from 1 to n in each group. are commonly connected for each group and individually connected to the scanning terminal, the data processing device is provided with a plurality of input bit ports receiving code signals from the plurality of output bit ports of the scanning unit, and the individual input An input device for a data processing device, characterized in that an input device is specified by a signal from a port and the input bit port.
JP41317490A 1990-12-21 1990-12-21 Input device for data processor Pending JPH04222012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP41317490A JPH04222012A (en) 1990-12-21 1990-12-21 Input device for data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP41317490A JPH04222012A (en) 1990-12-21 1990-12-21 Input device for data processor

Publications (1)

Publication Number Publication Date
JPH04222012A true JPH04222012A (en) 1992-08-12

Family

ID=18521860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP41317490A Pending JPH04222012A (en) 1990-12-21 1990-12-21 Input device for data processor

Country Status (1)

Country Link
JP (1) JPH04222012A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58137476A (en) * 1982-02-08 1983-08-15 Kawasaki Steel Corp Method for applying powdery resin body

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58137476A (en) * 1982-02-08 1983-08-15 Kawasaki Steel Corp Method for applying powdery resin body

Similar Documents

Publication Publication Date Title
US4575714A (en) Module presence sensor
US4776025A (en) Neighbor image processing exclusive memory
JPH04222012A (en) Input device for data processor
JP3199805B2 (en) Key input device
JPH074665Y2 (en) Key matrix reading circuit
JPH01156812A (en) Keyboard switch
SU1524058A2 (en) Device for interfacing computer modulus with users
JPH0713917A (en) Configuration change system
SU888138A1 (en) Device for switching problems on analogue computers
KR900000112B1 (en) Reading method and circuit of keyboard's key inputing
SU1283737A1 (en) Multichannel information input device
JPH0668055A (en) Digital signal processor
JPH0795734B2 (en) Circuit for polling communication
SU1462283A1 (en) Information input device
SU1349014A1 (en) Interboard joint device
SU596960A1 (en) Arrangement for automatic testing of wiring connections
JPH0695658B2 (en) Multiprocessor system
JPH10143298A (en) Signal input/output circuit
JPH05250306A (en) Dma controller
JPS6278661A (en) Data transfer equipment
JPS63296121A (en) Input device
JPH05341724A (en) Lighting display device and lighting display unit
JPH086690A (en) Data processor
JPH07191948A (en) State value acquisition system for parallel computers
JPH04172549A (en) Digital data processor