JPS645786B2 - - Google Patents

Info

Publication number
JPS645786B2
JPS645786B2 JP15872780A JP15872780A JPS645786B2 JP S645786 B2 JPS645786 B2 JP S645786B2 JP 15872780 A JP15872780 A JP 15872780A JP 15872780 A JP15872780 A JP 15872780A JP S645786 B2 JPS645786 B2 JP S645786B2
Authority
JP
Japan
Prior art keywords
transmission
circuit
frame
flip
data transmission
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
Application number
JP15872780A
Other languages
Japanese (ja)
Other versions
JPS5781747A (en
Inventor
Masahiro Tada
Eiichi Uozumi
Hiroshi Yamaguchi
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 Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP15872780A priority Critical patent/JPS5781747A/en
Publication of JPS5781747A publication Critical patent/JPS5781747A/en
Publication of JPS645786B2 publication Critical patent/JPS645786B2/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/427Loop networks with decentralised control
    • H04L12/433Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 本発明はループ伝送システムにおけるデータ伝
送制御方式に関し、特に競合防止のための送信制
御を行なうデータ伝送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transmission control system in a loop transmission system, and more particularly to a data transmission control system that performs transmission control to prevent contention.

複数のデータ伝送装置により共用される一本の
ループ伝送路をメツセージ単位に時分割で多重化
送信して行なう方式においては、各伝送装置から
の送信メツセージが前記ループ伝送路上で衝突し
ないようにするために、ある時刻においては高々
一個のデータ伝送装置のみが伝送路上にメツセー
ジを送出するような制御が行われる。
In a method in which a single loop transmission path shared by multiple data transmission devices is multiplexed and transmitted message by message in a time-division manner, messages transmitted from each transmission device must be prevented from colliding on the loop transmission path. Therefore, control is performed such that at most one data transmission device transmits a message on the transmission path at a certain time.

この制御では、ループ伝送路に特定のマスタ制
御装置を接続し、このマスタ制御装置が次に送信
を許可すべきデータ伝送装置を選択し、それに送
信を指示するということが行われている。この方
式ではマスタ制御装置の設置が必須なため、それ
が故障するとループ伝送路全体のシステムダウン
につながるのでマスタ制御装置の二重化または予
備系統の設置等が要求される。
In this control, a specific master control device is connected to the loop transmission path, and this master control device selects the next data transmission device to be permitted to transmit, and instructs it to transmit. This system requires the installation of a master control device, and if it fails, the entire loop transmission line will be brought down, so duplication of the master control device or installation of a backup system is required.

また、送信と次の送信との間で常にマスタ制御
装置に一旦制御が移るのでそのためのオーバヘツ
ドがかかることになるという欠点がある。
Another drawback is that control is always temporarily transferred to the master control device between transmissions, resulting in overhead.

本発明の目的はメツセージ多重化方式のループ
伝送システムにおいて特定のマスタ制御装置を不
要にしたデータ伝送制御方式を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transmission control method that eliminates the need for a specific master control device in a message multiplexing loop transmission system.

本発明の他の目的は、特定のマスタ制御装置を
不要にし、ある送信が終了したときに一旦マスタ
制御装置に送信権を戻すというオーバヘツドをな
くしたデータ伝送制御方式を提供することにあ
る。
Another object of the present invention is to provide a data transmission control system that eliminates the need for a specific master control device and eliminates the overhead of temporarily returning the transmission right to the master control device when a certain transmission is completed.

本発明の方式は、データ伝送路と、該データ伝
送路にそれぞれが接続されかつ前記ループ伝送路
を介して行なうデータ送信用送信権を確保するた
めのアドレス情報フイールドを有するフレーム情
報を送信する複数のデータ伝送装置とを具備し、
送信メツセージがループ伝送路上で衝突しないよ
うにするためにある時刻においては1個のデータ
伝送装置のみが前記ループ伝送路上にメツセージ
を送出するようなループ伝送システムにおけるデ
ータ伝送制御方式において、前記複数のデータ伝
送装置のそれぞれは前記フレーム情報が通過する
ごとに初期値にリセツトされるタイマを備え、前
記タイマの計時値が一定値を越えたデータ伝送装
置は特定のフレーム情報を前記ループ伝送路に送
出し該フレーム情報を該データ伝送装置が受信し
たときに前記送信権を獲得するようにしたことを
特徴とする。
The system of the present invention includes a data transmission path, and a plurality of frames each connected to the data transmission path and transmitting frame information each having an address information field for securing transmission rights for data transmission via the loop transmission path. and a data transmission device,
In a data transmission control method in a loop transmission system in which only one data transmission device transmits a message on the loop transmission path at a certain time in order to prevent transmission messages from colliding on the loop transmission path, the plurality of Each of the data transmission devices includes a timer that is reset to an initial value each time the frame information passes, and the data transmission device when the clocked value of the timer exceeds a certain value sends specific frame information to the loop transmission path. The present invention is characterized in that the transmission right is acquired when the data transmission device receives the frame information.

次に本発明について図面を参照して詳細に説明
する。
Next, the present invention will be explained in detail with reference to the drawings.

一般にループ伝送システムは第1図に示すよう
にループ伝送路1とそれに接続された複数台のデ
ータ伝送装置2−1,2−2,…,2−nとから
構成されている。
In general, a loop transmission system is comprised of a loop transmission path 1 and a plurality of data transmission devices 2-1, 2-2, . . . , 2-n connected thereto, as shown in FIG.

本発明において、各データ伝送装置は送信権を
獲得していないときは中継動作を行い送信権を獲
得したときは伝送路1上にメツセージを第2図b
に示すようなフレーム構成で送出することができ
る。
In the present invention, when each data transmission device has not acquired the transmission right, it performs a relay operation, and when it has acquired the transmission right, it transmits a message on the transmission path 1 as shown in FIG.
It can be sent with a frame structure as shown in .

送信権情報は第2図aに示すようなフレーム構
成で伝送路1上に伝送され、この送信権フレーム
を取り込んだデータ伝送装置が送信権を獲得す
る。
The transmission right information is transmitted on the transmission line 1 in a frame structure as shown in FIG. 2a, and the data transmission device that has captured this transmission right frame acquires the transmission right.

第2図においてはFはフレームの始めと終りを
識別するためのフラグであり、実施例では‘
01111110'のビツトパターンで示される。DAは宛
先のアドレスでありフレームを受信するデータ伝
送装置のアドレスである。SAは送信アドレスで
あり、フレームを送出したデータ伝送装置のアド
レスである。なお各データ伝送装置にはシステム
内でユニークなアドレスがそれぞれ付与されてい
る。TKNはこのフレームが送信権フレームであ
ることを表示するための特定のビツトパターンで
ある。(以下TKNを呼ぶ)。Iはこのフレームが
メツセージフレームであることを表示するための
特定のビツトパターンである。FCSはフレームが
正常に伝送されたかどうかを判定するためのチエ
ツクビツトである。
In FIG. 2, F is a flag for identifying the beginning and end of a frame, and in the embodiment, '
It is indicated by a bit pattern of 01111110'. DA is the destination address and the address of the data transmission device that receives the frame. SA is a transmission address, which is the address of the data transmission device that sent the frame. Note that each data transmission device is assigned a unique address within the system. TKN is a specific bit pattern to indicate that this frame is a transmission right frame. (hereinafter referred to as TKN). I is a specific bit pattern to indicate that this frame is a message frame. FCS is a check bit to determine whether the frame has been transmitted normally.

いずれのデータ伝送装置にも送信要求がない場
合には送信権フレームは伝送路上を廻つている。
このとき送信権フレームのDAフイールドは、全
てのデータ伝送装置が受信できるように決められ
た特定のアドレス(グローバルアドレスと呼び、
実施例では‘11111111'のビツトパターン)であ
る。
If there is no transmission request in any data transmission device, the transmission right frame is circulating on the transmission path.
At this time, the DA field of the transmission right frame is a specific address (called a global address) that is determined so that all data transmission devices can receive it.
In the example, the bit pattern is '11111111').

今あるデータ伝送装置に送信要求が発生したも
のとする。するとそのデータ伝送装置は送信権フ
レームが自分の所に到達したときに該フレームを
受信して送信権を獲得する。このとき伝送路の下
流方向に対しては送信権フレームを無効化する。
Assume that a transmission request is generated in an existing data transmission device. Then, when the transmission right frame reaches its location, the data transmission device receives the frame and acquires the transmission right. At this time, the transmission right frame is invalidated in the downstream direction of the transmission path.

次に送信メツセージのフレームを伝送路上に送
出する。送信メツセージのフレームの送出が終る
と送信権フレームは伝送路上に送出され、送信権
が伝送路上に戻される。
Next, the frame of the transmitted message is sent out onto the transmission path. When the transmission of the transmission message frame is completed, the transmission right frame is sent out onto the transmission path, and the transmission right is returned to the transmission path.

送信権フレームは伝送路上で高々1個しか存在
しないように制御しなければならないのでマスタ
制御装置が存在せず全てのデータ伝送装置が平等
であるようなシステムでは、その発生方法に工夫
が必要である。
Since the transmission right frame must be controlled so that at most one frame exists on the transmission path, in a system where there is no master control device and all data transmission devices are equal, it is necessary to devise a method for generating it. be.

本発明の方式では各データ伝送装置は送信要求
が発生している間計時を続けるタイマを有する。
このタイマは送信権フレームを検出する度に初期
値にセツトされる。初期値は各データ伝送装置間
で異なつた値が予め設定されている。システムに
電源を投入した直後又は何んらかの事情で送信権
フレームが消滅した場合にはこのタイマがタイム
アウトを発生する。すると該データ伝送装置は仮
に送信権を獲得し特定のフレームを伝送路に送出
する。実施例ではこの特定フレームはDA=SA
=自アドレスのTKNフレームである。該特定フ
レームが伝送路を一周して受信側で検出された場
合には、他のいずれのデータ伝送装置も送信権を
獲得していないことを意味するので正式に送信権
を獲得してメツセージの送信を開始する。
In the system of the present invention, each data transmission device has a timer that continues to measure time while a transmission request is occurring.
This timer is set to the initial value each time a transmission right frame is detected. Different initial values are set in advance for each data transmission device. This timer times out immediately after the system is powered on or when the transmission right frame disappears for some reason. Then, the data transmission device temporarily obtains the transmission right and sends a specific frame to the transmission path. In the example, this particular frame is DA=SA
= TKN frame of own address. If the specific frame goes around the transmission path and is detected on the receiving side, it means that no other data transmission device has acquired the right to transmit, so it must formally acquire the right to transmit and send the message. Start sending.

一定時間以内に該特定フレームを受信側で検出
しない場合には他のいずれかのデータ伝送装置が
仮または正式に送信権獲得状態にある恐れがある
ので仮り獲得した送信権を放棄してタイマ計時を
やり直す。
If the receiving side does not detect the specific frame within a certain period of time, there is a possibility that some other data transmission device has temporarily or officially acquired the transmission right, so the temporarily acquired transmission right is abandoned and the timer starts counting. Start over.

第3図に本発明の一実施例を示す。 FIG. 3 shows an embodiment of the present invention.

第3図においてデータ伝送装置2には伝送路1
−INからの信号が供給され、伝送路1−OUTに
信号が出力される。伝送路1−INからの信号は
復調回路20で復調され、データが信号線101
に、クロツクが信号線102にそれぞれ出力され
る。信号線101はゼロ除去回路21に締結さ
れ、フレーム内情報の透過性を確保するために五
つ連続したビツト‘1'の次に送信側で挿入された
ビツト‘0'が除去され、信号線103に出力され
る。フレーム内情報の透過性を確保するためのビ
ツト‘0'の挿入/除去の技術については、通信回
線における「ハイレベルデータリンク制御手順」
の一部として公知である。信号線104の信号は
ゼロ除去回路21の出力線で‘0'除去を行なつた
ときのみ論理‘1'になりアンド回路3に与えられ
てクロツク信号線102からのクロツクの信号線
105への出力を制御する。信号線105の信号
はカウンタ24に供給される。信号線101のデ
ータはフラグ検出回路25およびアポート検出回
路26にも与えられており、フラグおよび7ビツ
ト以上15ビツト未満の連続した論理‘1'のパター
ンであるアポートパターンを検出したとき信号線
106および107にそれぞれ論理‘1'が出力さ
れる。フラグおよびアポートパターンの検出につ
いては、前記「ハイレベルデータリンク制御手
順」の一部として知られており、例えば、アポー
トパターン検出回路26は論理‘1'が連続して7
ビツト以上15ビツト未満の数だけ与えられたとき
論理‘1'を出力するカウンタである。信号線10
1のデータはさらに、他のデータ伝送装置あての
フレームを中継するためにセレクタ40に供給さ
れる。カウンタ24は信号線106を介して与え
られるフラグ検出信号により初期状態に設定され
たあとで信号線105のクロツク数を計数する。
8の倍数、9、17および25の各値を計数したとき
信号線108,109,110および111に論
理‘1'の信号を出力する。‘0'除去後の信号線1
03のデータはシフトレジスタ22に供給されフ
ラグ検出時のビツトから8ビツト(1オクテツ
ト)ごとに信号線112を介して8ビツト長のホ
ールドレジスタ25に保持される。
In FIG. 3, the data transmission device 2 has a transmission line 1.
A signal is supplied from -IN, and the signal is output to transmission line 1-OUT. The signal from the transmission line 1-IN is demodulated by the demodulation circuit 20, and the data is transferred to the signal line 101.
Then, a clock is output to the signal line 102, respectively. The signal line 101 is connected to a zero removal circuit 21, which removes the bit '0' inserted on the transmitting side after five consecutive bits '1' to ensure transparency of information within the frame. 103. The technology for inserting/removing bit '0' to ensure transparency of information in frames is described in the "High-level data link control procedure" for communication lines.
It is known as part of. The signal on the signal line 104 becomes a logic ``1'' only when ``0'' is removed from the output line of the zero removal circuit 21, and is applied to the AND circuit 3, where it outputs the clock signal from the clock signal line 102 to the signal line 105. Control output. The signal on signal line 105 is supplied to counter 24 . The data on the signal line 101 is also given to the flag detection circuit 25 and the aport detection circuit 26, and when the flag and the aport pattern, which is a pattern of consecutive logic '1's of 7 bits or more and less than 15 bits, are detected, the data on the signal line 101 is sent to the flag detection circuit 25 and the aport detection circuit 26. Logic '1' is output to and 107, respectively. Detection of flags and aport patterns is known as part of the above-mentioned "high-level data link control procedure."
This is a counter that outputs logic '1' when a number of bits or more and less than 15 bits is given. signal line 10
The data of No. 1 is further supplied to a selector 40 for relaying frames destined for other data transmission devices. The counter 24 counts the number of clocks on the signal line 105 after being set to an initial state by a flag detection signal applied via the signal line 106.
When each value of multiples of 8, 9, 17 and 25 is counted, a logic '1' signal is output to signal lines 108, 109, 110 and 111. Signal line 1 after '0' removal
The data of 03 is supplied to the shift register 22 and held in the 8-bit hold register 25 via the signal line 112 every 8 bits (1 octet) from the bit at the time of flag detection.

ホールドレジスタ25に保持された内容は比較
回路26,27および28で該データ伝送装置自
身のアドレス、グローバルアドレスおよびTKN
とそれぞれ比較され、比較結果が信号線114,
115および116に出力される。これらの結果
はアンド回路29,30,31および32で論理
積がとられ、信号線117,118,119およ
び120に出力されてフラグ検出時のビツトから
数えて、8ビツトの内容(第1オクテツド)が自
身のアドレスと同一であればフリツプフロツプ3
3を、前記第1オクテツトがグローバルアドレス
であればフリツプフロツプ35を、第2オクテツ
ト(前記第1オクテツトの次の8ビツトの内容)
が自身のアドレスと同一であればフリツプフロツ
プ34を、第3オクテツト(前記第2オクテツト
の次の8ビツトの内容)がTKNであればフリツ
プフロツプ36をそれぞれセツトする。フリツプ
フロツプ33,34,35および36からの出力
線121,122,123および124のそれぞ
れは制御回路50に接続され、これらフリツプフ
ロツプ33−36に接続されるリセツト信号線1
25は制御回路50に接続されている。
The contents held in the hold register 25 are compared to the data transmission device's own address, global address and TKN by comparison circuits 26, 27 and 28.
and the comparison results are sent to the signal lines 114 and 114, respectively.
115 and 116. These results are ANDed by AND circuits 29, 30, 31, and 32, and output to signal lines 117, 118, 119, and 120 to obtain the contents of 8 bits (first octet) counting from the bit at the time of flag detection. ) is the same as its own address, flip-flop 3
3, the flip-flop 35 if the first octet is a global address, and the second octet (contents of the next 8 bits after the first octet).
If it is the same as its own address, the flip-flop 34 is set, and if the third octet (contents of the next 8 bits after the second octet) is TKN, the flip-flop 36 is set. Output lines 121, 122, 123 and 124 from flip-flops 33, 34, 35 and 36 are connected to a control circuit 50, respectively, and a reset signal line 1 is connected to these flip-flops 33-36.
25 is connected to a control circuit 50.

シフトレジスタ22からの出力線126を介し
て送出される内容はチエツク回路37およびアン
ド回路38に供給される。信号線121が論理‘
1'であれば該データ伝送装置宛のフレームなので
信号線126の内容は受信バツフア39に格納さ
れる。
The contents sent out from shift register 22 via output line 126 are supplied to check circuit 37 and AND circuit 38. Signal line 121 is logic'
If it is 1', the frame is addressed to the data transmission device, so the contents of the signal line 126 are stored in the reception buffer 39.

セレクタ40は、中継、データ(ユーザデータ
または送信権データ)送信、フラグ送信またはア
ボート送信の各信号のうちいずれか一つを選択す
る回路であり、その出力線128の内容は変調回
路41を介して伝送路1−OUTに出力される。
The selector 40 is a circuit that selects any one of relay, data (user data or transmission right data) transmission, flag transmission, or abort transmission signals, and the contents of the output line 128 are transmitted through the modulation circuit 41. and output to transmission line 1-OUT.

セレクタ42は、送信データとチエツクビツト
とのどちらか一方を選択する回路であり、その出
力線130のデータはゼロ挿入回路44を介し
て、セレクタ40に与えられる。ゼロ挿入回路4
4は前記「ハイレベルデータリンク制御手順」で
公知の技術を使用している。
The selector 42 is a circuit that selects either transmission data or check bits, and the data on its output line 130 is applied to the selector 40 via a zero insertion circuit 44. Zero insertion circuit 4
4 uses a known technique in the above-mentioned "high-level data link control procedure".

