JPH11205366A - Data transfer system for ring network - Google Patents

Data transfer system for ring network

Info

Publication number
JPH11205366A
JPH11205366A JP10006996A JP699698A JPH11205366A JP H11205366 A JPH11205366 A JP H11205366A JP 10006996 A JP10006996 A JP 10006996A JP 699698 A JP699698 A JP 699698A JP H11205366 A JPH11205366 A JP H11205366A
Authority
JP
Japan
Prior art keywords
frame
station
data
transmission
ring network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10006996A
Other languages
Japanese (ja)
Inventor
Yuugo Sunaga
祐悟 須長
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP10006996A priority Critical patent/JPH11205366A/en
Publication of JPH11205366A publication Critical patent/JPH11205366A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent a state mismatching of each station on the occurrence of a fault in a transmission frame in the case of data exchange between a master station collecting/distributing data by circulating a transmission frame twice around the ring network and a slave station conducting data transmission/ reception to/from the master station. SOLUTION: In this system, a ring network is established by interconnecting a master station and plural slave stations via a transmission line. Each station is provided with a detection means that detects an error of a transmission frame. When a fault is detected by the fault detection means, a relay operation of the transmission frame is interrupted, and an abort frame consisting of a frame start code and a frame end code is generated by an abort frame generating means 14, and sent to downstream stations so as to allow all the stations on the ring network to recognize the occurrence of the fault. Thus, all the stations are forced to shift to a unified state to prevent mismatching of the state shift of each station.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マスタ局及び複数
のスレーブ局でリング状ネットワークを構築し、このリ
ング状ネットワークに伝送フレームを2周させ、各局で
伝送フレームの一周目と二周目とで異なる形態の処理を
行うことによりデータ交換処理を完結させるプロトコル
を有するリング状ネットワークにおけるデータ転送シス
テムに関し、何れかの局での異常発生時に各局の状態遷
移を適正に行うようにしたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ring network constructed by a master station and a plurality of slave stations. A transmission frame is caused to make two rounds in the ring network. In a data transfer system in a ring network having a protocol for completing a data exchange process by performing a process in a different form, a state transition of each station is appropriately performed when an abnormality occurs in any of the stations. .

【0002】[0002]

【従来の技術】この種のリング状ネットワークにおける
データ転送システムとしては、例えば図5に示すよう
に、データを収集/配信するマスタ局Mと、このマスタ
局Mに対して自局データを授受する複数例えば4つのス
レーブ局A〜Dとが伝送路Tを介してリング状に接続さ
れてリング状ネットワークを構築し、このリング状ネッ
トワークに1つの伝送フレームを二周させ、各局が一周
目と二周目とで異なる状態、操作を行うことでデータ交
換処理を完結させるプロトコルを持つデータ転送システ
ムが提案されている。
2. Description of the Related Art As a data transfer system in a ring network of this kind, for example, as shown in FIG. 5, a master station M for collecting / distributing data and transmitting / receiving own station data to / from this master station M are shown. A plurality of, for example, four slave stations A to D are connected in a ring via a transmission line T to form a ring network, and one transmission frame is made to make two rounds in this ring network, and each station is made to make a first round and a second round. There has been proposed a data transfer system having a protocol for completing a data exchange process by performing a different state and operation in a week.

【0003】その一例は、マスタ局Mが送出した一周目
のデータ収集フレームに自局のデータを追加しながら中
継送信し、さらに二周目のデータ収集フレームから自局
の追加したデータを除去することにより、伝送効率向上
を図りながらデータ交換を行うようにしている。
[0003] In one example, the relay station transmits data while adding its own data to the first data collection frame transmitted by the master station M, and further removes the data added by itself from the second data collection frame. Thus, data exchange is performed while improving transmission efficiency.

【0004】すなわち、図6に示すように、マスタ局M
はデータを収集/交換するために、先ず、各スレーブ局
A〜Dの持つデータ、ステータスなどを収集するための
制御コードを含む伝送フレームFをスレーブ局A〜Dに
送信する。
That is, as shown in FIG.
Transmits, to the slave stations A to D, a transmission frame F including a control code for collecting data, status, and the like of each of the slave stations A to D in order to collect / exchange data.

【0005】マスタ局Mは、先ず一周目にデータ収集フ
レームであることを表すフレーム識別コードを付加した
データ収集フレームCFをスレーブ局A〜Dに送信す
る。各スレーブ局A〜Dは、受信待ちモードとなってお
り、データ収集フレームCFを受信すると、そのフレー
ム識別コード部を解析し、受信フレームがデータ収集フ
レームであることを認識すると、追加送信モードに遷移
して、自局データをデータ収集フレームCFにおけるヘ
ッダの次に配置されるデータ部の一番最後尾に付加して
後続局に送信し、送信が終わると、続いて自局データ除
去/中継送信モードに遷移し、二周目のフレーム受信を
待つ。
[0005] First, the master station M transmits to the slave stations A to D a data collection frame CF to which a frame identification code indicating a data collection frame is added in the first cycle. Each of the slave stations A to D is in a reception waiting mode. When receiving the data collection frame CF, the slave stations A to D analyze the frame identification code part and recognize that the received frame is a data collection frame, and then enter the additional transmission mode. Transition is made, the own station data is added to the end of the data section arranged next to the header in the data collection frame CF and transmitted to the succeeding station. When the transmission is completed, the own station data is removed / relayed. The state transits to the transmission mode and waits for reception of the second frame.

【0006】全てのスレーブ局A〜Dが順次自局データ
を付加した状態で、データ収集フレームCFはリング状
ネットワークを一巡して最初にフレームを送出したマス
タ局Mに戻る。
With all slave stations A to D sequentially adding their own data, the data collection frame CF returns to the master station M which first transmitted the frame by making a round of the ring network.

【0007】フレームを生成・送出したマスタ局Mは、
スレーブ局と同様にそのフレームに自局のデータ、ステ
ータスを付加し、二周目フレームSFとしてスレーブ局
A〜Dに中継送信する。
The master station M that has generated and transmitted the frame
Similarly to the slave station, the data and status of the own station are added to the frame, and the frame is relayed to the slave stations A to D as a second frame SF.

【0008】二周目フレームSFを受信した各スレーブ
局A〜Dは、順次自局で付加したデータを除去してい
き、最終的にフレームを最初に送出したマスタ局には自
局の追加したデータのみが戻ってくる。
Each of the slave stations A to D receiving the second frame SF sequentially removes the data added by the own station, and finally adds the own station to the master station which first transmitted the frame. Only data comes back.

【0009】このように伝送フレームを2巡させる方式
においては、リング状ネットワークに接続された各局
は、接続順や位置に関係なく互いにデータを交換するこ
とができ、且つ追加と削除を交互に行うことにより、ト
ークンパス方式に比較して伝送効率を上げることができ
る。
[0009] In such a system in which the transmission frame is looped twice, the stations connected to the ring network can exchange data with each other regardless of the connection order and position, and alternately add and delete. As a result, transmission efficiency can be increased as compared with the token pass method.

