JPS61139144A - Data communication supervisory system - Google Patents

Data communication supervisory system

Info

Publication number
JPS61139144A
JPS61139144A JP59259946A JP25994684A JPS61139144A JP S61139144 A JPS61139144 A JP S61139144A JP 59259946 A JP59259946 A JP 59259946A JP 25994684 A JP25994684 A JP 25994684A JP S61139144 A JPS61139144 A JP S61139144A
Authority
JP
Japan
Prior art keywords
communication device
transmission
communication
transmission right
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP59259946A
Other languages
Japanese (ja)
Other versions
JPH0323029B2 (en
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 JP59259946A priority Critical patent/JPS61139144A/en
Publication of JPS61139144A publication Critical patent/JPS61139144A/en
Publication of JPH0323029B2 publication Critical patent/JPH0323029B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent the loss of the supervisory function as the whole of a system even if any monitor function is faulty, by discriminating whether each communicating equipment becomes abnormal or not in accordance with the comparison between contents of a main table and a subtable and performing this operation for plural communication at least. CONSTITUTION:A switch SW selects a transmission end S of a communication equip ment CE in accordance with the control based on the discrimination of the communica tion equipment CE if the communication equipment CE has the transmission right, but the switch SW selects a reception-side transmission line LR similarly if the has not the transmission right, and the switch SW connects the selected transmitted end S or reception-side transmission line LR to a transmission-side transmission line LS. If a communication equipment CEA has the transmission right and transmits data signals from the transmission end S to a communication equipment CEC and the communication equipment CEC receives them from a reception end R and transmits a response signal, this signal is given to the reception end R of the communication equipment CEA, and the data communication is performed between communication equipment CEA and CEC. Since data are transmitted in the order of priority level among communication equipment CEA-CED, the transmission of important data is not delayed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の通信装置を伝送路によりループ状に接
続し、各通信装置相互間のデータ伝送を行なう方式にお
いて、各通信装置が正常か否かを監視する方式に関する
ものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method in which a plurality of communication devices are connected in a loop through a transmission path and data is transmitted between each communication device. This relates to a method for monitoring whether or not the

〔従来の技術〕[Conventional technology]

か\る通信方式においては、送信権要求信号の送信によ
り送信権を取得し、これを取得した通信装置の主導によ
り通信を行なうものとなっているため、この送信権取得
状況に応じて各通信装置が正常か否かを監視する手段が
用いられておシ、従来は、各通信装置中のいずれか特定
した一台の通信装置のみによ)監視を行なうものとなっ
ている。
In such a communication system, the transmission right is acquired by transmitting a transmission right request signal, and the communication is carried out under the initiative of the communication device that has acquired this, so each communication is Means for monitoring whether a device is normal or not is used, and conventionally, monitoring is performed only by one specified communication device among each communication device.

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

しかし、従来の手段では一台の通信装置のみが監視を行
なっているため、この通信装置自体に障害を生ずれば、
全システムの監視が不能となる問題を招来している。
However, with conventional means, only one communication device performs monitoring, so if a failure occurs in this communication device itself,
This has led to the problem that it is impossible to monitor the entire system.

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

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

すなわち、上述の通信方式において、一定の監視期間中
に送信権要求信号に応じて送信権を取得した通信装置を
判別し、各通信装置と対応した副テーブルへ送信権を取
得した通信装置を正常としかつ送信権を取得しない通信
装置を異常として各々を示すコードを登録し、この副テ
ーブルの内容と前回の監視期間中における結果を登録し
た主テーブルの内容とを対比して各通信装置の正否を判
断し、更に、副テーブルの内容により主テーブルの内容
を更新し、以上の動作を少くとも複数の通信装置におい
て反復するものとしている。
In other words, in the above communication method, the communication device that has acquired the transmission right is determined in response to a transmission right request signal during a certain monitoring period, and the communication device that has acquired the transmission right is stored in the sub-table corresponding to each communication device. A code indicating each communication device that does not acquire the right to transmit is registered as abnormal, and the contents of this sub-table are compared with the contents of the main table in which the results during the previous monitoring period are registered to determine whether each communication device is correct or not. Then, the contents of the main table are updated based on the contents of the sub-table, and the above operation is repeated in at least a plurality of communication devices.

〔作用〕[Effect]

したがって、主テーブルと副テーブルの内容対比によプ
、各通信装置の正否変化が判断できると共に、これを少
くとも複数の通信装置において行なうことによ)、いず
れかの監視機能に障害を生じても、全システムとしての
監視機能は失なわれないものとなる。
Therefore, by comparing the contents of the main table and the sub-table, it is possible to judge whether each communication device is correct or not. However, the monitoring function of the entire system will not be lost.

〔実施例〕〔Example〕

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

第2図は、通信装置毎の構成を示すブロック図であり、
通信装置CBは端末機器TEおよび送受信部SRからな
シ、これの受信端Rには、光ファイバによる受信側伝送
路LRが光電変換器0/Eを介して接続され、これと、
電光変換器E10を介する光ファイバの送信側伝送路L
Sとの間には、切替器SWが挿入されており、通信装置
CEの判断に基づく制御に応じ、自己に送信権が有ると
きは通信装置CEの送信端Sを選択し、送信権を有しな
いときには受信側伝送路LR側を選択し、送信側伝送路
Lsへ接続するものとなっている。
FIG. 2 is a block diagram showing the configuration of each communication device,
The communication device CB includes a terminal device TE and a transmitting/receiving section SR, and a receiving side transmission line LR made of an optical fiber is connected to the receiving end R of the communication device CB via a photoelectric converter 0/E.
Transmission side transmission line L of optical fiber via electro-optic converter E10
A switch SW is inserted between the communication device CE and the communication device CE, and selects the transmission end S of the communication device CE when it has the right to transmit according to the control based on the judgment of the communication device CE. If not, the receiving side transmission line LR side is selected and connected to the transmitting side transmission line Ls.

