JPH0439939B2 - - Google Patents

Info

Publication number
JPH0439939B2
JPH0439939B2 JP60177694A JP17769485A JPH0439939B2 JP H0439939 B2 JPH0439939 B2 JP H0439939B2 JP 60177694 A JP60177694 A JP 60177694A JP 17769485 A JP17769485 A JP 17769485A JP H0439939 B2 JPH0439939 B2 JP H0439939B2
Authority
JP
Japan
Prior art keywords
signal
transmission
timer
terminal
synchronization signal
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.)
Expired - Lifetime
Application number
JP60177694A
Other languages
Japanese (ja)
Other versions
JPS6238639A (en
Inventor
Naotami Tanaka
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.)
NEC Platforms Ltd
Original Assignee
Nitsuko 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 Nitsuko Corp filed Critical Nitsuko Corp
Priority to JP17769485A priority Critical patent/JPS6238639A/en
Publication of JPS6238639A publication Critical patent/JPS6238639A/en
Publication of JPH0439939B2 publication Critical patent/JPH0439939B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の端末が1本の伝送路に接続さ
れた、いわゆるマルチドロツプに関し、特に、各
端末からの送信を制御するための伝送制御方式に
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a so-called multi-drop system in which a plurality of terminals are connected to one transmission path, and in particular, transmission control for controlling transmission from each terminal. Regarding the method.

〔従来の技術〕[Conventional technology]

従来、この種の伝送制御方式には、ポーリング
方式か、衝突検出方式が使用されている。
Conventionally, this type of transmission control method uses a polling method or a collision detection method.

ポーリング方式は、第5図に示されるように、
端末101〜10oとは別に、シリアルデータバス
20を制御するためのマスターコントローラ90
を有し、マスターコントローラ90は各端末へ送
信の要求があるかを、適当な伝送制御コードと各
端末毎に割り合てられた端末番号をシリアルデー
タバス20へ送信することにより、問合わせる
(ポールする)。これに対し、ポールされた端末
は、送信要求がなければ終了コードを返し、送信
要求があれば適当な伝送形式でデータを送信す
る。
The polling method, as shown in Figure 5,
Apart from the terminals 10 1 to 10 o , a master controller 90 for controlling the serial data bus 20
The master controller 90 inquires whether there is a request for transmission to each terminal by transmitting an appropriate transmission control code and a terminal number assigned to each terminal to the serial data bus 20 ( poll). On the other hand, the polled terminal returns an end code if there is no transmission request, and transmits data in an appropriate transmission format if there is a transmission request.