【0010】リング状ネットワークにおいては、伝送効
率、また各局が持つ伝送データバッファ資源などを考慮
し、受信フレームが全て受信される以前に状態を遷移
し、中継送信動作を開始するのが一般的である。したが
って、宛先局アドレス等と共にフレームを定義し、受信
可否、状態遷移などの制御情報として使用される重要な
情報であるフレーム識別コードは、通常フレームの先頭
側に配置される。
In a ring network, it is general to change the state before all the received frames are received and start a relay transmission operation in consideration of transmission efficiency and transmission data buffer resources of each station. is there. Therefore, a frame is defined together with a destination station address and the like, and a frame identification code, which is important information used as control information such as reception availability and state transition, is usually arranged at the head of the frame.

【0011】各局は、フレーム受信時、フレーム制御コ
ードなどを含むヘッダ部を一端バッファに格納し、解析
をした後、受信状態から次の中継/送信状態やフレーム
除去などの動作を行い、中継送信を開始する。受信から
中継送信開始までの時間が短いほど、各局で消費する遅
延時間が少なくなり、伝送効率が上がる。
At the time of receiving a frame, each station temporarily stores a header portion including a frame control code in a buffer, analyzes it, performs operations such as a next relay / transmission state and a frame removal from a reception state, and performs relay transmission. To start. The shorter the time from reception to the start of relay transmission, the less the delay time consumed at each station, and the higher the transmission efficiency.

【0012】このようなリング状ネットワークにおける
データ転送システムにおいて、マスタ局がデータ収集フ
レームを送出し、各スレーブ局が自局データの追加送信
を行う場合を考える。一周目のフレームに正常にデータ
を追加したスレーブ局A,Bは続いて二周目のデータ収
集フレームから自局の追加したデータの除去を行う状態
に遷移する。
In such a data transfer system in a ring network, a case is considered in which the master station transmits a data collection frame and each slave station performs additional transmission of its own station data. The slave stations A and B, which have successfully added data to the first frame, subsequently transition from the second data collection frame to a state in which the data added by the own station is removed.

【0013】ところが、図7に示すように、スレーブ局
B及びスレーブ局Cとの間でデータ収集フレームCFに
異常が発生した場合には、スレーブ局Cは一旦フレーム
のヘッダ部にある識別コードを認識して自局データ追加
送信モードに遷移した後、異常を検出して通常モードに
戻ることができるが、受信した異常なフレームはそのま
ま下流局に中継送信されることになる。同様に、スレー
ブ局D,Eも同様に異常を検出して通常モードに戻る
が、この時点でシステム上のスレーブ局A,Bは自局デ
ータ削除モード、スレーブ局C,Dは通常モードとなっ
てしまう。
However, as shown in FIG. 7, when an abnormality occurs in the data collection frame CF between the slave station B and the slave station C, the slave station C temporarily changes the identification code in the header part of the frame. After recognizing and transiting to the own station data addition transmission mode, an abnormality can be detected and the mode can return to the normal mode. However, the received abnormal frame is relayed and transmitted to the downstream station as it is. Similarly, the slave stations D and E similarly detect an abnormality and return to the normal mode. At this point, the slave stations A and B on the system are in their own station data deletion mode, and the slave stations C and D are in the normal mode. Would.

【0014】マスタ局Mも同様に一周目フレームを受信
し、二周目フレームとして中継送信しようとするが、こ
の異常フレームを二周目フレームとして中継すると、ス
レーブ局A,Bにとっては自局データを削除すべき二周
目フレームであるが、スレーブ局C,Dにとっては自局
データを追加すべき一周目のフレームとなるため、フレ
ームを二周させて1つのシーケンスを完結するプロトコ
ルに支障が生じてしまう。
Similarly, the master station M also receives the first frame and relays it as the second frame. However, if this abnormal frame is relayed as the second frame, the slave stations A and B cannot transmit their own data. Is the second frame to be deleted, but the slave stations C and D are the first frames to which the own station data should be added. Therefore, there is a problem in the protocol that completes one sequence by making two rounds of the frame. Will happen.

【0015】これを防止するために、従来、図8に示す
ように、異常を含む一周目のデータ収集フレームが二周
目フレームとして中継されないように、マスタ局Mが一
周目フレームを全て受信し終わってから二周目を送信す
ることにより対応していた。また、マスタ局Mが送出し
たデータ収集フレームが正常に帰還するかどうかを監視
し、正常でなければ何らかの異常が発生したと見なし、
各スレーブ局の状態遷移のリセットなどの回復処理を行
うために、図8に示すようにリセットコマンドフレーム
RFを送信することにより対処していた。
In order to prevent this, conventionally, as shown in FIG. 8, the master station M receives all the frames of the first cycle so that the data collection frame of the first cycle containing the abnormality is not relayed as the frame of the second cycle. It responded by sending the second lap after it was over. Also, it monitors whether or not the data collection frame sent by the master station M returns normally. If not, it considers that some abnormality has occurred.
In order to perform recovery processing such as resetting of the state transition of each slave station, a measure has been taken by transmitting a reset command frame RF as shown in FIG.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、上記従
来のリング状ネットワークにおけるデータ転送システム
にあっては、1つの伝送フレームを二周させることでデ
ータ交換処理を完結させるプロトコルを持つようにして
いるので、プロトコルの性質上、図7のように各スレー
ブ局の動作シーセンスに不整合が生じることは避けられ
ない。したがって、それに起因するシーケンス異常、デ
ータ交換の失敗などのリカバリ(回復)を図る必要があ
る。
However, the data transfer system in the above-mentioned conventional ring network has a protocol for completing the data exchange process by making one transmission frame go around twice. Due to the nature of the protocol, it is inevitable that inconsistencies occur in the operation sequences of the slave stations as shown in FIG. Therefore, it is necessary to perform recovery (recovery) such as a sequence abnormality or a failure in data exchange due to the sequence error.

【0017】従来例では、異常が発生した場合に、異常
の通知、及び通常状態への遷移を含むネットワークシス
テムの維持、管理などの処理はマスタ局Mに委ねられて
おり、マスタ局Mの処理、資源や待ち時間を必要として
いた。しかし、接続局数、データ数が多いと、最大フレ
ーム長は長くなる。マスタ局Mは最大フレーム長より大
きいサイズのバッファを用意しなければならず、資源、
コスト、システム拡張性等の面で問題がある。
In the conventional example, when an abnormality occurs, processing for notifying the abnormality and maintaining and managing the network system including transition to the normal state is entrusted to the master station M. Needed resources and waiting time. However, when the number of connected stations and the number of data are large, the maximum frame length becomes long. The master station M must prepare a buffer of a size larger than the maximum frame length,
There are problems in terms of cost, system expandability, and the like.

【0018】さらに、二周目の送信を一周目の受信完了
まで待つ必要があるため、伝送帯域に無駄が生じ、この
無駄時間による伝送効率の低下もフレーム長に比例して
大きくなる。したがって、1つの伝送フレームを二周さ
せて、効率よくデータ交換を図るという1プロトコル2
フレーム構成のデータ転送方式のメリットを享受するこ
とができなくなる。
Further, since it is necessary to wait for the transmission of the second round until the completion of the reception of the first round, the transmission band is wasted, and the reduction in transmission efficiency due to the dead time increases in proportion to the frame length. Therefore, one protocol 2 for efficiently exchanging data by making one transmission frame go around twice.
The advantage of the frame-structured data transfer method cannot be enjoyed.