したがって、切替器SWが受信端R側を選択していれば
、通信装置CEは受信のみが可能となシ、伝送路中から
排除され、受信側伝送路LRからの信号がその′tま送
信側伝送路LBへ送信され、通信製[CEの介在による
伝送上の遅延が全く生じないものとなる。
Therefore, if the switch SW selects the receiving end R side, the communication device CE is only capable of receiving and is excluded from the transmission path, and the signal from the receiving end transmission path LR is transmitted until that time. The data is transmitted to the side transmission path LB, and there is no transmission delay due to the intervention of the communication CE.

また、切替器SWが送信端S側を選択すれば、画伝送路
LR,LS間が分離され、通信装置CEは送信および受
信が自在となる。
Furthermore, if the switch SW selects the transmission end S side, the image transmission paths LR and LS are separated, and the communication device CE is free to transmit and receive.

第3図は、第2図の構成に基づく全体のブロック図でち
ゃ、各変換器0/E 、Eloを省略のうえ、通信装置
CE^〜CEDを各伝送路Ll−yL<によ)ループ状
に接続すると共に、通信状況の推移に応じた切替器5W
A−8WDの選択状況を(4)〜■)にわたって示して
おシ、第4図には、第2図の各段階と対応する各種信号
の送受信状況を示しである。
Fig. 3 is an overall block diagram based on the configuration of Fig. 2, omitting each converter 0/E and Elo, and connecting communication devices CE^~CED to each transmission line Ll-yL<) loop. In addition to connecting to
The selection status of A-8WD is shown in (4) to (2), and FIG. 4 shows the transmission/reception status of various signals corresponding to each stage of FIG. 2.

ここにおいて、まず、第3図(4)および第4図の期間
(A)に示すとおシ、通信装置CIAが送信権を有し、
データ信号I)TAを送信端Sから通信装置CEc宛に
送信する一方、これを受信端Rから受信した通信装置C
Ecが応答信号ASCを送信すれば、これが通信装置C
EAの受信端Rへ与えられ、通信装置CE^とCEcと
の間においてデータ通信が行なわれる。 。
Here, first, as shown in FIG. 3 (4) and period (A) in FIG. 4, the communication device CIA has the transmission right,
Data signal I) TA is transmitted from the transmitting end S to the communication device CEc, while the communication device C receives it from the receiving end R.
If Ec sends a response signal ASC, this is the communication device C.
The signal is applied to the receiving end R of EA, and data communication is performed between communication devices CE^ and CEc. .

ついで、通信装置CE人がデータ信号DTAの送信およ
び応答信号ASCの受信を終了すると、通信装置CEc
へ終了信号CDCを送信するため、通信装置CECは、
終了信号CDcの受信に応じ確認信号CUcを送信し、
その直後、切替器SWCを受信端R側とすることにより
、第3図(B)のとおシになシ、通信装置CEB −C
EDがすべて受信のみの受信モードとなる。
Then, when the communication device CE finishes transmitting the data signal DTA and receiving the response signal ASC, the communication device CE
In order to send the termination signal CDC to
Sending a confirmation signal CUc in response to receiving the end signal CDc,
Immediately after that, by setting the switch SWC to the receiving end R side, the communication device CEB-C
All EDs are in reception mode, where only reception is possible.

通信装置CEAは、確認信号CUcを受信した後、通信
装置CEcが切替器SWcを(B)の状態となるまでの
所定時間を経てから、第4図の期間(B)に示すとおシ
送信権を引継がせる旨を示す引継信号cpをGLSとし
て送信し、これを通信装置CEAが全伝送路Ll−%−
L4を介して受信すると、これが他の通信装置CEB−
CEDにおいて受信されたものと判断し、引継信号cp
を有効として認識すべき旨を示す有効化信号OKを送信
するため、これが他の通信装置CEB−CEDにおいて
受信され、通信装置CEaが有効となった引継信号CP
に応する判断により、自己に送信すべきデータを有する
ものとすれば、自己の切替器SWaを制御して送信端S
側とし、第3図(C)の送信モードとなって待機する。
After the communication device CEA receives the confirmation signal CUc and after a predetermined period of time until the communication device CEc switches the switch SWc to the state (B), the communication device CEA receives the transmission right as shown in period (B) in FIG. The communication device CEA transmits a takeover signal cp indicating that the transfer is to be taken over as GLS, and the communication device CEA transmits this to all transmission paths Ll-%-
When received via L4, this communicates with other communication devices CEB-
The takeover signal cp is determined to have been received at CED.
In order to send an enabling signal OK indicating that the communication device CEa should be recognized as valid, this is received by another communication device CEB-CED, and the communication device CEa receives a takeover signal CP that has become valid.
Based on the judgment, if it has data to be transmitted to itself, it controls its own switching device SWa to
side, and enters the transmission mode shown in FIG. 3(C) and stands by.

