JPH02244249A - General-purpose centronics interface controller - Google Patents

General-purpose centronics interface controller

Info

Publication number
JPH02244249A
JPH02244249A JP6352789A JP6352789A JPH02244249A JP H02244249 A JPH02244249 A JP H02244249A JP 6352789 A JP6352789 A JP 6352789A JP 6352789 A JP6352789 A JP 6352789A JP H02244249 A JPH02244249 A JP H02244249A
Authority
JP
Japan
Prior art keywords
timer
output
signal
centronics interface
handshake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6352789A
Other languages
Japanese (ja)
Inventor
Yusaku Unno
海野 雄策
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6352789A priority Critical patent/JPH02244249A/en
Publication of JPH02244249A publication Critical patent/JPH02244249A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To flexibly cope with such the case a centronics interface device to be connected outputs the handshake signals in different timings by providing with a timing setting part to selectively and variably set the output timings among control signals. CONSTITUTION:A timing setting part 10 sets previously the rising/falling timings of the control signals forming the handshake signals in accordance with the characteristics of a partner centronics interface device 3. Then a timer, etc., of a handshake signal output part 20 are controlled and the handshake signals are outputted in the set timings respectively. If the device 3 is replaced with another one having a different standard, the part 20 changes the set timing. As a result, the working timings of the handshake signals are variably set to cope with various types of devices 3.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プリンタやXYプロッタ等で広く使用されて
いる、セントロニクスインタフェースを制御する汎用セ
ントロニクスインタフェース制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a general-purpose Centronics interface control device that controls a Centronics interface, which is widely used in printers, XY plotters, and the like.

(従来の技術) パーソナルコンピュータとXYプロッタ間、あるいはワ
ードプロセッサとプリンタ間等においてデータ転送を行
なう場合、セントロニクスインタフェースが広く使用さ
れている。このセントロニクスインタフェースは、一方
向にデータをパラレル転送し、その転送制御のために、
いわゆるハンドシェイク信号の授受が行なわれている。
(Prior Art) Centronics interfaces are widely used when data is transferred between a personal computer and an XY plotter, or between a word processor and a printer. This Centronics interface transfers data in parallel in one direction, and in order to control the transfer,
A so-called handshake signal is exchanged.

第2図に、セントロニクスインタフェースを介して接続
される一般のシステム構成図を示す。
FIG. 2 shows a general system configuration diagram connected via a Centronics interface.

図において、パーソナルコンピュータM1等に内蔵され
るセントロニクスインタフェース制御装置1は、プリン
タ間2等に内蔵されるセントロニクスインタフェース制
御装置2に対して、所定の規格のセントロニクスインタ
フェース3を介して接続されている。
In the figure, a Centronics interface control device 1 built in a personal computer M1 or the like is connected to a Centronics interface control device 2 built in a printer 2 or the like via a Centronics interface 3 of a predetermined standard.

このセントロニクスインタフェース3を介して、セント
ロニクスインタフェース制御装置1からセントロニクス
インタフェース装置2に対して出力されるハンドシェイ
ク信号としては、例えば、データ転送動作中にアクティ
ブにされるDATAENB信号と、その間所定のタイミ
ングでアクティブにされるDATASTB信号がある。
Handshake signals output from the Centronics interface control device 1 to the Centronics interface device 2 via the Centronics interface 3 include, for example, a DATAENB signal that is activated during a data transfer operation, and a DATAENB signal that is activated at a predetermined timing during the data transfer operation. There is a DATAASTB signal that is activated.

また、セントロニクスインタフェース装置2の側からセ
ントロニクスインタフェース制御装置1の側に出力され
るハンドシェイク信号としては、データ受信応答のため
のACK信号がある。
Further, as a handshake signal output from the Centronics interface device 2 side to the Centronics interface control device 1 side, there is an ACK signal for data reception response.

上記のようなセントロニクスインタフェースについては
、その基本的な構成は標準化されている。しかしながら
、個々の信号の出力タイミングについては、各装置メー
カに委ねられている。
The basic configuration of the Centronics interface as described above is standardized. However, the output timing of individual signals is left to each device manufacturer.