一方、衝突検出方式は、第6図のフローチヤー
トに示されるように、各端末のバスコントローラ
は、先ず、バスが使用中か否かをチエツクし(ス
テツプ1′)、使用中であればタイマをセツトして、
所定時間遅延し(ステツプ2′)た後、再びステツ
プ1′に戻る。もし、バスが使用中でなければ、出
力ポートより1バイト分のデータを送信すると共
に、入力ポートよりその送信した1バイト分のデ
ータを受信する(ステツプ3′)。比較器で、上記
送信及び受信した1バイト分のデータを比較し、
それらが一致しているか否かをチエツクし(ステ
ツプ4′)、一致していなければ、ステツプ2′で所
定時間遅延した後、ステツプ1′に戻る。一方、一
致している場合、送信が終了したか否かをチエツ
クし(ステツプ5′)、終了していなければ、ステ
ツプ3′に移る。
On the other hand, in the collision detection method, as shown in the flowchart of FIG. Set the
After a predetermined time delay (step 2'), the process returns to step 1'. If the bus is not in use, one byte of data is transmitted from the output port, and the transmitted one byte of data is received from the input port (step 3'). A comparator compares the 1 byte of data sent and received above,
It is checked whether they match (step 4'), and if they do not match, the process returns to step 1' after a predetermined time delay in step 2'. On the other hand, if they match, it is checked whether the transmission has been completed (step 5'), and if it has not been completed, the process moves to step 3'.

〔発明が解決しようとする問題点〕 しかしながら、ポーリング方式では、端末とは
別にマスタコントローラを必要とするため、シス
テムが高価になるという欠点があつた。又、バス
上に多数の端末が存在した場合、ポーリングに多
大の時間が掛かつてしまい、バスにデータが送出
されている時間が短かくなり、バスを有効に使用
することができなくなるという欠点があつた。
[Problems to be Solved by the Invention] However, the polling method requires a master controller separate from the terminal, which has the disadvantage that the system becomes expensive. Another disadvantage is that when there are many terminals on the bus, polling takes a lot of time, which shortens the time that data is sent to the bus, making it impossible to use the bus effectively. It was hot.

一方、衝突検出方式では、各端末のバスコント
ローラでのデータの比較やタイマへのタイマ値の
セツト等の処理が複雑になるという欠点があつ
た。
On the other hand, the collision detection method has the disadvantage that processing such as comparing data in the bus controller of each terminal and setting a timer value to a timer becomes complicated.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、マスターコントローラを不要
とした安価なシステムで実現できる伝送制御方式
を提供することにある。
An object of the present invention is to provide a transmission control method that can be implemented with an inexpensive system that does not require a master controller.

本発明の他の目的は、バスを有効に使用するこ
とができる伝送制御方式を提供することにある。
Another object of the present invention is to provide a transmission control method that can effectively use a bus.

本発明の更に他の目的は、処理が比較的簡単な
伝送制御方式を提供することにある。
Still another object of the present invention is to provide a transmission control method that is relatively easy to process.

〔問題点を解決するための手段〕[Means for solving problems]

本発明による伝送制御方式は、複数の端末が1
本の伝送路に接続された、いわゆるマルチドロツ
プにおいて、上記各端末毎に互いに異なる端末番
号を割り当て、上記各端末は、少なくとも同期情
報を含む同期フイールドと自端末番号を含む第1
のアドレスフイールドとを有する同期信号を上記
伝送路に送出するための同期信号送出手段と、上
記伝送路上の同期信号を検出する同期信号検出手
段と、少なくとも呼び出し情報を含む呼び出しフ
イールドとデータを送出すべきあて先端末番号を
含む第2のアドレスフイールドとを有する呼び出
し信号を上記伝送路に送出するための呼び出し信
号送出手段と、上記伝送路上の呼び出し信号を検
出する呼び出し信号検出手段と、上記同期信号検
出手段で検出された同期信号の中の上記第1のア
ドレスフイールドに含まれる端末番号と自端末番
号とから予め定められた演算式に従つて求められ
た第1のタイマ値がセツトされる第1のタイマ
と、該第1のタイマがタイムアツプする前までに
上記呼び出し信号検出手段で呼び出し信号が検出
されなければ、該第1のタイマがタイムアツプし
たときに第1の送信権を獲得する第1の送信権獲
得手段と、該第1の送信権獲得手段で第1の送信
権を獲得したときに送出すべきデータがなければ
予め定められた第2のタイマ値がセツトされる第
2のタイマと、該第2のタイマがタイムアツプす
る前までに上記同期信号検出手段で同期信号が又
は上記呼び出し信号検出手段で呼び出し信号が検
出されなければ、該第2のタイマがタイムアツプ
したときに第2の送信権を獲得する第2の送信権
獲得手段と、上記伝送路上に信号があるか否かを
監視する信号監視手段と、上記呼び出し信号検出
手段で検出された呼び出し信号の中の上記第2の
アドレスフイールドに含まれるあて先端末番号が
自端末番号と一致しないときに起動され、上記信
号監視手段により上記伝送路上に信号があると判
定される毎に自端末番号に対応して予め定められ
た第3のタイマ値がセツトされる第3のタイマ
と、該第3のタイマがタイムアツプする前までに
上記同期信号検出手段で上記同期信号が検出され
なければ、該第3のタイマがタイムアツプしたと
きに第3の送信権を獲得する第3の送信権獲得手
段と、該第3の送信権獲得手段又は上記第2の送
信権獲得手段で上記第3又は第2の送信権を獲得
した時に、送出すべきデータがなければ、上記同
期信号送出手段を起動して上記伝送路へ同期信号
を送出させ、上記第1、第2又は第3の送信獲得
手段で上記第1、第2又は第3の送信権を獲得し
た時に、送出すべきデータがあれば、上記伝送路
へ、先頭に上記呼び出し信号送出手段を起動して
呼び出し信号を、続いて上記送出すべきデータ
を、該データの送出終了後に上記同期信号送出手
段を起動して同期信号を順次送出させる送信制御
手段と、上記呼び出し信号検出手段で検出された
呼び出し信号の中の上記第2のアドレスフイール
ドに含まれるあて先端末番号が自端末番号と一致
したとき、続いて送られてくるデータを受信する
手段とを有することを特徴とする 〔実施例〕 以下、本発明の実施例を図面を参照して詳細に
説明する。
The transmission control method according to the present invention allows multiple terminals to
In a so-called multi-drop connected to a main transmission path, a different terminal number is assigned to each terminal, and each terminal has at least a synchronization field containing synchronization information and a first field containing its own terminal number.
a synchronization signal sending means for sending out a synchronization signal having an address field and an address field to the transmission path; a synchronization signal detection means for detecting the synchronization signal on the transmission path; and a call field including at least call information and data. a paging signal transmitting means for transmitting a paging signal having a second address field including a destination terminal number to the transmission path; a paging signal detection means for detecting the paging signal on the transmission path; and a synchronization signal detection device. A first timer value is set, which is calculated according to a predetermined arithmetic expression from the terminal number included in the first address field of the synchronization signal detected by the means and the own terminal number. and a first timer that acquires the first transmission right when the first timer times up if the calling signal detecting means does not detect a calling signal before the first timer times up. a second timer that is set to a predetermined second timer value if there is no data to be transmitted when the first transmission right acquisition means acquires the first transmission right; , If the synchronization signal detection means does not detect a synchronization signal or the call signal detection means does not detect a calling signal before the second timer times up, a second transmission is performed when the second timer times up. a second transmission right acquisition means for acquiring the right to transmit, a signal monitoring means for monitoring whether or not there is a signal on the transmission path, and the second address in the paging signal detected by the paging signal detection means. It is activated when the destination terminal number included in the field does not match the own terminal number, and every time the signal monitoring means determines that there is a signal on the transmission path, a third a third timer to which a timer value of and transmitting when the third or second transmission right is acquired by the third transmission right acquisition means or the second transmission right acquisition means. If there is no data to be transmitted, the synchronization signal sending means is activated to send a synchronization signal to the transmission path, and the first, second or third transmission acquisition means performs the first, second or third transmission. When the right is acquired, if there is data to be sent, the calling signal sending means is first activated to send the calling signal to the transmission path, and then the data to be sent is sent to the transmission path. a transmission control means for activating a synchronization signal sending means to sequentially send out synchronization signals; and a transmission control means for starting a synchronization signal sending means to sequentially send out synchronization signals, and a transmission control means in which the destination terminal number included in the second address field in the calling signal detected by the calling signal detection means is the own terminal number. [Embodiment] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第4図は本発明による伝送制御方式の適用され
るマルチドロツプの一構成例を示したシステム構
成図である。本実施例では、5台の端末100
101,102,103及び104が、シリアルデー
タバス20に接続されている。各端末10i(0
≦i≦4)は、シリアルデータバス20上の信号
を送受信するためのバストランシーバ30、端末
番号を設定するためのデイツプスイツチ等の設定
スイツチ40、データを入出力するための入出力
装置50、タイマ値がセツトされるタイマ60、
プログラムとワークエリアを持つメモリ70、及
びバストランシーバ30、入出力装置50、タイ
マ60及びメモリ70を制御するためのマイクロ
プロセツサから成る制御装置80を有している。
FIG. 4 is a system configuration diagram showing an example of a multi-drop configuration to which the transmission control method according to the present invention is applied. In this embodiment, five terminals 10 0 ,
10 1 , 10 2 , 10 3 and 10 4 are connected to serial data bus 20 . Each terminal 10 i (0
≦i≦4) means a bus transceiver 30 for transmitting and receiving signals on the serial data bus 20, a setting switch 40 such as a dip switch for setting a terminal number, an input/output device 50 for inputting and outputting data, and a timer. a timer 60 whose value is set;
It has a memory 70 having a program and work area, and a control device 80 consisting of a microprocessor for controlling the bus transceiver 30, input/output device 50, timer 60, and memory 70.

なお、各端末10iに備えられている入出力装
置50として、キーボード、デイスプレイ及びプ
リンタ等が考えられる。又、各端末10iに、設
定スイツチ40により設定される端末番号は、端
末100,101,102,103及び104に対応し
て、それぞれ“0”、“1”、“2”、“3”、及び
“4”が割り当てられたものとする。
Note that the input/output device 50 included in each terminal 10 i may include a keyboard, a display, a printer, and the like. Further, the terminal numbers set by the setting switch 40 for each terminal 10i are "0", " 1 ", and "2" corresponding to the terminals 10 0 , 10 1 , 10 2 , 10 3 and 10 4 , respectively. ”, “3”, and “4” are assigned.

第1図は第4図に示した各端末10iの構成を
示したブロツク図である。前述したように、制御
装置80は、マイクロプロセツサからなるが、そ
れを機能ごとに、ブロツクに分けて示している。
FIG. 1 is a block diagram showing the configuration of each terminal 10i shown in FIG. 4. As mentioned above, the control device 80 is composed of a microprocessor, which is shown divided into blocks according to functions.

バストランシーバ30は、制御装置80からの
パラレルデータをシリアルデータに変換してリア
ルデータバス20上へ送出するためのパラレル/
シリアル変換部(以下、P/S変換部と略称す。)
31と、シリアルデータバス20上のシリアルデ
ータをパラレルデータに変換して制御装置80へ
送出するためのシリアル/パラレル変換部(以
下、S/P変換部と略称す。)32とを有してい
る。又、P/S変換部31は、論理符号を伝送符
号に変換する機能をも有し、S/P変換部32
は、伝送符号を論理符号に変換する機能をも有し
ている。又、本実施例では、パラレルデータは、
8ビツトであるとする。
The bus transceiver 30 converts parallel data from the control device 80 into serial data and sends it onto the real data bus 20.
Serial converter (hereinafter abbreviated as P/S converter)
31, and a serial/parallel converter (hereinafter abbreviated as S/P converter) 32 for converting serial data on the serial data bus 20 into parallel data and sending it to the control device 80. There is. The P/S converter 31 also has a function of converting a logical code into a transmission code, and the S/P converter 32
also has the function of converting transmission codes into logical codes. In addition, in this embodiment, the parallel data is
Assume that it is 8 bits.

メモリ70は、送信データを一時格納するため
の送信データ格納エリア71と、受信データを一
時格納するための受信データ格納エリア72とを
有している。もちろん、メモリ70は、図示しな
いが、プログラムを格納するエリアも有してい
る。
The memory 70 has a transmission data storage area 71 for temporarily storing transmission data and a reception data storage area 72 for temporarily storing reception data. Of course, although not shown, the memory 70 also has an area for storing programs.

制御装置80において、81は設定スイツチ4
0によつて設定された自端末番号を保持するため
の端末番号保持部である。82は後述する同期信
号を送出するための同期信号送出部である。83
は後述する呼び出し信号を送出するための呼び出
し信号送出部である。84は同期信号を検出する
ための同期信号検出部、85は呼び出し信号を検
出するための呼び出し信号検出部である。86は
タイマ60へ後述するタイマ値をセツトするため
のタイマ設定部である。87は後述するように信
号の送受信を制御するための送受信制御部であ
る。88はシリアルデータバス20上に信号があ
るか否かを監視するための信号監視部である。
In the control device 80, 81 is the setting switch 4.
This is a terminal number holding unit for holding the own terminal number set by 0. 82 is a synchronization signal sending unit for sending out a synchronization signal, which will be described later. 83
is a calling signal sending unit for sending out a calling signal, which will be described later. 84 is a synchronization signal detection unit for detecting a synchronization signal, and 85 is a call signal detection unit for detecting a call signal. 86 is a timer setting unit for setting a timer value to the timer 60, which will be described later. 87 is a transmission/reception control section for controlling transmission and reception of signals, as will be described later. 88 is a signal monitoring unit for monitoring whether or not there is a signal on the serial data bus 20.

次に、第2図に示されたフローチヤート及び第
3図に示されたタイムチヤートをも参照して動作
について説明する。
Next, the operation will be described with reference to the flowchart shown in FIG. 2 and the time chart shown in FIG. 3.

第3図aは、各端末10iが送出すべきデータ
がない場合の例を示している。先ず、第4図に示
されたシステムの電源スイツチ(図示せず)をオ
ンとすると、各端末では、タイマ設定部86が端
末番号保持部81に保持されている自端末番号N
に対応したタイマ値T0をタイマ60にセツトす
る(ステツプ101)。ここで、タイマ60の基本単
位をτとすると、T0は次式で表わされる。
FIG. 3a shows an example where there is no data to be sent by each terminal 10i . First, when the power switch (not shown) of the system shown in FIG.
A timer value T 0 corresponding to the timer 60 is set in the timer 60 (step 101). Here, assuming that the basic unit of the timer 60 is τ, T 0 is expressed by the following equation.

T0=(N+1)×τ ……(1) 従つて100,101,102,103及び104
タイマ値T0は、それぞれτ、2τ、3τ、4τ及び5τ
となる。
T 0 = (N+1)×τ ... (1) Therefore, the timer values T 0 of 10 0 , 10 1 , 10 2 , 10 3 and 10 4 are τ, 2τ, 3τ, 4τ and 5τ, respectively.
becomes.

その為、端末100のタイマ60が最初にタイ
ムアツプするが、時刻t0でタイムアツプする(ス
テツプ102のYES)と、タイマ60は送受信制御
部87へタイムアツプ信号を出力する。送受信制
御部87は、タイムアツプ信号を受けると、同期
信号送出部82を起動して同期信号SをP/S変
換部31を介してシリアルデータバス20へ送出
させる(ステツプ103)。ここで、同期信号Sは、
同期情報SYNを含む同期フイールド、自端末番
号(送り元アドレス)SAを含むアドレスフイー
ルド及びチエツク符号BCCを含むチエツクフイ
ールドから成る。従つて、端末100は、自端末
番号SAとして“0”を送出する。この自端末番
号は、予め、送受信制御部87によつて、端末番
号保持部81より同期信号送出部82に送出さ
れ、一時的に格納されている。
Therefore, the timer 60 of the terminal 100 times up first, but when the timer 60 times up at time t0 (YES in step 102), the timer 60 outputs a time-up signal to the transmission/reception control unit 87. When receiving the time-up signal, the transmission/reception control section 87 activates the synchronization signal transmission section 82 to transmit the synchronization signal S to the serial data bus 20 via the P/S conversion section 31 (step 103). Here, the synchronization signal S is
It consists of a synchronization field containing synchronization information SYN, an address field containing its own terminal number (source address) SA, and a check field containing a check code BCC. Therefore, the terminal 100 sends "0" as its own terminal number SA. This own terminal number is sent in advance from the terminal number holding section 81 to the synchronization signal sending section 82 by the transmission/reception control section 87, and is temporarily stored therein.

この送出された同期信号Sは、各端末、S/P
変換部32を介して同期信号検出部84で検出さ
れる(ステツプ103及びステツプ104のYES)。同
期信号検出部84では、先ず同期信号Sの中の同
期情報SYNを検出したことにより、同期信号検
出信号を、続いて、同期信号Sの中のアドレスフ
イールドに含まれる送り元アドレスSAを抽出し
て、その送り元のアドレスSAを、タイマ設定部
86に送出する。タイマ設定部86では、この受
けとつた送り元アドレスSAと端末番号保持部8
1に保持されている自端末番号Nとをもとにし
て、タイマ値T1を時刻t1でタイマ60にセツトす
る(ステツプ105)。
This sent synchronization signal S is transmitted to each terminal, S/P
It is detected by the synchronization signal detection section 84 via the conversion section 32 (YES in steps 103 and 104). The synchronization signal detection unit 84 first detects the synchronization information SYN in the synchronization signal S, and then extracts the synchronization signal detection signal and then the source address SA included in the address field in the synchronization signal S. Then, the source address SA is sent to the timer setting section 86. The timer setting unit 86 stores the received source address SA and the terminal number holding unit 8.
Based on the own terminal number N held at 1, a timer value T1 is set in the timer 60 at time t1 (step 105).

ここで、T1は、シリアルデータバス20に接
続されている全端末数をWとすると、次式で表わ
される。
Here, T1 is expressed by the following equation, where W is the total number of terminals connected to the serial data bus 20.

T1={modw(N−SA+W−1)+1}×τ ……(2) ここで、modw(X)は、XをWで割つたときの
余りを表わしている。従つて、換言すると、(2)式
は次のようにも表わすことができる。
T 1 ={mod w (N-SA+W-1)+1}×τ (2) Here, mod w (X) represents the remainder when X is divided by W. Therefore, in other words, equation (2) can also be expressed as follows.

T1=(N−SA)×τ(N>SAの時)=(N−SA+
W)×τ(N≦SAの時)……(2′) 今の場合、SA=“0”、W=“5”であるので、
端末101,102,103,104及び100のタイ
マ値T1は、それぞれτ、2τ、3τ、4τ及び5τとな
る。
T 1 = (N-SA) x τ (when N>SA) = (N-SA+
W)×τ (when N≦SA)...(2') In this case, SA="0" and W="5", so
The timer values T 1 of the terminals 10 1 , 10 2 , 10 3 , 10 4 and 10 0 are τ, 2τ, 3τ, 4τ and 5τ, respectively.

従つて、端末101のタイマ60は、最初に、
時刻t1から時間τ経過した時刻t2でタイムアツプ
し(ステツプ106のYES)、タイムアツプ信号を
送受信制御部87へ出力する。送受信制御部87
は、このタイムアツプ信号を受けとると送信権を
獲得し、送出すべきデータがあるか否か判断する
(ステツプ107)。今の場合、すべての端末で検出
すべきデータがないと仮定しているので、送受信
制御部87は、タイマ設定部86へその旨(デー
タ無し)を伝える。タイマ設定部86は、これを
受けとると、予め定められたタイマ値T2をタイ
マ60にセツトする(ステツプ108)。
Therefore, the timer 60 of the terminal 101 initially
A time-up occurs at time t 2 when time τ has elapsed from time t 1 (YES in step 106), and a time-up signal is output to the transmission/reception control section 87. Transmission/reception control section 87
When it receives this time-up signal, it acquires the transmission right and determines whether there is any data to be transmitted (step 107). In this case, since it is assumed that there is no data to be detected at all terminals, the transmission/reception control unit 87 notifies the timer setting unit 86 to that effect (no data). Upon receiving this, the timer setting section 86 sets a predetermined timer value T2 in the timer 60 (step 108).

ここで、タイマ値T2は、次式で表わさる。 Here, the timer value T 2 is expressed by the following equation.

T2=W×τ ……(3) 一方、他の端末102,103,104及び100
においても、それぞれ時刻t1から2τ、3τ、4τ及び
5τ経過した時刻に送信権を獲得し、送出すべきデ
ータがないので、タイマ60にタイマ値T2がセ
ツトされる。
T 2 = W×τ ...(3) On the other hand, other terminals 10 2 , 10 3 , 10 4 and 10 0
Also, from time t 1 to 2τ, 3τ, 4τ and
Since the transmission right is acquired at the time when 5τ has elapsed and there is no data to be sent, the timer value T 2 is set in the timer 60.

次に、端末101において、タイマ60が、時
刻t2から時間5τ経過した時刻t3でタイムアツプし
(ステツプ109のYES)、前述と同様に、送受信制
御部87は、送信権を獲得するが、送出すべきデ
ータがないので(ステツプ110のNO)、ステツプ
103に戻り、同期信号送出部82を起動して同期
信号Sを送出させる。
Next, in the terminal 101 , the timer 60 times up at time t3 , which is 5τ after time t2 (YES in step 109), and the transmission/reception control unit 87 acquires the transmission right as described above. , since there is no data to be sent (NO in step 110), the step
Returning to step 103, the synchronization signal sending unit 82 is activated to send out the synchronization signal S.

各端末では、同期信号検出部84で同期信号S
が検出され(ステツプ103及びステツプ108の
YES)、前述したのと同様に、タイマ設定部86
は、時刻t4でタイマ値T1をタイマ60にセツトす
る(ステツプ105)。このとき、端末102,10
,104,100及び101のタイマ値T1は、それ
ぞれτ、2τ、3τ、4τ及び5τとなる。従つて、次に
最初にタイムアツプするタイマ60を有する端末
は、端末102である。
In each terminal, the synchronization signal detection section 84 detects the synchronization signal S.
is detected (step 103 and step 108)
YES), the timer setting section 86 as described above.
sets the timer value T1 in the timer 60 at time t4 (step 105). At this time, the terminals 10 2 , 10
The timer values T 1 of 3 , 10 4 , 10 0 and 10 1 are τ, 2τ, 3τ, 4τ and 5τ, respectively. Therefore, the next terminal with timer 60 that times up first is terminal 102 .

以上の動作を繰り返して、シリアルデータバス
20上には、端末番号の小さい端末の順に、そし
て最も大きい端末番号の端末の次には最も小さい
端末番号の端末というように、順次同期信号Sが
所定周期で送出される。
By repeating the above operations, the synchronization signal S is sequentially transmitted on the serial data bus 20 in the order of the terminals with the smallest terminal number, then the terminal with the highest terminal number, then the terminal with the smallest terminal number, and so on. Sent periodically.

第3図b及びcは、端末に送出すべきデータが
ある場合の例を示している。
Figures 3b and 3c show an example where there is data to be sent to the terminal.

先ず、第3図bを参照すると、電源オン後、各
端末のタイマ60にタイマ値T0がセツトされ
(ステツプ101)、タイマ60が時刻t0で最初にタ
イムアツプし(ステツプ102のYES)た端末100
は、同期信号送出部82より同期信号Sをシリア
ルデータバス20上に送出し(ステツプ103)、各
端末は、同期信号検出部84で同期信号Sを検出
し(ステツプ103及びステツプ104のYES)、タイ
マ設定部86はタイマ値T1を時刻t1でセツトする
(ステツプ105)。
First, referring to FIG. 3b, after the power is turned on, a timer value T0 is set in the timer 60 of each terminal (step 101), and the timer 60 first times up at time t0 (YES in step 102). Terminal 10 0
The synchronization signal sending section 82 sends out the synchronization signal S onto the serial data bus 20 (step 103), and each terminal detects the synchronization signal S in the synchronization signal detection section 84 (YES in steps 103 and 104). , the timer setting unit 86 sets the timer value T 1 at time t 1 (step 105).

時刻t1から時間τ経過した時刻t2で、端末101
では、そのタイマ60がタイムアツプし(ステツ
プ106のYES)、送受信制御部87は送信権を獲
得するが、送出すべきデータがない(ステツプ
107のNO)ので、タイマ設定部86は、タイマ
60にタイマ値T2をセツトする(ステツプ108)。
At time t2, when time τ has elapsed since time t1 , the terminal 10
Then, the timer 60 times up (YES in step 106), and the transmission/reception control section 87 acquires the transmission right, but there is no data to be sent (step 106).
107), the timer setting section 86 sets the timer value T2 in the timer 60 (step 108).

時刻t1から時間2τ経過した時刻t3で、端末102
では、そのタイマ60がタイムアツプし(ステツ
プ106のYES)、送受信制御部87は送信権を獲
得する。送出すべきデータがある(ステツプ107
のYES)ので、送受信制御部87は、先ず、呼
び出し信号送出部83を起動して呼び出し信号E
をP/S変換部31を介してシリアルデータバス
20へ送出させる(ステツプ112)。ここで、呼び
出し信号Eは、問合せ情報ENQを含む呼び出し
フイールド、データを送出すべきあて先端末番号
(あて先アドレス)DA及び送り元である自端末
番号(送り元アドレス)SAを含むアドレスフイ
ールド、及びチエツク符号BCCを含むチエツク
フイールドから成る。この例では、端末102は、
あて先端末番号DAとして“3”を、自端末番号
SAとして“2”を送出する。これら端末番号は、
呼び出し信号送出部83が起動される前に、送受
信制御部87によつて、端末番号保持部81及び
入出力装置50より、呼び出し信号送出部83に
送出され、一時的に格納されている。
At time t3 , when time 2τ has elapsed since time t1 , the terminal 10 2
Then, the timer 60 times up (YES in step 106), and the transmission/reception control unit 87 acquires the transmission right. There is data to be sent (step 107)
YES), the transmission/reception control section 87 first activates the calling signal sending section 83 and sends the calling signal E.
is sent to the serial data bus 20 via the P/S converter 31 (step 112). Here, the call signal E includes a call field including inquiry information ENQ, an address field including the destination terminal number (destination address) DA to which data should be sent, the own terminal number (source address) SA that is the sender, and a check field. It consists of a check field containing the code BCC. In this example, terminal 10 2 is
Set "3" as the destination terminal number DA and the own terminal number.
Send “2” as SA. These terminal numbers are
Before the calling signal sending unit 83 is activated, the transmission/receiving control unit 87 sends the terminal number holding unit 81 and the input/output device 50 to the calling signal sending unit 83 and temporarily stores it.

