JPH0311701B2 - - Google Patents

Info

Publication number
JPH0311701B2
JPH0311701B2 JP58124350A JP12435083A JPH0311701B2 JP H0311701 B2 JPH0311701 B2 JP H0311701B2 JP 58124350 A JP58124350 A JP 58124350A JP 12435083 A JP12435083 A JP 12435083A JP H0311701 B2 JPH0311701 B2 JP H0311701B2
Authority
JP
Japan
Prior art keywords
station
disconnection
information
transmission
stations
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
JP58124350A
Other languages
Japanese (ja)
Other versions
JPS6016743A (en
Inventor
Hitoshi Takeda
Norimasa Kishi
Sunao Suzuki
Minoru Togashi
Tooru Futami
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP58124350A priority Critical patent/JPS6016743A/en
Priority to US06/625,432 priority patent/US4593154A/en
Priority to EP84107946A priority patent/EP0131289A1/en
Publication of JPS6016743A publication Critical patent/JPS6016743A/en
Publication of JPH0311701B2 publication Critical patent/JPH0311701B2/ja
Granted legal-status Critical Current

Links

Classifications

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

Landscapes

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

Description

【発明の詳細な説明】 〓産業上の利用分野〓 この発明は、伝送路の断線が生じた場合にも支
障なく情報の伝送が行なえるようにしたループ型
ネツトワークシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a loop type network system that allows information to be transmitted without any trouble even when a transmission line is disconnected.

〓発明の背景〓 従来のループ型ネツトワークシステムとして
は、例えば、特開昭57−129048号公報に示される
如きものがある。これは、第1図に示す如く、例
えば3つのステーシヨンA,B,Cをそれぞれル
ープ状に一本の伝送路で結合してなるもので、情
報はループの一方向(同図中では矢印で示す如く
左回り)のみへ伝送される。
BACKGROUND OF THE INVENTION An example of a conventional loop type network system is the one disclosed in Japanese Patent Application Laid-Open No. 129048/1983. As shown in Figure 1, for example, three stations A, B, and C are each connected in a loop with a single transmission path, and information is transmitted in one direction of the loop (indicated by an arrow in the figure). It is transmitted only in the counterclockwise direction (as shown).

ところで、上記の如く一本の伝送路によつてル
ープ状に結合されたネツトワークシステムにおい
ては、伝送路の断線が生じた場合には、情報をル
ープの一方向のみへ伝送していたのでは情報が断
線箇所から先へは伝達されなくなつてしまい、シ
ステム全体がダウンすることとなるため、通常、
プールバツク方式を用いてダウン対策を施してい
る。
By the way, in a network system connected in a loop through a single transmission line as described above, if a break in the transmission line occurs, information may be transmitted only in one direction of the loop. Normally, information is no longer transmitted beyond the point of disconnection, causing the entire system to go down.
We use the pool back method to prevent downtime.

これは、例えば、ステーシヨンCからステーシ
ヨンAに情報を伝送するための伝送路L3が断線
した場合には、この伝送路L3の断線をステーシ
ヨンAが検出し、この伝送路L3の断線をステー
シヨンBおよびステーシヨンCへ知らせるととも
に、以後A→B→C→B→A→B→…の如く所定
のタイミングで双方向通信を行なうことによつて
必要な情報を各ステーシヨンへ伝送することがで
きるようにしたものである。
This means that, for example, if the transmission line L3 for transmitting information from station C to station A is disconnected, station A will detect the disconnection of this transmission line L3 and detect the disconnection of this transmission line L3 . In addition to informing stations B and C, the necessary information can be transmitted to each station by performing bidirectional communication at predetermined timings such as A→B→C→B→A→B→... This is how it was done.

上記のように、伝送路に断線が生じた場合のル
ープバツク処理を行なう構成として、第2図に示
す如く、各ステーシヨン(第2図においてはステ
ーシヨンBを代表して示す)には、送受信方向を
切換えるためのスイツチ回路1を備えており、伝
送路が正常な期間は、同図に示す如く情報をルー
プの一方向へ伝送するように、入力ラインInは前
段ステーシヨンAからの伝送路L1に接続され、
出力ラインOUTは次段ステーシヨンCへの伝送
路L2に接続されている。
As shown in Fig. 2, each station (station B is shown as a representative in Fig. 2) is configured to perform loopback processing in the event of a break in the transmission line, as described above. It is equipped with a switch circuit 1 for switching, and when the transmission line is normal, the input line In is connected to the transmission line L1 from the previous station A so that information is transmitted in one direction of the loop as shown in the figure. connected,
The output line OUT is connected to the transmission line L2 to the next stage station C.

そして、断線が発生すると、所定のタイミング
で上記スイツチ回路1が切り替わり、送受信方向
を切換えることとなる。
When a disconnection occurs, the switch circuit 1 is switched at a predetermined timing to switch the transmission/reception direction.

なお、同図中においてCPU2は通信の制御を
行なうマイクロコンピユータ、SCI(シリアル・
コミユニケーシヨン・インターフエイス)3は送
受信信号を入出力するインターフエイスであり、
パラレル/シリアル変換、シリアル/パラレル変
換機能を有するものである。
In the figure, CPU2 is a microcomputer that controls communication, SCI (serial
Communication interface) 3 is an interface for inputting and outputting transmission and reception signals,
It has parallel/serial conversion and serial/parallel conversion functions.

ROM4およびRAM5はメモリ、インターフ
エイス6は入出力ポートであり、このような構成
となつているワンチツプ・マイクロコンピユータ
としては、日立製作所製のHD−6801等がある。
ROM 4 and RAM 5 are memories, and interface 6 is an input/output port. An example of a one-chip microcomputer with such a configuration is HD-6801 manufactured by Hitachi.

上記のネツトワークシステムにおいて伝送され
る情報の構成は、例えば第3図に示す如く、1フ
レームがフレーム識別用マーカスロツトSYNと、
制御データ用の2つのチヤンネルスロツトSLT
1,SLT2および伝送路の断線を知らせる断線
情報スロツトSLT3から構成されており、前記
断線情報を送るためのスロツトSLT3は8ビツ
ト構成となつている。
The structure of the information transmitted in the above network system is, for example, as shown in FIG.
Two channel slots SLT for control data
1, SLT2, and a disconnection information slot SLT3 for notifying disconnection of the transmission line, and the slot SLT3 for sending the disconnection information has an 8-bit configuration.

そして、例えば、ステーシヨンCとステーシヨ
ンAとの間の伝送路L3に断線が生じた場合には、
ステーシヨンAが、ステーシヨンCからの情報が
所定時間を越えても受信されないことから伝送路
L3に断線が生じたことを検出し、以後、上記断
線情報スロツトSLT3の最上位ビツト(MSB)
D7を“1”としたデータ、すなわち[10000000]
の如きデータ、これは2進化16進数で表わせば、
[80H](Hは16進数を示す)のデータを次段ステ
ーシヨンBへ伝送する。
For example, if a disconnection occurs in the transmission line L3 between station C and station A,
Since station A does not receive information from station C for a predetermined period of time, the transmission line
It is detected that a disconnection has occurred in L3 , and from then on, the most significant bit (MSB) of the disconnection information slot SLT3 is
Data with D 7 as “1”, that is, [10000000]
Data like this, if expressed in binary coded hexadecimal, is
The data of [80H] (H indicates a hexadecimal number) is transmitted to the next stage station B.

ステーシヨンBでは、通常伝送路が正常な期間
は、上記断線情報スロツトSLT3の内容が
[00H]であるのが、そのMSBが“1”となつて
いることから伝送路に断線が生じていることを判
別し、同様の断線情報をステーシヨンCへ送ると
ともに、所定時間TB経過後に所定周期T1で伝送
方向の切換を繰り返す。
At station B, during a period when the transmission line is normal, the contents of the disconnection information slot SLT3 are [00H], but since its MSB is "1", it means that there is a disconnection in the transmission line. , and sends similar disconnection information to station C, and repeats switching of the transmission direction at a predetermined period T 1 after a predetermined time T B has elapsed.

同様にして、ステーシヨンCは、上記ステーシ
ヨンBからの断線情報に基づいて、断線が発生し
たことを判別し、以後、所定時間TC経過後に所
定周期T1で繰り返し通信方向を切換える動作に
移る。
Similarly, station C determines that a wire breakage has occurred based on the wire breakage information from station B, and thereafter moves to an operation of repeatedly switching the communication direction at a predetermined period T1 after a predetermined time T C has elapsed.

上記の動作を第4図に模式的に示す。同図にお
いて、断線が生じる以前(断線検出時点tO以前)
においては、各ステーシヨンA,B,Cは伝送方
向が左回り(図中では、Lで示す)で一定であつ
たものが、ステーシヨンAによつて断線が検出さ
れた時点tO以後は、各ステーシヨンは一定周期T1
で繰り返し左回り(L)、右回り(R)と伝送方
向を切換えて双方向通信を行なう。
The above operation is schematically shown in FIG. In the same figure, before the wire breakage occurs (before the wire breakage detection time t O )
In , each station A, B, and C had a constant counterclockwise transmission direction (indicated by L in the figure), but after the time t O when the disconnection was detected by station A, each station The station has a constant period T 1
The transmission direction is repeatedly switched between counterclockwise (L) and clockwise (R) to perform bidirectional communication.

このようにして、伝送路の断線が検出された後
は、各ステーシヨンは、一定周期T1で繰り返し
伝送路を切換える動作に移ることによつて、情報
が全てのステーシヨンへ伝達されることとなる。
In this way, after a break in the transmission line is detected, each station repeatedly switches the transmission line at a constant cycle T1 , thereby transmitting information to all stations. .

しかしながら、上記の如く、双方向通信時に、
通信方向の切換周期が、各ステーシヨン全てにお
いて同一周期T1に設定されている場合には、情
報が送信先ステーシヨンに受信されたか否かの判
別が行なえないため、確実性を得るために、同一
データの送信回数を増加させたり、上記伝送方向
の切換周期を比較的長くする必要があり、伝送速
度が遅くなることとなる。
However, as mentioned above, during two-way communication,
If the communication direction switching cycle is set to the same cycle T1 for all stations, it is impossible to determine whether the information has been received by the destination station. It is necessary to increase the number of data transmissions or to make the switching period of the transmission direction relatively long, which results in a slow transmission speed.

また、上記通信方向の切換周期は、各ステーシ
ヨン毎に内蔵されるタイマを基準として行なうた
めに、これらのタイマ精度のバラツキによつて、
各ステーシヨン毎の通信方向切換タイミングにず
れが生じる虞れがあり、当初は微弱なずれであつ
ても長時間の後には大きくなり、隣接ステーシヨ
ンとの通信方向が全く逆となつてしまう状態があ
り得る(例えば、自ステーシヨンが左回りの場合
に、隣接ステーシヨンが右回りとなつているよう
な状態)。このような場合には、タイマ精度のバ
ラツキによる通信方向切換タイミングのずれが更
に大きくなつて、再び通信方向が同じとなる状態
になるまで送信データの伝送が不可能となつてし
まう。
In addition, since the communication direction switching cycle is based on a timer built into each station, variations in the precision of these timers may cause
There is a risk that a difference may occur in the communication direction switching timing for each station, and even if the difference is small at first, it becomes large after a long time, and the communication direction with the adjacent station may become completely opposite. (For example, when the own station is rotating counterclockwise, the adjacent station is rotating clockwise.) In such a case, the deviation in communication direction switching timing due to variations in timer precision becomes even greater, and it becomes impossible to transmit data until the communication direction becomes the same again.

〓発明の目的〓 この発明は、上記の事情に鑑みてなされたもの
で、その目的とするところは、伝送路に断線が生
じた後のループバツク式の双方向通信を行なう際
に、通信の確実性を向上させ、かつ、伝送方向切
換タイミングのいずれによつて情報の伝送が不可
能となることを防止することのできるループ型ネ
ツトワークシステムを提供することにある。
〓Object of the invention〓 This invention was made in view of the above circumstances, and its purpose is to ensure communication reliability when performing loopback type two-way communication after a disconnection occurs in the transmission line. It is an object of the present invention to provide a loop type network system which can improve performance and prevent information transmission from becoming impossible due to any transmission direction switching timing.

〓発明の構成〓 以下、本発明の構成を第5図のクレーム対応図
を用いて簡単に説明する。
〓Configuration of the Invention〓 The configuration of the present invention will be briefly explained below using the claim correspondence diagram of FIG.

同図に示す如く、本発明のループ型ネツトワー
クシステムは、複数のステーシヨンを一本の伝送
路でループ状に結合して情報の伝達が行なわれる
構成となつている。
As shown in the figure, the loop type network system of the present invention has a configuration in which a plurality of stations are connected in a loop through a single transmission path to transmit information.

そして、各ステーシヨンは、自ステーシヨンと
前段ステーシヨンとの間の伝送路の断線を検出す
る断線検出手段を備え、断線情報伝達手段によつ
て、前記伝送路の断線が発生した場合には断線を
検出したステーシヨンから順次次段ステーシヨン
へ断線の発生を知らせるとともに、タイミング情
報伝達手段によつて、断線情報を受信するまでの
断線箇所からのステーシヨン数に基づいて設定さ
れるタイミング情報を次段ステーシヨンへ伝送す
る。
Each station is equipped with a disconnection detection means for detecting a disconnection in the transmission line between its own station and the preceding station, and the disconnection information transmitting means detects the disconnection when the transmission line is disconnected. In addition, the timing information transmission means transmits timing information set based on the number of stations from the disconnection point until the disconnection information is received to the next station. do.

更に、各ステーシヨンは、前記断線情報および
タイミング情報を受信した場合には、以後、前記
断線箇所から自ステーシヨンまでのステーシヨン
数に基づき、隣接ステーシヨンとは異なるように
設定される周期で送受信方向を切換える伝送方向
切換手段を備えることを特徴とするものである。
Furthermore, when each station receives the disconnection information and timing information, it thereafter switches the transmission and reception direction at a period set to be different from that of the adjacent station based on the number of stations from the disconnection point to the own station. The device is characterized in that it includes a transmission direction switching means.

〓実施例の説明〓 以下、本発明の実施例を第6図以下の図面を用
いて詳細に説明する。
〓Description of Embodiments〓 Hereinafter, embodiments of the present invention will be described in detail with reference to FIG. 6 and subsequent drawings.

本実施例のループ型ネツトワークシステムの構
成は、第1図に示したような従来例のネツトワー
クシステムと同様に複数のステーシヨンA,B,
Cを一本の伝送路でループ状に結合してなるもの
である。また、各ステーシヨンの構成は、第2図
に示したものと同一の構成となつているため、そ
れらの構成図は第1図、第2図を代用する。
The configuration of the loop type network system of this embodiment is similar to the conventional network system shown in FIG.
C is connected in a loop through a single transmission path. Furthermore, since the configuration of each station is the same as that shown in FIG. 2, FIGS. 1 and 2 are used instead for their configuration diagrams.

第6図は、本実施例のループ型ネツトワークシ
ステムを構成するステーシヨンにおいて実行され
る処理の内容を示すフローチヤートである。同図
に示す処理は、第2図のCPU2によつて実行処
理されるものである。
FIG. 6 is a flowchart showing the contents of the processing executed in the stations making up the loop type network system of this embodiment. The process shown in the figure is executed by the CPU 2 in FIG.

以下、同図に示すフローチヤートに基づいて、
本実施例のループ型ネツトワークシステムの通信
制御処理について説明する。
Below, based on the flowchart shown in the same figure,
Communication control processing of the loop type network system of this embodiment will be explained.

各ステーシヨン間で伝送される情報のフオーマ
ツトは、従来例と同様に、第3図に示す如く、1
フレームがフレーム識別用のマーカスロツト
SYNと、3つのデータスロツトSLT1〜3より
構成される。前記データスロツトのうち、SLT
1およびSLT2は、チヤンネルスロツトであり、
各ステーシヨンに接続される端末機器(例えば、
ヘツドランプ、ミラー、ターンシグナルランプ
等)の制御信号データが含まれている。
The format of the information transmitted between each station is the same as in the conventional example, as shown in Figure 3.
The frame has a marker slot for frame identification.
Consists of SYN and three data slots SLT1 to SLT3. Among the data slots, SLT
1 and SLT2 are channel slots,
Terminal equipment connected to each station (e.g.
Contains control signal data for headlamps, mirrors, turn signal lamps, etc.).

そして、SLT3には、8ビツトの断線情報が
含まれている。これは、伝送路に異常がない場合
には2進化16進数データとして表わすと[00H]
(これは、2進表示すれば、[000000000]となる)
の情報である。
SLT3 includes 8-bit disconnection information. If there is no abnormality in the transmission path, this is expressed as binary coded hexadecimal data as [00H].
(If expressed in binary, this becomes [000000000])
This is the information.

そして、伝送路が正常である期間は、各ステー
シヨンともに、第6図のステツプ(1)→(2)→(3)→(4)
→(19)→(20)の処理がなされてループ状の一
方向(従来例と同様にして第1図に示す如く左回
り)へのみ情報の伝達がなされる。
During the period when the transmission path is normal, each station performs steps (1) → (2) → (3) → (4) in Figure 6.
→(19) →(20) are performed, and information is transmitted only in one direction in a loop (counterclockwise as shown in FIG. 1, as in the conventional example).

上記ステツプ(1)の処理は、前記SCI3に受信信
号が入力されているか否かをSCI3の状態によつ
て判別する処理がなされる。
In the process of step (1), it is determined whether or not a received signal is input to the SCI 3 based on the state of the SCI 3.

ステツプ(2)の処理では、SCI3に入力された受
信信号をCPU2内へ読込む処理がなされる。
In the process of step (2), the received signal input to the SCI 3 is read into the CPU 2.

ステツプ(3)の処理では、後述する伝送路断線検
出用のソフトタイマTM1をクリアする処理がな
される。
In the process of step (3), a process of clearing a soft timer TM1 for detecting transmission line disconnection, which will be described later, is performed.

ステツプ(4)では、受信したデータの中のSLT
3の断線情報を読込んで、このSLT3のMSBに
“1”が書込まれているか否かを判別し、MSBが
“0”であれば伝送路は正常であると断定し、
“0”以外であれば断線有りと判定する。
In step (4), the SLT in the received data is
3 reads the disconnection information, determines whether “1” is written in the MSB of this SLT3, and if the MSB is “0”, concludes that the transmission path is normal,
If it is other than "0", it is determined that there is a disconnection.

上記ステツプ(19)では、送信すべきスロツト
のデータをセツトする処理がなされる。これは、
第6図の処理がなされる毎に、データは1スロツ
ト毎に送信される構成となつているためである。
In step (19), processing is performed to set the data of the slot to be transmitted. this is,
This is because the configuration is such that data is transmitted for each slot each time the process shown in FIG. 6 is performed.

ステツプ(20)では、上記ステツプ(19)でセ
ツトされた1スロツト分のデータをSCI3から伝
送路へ出力する処理がなされる。
In step (20), the data for one slot set in step (19) is output from the SCI 3 to the transmission line.

次に、伝送路に断線が生じた場合の処理を、各
ステーシヨン毎に順を追つて以下に説明する。
Next, processing when a disconnection occurs in the transmission line will be explained below in order for each station.

今、例えば、ステーシヨンCからステーシヨン
Aに情報を伝送する伝送路L3に断線が生じたと
すると、まず、ステーシヨンAにおいて、前段ス
テーシヨンCからの情報が受信されないことか
ら、第6図のステツプ(1)の判別結果がNOとな
り、次のステツプ(13)の処理がなされる。
For example, if a disconnection occurs in the transmission line L3 that transmits information from station C to station A, first, station A will not receive the information from the preceding station C, so step (1) in FIG. ) is NO, and the next step (13) is performed.

