JPH0520249A - Data input switching device - Google Patents
Data input switching deviceInfo
- Publication number
- JPH0520249A JPH0520249A JP17526991A JP17526991A JPH0520249A JP H0520249 A JPH0520249 A JP H0520249A JP 17526991 A JP17526991 A JP 17526991A JP 17526991 A JP17526991 A JP 17526991A JP H0520249 A JPH0520249 A JP H0520249A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data output
- signal
- circuit
- output device
- 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
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
(57)【要約】
【目的】使用者の自身による機器選択の手間を省く。
【構成】複数のデータ出力機器のいずれかからデータ送
信開始信号を受けたとき、他のデータ出力機器に対して
ビジー信号を出力し、データの送信終了が判別されたと
き、前記他のデータ出力機器に対してのビジー信号を停
止する。
(57) [Summary] [Purpose] To save the user the trouble of selecting equipment by himself. [Structure] When a data transmission start signal is received from any of a plurality of data output devices, a busy signal is output to another data output device, and when it is determined that data transmission has ended, the other data output device is output. Stop the busy signal to the device.
Description
【0001】[0001]
【産業上の利用分野】この発明は、複数台のデータ出力
装置と、一つのデータ処理装置との間に接続されるデー
タ入力切換装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input switching device connected between a plurality of data output devices and one data processing device.
【0002】[0002]
【従来の技術】データ処理装置の入力側に接続されるデ
ータ入力切換装置が複数のインターフェイスを備え、そ
れぞれにデータ出力機器が接続されている場合、例え
ば、何台かのコンピュータ等のデータ出力機器がプリン
タ(データ処理装置)の入力側にある各インターフェイ
スに接続されている場合、プリンタにおいては、どの機
器からの送信データを有効とするかの指定、すなわちデ
ータを受け付ける機器の選択を行う必要がある。従来、
データ出力機器の選択は使用者によりプリンタに設けた
スイッチが切り換えられることで行われていた。このス
イッチを切り換えると、選択したデータ出力機器以外に
対してはビジー信号が出力されるため、それらの機器か
らはデータが出力されなくなる。2. Description of the Related Art When a data input switching device connected to the input side of a data processing device has a plurality of interfaces, and data output devices are connected to each of them, for example, some data output devices such as computers. Is connected to each interface on the input side of the printer (data processing device), it is necessary for the printer to specify from which device the transmission data is valid, that is, to select the device that receives the data. is there. Conventionally,
The selection of the data output device is performed by the user switching a switch provided on the printer. When this switch is switched, a busy signal is output to devices other than the selected data output device, and data is not output from those devices.
【0003】なお、データ出力機器の選択を行う機能を
設けないと、いくつかのデータ出力機器から混ぜんとデ
ータを受け付けてしまうミスが発生することがある。例
えばセントロニクス仕様の場合、データ出力装置は数バ
イトで構成されるデータを有していても、データの送信
は1バイトづつに区切って行われ、前の一バイトのデー
タを送信するときと次の1バイトのデータを送信すると
きの間には僅かの時間の空きがあって、この間に他のデ
ータ出力機器からデータが送信されてしまうミスが生じ
てしまうことがある。If a function for selecting a data output device is not provided, an error may occur in which data is mixedly received from some data output devices. For example, in the case of the Centronics specification, even if the data output device has data composed of several bytes, the data transmission is divided into 1-byte units, and when the previous 1-byte data is transmitted, There is a slight time gap between the transmission of 1-byte data, and during this period, a mistake may occur in which data is transmitted from another data output device.
【0004】[0004]
【発明が解決しようとする課題】しかしながら上記のス
イッチによる切り換え方法であると、使用者が選択した
以外の機器からのデータを受け付けることができないの
で、データが送信される機器を変更するたびにスイッチ
の切り換えを行われなければならない欠点があった。However, in the switching method using the above switch, data from devices other than the one selected by the user cannot be accepted, and therefore the switch is switched every time the device to which the data is transmitted is changed. There was a drawback that the switching of No. had to be performed.
【0005】この発明の目的は、データを受け付ける機
器の選択を自動で行えるようにして使用者の操作の手間
を省くことのできるデータ入力切換装置を提供すること
にある。An object of the present invention is to provide a data input switching device that can automatically select a device for receiving data and save the user's labor for operation.
【0006】[0006]
【課題を解決するための手段】この発明は、複数のデー
タ出力機器と一つのデータ処理装置との間に接続される
データ入力切換装置であって、前記複数のデータ出力機
器のいずれかからデータ送信開始信号を受けたとき、該
データ出力機器以外の他のデータ出力機器に対してビジ
ー信号を出力する手段と、前記該データ出力機器からの
データの受信終了を判別する手段と、データ受信終了が
判別されたとき、前記他のデータ出力機器に対してのビ
ジー信号を停止する手段と、を設けたことを特徴とす
る。SUMMARY OF THE INVENTION The present invention is a data input switching device connected between a plurality of data output devices and one data processing device, wherein data from any one of the plurality of data output devices is output. A means for outputting a busy signal to a data output device other than the data output device when the transmission start signal is received, a means for judging reception end of data from the data output device, and a data reception end And a means for stopping the busy signal to the other data output device when the determination is made.
【0007】[0007]
【作用】この発明においては、複数のデータ出力装置の
いずれかからデータ送信が開始されると、他のデータ出
力機器に対してはビジー信号が出力され、他のデータ出
力機器からはデータの送信が行われなくなる。そしてデ
ータを送信中のデータ出力機器からのデータの受信終了
が判別されたときには、他のデータ出力機器へのビジー
信号が停止されるからこれらのデータ出力機器からもデ
ータを送信することが可能となる。According to the present invention, when data transmission is started from any of the plurality of data output devices, a busy signal is output to another data output device, and data is transmitted from the other data output device. Will not be done. Then, when it is determined that the reception of the data from the data output device that is transmitting the data is determined, the busy signal to the other data output devices is stopped, so that the data output devices can also transmit the data. Become.
【0008】データを送信中のデータ出力機器からのデ
ータの受信終了を判別する手段としては例えば、受信し
たデータの処理を行うデータ処理装置が一連の動作の終
了を示す信号を出力したとき、一定時間以上データの送
信が行われなかったとき等である。なおデータ処理装置
が一連の動作の終了を示す信号を出力したとき、とは例
えば、プリンタにおいてプリント用紙の排紙を命令する
信号を出力したとき等である。As means for determining the end of data reception from a data output device that is transmitting data, for example, when a data processing device that processes received data outputs a signal indicating the end of a series of operations, a fixed This is the case, for example, when data has not been transmitted for more than the time. When the data processing device outputs a signal indicating the end of a series of operations, it means, for example, when the printer outputs a signal instructing the discharge of print paper.
【0009】[0009]
【実施例】図1はこの発明の実施例である入力切換装置
のブロック図、図2は同装置の制御信号のタイミングを
示した図である。この実施例の処理装置(例えばプリン
タ)はセントロニクス仕様のパラレルインターフェイス
を2チャンネル備えたものである。1 is a block diagram of an input switching device according to an embodiment of the present invention, and FIG. 2 is a diagram showing the timing of control signals of the device. The processing apparatus (for example, printer) of this embodiment is provided with two channels of Centronics parallel interface.
【0010】図において、インターフェイスの第1チャ
ンネルには第1のデータ出力機器が接続され、第2チャ
ンネルには第2のデータ出力機器が接続されている。な
お接続されるデータ出力機器は例えばマイクロコンピュ
ータ等である。入力切換装置1は、第1チャンネル,第
2チャンネルのいずれかのインターフェイスを選択する
部分である。ここで、D0 〜D7 は送信するデータを表
す信号線、バーSTROBE1 ,バーSTROBE2お
よびBUSY1 ,BUSY2 は制御線である。In the figure, a first data output device is connected to a first channel of the interface, and a second data output device is connected to a second channel. The connected data output device is, for example, a microcomputer or the like. The input switching device 1 is a part that selects either the first channel interface or the second channel interface. Here, D 0 to D 7 are signal lines representing data to be transmitted, and bars STROBE 1 , STROBE 2 and BUSY 1 , BUSY 2 are control lines.
【0011】また、処理終了およびリセットはプリンタ
全体を制御するCPU(不図示)から入力切換装置1に
対して送られる制御線である。処理終了信号は、CPU
が取り込んだデータの受付処理が終了したときに送信さ
れ、リセット信号は受信した信号に基づいて一連の処理
が終了したとき、例えば取り込んだデータをプリント
し、プリントした用紙の排紙命令を終了したとき等に送
信される。Further, the processing end and reset are control lines sent from the CPU (not shown) for controlling the entire printer to the input switching device 1. The processing end signal is the CPU
Is sent when the acceptance processing of the captured data is completed, and the reset signal is a series of processing based on the received signal, for example, the captured data is printed and the discharge instruction of the printed paper is completed. It will be sent at times.
【0012】入力切換装置1において、フリップフロッ
プ2,3はバーSTROBEを受けてセット信号を立ち
上げ、処理終了信号を受けてセット信号を立ち下げる。
フリップフロップ2の信号はOR回路5に入力され、フ
リップフロップ3の信号はOR回路6に入力される。バ
ーSTROBEは調停回路4にも入力されている。調停
回路4は2つのインターフェイスチャンネル間の調停を
行う回路である。調停回路4はバーSTROBE1 を受
けるとOR回路6に対して“H”を出力し、バーSTR
OBE2 を受けるとOR回路5に対して“H”を出力す
る。また、リセット信号を受けることによってOR回路
6または5への“H”信号を“L”に戻す。7は調停回
路4からの信号によってデータの取り込みを行うための
回路である。In the input switching device 1, the flip-flops 2 and 3 receive the signal STROBE to raise the set signal and receive the processing end signal to lower the set signal.
The signal of the flip-flop 2 is input to the OR circuit 5, and the signal of the flip-flop 3 is input to the OR circuit 6. The bar STROBE is also input to the arbitration circuit 4. The arbitration circuit 4 is a circuit that arbitrates between two interface channels. When the arbitration circuit 4 receives the bar STROBE 1 , it outputs “H” to the OR circuit 6 and outputs the bar STR.
When receiving OBE 2 , it outputs "H" to the OR circuit 5. Further, by receiving the reset signal, the "H" signal to the OR circuit 6 or 5 is returned to "L". Reference numeral 7 is a circuit for fetching data by a signal from the arbitration circuit 4.
【0013】このような構成により、例えば、第1チャ
ンネルに接続されているデータ出力機器からデータの送
信が行われる場合、そのデータ出力機器からはD0 〜D
7 およびバーSTROBE1 が送信され、切換装置内に
おいて、フリップフロップ2からOR回路5へ、およ
び、調停回路4からOR回路6へ“H”が出力される。With this configuration, for example, when data is transmitted from the data output device connected to the first channel, the data output device outputs D 0 to D 0.
7 and STROBE 1 are transmitted, and "H" is output from the flip-flop 2 to the OR circuit 5 and from the arbitration circuit 4 to the OR circuit 6 in the switching device.
【0014】これによりOR回路5はBUSY1 を出力
し、OR回路6はBUSY2 を出力して、第1チャンネ
ル,第2チャンネルからのデータの送信を停止させる。
これと同時に調停回路4はデータ取込み回路7にデータ
の取り込みを命令し、データ取込み回路7は第1チャン
ネルから送信されているデータD0 〜D7 を取り込んで
プリンタのCPUへと送る。CPUは取り込んだデータ
を受付処理し、処理が終了するとフリップフロップ2に
対して終了信号を出力する。これによりOR回路5への
信号が“L”となり、OR回路5はBUSY1 を立ち下
げ、第1チャンネルからはデータの送信が可能となる。
一方、第2チャンネル側では調停回路4からOR回路6
に対して“H”が出力されているためBUSY2 は
“H”のままである。As a result, the OR circuit 5 outputs BUSY 1 and the OR circuit 6 outputs BUSY 2 to stop the data transmission from the first channel and the second channel.
At the same time, the arbitration circuit 4 commands the data fetching circuit 7 to fetch the data, and the data fetching circuit 7 fetches the data D 0 to D 7 transmitted from the first channel and sends them to the CPU of the printer. The CPU accepts the fetched data and outputs an end signal to the flip-flop 2 when the processing is completed. As a result, the signal to the OR circuit 5 becomes "L", the OR circuit 5 makes BUSY 1 fall, and data can be transmitted from the first channel.
On the other hand, on the second channel side, the arbitration circuit 4 to the OR circuit 6
However, BUSY 2 remains “H” because “H” is output.
【0015】以上の動作が処理装置であるプリンタが一
連の動作を終了するまで、例えば用紙を排出するまで続
けられる。一連の動作が終了すると処理装置のCPUか
ら調停回路4に対してリセット信号が出され、これによ
って調停回路4がOR回路6への信号を立ち下げるから
BUSY2 が“L”になり、第2チャンネルからの信号
も受け付け可能になる。The above operation is continued until the printer, which is the processing device, completes a series of operations, for example, until the paper is ejected. When the series of operations is completed, the CPU of the processing device outputs a reset signal to the arbitration circuit 4, which causes the arbitration circuit 4 to drop the signal to the OR circuit 6, so that BUSY 2 becomes “L” and the second The signal from the channel can be accepted.
【0016】[0016]
【発明の効果】この発明によれば、複数のデータ出力機
器のうちのいずれかからのデータ受け付けが開始された
ときに他のデータ出力機器に対してビジー信号を出力
し、受信終了が判別されたときにそのビジー信号を停止
することにより、一つのデータ出力機器からのデータ受
信中に他のデータ出力機器からもデータを受け付けてし
まうミスが生じることがなく、データの混信を防止でき
る。このように受信中のデータ出力機器以外の他のデー
タ出力機器に対して自動的にビジー信号が出力されるこ
とにより、スイッチによる切り換えを行う必要がなくな
り操作性が向上するとともに、切り換え忘れによる動作
不良が生じることもない。According to the present invention, when data reception from any one of a plurality of data output devices is started, a busy signal is output to another data output device, and the end of reception is determined. By stopping the busy signal at the time of occurrence, there is no mistake that data is received from another data output device while receiving data from one data output device, and data interference can be prevented. In this way, by automatically outputting a busy signal to other data output devices other than the data output device that is receiving data, it is not necessary to switch using a switch, and operability is improved. No defects will occur.
【図1】この発明の実施例である入力切換装置のブロッ
ク図FIG. 1 is a block diagram of an input switching device according to an embodiment of the present invention.
【図2】同装置のタイムチャートFIG. 2 Time chart of the device
1 入力切換装置 2,3 フリップフロップ 4 調停回路 5,6 OR回路 7 データ取込み回路 1 Input Switching Device 2,3 Flip-Flop 4 Arbitration Circuit 5,6 OR Circuit 7 Data Acquisition Circuit
Claims (1)
装置との間に接続されるデータ入力切換装置であって、 前記複数のデータ出力機器のいずれかからデータ送信開
始信号を受けたとき、該データ出力機器以外の他のデー
タ出力機器に対してビジー信号を出力する手段と、 前記該データ出力機器からのデータの受信終了を判別す
る手段と、 データ受信終了が判別されたとき、前記他のデータ出力
機器に対してのビジー信号を停止する手段と、 を設けたことを特徴とするデータ入力切換装置。Claim: What is claimed is: 1. A data input switching device connected between a plurality of data output devices and one data processing device, wherein data transmission is started from any one of the plurality of data output devices. When a signal is received, a means for outputting a busy signal to another data output device other than the data output device, a device for determining the end of data reception from the data output device, and a device for determining the end of data reception And a means for stopping a busy signal to the other data output device when the data input switching device is operated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17526991A JPH0520249A (en) | 1991-07-16 | 1991-07-16 | Data input switching device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17526991A JPH0520249A (en) | 1991-07-16 | 1991-07-16 | Data input switching device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0520249A true JPH0520249A (en) | 1993-01-29 |
Family
ID=15993199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17526991A Pending JPH0520249A (en) | 1991-07-16 | 1991-07-16 | Data input switching device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0520249A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007261257A (en) * | 2006-03-02 | 2007-10-11 | Ricoh Co Ltd | Image forming apparatus and host terminal connected thereto |
-
1991
- 1991-07-16 JP JP17526991A patent/JPH0520249A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007261257A (en) * | 2006-03-02 | 2007-10-11 | Ricoh Co Ltd | Image forming apparatus and host terminal connected thereto |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4486750A (en) | Data transfer system | |
| US4638428A (en) | Polling control method and system | |
| US5722781A (en) | Printing apparatus | |
| JP2587909B2 (en) | Data transfer method | |
| US7253913B2 (en) | Facsimile apparatus operable as a printer | |
| JPH0520249A (en) | Data input switching device | |
| JP3201141B2 (en) | Data receiving method | |
| US5630030A (en) | Output method and apparatus for a recording device | |
| JPH0981334A (en) | Information processing apparatus and data transfer method of information processing apparatus | |
| JPH04319467A (en) | Printing device | |
| JPH0752384B2 (en) | Printer device | |
| JPH04329171A (en) | Printing device | |
| JP3286079B2 (en) | Computer system with data transfer delay control function | |
| KR0123720B1 (en) | Data printing method | |
| JPH03158924A (en) | Printer controller | |
| JPH05181628A (en) | Method for receiving print data and printer device using the method | |
| JP2623816B2 (en) | Signal transmission method | |
| JP3199624B2 (en) | Facsimile machine | |
| JP3050155B2 (en) | Printing equipment | |
| JP2898025B2 (en) | Input/Output Terminal | |
| JPH05227222A (en) | Data transmission speed converter | |
| JPH05130304A (en) | Image communication system | |
| JPH0783419B2 (en) | Fax system | |
| JPH08147116A (en) | Buffer device | |
| JP2003320716A (en) | Printer |