JPH05313836A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH05313836A
JPH05313836A JP4121940A JP12194092A JPH05313836A JP H05313836 A JPH05313836 A JP H05313836A JP 4121940 A JP4121940 A JP 4121940A JP 12194092 A JP12194092 A JP 12194092A JP H05313836 A JPH05313836 A JP H05313836A
Authority
JP
Japan
Prior art keywords
signal
timing
data
data transfer
printer
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
JP4121940A
Other languages
Japanese (ja)
Other versions
JP2773850B2 (en
Inventor
Koichi Shibata
浩一 柴田
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP4121940A priority Critical patent/JP2773850B2/en
Publication of JPH05313836A publication Critical patent/JPH05313836A/en
Application granted granted Critical
Publication of JP2773850B2 publication Critical patent/JP2773850B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To set the timing of a control signal in accordance with the characteristic of each device by optionally changing the timing of the control signal in response to the characteristic of each device. CONSTITUTION:The timing of a control signal is optionally changed in accordance with the characteristic of each device in a data transfer system where the data transfer speed is determined by the timing of the control signal. For instance, a parallel interface circuit 2 provided at the side of a printer is provided with a control means which outputs a busy signal to a computer in the set prescribed timing and a means which optionally changes the timing. In other words, the control means contains a counter 3 allows the output of a busy signal to show that the printer is unable to receive the data before the count value of basic clocks reaches a set level. Meanwhile, the timing changing means contains a latch circuit 5 which latches the set value data received from the printer and outputs these data to the counter 3 as the set value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、装置間でのデータ転送
をハードウェアで作成した制御信号に基づいて行なわ
せ、その制御信号のタイミングでデータ転送速度が決ま
るデータ転送方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer system in which data transfer between devices is performed based on a control signal created by hardware, and the data transfer rate is determined by the timing of the control signal.

【0002】[0002]

【従来の技術】従来、例えばパーソナルコンピュータ
(以下、「パソコン」という)からプリンタへのデータ
の転送は、8ビットパラレルインターフェースであるセ
ントロニクスインターフェースを介して、ストローブ
(STROBE)信号とビジー(BUSY)信号、或い
はアック(ACKNOWLEDGEMENT)信号等の
制御信号を用いたハンドシェイクにて行なわれていた。
2. Description of the Related Art Conventionally, for example, data transfer from a personal computer (hereinafter referred to as "personal computer") to a printer is performed by a strobe (STROBE) signal and a busy (BUSY) signal via a Centronics interface which is an 8-bit parallel interface. Alternatively, a handshake is performed using a control signal such as an ACK (ACKNOWLEDGEMENT) signal.

【0003】即ち、ストローブ信号にてデータがパソコ
ン側から出力されたことをプリンタ側に知らせ、ビジー
信号にてプリンタが印字中等でデータを受け取れない状
態にあることをパソコン側に知らせ、またアック信号に
てデータの受け取りが正常に終了したことをパソコン側
に知らせることで、互いに相手の状態を確認しながらデ
ータの転送を行なわせるようにしていた。
That is, the strobe signal informs the printer side that the data has been output from the personal computer side, the busy signal informs the personal computer side that the printer is not receiving data due to printing, etc. By informing the PC side that the data reception was completed normally, the data transfer was performed while confirming the status of the other party.

【0004】[0004]

【発明が解決しようとする課題】ところが、このような
従来のデータ転送方式ではビジーやアック信号をソフト
ウェアではなくハードウェアで作成した場合、そのビジ
ーとアック信号BUSY,/ACKのタイミング(即
ち、アクティブ期間のパルス幅)が例えば図5に示すよ
うに1種類(この場合、10μsecと2.5μse
c)か希に2種類に固定されているため、ユーザは自分
のパソコンやプリンタの特性(即ち、性能)に最も適し
たパルス幅のビジーやアック信号を選ぶことができなか
った。そのため、パソコンからプリンタへのデータ転送
効率や、プリンタのパフォーマンス(即ち、処理性能)
が悪化し、その性能を十分に引き出すことができなかっ
た。
However, in such a conventional data transfer method, when the busy or ACK signal is created by hardware instead of software, the timing of the busy and ACK signals BUSY and / ACK (that is, active The pulse width of the period is, for example, as shown in FIG. 5, one kind (in this case, 10 μsec and 2.5 μse).
Since c) is rarely fixed to two types, the user cannot select a busy or ACK signal having a pulse width most suitable for the characteristics (that is, performance) of his or her personal computer or printer. Therefore, the data transfer efficiency from the personal computer to the printer and the printer performance (that is, processing performance)
Was deteriorated and its performance could not be fully brought out.

【0005】本発明はこのような点に鑑み成されたもの
であって、装置間でのデータ転送をハードウェアで作成
した制御信号に基づいて行なわせる際に、その装置夫々
の特性に応じた制御信号のタイミングを設定することが
できるようにしたデータ転送方式を提供することを目的
とする。
The present invention has been made in view of the above circumstances, and when data transfer between devices is performed based on a control signal created by hardware, the device is adapted to the characteristics of each device. An object of the present invention is to provide a data transfer method capable of setting the timing of control signals.

【0006】[0006]

【課題を解決するための手段】上記した目的を達成する
ため本発明では、装置間でのデータ転送をハードウェア
で作成した制御信号に基づいて行なわせ、その制御信号
のタイミングでデータ転送速度が決まるデータ転送方式
において、制御信号のタイミングを装置夫々の特性に応
じて任意に可変させるようにしたもので、例えばコンピ
ュータ(この場合、パソコン)とプリンタ間でのデータ
転送方式であり、前記制御信号はプリンタがデータを受
け取れない状態にあることを表わすビジー信号で、プリ
ンタ側に装備されたパラレルインタフェース回路に、設
定された所定のタイミングでビジー信号をコンピュータ
側に出力するための制御手段と、この制御手段に設定さ
れているタイミングを任意に可変するための可変手段と
を設けているものである。具体的に、前記制御手段は、
基本クロックをカウントしてそのカウント値が設定値に
達するまでの間プリンタがデータを受け取れない状態に
あることを表わすビジー信号の出力を許容するカウンタ
ーを有しており、前記可変手段は、プリンタ側の中央処
理装置から送られて来る設定値データをラッチしてカウ
ンターに設定値として出力するラッチ回路を有している
ものである。
In order to achieve the above object, according to the present invention, data transfer between devices is performed based on a control signal created by hardware, and the data transfer rate is controlled at the timing of the control signal. In the determined data transfer method, the timing of the control signal is arbitrarily changed according to the characteristics of each device. For example, it is a data transfer method between a computer (in this case, a personal computer) and a printer. Is a busy signal indicating that the printer cannot receive data, and a control means for outputting the busy signal to the computer side to the parallel interface circuit equipped on the printer side at a set predetermined timing. A means provided with variable means for arbitrarily changing the timing set in the control means A. Specifically, the control means is
The variable means has a counter that allows the printer to output a busy signal indicating that the printer cannot receive data until the count value reaches the set value. It has a latch circuit for latching the set value data sent from the central processing unit and outputting it to the counter as the set value.

【0007】[0007]

【作用】このような構成によると、プリンタ側の中央処
理装置から送られて来る設定値データにより、パソコン
側に出力されるビジー信号のタイミングが任意に可変さ
れることになるので、データ転送に携さわる装置夫々の
特性に応じたビジー信号のタイミングを設定できること
になる。
With this configuration, the timing of the busy signal output to the personal computer side can be arbitrarily changed by the set value data sent from the central processing unit on the printer side. The timing of the busy signal can be set according to the characteristics of each of the devices involved.

【0008】[0008]

【実施例】以下、本発明のデータ転送方式について図面
と共に説明する。図1は本発明データ転送方式をパソコ
ンとプリンタ間で実現するためのブロック回路構成を示
し、1,2はプリンタ側に装備されたセントロニクスイ
ンターフェースの入出力ポート(即ち、セントロニクス
コネクタ)とインターフェース回路で、その入出力ポー
ト1は接続コードを介してパソコン側と接続されてお
り、パソコン側からの8ビットパラレルデータやストロ
ーブ信号/STB(この場合Lの状態でアクティブとな
り意味を持つ(即ち、有効となる)信号であるため、そ
の信号記号の横に/表示を行ない図中ではバー表示を行
なう)等の受け取りとプリンタ側からのビジー信号BU
SY等の受け渡しを行なうようになっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A data transfer system of the present invention will be described below with reference to the drawings. FIG. 1 shows a block circuit configuration for realizing the data transfer system of the present invention between a personal computer and a printer. Reference numerals 1 and 2 denote an input / output port (that is, a Centronics connector) and an interface circuit of a Centronics interface provided on the printer side. , Its input / output port 1 is connected to the personal computer side through a connection cord, and 8-bit parallel data or strobe signal / STB from the personal computer side (in this case, it becomes active in the L state and has a meaning (that is, valid) Signal is displayed, a bar is displayed next to the signal symbol and a bar is displayed in the figure), and a busy signal BU from the printer side is received.
It is designed to deliver SY and the like.

【0009】そして、インターフェース回路2は次のよ
うな構成になっており、3はパソコン側から入出力ポー
ト1に入力されるビジー信号BUSYがHになるとその
立ち上がりでカウント動作を開始するパルス幅設定カウ
ンターで、該パルス幅設定カウンター3はプリンタ側の
クロック発生回路で生成される基本クロックCLOCK
をカウントしてそのカウント値が設定値に達すると出力
しているキャリー信号/CARRYをHから立ち下げて
所定期間Lにするようになっており、その設定値が後述
する設定値ラッチ回路からの出力により任意に可変され
る、所謂プログラマブルカウンターになっている。4は
ビジー信号BUSYを入出力ポート1を介してパソコン
側に出力する制御部で、該制御部4は入出力ポート1に
入力されるストローブ信号/STBがLになるとその立
ち下がりでビジー信号BUSYを立ち上げ、パルス幅設
定カウンター3から出力されるキャリー信号/CARR
YがLになるとその立ち下がりでビジー信号BUSYを
Lに立ち下げるようになっており、この制御部4から出
力されるビジー信号のタイミング(即ち、アクティブな
状態であるHの期間のパルス幅)はパルス幅設定カウン
ター3の設定値にて決定されることになる。
The interface circuit 2 is constructed as follows, and 3 is a pulse width setting for starting the counting operation at the rising edge of the busy signal BUSY input to the input / output port 1 from the personal computer side. The pulse width setting counter 3 is a basic clock CLOCK generated by a clock generation circuit on the printer side.
When the count value reaches a set value, the carry signal / CARRY that is being output is lowered from H and is set to L for a predetermined period. The set value is set by a set value latch circuit described later. It is a so-called programmable counter that can be arbitrarily changed by the output. A control unit 4 outputs a busy signal BUSY to the personal computer side via the input / output port 1. The control unit 4 falls at the falling edge of the strobe signal / STB input to the input / output port 1 to cause the busy signal BUSY to fall. And carry signal / CARR output from the pulse width setting counter 3
When Y becomes L, the busy signal BUSY is made to fall to L at the fall, and the timing of the busy signal output from the control unit 4 (that is, the pulse width during the H period in the active state). Is determined by the set value of the pulse width setting counter 3.

【0010】そして、5はプリンタ側の中央処理装置
(以下、「CPU」という)からデータバスを介して送
られて来る設定値データをラッチ信号WR1に基づいて
ラッチしパルス幅設定カウンター3に設定値データとし
て出力する設定値ラッチ回路で、このCPUから送られ
て来る設定値データはユーザが操作部にて任意に可変で
きるようになっており、またパルス幅設定カウンター3
は設定値ラッチ回路5からの設定値データをロード信号
/LOADに基づいて読み込み設定値として保持するよ
うになっている。6はパソコン側から入出力ポート1に
入力される8ビットパラレルデータD0〜D7を1バイ
ト毎にラッチする入力データラッチ回路で、該入力デー
タラッチ回路6は入出力ポート1に入力されるストロー
ブ信号/STBがLになるとその立ち下がりで入力デー
タをラッチし、そのラッチしたデータをデータリード信
号/READに基づいて読み出しデータバスからプリン
タ側のCPUに出力するようになっている。
Reference numeral 5 latches set value data sent from a central processing unit (hereinafter referred to as "CPU") on the printer side via a data bus based on a latch signal WR1 and sets it in a pulse width setting counter 3. The set value latch circuit that outputs as the value data allows the user to arbitrarily change the set value data sent from the CPU with the operation unit, and the pulse width setting counter 3
Is designed to read the set value data from the set value latch circuit 5 based on the load signal / LOAD and hold it as the set value. Reference numeral 6 is an input data latch circuit for latching 8-bit parallel data D0 to D7 input from the personal computer side to the input / output port 1 for each byte. The input data latch circuit 6 is a strobe signal input to the input / output port 1. When / STB becomes L, the input data is latched at the falling edge and the latched data is output from the read data bus to the CPU on the printer side based on the data read signal / READ.

【0011】そして、7はプリンタ側のCPUからアド
レスバスを介して送られて来るアドレスデータに基づい
てラッチ信号WR1やロード信号/LOAD,データリ
ード信号/READを出力するアドレスデコーダで、ラ
ッチ信号WR1は設定値ラッチ回路5に、ロード信号/
LOADはパルス幅設定カウンター3に、データリード
信号/READは入力データラッチ回路6に夫々出力す
るようになっている。尚、ストローブ信号/STBの立
ち下がりでプリンタ側のCPUに対してセントロニクス
割り込みを掛け、パソコン側からデータが入ったことを
知らせるようになっている。
An address decoder 7 outputs a latch signal WR1, a load signal / LOAD, and a data read signal / READ based on the address data sent from the CPU on the printer side via an address bus. The latch signal WR1 The load signal /
The LOAD is output to the pulse width setting counter 3, and the data read signal / READ is output to the input data latch circuit 6. At the fall of the strobe signal / STB, a Centronics interrupt is applied to the CPU on the printer side to notify that data has been input from the personal computer side.

【0012】従って、先ずパソコン側から入出力ポート
1に8ビットパラレルデータが出力され(図2(a)参
照)、そのことをプリンタ側に知らせるために入出力ポ
ート1に入力されているストローブ信号/STBが所定
期間Lに立ち下がると(図2(b)参照)、プリンタは
そのデータをすぐには受け取れないので、そのストロー
ブ信号/STBの立ち下がりで制御部4によりビジー信
号BUSYをHに立ち上げてプリンタがデータを受け取
れない状態にあることをパソコン側に知らせ(図2
(c)参照)、パソコンが次の8ビットパラレルデータ
をすぐには送ってこられないようにすると共に、ビジー
信号BUSYの立ち上がりでパルス幅設定カウンター3
による基本クロックCLOCKのカウント動作を開始さ
せる。また、それと同時にストローブ信号/STBの立
ち下がりで入力データラッチ回路6により入力された8
ビットパラレルデータのラッチを行なわせると共に、プ
リンタ側のCPUに割り込み要求を行なわせる。
Therefore, first, 8-bit parallel data is output from the personal computer side to the input / output port 1 (see FIG. 2A), and the strobe signal input to the input / output port 1 to inform the printer side. When / STB falls to L for a predetermined period (see FIG. 2 (b)), the printer cannot receive the data immediately, so the control unit 4 sets the busy signal BUSY to H at the fall of the strobe signal / STB. Notify the PC that the printer is not ready to receive data when it is started up (Fig. 2
(See (c)), so that the personal computer cannot send the next 8-bit parallel data immediately, and at the rising edge of the busy signal BUSY, the pulse width setting counter 3
To start the counting operation of the basic clock CLOCK. At the same time, at the falling edge of the strobe signal / STB, the input data latch circuit 6 inputs 8
It causes the bit parallel data to be latched and causes the CPU on the printer side to make an interrupt request.

【0013】そして、パルス幅設定カウンター3でのカ
ウント動作によりそのカウント値が設定値に達しキャリ
ー信号/CARRYがLに立ち下がると(図2(d)参
照)、そのキャリー信号/CARRYの立ち下がりで制
御部4から出力されているビジー信号BUSYがLに立
ち下がり、プリンタが次のデータを受け取れる状態にな
ったことをパソン側に知らせ、パソコンはこのビジー信
号BUSYの立ち下がりを確認して次の8ビットパラレ
ルデータの転送に入る。尚、ビジー信号BUSYがLに
なるとパルス幅設定カウンター3はリセットされてカウ
ント停止状態になり、入力データラッチ回路6にラッチ
されていたデータはビジー信号BUSYが立ち下がる前
にLになるデータリード信号/READの立ち下がりで
読み出されて(図2(e)参照)、プリンタ側のCPU
に送出されることになる。
When the count value of the pulse width setting counter 3 reaches the set value and the carry signal / CARRY falls to L (see FIG. 2D), the carry signal / CARRY falls. Then, the busy signal BUSY output from the control unit 4 falls to L, the printer side is notified that the printer is ready to receive the next data, and the personal computer confirms the fall of the busy signal BUSY and 8-bit parallel data transfer is started. When the busy signal BUSY becomes L, the pulse width setting counter 3 is reset to stop counting, and the data latched by the input data latch circuit 6 becomes L before the busy signal BUSY falls. It is read at the falling edge of / READ (see FIG. 2E), and the CPU on the printer side
Will be sent to.

【0014】そして、パソコン側から次の8ビットパラ
レルデータが出力されると、再びストローブ信号が所定
期間Lに立ち下がり、以後同様の動作が繰り返されるこ
とで、1バイト毎のデータの転送が行なわれるようにな
る。尚、データ転送速度はパルス幅設定カウンター3の
設定値にてビジー信号BUSYのタイミングを任意に可
変させることで、最適なものにすることができる。
Then, when the next 8-bit parallel data is output from the personal computer side, the strobe signal falls to the predetermined period L again, and the same operation is repeated thereafter, whereby data transfer for each byte is performed. Will be The data transfer rate can be optimized by arbitrarily changing the timing of the busy signal BUSY with the setting value of the pulse width setting counter 3.

【0015】図4はその具体的な回路構成例を示し、設
定値ラッチ回路5は2個の8ビットシフトレジスタ8,
9を組み合わせて構成しており、CPUより送られてく
るアドレスデータに応じたラッチ信号WR1がアドレス
デコーダ7から入力されると、CPUからの16ビット
の設定値データD0〜D15をラッチしてパルス幅設定
カウンター3に出力するようになっている。
FIG. 4 shows a concrete example of the circuit configuration. The set value latch circuit 5 includes two 8-bit shift registers 8,
When the latch signal WR1 corresponding to the address data sent from the CPU is input from the address decoder 7, the 16-bit set value data D0 to D15 from the CPU is latched and pulsed. It is designed to output to the width setting counter 3.

【0016】そして、パルス幅設定カウンター3は4個
の4ビットカウンター10,11,12,13を組み合
わせて構成しており、設定値ラッチ回路5でラッチされ
た設定値データD0〜D15をアドレスデコーダ7から
のロード信号/LOADで取り込んでセットするように
なっていると共に、ビジー信号BUSYがLの場合はそ
の各クリア端子CLRにLが入力されるのでクリアが掛
かったカウント停止状態にあり、ビジー信号BUSYが
Hになった場合にはその各クリア端子CLRにHが入力
されるのでカウント動作を開始して基本クロックCLO
CKをカウントし、そのカウント値が設定値に達すると
最終段の4ビットカウンター13よりL状態のキャリー
信号/CARRYを所定期間出力するようになってい
る。
The pulse width setting counter 3 is formed by combining four 4-bit counters 10, 11, 12, and 13, and sets the set value data D0 to D15 latched by the set value latch circuit 5 to an address decoder. When the busy signal BUSY is L, L is input to each clear terminal CLR, so that the count is in a stopped state where the count is cleared and the busy signal is busy. When the signal BUSY becomes H, H is input to each clear terminal CLR, so that the count operation is started and the basic clock CLO is started.
The CK is counted, and when the count value reaches the set value, the carry signal / CARRY in the L state is output from the 4-bit counter 13 at the final stage for a predetermined period.

【0017】また、制御部4はプリセット,クリア端子
PR,CLを有するDフリップフロップ回路15と保持
用のNOR回路17を組み合わせて構成しており、Dフ
リップフロップ回路15のプリセット端子PRには電源
ON時にその電源電圧が定常状態(図3(a)参照)に
なってからH状態になるリセット信号/RESET(図
3(b)参照)が入力され、電源ON状態でDフリップ
フロップ回路15のクリア端子CLに入力されているス
トローブ信号がLになるとその出力端子/Qより出力さ
れているビジー信号BUSYを直ちにH状態にするよう
になっている。また。保持用のNOR回路17にはDフ
リップフロップ回路15の出力端子Qよりの出力とパル
ス幅設定カウンター3からのキャリー信号/CARRY
が入力され、パルス幅設定カウンター3よりL状態のキ
ャリー信号/CARRYが出力されると、そのことをD
フリップフロップ回路15にシステムクロックSYSC
LKの立ち上がりのタイミングでラッチさせてその出力
端子/Qより出力されているビジー信号BUSYを直ち
にLにしてその状態を次にクリア端子CLにLが入力さ
れるまで保持するようになっている。
Further, the control section 4 is configured by combining a D flip-flop circuit 15 having preset / clear terminals PR and CL and a NOR circuit 17 for holding, and the preset terminal PR of the D flip-flop circuit 15 has a power source. When the power is turned on, a reset signal / RESET (see FIG. 3 (b)) is input, which goes into the H state after the power supply voltage is in the steady state (see FIG. 3 (a)), and the power of the D flip-flop circuit 15 is turned on. When the strobe signal input to the clear terminal CL becomes L, the busy signal BUSY output from the output terminal / Q is immediately set to the H state. Also. The NOR circuit 17 for holding holds the output from the output terminal Q of the D flip-flop circuit 15 and the carry signal / CARRY from the pulse width setting counter 3.
Is input and the carry signal / CARRY in the L state is output from the pulse width setting counter 3, D
System clock SYSC for the flip-flop circuit 15
The busy signal BUSY output from the output terminal / Q of the LK is latched at the rising timing of LK to immediately set to L, and the state is held until L is input to the clear terminal CL next time.

【0018】ここで、システムクロックSYSCLKは
比較的短いパルス幅のキャリー信号/CARRYをラッ
チできるようかなり早い周期のものを用いるものとす
る。尚、8ビットの入力データラッチ回路6も設定値ラ
ッチ回路5と同じようにシフトレジスタで構成すること
ができ、ストローブ信号/STBがLになる毎にパソコ
ンから送られてくる8ビットのセントロニクスデータを
ラッチし、アドレスデコーダ7からのデータリード信号
/READで読み出されるようになっている。
Here, it is assumed that the system clock SYSCLK has a fairly early cycle so that the carry signal / CARRY having a relatively short pulse width can be latched. The 8-bit input data latch circuit 6 can also be configured by a shift register like the set value latch circuit 5, and 8-bit Centronics data sent from the personal computer every time the strobe signal / STB becomes L. Is read out by the data read signal / READ from the address decoder 7.

【0019】以上、本実施例ではストローブ信号とビジ
ー信号とでハンドシェイクを行なわせる場合について述
べたが、これにアック信号を加えてストローブ信号とビ
ジー信号,アック信号とでハンドシェイクを行なわせる
ようにしてもよく、その場合アック信号のタイミングも
ビジー信号と同様に任意に可変するように構成すること
ができる。また、本実施例ではプリンタのCPUをセン
トロニクスインターフェースのCPUとして兼用する構
成にしたが、夫々別のCPUを用いるようにしても良
い。
In this embodiment, the case where the handshake is performed with the strobe signal and the busy signal has been described above. However, an ACK signal is added to this to perform the handshake with the strobe signal, the busy signal, and the ACK signal. However, in this case, the timing of the ACK signal can be arbitrarily changed like the busy signal. Further, in this embodiment, the CPU of the printer is also used as the CPU of the Centronics interface, but different CPUs may be used.

【0020】[0020]

【発明の効果】上述した如く本発明のデータ転送方式に
よれば、装置間でのデータ転送をハードウェアで作成し
た制御信号に基づいて行なわせるようにしていると共
に、その制御信号のタイミングを装置夫々の特性に応じ
て任意に可変し設定できるようにしているので、ソフト
ウェアで作成した場合に比してCPUの負担を軽減で
き、即ちプログラムの簡素化や処理の効率化を行なわせ
ることができ、更にデータ転送効率や装置のパフォーマ
ンスへの悪影響を排除することができる。
As described above, according to the data transfer method of the present invention, the data transfer between the devices is performed based on the control signal created by the hardware, and the timing of the control signal is controlled by the device. Since it can be arbitrarily changed and set according to each characteristic, the load on the CPU can be reduced as compared with the case of being created by software, that is, the program can be simplified and the processing efficiency can be improved. Moreover, it is possible to eliminate adverse effects on data transfer efficiency and device performance.

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

【図1】 本発明のブロック構成例を示す図。FIG. 1 is a diagram showing a block configuration example of the present invention.

【図2】 その信号波形図。FIG. 2 is a signal waveform diagram thereof.

【図3】 そのリセット信号の波形図。FIG. 3 is a waveform diagram of the reset signal.

【図4】 その具体的な回路構成例を示す図。FIG. 4 is a diagram showing a specific circuit configuration example.

【図5】 従来の信号波形例を示す図。FIG. 5 is a diagram showing an example of a conventional signal waveform.

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

2 インターフェース回路 3 パルス幅設定カウンター 4 制御部 5 設定値ラッチ回路 6 入力データラッチ回路 7 アドレスデコーダ 2 Interface circuit 3 Pulse width setting counter 4 Control unit 5 Set value latch circuit 6 Input data latch circuit 7 Address decoder

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年7月2日[Submission date] July 2, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0017】また、制御部4はプリセット,クリア端子
PR,CLを有するDフリップフロップ回路15と保持
用のNOR回路17を組み合わせて構成しており、Dフ
リップフロップ回路15のクリア端子CLには電源ON
時にその電源電圧が定常状態(図3(a)参照)になっ
てからH状態になるリセット信号/RESET(図3
(b)参照)が入力され、電源ON状態でDフリップフ
ロップ回路15のプリセット端子PRに入力されている
ストローブ信号がLになるとその出力端子より出力さ
れているビジー信号BUSYを直ちにH状態にするよう
になっている。また保持用のNOR回路17にはDフ
リップフロップ回路15の出力端子Qよりの出力とパル
ス幅設定カウンター3からのキャリー信号/CARRY
が入力され、パルス幅設定カウンター3よりL状態のキ
ャリー信号/CARRYが出力されると、そのことをD
フリップフロップ回路15にシステムクロックSYSC
LKの立ち上がりのタイミングでラッチさせてその出力
端子より出力されているビジー信号BUSYを直ちに
Lにしてその状態を次にプリセット端子PRにLが入力
されるまで保持するようになっている。
Further, the control section 4 is constructed by combining a D flip-flop circuit 15 having preset and clear terminals PR and CL and a NOR circuit 17 for holding, and the clear terminal CL of the D flip-flop circuit 15 is powered by a power source. ON
Sometimes the power supply voltage goes into a steady state (see FIG. 3 (a)) and then goes into H state.
(See (b)) is input, and the strobe signal input to the preset terminal PR of the D flip-flop circuit 15 becomes L when the power is ON, the busy signal BUSY output from the output terminal Q is immediately set to the H state. It is supposed to do. Further , the holding NOR circuit 17 has an output from the output terminal Q of the D flip-flop circuit 15 and a carry signal / CARRY from the pulse width setting counter 3.
Is input and the carry signal / CARRY in the L state is output from the pulse width setting counter 3, D
System clock SYSC for the flip-flop circuit 15
The busy signal BUSY output from the output terminal Q of the LK is latched at the rising timing of LK to immediately set to L, and the state is held until L is input to the preset terminal PR next time.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】 [Figure 4]

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 装置間でのデータ転送をハードウェアで
作成した制御信号に基づいて行なわせ、その制御信号の
タイミングでデータ転送速度が決まるデータ転送方式に
おいて、制御信号のタイミングを装置夫々の特性に応じ
て任意に可変させることを特徴とするデータ転送方式。
1. In a data transfer system in which data transfer between devices is performed based on a control signal created by hardware, and the data transfer rate is determined by the timing of the control signal, the timing of the control signal is determined by the characteristics of each device. A data transfer method characterized in that it can be arbitrarily changed according to.
【請求項2】 コンピュータとプリンタ間でのデータ転
送方式であり、前記制御信号はプリンタがデータを受け
取れない状態にあることを表わすビジー信号で、プリン
タ側に装備されたパラレルインタフェース回路に、設定
された所定のタイミングでビジー信号をコンピュータ側
に出力するための制御手段と、この制御手段に設定され
ているタイミングを任意に可変するための可変手段とを
設けていることを特徴とする請求項1に記載のデータ転
送方式。
2. A data transfer system between a computer and a printer, wherein the control signal is a busy signal indicating that the printer cannot receive data, and is set in a parallel interface circuit equipped on the printer side. The control means for outputting a busy signal to the computer side at a predetermined timing, and the variable means for arbitrarily varying the timing set in the control means are provided. Data transfer method described in.
【請求項3】 前記制御手段は、基本クロックをカウン
トしてそのカウント値が設定値に達するまでの間プリン
タがデータを受け取れない状態にあることを表わすビジ
ー信号の出力を許容するカウンターを有しており、前記
可変手段は、プリンタ側の中央処理装置から送られて来
る設定値データをラッチしてカウンターに設定値として
出力するラッチ回路を有していることを特徴とする請求
項2に記載のデータ転送方式。
3. The control means has a counter which counts the basic clock and permits the output of a busy signal indicating that the printer is in a state of not receiving data until the count value reaches a set value. 3. The variable means has a latch circuit for latching set value data sent from a central processing unit on the printer side and outputting the set value data to a counter as a set value. Data transfer method.
JP4121940A 1992-05-14 1992-05-14 Data transfer method Expired - Lifetime JP2773850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4121940A JP2773850B2 (en) 1992-05-14 1992-05-14 Data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4121940A JP2773850B2 (en) 1992-05-14 1992-05-14 Data transfer method

Publications (2)

Publication Number Publication Date
JPH05313836A true JPH05313836A (en) 1993-11-26
JP2773850B2 JP2773850B2 (en) 1998-07-09

Family

ID=14823698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4121940A Expired - Lifetime JP2773850B2 (en) 1992-05-14 1992-05-14 Data transfer method

Country Status (1)

Country Link
JP (1) JP2773850B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154287A (en) * 1996-10-24 2000-11-28 Fuji Xerox Co., Ltd. Printing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0277928A (en) * 1988-09-14 1990-03-19 Canon Inc Interface circuit for recorder
JPH0353317A (en) * 1989-07-21 1991-03-07 Nec Data Terminal Ltd Printer interface circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0277928A (en) * 1988-09-14 1990-03-19 Canon Inc Interface circuit for recorder
JPH0353317A (en) * 1989-07-21 1991-03-07 Nec Data Terminal Ltd Printer interface circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154287A (en) * 1996-10-24 2000-11-28 Fuji Xerox Co., Ltd. Printing device

Also Published As

Publication number Publication date
JP2773850B2 (en) 1998-07-09

Similar Documents

Publication Publication Date Title
JP2595314B2 (en) IC card with erroneous writing prevention function
JPH05274259A (en) Serial input interface circuit
US5388216A (en) Circuit for controlling generation of an acknowledge signal and a busy signal in a centronics compatible parallel interface
EP0311760A2 (en) High speed parallel data transfer driver
CN109240130B (en) Programmable pin level control circuit
JPH05313836A (en) Data transfer system
JP2563679B2 (en) Bidirectional input / output signal separation circuit
KR960016809B1 (en) Trigger signal generating circuit with trigger masking function
US20080164929A1 (en) Electronic Circuit Wherein an Asynchronous Delay is Realized
JPH0546535A (en) Data transfer interface device
JPH05324268A (en) Data transfer system
JPH0664483B2 (en) Pulse counter
JP2692469B2 (en) Data controller
JPH05347651A (en) Pause time setting circuit between data frames
KR900007001Y1 (en) Circuit for generating end signal when data signal of laser printer is received
JPH06187284A (en) Dma unit
KR950002316B1 (en) Data transmission device for fax
JPH0895799A (en) Interrupt controller
JPH0685876A (en) Communication controller
JP2001077800A (en) Serial transmission transmission/reception circuit
JPS59170933A (en) Input data control device of printer
KR940001105Y1 (en) Device for stabilizing control of handshaking in dma
Aoshima Transputer circuits for robot control
JPH0560134B2 (en)
JPH0528076A (en) Serial data communication equipment and microprocessor