この送出された呼び出し信号Eは、各端末で、
S/P変換部32を介して呼び出し信号検出部8
5で検出される(ステツプ112、ステツプ113の
YES及びステツプ114のYES)。次に、端末102
では、送受信制御部87が、読出し書込み制御信
号R/を読出し(ハイレベル)にすると共に、
アドレス線ADよりアドレスを順次送出すること
により、送信データ格納エリア71に格納されて
いる送信データを、送出すべきデータがなくなる
まで送出し続ける(ステツプ115及びステツプ116
のNO)。一方、端末102以外の端末では、呼び
出し信号検出部85は、先ず呼び出し信号Eの中
の問合せ情報ENQを検出したことにより、先ず
呼び出し信号検出信号を、続いて呼び出し信号E
の中のアドレスフイールドに含まれるあて先アド
レスDAを抽出してその抽出したあて先アドレス
DAを、送受信制御部87に送出する。送受信制
御部87は、この受けとつたあて先アドレスDA
と端末番号保持部81に保持されている自端末番
号Nとを比較する(ステツプ117)。この例では、
あて先アドレスDAが“3”であるので、自端末
番号Nが“3”である端末103は、送受信制御
部87が、読出し書込み制御信号R/を書込み
(ロウレベル)にすると共に、アドレス線ADよ
りアドレスを順次送出することにより、受信デー
タ格納エリア72へ呼び出し信号Eの後に続いて
送られてくる受信データを格納する(ステツプ
118)。
This sent out calling signal E is transmitted to each terminal.
Calling signal detection section 8 via S/P conversion section 32
5 (step 112, step 113)
YES and YES in step 114). Next, terminal 10 2
Then, the transmission/reception control section 87 reads out the read/write control signal R/ (high level), and
By sequentially sending addresses from the address line AD, the sending data stored in the sending data storage area 71 continues to be sent until there is no more data to send (steps 115 and 116).
NO). On the other hand, in terminals other than terminal 102 , the paging signal detection section 85 first detects the inquiry information ENQ in the paging signal E, and therefore first detects the paging signal detection signal, and then outputs the paging signal E.
Extract the destination address DA included in the address field in
The DA is sent to the transmission/reception control section 87. The transmission/reception control unit 87 receives the received destination address DA.
and the own terminal number N held in the terminal number holding section 81 (step 117). In this example,
Since the destination address DA is "3", the transmission/reception control unit 87 of the terminal 103 whose own terminal number N is "3" writes (low level) the read/write control signal R/, and also outputs the address line AD. By sequentially sending out addresses from 1 to 3, the received data that is sent after the call signal E is stored in the received data storage area 72 (step
118).

