JPH0332873A - Electronics - Google Patents

Electronics

Info

Publication number
JPH0332873A
JPH0332873A JP16672289A JP16672289A JPH0332873A JP H0332873 A JPH0332873 A JP H0332873A JP 16672289 A JP16672289 A JP 16672289A JP 16672289 A JP16672289 A JP 16672289A JP H0332873 A JPH0332873 A JP H0332873A
Authority
JP
Japan
Prior art keywords
signal
output
leds
input
shift register
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.)
Granted
Application number
JP16672289A
Other languages
Japanese (ja)
Other versions
JP2989835B2 (en
Inventor
Takayuki Murata
村田 隆之
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 JP1166722A priority Critical patent/JP2989835B2/en
Publication of JPH0332873A publication Critical patent/JPH0332873A/en
Application granted granted Critical
Publication of JP2989835B2 publication Critical patent/JP2989835B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Illuminated Signs And Luminous Advertising (AREA)

Abstract

PURPOSE:To provide an electronic equipment of simple structure which is capable of general use and is easy to assemble by providing a control device which latches information on the drive of a light-emitting element and information on the selection of each switching element for latch of the operating status of the switching element in the time-dividing mode. CONSTITUTION:A printer has a control panel for local control of paper feed instead of control by a host device. A connector 27 latches and outputs various kinds of signal through six signal lines. In addition, the printer has seven switches 18 to 24 and LED 9 and LEDs 10 to 17 in seven segments. Data are latched into and output from these switches and LEDs through a single latched shift register 25. These three groups are controlled respectively in the time dividing mode. Therefore, the latch of a signal into the main frame and the output of the signal from the frame can be achieved only through six signal lines, if many element wires are installed Eight output terminals of the shift register 25 are connected to seven segments LEDs 9 and four LEDs 10 to 17.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電子機器、特に複数の発光素子およびスイッチ
素子から構成される操作パネルを有する電子機器に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic device, and particularly to an electronic device having an operation panel composed of a plurality of light emitting elements and switch elements.

[従来の技術] 従来より、各種の電子機器でLEDなとの発光素子と押
しボタンスイッチなどによるスイッチによってユーザイ
ンタフェースを行なう技術が知られている。
[Prior Art] Conventionally, there has been known a technique for providing a user interface in various electronic devices using a light emitting element such as an LED and a switch such as a push button switch.

上記のような発光素子とスイッチから構成される操作パ
ネルでは、発光を制御すべき発光素子とデータを入力す
べきスイッチは総数に等しい信号線と、これらを駆動す
るための電源線、あるいはグランド線を機器の制御装置
と接続し、本体制御装置がそれぞれ上記の個々の信号線
を制御することによって発光素子を点灯させ、またスイ
ッチの押下情報を取り込んでいk。
In the operation panel composed of light emitting elements and switches as described above, the light emitting elements whose emission should be controlled and the switches whose data should be inputted have signal lines equal to the total number, and power lines or ground lines to drive them. is connected to the control device of the device, and the main body control device lights up the light emitting elements by controlling each of the above-mentioned individual signal lines, and also captures switch press information.

[発明が解決しようとする課題] ところが上記のような従来構造では、発光装置、スイッ
チの数とそれらを駆動、また検出する信号線の数が対応
しているため、発光素子、スイッチの数を増設する場合
にはその分信号線が増加し、次のような問題を生じる。
[Problems to be Solved by the Invention] However, in the conventional structure as described above, the number of light emitting devices and switches corresponds to the number of signal lines for driving and detecting them. When expanding the number of signal lines, the number of signal lines increases accordingly, causing the following problems.

まず、発光素子、スイッチを制御する本体制御装置の入
力、あるいは出力ボートの増設が必要になる。また、発
光素子、スイッチを増加させることでそれに見合った数
の信号線が増加することにより、ケーブルの引き回し、
安全性、組立工程、組立の能率などの再検討が必要とな
る。
First, it is necessary to add input or output ports to the main body control device that controls the light emitting elements and switches. In addition, by increasing the number of light-emitting elements and switches, the number of signal lines increases accordingly, making it easier to route cables.
Safety, assembly process, assembly efficiency, etc. will need to be reconsidered.

さらに、発光素子、スイッチの数が異なれば回路は全く
異なった構造となるため、発光素子やスイッチの数が異
なる装置を複数種類作った場合回路基板などの部品、あ
るいは本体制御部などの制御ソフトウェアに互換性がな
くなってしまう。
Furthermore, if the number of light-emitting elements and switches differs, the circuit will have a completely different structure, so if you create multiple types of devices with different numbers of light-emitting elements and switches, parts such as circuit boards or control software such as the main body control section will be incompatible.

本発明の課題は、以上の問題を解決し、簡略な構造を有
し、汎用性に優れた組立容易な操作パネルを有する電子
機器を提供することにある。
An object of the present invention is to solve the above problems and provide an electronic device having a simple structure, excellent versatility, and an easy-to-assemble operation panel.

[課題を解決するための手段] 以上の課題を解決するために、本発明においては、複数
の発光素子およびスイッチ素子から構成される操作パネ
ルを有する電子機器において、前記発光素子の駆動情報
と、前記スイッチ素子の操作状態入力のため各スイッチ
素子を選択する選択情報を時分割で装置の主制御部から
入力し、入力した駆動情報ないし選択情報に基づき時分
割で発光素子の駆動とスイッチ素子の操作状態の入力を
行なう制御手段を設けた構成を採用した。
[Means for Solving the Problems] In order to solve the above problems, in the present invention, in an electronic device having an operation panel composed of a plurality of light emitting elements and switch elements, driving information of the light emitting elements, In order to input the operation state of the switch elements, selection information for selecting each switch element is input in a time-sharing manner from the main control section of the device, and the driving of the light-emitting element and the switching element are performed in a time-sharing manner based on the input drive information or selection information. A configuration is adopted that includes a control means for inputting the operating status.

[作 用] 以上の構成によれば、発光素子の駆動およびスイッチ素
子の操作状態の入力を時分割で行なうため、信号入出力
のための信号線の数を減少できる。
[Function] According to the above configuration, the number of signal lines for signal input/output can be reduced because the driving of the light emitting element and the input of the operation state of the switch element are performed in a time-sharing manner.

[実施例] 以下、図面に示す実施例に基づき、本発明の詳細な説明
する。
[Example] Hereinafter, the present invention will be described in detail based on the example shown in the drawings.

第1図は本発明を採用した機器の一例として、プリンタ
装置の構造を示している。
FIG. 1 shows the structure of a printer device as an example of equipment employing the present invention.

図示したプリンタ1はインクジェット方式、レーザビー
ム方式など種々の記録出力方式に基づいて構成されたプ
リンタエンジン(機構)4を有し、このプリンタエンジ
ン4をコントローラ5が外部のホスト装置8からの命令
にしたがって制御することによって記録動作を行なうも
のである。
The illustrated printer 1 has a printer engine (mechanism) 4 configured based on various recording output methods such as an inkjet method and a laser beam method. Therefore, the recording operation is performed through control.

装置の電源は、スイッチング電源などから構成される装
置 ホスト装置8はパーソナルコンピュータやワードプロセ
ッサから構成され、コントローラ5とコネクタ7によっ
て接続される。コントローラ5とホスト装置8は直列あ
るいは並列にデータ伝送を行なう各種のインタフェース
規格に基づいてデータを入出力する。
The power source of the device is composed of a switching power supply, etc. The device host device 8 is composed of a personal computer or a word processor, and is connected to the controller 5 by a connector 7. The controller 5 and the host device 8 input and output data based on various interface standards for serial or parallel data transmission.

プリンタエンジン4はキャリッジ2を有している.この
キャリッジ装置2は各種の記録方式に対応した記録ヘッ
ドを搭載し、紙などの記録媒体を走査して所定方式で記
録動作を行なう。
The printer engine 4 has a carriage 2. This carriage device 2 is equipped with a recording head compatible with various recording methods, and performs a recording operation in a predetermined method by scanning a recording medium such as paper.

第1図のプリンタ1はホスト装置8の制御を介さず、紙
送りなどのローカル制御を行なうための操作パネル3を
有している.パネル3は紙送り、ホームフィード、テス
ト印字、その他種々の動作を直接プリンタエンジン4に
実行させるためのスイッチと、スイッチの操作状態、あ
るいは動作モードを表示するためのLED,7セグメン
トLED(これらの装置については後述)を有し、コネ
クタ27を介してプリンタエンジン4と接続されている
The printer 1 shown in FIG. 1 has an operation panel 3 for performing local control such as paper feeding without being controlled by the host device 8. The panel 3 has switches for directly causing the printer engine 4 to perform various operations such as paper feed, home feed, test printing, etc., as well as LEDs and 7-segment LEDs for displaying the operation status or operation mode of the switches. (The device will be described later), and is connected to the printer engine 4 via a connector 27.

第2図に第1図のパネル3の構造を詳細に示す.コネク
タ27は図示の6本の信号線を介して各f[号を入出力
する.そのうちの2本は、プリンタエンジン4側から電
源を供給するための電源線(VCC)および接地線(G
ND)である。
Figure 2 shows the structure of panel 3 in Figure 1 in detail. The connector 27 inputs and outputs each f[ number through the six signal lines shown in the figure. Two of them are a power line (VCC) and a ground line (G) for supplying power from the printer engine 4 side.
ND).

電源線vCCは5vの出力電圧をパネル各部に供給する
.パネル3は7個のスイッチ18〜24(SW6〜SW
O)と7セグメントのLED9、および各種の動作、モ
ードを表示するためのLEDIO〜17を有する。
The power line vCC supplies an output voltage of 5V to each part of the panel. Panel 3 has seven switches 18 to 24 (SW6 to SW
0), a 7-segment LED 9, and LEDIO to 17 for displaying various operations and modes.

これらのスイッチ、LEDに対するデータの入出力は、
単一のラッチ付シフトレジスタ25を介して行なわれる
.スイッチ18〜24、7セグメントLED9、LED
 1 0〜17の3つのグループは、それぞれ時分割で
制御する.このため、素子数が多いにも関わらず、本体
側との信号人出力はコネクタ27の6本の信号線(実際
には電源線を除く4本)のみによって行なうことができ
る。
Data input/output to these switches and LEDs is as follows:
This is done via a single shift register 25 with a latch. Switches 18 to 24, 7 segment LED 9, LED
The three groups numbered 10 to 17 are controlled in a time-sharing manner. Therefore, despite the large number of elements, signal output to and from the main body can be performed using only six signal lines (actually four excluding the power line) of the connector 27.

さらに第2図の構造を詳述する。Further, the structure shown in FIG. 2 will be explained in detail.

シフトレジスタ25は8本の出力信号線を有し、これら
はそれぞれダイオードD18〜D24を介してスイッチ
18〜24の端子の一端に接続されている。また、スイ
ッチ18の反対側の接点は全て共通にコネクタ27と接
続された信号線PANSWと接続されている。この信号
線PANSWはスイッチ18〜24のいずれかの出力を
順番にプリンタエンジン4側に出力するためのものであ
る。
Shift register 25 has eight output signal lines, each of which is connected to one end of the terminals of switches 18-24 via diodes D18-D24. Further, all contacts on the opposite side of the switch 18 are commonly connected to a signal line PANSW connected to the connector 27. This signal line PANSW is for sequentially outputting the output of any one of the switches 18 to 24 to the printer engine 4 side.

また、シフトレジスタ25の8木の出力は7セグメント
LED9および4つのLEDIO〜17とも接続される
。すなわち、8本の出力線はまず抵抗R2−R9を介し
て7セグメントLED9と接続される。この7セグメン
トLED9は抵抗R2−R9の出力点の電圧の組合せに
応じて7つのセグメントを点灯させ、数字あるいはアル
ファベットを表示させる。
Further, the 8-tree output of the shift register 25 is also connected to the 7-segment LED 9 and the four LEDIO-17. That is, the eight output lines are first connected to the seven segment LED 9 via resistors R2-R9. The 7-segment LED 9 lights up 7 segments according to the combination of voltages at the output points of the resistors R2-R9, and displays numbers or alphabets.

抵抗R2−R9の出力点はさらに抵抗R11〜R17お
よび抵抗RIOを介してLEDIO〜17のカソードと
接続されている。7セグメントLED9および8本のL
EDIO〜17に対する電源供給はトランジスタTRI
、TR2によってそれぞれ制御される。トランジスタT
RI、TFt2の工よツタは電源電圧にプラスされ、そ
のペースはデコーダ26によって制御される。
The output points of the resistors R2-R9 are further connected to the cathodes of LEDIO-17 via resistors R11-R17 and resistor RIO. 9 7 segment LEDs and 8 L
Power supply to EDIO~17 is provided by transistor TRI.
, TR2. transistor T
The output of RI and TFt2 is added to the power supply voltage, and its pace is controlled by the decoder 26.

デコーダ26はコネクタ27に収容された信号線PAN
S rおよびPANLDを入力し、これをデコードして
トランジスタTRIまたはTR2のいずれかを選択的に
導通させる。信号線PANLDは7セグメントLED9
または8本のLED10〜17のいずれかを選択するた
めに使用される。
The decoder 26 is a signal line PAN accommodated in the connector 27.
S r and PANLD are input and decoded to selectively turn on either transistor TRI or TR2. Signal line PANLD is 7 segment LED9
Or it is used to select any of the eight LEDs 10-17.

信号線PANSIは、LEDIO〜17を点灯するため
の駆動情報、およびスイッチ18〜24の操作情報を入
力するためのスイッチの選択情報をシリアルに入力する
ために使用される。
The signal line PANSI is used to serially input drive information for lighting up the LEDIO-17 and switch selection information for inputting operation information for the switches 18-24.

シフトレジスタ25のシリアル入力端子には信号線PA
NS Iの直列信号が入力される。またデータのシフト
はプリンタエンジン側から供給されるクロツクPANS
WKによって制御される。
The signal line PA is connected to the serial input terminal of the shift register 25.
A serial signal of NSI is input. Data is also shifted by the clock PANS supplied from the printer engine.
Controlled by WK.

第3図に第1図のコネクタ27に収容される電源線以外
の4本の信号PANSWK、PANS■、PANLD、
PANSWのタイミングを示す。なお、以下の説明では
信号の符号につけられた*は負論理を示している。第3
図のタイミングチャートはa Nfの6つの区間から構
成され、これらの6つの区間によって制御の1サイクル
が構成される。
FIG. 3 shows four signals other than the power line accommodated in the connector 27 of FIG. 1, PANSWK, PANS■, PANLD,
The timing of PANSW is shown. Note that in the following explanation, the * appended to the sign of the signal indicates negative logic. Third
The timing chart shown in the figure is composed of six sections aNf, and these six sections constitute one cycle of control.

まず区間aではLEDIO〜17を点灯させるためのデ
ータをシフトレジスタ25に転送する。
First, in section a, data for lighting LEDIO-17 is transferred to the shift register 25.

転送データは点灯をハイレベル、消灯をローレベルに対
応させ、信号線PANSIを用いて8ビツトを転送する
。各データはシフトレジスタ25でクロツクPANSW
Kの立上りによってシフトされ、ラッチされる0区間a
〜eではスイッチ出力を取り込むための信号線PANS
Wはハイレベルおよびローレベルのいずれでもよいが、
区間aでは信号線PANLDは(ローレベルでLED9
゜10〜17の点灯モードを指定する)はハイレベルに
セットされる。
For transfer data, lighting corresponds to high level and turning off corresponds to low level, and 8 bits are transferred using the signal line PANSI. Each data is clocked by shift register 25.
0 section a shifted and latched by the rising edge of K
~e is the signal line PANS to take in the switch output
W may be either high level or low level, but
In section a, the signal line PANLD is at low level (LED9
10 to 17) is set to high level.

続いて区間すではLEDIO〜17を点灯させる。この
時、信号線PANLDがローレベルとされ、デコーダ2
6およびトランジスタTR2を介しでLEDIO〜17
が同時に選択される。シフトレジスタ25の出力には区
間aで転送された各ビットがラッチされているため、転
送データがセットされているビットに対応したLEDI
O〜17のいずれかが点灯される。なお、シフトレジス
タ25は点灯をローレベルとして出力するものとする。
Subsequently, in the section, LEDIO~17 is turned on. At this time, the signal line PANLD is set to low level, and the decoder 2
6 and LEDIO~17 via transistor TR2
are selected at the same time. Since each bit transferred in section a is latched in the output of the shift register 25, the LED corresponding to the bit to which the transfer data is set is
Any one of O to 17 is lit. It is assumed that the shift register 25 outputs lighting as a low level.

続いて区間Cでは区間aと同様にデータを転送するが、
この時転送されるデータは7セグメントLED9の駆動
データである。この8ピツトのデータは区間aと同様に
転送される。
Next, in section C, data is transferred in the same way as in section a, but
The data transferred at this time is drive data for the 7-segment LED 9. This 8-pit data is transferred in the same way as in section a.

区間dでは区間Cで転送されたデータに基づいて7セグ
メントLED9を点灯させる。この時、信号線PANS
Iはローレベルに保持され、デコーダ26はトランジス
タTRIを介して7セグメントLED9を選択する。こ
の時、区間すと同様にクロックPANSCKはハイレベ
ルに保持される。
In section d, the 7-segment LED 9 is turned on based on the data transferred in section C. At this time, the signal line PANS
I is held at a low level, and decoder 26 selects 7-segment LED 9 via transistor TRI. At this time, the clock PANSCK is held at a high level as in the interval.

区間eでは区間fでのスイッチ18〜24のデータ取込
に備え、8ビツトのローレベルデータを信号線PANS
Iを介して転送し、シフトレジスタ25をクリアする。
In section e, 8-bit low level data is sent to the signal line PANS in preparation for data acquisition of switches 18 to 24 in section f.
I and clear the shift register 25.

これ以降信号線PANLDはハイレベルに保持され、ま
たクロックPANSCKは所定のクロック周波数を有す
るパルスとなる。
After this, the signal line PANLD is held at a high level, and the clock PANSCK becomes a pulse having a predetermined clock frequency.

区間fの先頭では信号線PANS Iに1ビツト分だけ
ハイレベルのデータをシフトレジスタ25に入力する。
At the beginning of section f, one bit of high-level data is input to the shift register 25 through the signal line PANSI.

このハイレベルデータはクロックPANSCKに同期し
て順次シフトされ、シフトレジスタ25の8本の出力端
子に順番に現れる。これにより、ダイオード018〜2
4を介してスイッチ18〜24の一端が順次ローレベル
にされ、これにより各スイッチが選択される。
This high level data is sequentially shifted in synchronization with the clock PANSCK, and appears in order at eight output terminals of the shift register 25. This causes diodes 018-2
4, one end of the switches 18 to 24 is sequentially brought to a low level, thereby selecting each switch.

区間fではプリンタエンジン4側で信号線PANSWを
電源電圧にプルアップしておけば、信号線PANSWを
介して各スイッチ18〜24の押下状態に応じた直列デ
ータを8ピット取り込める。このデータは、プリンタエ
ンジン側でシリアル/パラレルシフトレジスタ、ラッチ
などを用いて適当なタイミングで取り込めばよい。
In section f, if the signal line PANSW is pulled up to the power supply voltage on the printer engine 4 side, eight pits of serial data corresponding to the pressed states of the switches 18 to 24 can be taken in via the signal line PANSW. This data can be captured at appropriate timing on the printer engine side using a serial/parallel shift register, latch, or the like.

以上の構成によれば、多数のスイッチ素子および2系統
のLEDをたかだか4木の信号線によって制御できる。
According to the above configuration, a large number of switch elements and two systems of LEDs can be controlled by at most four signal lines.

第3図の区間a−fによって構成される1サイクルはせ
いぜい数msないし数十mSとするのは充分可能であり
、ユーザにはスイッチやLEDが時分割で制御されてい
ることは知覚されない。
It is quite possible for one cycle constituted by sections a to f in FIG. 3 to last several ms to several tens of ms at most, and the user does not perceive that the switches and LEDs are controlled in a time-sharing manner.

また、以上の構成によれば区間す、dの長さを所望に制
御することで、制御サイクル中での7セグメントLED
9あるいはLEDIO〜17の点灯光量を変化させるこ
とができる。この区間bldの長さは、第3図の4つの
信号線を下記のような制御回路によって調節することに
よって設定できる。
Further, according to the above configuration, by controlling the length of sections d and d as desired, the 7-segment LED during the control cycle can be controlled as desired.
9 or the amount of lighting light of LEDIO to 17 can be changed. The length of this section bld can be set by adjusting the four signal lines shown in FIG. 3 using a control circuit as described below.

第4図、第5図に第2図、第3図の4つの信号(PAN
SCK、  PANSI、  PANLD% PANS
W)を制御するためのプリンタエンジン側の回路を示す
、この回路はプリンタエンジン4、あるいはパネル3を
除くプリンタ1の内部回路として含まれる。
Figures 4 and 5 contain the four signals (PAN) in Figures 2 and 3.
SCK, PANSI, PANLD% PANS
This circuit is included as an internal circuit of the printer 1 excluding the printer engine 4 or the panel 3.

第4図はLEDの点灯データおよびスイッチ選択データ
を転送するための信号PANSIを生成する回路を示し
ている。
FIG. 4 shows a circuit that generates a signal PANSI for transferring LED lighting data and switch selection data.

第4図の符号29,30はそれぞれ7セグメントLED
9およびLED 10〜17をそれぞれ駆動するための
8ビツトのデータをラッチするラッチである。LEDの
点灯まkはスイッチ選択を行なうためのI DATAは
プリンタエンジン4またはコントローラ5から8ビット
揃ってラッチ29ないし30にラッチされる。
Numbers 29 and 30 in Fig. 4 are 7 segment LEDs, respectively.
This is a latch that latches 8-bit data for driving LEDs 9 and LEDs 10 to 17, respectively. IDATA for lighting the LED or selecting the switch is latched in 8 bits from the printer engine 4 or the controller 5 in latches 29 and 30.

プリンタエンジン4またはコントローラ5は信号LD1
2または13を介して7セグメントLED用のラッチ2
9またはLEDIO〜17のためのラッチ30のいずれ
かにデータを振り分ける。
Printer engine 4 or controller 5 receives signal LD1
Latch 2 for 7 segment LED via 2 or 13
9 or the latch 30 for LEDIO-17.

ラッチ29または30のいずれの出力を用いるかは、マ
ルチプレクサ51.52によって選択される。マルチプ
レクサ51.52によって選択された8ビツトのデータ
はパラレル/シリアルシフトレジスタ53に入力され、
直列データに変換される。
Which output of latch 29 or 30 is used is selected by multiplexer 51.52. The 8-bit data selected by the multiplexers 51 and 52 is input to the parallel/serial shift register 53,
Converted to serial data.

パラレル/シリアルシフトレジスタ53の出力はゲート
31〜33.38を介して信号線PANSlに出力され
る。ゲート31〜33は区間b、dの信号レベルを決定
するためのものである。
The output of the parallel/serial shift register 53 is output to the signal line PANS1 via the gates 31 to 33.38. Gates 31 to 33 are for determining signal levels in sections b and d.

ゲート38は、負論理のORゲートで、ゲートようにロ
ーレベル能動)にその情報が出力される。
The gate 38 is a negative logic OR gate, and its information is output to a low level active (like a gate).

まず、区間a、cで信号PANS I SEL (後述
の第6図の回路により生成される)によりNANDゲー
ト31が選択されている時は、パラレル/シリアルシフ
トレジスタ53の出力がそのまま出力される。
First, when the NAND gate 31 is selected by the signal PANS ISEL (generated by the circuit shown in FIG. 6, which will be described later) in sections a and c, the output of the parallel/serial shift register 53 is output as is.

また、区間6% dではORゲート32(負論理)の一
方の入力端子に入力されている信号PNDISPのレベ
ルに応じたハイレベル(またはローレベル)が出力され
る。信号PNDISPは、LED9および7セグメント
LED 10〜17の点灯表示を命令するためのもので
ある。
Further, in the section 6% d, a high level (or low level) is outputted according to the level of the signal PNDISP inputted to one input terminal of the OR gate 32 (negative logic). The signal PNDISP is for instructing the LED 9 and the 7-segment LEDs 10 to 17 to be lit.

また区間fにおける1ビツトのデータは、プリンタエン
ジン4側から出力されるインバータ33を介して入力さ
れる信号PANSWS Iによって形成される。
Further, 1-bit data in section f is formed by a signal PANSWS I output from the printer engine 4 and input via the inverter 33.

第5図は、第3図の信号PANLDを生成する回路を示
している。クロックPANCKはカウンタ58.59の
クロック端子に入力され、カウンタ1の出力はJKフリ
ップフロップ28のJ端子に入力される。JKフリップ
フロップ28のクロック入力にはクロックPANCKが
入力されており、K入力にはカウンタ59の出力がイン
バータ62で反転されて入力される。JKフリップフロ
ップ28の反転出力はカウンタ58をエネーブルすると
ともに、インバータ61を介してカウンタ59をリセッ
トする。
FIG. 5 shows a circuit that generates the signal PANLD of FIG. The clock PANCK is input to the clock terminals of counters 58 and 59, and the output of counter 1 is input to the J terminal of JK flip-flop 28. A clock PANCK is input to the clock input of the JK flip-flop 28, and the output of the counter 59 is inverted by an inverter 62 and input to the K input. The inverted output of JK flip-flop 28 enables counter 58 and resets counter 59 via inverter 61.

JKフリップフロップ28の出力QはDフリップフロッ
プ63のデータ入力端子に入力される。
The output Q of the JK flip-flop 28 is input to the data input terminal of the D flip-flop 63.

Dフリップフロップ63のプリセット端子はハイレベル
にプルアップされ、クロック入力にはクロックPANC
Kが入力される。Dフリップフロップ63の入出力信号
は、負論理のORゲート92に入力され、信号PANL
D (この図では負論理)が形成される。信号PANL
Dは、フリップフロップ3の入出力信号のいずれか一方
、または両方がローレベルの場合ローレベルに、また、
両方ともハイレベルの場合にはハイレベルに制御される
The preset terminal of the D flip-flop 63 is pulled up to high level, and the clock input is the clock PANC.
K is input. The input/output signals of the D flip-flop 63 are input to a negative logic OR gate 92, and the signal PANL
D (negative logic in this figure) is formed. Signal PANL
D becomes low level when either one or both of the input and output signals of flip-flop 3 is low level;
If both are at high level, they are controlled to high level.

第5図の構造では、カウンタ58が所定の値になるとJ
Kフリップフロップ28が作動し、反転出力からローレ
ベルを出力するカウンタ58が停止し、カウンタ59が
カウントを開始する。
In the structure of FIG. 5, when the counter 58 reaches a predetermined value, J
The K flip-flop 28 operates, the counter 58 that outputs a low level from its inverted output stops, and the counter 59 starts counting.

このカウンタ59の計数期間は第3図の区間b%dに対
応し、この間JKフリップフロップ28がインバータ6
2を介して反転され、Dフリップフロップ63の出力端
子からローレベルの信号PANLDが出力される。区間
b%dの開始地点では、不図示の経路を介してクロック
PANSCKが停止され、信号PANLDがローレベル
に制御されることによって第2図のシフトレジスタ25
でデータがラッチされる。この時、LED10〜17あ
るいは7セグメントLED9がデータに基づいて点灯さ
れる。
The counting period of this counter 59 corresponds to section b%d in FIG.
2, and a low level signal PANLD is output from the output terminal of the D flip-flop 63. At the start point of the section b%d, the clock PANSCK is stopped via a path not shown, and the signal PANLD is controlled to a low level, so that the shift register 25 in FIG.
The data is latched. At this time, LEDs 10 to 17 or 7 segment LED 9 are lit based on the data.

期間6% dの長さを決めるカウンタ59が所定値に達
するとJKフリップフロップ28のに入力にローレベル
が入力され、JKフリップフロップ28が反転してカウ
ンタ59がリセットされ、カウンタ58が再び選択され
てデータ転送期間が形成される。
When the counter 59 that determines the length of period 6% d reaches a predetermined value, a low level is input to the input of the JK flip-flop 28, the JK flip-flop 28 is inverted, the counter 59 is reset, and the counter 58 is selected again. to form a data transfer period.

区間b%dの長さを所望に制御するには、第6図のよう
な回路を用いることができる。第6図において符号71
.72は第5図のカウンタ59を構成するカウンタ素子
で、まず下の桁を計数するカウンタ71のオーバフロー
キャリーによってカウンタ72が作動し、上位桁の計数
が行なわれる。
In order to control the length of section b%d as desired, a circuit as shown in FIG. 6 can be used. Reference numeral 71 in Fig. 6
.. Reference numeral 72 denotes a counter element constituting the counter 59 in FIG. 5. First, the counter 72 is activated by an overflow carry of the counter 71 that counts the lower digits, and the upper digits are counted.

第6図のゲート回路80は、ラッチ34に制御系がラッ
チさせた所望の区間す、dの長さに対応する3ビツトの
データとカウンタ72の出力が一致したかどうかを判定
するためのものである。
The gate circuit 80 in FIG. 6 is for determining whether or not the output of the counter 72 matches the 3-bit data corresponding to the length of the desired section (d) latched by the control system in the latch 34. It is.

ラッチ34にラッチする3ビツトのデータを所望に変更
することで、所望のタイミングでJKフリップフロップ
28のに端子への信号入力を行なえる。したがって、所
望の長さの区間す、dすなわちLEDの点灯期間を形成
して、ユーザに知覚されるLEDの明るさをソフトウェ
アに応じて所望に制御することができる。
By changing the 3-bit data latched in the latch 34 as desired, a signal can be input to the terminal of the JK flip-flop 28 at a desired timing. Therefore, the brightness of the LED perceived by the user can be controlled as desired according to the software by forming sections d, that is, the lighting period of the LED, of a desired length.

この知覚される光量の制御は、たとえば7セグメントL
ED9とLEDIO〜17の点灯光量を合わせるためな
どに使用できる。たとえば、7セグメントLEDよりも
通常のLEDの方が光量があるため、7セグメントLE
D9の点灯時間を固定とし、LEDIO〜17の点灯時
間を短く制御することで、知覚される光量を等しくする
ことができる。
This perceived amount of light can be controlled by, for example, 7 segment L
It can be used to match the lighting intensity of ED9 and LEDIO~17. For example, a regular LED has more light than a 7-segment LED, so a 7-segment LED
By fixing the lighting time of D9 and controlling the lighting time of LEDIO to 17 to be short, the perceived light amount can be made equal.

なお、第6図のNORゲート91は、第4図の信号PA
NS I SELを形成するもので、Dフリップフロッ
プ63の入出力信号がいずれもローレベルの場合のみハ
イレベルに制御される。
Note that the NOR gate 91 in FIG. 6 is connected to the signal PA in FIG.
It forms NS I SEL, and is controlled to high level only when both the input and output signals of D flip-flop 63 are low level.

上記構造は第7図に示すようにも変形することができる
。本実施例は、コネクタ27に収容すべき信号線の数を
さらに1木減らして5本とした例である0本実施例では
、第2図で使用されていた信号線PANLDを省略し、
クロックPANSCKをシフトレジスタ25のラッチ信
号として使用している。
The above structure can also be modified as shown in FIG. This embodiment is an example in which the number of signal lines to be accommodated in the connector 27 is further reduced by one tree to five. In this embodiment, the signal line PANLD used in FIG. 2 is omitted,
The clock PANSCK is used as a latch signal for the shift register 25.

第8図に第7図の回路におけるタイよングチャートを示
す。第8図の区間a   C、e’  f’では前述の
実施例と同様の動作が行なわれるが、LEDの点灯を行
なうb′、d′ではクロックPANSCKによってシフ
トレジスタ25をラッチするためにローレベルに制御さ
れている。
FIG. 8 shows a timing chart for the circuit of FIG. 7. In sections aC, e'f' of FIG. 8, the same operation as in the above embodiment is performed, but in b' and d', where the LEDs are lit, the low level is used to latch the shift register 25 using the clock PANSCK. is controlled by.

このような構成によって、より操作パネル制御のための
信号線の数を減少することができる。
With such a configuration, the number of signal lines for operation panel control can be further reduced.

[発明の効果] 以上から明らかなように、本発明によれば、複数の発光
素子およびスイ、ツチ素子から構成される操作パネルを
有する電子機器において、前記発光素子の駆動情報と、
前記スイッチ素子の操作状態入力のため各スイッチ素子
を選択する選択情報を時分割で装置の主制御部から入力
し、入力した駆動情報ないし選択情報に基づき時分割で
発光素子の駆動とスイッチ素子の操作状態の入力を行な
う制御手段を設けた構成を採用しているので、操作パネ
ルを制御する信号線の本数を著しく減少できる、装置本
体制御系の入出力手段を変更することがない、また信号
線の減少によって製造コストを低減できる、安全性を容
易に確保できる、また同様の装置を複数種類作った場合
でも容易に互換性をとることができるなどの優れた利点
がある。
[Effects of the Invention] As is clear from the above, according to the present invention, in an electronic device having an operation panel composed of a plurality of light emitting elements and switch and switch elements, driving information of the light emitting elements,
In order to input the operation state of the switch elements, selection information for selecting each switch element is input in a time-sharing manner from the main control section of the device, and the driving of the light-emitting element and the switching element are performed in a time-sharing manner based on the input drive information or selection information. Since the configuration is equipped with a control means for inputting the operating status, the number of signal lines that control the operation panel can be significantly reduced, and there is no need to change the input/output means of the main body control system. It has excellent advantages such as reducing manufacturing costs by reducing the number of wires, easily ensuring safety, and easily ensuring compatibility even when multiple types of similar devices are manufactured.

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

第1図は本発明を採用したプリンタの構造を示したブロ
ック図、第2図は第1図の操作パネルの構造を示したブ
ロック図、第3図は第2図の回路の制御信号のタイ主ン
グチャート図、第4図〜第6図は第2図ないし第3図中
のプリンタエンジン側の制御信号の発生回路を示したブ
ロック図、第7図は異なる操作パネルの構造を示したブ
ロック図、第8図は第7図の構造におけるタイミングチ
ャート図である。 1・・・プリンタ    2・・・キャリッジ装置3・
・・パネル     4・・・プリンタエンジン5・・
・コントローラ  6・・・電源装置7・・・コネクタ
    8・・・ホスト装置9・・・7セグメントLE
D 10〜17・・・LED 18〜24・・・スイッチ 25・・・シフトレジスタ 26・・・デコーダ   27・・・コネクタ28・・
・JKフリップフロップ 29.30.34・・・ラッチ 31・・・NANDゲート 32・・・ORゲート 51.52・・・マルチプレクサ 53・・・パラレル/シリアルシフトレジスタ58.5
9.71.72・・・カウンタ61.62・・・インバ
ータ 63・・・Dフリップフロップ 80・・・ゲート回路
FIG. 1 is a block diagram showing the structure of a printer adopting the present invention, FIG. 2 is a block diagram showing the structure of the operation panel shown in FIG. 1, and FIG. Figures 4 to 6 are block diagrams showing the control signal generation circuit on the printer engine side in Figures 2 to 3, and Figure 7 is a block diagram showing the structure of a different operation panel. FIG. 8 is a timing chart diagram for the structure of FIG. 7. 1... Printer 2... Carriage device 3.
...Panel 4...Printer engine 5...
・Controller 6...Power supply device 7...Connector 8...Host device 9...7 segment LE
D 10-17...LED 18-24...Switch 25...Shift register 26...Decoder 27...Connector 28...
・JK flip-flop 29.30.34...Latch 31...NAND gate 32...OR gate 51.52...Multiplexer 53...Parallel/serial shift register 58.5
9.71.72...Counter 61.62...Inverter 63...D flip-flop 80...Gate circuit

Claims (1)

【特許請求の範囲】 1)複数の発光素子およびスイッチ素子から構成される
操作パネルを有する電子機器において、前記発光素子の
駆動情報と、前記スイッチ素子の操作状態入力のため各
スイッチ素子を選択する選択情報を時分割で装置の主制
御部から入力し、入力した駆動情報ないし選択情報に基
づき時分割で発光素子の駆動とスイッチ素子の操作状態
の入力を行なう制御手段を設けたことを特徴とする電子
機器。 2)前記発光素子の駆動期間を制御する手段を有し、こ
の制御手段により前記発光素子の発光量を調節すること
を特徴とする請求項第1項に記載の電子機器。
[Scope of Claims] 1) In an electronic device having an operation panel composed of a plurality of light emitting elements and switch elements, each switch element is selected for inputting driving information of the light emitting element and operation state of the switch element. The apparatus is characterized by being provided with a control means for inputting selection information from the main control section of the device in a time-sharing manner, and driving the light-emitting element and inputting the operating state of the switch element in a time-sharing manner based on the input drive information or selection information. electronic equipment. 2) The electronic device according to claim 1, further comprising means for controlling a driving period of the light emitting element, and the amount of light emitted from the light emitting element is adjusted by the control means.
JP1166722A 1989-06-30 1989-06-30 Electronics Expired - Fee Related JP2989835B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1166722A JP2989835B2 (en) 1989-06-30 1989-06-30 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1166722A JP2989835B2 (en) 1989-06-30 1989-06-30 Electronics