セレクタ43はユーザデータと送信権データと
のどちらか一方を選択する回路であり、その出力
線131の内容はセレクタ42とチエツクビツト
発生回路45に与えられる。
The selector 43 is a circuit for selecting either user data or transmission right data, and the contents of its output line 131 are applied to the selector 42 and the check bit generating circuit 45.

各セレクタ回路40,42および43への制御
信号は制御回路50から制御線140,141お
よび142を介して供給される。
Control signals to each selector circuit 40, 42 and 43 are supplied from control circuit 50 via control lines 140, 141 and 142.

次に制御回路50の詳細な構成を第4図を参照
しながら説明する。
Next, the detailed configuration of the control circuit 50 will be explained with reference to FIG.

第4図において、送信ユーザデータがある場合
にはプログラムによりフリツプフロツプ501が
セツトされ、信号線201が論理‘1'になる。こ
の状態でグローバルアドレスをもつ送信権フレー
ムが受信されると信号線123および124が論
理‘1'になりアンド回路502の出力線202が
論理‘1'になり、遅延回路503で遅延されて信
号線203に論理‘1'が出力される。さらに信号
線202の内容はオア回路549を介してエンコ
ーダ550に供給され、エンコーダ550はセレ
クタ40がアボート送信を選択するようにコード
信号を信号線140に出力する。この結果、送信
権フレームは伝送路の下流方向に対し無効化され
る。フラグ検出の信号線106の内容をチエツク
結果の信号線143の内容とはアンド回路504
で論理積がとられ、信号線204を介してアンド
回路505,506および518に入力される。
アンド回路505の出力線205は、送信要求が
あつて送信権フレームのチエツク結果が良い場合
に論理‘1'となり、オア回路507を介してフリ
ツプフロツプ508,509および510がセツ
トされる。
In FIG. 4, when there is user data to be transmitted, flip-flop 501 is set by the program and signal line 201 becomes logic '1'. When a transmission right frame with a global address is received in this state, the signal lines 123 and 124 become logic '1', the output line 202 of the AND circuit 502 becomes logic '1', and the signal is delayed by the delay circuit 503. A logic '1' is output on line 203. Furthermore, the contents of the signal line 202 are supplied to the encoder 550 via the OR circuit 549, and the encoder 550 outputs a code signal to the signal line 140 so that the selector 40 selects abort transmission. As a result, the transmission right frame is invalidated in the downstream direction of the transmission path. The content of the flag detection signal line 106 is checked and the content of the signal line 143 is the AND circuit 504.
A logical AND is performed at , and the result is input to AND circuits 505 , 506 , and 518 via signal line 204 .
The output line 205 of the AND circuit 505 becomes logic '1' when there is a transmission request and the result of checking the transmission right frame is good, and flip-flops 508, 509 and 510 are set via the OR circuit 507.

