JPH01175620A - Electronic equipment having keyboard - Google Patents

Electronic equipment having keyboard

Info

Publication number
JPH01175620A
JPH01175620A JP62334793A JP33479387A JPH01175620A JP H01175620 A JPH01175620 A JP H01175620A JP 62334793 A JP62334793 A JP 62334793A JP 33479387 A JP33479387 A JP 33479387A JP H01175620 A JPH01175620 A JP H01175620A
Authority
JP
Japan
Prior art keywords
key
keyboard
signal line
processing unit
central processing
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
JP62334793A
Other languages
Japanese (ja)
Inventor
Takashi Tsunoda
角田 孝
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP62334793A priority Critical patent/JPH01175620A/en
Publication of JPH01175620A publication Critical patent/JPH01175620A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To reduce the number of keys by providing a discrimination means which discriminates whether an external device is connected or not and a processing means which executes a processing corresponding to the operation of a function key in accordance with the discriminated result. CONSTITUTION:A central processing unit 2 judges the key depressed in a keyboard 1. When it is judged to be a multifunction key, a signal is transmitted to an interface circuit I/F 5 through a signal line l2. When the printer of the external device is connected, the signal transmitted by the signal line l2 is fetched into the central processing unit 2 through a signal line l3 as it is. When the printer is not connected, the signals in the signal lines l2 and l3 do not coincide. With the decision, the central processing unit 2 decides the action of the multifunction key and displays memory contents in a display by the multifunction key or permits it to function as a print key. Thus, the number of the keys is reduced since the same key is separately permitted to function.

Description

【発明の詳細な説明】 し産業上の利用分野コ 本発明は、プリンタ等の装置を、着脱可能なキーボード
を有する電子機器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an electronic device, such as a printer, having a detachable keyboard.

[従来の技術] 従来、この種の装置は、プリンタ等の装置が接続された
場合の為にプリンタならプリンタを制御する為の専用キ
ー、例えば、プリントキー、ベーパーフィードキー、バ
ックフィードキーを備えていた。
[Prior Art] Conventionally, this type of device has been equipped with dedicated keys for controlling the printer when a device such as a printer is connected, such as a print key, vapor feed key, and backfeed key. was.

[発明が解決しようとしている問題点]しかしながら、
従来例では、キーが多くなることによる本体の大型化と
いう欠点があった。
[Problem that the invention seeks to solve] However,
The conventional example had the disadvantage that the main body became larger due to the increased number of keys.

近年の電子技術の発展は目ざましく、LSI化から超L
SI化、そして、実装技術の向上により軽薄短小化が急
速に進んでいる。
The development of electronic technology in recent years has been remarkable, from LSI to ultra-L
Due to the shift to SI and improvements in mounting technology, devices are becoming lighter, thinner, shorter, and smaller at a rapid pace.

この様な状況下において、電子機器自体もより小さくし
ようという動きがある。
Under these circumstances, there is a movement to make electronic devices themselves smaller.

そこで、注目されるのが、キーボードのサイズ縮小にあ
り、如何にキーの数を減らし、キーボードをコンパクト
にまとめるかが最大のポイントとなっている。
Therefore, the focus is on reducing the size of the keyboard, and the most important point is how to reduce the number of keys and make the keyboard compact.

しかし、電子機器の機能が増大し、外部機器の接続が多
くなることによる、キーの増大という欠点が発生してき
た。
However, as the functions of electronic devices have increased and the number of external devices has increased, the number of keys has increased.

[問題点を解決するための手段(及び作用)]この問題
点を解決するために、本発明はプリンタ等の装置が接続
されているか否かを判別し、その判別結果に従って操作
されたキーに対応する処理を行う為の処理手段を備えて
なる。
[Means for solving the problem (and operation)] In order to solve this problem, the present invention determines whether or not a device such as a printer is connected, and according to the result of the determination, a It is equipped with processing means for performing corresponding processing.

