JPH0720126B2 - Double loop data link system - Google Patents

Double loop data link system

Info

Publication number
JPH0720126B2
JPH0720126B2 JP60163921A JP16392185A JPH0720126B2 JP H0720126 B2 JPH0720126 B2 JP H0720126B2 JP 60163921 A JP60163921 A JP 60163921A JP 16392185 A JP16392185 A JP 16392185A JP H0720126 B2 JPH0720126 B2 JP H0720126B2
Authority
JP
Japan
Prior art keywords
loop
error
demodulation
output
station
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
JP60163921A
Other languages
Japanese (ja)
Other versions
JPS6225536A (en
Inventor
正人 橋本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60163921A priority Critical patent/JPH0720126B2/en
Publication of JPS6225536A publication Critical patent/JPS6225536A/en
Publication of JPH0720126B2 publication Critical patent/JPH0720126B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、2重ループデータリンクシステム、特にレ
シーブ手段とトランスミッタ手段の組み合せを2組と中
央処理装置を有する複数のリンクユニットを、隣り合う
リンクユニットの上記レシーブ手段とトランスミッタ手
段同志を順次接続し、その1台を親局とし他を子局とす
る2重ループデータリンクシステムに関するものであ
る。
The present invention relates to a dual loop data link system, in particular, two sets of receiving means and transmitter means, and a plurality of link units each having a central processing unit. The present invention relates to a dual loop data link system in which the above-mentioned receive means and transmitter means of a link unit are sequentially connected, one of which is a master station and the other is a slave station.

〔従来の技術〕[Conventional technology]

従来のこの種の2重ループデータリンクシステムにおい
ては、それぞれ中央処理装置を有する親局および複数の
子局を有し、親局の中央処理装置と子局の中央処理装置
との間、または、子局の中央処理装置と他の子局の中央
処理装置との間でデータの授受が可能になるように構成
されており、授受されるデータはHDLCの伝送フレーム等
に乗せて伝送される。そして、一方のループを使ってデ
ータリンク中にエラーが生ずると、一旦データリンクを
停止してエラー箇所の点検を行って補修すると共に他方
のループに切換えてデータリンクを再開するようにして
使用される。
A conventional double loop data link system of this type has a master station and a plurality of slave stations each having a central processing unit, and is provided between the central processing unit of the master station and the central processing unit of the slave station, or Data is transmitted and received between the central processing unit of the slave station and the central processing units of other slave stations, and the transmitted and received data is transmitted by being carried on an HDLC transmission frame or the like. If an error occurs during data link using one loop, stop the data link once, check the error point and repair it, and switch to the other loop to restart the data link. It

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の2重ループデータリンクシステムは以上のように
構成されているので、エラー発生時は一旦データリンク
を停止すると共にエラー箇所がどこであるかを点検しな
ければならないなどの問題点があった。
Since the conventional double loop data link system is configured as described above, there is a problem in that when an error occurs, the data link must be stopped and the location of the error must be checked.

この発明は上記のような問題点を解消するためになされ
たもので、エラー発生時に健全な伝送経路でデータリン
クを続行できるように高速かつ信頼性高く切換えができ
る2重ループデータリンクシステムを得ることを目的と
する。
The present invention has been made to solve the above problems, and provides a double loop data link system capable of switching at high speed and with high reliability so that a data link can be continued over a sound transmission path when an error occurs. The purpose is to

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

この発明に係る2重ループデータリンクシステムは、レ
シーブ手段とトランスミッタ手段の組み合せ体を2つ有
する1台の親局と、レシーブ手段とトランスミッタ手段
の組み合せ体を2つ有する複数台の子局とを備え、隣り
合う局のトランスミッタ手段とレシーブ手段同志が順次
接続された2重ループデータリンクシステムにおいて、
子局は中央処理装置を有すると共に、それぞれの組み合
せ体についてレシーブ手段の出力を復調すると共に復調
時のエラーをレシーブ手段の出力が所定のルールに基づ
き変調されている信号外の信号であることにより検出す
る復調/復調時エラー検出手段と、この復調/復調時エ
ラー検出手段の復調出力および中央処理装置からの出力
のいずれかを選択出力する選択手段と、この選択手段の
出力を所定のルールに基づき変調してトランスミッタ手
段に入力する変調手段とを有し、それぞれの親局および
子局におけるそれぞれの組み合せ体の選択手段が自組み
合せ体の復調/復調時エラー検出手段の復調出力を選択
出力するように設定されている状態で親局から複数台の
子局を経て親局に戻るようにデータを伝送する第1ルー
プとこの第1ループと逆方向にデータを伝送する第2ル
ープとが形成され、いずれかの子局のいずれかの復調/
復調時エラー検出手段により復調時のエラーが検出され
たとき、この子局の中央処理装置からの出力を選択出力
するように、この組み合せ体の選択手段が切換え設定さ
れるとともに、この中央処理装置は自局を特定する情報
を有するエラー信号を出力し、このエラー信号はこの組
み合せ体の変調手段を介して正常に変調され、この組み
合せ体の側のループにより親局に伝送され、親局は受信
した正常に変調されたエラー信号に基づき第1,第2ルー
プのいずれか一方におけるエラー発生を認知すれば健全
な他方のループによるデータ伝送を行い、第1,第2ルー
プの双方におけるエラー発生を認知すれば、正常に変調
されたエラー信号に基づきそれぞれのエラー発生箇所の
親局側の子局に対して当該子局でループバックされるよ
うに第1,第2ループ間を接続する指令を送出し、ループ
バックによりデータ伝送を行うようにしたものである。
A double loop data link system according to the present invention comprises one master station having two combinations of receive means and transmitter means and a plurality of slave stations having two combinations of receive means and transmitter means. In a dual loop data link system provided with transmitter means and receive means of adjacent stations connected in sequence,
The slave station has a central processing unit, and demodulates the output of the receiving means for each combination, and the error at the time of demodulation is caused by the fact that the output of the receiving means is a signal other than the signal modulated according to a predetermined rule. Demodulation / demodulation error detection means for detection, selection means for selectively outputting either the demodulation output of this demodulation / demodulation error detection means or the output from the central processing unit, and the output of this selection means according to a predetermined rule And a modulation means for performing modulation based on the above and inputting it to the transmitter means, and the selection means for each combination in the respective master and slave stations selectively outputs the demodulation output of the demodulation / demodulation error detection means of its own combination. In such a state, the first loop for transmitting data from the master station to the master station via the plurality of slave stations and returning to the master station and the first loop And the second loop to transmit data in the reverse direction is formed, either one of the slave stations demodulation /
When the demodulation error detecting means detects an error during demodulation, the selecting means of this combination is switched and set so that the output from the central processing unit of this slave station is selectively output. Outputs an error signal having information for identifying its own station, this error signal is normally modulated through the modulation means of this combination, and is transmitted to the master station by the loop on the side of this combination. If an error occurrence in either one of the first and second loops is recognized based on the normally modulated error signal received, data transmission by the other loop that is sound is performed, and an error occurrence in both the first and second loops. If it recognizes, the first and second loops are set so that the slave station loops back to the slave station on the master station side at each error occurrence location based on the normally modulated error signal. It sends a connect command, in which to perform the data transmission on the loop.

〔作 用〕[Work]

この発明における2重ループデータリンクシステムにお
いては、いずれかの子局において、それぞれのループに
対応して設けられ、それぞれレシーブ手段とトランジス
タ手段とを有する組み合せ体のうち、いずれかの組み合
せ体の復調/復調時エラー検出手段により復調時のエラ
ーが検出されたとき、この子局の中央処理装置からの出
力を選択出力するように、この組み合せ体の選択手段が
切換え設定されるとともに、この中央処理装置は自局を
特定する情報を有するエラー信号を出力し、このエラー
信号はこの組み合せ体の変調手段を介して正常に変調さ
れ、この組み合わせ体の側のループにより親局に伝送さ
れ、親局は受信した正常に変調されたエラー信号に基づ
き第1,第2ループのいずれか一方におけるエラー発生を
認知すれば健全な他方のループによるデータ伝送を行
い、第1,第2ループの双方におけるエラー発生を認知す
れば、正常に変調されたエラー信号に基づきそれぞれの
エラー発生箇所の親局側の子局に対して当該子局でルー
プバックされるように第1,第2ループ間を接続する指令
を送出し、ループバックによりデータ伝送を行う。
In the double loop data link system according to the present invention, demodulation / demodulation of any one of the combinations provided in any one of the slave stations corresponding to each loop and each having the receiving means and the transistor means. When an error at the time of demodulation is detected by the time error detecting means, the selecting means of this combination is switched and set so that the output from the central processing unit of this slave station is selectively output. Outputs an error signal having information for identifying its own station, this error signal is normally modulated through the modulation means of this combination, transmitted to the master station by the loop on the side of this combination, and the master station receives it. If an error occurrence in either the first loop or the second loop is recognized based on the normally modulated error signal If data transmission by the other loop is performed and the occurrence of an error in both the first and second loops is recognized, the relevant slave station of the master station side at each error occurrence point is detected based on the normally modulated error signal. A command is sent to connect the first and second loops so that the slave station loops back, and data is transmitted by loopback.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1は親局となるリンクユニット、21〜2n
子局となるリンクユニット、3,4は隣り合うリンクユニ
ット1と同21〜2nのレシーブ手段Rとトランスミッタ手
段D同志を順次接続して、第1ループ、例えばPループ
と第2ループ、例えばSループを形成する接続路として
のケーブルである。
An embodiment of the present invention will be described below with reference to the drawings. First
In the figure, 1 is a link unit which is a master station, 2 1 to 2 n are link units which are slave stations, and 3 and 4 are the receive means R and transmitter means D of the adjacent link units 1 2 1 to 2 n. Are sequentially connected to form a first loop, for example, a P loop and a second loop, for example, an S loop, as a connecting path.

すなわち、この2重ループデンターリンクシステムにお
いては、従来例の場合と同様に、それぞれ中央処理装置
を有する親局1および複数の子局21〜2nを有し、親局1
の中央処理装置といずれかの子局の中央処理装置との
間、子局の中央処理装置と他の子局の中央処理装置との
間などでデータの授受が可能になるように構成されてい
る。
That is, in this double loop denter link system, as in the case of the conventional example, the master station 1 and the plurality of slave stations 2 1 to 2 n each having a central processing unit are provided.
It is configured such that data can be exchanged between the central processing unit of No. 1 and the central processing unit of any of the slave stations, between the central processing unit of the slave station and the central processing units of other slave stations, and the like.

第2図はリンクユニット1、21〜2nの1つの内部構成を
示すブロック図であり、11,12はレシーブ手段Rとトラ
ンスミッタ手段Dの組み合せ体、13は中央処理装置、14
1,142は上記レシーブ手段Rの出力が入力され、このレ
シーブ手段Rの出力を復調すると共にこのレシーブ手段
Rの出力が所定のルールに基づき変調されている信号外
の信号である場合に復調時のエラーを検出出力する復調
/復調時エラー検出手段、例えば、復調および復調時エ
ラー検出回路である。151,152はこの復調および復調時
エラー検出回路141〜142の復調出力と中央処理装置(以
下、CPUと称する)13の出力を選択する選択手段、例え
ば、セレクタである。161,162はセレクタ151,152の出
力を入力とし、このセレクタ151,152の出力に対し、所
定のルールに基づき変調し、変調出力を上記組み合せ体
11,12のトランスミッタ手段Dに供給する変調手段、例
えば、変調回路である。
FIG. 2 is a block diagram showing an internal structure of one of the link units 1, 2 1 to 2 n , 11 and 12 are a combination of the receiving means R and the transmitter means D, 13 is a central processing unit, and 14 is a central processing unit.
Reference numerals 1 and 14 2 receive the output of the receiving means R, demodulate the output of the receiving means R, and demodulate when the output of the receiving means R is a signal other than a signal modulated according to a predetermined rule. It is a demodulation / demodulation error detection means for detecting and outputting a time error, for example, a demodulation and demodulation error detection circuit. Reference numerals 15 1 and 15 2 are selection means, for example, selectors for selecting the demodulation outputs of the demodulation and demodulation error detection circuits 14 1 to 14 2 and the output of the central processing unit (hereinafter referred to as CPU) 13. 16 1, 16 2 as an input the output of the selector 15 1, 15 2, to the output of the selector 15 1, 15 2, modulates based on a predetermined rule, the combined body modulated output
It is a modulation circuit, for example, a modulation circuit, which is supplied to 11, 12 transmitters D.

マンチェスタ符号に基づくHDLCの伝送フレームが伝送さ
れる場合のように、ケーブル3,4にマンチェスタ符号に
よる符号化された信号が伝送される場合を例にとれば、
周知のように、例えば、“1"データにおいては1bitデー
タ時間中に“HからLへ”変化し、“0"データにおいて
は“LからHへ”と変化するので、データ“1"が連続し
て伝送される場合においても、またデータ“0"が連続し
て伝送される場合においてもケーブル3,4により伝送さ
れる信号のレベルは変化する。従って、正常時において
はHDLCの伝送フレームの伝送中もアイドル状態もともに
常にケーブル3,4上の信号レベルは変化する。
Taking the case where a signal encoded by the Manchester code is transmitted to the cables 3 and 4, as in the case where an HDLC transmission frame based on the Manchester code is transmitted,
As is well known, for example, "1" data changes from "H to L" during 1-bit data time, and "0" data changes from "L to H", so data "1" is continuous. The level of the signal transmitted by the cables 3 and 4 is changed even when the data "0" is continuously transmitted. Therefore, in a normal state, the signal level on the cables 3 and 4 always changes both during the transmission of the HDLC transmission frame and during the idle state.

復調および復調時エラー検出回路141,142はケーブル3,
4により伝送されてくる信号のレベルが所定時間内に変
化し、復調可能であれば正常と判定すると共にケーブル
3,4に断線等が発生し、ケーブル3,4により伝送されてく
る信号のレベルが“1"または“0"に固定され、復調不可
能であれば異常があったものと判定し、エラー検出信号
を出力するように構成されている。
Demodulation and demodulation error detection circuits 14 1 and 14 2 are cable 3,
If the level of the signal transmitted by 4 changes within a predetermined time and it can be demodulated, it is judged as normal and the cable
If the signal level transmitted by the cables 3 and 4 is fixed to "1" or "0" due to disconnection etc. in 3 and 4, and it is not possible to demodulate, it is determined that there is an error and an error occurs. It is configured to output a detection signal.

次に動作について説明する。いま、子局22内のセレクタ
151が復調および復調時エラー検出回路141の復調出力を
選択するよう設定されている状態にあり、第1図に示さ
れるPループによるデータリンク中に子局21,22間のP
点でケーブル3が断線したとすると、子局22内の復調お
よび復調時エラー検出回路141がエラーを検出し、この
エラー検出信号をCPU13に供給する。このため、CPU13は
CPU13の出力を選択する状態にセレクタ151を切換え、P
ループによる通常のデータ伝送を中断すると共に、該CP
U13からセレクタ151,変調回路161、トランスミッタ手
段Dを経て子局23に向かって所定の変調が施されたエラ
ー信号LEPを出力して、親局1にケーブル断線を教え
る。
Next, the operation will be described. Now, the selector in the slave station 2 2
15 1 is in a state of being set to select the demodulation output of the demodulation and demodulation error detection circuit 14 1 , and during the data link by the P loop shown in FIG. 1 , P between slave stations 2 1 and 2 2
When the cable 3 is disconnected at a point, demodulation and demodulates time error detection circuit 14 1 in the slave station 2 2 detects an error, and supplies the error detection signal to the CPU 13. Therefore, CPU13
Switching the selector 15 1 to the state of selecting the output of the CPU 13, P
The normal data transmission by the loop is interrupted and the CP
The selector 15 1 from U13, the modulation circuit 16 1, towards the slave station 2 3 via a transmitter means D with an error signal LEP which predetermined modulation has been performed, teach cable break to the master station 1.

なお、子局22で受信されたデータは正常データも復調時
エラー検出回路でエラー検出されたデータもともに常に
変調回路161を経由し、この変調回路161により変調し直
して次局に送信される。従って、復調および復調エラー
検出回路141でエラー検出されたデータも変調し直され
て次局に送られるので、次局の復調および復調時エラー
検出回路141はエラーを検出しない。
Incidentally, the data received by the slave station 2 2 also normal data via the error detection data also both always modulation circuit 16 1 in the demodulation Error detection circuit, to the next station and re-modulated by the modulation circuit 16 1 Sent. Therefore, the data whose error has been detected by the demodulation and demodulation error detection circuit 14 1 is also remodulated and sent to the next station, so that the demodulation and demodulation error detection circuit 14 1 of the next station does not detect an error.

すなわち、復調および復調時エラー検出回路141からエ
ラー検出信号が出力されるのは断線箇所の直後の子局の
みであり、この子局以外の下流の子局は前段の子局から
常に変調回路で変調された信号を受信するので、自局の
エラー検出信号により障害の発生を検出することはな
い。
That is, only the slave station immediately after the disconnection position errors detection signal is output from the demodulation and demodulating the time error detection circuit 14 1, always modulation circuit slave station downstream than the slave station from the preceding slave station Since the signal modulated by is received, the occurrence of a failure is not detected by the error detection signal of the local station.

また、Sループによるデータリンク中に子局21,22間の
S1点でケーブル4が断線したりすると、子局21内の復調
および復調時エラー検出回路142がエラーを検出し、こ
のエラー検出信号をCPU13に供給する。このため、CPU31
はセレクタ152を切換えるとともに該CPU13からセレクタ
152、変調回路162、トランスミッタ手段Dを経て親局1
に向かってエラー信号LESを出力する。なお、エラー信
号LEP,LES,LEWはそれぞれ自局を特定する情報を有して
いる。
Also, during data link by S loop, between slave stations 2 1 and 2 2
If the cable 4 in S 1 points or broken, demodulation and demodulates time error detection circuit 14 2 of the slave station 2 1 detects an error, and supplies the error detection signal to the CPU 13. Therefore, CPU31
Switches the selector 15 2 and the selector from the CPU 13
The master station 1 through 15 2 , the modulation circuit 16 2 and the transmitter means D
The error signal LES is output toward. The error signals LEP, LES, LEW each have information for identifying its own station.

一方、上記Pループによるデータリンク中に子局22,23
間でケーブル3が断線すると共に子局23,24間のS2点で
ケーブル4が断線すると、子局23内のCPU13は復調およ
び復調時エラー検出回路141,142の両方からエラー検出
信号を受ける。このため、CPU13は切換えたセレクタ1
51、変調回路161、トランスミッタ手段Dを経て、子局2
4に向かってP/Sループエラー信号LEWを出力すると同時
に子局22に向かって切換えたセレクタ152、変調回路1
62、トランスミッタ手段Dを経て、P/Sループエラー信
号LEWを出力する。
On the other hand, during the data link by the P loop, the slave stations 2 2 , 2 3
When the cable 3 is disconnected between the slave stations 2 3 and 2 4 and the cable 4 is disconnected at the S 2 point, the CPU 13 in the slave station 2 3 receives both the demodulation and demodulation error detection circuits 14 1 and 14 2 . Receive error detection signal. For this reason, the CPU 13 uses the switched selector 1
5 1 , a modulation circuit 16 1 , a transmitter D, and a slave station 2
Toward the 4 P / S loop error signal when LEW outputs the Dojiniko station 2 2 selector 15 2 is switched towards the modulation circuit 1
6 2 Outputs the P / S loop error signal LEW through the transmitter D.

親局1は上記エラー信号LEP,LES,LEWのいずれかを受け
ると、エラー発生箇所より親局側の子局に対しループバ
ック指示信号、つまり子局内の一方の組み合せ体のレシ
ーブ手段Rとトランスミッタ手段Dを介してケーブル3,
4間を直接接続する指示信号を伝送する。
When the master station 1 receives any of the error signals LEP, LES, LEW, the loopback instruction signal to the slave station on the master station side from the error occurrence point, that is, the receiving means R and the transmitter of one combination in the slave station Cable 3, via means D,
Transmits an instruction signal that directly connects the four.

なお、エラー信号LES,LEPの場合にはループバック指示
信号によりケーブル3,4間を接続するが、従来技術で説
明したように、他方の健全なループでデータリンクを続
行しループバックは行わない。また、エラー信号LEWの
場合は双方のループにエラーが発生しているのでループ
バックを行う。
In the case of the error signals LES and LEP, the cables 3 and 4 are connected by the loopback instruction signal, but as described in the prior art, the data link is continued in the other healthy loop and the loopback is not performed. . In the case of the error signal LEW, since an error has occurred in both loops, loopback is performed.

以下、フローチャートに基づいて動作を具体的に説明す
る。まず、Pループによるデータリンク中、Pループエ
ラー発生における子局の処理を第3図のフローチャート
について説明する。スタート後、Pループエラー発生
時、Sループエラー発生中か否かを判断し(ステップ3
−1)、YesであればP/Sループエラー信号LEWをP/Sルー
プへ送信し(ステップ3−2)、NoであればPループエ
ラー信号LEPをPループへ送信(ステップ3−3)す
る。次いで、LES/LEW受信であるか(ステップ3−
4)、Sループエラー発生であるか否かを判断し(ステ
ップ3−5)、それぞれYesであればステップ3−2に
戻り、Noであれば親局から指示受信か否かを判断(ステ
ップ3−6)する。そして、Yesであれば親局からの指
示に従い、SループをPループへ折り返すループバック
を行い、Noであれば一定時間(他局を送信する伝文を受
信するのを確実にする時間)経過であるか否かを判断し
(ステップ3−7)、Yesであればステップ3−3に戻
り、Noであればステップ3−4に戻る。
Hereinafter, the operation will be specifically described based on the flowchart. First, the processing of the slave station when a P loop error occurs during the data link by the P loop will be described with reference to the flowchart of FIG. After the start, when a P loop error occurs, it is determined whether or not an S loop error is occurring (step 3
-1), if yes, send P / S loop error signal LEW to P / S loop (step 3-2), if no, send P loop error signal LEP to P loop (step 3-3) To do. Next, is LES / LEW reception (step 3-
4), it is determined whether or not an S loop error has occurred (step 3-5). If Yes, the process returns to step 3-2. If No, it is determined whether or not an instruction is received from the master station (step 3-5). 3-6). If Yes, loop back the S loop to the P loop according to the instruction from the master station, and if No, a certain time (time to ensure receipt of a message transmitted to another station) has elapsed. (Step 3-7), the process returns to Step 3-3 if Yes, and the process returns to Step 3-4 if No.

上記Pループデータリンク中、Pループエラー信号LE
P、P/Sループエラー信号LEWを受信した場合における親
局の処理を第4図のフローチャートについて説明する。
スタート後、Pループから他の伝文(他のPループエラ
ー信号LEP、P/Sループエラー信号LEW)を受信したか否
かを判断し(ステップ4−1)、YesであればPループ
上で親局に一番近い子局の発信したものを記憶し(ステ
ップ4−2)、Noであれば一定時間(子局が伝文、つま
りPループエラー信号LEPをP/Sループエラー信号LEWと
変化させるために見込んだ時間)経過であるか否かを判
断する(ステップ4−3)。そして、Noであればステッ
プ4−1に戻り、Yesであれば前記の記憶に従ってSル
ープをPループへ折り返すループバック指示を送信し
(ステプ4−4)、ループバック準備状態へ移行する。
During the above P loop data link, P loop error signal LE
The processing of the master station when the P, P / S loop error signal LEW is received will be described with reference to the flowchart of FIG.
After the start, it is judged whether or not another message (another P loop error signal LEP, P / S loop error signal LEW) is received from the P loop (step 4-1). If Yes, on the P loop Then, the one sent from the slave station closest to the master station is stored (step 4-2), and if No, a fixed time (the slave station sends a message, that is, the P loop error signal LEP is changed to the P / S loop error signal LEW). Then, it is determined whether or not the time that is expected to be changed (step 4-3). Then, if No, the process returns to step 4-1. If Yes, a loopback instruction for returning the S loop to the P loop according to the above-mentioned storage is transmitted (step 4-4), and the process returns to the loopback preparation state.

第5図ではSループデータリンク中Sループエラー発生
における子局の処理を、第6図はSループデータリンク
中、LEP,LEWを受信した場合における親局の処理を示す
フローチャートで、その処理工程は前記第3図、第4図
と同じである。
FIG. 5 is a flowchart showing the processing of the slave station when an S loop error occurs during the S loop data link, and FIG. 6 is a flowchart showing the processing of the master station when LEP and LEW are received during the S loop data link. Is the same as in FIGS. 3 and 4 above.

〔発明の効果〕〔The invention's effect〕

以上に説明したように、この発明における2重ループデ
ータリンクシステムにおいては、いずれかの子局におい
て、それぞれのループに対応して設けられ、それぞれレ
シーブ手段とトランスミッタ手段とを有する組み合せ体
のうち、いずれかの組み合体の復調/復調時エラー検出
手段により復調時のエラーが検出されたとき、この子局
の中央処理装置からの出力を選択出力するように、この
組み合せ体の選択手段が切換え設定されるとともに、こ
の中央処理装置は自局を特定する情報を有するエラー信
号を出力し、このエラー信号はこの組み合せ体の変調手
段を介して正常に変調され、この組み合せ体の側のルー
プにより親局に伝送され、親局は受信した正常に変調さ
れたエラー信号に基づき第1,第2ループのいずれか一方
におけるエラー発生を認知すれば健全な他方のループに
よるデータ伝送を行い、第1,第2ループの双方における
エラー発生を認知すれば、正常に変調されたエラー信号
に基づきそれぞれのエラー発生箇所の親局側の子局に対
して当該子局でループバックされるように第1,第2ルー
プ間を接続する指令を送出し、ループバックによりデー
タ伝送を行うので、ケーブルの断線発生等の場合に断線
直後の子局から正常に変調されたエラー信号が出力さ
れ、すばやく親局に伝えられるとともに、健全な伝送経
路でデータ伝送を行うように親局から一括して切換えの
指示が出され、信頼性の高い高速切換えができるという
効果があり、さらに、データ伝送時外のアイドル時にお
いても変調を行うことができ、従って、アイドル時にお
ける断線発生等の場合も含めて高速切換えが可能にな
り、システム全体の信頼性を向上できる効果がある。
As described above, in the double loop data link system according to the present invention, any one of the combination units provided in each slave station corresponding to each loop and each having the receiving means and the transmitter means When the demodulation / demodulation-time error detection means of the combination detects the error at the time of demodulation, the selection means of the combination is switched and set so as to selectively output the output from the central processing unit of this slave station. At the same time, this central processing unit outputs an error signal having information for identifying its own station, and this error signal is normally modulated through the modulation means of this combination, and is sent to the master station by the loop on the side of this combination. The master station, which is transmitted, receives an error signal in either the first loop or the second loop based on the normally modulated error signal received. If it recognizes that data is transmitted by the other loop that is sound, and if the occurrence of an error in both the first and second loops is recognized, the master station side of each error occurrence point based on the normally modulated error signal. A command to connect the first and second loops is sent to the slave station so that the slave station loops back, and data is transmitted by loopback. An error signal that is normally modulated is output from the slave station and quickly transmitted to the master station, and at the same time, the master station issues a switch instruction to perform data transmission on a sound transmission path, which is highly reliable. There is an effect that high-speed switching is possible, and furthermore, modulation can be performed even during idle time other than during data transmission. Therefore, high-speed switching is possible even when disconnection occurs during idle time. It enables an effect capable of improving overall system reliability.

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