フリツプフロツプ510のセツト状態は該デー
タ伝送装置が送信中であることを示している。送
信中において、フリツプフロツプ508のセツト
状態はユーザデータフレームの送出中、リセツト
状態は送信権フレームまたはアボートパターン送
出中をそれぞれ示している。
The set state of flip-flop 510 indicates that the data transmission device is transmitting. During transmission, the set state of flip-flop 508 indicates that a user data frame is being sent, and the reset state indicates that a transmission right frame or abort pattern is being sent.

フリツプフロツプ509はフリツプフロツプ5
08の一定時間遅れた状態を作り出すために使用
される。
Flip-flop 509 is flip-flop 5
It is used to create a state delayed by a certain period of time.

フリツプフロツプ508の出力線142はセレ
クタ530およびセレクタ43の制御信号線であ
り、論理‘1'の場合にはユーザデータカウント
(ビツト数)およびユーザデータを、論理‘0'の
場合には送信権データカウント(ビツト数)およ
び送信権データをそれぞれ選択する。ユーザデー
タカウントおよび送信権データカウントの値はプ
ログラムで設定される。
The output line 142 of the flip-flop 508 is a control signal line for the selector 530 and the selector 43, and when the logic is '1', the user data count (number of bits) and the user data are transmitted, and when the logic is '0', the transmission right data is transmitted. Select the count (number of bits) and transmission right data, respectively. The values of the user data count and transmission right data count are set by the program.

