JPS60236339A - First-in priority circuit - Google Patents

First-in priority circuit

Info

Publication number
JPS60236339A
JPS60236339A JP59093669A JP9366984A JPS60236339A JP S60236339 A JPS60236339 A JP S60236339A JP 59093669 A JP59093669 A JP 59093669A JP 9366984 A JP9366984 A JP 9366984A JP S60236339 A JPS60236339 A JP S60236339A
Authority
JP
Japan
Prior art keywords
signal
circuit
input
flip
come
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
JP59093669A
Other languages
Japanese (ja)
Other versions
JPH0323028B2 (en
Inventor
Mitsuharu Teranishi
寺西 光治
Yasuo Watanabe
渡辺 康雄
Akira Takeuchi
章 竹内
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.)
Asics Corp
Original Assignee
Asics 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 Asics Corp filed Critical Asics Corp
Priority to JP59093669A priority Critical patent/JPS60236339A/en
Priority to US06/731,147 priority patent/US4882580A/en
Publication of JPS60236339A publication Critical patent/JPS60236339A/en
Publication of JPH0323028B2 publication Critical patent/JPH0323028B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Abstract

PURPOSE:To fetch automatically the first-in one of both signals by using the output of a first-in discriminating circuit which discriminates the first-in signal to open one of both gates connected to those two signals and closing the other gate. CONSTITUTION:A signal (a) sent from a line A is supplied to an FF31A and a first-in discriminating circuit 36; while a signal (b) given from a line B is supplied to an FF31B via the circuit 36. The circuit 36 transmits the signal (b) when the input of the signal (b) is faster than that of the signal (a) by an amount equal to a cycle of a clock pulse (g) and otherwise inhibits the transmission of the signal (b). The Q output signals of both FF31A and 31B are turned into reception signals (i) through an OR gate 33 and supplied to FF32A and 32B respectively. The FF31B and 31A are reset with Q outputs of FF32A and 32B respectively. Thus the first-in signal is transmitted but the other signal is inhibited. The signal (i) is supplied to a transmission control initial resetting circuit 34, and the circuit 34 outputs a transmission unable signal for a prescribed period of time after the input of the signal (i) is discontinued. Then the circuit 34 resets the FF32A and 32B when a prescribed period of time elapses.

Description

【発明の詳細な説明】 発明の背景お、よび概要 この発明は2つの入力信号のうちいずれか先に到着した
信号を優先する先着優先回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Background and Summary of the Invention The present invention relates to a first-come, first-served priority circuit that prioritizes whichever of two input signals arrives first.

この発明は、たとえば2対の通信ラインに常に同一の信
号が伝送されているような通信システムにおいて、一方
の信号のみを選択的に取込むような場合に好適な先着優
先回路を提供するものである。
The present invention provides a first-come, first-served priority circuit suitable for selectively receiving only one signal in a communication system in which the same signal is always transmitted through two pairs of communication lines, for example. be.

この発明による先着優先回路は、2つの入力端子にそれ
ぞれ接続されたゲート回路、2つの入力端子の入力信号
のうち先に到着した信号を判別する先着判別回路、およ
び先着判別結果に応じて入力信号が先に到着した端子に
応対するゲート回路を開とし他方を閉とするゲート制御
回路を備えていることを特徴とする。
The first-come-first-served priority circuit according to the present invention includes a gate circuit connected to each of two input terminals, a first-come-first-served discrimination circuit for discriminating the signal that arrived first among the input signals of the two input terminals, and an input signal according to the first-come-first-served discrimination result. The present invention is characterized in that it is equipped with a gate control circuit that opens the gate circuit corresponding to the terminal that arrives first and closes the other gate circuit.

このような先着優先回路は、たとえば2つの受信端子を
備えた通信制御装置に適用することができる。2つの受
信端子には常に同一の信号が受信されるが、これらの受
信信号の到着時間は若干異なることが多い。そのような
場合に、この発明による先着優先回路を用いると、先に
到着した信号を自動的に優先して取込むので、何らかの
切換操作が必要な切換回路が不要となる。
Such a first-come, first-served priority circuit can be applied, for example, to a communication control device equipped with two receiving terminals. Although the same signal is always received at the two receiving terminals, the arrival times of these received signals are often slightly different. In such a case, if the first-come-first-served priority circuit according to the present invention is used, the signals that arrive first are automatically taken in with priority, so a switching circuit that requires some kind of switching operation becomes unnecessary.