ついで、通信装置CEAは、第4図の期間(C)に示す
とおり、送信データを有する他の通信装置が切替器を(
C)の状態とするまでの所要時間を経た後、更に通信装
置CEAが送信データを有する場合は、送信権の要求を
示す自己に個有のアドレスコードを付加した要求信号C
TAに対し、更に、送信データの優先度を示す優先度コ
ード■)を付加のうえ、これらを要求信号CTA(II
)として送信する。
Then, as shown in period (C) in FIG. 4, the communication device CEA switches the switch (
After the time required to reach state C), if the communication device CEA still has data to transmit, it sends a request signal C to which a unique address code is added indicating a request for transmission rights.
Furthermore, a priority code (■) indicating the priority of the transmission data is added to the TA, and these are sent to the request signal CTA (II
).

すると、これが通信装置CEBにおいて受信され、自己
の有する送信データの優先度が(1)であれば、これと
の比較により自己が優先的に送信権を取得すべきものと
判断し、通信装置CEBが優先度コード(1)を付加の
うえ自己のアドレスコードも付加した要求信号CTn(
1)をGLS として、第4図の期間(C)に示すとお
υ送信するため、これが通信装置CEAにおいて受信さ
れる。
Then, this is received by the communication device CEB, and if the priority of the transmission data it owns is (1), it is determined that the communication device CEB should acquire the transmission right preferentially by comparison with this, and the communication device CEB Request signal CTn (with priority code (1) added and own address code added)
1) as GLS and is transmitted as shown in period (C) in FIG. 4, so that it is received by the communication device CEA.

通信製fcEhは、受信した要求信号CTB(T)と自
己の優先度Of)との比較により、送信権を通信装置C
EBへ引継ぐべきものと判断し、要求信号cTn(()
を第4図の期間(C)に示すとおシそのまま送信してか
ら、切替器SWAを受信端R側とし、第3図■)の状態
とする。
The communication fcEh assigns the transmission right to the communication device C by comparing the received request signal CTB(T) with its own priority (Of).
It is determined that it should be taken over to EB, and the request signal cTn(()
After transmitting the signal as shown in period (C) in FIG. 4, the switch SWA is set to the receiving end R side, and the state shown in FIG. 3 (2) is established.

通信装置CIAから転送された要求信号cTB(1)’
r通信装置CEBが受信すると、ここにおいて自己に送
信権が付与されたものとの判断がなされ、要求信号CT
B(I)を有効とする有効化信号OKを送信した後、第
4図の期間0)に示すとおシ通信装置CEnから宛先ア
ドレスおよび自己アドレスのコードを付加した応答要求
信号C8Dが送信されるため、宛先コードにより通信装
置CEDが指定されれば、これに応じて同装置CEnが
切替器SWDを送信端S側とし、第3図(ト))の状態
となシ、第4図の期間(ト))に示すとおり通信装置C
EDが確認信号CUDを送信するため、通信装置CEi
+は、この確認信号を受信してからデータ信号DTBを
送信し、通信装置CEDは、データ通信DTBの受信に
応じ応答信号ASDの送信を開始する。
Request signal cTB(1)' transferred from communication device CIA
When the r communication device CEB receives the request signal CT, it determines that it has been granted the right to transmit, and sends the request signal CT.
After transmitting the validation signal OK that validates B(I), a response request signal C8D to which the destination address and self address codes are added is transmitted from the communication device CEn as shown in period 0) in FIG. Therefore, if the communication device CED is specified by the destination code, the device CEn will accordingly set the switch SWD to the sending end S side, and enter the state shown in FIG. Communication device C as shown in (g))
Since the ED sends the confirmation signal CUD, the communication device CEi
+ transmits the data signal DTB after receiving this confirmation signal, and the communication device CED starts transmitting the response signal ASD in response to receiving the data communication DTB.

したがって、通信装置CEBとCEDとの間において、
データ通信が行なわれ、これの終了に応じて以上の各動
作が反復されるものとなシ、各通信装置CIA−CED
において、高優先度のデータから逐次送信がなされるた
め、重要なデータの送信に遅滞を生じないものとなる。
Therefore, between the communication devices CEB and CED,
Data communication is performed, and each of the above operations is repeated in response to the end of data communication.
Since data is transmitted sequentially starting from high-priority data, there is no delay in transmitting important data.

また、引継信号cp、要求信号CTAQI)、CTB(
T)等のGLSは、各々送信を行なった通信装置が自己
の送信したものを受信して確認し、これに応じて有効化
信号OKを送信するため、若し、伝送路T、I−%−L
4中のいずれかにおいて障害を生じていれば、自己の受
信確認ができず、有効化信号OKを送信しないものとな
シ、障害発生部位以降の通信装置がGLSの受信を行な
わないま\、これ以前の通信装置のみがGLSの受信に
よる応動状態となることが阻止される。
In addition, takeover signal cp, request signal CTAQI), CTB(
GLS such as T), etc., each transmitting communication device receives and confirms what it has transmitted, and accordingly transmits an activation signal OK. -L
If a failure occurs in any of 4, it will not be able to confirm its own reception and will not send the activation signal OK, and communication devices after the failure location will not receive GLS. Only the communication device before this is prevented from going into a responsive state due to reception of GLS.

