JP2706011B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2706011B2
JP2706011B2 JP3234529A JP23452991A JP2706011B2 JP 2706011 B2 JP2706011 B2 JP 2706011B2 JP 3234529 A JP3234529 A JP 3234529A JP 23452991 A JP23452991 A JP 23452991A JP 2706011 B2 JP2706011 B2 JP 2706011B2
Authority
JP
Japan
Prior art keywords
output
control signal
data processing
signal line
switches
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 - Fee Related
Application number
JP3234529A
Other languages
Japanese (ja)
Other versions
JPH0573235A (en
Inventor
静一 妹尾
政敏 杉村
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP3234529A priority Critical patent/JP2706011B2/en
Publication of JPH0573235A publication Critical patent/JPH0573235A/en
Application granted granted Critical
Publication of JP2706011B2 publication Critical patent/JP2706011B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、データ処理を行う本
体装置と、本体装置に対し選択的に接続されるオプショ
ン装置とからなるデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus comprising a main unit for performing data processing and an optional device selectively connected to the main unit.

【0002】[0002]

【従来の技術】例えばパーソナルコンピュータやワード
プロセッサなどのデータ処理装置においては、種々の周
辺装置が選択使用される。例えば出力装置として種々の
プリンタを接続することができ、さらに、そのプリンタ
にはカットシートフィーダやハガキフィーダなどのオプ
ション装置が接続できるように設計されている。このよ
うに、データ処理を行う装置では、本体装置に対して複
数種のオプション装置を選択的に組み合わせて使用する
のが一般的である。また通常は、オプション装置の種類
が異なれば異なった制御を行う必要があり、本体装置
は、その本体装置に接続されているオプション装置の種
別を検出できるように構成されている。
2. Description of the Related Art In a data processing device such as a personal computer or a word processor, various peripheral devices are selectively used. For example, various printers can be connected as an output device, and further, an optional device such as a cut sheet feeder or a postcard feeder is designed to be connected to the printer. As described above, in a device that performs data processing, a plurality of types of optional devices are generally selectively used in combination with a main device. Normally, it is necessary to perform different control for different types of optional devices, and the main device is configured to be able to detect the type of the optional device connected to the main device.

【0003】本体装置からオプション装置を識別する2
つの構成例を図5および図6に示す。図5および図6に
おいて1は本体装置、2はオプション装置である。オプ
ション装置2にはオプション装置の種別コードを発生す
るコード発生部としてのスイッチS1,S2,S3とオ
プション主回路などを設けている。但し、これらのスイ
ッチは、部品としてのスイッチが設けられているわけで
はなく、通常は回路基板上の配線パターンなどにより予
め設定されている。本体装置1内の本体メインバスには
出力ポート3と入力ポート4を接続している。出力ポー
ト3とオプション主回路5間は複数本の制御信号ライン
6で接続している。入力ポート4とスイッチS1,S
2,S3間はそれぞれ検出信号ライン7で接続してい
る。さらに、本体装置1からオプション装置に対し電源
電圧VA を供給している。図5に示す構成では、入力ポ
ート4の各入力端子は抵抗R1,R2,R3によりプル
アップしていて、スイッチS1,S2,S3の他端を接
地に接続している。この構成によって、本体装置は入力
ポート4を介してスイッチS1,S2,S3のオンオフ
状態を読み取る。一方、図6に示す構成では、出力ポー
ト3から選択信号を出力する専用の出力ライン8を設
け、スイッチS1,S2,S3の一端をこの専用出力ラ
インにそれぞれ接続し、スイッチS1,S2,S3の他
端を共通接続するとともに、1本の検出信号ライン7を
介して本体装置側の入力ポート4に帰すようにしてい
る。入力ポート4の入力部は抵抗R1でプルアップして
いて、選択信号を出力する出力ポートの出力部はオープ
ンコレクタ形式としている。この構成によって、選択信
号を順次接地電位にするとともに、入力ポート4を介し
て検出信号のレベルを読み取り、このことによってスイ
ッチS1,S2,S3の状態を検知する。
[0003] 2. Identify optional devices from the main unit
One configuration example is shown in FIGS. 5 and 6, reference numeral 1 denotes a main body device, and 2 denotes an optional device. The option device 2 is provided with switches S1, S2, S3 as code generation units for generating a type code of the option device, an option main circuit, and the like. However, these switches are not provided with switches as components, but are usually set in advance by a wiring pattern on a circuit board. An output port 3 and an input port 4 are connected to a main bus of the main unit 1. The output port 3 and the option main circuit 5 are connected by a plurality of control signal lines 6. Input port 4 and switches S1, S
2 and S3 are connected by a detection signal line 7, respectively. Further, the power supply voltage VA is supplied from the main device 1 to the optional device. In the configuration shown in FIG. 5, each input terminal of the input port 4 is pulled up by resistors R1, R2, R3, and the other ends of the switches S1, S2, S3 are connected to ground. With this configuration, the main unit reads the on / off states of the switches S1, S2, and S3 via the input port 4. On the other hand, in the configuration shown in FIG. 6, a dedicated output line 8 for outputting a selection signal from the output port 3 is provided, and one ends of the switches S1, S2, and S3 are connected to the dedicated output lines, respectively. Are connected in common and returned to the input port 4 on the main unit via one detection signal line 7. The input section of the input port 4 is pulled up by the resistor R1, and the output section of the output port for outputting the selection signal is of an open collector type. With this configuration, the selection signal is sequentially set to the ground potential, and the level of the detection signal is read through the input port 4, whereby the states of the switches S1, S2, and S3 are detected.

【0004】[0004]

【発明が解決しようとする課題】ところが、図5に示し
たように、コード発生部(S1,S2,S3)の状態を
複数本の検出信号ラインを介して読み取る方法では、コ
ード発生部の状態数の増大に伴い検出信号ラインが増加
する。また、図6に示したように、専用の出力ラインを
介してコード発生部に選択信号を与え、1本の検出信号
ラインを介して読み取るようにしたものでは、コード発
生部の状態数の増加に伴い専用の出力ライン数が増加す
る。このように何れの構成であっても、本体装置とオプ
ション装置間の信号本数が増加する。従って、本体装置
の同一インタフェースに複数のオプション装置を選択使
用する場合は、オプション装置の使用に際して必要な最
大信号数にインタフェースを定めておかなければならな
い。従って、既に定めたインタフェースを用いて、コー
ド発生部の状態数を拡張してさらに多種類のオプション
装置を使用可能とするといったことは不可能であった。
However, as shown in FIG. 5, in the method of reading the state of the code generators (S1, S2, S3) through a plurality of detection signal lines, the state of the code generator is not changed. As the number increases, the number of detection signal lines increases. In addition, as shown in FIG. 6, in the case where a selection signal is supplied to the code generation unit via a dedicated output line and reading is performed via one detection signal line, the number of states of the code generation unit increases. As a result, the number of dedicated output lines increases. In any case, the number of signals between the main device and the optional device increases. Therefore, when selecting and using a plurality of optional devices for the same interface of the main unit, the interface must be set to the maximum number of signals necessary for using the optional devices. Therefore, it has not been possible to extend the number of states of the code generator using an already determined interface to enable use of more types of optional devices.

【0005】この発明の目的は、専用の信号出力ライン
を用いることなく、一本の検出信号ラインからの入力に
よって、多種類のオプション装置を識別できるようにし
たデータ処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data processing apparatus capable of identifying various types of optional devices by input from one detection signal line without using a dedicated signal output line. .

【0006】[0006]

【課題を解決するための手段】この発明は、データ処理
を行って、出力部から複数本の制御信号を出力する本体
装置と、前記出力部に接続されて、前記制御信号により
動作するオプション装置とからなるデータ処理装置にお
いて、幾つかの制御信号ラインの論理和を1本の検出信
号ラインに出力するコード発生部をオプション装置に設
け、前記制御信号ラインにタイミング信号を順次出力す
るとともに、前記検出信号ラインの状態を読み取ってコ
ードを検知するコード検知手段を本体装置に設けたこと
を特徴とする。
SUMMARY OF THE INVENTION The present invention provides a main unit for performing data processing and outputting a plurality of control signals from an output unit, and an optional device connected to the output unit and operated by the control signal. In a data processing device comprising: a code generator that outputs a logical sum of several control signal lines to one detection signal line is provided in an optional device, and a timing signal is sequentially output to the control signal line; Code detection means for reading the state of the detection signal line to detect a code is provided in the main unit.

【0007】[0007]

【作用】この発明のデータ処理装置は、複数本の制御信
号ラインで接続される本体装置とオプション装置とから
構成され、オプション装置に設けられているコード発生
部は、幾つかの制御信号ラインの論理和を1本の検出信
号ラインに出力する。本体装置に設けられているコード
検知手段は、制御信号ラインにタイミング信号を順次出
力するとともに、検出信号ラインの状態を読み取ること
によってコードを検知する。
The data processing device of the present invention comprises a main unit and an optional device connected by a plurality of control signal lines, and a code generator provided in the optional device includes a control signal line for some control signal lines. The logical sum is output to one detection signal line. Code detection means provided in the main unit sequentially outputs a timing signal to a control signal line and detects a code by reading the state of the detection signal line.

【0008】この発明のデータ処理装置の構成例を図1
に示す。図1において1は本体装置、2はオプション装
置である。本体装置1の出力ポート3からは制御信号ラ
イン6a〜6dに対して制御信号を出力する。オプショ
ン装置側のオプション主回路5は制御信号ライン6a〜
6dの制御信号に応じて動作する。オプション装置2に
は、複数本の制御信号ラインのうち6b,6c,6dと
検出信号ライン7間に、この例ではスイッチS1,S
2,S3からなるコード発生部を設けている。このコー
ド発生部では、幾つかの制御信号ラインの論理和を1本
の検出信号ライン7へ出力する。例えばスイッチS1と
S3がオン状態、S2がオフ状態であれば、制御信号ラ
イン6bと6dの論理和を検出信号ライン7へ与える。
本体装置1側に設けられているコード検知手段は、出力
ポート3から制御信号ライン6a〜6dに対しタイミン
グ信号を順次出力するとともに、検出信号ライン7の状
態を入力ポート4を介して順次読み取る。このことによ
りスイッチS1,S2,S3の状態を検知する。
FIG. 1 shows a configuration example of a data processing apparatus according to the present invention.
Shown in In FIG. 1, reference numeral 1 denotes a main body device, and 2 denotes an optional device. A control signal is output from the output port 3 of the main unit 1 to the control signal lines 6a to 6d. The option main circuit 5 on the option device side includes control signal lines 6a to
It operates according to the control signal of 6d. The optional device 2 includes switches S1, S2 in this example between the detection signal lines 7 and 6b, 6c, 6d among the plurality of control signal lines.
2, a code generator composed of S3 is provided. The code generator outputs a logical sum of several control signal lines to one detection signal line 7. For example, when the switches S1 and S3 are on and the switch S2 is off, the logical sum of the control signal lines 6b and 6d is given to the detection signal line 7.
The code detecting means provided on the main unit 1 sequentially outputs timing signals from the output port 3 to the control signal lines 6a to 6d, and sequentially reads the state of the detection signal line 7 via the input port 4. Thus, the states of the switches S1, S2, and S3 are detected.

【0009】このように、制御信号ラインを兼用したた
め、専用の信号出力ラインを設けることなく、しかも1
本の検出信号の入力でオプション装置を識別することが
できる。
As described above, since the control signal line is also used, there is no need to provide a dedicated signal output line.
The optional device can be identified by the input of the book detection signal.

【0010】[0010]

【実施例】この発明の実施例であるデータ処理装置の回
路図を図2に示す。図2において1は本体装置、2はオ
プション装置である。この本体装置1とオプション装置
2間は、制御信号ライン6a〜6d、検出信号ライン
7、電源ライン10および接地ライン11等を介して接
続している。本体装置1において本体メインバスには出
力ポート3と入力ポート4を接続している。出力ポート
3の出力端子D1〜D4には抵抗RA1〜RA8および
トランジスタQ1〜Q4からなるトランジスタ回路を接
続している。トランジスタQ1〜Q4のコレクタはそれ
ぞれ制御信号ライン6a〜6dに接続して、本体装置の
制御信号ライン出力部をオープンコレクタ形式としてい
る。また、入力ポート4の入力端子D5にはプルアップ
抵抗RB1を接続して検出信号ライン7をプルアップし
ている。オプション装置2においてL1〜L4は4極パ
ルスモータの励磁コイルであり、その一端をそれぞれ制
御信号ライン6a〜6dに各々接続し、他端を電源ライ
ン10に接続している。S1,S2,S3はコード発生
部としてのスイッチであり、その一端を制御信号ライン
6d,6c,6bに接続し、他端をダイオードDi1,
Di2,Di3を介してα点で共通接続している。抵抗
RC1,RC2,RC3,RC4およびトランジスタQ
5,Q6からなる回路は、α点の電位をロジックレベル
の電圧(+Vcc−GND)に変換するレベル変換回路
である。
FIG. 2 is a circuit diagram of a data processing apparatus according to an embodiment of the present invention. In FIG. 2, 1 is a main unit, and 2 is an optional device. The main device 1 and the optional device 2 are connected via control signal lines 6a to 6d, a detection signal line 7, a power supply line 10, a ground line 11, and the like. In the main unit 1, an output port 3 and an input port 4 are connected to the main bus of the main unit. A transistor circuit including resistors RA1 to RA8 and transistors Q1 to Q4 is connected to output terminals D1 to D4 of the output port 3. The collectors of the transistors Q1 to Q4 are connected to the control signal lines 6a to 6d, respectively, so that the control signal line output section of the main unit has an open collector type. Further, a pull-up resistor RB1 is connected to the input terminal D5 of the input port 4 to pull up the detection signal line 7. In the optional device 2, L1 to L4 are excitation coils of a four-pole pulse motor, one end of which is connected to each of the control signal lines 6a to 6d, and the other end of which is connected to the power supply line 10. S1, S2, and S3 are switches serving as a code generator, one end of which is connected to control signal lines 6d, 6c, and 6b, and the other end of which is a diode Di1.
A common connection is made at point α via Di2 and Di3. Resistors RC1, RC2, RC3, RC4 and transistor Q
5 and Q6 is a level conversion circuit for converting the potential at the point α into a logic level voltage (+ Vcc-GND).

【0011】図2に示した回路の動作は次の通りであ
る。出力ポート3の出力端子D1が“H”レベルのと
き、Q1がオンして、+VA →L1→Q1→GNDの経
路で励磁コイルL1が励磁される。出力端子D1が
“L”レベルであれば、Q1はオフであるため、L1に
は通電されない。出力ポート3の出力端子D2が“H”
レベルであれば、Q2がオンして+VA →L2→Q2→
GNDの経路で電流が流れ、励磁コイルL2が励磁され
る。同様に、出力端子D3が“H”レベルのときL3が
励磁され、D4が“H”レベルのときL4が励磁され
る。このように出力ポート3の出力端子D1〜D4の出
力タイミング制御によってパルスモータが制御される。
スイッチS1〜S3の状態はオプション装置の種別に応
じて異なり、例えばS1が導通しているものとすれば、
トランジスタQ4がオンのとき、+VA →RC1→RC
2→Di1→S1→Q4→GNDの経路で電流が流れ、
α点は略接地電位となる。これによりRC1,RC2の
分圧電圧がトランジスタQ5のベース−エミッタ間に与
えられ、Q5がオンする。Q5がオンすると、RC3,
RC4の分圧電圧がトランジスタQ6のベース−エミッ
タ間に与えられ、Q6がオンする。これにより入力ポー
ト4の入力端子D5は“L”レベル(接地電位)とな
る。スイッチS1がオフ状態であれば、トランジスタQ
4がオンしても、前記電流ループは形成されず、α点は
略+VA の電位となる。これにより、Q5のベース電流
が流れず、Q5はオフする。Q5がオフすれば、Q6の
ベース電流も流れず、Q6はオフして入力ポート4の入
力端子D5は“H”レベル(+Vcc)となる。
The operation of the circuit shown in FIG. 2 is as follows. When the output terminal D1 of the output port 3 is at "H" level, Q1 is turned on, and the exciting coil L1 is excited through the path of + V A → L1 → Q1 → GND. If the output terminal D1 is at "L" level, L1 is not energized because Q1 is off. Output terminal D2 of output port 3 is "H"
If it is a level, Q2 turns on and + V A → L2 → Q2 →
A current flows through the GND path, and the exciting coil L2 is excited. Similarly, when the output terminal D3 is at "H" level, L3 is excited, and when D4 is at "H" level, L4 is excited. Thus, the pulse motor is controlled by the output timing control of the output terminals D1 to D4 of the output port 3.
The states of the switches S1 to S3 differ depending on the type of the optional device. For example, if S1 is conductive,
When the transistor Q4 is on, + V A → RC1 → RC
A current flows through the path of 2 → Di1 → S1 → Q4 → GND,
The point α is substantially at the ground potential. As a result, the divided voltages of RC1 and RC2 are applied between the base and the emitter of transistor Q5, and Q5 is turned on. When Q5 turns on, RC3
The divided voltage of RC4 is applied between the base and the emitter of transistor Q6, turning on Q6. As a result, the input terminal D5 of the input port 4 becomes "L" level (ground potential). If the switch S1 is off, the transistor Q
Even when 4 is turned on, the current loop is not formed, and the point α has a potential of approximately + VA . As a result, the base current of Q5 does not flow, and Q5 is turned off. When Q5 is turned off, the base current of Q6 does not flow, and Q6 is turned off and the input terminal D5 of the input port 4 goes to the "H" level (+ Vcc).

【0012】つまり、図2における出力ポートの出力端
子D1〜D4と入力ポート4の入力端子D5との関係は
次のとおりである。
That is, the relationship between the output terminals D1 to D4 of the output port and the input terminal D5 of the input port 4 in FIG. 2 is as follows.

【0013】出力端子D2が“H”のとき、スイッチS
3がオンならD5は“L”レベル、出力端子D3が
“H”のとき、スイッチS2がオンならD5は“L”レ
ベル、出力端子D4が“H”のとき、スイッチS1がオ
ンならD5は“L”レベル、その他の条件ではD5は
“H”レベルとなる。
When the output terminal D2 is at "H", the switch S
3 is on, D5 is at "L" level, when output terminal D3 is at "H", when switch S2 is on, D5 is at "L" level, when output terminal D4 is "H", when switch S1 is on, D5 is on. D5 is at "L" level, and under other conditions, D5 is at "H" level.

【0014】以上のように、出力ポートからの出力デー
タの状態と入力ポートの入力データの関係から、スイッ
チS1〜S3の状態を読み取ることができる。
As described above, the states of the switches S1 to S3 can be read from the relationship between the state of the output data from the output port and the input data of the input port.

【0015】ところで、パルスモータは機械装置を駆動
するための機能部品であり、所定動作を行わせるために
は、一定パルス幅以上の電流を励磁コイルに通電しなけ
ればならない。逆に必要パルス幅に満たない通電では、
パルスモータは回転しない。
A pulse motor is a functional component for driving a mechanical device. To perform a predetermined operation, a current having a pulse width equal to or more than a predetermined pulse width must be supplied to the exciting coil. Conversely, if the current is less than the required pulse width,
The pulse motor does not rotate.

【0016】このようなオプション主回路の特性を利用
すれば、パルスモータの非駆動時に一定パルス幅未満の
パルスを出力ポートの出力端子D2〜D4に与えること
によって、S1〜S3の状態を読み取ることができる。
また、パルスモータの駆動中においてもS1〜S3の状
態を検知することができる。たとえば、パルスモータの
複数の励磁コイルのうち常に2つのコイルに通電を行っ
て、その順次通電によってロータを回転させる2相励磁
法がある。この条件下では常に2つのコイルが通電され
ているため、図2に示したように、1つの制御信号ライ
ンをスイッチ状態の読み取りのために兼用しないことと
すれば、後述するようにパルスモータの駆動中にもスイ
ッチS1〜S3の状態を検知することができる。
By utilizing such characteristics of the optional main circuit, the state of S1 to S3 can be read by applying a pulse less than a fixed pulse width to the output terminals D2 to D4 of the output port when the pulse motor is not driven. Can be.
Further, the state of S1 to S3 can be detected even during the driving of the pulse motor. For example, there is a two-phase excitation method in which two coils among a plurality of excitation coils of a pulse motor are always energized, and the rotor is rotated by the sequential energization. Under these conditions, since two coils are always energized, if one control signal line is not used for reading the switch state as shown in FIG. 2, the pulse motor of the pulse motor will be described later. The state of the switches S1 to S3 can be detected during driving.

【0017】次に、スイッチS1〜S3の状態検知方法
をタイミングチャート図3を参照して説明する。図3に
おいてT0はパルスモータの非駆動時間、T1はパルス
モータの駆動時間である。パルスモータ非駆動時のt4
2(t51)において出力端子D4を“H”レベルにし
たとき、入力端子D5が“L”レベルとなれば、このこ
とからスイッチS1がオン状態であることが分かる。t
32において、出力端子D3を“H”レベルにしたと
き、入力端子D5が“H”レベルのままであれば、スイ
ッチS2がオフ状態であることが分かる。t22(t5
3)において出力端子D2を“H”レベルにしたとき、
そのときの入力端子D5が“L”レベルとなれば、この
ことからスイッチS3がオン状態であることが分かる。
なお、上記各出力端子からの信号出力はパルスモータの
駆動に要するパルス幅に満たない時間に終了する。
Next, a method of detecting the states of the switches S1 to S3 will be described with reference to a timing chart of FIG. In FIG. 3, T0 is the non-driving time of the pulse motor, and T1 is the driving time of the pulse motor. T4 when the pulse motor is not driven
If the input terminal D5 goes to "L" level when the output terminal D4 goes to "H" level at 2 (t51), this indicates that the switch S1 is on. t
At 32, when the output terminal D3 is set to the “H” level, if the input terminal D5 remains at the “H” level, it is understood that the switch S2 is in the off state. t22 (t5
When the output terminal D2 is set to “H” level in 3),
If the input terminal D5 at that time becomes “L” level, this indicates that the switch S3 is in the ON state.
Note that the signal output from each of the above output terminals ends in a time shorter than the pulse width required for driving the pulse motor.

【0018】一方、パルスモータ駆動時では、t11,
t12,t13,t23,t24,t25,t33,t
34,t35,t43,t44,t45,t46の出力
中に、スイッチS1〜S3の状態に応じて定まる状態が
入力端子D5に表れる。すなわち、t54,t58,t
512でスイッチS1の状態が確認され、t55,t5
9,t513でスイッチS3の状態が確認される。ま
た、t56,t510,t514で、スイッチS2とS
3のOR条件の状態が確認される。さらに、t57,t
511,t515でスイッチS1とS3のOR条件の状
態が確認される。
On the other hand, when the pulse motor is driven, t11,
t12, t13, t23, t24, t25, t33, t
During the output of 34, t35, t43, t44, t45, and t46, a state determined according to the states of the switches S1 to S3 appears at the input terminal D5. That is, t54, t58, t
At 512, the state of the switch S1 is confirmed, and t55, t5
At 9, 513, the state of the switch S3 is confirmed. At times t56, t510, and t514, the switches S2 and S
The state of the OR condition of No. 3 is confirmed. Further, t57, t
At 511 and t515, the state of the OR condition of the switches S1 and S3 is confirmed.

【0019】このように所定タイミングでS1,S3の
状態を検知することができ、S2の状態については、S
3がオフ状態である条件でのみ、t56,t510,t
514で確認される。
As described above, the states of S1 and S3 can be detected at a predetermined timing.
T56, t510, t only under the condition that 3 is in the off state.
Confirmed at 514.

【0020】図2の例では、S1〜S3のうち複数のス
イッチがオン状態の時に制御信号ライン間が短絡される
のを防止するためにダイオードDi1〜Di3を設けた
が、この部分は図4に示すように構成することもでき
る。図4においてRC21,RC22,RC23は、パ
ルスモータの駆動時にこれらの抵抗とスイッチを介して
流れる電流を制限する。従って、S1〜S3の何れか1
つまたは全てがオン状態のとき、制御信号ラインが
“L”レベルに引かれたときに、トランジスタQ5が確
実にオンし、且つパルスモータに対し誤動作を与えない
抵抗値とする。
In the example shown in FIG. 2, diodes Di1 to Di3 are provided to prevent a short circuit between control signal lines when a plurality of switches among S1 to S3 are on, but this portion is shown in FIG. It can also be configured as shown in FIG. In FIG. 4, RC21, RC22, and RC23 limit the current flowing through these resistors and switches when the pulse motor is driven. Therefore, any one of S1 to S3
When one or all of them are in the ON state, when the control signal line is pulled to the “L” level, the transistor Q5 is reliably turned on and has a resistance value that does not cause a malfunction to the pulse motor.

【0021】なお、実施例では、オプション主回路とし
てパルスモータの励磁コイルを例としたが、複数本の制
御信号を受けて所定動作を行う回路であれば同様に適用
することができる。
In the embodiment, the excitation coil of the pulse motor is taken as an example of the optional main circuit. However, any other circuit that receives a plurality of control signals and performs a predetermined operation can be similarly applied.

【0022】[0022]

【発明の効果】この発明によれば、オプション装置内の
コード発生部の状態を読み取るための専用の出力ライン
または専用の入力ラインを設ける必要がなく、少ないラ
イン数で多種類のオプション装置を識別することができ
る。
According to the present invention, there is no need to provide a dedicated output line or a dedicated input line for reading the state of the code generator in the optional device, and a large number of optional devices can be identified with a small number of lines. can do.

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

【図1】この発明の作用説明図である。FIG. 1 is a diagram illustrating the operation of the present invention.

【図2】この発明の実施例であるデータ処理装置の回路
図である。
FIG. 2 is a circuit diagram of a data processing device according to an embodiment of the present invention.

【図3】各部のタイミングを示す図である。FIG. 3 is a diagram showing the timing of each unit.

【図4】図2における一部の他の構成例を示す部分回路
図である。
FIG. 4 is a partial circuit diagram showing another example of the configuration of FIG. 2;

【図5】従来のデータ処理装置の回路図である。FIG. 5 is a circuit diagram of a conventional data processing device.

【図6】従来のデータ処理装置の回路図である。FIG. 6 is a circuit diagram of a conventional data processing device.

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

1 本体装置 2 オプション装置 6 制御信号ライン 7 検出信号ライン S1〜S3 コード発生部としてのスイッチ DESCRIPTION OF SYMBOLS 1 Main device 2 Optional device 6 Control signal line 7 Detection signal line S1-S3 Switch as code generation part

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データ処理を行って、出力部から複数本の
制御信号を出力する本体装置と、前記出力部に接続され
て、前記制御信号により動作するオプション装置とから
なるデータ処理装置において、 幾つかの制御信号ラインの論理和を1本の検出信号ライ
ンに出力するコード発生部をオプション装置に設け、前
記制御信号ラインにタイミング信号を順次出力するとと
もに、前記検出信号ラインの状態を読み取ってコードを
検知するコード検知手段を本体装置に設けたことを特徴
とするデータ処理装置。
1. A data processing device comprising: a main unit for performing data processing and outputting a plurality of control signals from an output unit; and an optional device connected to the output unit and operated by the control signal. A code generator for outputting a logical sum of several control signal lines to one detection signal line is provided in an optional device, and a timing signal is sequentially output to the control signal line, and a state of the detection signal line is read. A data processing device, wherein a code detecting means for detecting a code is provided in a main body device.
JP3234529A 1991-09-13 1991-09-13 Data processing device Expired - Fee Related JP2706011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3234529A JP2706011B2 (en) 1991-09-13 1991-09-13 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3234529A JP2706011B2 (en) 1991-09-13 1991-09-13 Data processing device

Publications (2)

Publication Number Publication Date
JPH0573235A JPH0573235A (en) 1993-03-26
JP2706011B2 true JP2706011B2 (en) 1998-01-28

Family

ID=16972458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3234529A Expired - Fee Related JP2706011B2 (en) 1991-09-13 1991-09-13 Data processing device

Country Status (1)

Country Link
JP (1) JP2706011B2 (en)

Also Published As

Publication number Publication date
JPH0573235A (en) 1993-03-26

Similar Documents

Publication Publication Date Title
EP0505653A1 (en) Combined sense amplifier and latching circuit for high speed ROMs
JP2706011B2 (en) Data processing device
JP3763081B2 (en) Input buffer
US5192881A (en) Circuit which reduces noise caused by high current outputs
US5969648A (en) Quaternary signal encoding
US6798255B2 (en) Semiconductor integrated circuit device
JP3302819B2 (en) Selection signal generator
JP3154789B2 (en) Thermal head drive circuit and thermal head
EP0464468A2 (en) Semiconductor memory device
GB2109595A (en) Dc motor speed control circuits
JPS649837B2 (en)
JP2000132975A (en) Semiconductor device and memory module provided with the same
KR0179810B1 (en) Output buffer circuit in memory
JPH07154234A (en) Signal input/output changeover device
JP3370807B2 (en) Information processing device
KR100502677B1 (en) Output buffer of semiconductor memory device
KR100186321B1 (en) Memory control module
KR960013860B1 (en) Input buffer of semiconductor memory device
JP3017124B2 (en) Hopper selector
JP3371514B2 (en) Drive device for pulse motor
JP2003296291A (en) Microcomputer
JPH0638592A (en) Driving device for pulse motor
KR0155676B1 (en) Data output buffer
KR20060128477A (en) Apparatus and method for controlling step motor
KR900006487Y1 (en) Picture noise eliminate circuit of still picture

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees