JPS5941941A - Signal transmitting circuit - Google Patents

Signal transmitting circuit

Info

Publication number
JPS5941941A
JPS5941941A JP15189382A JP15189382A JPS5941941A JP S5941941 A JPS5941941 A JP S5941941A JP 15189382 A JP15189382 A JP 15189382A JP 15189382 A JP15189382 A JP 15189382A JP S5941941 A JPS5941941 A JP S5941941A
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.)
Granted
Application number
JP15189382A
Other languages
Japanese (ja)
Other versions
JPH0245860B2 (en
Inventor
Norihiko Sugimoto
杉本 則彦
Shigeru Matsuo
茂 松尾
Kanman Hamada
浜田 亘曼
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP15189382A priority Critical patent/JPS5941941A/en
Publication of JPS5941941A publication Critical patent/JPS5941941A/en
Publication of JPH0245860B2 publication Critical patent/JPH0245860B2/ja
Granted legal-status Critical Current

Links

Classifications

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

Abstract

PURPOSE:To reduce the load factor of a communication line, by switching the circuit state between the time of the start of data transmission from a station and the time, when the station receives data transmitted round on the communication line after completion of transmission, to prevent the transmission of frames transmitted round on the communication line. CONSTITUTION:When a station A is the transmission right control station and a station C is the data frame transmitting station, the station A is switched from a repeat mode MR to a transmission mode MT at a time t1 to transmit a transmission right frame TN and a GA pattern and is set to the transmission completion state, and a switching register is reset at a time t7 when the station A receives an end flag 57 of the frame TN transmitted round on the communication line, and the station A is switched to the mode MR again. Thus, frames fllowing the frame TN which is transmitted round on the communication line are transmitted, and the remainder of this frame TN is not transmitted onto the communication line.

Description

【発明の詳細な説明】 本発明は信号伝送回路に係シ、特にループ状通信路にお
けるnHm通信に好適な信号伝送回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a signal transmission circuit, and particularly to a signal transmission circuit suitable for nHm communication in a loop-shaped communication path.

データ通信のネットワークでは、複数の局を接続するの
にマルチドロップ、ループ状、スター状などとするが、
高速応答、高スループツトの点からはループ状とするの
が適している。さらに任意の局と他の任意の局との通信
を可能とするnHm通信が今後広く採用されるものと思
われる。
In data communication networks, multiple stations are connected using multidrop, loop, star, etc.
A loop shape is suitable from the viewpoint of high speed response and high throughput. Furthermore, nHm communication, which enables communication between any station and any other station, is expected to be widely adopted in the future.

n;m通信を実現するためには、lHn通信の場合と異
なり、通信路上のデータが通信路を一巡だけし、−巡を
越えて通信路上に存在しないようにするととが必要であ
るが、それが困難であるため、これがn:m通信の普及
を阻害する理由の1ってなっていた。
In order to realize n;m communication, unlike in the case of lHn communication, it is necessary that the data on the communication path goes around the communication path only once and does not exist on the communication path beyond the - round. Since this is difficult, this has been one of the reasons for hindering the spread of n:m communication.

第1図はループ状通信の概略構成図である。第1図にお
いては、5台の局A−Eがループ状の通信路51に接続
されている。通信路51を伝送されるデータの方向は、
例えば、図示矢印で示しである。!た、各局は各局が有
する送信端と受信端とが通信路51に接続されている。
FIG. 1 is a schematic diagram of loop communication. In FIG. 1, five stations A-E are connected to a loop-shaped communication path 51. In FIG. The direction of data transmitted through the communication channel 51 is
For example, as indicated by the illustrated arrow. ! In addition, each station has its transmitting end and receiving end connected to a communication path 51.

各局A−Eは、送受信データの直並列変換とフレームの
制御を行う信号伝送回路と、データを格納するメモリと
、アプリケーション側とのインタフェース部およびこれ
らを制御する指令部とから構成しである。指令部はラン
ダムロジック、マイクロコンピュータのいずれで構成し
てもよいことはいうまでもない。なお、局A−Eの信号
伝送回路はすべて同一回路で構成しである。
Each station A to E is composed 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 section with the application side, and a command section that controls these. 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-E uses a communication path 51 from the upstream station.
There is a need for a repeat mode in which the data received via the station is sent as is to the downstream station, and a transmission mode in which each station A to E itself sends data to other stations, and these two modes can be switched as necessary. ing.

また、各局A−Eがデータを通信路51へ送信できるの
は、送信権を示す送信権信号を受信し、かつ、送信権信
号に続くフレームが無いことを確認した時点である。こ
の送信権信号は通信路51上にただ1個しか存在しない
Further, each station A to E can transmit data to the communication path 51 at the time when it receives a transmission right signal indicating the transmission right and confirms that there is no frame following the transmission right signal. Only one transmission right signal exists on the communication path 51.

伝送される直列データの構成例を第2図に示す。FIG. 2 shows an example of the structure of serial data to be transmitted.

第2図に示す直列データは、l(igh I、evel
 Datal、ink  (以下HD L Cと略す。
The serial data shown in FIG. 2 is l(igh I, evel
Data, ink (hereinafter abbreviated as HDLC).

)手順にしたがうものである。データの集まシであるフ
レームの区切シは、開始フラグ52と終結フラグ57で
示され、両フラグ52,57のビットパターンは同じで
、” 01111110 ”と決めである。開始フラグ
52に続いて受信する局番号を示す宛先アドレス53.
2局間の通信リンク状態を制御するコントロール部54
、情報部55および宛先アドレス53とコントロール部
54と情報部55とのエラーチェックを行うF CS 
(Frame Check 5eque −nce)5
6があり、最後に終結フラグ57がある。
) according to the procedure. The delimiter of a frame, which is a collection of data, is indicated by a start flag 52 and an end flag 57, and the bit patterns of both flags 52 and 57 are the same and are fixed as "01111110". Following the start flag 52, there is a destination address 53 indicating the station number to be received.
A control unit 54 that controls the communication link status between two stations
, an FCS that performs error checking between the information section 55, the destination address 53, the control section 54, and the information section 55.
(Frame Check 5eque-nce)5
6, and finally a termination flag 57.

送信権信号には各種あり、tt o#lに続< tt 
1nを連続7個(以下GAパターンと称する。)受信す
ると、7個目の“1″を°′0″に変更し、これを開始
フラグとする方法、ある特定パターンのフレームに続<
GAバター/の組合せとする方法とがある。前者のGA
パターンのみの方法は、フレーム間のアイドルデータが
1″であると、ノイズによりOnに変化することがある
ため、一般には後者の特定パターンのフレームに続<G
Aパターンを用いる。
There are various transmission right signals, following tt o #l < tt
When seven consecutive 1n's (hereinafter referred to as GA pattern) are received, the seventh "1" is changed to °'0" and this is used as a start flag.
There is a method of combining GA butter/. The former GA
In the pattern-only method, if the idle data between frames is 1'', it may turn on due to noise.
Use pattern A.

送信権信号を生成して送信する送信権管理局は、通信路
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 is it alternated in a sequential manner. Alternatively, it may be decided each time by a method such as determining one station from among all stations A to E.

次に、従来の信号伝送回路と伝送されるフレームの流れ
とを第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から受信する受
信データr(Dは、直列データを並列データに変換する
直並列変換回路2、送信権信号のOAパターンを検出す
るGA検出回路3、開始フラグ52または、終結フラグ
57を検出するフラグ検出回路4およびリピートモード
時に通信路51へ送信するデータを選択する第1選択回
路14に入力される。
FIG. 3 is a block diagram of a conventional signal transmission circuit, and FIG. 4 is a frame flow diagram in the case of FIG. In FIG. 3, received data r (D is a serial/parallel conversion circuit 2 that converts serial data into parallel data) received from a communication path 51 which is a DC data string, and a GA detection circuit 3 that detects an OA pattern of a transmission right signal. , the flag detection circuit 4 that detects the start flag 52 or the end flag 57, and the first selection circuit 14 that selects data to be transmitted to the communication channel 51 in the repeat mode.

直並列変換回路2で並列データに変換されたデータは、
受信バッファレジスタ5に一時格納された後、並列デー
タバス20を介してメモリ(図示せず)に転送される。
The data converted into parallel data by the serial/parallel conversion circuit 2 is
After being temporarily stored in the reception buffer register 5, it is transferred to a memory (not shown) via the parallel data bus 20.

一方、OA検出回路3でOAパターンを検出したことを
状態レジスタ6に記憶し、状態レジスタ6は送信開始許
可信号22を送信制御回路9に出力する。まだ、フラグ
検出回路4は、開始フラグ52あるいは終結フラグ57
を受信したことを検出し、状態レジスタ6に記憶させる
。これはフレームの送信が開始されたかあるいは終了し
たことを示す。状態レジスタ6の内容は、並列データバ
ス20を介して指令部(図示せず)に必要に応じて報告
される。
On the other hand, the fact that the OA pattern has been detected by the OA detection circuit 3 is stored in the status register 6, and the status register 6 outputs a transmission start permission signal 22 to the transmission control circuit 9. The flag detection circuit 4 still detects the start flag 52 or the end flag 57.
is detected 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によシ並列データから直列データ
に変換され、また、pcs生成回路11でFC856が
生成される。また、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. The data to be transmitted to the communication path 51 is still stored in the transmission buffer register 8 from the memory as needed. The transmission data stored in the transmission buffer register 8 is converted from parallel data to serial data by the parallel/serial conversion circuit 10, and FC856 is generated by the PCS generation circuit 11. In addition, the GA pattern is a GA generation circuit 12,
The start flag 52 and the end flag 57 are generated by the flag generation circuit 13.

リピートモードあるいは送信モードにより通信路51に
送出される送信データTDは、第1選択回路14で受信
データRDあるいは直並列変換口qio、pcs生成回
路11、フラグ生成回路12およびGA生成回路13か
らの出力のうちの1個を選択する第2選択回路15の出
力のうちいずれかが選択される。なお、第1選択回路1
4および第2選択回路15をそれぞれ選択する送信、・
リピート切替信号26および送信切替信号27は送信制
御回路9で生成される。
The transmission data TD sent to the communication path 51 in the repeat mode or the transmission mode is selected by the first selection circuit 14 as the reception data RD or from the serial/parallel conversion port QIO, the PCS generation circuit 11, the flag generation circuit 12, and the GA generation circuit 13. One of the outputs of the second selection circuit 15 that selects one of the outputs is selected. Note that the first selection circuit 1
4 and the second selection circuit 15, respectively;
The repeat switching signal 26 and the transmission switching signal 27 are generated by the transmission control circuit 9.

送信・リピート切替信号26、送信切替信号27、並直
列変換回路10、FC8生成回路11、フラグ生成回路
12およびGA生成回路13を制御する信号は送信制御
回路9で生成され、送信制御回路9は、制御レジスタ7
内の送信要求信号23、リピート信号24および状態レ
ジスタ6がらの送信開始許可信号22にしたがい動作す
る。
The transmission/repeat switching signal 26, the transmission switching signal 27, the parallel/serial conversion circuit 10, the FC8 generation circuit 11, the flag generation circuit 12, and the signal that controls the GA generation circuit 13 are generated by the transmission control circuit 9. , control register 7
It operates according to the transmission request signal 23, the repeat signal 24, and the transmission start permission signal 22 from the status register 6.

受信データRD、送信データTDは別に設けたクロック
生成回路からのクロックCL Kに同期して送受信され
る。受信用のクロックと送信用のクロックは、ループ状
通信ではリピートモードがあるため、同位相であること
が必要であり、共通のクロック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 there is a repeat mode in loop communication, the reception clock and the transmission clock need to be in the same phase, and can be a common clock CLK.

次に、フレームの流れについて第4図を参照して説明す
る。りまδ信権管理局を局A1送信データを要求してい
る局を局Cとする。また、データを送信していないフレ
ーム間では′1″が送信されているものとする。
Next, the flow of frames will be explained with reference to FIG. Assume that station C is the station requesting transmission data from station A1, which is the trust management station. Further, it is assumed that '1' is transmitted between frames in which no data is transmitted.

局Aは、時刻11にリピートモードから送信モードに切
シ替え、送信権フレームTNとGAパターンとを送信し
、それ以後はアイドルデータ“1″を送信する。局B〜
局Eはリピートモードであるが、局Cは送信権信号を受
信したら送信モードに切り替わり、フレームFCを送信
する準備をする。
Station A switches from repeat mode to transmission mode at time 11, transmits a transmission right frame TN and a GA pattern, and thereafter transmits idle data "1". Station B~
Station E is in repeat mode, but when station C receives the transmission right signal it switches to transmit mode and prepares to transmit frame FC.

送信するデータは、通信路51による時間遅れと各局の
リピートモードおよびドライバーレシーバ回路による時
間遅れとの合計の時間遅れが生ずるが、−巡するだめの
時間遅れによる位相ずれは、ある局によシ補正され、全
局A−Eが正しく送受信できるようになっている。
The data to be transmitted has a time delay that is the sum 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. This has been corrected so that 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を出力し、時刻tzに送信・リ
ピート切替信号26は第1選択回路14の選択信号を受
信データIt、Dから送信データとなる第2選択回路1
5の出力に切り替える。
Station B transmits the received data to station C in repeat mode. Station C is waiting to receive a transmission right frame TN since there is a transmission request. When the start flag 52 of the transmission right frame TN is received, the flag detection circuit 4 stores the fact that the start flag 52 has been detected in the status register 6,
Report to the command center. The command part is receive buffer register 5
The data received via the parallel data bus 20 is captured and decoded, and the received frame becomes the transmission right frame TN.
If it is determined that the pattern is the same as that of
When the detection circuit 3 detects the GA pattern, it switches to the transmission mode and transmits the frame FC, so the repeat signal 24 of the control register 7 is reset. Accordingly, when the station C detects the GA pattern with the GA detection circuit 3, it outputs the transmission start permission signal 22, and at time tz, the transmission/repeat switching signal 26 converts the selection signal of the first selection circuit 14 into the received data It, Second selection circuit 1 that becomes transmission data from D
Switch to output 5.

局り、Eはリピートモードであるから、上流局の通信路
51からの受信データ几りをそのまま下流局の通信路5
1へ送出する。局Cが送信したフレーム検出内の宛先ア
ドレス53の内容によリ一致した局がフレームF Cを
指令部へ転送する。
Since station E is in repeat mode, the received data from the communication path 51 of the upstream station is directly transmitted to the communication path 5 of the downstream station.
Send to 1. The station that matches the contents of the destination address 53 in the frame detected by station C transfers the frame FC to the command unit.

送信権フレームTNは、局Aから送信された後、通信路
51を一巡して再び局Aに戻ってくる。−巡した送信権
フレームTNは、n:m通信ではもはや必要ないので、
送信した局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 circulated transmission right frame TN is no longer needed in n:m communication, so
It is deleted by the station A that sent it.

消去する第1の方法としては、−巡した送信権フレーム
TNを受信したことを指令部で認識した後、指令部が直
ちにリピート信号24にリピートモードになることを要
求し、時刻t3で第1選択回路14を送信・リピート切
替信号26によって切り替えて、局Aをリピートモード
にする方法がある。
The first method for erasing is that after the command section recognizes that the transmitted transmission right frame TN has been received, the command section immediately requests the repeat signal 24 to enter the repeat mode, and at time t3, the command section There is a method of switching the selection circuit 14 using the transmission/repeat switching signal 26 to set station A to the repeat mode.

第2の方法としては、−巡した送信権フレームTNの終
結フラグ57を受信したことが指令部に報告された後、
指令部がリピート信号24にリピートモードになること
を要求し、局Aをリピートモードにする方法がある。
The second method is to report to the command unit that the termination flag 57 of the passed transmission right frame TN has been received.
There is a method in which the command unit requests the repeat signal 24 to enter the repeat mode and sets the station A to the repeat mode.

ここで、第1の方法によれば、送信権フレームTNの一
部分は消去されるが、一部分はリピートモードのだめ、
送信権フレーム残、り T Rとして残り、下流局へ送
信される。一方、第2の方法によれば、送信権フレーム
TNに続いて送信データが連続していると、指令部での
フレーム検出からリピートモード指示までの処理の遅れ
により、送信データの頭部まで消去されてしまう。
Here, according to the first method, a part of the transmission right frame TN is erased, but a part is not in the repeat mode.
The remaining transmission right frame remains as TR 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 in the command unit to the repeat mode instruction. It will be done.

第4図には、第1の方法による場合が示してあシ、時刻
t1から時刻t3までが送信モードMTであり、時刻t
3以降がリピートモードMuである。
FIG. 4 shows the case of the first method, in which the transmission mode MT is from time t1 to time t3, and time t
3 and onwards are repeat modes Mu.

同様に局Cは、自局が送信し入送信フレームFCが通信
路51を一巡して自局に戻ってくると、送信フレームF
Cを消去する。この消去の方法には、上記の局Aでの送
信権フレームTNの消去と同様に第1と第2の方法があ
る。第4図には第1の方法による場合が示してあり、送
信フレームp cの一部分が送信フレーム残りFRとし
て通信路51に送出される。局Cにおいては、時刻t2
から時刻t4までが送信モードMTであり、時刻T4か
らがリピートモードMRである。
Similarly, when station C transmits an incoming transmission frame FC and returns to it after going around the communication path 51, station C receives a transmission frame F.
Delete C. This erasure method includes the first and second methods, similar to the erasure of the transmission right frame TN at station A described above. FIG. 4 shows the case of the first method, in which a portion of the transmission frame pc is sent out to the communication channel 51 as the remaining transmission frame FR. At station C, time t2
The transmission mode MT is from to time t4, and the repeat mode MR is from time T4.

上記したように、第1.第2のいずれの方法も、消去す
べきフレームとリピートして下流局へ送出すべきフレー
ムの区分が明確でなく、下記のような欠点がある。すな
わち、不要データである送信権フレーム残りTR,送信
フレーム残、DFR,の通信路51上の無限巡回により
、各局A−Eはフラグ検出回路4が動作し、指令部での
処理が増加し、指令部本来の処理動作の訪客となる。ま
だ、通信路51の負荷率が上昇する。そして、不要デー
タの巡回による指令部での負荷率は、ルーグー巡毎に1
つのフレーム残りによる処理が無限に続く。
As mentioned above, 1. In both of the 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 has the following drawbacks. In other words, due to the endless circulation of the transmission right frame remaining TR, transmission frame remaining, and DFR, which are unnecessary data, on the communication path 51, the flag detection circuit 4 of each station A to E is activated, and the processing at the command unit increases. It becomes a visitor to the original processing operations of the command center. The load factor of the communication path 51 still increases. The load factor on the command center due to unnecessary data patrols is 1 for each Rougou tour.
Processing with two remaining frames continues indefinitely.

上記の説明から明らかなように、従来技術によれば、指
令部の負荷率が高く、また、通信路51の負荷率が高く
、正しいフレームを送信できなくなるという欠点がある
As is clear from the above description, the conventional technology has the drawback that the load factor of the command unit is high and the load factor of the communication channel 51 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.

本発明の特徴は、ループ状通信路に接続された各局はデ
ータを送信する送信モードと上流局から受信したデータ
を下流局へ送信するリピートモードとを有し、上記送信
モードとリピートモードのうちいずれかを設定する切替
レジスタと、この切替レジスタの状態により上流局から
受信したデータか自局から送信する送信データかを選択
する選択回路と、1フレームのデータを受信したことを
検出するフレーム検出回路と、自局の送信完了を示す送
信完了信号と上記フレーム検出回路の出力であるフレー
ム検出信号とを人力とする第1のアンド回路と、この第
1のアンド回路の出力と上記リピートモードを要求する
リピート信号とを人力とするオア回路と、自局の送信を
要求する送信要求信号と上記上流局から受信した送信権
を示す送信権信号による送信開始許可信号とを入力とす
る第2のアンド回路とから構成された送信制御回路を具
備し、上記切替レジスタが」二記第1のアンド回路の出
力で第1の状態になって上記リピートモードを選択し、
一方、上記第2のアンド回路の出力で第2の状態に保持
されて上記送信モードを選択し、自局がデータの送信を
開始するときは上記切替レジスタが上記第2の状態に切
り替えられ、自局送信終了後上記通信路を一巡した上記
データを受信したときは上記切替レジスタが上記第1の
状態に切り替えられ、上記データが上記通信路を一巡す
るだけで終る構成とした点にある。
A feature of the present invention is that each station connected to the loop communication path has a transmission mode in which it transmits data and a repeat mode in which it transmits data received from an upstream station to a downstream station. A switching register that sets either one, a selection circuit that selects data received from the upstream station or data sent from the own station depending on the state of this switching register, and a frame detection that detects that one frame of data has been received. a first AND circuit that manually generates a transmission completion signal indicating the completion of transmission from the own station and a frame detection signal that is the output of the frame detection circuit; A second OR circuit inputs a requested repeat signal manually, 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. and a transmission control circuit configured with an AND circuit, wherein the switching register is brought into a first state by the output of the first AND circuit and selects the repeat mode;
On the other hand, when the transmission mode is selected by being held in the second state by the output of the second AND circuit, and the own station starts transmitting data, the switching register is switched to the second state; When receiving the data that has gone around the communication path after the end of own station transmission, the switching register is switched to the first state, and the data ends after just going around the communication path.

以下本発明を第5図に示した実施例および第6図、第7
図を用いて詳細に説明する。
The embodiment of the present invention shown in FIG. 5 and FIGS. 6 and 7 will be described below.
This will be explained in detail using figures.

第5図は本発明の信号伝送回路の一実施例を示すブロッ
ク図で、第3図と同一部分は同じ符号で示し、ここでは
説明を省略する。第5図においては、送信制御回路9′
がフレーム検出回路30、第1のアンド回路31、オア
回路32、切替レジスタ33、第2のアンド回路34お
よび送信終了生成回路35より構成してあシ、自局が送
信モードで、フレームを送信完了したととを示す送信終
了生成回路35で生成される送信完了信号21と、フラ
グ検出回路4および受信バッファレジスタ5の出力を入
力とするフレーム検出回路30によって1つのフレーム
を受信して終結フラグ57を受信したことを示すフレー
ム検出回路30からのフレーム検出信号36とを入力と
するアンド回路31の出力と、制御レジスタ7からのリ
ピート信号24とを入力とするオア回路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 composed of a frame detection circuit 30, 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. When the own station is in transmission mode, it transmits a frame. One frame is received by the frame detection circuit 30, which receives the transmission completion signal 21 generated by the transmission completion generation circuit 35 indicating that the transmission has been completed, and the outputs of the flag detection circuit 4 and reception buffer register 5, and generates a termination flag. The switching register is activated by the output of the AND circuit 31 which receives as input the frame detection signal 36 from the frame detection circuit 30 indicating that 57 has been received, and the output of the OR circuit 32 which receives as input the repeat signal 24 from the control register 7. 33 to the reset] state, the switching register 33 generates the transmission/repeat switching signal 26 for the first selection circuit 14, and returns.

いま、局A(第1図参照)が送信権管理局、局Cがデー
タのフレーム送信局である場合の第5図におけるフレー
ムの流れを第6図に示す。8Aが時刻tlにリピートモ
ードMRから送信モードMTに切シ替わり、送信権フレ
ームTNおよびGAパターンを送信して送信完了状態に
セットされ、−巡した送信権フレームTNの終結フラグ
57を受信し終わると、その時刻t7で切替レジスタ3
3がリセット状態となり、再びリピートモードMRに切
り替えられる。これにより、−巡した送信権フレームT
Nに続くフレームを上流局から下流局へ伝送でき、また
、−巡した送信権フレーム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. 8A switches from the repeat mode MR to the transmission mode MT at time tl, transmits the transmission right frame TN and the GA pattern, is set to the transmission completion state, and finishes receiving the termination flag 57 of the transmitted transmission right frame TN. Then, at time t7, switching register 3
3 becomes a reset state and is switched to repeat mode MR again. As a result, the transmitted right frame T
The frame following N can be transmitted from the upstream station to the downstream station, and the remainder of the passed transmission right frame TN will not be transmitted on the communication path 51 (see FIG. 1).

ここで、局AがリピートモードMRに切り替わる時刻t
7は、局AのGAパターン送信終了以降であり、送信完
了はGAパターン送信終了でセットされる。したがって
、局AのGAパターン送信終了時または一巡したフレー
ムの終結フラグ57(第2図参照)受信時のいずれか遅
い方がモードを切シ替える時刻t7となる。
Here, the time t when station A switches to repeat mode MR
7 is after station A finishes transmitting the GA pattern, and transmission completion is set at the end of transmitting the GA pattern. Therefore, the time t7 at which the mode is switched is when station A finishes transmitting the GA pattern or when the end flag 57 (see FIG. 2) of the completed frame is received, whichever is later.

局Cは、送信権フレームTNとGAパターンを受信して
時刻t2にリピートモードMRから送信モードMtK切
り替えられ、フレームFCを送信する。フレームFCが
通信路51を一巡した後、局CがフレームFCの終結7
ラグ57を受信すると、その時刻t7で送信モードMT
からリピートモードMRに切シ替えられる。
Station C receives the transmission right frame TN and the GA pattern, is switched from repeat mode MR to transmission mode MtK at time t2, and transmits frame FC. After the frame FC has made one round on the communication path 51, the station C terminates the frame FC 7.
When lag 57 is received, the transmission mode MT is set at time t7.
The mode is switched from MR to repeat mode.

この場合の切替レジスタ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 for each station A to E in FIG.

上記した本発明の実施例によれば、以上の説明から明ら
かなように、−巡後のフレームの一部が通信路51に残
って伝送されることがなくなる。
According to the embodiment of the present invention described above, as is clear from the above description, a part of the frame after the cycle remains on the communication path 51 and is not transmitted.

したがって、指令部および通信路51の負荷率をそれぞ
れ約10%削減することができる。
Therefore, the load factors of the command unit and the communication path 51 can be reduced by about 10%.

なお、上記実施例の説明で用いたフレームは、第2図に
示す構成のものとしたが、他の構成のフレームを用いて
も効果が変わることはない。この場合、開始フラグ52
と終結フラグ57のパターンが異なると、GAパターン
も異なるだめ、GA生成回路13、GA検出回路3、フ
ラグ生成回路12およびフラグ検出回路4を採用するパ
ターンに対応するように変更する必要があることはいう
までもない。
Although the frame used in the description of the above embodiment has the configuration shown in FIG. 2, the effect will not change even if frames with other configurations are used. In this case, the start flag 52
If the pattern of the termination flag 57 is different, the GA pattern must also be different, so 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 pattern. Needless to say.

まだ、送信権管理局の受信部にOAパターンの伝送時間
だけ遅延させる遅延回路を設けるようにしてもよい。こ
の場合、送信権フレームTNが通信路51’i−巡し、
送信権管理局に戻ってくる時刻は、GAパターン送信後
であるから、−巡したフレームの終結フラグ57を受信
した時刻に直ちにリピートモードMRに切り替えられ、
効果が変わることはない。
However, a delay circuit that delays the transmission time of the OA pattern may be provided in the reception section of the transmission right management station. In this case, the transmission right frame TN circulates through the communication path 51'i,
Since the time at which the frame returns to the transmission right management station is after the GA pattern is transmitted, it is immediately switched to the repeat mode MR at the time when the end flag 57 of the cycled frame is received.
The effect does 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.

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

第1図はループ状通信の概略構成図、第2図は従来の伝
送信号回路のブロック図、第4図は第3図による場合の
フレームの流れ図、第5図は本発明の伝送信号回路の一
実施例を示すブロック図、第6図は第5図による場合の
第4図に相当するフレームの流れ図、第7図は第5図の
切替レジスタの出力である送信・リピート切替信号の状
態を各周毎に示しだ図である。 9′・・・送信制御回路、14・・・選択回路、21・
・・送信完了信号、22・・・送信開始許可信号、23
・・・送信要求信号、24・・・リピート信号、26・
・・送信・リピート信号、30・・・フレーム検出回路
、31・・・第1のアンド回路、32・・・オア回路、
33・・・切替レジスタ、34・・・第2のアンド回路
、35・・・送信終了生成回路、36・・・フレーム検
出信号、51・・・(ほか1名) 第1図 仁゛ 倦2図 化3図 CLg→    13 弔5図 手続補正書(方式) 特許庁長官 若杉和夫 殿 2、発明の名称  信号伝送回路 3、補正をする者 事件との関係  特許出願人 住 所(〒100)東京都千代田区丸の内−丁目5番1
号名 称(510)株式会社 日 立 製 作 所代表
者 三田勝茂 4、代理人 居 所(〒317)茨城県日立市鹿島町−丁目lO番3
号茨相ビル 5、補正命令の日付  昭和57年11月30日(発送
日)6、補正の対象 明細書の図面の簡単な説明の欄 7、補正の内容
FIG. 1 is a schematic configuration diagram of loop communication, FIG. 2 is a block diagram of a conventional transmission signal circuit, FIG. 4 is a frame flow diagram in the case of FIG. 3, and FIG. 5 is a diagram of the transmission signal circuit of the present invention. FIG. 6 is a block diagram showing one embodiment. FIG. 6 is a frame flow chart corresponding to FIG. 4 in the case of FIG. 5. FIG. It is a diagram showing each round. 9'... Transmission control circuit, 14... Selection circuit, 21.
... 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...(1 other person) Diagram 3 CLg → 13 Funeral diagram 5 procedural amendment (method) Director of the Japan Patent Office Kazuo Wakasugi 2. Title of the invention Signal transmission circuit 3. Relationship with the person making the amendment Patent applicant address (100) Tokyo Marunouchi-5-1, Chiyoda-ku, Miyako
Name (510) Hitachi, Ltd. Representative: Katsushige Mita 4, Agent Address (317) 3-10-chome, Kashima-cho, Hitachi City, Ibaraki Prefecture
No. Ibaraso Building 5, Date of amendment order: November 30, 1982 (shipment date) 6, Brief description of drawings in the specification subject to amendment 7, Contents of amendment

Claims (1)

【特許請求の範囲】 1、複数の局がループ状通信路を介してn:m通信を行
う直列データの信号伝送回路において、前記各局は前記
データを送信する送信モードと上流局から受信したデー
タを下流局へ送信するリピートモードとを有し、前記送
信モードとリピートモードのうちいずれかを設定する切
替レジスタと、該切替レジスタの状態によシ上流局から
受信したデータか自局から送信する送信データかを選択
する選択回路と、1フレームのデータを受信したことを
検出するフレーム検出回路と、自局の送信完了を示す送
信完了信号と前記フレーム検出回路の出力であるフレー
ム検出信号とを入力とする第1のアンド回路と、該第1
のアンド回路の出力と前記リピートモードを要求するリ
ピート信号とを入力とするオア回路と、自局の送信を要
求する送信要求信号と前記上流局から受信した送信権を
示す送信権信号による送信開始許可信号とを入力とする
第2のアンド回路とから構成された送信制御回路を具備
し、前記切替レジスタが前記第1のアンド回路の出力で
第1の状態になって前記リピートモードを選択し、一方
、前記第2のアンド回路の出力で第2の状態に保持され
て前記送信モードを選択し、自局がデータの送信を開始
するときは前記切替レジスタが前記第2の状態に切シ替
えられ、自局送信終了後前記通信路を一巡した前記デー
タを受信したときは前記切替レジスタが前記第1の状態
に切り替えられ、前記データが前記通信路を一巡するだ
けで終る構成としたことを特徴とする信号伝送回路。 2、前記切替レジスタは、送信権信号に引き続いて他局
の送信フレームの受信を検出したときは第2の状態にな
ることを禁止されるようにしである特許請求の範囲第1
項記載の信号伝送回路。 3、前記送信権信号は、各局のうちから任意に選択して
設定された送信権管理局によって管理されている特許請
求の範囲第1項または第2項記載の信号伝送回路。
[Claims] 1. In a serial data signal transmission circuit in which a plurality of stations perform n:m communication via a loop-shaped communication path, each station has a transmission mode for transmitting the data and a transmission mode for transmitting data from an upstream station. a repeat mode for transmitting the data to the downstream station, a switching register for setting either the transmission mode or the repeat mode, and depending on the state of the switching register, either the data received from the upstream station or the data transmitted from the own station is transmitted. a selection circuit that selects transmission data; a frame detection circuit that detects that one frame of data has been received; a transmission completion signal that indicates the completion of transmission from the own station; and a frame detection signal that is the output of the frame detection circuit. a first AND circuit as an input;
an OR circuit which inputs the output of the AND circuit and the repeat signal requesting the repeat mode, a transmission request signal requesting transmission from the own station, and a transmission right signal indicating the transmission right received from the upstream station to start transmission. and a second AND circuit that receives a permission signal as input, and the switching register is set to a first state by the output of the first AND circuit and selects the repeat mode. On the other hand, when the output of the second AND circuit is held in the second state and the transmission mode is selected, and the own station starts transmitting data, the switching register is switched to the second state. and when receiving the data that has gone around the communication path after the end of the own station transmission, the switching register is switched to the first state, and the data ends after just going around the communication path. A signal transmission circuit featuring: 2. The switching register is configured to be prohibited from entering the second state when it detects reception of a transmission frame from another station following the transmission right signal.
Signal transmission circuit described in section. 3. The signal transmission circuit according to claim 1 or 2, wherein the transmission right signal is managed by a transmission right management station arbitrarily selected and set from among the stations.
JP15189382A 1982-09-01 1982-09-01 Signal transmitting circuit Granted JPS5941941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15189382A JPS5941941A (en) 1982-09-01 1982-09-01 Signal transmitting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15189382A JPS5941941A (en) 1982-09-01 1982-09-01 Signal transmitting circuit

Publications (2)

Publication Number Publication Date
JPS5941941A true JPS5941941A (en) 1984-03-08
JPH0245860B2 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 transmitting circuit

Country Status (1)

Country Link
JP (1) JPS5941941A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5588456A (en) * 1978-12-26 1980-07-04 Oki Electric Ind Co Ltd Access control system for common circuit
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5588456A (en) * 1978-12-26 1980-07-04 Oki Electric Ind Co Ltd Access control system for common circuit
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

Also Published As

Publication number Publication date
JPH0245860B2 (en) 1990-10-12

Similar Documents

Publication Publication Date Title
JPS5947905B2 (en) Information transmission method using a common transmission path
JP3348331B2 (en) Electronic device and operation mode control method thereof
JPH10229410A (en) Data processor, electronic device, and communication system
CN115956355A (en) Communication apparatus, communication system, and communication method
JPS5941941A (en) Signal transmitting circuit
JPS59114941A (en) Programmable controller
JPS586637A (en) Circuit controlling method of loop type data way system
JPS63160445A (en) Method and system for controlling transmission
US5504749A (en) Apparatus for reading out address information
JPS6016744A (en) Node station of loop network
KR910000700B1 (en) Data transmission system using sending right request signal transferred trough loop transmission path
JPH0126213B2 (en)
JP2968036B2 (en) Serial data transfer method and device
JP3074598B2 (en) Data exchange device
JPS59110247A (en) Communication station
KR20000052625A (en) Post write buffer for a dual clock system
JPH065831B2 (en) Signal frame transmission method
JPH07250089A (en) Token circulation time fixing system
JPH0414339A (en) Terminal equipment
JPS59196644A (en) Loop type data transmission system
JPS63245152A (en) Loopback test control circuit
JPS62281636A (en) Circuit setting system for loop network
JPH0293831A (en) Duplex system
JPH0766818A (en) Token re-generating system
JPS6335143B2 (en)