なお、GLSとしては、これらの各信号CP1CTのほ
か、時刻、警報、共用等の各データも同様に扱かわれる
ものとなっておシ、いずれも送信した自己のGLSを受
信してから有効化信号OKの送信がなされ、受信した各
通信装置は、GLSの受信に応じてこれを一旦バツファ
メモリへ格納のうえ待機し、有効化信号OKの受信に応
じてバッファメモリの内容を読み出して解読し、これに
応じた動作を行なうものとなっている。
In addition to these signals CP1CT, GLS handles data such as time, alarm, and shared data in the same way. The signal OK is transmitted, and each communication device that receives the GLS temporarily stores it in the buffer memory and waits in response to receiving the GLS, reads and decodes the contents of the buffer memory in response to receiving the validation signal OK, and Actions are taken accordingly.

このため、GLSの受信状況がこれの送信を行なった通
信装置のみにおいて判断され、単に有効化信号OKの送
信を行なえばよいものとなシ、通信手順が簡略化され全
般的な通信速度が向上する。
Therefore, the reception status of GLS is determined only by the communication device that sent it, and it is only necessary to send an activation signal OK, which simplifies the communication procedure and improves the overall communication speed. do.

第5図は、通信装置CIA−Cln中の端末機器TEに
よる判断および動作状況を示す全般的なフローチャート
であシ、端末機器TE:中に設けたマイクロプロセッサ
等のプロセッサおよびメモリにより実行される。
FIG. 5 is a general flowchart showing the judgment and operation status by the terminal equipment TE in the communication device CIA-Cln, which is executed by a processor such as a microprocessor and memory provided in the terminal equipment TE.

すなわち、策イニシャライズ〃101により、各通信製
RCEA−CEDが送信権を有する1次側または送信権
を有し゛ない2次側となるかの判断がなされ、これの結
果に応じて一1次側?  ’102の決定が行なわれる
In other words, through the initialization process 101, it is determined whether each communication RCEA-CED becomes a primary side that has transmission rights or a secondary side that does not have transmission rights, and depending on the result, the primary side ? '102 determination is made.

なお、ステップ101は、電源投入または電源の停電回
復等に応じて魯され、例えば、各通信装置CEA −C
ED  のアドレス番号に応じて各個に定めた待機時間
を設け、この間に信号が受信されなければ自己に送信権
ありと判断し、他からの信号が受信され\ば送信権なし
と判断する。
Note that step 101 is skipped when the power is turned on or the power supply recovers from a power outage, for example, when each communication device CEA-C
A waiting time is set for each ED 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 if a signal from another is received, it is determined that it does not have the right to transmit.

ステップ102がY(YES)となれば、切替器SWを
制御し“送信モード設定1111を行なってから、引継
信号’ CP送信1112を行ない、これが全伝送路を
介して受信されるか否かを開信号%cp受信? ’11
3により監視し、これがN(No)かつプロセッサ中の
タイマーによる一定時間% TR経過?  ’114が
Nの間はステップ113以降を反復のうえ、タイマーの
タイムアツプによυステップ114がYとなれば、プロ
セッサ中のカウンタにより設定した最大再送信回数Mに
達するまでは1送信回数=M? ’115のNを介し、
ステップ112以降を反復し、ステップ115がYとな
るのに応じ、′異常処理“116へ移行し、警報送出お
よびこれの表示等を行なう。
If step 102 turns out to be Y (YES), the switch SW is controlled to perform "transmission mode setting 1111", and then performs "takeover signal" CP transmission 1112, and checks whether or not this is received via all transmission paths. Open signal %cp received? '11
3, and this is N (No) and a certain period of time % TR elapsed according to the timer in the processor? While '114 is N, step 113 and subsequent steps are repeated, and if υ step 114 becomes Y due to time-up of the timer, 1 transmission count = M until the maximum number of retransmissions M set by the counter in the processor is reached. ? '115 N through
Steps 112 and subsequent steps are repeated, and when step 115 becomes Y, the process moves to ``abnormality processing'' 116, where an alarm is sent out and displayed.

ステップ115がNの間にステップ113がYとなれば
、有効化信号’ OK送信″121を行ない、これが全
伝送路を介して受信されるか否かを開信号ゝゝOK受信
?  ’122により監視し、これがNの間はステップ
114および115と同じく一定時間’TR経過?  
”123のYおよびゝ送信回数=M?  ’124のN
を介してステップ121以降を反復し、ステップ124
がYとなるのにしたがいステップ116へ移行する。
If step 113 becomes Y while step 115 is N, an enabling signal ``OK transmission'' 121 is performed, and whether or not this is received via all transmission paths is determined by an open signal ``OK reception?'' 122. While this is N, a certain period of time 'TR has elapsed?' as in steps 114 and 115.
``123 Y and もNumber of transmissions = M?'' 124 N
Step 121 and subsequent steps are repeated via Step 124
becomes Y, the process moves to step 116.

ステップ124がNの間にステップ122がYとなれば
、自己の保有する送信データ中、最も優先度の高いもの
を選択し、この優先度を示すコードを付加した要求信号
を囁自己 CT送信〃131により送信し、これが全伝
送路を介して受信されるか否かを同信号“CT受信? 
〃132により監視し、これがNの間は、ステップ11
4,115と同じく一定時間%TR経過?”133のY
およびゝゝ送信回数二M? “134のNを介し、ステ
ップ131以降を反復のウニ、ステップ134のYに応
じてステップ116へ移行する。
If step 122 becomes Y while step 124 is N, select the transmission data that has the highest priority among the transmission data it owns, and whisper a request signal to which a code indicating this priority is added. 131, and the same signal “CT received?
〃132, and while this is N, step 11
Same as 4,115, %TR elapsed for a certain period of time? ”133 Y
And ゝゝNumber of transmissions 2M? Step 131 and subsequent steps are repeated via N in 134, and in response to Y in step 134, the process moves to step 116.