第1図はこの発明の一実施例による2重ループデータリ
ンクシステムの構成図、第2図はリンクユニットの構成
を示すブロック図、第3図乃至第6図はこの発明の動作
を説明するフローチャートである。 1は親局となるリンクユニット、21〜2nは子局となるリ
ンクユニット、13は中央処理装置、141,142は復調およ
び復調時エラー検出回路、151,152はセレクタ、161,1
62は変調回路、Rはレシーブ手段、Dはトランスミッタ
手段。 なお、図中、同一符号は同一または相当部分を示す。
FIG. 1 is a configuration diagram of a double loop data link system according to an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of a link unit, and FIGS. 3 to 6 are flow charts for explaining the operation of the present invention. Is. 1 is a link unit serving as a master station, 2 1 to 2 n are link units serving as slave stations, 13 is a central processing unit, 14 1 and 14 2 are demodulation and error detection circuits at the time of demodulation, 15 1 and 15 2 are selectors, 16 1 , 1
6 2 is a modulation circuit, R is a receive means, and D is a transmitter means. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】レシーブ手段とトランスミッタ手段の組み
合せ体を2つ有する1台の親局と、上記レシーブ手段と
トランスミッタ手段の組み合せ体を2つ有する複数台の
子局とを備え、隣り合う局の上記トランスミッタ手段と
上記レシーブ手段同志が順次接続された2重ループデー
タリンクシステムにおいて、上記子局は中央処理装置を
有すると共に、それぞれの上記組み合せ体について上記
レシーブ手段の出力を復調すると共に復調時のエラーを
上記レシーブ手段の出力が所定のルールに基づき変調さ
れている信号外の信号であることにより検出する復調/
復調時エラー検出手段と、この復調/復調時エラー演出
手段の復調出力および上記中央処理装置からの出力のい
ずれかを選択出力する選択手段と、この選択手段の出力
を上記所定のルールに基づき変調して上記トランスミッ
タ手段に入力する変調手段とを有し、それぞれの上記親
局および子局におけるそれぞれの上記組み合せ体の上記
選択手段が自組み合せ体の上記復調/復調時エラー検出
手段の復調出力を選択出力するように設定されている状
態で上記親局から複数台の上記子局を経て上記親局に戻
るようにデータを伝送する第1ループとこの第1ループ
と逆方向にデータを伝送する第2ループとが形成され、
いずれかの上記子局のいずれかの上記組み合せ体の上記
復調/復調時エラー検出手段により上記復調時のエラー
が検出されたとき、この子局の上記中央処理装置からの
出力を選択出力するように、この組み合せ体の上記選択
出力が切換え設定されるとともに、この中央処理装置は
自局を特定する情報を有するエラー信号を出力し、この
エラー信号はこの組み合せ体の上記変調手段を介して正
常に変調され、この組み合せ体の側のループにより上記
親局に伝送され、上記親局は受信した正常に変調された
上記エラー信号に基づき上記第1,第2ループのいずれか
一方におけるエラー発生を認知すれば健全な他方のルー
プによるデータ伝送を行い、上記第1,第2ループの双方
におけるエラー発生を認知すれば、正常に変調された上
記エラー信号に基づきそれぞれのエラー発生箇所の親局
側の子局に対して当該子局でループバックされるように
上記第1,第2ループ間を接続する指令を送出し、ループ
バックによりデータ伝送を行うことを特徴とする2重ル
ープデータリンクシステム。
1. A single master station having two combinations of receive means and transmitter means, and a plurality of slave stations having two combinations of the receive means and transmitter means. In a dual loop data link system in which the transmitter means and the receive means are connected in sequence, the slave station has a central processing unit, and the output of the receive means is demodulated for each of the combinations and at the time of demodulation. Demodulating / detecting an error by detecting that the output of the receiving means is a signal other than a signal modulated according to a predetermined rule
Demodulation error detection means, selection means for selectively outputting either the demodulation output of the demodulation / demodulation error effect production means or the output from the central processing unit, and the output of this selection means is modulated based on the predetermined rule. And the modulation means for inputting to the transmitter means, and the selection means of each combination in the master station and the slave station outputs the demodulation output of the demodulation / demodulation error detection means of its own combination. A first loop for transmitting data so as to return from the master station to the master station through a plurality of slave stations in a state of being set to selectively output, and data is transmitted in a direction opposite to the first loop. A second loop is formed,
When an error at the time of demodulation is detected by the demodulation / demodulation error detecting means of any combination of any of the slave stations, the output from the central processing unit of the slave station is selectively output. At the same time, the selective output of the combination is switched and set, and the central processing unit outputs an error signal having information for identifying its own station. This error signal is normally transmitted through the modulation means of the combination. And transmitted to the master station by a loop on the side of the combination, and the master station detects an error occurrence in either one of the first and second loops based on the received normally modulated error signal. If it is recognized, data transmission by the other loop that is sound is performed, and if the occurrence of an error in both the first loop and the second loop is recognized, it is based on the normally modulated error signal. Send a command to connect the above 1st and 2nd loops to the slave station on the master station side at each error occurrence point so that the slave station loops back, and perform data transmission by loopback. A double loop data link system characterized by:
JP60163921A 1985-07-26 1985-07-26 Double loop data link system Expired - Lifetime JPH0720126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60163921A JPH0720126B2 (en) 1985-07-26 1985-07-26 Double loop data link system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60163921A JPH0720126B2 (en) 1985-07-26 1985-07-26 Double loop data link system