ステツプ(13)では、ループバツク方式による
双方向通信が実行されているか否かを表わすフラ
グFLG1がONであるか否かの判別が行なわれ、
ステーシヨンAにおいては、この段階ではフラグ
FLG1がまだOFFであるため、その判別結果は
NOとなり、次のステツプ(14)の処理がなされ
る。
In step (13), it is determined whether a flag FLG1 indicating whether or not bidirectional communication using the loopback method is being executed is ON or not.
At station A, at this stage the flag is
Since FLG1 is still OFF, the determination result is
The result is NO, and the next step (14) is processed.

ステツプ(14)では、断線検出用のソフトタイ
マTM1を進める処理がなされ、次のステツプ
(15)においては、前記タイマTM1の内容が予め
設定されたタイマ時間TO以上となつたか否かの
判別がなされる。
In step (14), processing is performed to advance the soft timer TM1 for wire breakage detection, and in the next step (15), it is determined whether the contents of the timer TM1 have exceeded a preset timer time TO . A determination is made.

前記伝送路L3において断線が生じていること
から、上記タイマ時間TOを越えてもステーシヨ
ンCから情報が伝送されることがないため、タイ
マTM1がタイマ時間TOに達した時点で、前段ス
テーシヨンCと自ステーシヨンAとの間の伝送路
L3において断線が発生したと判定し、次のステ
ツプ(16)の処理を実行する。
Since there is a disconnection in the transmission line L3 , no information will be transmitted from the station C even after the timer time TO , so when the timer TM1 reaches the timer time TO , Transmission path between previous station C and own station A
It is determined that a disconnection has occurred at L3 , and the next step (16) is executed.