オア回路511の出力線207の信号は、オア
回路537およびその出力線144を介してフリ
ツプフロツプ531をセツトしフレームの送出シ
ーケンスを開始する。信号線144の信号はさら
にオア回路538を介してカウンタ539を初期
状態にする。また第3図におけるチエツクビツト
発生回路44の初期設定信号としても使用され
る。
The signal on output line 207 of OR circuit 511, via OR circuit 537 and its output line 144, sets flip-flop 531 to begin the frame transmission sequence. The signal on signal line 144 further sets counter 539 to an initial state via OR circuit 538. It is also used as an initial setting signal for check bit generation circuit 44 in FIG.

カウンタ539はクロツク信号を、ゼロ挿入回
路(第3図の44)が、‘0'挿入したときのみ抑
止して計数し、8および16を計数したときに信号
線233および234をそれぞれ論理‘1'にす
る。
The counter 539 inhibits and counts the clock signal only when the zero insertion circuit (44 in FIG. 3) inserts a '0', and when it counts 8 and 16, the signal lines 233 and 234 are set to logic '1'. ' to.

フリツプフロツプ531の出力線235の状態
はフレームの最初のフラグを送出する間、論理‘
1'になる信号で、カウンタ540のロードおよび
セレクタ40の制御信号の発生のために使用され
る。
The state of output line 235 of flip-flop 531 is logic '' during the transmission of the first flag of the frame.
This signal becomes 1' and is used to load the counter 540 and generate the control signal for the selector 40.

信号線233が論理‘1'になると、すなわち8
クロツク分進むとアンド回路541を介してフリ
ツプフロツプ532がセツトされる。それと同時
にフリツプフロツプ531はリセツトされる。フ
リツプフロツプ532の出力信号はユーザデータ
または送信権データを送出する間、論理‘1'にな
る信号で、その出力線237の信号はセレクタ4
2を制御するための信号を発生するためにエンコ
ーダ547に供給される。
When the signal line 233 becomes logic '1', that is, 8
When the clock advances, flip-flop 532 is set via AND circuit 541. At the same time, flip-flop 531 is reset. The output signal of flip-flop 532 is a signal that becomes logic '1' while transmitting user data or transmission right data, and the signal on output line 237 is a signal that becomes logic '1' while transmitting user data or transmission right data.
2 is supplied to an encoder 547 to generate a signal for controlling the signal.

カウンタ540は信号線235でロードされた
送信データ量からクロツクのタイミングで1ずつ
減算され、その結果が‘0'になると信号線238
に論理‘1'を出力する。信号線238の信号はフ
リツプフロツプ501のリセツト端子、アンド回
路542を介して、フリツプフロツプ533のセ
ツト端子およびフリツプフロツプ532のリセツ
ト端子に供給される他にオア回路538を介して
カウンタ539のクリア動作に使用される。
The counter 540 subtracts 1 from the amount of transmission data loaded on the signal line 235 at clock timing, and when the result becomes '0', the counter 540
outputs a logic '1'. The signal on the signal line 238 is supplied to the reset terminal of the flip-flop 501, the AND circuit 542, the set terminal of the flip-flop 533, and the reset terminal of the flip-flop 532, and is also used to clear the counter 539 via the OR circuit 538. Ru.

フリツプフロツプ533の出力線240はチエ
ツクビツト送出の間(16クロツク分)論理‘1'に
なり、この状態はセレクタ42の制御信号を発生
するためにエンコーダ547に供給される。カウ
ンタ539が値‘16'を計数すると信号線234
が論理‘1'になりアンド回路543の出力線24
1の値は、フリツプフロツプ534をセツトする
とともに、フリツプフロツプ533をリセツト
し、カウンタ539のクリアのためのオア回路5
38への入力となる。
Output line 240 of flip-flop 533 becomes a logic '1' during check bit transmission (for 16 clocks) and this state is provided to encoder 547 to generate the control signal for selector 42. When the counter 539 counts the value '16', the signal line 234
becomes logic '1' and the output line 24 of the AND circuit 543
A value of 1 sets flip-flop 534, resets flip-flop 533, and outputs OR circuit 5 to clear counter 539.
It becomes an input to 38.

フリツプフロツプ534の出力線242はフレ
ームの最後のフラグを送出する間(8クロツク
分)論理‘1'になり、その状態はセレクタ40の
制御信号を発生するためにオア回路548を介し
てエンコーダ550に供給される。
Output line 242 of flip-flop 534 goes to logic '1' during sending out the last flag of the frame (8 clocks) and its state is passed to encoder 550 via OR circuit 548 to generate the control signal for selector 40. Supplied.

