[go: up one dir, main page]

JPS62290233A - Transmission right taking over system - Google Patents

Transmission right taking over system

Info

Publication number
JPS62290233A
JPS62290233A JP13262886A JP13262886A JPS62290233A JP S62290233 A JPS62290233 A JP S62290233A JP 13262886 A JP13262886 A JP 13262886A JP 13262886 A JP13262886 A JP 13262886A JP S62290233 A JPS62290233 A JP S62290233A
Authority
JP
Japan
Prior art keywords
signal
transmission
transmission right
priority
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
JP13262886A
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 JP13262886A priority Critical patent/JPS62290233A/en
Priority to KR1019860008906A priority patent/KR910000700B1/en
Priority to DE19863636317 priority patent/DE3636317A1/en
Publication of JPS62290233A publication Critical patent/JPS62290233A/en
Priority to US07/270,457 priority patent/US4860000A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

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

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

しかし、従来においては、送信権引継の確実化を図るだ
め、送信権要求信号のほかに引継信号等の送受信を行な
ってお9、これに余剰な伝送時間を要すると共に、各通
信装置が受信4号を中継して送信すべきか、自己が受信
すべきかの判断、および、送信権要求信号の受信に際し
、自己が送信権を取得すべきか、これを取得せずに中継
して送信すべきかの判断を全信号の受信後に行なってお
り、中継送信すべき場合には判断までの所要時間が各通
信装置毎に加算てれ、特に送信権要求信号の伝送上判断
による遅延時間が増大する問題を生じている。
However, in the past, in order to ensure transmission right handover, a takeover signal, etc. is transmitted and received in addition to the transmission right request signal9, which requires extra transmission time and requires each communication device to receive Judging whether the signal should be relayed and transmitted or should be received by itself, and when receiving a transmission right request signal, deciding whether it should acquire the transmission right or whether it should relay and transmit without acquiring it. This is done after all signals are received, and if relay transmission is to be performed, the time required to make a decision is added to each communication device, creating a problem in which the delay time caused by the decision to transmit the transmission right request signal increases, in particular. ing.

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

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

すなわち、上述の方式において、受信した信号を少くと
もは″i1ビット分の時間遅延して送信すると共に自己
が送信権を要求する際には受信した優先度コードと自己
の優先度コードとを比較し自己の優先度が高いとき受信
した優先度コードに代えて自己の優先度コードを送信す
る回路を各通信装置毎に設け、すでに送信権を有する通
信装置は受信した送信権要求信号が自己のものと異なる
ときこの送信権要求信号に応じつぎに送信権を取得する
通信装置を示す引継指定信号を送信し、かつ、この引継
指定信号の送信後に送信権を放棄し、他の各通信装置に
おいては引継指定信号を中継して送信し、つぎに送信権
を取得する通信装置では引継指定信号の受信にしたがっ
て送信権を取得した後に確認信号を送信し、他の各通信
装置においては確認信号を中継して送信すると共に送信
権を取得した通信装置の確認を行なうものとしている。
That is, in the above method, the received signal is transmitted with a time delay of at least "i1 bit," and when the self requests the transmission right, the received priority code is compared with the 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 is high, and if the communication device already has the transmission right, the received transmission right request signal is In response to this transmission right request signal, a takeover designation signal indicating the next communication device to acquire the transmission right is sent, and after the transmission of this takeover designation signal, the transmission right is relinquished, and each other communication device relays and transmits the takeover designation signal, and then the communication device that acquires the transmission right transmits a confirmation signal after acquiring the transmission right according to the reception of the takeover designation signal, and each other communication device transmits the confirmation signal. In addition to relaying and transmitting, the communication device that has acquired the transmission right is confirmed.

〔作用〕[Effect]

したがって、各通信装置毎に設けたハードウェアの回路
によシ、受信4号ははソ1ビットの遅延を受けるのみに
より中継して送信嘔れ、中継による遅延時間が減少する
と共に、自己が送信権を要求する際には、受信した優先
度より自己の優先度が高ければ、自己の優先度コード以
降が送信でれ、送信4mm要求分の伝送も高速化される
一方、受信した送信権要求信号が自己のものと異なれば
、これに応じて送信権の放棄がなされ、かつ、引継指定
信号により送信権の取得がなてれると共に、確認信号に
よる送信権取得状況の確認が行なわれ、送信権の引継ぎ
、および、これの確認が高速かつ確実となる。
Therefore, due to the hardware circuit provided for each communication device, the reception signal 4 is delayed by only 1 bit, causing it to be relayed and transmitted. When requesting the right to send, if the priority code is higher than the received priority, the priority code after the own priority code is transmitted, and the transmission speed for the 4mm request is increased, while the received request for the right to send If the signal differs from its own, the transmission right is relinquished accordingly, the acquisition of the transmission right is confirmed by a takeover designation signal, and the acquisition status of the transmission right is confirmed by a confirmation signal, and the transmission right is relinquished. The transfer of rights and confirmation of this will become faster and more reliable.

〔実施例〕〔Example〕

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

第2図は全構成を示すブロック図であり、複数の通信装
置(以下、STA )CEA−cgDが伝送路2、〜2
、によりループ状として接続され、この例では、矢印に
より示す方向へ信号の伝送が行なわれるものとなってお
り、例えば、5TA−CEA が送信権を取得し、5T
A−CEDに対して送信中のときには、5TA−CEB
、cgcが各々受信した信号を中継して送信するものと
なっている。
FIG. 2 is a block diagram showing the entire configuration, in which a plurality of communication devices (hereinafter referred to as STA) CEA-cgD are connected to transmission lines 2, -2.
, and in this example, the signal is transmitted in the direction indicated by the arrow. For example, 5TA-CEA acquires the transmission right, and 5T
When transmitting to A-CED, 5TA-CEB
, CGC relays and transmits the received signals.

第3図は、各5TA−CEの詳細を示すブロック図であ
υ、5TA−CEの主装置1aに対し、インターフェイ
ス(以下、I/F)1bが設けてあシ、これの受信人力
RIへ一方の伝送路2Rが接続でれ、伝送路2Rと他方
の伝送路2Sとの間には、遅延素子としてD形の7リツ
プフロツプ回路(以下、FFC)11が介在し、これの
クロック端子CKへI/F′1bから与えられる受信4
号SRと同期したクロックパルスαXに応じ、データ端
子りへ与えられる受信4号SRを順次に保持して出力Q
から送出するものとなっておシ、これによって受信4号
へはソ1ビット分の遅延を与え、伝送路2Sへ送信々号
Ssとして送信するものとなっている。
FIG. 3 is a block diagram showing the details of each 5TA-CE. An interface (hereinafter referred to as I/F) 1b is provided for the main device 1a of the 5TA-CE, and is connected to the receiver RI. One transmission line 2R is connected, and a D-type 7-lip-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 4 given from I/F'1b
In response to the clock pulse αX synchronized with the signal SR, the received signal SR given to the data terminal is sequentially held and output Q.
As a result, a delay of 1 bit 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へ接続てれており、I/F1bが制御信号S、を
生ずると、切替器SWが応動してF′F′C11の出力
QからI/Flbの送信出力SOへ切替えを行ない、伝
送路2Sへ接続するため、I/F1bからの信号が伝送
路2Sへ送信されるものとなる。
Further, the output Q of the FFC11 is connected to the transmission line 2S via the switch SW, and when the I/F1b generates the control signal S, the switch SW responds to the output of the F'F'C11. Since Q is switched to the transmission output SO of I/Flb and connected to the transmission line 2S, the signal from I/F1b is transmitted to the transmission line 2S.

第4図は、主装置1a、I/F1b、FFC11および
切替器SWの具体的構成を示すブロック図であシ、マイ
クロプロセッサ等のプロセッサ(以下、CPU)21、
可変メモリ(以下、RAM)22、固定メモリ(以下、
ROM’)23、バスコントローラ(以下、BCT)2
4、シフトレジスタ等の直並列変換器(以下、5PC)
31 、 “0”ビット削除回路(以下、2九)32、
CRC(Cyclic Redundancy Che
ck、)検出回路(以下、CHD)33、アボート(A
bort、) ・アイドル検出回路(以下、AAD )
34、CRC信号発生回路(以下、CRG ) 35、
アボート信号発生回路(以下、ASG > 3 s、シ
フトレジスタ等の並直列変換器(以下、PSC)37、
“0”ビット挿入回路(以下、ZIS)38等が設けて
あシ、伝送路2Rよシの受信々号SRからZEL32 
KおイテJISC63B3等ノHDLC手順によシ“O
゛°°ビツト除のうえ、5PC31において並列データ
とし、母11j39を介してCPU21へ与えるものと
なっており、CPU21は、BCT24を介するROM
23 中の命令を実行し、RAM22へ所定のデータを
アクセスしながら受信データの判断および制御上の判断
を行ない、必要に応じてCRG35 、ASG36を制
御すると共に並列データの送信データをpsc37へ与
える。
FIG. 4 is a block diagram showing a specific configuration of the main device 1a, I/F 1b, FFC 11, and switch SW.
Variable memory (hereinafter referred to as RAM) 22, fixed memory (hereinafter referred to as
ROM') 23, bus controller (hereinafter referred to as BCT) 2
4. Serial-parallel converter such as shift register (hereinafter referred to as 5PC)
31, “0” bit deletion circuit (hereinafter referred to as 29) 32,
CRC (Cyclic Redundancy)
ck,) detection circuit (hereinafter referred to as CHD) 33, abort (A
bort, ) ・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 ASG > 3 s), parallel-to-serial converter (hereinafter referred to as PSC) 37 such as a shift register,
A “0” bit insertion circuit (hereinafter referred to as ZIS) 38 etc. is provided, and the transmission line 2R and the other reception signals SR to ZEL32 are provided.
Please follow the HDLC procedure such as JISC63B3.
After removing the ゛°° bits, it is made into parallel data in 5PC31 and is given to CPU21 via mother 11j39, and CPU21 reads ROM via BCT24.
23, and while accessing predetermined data to the RAM 22, it makes judgments on received data and control judgments, controls the CRG 35 and ASG 36 as necessary, and provides parallel data transmission data to the psc 37.

すると、送信データがPSC37において直列データと
なシ、かつ、CRG35からのCRC信号が挿入てれた
うえ、送出回路(以下、5SC)40を介してZIS3
8 ヘ与えられ、ZIS38において前述OHDLC手
順により ’o”ビットの挿入が行なわれると共に、必
要に応じて送信を中断するときはASG3 Bからのア
ボート信号が挿入された後、伝送路2Sへ送信4号S8
として送信される。
Then, the transmission data becomes serial data in the PSC 37, a CRC signal from the CRG 35 is inserted, and the transmission data is transmitted to the ZIS 3 via the transmission circuit (hereinafter referred to as 5SC) 40.
8, the 'o' bit is inserted in ZIS38 according to the OHDLC procedure described above, and an abort signal from ASG3B is inserted when transmission is interrupted as necessary. No.S8
Sent as .

なお、受信々号SRはんす34にも与えられており、こ
れの検出々力、および、CRD33のチェック結果を示
す出力に応じてCPU21が所定の制御を行かう一方、
条件によっては、DMA (Di r @c t Me
mor7Access、) 制御によ、!78PC31
からの受信データがBCT24を介し、RAM22へ直
接格納てれ、あるいは、RAM22の内容が直接PSC
37へ送出されるものとなっている。
Note that the reception signal is also given to the SR function 34, and 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 the conditions, DMA (Di r @c t Me
mor7Access,) by control! 78PC31
The received data from the PSC is directly stored in the RAM 22 via the BCT 24, or the contents of the RAM 22 are directly stored in the PSC.
37.

また、ZEL32O出力は、5SC40K含1 し7’
j FFC11のデータ端子りへ与えられ、これらの出
力Qがにつゲート41.ORゲート42を介しZIS3
Bの入力へ与えられており、受信上−ドのときは、制御
用OFF’C431,43gに対し、これのクリア端子
CLへCPU21がクリア信号面を与え、FFC43、
In addition, ZEL32O output includes 5SC40K1 and 7'
j are applied to the data terminals of the FFC 11, and these outputs Q are applied to the gates 41. ZIS3 via OR gate 42
When the reception is on, the CPU 21 gives a clear signal to the clear terminal CL of the control OFF'C431, 43g, and the FFC43,
.

43、をリセット状態としているため、これの出力Qが
論理値の“Oo”であシ、A、’JDゲート44がオフ
となる一方、インバータ45の出力が論理値の“1゛°
となっており、に0ゲート41はオン状態となっている
ことにより、第3図と同様にFFC11の出力Qからの
信号がZIS38へ与えられ、これが送信4号Ssとし
て送信でれる。
43 is in the reset state, its output Q is the logical value "Oo", and the A, 'JD gate 44 is turned off, while the output of the inverter 45 is the logical value "1゛°".
Since the 0 gate 41 is in the on state, the signal from the output Q of the FFC 11 is given to the ZIS 38 as in FIG. 3, and this is transmitted as the transmission No. 4 Ss.

