JPH02226829A - Duplex communication system - Google Patents
Duplex communication systemInfo
- Publication number
- JPH02226829A JPH02226829A JP4704489A JP4704489A JPH02226829A JP H02226829 A JPH02226829 A JP H02226829A JP 4704489 A JP4704489 A JP 4704489A JP 4704489 A JP4704489 A JP 4704489A JP H02226829 A JPH02226829 A JP H02226829A
- Authority
- JP
- Japan
- Prior art keywords
- line
- signal
- transmission
- state
- circuit
- 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
- 230000006854 communication Effects 0.000 title claims abstract description 26
- 238000004891 communication Methods 0.000 title claims abstract description 26
- 230000005540 biological transmission Effects 0.000 claims abstract description 55
- 238000012544 monitoring process Methods 0.000 claims abstract description 28
- 238000000034 method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000007175 bidirectional communication Effects 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Bidirectional Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、複数の機器間で双方向の通信を行う双方向通
信方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a two-way communication system that performs two-way communication between a plurality of devices.
(従来の技術)
従来の双方向通信方式においては、第7図に示すように
、第1の機器51と第2の機器53との間で双方向の通
信を行う場合、第1のfii5”1がマスタとして作用
し、第2の機器53がスレーブとして作用し、第1の8
1151からのポーリングによってデータを送信するも
のである。更に具体的には、第7図に示すように、第1
の機器51と第2の機器53との間は、マスタクロック
を送信するクロックライン55、このクロックライン5
5のりOツクに同期してデータを送信するデータライン
57、ラッヂライン58、およびI’11の1N51の
マスクから第2の機器53のスレーブに送信許可信号を
送信する送信許可ラインであるコントロールライン59
で接続されている。そして、第1の機器51のマスクか
ら第2の機il!I53のスレーブにデータを送信する
には、上述したようにポーリング方式で行われるが、第
2の機器53のスレーブから第1の機器51のマスクに
データを送信Jる場合には、第1の機器51が前記送信
許可ライン59を低レベルにすることにより行われる。(Prior Art) In the conventional bidirectional communication system, as shown in FIG. 7, when bidirectional communication is performed between the first device 51 and the second device 53, the first 1 acts as a master, the second device 53 acts as a slave, and the first 8
Data is transmitted by polling from 1151. More specifically, as shown in FIG.
A clock line 55 for transmitting a master clock is connected between the device 51 and the second device 53.
A data line 57, a latch line 58, which transmits data in synchronization with the clock of 5, and a control line 59, which is a transmission permission line that transmits a transmission permission signal from the 1N51 mask of I'11 to the slave of the second device 53.
connected with. Then, from the mask of the first device 51, the second device il! To send data to the slave of the I53, the polling method is used as described above, but when transmitting data from the slave of the second device 53 to the mask of the first device 51, the first This is done by the device 51 setting the transmission permission line 59 to a low level.
この場合、第1の機器51はコントロールライン59を
低レベルにして、1パケツトを第2の機器53から受信
すると、このコントロールライン59を一旦高レベルに
するという動作を一定間隔で繰り返しながら行われる。In this case, the first device 51 sets the control line 59 to a low level, and upon receiving one packet from the second device 53, sets the control line 59 to a high level, repeating this operation at regular intervals. .
(発明が解決しようとする課題)
上述した従来の双方向通信方式では、スレーブとなる機
器からは通信要因が発生してもこれをリアルタイムでマ
スクに送信できないとともに、マスクはポーリングによ
ってデータのない場合も一定間隔でスレーブと交信しな
ければならないという所謂ポーリングによるオーバーヘ
ッドがあり、非効率的であり、また通信クロックもマス
ク側からの供給によるスレーブ側の負荷があるという問
題がある。(Problems to be Solved by the Invention) In the conventional two-way communication method described above, even if a communication factor occurs, the slave device cannot transmit it to the mask in real time, and the mask uses polling to detect when there is no data. There is also an overhead due to so-called polling, which requires communication with the slave at regular intervals, which is inefficient, and there is also a problem that there is a load on the slave side due to the communication clock supplied from the mask side.
本発明は、上記に鑑みてなされたもので、その目的とす
るところは、リアルタイムな要求を満たし、かつ効率的
に双方向通信を行う双方向通信方式を提供することにあ
る。The present invention has been made in view of the above, and its purpose is to provide a two-way communication system that satisfies real-time requirements and efficiently performs two-way communication.
[発明の構成]
(課題を解決するための手段)
上記目的を達成するため、本発明の双方向通信方式は、
複数の機器間で双方向の通信を行う双方向通信方式であ
って、各機器間においてデータを双方向に伝送すべく各
機器間を接続するデータラインと、送信しようとする相
手機器の状態を監視すべく各機器間を接続する監視ライ
ンと、各機器に設けられ、各機器が受信待機状態にある
とぎ、該状態を表示すべく前記監視ライン上に第1の信
号レベルを供給する待機状態表示手段と、各機器に設け
られ、各+a器が送信しようとするとき、該送信状態を
表示すべく前記監視ラインに第2の信号レベルを供給す
る送信状態表示手段と、該送信状態表示手段を介して送
信しようとするとき、前記監視ライン上の信号状態を監
視するライン状態監視手段と、該ライン状態監視手段に
よって監視した監視ライン上の信号状態が第1の信号レ
ベルにあるとき、送信可能と判断μで送信を行い、第2
の信号レベルにあるとき、送信不可として受信待機状態
に戻る送信制御手段とを有することを要旨とする。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the bidirectional communication system of the present invention has the following features:
It is a two-way communication method that performs two-way communication between multiple devices, and it uses a data line that connects each device to transmit data bidirectionally between each device, and the status of the other device to which data is transmitted. A monitoring line connecting each device to be monitored; and a standby state provided in each device to supply a first signal level on the monitoring line to indicate the state when each device is in a reception standby state. a display means, a transmission state display means provided in each device and which supplies a second signal level to the monitoring line to display the transmission state when each +A device attempts to transmit; and the transmission state display means a line state monitoring means for monitoring the signal state on the monitoring line; and when the signal state on the monitoring line monitored by the line state monitoring means is at a first signal level, transmitting via the line state monitoring means; Judging that it is possible, send it with μ, and send the second
and a transmission control means which returns to a reception standby state as being unable to transmit when the signal level is at .
〈作用)
本発明の双方向通信方式では、各機器間を監視ラインで
接続し、各機器が受信待機状態にあるときには、監視ラ
イン上に第1の信号レベルを供給し、各機Iが送信しよ
うとするときには、監視ライン上に第2の信号レベルを
供給するとともに、監視ライン上の信号状態を監視し、
該信号状態が第1の信号レベルにあるときには、送信可
能と判断して送信を行い、第2の信号レベルにあるとき
には、送信不可として受信待機状態に戻るようになって
いる。<Function> In the two-way communication system of the present invention, each device is connected by a monitoring line, and when each device is in a reception standby state, a first signal level is supplied on the monitoring line, and each device I transmits. providing a second signal level on the monitoring line and monitoring the signal state on the monitoring line;
When the signal state is at the first signal level, it is determined that transmission is possible and transmission is performed, and when the signal state is at the second signal level, it is determined that transmission is impossible and returns to the reception standby state.
(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.
第1図は本発明の一実施例に係わる双方向通信方式の全
体構成を示す図である。同図に示すように、双方向通信
を行おうとする第1の機器1△と第2の機器1Bとの間
は、クロックを送信する。ためのクロックライン3、デ
ータを送信するデータライン5、データをラッチするラ
ッチパルスを送信するピリオドライン7、および各機器
の状態を監視して判断し得るように各機器の状態や通信
方向を示す監視ラインを構成するDCLライン9によっ
て接続されている。第2図(a)、(b)。FIG. 1 is a diagram showing the overall configuration of a bidirectional communication system according to an embodiment of the present invention. As shown in the figure, a clock is transmitted between the first device 1Δ and the second device 1B that are attempting to perform bidirectional communication. A clock line 3 for transmitting data, a data line 5 for transmitting data, a period line 7 for transmitting latch pulses for latching data, and indicating the status and communication direction of each device so that the status of each device can be monitored and determined. They are connected by a DCL line 9 that constitutes a monitoring line. Figure 2 (a), (b).
(C)はそれぞれクロックライン3、データライン5お
よびピリオドライン7に出力される1バイト送信時のク
ロック、データおよびピリオド信号のタイミングを示し
ている。(C) shows the timing of the clock, data, and period signals when transmitting 1 byte, which are output to the clock line 3, data line 5, and period line 7, respectively.
第3図は前記クロックライン3、データライン5、ピリ
オドライン7およびDCLライン9の各機111A、1
B内におけるバスインタフェースの回路図である。同図
に示すように、各ラインは抵抗でプルアップされ、オー
ブンコレクタを介して送受信されている。なお、第1図
〜第3図はシリアル通信の場合のものを示している。FIG. 3 shows each unit 111A, 1 of the clock line 3, data line 5, period line 7 and DCL line 9.
FIG. 2 is a circuit diagram of a bus interface in B. FIG. As shown in the figure, each line is pulled up by a resistor and transmitted and received via an oven collector. Note that FIGS. 1 to 3 show the case of serial communication.
以上のように構成されたものにおいて、各1111iは
自己の状態、すなわち受信待機状態にあるのか、送信状
態にあるのか等を示す状態を示す信号を前記DCLライ
ン9上に供給するとともに、また送信するに当たっては
DCLライン9上の信号状態を監視し、これにより送信
可能か不可能かを判断し、送信可能の場合のみ送信し、
送信不可能の場合には受信待機状態に戻るようにしてい
る。In the configuration as described above, each 1111i supplies a signal indicating its own state, that is, whether it is in a reception standby state or a transmission state, on the DCL line 9, and also sends a signal to the DCL line 9. In doing so, the signal status on the DCL line 9 is monitored, and based on this, it is determined whether transmission is possible or not, and the signal is transmitted only when it is possible to transmit.
If transmission is not possible, the device returns to a reception standby state.
次に示す表はこのようなりCLライン9上の状態および
各機器の状態を示す信号レベル表である。The following table is a signal level table showing the state on the CL line 9 and the state of each device.
(以下、余白)
この表に示すように、各機器が受信待機状態にある場合
は、各機器は低レベル〈に)信号をDCLライン9上に
出力し、各*i、iよびD CI−ライン9上の信号レ
ベルはすべて低レベル状態にある。(Hereinafter, blank space) As shown in this table, when each device is in the reception standby state, each device outputs a low level signal on the DCL line 9, and each *i, i and D CI- All signal levels on line 9 are in a low state.
次に、このような状態で第1の機器1△が送信する場合
には、高レベル(H)信号をD CLライン9上に出力
するとともに、DCLライン9上の信号レベルを確認し
、該信号レベルが低レベルの場合は、第2の11119
1Bも低レベルにあるわけであり、第1の機器1Aから
第2の機器1Bへの送信が可能となる。Next, when the first device 1△ transmits in such a state, it outputs a high level (H) signal onto the DCL line 9, checks the signal level on the DCL line 9, and transmits the corresponding signal. If the signal level is low, the second 11119
1B is also at a low level, and transmission from the first device 1A to the second device 1B is possible.
また、第1の機器1△が送信しようとして、高レベル信
号をDCLライン9Fに出力するととbに、DCLライ
ン9上の信号レベルをixした結果、該信号レベルが高
レベルの場合は、第2の機器1Bは高レベルにあるわけ
であり、すなわちすべて高レベルとなり、送信不可とな
る。従って、送信しようとした第1の機器1AはDCL
ライン9上への出力を低レベルに戻して受信待機状態に
戻る。なお、この場合には、2通りあり、相手の第2の
m器1Bがすでに送信シーケンスに入っていた場合と、
第1の機器1Aと第2の機器1Bとが同時に送信しよう
として、高レベル信号をDCLライン9上に出力した場
合である。このような場合には、DCLライン9上への
出力信号を低レベルに戻し、一定時間待って再送信する
ことになる。Furthermore, when the first device 1△ attempts to transmit and outputs a high level signal to the DCL line 9F, as a result of ixing the signal level on the DCL line 9, if the signal level is high, the The second device 1B is at a high level, that is, all the devices are at a high level and cannot transmit. Therefore, the first device 1A that attempted to transmit is the DCL
The output on line 9 is returned to low level to return to the reception standby state. In this case, there are two cases: the other party's second m unit 1B has already entered the transmission sequence;
This is a case where the first device 1A and the second device 1B attempt to transmit simultaneously and output high level signals onto the DCL line 9. In such a case, the output signal on the DCL line 9 will be returned to a low level, and the transmission will be retransmitted after waiting a certain period of time.
また、表の一番下はEI2の機器1Bが送信しようとす
る場合であるが、これは表の第2番目の第1の機器1A
が送信しようとする場合と同じ動作である。Also, at the bottom of the table is a case where device 1B of EI2 tries to transmit, but this is the case where device 1A of the second first device in the table
This is the same behavior as when trying to send a message.
第4図は第1図に示した各機器の要部の詳細な回路であ
る。同図においては、第1の機器1Aの回路を詳細に示
し、該第1の機器1AとDCLライン9を介して接続さ
れている第2の機器1Bについては出力バッファ11の
みを示しているが、第2の機器1Bの回路も第1の機1
a1Aの回路と同じである。FIG. 4 shows detailed circuits of the main parts of each device shown in FIG. 1. In the figure, the circuit of the first device 1A is shown in detail, and only the output buffer 11 of the second device 1B connected to the first device 1A via the DCL line 9 is shown. , the circuit of the second device 1B is also the same as that of the first device 1.
It is the same as the circuit of a1A.
同図に示す第1の機器1Aの回路においては、D CL
ライン9の一端にフルアップ抵抗13が接続されるとと
もに、出力バッフ715の出力および入力バッファ17
の入力が接続され、これにより出力バッファ15を介し
て第1のta器1AからDCLライン9上に高1ノベル
信号または低レベル信号を出力し得るとともに、また、
入力バッファ17を介してDCl−ライン9上の信号レ
ベルを受信し得るようになっている。In the circuit of the first device 1A shown in the figure, D CL
A full-up resistor 13 is connected to one end of the line 9, and the output of the output buffer 715 and the input buffer 17
is connected to the input of the first TA device 1A via the output buffer 15 to output a high 1 novel signal or a low level signal onto the DCL line 9, and also,
Via an input buffer 17 it is possible to receive the signal level on the DCl- line 9.
また、出力バッファ15の入力には、タイミングI#1
m回路19の送信要求ラインbに接続されている。該タ
イミングυIWI11回路19の1人力1はオア回路2
1を介して送信モジュール23の送信要求ラインaに接
続されている。該送信モジュール23は前述したクロッ
クライン3、データライン5およびピリオドライン7を
有し、これらのラインを介して第2のm器1Bに接続さ
れている。In addition, the input of the output buffer 15 has a timing I#1.
It is connected to the transmission request line b of the m circuit 19. The timing υIWI11 circuit 19 1 is OR circuit 2
1 to the transmission request line a of the transmission module 23. The transmitting module 23 has the aforementioned clock line 3, data line 5 and period line 7, and is connected to the second m-unit 1B via these lines.
タイミング制御回路19の送信要求ラインbは、出力バ
ッファ15の入力に接続される以外に、第1のラッチ回
路25のデータ入力に接続され、該第1のラッチ回路2
5のクロック入力としてタイミングl11111回路1
9からその出力ラインCを介して供給されている判定結
果ラッチパルスによってタイミング制御回路19からの
送信要求信号が第1のラッチ回路25にラッチされ、該
第1のラッチ回路25の出力が送信可、不可を判定する
アンド回路29.31の一方の入力に供給されている。In addition to being connected to the input of the output buffer 15, the transmission request line b of the timing control circuit 19 is also connected to the data input of the first latch circuit 25.
Timing l11111 circuit 1 as clock input of 5
The transmission request signal from the timing control circuit 19 is latched by the first latch circuit 25 by the determination result latch pulse supplied from the timing control circuit 19 through its output line C, and the output of the first latch circuit 25 is ready for transmission. , is supplied to one input of an AND circuit 29.31 that determines whether or not the output is acceptable.
また、入力バッファ17で受信したDCLライン9上の
信号レベルは受信モジュール41に供給されるとともに
、第2のラッチ回路27のデータ入力に供給され、DC
Lライン9上の信号状態がタイミング制御回路19から
の判定結果ラッチパルスによって第2のラッチ回路27
にラッチされ、該第2のラッチ回路27の出力がインバ
ータ39を介してアンド回路29の他方の入力に供給さ
れるとともに、直接アンド回路31の他方の入力に供給
され、これによりアンド回路29および31からそれぞ
れ送信可または送信不可信号を出力するようになってい
る。アンド回路29から出力それる送信可信号は送信モ
ジュール23および受信モジュール41に供給され、こ
れにより送信動作が開始されるようになっている。Further, the signal level on the DCL line 9 received by the input buffer 17 is supplied to the receiving module 41, and is also supplied to the data input of the second latch circuit 27, so that the DC
The signal state on the L line 9 is changed to the second latch circuit 27 by the determination result latch pulse from the timing control circuit 19.
The output of the second latch circuit 27 is supplied to the other input of the AND circuit 29 via the inverter 39, and also directly to the other input of the AND circuit 31, whereby the output of the AND circuit 29 and 31, respectively, to output a transmittable or transmittable signal. A transmittable signal outputted from the AND circuit 29 is supplied to the transmitting module 23 and the receiving module 41, thereby starting a transmitting operation.
アンド回路31から出力される送信不可信号は遅延回路
33およびナンド回路35を介してタイミング!1JI
I11回路19のクリア端子CLRおよびラッチ回路2
5.27のクリア端子に供給され、これらをクリアする
とともに、遅延回路37を介して所定時間の遅延の後に
更にオア回路21を介してタイミング制御回路19の入
力iに再送信号として供給されるようになっている。ま
た、送信モジュール23からの送信終了信@gがナンド
回路35を介してタイミング制御回路19およびラッチ
25.27をクリアするようになっている。The transmission disable signal outputted from the AND circuit 31 is passed through the delay circuit 33 and the NAND circuit 35. 1JI
Clear terminal CLR of I11 circuit 19 and latch circuit 2
5.27, and clears them, and after a predetermined time delay via the delay circuit 37, is further supplied to the input i of the timing control circuit 19 as a retransmission signal via the OR circuit 21. It has become. Further, the transmission completion signal @g from the transmission module 23 is configured to clear the timing control circuit 19 and the latches 25 and 27 via the NAND circuit 35.
次に、第5図のタイミング図を参照して、第4図の回路
の作用を説明する。Next, the operation of the circuit shown in FIG. 4 will be explained with reference to the timing diagram shown in FIG.
第5図(a )にDCLライン9上の信号レベルが示さ
れ、同図(n)には相手機器、すなわち第2の機器1B
がDCLライン9上に出力している信号レベルが示され
ている。まず、第5図の前半に示すように、第2の機器
1Bが送信してな(、この結果DCLライン9上の信号
レベルが低レベルにある場合に、第1の機器1Aが送信
しようとして、第5図(b)に示すように送信モジュー
ル23の送信要求ラインaに送信要求信号を出力すると
、この信号はオア回路21を介してタイミング制御回路
19を駆動し、タイミング制御回路19は第5図(C)
に示すように送信要求ラインbに送信要求信号を出力す
る。この送信要求信号は出力バッフ715を介してDC
Lライン9上に出力されると−ともに、第5図(d )
に示すタイミング制御回路19からの判定結果ラッチパ
ルスによって第1のラッチ回路25でラッチされ、アン
ド回路29.31の一方の入力に供給される。FIG. 5(a) shows the signal level on the DCL line 9, and FIG. 5(n) shows the signal level of the other device, that is, the second device 1B.
The signal level that is being output on DCL line 9 is shown. First, as shown in the first half of FIG. , as shown in FIG. 5(b), when a transmission request signal is output to the transmission request line a of the transmission module 23, this signal drives the timing control circuit 19 via the OR circuit 21, and the timing control circuit 19 Figure 5 (C)
A transmission request signal is output to transmission request line b as shown in FIG. This transmission request signal is sent to the DC via the output buffer 715.
It is output on the L line 9 as well as in FIG. 5(d).
The determination result latch pulse from the timing control circuit 19 shown in FIG.
また、第1の機器1Aが送信しようとする時のDCLラ
イン9上の信号レベルは入力バッフ717を介して第2
のラッチ回路27のデータ入力に供給され、タイミング
f、1JIE回路19からの判定結果ラッチパルスによ
ってラッチされ、インバータ39を介してアンド回路2
9の他方に供給されるとともに、直接アンド回路31の
他方の入力に供給される。なお、第5図の前半では、D
CLライン9上の信号レベルは低レベルであるので、第
2のラッチ回路27はこの低レベルをラッチして出力す
るため、アンド回路29が第5図(f)に示すように送
信可信号eを出力する。この送信可信号eは送信モジュ
ール23に供給され、送信モジュール23から第5図(
h )、 c+ )、 (j )に示すようにクロ
ックライン3、データライン5、ピリオドライン7を介
してクロック、データ、ピリオド信号がそれぞれ出力さ
れる。データ送信が終了すると、送信モジュール23か
ら送信終了信号が第5図(k ’)に示すように出力さ
れ、これが第5図(交)に示すクリア信号としてナンド
回路35を介してタイミングυ制御回路19、ラッチ回
路25.27に供給され、各部をクリアする。Further, the signal level on the DCL line 9 when the first device 1A attempts to transmit is transmitted to the second device via the input buffer 717.
is supplied to the data input of the latch circuit 27, is latched by the judgment result latch pulse from the 1JIE circuit 19 at timing f, and is supplied to the AND circuit 2 via the inverter 39.
9 and directly to the other input of the AND circuit 31. In addition, in the first half of Figure 5, D
Since the signal level on the CL line 9 is low, the second latch circuit 27 latches this low level and outputs it, so the AND circuit 29 generates the transmittable signal e as shown in FIG. 5(f). Output. This transmittable signal e is supplied to the transmitting module 23, and from the transmitting module 23 as shown in FIG.
As shown in h), c+), and (j), clock, data, and period signals are outputted via a clock line 3, a data line 5, and a period line 7, respectively. When the data transmission is completed, a transmission end signal is outputted from the transmission module 23 as shown in FIG. 5 (k'), and this is sent to the timing υ control circuit as a clear signal shown in FIG. 19, the signal is supplied to the latch circuits 25 and 27, and each part is cleared.
次に、第5図の後半に示すように、第2の機器1Bが送
信していて、DCLライン9上の信号レベルが高レベル
の場合について説明する。Next, as shown in the second half of FIG. 5, a case where the second device 1B is transmitting and the signal level on the DCL line 9 is high level will be described.
第5図(a )〜(C)の後半で示すように、送信モジ
ュール23から送信要求信@aが出力され、これに応じ
てタイミング制御回路19から送信要求信号すが出力さ
れ、更にタイミングi制御回路19から判定結果ラッチ
パルスCが出力された場合には、入力バッフ717がD
CLライン9上の高レベル信号に応じて第5図(e )
に示すように高レベル信号を第2のラップ回路27に供
給する。As shown in the latter half of FIG. 5(a) to (C), the transmission module 23 outputs a transmission request signal @a, and in response, the timing control circuit 19 outputs a transmission request signal @a, and furthermore, the timing control circuit 19 outputs a transmission request signal @a. When the control circuit 19 outputs the judgment result latch pulse C, the input buffer 717
In response to the high level signal on the CL line 9, as shown in FIG.
A high level signal is supplied to the second wrap circuit 27 as shown in FIG.
この結果、第2のラッチ回路27は高レベル信号を出力
し、この高レベル信号はアンド回路31に供給され、ア
ンド回路31から送信不可信号fが第5図(0)に示す
ように出力される。As a result, the second latch circuit 27 outputs a high level signal, this high level signal is supplied to the AND circuit 31, and the AND circuit 31 outputs a transmission disable signal f as shown in FIG. 5(0). Ru.
アンド回路31から送信不可信号「が出力されると、こ
の信号は遅延回路33およびナンド回路35を介して第
5図(1)に示すクリア信号として各部をクリアすると
ともに、遅延回路37で所定時間遅延された後、第5図
(層)に示す再送信号としてオア回路21を介してタイ
ミング制御回路19に供給される。そして、この場合に
おいて、第2の機器1Bが送信を既に終了して、DCL
ライン9上の信号レベルが低レベルの場合には、第5図
の前半と同様の動作で送信動作が行われるのである。When the AND circuit 31 outputs the transmission impossible signal, this signal passes through the delay circuit 33 and the NAND circuit 35 to clear each part as a clear signal shown in FIG. After being delayed, it is supplied to the timing control circuit 19 via the OR circuit 21 as a retransmission signal shown in FIG. 5 (layer).In this case, the second device 1B has already finished transmission, D.C.L.
When the signal level on line 9 is low, the transmission operation is performed in the same manner as in the first half of FIG.
第6図は第1のll器1Aと第2の機器1Bとの間でパ
ラレル通信を行うことができるように両様器間のデータ
ライン5を複数並列に接続した場合の回路図である。FIG. 6 is a circuit diagram when a plurality of data lines 5 between the two devices are connected in parallel so that parallel communication can be performed between the first device 1A and the second device 1B.
[発明の効果]
以上説明したように、本発明によれば、各g!凶器間監
視ラインで接続し、各機器が受信待機状態にあるときに
は、監視ライン上に第1の信号1ノベルを供給し、各機
器が送信しようとするときには、監視ライン上に第2の
信号レベルを供給するとともに、監視ライン上の信号状
態を監視し、該信号状態が第1の信号レベルにあるとき
には、送信可能と判断して送信を行い、第2の信号レベ
ルにあるときには、送信不可として受信時機状態に房る
ようになっているので、従来のようにポーリングを必要
とせず、効率的かつリアルタイムに通信を行うことがで
きるとともに、またクロックも送信側で選択でき、マス
クのクロックから独立して動作できる。[Effects of the Invention] As explained above, according to the present invention, each g! The weapons are connected by a monitoring line, and when each device is in a reception standby state, a first signal level of 1 level is supplied on the monitoring line, and when each device is about to transmit, a second signal level is supplied on the monitoring line. At the same time, the signal status on the monitoring line is monitored, and when the signal status is at the first signal level, it is determined that transmission is possible and transmission is performed, and when the signal status is at the second signal level, it is determined that transmission is not possible. Since the reception timing is fixed, it is possible to communicate efficiently and in real time without the need for polling as in conventional methods.In addition, the clock can be selected on the transmitting side and is independent from the mask clock. can be operated.
第1図は本発明の一実施例に係わる双方向通信方式の仝
体構成を示す図、第2図は第1図の双方向通信方式に使
用されるクロック、データ、ピリオド信号の波形図、第
3図は第1図の双方向通信方式におけるバスインタフェ
ースの回路図、第4図は第1図の双方向通信方式の詳細
な回路図、第5図は第4図の回路の動作波形を示すタイ
ミング図、第6図はパラレル通信の場合のバスインタフ
ェースの回路図、第7図は従来の双方向通信方式の構成
図である。
1A・・・第1の機器、
1B・・・第2の機器、
3・・・クロックライン、
5・・・データライン、
7・・・ピリオドライン、
9・・・DCLライン、
15・・・出力バッフ?、
17・・・入力バッフ7.
19・・・タイミング1I111に1回路、23・・・
送信モジュール、
29.31・・・アンド回路。FIG. 1 is a diagram showing the overall structure of a two-way communication system according to an embodiment of the present invention, and FIG. 2 is a waveform diagram of clock, data, and period signals used in the two-way communication system of FIG. Figure 3 is a circuit diagram of the bus interface in the two-way communication system shown in Figure 1, Figure 4 is a detailed circuit diagram of the two-way communication system shown in Figure 1, and Figure 5 shows the operating waveforms of the circuit in Figure 4. 6 is a circuit diagram of a bus interface in the case of parallel communication, and FIG. 7 is a configuration diagram of a conventional bidirectional communication system. 1A...First device, 1B...Second device, 3...Clock line, 5...Data line, 7...Period line, 9...DCL line, 15... Output buffer? , 17... Input buffer 7. 19...One circuit at timing 1I111, 23...
Transmission module, 29.31...AND circuit.
Claims (1)
つて、各機器間においてデータを双方向に伝送すべく各
機器間を接続するデータラインと、送信しようとする相
手機器の状態を監視すべく各機器間を接続する監視ライ
ンと、各機器に設けられ、各機器が受信待機状態にある
とき、該状態を表示すべく前記監視ライン上に第1の信
号レベルを供給する待機状態表示手段と、各機器に設け
られ、各機器が送信しようとするとき、該送信状態を表
示すべく前記監視ラインに第2の信号レベルを供給する
送信状態表示手段と、該送信状態表示手段を介して送信
しようとするとき、前記監視ライン上の信号状態を監視
するライン状態監視手段と、該ライン状態監視手段によ
って監視した監視ライン上の信号状態が第1の信号レベ
ルにあるとき、送信可能と判断して送信を行い、第2の
信号レベルにあるとき、送信不可として受信待機状態に
戻る送信制御手段とを有することを特徴とする双方向通
信方式。It is a two-way communication method that performs two-way communication between multiple devices, and it uses a data line that connects each device to transmit data bidirectionally between each device, and the status of the other device to which data is transmitted. a monitoring line connecting each device to be monitored; and a standby state provided in each device to supply a first signal level on the monitoring line to indicate the state when each device is in a reception standby state. a display means, a transmission state display means provided in each device and supplying a second signal level to the monitoring line to display the transmission state when each device attempts to transmit; line state monitoring means for monitoring the signal state on the monitoring line, and when the signal state on the monitoring line monitored by the line state monitoring means is at a first signal level, transmission is possible. 1. A two-way communication system, comprising: a transmission control means that performs transmission by determining that the signal is at a second signal level, and returns to a reception standby state as being unable to transmit when the signal is at a second signal level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4704489A JPH02226829A (en) | 1989-02-28 | 1989-02-28 | Duplex communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4704489A JPH02226829A (en) | 1989-02-28 | 1989-02-28 | Duplex communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02226829A true JPH02226829A (en) | 1990-09-10 |
Family
ID=12764171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4704489A Pending JPH02226829A (en) | 1989-02-28 | 1989-02-28 | Duplex communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02226829A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011205378A (en) * | 2010-03-25 | 2011-10-13 | Canon Inc | Communication apparatus, method of controlling the same, and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61208331A (en) * | 1985-03-13 | 1986-09-16 | Canon Inc | Serial data communication system |
JPS61269762A (en) * | 1985-05-24 | 1986-11-29 | Nec Corp | Communicating device between processor devices |
-
1989
- 1989-02-28 JP JP4704489A patent/JPH02226829A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61208331A (en) * | 1985-03-13 | 1986-09-16 | Canon Inc | Serial data communication system |
JPS61269762A (en) * | 1985-05-24 | 1986-11-29 | Nec Corp | Communicating device between processor devices |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011205378A (en) * | 2010-03-25 | 2011-10-13 | Canon Inc | Communication apparatus, method of controlling the same, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4959833A (en) | Data transmission method and bus extender | |
JP2700843B2 (en) | Multiplex communication controller | |
JPS63279635A (en) | Interface module for electric and optical local area network | |
JPS5857770B2 (en) | Information transfer control method | |
US5065153A (en) | Contention control system | |
JPS5837736B2 (en) | Serial data transmission method | |
US4993023A (en) | Apparatus for providing multiple controller interfaces to a standard digital modem and including multiplexed contention resolution | |
JPH02226829A (en) | Duplex communication system | |
JP3459075B2 (en) | Synchronous serial bus method | |
JPH0564384B2 (en) | ||
JPS6260050A (en) | Interbus system | |
JPS62249542A (en) | Data transfer system | |
JP4257995B2 (en) | Half-duplex communication control method | |
JPH05204849A (en) | Synchronous serial bus system | |
JPH0193942A (en) | Data transmission method | |
JP2001285304A (en) | Optical wireless transmission device, optical wireless receiving device, optical wireless transmission unit, and optical wireless transmission method | |
JPS63202154A (en) | Serial communication system | |
JPH07101877B2 (en) | Terminal device | |
JPH04102337U (en) | multiplex transmission equipment | |
JPH03154539A (en) | Supervisor communication method | |
JPS59207763A (en) | Loop type full duplex communication system of data transmission line | |
JPS6238637A (en) | Control system for transmission in multi-drop | |
JPH04216237A (en) | Serial communication equipment | |
JPS588622B2 (en) | Data Densou Houshiki | |
JPS63244952A (en) | signal transmission equipment |