ステツプ(16)では、上記断線情報用のスロツ
トSLT3のLSB(最小位ビツトDO)に“1”を書
込み、2進化16進数で[01H](Hは16進数を表
わす)の情報とする。
In step (16), "1" is written in the LSB (least significant bit D O ) of the slot SLT3 for wire breakage information, and the information is set to [01H] in binary coded hexadecimal notation (H represents hexadecimal notation).

次にステツプ(17)において、伝送方向切換周
期を発生するソフトタイマT2に所定のタイマ時
間T2をセツトする。しかる後、ステツプ(18)
において断線距離(断線箇所からのステーシヨン
数を示すデータ)を記憶するレジスタMBRK
[01H]を記憶する。これによりステーシヨンA
では断線箇所からの通信経路上のステーシヨン数
が1としてセツトされる。
Next, in step (17), a predetermined timer time T2 is set in the soft timer T2 that generates the transmission direction switching cycle. After that, step (18)
[01H] is stored in the register MBRK that stores the disconnection distance (data indicating the number of stations from the disconnection point). This allows station A
In this case, the number of stations on the communication path from the disconnection point is set to 1.

次に、ステツプ(21)において、ループバツク
式の双方向通信を実行中であることを示すフラグ
FLG1をONとする。
Next, in step (21), a flag indicating that loopback type two-way communication is being executed is set.
Turn on FLG1.

