JPS62175050A - Transmitting right request signal transmitting system - Google Patents

Transmitting right request signal transmitting system

Info

Publication number
JPS62175050A
JPS62175050A JP61132625A JP13262586A JPS62175050A JP S62175050 A JPS62175050 A JP S62175050A JP 61132625 A JP61132625 A JP 61132625A JP 13262586 A JP13262586 A JP 13262586A JP S62175050 A JPS62175050 A JP S62175050A
Authority
JP
Japan
Prior art keywords
transmission
priority
signal
output
request 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.)
Pending
Application number
JP61132625A
Other languages
Japanese (ja)
Inventor
Koji Kobayashi
孝次 小林
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to KR1019860008906A priority Critical patent/KR910000700B1/en
Priority to DE19863636317 priority patent/DE3636317A1/en
Publication of JPS62175050A publication Critical patent/JPS62175050A/en
Priority to US07/270,457 priority patent/US4860000A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To widely shorten the time needed for relaying and the changing-over transmission of a priority right request signal by comparing the priority degree received in accordance with the receiving of a transmitting right request signal and own transmitting right request priority degree and controlling a switch when own priority degree is high. CONSTITUTION:Between a transmission line 2R and other transmission line 2S, a D-shaped flip-flop circuit FFC 11 interposes as a delaying element. In accordance with a clock pulse CLK synchronized with a receiving signal SR given from an I/F 1b to this clock terminal CK, a receiving signal SR given to a data terminal D is successively held and sent from an output Q. Thus, by a delaying element equipped at respective communicating devices, the receiving signal receives only the delay of at least approximately one bit, is transmitted to other transmission line through a switch, the delaying time due to relaying is decreased, when own priority degree is higher than the priority degree in accordance with the receiving of the transmitting right request signal, the control of the switch is executed, own transmitting output is connected to other transmission line, transmission is executed after the code to show own priority degree and the transmission of the transmitting right request signal is executed at a high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ループ状に接続された複数の通信装置間にお
いて、送信権要求信号の送信および中継に適用される伝
送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission method applied to transmitting and relaying a transmission right request signal between a plurality of communication devices connected in a loop.