従って、実際にはメーカ毎にハンドシェイク信号。Therefore, in reality, the handshake signal varies from manufacturer to manufacturer.

の出力タイミングや長さ等が種々相違し、例えば1つの
パーソナルコンピュータにプリンタを接続する場合、そ
のプリンタのメーカが異なるとこれを正常に動作させる
ことができない、従って、一般に、このハンドシェイク
信号の出力タイミングが一致する場合にのみ、相互に接
続が可能となっている。
The output timing, length, etc. of the handshake signals vary, and for example, when connecting printers to one personal computer, it may not be possible to operate the printer correctly if the printer is made by a different manufacturer.Therefore, in general, the handshake signal Mutual connection is possible only when the output timings match.

(発明が解決しようとする課題) ところが、例えば、システムを拡張し、あるいはシステ
ムの一部を構成するプリンタ等の機器を交換しようとす
る場合、ハンドシェイク信号の出力タイミングの一致し
た機器しか互換性がないとすると、その選択の自由度が
狭まってしまう。
(Problem to be Solved by the Invention) However, for example, when expanding the system or replacing devices such as printers that make up part of the system, only devices with matching handshake signal output timings are compatible. If there is no such option, the degree of freedom of choice will be limited.

そこで、従来、機器側のセントロニクスインタフェース
装置の規格に合わせて、パーソナルコンピュータ側に内
蔵されたセントロニクスインタフェース制御装置を専用
のものに交換するといった方法がとられていた。ところ
が、こういった回路部品の交換や追加等は煩雑であり、
拡張性に乏しい。
Conventionally, therefore, a method has been adopted in which the Centronics interface control device built into the personal computer is replaced with a dedicated one in accordance with the standards of the Centronics interface device on the equipment side. However, replacing or adding such circuit parts is complicated,
Poor scalability.

本発明は以上の点に着目してなされたもので、種々のセ
ントロニクスインタフェース装置に対して対応できるよ
う、そのハンドシェイク信号の動作タイミングが可変設
定できる汎用セントロニクスインタフェース制御装置を
提供することを目的とするものである。
The present invention has been made with attention to the above points, and an object of the present invention is to provide a general-purpose Centronics interface control device that can variably set the operation timing of the handshake signal so as to be compatible with various Centronics interface devices. It is something to do.

(課題を解決するための手段) 本発明の汎用セントロニクスインタフェース制御装置は
、複数の制御信号を組合わせて成るセントロニクスイン
タフェース用のハンドシェイク信号を生成する回路にお
いて、前記各制御信号の相互間の出力タイミングを選択
的に可変設定するタイミング設定部と、前記各制御信号
を、前記設定されたタイミングで所定の順に出力するハ
ンドシェイク信号出力部とを設けたことを特徴とするも
のである。
(Means for Solving the Problems) A general-purpose Centronics interface control device of the present invention includes a circuit that generates a handshake signal for a Centronics interface that is a combination of a plurality of control signals. The present invention is characterized in that it includes a timing setting section that selectively and variably sets the timing, and a handshake signal output section that outputs each of the control signals in a predetermined order at the set timing.

(作用) 以上の装置は、タイミング設定部において、ハンドシェ
イク信号を構成する各制御信号の立ち上がりや立ち下が
りのタイミングを、相手方のセントロニクスインタフェ
ース装置の特性に合わせて予め設定する。そして、ハン
ドシェイク信号出力部のタイマ等を制御し、設定された
タイミングでハンドシェ・イク信号の出力を行なう、若
し、相手方のセントロニクスインタフェース装置が別規
格のものに交換された場合には、上記タイミング設定部
における設定を変更すればよい。
(Operation) In the above-described device, the timing setting section presets the rise and fall timings of each control signal constituting the handshake signal in accordance with the characteristics of the other party's Centronics interface device. Then, control the timer etc. of the handshake signal output section and output the handshake signal at the set timing.If the other party's Centronics interface device is replaced with one of a different standard, the above All you have to do is change the settings in the timing setting section.

