[go: up one dir, main page]

JPS62290231A - Transmission right handover method - Google Patents

Transmission right handover method

Info

Publication number
JPS62290231A
JPS62290231A JP13262686A JP13262686A JPS62290231A JP S62290231 A JPS62290231 A JP S62290231A JP 13262686 A JP13262686 A JP 13262686A JP 13262686 A JP13262686 A JP 13262686A JP S62290231 A JPS62290231 A JP S62290231A
Authority
JP
Japan
Prior art keywords
signal
transmission
transmission right
code
received
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
JP13262686A
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 JP13262686A priority Critical patent/JPS62290231A/en
Priority to KR1019860008906A priority patent/KR910000700B1/en
Priority to DE19863636317 priority patent/DE3636317A1/en
Publication of JPS62290231A publication Critical patent/JPS62290231A/en
Priority to US07/270,457 priority patent/US4860000A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To contrive efficient data transmission in terms of each communication equipment by shorting time required for relaying and switching a preferential right request signal and taking over the transmission right through minimum signal exchange. CONSTITUTION:In terms of communication equipments STA(CEA-CED) connected in a loop, each STA hourly transmits a transmission signal SS by delaying a reception signal SR by at least about one bit. If it requests the transmission right, it compares a received prioirty code and its own code. If its own code is of higher priority, it transmits its own code instead of the received code. If it has the transmission right and a received transmission right request signal CT different from its own code, it responds the signal CT, transmits a taking over designation signal CT' showing an STC that will take over the transmission right next time. Other STCs relay and transmit the taking over desgination signal CT'. The STA to take over the transmission right next time acquires the transmission right after it receives the taking over designation signal CT'.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明は、ループ状に接続された複数の通信装置間にお
いて、送信権の引継ぎを行なう方式に関するものである
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a system for taking over transmission rights between a plurality of communication devices connected in a loop.

〔従来の技術〕[Conventional technology]

LAN(Local Area Network、、 
)、各種の構内制御設備等においては、本出願人の別途
出願による特願昭59−260800号によシ提案され
ているとおυ、データの送受信を行なう複数の通信装置
間を伝送路によシループ状として接続のうえ、データ信
号の伝送方向を定めておき、いずれかの通信装置が送信
権を取得して送信中は、他の通信装置が一方の伝送路か
ら受信した信号を中継し、他方の伝送路へ送信を行ない
、送信の終了に応じて新らたに送信権を取得する際には
、送信権を要求する通信装置が一般にトークン(Tok
en) と称される送信権要求信号へ送信権の優先度を
示すコードを付加して送信し、各通信装置生鰻も高い優
先度を有するものが送信権を取得するものとなっている
LAN (Local Area Network)
), various on-premises control equipment, etc., as proposed in Japanese Patent Application No. 59-260800 filed separately by the applicant, a transmission line is used to connect multiple communication devices that transmit and receive data. After connecting as a serial loop, the transmission direction of the data signal is determined, and while one of the communication devices acquires the transmission right and is transmitting, the other communication device relays the signal received from one transmission path. When transmitting to the other 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 ``en)'' and transmitted, and the communication device having a high priority acquires the transmission right.

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

しかし、従来においては、送信権引継の確実化を図るた
め、送信権要求信号のほかに引継信号等の送受信を行な
っており、これに余剰な伝送時間を要すると共に、各通
信装置が受信4号を中継して送信すべきか、自己が受信
すべきかの判断、および、送信権要求信号の受信に際し
、自己が送信権を取得すべきか、これを取得せずに中継
して送信すべきかの判断を全信号の受信後に行なってお
夛、中継送信すべき場合には判断までの所要時間が各通
信装置毎に加算され、特に送信wA要求信号の伝送上判
断による遅延時間が増大すぬ問題を生じている。
However, in the past, in order to ensure transmission right handover, a takeover signal, etc. was sent and received in addition to the transmission right request signal, which required extra transmission time and required each communication device to receive four reception signals. When receiving a transmission right request signal, it determines whether it should acquire the transmission right or whether it should relay and transmit without acquiring it. If the process should be repeated or relayed after all signals have been received, the time required to make a decision will be added to each communication device, causing a problem in which the delay time caused by the decision in transmitting the wA request signal will not increase. ing.

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

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

すなわち、上述の方式において、受信した信号を少くと
もほゞ1ビット分の時間遅延して送信すると共に自己が
送信権を要求する際には受信した優先度コードと自己の
優先度コードとを比較し自己の優先度が筒いとき受信し
た優先度コードに代えて自己の優先度コードを送信する
回路を各通信装置毎に設け、すでに送信権を有する通信
装置は受信した送信権要求信号が自己のものと異なると
きこの送・1j権要求信号に応じつぎに送信権を取得す
る通信装置を示す引継指定信号を送信し、他の各通信装
置においては引継指定信号を中継して送信し、つぎに送
信権を取得する通信装置では引継指定信号の受信にした
がい送信権の取得を行なうものとしている。
That is, in the above-mentioned method, the received signal is transmitted with a time delay of at least one bit, and when it requests the transmission right, it compares the received priority code with its own priority code. Each communication device is equipped with a circuit that transmits its own priority code in place of the received priority code when its own priority exceeds the limit, and if the communication device already has the transmission right, the received transmission right request signal is In response to this transmission/1j right request signal, a takeover designation signal indicating the next communication device to acquire the transmission right is transmitted, and each of the other communication devices relays and transmits the takeover designation signal, and then A communication device that acquires the transmission right at the time of transmission is assumed to acquire the transmission right in accordance with the reception of the takeover designation signal.

〔作用〕[Effect]

したがって、各通信装置毎に設けたノ・−ドウエアの回
路によシ、受信4号ははソ1ピットの遅延を受けるのみ
によ多中継して送信され、中継による遅延時間が減少す
ると共に、自己が送信権を要求する際には、受信した優
先度よシ自己の慶先度が高ければ、自己の優先度コード
以降が送信され、送信権要求信号の伝送も高速化される
一方、受信した送信権要求信号が自己のものと異なれば
、これに応じて送信される引継指定信号によシ送信権の
取得がなされ、送信権の引継ぎが高速かつ確実となる。
Therefore, by using the hardware circuit provided for each communication device, the received signal No. 4 is transmitted by multiple relays, receiving only the delay of the first pit, and the delay time due to relaying is reduced. When the self requests the transmission right, if the received priority is higher than the received priority, the priority code of the self or later is transmitted, and the transmission of the transmission right request signal is also speeded up. If the received transmission right request signal is different from the own, the transmission right is acquired by the takeover designation signal transmitted in response to this, and the transmission right can be taken over quickly and reliably.

〔実施例〕〔Example〕

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

第2図は全構成を示すブロック図であシ、複数の通信装
置(以下、5TA)CEA−CEDが伝送路21〜24
によシループ状として接続され、この列では、矢印によ
シ示す方向へ信号の伝送が行なわれるものとなっておシ
、例えば、5TA−CEAが送信権を取得し、5TA−
CEDに対して送信中のときには、5TA−CEB、C
ECが各々受信した信号を中継して送信するものとなっ
ている〇 第3図は、各5TA−CEの詳細を示すブロック図であ
り、5TA−CEの主装置1aに対し、インターフェイ
ス(以下、I/F)1bが設けてあり、これの受信人力
RIへ一方の伝送路2Rが接続され、伝送路2Rと他方
の伝送路2Sとの間には、遅延素子としてD形の7リツ
プフロツプ回路(以下、FFC)11が介在し、これの
クロック端子CKへI/F 1b  力ら与えられる受
信4号SRと同期したクロックパルスCLKに応じ、デ
ータ端子りへ与えられる受信4号SRを順次に保持して
出力Qから送出するものとなっておシ、これによって受
信4号へはy1ビット分の遅延を与え、伝送路2Sへ送
信々号Ssとして送信するものとなっている。
FIG. 2 is a block diagram showing the entire configuration.
In this row, signals are transmitted in the direction shown by the arrow. For example, 5TA-CEA acquires the transmission right, and 5TA-CEA
When transmitting to CED, 5TA-CEB, C
Each EC relays and transmits received signals. Figure 3 is a block diagram showing the details of each 5TA-CE. One transmission line 2R is connected to the receiving input RI of this I/F) 1b, and a D-type 7 lip-flop circuit ( Hereinafter, the FFC) 11 intervenes, and in response to the clock pulse CLK synchronized with the reception No. 4 SR given from the I/F 1b to the clock terminal CK of this FFC, the reception No. 4 SR given to the data terminal is sequentially held. As a result, a delay of y1 bits is given to the reception signal 4, and the signal is transmitted to the transmission path 2S as the transmission signal Ss.