そして、ステツプ(19)およびステツプ(20)
の処理によつて、送信データ、すなわち制御用の
2つのチヤネルスロツトSLT1,SLT2および
上記ステツプ(16)で形成されたSLT3(内容
は01Hである)を次段ステーシヨンBへ送信す
る。
And step (19) and step (20)
Through this process, the transmission data, that is, the two channel slots SLT1 and SLT2 for control, and SLT3 (content is 01H) formed in the above step (16) are transmitted to the next stage station B.

次に、ふたたびステツプ(1)→ステツプ(13)の
処理がなされ、今度は、フラグFLG1がONとな
つているため、ステツプ(6)の処理が次に実行さ
れ、上記タイマTM2の減算処理がなされる。そ
して、ステツプ(7)では前期タイマTM2が0、す
なわちタイマ時間T2が経過したか否かを判別し、
実行結果がNOであればタイマTM2が0になるま
で、そのまま送信状態を維持し、ステツプ(19)、
(20)で上述の送信データを送出する。また、実
行結果がYESであれば、ステツプ(8)で再びタイ
マTM2にタイマ時間T2をセツトした後、ステツ
プ(9)において通信方向の切換処理がなされ、切換
えられた通信方向でT2の時間の間ステツプ
(19)、(20)で上述の送信データを送出する。
Next, the process from step (1) to step (13) is performed again, and this time, since the flag FLG1 is ON, the process in step (6) is executed next, and the subtraction process of the timer TM2 is performed. will be done. Then, in step (7), it is determined whether or not the early timer TM2 is 0, that is, the timer time T2 has elapsed.
If the execution result is NO, the transmission state is maintained until timer TM2 becomes 0, and step (19) is performed.
In (20), the above-mentioned transmission data is sent. If the execution result is YES, the timer time T 2 is set in the timer TM 2 again in step (8), and then the communication direction is switched in step (9), and T 2 is set in the switched communication direction. The above transmission data is sent out in steps (19) and (20) for a period of time.

以後、ステーシヨンAにおいては、ステツプ(1)
→(13)→(6)→(7)→(19)→(20)→……(1)→
(13)→(6)→(7)→(8)→(9)→(19)→(20)→……
の処理が繰り返し実行される。
From then on, at station A, step (1)
→(13)→(6)→(7)→(19)→(20)→……(1)→
(13)→(6)→(7)→(8)→(9)→(19)→(20)→……
The process is executed repeatedly.

すなわち、第7図に示す如く、ステーシヨンA
はステーシヨンCとステーシヨンAとの間での伝
送路の断線を最初に検出した時点taからT2の時間
(第6図においてステツプ(17)でセツトされた
時間)が経過するまで左回り(L)、すなわちステー
シヨンB方向に、SLT1,SLT2,SLT3(内
容は[01H])の送信データを送出し続ける。そ
してT2時間経過後には通信方向が右回り(R)に切
換わり、上記送信データがT2の時間の間(ステ
ツプ8でセツトされタイマTM2の値)、ステーシ
ヨンC方向に送出され続ける(但し、この場合断
線のためステーシヨンCは受信不可)と共に、後
述するようにステーシヨンBから送出される送信
データがT2時間受信される(なお、第7図では
当該T2の間はステーシヨンBは通信方向が左回
り(L)のためのステーシヨンAは受信不能だが、そ
の後受信可能な場合が必ず発生する)。その後、
T2の周期で通信方向を左回り(L)、右回り(R)に繰
り返す切換動作が行われ、切換えられた通信方向
でT2の時間の間送信および受信が行われること
になる。
That is, as shown in FIG.
rotates counterclockwise (from the time t a when a break in the transmission line between station C and station A is first detected until time T 2 (the time set in step (17) in Figure 6) has elapsed. L), that is, continue to send out the transmission data of SLT1, SLT2, and SLT3 (content is [01H]) in the direction of station B. After time T2 has elapsed, the communication direction switches to clockwise (R), and the above transmission data continues to be sent in the direction of station C for the time T2 (value of timer TM2 set in step 8). However, in this case, station C cannot receive data due to a disconnection), and as will be described later, the transmitted data sent from station B is received for T 2 hours (in Fig. 7, during T 2 , station B cannot receive data). Station A, whose communication direction is counterclockwise (L), cannot receive data, but there will always be cases where it can receive data afterwards). after that,
A switching operation is performed repeatedly to rotate the communication direction counterclockwise (L) and clockwise (R) at a cycle of T 2 , and transmission and reception are performed in the switched communication direction for a time period of T 2 .