【0019】このように、従来例においては、スレーブ
局に生じたこの状態遷移の不統一の状態を、フレーム送
出元のマスタ局が回復しようとするならば、マスタ局の
処理が複雑化する上に、異常が発生してから回復するま
でに経過する時間が長く、伝送効率は大幅に低下すると
共に、制御のリアルタイム性が損なわれるという未解決
の課題がある。
As described above, in the conventional example, if the master station of the frame transmission source attempts to recover the ununiform state of the state transition generated in the slave station, the processing of the master station becomes complicated. In addition, there is an unsolved problem that a long time elapses from the occurrence of the abnormality to the recovery, the transmission efficiency is greatly reduced, and the real-time control is impaired.

【0020】そこで、本発明は、上記従来例の未解決の
課題に着目してなされたものであり、リング状ネットワ
ークに接続された各局が異常を検出したときに、能動的
に回復処理を行うようにすることにより、マスタ局の構
造、処理及びバッファ資源を簡略化すると共に、待ち時
間などによる無駄な伝送帯域の消費をなくして伝送効率
を向上させることができるリング状ネットワークにおけ
るデータ転送システムを提供することを目的としてい
る。
The present invention has been made in view of the above-mentioned unresolved problems of the prior art, and performs active recovery processing when each station connected to the ring network detects an abnormality. By doing so, a data transfer system in a ring network capable of improving the transmission efficiency by simplifying the structure, processing and buffer resources of the master station and eliminating wasteful transmission bandwidth due to waiting time and the like can be provided. It is intended to provide.

【0021】[0021]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に係るリング状ネットワークにおけるデー
タ転送システムは、データを収集/配信するマスタ局
と、該マスタ局に対して自局データを授受する複数のス
レーブ局とがリング状ネットワークに接続され、且つ前
記リング状ネットワークに1つの伝送フレームを二周さ
せ、各局が一周目と二周目とで異なる形態の処理を行う
ことでデータ交換処理を完結させるようにしたリング状
ネットワークのデータ転送システムにおいて、前記各局
毎に前記伝送フレームの処理系統の異常及び受信フレー
ムの異常を検出する異常検出手段を備え、且つ一周目の
伝送フレームの処理中に何らかの異常を検出したとき
に、中継送信動作を中断すると共に、自発的にアボート
フレームを生成して送信することを特徴としている。
In order to achieve the above object, a data transfer system in a ring network according to the present invention comprises: a master station for collecting / distributing data; A plurality of slave stations that exchange data are connected to a ring network, and one transmission frame is made to make two rounds in the ring network, and each station performs different types of processing in the first round and the second round so that data is transmitted. In a data transfer system of a ring network configured to complete an exchange process, the station includes an abnormality detecting unit for detecting an abnormality in a processing system of the transmission frame and an abnormality in a reception frame for each station, and detects an abnormality in a transmission frame in a first round. If any abnormality is detected during processing, the relay transmission operation is suspended, and an abort frame is spontaneously generated and transmitted. It is characterized in that.

【0022】また、請求項2に係るリング状ネットワー
クにおけるデータ転送システムは、請求項1に係る発明
において、前記各局は、伝送フレームの二周目待ち状態
において前記アボートフレームを受信したときに、二周
目待ち状態から通常状態に遷移すると共に、アボートフ
レームを再生送信することにより下流の他局の伝送制御
状態も二周目待ち状態から通常状態に遷移させることを
特徴としている。
Further, in the data transfer system in the ring network according to the second aspect, in the invention according to the first aspect, when each of the stations receives the abort frame while waiting for the second round of the transmission frame, In addition to the transition from the cycle waiting state to the normal state, the transmission control state of another downstream station is also changed from the second cycle waiting state to the normal state by reproducing and transmitting an abort frame.

【0023】さらに、請求項3に係るリング状ネットワ
ークにおけるデータ転送システムは、請求項1又は2に
係る発明において、前記各局は、自律的にリング状ネッ
トワーク全体の伝送制御状態遷移の統一性を維持するよ
うに構成されていることを特徴としている。
Furthermore, in the data transfer system in the ring network according to the third aspect, in the invention according to the first or second aspect, the respective stations autonomously maintain uniformity of transmission control state transition of the entire ring network. It is characterized by being constituted so that.

【0024】さらにまた、請求項4に係るリング状ネッ
トワークにおけるデータ転送システムは、請求項1乃至
3の何れかに係る発明において、前記アボートフレーム
を、フレームの解析、バッファ格納などを必要としない
変復調部のみが認識、生成することが可能なフレーム開
始、終了コードで構成されていることを特徴としてい
る。
According to a fourth aspect of the present invention, there is provided the data transfer system in the ring network according to any one of the first to third aspects, wherein the abort frame is modulated and demodulated without requiring frame analysis, buffer storage, and the like. It is characterized in that only a part is composed of a frame start and end code that can be recognized and generated.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。本実施形態においても、前述した
図5と同様に、マスタ局M及び4つのスレーブ局A〜D
が伝送路Tを介してリング状に接続されて、リング状ネ
ットワークLNが構築されている。
Embodiments of the present invention will be described below with reference to the drawings. Also in the present embodiment, similarly to FIG. 5 described above, the master station M and the four slave stations A to D
Are connected in a ring via a transmission line T, and a ring network LN is constructed.

【0026】そして、各局は、図1に示すように構成さ
れている。すなわち、上流側局から伝送されるフレーム
を復調回路11で復調すると共に、フレーム解析を行
い、先ず、受信フレームの先頭に配置されたスタートデ
リミタ部SDを検出してフレーム開始検出信号を送受信
制御回路12に出力すると共に、全てのフレームデータ
をヘッダ格納用遅延バッファ13に出力し、さらに受信
フレームの最後に配置されたエンドデリミタ部EDを検
出してフレーム終了検出信号を送受信制御回路12に出
力し、さらに受信フレームの異常を検出し、異常検出信
号を送受信制御回路12、アボートフレーム生成回路1
4及び後述する送信データ選択回路15に出力する。
Each station is configured as shown in FIG. That is, the frame transmitted from the upstream station is demodulated by the demodulation circuit 11, and the frame is analyzed. First, the start delimiter unit SD arranged at the head of the received frame is detected, and the frame start detection signal is transmitted. 12 and outputs all the frame data to the header storage delay buffer 13, detects the end delimiter section ED arranged at the end of the received frame, and outputs a frame end detection signal to the transmission / reception control circuit 12. , Further detects an abnormality in the received frame, and transmits an abnormality detection signal to the transmission / reception control circuit 12, the abort frame generation circuit 1
4 and a transmission data selection circuit 15 described later.

【0027】ヘッダ格納用遅延バッファ13は、ヘッダ
部HD及びデータ部DTをシリアル/パラレル変換回路
16を介して送受信制御回路12に送出する。送受信制
御回路12では、受信フレームが一周目であるか二周目
であるかを監視し、一周目であるときには自局の追加デ
ータを受信フレームのデータ部DTにおける最後尾に追
加するようにヘッダ格納用遅延バッファ13の出力を制
御すると共に、後述するフレームデータ合成回路17を
制御し、二周目であるときにはデータ部DTに付加され
ている自局追加データを削除するようにヘッダ格納用遅
延バッファ13を制御すると共に、送信フレームデータ
合成回路17を制御し、さらにデータ部DT内に自己宛
データがあるこれを読込み、上位層のデータリンク層/
アプリケーション層18に通知する。
The header storage delay buffer 13 sends the header section HD and the data section DT to the transmission / reception control circuit 12 via the serial / parallel conversion circuit 16. The transmission / reception control circuit 12 monitors whether the received frame is the first round or the second round. When the received frame is the first round, the header is added so that the additional data of the own station is added to the end of the data part DT of the received frame. The output of the storage delay buffer 13 is controlled, and the frame data synthesizing circuit 17 to be described later is controlled. In the second round, the header storage delay is added so that the own station additional data added to the data part DT is deleted. In addition to controlling the buffer 13, it controls the transmission frame data synthesizing circuit 17 and further reads the self-addressed data in the data section DT to read the data in the upper data link layer /
Notify the application layer 18.