ステップ134がNの間にステップ132がYとなれば
、これが自己の送信したものか否かを1自己CT?“ 
135により判断し、これのYに応じて有効化信号’O
K送信“141を行ない、ステップ122〜124と同
じく、開信号%OK受信?  ”142がNの間は、一
定時間%TR経過?’143のYおよび1送信回数=M
? ’144ONを介し、ステップ141以降を反復の
うえ、ステップ144がYとなるのにしたがいステップ
116へ移行する。
If step 132 becomes Y while step 134 is N, it is determined whether or not this is the self-transmitted message using 1 self-CT? “
135, and depending on the Y of this, the enable signal 'O
K transmission "Perform 141, and as in steps 122 to 124, open signal % OK received?" While 142 is N, a certain period of time %TR has elapsed? '143 Y and 1 transmission count = M
? '144ON, steps 141 and subsequent steps are repeated, and as step 144 becomes Y, the process moves to step 116.

ステップ144がNの間にステップ142がYとなれば
、新らたに送信データが発生した場合、これの優先度が
ステップ131により送信した優先度よシも高いか否か
をチェックするため、1発生優先度〉送信済優先度? 
’151の判断、および同一優先度のデータを連続的に
送信する目的上、他の送信すべきデータ中の高最優先度
とステップ131によ)送信した優先度との対比によム
1他の最高優先度=送信源優先度? ’152の判断を
行ない、ステップ152がNのときはステップ112以
降を反復して他の通信装置にも送信権取得の機会を与え
る一方、ステップ151のYに応じてはステップ131
以降を反復し、前回よシも高い優先度の送信データがあ
ることを他の通信装置へ報知する。
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 131. 1 Occurrence priority> Sent priority?
'151, and for the purpose of continuously transmitting data with the same priority, by comparing the highest priority among other data to be transmitted and the priority transmitted (in step 131). highest priority = source priority? If step 152 is N, step 112 and subsequent steps are repeated to give other communication devices a chance to acquire the transmission right, while if step 151 is Y, step 131
The following steps are repeated, and other communication devices are notified that there is transmission data with a higher priority than last time.

ステップ151がN1ステップ152がYのときは、亀
データ送信処理〃153を行ない、ステップ151以降
を反復し、ステップ134がNとなるまでは、自己の送
信データを優先度の高いものから頭次に送信するが、他
の通信装置からよ)高い優先度の要求信号CTが送信さ
れ、ステップ135がNとなれば、後に述べる受信モー
ドへ移行する。
When step 151 is N1 and step 152 is Y, the turtle data transmission process 153 is performed, and steps 151 and subsequent steps are repeated, and until step 134 is N, the self-transmission data is sent in descending order of priority. If a request signal CT with a high priority is transmitted (from another communication device), and the result in step 135 is N, a transition is made to a reception mode to be described later.

以上に対し、ステップ102がNのときは、切替器SW
を制御し、鷺受信モード設定〃161を行なってから、
自己に1送信データあ、り?’162をチェックし、こ
れがYであれば、ステップ111と同じく1送信モード
設定1163を行ない、他の通信装置からの要求信号I
CT受信? ’171がYとなるのに応じ、自己と受信
したものとの優先度を嘱自己優先度≦受信優先度? ’
172によυ比較し、これがNのとき・は自己の送信優
先度が他の送信優先度に比し同等以下でなく、自己に送
信権あシと判断シ、ステップ131へ移行する。
Regarding the above, when step 102 is N, the switch SW
After controlling the Heron reception mode setting 161,
1 data sent to self? '162 is checked, and if it is Y, 1 transmission mode setting 1163 is performed as in step 111, and the request signal I from another communication device is
CT reception? '171 becomes Y, determine the priority of the self and the received one. Self priority ≦ reception priority? '
172, and if this is N, it is determined that its own transmission priority is not equal to or lower than other transmission priorities, and that it has the transmission right, and the process moves to step 131.

また、ステップ112がYであれば、自己に送信権なし
と判断し、ステップ171により受信した要求信号CT
をGLSとしてメモリのバッファエリア(以下、BF’
M)へ−BFM 4−CT 〃181により格納してか
ら、BFMの内容を亀受信CT転送〃182によりその
ま\送信し、ステップ161と同じく気受信モード設定
1183を行ない、東データ受信処理#184を行なっ
たうえ、1監視処理“185を行なった後にステップ1
62以降を反復する。
Further, if step 112 is Y, it is determined that the self does not have the transmission right, and the request signal CT received in step 171 is
as GLS and memory buffer area (hereinafter referred to as BF'
M)-BFM 4-CT 〃181 is used to store the content, then the content of the BFM is sent as is by the turtle reception CT transfer〃182, the air reception mode setting 1183 is performed in the same way as step 161, and the east data reception processing # After performing step 184 and performing 1 monitoring process "185,"
62 and subsequent steps are repeated.

したがって、ステップ185により各通信装蓋CE^〜
CEDに対する監視が反復される。
Therefore, in step 185, each communication cover CE^~
Monitoring for CED is repeated.

第6図は、ステップ153の詳細を示すフローチャート
でちシ、′送信データはGLS? ’ 201を判断し
、これがNであれば1データ送信I202のみを行なう
が、ステップ201がYのときは−〇LS送信〃211
を行なったうえ、これが全伝送路を介して受信されるか
否かを1送信GLS受信? ’212によって監視し、
これがNの間は、ステップ114゜115と同じく一定
時間%TR経過?  ’213のYおよび“送信回数=
M? #214ONを介してステップ211以降を反復
し、ステップ214がYとなるのに応じてステップ11
6と同じく1異常処理”215を行なう。
FIG. 6 is a flowchart showing the details of step 153. 'Is the transmitted data GLS?''201 is judged, and if this is N, only 1 data transmission I202 is performed, but when step 201 is Y, -0LS transmission〃211
After doing this, check whether this is received via all transmission paths or not by 1 transmission GLS reception? monitored by '212,
While this is N, is the constant time %TR elapsed as in steps 114 and 115? '213 Y and "Number of transmissions =
M? Step 211 and subsequent steps are repeated via #214ON, and as step 214 becomes Y, step 11
1 abnormality processing" 215 is performed in the same manner as in step 6.

ステップ214がNの間にステップ212がYとなれば
、ステップ121〜124と同じく、有効化信号翫\O
K送信I221、および開信号’OK受信? 〃222
のNを介する一定時間%TR経過? ”223の判別、
これのYK応するゝ送信回数=M? ’224のNを介
するステップ221以降の反復を行ない、ステップ22
4がYとなるOKしたがいステップ215へ移行する一
方、ステップ224がNの間KOK信号が受信できれば
ステップ222がYとなる。
If step 212 becomes Y while step 214 is N, the activation signal \O
K transmission I221 and open signal 'OK reception? 〃222
%TR elapsed for a certain period of time via N? ``Discrimination of 223,
This YK corresponds to the number of transmissions = M? ' 224 through N's after step 221, and step 22
If the KOK signal is received while step 224 is N, step 222 becomes Y.

第7図は、ステップ184の詳細を示すフローチャート
であり、′受信データはGLS? #301を判断し、
これがNであればGLS用の−BFM←クリア”302
を行なってがら、アドレスコードICfi ツき亀自己
宛?  ’303をチェックし、これのYに応じて1内
容解読〃3o4を行ない、ステップ301以降を反復す
る。
FIG. 7 is a flowchart showing the details of step 184, and asks whether the received data is GLS? Determine #301,
If this is N, -BFM for GLS←Clear” 302
While doing so, the address code ICfi is addressed to Tsukigame himself? '303 is checked, one content decoding (3o4) is performed according to Y of this, and steps 301 and subsequent steps are repeated.

また、ステップ301がYのときは、内容が有効化信号
%OK?’311を判断し、これの結果がNであれば%
BFM 4− GLS ’  312にょシBF’Mへ
GLS  を格納してからステップ301以降を反復し
、ついでステップ301のYを介してステップ311が
Yとなるのに応じ、vABFM内容あり? ’3旧をチ
ェックし、これのYにしたがい%BFMの内容読み出し
〃322を行ない、これが引継信号1cP? 1323
を判断し、Nのときはステップ304へ移行する。
Moreover, when step 301 is Y, the content is the activation signal %OK? '311 and if the result is N then %
BFM 4- GLS' 312 After storing GLS in BF'M, repeat steps 301 and after, and then, as step 311 becomes Y via Y in step 301, check whether there is vABFM content? '3 Check the old and read the contents of %BFM according to this Y (322). Is this the takeover signal 1cP? 1323
If the result is N, the process moves to step 304.

なお、応答信号As、終了信号CD、  確認信号CU
、応答要求信号CS等は、データ送受信の一般的な手順
中において行なわれる。
In addition, the response signal As, the end signal CD, and the confirmation signal CU
, response request signal CS, etc. are performed during the general procedure of data transmission and reception.

第1図は、ステップ185の詳細を示すフローチャート
であシ、端末機器TEのメモリ中へ下表の主テーブルお
よび副テーブルが特定のエリアとして設けられ、これが
用いられるものとなっている。
FIG. 1 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 memory of the terminal device TE, and these are used.

すなわち、主テーブル(以下、MT)およヒ副テーブル
(以下、ST)は、各通信装置CEA〜CEo  と対
応するものとなっておシ、一定の監視期間中に正常と判
別すればO印にょシ示すコード、同様に異常と判別すれ
ばx印により示すコードが各々対応して格納され、これ
によって登録が行なわれるものとなっている。
In other words, the main table (hereinafter referred to as MT) and the sub-table (hereinafter referred to as ST) correspond to each communication device CEA to CEo. A code indicating a failure, and a code indicated by an x mark if an abnormality is similarly determined, are stored in correspondence with each other, and registration is performed based on these codes.

MT  第2表 ST MT                 3’l’なお
、第1表のMTは、前回の監視期間中における判断結果
がそのま\登録されておシ、第3表のMTが次回の監視
期間において第1表のMTとして用いられる。
MT Table 2 ST MT 3'l' 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 registered as they are in the first monitoring period in the next monitoring period. Used as MT for the table.