以上のようにしてステーシヨンAは断線箇所か
らのステーシヨン数が1であることを認識し、ス
テーシヨン数1とT2とにより定めらるタイマ
TM2のタイマ時間(1×T2)を通信方向の切換
周期としている。またステーシヨン数が1である
ことにより断線情報であるSLT3を[01H]と定
め、切換周期T2ごとに通信方向を切換え、切換
周期T2の間、切換えられた通信方向に[01H]
のSLT3を含む送信データを送信するようにし
ている。また切換えられた通信方向の前段のステ
ーシヨンからの送信データがあるときは受信する
ようにしている。
As described above, station A recognizes that the number of stations from the disconnection point is 1, and starts the timer determined by the number of stations 1 and T 2 .
The timer time (1×T 2 ) of TM 2 is used as the communication direction switching cycle. Also, since the number of stations is 1, the disconnection information SLT3 is set as [01H], and the communication direction is switched every switching cycle T 2 , and during the switching cycle T 2 , the switched communication direction is [01H].
I am trying to send transmission data that includes SLT3. Also, if there is transmission data from the preceding station in the switched communication direction, it is received.

次に、ステーシヨンBにおいては、上記ステー
シヨンAから内容が[01H]のSLT3を受信する
ことによつて、ステツプ(1)→(2)→(3)→(4)→(5)の処
理がなされ、ステツプ(5)の実行結果は、最初は
NOであるため、次にステツプ(10)の処理がなされ
る。
Next, station B receives SLT3 whose content is [01H] from station A, and processes steps (1)→(2)→(3)→(4)→(5). The execution result of step (5) is initially
Since the answer is NO, the process of step (10) is performed next.

ステツプ(10)においては、距離データメモリ
MBRKに[02H]を記憶する処理がなされる。こ
れは、断線箇所から自ステーシヨンまでの間のス
テーシヨン数に対応するもので、受信したSLT
3の内容に1を加算する処理がなされ、その加算
結果(このステーシヨンBにおいては[02H]と
なる)が、断線箇所から何番目のステーシヨンで
あるかに相当することとなる。
In step (10), the distance data memory
Processing is performed to store [02H] in M BRK . This corresponds to the number of stations between the disconnection point and the own station, and it corresponds to the number of stations between the disconnection point and the own station.
A process of adding 1 to the contents of 3 is performed, and the addition result ([02H] in this station B) corresponds to the number of the station from the disconnection point.

次にステツプ(11)において、次のステーシヨ
ンCへ送信する断線情報スロツトSLT3に上記
距離データメモリMBRKの内容[02H]をセツト
する。
Next, in step (11), the contents [02H] of the distance data memory MBRK are set in the disconnection information slot SLT3 to be transmitted to the next station C.

そして、ステツプ(12)において自ステーシヨ
ンの通信方向切換周期を発生するためのソフトタ
イマTM2のタイマ時間として、上記距離データ
メモリMBRKの内容と基準タイマ時間T2を掛け合
わせた時間をセツトする。即ち、ステーシヨンB
においては、このタイマTM2のタイマ時間は2T2
となる。
Then, in step (12), the timer time of the soft timer TM2 for generating the communication direction switching cycle of the own station is set to the time obtained by multiplying the contents of the distance data memory MBRK by the reference timer time T2 . . That is, station B
In this case, the timer time of this timer TM 2 is 2T 2
becomes.

しかる後、ステツプ(21)においてフラグ
FLG1をONとした後、ステツプ(19)および
(20)の処理によつて、次のステーシヨンCへ送
信データ(SLT1,SLT2,SLT3)を送出す
る。SLT3の内容はステツプ(11)でセツトさ
れた[02H]である。
After that, the flag is set in step (21).
After turning on FLG1, the transmission data (SLT1, SLT2, SLT3) is sent to the next station C through the processing of steps (19) and (20). The contents of SLT3 are [02H] set in step (11).

その後、ステーシヨンBはステーシヨンA(右
回りに切換えた時はステーシヨンC)から送信デ
ータがあるときは、ステツプ(1)→(2)→(3)→(4)→(5)
→(6)→(7)と進み、またステーシヨンAから送信デ
ータがなくなつた時はステツプ(1)→(13)→(6)→
(7)と進み、ステツプ(7)で2T2にセツトしたソフト
タイマTM2が0になるまで、ステツプ(19)、
(20)でステーシヨンCに上述の送信データ
(SLT1,SLT2,SLT3=[02H])を送出す
る。
After that, when station B receives transmission data from station A (or station C when switching clockwise), it repeats steps (1) → (2) → (3) → (4) → (5).
→ (6) → (7), and when there is no more transmission data from station A, proceed to steps (1) → (13) → (6) →
(7), and continue through steps (19) and 2 until the soft timer TM2 , which was set to 2T2 in step (7), becomes 0.
At (20), the above transmission data (SLT1, SLT2, SLT3=[02H]) is sent to station C.

次に、ソフトタイマTM2が0になつた時ステ
ツプ(7)からステツプ(8)に進み、ステツプ(8)でタイ
マTM2を2T2にセツトし、通信方向をステーシヨ
ンA方向に切換え、さらに2T2にセツトしたソフ
トタイマTM2が0になるまで、上述の送信デー
タ(SLT3=[02H])を送出する。このとき、前
述したステーシヨンAがステーシヨンC方向を通
信方向としているときは、ステーシヨンAはステ
ーシヨンBからの送信データを受信することがで
き、また後述するようにステーシヨンCがステー
シヨンB方向に送信データを送出する時は、ステ
ーシヨンBはその内容を受信することができる。
Next, when the soft timer TM 2 becomes 0, the program proceeds from step (7) to step (8), sets the timer TM 2 to 2T 2 in step (8), switches the communication direction to the station A direction, and then The above transmission data (SLT3=[02H]) is transmitted until the soft timer TM2 set to 2T2 becomes 0. At this time, when the station A mentioned above has its communication direction in the direction of the station C, the station A can receive the transmission data from the station B, and as described later, the station C can send the transmission data in the direction of the station B. When sent, station B can receive the content.

その後、2T2を切換え周期として切換えた通信
方向に2T2の間上述の送信データ(SLT1,SLT
2,SLT3=[02H])を送出すると共に、切換え
た通信方向の前段のステーシヨンからの送信デー
タを受信する。
After that, the above transmission data ( SLT1 , SLT
2, SLT3=[02H]) and receives the transmission data from the previous station in the switched communication direction.