【0028】データリンク層/アプリケーション層で
は、自局で行う所定の演算処理を実行しており、受信デ
ータに基づいて所定の処理を行うと共に、その処理結果
等の送信データを生成し、この送信データを自局追加デ
ータとして自局追加データバッファ19に格納し、この
自局追加データバッファ19に格納された自局追加デー
タをパラレル/シリアル変換回路20でシリアルデータ
に変換してから送信フレームデータ合成回路17に出力
する。
In the data link layer / application layer, a predetermined arithmetic process performed by the own station is executed. The predetermined process is performed based on the received data, and transmission data such as a processing result is generated. The data is stored in the own-station additional data buffer 19 as the own-station additional data, and the own-station additional data stored in the own-station additional data buffer 19 is converted into serial data by the parallel / serial conversion circuit 20 and then transmitted. Output to the synthesis circuit 17.

【0029】この送信フレームデータ合成回路17で
は、自局データ追加モードでは、ヘッダ格納用遅延バッ
ファ13から出力されるフレームデータの先頭からデー
タ部DTの最後までを選択した後、パラレル/シリアル
変換回路20から出力される自局追加データを選択する
ことにより、データ部DTの最後尾に自局追加データを
付加し、最後にヘッダ格納用遅延バッファ13から出力
されるエンドデリミタ部EDを付加することにより、伝
送フレームFを形成し、これをフレームデータ選択回路
15に送出する。
In this transmission frame data synthesizing circuit 17, in the own station data addition mode, after selecting from the beginning of the frame data output from the header storage delay buffer 13 to the end of the data part DT, the parallel / serial conversion circuit By selecting the own-station additional data output from 20, the own-station additional data is added to the end of the data section DT, and the end delimiter section ED output from the header storage delay buffer 13 is added last. Thus, a transmission frame F is formed and sent to the frame data selection circuit 15.

【0030】このフレームデータ選択回路15では、復
調回路11から異常検出信号が供給されていないときに
は、データフレーム合成回路17から入力される伝送フ
レームFを選択して変調回路21に出力して後続局に送
信するが、異常検出信号が供給されたときには、アボー
トフレーム生成回路14で生成されたアボートフレーム
AFを選択してこれを変調回路21に出力して後続局に
送信する。
In the frame data selection circuit 15, when the abnormality detection signal is not supplied from the demodulation circuit 11, the transmission frame F input from the data frame synthesizing circuit 17 is selected and output to the modulation circuit 21 to be transmitted to the subsequent station. When the abnormality detection signal is supplied, the abort frame AF generated by the abort frame generation circuit 14 is selected, output to the modulation circuit 21, and transmitted to the subsequent station.

【0031】ここで、アボートフレーム生成回路14で
は、復調回路11から異常検出信号が入力されると、図
2に示すフレーム開始コードであるスタートデリミタ部
SD及び終了コードであるエンドデリミタ部EDのみで
構成されるアボートフレームAFを生成し、これをフレ
ームデータ選択回路15に出力する。
Here, in the abort frame generation circuit 14, when the abnormality detection signal is input from the demodulation circuit 11, only the start delimiter SD which is the frame start code and the end delimiter ED which is the end code shown in FIG. The generated abort frame AF is generated and output to the frame data selection circuit 15.

【0032】次に、上記実施形態の動作を図2に示すタ
イムチャートを伴って説明する。すなわち、先ず、マス
タ局Mでは電源が立ち上がって起動がかかったときに、
ネットワークに接続されている各スレーブ局A〜Dの構
成と数を把握すると共に、これらの局の接続位置即ちマ
スタ局Mから下流側に向かってどの順序でスレーブ局が
接続されているかを把握し、さらに各スレーブ局A〜D
のデータ量及び各局のもつ書込情報及び読取情報の割付
などの接続情報を収集し、これらに基づいて固定長の伝
送フレームのフォーマットを決定し、決定されたフォー
マットに従って各スレーブ局A〜Dに対して伝送フレー
ムFを受信したときに受信フレームに対するデータアク
セス位置をデータアクセス情報として通知する。
Next, the operation of the above embodiment will be described with reference to a time chart shown in FIG. That is, first, when the master station M is powered on and started up,
In addition to grasping the configuration and number of each of the slave stations A to D connected to the network, grasping the connection position of these stations, that is, the order in which the slave stations are connected from the master station M to the downstream side. And each of the slave stations A to D
And the connection information such as the allocation of the write information and the read information of each station, and determines the format of the fixed-length transmission frame based on the collected information, and sends the data to each of the slave stations A to D according to the determined format. On the other hand, when the transmission frame F is received, the data access position for the received frame is notified as data access information.

【0033】その後、マスタ局Mは、図2(a)に示す
ように、スタートデリミタ部SD、ヘッダ部HD及びエ
ンドデリミタ部EDのみでデータ部DTを含まないデー
タ収集フレームCFを作成し、これを後続局となるスレ
ーブ局Aに送信する。
Thereafter, as shown in FIG. 2A, the master station M creates a data collection frame CF which includes only the start delimiter section SD, header section HD and end delimiter section ED and does not include the data section DT. Is transmitted to the slave station A, which is the succeeding station.

【0034】このスレーブ局Aでは、マスタ局Mからの
データ収集フレームCFを受信すると、これを復調回路
11で復調してヘッダ格納用遅延バッファ13に格納す
ると共に、フレーム解析によってスタートデリミタ部S
Dを検出したときに、フレーム開始信号を送受信制御回
路12に出力する。
When the slave station A receives the data collection frame CF from the master station M, it demodulates it in the demodulation circuit 11 and stores it in the header storage delay buffer 13, and also analyzes the start delimiter S by frame analysis.
When D is detected, a frame start signal is output to the transmission / reception control circuit 12.