(実施例) 以下、本発明を図の実施例を用いて詳細に説明する。(Example) Hereinafter, the present invention will be explained in detail using embodiments shown in the drawings.

第1図は、本発明の汎用セントロニクスインタフェース
制御装置の実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of the general purpose Centronics interface controller of the present invention.

図の装置は、第2図において示したセントロニクスイン
タフェース装置に対し、セントロニクスインタフェース
3を介して接続される。この装置は、タイミング設定部
10と、ハンドシェイク信号出力部20と、入出力ボー
ト30とから構成されている。
The illustrated device is connected via a Centronics interface 3 to the Centronics interface device shown in FIG. This device includes a timing setting section 10, a handshake signal output section 20, and an input/output board 30.

タイミング設定部10は、マイクロプロセッサ及びクロ
ック発生器等から成り、基準クロックKを、ハンドシェ
イク出力部20や入出力ボート30の各回路ブロックに
供給する一方、ハンドシェイク信号出力タイミングを決
定するタイマの動作時間TI、T2.T3.T4.T5
を生成し出力する。これらの動作時間T1〜T5は、例
えば、数ビットのディジタル信号により設定される。そ
して、これらの値は、タイミング設定部10に内蔵され
たプロセッサのメモリや設定データ入力用のキースイッ
チ等から入力されて設定される。
The timing setting unit 10 is composed of a microprocessor, a clock generator, etc., and supplies the reference clock K to each circuit block of the handshake output unit 20 and the input/output board 30, and also controls a timer that determines the handshake signal output timing. Operating time TI, T2. T3. T4. T5
Generate and output. These operating times T1 to T5 are set by, for example, a several-bit digital signal. These values are input and set from the memory of the processor built in the timing setting section 10, a key switch for inputting setting data, or the like.

また、タイミング設定部10は、こうして設定し出力さ
れた各動作時間Tl−75を、ハンドシェイク信号出力
部20を構成するタイマ回路にロードさせるために、ロ
ード信号りを出力する。
Further, the timing setting unit 10 outputs a load signal in order to load each operating time Tl-75 set and output in this way into a timer circuit forming the handshake signal output unit 20.

また、実際に、セントロニクスインタフェース3を介し
てデータを転送する場合には、所定のタイミングで、そ
の転送開始を指示する転送スタート信号Sを出力する。
Furthermore, when data is actually transferred via the Centronics interface 3, a transfer start signal S instructing to start the transfer is output at a predetermined timing.

次に、ハンドシェイク信号出力部20は、5つのタイマ
回路と2つのオアゲートを有している。
Next, the handshake signal output section 20 has five timer circuits and two OR gates.

即ち、タイマ回路は、T1タイマ21.T2タイマ22
.T3タイマ23.T4タイマ24及びT5タイマ25
から成る。各タイマは、4つの入力端子と・1つの出力
端子を備えている0図の各タイマの1番上の入力端子は
ロード端子で、上から2番目の入力端子に入力する動作
時間TINT5が、1番上の端子に入力するロード信号
りによりロードされる。上から3番目の入力端子は、タ
イマスタートの指示を受入れる端子である。また、1番
下の入力端子はタイマリセット用の端子である。また、
各タイマ21〜25の出力端子は、タイムアツプ後に1
クロック分出力信号が立ち上がるよう構成されている。
That is, the timer circuit includes T1 timer 21. T2 timer 22
.. T3 timer 23. T4 timer 24 and T5 timer 25
Consists of. Each timer has four input terminals and one output terminal.The top input terminal of each timer in Figure 0 is the load terminal, and the operating time TINT5 input to the second input terminal from the top is It is loaded by the load signal input to the top terminal. The third input terminal from the top is a terminal that accepts a timer start instruction. Further, the bottom input terminal is a terminal for resetting a timer. Also,
The output terminal of each timer 21 to 25 is set to 1 after time-up.
It is configured so that the output signal rises by the clock.