カウンタ539が8を計数するとアンド回路5
44の出力線243は論理‘1'になり、フリツプ
フロツプ534、フリツプフロツプ508および
509のリセツトに使用される。
When the counter 539 counts 8, the AND circuit 5
Output line 243 of 44 goes to logic '1' and is used to reset flip-flop 534, flip-flops 508 and 509.

ワンシヨツト回路529の出力線229は、信
号線243の論理‘1'から論理‘0'への変化時点
から一定時間論理‘1'になる。
The output line 229 of the one-shot circuit 529 becomes logic '1' for a certain period of time from the time when the signal line 243 changes from logic '1' to logic '0'.

フリツプフロツプ509のリセツト動作は遅延
回路512で一定時間遅らされる。フリツプフロ
ツプ509の出力線244はフリツプフロツプ5
31および535のセツトを制御する。
The reset operation of flip-flop 509 is delayed by a delay circuit 512 for a certain period of time. The output line 244 of flip-flop 509 is connected to flip-flop 5.
31 and 535.

送信ユーザデータ送出完了直後は遅延回路51
2での遅れ分の時間、信号線244は論理‘1'な
ので、フリツプフロツプ531はセツトされ、フ
リツプフロツプ535はセツトされない。従つて
次の送信権フレームの送出シーケンスが開始され
る。送信権データ送出完了時は信号線244は、
論理‘0なので、フリツプフロツプ531はセツ
トされず、フリツプフロツプ535がセツトされ
る。そしてフリツプフロツプ535の出力線24
5はフリツプフロツプ510をリセツトするとと
もに送信権フレームの後に続く中継データを無効
化するために、送信権フレーム送出後、8ビツト
分の間論理‘1'になり、セレクタ40がアボート
送信を選択するようにエンコーダ550に与えら
れる。
Immediately after the transmission of the user data is completed, the delay circuit 51
During the delay time of 2, signal line 244 is at logic '1', so flip-flop 531 is set and flip-flop 535 is not set. Therefore, the transmission sequence of the next transmission right frame is started. When the sending of the transmission right data is completed, the signal line 244 is
Since it is logic '0', flip-flop 531 is not set and flip-flop 535 is set. and output line 24 of flip-flop 535.
In order to reset the flip-flop 510 and invalidate the relay data following the transmission right frame, the bit 5 becomes logic '1' for 8 bits after sending the transmission right frame, so that the selector 40 selects abort transmission. is applied to encoder 550.

次に送信権回復動作について第5図を参照して
詳細に説明する。
Next, the transmission right recovery operation will be explained in detail with reference to FIG.

前述したように送信要求が発生すると信号線2
01は論理‘1'になる。その結果第5図における
オア回路601の出力線301は論理‘1'になり
ワンシヨツト回路603をトリガし、信号線30
2を一定時間論理‘1'にして、カウンタ604に
初期値Aをロードする。初期値Aは各データ伝送
装置ごとに異なつた値であり、設置時に人手によ
り設定される。
As mentioned above, when a transmission request occurs, signal line 2
01 becomes logic '1'. As a result, the output line 301 of the OR circuit 601 in FIG.
2 is set to logic '1' for a certain period of time, and the initial value A is loaded into the counter 604. The initial value A is a different value for each data transmission device, and is manually set at the time of installation.

アンド回路602は信号線201が論理‘1'
で、送信中を表す信号線212およびフリツプフ
ロツプ607の出力線213が論理‘0'のときに
クロツク信号をカウンタ604に供給し、カウン
タの内容を1ずつ減ずる。
In the AND circuit 602, the signal line 201 is logic '1'.
When the signal line 212 indicating that transmission is in progress and the output line 213 of the flip-flop 607 are at logic '0', a clock signal is supplied to the counter 604, and the contents of the counter are decremented by one.

送信権フレームを検出すると第4図におけるア
ンド回路518の出力線211が論理‘1'にな
り、第5図のオア回路601およびワンシヨツト
回路603を介してカウンタ604に初期値がロ
ードされるので送信権フレームが存在する限りカ
ウンタ604が‘0'になることはない。
When a transmission right frame is detected, the output line 211 of the AND circuit 518 in FIG. 4 becomes logic '1', and the initial value is loaded into the counter 604 via the OR circuit 601 and one shot circuit 603 in FIG. As long as the right frame exists, the counter 604 will never become '0'.

システムに電源を投入した直後または何んらか
の事情で送信権フレームが消滅した場合にはカウ
ンタ604の内容が‘0'になり、その出力線30
5が論理‘1'になりプログラムへの割込みを発生
させる。
Immediately after the power is turned on to the system or when the transmission right frame disappears for some reason, the content of the counter 604 becomes '0' and the output line 30
5 becomes logic '1' and generates an interrupt to the program.