すなわち、第7図に示す如く、ステーシヨンB
は、ステーシヨンAから内容が[01H]のSLT3
を最初に検出した時点tbから2T2の時間(第6図
においてステツプ(12)でセツトされたタイマ
TM2の値)が経過するまで、左回り(L)、すなわ
ちステーシヨンC方向へ、SLT1,SLT2,
SLT3(内容は[02H])の送信データを送出す
る。そして、2T2時間経過後には通信方向が右回
り(R)に切換わり、上記送信データが2T2の時間の
間(ステツプ(8)でセツトされたタイマTM2
値)、ステーシヨンA方向に送出されるとともに、
後述するようにステーシヨンCから送出される送
信データが2T2時間の間受信される。その後、
2T2の周期で通信方向を左回り(L)、右回り(R)に繰
り返す切換え動作が行われ、切換えられた通信方
向で2T2の時間の間送信および受信が行われる。
That is, as shown in FIG.
is SLT3 with content [01H] from station A.
The time 2T 2 from the time tb when tb is first detected (the timer set in step (12) in
SLT1, SLT2 , SLT1, SLT2, counterclockwise (L), that is, toward station C, until
Sends the transmission data of SLT3 (content is [02H]). Then, after 2T 2 hours have elapsed, the communication direction switches to clockwise (R), and the above transmission data is sent in the direction of station A for the time 2T 2 (value of timer TM 2 set in step (8)). Along with being sent out,
As will be described later, transmission data sent from station C is received for 2T 2 hours. after that,
A switching operation is performed to repeat the communication direction from counterclockwise (L) to clockwise (R) at a cycle of 2T 2 , and transmission and reception are performed in the switched communication direction for a period of 2T 2 .

以上のようにしてステーシヨンBは断線箇所か
らのステーシヨン数が2であること認識し、ステ
ーシヨン数2とT2とにより定められるタイマ
TM2のタイマ時間(2×T2)を通信方向の切換
周期としている。またステーシヨン数が2である
ことにより断線情報であるSLT3を[02H]と定
め、切換周期2T2ごとに通信方向を切換え、切換
周期2T2の間、切換えられた通信方向に[02H]
のSLT3を含む送信データを送信するようにし
ている。また、切換えられた通信方向の前段のス
テーシヨンからの送信データがあるときは受信す
るようにしている。
As described above, station B recognizes that the number of stations from the disconnection point is 2, and starts the timer determined by the number of stations 2 and T 2 .
The timer time (2×T 2 ) of TM 2 is used as the communication direction switching cycle. Also, since the number of stations is 2, the disconnection information SLT3 is set as [02H], and the communication direction is switched every switching cycle 2T 2 , and during the switching cycle 2T 2 , the switched communication direction is [02H].
I am trying to send transmission data that includes SLT3. Furthermore, if there is transmission data from the preceding station in the switched communication direction, it is received.

次にステーシヨンCにおいては、上記ステーシ
ヨンBから内容が[02H]のSLT3を受信するこ
とによつて、ステツプ(1)→(2)→(3)→(4)→(5)→(10)

(11)→(12)→(21)→(19)→(20)の処理
が実行され、ステツプ(10)では、距離データメモリ
MBRKには[03H]が記憶され、ステーシヨンC
が断線箇所から3番目のステーシヨンであること
を記憶する。また、ステツプ(12)では、通信方
向切換え周期を設定するソフトタイマTM2のタ
イマ時間として、3T2がセツトされる。
Next, station C receives SLT3 whose content is [02H] from station B, and performs steps (1)→(2)→(3)→(4)→(5)→(10).

The processes of (11) → (12) → (21) → (19) → (20) are executed, and in step (10), the distance data memory
[03H] is stored in M BRK , and station C
It is remembered that is the third station from the disconnection point. Further, in step (12), 3T2 is set as the timer time of the soft timer TM2 that sets the communication direction switching cycle.

そして、第7図に示す如く、ステーシヨンCは
ステーシヨンBからの送信データを最初に検出し
た時点TCから3T2の時間(第6図においてステツ
プ12でセツトされたタイマTM2の値)が経過
するまで、左回り(L)、即ちステーシヨンA方向
へ、SLT1,SLT2,SLT3(内容は[03H])
の送信データが送信され、3T2時間後には通信方
向が右回り(R)に切換わり、上記通信データが3T2
の時間(ステツプ8でセツトされたタイマTM2
の値)、ステーシヨンB方向に送出される。この
とき、ステーシヨンAからの送信データは伝送路
が断線のため受信されない。その後、3T2の時間
周期で通信方向を左回り(L)、右回り(R)に繰返す切
換え動作が行われ、切換えられた通信方向で3T2
の時間毎に送信および受信が行われることにな
る。
Then, as shown in FIG. 7, station C detects transmission data from station B for the first time after 3T2 time (the value of timer TM2 set in step 12 in FIG. 6) has elapsed. Turn counterclockwise (L), that is, toward station A, until SLT1, SLT2, SLT3 (content is [03H])
After 3T 2 hours, the communication direction switches to clockwise (R), and the above communication data becomes 3T 2.
time (timer TM 2 set in step 8)
value), and is sent in the direction of station B. At this time, the transmission data from station A is not received because the transmission line is disconnected. After that, the communication direction is repeatedly switched counterclockwise (L) and clockwise (R) at a time period of 3T 2 , and in the switched communication direction, 3T 2
Transmission and reception will be performed every time.

即ち、ステーシヨンCがステーシヨンBから
SLT3の内容が[02H]の送信データを初めて受
信したとき、ステツプ(1)→(2)→(3)→(4)→(5)→(10)

進み、ステツプ(10)でステーシヨンBから送信され
た[02H]に1を加えた[03H]を距離データメ
モリMBRKにセツトする。これにより、ステーシ
ヨンCは断線箇所から3番目のステーシヨンとし
てセツトされる。そして、距離データメモリ
MBRKにセツトした[03H]をステツプ(11)で
SLT3にセツトし、ステツプ(12)でソフトタ
イマTM2のタイマ時間として3T2をセツトする。
続いてステツプ(21)では双方向通信実施中を示
すFLG1がONされ、ステツプ(19)、(20)で送
信データ(SLT1,SLT2,SLT3=[03H])
をステーシヨンAに送出する。
That is, station C is from station B.
When the transmission data with the content of SLT3 is [02H] is received for the first time, step (1)→(2)→(3)→(4)→(5)→(10)
Then, in step (10), 1 is added to [02H] transmitted from station B, and [03H] is set in the distance data memory MBRK . As a result, station C is set as the third station from the disconnection point. And distance data memory
M BRK set [03H] in step (11)
Set SLT3, and in step (12) set 3T2 as the timer time of soft timer TM2 .
Next, in step (21), FLG1, which indicates that bidirectional communication is in progress, is turned on, and in steps (19) and (20), the transmission data (SLT1, SLT2, SLT3 = [03H]) is turned on.
is sent to station A.

次に、FLG1がONされた後は、ステーシヨン
Bからの送信データがあるときはステツプ(1)→(2)
→(3)→(4)→(5)→(6)→(7)と進み、またステーシヨン
Bからの送信データがないときはステツプ(1)→
(13)→(6)→(7)と進み、ステツプ(7)で3T2にセツ
トしたソフトタイマTM2が0になるまで、ステ
ツプ(19)、(20)でステーシヨンAに上述の送信
データ(SLT1,SLT2,SLT3=[03H])を
送出する。
Next, after FLG1 is turned ON, if there is transmission data from station B, step (1) → (2) is executed.
→(3)→(4)→(5)→(6)→(7), and if there is no transmission data from station B, proceed to step (1)→
The process proceeds in the order of (13) → (6) → (7), and the above-mentioned transmission data is sent to station A in steps (19) and (20) until the soft timer TM 2 set to 3T 2 in step (7) becomes 0. Sends (SLT1, SLT2, SLT3 = [03H]).