尚、図のT1タイマ21の上から3番目の入力端子には
、オアゲート26の出力が入力するよう結線されている
。オアゲート26の一方の端子には、タイミング設定部
10が出力する転送スタート信号Sが入力し、他方の端
子にはT4タイマ24の出力■が入力する。従って、T
Iタイマ21は、このオアゲート26の出力によって起
動(タイマスタート)される。
Note that the third input terminal from the top of the T1 timer 21 in the figure is connected so that the output of the OR gate 26 is input thereto. The transfer start signal S output from the timing setting section 10 is inputted to one terminal of the OR gate 26, and the output ■ of the T4 timer 24 is inputted to the other terminal. Therefore, T
The I timer 21 is started (timer started) by the output of the OR gate 26.

また、TIタイマ21の出力■は、T1タイマ21の上
から4番目の端子に入力すると共に、T2タイマ22の
上から3番目の入力端子と、T5タイマ25の上から3
番目の入力端子に入力する。従って、T1タイマ21は
、タイムアツプすると同時にリセットされ、T2タイマ
22及びT5タイマ25は、何れもT1タイマ21のタ
イムアツプと同時に起動される。
In addition, the output ■ of the TI timer 21 is input to the fourth terminal from the top of the T1 timer 21, the third input terminal from the top of the T2 timer 22, and the third input terminal from the top of the T5 timer 25.
input to the second input terminal. Therefore, the T1 timer 21 is reset at the same time as the T1 timer 21 times up, and the T2 timer 22 and the T5 timer 25 are both started at the same time as the T1 timer 21 times up.

T2タイマ22の出力■は、T2タイマ22の上から4
番目の端子に入力し、かつ、T3タイマ23の上から3
番目の端子に入力する。この結果、T2タイマ22はタ
イムアツプの後直ちにリセットされ、T3タイマ23は
T2タイマ22のタイムアツプにより起動される。T3
タイマ23の出力■は、T3タイマ23の上から4番目
の入力端子に入力している。従って、T3タイマ23も
、タイムアツプと同時にリセットされる。
The output ■ of the T2 timer 22 is 4 from the top of the T2 timer 22.
3 from the top of the T3 timer 23.
input to the second terminal. As a result, the T2 timer 22 is reset immediately after the time-up, and the T3 timer 23 is started when the T2 timer 22 times up. T3
The output ■ of the timer 23 is input to the fourth input terminal from the top of the T3 timer 23. Therefore, the T3 timer 23 is also reset at the same time as time-up.

以上のT1タイマ21.T2タイマ22及びT3タイマ
23は、入出力ボート3oを介して出力されるDATA
ENB信号及びDATASTB信号の立ち下がり及び立
ち上がりを制御するために設けられている。このDAT
AENB信号と DATASTB信号とは、ハンドシェ
イク信号を構成し、何れもロウアクティブで使用される
The above T1 timer 21. The T2 timer 22 and the T3 timer 23 output the DATA via the input/output boat 3o.
It is provided to control the falling and rising edges of the ENB signal and the DATAASTB signal. This DAT
The AENB signal and the DATAASTB signal constitute a handshake signal, and both are used in a low active state.

一方、T4タイマ24は、セントロニクスインタフェー
ス3から入出力ボート30に入力するACK信号を受入
れて、所定のタイミングで新たにDATAENB信号を
立ち上がらせるタイミング制御を行なうために使用され
る。即ち、T4タイマ24は、入出力ボート30から入
力するACK信号により起動され、その出力■はT4タ
イマ24の上から4番目の端子に入力して自己をリセッ
トすると共に、オアゲート26に向けて出力され、T1
タイマ21を起動させる。
On the other hand, the T4 timer 24 is used to receive the ACK signal input from the Centronics interface 3 to the input/output port 30 and perform timing control to newly raise the DATAENB signal at a predetermined timing. That is, the T4 timer 24 is activated by the ACK signal input from the input/output board 30, and its output ■ is input to the fourth terminal from the top of the T4 timer 24 to reset itself, and is output to the OR gate 26. and T1
Start timer 21.