2つの受信信号が同時に到着したような場合に適合させ
るために、先着判別回路は、同時到着の場合にはあらか
じめ定められた一方を優先させるものであることが好ま
しい。
In order to adapt to the case where two received signals arrive at the same time, it is preferable that the first-arrival discrimination circuit gives priority to a predetermined one in the case of simultaneous arrival.

この発明は、上述のような通信システムのみならず、l
〔とえば割込信号の先着優先などにも適用することがで
きる。
This invention is applicable not only to communication systems as described above, but also to l
[For example, it can also be applied to first-come, first-served priority for interrupt signals.

以下、この発明を2対の送受信ラインにより構成された
通信システムにおける通信制御装置に適用した実施例に
ついて詳述する。
Hereinafter, an embodiment in which the present invention is applied to a communication control device in a communication system configured with two pairs of transmitting and receiving lines will be described in detail.

実施例の説明 この実施例は、通信ラインとして光ファイバが用いられ
た光通信システムに関するものであり、通信方式には全
二重通信方式が採用されている。
Description of Embodiment This embodiment relates to an optical communication system using an optical fiber as a communication line, and a full duplex communication method is adopted as the communication method.

第1図において、複数の装置(10ンは光通信ラインに
よりループ状に接続されている。しかも、各装置(10
)の通信制御装置(11)には、2対の送、受信端子T
%Rが設けられ、これらに2対の送受信ラインA、Bが
接続されている。
In Fig. 1, a plurality of devices (10 lines) are connected in a loop by an optical communication line.
) has two pairs of transmitting and receiving terminals T.
%R is provided, and two pairs of transmitting/receiving lines A and B are connected to these.

送受信ラインA、Bのいずれも送信ラインと受信ライン
とから構成され、通信ループ上において隣りあう他の装
置(10)にそれぞれ接続されている。複数の装置(1
0)のうちのいずれか1つを中心的な@置(以下、便宜
上中実装置と呼ぶ)としてもよい。この場合には、起動
方式として中実装置が主導権をもつポーリング・セレク
ティング方式を採用することができよう。もちろん、す
べての@If(10)がすべて平等の交信権をもつよう
にしてもよいし、各I@(10)の交信権に適当な優先
順位をあらかじめ割当てるようにすることもできよう。
Both of the transmission and reception lines A and B are composed of a transmission line and a reception line, and are respectively connected to other devices (10) adjacent to each other on the communication loop. Multiple devices (1
0) may be used as a central @ location (hereinafter referred to as a solid device for convenience). In this case, a polling/selecting method in which the solid device takes initiative may be adopted as the startup method. Of course, all @If(10) may have equal communication rights, or an appropriate priority may be assigned in advance to the communication rights of each I@(10).

いずれにしても、送受信ラインAと8とには常に同一の
電文(データ)が伝送されている。
In any case, the same message (data) is always transmitted on the transmission/reception lines A and 8.

このように同一電文が2対の送受信ラインA1Bを用い
て送られているので、送受信ラインのどこか1箇所で故
障が発生しても各装置(10)または中実装置は他のす
べての装置(10)と交信が可能である。また通信制御
装置←11)のいずれかが故障してもその装置(10)
を除く他のすべての装置は相互にまたは中実装置と正常
に交信を行なうことが可能である。さらに、装置(10
)相互間でまたは中実装置と他の装置との間で交信が行
”なわれているときにおいても、任意の装置(10)ま
たは送受信ラインの修理が可能であり、任意の装置(1
0)のループからの除去または°新たな装置のループへ
の加入を行なうことができる。
In this way, the same message is sent using two pairs of transmission/reception lines A1B, so even if a failure occurs at any one point on the transmission/reception line, each device (10) or solid device will not be able to communicate with all other devices. It is possible to communicate with (10). Also, if any of the communication control devices (←11) fails, that device (10)
All other devices except the . Furthermore, the device (10
) Any device (10) or transmitting/receiving line can be repaired even when communication is taking place between each other or between a solid device and another device, and any device (10)
0) can be removed from the loop or new devices can be added to the loop.