一方、自端末番号Nが“3”ではない端末10
,101及び104は、送受信制御部87が、不
一致信号をタイマ設定部86へ出力する。この不
一致信号を受けとつたタイマ設定部86は、端末
番号保持部81に保持されている自端末番号Nに
対応して予め定められたタイマ値T3を時刻t4でタ
イマ60にセツトする(ステツプ119)。この時刻
t4は、タイマ60がタイムアツプするより前であ
るので、送信権をすでに獲得し、データを送出し
ている端末102以外の端末で、送信権を獲得す
るということはなく、送信権の競合を防止でき、
1つの端末のみのデータがシリアルデータバス2
0上に送出される。この例では、端末102が送
信状態、端末103が受信状態、それ以外の端末
100,101,104が同期信号待ち状態である。
On the other hand, terminal 10 whose own terminal number N is not "3"
0 , 10 1 and 10 4 , the transmission/reception control section 87 outputs a mismatch signal to the timer setting section 86 . Upon receiving this discrepancy signal, the timer setting unit 86 sets a predetermined timer value T 3 in the timer 60 at time t 4 corresponding to the own terminal number N held in the terminal number holding unit 81 ( Step 119). this time
Since t4 is before the timer 60 times up, no terminal other than the terminal 102 that has already acquired the transmission right and is transmitting data will acquire the transmission right, and there will be no conflict for the transmission right. can be prevented,
Data from only one terminal is transferred to serial data bus 2
Sent on 0. In this example, the terminal 10 2 is in a transmitting state, the terminal 10 3 is in a receiving state, and the other terminals 10 0 , 10 1 , and 10 4 are in a synchronization signal waiting state.