T5タイマ25は、DATASTB信号が立ち下がった
後、所定時間内にセントロニクスインタフェース3から
ACK信号が入力しない場合、何らかの障害が発生した
ものとして、エラー信号ERRを出力するために設けら
れたものである。従って、T5タイマ25は、先に説明
したように、T1タイマ21の出力を受入れてそのタイ
ムアツプと共に起動し、入出力ボート30からオアゲー
ト27を介して入力するACK信号によりリセットされ
る。また、ACK信号が入力しない場合、T5タイマ2
5はタイムアツプし、エラー信号ERRを出力すると共
に、オアゲート27を介してT5タイマ25自身をリセ
ットする。
The T5 timer 25 is provided to output an error signal ERR, assuming that some fault has occurred, if the ACK signal is not input from the Centronics interface 3 within a predetermined time after the DATAASTB signal falls. . Therefore, as described above, the T5 timer 25 accepts the output of the T1 timer 21 and starts when the timer reaches its time, and is reset by the ACK signal input from the input/output boat 30 via the OR gate 27. Also, if the ACK signal is not input, T5 timer 2
5 times up, outputs an error signal ERR, and resets the T5 timer 25 itself via the OR gate 27.

入出力ボート30は、3つのラッチ回路31〜33と1
つのアンドゲート34から構成されている。
The input/output boat 30 has three latch circuits 31 to 33 and 1
It is composed of two AND gates 34.

ラッチ回路31は、ハンドシェイク信号出力部20のオ
アゲート26の出力をセット端子に受入れ、T3タイマ
23の出力■をリセット端子に受入れ、口出力をDAT
AENB信号としている。また、ラッチ回路32は、T
1タイマ21の出力■をセット端子に受入れ、T2タイ
マ22の出力■をリセット端子に受入れて、互端子から
DATASTB信号を出力するよう結線されている。
The latch circuit 31 receives the output of the OR gate 26 of the handshake signal output section 20 into the set terminal, receives the output of the T3 timer 23 into the reset terminal, and outputs the output from the DAT.
It is used as the AENB signal. Further, the latch circuit 32 has T
They are wired so that the output (2) of the T2 timer 21 is received at the set terminal, the output (2) of the T2 timer 22 is accepted at the reset terminal, and the DATAASTB signal is output from the mutual terminal.

最後に、ラッチ回路33は、セット端子にACK信号を
受入れ、互端子の出力がアンドゲート34に入力するよ
う結線されている。アンドゲート34は、ACK信号及
びラッチ回路33の出力の論理積をとって、これをハン
ドシェイク信号出力部20のオアゲート27に向は出力
している。
Finally, the latch circuit 33 is wired so that the set terminal receives the ACK signal, and the output of the alternate terminal is input to the AND gate 34. The AND gate 34 performs a logical product of the ACK signal and the output of the latch circuit 33, and outputs this to the OR gate 27 of the handshake signal output section 20.

以上の構成の装置は次のように動作する。The apparatus having the above configuration operates as follows.

第3図は、本発明の装置の動作タイミングチャートであ
る。
FIG. 3 is an operation timing chart of the device of the present invention.

図において、第1図に示した基準クロックには、図のよ
うに一定の周期で出力されている[第3図(a)] 、
この基準クロックには、各タイマ回路21〜25に内蔵
されたカウンタを制御し、ラッチ回路31,32.33
の出力タイミングを制御している。
In the figure, the reference clock shown in Figure 1 is output at a constant cycle as shown [Figure 3 (a)],
This reference clock controls a counter built in each timer circuit 21 to 25, and a latch circuit 31, 32, 33.
controls the output timing.

先ず、装置の動作に先だって、予め第1図のタイミング
設定部10が設定した動作時間Tl。
First, prior to the operation of the apparatus, an operating time Tl is set in advance by the timing setting section 10 of FIG.