Publications (2)

Publication Number Publication Date
JPH0332873A true JPH0332873A (en) 1991-02-13
JP2989835B2 JP2989835B2 (en) 1999-12-13

Family

ID=15836542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1166722A Expired - Fee Related JP2989835B2 (en) 1989-06-30 1989-06-30 Electronics

Country Status (1)

Country Link
JP (1) JP2989835B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101415045B1 (en) * 2012-11-26 2014-07-04 (주)이젝스 Electronic system having multi switch and operation recognition method of the multi switch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58166393A (en) * 1982-03-26 1983-10-01 富士通株式会社 Driving system of indicator and key switch

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58166393A (en) * 1982-03-26 1983-10-01 富士通株式会社 Driving system of indicator and key switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101415045B1 (en) * 2012-11-26 2014-07-04 (주)이젝스 Electronic system having multi switch and operation recognition method of the multi switch

Also Published As

Publication number Publication date
JP2989835B2 (en) 1999-12-13

Similar Documents

Publication Publication Date Title
JP2004177918A (en) Display driving device and device set
CN110390904A (en) Electronic device and driving device and method for LED array
US20160027385A1 (en) Apparatus and method for controlling led display
JP5786541B2 (en) Light source control device
JP6061465B2 (en) Light source control device
JPH0332873A (en) Electronics
JP2007533168A (en) Parallel pulse code modulation system and method
US20050134529A1 (en) Color changing segmented display
JP2013121460A (en) Game machine
JP2761728B2 (en) Lighting brightness control device for light emitting diode matrix display
CN211047304U (en) L ED display lamp control circuit for vehicle
JP3647550B2 (en) LED driver
CN117577016A (en) Display module, display system and scanning method
JPH08263009A (en) Method and structure for operation of display device
WO2013021740A1 (en) Light source control device and game machine
CN110798945A (en) Control circuit of LED display lamp for vehicle
TWI897387B (en) Display panel
JP2931387B2 (en) Display device
JPS6318046Y2 (en)
JPS6013195B2 (en) Driving method of discharge display element
JP2013034781A (en) Game machine
JPS6017788A (en) Data transfer for matrix type display
JP2613793B2 (en) Information display device
KR910006356B1 (en) LED driving circuit
KR870000684B1 (en) A guide system of bus stop

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees