JPH0210964B2 - - Google Patents

Info

Publication number
JPH0210964B2
JPH0210964B2 JP58037750A JP3775083A JPH0210964B2 JP H0210964 B2 JPH0210964 B2 JP H0210964B2 JP 58037750 A JP58037750 A JP 58037750A JP 3775083 A JP3775083 A JP 3775083A JP H0210964 B2 JPH0210964 B2 JP H0210964B2
Authority
JP
Japan
Prior art keywords
keyboard
main body
code
keyboards
identification
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 - Lifetime
Application number
JP58037750A
Other languages
Japanese (ja)
Other versions
JPS59163626A (en
Inventor
Tatsuyuki Oohama
Masami Tsukagoshi
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP58037750A priority Critical patent/JPS59163626A/en
Publication of JPS59163626A publication Critical patent/JPS59163626A/en
Publication of JPH0210964B2 publication Critical patent/JPH0210964B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、各種のキーボードが接続可能な情報
処理装置において、接続したキーボードの種類を
識別するキーボード識別方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a keyboard identification method for identifying the type of connected keyboard in an information processing apparatus to which various keyboards can be connected.

(ロ) 従来技術 一般に、キーボードには、JIS規格のJISキーボ
ード、ブツクを装着するブツク式キーボード、
JIS規格以外の配列を有するキーボード等、多種
類のキーボードがあり、近年、これらの種類の異
なるキーボードを同一の情報処理装置に接続して
使用するようになつてきた。この場合、使用する
全てのキーボードから同種の文字コードを発生さ
せれば、情報処理装置側では全てのキーボードを
同一の処理プログラムで処理できるが、一方のキ
ーボードからは文字コードが出力され、他方のキ
ーボードからはキーマトリクスのX、Yアドレス
を示すアドレスコードが出力されるような場合に
は、接続したキーボードの種類に応じて情報処理
装置側の処理プログラムを選択しなくてはならな
い。又、同じように、アドレスコードを出力する
キーボードを用いた場合でも、JIS規格のものと
それ以外のものでは、キー配列が異なるため、ア
ドレスコードに対応する文字コードが異なつてし
まう。このため、情報処理装置に接続したキーボ
ードの種類を識別しなくてはならない。
(b) Prior art In general, keyboards include JIS keyboards based on the JIS standard, book-type keyboards with a book attached, and
There are many types of keyboards, including keyboards with layouts other than the JIS standard, and in recent years, these different types of keyboards have come to be used by connecting them to the same information processing device. In this case, if the same type of character code is generated from all the keyboards used, the information processing device can process all the keyboards with the same processing program, but the character code is output from one keyboard, and the character code is output from the other keyboard. If the keyboard outputs an address code indicating the X and Y addresses of the key matrix, the processing program on the information processing device side must be selected depending on the type of keyboard connected. Similarly, even if a keyboard that outputs an address code is used, the character code corresponding to the address code will be different because the keyboard layout is different between the JIS standard keyboard and the other keyboard. Therefore, it is necessary to identify the type of keyboard connected to the information processing device.

そこで、従来は、特開昭57−159328に示されて
いるように、キーボードのキーマトリクスの一部
をキーボードの種類を示す識別信号の設定部とし
て用い、ここに、キーボードの種類に応じて異な
る位置にダイオードを接続し、キー操作に応じて
コード信号と種別信号とを発生させ、この種別信
号によりキーボードの種類を識別していた。
Therefore, conventionally, as shown in Japanese Patent Application Laid-Open No. 57-159328, a part of the key matrix of the keyboard is used as a setting part for the identification signal indicating the type of keyboard, and here, A diode was connected to the keyboard to generate a code signal and a type signal in response to key operations, and the type signal was used to identify the type of keyboard.

ところが、このような従来の方式では、キーマ
トリクスの一部を種別信号の設定部としているた
め、使用できるキーマトリクスが制限を受けてし
まい、又、キーボードの識別においては、必ずキ
ー操作を行なわなければならないという欠点があ
つた。
However, in such conventional methods, a part of the key matrix is used as a type signal setting section, which limits the usable key matrix, and also requires key operations to identify the keyboard. There was a drawback that it did not work.

(ハ) 発明の目的 本発明は、キー操作を不要とし自動的にキーボ
ードの識別を行なえると共に、非常に簡単な構成
でキーボードの識別を実現できるようにすること
を目的とするものである。
(C) Object of the Invention The object of the present invention is to enable automatic keyboard identification without the need for key operations, and to realize keyboard identification with a very simple configuration.

(ニ) 発明の構成 本発明は、複数種類のキーボードを情報処理装
置本体に接続可能であつて、接続されたキーボー
ドから押下キーに対応するキーコードをデータラ
インを介して前記本体に送出する情報処理装置に
おいて、前記複数種類のキーボードに種類に応じ
た異なる識別コードを割り当て、前記複数種類の
キーボードのいずれかを前記本体に接続した状態
で、該本体から前記キーボードに対し識別コード
送出の指示を発し、キーボードは該指示に応答し
て自己の識別コードを前記データラインを介して
本体に送出し、本体側で、受信した識別コードに
より接続されたキーボードの種類を識別するよう
にしたものである。
(d) Structure of the Invention The present invention provides information in which a plurality of types of keyboards can be connected to an information processing device main body, and a key code corresponding to a pressed key is sent from the connected keyboard to the main body via a data line. In the processing device, different identification codes are assigned to the plurality of types of keyboards depending on the type, and with one of the plurality of types of keyboards connected to the main body, the main body instructs the keyboard to send an identification code. In response to the instruction, the keyboard sends its own identification code to the main body via the data line, and the main body identifies the type of keyboard connected using the received identification code. .

(ホ) 実施例 第1図及び第2図は、本発明の実施例を示すブ
ロツク図であり、1は第1のキーボード、2は第
1のキーボードとは種類の異なる第2のキーボー
ド、3は第1と第2のいずれのキーボードとも接
続可能な端末装置であり、第1及び第2のキーボ
ード1及び2は、各々、コード信号を並列に出力
するための出力端子O1〜O4を備えており、端末
装置3はコード信号を並列に入力するための入力
端子I1〜I4を備えている。
(E) Embodiment FIGS. 1 and 2 are block diagrams showing an embodiment of the present invention, in which 1 is a first keyboard, 2 is a second keyboard different in type from the first keyboard, and 3 is a block diagram showing an embodiment of the present invention. is a terminal device that can be connected to both the first and second keyboards, and the first and second keyboards 1 and 2 each have output terminals O 1 to O 4 for outputting code signals in parallel. The terminal device 3 is equipped with input terminals I 1 to I 4 for inputting code signals in parallel.

第1のキーボード1において、4はキーマトリ
クス、5はキースキヤン用のクロツクパルスを発
生するクロツクパルス発生回路、6はエンコー
ダ、7はYアドレスをクロツクパルスに基づいて
スキヤンし、キー操作により得られた4ビツトの
Xアドレスデータ及びYアドレスデータとを4ビ
ツトのアドレスコードa1〜a4に変換し発生するア
ドレスコード発生回路であり、リセツト端子Rに
「1」レベルの信号が入力されているときは、キ
ーマトリクス4のキー操作に応じたアドレスコー
ドa1〜a4を発生するが、リセツト端子Rに「0」
レベルの信号が印加されるとアドレスコードa1
a4を全て「1」レベルに設定するよう構成されて
おり、このリセツト端子Rは入力端子O5に接続
されている。又、アドレスコードの出力段の第4
ビツト目には、アドレスコードa4を一端に入力し
出力端が出力端子O4に接続されたANDゲート8
が設けられており、ANDゲート8の他端は入力
端子O5に接続されている。
In the first keyboard 1, 4 is a key matrix, 5 is a clock pulse generation circuit that generates clock pulses for key scanning, 6 is an encoder, and 7 is a 4-bit signal that scans the Y address based on the clock pulse and is obtained by key operation. This is an address code generation circuit that converts X address data and Y address data into 4-bit address codes a1 to a4 , and when a "1" level signal is input to the reset terminal R, the key Address codes a 1 to a 4 are generated according to the key operations of matrix 4, but “0” is output to the reset terminal R.
When a level signal is applied, the address code a 1 ~
A4 is all set to the "1" level, and this reset terminal R is connected to input terminal O5 . Also, the fourth output stage of the address code
For the bit, there is an AND gate 8 whose one end is input with the address code A4 and whose output end is connected to the output terminal O4 .
is provided, and the other end of the AND gate 8 is connected to the input terminal O5 .

一方、第2のキーボード2は、アドレスコード
発生回路7からのアドレスコードa1〜a4を4ビツ
トの文字コードC1〜C4に変換し発生する文字コ
ード発生回路9を備えた、第1のキーボード1と
は種類の異なるキーボードであり、文字コードの
出力段の第3ビツト目には、文字コードC3を一
端に入力し出力端が出力端子O3に接続された
ANDゲート10が設けられており、このANDゲ
ート10の他端及びアドレスコード発生回路7の
リセツト端子Rは、第1のキーボード1と同様、
入力端子O5に接続されている。
On the other hand, the second keyboard 2 includes a first character code generation circuit 9 that converts the address codes a 1 to a 4 from the address code generation circuit 7 into 4-bit character codes C 1 to C 4 and generates them. This is a different type of keyboard from Keyboard 1, and in the third bit of the character code output stage, character code C 3 is input to one end, and the output end is connected to output terminal O 3 .
An AND gate 10 is provided, and the other end of this AND gate 10 and the reset terminal R of the address code generation circuit 7 are connected as in the first keyboard 1.
Connected to input terminal O5 .

ところで、端末装置3において、11は入出力
インターフエース、12はキーボードを制御する
ための中央処理装置、13は各種の処理プログラ
ムが格納されたプログラムメモリであり、第1図
に示すように、端末装置3に第1のキーボード1
を接続した場合、中央処理装置12により識別指
示信号RSTを所定期間「0」として発生する。
すると、アドレスコード発生回路7のリセツト端
子Rには「0」の信号が印加されるため、全ての
アドレスコードa1〜a4は「1」となるが、AND
ゲート8の一端にも「0」の識別指示信号RST
が入力されるため、出力端子O1〜O4には「1110」
のコード信号が出力されることとなる。
By the way, in the terminal device 3, 11 is an input/output interface, 12 is a central processing unit for controlling the keyboard, and 13 is a program memory in which various processing programs are stored. First keyboard 1 on device 3
When connected, the central processing unit 12 generates the identification instruction signal RST as "0" for a predetermined period.
Then, since a signal of "0" is applied to the reset terminal R of the address code generation circuit 7, all address codes a1 to a4 become "1", but the AND
There is also a “0” identification instruction signal RST at one end of gate 8.
is input, so "1110" is input to output terminals O 1 to O 4 .
The code signal will be output.

一方、端末装置3に第2のキーボード2を接続
し、識別指示信号RSTを「0」として発生した
ときは、アドレスコードa1〜a4及び文字コードC1
〜C4は全て「1」となるが、ANDゲート10の
出力のみが「0」となるため、出力端子O1〜O4
からは「1101」のコード信号が出力されることと
なる。このように、キーボードを接続して、所定
期間識別指示信号RSTを「0」とすると、接続
されたキーボードに応じて出力端子O1〜O4から
異なるコード信号が、所定期間中に出力されるの
で、端末装置3では、この所定期間中のコード信
号を読み取ることにより接続したキーボードの種
類を識別できる。そして、この識別により対応す
る処理プログラムをプログラムメモリ13から読
み出せば、接続したキーボードに応じた処理を中
央処理装置12で行なうことが可能となる。尚、
識別後、識別指示信号RSTを「H」にすれば、
ANDゲート8及び10の一端には常に「H」の
信号が印加されることとなるので、キーマトリク
ス4のキー操作に対応するアドレスコードa1〜a4
あるいは文字コードC1〜C4が出力端子O1〜O4
ら出力されるようになる。
On the other hand, when the second keyboard 2 is connected to the terminal device 3 and the identification instruction signal RST is generated as "0", the address codes a 1 to a 4 and the character code C 1
~ C4 are all "1", but only the output of AND gate 10 is "0", so the output terminals O1 ~ O4
A code signal of "1101" will be output from. In this way, when a keyboard is connected and the identification instruction signal RST is set to "0" for a predetermined period, different code signals are output from the output terminals O 1 to O 4 during the predetermined period depending on the connected keyboard. Therefore, the terminal device 3 can identify the type of connected keyboard by reading the code signal during this predetermined period. Then, by reading out the corresponding processing program from the program memory 13 based on this identification, it becomes possible for the central processing unit 12 to perform processing corresponding to the connected keyboard. still,
After identification, if the identification instruction signal RST is set to "H",
Since an "H" signal is always applied to one end of the AND gates 8 and 10, the address codes a 1 to a 4 corresponding to the key operations of the key matrix 4 are
Alternatively, character codes C 1 to C 4 are output from output terminals O 1 to O 4 .

ところで、キーボードのコード信号出力段に用
いる論理ゲートとしては、ANDゲートだけでな
く、NANDゲートやORゲートを用いることもで
き、又、接続可能なキーボードの種類が多い場合
は、論理ゲートを複数設けてもよい。
By the way, as the logic gate used in the code signal output stage of the keyboard, not only AND gates but also NAND gates and OR gates can be used. Also, if there are many types of keyboards that can be connected, multiple logic gates can be installed. It's okay.

更に、一般の端末装置では、電源投入時のイニ
シヤルリセツト信号で接続したキーボードの全て
のコード信号を所定レベルに設定するようにして
いるので、このイニシヤルリセツト信号を識別指
示信号として用いればよい。
Furthermore, in general terminal devices, all code signals of the connected keyboard are set to a predetermined level by an initial reset signal when the power is turned on, so this initial reset signal can be used as an identification instruction signal. .

(ヘ) 発明の効果 本発明によるキーボード識別方式は、キー操作
が不用で自動的にキーボードの種類を識別できる
ので、非常に便利である。又、キーコードを伝送
するデータラインを用いて識別コードを伝送する
ようにしているので、識別コードを伝送するため
の専用のライン及びコネクタや、識別コードを受
信するための特別のハードウエアを必要とせず、
構成が簡単になる。
(F) Effects of the Invention The keyboard identification method according to the present invention is very convenient because it can automatically identify the type of keyboard without requiring any key operations. Also, since the identification code is transmitted using the data line that transmits the key code, a dedicated line and connector for transmitting the identification code and special hardware for receiving the identification code are required. without,
Configuration becomes easier.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は第1図とは種類の異なるキーボードを示
す要部ブロツク図である。 主な図番の説明、1,2……キーボード、3…
…端末装置、4……キーマトリクス、7……アド
レスコード発生回路、8,10……ANDゲート、
9……文字コード発生回路、11……入出力イン
ターフエース、12……中央処理装置。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a main part block diagram showing a keyboard different from that in FIG. 1. Explanation of main drawing numbers, 1, 2...Keyboard, 3...
...Terminal device, 4...Key matrix, 7...Address code generation circuit, 8, 10...AND gate,
9... Character code generation circuit, 11... Input/output interface, 12... Central processing unit.

Claims (1)

【特許請求の範囲】 1 複数種類のキーボードを情報処理装置本体に
接続可能であつて、接続されたキーボードから押
下キーに対応するキーコードをデータラインを介
して前記本体に送出する情報処理装置において、
前記複数種類のキーボードに種類に応じた異なる
識別コードを割り当て、前記複数種類のキーボー
ドのいずれかを前記本体に接続した状態で、該本
体から前記キーボードに対し識別コード送出の指
示を発し、キーボードは該指示に応答して自己の
識別コードを前記データラインを介して本体に送
出し、本体側で、受信した識別コードにより接続
されたキーボードの種類を識別するようにしたこ
とを特徴とするキーボードの識別方式。 2 前記情報処理装置本体からの識別コード送出
の指示は、キーボードに対するイニシヤライズ指
示であることを特徴とする特許請求の範囲第1項
記載のキーボード識別方式。
[Scope of Claims] 1. In an information processing device in which a plurality of types of keyboards can be connected to an information processing device main body, and a key code corresponding to a pressed key is sent from the connected keyboard to the main body via a data line. ,
Different identification codes are assigned to the plurality of types of keyboards depending on the type, and with one of the plurality of types of keyboards connected to the main body, an instruction to send an identification code is issued to the keyboard from the main body, and the keyboard is activated. In response to the instruction, the keyboard transmits its own identification code to the main body via the data line, and the main body side identifies the type of the connected keyboard based on the received identification code. Identification method. 2. The keyboard identification method according to claim 1, wherein the instruction to send the identification code from the information processing apparatus main body is an initialization instruction to the keyboard.
JP58037750A 1983-03-07 1983-03-07 Keyboard identifying system Granted JPS59163626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58037750A JPS59163626A (en) 1983-03-07 1983-03-07 Keyboard identifying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58037750A JPS59163626A (en) 1983-03-07 1983-03-07 Keyboard identifying system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP3018859A Division JPH04211820A (en) 1991-02-12 1991-02-12 Keyboard discriminating system

Publications (2)

Publication Number Publication Date
JPS59163626A JPS59163626A (en) 1984-09-14
JPH0210964B2 true JPH0210964B2 (en) 1990-03-12

Family

ID=12506147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58037750A Granted JPS59163626A (en) 1983-03-07 1983-03-07 Keyboard identifying system

Country Status (1)

Country Link
JP (1) JPS59163626A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62245327A (en) * 1986-04-18 1987-10-26 Canon Inc Discriminating system for keyboard type of electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS541526A (en) * 1977-06-06 1979-01-08 Takata Kojyo Co Seat belt takinggup motion
JPS541406A (en) * 1977-06-03 1979-01-08 Sanwa Seiki Mfg Co Ltd Radial piston type hydraulic pump motor
JPS5437536A (en) * 1977-08-30 1979-03-20 Canon Inc Miniature electronic apparatus
JPS5667433A (en) * 1979-11-04 1981-06-06 Ricoh Co Ltd Data transmission system for multi-item input device
JPS56155437A (en) * 1980-05-02 1981-12-01 Nec Corp Key code reading circuit
JPS5720826A (en) * 1980-07-11 1982-02-03 Nec Corp Recognizing system of system constitution
JPS5779540A (en) * 1980-11-04 1982-05-18 Hitachi Ltd Automatic connection system for input and output equipment
JPS57159328A (en) * 1981-03-27 1982-10-01 Fujitsu Ltd Keyboard discriminating system
JPS58101323A (en) * 1981-12-11 1983-06-16 Toshiba Corp Keyboard controlling system
JPS58158729A (en) * 1982-02-25 1983-09-21 ハネウエル・インフオメ−シヨン・システムズ・インコ−ポレ−テツド Keyboard unit for computer
JPS59133631A (en) * 1983-01-20 1984-08-01 Toshiba Corp Serial interface keyboard

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS541406A (en) * 1977-06-03 1979-01-08 Sanwa Seiki Mfg Co Ltd Radial piston type hydraulic pump motor
JPS541526A (en) * 1977-06-06 1979-01-08 Takata Kojyo Co Seat belt takinggup motion
JPS5437536A (en) * 1977-08-30 1979-03-20 Canon Inc Miniature electronic apparatus
JPS5667433A (en) * 1979-11-04 1981-06-06 Ricoh Co Ltd Data transmission system for multi-item input device
JPS56155437A (en) * 1980-05-02 1981-12-01 Nec Corp Key code reading circuit
JPS5720826A (en) * 1980-07-11 1982-02-03 Nec Corp Recognizing system of system constitution
JPS5779540A (en) * 1980-11-04 1982-05-18 Hitachi Ltd Automatic connection system for input and output equipment
JPS57159328A (en) * 1981-03-27 1982-10-01 Fujitsu Ltd Keyboard discriminating system
JPS58101323A (en) * 1981-12-11 1983-06-16 Toshiba Corp Keyboard controlling system
JPS58158729A (en) * 1982-02-25 1983-09-21 ハネウエル・インフオメ−シヨン・システムズ・インコ−ポレ−テツド Keyboard unit for computer
JPS59133631A (en) * 1983-01-20 1984-08-01 Toshiba Corp Serial interface keyboard

Also Published As

Publication number Publication date
JPS59163626A (en) 1984-09-14

Similar Documents

Publication Publication Date Title
US4733348A (en) Virtual-memory multiprocessor system for parallel purge operation
US4384326A (en) Memory security circuit using the simultaneous occurance of two signals to enable the memory
JPS5831431A (en) Interface circuit
US3980994A (en) Text editing and display system having text insert capability
JPH0210964B2 (en)
US6240520B1 (en) Power on/off control device for computer
US20090210187A1 (en) Testing system and its method for recognizing the number sequence
EP0059758A1 (en) Numerical control unit
JPH04211820A (en) Keyboard discriminating system
US5732199A (en) Control method and device of scanner with built-in plug-and-play printer port
GB2228813A (en) Data array conversion
JPH0313610B2 (en)
KR100284054B1 (en) Method and device for data transmission between micom and main system
KR100330575B1 (en) Lead / Write Data Error Verification Apparatus and Method for Semiconductor Memory Devices
KR100583958B1 (en) Device of setting test mode and method
KR0169003B1 (en) Chip card-read combinded keyboard/write device
JPS5971526A (en) Microcomputer system
US5448524A (en) Semiconductor memory device
SU1312591A1 (en) Interface for linking electronic computer with peripheral unit
JPS6327726B2 (en)
JPS6240738B2 (en)
SU1300486A1 (en) Interface for linking computer with numeric programmed control device
JPH0265433A (en) Terminal control circuit
SU1173445A1 (en) Device for cancelling data in reprogrammed memory microcircuits
JPH051486B2 (en)