次に、ソフトタイマTM2が0になつたときス
テツプ(7)からステツプ(8)に進み、ステツプ(8)でソ
フトタイマTM2を3T2にセツトし、通信方向をス
テーシヨンB方向に切換え、さらに3T2にセツト
したソフトタイマTM2が0になるまで、上述の
送信データ(SLT1,SLT2,SLT3=[03H])
を送出する。このとき、前述したステーシヨンB
がステーシヨンA方向を通信方向としている時に
は、ステーシヨンBはステーシヨンCからステー
シヨンBに送出された上述の送信データ(SLT
1,SLT2,SLT3=[03H])を受信できる。
その後、3T2を切換え周期として切換えた通信方
向に3T2の間上述の送信データ(SLT3=
[03H])を送出すると共に、切換えた通信方向の
前段のステーシヨンからの送信データを受信す
る。
Next, when the soft timer TM 2 becomes 0, the process proceeds from step (7) to step (8), and in step (8), the soft timer TM 2 is set to 3T 2 , and the communication direction is switched to the station B direction. Furthermore, the above transmission data (SLT1, SLT2, SLT3 = [03H]) continues until the soft timer TM 2 set to 3T 2 becomes 0.
Send out. At this time, the station B mentioned above
When the direction of communication is toward station A, station B receives the above-mentioned transmission data (SLT) sent from station C to station B.
1, SLT2, SLT3 = [03H]) can be received.
After that, the above transmission data ( SLT3 =
[03H]) and receives transmission data from the preceding station in the switched communication direction.

以上のようにしてステーシヨンCは断線箇所か
らのステーシヨン数が3であることを認識し、ス
テーシヨン数3とT2とにより定められるタイマ
TM2のタイマ時間(3×T2)を通信方向の切換
周期としている。またステーシヨン数が3である
ことにより、断線情報であるSLT3を[03H]と
定め、切換周期3T2ごとに通信方向を切換え、切
換周期3T2の間、切換えられた通信方向に
[03H]のSLT3を含む送信データを送信するよ
うにしている。また切換えられた通信方向の前段
のステーシヨンからの送信データがあるときは受
信するようにしている。
As described above, station C recognizes that the number of stations from the disconnection point is 3, and starts the timer determined by the number of stations 3 and T 2 .
The timer time (3×T 2 ) of TM 2 is used as the communication direction switching cycle. Also, since the number of stations is 3, SLT3, which is the disconnection information, is set as [03H], and the communication direction is switched every switching cycle 3T 2. During the switching cycle 3T 2 , the switched communication direction is set to [03H]. I am trying to send data that includes SLT3. Also, if there is transmission data from the preceding station in the switched communication direction, it is received.

以上説明したように、この実施例では、断線箇
所からのステーシヨン数に対応して各ステーシヨ
ンの通信方向の切換え周期を隣接ステーシヨンと
異なる値に設定するのて、送信データを送出する
ステーシヨンの通信方向と次段のステーシヨンの
通信方向とが異なり次段のステーシヨンで受信で
きない場合にも必ず短時間のうちに同一の通信方
向となる場合が発生することになる。このため、
各ステーシヨンのタイマ時間の精度が異なつてい
ても必ず隣接ステーシヨンとの間には通信方向が
同一方向となつている期間が確保でき、確実にデ
ータの通信が行えることとなる。
As explained above, in this embodiment, the switching cycle of the communication direction of each station is set to a value different from that of the adjacent station in accordance with the number of stations from the disconnection point, so that the communication direction of the station that sends the transmission data is Even if the communication direction of the next station is different and the next station cannot receive the signal, there will always be a case where the communication direction becomes the same within a short time. For this reason,
Even if the accuracy of the timer time of each station is different, a period in which the communication direction is the same between adjacent stations can be ensured, and data communication can be performed reliably.

次に、上記実施例においては、各ステーシヨン
における通信方向切換周期を、断線箇所からのス
テーシヨン数に比例して順次増大させていく構成
となつているが、この他に、第6図のステツプ
(12)の処理の代わりに、第8図に示す処理を行
なわせることによつても同様の効果を得ることが
できる。
Next, in the above embodiment, the communication direction switching cycle at each station is sequentially increased in proportion to the number of stations from the disconnection point. A similar effect can be obtained by performing the process shown in FIG. 8 instead of the process 12).

すなわち、ステツプ(22)の処理によつて、ス
テツプ(10)において記憶された距離データメモリ
MBRKの内容が偶数であるか否かを判別し、偶数
であれば、ステツプ(24)の処理によつて、通信
方向切換周期を2T2に設定する。また、MBRKの内
容が奇数であれば、ステツプ(23)の処理によつ
て通信方向切換周期をT2に設定する。
That is, through the process of step (22), the distance data memory stored in step (10) is
It is determined whether the content of MBRK is an even number or not, and if it is an even number, the communication direction switching cycle is set to 2T2 by processing in step (24). Furthermore, if the contents of MBRK are an odd number, the communication direction switching period is set to T2 by the process of step (23).

これによつて、第8図に示す如く、断線箇所か
ら奇数番目のステーシヨンA,Cは、断線を知つ
た時点から以後は、周期T2で通信方向を切換え
る動作を行ない、断線箇所から偶数番目のステー
シヨンBにおいては、断線を知つた時点から以後
は、周期2T2で通信方向の切換を実行することと
なる。
As a result, as shown in Fig. 8, the odd-numbered stations A and C from the disconnection point perform an operation to switch the communication direction at a cycle T 2 from the time they learn of the disconnection, and the even-numbered stations A and C from the disconnection point. At station B, from the time when the disconnection is known, the communication direction is switched at a cycle of 2T2 .

このように、断線箇所からのステーシヨン数が
偶数であるか奇数であるかによつて2種類の通信
方向切換周期を設定する構成とすれば、ネツトワ
ークを構成するステーシヨンの数が増加しても、
通信方向切換周期は、最大でも2T2であり、シス
テム全体の通信時間遅れが極度に長くなることを
防止することができる。
In this way, if two types of communication direction switching cycles are set depending on whether the number of stations from the disconnection point is an even number or an odd number, even if the number of stations configuring the network increases, ,
The communication direction switching cycle is 2T2 at maximum, which can prevent the communication time delay of the entire system from becoming extremely long.

〓発明の効果〓 以上詳細に説明したように、本発明のループ型
ネツトワークシステムにあつては、断線が発生し
た後のループバツク式双方向通信を行なう場合
に、隣接ステーシヨンに確実に情報を伝送するこ
とができ、かつ、伝送速度が極端に遅くなること
がない。
〓Effects of the Invention〓 As explained in detail above, in the loop type network system of the present invention, when performing loopback type two-way communication after a disconnection occurs, information can be reliably transmitted to adjacent stations. and the transmission speed will not become extremely slow.

