JPH0245860B2 - - Google Patents
Info
- Publication number
- JPH0245860B2 JPH0245860B2 JP57151893A JP15189382A JPH0245860B2 JP H0245860 B2 JPH0245860 B2 JP H0245860B2 JP 57151893 A JP57151893 A JP 57151893A JP 15189382 A JP15189382 A JP 15189382A JP H0245860 B2 JPH0245860 B2 JP H0245860B2
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- station
- circuit
- data
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】
本発明は信号伝送回路に係り、特にループ状通
信路におけるn:m通信に好適な信号伝送回路に
関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a signal transmission circuit, and particularly to a signal transmission circuit suitable for n:m communication in a loop-shaped communication path.
データ通信のネツトワークでは、複数の局を接
続するのにマルチドロツプ、ループ状、スター状
などとするが、高速応答、高スループツトの点か
らはループ状とするのが適している。さらに任意
の局との通信を可能とするn:m通信が今後広く
採用されるものと思われる。 In a data communications network, multiple stations are connected in a multi-drop, loop, star, etc. network, but a loop is suitable from the standpoint of high speed response and high throughput. Furthermore, n:m communication, which enables communication with any station, is expected to be widely adopted in the future.
n:m通信を実現するためには、1:n通信の
場合と異なり、通信路上のデータが通信路を一巡
だけし、一巡を越えて通信路上に存在しないよう
にすることが必要であるが、これが困難であるた
め、これがn:m通信の普及を阻害する理由の1
つてなつていた。 In order to realize n:m communication, unlike the case of 1:n communication, it is necessary to make sure that the data on the communication path goes around the communication path only once and does not exist on the communication path beyond one round. , this is one of the reasons why n:m communication is hindered from spreading because this is difficult.
It was hot.
第1図はループ状通信の概略構成図である。第
1図においては、5台の局A〜Eがループ状の通
信路51に接続されている。通信路51を伝送さ
れるデータの方向は、例えば、図示矢印で示して
あるようにA→B→C→D→E→Aと一定として
ある。また、各局は各局が有する送信端と受信端
とが通信路51に接続されている。 FIG. 1 is a schematic diagram of loop communication. In FIG. 1, five stations A to E are connected to a loop-shaped communication path 51. In FIG. The direction of data transmitted through the communication channel 51 is fixed, for example, as A→B→C→D→E→A, as indicated by arrows in the figure. Furthermore, the transmitting end and receiving end of each station are connected to the communication path 51.
各局A〜Eは、送受信データの直並列変換とフ
レームの制御を行う信号伝送回路と、データを格
納するメモリと、アプリケーシヨン側とのインタ
ーフエース部およびこれらを制御する指令部とか
ら構成してある。指令部はランダムロジツク、マ
イクロコンピユータのいずれで構成してもよいこ
とはいうまでもない。なお、局A〜Eの信号伝送
回路はすべて同一回路で構成してある。 Each station A to E consists of a signal transmission circuit that performs serial-parallel conversion of transmitted and received data and frame control, a memory that stores data, an interface unit with the application side, and a command unit that controls these. be. It goes without saying that the command section may be constructed of either random logic or a microcomputer. Note that the signal transmission circuits of stations A to E are all composed of the same circuit.
n:m通信では、各局A〜Eは、上流局から通
信路51を介して受信したデータをそのまま下流
局へ流すリピートモードと、各局A〜E自身が他
局にデータを送信する送信モードとが必要で、こ
の2つのモードを必要に応じて切り替えるように
している。 In n:m communication, each station A to E operates in a repeat mode in which data received from an upstream station via the communication path 51 is sent as is to a downstream station, and in a transmission mode in which each station A to E itself transmits data to other stations. is required, and these two modes can be switched as needed.
また、各局A〜Eがデータを通信路51へ送信
できるのは、送信権を示す送信権信号を受信し、
かつ、送信権信号に続くフレームが無いことを確
認した時点である。この送信権信号は通信路51
上にただ1個しか存在しない。 Furthermore, each station A to E can transmit data to the communication path 51 only after receiving a transmission right signal indicating the transmission right.
This is also the time when it is confirmed that there is no frame following the transmission right signal. This transmission right signal is transmitted through the communication path 51.
There is only one above.
伝送される直列のデータの構成例を第2図に示
す。第2図に示す直列データは、High Level
Data Link(以下HDLCと略す。)手順にしたがう
ものである。データの集まりであるフレームの区
切りは、開始フラグ52と終結フラグ57で示さ
れ、両フラグ52,57のピツトパターンは同じ
で、“01111110”と決めてある。開始フラグ52
に続いて受信する局番号を示す宛先アドレス5
3、2局間の通信リンク状態を制御するコントロ
ール部54、情報部55および宛先アドレス53
とコントロール部54と情報部55とのエラーチ
エツクを行うFCS(Frame Check Sequence)5
6があり、最後に終結フラグ57がある。 FIG. 2 shows an example of the structure of serial data to be transmitted. The serial data shown in Figure 2 is High Level
It follows the Data Link (hereinafter abbreviated as HDLC) procedure. The division of a frame, which is a collection of data, is indicated by a start flag 52 and an end flag 57. Both flags 52 and 57 have the same pit pattern, which is determined as "01111110". Start flag 52
followed by destination address 5 indicating the receiving station number.
3. A control unit 54, an information unit 55, and a destination address 53 that control the communication link status between two stations.
FCS (Frame Check Sequence) 5 performs an error check between the control section 54 and the information section 55.
6, and finally a termination flag 57.
送信権信号には各種あり、“0”に続く“1”
を連続7個(以下GAパターンを称する。)受信
すると、7個目の“1”を“0”に変更し、これ
を開始フラグとする方法、ある特定のパターンの
フレームに続くGAパターンの組合せとする方法
とがある。前者のGAパターンのみの方法は、フ
レーム間のアイドルデータが“1”であると、ノ
イズにより“0”に変化することがあるため、一
般には後者の特定パターンのフレームに続くGA
パターンを用いる。 There are various types of transmission right signals: “0” followed by “1”
When seven consecutive ``GA patterns'' (hereinafter referred to as GA patterns) are received, the seventh ``1'' is changed to ``0'' and this is used as a start flag, a combination of GA patterns following a frame of a certain pattern. There is a method to do this. In the former method using only GA patterns, if the idle data between frames is "1", it may change to "0" due to noise, so in general, the latter method using GA pattern following a frame with a specific pattern is
Use patterns.
送信権信号を生成して送信する送信権管理局
は、通信路51上で同一時刻には只一局しか存在
しないようにあらかじめ一局に固定するか、ある
いは、順送りに交代するか、それともその都度全
局A〜Eの中から一局を決定するなどの方法によ
つて決める。 The transmission right management station that generates and transmits the transmission right signal is fixed to one station in advance so that only one station exists at the same time on the communication path 51, or it is rotated sequentially, or This is determined by a method such as selecting one station from among all stations A to E each time.
次に、従来の信号伝送回路と伝送されるフレー
ムの流れとを第3図、第4図を用いて説明する。 Next, a conventional signal transmission circuit and the flow of transmitted frames will be explained using FIGS. 3 and 4.
第3図は従来の信号伝送回路のブロツク図で、
第4図は第3図による場合のフレームの流れ図で
ある。第3図において、直流データ列である通信
路51から受信する受信データRDは、直列デー
タを並列データに変換する直並列変換回路2、送
信権信号のGAパターンを検出するGA検出回路
3、開始フラグ52または終結フラグ57を検出
する検出回路4およびリピートモード時に通信路
51へ送信するデータを選択する第1選択回路1
4に入力される。 Figure 3 is a block diagram of a conventional signal transmission circuit.
FIG. 4 is a frame flowchart for the case according to FIG. In FIG. 3, received data RD, which is a DC data string, received from a communication path 51 is transmitted through a serial-to-parallel conversion circuit 2 that converts serial data to parallel data, a GA detection circuit 3 that detects a GA pattern of a transmission right signal, and a GA detection circuit 3 that detects a GA pattern of a transmission right signal. A detection circuit 4 that detects the flag 52 or termination flag 57, and a first selection circuit 1 that selects data to be transmitted to the communication channel 51 in repeat mode.
4 is input.
直並列変換回路2で並列データに変換されたデ
ータは、受信バツフアレジスタ5に一時格納され
た後、並列データバス20を介してメモリ(図示
せず)に転送される。一方、GA検出回路3で
GAパターンを検出したことを状態レジスタ6に
記憶し、状態レジスタ6は送信開始許可信号22
を送信制御回路9に出力する。また、フラグ検出
回路4は、開始フラグ52あるいは終結フラグ5
7を受信したことを検出し、状態レジスタ6に記
憶させる。これはフレームの送信が開始されたか
あるいは終了したことを示す。状態レジスタ6の
内容は、並列データバス20を介して指令部(図
示せず)に必要に応じて報告される。 The data converted into parallel data by the serial/parallel conversion circuit 2 is temporarily stored in the reception buffer register 5, and then transferred to a memory (not shown) via the parallel data bus 20. On the other hand, in GA detection circuit 3
The detection of the GA pattern is stored in the status register 6, and the status register 6 receives the transmission start permission signal 22.
is output to the transmission control circuit 9. The flag detection circuit 4 also detects a start flag 52 or an end flag 5.
7 is received and stored in the status register 6. This indicates that frame transmission has started or ended. The contents of the status register 6 are reported to a command unit (not shown) via the parallel data bus 20 as necessary.
指令部からのデータの送受信を制御する情報
は、制御レジスタ7に格納される。また、通信路
51への送信データはメモリより随時送信バツフ
アレジスタ8に格納される。送信バルフアレジス
タ8に格納された送信データは、並直列変換回路
10により並列データから直列データに変換さ
れ、また、FCS生成回路11でFCS56が生成さ
れる。また、GAパターンはGA生成回路12、
開始フラグ52および終結フラグ57はフラグ生
成回路13で生成される。 Information for controlling the transmission and reception of data from the command section is stored in the control register 7. Further, data to be transmitted to the communication path 51 is stored in the transmission buffer register 8 from the memory at any time. The transmission data stored in the transmission buffer register 8 is converted from parallel data to serial data by a parallel-to-serial conversion circuit 10, and an FCS 56 is generated by an FCS generation circuit 11. In addition, the GA pattern is the GA generation circuit 12,
The start flag 52 and the end flag 57 are generated by the flag generation circuit 13.
リピートモードあるいは送信モードにより通信
路51に送出される送信データTDは、第1選択
回路41で受信データRDあるいは直並列変換回
路10、FCS生成回路11、フラグ生成回路12
およびGA生成回路13からの出力のうちの1個
を選択する第2選択回路15の出力のうちいずれ
かが選択される。なお、第1選択回路14および
第2選択回路15をそれぞれ選択する送信・リピ
ート切替信号26および送信切替信号27は送信
制御回路9で生成される。 The transmission data TD sent to the communication path 51 in the repeat mode or the transmission mode is sent to the first selection circuit 41 as the reception data RD or the serial/parallel conversion circuit 10, the FCS generation circuit 11, and the flag generation circuit 12.
And one of the outputs of the second selection circuit 15 which selects one of the outputs from the GA generation circuit 13 is selected. Note that a transmission/repeat switching signal 26 and a transmission switching signal 27 for selecting the first selection circuit 14 and the second selection circuit 15, respectively, are generated by the transmission control circuit 9.
送信・リピート切替信号26、送信切替信号2
7、並直列変換回路10、FCS生成回路11、フ
ラグ生成回路12およびGA生成回路13を制御
する信号は送信制御回路9で生成され、送信制御
回路9は、制御レジスタ7内の送信要求信号2
3、リピート信号24および状態レジスタ6から
の送信開始許可信号22にしたがい動作する。 Transmission/repeat switching signal 26, transmission switching signal 2
7. Signals that control the parallel/serial conversion circuit 10, FCS generation circuit 11, flag generation circuit 12, and GA generation circuit 13 are generated by the transmission control circuit 9, and the transmission control circuit 9 receives the transmission request signal 2 in the control register 7.
3. It operates according to the repeat signal 24 and the transmission start permission signal 22 from the status register 6.
受信データRD、送信データTDは別に設けた
クロツク発生回路からのクロツクCLKに同期し
て送受信される。受信用のクロツクと送信用のク
ロツクは、ループ状通信ではリピートモードがあ
るため、同位相であることが必要であり、共通の
クロツクCLKにできる。 Reception data RD and transmission data TD are transmitted and received in synchronization with clock CLK from a separately provided clock generation circuit. Since the clock for reception and the clock for transmission have a repeat mode in loop communication, they need to be in the same phase, and can be a common clock CLK.
次に、フレームの流れについて第4図を参照し
て説明する。いま、送信権管理局を局A、送信デ
ータを要求している局を局Cとする。また、デー
タを送信していないフレーム間では“1”が送信
されているものとする。 Next, the flow of frames will be explained with reference to FIG. Now, assume that the transmission right management station is station A, and the station requesting transmission data is station C. Furthermore, it is assumed that "1" is transmitted between frames in which no data is transmitted.
局Aは、時刻t1にリピートモードから送信モー
ドに切り替え、送信権フレームTNとGAパター
ンとを送信し、それ以後はアイドルデータ“1”
を送信する。局B〜局Eはリピートモードである
が、局Cは送信権信号を受信したら送信モードに
切り替わり、フレームFCを送信する準備をする。 Station A switches from repeat mode to transmission mode at time t1 , transmits the transmission right frame TN and GA pattern, and thereafter transmits idle data "1".
Send. Stations B to E are in repeat mode, but when station C receives the transmission right signal, it switches to transmission mode and prepares to transmit frame FC.
送信するデータは、通信路51による時間遅れ
と各局のリピートモードおよびドライバーレシー
バ回路による時間遅れとの合計の時間遅れが生ず
るが、一巡するための時間遅れによる位相ずれ
は、ある局により補正され、全局A〜Eが正しく
送受信できるようになつている。 The data to be transmitted has a total time delay of the time delay caused by the communication path 51 and the time delay caused by the repeat mode and driver-receiver circuit of each station, but the phase shift due to the time delay for one round is corrected by a certain station, All stations A to E can transmit and receive correctly.
局Bは受信したデータをリピートモードで局C
に送信する。局Cは送信要求があるため、送信権
フレームTNの受信を待つている。そして、送信
権フレームTNの開始フラグ52を受信すると、
フラグ検出回路4で開始フラグ52を検出したこ
とを状態レジスタ6に記憶させ、指令部に報告す
る。指令部は受信バツフアレジスタ5から並列デ
ータバス20を介して受信したデータを取り込ん
で解読し、受信したフレームが送信権フレーム
TNと同一パターンであることを判定すると、指
令部はGA検出回路3がGAバターンを検出した
ときに送信モードに切り替えてフレームFCを送
信するため、制御レジスタ7のリピート信号24
をリセツト状態にする。これにより、局CはGA
検出回路3でGAパターンを検出すると送信開始
許可信号22を出力し、時刻t2に送信・リピート
切替信号26は第1選択回路14の選択信号を受
信データRDから送信データとなる第2選択回路
15の出力に切り替える。 Station B sends the received data to station C in repeat mode.
Send to. Since station C has a transmission request, it is waiting to receive a transmission right frame TN. Then, upon receiving the start flag 52 of the transmission right frame TN,
The fact that the flag detection circuit 4 has detected the start flag 52 is stored in the status register 6 and reported to the command section. The command unit takes in and decodes the data received from the reception buffer register 5 via the parallel data bus 20, and the received frame becomes a transmission right frame.
If it is determined that the pattern is the same as TN, the command unit switches to the transmission mode and transmits the frame FC when the GA detection circuit 3 detects the GA pattern, so the command unit activates the repeat signal 24 of the control register 7.
to reset state. As a result, station C has GA
When the detection circuit 3 detects the GA pattern, it outputs the transmission start permission signal 22, and at time t2 , the transmission/repeat switching signal 26 changes the selection signal of the first selection circuit 14 from the received data RD to the second selection circuit that becomes the transmission data. Switch to output 15.
局D,Eはリピートモードであるから、上流局
の通信路51からの受信データRDをそのまま下
流局の通信路51へ送出する。局Cが送信したフ
レームFC内の宛先アドレス53の内容により一
致した局がフレームFCを指令部へ転送する。 Since stations D and E are in the repeat mode, the received data RD from the communication path 51 of the upstream station is sent as is to the communication path 51 of the downstream station. The station that matches the contents of the destination address 53 in the frame FC transmitted by station C transfers the frame FC to the command unit.
送信権フレームTNは、局Aから送信された
後、通信路51を一巡して再び局Aに戻つてく
る。一巡した送信権フレームTNは、n:m通信
ではもはや必要ないので、送信した局Aで消去さ
れる。消去する第1の方法としては、送信制御回
路9で生成され、送信完了信号21、状態レジス
タ6、並行データバス20を経由して指令部へ報
告される送信権フレームTNとGAパターンの送
信完了を示す信号と、送信した送信権フレーム
TNが通信路51を一巡し局Aに戻り、送信権フ
レームTNの開始フラグ52がフラグ検出回路4
で検出されて状態レジスタ6、並行データバス2
0を経由して指令部へ報告される開始フラグ検出
信号とを用いて、指令部は制御レジスタ7のリピ
ート信号24にリピートモードになることを要求
し、時刻t3で第1選択回路14を送信・リピート
切替信号26によつて切り替えて、局Aをリピー
トモードにする方法がある。 After being transmitted from station A, the transmission right frame TN goes around the communication path 51 and returns to station A again. The transmitted right frame TN is no longer needed in n:m communication, so it is deleted by the station A that transmitted it. The first method for erasing is to confirm the completion of transmission of the transmission right frame TN and GA pattern, which are generated by the transmission control circuit 9 and reported to the command unit via the transmission completion signal 21, the status register 6, and the parallel data bus 20. and the transmitted right-to-send frame.
The TN goes around the communication path 51 and returns to station A, and the start flag 52 of the transmission right frame TN is detected by the flag detection circuit 4.
status register 6, parallel data bus 2
Using the start flag detection signal reported to the command section via t3, the command section requests the repeat signal 24 of the control register 7 to enter the repeat mode, and at time t3 , the command section requests the repeat signal 24 of the control register 7 to enter the repeat mode. There is a method of switching the station A to the repeat mode by using the transmission/repeat switching signal 26.
第2の方法としては、一巡した送信権フレーム
TNの終結フラグ57を受信したことが指令部に
報告された後、指令部がリピート信号24にリピ
ートモードになることを要求し、局Aをリピート
モードにする方法がある。 The second method is to
There is a method in which the command unit requests the repeat signal 24 to enter the repeat mode after the command unit is notified that the TN termination flag 57 has been received, and the station A is placed in the repeat mode.
ここで、第1の方法によれば、送信完了と開始
フラグ検出が指令部に報告された後、指令部が判
定し、リピートモードへの切り替え指示を行い第
1選択回路14が受信データRDを送信データ
TDへ出力するまでに時間を要するため、送信権
フレームTNの受信中にリピートモードになり、
送信権フレームTNの後半TRが残り、下流局へ
送信される。一方、第2の方法によれば、送信権
フレームTNに続いて送信データが連続している
と、指令部でのフレーム検出からリピートモード
指示までの処理の遅れにより、送信データの頭部
まで消去されてしまう。 Here, according to the first method, after the completion of transmission and detection of the start flag are reported to the command section, the command section makes a determination, instructs switching to repeat mode, and the first selection circuit 14 selects the received data RD. Transmission data
Since it takes time to output to TD, it enters repeat mode while receiving the transmission right frame TN.
The second half TR of the transmission right frame TN remains and is transmitted to the downstream station. On the other hand, according to the second method, if the transmission data continues after the transmission right frame TN, the beginning of the transmission data will be erased due to the processing delay from frame detection at the command unit to the repeat mode instruction. It will be done.
第4図には、第1の方法による場合が示してあ
り、時刻t1から時刻t3までが送信モードMTであ
り、時刻t3以降がリピートモードMRである。 FIG. 4 shows the case of the first method, in which the transmission mode M T is from time t 1 to time t 3 and the repeat mode M R is from time t 3 onward.
同様に局Cは、自局が送信した送信フレーム
FCが通信路51を一巡して自局に戻つてくると、
送信フレームFCを消去する。この消去の方法に
は、上記の局Aでの送信権フレームTNの消去と
同様に第1と第2の方法がある。第4図には第1
の方法による場合が示してあり、前述の送信権フ
レームTNの後半TRが残ると同様に、送信フレ
ームFCの後半TRが通信路51に送出される。局
Cにおいては、時刻t2から時刻t4までが送信モー
ドMTであり、時刻T4からがリピートモードMRで
ある。 Similarly, station C receives the transmission frame sent by itself.
When the FC goes around communication path 51 and returns to its own station,
Erase the transmitted frame FC. This erasure method includes the first and second methods, similar to the erasure of the transmission right frame TN at station A described above. Figure 4 shows the first
In this case, the second half TR of the transmission frame FC is sent out to the communication path 51 in the same way as the second half TR of the transmission right frame TN remains. In station C, the transmission mode M T is from time t 2 to time t 4 , and the repeat mode M R is from time T 4 .
上記したように、第1、第2のいずれの方法
も、消去すべきフレームとリピートして下流局へ
送出すべきフレームの区分が明確でなく、下記の
ような欠点がある。すなわち、不要データである
送信権フレーム残りTR、送信フレーム残りFR
の通信路51上の無限巡回により、各局A〜Eは
フラグ検出回路4が動作し、指令部での処理が増
加し、指令部本来の処理動作の防害となる。ま
た、通信路51の負荷率が上昇する。そして、不
要データの巡回による指令部での負荷率は、ルー
プ一巡毎に一つのフレーム残りによる処理が無限
に続く。 As described above, in both the first and second methods, it is not clear how to distinguish between frames that should be erased and frames that should be repeated and sent to a downstream station, and there are drawbacks as described below. In other words, the remaining transmission right frame TR, which is unnecessary data, and the remaining transmission frame FR
Due to the infinite circulation on the communication path 51, the flag detection circuit 4 of each station A to E operates, increasing the processing in the command section and preventing damage to the original processing operation of the command section. Moreover, the load factor of the communication path 51 increases. The load factor on the command unit due to the circulation of unnecessary data is such that processing with one frame remaining for each loop continues indefinitely.
上記の説明から明らかなように、従来技術によ
れば、指令部の負荷率が高く、また、通信路51
の負荷率が高く、正しいフレームを送信できなく
なるという欠点がある。 As is clear from the above description, according to the prior art, the load factor of the command unit is high, and the communication path 51
The disadvantage is that the load factor is high, making it impossible to transmit correct frames.
本発明は上記に鑑みてなされたもので、その目
的とするところは、指令部および通信路の負荷率
を低減することができ、かつ、送信データを正し
く通信路を一巡させることができる信号伝送回路
を提供することにある。 The present invention has been made in view of the above, and its purpose is to transmit signals that can reduce the load factor of the command unit and the communication path, and that can correctly circulate the transmitted data through the communication path. The purpose is to provide circuits.
本発明は、複数の局がループ状通信路を介して
n:m通信で上流局から受信したデータを伝送
し、自局から送信データの送信を要求する局は送
信権を示す送信権信号を上流局から受信すると、
前記上流局から受信したデータを下流局へ送信す
るリピートモードから、前記送信データを前記下
流局へ送信する送信モードに切り替えてデータを
送信する信号伝送回路において、前記送信権信号
が送信権フレームとこれに続くGAパターンとの
組み合せよりなり、前記送信モードと前記リピー
トモードのうちいずれかを設定する切替レジスタ
と、該切替レジスタの状態により前記上流局から
受信したデータか前記自局から送信する送信デー
タかを選択する選択回路と、1フレームのデータ
を受信したことを検出するフレーム検出回路と、
自局の送信完了を示す送信完了信号と前記フレー
ム検出回路の出力であるフレーム検出信号とを入
力とする第1のアンド回路と、該第1のアンド回
路の出力と前記リピートモードを要求するリピー
ト信号とを入力とするオア回路と、自局の送信を
要求する送信要求信号と前記上流局から受信した
送信権を示す送信権信号による送信開始許可信号
とを入力とする第2のアンド回路とからなり、前
記切替レジスタが前記第1のアンド回路の出力で
第1の状態になつて前記リピートモードを選択
し、一方、前記第2のアンド回路の出力で第2の
状態に保持されて前記送信モードを選択し、自局
がデータの送信を開始するときは前記切替レジス
タが前記第2の状態に切り替えられ、自局送信完
了後前記通信路を一巡した前記データを受信した
ときは前記切替レジスタが前記第1の状態に切り
替えられ、前記データが前記通信路を一巡するだ
けで終る送信制御回路を有していることを特徴と
するものである。 In the present invention, a plurality of stations transmit data received from an upstream station via n:m communication via a loop-shaped communication path, and a station requesting transmission of transmission data from its own station sends a transmission right signal indicating a transmission right. When received from the upstream station,
In a signal transmission circuit that transmits data by switching from a repeat mode in which data received from the upstream station is transmitted to a downstream station to a transmission mode in which the transmission data is transmitted to the downstream station, the transmission right signal is a transmission right frame. A switching register that sets either the transmission mode or the repeat mode in combination with the following GA pattern, and a transmission that transmits either the data received from the upstream station or the own station depending on the state of the switching register. a selection circuit that selects whether it is data; a frame detection circuit that detects that one frame of data has been received;
a first AND circuit that receives as input a transmission completion signal indicating completion of transmission from its own station and a frame detection signal that is an output of the frame detection circuit; and a repeater that requests the repeat mode and the output of the first AND circuit. a second AND circuit that receives as inputs a transmission request signal requesting transmission from its own station and a transmission start permission signal based on a transmission right signal indicating a transmission right received from the upstream station; The switching register is set to the first state by the output of the first AND circuit to select the repeat mode, and is maintained in the second state by the output of the second AND circuit to select the repeat mode. When the transmission mode is selected and the local station starts transmitting data, the switching register is switched to the second state, and after the local station has completed transmission, the switching register is switched to the second state when the data that has gone around the communication path is received. The present invention is characterized in that it includes a transmission control circuit in which the register is switched to the first state and the data completes by making only one round through the communication path.
以下本発明を第5図に示した実施例および第6
図、第7図を用いて詳細に説明する。 The embodiment of the present invention shown in FIG. 5 and the sixth embodiment will be described below.
This will be explained in detail using FIG.
第5図は本発明の信号伝送回路の一実施例を示
すブロツク図で、第3図と同一部分は同じ符号で
示し、ここでは説明を省略する。第5図において
は、送信制御回路9′がフレーム検出回路30、
第1のアンド回路31、オア回路32、切替レジ
スタ33、第2のアンド回路34および送信終了
生成回路35より構成してあり、自局が送信モー
ドで、フレームを送信完了したことを送信終了生
成回路35で生成される送信完了信号21と、フ
ラグ検出回路4および受信バツフアレジスタ5の
出力を入力とするフレーム検出回路30によつて
1つのフレームを受信して終結フラグ57を受信
したことを示すフレーム検出回路30からのフレ
ーム検出信号36とを入力とするアンド回路31
の出力と、制御レジスタ7からのリピート信号2
4とを入力とするオア回路32の出力により切替
レジスタ33をリセツト状態とし、切替レジスタ
33で第1の選択回路14の送信・リピート切替
信号26を生成するようにしてある。 FIG. 5 is a block diagram showing an embodiment of the signal transmission circuit of the present invention. The same parts as in FIG. 3 are designated by the same reference numerals, and the explanation thereof will be omitted here. In FIG. 5, the transmission control circuit 9' is a frame detection circuit 30,
It is composed of a first AND circuit 31, an OR circuit 32, a switching register 33, a second AND circuit 34, and a transmission end generation circuit 35, and generates a transmission end generation circuit that indicates that the own station is in transmission mode and has completed transmitting a frame. The frame detection circuit 30 which receives the transmission completion signal 21 generated by the circuit 35 and the outputs of the flag detection circuit 4 and reception buffer register 5 as inputs receives one frame and detects that the termination flag 57 has been received. AND circuit 31 which receives as input the frame detection signal 36 from the frame detection circuit 30 shown in FIG.
output and repeat signal 2 from control register 7
The switching register 33 is set to a reset state by the output of the OR circuit 32 which receives 4 and 4 as input, and the switching register 33 generates the transmission/repeat switching signal 26 for the first selection circuit 14.
いま、局A(第1図参照)が送信権管理局、局
Cがデータのフレーム送信局である場合の第5図
におけるフレームの流れを第6図に示す。局Aが
時刻t1にリピートモードMRから送信モードMTに
切り替わり、送信権フレームTNおよびGAパタ
ーンを送信して送信完了状態にセツトされ、一巡
した送信権フレームTNの終結フラグ57を受信
し終わると、その時刻t7で切替レジスタ33がリ
セツト状態となり、再びリピートモードMRに切
り替えられる。これにより、一巡した送信権フレ
ームTNに続くフレームを上流局から下流局へ伝
送でき、また、一巡した送信権フレームTNの残
りが通信路51(第1図参照)上に伝送されるこ
とがなくなる。 FIG. 6 shows the flow of frames in FIG. 5 when station A (see FIG. 1) is a transmission right management station and station C is a data frame transmitting station. Station A switches from repeat mode M R to transmission mode M T at time t1 , transmits the transmission right frame TN and the GA pattern, is set to the transmission completion state, and receives the termination flag 57 of the transmission right frame TN which has completed one cycle. When the process is finished, the switching register 33 is reset at time t7 , and the repeat mode M R is switched again. As a result, the frame following the completed transmission right frame TN can be transmitted from the upstream station to the downstream station, and the remainder of the completed transmission right frame TN is not transmitted on the communication path 51 (see Figure 1). .
ここで、局AがリピートモードMRに切り替わ
る時刻t7は、局AのGAパターン送信終了以降で
あり、送信完了はGAパターン送信終了でセツト
される。したがつて、局AのGAパターン送信終
了時または一巡した送信権フレームTNの終結フ
ラグ57(第2図参照)受信時のいずれか遅い方
がモードを切り替える時刻t7となる。 Here, the time t7 at which station A switches to the repeat mode M R is after the end of station A's GA pattern transmission, and the completion of transmission is set at the end of GA pattern transmission. Therefore, the time t7 at which the mode is switched is when station A finishes transmitting the GA pattern or when the termination flag 57 (see FIG. 2) of the completed transmission right frame TN is received, whichever is later.
局Cは、送信権フレームTNとGAパターンを
受信して時刻t2にリピートモードMRから送信モ
ードMTに切り替えられ、フレームFCを送信す
る。フレームFCが通信路51を一巡した後、局
CがフレームFCの終結フラグ57を受信すると、
その時刻t7で送信モードMTからリピートモード
MRに切り替えられる。 Station C receives the transmission right frame TN and the GA pattern, is switched from repeat mode M R to transmission mode M T at time t2 , and transmits frame FC. After the frame FC has gone around the communication channel 51, when station C receives the end flag 57 of the frame FC,
At that time t 7 , from transmission mode M T to repeat mode
Can be switched to MR .
この場合の切替レジスタ33の出力である送
信・リピード切替信号26の状態を各局A〜E毎
に第7図に示してある。 The state of the transmission/repeat switching signal 26 which is the output of the switching register 33 in this case is shown in FIG. 7 for each station A to E.
上記した本発明の実施例によれば、以上の説明
から明らかなように、指令部の処理が少なくな
り、指令部の負荷率を約10%削減することができ
る。 According to the embodiment of the present invention described above, as is clear from the above description, the processing of the command section is reduced, and the load factor of the command section can be reduced by about 10%.
なお、上記実施例の説明で用いたフレームは、
第2図に示す構成のものとしたが、他の構成のフ
レームを用いても効果が変わることはない。この
場合、開始始フラグ52と終結フラグ57のパタ
ーンが異なると、GAパターンも異なるため、
GA生成回路13、GA検出回路3、フラグ生成
回路12およびフラグ検出回路4を採用するパタ
ーンに対応するように変更する必要があることは
いうまでもない。 The frames used in the explanation of the above embodiments are as follows:
Although the configuration shown in FIG. 2 was used, the effect will not change even if frames with other configurations are used. In this case, if the patterns of the start flag 52 and the end flag 57 are different, the GA pattern will also be different.
Needless to say, it is necessary to change the GA generation circuit 13, GA detection circuit 3, flag generation circuit 12, and flag detection circuit 4 to correspond to the adopted pattern.
また、送信権管理局の受信部にGAパターンの
伝送時間だけ遅延させる遅延回路を設けるように
してもよい。この場合、送信権フレームTNが通
信路51を一巡し、送信権管理局に戻つてくる時
刻は、GAパターン送信後であるから、一巡した
フレームの終結フラグ57を受信した時刻に直ち
にリピードMRに切り替えられ、効果が変わるこ
とはない。 Further, a delay circuit that delays the transmission time of the GA pattern may be provided in the receiving section of the transmission right management station. In this case, since the time when the transmission right frame TN goes around the communication path 51 and returns to the transmission right management station is after the GA pattern is transmitted, the repeat M The effect will not change.
以上説明したように、本発明によれば、不要な
データを発生させないようにできるから、指令部
および通信路の負荷率を低減することができ、か
つ、送信データの消滅がなく、正しい送信データ
を通信路を一巡させて各局に送信できるという効
果がある。 As explained above, according to the present invention, since it is possible to prevent unnecessary data from being generated, it is possible to reduce the load factor of the command unit and the communication path, and also to prevent transmission data from disappearing and correct transmission data. This has the effect of making it possible to transmit the information to each station through one round of communication channels.
第1図はループ状通信の概略構成図、第2図は
従来の伝送信号回路のブロツク図、第3図は従来
の信号伝送回路のブロツク図、第4図は第3図に
よる場合のフレームの流れ図、第5図は本発明の
伝送信号回路の一実施例を示すブロツク図、第6
図は第5図による場合の第4図に相当するフレー
ムの流れ図、第7図は第5図の切替レジスタの出
力である送信・リピート切替信号の状態を各局毎
に示した図である。
9′……送信制御回路、14……選択回路、2
1……送信完了信号、22……送信開始許可信
号、23……送信要求信号、24……リピート信
号、26……送信・リピート信号、30……フレ
ーム検出回路、31……第1のアンド回路、32
……オア回路、33……切替レジスタ、34……
第2のアンド回路、35……送信終了生成回路、
36……フレーム検出信号、51……通信路、A
〜E……局。
Fig. 1 is a schematic block diagram of loop communication, Fig. 2 is a block diagram of a conventional transmission signal circuit, Fig. 3 is a block diagram of a conventional signal transmission circuit, and Fig. 4 is a frame diagram according to Fig. 3. Flowchart, FIG. 5 is a block diagram showing one embodiment of the transmission signal circuit of the present invention, FIG.
The figure is a flowchart of a frame corresponding to FIG. 4 in the case of FIG. 5, and FIG. 7 is a diagram showing the state of the transmission/repeat switching signal, which is the output of the switching register of FIG. 5, for each station. 9'...Transmission control circuit, 14...Selection circuit, 2
1... Transmission completion signal, 22... Transmission start permission signal, 23... Transmission request signal, 24... Repeat signal, 26... Transmission/repeat signal, 30... Frame detection circuit, 31... First AND circuit, 32
... OR circuit, 33 ... switching register, 34 ...
Second AND circuit, 35... Transmission end generation circuit,
36...Frame detection signal, 51...Communication path, A
~E... Bureau.
Claims (1)
信で上流局から受信したデータを伝送し、自局か
ら送信データの送信を要求する局は送信権を示す
送信権信号を上流局から受信すると、前記上流局
から受信したデータを下流局へ送信するリピート
モードから、前記送信データを前記下流局へ送信
する送信モードに切り替えてデータを送信する信
号伝送回路において、前記送信権信号が送信権フ
レームとこれに続くGAパターンとの組み合せよ
りなり、前記送信モードと前記リピートモードの
うちいずれかを設定する切替レジスタと、該切替
レジスタの状態により前記上流局から受信したデ
ータか前記自局から送信する送信データかを選択
する選択回路と、1フレームのデータを受信した
ことを検出するフレーム検出回路と、自局の送信
完了を示す送信完了信号と前記フレーム検出回路
の出力であるフレーム検出信号とを入力とする第
1のアンド回路と、該第1のアンド回路の出力と
前記リピートモードを要求するリピート信号とを
入力とするオア回路と、自局の送信を要求する送
信要求信号と前記上流局から受信した送信権を示
す送信権信号による送信開始許可信号とを入力と
する第2のアンド回路とからなり、前記切替レジ
スタが前記第1のアンド回路の出力で第1の状態
になつて前記リピートモードを選択し、一方、前
記第2のアンド回路の出力で第2の状態に保持さ
れて前記送信モードを選択し、自局がデータの送
信を開始するときは前記切替レジスタが前記第2
の状態に切り替えられ、自局送信完了後前記通信
路を一巡した前記データを受信したときは前記切
替レジスタが前記第1の状態に切り替えられ、前
記データが前記通信路を一巡するだけで終る送信
制御回路を有していることを特徴とする信号伝送
回路。1 Multiple stations transmit data received from an upstream station via n:m communication via a loop-shaped communication path, and a station that requests transmission of data from its own station sends a transmission right signal indicating a transmission right from the upstream station. When received, the transmission right signal is transmitted in a signal transmission circuit that transmits data by switching from a repeat mode in which data received from the upstream station is transmitted to a downstream station to a transmission mode in which the transmission data is transmitted to the downstream station. a switching register that sets either the transmission mode or the repeat mode, and the data received from the upstream station or the own station depending on the state of the switching register. A selection circuit that selects transmission data to be transmitted, a frame detection circuit that detects that one frame of data has been received, a transmission completion signal that indicates the completion of transmission of the own station, and a frame detection signal that is the output of the frame detection circuit. a first AND circuit that receives as inputs the output of the first AND circuit and the repeat signal that requests the repeat mode; a transmission request signal that requests transmission from its own station; a second AND circuit that receives as input a transmission start permission signal based on a transmission right signal indicating a transmission right received from an upstream station, and the switching register enters the first state at the output of the first AND circuit. The repeat mode is selected by the output of the second AND circuit, and the transmission mode is selected by being held in the second state by the output of the second AND circuit, and when the local station starts transmitting data, the switching register is Second
When receiving the data that has gone around the communication channel after completion of transmission, the switching register is switched to the first state, and the transmission ends when the data goes around the communication channel only once. A signal transmission circuit comprising a control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15189382A JPS5941941A (en) | 1982-09-01 | 1982-09-01 | signal transmission circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15189382A JPS5941941A (en) | 1982-09-01 | 1982-09-01 | signal transmission circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5941941A JPS5941941A (en) | 1984-03-08 |
| JPH0245860B2 true JPH0245860B2 (en) | 1990-10-12 |
Family
ID=15528495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15189382A Granted JPS5941941A (en) | 1982-09-01 | 1982-09-01 | signal transmission circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5941941A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5846099B2 (en) * | 1978-12-26 | 1983-10-14 | 沖電気工業株式会社 | Common line access control method |
| JPS5686546A (en) * | 1979-12-17 | 1981-07-14 | Hitachi Ltd | Loop-shape communication device |
| JPS5769954A (en) * | 1980-10-20 | 1982-04-30 | Ricoh Co Ltd | Loop type packet communication system |
-
1982
- 1982-09-01 JP JP15189382A patent/JPS5941941A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5941941A (en) | 1984-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6148002A (en) | Shared auto-negotiation logic for multiple port network devices | |
| JPS5947905B2 (en) | Information transmission method using a common transmission path | |
| JPH0795231A (en) | LAN connection device | |
| JPH02179054A (en) | Data communication method and system | |
| US5579299A (en) | Communications network, a dual mode data transfer system therefor | |
| JPH0630511B2 (en) | Ring transmission system with variable station order | |
| WO1996019058A9 (en) | Communications network, a dual mode data transfer system therefor | |
| JPH0245860B2 (en) | ||
| JPH0337221B2 (en) | ||
| JPS59114941A (en) | Programmable controller | |
| JPS586637A (en) | Line control method for loop dataway system | |
| JPH0677947A (en) | Synchronizing device | |
| JPS6364444A (en) | Data transmission system | |
| US5504749A (en) | Apparatus for reading out address information | |
| JPS6024745A (en) | Method and device for signal transmission | |
| JP2001043198A (en) | Inter-system communication control system | |
| JP2000049836A (en) | Ring network data transmission system | |
| JPS59196644A (en) | Loop type data transmission system | |
| JPS59110247A (en) | communication station | |
| JPS5947859A (en) | signal transmission circuit | |
| JPS6384334A (en) | Data transmission system | |
| JPH08139745A (en) | Communication method of loop communication device | |
| JP3146864B2 (en) | Unidirectional loop transmission circuit | |
| JPH06252933A (en) | Interface device for loop type local area network | |
| JPH0552696B2 (en) |