【0035】このため、送受信制御回路12は、一周目
のデータ伝送フレームを受信したものと判断して、通常
モードである自局データ追加モードを維持して、ヘッダ
部格納受信バッファ13からヘッダ部HDのデータをシ
リアル/パラレル変換回路16を介して読込み、自己宛
のデータがあるか否かを判断するが、自己宛のデータが
ないので、フレームデータ合成回路17をヘッダ格納用
遅延バッファ13側に制御すると共に、この遅延バッフ
ァ13からスタートデリミタ部SD、ヘッダ部HDを順
次出力させ、予め設定されたバイト位置即ちヘッダ部H
Dの終端を読出し終わったときに、フレームデータ合成
回路17をパラレル/シリアル変換回路20側に切換制
御すると共に、パラレル/シリアル変換回路20から予
め設定された固定長の自局追加データdAを出力させ、
この自局追加データdAの最後尾を出力すると、再度フ
レームデータ合成回路17をヘッダ格納用遅延バッファ
13側に切換えてエンドデリミタ部EDを出力させて自
局追加データを追加したデータ収集フレームCFを形成
し、これを順次フレームデータ選択回路15を介して変
調回路21に出力することにより、図2(b)に示すよ
うに、受信したデータ収集フレームCFに対してスター
トデリミタ部SD及びヘッダ部HD分の局遅延時間後に
データ収集フレームCFを後続のスレーブ局Bに対して
送信する。
For this reason, the transmission / reception control circuit 12 determines that the data transmission frame of the first cycle has been received, maintains the own station data addition mode which is the normal mode, The HD data is read through the serial / parallel conversion circuit 16 to determine whether there is data addressed to itself. However, since there is no data addressed to itself, the frame data synthesizing circuit 17 is connected to the header storage delay buffer 13 side. At the same time, the start delimiter SD and the header HD are sequentially output from the delay buffer 13, and a predetermined byte position, that is, the header H
When the end of D has been read, the frame data synthesizing circuit 17 is switched to the parallel / serial conversion circuit 20 and the parallel / serial conversion circuit 20 outputs preset fixed-length own-station additional data dA from the parallel / serial conversion circuit 20. Let
When the end of the own station additional data dA is output, the frame data synthesizing circuit 17 is switched again to the header storage delay buffer 13 to output the end delimiter section ED, and the data collection frame CF to which the own station additional data is added is output. The data is sequentially output to the modulation circuit 21 via the frame data selection circuit 15 to form a start delimiter SD and a header HD for the received data collection frame CF as shown in FIG. A data collection frame CF is transmitted to the subsequent slave station B after a station delay time of one minute.

【0036】このスレーブ局Bでも、上記スレーブ局A
と同様の処理を行って、図2(c)に示すように、デー
タ部DTにおけるスレーブ局Aで追加されたデータdA
の次に自局追加データdBを追加してデータ収集フレー
のCFを形成し、これを後続のスレーブ局Cに送信し、
以下、スレーブ局C及びDで順次図2(d)及び(e)
に示すように、データ収集フレームCFのデータ部DT
の最後に自局追加データdC及びdDを追加してからデ
ータ収集フレームCFをマスタ局Mに戻す。
In the slave station B, the slave station A
2C, the data dA added by the slave station A in the data section DT as shown in FIG.
Next, the own station additional data dB is added to form a data collection frame CF, which is transmitted to the subsequent slave station C,
Hereinafter, in the slave stations C and D, FIG.
As shown in the figure, the data portion DT of the data collection frame CF
, Add own station additional data dC and dD, and return the data collection frame CF to the master station M.

【0037】このマスタ局Mでは、一巡してきたデータ
収集フレームCFを受信すると、そのデータ部DTに格
納されている各スレーブ局A〜Dからの自局追加データ
dA〜dDを読込むと共に、その処理結果等の表す自局
追加データdMを追加してデータ収集フレームCFを形
成し、これをデータ収集フレームCFの全てを受信する
まで待つことなく、他のスレーブ局A〜Dと略等しい局
遅延時間でスレーブ局Aに送信する。
When the master station M receives the data collection frame CF that has completed one cycle, the master station M reads the own station additional data dA to dD from the slave stations A to D stored in the data part DT, and reads the data. A data collection frame CF is formed by adding the own-station additional data dM representing the processing result and the like, and the station delay is substantially equal to that of the other slave stations A to D without waiting until all the data collection frames CF are received. The time is transmitted to the slave station A.

【0038】このスレーブ局Aでは、データ収集フレー
ムCFを受信すると、二周目であると判断して、追加デ
ータ消去モードとなり、送受信制御回路12で、ヘッダ
格納用遅延バッファ13に格納されたデータ収集フレー
ムCFから自局が追加した追加データdAを削除したデ
ータ収集フレームCFを形成し、これをそのままフレー
ムデータ合成回路17、フレームデータ選択回路15を
介して変調回路21に送出して、後続のスレーブ局Bに
送信すると共に、マスタ局Mで追加された追加データd
Mを読込み、これをデータリンク層/アプリケーション
層18に通知する。
When the slave station A receives the data collection frame CF, it determines that it is the second round, and enters the additional data erasing mode, where the transmission / reception control circuit 12 stores the data stored in the header storage delay buffer 13. A data collection frame CF in which the additional data dA added by the own station is deleted is formed from the collection frame CF, and the data collection frame CF is sent to the modulation circuit 21 via the frame data synthesis circuit 17 and the frame data selection circuit 15 as it is. The additional data d transmitted to the slave station B and added by the master station M
M is read, and this is notified to the data link layer / application layer 18.

【0039】同様にして、スレーブ局B〜Dで順次、自
局追加データdB〜dDを削除すると共に、マスタ局M
の追加データdMを読込む、このため、スレーブ局Dか
らは、図2(e)に示すように、データ部DTにマスタ
局Mの追加データdMのみが格納されたデータ収集フレ
ームCFをマスタ局Mに戻す。
Similarly, the slave stations B to D sequentially delete the own station additional data dB to dD, and the master station M
2B. Therefore, as shown in FIG. 2E, the data collection frame CF in which only the additional data dM of the master station M is stored in the data section DT from the slave station D. Return to M.

【0040】このようにして、正常状態では、マスタ局
Mとスレーブ局A〜Dとの間でデータ収集フレームCF
を二周させることにより、データ交換を行うことができ
るものであるが、今、図7に示すように、スレーブ局B
及びC間でデータ収集フレームCFに異常が発生した場
合には、異常のあるデータ収集フレームCFを受信した
スレーブ局Cでは、復調回路11でのフレーム解析を行
うことにより、データ収集フレームCFの異常を検出す
る。
Thus, in the normal state, the data collection frame CF is transmitted between the master station M and the slave stations A to D.
, The data exchange can be performed. However, as shown in FIG.
When an abnormality occurs in the data collection frame CF between the data collection frame CF and the slave station C, the slave station C that has received the abnormal data collection frame CF performs frame analysis in the demodulation circuit 11 to detect the abnormality in the data collection frame CF. Is detected.

【0041】このとき、図3(d)に示すように、デー
タ収集フレームCFの異常がスレーブ局Bで追加した追
加データdBである場合には、この異常を検出したとき
に異常検出信号を送受信制御回路12、アボートフレー
ム生成回路14及びフレームデータ選択回路15に出力
することになる。
At this time, as shown in FIG. 3D, if the abnormality of the data collection frame CF is the additional data dB added by the slave station B, an abnormality detection signal is transmitted and received when this abnormality is detected. The data is output to the control circuit 12, the abort frame generation circuit 14, and the frame data selection circuit 15.

【0042】このため、送受信制御回路12では、復調
回路11からの異常検出信号が入力されるまでは、通常
モードの自局データ追加モードとなっていることから、
ヘッダ格納遅延バッファ13に格納されているフレーム
データを順次中継して後続のスレーブ局Dに送信してい
る。
Therefore, the transmission / reception control circuit 12 is in its own station data addition mode in the normal mode until the abnormality detection signal from the demodulation circuit 11 is input.
The frame data stored in the header storage delay buffer 13 is sequentially relayed and transmitted to the subsequent slave station D.

【0043】そして、送受信制御回路12に復調回路1
1からの異常検出信号が入力されると、異常が発生した
追加データdBに相当する固定長分が終了したところ即
ち自局が追加データdDを書込開始する位置でヘッダ格
納遅延バッファ13での中継動作を中断させると共に、
モードを通常モードに維持する。
Then, the demodulation circuit 1 is transmitted to the transmission / reception control circuit 12.
When the abnormality detection signal is input from the header storage delay buffer 13 at the position where the fixed length corresponding to the additional data dB in which the abnormality has occurred ends, that is, at the position where the own station starts writing the additional data dD. While interrupting the relay operation,
Maintain the mode in the normal mode.