〔従来の技術」 LAN (Local Area Network、 
)、各種の構内制御設備等においては、本出願人の別途
出願による特願昭59−260800号により提案され
ているとおり、データの送受信を行なう複数の通信装置
間を伝送路によシループ状として接続のうえ、データ信
号の伝送方向を定めておき、いずれかの通信装置が送信
権を取得して送信中は、他の通信装置が一方の伝送路か
ら受信しまた信号を中継し、他方の伝送路へ送信を行な
い、送信の終了に応じて新らたに送信権を取得する際に
は、送信権を要求する通信装置が一般にトークン(To
ken)と称される送信権要求信号へ送信権の優先度を
示すコードを付加して送信し、各通信装置中環も高い優
先度を有するものが送信権を取得するものとなっている
[Conventional technology] LAN (Local Area Network,
), various on-premises control equipment, etc., as proposed in Japanese Patent Application No. 59-260800 filed separately by the present applicant, a transmission line is used to connect multiple communication devices that transmit and receive data in a loop-like manner. Once connected, the direction of data signal transmission is determined, and while one of the communication devices acquires the transmission right and is transmitting, the other communication device receives from one transmission path and relays the signal, and the other communication device receives the signal from the other transmission path. When transmitting to a transmission path and acquiring a new transmission right upon completion of transmission, the communication device requesting the transmission right generally uses a token (Token).
A code indicating the priority of the transmission right is added to a transmission right request signal called ken) and transmitted, and the communication device with the highest priority acquires the transmission right.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、従来においては、各通信装置が受信4号を中継
して送信すべきか、自己が受信すべきかの判断、および
、送信権要求信号の受信に際し、自己が送信権を取得す
べきかこれを取得せずに中継[2て送信すべきかの判断
を全信号の受信後に行なっており、中継送信すべき場合
には判断1での所要時間が各通信装置毎に加算され、特
に送信権要求信号の伝送上判断による遅延時間が増大す
る問題を生じている。
However, conventionally, each communication device determines whether it should relay and transmit Reception No. 4 or should itself receive it, and when receiving the transmission right request signal, determines whether it should acquire the transmission right or not. The decision as to whether to transmit without relay [2] is made after all signals are received, and if relay transmission is to be performed, the time required for determination 1 is added for each communication device, especially for transmission right request signals. This has resulted in the problem of increased delay time due to transmission decisions.

〔問題点を解決するための手段〕[Means for solving problems]

前述の問題を解決するため、本発明はつぎの手段により
構成するものとなっている。
In order to solve the above-mentioned problem, the present invention is constructed by the following means.

すなわち、上述の方式において、受信した信号を少くと
もほゞlビット分の時間遅延して送信する遅延素子と、
この遅延素子の出力から自己の送信出力へ切替えて他方
の伝送路へ接続する切替器とを各通信装置が備え、送信
権要求信号の受信に応じ受信した優先度と自己の送信権
要求優先度とを比較し、この自己の優先度が高いとき切
替器を制御して受信した優先度を示すコードの代りに自
己の優先度を示すコードを送信し、かつ、以降の送信を
自己から行なうものとしている。
That is, in the above method, a delay element that transmits a received signal with a time delay of at least approximately 1 bit;
Each communication device is equipped with a switch that switches from the output of this delay element to its own transmission output and connects it to the other transmission path, and the priority received in response to the reception of the transmission right request signal and the own transmission right request priority. , and when its own priority is high, it controls the switching device to transmit a code indicating its own priority instead of the received priority code, and performs subsequent transmissions from itself. It is said that

〔作 用〕[For production]

したがって、各通信装置に備えた遅延素子により、受信
4号は少くともほゞ1ビットの遅延ヲ受けるのみによシ
切替器を介して他方の伝送路へ送信され、中継による遅
延時間か減少すると共に、送信権要求信号の受信に応じ
、これの優先度よシも自己の優先度が高ければ、切替器
の制御がなされ、自己の送信出力が他方の伝送路へ接続
されたうえ、自己の優先度を示すコード以降が送信され
るものとなり、送信m−*求信号の伝送も高速化される
Therefore, due to the delay element provided in each communication device, the received signal 4 is transmitted to the other transmission path via the switch with only a delay of at least 1 bit, reducing the delay time due to relaying. At the same time, in response to reception of a transmission right request signal, if the priority of the transmission right request signal is higher than that of the transmission right request signal, the switching device is controlled, and the transmission output of the transmission right is connected to the transmission line of the other side, and the transmission output of the transmission right is connected to the other transmission line. The code after the priority code is transmitted, and the transmission of the transmission m-* request signal is also speeded up.

〔実施例〕〔Example〕

以下、実施例を示す図によって本発明の詳細な説明する
Hereinafter, the present invention will be explained in detail with reference to figures showing examples.

第2図は全構成を示すブロック図であシ、複数の通信装
置(以下、ST ) 11〜14が伝送路21〜24に
よりループ状として接続され、この例では、矢印により
示す方向へ信号の伝送が行なわれるものとなっており、
例えば、5T11が送信権を取得し、5T14に対して
送信中のときには、8T1x、13が各々受信した信号
を中継して送信するものとなっている。
FIG. 2 is a block diagram showing the entire configuration. A plurality of communication devices (hereinafter referred to as ST) 11 to 14 are connected in a loop through transmission lines 21 to 24, and in this example, signals are transmitted in the direction indicated by the arrow. The transmission is to be carried out,
For example, when 5T11 acquires the transmission right and is transmitting to 5T14, 8T1x and 8T13 relay and transmit the received signals.

第3図は、% ST1 の詳細を示すブロック図であり
、ST1  の主装置1aに対し、インターフェイス(
以下、I/F)lb が設けてあシ、これの受信人力R
1へ一方の伝送路2Rが接続され、伝送路2Rと他方の
伝送路2Sとの間には、遅延素子としてD形のブリップ
フロップ回路(以下、FFC)11が介在し、これのり
aツク端子CKへI/Flbから与えられる受信4号S
Rと同期したクロックパルスCLKに応じ、データ端子
りへ与えられる受信4号SRを順次に保持して出力Qか
ら送出するものとなっておシ、これによって受信4号へ
はぼ1ビット分の遅延を与え、伝送路2Sへ送信4号S
3として送信するものとなっている。
FIG. 3 is a block diagram showing details of %ST1, in which an interface (
Hereinafter, I/F) lb is set up, and the receiving power R of this is set up.
1, one transmission line 2R is connected to the other transmission line 2S, and a D-type flip-flop circuit (hereinafter referred to as FFC) 11 is interposed as a delay element between the transmission line 2R and the other transmission line 2S. Reception No. 4 S given from I/Flb to CK
According to the clock pulse CLK synchronized with R, the 4th reception signal SR given to the data terminal is held sequentially and sent out from the output Q. As a result, about 1 bit worth of data is sent to the reception No. 4. Give delay and send to transmission line 2S No. 4 S
It is to be transmitted as 3.

!た、FFC11の出力Qは、切替器SWを介して伝送
路2Sへ接続されており、I/F1bが制御信号Scを
生ずると、切替器SWが応動してFFC11の出力Qか
らr/F1b の送信出力SOへ切替えを打力い、伝送
路2Sへ接続するため、I/F1bからの信号が伝送路
2Sへ送信されるものとなる。
! In addition, the output Q of the FFC 11 is connected to the transmission line 2S via the switch SW, and when the I/F1b generates the control signal Sc, the switch SW responds to change the output Q of the FFC 11 to the r/F1b. Since the transmission output is switched to SO and connected to the transmission line 2S, the signal from the I/F 1b is transmitted to the transmission line 2S.

第1図は、主装置1a 、 I/Flb 、 F’FC
11および切替器謂の具体的構成を示すブロック図であ
)、マイクロモロ七ッサ等のプロセッサ(以下、CPU
)21、可変メモリ(以下、RAM)22、固定メモリ
(以下、ROM)23、バスコントローラ(以下、BC
T)24、シフトレジスタ等の直並列変換器(以下、5
PC)31、“0“ビット削除回路(以下、ZI2L)
32、CRC(Cyclic RedundancyC
heck、 )検出回路(以下、CRD)33、アボー
ト(AbOrt、)・アイドル検出回路(以下、AAD
)34、CRC信号発生回路(以下、CRG)35、ア
ボート信号発生回路(以下、A、5G)36、シフi・
レジスタ等の並直列変換器(以下、PSC)3L  ”
O’l:7ト挿入回路(以下、ZIS)38等が設けて
あシ、伝送路2Rよシの受信4号811からZEL32
  においてJISC6363等(D HDLC手順に
よυ°0” ビットを削除のうえ、5PC31において
並列データとし、母線39を介してCPU21へ与える
ものとなっておp、CPU21 ハ、BCT24 を介
するROM23  中の命令を実行し、RAM22へ所
定のデータをアクセスしながら受信データの判断および
制御上の判断を行ない、必要に応じてCRG35.AS
G36  を制御すると共に並列データの送信データを
PSC37へ与える。
Figure 1 shows the main device 1a, I/Flb, F'FC
11 and a block diagram showing a specific configuration of the so-called switching device), a processor such as MicroMoro
) 21, variable memory (hereinafter referred to as RAM) 22, fixed memory (hereinafter referred to as ROM) 23, bus controller (hereinafter referred to as BC)
T) 24, serial/parallel converter such as shift register (hereinafter referred to as 5)
PC) 31, “0” bit deletion circuit (hereinafter referred to as ZI2L)
32, CRC (Cyclic RedundancyC)
heck, ) detection circuit (hereinafter referred to as CRD) 33, abort (AbOrt)/idle detection circuit (hereinafter referred to as AAD)
) 34, CRC signal generation circuit (hereinafter referred to as CRG) 35, abort signal generation circuit (hereinafter referred to as A, 5G) 36, shift i.
Parallel-serial converter (hereinafter referred to as PSC) 3L such as a register
O'l: 7-tooth insertion circuit (hereinafter referred to as ZIS) 38 etc. is provided, and the reception number 4 811 of the transmission line 2R side is connected to ZEL32.
In JISC6363 etc. (D HDLC procedure, the υ°0" bit is deleted, the 5PC31 converts it into parallel data, and it is given to the CPU 21 via the bus 39, and the instructions in the ROM 23 are sent to the CPU 21 via the bus 39. The CRG35.AS
G36 and provides parallel data transmission data to the PSC37.

すると、送信データがPSC37において直列データと
な9、かつ、CRG35からのCRC信号が挿入された
うえ、送出回路(以下、5SC)4Gを介してZIS3
8へ与えられ、ZI83B  において前述のHDLC
手順によシ ”0″ビツトの挿入が行なわれると共に、
必要に応じて送信を中断するときはASG36からのア
ボート信号が挿入された後、伝送路2Sへ送信4号SB
として送信される。
Then, the transmission data becomes serial data9 in the PSC37, a CRC signal from the CRG35 is inserted, and the data is transmitted to the ZIS3 via the transmission circuit (hereinafter referred to as 5SC) 4G.
8 and the aforementioned HDLC in ZI83B
The procedure inserts the ``0'' bit, and
When interrupting transmission as necessary, after inserting an abort signal from ASG36, transmit No. 4 SB to transmission path 2S.
Sent as .

なお、受信4号SRはAAD34  にも与えられてお
シ、これの検出々力、および、CHD33のチェック結
果を示す出力に応じてCPO21が所定の制御を行なう
一方、条件によっては、DMA (Direct Me
mor)’ Access、)制御によ、98PC31
からの受信データがBCT24  を介し、RAM22
へ直接格納され、°あるいは、RAM22の内容が直接
PSC37へ送出されるものとなっている。
Note that the reception No. 4 SR is also given to the AAD 34, and the CPO 21 performs predetermined control according to its detection power and the output indicating the check result of the CHD 33. Depending on the conditions, the DMA (Direct Me
mor)' Access, ) control, 98PC31
The received data from the BCT24 is transferred to the RAM22
Otherwise, the contents of the RAM 22 are sent directly to the PSC 37.