以上に対し、自己が送信権を取得したときは、FFC4
32のプリセット端子PRに対し、CpU21がプリセ
ット信号PSEを与えるため、FFC43□がセットて
れて出力Qを1°°とし、ANDゲー+44をオンとす
る一方、インバータ45の出力を“O”として、静ノゲ
ート141をオフとし、FFC11の出力Qに代えて遅
延回路46からの信号をかりゲート44およびORゲー
ト42を介してZIS38の入力へ与え、これを送信4
号sgとして伝送路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 43□ is set to set the output Q to 1°°, and while the AND gate +44 is turned on, the output of the inverter 45 is set to "O". , the static gate 141 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 ZIS 38 via the gate 44 and the OR gate 42, and this is sent to the transmitter 4.
The mode becomes a transmission mode in which the signal is transmitted to the transmission path 2S as the signal sg.

一方、PSC37に対しては、CPU21が送信権要求
を行なうべきと判断した際、送信権の優先度を示す“1
°゛、“011の組み合せによるコードを含む送信権要
求信号をセットするため、この内容がクロックパルスC
LKに応じ順次に直列データとして送出式れ、排他的論
理和(以下、EXOR)ゲート47へ与えられる。
On the other hand, when the CPU 21 determines that a transmission right request should be made to the PSC 37, it sends "1" indicating the priority of the transmission right.
°゛, “011” to set the transmission right request signal including the code in combination, this content is the 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 EXOR) gate 47.

すなわち、CPU21は、送信権要求信号の受信開始と
判断すれば、優先度を示すコードの受信前に自己の送信
権要求優先度を示すコードを含む送信データをPSC3
7ヘセツトするものとなっている。
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.
It is designed to be set to 7.

したがって、ZEL32の出力が受信した優先度を示す
同様なコードを含むものであるとき、これがXOR ゲート47の他方の入力へ与えられるものとなってお、
2、ZEL32 (7)出力力’o”、PSC3γの出
力が1°′の条件となれば、′P2XORゲート47の
出力は1′”となシ、これが腕ゲート48を介してFF
C43、のデータ端子りへ与えられ、クロックパルスC
LKに応じてFFC431がセットてれ、これに応じて
FFC43sもセット嘔れて出力Qを“1°°とするだ
め、前述と同じくR■ゲート44がオンへ転じ、遅延回
路46により遅延きれたPSC3γの出力が送信々号S
sとして送出てれる。
Therefore, when the output of ZEL 32 contains a similar code indicating the received priority, this is what is applied to the other input of XOR gate 47.
2. ZEL32 (7) If the output force is 'o' and the output of PSC3γ is 1°', the output of the P2XOR gate 47 is 1', which is sent to the FF via the arm gate 48.
The clock pulse C43 is applied to the data terminal of C43.
FFC431 is set in response to LK, FFC43s is also set in response to this, and in order to make the output Q 1°°, the R gate 44 is turned on as described above, and the delay is completed by the delay circuit 46. The output of PSC3γ is the transmission number S
It can be sent as s.

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

第5図(5)は、以上の状況を示す送信権要求信号の内
容例であわ、同信号は、この場合各8ビットのスタート
フラグ51、全STAにおいて受信すべきことを示すグ
ローバルコード52、送信権要求コード53、優先度コ
ード54、送信STAのアドレスを示す送信元コード5
5、CRC信号56、および、エンドフラグ57によ)
構成てれ、受信4号SRが図示の状態では、優先度コー
ド54が2進数により「2」を示しておシ、送信元コー
ド55のroooooool Jによシ示嘔れる送信元
のSTAにおいて付加てれた優先度は■となっている。
FIG. 5 (5) shows an example of the contents of a transmission right request signal indicating the above situation. In this case, the signal includes an 8-bit start flag 51, a global code 52 indicating that it should be received by all STAs, Transmission right request code 53, priority code 54, and source code 5 indicating the address of the transmitting STA
5, according to the CRC signal 56 and end flag 57)
In the configuration, when the receiving No. 4 SR is in the state shown in the figure, the priority code 54 indicates "2" in binary notation, and the priority code 54 is added at the source STA which is indicated by the rooooooool J of the source code 55. The selected priority is ■.

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

したがって、第4図のFFC11によυ、受信4号sR
をはソ1ビットづ\遅延し、送信々号S8 として送信
すると共に、受信4号SRとPSC37からの信号とが
EXORゲート47により比較でれておシ、スタートフ
ラグ51〜優先度コード54の第5ビツトまでは同一の
ため、]IEXORゲー)47の出力が“0′°を保つ
のに対し、優先度コード54の第6ビツトへ至ると、受
信4号SRは“0”、5RG47の出力は“1°゛であ
シ、自己の優先度が高いとの判断条件が成立し、上述の
とおり EXORゲート47の出力が“1°゛へ転じ、
受信4号SRの優先度コードに代え、自己の優先度コー
ドが送信てれ、これ以降はPSC37の出力が同様に送
信でれる。
Therefore, according to FFC11 in Fig. 4, υ, reception number 4 sR
is delayed by 1 bit, and is transmitted as the transmission signal S8. At the same time, the reception signal 4 SR and the signal from the PSC 37 are compared by the EXOR gate 47, and the start flag 51 to priority code 54 are Since the bits up to the 5th bit are the same, the output of the IEXOR game) 47 remains "0'°," but when it reaches the 6th bit of the priority code 54, the received No. 4 SR is "0" and the output of the 5RG 47 is "0". The output is "1°", the judgment condition that self priority is high is established, and as mentioned above, the output of EXOR gate 47 changes to "1°",
Instead of the priority code of the received No. 4 SR, 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
の出力とのタイミングを一致てせるためのものであシ、
この場合はは″::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 should be set to ``::1 bit''.

第5図中)は、クリア信号石玉、FFC432の出力Q
から送出でれる制御信号S。、および、プリセット信号
PSEの変化状況を示すタイミングチャートであり、C
PU21は、受信4号SRが送信権要求信号の優先度コ
ード54となったことを判断し、かつ、自己も送信権要
求を行なうべきことを判断したとき、これに応じてクリ
ア信号CLRを“0′°から“1′°とし、FFC43
□、43□ のリセット状態を解除すると共に、プリセ
ット信号PSEを“1”の無信号状態としており、前述
のとおり、優先度コード54の第6ビツトから制御信号
SCが“1′°となシ、ANDゲート44をオンへ転す
るものとなっている。
(in Figure 5) is the clear signal stone, the output Q of FFC432
Control signal S sent out from. , and a timing chart showing changes in the preset signal PSE;
When the PU 21 determines that the received No. 4 SR has become the priority code 54 of the transmission right request signal and also determines that it should also request the transmission right, it responds by sending the clear signal CLR as " From 0'° to "1'°, FFC43
□, 43□ are released from the reset state, and the preset signal PSE is set to a no-signal state of "1". , which turns on the AND gate 44.

なお、CPU21は、自己の送信権要求信号が他のST
Aを介して全伝送路2、〜2.を一巡し自己により受信
嘔れたとき、自己が送信権を取得できると判断し、プリ
セット信号PSEを“0″としてFF”C43。
Note that the CPU 21 transmits its own transmission right request signal to another ST.
All transmission lines 2, to 2. After completing one cycle and failing to receive data, the FF determines that it can acquire the right to transmit and sets the preset signal PSE to "0".