T2.T3.T4.T5が、それぞれT Iタイマ21
、T2タイマ22.T3タイマ23.T4タイマ24及
びT5タイマ25に入力し、ロード信号りによってロー
ドされる。
T2. T3. T4. T5 is T I timer 21, respectively.
, T2 timer 22. T3 timer 23. It is input to the T4 timer 24 and T5 timer 25 and loaded by the load signal.

次に、実際にセントロニクスインタフェース3を介して
データの転送動作が開始される。その開始時には、先ず
、第3図(b)に示すように、転送スタート信号Sが出
力される。この信号は、第1図に示したオアゲート26
を介してT1タイマ21に入力する。これにより、ラッ
チ回路31の口出力は1クロツタ遅れで立ち下がる。こ
れが第3図(c)に示したDATAENB信号と成る。
Next, a data transfer operation is actually started via the Centronics interface 3. At the start, first, as shown in FIG. 3(b), a transfer start signal S is output. This signal is transmitted to the OR gate 26 shown in FIG.
The signal is input to the T1 timer 21 via the T1 timer 21. As a result, the output of the latch circuit 31 falls with a one-clock delay. This becomes the DATAENB signal shown in FIG. 3(c).

ここで、先に説明したように、T1タイマ21が起動さ
れ、そのタイムアツプと同時にT1タイマ21の出力■
が1クロック分立ち上がる[第3図(d)]、TIタイ
マ21の出力■が立ち上がると、ちょうど1クロツタ遅
れてラッチ回路32の口出力が立ち下がり、これがDA
TASTB信号と成る[第3図(e)]。その後、デー
タ転送が行なわれるが、TIタイマ21のタイムアツプ
と同時に起動されたT2タイマがカウントアツプすると
、その出力が1クロック分立ち上がる[第3図(f)]
。これによりラッチ回路32がリセットされ、DATA
STB信号が立ち上がる[第3図(e)]。そして、T
2タイマのタイムアツプと同時に起動されたT3タイマ
が、その後13時間経過後タイムアツプし1クロツタ分
立ち上がる[第3図(g)]。T3タイマの出力■が立
ち上がると、ラッチ回路31がリセットされ、DATA
ENB信号が立ち上がる[第3図(C)]。
Here, as explained earlier, the T1 timer 21 is started, and at the same time as its time-up, the output of the T1 timer 21 is
rises for one clock [Fig. 3(d)], and when the output ■ of the TI timer 21 rises, the output of the latch circuit 32 falls exactly one clock later, and this is the output of the latch circuit 32.
This becomes the TASTB signal [Fig. 3(e)]. After that, data transfer is performed, but when the T2 timer, which was activated at the same time as the time-up of the TI timer 21, counts up, its output rises by one clock [Figure 3 (f)]
. As a result, the latch circuit 32 is reset, and the DATA
The STB signal rises [Fig. 3(e)]. And T
The T3 timer, which was started at the same time as the time-up of the second timer, times up after 13 hours and rises by one clock [FIG. 3(g)]. When the T3 timer output ■ rises, the latch circuit 31 is reset and the DATA
The ENB signal rises [Figure 3 (C)].

以上のようにして、入出力ボート30からセントロニク
スインタフェース3に向けて2種のハンドシェイク信号
が出力される。
As described above, two types of handshake signals are output from the input/output boat 30 to the Centronics interface 3.

これに対し、セントロニクスインタフェース3からは、
応答としてACK信号がラッチ回路33に入力する[第
3図(h)] 、そして、ACK信号が立ち上がるとア
ンドゲート34の出力■が立ち上がり[第3図(i)]
、T4タイマ24が起動される。その結果、T4時間後
にT4タイマ24がタイムアツプし、その出力■が1ク
ロック分立ち上がる[第3図(j)]、そして、T4タ
イマ24のタイムアツプにより、T4タイマ24の出力
■は、オアゲート26を介してラッチ回路31のセット
端子に入力し、再びDATAENB信号が立ち下がる[
第3図(C)]。
On the other hand, from Centronics Interface 3,
As a response, the ACK signal is input to the latch circuit 33 [Fig. 3 (h)], and when the ACK signal rises, the output ■ of the AND gate 34 rises [Fig. 3 (i)]
, the T4 timer 24 is started. As a result, the T4 timer 24 times up after T4 hours, and its output ■ rises by one clock [FIG. 3 (j)]. The DATAENB signal is input to the set terminal of the latch circuit 31 through the DATAENB signal.
Figure 3 (C)].

以上の動作を繰り返すことによって、データ転送が実行
される。
Data transfer is executed by repeating the above operations.

一方、T1タイマ21のカウントアツプと同時に起動さ
れたT5タイマ25は、第3図(k)に示すように、1
5時間の計時を行なう。そして、この時間の間にACK
信号[第3図(h)]が入力しない場合には、タイマ2
5がタイムアップし、その出力が破線のように1クロッ
ク分立ち上がる[第3図(k)]、これは、エラー信号
ERRとして外部回路に出力される。尚、エラー信号E
RRが出力される場合には、第3図の破線に示すように
、ACK信号[同図(h)]と、アンドゲート出力[同
図(i)]と、T4タイマ出力[同図(j)]とは、何
れも変化しない。
On the other hand, the T5 timer 25 started at the same time as the T1 timer 21 counts up, as shown in FIG.
A 5-hour clock is carried out. And during this time ACK
If the signal [Fig. 3 (h)] is not input, timer 2
5 times up, its output rises by one clock as shown by the broken line [FIG. 3(k)], and this is output to the external circuit as an error signal ERR. Furthermore, the error signal E
When RR is output, as shown by the broken line in Fig. 3, the ACK signal [Fig. 3 (h)], the AND gate output [Fig. 3 (i)], and the T4 timer output [Fig. )], nothing changes.

尚、送信データは、DATAENB信号が立ち上がって
いる間に、図示しない上位装置がセットする。
Note that the transmission data is set by a host device (not shown) while the DATAENB signal is rising.

本発明は以上の実施例に限定されない。The present invention is not limited to the above embodiments.

ハンドシェイク信号を構成する各制御信号の立ち上がり
と立ち下がりタイミングを制御するための構成は、上記
の構成の他、種々のプログラムタイマやゲート回路等に
よって実現することが可能である。また、タイミング設
定部10において設定されるハンドシェイク信号タイミ
ング設定用の動作時間は、デイツプスイッチ等のメカニ
カルなスイッチや、プログラマブル・リード・オンリ・
メモリ(FROM)等の記憶素子によって選択し切換え
られるようにしてもよい、予め判明している種々の型式
のセントロニクスインタフェース装置用として、各種の
動作時間をメモリ等に蓄積し、必要に応じてこれらを選
択して使用するようにすれば、切換えの容易な汎用性の
高いインタフェース制御装置となる。
The configuration for controlling the rise and fall timings of each control signal constituting the handshake signal can be realized by various program timers, gate circuits, etc. in addition to the above configuration. Further, the operation time for setting the handshake signal timing set in the timing setting section 10 can be set using a mechanical switch such as a dip switch, a programmable read-only switch, or a programmable read-only switch.
Various operating times may be stored in a memory or the like for various types of Centronics interface devices known in advance, which may be selected and switched by a storage element such as a memory (FROM), and may be switched as needed. If one is selected and used, a highly versatile interface control device that can be easily switched can be obtained.

(発明の効果) 以上説明した本発明の汎用セントロニクスインタフェー
ス制御装置によれば、接続されるセントロニクスインタ
フェース装置がそれぞれ異なるタイミングで、ハンドシ
ェイク信号を出力するようなものであった場合にも柔軟
に対応でき、又、スイッチ等の切換えによって容易にそ
の設定を変更できるため、システムの拡張変更に威力を
発揮する。また、個別に専用のセントロニクスインタフ
ェース制御装置を準備しておく必要がなくなり、装置部
品の共通化によってコストダウンを図ることもできる。
(Effects of the Invention) According to the general-purpose Centronics interface control device of the present invention described above, it is possible to flexibly cope with the case where the connected Centronics interface devices output handshake signals at different timings. Moreover, since the settings can be easily changed by changing switches, etc., it is effective in expanding and changing the system. Furthermore, there is no need to prepare separate dedicated Centronics interface control devices, and costs can be reduced by standardizing device parts.

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