【0044】一方、フレームデータ選択回路15では、
復調回路11から異常検出信号が入力されると、所定の
タイミングでアボートフレーム生成回路14側を選択す
る状態に切換わり、またアボートフレーム生成回路14
では、復調回路11から異常検出信号が入力されること
により、所定のタイミングでスタートデリミタ部SD及
びエンドデリミタ部EDのみで構成されるアボートフレ
ームAFを図3(d)に示すように、フレームデータ選
択回路15を介して変調回路21に送出し、スレーブ局
Dに送信する。
On the other hand, in the frame data selection circuit 15,
When the abnormality detection signal is input from the demodulation circuit 11, the state is switched to a state in which the abort frame generation circuit 14 is selected at a predetermined timing.
In FIG. 3D, an abnormal detection signal is input from the demodulation circuit 11 so that the abort frame AF including only the start delimiter unit SD and the end delimiter unit ED at a predetermined timing as shown in FIG. The signal is transmitted to the modulation circuit 21 via the selection circuit 15 and transmitted to the slave station D.

【0045】このため、スレーブ局Dでは、図3(e)
に示すように、中断するまでのデータ収集フレームの後
にアボートフレームAFを受信することにより、自局追
加データdDを追加することなく、これらデータ伝送フ
レーム及びアボートフレームAFをそのまま中継してマ
スタ局Mに戻する。
Therefore, in the slave station D, as shown in FIG.
As shown in the figure, by receiving the abort frame AF after the data collection frame until the interruption, the data transmission frame and the abort frame AF are relayed as they are without adding the own station additional data dD, and the master station M is received. Return to

【0046】マスタ局Mでは、図3(a)に示すよう
に、受信フレームの後にアボートフレームAFが追加さ
れているので、自局の追加データdMを追加することな
くそのまま中継してスレーブ局Aに送信すると共に、通
常モードに遷移する。
In the master station M, as shown in FIG. 3A, since the abort frame AF is added after the received frame, the slave station A relays the data without adding the additional data dM of the own station. , And transits to the normal mode.

【0047】このスレーブ局Aでは、データ収集フレー
ムCFの二周目であるので、図3(b)に示すように、
自局追加データdAを消去したデータ収集フレーム及び
アボートフレームAFをスレーブ局Bに送信し、このス
レーブ局Bでも図3(c)に示すように異常の発生した
自局追加データdBを消去してからスタートデリミタ部
SD及びヘッダ部HDでなるデータ収集フレーム及びア
ボートフレームAFをスレーブ局Cに送信すると共に、
通常モードに遷移する。
In this slave station A, since it is the second round of the data collection frame CF, as shown in FIG.
The data collection frame and the abort frame AF from which the own station additional data dA has been erased are transmitted to the slave station B, and the slave station B also erases the abnormal own own station additional data dB as shown in FIG. Transmits a data collection frame and an abort frame AF including a start delimiter section SD and a header section HD to the slave station C,
Transition to normal mode.

【0048】このスレーブ局Cでは、前回の一周目のデ
ータ収集フレームに自局追加データを追加していないの
で、図3(d)示すように、データの消去を行うことな
く、スタートデリミタ部SD及びヘッダ部HDでなるデ
ータ収集フレーム及びアボートフレームAFをスレーブ
局Dに送信し、このスレーブ局Dでも図3(e)に示す
ように、同様の処理を行って、マスタ局Mに戻す。
Since the slave station C does not add its own additional data to the previous data collection frame of the first round, the start delimiter section SD does not need to be erased as shown in FIG. The data collection frame and the abort frame AF including the header section HD are transmitted to the slave station D, and the slave station D performs the same processing as shown in FIG.

【0049】マスタ局Mでは、新たなデータ収集フレー
ムCFを生成して、スレーブ局Aに送信することによ
り、正常状態に復帰する。このように、上記第1の実施
形態においては、各局でデータ収集フレームCFを監視
して、異常を検出するようにしており、異常検出時にア
ボートフレームAFを生成してこれを各局に送信するの
で、リング状ネットワークの各局に異常に起因する待ち
状態から通常状態への遷移を通知することができる。
The master station M returns to the normal state by generating a new data collection frame CF and transmitting it to the slave station A. As described above, in the first embodiment, each station monitors the data collection frame CF to detect an abnormality. When an abnormality is detected, the abort frame AF is generated and transmitted to each station. In addition, it is possible to notify each station of the ring network of the transition from the waiting state to the normal state caused by the abnormality.

【0050】したがって、マスタ局のリカバリ処理に伴
う待ち時間やスレーブ局の状態管理のための処理が不要
となり、各局において自律的にリング全体の伝送制御状
態遷移の統一性を維持することが可能となる。
Therefore, the waiting time involved in the recovery processing of the master station and the processing for managing the state of the slave station are not required, and each station can autonomously maintain the uniformity of the transmission control state transition of the entire ring. Become.

【0051】なお、上記第1の実施形態においては、ア
ボートフレームAFをスタートデリミタ部SD及びエン
ドデリミタ部EDのみで構成する場合について説明した
が、これに限定されるものではなく、スタートデリミタ
部SD及びエンドデリミタ部EDとの間にアボートフレ
ームであることを表す識別コードを付加するようにして
も良い。
In the first embodiment, the case where the abort frame AF is composed of only the start delimiter section SD and the end delimiter section ED has been described. However, the present invention is not limited to this. An identification code indicating an abort frame may be added to the end delimiter unit ED.

【0052】次に、本発明の第2の実施形態を図4につ
いて説明する。この第2の実施形態では、図4に示すよ
うに、復調回路11にアボートフレームAFを検出する
機能を付加し、前述したフレーム解析により、受信フレ
ームの異常を検出したとき及びアボートフレームAFを
検出したときに異常検出信号を送受信制御回路12、ア
ボートフレーム生成回路14及びフレームデータ選択回
路15に出力ようにしたことを除いては前述した第1の
実施形態における図1と同様の構成を有し、図1との対
応部分には同一符号を付し、その詳細説明はこれを省略
する。
Next, a second embodiment of the present invention will be described with reference to FIG. In the second embodiment, as shown in FIG. 4, a function of detecting an abort frame AF is added to the demodulation circuit 11, and when the abnormality of the received frame is detected and the abort frame AF is detected by the frame analysis described above. 1 in the above-described first embodiment except that the abnormality detection signal is output to the transmission / reception control circuit 12, the abort frame generation circuit 14, and the frame data selection circuit 15 when this is done. 1 are given the same reference numerals, and detailed description thereof is omitted.

【0053】この第2の実施形態によると、前述したよ
うに、アボートフレームAFがスタートデリミタ部SD
及びエンドデリミタ部EDのみで構成されているので、
復調回路11でフレーム解析することにより、アボート
フレームAFの検出が可能となる。
According to the second embodiment, as described above, the abort frame AF is controlled by the start delimiter unit SD.
And only the end delimiter ED,
The abort frame AF can be detected by performing frame analysis in the demodulation circuit 11.