[実施例コ 第1図は本発明のブロック構成図。[Example code] FIG. 1 is a block diagram of the present invention.

第2図、第3図は本発明のキーボード外観図とフローチ
ャートを示す。
FIGS. 2 and 3 show an external view of the keyboard and a flowchart of the present invention.

第1図において、1はデータを入力したり、処理の指示
を行う為のキーボード、2は演算、制御を司る中央演算
処理装置、3は第3図に示すフローチャートに従った制
御プログラムを格納する読み出し専用メモリ、4はラン
ダムアクセスメモリ、5は外部機器を接続する為のイン
ターフェイス回路であり、外部機器接続有無の判定手段
が存在する。6はコネクタで、プリンタへのケーブルを
着脱する。
In Fig. 1, 1 is a keyboard for inputting data and issuing processing instructions, 2 is a central processing unit that performs calculations and control, and 3 is a storage unit for controlling a control program according to the flowchart shown in Fig. 3. 4 is a read-only memory, 4 is a random access memory, 5 is an interface circuit for connecting an external device, and there is a means for determining whether or not an external device is connected. 6 is a connector for connecting and disconnecting the cable to the printer.

今、中央演算処理装置2はアドレス線ADを読み出し専
用メモリROM3に与え、データバス線DBを介し、シ
ーケンシャルにプログラムの実行をしている。ランダム
アクセスメモリRAM4は中央処理装置2で演算した結
果、さらにはシステムのワークとして利用されている。
At present, the central processing unit 2 provides the address line AD to the read-only memory ROM 3 and is sequentially executing a program via the data bus line DB. The random access memory RAM 4 is used as a result of calculations performed by the central processing unit 2 and as a workpiece of the system.

さて、キーボード1で本発明の多機能キーを押し下げに
よって、その信号は信号線1□を介し、中央演算処理装
置2に取り込まれる。
Now, when the multi-function key of the present invention is pressed on the keyboard 1, the signal is taken into the central processing unit 2 via the signal line 1□.

中央演算処理装置2は、このキーの判断を行い、多機能
キーと判定したならば、信号線12を通してインターフ
ェイス回路1/F5に信号を送出する。
The central processing unit 2 judges this key, and if it is judged to be a multi-function key, sends a signal to the interface circuit 1/F5 through the signal line 12.

もし、接続されているならば、信号線℃2で送出した信
号がそのまま信号線f13を介して、中央演算処理装置
2に取り込まれる。逆に、未接続であるならば、信号線
12と信号線に3上の信号は一致しない。
If it is connected, the signal sent out through the signal line °C2 is taken in as it is to the central processing unit 2 via the signal line f13. Conversely, if they are not connected, the signals on signal line 12 and signal line 3 do not match.

この判定によって、中央演算処理装置2は前述多機能キ
ーを外部機器の機能キーとして動作させるのか、または
本体単体としての別機能キーとして動作させるかを決定
する。
Based on this determination, the central processing unit 2 determines whether the multi-function key is to be operated as a function key for an external device or as a separate function key for the main body alone.

第2はキーボードの概観図で、7はキーボード上のキー
群、6は本発明の多機能キーである。
The second is a general view of the keyboard, where 7 is a group of keys on the keyboard, and 6 is a multi-function key of the present invention.

本体単体として動作するのであれば、プリンターと共有
して使用しているメモリ内容を表示器上(図示せず)に
表示し、外部機器のプリンターが本体と接続されていれ
ば、プリントキーとして機能する。
If the main unit operates as a standalone unit, the memory contents shared with the printer will be displayed on the display (not shown), and if an external printer is connected to the main unit, it will function as a print key. do.

第3図は本発明のフローチャートであり、ステップ1で
は中央演算処理装置2が信号線で1を介して、常時キー
入力の監視を行っている。
FIG. 3 is a flow chart of the present invention. In step 1, the central processing unit 2 constantly monitors key inputs via the signal line 1.

キー入力がなされなければ、キー入力待ちとなり、キー
入力がなされたならば、ステップ2へ進む。
If no key input is made, the process waits for a key input, and if a key input is made, the process advances to step 2.

ステップ2では、キーボード1より押されたキーが多機
能キーか否かの判定を行う。
In step 2, it is determined whether the key pressed on the keyboard 1 is a multi-function key.

多機能キーでなければステップ3へ進み、キー処理を施
して終了する。
If it is not a multi-function key, the process proceeds to step 3, performs key processing, and ends the process.

逆に、多機能キーであればステップ4を実行する。Conversely, if the key is a multi-function key, step 4 is executed.

ステップ4においては、外部機器が接続されているか否
かの判断をくだすところである。
In step 4, a determination is made as to whether or not an external device is connected.

中央演算処理装置2は、信号線で2上にロジック゛l”
を出力し、信号線L3より前記信号線12上へ送出した
信号を比較する。一致していなければ、外部機器未接続
と解釈し、ステップ5へ進んで、メモリーのロードを実
行する。
The central processing unit 2 has a logic circuit on it via a signal line.
is output, and the signal sent onto the signal line 12 from the signal line L3 is compared. If they do not match, it is interpreted that the external device is not connected, and the process proceeds to step 5 to load the memory.

また、先の信号線I1.2と℃3の信号が一致している
ならば、中央演算処理装置2は、信号線12上にロジッ
ク“Φ”の信号を出力する。
Further, if the signals on the signal line I1.2 and the signal on the °C3 match, the central processing unit 2 outputs a logic “Φ” signal onto the signal line 12.

ここで、再びCPU2は、信号線f!、3上の信号を読
み取り、比較一致をとる。
Here, the CPU 2 again connects the signal line f! , 3, and compare and match.

不一致であれば、先程と同様にステップ5へ、一致であ
れば、ステップ6へ進み、プリンターへ印字出力し終了
する。
If they do not match, proceed to step 5 as before; if they match, proceed to step 6, print out to the printer, and end the process.

[発明の効果コ 以上説明したように、外部機器の有無を判別することで
、同一キーを別機能にさせ、キーの数を減少させる効果
をもたらす。
[Effects of the Invention] As explained above, by determining the presence or absence of an external device, the same key can be used for different functions, resulting in the effect of reducing the number of keys.

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

第1図は本発明のブロック構成図。 第2図は外観図。 第3図はフローチャートである。 1−一一丁キーボード  2−−−−CP U3 −−
−−ROM         4−−−−RA  M5
−一一一インターフエイス回路及び検出回路6.7−−
−−キー
FIG. 1 is a block diagram of the present invention. Figure 2 is an external view. FIG. 3 is a flowchart. 1-11 keyboard 2----CP U3 ---
--ROM 4----RA M5
-111 interface circuit and detection circuit 6.7--
--key

Claims (1)

【特許請求の範囲】 データを入力する為のキーボードと、 前記キーボードに設けられる機能キーと、 前記機能キーに操作に応答して、外部装置が接続されて
いるか否かを判別する判別手段と、前記判別手段の判別
結果に従って前記機能キーの操作に対応した処理を行う
処理手段と、 を有することを特徴とするキーボードを有する電子機器
[Scope of Claims] A keyboard for inputting data; a function key provided on the keyboard; a determining means for determining whether an external device is connected in response to an operation on the function key; An electronic device having a keyboard, comprising: processing means for performing processing corresponding to the operation of the function key according to the determination result of the determination means.
JP62334793A 1987-12-29 1987-12-29 Electronic equipment having keyboard Pending JPH01175620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62334793A JPH01175620A (en) 1987-12-29 1987-12-29 Electronic equipment having keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62334793A JPH01175620A (en) 1987-12-29 1987-12-29 Electronic equipment having keyboard

Publications (1)

Publication Number Publication Date
JPH01175620A true JPH01175620A (en) 1989-07-12

Family

ID=18281292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62334793A Pending JPH01175620A (en) 1987-12-29 1987-12-29 Electronic equipment having keyboard

Country Status (1)

Country Link
JP (1) JPH01175620A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236257A (en) * 2005-02-28 2006-09-07 Casio Comput Co Ltd Projector, projection system, control method of projector, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236257A (en) * 2005-02-28 2006-09-07 Casio Comput Co Ltd Projector, projection system, control method of projector, and program

Similar Documents

Publication Publication Date Title
JPH01175620A (en) Electronic equipment having keyboard
JP2616628B2 (en) Key input device
JPH08287003A (en) Dma controller
CN101930410A (en) Input-output control unit and electronic musical instrument
JP3161174B2 (en) Key telephone equipment
KR880000422B1 (en) Matrix key and data selector
KR900006287B1 (en) N-key roll over scan circuit and method for membrane capacitive keyboard
JPS61139843A (en) Data processor
KR20080105340A (en) A terminal of touch input type and method for treating a touch input
JPH02135513A (en) Data processor
JPH06161624A (en) Interruption controlling method
JPS6140659A (en) Electronic computer
JP2927189B2 (en) Printer interface device
JPH04167043A (en) Portable electronic equipment
JPS58219629A (en) Key input interruption driver processing system
JPH08286827A (en) Data input device
JP2002373035A (en) Method and device for generating reset signal
JPS6041772B2 (en) Parity creation circuit
JPH01237862A (en) Address transmitter/receiver
JPH0512055A (en) Microprocessor unit selection control circuit
JPS5854404A (en) Connecting system for process input and output
JPH0511469B2 (en)
JPH05165771A (en) Digital integrated circuit device
JPH0764768A (en) Absolute value accumulator
JPH06175822A (en) Decimal arithmetic instruction processor