第1図は本発明の汎用セントロニクスインタフェース制
御装置の実施例ブロック図、第2図は一般のシステム構
成を示すブロック図、第3図は本発明の装置の動作タイ
ミングチャートである。 3・・・セントロニクスインタフェース、10・・・タ
イミング設定部、 20・・・ハンドシェイク出力部、 21〜25・・・タイマ回路、 26.27・・・オアゲート、30・・・入出力ボート
、31〜33・・・ラッチ回路、34・・・アンドゲー
ト。
FIG. 1 is a block diagram of an embodiment of a general-purpose centronics interface control device of the present invention, FIG. 2 is a block diagram showing a general system configuration, and FIG. 3 is an operation timing chart of the device of the present invention. 3... Centronics interface, 10... Timing setting unit, 20... Handshake output unit, 21-25... Timer circuit, 26.27... OR gate, 30... Input/output board, 31 ~33... Latch circuit, 34... AND gate.

Claims (1)

【特許請求の範囲】 複数の制御信号を組合わせて成るセントロニクスインタ
フェース用のハンドシェイク信号を生成する回路におい
て、 前記各制御信号の相互間の出力タイミングを選択的に可
変設定するタイミング設定部と、 前記各制御信号を、前記設定されたタイミングで所定の
順に出力するハンドシェイク信号出力部とを設けたこと
を特徴とする汎用セントロニクスインタフェース制御装
置。
[Scope of Claim] A circuit for generating a handshake signal for a Centronics interface that is formed by combining a plurality of control signals, comprising: a timing setting section that selectively and variably sets the output timing between the respective control signals; A general-purpose centronics interface control device, comprising: a handshake signal output section that outputs each of the control signals in a predetermined order at the set timing.
JP6352789A 1989-03-17 1989-03-17 General-purpose centronics interface controller Pending JPH02244249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6352789A JPH02244249A (en) 1989-03-17 1989-03-17 General-purpose centronics interface controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6352789A JPH02244249A (en) 1989-03-17 1989-03-17 General-purpose centronics interface controller

Publications (1)

Publication Number Publication Date
JPH02244249A true JPH02244249A (en) 1990-09-28

Family

ID=13231780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6352789A Pending JPH02244249A (en) 1989-03-17 1989-03-17 General-purpose centronics interface controller

Country Status (1)

Country Link
JP (1) JPH02244249A (en)

Similar Documents

Publication Publication Date Title
US11022962B2 (en) High availability industrial automation system having primary and secondary industrial automation controllers and method of communicating information over the same
JPH02244249A (en) General-purpose centronics interface controller
JP2007079731A (en) Data control device
JPH07200010A (en) Programmable controller and exclusive control communication method thereof
JP2503463Y2 (en) Peripheral device connection circuit of sequencer controller
JP3200829B2 (en) Control device
US4556989A (en) Radio system
JPS61112204A (en) Remote process input/output device
JP2743780B2 (en) Distributed processing equipment
JP3298018B2 (en) Programmable controller
JPS63212235A (en) Serial data signal processor
JP2025140941A (en) Slave Device
JP3239371B2 (en) Device connection processing method
JPS60200354A (en) How to set the address of the control device
JPS60258627A (en) Microcomputer device
JPH11202911A (en) Interface unit for programmable controller
JP2001142836A (en) Wireless communication terminal and wireless communication device
JPH0438501A (en) Set value input method using telephone line
JPH02216998A (en) Remote control method for plural slave sets
JPH11212815A (en) Integrated circuit device
JPH0475694B2 (en)
JPH0678018A (en) Setting system for communication condition
JPH0210457A (en) Data transfer device
JPH01180037A (en) Printer device
JPS5917597B2 (en) Information transfer path switching control method