lた、ZgL32の出力は、5SC40に含1れたFF
C11のデータ端子りへ与えられ、これの出力QがAN
Dゲート41.ORゲート42を介しZIS3Bの入力
へ与えられておシ、常時は、制御用のFFC431,4
hに対し、これのクリア端子CLへCPU21がクリア
信号CLRを与え、FFC431、432をリセット状
態としているため、これの出力Qが論理値の “0”で
あ、9、ANDゲー144がオフとなる一方、インバー
タ45の出力が論理値の 1″となってお、9、AND
  ゲート41はオン状態となっていることにより、第
3図と同様にFFC11の出力Qからの信号がzis3
8へ与えられ、これが送信4号Ssとして送信される。
In addition, the output of ZgL32 is the FF included in 5SC40.
It is applied to the data terminal of C11, and the output Q of this is applied to the data terminal of AN.
D gate 41. It is supplied to the input of ZIS3B via the OR gate 42, and is normally connected to the control FFC431,4.
For h, the CPU 21 gives the clear signal CLR to the clear terminal CL of this, and resets the FFCs 431 and 432. Therefore, the output Q of this is the logical value "0", and the AND game 144 is turned off. On the other hand, the output of the inverter 45 becomes the logical value 1'', and 9, AND
Since the gate 41 is in the on state, the signal from the output Q of the FFC 11 becomes zis3 as in FIG.
8, and this is transmitted as transmission No. 4 Ss.