を強制的に七ッ卜するものとなっている。It has become a matter of force.

一方、第5図(C)は、受信4号SRを送信中のSTA
における(B)と同様なタイミングチャートであシ、ク
リア信号CLRが1゛°の無信号状態、プリセット信号
規が“0″のプリセット状態となっておシ、これに応じ
て制御信号Scが“1°”とな)、ANDゲート44を
オンに保ち、PSC37の出力を送信々号Ss として
送信している。
On the other hand, FIG. 5(C) shows the STA which is transmitting received No. 4 SR.
In the timing chart similar to (B), the clear signal CLR is in a no-signal state of 1°, the preset signal standard is in a preset state of "0", and the control signal Sc is "1°"), the AND gate 44 is kept on, and the output of the PSC 37 is transmitted as the transmission signal Ss.

第6図は、第4図の塔部における信号の状況を示すタイ
ミングチャートでラシ、受信4号SRと同期したクロッ
クパルスCLK(i)カ″O″″カラ“1′。
FIG. 6 is a timing chart showing the signal status in the tower section of FIG.

ヘ変化する立上υによりFFC11が応動するため、Z
EL32の出力(、)がクロックパルス(1)のはソイ
周期分遅延してFFC11の出力(b)となる一方、P
SC37の出力(c)が遅延回路46により同等の遅延
を受は遅延出力(d)となっており、両出力(a) 、
 (、)の不一致に応じてEXORゲート47の出力(
、)が1”へ転すると、当初はリセットされFFC43
□の出力Qが“1”となっているため、分のゲート4B
の出力(f)が1″となシ、これにつぐクロックパルス
(1)の立上シにしたがい、時点tcにおいてFFC4
3□がセットされ、出力Q(g)をl”へ転すると共に
、出力Qを0″“へ転する。
Since FFC11 responds to the start-up υ that changes to
The output (,) of EL32 becomes the output (b) of FFC11 with a delay of the clock pulse (1) by the Soi cycle, while the output of P
The output (c) of the SC37 receives an equivalent delay from the delay circuit 46 and becomes the delayed output (d), and both outputs (a),
The output of the EXOR gate 47 (
, ) changes to 1", it is initially reset and FFC43
Since the output Q of □ is “1”, the minute gate 4B
When the output (f) of
3□ is set, and the output Q(g) is turned to l'' and the output Q is turned to 0''.

このため、かのゲート48は直ちにオフとなり、出力(
f)を“0°゛へ復し、つぎのクロックパルス(1)の
立上シによりFFC431はリセットし、出力(g)を
“0゛とするが、出力(g)はFFC43sのクロック
端子CKへ与えられておシ、出力値)が“0パから“1
゛へ転じたときに、FFC43,はデータ端子りへ与え
られている出力(C)の“1°°によυセット嘔れ、時
点1c以降においてFFC43,のtD (h)が“1
′°を維持し、これが制御信号S。とじてかのゲート4
4およびインバータ45へ送出てれる。
Therefore, the gate 48 is immediately turned off and the output (
f) is returned to "0°", the FFC431 is reset by the rising edge of the next clock pulse (1), and the output (g) is set to "0", but the output (g) is connected to the clock terminal CK of the FFC43s. output value) is “0” to “1”.
When the transition to 1c occurs, the FFC 43 becomes υ set by 1° of the output (C) applied to the data terminal, and after time 1c, the tD (h) of the FFC 43 becomes 1
'° is maintained, and this is the control signal S. Closed gate 4
4 and inverter 45.

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

第1図は、上述の特願昭59−260800号による手
法へ本方式を適用した場合の各STA間における信号の
送受信状況を示すタイミングチャートでらシ、まず、す
でに送信権を有するSTA・CEAが更に送信権の占有
を要求するため、送信Sにより送信権の要求を示す要求
信号CTAへ自己の優先度■を付加して送信すると、こ
れが5TA−CEBにおいて受信Rによシ受信されるが
、前述の動作により自己の高い優先度■の判断がな嘔れ
、これが付加てれてはソ1ビットの遅延により要求信号
CTBとして送信てれる。
FIG. 1 is a timing chart showing the status of signal transmission and reception between STAs when this method is applied to the method disclosed in 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 5TA-CEB. , due to the above-mentioned operation, the judgment of its own high priority (2) is delayed, and when this is added, it is transmitted as a request signal CTB with a delay of one bit.

この送信は、5TA−CEcによシ受信されるが、こ\
においても自己の高い優先度Vの判断により、これが付
加てれてはソ1ビットの遅延により要求信号CTcとし
て送信され、5TA−σ。においては、これがそのまま
ほぼ1ビツトの遅延により中継嘔れて送信てれ、5TA
−CIAにおいて受信される。
This transmission is received by 5TA-CEc, but this
Also, based on the judgment of its own high priority V, this is added and transmitted as a request signal CTc with a delay of 1 bit, 5TA-σ. In this case, this is transmitted without relaying due to a delay of almost 1 bit, and 5TA
- Received at the CIA.

すると、5TA−CEAは、自己の送信した要求信号c
’rA011)が受信されないため、今まで占有した送
信権を放棄すべきものと判断し、受信した要求信号CT
、 (V)を一旦蓄債してから引継指定信号としてCT
c(v)と異なるcTc′(V)を送信するものとなり
、これが順次に中継されて5TA−CECにより受信で
れると、5TA−+Jcは、これを更に送信すると共に
、送信権を取得したものと判断し、確認信号として有効
化信号OKを送信のうえ、これが順次に中継嘔れて一巡
し、自己において受信できれば、他の5TA−CEA、
CE、 、CEDにおいても5TA−CEcが送信権を
取得した旨の確認を行なったものと判断し、送信状態に
入るものとなっている。
Then, 5TA-CEA transmits its own transmitted request signal c
'rA011) is not received, it is determined that the transmission right that has been occupied so far should be abandoned, and the received request signal CT
, (V) is stored once and then CT is used as a transfer designation signal.
It transmits cTc'(V), which is different from c(v), and when this is relayed sequentially and received by 5TA-CEC, 5TA-+Jc further transmits this and acquires the transmission right. After determining that the activation signal OK is sent as a confirmation signal, this is relayed one after another, and if it can be received by itself, other 5TA-CEA,
CE, , and CED also determine that 5TA-CEc has confirmed that it has acquired the transmission right, and enter the transmission state.