また、FFC11の出力Qは、切替器SWを介して伝送
路2Sへ接続されておl:t、x/7tbが制御信号S
cを生ずると、切替器SWが応動してFFC11の出力
QからI/F1bの送信出力SOへ切替えを行ない、伝
送路2Sへ接続するため、I/F1bからの信号が伝送
路2Sへ送信されるものとなる。
Further, the output Q of the FFC 11 is connected to the transmission line 2S via the switch SW, and l:t, x/7tb is the control signal S.
When c occurs, the switch SW responds and switches from the output Q of the FFC 11 to the transmission output SO of the I/F 1b and connects it to the transmission line 2S, so the signal from the I/F 1b is transmitted to the transmission line 2S. become something that

第4図は、主装置i 1 a 、 I/’F1 b 、
 FFC11および切替器SWの具体的構成を示すブロ
ック図であシ、マイクロプロセッサ等のプロセッサ(以
下、CPU)21、可変メモリ(以下、RAM)22、
固定メモリ(以下、ROM)23、バスコントローラ(
以下、BCT)24、シフトレジスタ等の直並列変換器
(以下、5pa)31 、”O’ビット削除回路(以下
、2EL)32、CRC(Cyclic Radund
an+cy Check、)検出回路(以下、CHD)
33、アボート(Abort、)・アイドル検出回路(
以下、AAD)34、CRC信号発生回路(以下、CR
G)35、アボート信号発生回路(以下、ASG)36
、 シフトレジスタ等の並直列変換器(以下、PSC)
37、’O” ビット挿入回路(以下、ZIS)38等
が設けてあシ、伝送路2Rよシの受信々号SRからZE
L32においてJISC6363等のHDLC手順によ
シ″0”ビットを削除のうえ、5PC31において並列
データとし、母線39を介してCPU21へ与えるもの
となっておシ、CPU21は、BCT24を介するRO
M23中の命令を実行し、RAM22へ所定のデータを
アクセスしながら受信データの判断および制御上の判断
を行ない、必要に応じてCRG35.ASG36を制御
すると共に並列データの送信データをPSC37へ与え
る。
FIG. 4 shows main devices i 1 a , I/'F1 b ,
This is a block diagram showing the specific configuration of the FFC 11 and the switch SW, a processor such as a microprocessor (hereinafter referred to as CPU) 21, a variable memory (hereinafter referred to as RAM) 22,
Fixed memory (hereinafter referred to as ROM) 23, bus controller (
BCT) 24, serial/parallel converter such as a shift register (hereinafter referred to as 5pa) 31, "O' bit deletion circuit (hereinafter referred to as 2EL) 32, CRC (Cyclic Radund
an+cy Check,) detection circuit (hereinafter referred to as CHD)
33. Abort/idle detection circuit (
34 (hereinafter referred to as AAD), CRC signal generation circuit (hereinafter referred to as CR
G) 35, Abort signal generation circuit (hereinafter referred to as ASG) 36
, parallel-to-serial converters such as shift registers (hereinafter referred to as PSC)
37, 'O' bit insertion circuit (hereinafter referred to as ZIS) 38 etc. is provided, and the reception signals SR to ZE of the transmission line 2R and beyond are provided.
In L32, the "0" bit is deleted according to the HDLC procedure such as JISC6363, and the data is converted into parallel data in 5PC31 and sent to CPU21 via bus 39.CPU21 receives RO via BCT24.
It executes the command in M23, makes judgments on received data and control decisions while accessing predetermined data in the RAM 22, and executes the instructions in CRG35.M23 as necessary. It controls the ASG 36 and provides parallel data transmission data to the PSC 37.

すると、送信データPSC37において直列データとな
シ、かつ、CRG35からのCRC信号が挿入されたう
え、送出回路(以下、5SC)40を介してZI838
へ与えられ、zI838において前述のHDLC手順に
よシ″′0″ビットの挿入が行なわれると共に、必要に
応じて送信を中断するときはASG36からのアボート
信号が挿入された後、伝送路2Sへ送信々号Ssとして
送信される。
Then, in the transmission data PSC 37, the serial data and the CRC signal from the CRG 35 are inserted, and the transmission data is transmitted to the ZI 838 via the transmission circuit (hereinafter referred to as 5SC) 40.
In the zI838, a ``0'' bit is inserted according to the HDLC procedure described above, and if necessary, an abort signal from the ASG36 is inserted to interrupt the transmission. It is transmitted as a transmission number Ss.

なお、受信々号SRはAAD34にも与えられており、
これの検出々力、および、CRD33のチェック結果を
示す出力に応じてCPU21が所定の制御を行なう一方
、条件によっては、DMA(DirectM@mory
 Accesa、)制御により5PC31からの受信デ
ータがBCT24を介し、RAM22へ直接格納され、
あるいは、RAM22の内容が直接PSC37へ送出さ
れるものとなっている0 また、ZEL3217)出力は、5SC40に含まれた
FFC11のデータ端子りへ与えられ、これの出力Qが
ANDゲー)41.01?ゲート42を介しZI83B
の入力へ与えられておシ、受信モードのときは、制御用
のFFC431,432に対し、これのクリア端子CL
へCPU21がクリア信号CLRを与え、F F C4
3lN ’ 3”をリセット状態としているため、これ
の出力Qが論理値の@O”であシ、ANDゲート 44
がオフとなる一方、インバータ45の出力が論理値の1
#となっておj5、ANDゲート41はオン状態と々っ
ていることによシ、第3図と同様1cFFc11の出力
Qからの信号がZIS38へ与えられ、これが送信々号
Ssとして送信される。
In addition, the received signal SR is also given to AAD34,
While the CPU 21 performs predetermined control according to the detection power of this and the output indicating the check result of the CRD 33, depending on conditions, the DMA (DirectM@mory
Under Accesa, ) control, the received data from 5PC31 is directly stored in RAM22 via BCT24,
Alternatively, the contents of the RAM 22 are sent directly to the PSC 37. Also, the ZEL 3217) output is given to the data terminal of the FFC 11 included in the 5SC 40, and its output Q is the AND game) 41.01 ? ZI83B through gate 42
When in reception mode, the clear terminal CL of this is applied to the control FFC431, 432.
The CPU 21 gives a clear signal CLR to F F C4.
3lN '3'' is in the reset state, so its output Q is the logical value @O'', AND gate 44
is turned off, while the output of the inverter 45 becomes a logical value of 1.
Since # is j5 and the AND gate 41 is in the ON state, the signal from the output Q of 1cFFc11 is given to ZIS 38 as in FIG. 3, and this is transmitted as the transmission signal Ss. .

以上に対し、自己が送信権を取得したときは、FFC4
32のプリセット端子PRに対し、CPU21がプリセ
ット信号PSEを与えるため、FFC432がセットさ
れて出力Qt−″1”とし、ANDゲート44をオンと
する一方、インバータ45の出力を′0”としてAND
ゲート41をオフとし、FFC11の出力Qに代えて遅
延回路46からの信号をANDゲート44およびORゲ
ート42を介してZI338の入力へ与え、これを送信
々号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 32, the FFC 432 is set to output Qt-"1", and the AND gate 44 is turned on, while the output of the inverter 45 is set to "0" and the
Transmission in which the gate 41 is turned off, the signal from the delay circuit 46 is applied instead of the output Q of the FFC 11 to the input of the ZI 338 via the AND gate 44 and the OR gate 42, and this is sent to the transmission line 2S as the transmission signal Ss. mode.

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

すなわち、CPU21は、送信権要求信号の受信開始と
判断すれば、優先度を示すコードの受信前に自己の送信
権要求優先度を示すコードを含む送信データをPSC3
7ヘセツトするものとなっている0 したがって、ZEL32の出力が受信した優先度を示す
同様なコードを含むものであるとき、これがEXORゲ
ート47の他方の入力へ与えられるものとなッテおシ、
ZEL32 の出力が0″、PSC37の出力が′1”
の条件となれば、EXORゲート47の出力は1#とな
シ、これがANDゲート48を介してFFC431のデ
ータ端子りへ与えられ、クロックパルスCLKに応じて
FFC431がセットされ、これに応じてFFC432
もセットされて出力Qt−″′1”とするため、前述と
同じ(ANDゲート44がオンへ転じ、遅延回路46に
よシ遅延されたPSC37の出力が送信4号Ssとして
送出される。
That is, if the CPU 21 determines to start receiving the transmission right request signal, the CPU 21 sends the transmission data including the code indicating the priority of the transmission right request to the PSC 3 before receiving the code indicating the priority.
7 is to be set to 0. Therefore, when the output of ZEL 32 contains a similar code indicating the received priority, this will be applied to the other input of EXOR gate 47.
ZEL32 output is 0'', PSC37 output is '1''
If the condition is met, the output of EXOR gate 47 becomes 1#, which is applied to the data terminal of FFC431 via AND gate 48, FFC431 is set in response to clock pulse CLK, and FFC432 is set in response to this.
is also set to produce the output Qt-''1'', so the AND gate 44 turns on, and the output of the PSC 37 delayed by the delay circuit 46 is sent out as the fourth transmission signal Ss.

なお、これらの動作状況は詳細を後に述べるとおシであ
ると共に、FFC432の出力QおよびORゲート42
の出力が母線39を介しCPU21へ与えられておシ、
これらKよ6cpU21がPSC37ヘセツトした自己
の送信データが送信されたか否かを判断するものとなっ
ている。
The details of these operating conditions will be described later, and the output Q of the FFC 432 and the OR gate 42
The output of is given to the CPU 21 via the bus 39,
The CPU 21 determines whether or not its own transmission data set in the PSC 37 has been transmitted.

第5図囚は、以上の状況を示す送信権要求信号の内容例
であυ、同信号は、この場合各8ビットのスタートフラ
グ51、全STAにおいて受信すべきことを示すグロー
バル;−ド52、送信権要求コード53、優先度コード
54、送信STAのアドレスを示す送信元コード55、
CRC信号56、および、エンドフラグ57によりi成
され、受信4号Saが図示の状態では、優先度コード5
4が2進数によシ「2」を示しておシ、送信元コード5
5のrooooooolJによシ示される送信元のST
Aにおいて付加された優先度は■となっている。
Figure 5 shows an example of the content of a transmission right request signal that indicates the above situation.In this case, the signal includes an 8-bit start flag 51 and a global flag 52 that indicates that it should be received by all STAs. , a transmission right request code 53, a priority code 54, a transmission source code 55 indicating the address of the transmission STA,
The signal is generated by the CRC signal 56 and the end flag 57, and in the illustrated state, the reception No. 4 Sa is the priority code 5.
4 indicates "2" in binary, sender code 5
The source ST indicated by roooooooolJ of 5
The priority added to A is ■.

これに対し、自己のSTAが送信4号SSとして送信す
べき送信権要求信号は、スタート72グ51、グローバ
ルコード52、送信権要求コード53、および、エンド
フラグ57が受信4号SRと同一であシ、優先度コード
54、送信元コード55およびCRC信号56のみが異
ってお9、この例では優先度が2進数の「4」となって
いるため、受信4号の優先度■よシ自己の優先度■が高
く、自己が優先的に送信権要求を行なってよいものとな
っている。
On the other hand, the transmission right request signal that the own STA should transmit as the transmission No. 4 SS has the same start 72 tag 51, global code 52, transmission right request code 53, and end flag 57 as the reception No. 4 SR. Only the priority code 54, sender code 55 and CRC signal 56 are different. In this example, the priority is "4" in binary, so the priority of reception number 4 is different. The priority level (2) of the self is high, and the self can request the transmission right preferentially.

したがって、第4図のFFC11によシ、受信4号SR
をはy1ピットづ\遅延し、送信4号Ssとして送信す
ると共に、受信4号SRとPSC37からの信号とがE
XORゲート4γによシ比較されておシ、スタートフラ
グ51〜優先度コード54の第5ビツトまでは同一のた
め、EXORゲート47の出力が0#を保つのに対し、
優先度コード54の第6ピツトへ至ると、受信4号SR
は“O”、5FLG47の出力は1”であシ、自己の優
先度が高いとの判断条件が成立し、上述のとお、9EX
ORゲート47の出力が”1”へ転じ、受信4号Svt
の優先度コードに代え、自己の優先度コードが送信され
、これ以降はPSC37の出力が同様に送信される。
Therefore, according to FFC11 in FIG. 4, reception number 4 SR
is delayed by y1 pit and is transmitted as transmission number 4 Ss, and the signal from reception number 4 SR and PSC37 is E.
Since the start flag 51 to the fifth bit of the priority code 54 are compared by the XOR gate 4γ, the output of the EXOR gate 47 remains 0#, whereas
When reaching the 6th pit of priority code 54, the reception No. 4 SR
is "O", and the output of 5FLG47 is "1", the judgment condition that its own priority is high is established, and as mentioned above, 9EX
The output of the OR gate 47 changes to "1" and the reception No. 4 Svt
Instead of the priority code of , its own priority code is transmitted, and from then on, the output of the PSC 37 is transmitted in the same way.

なお、遅延回路46は、PSC37の出力とFFC11
の出力とのタイミングを一致させるためのものであシ、
この場合はは″i1ビット分の遅延時間に設定すればよ
い。
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 ``i1 bit''.

第5図(B)は、クリア信号CLRX FFC432の
出力Qから送出される制御信号Sc、  およびプリセ
ット信号PSEの変化状況を示すタイミングチャートで
あp、CPU21は、受信4号SRが送信権要求信号の
優先度コード54となったことを判断し、かつ、自己も
送信権要求を行なうべきことを判断したとき、これに応
じてクリア信号CLRを′O#から1”とし、FFC4
31,432のリセット状態を解除すると共に、プリセ
ット信号PSEを′1#の無信号状態としておシ、前述
のとおシ優先度コード54の第6ビツトから制御信号S
Cが11”となfi、AND  ゲート44をオンへ転
するものとなっている。
FIG. 5(B) is a timing chart showing changes in the control signal Sc sent from the output Q of the clear signal CLRX FFC 432 and the preset signal PSE. When it is determined that the priority code of
31 and 432, and set the preset signal PSE to a no-signal state of '1#.
When C is 11'', the AND gate 44 is turned on.

なお、CPU21は、自己の送信権要求信号が他のST
A を介して全伝送路21〜24を一巡し自己により受
信されたとき、自己が送信権を取得できると判断し、プ
リセット信号PSEを“0”としてFFC432を強制
的にセットするものとなっている〇 一方、第5図(C)は、受信4号SRを送信中のSTA
におけるΦ)と同様なタイミングチャートであシ、クリ
ア信号CLRが1#の無信号状態、プリセット信号PS
Eが0#のプリセット状態となっておシ、これに応じて
制御信号Scが11”となシ、AND  ゲート44を
オンに保ち、PSC37の出力を送信4号Ssとして送
信している。
Note that the CPU 21 transmits its own transmission right request signal to another ST.
When it has gone around all the transmission lines 21 to 24 via A and is received by itself, it judges that it can acquire the transmission right, sets the preset signal PSE to "0" and forcibly sets the FFC 432. 〇 On the other hand, Fig. 5 (C) shows the STA transmitting the received No.
The timing chart is similar to Φ) in Φ), clear signal CLR is 1#, no signal state, preset signal PS
E is in the preset state of 0#, and in response, the control signal Sc becomes 11'', the AND gate 44 is kept on, and the output of the PSC 37 is transmitted as the transmission No. 4 Ss.

第6図は、第4図の各部における信号の状況を示すタイ
ミングチャートであシ、受信4号SRと同期したクロッ
クパルスCL K(1) カIlo”カラ“1″ヘ変化
する立上シにより F’F’C11が応動するため、Z
EL32の出力(a)がクロックパルス(1)のはソμ
周“期分遅延してFFC11の出力(b)となる一方、
psc37の出力(e)が遅延回路46により同等の遅
延を受は遅延出力(d)となっており、両画力(JL)
 、 (e)の不一致に応じてEXORゲート4Tの出
力(e)が′1#へ転すると、当初はリセットされFF
C431の出力Qが11#となっているため、ANDゲ
ート48の出力(f)が1′″となり、これにつぐクロ
ックパルス(i)の立上りにしたがい、時点t におい
てFFC431がセットされ、 出力Q(?)を@1″
へ転すると共に、出力すを“0”へ転する。
FIG. 6 is a timing chart showing the signal status in each part of FIG. 4. In order for F'F'C11 to respond, Z
The output (a) of EL32 is the clock pulse (1) because μ
While the output (b) of the FFC 11 is delayed by a period of one cycle,
The output (e) of the psc37 receives an equivalent delay from the delay circuit 46 and becomes the delayed output (d), so that both image outputs (JL)
, (e) When the output (e) of EXOR gate 4T changes to '1#, it is initially reset and the FF
Since the output Q of C431 is 11#, the output (f) of the AND gate 48 becomes 1'', and following this, the FFC431 is set at time t according to the rising edge of the clock pulse (i), and the output Q (?)@1″
At the same time, the output signal is changed to "0".