以上に対し、自己が送信権を取得したときは、FFC4
3zのプリセット端子PRに対し、CPU21がプリセ
ット信号PSEを与えるため、FFC43雪がセットさ
れて出力Qを ”1″とし、AND  ゲート44をオ
ンとする一方、インバータ45の出力を”0”としてA
NDゲート41をオフとし、FFC11の出力Qに代え
て遅延回路46からの信号をAND ゲート44および
01Nゲート42を介してZIS38  の入力へ与え
、これを送信4号Ssとして伝送路2Sへ送信するもの
となる。
In contrast to the above, when the user obtains the transmission right, FFC4
Since the CPU 21 gives the preset signal PSE to the preset terminal PR of the 3z, the FFC 43 is set and the output Q is set to "1", and the AND gate 44 is turned on, while the output of the inverter 45 is set to "0" and the A
Turn off the ND gate 41, apply the signal from the delay circuit 46 instead of the output Q of the FFC 11 to the input of the ZIS 38 via the AND gate 44 and the 01N gate 42, and transmit it to the transmission line 2S as the transmission No. 4 Ss. Become something.

一方、PSC37に対しては、CPU21が送信権要求
を行なうべきと判断したとき、送信権の優先度を′示す
1”、“Onの組み合せによる コードを含む送信権要
求信号をセットするため、この内容がクロックパルスC
LKに応じ順次に直列データとして送出され、排他的論
理和(以下、Ili:X0R)ゲート47へ与えられる
On the other hand, for the PSC 37, when the CPU 21 determines that a transmission right request should be made, it sets a transmission right request signal that includes a code that is a combination of '1' and 'On' indicating the priority of the transmission right. Content is clock pulse C
The data is sequentially sent out as serial data in accordance with LK and applied to an exclusive OR (hereinafter referred to as Ili:X0R) gate 47.

すなわち、CPU21 は、送信権要求信号の受信開始
と判断すれば、優先度を示すコードの受信前に自己の送
信権要求優先度を示すコードを含む送信データをPSC
37ヘセットするものとなっている。
That is, if the CPU 21 determines that the reception of the transmission right request signal is to start, the CPU 21 sends the transmission data including the code indicating the priority of its own transmission right request to the PSC before receiving the code indicating the priority.
It is designed to be set to 37 degrees.

したがって、ZEL32 の出力が受信した優先度を示
す同様なコードを含むものであるとき、これがEXOR
ゲート47の他方の入力へ与えられるものとなっておp
、ZgL32の出力が0“、PSC37の出力が”l“
の条件となれば、gXORゲート47の出力は“1″と
なり、これがANDゲート4日を介してFFC431の
データ端子りへ与、tられ、クロックパルスCI、Kに
応じてFFC431がセットされ、これに応じ”CFF
C4hもセットされて出力Qを “1”とするため、前
述と同じ< ANDゲート44がオンへ転じ、遅延回路
46により遅延されたPSC3γ の出力が送信4号S
sとして送出される。
Therefore, when the ZEL32 output contains a similar code indicating the received priority, this is the EXOR
p is applied to the other input of gate 47.
, ZgL32 output is 0", PSC37 output is "l"
If the condition is met, the output of the gXOR gate 47 becomes "1", which is applied to the data terminal of the FFC 431 via the AND gate 4, and the FFC 431 is set according to the clock pulses CI and K, and this According to “CFF”
Since C4h is also set and the output Q is set to "1", the same < AND gate 44 as described above is turned on, and the output of PSC3γ delayed by the delay circuit 46 is sent to the transmitter No. 4 S.
Sent as s.

なお、これらの動作状況は詳細を後述するとおシである
Note that these operating conditions will be described in detail later.

第4図(A)は、以上の状況を示す送信権要求信号の内
容例であり、同信号は、この場合各8ビットのスタート
フラグ51、全STにおいて受信すべきことを示すグロ
ーバルコード52、送信権要求コード53、優先度コー
ド54、送信STのアドレスを示す送信元コード55、
CRC信号56、および、エンドフラグ5γによシ構戊
され、受信4号SRが図示の状態では、優先度コード5
4が2進数により「2」を示しており、送信元コード5
5のr 0OOOOOOIJにより示される送信元のS
Tにおいて付加された優先度は■となっている。
FIG. 4(A) shows an example of the contents of a transmission right request signal indicating the above situation, in which case the signal includes a start flag 51 of each 8 bits, a global code 52 indicating that it should be received in all STs, A transmission right request code 53, a priority code 54, a transmission source code 55 indicating the address of the transmission ST,
It is configured by the CRC signal 56 and the end flag 5γ, and when the reception No. 4 SR is in the illustrated state, the priority code is 5.
4 indicates "2" in binary, and the sender code is 5.
S of the source indicated by r 0OOOOOOIJ of 5
The priority added to T is ■.

これに対し、自己のSTが送信4号S−として送信すべ
き送信すべき送信権要求信号は、スタートフラグ51、
グローバルコード52、送信権要求コード53、および
、エンドフラグ5Tが受信信号SRと同一であり、優先
度コード54、送信元コード55およびCRC信号56
のみが異っており、この例では優先度が2進数の「4」
となっているため、受信4号の優先度■より自己の優先
度■が高く、自己が優先的に送信権要求を行なってよい
ものとなっている。
On the other hand, the transmission right request signal to be transmitted by the own ST as transmission No. 4 S- is the start flag 51,
The global code 52, the transmission right request code 53, and the end flag 5T are the same as the received signal SR, the priority code 54, the source code 55, and the CRC signal 56.
In this example, the priority is "4" in binary
Therefore, its own priority ■ is higher than the priority ■ of the receiver No. 4, and it is allowed to make a transmission right request preferentially.

したがって、第1図のFFC11によシ、受信信号SR
をはM1ビットずつ遅延し、送信4号SRとPSC37
からの信号とがgXORゲート47により比較されてお
シ、スタートフラグ51〜優先度コード54の第5ピツ
ト1では同一のため、gXo Rゲート47の出力が“
0”を保つのに対し、優先度コード54の第6ビントへ
至ると、受信4号SRは”o”、5RG47の出力は”
 l ”であり、自己の優先度が高いとの判断条件が成
立し、上述のとおり EXORゲート47の出力が”1
′へ転じ、受信4号SRの優先度コードに代え、自己の
優先度コードが送信され、これ以降はPS03Tの出力
が同様に送信される。
Therefore, according to the FFC 11 in FIG. 1, the received signal SR
is delayed by M1 bits, and the transmission No.4 SR and PSC37
The gXOR gate 47 compares the signals from the start flag 51 to the fifth pit 1 of the priority code 54, so the output of the gXOR gate 47 is "
0", but when reaching the 6th bin of priority code 54, the receiving No. 4 SR is "o" and the output of 5RG47 is "
1, and the judgment condition that its own priority is high is satisfied, and as described above, the output of the EXOR gate 47 is ``1''.
', and instead of the priority code of the received No. 4 SR, its own priority code is transmitted, and from then on, the output of PS03T is transmitted in the same way.

なお、遅延回路46は、PSC37の出力とFFC11
の出力とのタイミングを一致させるためのものであり、
この場合ははソ1ビット分の遅延時間に設定すればよい
Note that the delay circuit 46 connects the output of the PSC 37 and the FFC 11.
This is to match the timing with the output of
In this case, the delay time may be set to a delay time of 1 bit.

第4図(n)は、クリア信号CLR,FFC4:h  
の出力Qから送出される制御信号Sc、および、プリセ
ット信号PSEの変化状況を示すタイミングチャートで
i、CPU21 は、受信4号SRが送信権要求信号の
優先度コード54となったことを判断し、かつ、自己も
送信権要求を行カうべきことを判断したとき、これに応
じてクリア信号CLRを”0”から “1”とし、FF
C43s 、4hのリセット状態を解除すると共に、プ
リセット信号蒔醪を ”1″の無信号状態としており、
前述のとおり、優先度コード54の第6ビツトから制御
信号Scが1”とな9、ANDゲート44をオンへ転す
るものと寿っている。
Figure 4(n) shows the clear signal CLR, FFC4:h
In the timing chart showing the change status of the control signal Sc and preset signal PSE sent from the output Q of , and determines that it should also request the transmission right, changes the clear signal CLR from "0" to "1" accordingly, and the FF
In addition to canceling the reset state of C43s and 4h, the preset signal mamomi is set to a no-signal state of "1",
As mentioned above, the control signal Sc becomes 1'' from the sixth bit of the priority code 54, which turns the AND gate 44 on.

なお、CPU21  は、自己の送信権要求信号が他の
STを介して全伝送路21〜24を一巡し自己により受
信されたとき、自己が送信権を取得できると判断し、プ
リセット信号PSEを0“としてFFC432を強制的
にセットするものとなっている。
Note that when the own transmission right request signal goes around all the transmission lines 21 to 24 via other STs and is received by itself, the CPU 21 determines that it can acquire the transmission right, and sets the preset signal PSE to 0. ", the FFC 432 is forcibly set.

一方、第4図(c)は、受信4号SRを送信中のSTに
おηる(B)と同様な夕づミングチャートであシ、クリ
ア信号CLRが°1” の無信号状態、プリセット信号
PSEが101 のプリセット状態となってお9、とg
に応じて制御信号Scが”l”となり、ANDゲート4
4をオンに保ち、P4O10の出力を送信々碧Ss、L
−l−て送信1.ている7第5図は、第1図の各部にお
ける信号の状況を示すタイミングチャートであり、受信
4号SRと同期したクロックパルスCLK(i)が 1
0′から”1”へ変化する立上りによりFFC11が応
動するため、ZEL32の出力(a)がクロックパルス
(i)Oホ”; V’21178M分”jl延り、テF
FC11O出力(b)となる一方、PSC37の出力(
c)が遅延回路46によシ同等の遅延を受は遅延出力(
d)となっておシ、両出力(a) 、 (c)の不一致
に応じてmXORゲート4γの出力(e)が”1”へ転
すると、当′初はリセットされ、FFC431の出力Q
が′1°となっているため、ANDゲート48の出力(
f)が“l”セなυ′、これにつぐクロックパルス(i
)の立上シにしたがい、時点tc  においてFFC4
3+  がセットされ、出力Q (g)f:”1”へ転
すると共に、出力Qを“0”へ転する。
On the other hand, Fig. 4(c) is a sunset timing chart similar to (B) in which the received No. 4 SR is sent to the ST. The signal PSE is in the preset state of 101, 9, and g.
Accordingly, the control signal Sc becomes "l", and the AND gate 4
Keep 4 on and send the output of P4O10 to Aoi Ss, L
-l- Send 1. Figure 5 is a timing chart showing the signal status in each part of Figure 1, and shows that the clock pulse CLK(i) synchronized with the receiving No. 4 SR is 1.
Since the FFC11 responds to the rising edge that changes from 0' to "1", the output (a) of ZEL32 becomes the clock pulse (i) Oho";
FC11O output (b), while PSC37 output (
c) receives an equivalent delay from the delay circuit 46, and the delayed output (
d), and when the output (e) of the mXOR gate 4γ changes to "1" in response to the mismatch between the two outputs (a) and (c), it is initially reset and the output Q of the FFC431
is '1°, so the output of AND gate 48 (
f) is “l” υ′, and the next clock pulse (i
), FFC4 at time tc
3+ is set, output Q(g)f: is turned to "1", and output Q is turned to "0".

このため、ANDゲート48は直ちにオフとなシ、出力
(f)を”0“へ復し、つぎのクロックパルス(i)の
立上シによpF’Fc43t はリセットし、出力(g
)を“O゛とするが、出力(g)はFFC43!のクロ
ック端子CK へ与えられておシ、出力(g)が“0”
から”l“へ転じたときに、FFC43□はデータ端子
りへ与えられている出力(c)の”1″によりセットさ
れ、時点t0以降においてFFC4hの出力(h)が”
l”を維持し、これが制御信号ScとしてANDゲート
44およびインバータ45へ送出される。
Therefore, the AND gate 48 is immediately turned off, the output (f) is returned to "0", and pF'Fc43t is reset by the rising edge of the next clock pulse (i), and the output (g
) is “O”, but the output (g) is given to the clock terminal CK of FFC43!, and the output (g) is “0”.
When the signal changes from "1" to "1", FFC43□ is set by "1" of the output (c) given to the data terminal, and after time t0, the output (h) of FFC4h becomes "1".
l'' is maintained and sent to AND gate 44 and inverter 45 as control signal Sc.

したがって、第4図(A)およびCB)のとおり、受信
した優先度よりも自己の優先度が高いとの判断がなされ
、これに応じて切替器SWの制御が行なわれる。
Therefore, as shown in FIGS. 4(A) and CB), it is determined that its own priority is higher than the received priority, and the switch SW is controlled accordingly.

第6図は、上述の特願昭59−260800号による手
法へ本方式を適用した場合の各87間における信号の送
受信状況を示すタイミングチャートであり、1ず、すで
に送信権を有する5T11  が更に送信権の占有を要
求するため、送信Sによシ送信権の要求を示す要求信号
CTIへ自己の優先度■を付加して送信すると、これが
5T12 において受信Rにより受信されるが、前述の
動作にょ9自己の高い優先度■の判断がなされ、これが
付加されてはソ1ビットの遅延によυ要求信号CT2と
して送信される。
FIG. 6 is a timing chart showing the signal transmission and reception status between each 87 when this method is applied to the method according to the above-mentioned Japanese Patent Application No. 59-260800. In order to request possession of the transmission right, the transmitter S adds its own priority ■ to the request signal CTI indicating the request for the transmission right and transmits it.This is received by the receiver R at 5T12, but the above-mentioned operation A determination is made as to the high priority (2) of the N9 self, and this is added and transmitted as the υ request signal CT2 with a delay of one bit.

この送信は、5T13によ)受信されるが、こ\におい
ても自己の高い優先度■の判断によシ、これが付加され
てはソlビットの遅延により要求信号CTs  として
送信され、5T14においては、これがそのま\はソ1
ビットの遅延により中継されて送信され、5T11  
において受信される。
This transmission is received by 5T13), but based on its own high priority judgment, this is added and transmitted as a request signal CTs with a delay of the Sol bit, and in 5T14 , this is soma\ha so1
relayed and transmitted with a bit delay, 5T11
received at.

すると、ST1+  は、自己の送信した要求信号CT
l(I[I)が受信されないため、今まで占有した送信
権を放棄すべきものと判断し、受信した要求信号CTs
 (V)を一旦蓄積してから送信するものとなシ、これ
が順次に中継されて5T13  によシ受信されると%
5T1B は、これを更に送信すると共に、送信権を取
得したものと判断し、有効化信号OKを送信のうえ、こ
れが順次に中継されて一巡し、自己において受信できれ
ば、他のST1.。
Then, ST1+ receives the request signal CT sent by itself.
l(I[I) is not received, it is determined that the transmission right that has been occupied so far should be abandoned, and the received request signal CTs
(V) is stored once and then transmitted, and if this is relayed sequentially and received by 5T13,
5T1B further transmits this, determines that it has acquired the transmission right, transmits an activation signal OK, and this is relayed in sequence, making a round, and if it can be received by itself, it is transmitted to other ST1. .

12.14 においても ST13が送信権を取得した
旨の確認を行なったものと判断し、送信状態に入るもの
となっている。
12.14 as well, it is determined that ST13 has confirmed that it has acquired the transmission right, and enters the transmission state.

なお、ST1.は、要求信号CT3(V) の再受信に
応じて送信権を放棄すると共に、要求信号CTs(V)
の再中継を行なわない。
In addition, ST1. relinquishes the transmission right in response to re-reception of request signal CT3(V), and also releases request signal CTs(V).
will not be re-relayed.

したがって、はソ1ビットの遅延のみによシ受信々号の
中継送信かなされ、中継に要する時間が大幅に短編され
ると共に、送信権要求信号の中継および自己の送信権要
求信号への切替送信に要する時間も同様となシ、全般的
な伝送速度が向上し、各種データの伝送および制御応答
性の高速化が実現する。
Therefore, the relay transmission of the received signals is carried out with only a delay of 1 bit, and the time required for relaying is greatly shortened, and the transmission right request signal can be relayed and the transmission right request signal can be switched to the own transmission right request signal. Although the time required for processing is the same, the overall transmission speed is improved, and various data transmission and control response speeds are realized.

たソし、遅延素子としては、FFC11を用いるとき波
形整形作用も呈し好適であるか、他の素子または回路を
用いてもよく、実用上支障のない範囲であれば遅延時間
を1ビツトより大または小としても同様でちゃ、第1図
の構成は条件にしたがった選定が任意であると共に、第
4図(4)においては、優先度コード54以外を各ビッ
トの順位を反転して送信してもよい等、種々の変形が自
在である。
However, when using the FFC11 as the delay element, it is preferable to use it because it also exhibits a waveform shaping effect, or other elements or circuits may be used, and the delay time may be greater than 1 bit as long as it does not cause any practical problems. The configuration in Figure 1 can be selected arbitrarily according to the conditions, and in Figure 4 (4), the order of each bit is inverted and transmitted except for the priority code 54. Various modifications are possible.

〔発明の効果〕〔Effect of the invention〕

以上の説明によシ明らかなとお夛本発明によれば、ルー
プ状接続の各87間において、中継および優先権要求信
号の切替送信に要する時間が大幅に短縮され、全般的な
伝送速度が向上し、q!r種のデータ伝送および制御に
おいて顕著な効果が得られる。
As is clear from the above explanation, according to the present invention, the time required for relaying and switching and transmitting priority request signals between each 87 loop connections is significantly shortened, and the overall transmission speed is improved. S-q! Significant effects can be obtained in r types of data transmission and control.

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

因は本発明の実施例を示し、第1図はSTの具体的構成
を示すブロック図、第2図は全体の構成を示すブロック
図、第3図はSTの構成を示すブロック図、第4図(4
)は送信権要求信号の構成を示す図、第4図(B)およ
び(C)はクリア信号、制御信号、ブリセット信号の変
化状況を示すタイミングチャート、第5図は第1図の各
部における信号の状況を、示すタイミングチャート、第
6図は各ST間における信号の送受信状況を示すタイミ
ングチャートである。 11〜14 ・・・・ST(通信装[)、21〜24.
2R,2S  ・・・・伝送路、11,43s。 432−・e・FFC(フリップフロップ回路〕、21
・・・−CPU (プロセッサ〕、22−・拳・RAM
  (可変メモリ)、23・・φ・ROM(固定メモリ
)、31・−・・spc (直並列変換器)、37・・
−・PSC(並直列変換器〕、40・・・・SSC(送
出回路)、41,44゜48・・・・ANDゲート、4
2・・・嗜ORゲート、45◆拳−Φインバータ、46
−書拳豐遅延回路、4γ・・・・EXOR(排他的論理
和)ゲート、53・・・・送信権要求コード、54・・
・・優先度コード、SR・・・・受信々号、S8・・・
・送信4号、SO・・−・送信出力、RI  ・・・・
受信入力、SW・・◆も切替器。
Figure 1 is a block diagram showing the specific configuration of the ST, Figure 2 is a block diagram showing the overall configuration, Figure 3 is a block diagram showing the configuration of the ST, and Figure 4 is a block diagram showing the configuration of the ST. Figure (4
) is a diagram showing the configuration of the transmission right request signal, FIGS. 4(B) and (C) are timing charts showing changes in the clear signal, control signal, and brisset signal, and FIG. 5 is a diagram showing the structure of each part of FIG. 1. FIG. 6 is a timing chart showing the signal status. FIG. 6 is a timing chart showing the signal transmission/reception status between each ST. 11-14...ST (communication equipment [), 21-24.
2R, 2S...Transmission line, 11, 43s. 432-・e・FFC (flip-flop circuit), 21
...-CPU (processor), 22-・Fist・RAM
(variable memory), 23... φ ROM (fixed memory), 31... spc (serial parallel converter), 37...
-・PSC (parallel-serial converter), 40...SSC (sending circuit), 41, 44° 48...AND gate, 4
2...Fun OR gate, 45◆Fist-Φ inverter, 46
- Shoken Fung delay circuit, 4γ...EXOR (exclusive OR) gate, 53... transmission right request code, 54...
・・Priority code, SR・・Reception number, S8・・・・
・Transmission No. 4, SO...---Transmission output, RI...
Reception input, SW...◆ is also a switch.

Claims (1)

【特許請求の範囲】[Claims] ループ状に接続された複数の通信装置からなり、一方の
伝送路から受信した信号を他方の伝送路へ中継して送信
し、かつ、送信権を要求する通信装置が送信権要求信号
へ前記送信権の優先度を示すコードを付加して送信する
方式において、前記受信した信号を少くともほゞ1ビッ
ト分の時間遅延して送信する遅延素子と、該遅延素子の
出力から自己の送信出力へ切替えて前記他方の伝送路へ
接続する切替器とを各通信装置が備え、前記送信権要求
信号の受信に応じ受信した前記優先度と自己の送信権要
求優先度とを比較し、該自己の優先度が高いとき前記切
替器を制御して前記受信した優先度を示すコードの代り
に自己の優先度を示すコードを送信し、かつ、以降の送
信を自己から行なうことを特徴とする送信権要求信号伝
送方式。
Consisting of a plurality of communication devices connected in a loop, a signal received from one transmission path is relayed and transmitted to the other transmission path, and the communication device requesting the transmission right sends the transmission right request signal. a delay element that transmits the received signal with a time delay of at least approximately 1 bit; and an output of the delay element to its own transmission output; Each communication device is provided with a switching device that switches to connect to the other transmission path, and compares the received priority in response to reception of the transmission right request signal with its own transmission right request priority, and A transmission right characterized in that when the priority is high, the switching device is controlled to transmit a code indicating its own priority instead of the received code indicating the priority, and the transmission right thereafter performs the transmission from itself. Request signal transmission method.
JP61132625A 1985-10-25 1986-06-10 Transmitting right request signal transmitting system Pending JPS62175050A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1019860008906A KR910000700B1 (en) 1985-10-25 1986-10-24 Data transmission system using sending right request signal transferred trough loop transmission path
DE19863636317 DE3636317A1 (en) 1985-10-25 1986-10-24 DATA TRANSMISSION SYSTEM WITH TRANSMIT RIGHT REQUEST SIGNALS TRANSMITTED BY A TRANSMISSION LOOP
US07/270,457 US4860000A (en) 1985-10-25 1988-11-04 Data transmission system using sending right request signal transferred through loop transmission path

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP60-237606 1985-10-25
JP23760685 1985-10-25

Publications (1)

Publication Number Publication Date
JPS62175050A true JPS62175050A (en) 1987-07-31

Family

ID=17017809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61132625A Pending JPS62175050A (en) 1985-10-25 1986-06-10 Transmitting right request signal transmitting system

Country Status (1)

Country Link
JP (1) JPS62175050A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53101904A (en) * 1977-02-18 1978-09-05 Hitachi Ltd Permission system for transmission in loop communication system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53101904A (en) * 1977-02-18 1978-09-05 Hitachi Ltd Permission system for transmission in loop communication system

Similar Documents

Publication Publication Date Title
JPS5947905B2 (en) Information transmission method using a common transmission path
US20220253398A1 (en) Communication device, communication system, and communication method
US5379325A (en) Clock generating apparatus, data transmitting/receiving apparatus and data transmitting/receiving method
JPS63193741A (en) Method of constituting mutual connections between digital signal switches, networks including digital switches and a plurality of digital devices
JPS62175050A (en) Transmitting right request signal transmitting system
JPS58225756A (en) Serial data communication device
US11971842B2 (en) Communication device, communication system, and communication method for transmitting a serial signal group conforming to a serial peripheral interface
CN112506839B (en) One-to-many SPI bus switching method and device
US5596580A (en) Access to transmit on a message priority basis
JP2501450B2 (en) Gateway
JPH01155743A (en) Loop shape data transmission equipment
KR0148568B1 (en) Data processing device
JP2680200B2 (en) Communication control device
JPS63215241A (en) Loop type lan and its controller
JPS63110838A (en) Synchronizing signal transfer system
JPH0659064B2 (en) Communication control device
JPS62290232A (en) Transmission right taking over system
JPS63232651A (en) Control system in mobile communication terminal
JPS62290231A (en) Transmission right taking over system
JPH03258132A (en) Communication terminal equipment
KR910000700B1 (en) Data transmission system using sending right request signal transferred trough loop transmission path
EP0376842A2 (en) Control system for duplex communications channels
JPH0423671A (en) Picture signal circuit for facsimile equipment
JPS62261247A (en) Data transmission system
JPS6055756A (en) Communication controller