割込まれたプログラムは送信権フレームを特定
フレームにするために送信権バツフア52(第3
図)内のDAフイールドを自アドレス書き換えた
あとで、フリツプフロツプ510(第4図)およ
びフリツプフロツプ607(第5図)をセツトす
る。
The interrupted program transfers the transmission right buffer 52 (third
After rewriting the own address in the DA field in FIG. 4, flip-flop 510 (FIG. 4) and flip-flop 607 (FIG. 5) are set.

フリツプフロツプ510がセツトされると、前
述したフリツプフロツプ508がリセツトされた
ときからの動作と同じ動作が行なわれ、送信権フ
レーム(特定フレーム)が伝送路で送出される。
When the flip-flop 510 is set, the same operation as that from when the flip-flop 508 described above is reset is performed, and a transmission right frame (specific frame) is sent out on the transmission path.

一方フリツプフロツプ607がセツトされ信号
線213が論理‘1'になると、その立上りでワン
シヨツト回路605を介して初期値Bがカウンタ
609にロードされ、アンド回路606を介して
クロツク信号がカウンタ609に供給され、その
内容が1ずつ減じられる。初期値Bは各データ伝
送装置で同一の値である。
On the other hand, when the flip-flop 607 is set and the signal line 213 becomes logic '1', the initial value B is loaded into the counter 609 via the one-shot circuit 605 at the rising edge, and the clock signal is supplied to the counter 609 via the AND circuit 606. , its contents are decremented by one. The initial value B is the same value for each data transmission device.

信号線213の信号は特定フレーム送出後、中
継動作は行なわずカウンタ609の内容が‘0'に
なるまでセレクタ40がアボートパターンを選択
するようにオア回路549(第4図)に与えられ
ている。
The signal on the signal line 213 is applied to an OR circuit 549 (FIG. 4) so that after sending a specific frame, the selector 40 selects the abort pattern without performing any relay operation until the contents of the counter 609 reach '0'. .

特定フレームが受信されると第3図のフリツプ
フロツプ33および36の出力線121および1
24は論理‘1'になり、その結果第4図のアンド
回路506の出力線209はチエツク結果が良で
あれば論理‘1'となる。この結果アンド回路51
5の出力線214は論理‘1'になりオア回路50
7に入力されるので前述した送信権フレームを受
信したときと同様の動作が行われる。
When a particular frame is received, output lines 121 and 1 of flip-flops 33 and 36 in FIG.
24 becomes a logic '1', and as a result, the output line 209 of the AND circuit 506 in FIG. 4 becomes a logic '1' if the check result is good. As a result, AND circuit 51
5 output line 214 becomes logic '1' and OR circuit 50
7, the same operation as when receiving the transmission right frame described above is performed.

一方第5図において信号線209が論理‘1'に
なることにより、フリツプフロツプ607はリセ
ツトされるのでカウンタ604および609の減
算は停止される。
On the other hand, in FIG. 5, when the signal line 209 becomes logic '1', the flip-flop 607 is reset and the subtraction of the counters 604 and 609 is stopped.

特定フレームが一定時間経つても受信されない
とカウンタ609の内容は‘0'になり、その出力
線306は論理‘1'になりワンシヨツト回路61
0をトリガし、信号線307にパルスを発生させ
る。その結果、フリツプフロツプ607はリセツ
トされ、カウンタ604には初期値Aがロードさ
れて前述した動作が繰返えされる。
If a specific frame is not received after a certain period of time, the content of the counter 609 becomes '0', and its output line 306 becomes logic '1', and the one-shot circuit 61
0 to generate a pulse on the signal line 307. As a result, flip-flop 607 is reset, counter 604 is loaded with the initial value A, and the above-described operation is repeated.

特定フレームの送出が2台以上の異なつたデー
タ伝送装置で同時に行われた場合に上記の事象が
発生するので(故障の場合を除く)初期値Aを各
データ伝送装置ごとに異なつた値にしておけば、
何度か繰返えせばいずれか一つのデータ伝送装置
は必ず特定フレームの受信に成功し、消滅した送
信権フレームを回復することができる。
Since the above event occurs when a specific frame is sent simultaneously by two or more different data transmission devices (except in the case of a failure), the initial value A should be set to a different value for each data transmission device. If you leave it there,
If this process is repeated several times, any one data transmission device will definitely succeed in receiving the specific frame and can recover the lost transmission right frame.

本発明には、ループ伝送路におけるデータ伝送
制御において特にマスタ制御装置を必要としない
のでマスタ制御装置を二重化する等の対策を不要
にするという効果がある。
The present invention has the effect of eliminating the need for countermeasures such as duplicating the master control device because a master control device is not particularly required for data transmission control on a loop transmission path.

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

第1図はループ伝送システムを説明するための
図、第2図はフレームの構成を説明するための
図、第3図は本発明の一実施例を示す図、第4図
は第3図の制御回路の詳細な構成を示す図および
第5図は送信権回復制御回路を詳細に示す図であ
る。 第1図から第4図において、1,1−IN,1
−OUT……伝送路、2,2−1,2−2,2−
3,2−4,…2−n……データ伝送装置、20
……復調回路、21……0検出回路、22……シ
フトレジスタ、24……カウンタ、25……ホー
ルドレジスタ、26,28……比較回路、29,
30,32……アンド回路、33,34,36…
…フリツプフロツプ回路、37……チエツク回
路、39……受信バツフア、40,42,43…
…セレクタ、41……変調回路、44……0挿入
回路、45……チエツクビツト発生回路、50…
…制御回路、539,540,604,609…
…カウンタ、547,550……エンコーダ、5
01,508,509,510,531,53
2,533,534,535,607……フリツ
プフロツプ、600……送信権回復制御回路、5
29,603,605……ワンシヨツト回路。
FIG. 1 is a diagram for explaining the loop transmission system, FIG. 2 is a diagram for explaining the structure of a frame, FIG. 3 is a diagram showing an embodiment of the present invention, and FIG. 4 is a diagram for explaining the structure of a frame. A diagram showing the detailed configuration of the control circuit and FIG. 5 are diagrams showing the transmission right recovery control circuit in detail. In Figures 1 to 4, 1, 1-IN, 1
-OUT...Transmission line, 2, 2-1, 2-2, 2-
3, 2-4,...2-n...data transmission device, 20
... Demodulation circuit, 21 ... 0 detection circuit, 22 ... Shift register, 24 ... Counter, 25 ... Hold register, 26, 28 ... Comparison circuit, 29,
30, 32...AND circuit, 33, 34, 36...
...Flip-flop circuit, 37...Check circuit, 39...Reception buffer, 40, 42, 43...
...Selector, 41...Modulation circuit, 44...0 insertion circuit, 45...Check bit generation circuit, 50...
...Control circuit, 539, 540, 604, 609...
...Counter, 547,550...Encoder, 5
01,508,509,510,531,53
2,533,534,535,607...Flip-flop, 600...Transmission right recovery control circuit, 5
29,603,605...One shot circuit.

Claims (1)

【特許請求の範囲】 1 ループ伝送路と、それぞれが該ループ伝送路
に接続されるとともに固有のアドレスを割り当て
られた複数のデータ伝送装置とを具備し、送信権
フレームを獲得した前記データ伝送装置のみが前
記ループ伝送路にメツセージを送信するループ伝
送システムにおけるデータ伝送制御方式におい
て、 前記複数のデータ伝送装置のそれぞれは前記送
信権フレームが通過するごとに初期値にリセツト
されるタイマを備え、 前記タイマの計時値が一定値を越えた前記デー
タ伝送装置は、 自身に割り当てられた前記固有のアドレスを宛
先アドレスとする特定のフレームを前記ループ伝
送路に送出する第1の処理と、 前記特定のフレームの送出から予め定めた時間
内に前記特定のフレームを受信したとき送信権を
獲得する第2の処理と、 前記特定のフレームの送出から前記予め定めた
時間内に前記特定のフレームを受信しないとき自
身の前記タイマをリセツトする第3の処理とを行
なうことを特徴とするループ伝送システムにおけ
るデータ伝送制御方式。
[Scope of Claims] 1. The data transmission device comprising a loop transmission path and a plurality of data transmission devices each connected to the loop transmission path and assigned a unique address, and which has acquired a transmission right frame. In a data transmission control method in a loop transmission system in which only one of the plurality of data transmission devices transmits a message to the loop transmission path, each of the plurality of data transmission devices is provided with a timer that is reset to an initial value every time the transmission right frame passes; The data transmission device whose timer value exceeds a certain value performs a first process of sending a specific frame having the unique address assigned to itself as the destination address to the loop transmission path; a second process of acquiring a transmission right when the specific frame is received within a predetermined time from sending the frame; and not receiving the specific frame within the predetermined time from sending the specific frame. A data transmission control method in a loop transmission system, characterized in that a third process of resetting the timer itself is performed.
JP15872780A 1980-11-11 1980-11-11 Data transmission control system for loop transmission system Granted JPS5781747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15872780A JPS5781747A (en) 1980-11-11 1980-11-11 Data transmission control system for loop transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15872780A JPS5781747A (en) 1980-11-11 1980-11-11 Data transmission control system for loop transmission system

Publications (2)

Publication Number Publication Date
JPS5781747A JPS5781747A (en) 1982-05-21
JPS645786B2 true JPS645786B2 (en) 1989-01-31

Family

ID=15678008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15872780A Granted JPS5781747A (en) 1980-11-11 1980-11-11 Data transmission control system for loop transmission system

Country Status (1)

Country Link
JP (1) JPS5781747A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4494233A (en) * 1983-02-14 1985-01-15 Prime Computer, Inc. Method and apparatus for the detection and regeneration of a lost token in a token based data communications network
JPH0620205B2 (en) * 1983-10-18 1994-03-16 沖電気工業株式会社 Failure handling method for data communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5816376B2 (en) * 1975-06-18 1983-03-31 三菱電機株式会社 Loop Densou Seigiyohoushiki
JPS55154852A (en) * 1979-05-21 1980-12-02 Hitachi Ltd Controller of loop communication channel

Also Published As

Publication number Publication date
JPS5781747A (en) 1982-05-21

Similar Documents

Publication Publication Date Title
US4787083A (en) Bus-method communication network system capable of seizing transmission right by using timer means at each station
JPH0241221B2 (en)
JP2818164B2 (en) Data signal transmission method and apparatus
JPH09181737A (en) Communication method for small scale network
JP2873514B2 (en) Multiplex transmission method
JPS645786B2 (en)
JPH0714161B2 (en) Token ring network recovery method and device
JPH0143499B2 (en)
JPS6342990B2 (en)
US7802150B2 (en) Ensuring maximum reaction times in complex or distributed safe and/or nonsafe systems
US5003460A (en) Method for the transmission of connection data stored in a communication switching system to a data processing system
JP2786101B2 (en) Bus failure detection method
US7124182B2 (en) Method for real-time detection of which units are present on an arcnet
EP0719010A2 (en) Frame removal mechanism for token ring network
JPH01276844A (en) Method for confirming multiple address communication response
JPH0414532B2 (en)
US20020099890A1 (en) Apparatus and method for processing interruptions in a data transmission over a bus
JPS62264744A (en) Frame synchronizing circuit
JPS59117352A (en) Communication system using bus
JPH02272845A (en) System for detecting abnormal frame
JPH0457139B2 (en)
JPS6184939A (en) Loop transmission system by token passing
JPH11205365A (en) Token passing type data transfer system
JPS5825741A (en) Data transferring method
JPH0666803B2 (en) Information transmission method in data transmission system