このため、ANDゲート48は直ちにオフとなシ、出力
(f)を′0”へ復し、つぎのクロックパルス(+)の
立上りによ1)FFC431はリセットし、出力(杓を
“0′″とするが、出力(めはFFC432のクロック
端子CKへ与えられておシ、出力(のが0”から′1”
へ転じたときに、FFC431はデータ端子りへ与えら
れている出力(c)の1″によシセットされ、時点te
以降においてFFC432の出力(h)が′1”を維持
し、これが制御信号ScとしてANDゲート44お:び
インバータ45へ送出される。
Therefore, the AND gate 48 is immediately turned off and the output (f) is returned to '0', and at the rising edge of the next clock pulse (+), the FFC 431 is reset and the output (f) is returned to '0'. '', the output (is given to the clock terminal CK of FFC432, and the output (is 0'' to '1'')
When switching to te, the FFC 431 is set to 1'' of the output (c) applied to the data terminal, and at the time te.
Thereafter, the output (h) of the FFC 432 maintains '1', and this is sent to the AND gate 44 and the inverter 45 as the control signal Sc.

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

第1図は、上述の特願昭59−260800号による手
法へ本方式を適用した場合の各STA間における信号の
送受信状況を示すタイミングチャートであシ、まず、す
でに送信権を有する5TA−CEAが更に送信権の占有
を要求するため、送信Sによシ送信権の要求を示す要求
信号CTAへ自己の優先度■を付加して送信すると、こ
れがSTA・CEBにおいて受信Rにより受信されるが
、 前述の動作によシ自己の高い優先度■の判断が々さ
れ、これが付加されてはソ1ピットの遅延によシ要求償
号CTB として送信される。
FIG. 1 is a timing chart showing the signal transmission and reception status between each STA when this method is applied to the method according to the above-mentioned Japanese Patent Application No. 59-260800. further requests possession of the transmission right, the transmitter S adds its own priority ■ to the request signal CTA indicating the request for the transmission right and transmits it, and this is received by the receiver R at STA/CEB. , The above-mentioned operation determines the high priority level (2) of itself, and this is added and transmitted as the request compensation code CTB due to the delay of the SO1 pit.

この送信は、5TA−CEcによシ受信されるが、と\
においても自己の高い優先度Vの判断により、これが付
加されてはソ1ビットの遅延により要求信号CTc と
して送信され、5TA−CHDにおいては、これがその
ま\は′i1ピットの遅延によ多中継されて送信され、
5TA−CEA  において受信される。
This transmission is received by 5TA-CEc, but
In 5TA-CHD, this is added as a request signal CTc with a delay of 1 bit due to the judgment of its own high priority V, and in 5TA-CHD, this is not repeated multiple times due to the delay of 1 bit. has been sent and
5TA-CEA.

すると、5TA−CEAは、自己の送信した要求信号C
TA(1)が受信されないため、 今まで占有した送信
権を放棄すべきものと判断し、受信した要求信号CTc
(V)を一旦蓄積してから引継指定信号としてCTC(
V)と異なるCTc’(イ)を送信するものとなシ、こ
れが順次に中継されて5TA−CEcによシ受信される
と、5TA−CEcは、これを更に送信すると共に、送
信権を取得したものと判断し、確認信号として有効化信
号OKを送信のうえ、これが順次に中継されて一巡し、
自己において受信できれば、他の5TA−CEA、CE
B、CEoにおいても5TA−CEcが送信権を取得し
た旨の確認を行なったものと判断し、送信状態に入るも
のとなっている0 なお、5TA−CEAは、 要求信号CT C’閏の再
受信後に有効化信号QKを受信するのに応じて送信権を
放棄すると共に、要求信号CTC’(ト)の再中継を行
なわない一方、5TA−CEB、CFDD においては
、有効化信号OKの受信に応じ5TA−CEcが送信権
を取得したことの確認を後述のとおシ行なう0 したがって、はソ1ビットの遅延のみによシ受信々号の
中継送信がなされ、中継に要する時間が大幅に短縮され
ると共に、送信権要求信号の中継および自己の送信権要
求信号への切替送信に要する時間も同様となシ、全般的
な伝送速度が向上し、各種データの伝送および制御応答
性の高速化が実現する。
Then, 5TA-CEA transmits the request signal C transmitted by itself.
Since TA(1) is not received, it is determined that the transmission right that has been occupied so far should be abandoned, and the received request signal CTc
(V) is accumulated once, and then CTC (
5TA-CEc transmits CTc'(a) which is different from V), and when this is relayed sequentially and received by 5TA-CEc, 5TA-CEc further transmits it and acquires the transmission right. It is determined that the activation signal has been activated, and the activation signal OK is sent as a confirmation signal, and this is relayed sequentially and goes around.
If it can be received by itself, other 5TA-CEA, CE
B and CEo also judge that 5TA-CEc has confirmed that it has acquired the transmission right, and enter the transmitting state. In response to receiving the validation signal QK after reception, the transmission right is relinquished and the request signal CTC' (g) is not re-relayed. Confirmation that 5TA-CEc has acquired the transmission right will be performed as described below. Therefore, the received and received signals are relayed with only a 1-bit delay, and the time required for relaying is greatly shortened. At the same time, the time required for relaying the transmission right request signal and switching to the own transmission right request signal is also reduced, which improves the overall transmission speed and speeds up the transmission of various data and control responsiveness. Realize.

また、要求信号、引継指定信号および確認信号の一巡に
よシ、送信権の引継ぎが確実になされ、引継ぎ所要時間
が短縮される。
In addition, the transmission right is reliably handed over through one cycle of the request signal, the handover designation signal, and the confirmation signal, and the time required for the handover is shortened.

たソし、要求信号および引継指定信号としては、いわゆ
るフリート−クンおよびビジトークン守で用いてもよく
、有効化信号OKは、本来、全STAにおいて受信すべ
きグローバル信号(以下、GLS)を有効とするための
ものであシ、これを確認信号として用いず、別途の信号
を確認信号として用いても同様である。
However, the request signal and takeover designation signal may be used in so-called free tokens and visit tokens, and the activation signal OK is originally used to validate the global signal (hereinafter referred to as GLS) that should be received by all STAs. However, it is the same even if this is not used as a confirmation signal and a separate signal is used as a confirmation signal.

なお、確認信号の送受信を省略してもよく、この場合は
、引継信号の送受信に応じて5TA−CEAが送信権を
放棄すると共に、各5TA−CEn、CEnが送信権を
CTA−CEcにおいて取得した旨の確認を行なうもの
とすればよい。
Note that the transmission and reception of the confirmation signal may be omitted; in this case, 5TA-CEA relinquishes the transmission right according to the transmission and reception of the takeover signal, and each 5TA-CEn and CEn acquires the transmission right at CTA-CEc. It is only necessary to confirm that it has been carried out.

第7図は、CPU21による制御状況の全般的なフロー
チャートで、!+り、ROM23中の命令に応じ、必要
とするデータをRAM22に対してアクセスしながら実
行するものとなっている。
FIG. 7 is a general flowchart of the control situation by the CPU 21. In addition, according to the instructions in the ROM 23, the necessary data is executed while accessing the RAM 22.

すなわち、′イニシャライズ#101によシ、各S T
A−CEA−CED  が送信権を有する1次側または
送信権を有しない2次側となるかの判断がなされ、これ
の結果に応じて″′1次側?”102の決定が行なわれ
ると共に、必要とする各部のクリアが行なわれる。
In other words, 'initialize #101, each ST
A judgment is made as to whether A-CEA-CED is a primary side having the transmission right or a secondary side not having the transmission right, and depending on the result, a determination is made as to "Primary side?" 102. , the necessary parts are cleared.

なお、ステップ101は、電源投入または電源の停電回
復等に応じてなされ、″′1次側?”の判断は、例えば
、各5TA−CEAへCEDのアドレス番号に応じて各
個に定めた待機時間を設け、この間に信号が受信されな
ければ自己に送信権あシと判断し、他からの信号が受信
され\ば送信権なしと判断する。
Note that step 101 is performed in response to power-on or recovery from a power outage, etc., and the determination of "primary side?" is, for example, a waiting time set for each 5TA-CEA according to the address number of the CED. If a signal is not received during this period, it is determined that it has the right to transmit, and if a signal from another is received, it is determined that it does not have the right to transmit.

ステップ102がY(YES)となれば、プリセット信
号psEf:”o”として切替器SWを制御し”送信モ
ード設定’ 111を行なってから、自己の保有する送
信データ中、最も優先度の高いものを選択し、この優先
度を示すコードを付加した要求信号を1自己CT送信”
121によシ送信し、これが全伝送路を介して受信され
るか否かを開信号″CT受信?”122によシ監視し、
これがN(No)、かつ、CPU21中のタイマーによ
る一部時間″′TR1経過t−123がNの間はステッ
プ122以降を反復のうえ、タイマーのタイムアツプに
よシステップ123がYとなれば、CPU21中のカウ
ンタによシ設定した最大反復送信回数Mに達するまでは
“送信回数=M?”124ONを介し、ステップ121
以降を反復し、ステップ124がYとなるのに応じ、6
異常処理”125へ移行し、警報送出およびこれの表示
等を行なう。
If step 102 is Y (YES), the preset signal psEf: "o" is used to control the switch SW and "transmission mode setting" 111 is performed. and send a request signal with a code indicating this priority to one self-CT.”
121, and monitors whether or not this is received via all transmission paths using the open signal "CT reception?"122;
If this is N (No), and while the partial time "' TR1 elapsed t-123 by the timer in the CPU 21 is N, step 122 and subsequent steps are repeated, and step 123 becomes Y due to the timer time-up. Until the counter in the CPU 21 reaches the set maximum number of repeated transmissions M?, “Number of transmissions=M?” ”124ON, step 121
The following steps are repeated, and when step 124 becomes Y, step 6
The process moves to ``abnormality processing'' 125, where an alarm is sent out and displayed.

ステップ123.124がNの間にステップ122がY
となれば、これが自己の送信したものか否かを“自己C
T?”131によシ判断し、これがNの場合は、自己以
外からの要求信号CTの受信であシ、RAM22中の一
部を用いたバッファメモリ BFMへ“B F Ml−
CT”132 によシ、受信した要求信号を格納して一
旦蓄積し、この内容を“受信CT転送”133によシ引
継指定信号CT’として送信し、クリア信号CLRを”
0”として”受信モード設定”134を行なってから確
認信号としての有効化信号@OK受信?”135がYと
なれば、送信権を放棄して後述の1受信モード設定#1
83へ移行するのに対し、ステップ135がNの間は、
ステップ12本124 と同じく一部時間″′Tn!経
過?”136を監視し、これがYとなるのに応じステッ
プ111と同じく“送信モード設定”13γを行ない6
送信回数=M?”138を介してステップ133以降を
反復し、ステップ136がYとなるのにしたがい、ステ
ップ121へ戻る。
While steps 123 and 124 are N, step 122 is Y.
If so, check whether this was sent by the user or not.
T? ” 131, and if this is N, the request signal CT is not received from a source other than the self, and the buffer memory BFM using a part of the RAM 22 is sent “B F Ml-
CT" 132 stores the received request signal and accumulates it once, transmits this content as a takeover designation signal CT' to "Receive CT Transfer" 133, and sends a clear signal CLR"
0", perform the "Reception mode setting" 134, and then perform the validation signal as a confirmation signal @OK received?" 135 is Y, abandon the transmission right and perform the 1 reception mode setting #1 described later.
83, while step 135 is N,
Similar to step 12 124, monitor the partial time "'Tn! elapsed?" 136, and when this becomes Y, perform "transmission mode setting" 13γ as in step 111.
Number of transmissions = M? ” Step 133 and subsequent steps are repeated via step 138, and as step 136 becomes Y, the process returns to step 121.

また、ステップ131がYとなれば、自己が送信権を取
得したものとなるため、確認信号として有効化信号″O
K送信”141を行ない、ステップ122〜124と同
じく、同信号″’OK受信?”142がNの間は、一定
時間@TRI経過7″143のYおよび“送信回数=M
?”144のNを介し、ステップ141以降を反復のう
え、ステップ144がYとなるのにしたがいステップ1
25へ移行する。
Moreover, if step 131 becomes Y, it means that the self has acquired the transmission right, so the activation signal "O" is sent as a confirmation signal.
K transmission" 141 is performed, and the same signal "'OK received?' as in steps 122 to 124. ``While 142 is N, a certain period of time @TRI elapsed 7'' 143 Y and ``Number of transmissions = M
? ” Step 141 and subsequent steps are repeated through N in 144, and as step 144 becomes Y, step 1
Move to 25.

ステップ144がNの間にステップ142がYとなれば
、新らたに送信データが発生した場合、これの優先度が
ステップ121によシ送信した優先度よシも高いか否か
をチェックするため、1発生優先度〉送信済優先度?”
151の判断、および、同一優先度のデータを連続的に
送信する目的上、他の送信すべきデータ中の最高優先度
とステップ121によシ送信した優先度との対比により
、6他の最高優先度=送信済優先度?”152の判断を
行ない、ステップ152がNのときはステップ121以
降を反復して他の STAにも送信権取得の機会を与え
る一方、ステップ151のYに応じてもステップ121
以降を反復し、前回よシも高い優先度の送信データがあ
ることを他のSTAへ報知する。
If step 142 becomes Y while step 144 is N, when new transmission data is generated, it is checked whether the priority of this data is higher than the priority transmitted in step 121. Therefore, 1 Occurrence priority > Sent priority? ”
Based on the determination in step 151 and the contrast between the highest priority among the other data to be transmitted and the priority transmitted in step 121, for the purpose of continuously transmitting data with the same priority, 6 other highest Priority = Sent priority? If step 152 is N, step 121 and subsequent steps are repeated to give other STAs an opportunity to acquire the transmission right.
The following steps are repeated, and other STAs are notified that there is transmission data with a higher priority than last time.

ステップ151がN1かつ、ステップ152がYのとき
は、′データ送信処理#153を行ない、ステップ15
1以降を反復し、ステップ131がNとなるまでは、自
己の送信データを優先度の高いものから順次に送信する
が、他のSTAかもよシ高い優先度の要求信号CTが送
信され、ステップ131がNとなシ、かつ、ステップ1
34がYとなれば、後に述べる受信モード設定183へ
移行する。
When step 151 is N1 and step 152 is Y, 'data transmission processing #153 is performed, and step 15
1 and subsequent steps are repeated, and until step 131 becomes N, it transmits its own transmission data in order from the one with the highest priority, but other STA may also transmit a request signal CT with a high priority, and step 131 131 is N and step 1
If 34 becomes Y, the process moves to reception mode setting 183, which will be described later.

以上に対し、ステップ102がNのときは、クリア信号
 CLRt−′0#として切替器SWを制御し、”受信
モード設定#161を行なってから、自己に1送信デー
タあp?”162をチェックし、これがYであれば、第
5図(4)に示す自己の優先度コード54以降をPSC
37へ与え@pscヘテータデート”163を行ない、
他のSTAからの要求信号“CT受M ? ” 171
 カY トナルOK応L;、第5図CB)のとおシ、ク
リア信号@CLR= ”1” ” 172を行ない、F
FC432の出力QおよびORゲート42の出力に応じ
て自己の優先度コード54以降が送信されたか否かを監
視し、“自己優先度〈受信優先度?”181を判断のう
え、これがNのときは自己の送信優先度が他の送信優先
度よシも高く、自己に送信権あシと判断するが、ステッ
プ181のYに応じては自己に送信権が与えられないも
のと判断し、ステップ161と同じく6受信モード設定
”183を行ない、′受信データ処理”184および6
監視処理”185を行なった後、ステップ162以降を
反復する。
Regarding the above, when step 102 is N, the switch SW is controlled by the clear signal CLRt-'0#, and the check is made to "1 transmit data up?" 162 after performing reception mode setting #161. If this is Y, the own priority code 54 and later shown in FIG.
Give it to 37 @ psc Heteta date "163,
Request signal “CT reception M?” from other STA 171
Toner OK response L;, as shown in Fig. 5 CB), perform clear signal @CLR = "1" ” 172, F
It monitors whether or not its own priority code 54 or later has been transmitted according to the output Q of the FC 432 and the output of the OR gate 42, and determines "self priority <receiving priority?" 181, and if this is N, determines that its own transmission priority is higher than other transmission priorities and that it has the right to transmit, but in response to Y in step 181, it determines that it is not given the transmission right, and in step Same as 161, perform 6 reception mode setting 183, and set 184 and 6 ``Receive data processing''.
After performing the monitoring process 185, steps 162 and subsequent steps are repeated.

なお、ステップ181がYの場合は、受信した要求信号
CTが第4図0FFC11、ANDゲート41およびO
Rゲート42を介し、は輩1ビット分の遅延を受けるの
みKよシ、そのま\中継されて送信される。
Note that if step 181 is Y, the received request signal CT is
The signal is relayed and transmitted as is through the R gate 42, with only one bit of delay.

一方、ステップ181がNであれば、クリア信号″ C
LR=”Q”191によJFFC43x、43gのリセ
ットを行なってから″’CT’受信?″192を監視し
、これのYに応じて受信した要求信号がステップ172
乃至181の間において送信した自己の要求信号に応す
る“自己CT’ ? ” 193  を判断し、これが
Yであれば送信権を取得できた場合であシ、”送信モー
ド設定’ 196をステップ111と同じく行なってか
ら、ステップ141へ移行するのに対し、ステップ19
3がNのときは送信権の取得が不可能なため、ステップ
132と同様に’ BFM+CT”’194を行なって
から、ステップ183へ移行スる。
On the other hand, if step 181 is N, clear signal "C
After resetting the JFFCs 43x and 43g using LR="Q" 191, monitor "'CT'received?" 192, and the request signal received in response to Y is sent to step 172.
193 corresponding to the self-request signal transmitted between 181 and 181. If this is Y, it means that the transmission right has been acquired, and the ``transmission mode setting'' 196 is performed in step 111. , and then proceed to step 141, whereas step 19
When 3 is N, it is impossible to acquire the transmission right, so after performing 'BFM+CT'' 194 in the same manner as step 132, the process moves to step 183.

また、ステップ192がNの間は、ステップ123と同
様にT+at<<Tnz として定めた所定時間″′T
R2経過?”195を監視し、これがNの間はステップ
192以降を反復のうえ、これのYにしたがいステップ
125へ移行する。
Further, while step 192 is N, the predetermined time "'T defined as T+at<<Tnz, similar to step 123, is
R2 progress? 195 is monitored, and while this is N, steps 192 and subsequent steps are repeated, and the process moves to step 125 according to this Y.

第8図は、ステップ153の詳細を示すフローチャート
であり、′送信データはGLS?” 201を判断し、
これがNであれば1データ送信”202のみを行なうが
、ステップ201がYのときは’ GLS送信”211
を行なったうえ、これが全伝送路を介して受信されるか
否かを1送信GLS受信?”212によって監視し、こ
れがNの間は、ステップ123.124と同じく一定時
間”TR1経過? ” 213のYおよび“送信回数=
x?”214ONを介してスンプ211以降を反復し、
ステップ214がYとなるのに応じてステップ125と
同じく“異常処理”215を行なう。
FIG. 8 is a flowchart showing the details of step 153. 'Is the transmitted data GLS?' ” Judging 201,
If this is N, only 1 data transmission ``202'' is performed, but when step 201 is Y, ``GLS transmission'' 211 is performed.
After doing this, check whether this is received via all transmission paths or not by 1 transmission GLS reception? ``212 is monitored, and while this is N, a certain period of time is displayed as in steps 123 and 124'' TR1 elapsed? ” 213 Y and “Number of transmissions =
x? ”214ON and repeating the sump 211 and later,
When step 214 becomes Y, "abnormality processing" 215 is performed in the same manner as step 125.

ステップ214がNの間にステップ212がYとなれば
、ステップ141〜144と同じく、有効化信号@OK
送信”221、および、開信号’OK受信?#222の
Nを介する一定時間“TRI経過?”223の判別、こ
れのYに応する“送信回数=M?”224 のNを介す
るステップ221以降の反復を行ない、ステップ224
がYとなるのにしたがいステップ215へ移行する一方
、ステップ224がNの間にOK M号が受信できれば
ステップ222がYとなる。
If step 212 becomes Y while step 214 is N, the activation signal @OK is sent as in steps 141 to 144.
Transmission” 221, and open signal 'OK received? ``Determination of 223, corresponding to Y of this ``Number of transmissions = M? ” 224 through N of step 221 and step 224
If the OK M signal can be received while step 224 is N, then step 222 becomes Y.

第9図は、ステップ184の詳細を示すフローチャート
であシ、6受信データあυ? ’ 300のYンこ応じ
て“受信データはGLS?” 301を判断し、これが
NであればGLS用の″’BFM←クリア#302を行
なってから、受信データへ付加された宛先のアドレスコ
ードに基づき“自己宛?”303をチェックし、これの
Yに応じて゛内容解読#304を行行なう。
FIG. 9 is a flowchart showing the details of step 184. ``In response to the Y of 300, determine ``Is the received data GLS?'' 301, and if this is N, check the ``BFM for GLS'' ← After clearing #302, the address code of the destination added to the received data. Based on “Self-addressed? ” 303 and performs ``content decoding # 304 according to Y”.

また、ステップ301がYのときは、内容が有効化信号
@OK?”311を判断し、これの結果がNであれば″
”BFM4−GLS”312によシパツファメモリBF
MへGLSを格納し、第7図のステップ162以降の反
復によシ、ステップ300および301のYを介してス
テップ311がYとなるのに応じ、″″BFMBFM内
容321  をチェックし、これのYにしたがい”BF
Mの内容読み出し” 322を行ない、ステップ304
へ移行する。
Moreover, when step 301 is Y, the content is the validation signal @OK? “Judge 311 and if the result is N”
"BFM4-GLS" 312 sender memory BF
GLS is stored in M, and as the step 311 becomes Y through steps 300 and 301 by repeating steps 162 onward in FIG. According to Y”BF
"Reading the contents of M" 322 is performed, and step 304
Move to.

第10図は、ステップ185の詳細を示すフローチャー
トであ!+、RAM22中へ下表の主テーブルおよび副
テーブルが与定のエリアとして設けられ、これらが用い
られるものとなっている。
FIG. 10 is a flowchart showing details of step 185! +, The main table and sub-table shown in the table below are provided in the RAM 22 as given areas, and these are to be used.

すなわち、主テーブル(以下、MT)および副テーブル
(以下、ST)は、各STA −CEA −CEDと対
応するものとなっておシ、一定の監視期間中に各STA
の動作状況を正常と判別すれば○印により示すコード、
同様に異常と判別すれば×印によシ示すコードが各々対
応して格納され、これによって登録が行なわれるものと
なっている。
In other words, a main table (hereinafter referred to as MT) and a sub-table (hereinafter referred to as ST) correspond to each STA-CEA-CED, and
If the operating status is determined to be normal, the code indicated by an ○ mark will be displayed.
Similarly, if it is determined that there is an abnormality, the codes indicated by the x marks are stored in correspondence with each other, and registration is performed based on these codes.

MT  第2表 。。MT Table 2. .

MT  第3表 ST なお、第1表のMTは、前回の監視期間中における判断
結果がそのま\登録されておシ、第3表のMTが次回の
監視期間において第1表のMTとして用いられる。
MT Table 3 ST Note that the MTs in Table 1 are registered with the judgment results during the previous monitoring period, and the MTs in Table 3 are used as the MTs in Table 1 in the next monitoring period. It will be done.

第10図においては、′電源ON ? ’ 401を判
断し、これがYであれば’MTへ全×登録”402によ
りイニシャライズを行ない、一定の監視期間を規正する
ためにCPtJ21中へ設けた1タイマー・スタート”
411を行なってから、第1表のとおシ″STへ全X登
fi’412を行ない、ステップ304の結果に応じて
いずれかのSTA″cgiが送信権取得?”421を判
別し、これがとなれば、″MTのCEi:X?”422
をチェックのうえ、これがYのときは、”MT−8Tの
CEiへO登録#431を行ない、例えばCEl = 
CEAでは、第2表の状態とし、”CEIの回復報知”
432によシ、5TA−CEiが異常から正常へ回復し
た旨を表示すると共に1通信の相手として選定できる旨
をRAM22中へ格納する等の処理を行なう。
In Figure 10, 'Power ON? ' Determine 401, and if it is Y, 'register all x to MT' Initialize by 402 and start 1 timer set in CPtJ21 to regulate a certain monitoring period.'
After performing step 411, perform all X registration fi' 412 to the "ST" shown in Table 1, and depending on the result of step 304, which STA "cgi" acquires the transmission right? ``421 is determined, and if this becomes, ``MT's CEi:X? "422
Check and if this is Y, perform O registration #431 to CEi of MT-8T, for example, CEl =
In CEA, the status is as shown in Table 2, and "CEI recovery notification" is
At 432, the 5TA-CEi performs processing such as displaying that the 5TA-CEi has recovered from an abnormality to normal and storing in the RAM 22 a message that it can be selected as a communication partner.

また、ステップ422がNであれば、”STのCEiへ
×登録”433を行ない、例えばCE1=CEBでは第
2表のとおシとし、′タイマー・タイムアツプ? ” 
441がNの間はステップ421以降を反復し、ステッ
プ441のYに応じて1判断処理” 442を行なって
から、第7図のステップ162以降を介して以上の動作
を反復する。
If the result in step 422 is N, "Register ST to CEi" 433 is performed. For example, if CE1=CEB, the procedure shown in Table 2 is performed, and 'Timer time up?' ”
While 441 is N, steps 421 and subsequent steps are repeated, and 1 judgment processing ``442'' is performed in response to Y in step 441, and the above operations are repeated through steps 162 and subsequent steps in FIG.

したがって、例えば5TA−CEA、CECが屓次に送
信権を取得し、5TA−CEB、CEDが取得を行なわ
ないときは、第2表の状態となシ、ステップ442によ
シ、第1表に示すとおシ前回の結果を示していたMTの
内容が最終的に更新され、第3表のものとなる。
Therefore, for example, if 5TA-CEA and CEC acquire the transmission right next time, but 5TA-CEB and CED do not acquire the transmission right, the state shown in Table 2 will be established. When shown, the contents of MT that showed the previous results are finally updated and become those shown in Table 3.

すなわち、ステップ422においては、次表の内容が実
行される。
That is, in step 422, the contents of the following table are executed.

第 4 表 なお、′異常発生報知”は、ステップ432と同様の表
示、および、通信相手として選定できない旨をRAM2
2へ格納する等の処理が実行される。
Table 4 Note that ``Abnormality Occurrence Notification'' displays the same display as in step 432 and also indicates that the communication partner cannot be selected.
Processing such as storing to 2 is executed.

したがって、以上の動作を各5TA−CEA−CEDの
すべて、または、少くとも複数台が行なえば、第4表の
“×登録”時における対比によシ異常が判断され、これ
に応じた報知が行なわれると共に、ステップ432によ
シ正常への回復も報知され、これらが各々のSTAにお
いてなされるため、いずれかのSTAが監視機能を失っ
ても、全般的な監視機能は失なわれず、全システムとし
ての信頼性が向上する。
Therefore, if all of the 5TA-CEA-CEDs or at least a plurality of 5TA-CEA-CEDs perform the above operations, an abnormality will be determined based on the comparison at the time of "x registration" in Table 4, and a corresponding notification will be issued. At the same time, the recovery to normality is also notified in step 432, and this is done in each STA, so even if any STA loses its monitoring function, the overall monitoring function will not be lost. The reliability of the entire system is improved.

たソし、ステップ431をSTのみのもとし、MTの○
登録をステップ442へ含めてもよく、ステップ432
を同様にステップ442へ含めても同等の結果が得られ
る。
So, step 431 is based on ST only, and MT's ○
Registration may be included in step 442 and step 432
An equivalent result can be obtained by similarly including .

以上のとおシ、ループ状接続の各STA間において、各
信号の中継および優先権要求信号の切替送信に要する時
間が大幅に短縮され、全般的な伝送速度が向上すると共
に、必要最低限の信号送受信によシ送信権の引継ぎおよ
び取得状況の確認が確実に行表われ、かつ、各STAの
動作状況監視も正確に行なわれるため、データ伝送およ
び制御の高応答性ならびに高信頼性が実現する。
Through the above steps, the time required for relaying each signal and switching and transmitting priority request signals between STAs connected in a loop is greatly reduced, the overall transmission speed is improved, and the minimum necessary signal The handover of transmission rights and acquisition status are reliably confirmed during transmission and reception, and the operating status of each STA is also accurately monitored, achieving high responsiveness and reliability in data transmission and control. .

たソし、遅延素子としては、FFC11を用いるとき波
形整形作用も呈し好適であるが、他の素子または回路を
用いてもよく、実用上支障のない範囲であれば遅延時間
を1ピツトよシ大または小としても同様であシ、第4図
の構成は条件にしたがった選定が任意であると共に、第
5図(4)においては、優先度コード54以外を各ビッ
トの順位を反転のうえ送信してもよい。
However, when using FFC11 as a delay element, it is suitable because it also exhibits a waveform shaping effect, but other elements or circuits may also be used, and the delay time can be changed from 1 pit to 1 point as long as there is no practical problem. The same goes for large or small, and the configuration in Figure 4 can be arbitrarily selected according to the conditions, and in Figure 5 (4), the order of each bit is reversed except for the priority code 54. You can also send it.

また、優先度は、各送信データ毎に重要度を示すコード
を付与するものとすればよく、これの等級は(1)〜(
1)のみならず、条件に応じて定めればよく、データ信
号の宛先アドレスコードによシ、送信権を有するSTA
以外のすべてが同時に指定されたときは、指定された各
STAが受信モードを維持するものとしてもよい等、種
々の変形が自在である。
In addition, the priority may be determined by assigning a code indicating the importance to each transmitted data, and the rank of this is (1) to (
In addition to 1), it may be determined according to the conditions, and the destination address code of the data signal is determined by the STA that has the right to transmit.
Various modifications are possible, such as when all other STA's are designated at the same time, each designated STA may maintain the receiving mode.

このほか、確認信号としての有効化信号0Kt−省略す
る場合は、これに関する第7図乃至第10図の各ステッ
プに代え、引継信号としての要求信号CTを用いればよ
い。
In addition, if the validation signal 0Kt as a confirmation signal is omitted, a request signal CT as a takeover signal may be used in place of each of the steps in FIGS. 7 to 10 regarding this.

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

以上の説明によシ明らかなとおシ本発明によれば、ルー
プ状接続の各STA間において、中継および優先権要求
信号の切替送信に要する時間が大幅に短縮され、全般的
な伝送速度が向上すると共に、必要最低限の信号送受信
によシ、送信権の引継ぎがなされ、データ伝送の高速化
および制御状況の高応答性が得られ、かつ、全般的な高
信頼性が実現し、各種のデータ伝送および制御において
顕著な効果を呈する。
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 STAs connected in a loop is greatly reduced, and the overall transmission speed is improved. At the same time, transmission rights are handed over by the minimum necessary signal transmission and reception, resulting in faster data transmission, higher responsiveness of control status, and overall higher reliability. Exhibits remarkable effects in data transmission and control.

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

図は本発明の実施例を示し、第1図は各STA間におけ
る信号の送受信状況を示すタイミングチャート、第2図
は全体の構成を示すブロック図、第3図はSTAの構成
を示すブロック図、第4図はSTAの具体的構成を示す
ブロック図、筒5図囚は送信権要求信号の構成を示す図
、第5図の)および(C)はクリア信号、制御信号、プ
リセット信号の変化状況を示すタイミングチャート、第
6図は第4図の各部における信号の状況を示すタイミン
グチャート、第7図は全般的なフローチャート、第8図
乃至第10図は第7図の下位ルーチンを示すフローチャ
ートである。 21〜24.2R,2S−・O・伝送路、11.431
.432・・・、FFC(フリップフロップ回路)、2
1・・・・CPU(7’ロセツサ)、22・・・・RA
M(可変メモリ)、23・・・・ROM(固定メモリ)
、31・・・・5pc(直並列変換器)、37・・・・
psc(並直列変換器)、40・・・・5SC(送出回
路)、41.44.48・・・・ANDゲート、 42
・ ・ 拳 ・ORゲート、 45 ・ O@ φイン
バータ、4611・・・遅延回路、47・Φ・・EXO
R(排他的論理和)ゲート、53・−・・送信権要求コ
ード、54・・・・優先度コード、CEA−CED  
・・・@5TA(通信装置)、SR・・・・受信々号、
Ss ・・・・送信々号、SO・・・・送信出力、RI
 ・・・・受信入力、SW・・・・切替器、CT・・・
・送信権要求信号。
The figures show an embodiment of the present invention, Fig. 1 is a timing chart showing the transmission and reception status of signals between each STA, Fig. 2 is a block diagram showing the overall configuration, and Fig. 3 is a block diagram showing the configuration of the STA. , Figure 4 is a block diagram showing the specific configuration of STA, Figure 5 shows the configuration of the transmission right request signal, and Figure 5) and (C) show changes in the clear signal, control signal, and preset signal. 6 is a timing chart showing the signal status in each part of FIG. 4, FIG. 7 is an overall flowchart, and FIGS. 8 to 10 are flowcharts showing the lower routine of FIG. 7. It is. 21~24.2R, 2S-・O・Transmission line, 11.431
.. 432..., FFC (flip-flop circuit), 2
1...CPU (7'), 22...RA
M (variable memory), 23...ROM (fixed memory)
, 31...5pc (serial-parallel converter), 37...
psc (parallel-serial converter), 40...5SC (sending circuit), 41.44.48...AND gate, 42
・ ・ Fist ・OR gate, 45 ・ O@ φ inverter, 4611...delay circuit, 47 φ...EXO
R (exclusive OR) gate, 53...Transmission right request code, 54...Priority code, CEA-CED
...@5TA (communication equipment), SR...reception number,
Ss...Transmission number, SO...Transmission output, RI
...Reception input, SW...switcher, CT...
- Transmission right request signal.

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. In this method, the received signal is transmitted with a time delay of at least 1 bit, and when the transmitter requests the transmission right, the received signal is transmitted with a code indicating the priority of the transmission right. Each communication device is provided with a circuit that compares the priority code with its own priority code and transmits its own priority code in place of the received priority code when the priority code of the self is high. When the received transmission right request signal is different from its own, the communication device transmits a takeover designation signal indicating the communication device that will acquire the transmission right next in response to the transmission right request signal, and each other communication device The transmission right handover method is characterized in that the handover designation signal is relayed and transmitted, and the next communication device that acquires the transmission right acquires the transmission right in accordance with reception of the handover designation signal.
JP13262686A 1985-10-25 1986-06-10 Transmission right handover method Pending JPS62290231A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP13262686A JPS62290231A (en) 1986-06-10 1986-06-10 Transmission right handover method
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 (1)

Application Number Priority Date Filing Date Title
JP13262686A JPS62290231A (en) 1986-06-10 1986-06-10 Transmission right handover method

Publications (1)

Publication Number Publication Date
JPS62290231A true JPS62290231A (en) 1987-12-17

Family

ID=15085720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13262686A Pending JPS62290231A (en) 1985-10-25 1986-06-10 Transmission right handover method

Country Status (1)

Country Link
JP (1) JPS62290231A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02233039A (en) * 1989-03-07 1990-09-14 Hitachi Ltd Method and apparatus for data transmission

Citations (2)

* 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
JPS6165557A (en) * 1984-09-06 1986-04-04 Fujitsu Ltd Communication priority control method

Patent Citations (2)

* 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
JPS6165557A (en) * 1984-09-06 1986-04-04 Fujitsu Ltd Communication priority control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02233039A (en) * 1989-03-07 1990-09-14 Hitachi Ltd Method and apparatus for data transmission

Similar Documents

Publication Publication Date Title
US4287592A (en) Method and apparatus for interfacing stations in a multiloop communications system
US4953210A (en) Feature negotiation protocol for a synchronous modem
CA1328510C (en) Feature negotiation protocol and dynamically adjustable retraining sequence for a high speed half duplex modem
US5165020A (en) Terminal device session management protocol
US4791566A (en) Terminal device session management protocol
US4419751A (en) Multiport modem and the use thereof in a method and a system for testing a multilevel communication network
JPS63199540A (en) Method and equipment for transmitting data
US4860000A (en) Data transmission system using sending right request signal transferred through loop transmission path
JPS62290231A (en) Transmission right handover method
JPS62290232A (en) Transmission right handover method
JPH0338943A (en) Terminal adapter having many adlc communication channel receiver
KR910000700B1 (en) Data transmission system using sending right request signal transferred trough loop transmission path
JPH1084384A (en) Load test equipment in packet data communication
JPS62290233A (en) Transmission right taking over system
JPS63229938A (en) Communication control method
JPS63229937A (en) Communication control method
JP3353750B2 (en) Data transfer system using batch response method
JPH0720110B2 (en) Broadcast communication method
JPH08139745A (en) Communication method of loop communication device
JP2630675B2 (en) Message relay device
JPS5917751A (en) Data communication system
JPH0234518B2 (en)
JPH02164152A (en) Communication controller
JP2005070975A (en) Repeater system and control system
JPH11154908A (en) Non-reply monitor circuit in infrared ray communication, its monitoring method and recording medium storing its control program