第1図においては、1電源ON?’401を判断し、こ
れがYであれば%MTへ全X登録1402としてイニシ
ャライズを行ない、一定の監視期間を規正するためにプ
ロセッサ中へ設けた1タイマー・スタート1411を行
なってから、第1表のとおりSSTへ全X登録I412
を行ない、ステップ304の結果に応じて通信装置%C
Eiが送信権取得?  ’421を判別し、これがYと
なれば、’ MTのCEt−=X? ’422をチェッ
クのうえ、これがYのときは、’ MT−8TのCEi
へ○登録I431を行ない、例えばCEi = CIA
では、第2表の状態とし、′CEiの回復報知〃432
により、通信装置CEIが異常から正常へ回復した旨を
表示すると共に、通信の相手として選定できる旨をメモ
リ中へ格納する等の処理を行なう。
In Figure 1, 1 power supply ON? '401, and if it is Y, initialize it to %MT as all All X registration to SST as per I412
and the communication device %C according to the result of step 304.
Ei obtains transmission rights? '421 is determined, and if this becomes Y, 'MT's CEt-=X? Check '422, and if this is Y, 'CEi of MT-8T
Go to ○Register I431, for example, CEi = CIA
Now, let's assume the state shown in Table 2, 'CEi recovery notification〃432
As a result, the communication device CEI performs processing such as displaying that the communication device CEI has recovered from an abnormality to normality and storing in the memory a message that it can be selected as a communication partner.

また、ステップ422がNであれば、% STのCEi
へ×登録I433を行ない、例えばCEi = CEB
では第2表のとおシとし、嘱タイマー・タイムアツプ?
 #441がNの間はステップ421以降を反復し、ス
テップ441のYに応じて1判断処理〃442を行なっ
てから、第5図のステップ162以降を介して以上の動
作を反復する。
Moreover, if step 422 is N, CEi of %ST
Go to x Registration I433, for example CEi = CEB
Now, as shown in Table 2, what is the 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.

したがって、例えば通信装置CEA、CECが順次に送
信権を取得し、通信装置CEB、CEDが取得を行なわ
ないときは、第2表の状態となり、ステップ442によ
り、第1表に示すとおり前回の結果を示していたMTの
内容が最終的に更新され、第3表のものとなる。
Therefore, for example, if the communication devices CEA and CEC sequentially acquire the transmission right and the communication devices CEB and CED do not acquire the right, the state shown in Table 2 will occur, and step 442 will determine the previous result as shown in Table 1. The contents of MT that had been shown are finally updated and become those shown in Table 3.

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

第4表 なお、蒐異常発生報知Iは、ステップ432と同様の表
示、および、通信相手として選定できない旨をメモリへ
格納する等の処理が実行される。
Table 4 Note that for the abnormality occurrence notification I, the same display as in step 432 and processing such as storing in the memory that the communication partner cannot be selected are executed.

したがって、以上の動作、を各通信装置CEA〜CED
のすべて、または、少くとも複数台が行なえば、第4表
の1×登録1時における対比により異常が判断され、こ
れに応じた報知が行なわれると共に、ステップ432に
より正常への回復も報知され、これらが各々の通信装置
においてなされるため、いずれかの通信装置が監視機能
を失っても、全般的々監視機能は失なわれず、全システ
ムとしての信頼性が向上する。
Therefore, the above operation is performed for each communication device CEA to CED.
If all or at least a plurality of units perform this, an abnormality is determined based on the comparison at 1×registration 1 in Table 4, and a notification is made accordingly, and a recovery to normality is also notified in step 432. , these are performed in each communication device, so even if any communication device loses its monitoring function, the overall monitoring function will not be lost, and the reliability of the entire system will improve.

たyし、ステップ431をSTのみのもとし、MTの○
登録をステップ442へ含めてもよく、ステップ432
を同様にステップ442寸めても同様である。
Then, step 431 is based on ST only, and MT's ○
Registration may be included in step 442 and step 432
The same effect can be obtained even if step 442 is similarly reduced.

なお、優先度は、各送信データ毎に重要度を示すコード
を付加するものとすればよく、これの等級は(I) 、
 (If)のみならず、条件に応じて定めればよく、デ
ータ信号DTの宛先アドレス忙よシ、送信権を有する通
信装置以外のすべてが同時に指定されたときは、指定さ
れた各通信装置が受信モードを維持するものとしてもよ
い。
Note that the priority may be determined by adding a code indicating the importance to each transmitted data, and the grade of this is (I),
In addition to (If), the destination address of the data signal DT can be determined according to the conditions. The reception mode may be maintained.

また、第2図においては、切替器SWを光スィッチとし
、各変換器0/E 、Iloを通信製Eg内へ設けても
よく、各伝送路LR,LSが電気信号を通ずるものであ
れば、各変換器0/E、I10を省略し、切替器SWに
一般のスイッチを用いればよい等、本発明は種々の変形
が自在である。
In addition, in FIG. 2, the switch SW may be an optical switch, and each converter 0/E and Ilo may be provided in the communication Eg, as long as each transmission line LR, LS passes an electric signal. The present invention can be modified in various ways, such as omitting the converters 0/E and I10 and using a general switch as the switch SW.

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

以上の説明により明らかなとおシ本発明によれは、送信
権の取得状況に応じて少くとも複数の通信装置が各個に
各通信装置の正否を監視するため、全般的な信頼性が向
上し、ビル管理設備の各端末間データ通信等、多数の通
信装置がループ状に接続される各種のデータ通信におい
て顕著な効果が得られる。
As is clear from the above explanation, according to the present invention, since at least a plurality of communication devices individually monitor the correctness or failure of each communication device depending on the acquisition status of transmission rights, overall reliability is improved. A remarkable effect can be obtained in various data communications in which a large number of communication devices are connected in a loop, such as data communications between terminals of building management equipment.

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

