JPH01208933A - Loop type communication system - Google Patents
Loop type communication systemInfo
- Publication number
- JPH01208933A JPH01208933A JP63033539A JP3353988A JPH01208933A JP H01208933 A JPH01208933 A JP H01208933A JP 63033539 A JP63033539 A JP 63033539A JP 3353988 A JP3353988 A JP 3353988A JP H01208933 A JPH01208933 A JP H01208933A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- frame
- frames
- capacity
- delay
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】 [発明の目的J (産業上の利用分野) 本発明は、ループ式通信システムに関する。[Detailed description of the invention] [Object of the invention J (Industrial application field) TECHNICAL FIELD The present invention relates to a loop communication system.
(従来の技術)
従来、ループ式通信システムとしては第5図に示すよう
な、ものがある。(Prior Art) Conventionally, there is a loop communication system as shown in FIG.
同図に示され、、るように、このループ式通信システム
は制御局lと局3a、3b、3cを伝送路5によって接
続したものである。この伝送路5にフレームを周回させ
各局間で通信を行なう。As shown in the figure, this loop communication system connects a control station 1 and stations 3a, 3b, and 3c through a transmission line 5. Frames are circulated through this transmission path 5 to perform communication between each station.
第6図は制御局1の構成を示すブロック図であり、同図
に示されるように、この制御局1は受信シフトレジスタ
7、フレームヘッダ検出部(FH検出部)9、受信カウ
ンタ11、発振器13、送信カウンタ15、送信シフト
レジスタ17、メモリ制御部19、フレームヘッダ発生
部(FH発生部)23からなる。FIG. 6 is a block diagram showing the configuration of the control station 1. As shown in the figure, the control station 1 includes a reception shift register 7, a frame header detection section (FH detection section) 9, a reception counter 11, an oscillator 13, a transmission counter 15, a transmission shift register 17, a memory control section 19, and a frame header generation section (FH generation section) 23.
第7図は伝送路5上を周回するフレーム25のフォーマ
ット図である。FIG. 7 is a format diagram of the frame 25 circulating on the transmission line 5.
同図に示されるように、このフレーム25は、複数のス
ロット27からなる。最初のスロットはフレームヘッダ
29である。スロット27は8ビツトのデータフィール
ド31と2ビツトの制御フィールド33からなる。フレ
ームヘッダ29はフレームの最初を示すものである。デ
ータフィールド31には通信すべきデータが搭載される
。制御フィールド33には制御情報が搭載される。As shown in the figure, this frame 25 consists of a plurality of slots 27. The first slot is the frame header 29. The slot 27 consists of an 8-bit data field 31 and a 2-bit control field 33. Frame header 29 indicates the beginning of the frame. The data field 31 is loaded with data to be communicated. The control field 33 is loaded with control information.
第6図において、受信シフトレジスタ7には受信データ
と受信クロックが入力され、シリアル型の受信データを
パラレル型のデータに変換してFH検出部9およびメモ
リ21に出力する。FH検出部9は受信シフトレジスタ
7から送られるデータがあらかじめ定まっているフレー
ムヘッダパターンと一致しているかどうかを検出し、一
致した場合には受信カウンタ11およびFH発生部23
に信号を送る。受信カウンタ11はFH検出部9から信
号が送られるとカウントを開始し、カウント値をメモリ
制御部19に送る。メモリ制御部19は送られてくるカ
ウント値をメモリ21のアドレスとしてメモリ21に与
える。メモリ21はメモリ制御部19から送られるアド
レスに応じて受信シフトレジスタ7から送られるデータ
を1スロツト毎に書込む。発振器13は32 M Hz
の信号を送信クロックとして発生させるとともにこれを
送信カウンタ15に送る。送信カウンタ15は発振2S
13で発生する信号をカウントし、カウント値をメモ
リ制御部19、送信シフトレジスタ17、FH発生部2
3に送る。メモリ制御部19は送信カウンタ15から送
られるカウント値をメモリ21のアドレスとして与える
。メモリ21はメモリ制御部19から送られる読出し用
のアドレスに応じて記憶されていた1スロット分のデー
タを送信シフトレジスタ17に送る。送信シフトレジス
タ17はメモリ21から送られるデータをシリアル型の
データに変換して送信データとして伝送路5に送出する
。この際、FH発生部23で発生されるフレームヘッダ
をフレームの先頭に付加する。In FIG. 6, reception shift register 7 receives reception data and a reception clock, converts the serial type reception data into parallel type data, and outputs the parallel type data to FH detection section 9 and memory 21. The FH detection unit 9 detects whether the data sent from the reception shift register 7 matches a predetermined frame header pattern, and if it matches, the reception counter 11 and the FH generation unit 23
send a signal to. The reception counter 11 starts counting when a signal is sent from the FH detection section 9, and sends the count value to the memory control section 19. The memory control unit 19 gives the sent count value to the memory 21 as an address of the memory 21. The memory 21 writes data sent from the reception shift register 7 in each slot in accordance with the address sent from the memory control section 19. Oscillator 13 is 32 MHz
This signal is generated as a transmission clock and is sent to the transmission counter 15. Transmission counter 15 oscillates 2S
13, and sends the count value to the memory control unit 19, the transmission shift register 17, and the FH generation unit 2.
Send to 3. The memory control unit 19 provides the count value sent from the transmission counter 15 as an address of the memory 21. The memory 21 sends the stored data for one slot to the transmission shift register 17 in accordance with the read address sent from the memory control unit 19. The transmission shift register 17 converts the data sent from the memory 21 into serial type data and sends it to the transmission line 5 as transmission data. At this time, a frame header generated by the FH generating section 23 is added to the beginning of the frame.
このようなループ式通信システムにおいては前述したよ
うに8ビツトのデータフィールド31と2ビツトの制御
フィールド33とでスロットを構成し400スロツトの
フレームを構成し、これを 125μs毎にループを周
回させる。In such a loop communication system, as described above, a slot is made up of an 8-bit data field 31 and a 2-bit control field 33 to form a 400-slot frame, which is looped around every 125 μs.
第8図に示されるように、伝送路5上に1つのフレーム
が周回している場合には、125μsのフレームのうち
ループ上に周回している分を差し引いた残りのものをメ
モリ21に保持する。As shown in FIG. 8, when one frame is circulating on the transmission line 5, the remaining 125 μs frame after subtracting the part circulating on the loop is held in the memory 21. do.
第9図に示す場合には、伝送路5上に2つのフレームが
周回している場合を示すもので2X 125μsのフ
レームのうちループ上に周回している分を差し引いた残
りのものをメモリ21に保持する。In the case shown in FIG. 9, two frames are circulating on the transmission line 5, and the remainder after subtracting the part circulating on the loop from the 2X 125 μs frames is stored in the memory 21. to hold.
第8図および第9図いずれの場合にもメモリ21は1フ
レーム分の容量があれば足りる。In either case of FIG. 8 or FIG. 9, it is sufficient for the memory 21 to have a capacity for one frame.
しかしながら、従来のループ式通信システムにおいては
、ループ1巡時間がフレーム周期の整数倍に近いとき、
局のバイパスや伝送路の温度変化等によりループによる
フレーム数が頻繁に変化することがある。この場合、例
えば伝送路5を3フレームが周回しているときに、相手
局に届かないうちに周回しているフレーム数が2フレー
ムになって1フレーム分のデータが失われるということ
が生じる。However, in conventional loop communication systems, when the loop time is close to an integral multiple of the frame period,
The number of frames in the loop may change frequently due to station bypasses, temperature changes in the transmission path, etc. In this case, for example, when three frames are circulating on the transmission path 5, the number of frames circulating before reaching the partner station becomes two frames, and data for one frame is lost.
(発明が解決しようとする課8)
このように従来のループ式通信システムにおいて、ルー
プ1巡時間がフレーム周期の整数倍に近いときにはフレ
ームが失われるという問題点が生じていた。(Problem 8 to be Solved by the Invention) As described above, in the conventional loop type communication system, there has been a problem that frames are lost when the loop time is close to an integral multiple of the frame period.
本発明はこのような問題点に鑑みてなされたもので、ル
ープ1巡時間がフレーム周期の整数倍に近い場合でもデ
ータ消失の危険がなく、信頓性の高い通信を行えるルー
プ式通信システムを提供することにある。The present invention has been made in view of these problems, and provides a loop communication system that allows highly reliable communication without the risk of data loss even when the loop time is close to an integral multiple of the frame period. It is about providing.
[発明の構成]
(課題を解決するための手段)
前記目的を達成するために本発明は、制御局と複数の局
とを伝送路を介してループ状に接続し、該伝送路にフレ
ームを周回させることにより各局間で通信を行ない、か
つ前記伝送路を周回されるフレーム数が可変可能とされ
たループ式通信システムにおいて、前記制御局に、2フ
レーム分の容量を有するメモリと、伝送路上で周回する
フレ−ム数の減少を検出する検出手段と、通常時には前
記メモリを1フレーム分の容量で駆動させ前記検出手段
によって伝送路上のフレーム数の減少が検出されると前
記メモリを2フレーム分の容量で駆動させるメモリ制御
手段とを設けることを特徴とする。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention connects a control station and a plurality of stations in a loop via a transmission path, and transmits frames to the transmission path. In a loop type communication system in which communication is performed between each station by circulating the transmission line, and the number of frames circulated on the transmission line can be varied, the control station includes a memory having a capacity for two frames, and a frame on the transmission line. a detecting means for detecting a decrease in the number of frames circulating on the transmission path; and a detecting means for detecting a decrease in the number of frames circulating on the transmission path; and a detecting means for driving the memory with a capacity for one frame under normal conditions; The memory controller is characterized in that it is provided with a memory control means for driving the memory with a capacity corresponding to that of the memory.
(作 用)
制御局のメモリは2フレーム分の容量があり、通常時に
はこのメモリを1フレーム分の容量で駆動させ検出手段
によって伝送路上のフレーム数が減少したことが検出さ
れるとこのメモリを2フレーム分の容量で駆動させるこ
とによりデータの喪失を回避している。(Function) The memory of the control station has a capacity for two frames, and normally this memory is driven with a capacity for one frame, and when the detection means detects that the number of frames on the transmission path has decreased, this memory is activated. Data loss is avoided by driving with a capacity for two frames.
(実施例)
以下、図面に基づいて本発明の実施例を詳細に説明する
。(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.
本実施例に係るループ式通信システムは第5図に示すも
のと同様の構成を有する。The loop communication system according to this embodiment has a configuration similar to that shown in FIG.
すなわち第1図は本実施例における制御局1の構成を示
すブロック図であり、第6図に示す従来例と同一の機能
を果す要素にはそれと同一の番号を付し重複した説明を
避ける。That is, FIG. 1 is a block diagram showing the configuration of the control station 1 in this embodiment, and elements that perform the same functions as those in the conventional example shown in FIG. 6 are given the same numbers to avoid redundant explanation.
第1図に示すように、本実施例においては新たに初期値
制御部37.39、遅延カウンタ41、比較値記憶部4
3、比較器45、除算器47を設ける。−また、受信カ
ウンタ11、送信カウンタ15、メモリ制御部19、初
期値制御部37.39によってメモリ制御手段49が構
成される。さらに、遅延カウンタ41、比較値記憶部4
3、比較器45、除算器47によって検出手段51が構
成される。As shown in FIG. 1, this embodiment newly includes an initial value control section 37, 39, a delay counter 41, and a comparison value storage section 4.
3. A comparator 45 and a divider 47 are provided. - Furthermore, a memory control means 49 is constituted by the reception counter 11, the transmission counter 15, the memory control section 19, and the initial value control section 37.39. Further, a delay counter 41, a comparison value storage section 4
3, the comparator 45 and the divider 47 constitute the detection means 51.
初期値制御部37は比較器45の出力に応じて受信カウ
ンタ11の初期値を与える。すなわちメモリ21aを1
フレーム分の容量で駆動する場合には受信カウンタ11
のカウント値が“400°になると“l”からカウント
アツプさせる。これに反して、メモリ21aを2フレー
ム分の容量で駆動する場合には、受信カウンタ11のカ
ウント値が“800″になると“l”からカウントアツ
プさせる。初期値制御部39は比較器45の出力に応じ
て送信カウンタ15の初期値を与える。すなわちメモリ
21aが1フレーム分の容量で駆動される場合には、送
信カウンタ15の値が“400mになると1mからカウ
ントアツプさせ、メモリ21aが2フレーム分の容量で
駆動される場合には送信カウンタ15の値が800”に
なると“l”からカウントアツプさせるようにする。The initial value control section 37 provides an initial value to the reception counter 11 according to the output of the comparator 45. In other words, the memory 21a is
When driving with frame capacity, receive counter 11
When the count value of the reception counter 11 reaches "400°," the count is increased from "l".On the other hand, when the memory 21a is driven with a capacity for two frames, when the count value of the reception counter 11 reaches "800", the count is increased from "l". The initial value control section 39 gives the initial value of the transmission counter 15 in accordance with the output of the comparator 45. That is, when the memory 21a is driven with a capacity for one frame, the transmission counter 15 When the value of the transmission counter 15 reaches 400m, the count is incremented from 1m, and when the memory 21a is driven with a capacity for two frames, the count is incremented from 1 when the value of the transmission counter 15 reaches 800.
遅延カウンタ41はあるフレームを送信してからそのフ
レームを受信するまでの遅延量を測定するもので、FH
パターン発生部23によってフレームヘッダが発生され
てからFH検出部9によってフレームヘッダが検出され
るまでの時間をカウントし、これをホールドした後比較
器45に出力する。The delay counter 41 measures the amount of delay from transmitting a certain frame to receiving that frame.
The time from when a frame header is generated by the pattern generator 23 to when the frame header is detected by the FH detector 9 is counted, held, and then output to the comparator 45.
メモリ21aは、第2図に示すように、2フレーム分の
データを記憶できる。すなわち800スロツトのデータ
容量を備えたものである。The memory 21a can store data for two frames, as shown in FIG. That is, it has a data capacity of 800 slots.
次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
第3図は本実施例におけるフレームのフォーマットを示
すもので、伝送路上に1フレームが周回している場合の
フレームのフォーマットである。FIG. 3 shows the frame format in this embodiment, and is the frame format when one frame circulates on the transmission path.
第1スロツトはすべてが1mのフレームヘッダFH,で
ある。以下、これに第2スロツトから第400のスロッ
トが続く。各スロットは8ビツトのデータフィールド3
1と2ビツトの制御フィールド33からなる。データフ
ィールド31の最後の1ビツトXは伝送路上にフレーム
が複数個存在した場合には1つのフレームのみ“0”で
残りのフレームは1”となり、単一のフレームが周回し
ている場合には“0”となる。また、制御フィールド3
3の最初の1ビツトはXの補数Xとなる。比較値記憶部
43には比較すべき設定値が記憶されており、その初期
値としては1フレームのスロット数が記憶されている。The first slot is an all 1m frame header FH. This is followed by the second slot to the 400th slot. Each slot has an 8-bit data field 3
It consists of a control field 33 of 1 and 2 bits. The last 1 bit X of the data field 31 is "0" for only one frame when there are multiple frames on the transmission path, and "1" for the remaining frames, and when a single frame is circulating, becomes “0”. Also, control field 3
The first 1 bit of 3 becomes the complement of X. The comparison value storage unit 43 stores setting values to be compared, and the number of slots in one frame is stored as an initial value.
比較器45は遅延カウンタ41の出力と比較値記憶部4
3の出力値の大小を比較し、遅延カウンタ41の出力値
が比較値記憶部43の出力値より小さいとき、ループ上
の遅延が少なくなったことを意味すると同時にループ上
の遅延が1フレームの整数倍近傍で前後する可能性があ
るので初期値制御部37.39を制御する。除算器47
は遅延カウンタ41の出力値を比較値記憶部43の出力
値で除算し遅延カウンタ41の出力値のほうが大きい場
合、その商を比較値記憶部43に設定する。A comparator 45 connects the output of the delay counter 41 and the comparison value storage section 4.
3, and when the output value of the delay counter 41 is smaller than the output value of the comparison value storage section 43, it means that the delay on the loop has decreased, and at the same time, the delay on the loop has decreased by one frame. Since the value may fluctuate around an integral multiple, the initial value controllers 37 and 39 are controlled. Divider 47
divides the output value of the delay counter 41 by the output value of the comparison value storage section 43 and sets the quotient in the comparison value storage section 43 if the output value of the delay counter 41 is larger.
初期状態においては、メモリ21は1フレーム分の容量
で駆動される。すなわち受信カウンタ11、送信カウン
タ15はカウント値が“400”となると次のカウント
値が“1”に初期化される。In the initial state, the memory 21 is driven with a capacity for one frame. That is, when the count value of the reception counter 11 and the transmission counter 15 reaches "400", the next count value is initialized to "1".
送信カウンタ15のカウント値はメモリ制御部19に送
られメモリ制御部19からメモリ21aに読出し用のア
ドレスが与えられメモリ21aから対応するデータが読
出され、送信シフトレジスタ17を介して伝送路5に送
信データが送出される。The count value of the transmission counter 15 is sent to the memory control unit 19, and the memory control unit 19 gives a reading address to the memory 21a, and the corresponding data is read out from the memory 21a, and is sent to the transmission line 5 via the transmission shift register 17. Transmission data is sent.
この場合、フレームのデータフィールドの最後の1ビツ
トXは“0#である。受信シフトレジスタ7を介してF
H検出部9によってフレームヘッダが検出されると受信
カウンタ11の発するカウント値がメモリ21aの書込
み用アドレスとなり、このアドレスに応じて受信シフト
レジスタ7を介して入力される受信データがメモリ21
aに書込まれる。In this case, the last bit X of the data field of the frame is “0#”.
When the frame header is detected by the H detection unit 9, the count value issued by the reception counter 11 becomes the write address of the memory 21a, and the reception data inputted via the reception shift register 7 according to this address is written to the memory 21a.
written to a.
遅延カウンタ41はフレームを送信してからフレームを
受信するまでの時間を測定する。比較器45は遅延カウ
ンタ41と比較値記憶部43の出力値とを比較し遅延カ
ウンタ41の出力値が比較値記憶部43の設定比較値よ
り小さい場合はその状態を保持する。The delay counter 41 measures the time from transmitting a frame to receiving the frame. The comparator 45 compares the output value of the delay counter 41 and the comparison value storage section 43, and if the output value of the delay counter 41 is smaller than the set comparison value of the comparison value storage section 43, that state is maintained.
また、除算器47により遅延カウンタ41の出力値が比
較値記憶部43の出力値より大きい場合にはその商が比
較値記憶部43に再設定される。Further, when the output value of the delay counter 41 is larger than the output value of the comparison value storage section 43 by the divider 47, the quotient is reset in the comparison value storage section 43.
以降、X−0のフレームを送信してから受信するまでの
遅延値を設定比較値と比較器45によって比較する。こ
の比較によって遅延カウンタ41の示す遅延値が比較値
記憶部43の設定比較値より大きいときはメモリ21a
は1フレーム分の容量で駆動される。Thereafter, the comparator 45 compares the delay value from when the X-0 frame is transmitted to when it is received with the set comparison value. As a result of this comparison, if the delay value indicated by the delay counter 41 is larger than the comparison value set in the comparison value storage section 43, the memory 21a
is driven with a capacity for one frame.
遅延カウンタ41の示す遅延値が比較値記憶部43の出
力値より小さくなったときには、伝送路上の遅延が少な
くなったことを意味すると同時に伝送路上の遅延が1フ
レームの整数倍近傍で前後する可能性がある。このため
、メモリ21aを2フレーム分の容量で駆動させる。す
なわち比較器45の出力によって初期値制御部37は受
信カウンタ11の初期値を“1″と“401″とを交互
に用いる。また、初期値制御部39は送信カウンタ15
がカウント数400で初期値1に戻していた制御をカウ
ント数800で初期値lに戻す制御に移行させる。した
がってメモリ制御部19によりメモリ21aのアドレス
は1〜800が与えられメモリ21aは2フレーム分の
容量で駆動される。When the delay value indicated by the delay counter 41 becomes smaller than the output value of the comparison value storage unit 43, it means that the delay on the transmission path has decreased, and at the same time, the delay on the transmission path can fluctuate around an integer multiple of one frame. There is sex. Therefore, the memory 21a is driven with a capacity for two frames. That is, depending on the output of the comparator 45, the initial value control unit 37 alternately uses "1" and "401" as the initial value of the reception counter 11. The initial value control unit 39 also controls the transmission counter 15.
The control that had been returning to the initial value 1 when the count number is 400 is shifted to the control that is returning to the initial value l when the count number is 800. Therefore, the memory controller 19 gives addresses 1 to 800 to the memory 21a, and the memory 21a is driven with a capacity for two frames.
第4図は伝送路に3つのフレームが周回している場合の
メモリ21aに保持されるデータ量を示す図である。FIG. 4 is a diagram showing the amount of data held in the memory 21a when three frames circulate on the transmission path.
同図において、FHo %FH1、PH2は3種類のフ
レームヘッダを示している。遅延カウンタ41の出力値
が比較値記憶部43の出力値よりも大きいときには3フ
レーム分から、ループ上に周回しているデータを差し引
いたものは1フレーム分以下であるのでメモリ21aは
1フレーム分の容量で駆動すれば足りる(第4図(a)
)。In the figure, FHo%FH1 and PH2 indicate three types of frame headers. When the output value of the delay counter 41 is larger than the output value of the comparison value storage section 43, the data for three frames minus the data circulating on the loop is less than one frame, so the memory 21a stores the data for one frame. It is sufficient to drive with capacity (Figure 4 (a)
).
遅延カウンタ41の出力値が比較値記憶部43の出力値
よりも小さくなるとループ1巡時間(伝送路上の遅延)
が1フレームの整数倍近傍で前後する可能性があり、従
来フレームが喪失されることがあった。しかし本実施例
ではこのような場合、メモリ21aを2フレーム分の容
量に切替でいるので、第4図(b)に示すように、3フ
レーム分のデータのうちループ上のデータを差し引いた
残りが1フレーム分以上あっても、これをメモリ21a
に保持できるのでデータの喪失を防ぐことができる。When the output value of the delay counter 41 becomes smaller than the output value of the comparison value storage section 43, the loop one round time (delay on the transmission path)
There is a possibility that the number of frames changes around an integer multiple of one frame, and in the past, frames were sometimes lost. However, in this embodiment, in such a case, the memory 21a is switched to a capacity for two frames, so as shown in FIG. Even if there is more than one frame, it is stored in the memory 21a.
data can be retained to prevent data loss.
なお、本発明はその技術的思想の範囲内で種々の変形が
可能である。Note that the present invention can be modified in various ways within the scope of its technical idea.
例えば本実施例では、スロットの構成はデータフィール
ドが8ビツトであり制御フィールドが2ビツトであった
が、8ビツトのデータフィールドと1ビツトの制御フィ
ールドとすることもできる。For example, in this embodiment, the slot has a data field of 8 bits and a control field of 2 bits, but it may also have an 8-bit data field and a 1-bit control field.
また1フレームのスロット数が例えば1538スロツト
とすることもできる。この場合、受信カウンタ11、送
信カウンタ15を9ビツト毎に進め比較値を1536、
遅延値を1536で除算した値を比較値として比較値記
憶部43に設定すればよい。Further, the number of slots in one frame may be, for example, 1538 slots. In this case, the reception counter 11 and transmission counter 15 are advanced every 9 bits, and the comparison value is 1536,
The value obtained by dividing the delay value by 1536 may be set in the comparison value storage section 43 as a comparison value.
また、メモリ21aは必ずしも連続的に使用する必要は
ない。例えば1フレームが1536スロツトの場合、フ
レームヘッダが受信による受信カウンタの初期値を0と
2048とを交互に設定し、送信カウンタも0から15
35まで進んだら次を2048に初期化し、さらに35
83に進んだら0に初期化してもよい。Furthermore, the memory 21a does not necessarily need to be used continuously. For example, if one frame has 1536 slots, the initial value of the reception counter due to reception in the frame header is set alternately between 0 and 2048, and the transmission counter is also set from 0 to 15.
When it reaches 35, initialize the next one to 2048, and then 35
After proceeding to step 83, it may be initialized to 0.
また、メモリ21aへの読み書きは必ずしも、スロット
単位に行う必要はなく、例えば4スロット単位としても
よい。このときアドレスは4スロツト毎に進むように受
信カウンタ11、送信カウンタ15を制御すればよい。Further, reading and writing to the memory 21a does not necessarily have to be performed in units of slots, and may be performed in units of 4 slots, for example. At this time, the reception counter 11 and transmission counter 15 may be controlled so that the address advances every four slots.
またループの1巡時間は125μsである必要はなく、
例えば10μsでも 100μsでもよい。Also, the time for one round of the loop does not need to be 125 μs,
For example, it may be 10 μs or 100 μs.
[発明の効果]
以上詳細に説明したように本発明によれば、ループ1巡
時間がフレーム周期の整数倍に近い場合でもデータ消失
の危険がなく信頼性の高い通信を行うことができる。[Effects of the Invention] As described in detail above, according to the present invention, even when the loop time is close to an integral multiple of the frame period, highly reliable communication can be performed without the risk of data loss.
第1図は本発明の一実施例に係るループ式通信システム
の制御局の構成を示すブロック図、第2図はメモリ21
aのメモリマツプ、第3図はフレームのフォーマット図
、第4図は送信と受信のタイミングを示す図、第5図は
ループ式通信システムの概略構成図、第6図は従来の制
御局の構成を示すブロック図、第7図は従来例における
フレームのフォーマット図、第8図および第9図は従来
例における送信と受信のタイミングを示す図である。
11・・・・・・・・・受信カウンタ
15・・・・・・・・・送信カウンタ
19・・・・・・・・・メモリ制御部
21a・・・・・・メモリ
37.39・・・初期値制御部
41・・・・・・・・・遅延カウンタ
43・・・・・・・・・比較値記憶部
45・・・・・・・・・比較器
47・・・・・・・・・除算器
出願人 株式会社 東芝
代理人 弁理士 須 山 佐 −
第3図FIG. 1 is a block diagram showing the configuration of a control station of a loop communication system according to an embodiment of the present invention, and FIG.
Figure 3 is a frame format diagram, Figure 4 is a diagram showing transmission and reception timing, Figure 5 is a schematic configuration diagram of a loop communication system, and Figure 6 is a diagram showing the configuration of a conventional control station. FIG. 7 is a diagram showing a frame format in the conventional example, and FIGS. 8 and 9 are diagrams showing transmission and reception timing in the conventional example. 11...Reception counter 15...Transmission counter 19...Memory control unit 21a...Memory 37.39...・Initial value control unit 41...Delay counter 43...Comparison value storage unit 45...Comparator 47... ...Divider applicant Toshiba Corporation Patent attorney Sasa Suyama - Figure 3
Claims (1)
接続し、該伝送路にフレームを周回させることにより各
局間で通信を行ない、かつ前記伝送路を周回されるフレ
ーム数が可変可能とされたループ式通信システムにおい
て、 前記制御局に、 2フレーム分の容量を有するメモリと、 伝送路上で周回するフレーム数の減少を検出する検出手
段と、 通常時には前記メモリを1フレーム分の容量で駆動させ
前記検出手段によって伝送路上のフレーム数の減少が検
出されると前記メモリを2フレーム分の容量で駆動させ
るメモリ制御手段と を設けることを特徴とするループ式通信システム。(1) A control station and a plurality of stations are connected in a loop via a transmission path, and communication is performed between each station by circulating frames on the transmission path, and the number of frames circulating on the transmission path is In a variable loop communication system, the control station includes a memory having a capacity for two frames, a detection means for detecting a decrease in the number of frames circulating on a transmission path, and a memory that normally has a capacity for one frame. and memory control means for driving the memory at a capacity of two frames when the detecting means detects a decrease in the number of frames on the transmission path.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63033539A JPH01208933A (en) | 1988-02-16 | 1988-02-16 | Loop type communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63033539A JPH01208933A (en) | 1988-02-16 | 1988-02-16 | Loop type communication system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01208933A true JPH01208933A (en) | 1989-08-22 |
Family
ID=12389368
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63033539A Pending JPH01208933A (en) | 1988-02-16 | 1988-02-16 | Loop type communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01208933A (en) |
-
1988
- 1988-02-16 JP JP63033539A patent/JPH01208933A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4363125A (en) | Memory readback check method and apparatus | |
| US5467081A (en) | Datacarriers with separate storage of read and write-inhibited memory locations | |
| US4345319A (en) | Self-correcting, solid-state-mass-memory organized by bits and with reconfiguration capability for a stored program control system | |
| US6842393B2 (en) | Method for selecting one or a bank of memory devices | |
| JPH1173479A (en) | Chip card reader equipped with high-speed communication protocol | |
| JP4387595B2 (en) | Transmitter, receiver and method in a telecommunications system for generating PN sequences for multiple user channels | |
| US7936792B2 (en) | Method and circuit for asynchronous transmission | |
| KR0139494B1 (en) | Smart card data communication device and method | |
| US4012719A (en) | Communication multiplexer module | |
| JPS63142403A (en) | Input control circuit for programmable automaton | |
| JP2798398B2 (en) | Serial memory device | |
| KR910001071B1 (en) | Error correction system of telext system using cyclic code | |
| US4594656A (en) | Memory refresh apparatus | |
| US4171765A (en) | Error detection system | |
| US4016367A (en) | Communication multiplexer module | |
| US4636790A (en) | Addressable port telemetry system | |
| US4012718A (en) | Communication multiplexer module | |
| US4246569A (en) | Digital recognition circuits | |
| US7721060B2 (en) | Method and apparatus for maintaining data density for derived clocking | |
| JPS6273826A (en) | Frame transmission and reception system | |
| JPH0210938A (en) | Data transmission system | |
| SU640299A1 (en) | Discrete information transmitting device | |
| KR100224644B1 (en) | Receive storage of serial input data | |
| JPS58143500A (en) | Storage device available for interleaving | |
| JP2578762B2 (en) | Error correction code generator |