なお、5TA−CIAは、要求信号CTc’ (V)の
再受信後に有効化信号OKを受信するのに応じて送信権
を放棄すると共に、要求信号CTc’ (V)の再中継
を行なわない一方、5TA−CEB、CEDにおいては
、有効化信号OKの受信に応じ5TA−CE、が送信権
を取得したことの確認を後述のとお9行なう。
Furthermore, upon receiving the validation signal OK after re-receiving the request signal CTc' (V), 5TA-CIA relinquishes the transmission right and does not re-relay the request signal CTc' (V). , 5TA-CEB, and CED, in response to receiving the activation signal OK, confirm that 5TA-CE has acquired the transmission right, as described below.

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

また、要求信号、引継指定信号および確認信号の一巡に
よシ、送信権の引継ぎが確実にな嘔れ、引継ぎ所要時間
が短縮てれる。
Furthermore, by completing one cycle of the request signal, the handover designation signal, and the confirmation signal, the transmission right can be reliably taken over, and the time required for the handover can be shortened.

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

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

すなわち、′イニシャライズ” 101 Kよシ、各5
TA−CEA−CEr、が送信権を有する1次側または
送信権を有しない2次側となるかの判断がなされ、これ
の結果に応じて“1次側? ” 102の決定が行なわ
れると共に、必要とする各部のクリアが行なわれる。
That is, 'Initialize' 101 K, 5 each
A determination is made as to whether TA-CEA-CEr is a primary side that has the transmission right or a secondary side that does not have the transmission right, and in accordance with this result, the “Primary side?” 102 determination is made. , the necessary parts are cleared.