【0054】このため、復調回路11でアボートフレー
ムAFを検出すると、異常検出信号が送受信制御回路1
2に入力されるので、この送受信制御回路12が前述し
た異常発生時と同様に処理モードを通常モードに遷移
し、アボートフレームAFが各局に伝播され、マスタ局
Mでは、二周目のアボートフレームAFを除去して、ア
ボートフレームAFが無制限に巡回することを防止すれ
ばよい。
Therefore, when the demodulation circuit 11 detects the abort frame AF, the abnormality detection signal is transmitted to the transmission / reception control circuit 1
2, the transmission / reception control circuit 12 changes the processing mode to the normal mode as in the case of the above-described abnormality occurrence, the abort frame AF is propagated to each station, and the master station M transmits the abort frame in the second cycle. The AF may be removed to prevent the abort frame AF from going around indefinitely.

【0055】このように、第2の実施形態によると、復
調回路11でアボートフレームAFを検出することによ
り、送受信制御回路12を経由する中継動作を行う必要
がないので、送受信回路の論理及び構成を簡略化するこ
とができ、しかも、アボートフレームAFはフレーム開
始、終了コードは他のフレームを含めて物理的に必須の
要素であるので、アボートフレームを生成するために必
要な回路を別途準備する必要がなく、局としての機能の
低いスレーブ局においても実装が容易であり、コストや
回路規模にも影響を与えることはない。
As described above, according to the second embodiment, since the demodulation circuit 11 detects the abort frame AF, there is no need to perform a relay operation via the transmission / reception control circuit 12, so the logic and configuration of the transmission / reception circuit In addition, since the abort frame AF is a physically essential element including the frame start and end codes including other frames, a circuit necessary for generating the abort frame is separately prepared. There is no need to do so, and implementation is easy even in a slave station having a low function as a station, and there is no effect on cost or circuit size.

【0056】なお、上記第1及び第2の実施形態におい
ては、マスタ局Mでデータ収集フレームCFに自局追加
データを追加する場合について説明したが、これに限定
されるものではなく、データ収集フレームCFの一周目
に自局追加データを追加し、各スレーブ局でデータ収集
フレームCFの一周目にデータ読込を行うようにしても
よい。
In the first and second embodiments, the case where the master station M adds own station additional data to the data collection frame CF has been described. However, the present invention is not limited to this. The own station additional data may be added to the first round of the frame CF, and data may be read in the first round of the data collection frame CF at each slave station.

【0057】また、上記第1及び第2の実施形態におい
ては、スレーブ局A〜Dの全てで自局追加データdA〜
dDをデータ収集フレームCFに追加する場合について
説明したが、これに限定されるものてはなく、スレーブ
局A〜Dの一部を送信専用の例えば入力装置とし、残り
を受信専用の例えば出力装置とした場合には、データ収
集フレームCFの一周目で入力装置のみで自局追加デー
タをデータ収集フレームCFに追加し、二周目で入力装
置で追加データを除去するようにすればよく、出力装置
ではマスタ局で追加データが追加された後にデータの読
込を行うようにすればよい。
In the first and second embodiments, all of the slave stations A to D have their own additional data dA to dA.
The case where dD is added to the data collection frame CF has been described. However, the present invention is not limited to this. A part of the slave stations A to D is an input device only for transmission, and the other is an output device only for reception. In this case, the additional data of the own station may be added to the data collection frame CF only by the input device in the first round of the data collection frame CF, and the additional data may be removed by the input device in the second round. In the apparatus, the data may be read after the additional data is added by the master station.

【0058】[0058]

【発明の効果】以上説明したように、請求項1に係る発
明によれば、受信した一周目の伝送フレーム中に何らか
の異常を検出した場合に、異常を検出した局が伝送フレ
ームの中継送信を中断し、自局の状態を遷移させて通常
モードに戻るばかりでなく、自局の下流側の局に対して
アボートフレームによって制御状態を遷移するように指
示することができるので、マスタ局では一周目フレーム
を受信したとき、異常を含む一周目の伝送フレームが二
周目フレームとして中継されないようにするためのフレ
ームバッファを持つ必要がなくなり、スレーブ局と同様
に一周目フレームを二周目フレームとして中継送信する
ことができ、この結果マスタ局の構造、処理及びバッフ
ァ資源などを簡略化することができ、且つ待ち時間など
による無駄な伝送帯域の消費がなくなり、伝送効率も向
上させることができるという効果が得られる。
As described above, according to the first aspect of the present invention, when any abnormality is detected in the received transmission frame of the first round, the station that has detected the abnormality relays the transmission frame. The master station not only interrupts and changes its own state and returns to the normal mode, but also instructs the downstream station to change its control state by an abort frame. When the first frame is received, it is not necessary to have a frame buffer to prevent the first transmission frame including the abnormality from being relayed as the second frame, and the first frame is used as the second frame similarly to the slave station. Relay transmission can be performed. As a result, the structure, processing and buffer resources of the master station can be simplified, and useless transmission due to waiting time and the like can be achieved. There is no consumption of range, the effect is obtained that it is possible to improve transmission efficiency.

【0059】また、請求項2に係る発明によれば、二周
目待ち状態においてアボートフレームを中継する機能を
各局に持たせることにより、ある任意の局で検出した異
常に起因する状態遷移の不整合状態を、異常検出した局
を起点とした、マスタ局を含む下流の全ての局に高速に
伝達することができるという効果が得られる。
According to the second aspect of the present invention, each station is provided with a function of relaying an abort frame in the waiting state in the second round, so that a state transition caused by an abnormality detected at any given station is prevented. An effect is obtained that the matching state can be transmitted at high speed to all the downstream stations including the master station starting from the station where the abnormality is detected.

【0060】さらに、請求項3に係る発明によれば、リ
ング状ネットワークに接続される各局の状態が不揃いと
なるために生じる問題点を解決し、且つその状態の不統
一から復帰するため従来はマスタ局が処理していた異常
発生時の各局の状態遷移の管理が不要となり、マスタ局
側のリング状態の維持、管理処理が容易となると共に、
処理時間即ち異常状態からの復帰時間を短縮させること
ができるという効果が得られる。
Further, according to the third aspect of the present invention, it is possible to solve the problem caused by the inconsistent states of the stations connected to the ring network, and to recover from the inconsistency of the states. It is not necessary to manage the state transition of each station at the time of occurrence of an error, which was processed by the master station.
The effect is obtained that the processing time, that is, the recovery time from the abnormal state can be reduced.

【0061】さらにまた、請求項4に係る発明によれ
ば、アボートフレームをフレーム開始コード及び終了コ
ードのみで構成するので、アボートフレームの検出から
再生、中継送信に到るルートは送受信制御回路をバイパ
スすることができ、回路の論理及び構成を簡略化するこ
とができると共に、フレーム開始コード及び終了コード
は他のフレームを含めて物理的に必須の要素であるの
で、アボートフレームを生成するために必要な回路を別
途準備する必要がなく、局としての機能の低いスレーブ
局においても実装が容易であり、コストや回路規模にも
影響することがないという効果が得られる。
According to the fourth aspect of the present invention, since the abort frame is composed only of the frame start code and the end code, the route from detection of the abort frame to reproduction and relay transmission bypasses the transmission / reception control circuit. Can be used to simplify the logic and configuration of the circuit, and since the frame start code and end code are physically essential elements including other frames, they are necessary to generate an abort frame. There is no need to separately prepare a simple circuit, and it is easy to implement even a slave station having a low function as a station, and the effect that the cost and the circuit size are not affected is obtained.

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