Publications (2)

Publication Number Publication Date
JPS6225536A JPS6225536A (en) 1987-02-03
JPH0720126B2 true JPH0720126B2 (en) 1995-03-06

Family

ID=15783352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60163921A Expired - Lifetime JPH0720126B2 (en) 1985-07-26 1985-07-26 Double loop data link system

Country Status (1)

Country Link
JP (1) JPH0720126B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5868335A (en) * 1981-10-19 1983-04-23 Anritsu Corp Optical communicating method using data loop way and its controller

Also Published As

Publication number Publication date
JPS6225536A (en) 1987-02-03

Similar Documents

Publication Publication Date Title
JPS58175335A (en) Loop-back controlling system of loop type data transmission system
US20040103113A1 (en) Information transmission system and information transmission method
US3790769A (en) System for fault detection and location on data lines
JPH0720126B2 (en) Double loop data link system
JP2737639B2 (en) Transmission line switching control system
JPH01105637A (en) Integrating method for loop network
JP3082425B2 (en) Transmission line control method for data communication system
JP3656622B2 (en) Remote monitoring control system
JPS62176345A (en) Duplicated system loop transmission control equipment
JP2001286001A (en) Information transmission device for railcar
JPS59107665A (en) Switching system of loop transmission system
JP2682427B2 (en) Failure detection method on loop transmission line
JPS60169255A (en) Duplicated loop communication system
JP2841686B2 (en) Transmission line switching device
JPH04305748A (en) Highly reliable bus
JPH02234254A (en) Data transfer circuit
JPS61237545A (en) Data transmission system
JPS6364934B2 (en)
JPH0234215B2 (en)
JPH07107997B2 (en) Dataway fault location detection method
JP3011134B2 (en) Transmission line switching device
JPH0563715A (en) Slave station fault monitoring system
JPH0229261B2 (en)
JPH046932A (en) Line terminator
JPH06132966A (en) Triplex loop data transmission system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term