ここで、タイマ値T3は、次式で表わされる。 Here, the timer value T3 is expressed by the following equation.

T2=(W+N)×τ ……(4) 同期信号待ち状態である端末では、信号監視部
88が、上記不一致信号により起動され、シリア
ルデータバス20上に信号があるか否かを監視し
(ステツプ120)、信号がある場合、信号あり信号
をタイマ設定部86へ出力する。タイマ設定部8
6では、この信号あり信号を受け取る毎に、タイ
マ値T3をタイマ60にセツトする(ステツプ
119)。従つて、一たんタイマ値T3をセツトした
後、タイマ60がタイムアツプする前に信号監視
部88がシリアルデータバス20上の信号を検出
すれば、ステツプ119→121→122→120→119のル
ープ或いはステツプ121→122→120→121のループ
上を動作し続けることになる。
T 2 = (W+N)×τ (4) In the terminal waiting for a synchronization signal, the signal monitoring unit 88 is activated by the above-mentioned mismatch signal and monitors whether or not there is a signal on the serial data bus 20. (Step 120) If there is a signal, a signal present signal is output to the timer setting section 86. Timer setting section 8
In step 6, a timer value T3 is set in the timer 60 every time this signal is received.
119). Therefore, once the timer value T3 is set, if the signal monitoring section 88 detects a signal on the serial data bus 20 before the timer 60 times up, the loop of steps 119→121→122→120→119 is completed. Alternatively, the loop of steps 121→122→120→121 continues.