第2図は、通信制御装M (11)の構成の概要を示し
て(°Aる。2対の送受信ラインA、8には常に同一の
電文が伝送されているが、ラインAから送られてきた電
文とラインBから送られてきた電文とが通信制御装置に
到着する時間には一般にわずかながらずれが生じるので
、両電文を単純に重畳すると電文のデータが変化するお
それがある。この問題に対処するために通信制御装置!
(11)には先着優先回路(23)が設けられている。
Figure 2 shows an overview of the configuration of the communication control device M (11). Generally, there is a slight difference in the time when the received message and the message sent from line B arrive at the communication control device, so if the two messages are simply superimposed, the data in the message may change.This problem Communication control equipment to deal with!
(11) is provided with a first-come, first-served priority circuit (23).

先着優先回路(23)の構成については後に詳述する。The configuration of the first-come, first-served priority circuit (23) will be detailed later.

装置(10)のCPU等からの送信信号(電文)は電気
/光(’E’10)変換回路(21A) (21B)に
送られ、これらの回路(21A) (21B)で光信号
に変換されたのち、それぞれラインA、Bの送信ライン
に同時に送出される。
Transmission signals (telegrams) from the CPU, etc. of the device (10) are sent to electrical/optical ('E'10) conversion circuits (21A) (21B), and converted into optical signals by these circuits (21A) (21B). After that, they are simultaneously sent out to the transmission lines of lines A and B, respectively.

ラインAの光/電気(0/E>m検回路(22A)に入
力した光信号は電気信号に変換されて先着優先回路(2
3)に送られるとともに、ラインBのE10変挽回路(
21B)に送られ光信号としてラインBの送信ラインに
送□出される。また、ラインBのO/E変換回路(22
B)に受信された光信号は電気信号に変換されて先着優
先回路(23)に送られるとともに、E10変挽回路(
21A>で光信号に変換されラインへの送信ラインに送
出される。このようにして、ラインAから受信された信
号はただちにラインBの送信ラインに送出され、ライン
Bから受信された信号はただちにラインAの送信ライン
に送出されることにより、二重のループ通信が達成され
る。受信された光信号は一旦電気信号に変換されミさら
に光信号に変換されて送信ラインに送出されるので、0
/E、E10変挽回路が一種の中継装置の役割を果たし
、ループ通信ラインが全体としてかなり長くても光ファ
イバによる光信号の減衰という問題を考慮する必要はな
い。
The optical signal input to the optical/electrical (0/E>m detection circuit (22A) on line A is converted into an electrical signal and
3) and is also sent to Line B's E10 conversion circuit (
21B) and is sent out as an optical signal to the transmission line of line B. Also, line B O/E conversion circuit (22
The optical signal received by B) is converted into an electrical signal and sent to the first-come-first-served priority circuit (23), and is also sent to the E10 conversion circuit (23).
21A>, it is converted into an optical signal and sent out to the transmission line. In this way, a signal received from line A is immediately sent to the transmission line of line B, and a signal received from line B is immediately sent to the transmission line of line A, thereby creating a double loop communication. achieved. The received optical signal is first converted into an electrical signal, then converted into an optical signal and sent out to the transmission line, so the
The /E, E10 transformer circuit plays the role of a kind of repeater, and even if the loop communication line as a whole is quite long, there is no need to consider the problem of optical signal attenuation due to the optical fiber.

また、先着優先回路(23)がたとえ故障したとしても
、07E変換回路が受信した信号はE10変゛換回路に
送られて送信ラインに送出されるので通信ループが遮断
されることはない。
Further, even if the first-come-first-served priority circuit (23) fails, the signal received by the 07E conversion circuit is sent to the E10 conversion circuit and sent out to the transmission line, so the communication loop will not be interrupted.

0/E変換回路(22A) (22B)で信号が受信さ
れ先着優先回路(23)に入力すると、この回路(23
)は両回路C22A) (22,8)から入力する信号
のうちどちらが時間的に早いかを判定し、早い方の信号
を受信信号(+ )として出力する。遅い方の信号はこ
の回路(23)を通過することが禁止される。また先着
優先回路(23)は、信号を受信している間、送信不可
信号(j )を出力する。この送信不可信号(j )は
装置(10)のCPLIに送られ、これにもとづいてC
PUは送信不可信号(j )が入力している間、送信信
号の送出を止める。送信信号は上述のようにE10変換
回路(21A> (21B>に送られるので、受信信号
があるときには、O/E変換回路(22A) (22B
)から回路(21A) (21B>に送られる受信信号
と重畳されてしまうからである。後に分るように、0/
E変換回路(22A)(22B)に同時に信号が入力し
た場合にはライン(A)の信号が優先される。
When the signal is received by the 0/E conversion circuit (22A) (22B) and input to the first-come-first-served priority circuit (23), this circuit (23
) determines which of the signals input from both circuits C22A) (22, 8) is earlier in time, and outputs the earlier signal as the received signal (+). The slower signal is prohibited from passing through this circuit (23). Further, the first-come-first-served priority circuit (23) outputs a transmission impossible signal (j) while receiving the signal. This transmission impossible signal (j) is sent to the CPLI of the device (10), and based on this, the C
The PU stops sending out transmission signals while the transmission prohibition signal (j) is input. The transmitted signal is sent to the E10 conversion circuit (21A>(21B>) as described above, so when there is a received signal, it is sent to the O/E conversion circuit (22A) (22B).
) to the circuit (21A) (21B>).As we will see later, the 0/
When signals are input to the E conversion circuits (22A) (22B) at the same time, priority is given to the signal on line (A).

第3図は先着優先回路(23)の詳細を、第4図はその
動作をそれぞれ示している。第3図において、ラインへ
の0/E変換回路(22A)の出力信号(a )はDフ
リップフロップ(ゲート回路)(31A)のデータ入力
端子(D)に入力するとともに、先着判別回路(36)
に送られる。
FIG. 3 shows details of the first-come, first-served priority circuit (23), and FIG. 4 shows its operation. In FIG. 3, the output signal (a) of the 0/E conversion circuit (22A) to the line is input to the data input terminal (D) of the D flip-flop (gate circuit) (31A), and the first-come-first-served discrimination circuit (36 )
sent to.

ラインBのO/E変換回路(22B)の出力信号(b)
は先着判別回路(3G)を経て信号(bl)としてDフ
リップ70ツブ(ゲート回路)(31B)に入力する。
Output signal (b) of O/E conversion circuit (22B) on line B
is input to the D flip 70 tube (gate circuit) (31B) as a signal (bl) via the first-arrival discrimination circuit (3G).

これらのDフリップ70ツブ(31A> (31B)の
出力信号(非反転出力)(c ) (d )はOR回路
(33)を経て受信信号(+)となる。後述するように
、出力信号(C)と(d )は同時に出力されることは
ない。先着判別回路(36)は、信号(b)の入力が信
号<a >の入力よりもクロック・パルス(0)の1周
期以上早ければ信号(b)を通過させ、それ以外の場合
には信号(b)の通過を禁止するものである。
The output signals (non-inverted outputs) (c) (d) of these D-flip 70 tubes (31A>(31B)) pass through the OR circuit (33) and become the received signal (+).As will be described later, the output signal ( C) and (d) are never output at the same time.The first-come-first-served discrimination circuit (36) determines if the input of the signal (b) is earlier than the input of the signal <a> by one period or more of the clock pulse (0). The signal (b) is allowed to pass through, and the signal (b) is prohibited from passing in other cases.

Dフリップ70ツブ(31A> (31B>はJKフリ
ップ7Oツブ(ゲート制御回路)(32B)(32A)
によって制御される。Dフリップ70ツブ(31A> 
(31B)(p出力信号(c ) (d )はJKフリ
ップフロップ(32A) (32B)の入力端子(J)
にもそれぞれ入力する。JKフリップフOツブ(32A
)の反転出力(Q)はDフリツプフロツプ(31B>の
強制リセット端子(R)に、JKフリップ70ツブ(3
2B)の反転出力(Q)はDフリップフロップ(31A
)の強制リセット端子(R)にそれぞれ送られている。
D flip 70 tube (31A>(31B> is JK flip 70 tube (gate control circuit) (32B) (32A)
controlled by D flip 70 tube (31A>
(31B) (p output signal (c) (d) is the input terminal (J) of the JK flip-flop (32A) (32B)
Also enter each. JK flip flop O tube (32A
)'s inverted output (Q) is connected to the forced reset terminal (R) of the D flip-flop (31B>
The inverted output (Q) of 2B) is a D flip-flop (31A
) are sent to the forced reset terminal (R) of each.

これらのDフリップ70ツブ(31A> (31B)は
、常時は、クロック入力端子(T)に入力するクロック
・パルス(0)に同期して入力信号(a)(bl)をそ
れぞれ通過させうる状態にある。しかしながら、入力信
号(lによってJKフリップフOツブ(32A>がセッ
トされると、その反転出力(Q)がしレベルになるので
、Dフリップフロップ(31B)は強制的にリセットさ
れ、入力信号(bl)の通過を禁止する。逆に入力信号
(bl)によってJKフリップ7Uツブ(32B)がセ
ットされると、その反転出力(Q)がLレベルになって
Dフリップフロップ(32A )は強制的にリセットさ
れ、入力信号<a >の通過が禁止される。
These D flip 70 knobs (31A> (31B) are normally in a state where they can pass input signals (a) and (bl), respectively, in synchronization with the clock pulse (0) input to the clock input terminal (T). However, when the JK flip-flop (32A) is set by the input signal (l), its inverted output (Q) goes to the positive level, so the D flip-flop (31B) is forcibly reset and the input Passage of the signal (bl) is prohibited.On the other hand, when the JK flip 7U tube (32B) is set by the input signal (bl), its inverted output (Q) becomes L level and the D flip-flop (32A) becomes It is forcibly reset and the passage of the input signal <a> is prohibited.

送信制御および初期リセット回路(34)は2つの機能
をもっている。この回路(34)には受信信号(+ )
が入力しており、回路(34)は受信信号(+)の入力
が停止してから一定時間<1)を計時する。そして、受
信信号(i)が再び入力することなく一定時間(1)が
経過したときに、回路(34)はしレベルの初期リセッ
ト・パルス(h)を出力する。このパルス(h)によっ
てJKフリップフロップ(32A) (32B)は強制
リセットされる。また、受信信号(+)が入力した時点
から上記の一定時fit(t)が経過するまでの開、回
路(34)からはLレベルの送信不可信号(j)が出力
される。システム・クロック発生回路(35)は一連の
クロック・パルスl)を出力するものであり、このり0
ツク・パルス(C+)は、Dフリップ7Oツブ(31A
)(31B)およびJKフリップフ0ツブ(32A)(
32B)のクロック入力端子(T)に入力している。
The transmission control and initial reset circuit (34) has two functions. This circuit (34) has a received signal (+)
is being input, and the circuit (34) measures a certain period of time <1) after the reception signal (+) stops being input. Then, when a certain period of time (1) has elapsed without the received signal (i) being input again, the circuit (34) outputs an initial reset pulse (h) at a high level. This pulse (h) forces the JK flip-flops (32A) (32B) to be reset. Further, from the time when the received signal (+) is input until the above-mentioned fixed time fit(t) has elapsed, the L level transmission disable signal (j) is output from the open circuit (34). The system clock generation circuit (35) outputs a series of clock pulses l), which
Tsuku pulse (C+) is D flip 70 Tsubu (31A
) (31B) and JK flip flop 0 tube (32A) (
32B) is input to the clock input terminal (T).

第4図において、クロック脅パルス(0)の周期はかな
り拡大されて示されている。また信号(a)(b)(b
l)(c)(d)および(i)はこれらの信号が表わす
データに応じて実際には反転を繰返しているが、第4図
においては一律にHし・、ルとして表現されている。第
4図、(工)は、ラインへの信号(a )の方がライン
Bの信号(b)よりも早く到着した場合を示している。
In FIG. 4, the period of the clock threat pulse (0) is shown significantly enlarged. Also, signals (a) (b) (b
1), (c), (d), and (i) are actually repeatedly inverted depending on the data represented by these signals, but in FIG. 4, they are uniformly expressed as H and L. FIG. 4 (D) shows a case where the signal (a) to the line arrives earlier than the signal (b) to the line B.

同(If)は信号(b)の方が信号(a )よりも早く
到着した場合を、同(III)は両信号(a ) (b
 )が同時に到着した場合をそれぞれ示している。
The same (If) is the case where the signal (b) arrives earlier than the signal (a), and the same (III) is the case where both the signals (a) (b
) arrive at the same time.

先着判別回路(36)のAND回路(37)の一方の入
力端子にはJKフリップ70ツブ(32B)の反転出力
端子(Q)の出力信号(e)が、他方の入力端子には信
号(a )が入力するようになっている。AND回路(
37)の出力はNANDAND回路)の一方の入力端子
に導かれ、このNANDAND回路の入力端子には、N
OT回路(38)で反転されたラインBの信号(b)が
入力するようになっている。初期状態ではJKフリップ
フ0ツブ(32B>は初期リセットされ゛【いるから信
号(e)はHレベルである。したがって、信号(a)(
Hレベル)が入力するとAND回路(37)の出力はH
レベルになる。このHレベルの出力はNANDAND回
路)の一方の入力端子に送られるから、NANDAND
回路)はそのゲートを閉じた状態となり、信号(b)の
通過が禁止される。したがって、信号(a)が信号(b
)と同時かまたは信号(b)よりも早く到着した場合に
は、信号(b)はこの先着判別回路(36)を通過でき
ない(第4図(I)(■)、とくに(1)参照)。
One input terminal of the AND circuit (37) of the first-come-first-served discrimination circuit (36) receives the output signal (e) of the inverted output terminal (Q) of the JK flip 70 tube (32B), and the other input terminal receives the signal (a). ) is now entered. AND circuit (
37) is led to one input terminal of the NANDAND circuit), and the input terminal of this NANDAND circuit has an N
The line B signal (b) inverted by the OT circuit (38) is input. In the initial state, the JK flip-flop (32B) is initially reset, so the signal (e) is at H level. Therefore, the signal (a) (
When a high level) is input, the output of the AND circuit (37) is high.
become the level. This H level output is sent to one input terminal of the NANDAND circuit.
circuit) has its gate closed and the passage of signal (b) is prohibited. Therefore, signal (a) becomes signal (b
) or earlier than signal (b), signal (b) cannot pass through this first-arrival discrimination circuit (36) (see Figure 4 (I) (■), especially (1)) .

信号(a )がDフリップフロップ(31A)に入力す
ると、りOツク・パルス(Q)の立上りの時点からこの
信号(a )はDフリップ70ツブ(31A)を通過し
て(信号(C))OR回路(33)を経て受信信号(+
)になるとともに、JK、フリップフロップ(32A 
)の入力端子(J)に入力す°る。クロック・パルス(
9)の立下りによってJKフリツプフ0ツブ(32A>
がセットされるのでその反転出力(Q)はLレベルにな
る。このLレベルの信号はJKフリップ70ツブ(32
A>の入力端子(K)にフィードバックされるので、J
Kフリップフロップ(32A)はセット状態に保持され
る。
When the signal (a) is input to the D flip-flop (31A), from the rising edge of the low clock pulse (Q), this signal (a) passes through the D flip-flop 70 (31A) (signal (C) ) The received signal (+
), JK, flip-flop (32A
) input terminal (J). Clock pulse (
9), the JK flip-flop is set to 0 (32A>
is set, so its inverted output (Q) becomes L level. This L level signal is JK flip 70 tube (32
Since it is fed back to the input terminal (K) of A>, J
K flip-flop (32A) is kept set.

JKフリップフOツブ(32A>の反転出力端子(Q)
のLレベルの信号(f)は、Dフリップ70ツブ(31
B)の強制リセット端子(R)に入力するので、Dフリ
ップ70ツブ(31B)はこのLレベルの信号(f)に
よって強制的にリセットされる。したがってDフリップ
フロップ(31B>の非反転出力端子(Q)の出力(d
)はしレベルに保持され、JKフリップフロップ(32
B)もリセットされた状態に保持され、信号<8)が入
力して訃る間はNAN[)回路(39)もそのゲートを
閉じたままである。初期リセット回路(34)によって
JKフリツプフ0ツブ(32A>が初期リセットされる
までこの信号<1 >はLレベルに保持されるので、信
号(a)が停止してたとえNANDAND回路)のゲー
トが開いて信号(b)がこの回路(39)を通過しても
(信号(bl))、Dフリップ70ツブ(31B)がセ
ットされることはない。信号(f)は、ラインBの信号
(bl)がDフリップフロップ(31B)を通過するの
を禁止するラインA優先信号である(第4図(I) (
III)参照)。
JK flip-flop O tube (32A> inverted output terminal (Q)
The L level signal (f) of the D flip 70 tube (31
Since the signal is input to the forced reset terminal (R) of signal B), the D flip 70 tube (31B) is forcibly reset by this L level signal (f). Therefore, the output (d) of the non-inverting output terminal (Q) of the D flip-flop (31B>
) is held at the edge level, and the JK flip-flop (32
B) is also held in a reset state, and the NAN[) circuit (39) also keeps its gate closed while the signal <8) is input. This signal <1> is held at L level until the JK flipflop 0 tube (32A>) is initialized by the initial reset circuit (34), so even if the signal (a) is stopped and the gate of the NANDAND circuit is opened. Even if the signal (b) passes through this circuit (39) (signal (bl)), the D flip 70 knob (31B) will not be set. The signal (f) is a line A priority signal that prohibits the line B signal (bl) from passing through the D flip-flop (31B) (Fig. 4 (I)).
(see III)).

信号(b)の方が信号(a)よりも先に先着判別回路(
36)に到着した場合には、AND回路(37)の一方
の入力信号(e)がHレベルであっても他方の入力信号
(a )がLレベルであるから、入ND回路(37)の
出力はLレベルであり、信号(b)はN、AND回路(
39)を通過する。信号(b)はNOT回路(38)で
反転されさらにNAND回路(39)で反転されるので
、NAND回路(39)の出力信号(bl)・と信号(
b)とは同形である。Dフリップ70ツブ(31B)の
データ入力端子(D)に入力する信号(bl)は、クロ
ック・パルス(0)の立上りの時点からこのDフリップ
フロップ(31B)を通過し、信号(d)となり、さら
にOR回路(33)を経て受信信号(+>となる。信号
(d )はJKフリップ7Oツブ(32B)の入力端子
(J)にも入力するので、りOツク・パルス((1)の
立下りによってJKフリップ70ツブ(32B)はセッ
トされる。このJKフリップフロップ(32B)の反転
出力端子(Q)の出力(e)はLレベルになり、Dフ1
リップフロップ(31A)の強制リセット端子(R)に
入力する。
Signal (b) is processed by the first-come-first-served discrimination circuit (
36), even if one input signal (e) of the AND circuit (37) is at H level, the other input signal (a) is at L level. The output is L level, and the signal (b) is N, AND circuit (
39). Since the signal (b) is inverted by the NOT circuit (38) and further inverted by the NAND circuit (39), the output signal (bl) of the NAND circuit (39) and the signal (
b) is isomorphic. The signal (bl) input to the data input terminal (D) of the D-flip 70 tube (31B) passes through this D-flip-flop (31B) from the rising edge of the clock pulse (0) and becomes signal (d). , further passes through the OR circuit (33) and becomes the received signal (+>.The signal (d) is also input to the input terminal (J) of the JK flip 7O tube (32B), so the riOtsuk pulse ((1) The JK flip-flop 70 (32B) is set by the falling edge of the JK flip-flop (32B).The output (e) of the inverting output terminal (Q) of this JK flip-flop (32B) becomes L level, and the D flip-flop
Input to forced reset terminal (R) of flip-flop (31A).

したがって、この後、信号(a )が入力してもDフリ
ップフロップ(31A)はリセット状態に保持され、入
力信号(a )はこのDフリップ70ツブ<31A>を
通過できない。信号(e)はラインB優先信号である(
第4図(II)参照)。
Therefore, after this, even if the signal (a 2 ) is input, the D flip-flop (31A) is held in the reset state, and the input signal (a 2 ) cannot pass through this D flip 70 tube <31A>. Signal (e) is the line B priority signal (
(See Figure 4 (II)).

JKフリップフロップ(32B>がセットされて信号(
e)がLレベルになると、信号(a )の有無にかかわ
らずAND回路(37)の出力はLレベルに保持され続
けるから、NAND回路(39)のゲートは開いたまま
であり、入力信号(b)はNAND回路(39)を通過
することができる。
The JK flip-flop (32B> is set and the signal (
When e) becomes L level, the output of the AND circuit (37) continues to be held at L level regardless of the presence or absence of the signal (a), so the gate of the NAND circuit (39) remains open and the input signal (b ) can pass through the NAND circuit (39).

信号(b)が信号(a)よりもわずかに早く到着した場
合であっても、この時間差の間にクロック・パルス(0
)が立上ってかつ立下がらなければ、ラインB優先信号
(Lレベル)(e)が出力される前にNAND回路(3
9)のゲートが信号(a )により閉じてしまう1ので
、ラインへの信号(a )が優先されることになる。
Even if signal (b) arrives slightly earlier than signal (a), the clock pulse (0
) rises and does not fall, the NAND circuit (3
Since the gate of 9) is closed by the signal (a), the signal (a) to the line will have priority.

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

第1図は複数の装置間の通信システムを示すブロック図
、第2図は通信制御装置を示すブロック図、第3図は先
着優先回路を示すブロック図、第4図は先着優先回路の
動作を示すタイム・チャートである。 (23)・・・先着優先回路、(31A) (31B)
・・・Dフリップフロップ(ゲート回路)、(32A 
’)(32B)・・・JKフリツプフOツブ(ゲート制
御回路)、(34)・・・送信制御および初期リセット
回路、(36)・・・先着判別回路。 以 上 第2図
Fig. 1 is a block diagram showing a communication system between multiple devices, Fig. 2 is a block diagram showing a communication control device, Fig. 3 is a block diagram showing a first-come-first-served priority circuit, and Fig. 4 shows the operation of the first-come-first-served priority circuit. FIG. (23)...First-come-first-served priority circuit, (31A) (31B)
...D flip-flop (gate circuit), (32A
') (32B)...JK flip-flop Otub (gate control circuit), (34)...Transmission control and initial reset circuit, (36)...First-come-first-served discrimination circuit. Figure 2 above

Claims (3)

【特許請求の範囲】[Claims] (1) 2つの入力端子にそれぞれ接続されたゲート回
路、 2つの入力端子の入力信りのうち先に到着した信号を判
別する先着判別回路、および先着判別結果に応じて入力
信号が先に到着した端子に応対するゲート回路を開とし
他方を閉とするゲート制御回路、 を備えた先着優先回路。
(1) A gate circuit connected to each of the two input terminals, a first-come-first-served discrimination circuit that discriminates which signal arrives first among the input signals of the two input terminals, and an input signal that arrives first according to the first-come-first-served discrimination result. A first-come, first-served priority circuit comprising: a gate control circuit that opens a gate circuit corresponding to a terminal that has been received and closes the other gate circuit;
(2) 先着判別回路が、2つの入力端子に同時に信号
が入力した場合には、あらかじめ定められた一方を優先
させるものである、特許請求の範囲第(1)項に記載の
先着優先回路。
(2) The first-come-first-served priority circuit according to claim (1), wherein when signals are simultaneously input to two input terminals, the first-come-first-served discrimination circuit gives priority to a predetermined one.
(3) いずれか一方の入力信号を受信中には、送信不
可信号を出力する送信制御回路が備えられている、特許
請求の範囲第(1)項に記載の先着優先回路。
(3) The first-come-first-served priority circuit according to claim (1), further comprising a transmission control circuit that outputs a transmission prohibition signal while receiving either one of the input signals.
JP59093669A 1984-05-09 1984-05-09 First-in priority circuit Granted JPS60236339A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP59093669A JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit
US06/731,147 US4882580A (en) 1984-05-09 1985-05-06 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59093669A JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit

Publications (2)

Publication Number Publication Date
JPS60236339A true JPS60236339A (en) 1985-11-25
JPH0323028B2 JPH0323028B2 (en) 1991-03-28

Family

ID=14088806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59093669A Granted JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit

Country Status (1)

Country Link
JP (1) JPS60236339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61117946A (en) * 1984-11-13 1986-06-05 Fuji Electric Co Ltd Data transmission equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5440602A (en) * 1977-09-06 1979-03-30 Nippon Gakki Seizo Kk Production of stylus
JPS57104339A (en) * 1980-12-19 1982-06-29 Ricoh Co Ltd Optical communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5440602A (en) * 1977-09-06 1979-03-30 Nippon Gakki Seizo Kk Production of stylus
JPS57104339A (en) * 1980-12-19 1982-06-29 Ricoh Co Ltd Optical communication network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61117946A (en) * 1984-11-13 1986-06-05 Fuji Electric Co Ltd Data transmission equipment

Also Published As

Publication number Publication date
JPH0323028B2 (en) 1991-03-28

Similar Documents

Publication Publication Date Title
CA1191918A (en) Multipoint data communication system with local arbitration
EP0196911B1 (en) Local area networks
KR860002213B1 (en) Loop transmission system
JPS5936772B2 (en) data processing system
EP0152013A2 (en) Synchronous/asynchronous communication system
US4564838A (en) Data communication network and method of communication
CA1145003A (en) Computer channel access circuit for multiple input-output devices
US4380761A (en) Digital phase decoder with collision detection
US4282512A (en) Data communication system
JPS592418B2 (en) Communication line remote control device
JPS60236340A (en) Communication system
EP0152088A2 (en) Communication system by-pass architecture
JPS60236339A (en) First-in priority circuit
JPS61208331A (en) Serial data communication system
US5584028A (en) Method and device for processing multiple, asynchronous interrupt signals
EP0657046B1 (en) Fault tolerant three port communications module
JPS5859645A (en) Transmitter for data transmission
EP0087664A1 (en) Phase decoder for data communication systems
SU1068926A1 (en) Device for mating subscribers with computer
JPH03270431A (en) Interprocessor communication system
SU1481791A1 (en) Data transmission and processing simulator
CA1286807C (en) Synchronous/asynchronous communication system
JPH04364626A (en) Private communication equipment
JPS5856548A (en) Selecting method of master station for ring communication line
JPS63103531A (en) Relay control system for digital signal