【図1】本発明の第1の実施形態を示す各局の具体的構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a specific configuration of each station according to a first embodiment of the present invention.

【図2】第1の実施形態の正常時の動作の説明に供する
タイムチャートである。
FIG. 2 is a time chart for explaining a normal operation of the first embodiment;

【図3】第1の実施形態の異常発生時の動作の説明に供
するタイムチャートである。
FIG. 3 is a time chart for explaining the operation of the first embodiment when an abnormality occurs.

【図4】本発明の第2の実施形態を示す各局の具体的構
成を示すブロック図である。
FIG. 4 is a block diagram showing a specific configuration of each station according to a second embodiment of the present invention.

【図5】リング状ネットワークを示す構成図である。FIG. 5 is a configuration diagram showing a ring network.

【図6】従来例の正常時の動作の説明に供するタイムチ
ャートである。
FIG. 6 is a time chart for explaining the normal operation of the conventional example.

【図7】従来例の異常発生状態を示す説明図である。FIG. 7 is an explanatory diagram showing an abnormal state of the related art.

【図8】従来例の異常時の動作の説明に供するタイムチ
ャートである。
FIG. 8 is a time chart for explaining the operation of the conventional example at the time of abnormality.

【符号の説明】[Explanation of symbols]

M マスタ局 A〜D スレーブ局 11 復調回路 12 送受信制御回路 13 ヘッダ格納遅延バッファ 14 アボートフレーム生成回路 15 フレームデータ選択回路 16 シリアル/パラレル変換回路 17 フレームデータ合成回路 18 データリンク層/アプリケーション層 19 自局追加データバッファ 20 パラレル/シリアル変換回路 21 変調回路 M Master station A to D Slave station 11 Demodulation circuit 12 Transmission / reception control circuit 13 Header storage delay buffer 14 Abort frame generation circuit 15 Frame data selection circuit 16 Serial / parallel conversion circuit 17 Frame data synthesis circuit 18 Data link layer / application layer 19 Own Station additional data buffer 20 Parallel / serial conversion circuit 21 Modulation circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データを収集/配信するマスタ局と、該
マスタ局に対して自局データを授受する複数のスレーブ
局とがリング状ネットワークに接続され、且つ前記リン
グ状ネットワークに1つの伝送フレームを二周させ、各
局が一周目と二周目とで異なる形態の処理を行うことで
データ交換処理を完結させるようにしたリング状ネット
ワークのデータ転送システムにおいて、前記各局毎に前
記伝送フレームの処理系統の異常及び受信フレームの異
常を検出する異常検出手段を備え、且つ一周目の伝送フ
レームの処理中に何らかの異常を検出したときに、中継
送信動作を中断すると共に、自発的にアボートフレーム
を生成して送信することを特徴とするリング状ネットワ
ークにおけるデータ転送システム。
1. A master station for collecting / distributing data and a plurality of slave stations for transmitting / receiving data to / from the master station are connected to a ring network, and one transmission frame is connected to the ring network. In a ring-shaped network data transfer system in which each station performs a different form of processing in the first and second rounds to complete the data exchange processing. An error detection unit that detects an error in the system and an error in the received frame is provided. When any error is detected during the processing of the first transmission frame, the relay transmission operation is interrupted and an abort frame is spontaneously generated. A data transfer system in a ring-shaped network, wherein the data is transmitted.
【請求項2】 前記各局は、伝送フレームの二周目待ち
状態において前記アボートフレームを受信したときに、
二周目待ち状態から通常状態に遷移すると共に、アボー
トフレームを再生送信することにより下流の他局の伝送
制御状態も二周目待ち状態から通常状態に遷移させるこ
とを特徴とする請求項1記載のリング状ネットワークに
おけるデータ転送システム。
2. When each of the stations receives the abort frame in a waiting state for a second round of a transmission frame,
2. The system according to claim 1, wherein a transition is made from the second round waiting state to the normal state, and the transmission control state of another downstream station is also changed from the second round waiting state to the normal state by reproducing and transmitting an abort frame. Data transfer system in a ring network.
【請求項3】 前記各局は、自律的にリング状ネットワ
ーク全体の伝送制御状態遷移の統一性を維持するように
構成されていることを特徴とする請求項1又は2に記載
のリング状ネットワークにおけるデータ転送システム。
3. The ring network according to claim 1, wherein each station is configured to autonomously maintain uniformity of transmission control state transition of the entire ring network. Data transfer system.
【請求項4】 前記アボートフレームを、フレームの解
析、バッファ格納などを必要とない変復調部のみが認
識、生成することが可能なフレーム開始、終了コードで
構成されていることを特徴とする請求項1乃至3の何れ
かに記載のリング状ネットワークにおけるデータ転送シ
ステム。
4. An abort frame comprising a frame start and end code that can be recognized and generated only by a modem unit that does not require frame analysis, buffer storage, and the like. A data transfer system in a ring network according to any one of claims 1 to 3.
JP10006996A 1998-01-16 1998-01-16 Data transfer system for ring network Pending JPH11205366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10006996A JPH11205366A (en) 1998-01-16 1998-01-16 Data transfer system for ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10006996A JPH11205366A (en) 1998-01-16 1998-01-16 Data transfer system for ring network

Publications (1)

Publication Number Publication Date
JPH11205366A true JPH11205366A (en) 1999-07-30

Family

ID=11653739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10006996A Pending JPH11205366A (en) 1998-01-16 1998-01-16 Data transfer system for ring network

Country Status (1)

Country Link
JP (1) JPH11205366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022714A (en) * 2009-07-14 2011-02-03 Canon Inc Data processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022714A (en) * 2009-07-14 2011-02-03 Canon Inc Data processing apparatus
US9239811B2 (en) 2009-07-14 2016-01-19 Canon Kabushiki Kaisha Data processing apparatus and data processing method

Similar Documents

Publication Publication Date Title
US6680903B1 (en) Network system, network terminal, and method for specifying location of failure in network system
CA1280217C (en) Method and apparatus for utilization of dual latency stations for performance improvement of token ring networks
JPS6356038A (en) Communication control system of communication ring system
JPH0630511B2 (en) Ring transmission system with variable station order
JPH0666806B2 (en) Token ring transmission method
JP5050889B2 (en) Data transmission method and data transmission apparatus
JPH11205366A (en) Data transfer system for ring network
JP3728937B2 (en) Ring network data transmission system
JPH1023050A (en) Signal transmission system in ring network
JP3713949B2 (en) Ring network data transfer method
JP3947090B2 (en) Data transmission method
JPS61125253A (en) Medium access control system
JP2000261452A (en) Network system and terminal
JP2806766B2 (en) Cell input / output line accommodating apparatus and system switching control method
JPH03172041A (en) Local area network
CN100571181C (en) Remove the method and apparatus of strict data frame in a kind of RPR looped network
JPH104423A (en) Access method
JPH0758972B2 (en) Network connection device
JP2000286881A (en) Ring type network system and its transmission controller
JPH0818588A (en) Path changeover method for ring network
JPH11215166A (en) Network control device
JPH0149065B2 (en)
JPS63138848A (en) Networm fault management system
JP2000049838A (en) Alarm collection system and its collection method
JPS61125252A (en) Transition and interruption system of medium access control state

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040210

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050802

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051213