なお、ステップ101は、電源投入または電源の停電回
復等に応じてなされ、“1次側?1の判断は、例えば、
各5TA−(JA−CBDのアドレス番号に応じて各個
に定めた待機時間を設け、この間に信号が受信でれなけ
れば自己に送信権あシと判断し、他からの信号が受信嘔
れ\ば送信権なしと判断する。
Note that step 101 is performed when the power is turned on or when the power supply recovers from a power outage.
Each 5TA-(JA-CBD) has a waiting time determined for each address number according to its address number, and if no signal is received during this time, it is determined that it has the right to transmit, and it is unable to receive signals from others. If so, it is determined that there is no transmission right.

ステップ102がY(YES)となれば、プリセット信
号亦を“Oooとじて切替器SWを制御し“送信モード
設定”111を行なってから、自己の保有する送信デー
タ中、最も優先度の高いものを選択し、この優先度を示
すコードを付加した要求信号を“自己CT送信”121
によシ送信し、これが全伝送路を介して受信嘔れるか否
かを同信号“CT受信?″°122により監視し、これ
がN(No) 、かつ、CPU21中のタイマーによる
一定時間“TRI経過?″゛123がNの間はステップ
122以降を反復のうえ、タイマーのタイムアツプによ
システップ123がYとなれば、CPU24中のカウン
タによシ設定した最大反復送信回数MK達するまでは“
送信回数−M? ” 124ONを介し、ステップ12
1以降を反復し、ステップ124がYとなるのに応じ、
′異常処理′。
If step 102 is Y (YES), the preset signal is set to "Ooo", the switch SW is controlled, and the "transmission mode setting" 111 is performed. is selected, and a request signal with a code indicating this priority is sent as “self-CT transmission” 121
It is monitored by the same signal "CT reception?" 122 to see if it is received through all the transmission paths, and if this is N (No), and the timer in the CPU 21 waits for a certain period of time "TRI". Progress?" While 123 is N, repeat steps 122 and after, and if step 123 becomes Y due to time-up of the timer, the counter in the CPU 24 will repeat " until the set maximum number of repeated transmissions MK is reached.
Number of transmissions - M? ” via 124ON, step 12
1 and subsequent steps are repeated, and as step 124 becomes Y,
``Abnormal processing''.

125へ移行し、警報送出およびこれの表示等を行なう
The process moves to step 125, where an alarm is sent out and displayed.

ステップ123,124がNの間にステップ122がY
となれば、これが自己の送信したものか否かを“自己C
T ? ” 131によシ判断し、これがNの場合は、
自己以外からの要求信号CTの受信であり、RAMη中
の一部を用いたバッファメモIJ BFMへ“BFM+
−CT”132により、受信した要求信号を格納して一
旦蓄積し、この内容を“受信CT転送”133により引
継指定信号Cτとして送信し、クリア信号CLRを“0
′°とじて“受信モード設定”134を行なってから、
確認信号としての有効化信号” OK受信?”135が
Yとなれば、送信権を放棄して後述の“受信モード設定
”183へ移行するのに対し、ステップ135がNの間
は、ステップ123゜124と同じく一定時間“TRI
経過?″°136を監視し、これがYとなるのに応じス
テップ111と同じく“送信モード設定”137を行な
い“送信回数=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? ” Judging from 131, if this is N,
This is the reception of a request signal CT from a source other than the self, and the buffer memory IJ using a part of RAM η is sent to BFM “BFM+”.
-CT" 132 stores and temporarily accumulates the received request signal, and the "Receive CT transfer" 133 transmits this content as the takeover designation signal Cτ, and the clear signal CLR is set to "0.
’° and perform “receive mode setting” 134,
If the validation signal "OK received?" 135 as a confirmation signal is Y, the transmission right is abandoned and the process moves to "receive mode setting" 183, which will be described later.While step 135 is N, step 123 Same as ゜124, for a certain period of time “TRI
Progress? "°136" is monitored, and when it becomes Y, "transmission mode setting" 137 is performed in the same manner as in step 111, and "number of transmissions = M?" ” Step 133 and subsequent steps are repeated via step 138, and as step 136 becomes Y,
Return to step 121.

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

ステップ144がNの間にステップ142がYとなれば
、新らたに送信データが発生した場合、これの優先度が
ステップ121によシ送信した優先度よυも高いか否か
をチェックするため、“発生優先度〉送信済優先度?”
151の判断、および、同一優先度のデータを連続的に
送信する目的上、他の送信すぺ含データ中の最高優先度
とステップ121によシ送信した優先度との対比によシ
、“他の最高優先度=送信済優先度?”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, “occurrence priority>sent priority?”
In order to make the determination in step 151 and to continuously transmit data with the same priority, the priority transmitted in step 121 is compared with the highest priority among the other data to be transmitted. Other highest priority=transmitted priority?" 152, and when step 152 is N, steps 121 and subsequent steps are repeated to give other STAs a chance to acquire the transmission right, while step 151 is YES. In response to this, steps 121 and subsequent steps are repeated to notify other STAs that there is data to be transmitted with a higher priority than the previous time.

ステップ151がN、かつ、ステップ152がYのとき
は、“データ送信処理”153を行ない、ステップ15
1以降を反復し、ステップ131がNとなるまでは、自
己の送信データを優先度の高いものから順次に送信する
が、他のSTAからより高い優先度の要求信号CTが送
信され、ステップ131がNとなシ、かつ、ステップ1
34がYとなれば、後に述べる“受信モード設定”18
3へ移行する。
When step 151 is N 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 when a request signal CT with a higher priority is transmitted from another STA, step 131 is N, and step 1
If 34 is Y, “receive mode setting” 18 described later
Move to 3.

以上に対し、ステップ102がNのときは、クリア信号
CLRを′O°°として切替器SWを制御し、“受信モ
ード設定″161を行なってから、自己に“送信データ
あり?”162をチェックし、これがYであれば、第5
図囚に示す自己の優先度コード54以降をPSC37へ
与え“pscヘデータセット°。
Regarding the above, when step 102 is N, the switch SW is controlled by setting the clear signal CLR to 'O°°, and after performing the "reception mode setting" 161, the self checks "Is there data to be sent?" 162. and if this is Y, then the fifth
Give your own priority code 54 and subsequent ones shown in the figure to the PSC 37 and "Set data to psc".

163を行ない、他のSTAからの要求信号“CT受信
? ” 171がYとなるのに応じ、第5図(B)のと
おり、クリア信号″CLK =″1”” 172を行な
い、FFC43,の出力QおよびORゲート42の出力
に応じて自己の優先度コード54以降が送信式れたか否
かを監視し、“自己優先度く受信優先度?”181を判
断のうえ、これがNのときは自己の送信優先度が他の送
信優先度よシ高く、自己に送信権あυと判断するが、ス
テップ181のYに応じては自己に送信権が与えられな
いものと判断し、ステップ161と同じく“受信モード
設定”183を行ない、“受信データ処理″′184お
よび“監視処理゛185を行なった後、ステップ162
以降を反復する。
163, and in response to the request signal "CT reception?" 171 from another STA becoming Y, as shown in FIG. Depending on the output Q and the output of the OR gate 42, it monitors whether or not its own priority code 54 or later has been transmitted, and after determining "Self priority or reception priority?" 181, if this is N, then Since its own transmission priority is higher than other transmission priorities, it is determined that it has the right to transmit, but in response to Y in step 181, it is determined that the transmission right is not granted to itself, and in step 161. After similarly performing "receiving mode setting" 183, "receiving data processing" 184 and "monitoring processing" 185, step 162
Repeat the following.

なお、ステップ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
Through the R gate 42, the signal is relayed and transmitted as is, with only a delay of 1 bit.

一方、ステップ181がNでめれば、クリア信号“CL
R=“O”191によ、りF’FC43,43のり七ッ
l    ! トを行なってから“Cで受信? ” 192を監視し、
これのYに応じて受信した要求信号がステップ172乃
至181の間において送信した自己の要求信号に応する
“自己Cτ?”193を判断し、これがYであれば送信
権を重書できた場合であシ、“送信モード設定”196
をステップ111と同じく行なってから、ステップ14
1へ移行するのに対し、ステップ193がNのときは送
信権の取得が不可能なため、ステップ132と同様に“
BFM4−σ” 194を行なってから、ステップ18
3へ移行スる。
On the other hand, if step 181 is N, clear signal “CL
By R="O" 191, riF'FC43, 43 paste 7l! and then monitor “Receive on C?” 192.
If the request signal received in response to this Y determines "self Cτ?" 193 corresponding to the own request signal transmitted between steps 172 to 181, and if this is Y, the transmission right can be overwritten. Adashi, “Transmission mode setting” 196
in the same way as step 111, and then step 14
1, whereas when step 193 is N, it is impossible to acquire the transmission right, so as in step 132, “
After performing BFM4-σ” 194, step 18
Move to 3.

また、ステップ192がNの間は、ステップ123と同
様にTR□くくTo として定めた所定時間“TRfi
経過? ” 195を監視し、これがNの間はステップ
192以降を反復のうえ、これのYにしたがいステップ
125へ移行する。
Further, while step 192 is N, the predetermined time “TRfi” determined as TR□kTo is similar to step 123.
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の詳細を示すフローチャート
でsb、“送信データはGLS ?” 201を判断し
、これがNであれば“データ送信”202のみを行なう
が、ステップ201がYのときは“GLS送信”211
を行なったうえ、これが全伝送路を介して受信されるか
否かを“送信GLS受信?″212によって監視し、こ
れがNの間は、ステップ123゜124と同じく一定時
間“TR工経過?”213のYおよび“送信回数=M?
″214のNを介してステップ211以降を反復し、ス
テップ214がYとなるのに応じてステップ125と同
じく“異常処理n215を行なう。
FIG. 8 is a flowchart showing the details of step 153. sb, "Is the transmission data GLS?" 201 is determined, and if this is N, only "data transmission" 202 is performed, but when step 201 is Y, " GLS transmission” 211
In addition, whether or not this is received via all transmission paths is monitored by "Transmission GLS reception?" 212. While this is N, "TR progress?" is displayed for a certain period of time as in steps 123 and 124. 213 Y and “Number of transmissions = M?
Steps 211 and subsequent steps are repeated via N in ``214'', and when step 214 becomes Y, ``abnormality processing n215'' is performed as in step 125.

ステップ214がNの間にステップ212がYとなれば
、ステップ141〜144と同じく、有効化信号“OK
送信”221、および、同信号“OK受信?゛。
If step 212 becomes Y while step 214 is N, the enabling signal "OK" is sent as in steps 141 to 144.
Send” 221 and the same signal “OK received?゛.

222のNを介する一定時間“TR□経過? ” 22
3の判別、これのYに応する“送信回数=M?″224
のNを介するステップ221以降の反復を行ない、ステ
ップ224がYとなるのにしたがいステップ215へ移
行する一方、ステップ224がNの間にOK傷信号受信
できればステップ222がYとなる。
Fixed time “TR□ elapsed?” 22 via N of 222
3, “Number of transmissions = M?” corresponding to Y of this 224
Step 221 and subsequent steps are repeated via N, and when step 224 becomes Y, the process moves to step 215. If the OK flaw signal can be received while step 224 is N, step 222 becomes Y.

第9図は、ステップ184の詳細を示すフローチャート
であり、“受信データあり?″300のYに応じて“受
信データはGLS ? ” 301を判断し、これがN
であればGLS用の“BFM←クリア” 302を行な
ってから、受信データへ付加された宛先のアドレスコー
ドに基づき“自己宛?”303をチェックし、これのY
に応じて“内容解読” 304を行なう。
FIG. 9 is a flowchart showing the details of step 184, in which "Received data is GLS?" 301 is determined according to Y of "Received data?" 300, and this is N.
If so, perform “BFM←Clear” 302 for GLS, then check “Addressed to self?” 303 based on the address code of the destination added to the received data, and check Y for this.
"Content decoding" 304 is performed according to the content.

また、ステップ301がYのときは、内容が有効化信号
′″OK?” 311を判断し、これの結果がNであれ
ば“BFM 4− GLS″312によシパッファメモ
リBFMへGLSを格納し、第7図のステップ162以
降の反復によシ、ステップ3(10hよび301のYを
介してステップ311がYとなるのに応じ、” BFM
内容1 ? ” 321をチェックし、これのYにした
がい“BFMの内容読み出し°°322を行ない、ステ
ツブ304へ移行する。
Also, when step 301 is Y, the content is the validation signal ``OK?'' 311 is determined, and if the result is N, GLS is stored in the shipper memory BFM by ``BFM 4-GLS'' 312. However, by repeating step 162 and subsequent steps in FIG.
Content 1? ” 321, and according to Y of this, “Read BFM contents 322” is performed, and the process moves to step 304.

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

す彦わち、主テーブル(以下、MT)および副テーブル
(以下、ST)は、各5TA−CEA−CEDと対応す
るものとなっておシ、一定の監視期間中に各STAの動
作状況を正常と判別すればQ印により示すコード、同様
に異常と判別すればX印によシ示すコードが各々対応し
て格納でれ、これによって登録が行なわれるものとなっ
ている。
In other words, the main table (hereinafter referred to as MT) and the sub-table (hereinafter referred to as ST) correspond to each of the 5TA-CEA-CED, and the operating status of each STA is monitored during a certain monitoring period. If it is determined to be normal, a code indicated by a Q mark is stored, and similarly, if it is determined to be abnormal, a code indicated by an X mark is stored in correspondence with each other, and registration is performed accordingly.

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

第10図においては、“電源ON ? ” 401を判
断し、これがY′″C6ればMTへ全X登録” 402
によりイニシャライズを行ない、一定の監視期間を規定
するためにCPU21  中へ設けた“タイマー・スタ
ー) ” 411を行なってから、第1表のとおシ“S
Tへ全X登録″412を行ない、ステップ304の結果
に応じていずれかのSTA″CEiが送信権取得?゛″
421を判別し、これがYとなれば、” MTのCEi
=X? ” 422をチェックのうえ、これがYのとき
は、“MT−8TのCEIへ○登録′”431を行ない
、例えばCDI = CEAでは、第2表の状態とし、
“CElの回復報知“°432により、5TA−CEi
が異常から正常へ回復した旨を表示すると共に、通信の
相手として選定できる旨をRAM22中へ格納する等の
処理を行なう。
In FIG. 10, "Power ON?" 401 is determined, and if this is Y'''C6, all X are registered to MT" 402
After performing the "timer star" 411 provided in the CPU 21 to specify a certain monitoring period,
Perform all X registration ``412'' to T, and depending on the result of step 304, which STA ``CEi acquires the transmission right?゛″
421, and if this is Y, "MT's CEi
=X? ” 422, and if it is Y, perform “Register MT-8T to CEI” 431. For example, if CDI = CEA, set the status as shown in Table 2.
5TA-CEi due to “CEl recovery notification” °432
It performs processing such as displaying that the device 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がNT:あれば、“STのCEl
へ×登録″433を行ない、例えばCEI = CEB
では第2表のとお)とし、“タイマー・タイムアツプ?
 ” 441がNの間はステップ421以降を反復し、
ステップ441のYに応じて“判断処理” 442を行
なってから、第7図のステップ162以降を介して以上
の動作を反復する。
In addition, if step 422 is NT:
Go to ×Register''433, for example, CEI = CEB
Now let's take the example shown in Table 2) and write "Timer time up?"
” While 441 is N, steps 421 and subsequent steps are repeated,
After performing a "judgment process" 442 in response to Y in step 441, the above operations are repeated through step 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 in sequence and 5TA-CEB and CED do not acquire the transmission right, the state shown in Table 2 will be υ. MT that showed the previous result
The contents are finally updated and become the ones in Table 3.

す力わち、ステップ442においては、次表の内容が実
行てれる。
In other words, in step 442, the contents of the following table are executed.

第4表 なお、“異常発生報知”は、ステップ432と同様の表
示、および、通信相手として選定できない旨をRAM2
2へ格納する等の処理が実行でれる。・したがって、以
上の動作を各5TA−CEA−CEDのすべて、または
、少くとも複数台が行なえば、第4表の“×登録”時に
おける対比によシ異常が判断てれ、これに応じた報知が
行なわれると共に、ステップ432により正常への回復
も報知でれ、これらが各々のSTAにおいてなでれるた
め、いずれかのSTAが監視機能を失っても、全般的な
監視機能は失なわれず、全システムとしての信頼性が向
上する。
Table 4 Note that "abnormality occurrence notification" includes the same display as in step 432 and the RAM2 notification that the communication partner cannot be selected.
2, etc. can be executed.・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 the corresponding actions will be taken. At the same time as the notification is made, the recovery to normality is also notified in step 432, and these are notified in each STA, so even if any STA loses the monitoring function, the overall monitoring function will not be lost. First, the reliability of the entire system is improved.

たソし、ステップ431をSTのみのものとし、MTの
○登録をステップ442へ含めてもよく、ステップ43
2を同様にステップ442へ含めても同等の結果が得ら
れる。
Alternatively, step 431 may be for ST only, MT registration may be included in step 442, and step 43
Similar results can be obtained by similarly including 2 in step 442.

以上のとおシ、ループ状接続の各STA間において、各
信号の中継および優先権要求信号の切替送信に要する時
間が大幅に短縮てれ、全般的な伝送速度が向上すると共
に、必要最低限の信号送受信によシ送便槽の引継ぎおよ
び取得状況の確認が確実に行なわれ、かつ、各STAの
動作状況監視も正確に行なわれるため、データ伝送およ
び制御の高応答性ならびに高信頼性が実現する。
As a result of the above, 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 transmission and reception ensure that the transfer tank is taken over and the acquisition status is confirmed, and the operating status of each STA is also accurately monitored, achieving high responsiveness and reliability in data transmission and control. do.

九ソし、遅延素子としては、FFC11を用いるとき波
形整形作用も呈し好適であるが、他の素子または回路を
用いてもよく、実用上支障のない範囲であれば遅延時間
を1ビツトよシ大または小としても同様であシ、第4図
の構成は条件にしたがった選定が任意であると共に、第
5図(4)においては、優先度コード54以外を各ビッ
トの順位を反転のドを付与するものとすればよく、これ
の等級は(1)〜(ト)のみならず、条件に応じて定め
ればよく、データ信号の宛先アドレスコードによシ、送
信権を有するSTA以外のすべてが同時に指定されたと
きは、指定された各STAが受信モードを維持するもの
としてもよい等、種々の変形が自在である。
As a delay element, it is preferable to use FFC11 since it also exhibits a waveform shaping effect, but other elements or circuits may be used, and the delay time can be changed from 1 bit to within a range that does not cause any practical problems. The same is true 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 inverted except for the priority code 54. The grade of this may be determined not only in (1) to (g) but also according to the conditions, and the destination address code of the data signal is When all are designated at the same time, various modifications are possible, such as allowing each designated STA to maintain the receiving mode.

〔発明の効果〕〔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, it is possible to perform the minimum necessary signal transmission and reception, to confirm the transmission right handover and acquisition status, to achieve high speed data transmission and high responsiveness of control status, and to achieve overall high reliability. This realizes remarkable effects in various data transmission and control.

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

図は本発明の実施例を示し、第1図は各STA間におけ
る信号の送受信状況を示すタイミングチャート、第2図
は全体の構成を示すブロック図、第3図はSTAの構成
を示すブロック図、第4図はSTAの具体的構成を示す
ブロック図、第5図囚は送信+11要求信号の構成を示
す図、第5図(B)および(C)はクリア信号、制御信
号、プリセット信号の変化状況を示すタイミングチャー
ト、第6図は第4図の各部における信号の状況を示すタ
イミングチャート、第7図は全般的なフローチャート、
第8図乃至第10図は第7図の下位ルーチンを示すフロ
ーチャートである。 2、〜24.2R、23・・・・伝送路、11゜430
.432・・・・FFC(フリップフロップ回路)、2
1・・・・CPU (プロセッサ)、22・・・・RA
M (可変メモリ)、23・・・・ROM (固定メモ
リ)、31・・・・spa (直並列変換器)、37・
・・・psc (並直列変換器)、40・・・・SSC
(送出回路)、41.44.48・・・・にΦゲート、
42 ・ ・ ・ ・ORゲート、45・ ・ ・ ・
インバータ、46・・・・遅延回路、47・・・・EX
OR(排他的論理和)ゲート、53・・・・送信権要求
コード、54・・・ ・優先度コード、CEA−CED
・・・・STA (通信装置)、SR・・・・受信4号
、Ss  ・・・・送信々号、SO・・・・送信出力、
RI  ・・・・受信入力、SW・・・・切替器、CT
  ・・・・送信権要求信号、OK・・・・確認信号。 特許出願人  山武ハネウェル株式会社代理人 山川政
樹(−七12名) 第1図 第2図 第3図 R 第6図 tc (1)」口口ロロロロロL 第9図
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. , FIG. 4 is a block diagram showing the specific configuration of STA, FIG. 6 is a timing chart showing the state of the signals in each part of FIG. 4, FIG. 7 is a general flowchart,
8 to 10 are flowcharts showing the lower routine of FIG. 7. 2, ~24.2R, 23...Transmission line, 11°430
.. 432...FFC (flip-flop circuit), 2
1...CPU (processor), 22...RA
M (variable memory), 23... ROM (fixed memory), 31... spa (serial parallel converter), 37...
...psc (parallel-serial converter), 40...SSC
(sending circuit), Φ gate at 41, 44, 48...
42 ・ ・ ・ ・OR gate, 45 ・ ・ ・ ・
Inverter, 46...Delay circuit, 47...EX
OR (exclusive OR) gate, 53... Transmission right request code, 54... -Priority code, CEA-CED
...STA (communication equipment), SR...reception number 4, Ss...transmission number, SO...transmission output,
RI...Reception input, SW...Switcher, CT
...Transmission right request signal, OK...confirmation signal. Patent Applicant Yamatake Honeywell Co., Ltd. Agent Masaki Yamakawa (-712 persons) Figure 1 Figure 2 Figure 3 R Figure 6 tc (1) "Kuchukuchi Lororo Loro L Figure 9

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 The transmission right is relinquished after the transmission of the transmission right, and each of the other communication devices relays and transmits the said takeover designation signal, and the next communication device to acquire the transmission right relinquishes the transmission right in accordance with the reception of the said takeover designation signal. A transmission right handover method characterized in that a confirmation signal is transmitted after acquiring the transmission right, and the confirmation signal is relayed and transmitted to other communication devices, and the communication device that has acquired the transmission right is confirmed.
JP13262886A 1985-10-25 1986-06-10 Transmission right taking over system Pending JPS62290233A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP13262886A JPS62290233A (en) 1986-06-10 1986-06-10 Transmission right taking over system
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
JP13262886A JPS62290233A (en) 1986-06-10 1986-06-10 Transmission right taking over system

Publications (1)

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

Family

ID=15085768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13262886A Pending JPS62290233A (en) 1985-10-25 1986-06-10 Transmission right taking over system

Country Status (1)

Country Link
JP (1) JPS62290233A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52137201A (en) * 1976-05-12 1977-11-16 Hitachi Ltd Loop communication system by which right of main station can be transferred
JPS53101904A (en) * 1977-02-18 1978-09-05 Hitachi Ltd Permission system for transmission in loop communication system
JPS5767355A (en) * 1980-10-15 1982-04-23 Nec Corp Data transmission controlling system at loop transmission system
JPS6165557A (en) * 1984-09-06 1986-04-04 Fujitsu Ltd Communication priority control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52137201A (en) * 1976-05-12 1977-11-16 Hitachi Ltd Loop communication system by which right of main station can be transferred
JPS53101904A (en) * 1977-02-18 1978-09-05 Hitachi Ltd Permission system for transmission in loop communication system
JPS5767355A (en) * 1980-10-15 1982-04-23 Nec Corp Data transmission controlling system at loop transmission system
JPS6165557A (en) * 1984-09-06 1986-04-04 Fujitsu Ltd Communication priority control method

Similar Documents

Publication Publication Date Title
US7194564B2 (en) Method and apparatus for preventing loops in a full-duplex bus
JPS5847111B2 (en) loop transmission system
JPH05244171A (en) Station device for variable and time-divisional communication system
JPS6022846A (en) Data communication system and device
JP2008141525A (en) Two-way communication circuit, two-way communication system and communication method of two-way communication circuit
US4860000A (en) Data transmission system using sending right request signal transferred through loop transmission path
JPS62290233A (en) Transmission right taking over system
JPS62290231A (en) Transmission right handover method
JP2001177508A (en) Radio communication equipment
JPS6412144B2 (en)
JPH0126213B2 (en)
JPS62290232A (en) Transmission right handover method
JPH11289331A (en) Lan interface device
KR910000700B1 (en) Data transmission system using sending right request signal transferred trough loop transmission path
JP4087070B2 (en) Broadcast / ACK transmission method
JP3454264B2 (en) Wireless communication system and wireless communication method
JPS63229937A (en) Communication control method
JPS5944148A (en) Communication control method in bus network
JPS6010940A (en) Data transmission equipment
JPH0318379B2 (en)
JPH10276241A (en) Data communication method and system therefor
JPS6294035A (en) Cai data line control system
JPH0318380B2 (en)
JPS63229938A (en) Communication control method
JPH03102936A (en) Broadcast communication method