第1図は監視処理の詳細を示すフローチャート、第2図
は通信装置毎の構成を示すブロック図、第3図は全体の
ブロック図、第4図は各種信号の送受信状況を示す図、
第5図は全般的なフローチャート、第6図および第7図
は第5図の下位ルーチンを示すフローチャートである。 CE、CEAへCED  ・・・・通信装置、S@・・
・送信端、R・・・・受信端、SW、5WA−8WD・
・φ・切替器、LR・・・・受信側伝送路、LS−・・
・送信側伝送路、Lx−L4・・・・伝送路。
FIG. 1 is a flowchart showing the details of the monitoring process, FIG. 2 is a block diagram showing the configuration of each communication device, FIG. 3 is an overall block diagram, and FIG. 4 is a diagram showing the transmission and reception status of various signals.
FIG. 5 is a general flowchart, and FIGS. 6 and 7 are flowcharts showing lower routines of FIG. 5. CE, CED to CEA...Communication equipment, S@...
・Transmission end, R...Reception end, SW, 5WA-8WD・
・φ・Switcher, LR...Receiving side transmission line, LS-...
- Transmission side transmission line, Lx-L4...transmission line.

Claims (1)

【特許請求の範囲】[Claims] 複数の通信装置が伝送路によりループ状として接続され
、送信権を必要とする通信装置が自己の個有コードを付
加して送信権要求信号を送信し、該送信権要求信号の受
信に応じて他の通信装置が自己に送信権なしと判断する
と共に、前記送信権要求信号を送信した通信装置が前記
送信権を取得するデータ通信方式において、一定の監視
期間中に前記送信権要求信号に応じて送信権を取得した
通信装置を判別し、各通信装置と対応した副テーブルへ
送信権を取得した通信装置を正常としかつ送信権を取得
しない通信装置を異常として各々を示すコードを登録し
、該副テーブルの内容と前回の前記監視期間中における
結果を登録した主テーブルの内容とを対比して各通信装
置の正否を判断し、前記副テーブルの内容により主テー
ブルの内容を更新し、以上の動作を少くとも複数の通信
装置において反復することを特徴としたデータ通信の監
視方式。
A plurality of communication devices are connected in a loop through a transmission path, and a communication device that requires a transmission right sends a transmission right request signal by adding its own unique code, and in response to receiving the transmission right request signal. In a data communication system in which another communication device determines that it does not have the transmission right and the communication device that has transmitted the transmission right request signal acquires the transmission right, the communication device responds to the transmission right request signal during a certain monitoring period. determine the communication device that has acquired the transmission right, and register a code indicating each communication device that has acquired the transmission right as normal and a communication device that has not acquired the transmission right as abnormal in a sub-table corresponding to each communication device; The content of the sub-table is compared with the content of the main table in which the results during the previous monitoring period are registered to determine whether each communication device is correct or not, and the content of the main table is updated based on the content of the sub-table. A data communication monitoring method characterized by repeating the operation in at least a plurality of communication devices.
JP59259946A 1984-12-11 1984-12-11 Data communication supervisory system Granted JPS61139144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59259946A JPS61139144A (en) 1984-12-11 1984-12-11 Data communication supervisory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59259946A JPS61139144A (en) 1984-12-11 1984-12-11 Data communication supervisory system

Publications (2)

Publication Number Publication Date
JPS61139144A true JPS61139144A (en) 1986-06-26
JPH0323029B2 JPH0323029B2 (en) 1991-03-28

Family

ID=17341115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59259946A Granted JPS61139144A (en) 1984-12-11 1984-12-11 Data communication supervisory system

Country Status (1)

Country Link
JP (1) JPS61139144A (en)

Also Published As

Publication number Publication date
JPH0323029B2 (en) 1991-03-28

Similar Documents

Publication Publication Date Title
EP0359178B1 (en) Load control system
US6629247B1 (en) Methods, systems, and computer program products for communications in uninterruptible power supply systems using controller area networks
US5596437A (en) X-ray device
EP0432316A1 (en) Local communication bus system comprising a set of interconnected devices, a control bus, and a set of signal interconnections, and a device and a switchbox for use in such system
US5463619A (en) Local communication bus system comprising a set of interconnected devices, a control bus, and a set of signal interconnections, and a device and a switchbox for use in such system
EP0360338B1 (en) Local communication bus system comprising a set of interconnected devices, a control bus, and a set of signal interconnections, and a device and a switchbox for use in such system
JPS61139144A (en) Data communication supervisory system
JPH0324110B2 (en)
JPS61139145A (en) Validating system for global signal
JPH0376615B2 (en)
JPH0376614B2 (en)
JP3872987B2 (en) Bulk communication control device and bulk communication control method
JPH0715769A (en) Group control address setter for air conditioner
JP2530361B2 (en) Terminal equipment interface equipment
JPH0332937B2 (en)
JPS62290231A (en) Transmission right taking over system
JPS63226184A (en) Communication system for bidirectional catv system
JPS60170353A (en) Data transmitting system
JPS63232558A (en) System for testing digital subscriber&#39;s line equipment
JPH0286244A (en) Signal link controller
JPS62290232A (en) Transmission right taking over system
JPS62105552A (en) Communication control equipment
JPH09289674A (en) Radio interface monitor system for radio base station
JPH06334766A (en) Remote controller
JPS62245838A (en) Data communication system