さて、データを送出している端末102では、
データの送出が時刻t5で終了する(ステツプ116
のYES)と、送受信制御部87は同期信号送出
部82を起動して同期信号Sをシリアルデータバ
ス20へ送出させる(ステツプ103)。この送出さ
れた同期信号Sは、各端末において、同期信号検
出部84で検出される(ステツプ103、ステツプ
122のYES、及びステツプ123のYES)。上述した
のと同様に、同期信号検出部84は同期信号検出
信号を出力するが、この信号は信号監視部88へ
も出力されており、この信号を受けとつた信号監
視部88は動作を停止する。以下の動作は、上述
と同様であつて、今度は、端末100が時刻t6
送信権を獲得し、呼び出し信号E、データ、及び
同期信号Sを送出している。
Now, on terminal 102 that is sending data,
Data transmission ends at time t5 (step 116).
(YES), the transmission/reception control section 87 activates the synchronization signal sending section 82 to send out the synchronization signal S to the serial data bus 20 (step 103). This sent synchronization signal S is detected by the synchronization signal detection section 84 in each terminal (step 103,
122 YES and step 123 YES). As described above, the synchronization signal detection section 84 outputs a synchronization signal detection signal, but this signal is also output to the signal monitoring section 88, and the signal monitoring section 88 that receives this signal stops operating. do. The following operation is similar to that described above, and this time, the terminal 10 0 acquires the transmission right at time t 6 and sends out the paging signal E, data, and synchronization signal S.

第3図bでは、端末が第2図のステツプ107を
送信権を獲得してデータを送出している例を示し
た。これに対し、第3図cは、端末が第2図のス
テツプ110で送信権を獲得してデータを送出して
いる例を示している。
FIG. 3b shows an example in which the terminal acquires the transmission right in step 107 of FIG. 2 and sends data. On the other hand, FIG. 3c shows an example in which the terminal acquires the transmission right in step 110 of FIG. 2 and sends data.

第3図cを参照すると、時刻t3までの動作は、
第3図aと同様であるので、そのときまでの動作
説明は省略する。
Referring to Figure 3c, the operation up to time t3 is as follows:
Since this is the same as that shown in FIG. 3a, the explanation of the operation up to that point will be omitted.

端末101において、タイマ60がタイムラツ
プする(ステツプ109のYES)と、送受信制御部
87は送信権を獲得し、送出すべきデータがある
(ステツプ110のYES)ので、呼び出し信号E、
データ及び同期信号Sを送出する(ステツプ112、
115、116及び103)。
In the terminal 101 , when the timer 60 time-laps (YES in step 109), the transmission/reception control unit 87 acquires the transmission right and there is data to be sent (YES in step 110), so the call signal E,
Send data and synchronization signal S (step 112,
115, 116 and 103).

ところで、ある端末がデータ等を送出している
途中で、その端末が故障等により、データ等の送
出を停止してしまう場合がある。その場合、同期
信号Sは、その端末が送出するはずになつている
にもかかわらず、送出されない。このままの状態
であると、それ以後、システム全体が動作不能状
態に陥つてしまう。本発明では、このような場合
も考慮して、同期信号待ち状態の端末が同期信号
Sを送出するようにしている。以下、このことに
ついて、第3図dのタイムチヤートを参照して説
明する。
By the way, while a certain terminal is transmitting data etc., the terminal may stop transmitting data etc. due to a failure or the like. In that case, the synchronization signal S is not sent out even though the terminal is supposed to send it out. If this state continues, the entire system will become inoperable from then on. In the present invention, in consideration of such a case, a terminal in a state of waiting for a synchronization signal sends out a synchronization signal S. This will be explained below with reference to the time chart of FIG. 3d.