また、各ステーシヨン毎の通信方向切換周期の
誤差によつて、隣接ステーシヨンとの通信が不能
となつてしまうことが防止できる。
Furthermore, it is possible to prevent communication with an adjacent station from becoming impossible due to an error in the communication direction switching period for each station.

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

第1図はループ型ネツトワークシステムのシス
テム構成を示す模式図、第2図は各ステーシヨン
のハード構成を示すブロツク図、第3図は通信デ
ータのフオーマツトを示す図、第4図は従来のル
ープ型ネツトワークシステムにおいて断線が発生
した後の各ステーシヨンの動作を示すタイミング
チヤート、第5図は本発明のクレーム対応図、第
6図は本発明に係るループ型ネツトワークシステ
ムの一実施例における各ステーシヨンにおいて実
行される処理の内容を示すフローチヤート、第7
図は同実施例のシステムにおける各ステーシヨン
の断線検出後の動作を示すタイミングチヤート、
第8図は本発明の他の実施例における各ステーシ
ヨンにおいて実行される処理のうち主要部分を示
すフローチヤート、第9図は同実施例システムに
おける各ステーシヨンの断線検出後の動作を示す
タイミングチヤートである。 A,B,C……ステーシヨン、L1,L2,L3
…伝送路、SLT3……断線情報スロツト、MBRK
……距離データメモリ、TM2……通信方向切換
周期、1……スイツチ回路。
Figure 1 is a schematic diagram showing the system configuration of a loop type network system, Figure 2 is a block diagram showing the hardware configuration of each station, Figure 3 is a diagram showing the format of communication data, and Figure 4 is a diagram of the conventional loop network system. FIG. 5 is a timing chart showing the operation of each station after a disconnection occurs in the loop type network system, FIG. 5 is a diagram corresponding to the claims of the present invention, and FIG. Flowchart showing the contents of processing executed at the station, No. 7
The figure is a timing chart showing the operation after disconnection is detected at each station in the system of the same embodiment.
FIG. 8 is a flowchart showing the main part of the processing executed in each station in another embodiment of the present invention, and FIG. 9 is a timing chart showing the operation after disconnection is detected in each station in the system of the same embodiment. be. A, B, C...Station, L1 , L2 , L3 ...
...Transmission line, SLT3...Disconnection information slot, M BRK
... Distance data memory, TM 2 ... Communication direction switching cycle, 1 ... Switch circuit.

Claims (1)

【特許請求の範囲】 1 複数のステーシヨンを一本の伝送路でループ
状に結合してなり、前記伝送路が正常である期間
はループの一方向のみへ情報を伝送するループ型
ネツトワークシステムにおいて; 前記各ステーシヨンは、自ステーシヨンと前段
ステーシヨンとの間の伝送路の断線を検出する断
線検出手段を備え; 前記伝送路の断線が発生した場合には、断線を
検出したステーシヨンから順次次段ステーシヨン
へ断線の発生を知らせるための断線情報を伝送す
る断線情報伝達手段と; 前記断線情報とともに、断線情報を受信するま
での断線箇所からのステーシヨン数に基づいて各
ステーシヨン毎に順次設定されるタイミング情報
を次段ステーシヨンへ伝送するタイミング情報伝
達手段と; 前記断線情報およびタイミング情報を受信した
場合には、以後、前記タイミング情報に基づき、
隣接ステーシヨンとは異なるように設定される周
期で送受信方向を切換える伝送方向切換手段とを
備えることを特徴とするループ型ネツトワークシ
ステム。
[Claims] 1. In a loop-type network system in which a plurality of stations are connected in a loop through a single transmission path, and information is transmitted only in one direction of the loop while the transmission path is normal. ; Each of the stations is equipped with a disconnection detection means for detecting a disconnection in the transmission line between its own station and the previous station; When a disconnection in the transmission line occurs, the stations sequentially connect to the next station from the station where the disconnection is detected. a disconnection information transmitting means for transmitting disconnection information to notify the occurrence of a disconnection to the disconnection information; together with the disconnection information, timing information that is sequentially set for each station based on the number of stations from the disconnection point until receiving the disconnection information; and a timing information transmitting means for transmitting the information to the next stage station; when the disconnection information and timing information are received, thereafter, based on the timing information,
1. A loop type network system comprising: transmission direction switching means for switching transmission and reception directions at a period set to be different from that of adjacent stations.
JP58124350A 1983-07-08 1983-07-08 Loop form network system Granted JPS6016743A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP58124350A JPS6016743A (en) 1983-07-08 1983-07-08 Loop form network system
US06/625,432 US4593154A (en) 1983-07-08 1984-06-28 Loop-type data transmission/reception network
EP84107946A EP0131289A1 (en) 1983-07-08 1984-07-06 Loop-type data transmission/reception network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58124350A JPS6016743A (en) 1983-07-08 1983-07-08 Loop form network system

Publications (2)

Publication Number Publication Date
JPS6016743A JPS6016743A (en) 1985-01-28
JPH0311701B2 true JPH0311701B2 (en) 1991-02-18

Family

ID=14883198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58124350A Granted JPS6016743A (en) 1983-07-08 1983-07-08 Loop form network system

Country Status (1)

Country Link
JP (1) JPS6016743A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0758974B2 (en) * 1985-11-15 1995-06-21 株式会社東芝 Remote monitoring controller
JPH01129549A (en) * 1987-11-13 1989-05-22 Komatsu Ltd Multiplex data link
JPH01279652A (en) * 1988-05-06 1989-11-09 Komatsu Ltd Series control device

Also Published As

Publication number Publication date
JPS6016743A (en) 1985-01-28

Similar Documents

Publication Publication Date Title
US4530085A (en) Reconfiguration control method for a loop-type data network
US4593154A (en) Loop-type data transmission/reception network
US8615618B2 (en) System and method of transmitting data between devices connected via a bus defining a time slot during transmission for responsive output information from bus devices
JPH0570341B2 (en)
EP0435037B1 (en) Master slave industrial token passing network
JPH0435935B2 (en)
US5105426A (en) Device for detecting the position of broken line in a series controller
EP0451276B1 (en) Serial signal transmission apparatus and method of controlling determination of polarity thereof
JPH0347786B2 (en)
US5163056A (en) Apparatus for carrying out serial control
US4831516A (en) Data transmission system between a main CPU board having a wait signal generating latch and a plurality of CPU boards
JPH0311701B2 (en)
JPH0351143B2 (en)
JPH0126213B2 (en)
JPS58225756A (en) Serial data communication device
EP0390920B1 (en) Series controller
JPS61270952A (en) Data transmitting system
JPH065831B2 (en) Signal frame transmission method
JPS62171349A (en) Communication control equipment
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
JPS645498B2 (en)
JPS59135561A (en) Detecting and transmitting circuit of circuit control signal
JPH0817398B2 (en) Abnormality detection method in data transmission system
JPH08321838A (en) Information transmission device detecting specified frame
JPS61181237A (en) Communication control terminal device