時刻t0で、端末100は同期信号Sを送出し
(ステツプ103)、各端末では、同期信号検出部8
4がこの同期信号Sを検出し(ステツプ103、ス
テツプ104のYES)、タイマ設定部86はタイマ
値T1を時刻t1でタイマ60にセツトする(ステツ
プ105)。端末101では、時刻t1から時間τ経過
した時刻t2で送信権を獲得し、送出すべきデータ
がある(ステツプ107のYES)ので、呼び出し信
号E及びデータを送出する(ステツプ112、115)。
ここで呼び出し信号Eの中のアドレスフイールド
に含まれるあて先アドレスDAが“4”であると
すると、端末104は、呼び出し信号Eを検出し
(ステツプ113のYES)、自端末宛である(ステツ
プ117のYES)ので、データを受信する(ステツ
プ118)。一方、端末100,102,103は、呼
び出し信号Eを検出し(ステツプ117のNO)、自
端末宛でない(ステツプ117のNO)ので、タイ
マ設定部86がタイマ値T3をタイマ60にセツ
トする(ステツプ119)。従つて、端末101が送
信状態、端末104が受信状態、端末100,10
,103が同期信号待ち状態となつている。
At time t0 , the terminal 100 sends out the synchronization signal S (step 103), and each terminal detects the synchronization signal detection section 8.
4 detects this synchronizing signal S (YES in steps 103 and 104), and the timer setting section 86 sets the timer value T 1 in the timer 60 at time t 1 (step 105). The terminal 101 acquires the transmission right at time t2 , which is a time τ elapsed from time t1 , and since there is data to be transmitted (YES in step 107), it transmits the paging signal E and the data (steps 112 and 115). ).
Assuming that the destination address DA included in the address field in the paging signal E is "4", the terminal 104 detects the paging signal E (YES in step 113) and the call signal is addressed to its own terminal (step 117 (YES), the data is received (step 118). On the other hand, the terminals 10 0 , 10 2 , and 10 3 detect the calling signal E (NO in step 117), and since it is not addressed to their own terminal (NO in step 117), the timer setting unit 86 sets the timer value T 3 to the timer 60. (Step 119). Therefore, the terminal 10 1 is in the transmitting state, the terminal 10 4 is in the receiving state, and the terminals 10 0 , 10
2 and 10 3 are waiting for a synchronization signal.

さて、送信状態の端末101がデータを送出し
ている間、同期信号待ち状態の端末100,10
,103では、信号監視部88が信号あり信号を
タイマ設定部86に出力するので、タイマ60に
はタイマ値T3がセツトされ続けられ、タイマ6
0がタイムアツプすることはない。しかしなが
ら、端末100が時刻t3で故障して、データの送
出を停止したとする。それ以後、同期信号待ち状
態の端末100,102,103では、信号監視部
88が信号あり信号をタイマ設定部86へ出力し
ない。従つて、端末100では、タイマ60が時
刻t3から時間5τ経過した時刻t4でタイムアツプし
(ステツプ121のYES)、タイムアツプ信号を送受
信制御部87へ出力する。送受信制御部87はこ
のタイムアツプ信号を受けとると送信権を獲得す
る。送受信制御部87は、送出すべきデータがな
い(ステツプ124のNO)ので、同期信号送出部
82を起動して同期信号Sを送出させる(ステツ
プ103)。
Now, while the terminal 10 1 in the transmitting state is transmitting data, the terminals 10 0 and 10 in the synchronization signal waiting state
2 and 10 3 , the signal monitoring unit 88 outputs a signal presence signal to the timer setting unit 86, so the timer value T 3 continues to be set in the timer 60, and the timer value T 3 continues to be set in the timer 60.
0 never times up. However, assume that the terminal 100 fails at time t3 and stops sending data. After that, in the terminals 10 0 , 10 2 , and 10 3 that are waiting for a synchronization signal, the signal monitoring section 88 does not output a signal present signal to the timer setting section 86 . Therefore, in the terminal 10 0 , the timer 60 times up at time t 4 when 5τ has elapsed from time t 3 (YES in step 121 ), and outputs a time-up signal to the transmission/reception control section 87 . When the transmission/reception control section 87 receives this time-up signal, it acquires the transmission right. Since there is no data to be transmitted (NO in step 124), the transmission/reception control section 87 activates the synchronizing signal transmitting section 82 to transmit the synchronizing signal S (step 103).

なお、上記実施例では、データ送信側端末は、
呼び出し信号Eを送出後、直ちにデータ受信側端
末へデータを送出しているが、データ受信側端末
は、この呼び出し信号Eを受信後に応答信号A
(肯定応答情報ACK、送り元アドレスSA、あて
先アドレスDA及びチエツク符号BCCを含む。)
をデータ送信側端末へ送出し、データ送信側端末
は、この応答信号Aを受信後にデータをデータ受
信側端末へ送出するようにしても良い。更に、呼
び出し信号Eの中にデータ長情報を含んでも良
く、データ受信側端末は、データの受信終了に再
び応答信号Aを送出するようにしても良い。
Note that in the above embodiment, the data sending terminal is
Immediately after sending the calling signal E, data is sent to the data receiving terminal, but the data receiving terminal receives the response signal A after receiving the calling signal E.
(Includes acknowledgment information ACK, source address SA, destination address DA, and check code BCC.)
The response signal A may be sent to the data sending terminal, and the data sending terminal may send the data to the data receiving terminal after receiving the response signal A. Furthermore, data length information may be included in the calling signal E, and the data receiving terminal may send out the response signal A again upon completion of data reception.

〔発明の効果〕〔Effect of the invention〕

以上の説明で明らかなように、本発明によれ
ば、各端末は、自端末或いは他の端末が送信する
同期信号によつて、それぞれ異なつたタイマ値を
タイマにセツトし、そのタイマのタイムアツプに
よつて、端末の送信獲得権のタイミングをそれぞ
れの端末で制御しているので、送信権の競合を防
止することができる。従つて、従来使用されてい
るポーリング方式の欠点であつたマスターコント
ローラを不要とし、システムを安価に構成でき
る。さらに、端末の台数がふえた場合でも、ポー
リングに不要な時間を費やさずにすむ。又、本発
明では、すべての端末が呼び出し側になることが
できるので、各端末相互のデータ伝送が可能であ
る。更に、ある端末がデータ伝送中に故障したと
しても、システム全体の障害を防止することがで
きる。
As is clear from the above description, according to the present invention, each terminal sets a different timer value in a timer depending on the synchronization signal transmitted by the terminal itself or another terminal, and adjusts the time-up of the timer. Therefore, since the timing of each terminal's transmission acquisition right is controlled by each terminal, it is possible to prevent transmission rights conflicts. Therefore, there is no need for a master controller, which was a drawback of the conventionally used polling method, and the system can be configured at low cost. Furthermore, even when the number of terminals increases, unnecessary time is not wasted on polling. Furthermore, in the present invention, all terminals can serve as calling parties, so data transmission between terminals is possible. Furthermore, even if a certain terminal fails during data transmission, failure of the entire system can be prevented.

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

第1図は本発明による伝送制御方式を実現する
ための端末の一実施例の構成を示したブロツク
図、第2図は第1図の端末の動作を説明するため
のフローチヤート、第3図は本発明の動作を説明
するためのタイムチヤート、第4図は第1図の端
末を使用して本発明による伝送制御方式の適用さ
れるマルチドロツプの一構成例を示したシステム
構成図、第5図は従来のポーリング方式の適用さ
れるマルチドロツプのシステム構成図、第6図は
従来の衝突検出方式を説明するためのフローチヤ
ートである。 100〜104……端末、20……シリアルデー
タバス、30……バストランシーバ、31……
P/S変換部、32……S/P変換部、40……
設定スイツチ、50……入出力装置、60……タ
イマ、70……メモリ、71……送信データ格納
エリア、72……受信データ格納エリア、80…
…制御装置、81……端末番号保持部、82……
同期信号送出部、83……呼び出し信号送出部、
84……同期信号検出部、85……呼び出し信号
検出部、86……タイマ設定部、87……送受信
制御部、88……信号監視部。
FIG. 1 is a block diagram showing the configuration of an embodiment of a terminal for realizing the transmission control method according to the present invention, FIG. 2 is a flowchart for explaining the operation of the terminal in FIG. 1, and FIG. 4 is a time chart for explaining the operation of the present invention, FIG. 4 is a system configuration diagram showing an example of the configuration of a multi-drop to which the transmission control method according to the present invention is applied using the terminal in FIG. 1, and FIG. The figure is a block diagram of a multi-drop system to which the conventional polling method is applied, and FIG. 6 is a flowchart for explaining the conventional collision detection method. 10 0 to 10 4 ... terminal, 20 ... serial data bus, 30 ... bus transceiver, 31 ...
P/S converter, 32...S/P converter, 40...
Setting switch, 50... Input/output device, 60... Timer, 70... Memory, 71... Transmission data storage area, 72... Reception data storage area, 80...
...Control device, 81...Terminal number holding unit, 82...
Synchronous signal sending unit, 83... Calling signal sending unit,
84... Synchronization signal detection section, 85... Calling signal detection section, 86... Timer setting section, 87... Transmission/reception control section, 88... Signal monitoring section.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の端末が1本の伝送路に接続された、い
わゆるマルチドロツプにおいて、上記各端末毎に
互に異なる端末番号を割り当て、上記各端末は、
少なくとも同期情報を含む同期フイールドと自端
末番号を含む第1のアドレスフイールドとを有す
る同期信号を上記伝送路に送出するための同期信
号送出手段と、上記伝送路上の同期信号を検出す
る同期信号検出手段と、少なくとも呼び出し情報
を含む呼び出しフイールドとデータを送出すべき
あて先端末番号を含む第2のアドレスフイールド
とを有する呼び出し信号を上記伝送路に送出する
ための呼び出し信号送出手段と、上記伝送路上の
呼び出し信号を検出する呼び出し信号検出手段
と、上記同期信号検出手段で検出された同期信号
の中の上記第1のアドレスフイールドに含まれる
端末番号と自端末番号とから予め定められた演算
式に従つて求められた第1のタイマ値がセツトさ
れる第1のタイマと、該第1のタイマがタイムア
ツプする前までに上記呼び出し信号検出手段で呼
び出し信号が検出されなければ、該第1のタイマ
がタイムアツプしたときに第1の送信権を獲得す
る第1の送信権獲得手段と、該第1の送信権獲得
手段で第1の送信権を獲得したときに送出すべき
データがなければ予め定められた第2のタイマ値
がセツトされる第2のタイマと、該第2のタイマ
がタイムアツプする前までに上記同期信号検出手
段で同期信号が又は上記呼び出し信号検出手段で
呼び出し信号が検出されなければ、該第2のタイ
マがタイムアツプしたときに第2の送信権を獲得
する第2の送信権獲得手段と、上記伝送路上に信
号があるか否かを監視する信号監視手段と、上記
呼び出し信号検出手段で検出された呼び出し信号
の中の上記第2のアドレスフイールドに含まれる
あて先端末番号が自端末番号と一致しないときに
起動され、上記信号監視手段により上記伝送路上
に信号があると判定される毎に自端末番号に対応
して予め定められた第3のタイマ値がセツトされ
る第3のタイマと、該第3のタイマがタイムアツ
プする前までに上記同期信号検出手段で上記同期
信号が検出されなければ、該第3のタイマがタイ
ムアツプしたときに第3の送信権を獲得する第3
の送信権獲得手段と、該第3の送信権獲得手段又
は上記第2の送信権獲得手段で上記第3又は第2
の送信権を獲得した時に、送出すべきデータがな
ければ、上記同期信号送出手段を起動して上記伝
送路へ同期信号を送出させ、上記第1、第2又は
第3の送信獲得手段で上記第1、第2又は第3の
送信権を獲得した時に、送出すべきデータがあれ
ば、上記伝送路へ、先頭に上記呼び出し信号送出
手段を起動して呼び出し信号を、続いて上記送出
すべきデータを、該データの送出終了後に上記同
期信号送出手段を起動して同期信号を順次送出さ
せる送信制御手段と、上記呼び出し信号検出手段
で検出された呼び出し信号の中の上記第2のアド
レスフイールドに含まれるあて先端末番号が自端
末番号と一致したとき、続いて送られてくるデー
タを受信する手段とを有することを特徴とする伝
送制御方式。
1. In a so-called multi-drop where multiple terminals are connected to one transmission path, each terminal is assigned a different terminal number, and each terminal is
a synchronization signal sending means for sending out a synchronization signal having at least a synchronization field containing synchronization information and a first address field containing an own terminal number to the transmission path; and a synchronization signal detection device for detecting the synchronization signal on the transmission path. a paging signal transmitting means for transmitting a paging signal to the transmission path, the paging signal having at least a paging field containing paging information and a second address field containing a destination terminal number to which data is to be sent; A call signal detection means for detecting a call signal, and a terminal number included in the first address field in the synchronization signal detected by the synchronization signal detection means and the own terminal number according to a predetermined calculation formula. A first timer is set to the first timer value obtained by a first transmission right acquisition means that acquires the first transmission right when a time-up occurs; a second timer to which a second timer value is set; and if a synchronization signal is not detected by the synchronization signal detection means or a call signal is detected by the call signal detection means before the second timer times out; , a second transmission right acquisition means for acquiring a second transmission right when the second timer times up; a signal monitoring means for monitoring whether or not there is a signal on the transmission path; and a paging signal detection means. It is activated when the destination terminal number included in the second address field in the call signal detected by the means does not match the own terminal number, and the signal monitoring means determines that there is a signal on the transmission path. a third timer in which a predetermined third timer value corresponding to the own terminal number is set for each terminal number; and the synchronization signal is detected by the synchronization signal detection means before the third timer times up. If not, the third timer acquires the third transmission right when the third timer times out.
the third or second transmission right acquisition means; and the third transmission right acquisition means or the second transmission right acquisition means.
If there is no data to be transmitted when the transmission right is acquired, the synchronization signal sending means is activated to send a synchronization signal to the transmission path, and the first, second or third transmission acquisition means When the first, second, or third transmission right is acquired, if there is data to be sent, the calling signal sending means should be activated first to send the calling signal, and then the above calling signal should be sent to the transmission path. The data is transmitted to the transmission control means which activates the synchronization signal transmission means to sequentially transmit the synchronization signals after the transmission of the data is completed, and the second address field in the call signal detected by the call signal detection means. 1. A transmission control system comprising: means for receiving subsequently transmitted data when a destination terminal number included matches the own terminal number.
JP17769485A 1985-08-14 1985-08-14 Control system for transmission in multi-drop Granted JPS6238639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17769485A JPS6238639A (en) 1985-08-14 1985-08-14 Control system for transmission in multi-drop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17769485A JPS6238639A (en) 1985-08-14 1985-08-14 Control system for transmission in multi-drop

Publications (2)

Publication Number Publication Date
JPS6238639A JPS6238639A (en) 1987-02-19
JPH0439939B2 true JPH0439939B2 (en) 1992-07-01

Family

ID=16035470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17769485A Granted JPS6238639A (en) 1985-08-14 1985-08-14 Control system for transmission in multi-drop

Country Status (1)

Country Link
JP (1) JPS6238639A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59117351A (en) * 1982-12-23 1984-07-06 Nec Corp Bus type communication system
JPS59122151A (en) * 1982-12-28 1984-07-14 Nec Corp Communication system by bus connection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59117351A (en) * 1982-12-23 1984-07-06 Nec Corp Bus type communication system
JPS59122151A (en) * 1982-12-28 1984-07-14 Nec Corp Communication system by bus connection

Also Published As

Publication number Publication date
JPS6238639A (en) 1987-02-19

Similar Documents

Publication Publication Date Title
US4332027A (en) Local area contention network data communication system
US5122794A (en) Dual master implied token communication system
US4988990A (en) Dual master implied token communication system
US4337465A (en) Line driver circuit for a local area contention network
US5166678A (en) Dual master implied token communication system
JP2863653B2 (en) Microcomputer with built-in communication device
JPH02235457A (en) Communication network
JPH0659058B2 (en) Bit-oriented communication network
JPH07112201B2 (en) Method and apparatus for assigning addresses to remote terminals in a LAN
JPH0424702A (en) Control system
JPH0439938B2 (en)
JPH0439939B2 (en)
JP3459075B2 (en) Synchronous serial bus method
WO2021010166A1 (en) Serial communication method and serial communication system
JPH0343657B2 (en)
JPS6238636A (en) Acquisition system for transmission right in multi-drop
JP2821320B2 (en) Home bus protocol controller
JPS6238638A (en) Acquisition system for transmission right in multi-drop
JP4774620B2 (en) Information communication method and information communication system
JPH0362335B2 (en)
JP2630077B2 (en) Clock synchronous serial interface
JP2731878B2 (en) Communication device
JPH0131816B2 (en)
JPH05204849A (en) Synchronous serial bus system
JPH0122300Y2 (en)

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees