JPS61220540A - Method for controlling communication - Google Patents

Method for controlling communication

Info

Publication number
JPS61220540A
JPS61220540A JP60060734A JP6073485A JPS61220540A JP S61220540 A JPS61220540 A JP S61220540A JP 60060734 A JP60060734 A JP 60060734A JP 6073485 A JP6073485 A JP 6073485A JP S61220540 A JPS61220540 A JP S61220540A
Authority
JP
Japan
Prior art keywords
station
slave
slave station
signal
master
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
JP60060734A
Other languages
Japanese (ja)
Inventor
Akira Maruyama
彰 丸山
Yosuke Mori
庸輔 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60060734A priority Critical patent/JPS61220540A/en
Publication of JPS61220540A publication Critical patent/JPS61220540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To relieve the load of a master station by allowing a slave station not receiving a signal from a host station until an estimated time to send an inquiry signal in the slave station of a system where the inquiring signal is transferred sequentially from a master station to plural salve stations. CONSTITUTION:The master station sends an inquiry signal to a slave station 1 only via a branch device 13 and a route 2 from a route 1. The slave station 1 returns the signal to the master station when a reply signal exists, but transfers the inquiry signal to a slave station when no reply signal exists, and a slave station 4 sends a signal finally to the master station. The slave stations 2-4 monitor the inquiry signal to the slave station 1 and sets a required time of a signal transferred to the own station from the point of time to a timer. When a timer is over until the signal is transferred from a high-order station, it is regarded that the inquiry signal comes from the high-order station and the inquiry signal is sent to a low-order station. Thus, the load of the master station is relieved and the inquiry signal is prevented from being vanished even if a fault takes place in a slave station.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、電気系統の監視制御システムの様に中央の親
局1台に、複数台の子局が同一通信回線に分岐装置で接
続されているシステムに係り、この親局の通信制御に関
する負荷を軽減させることを目的とする通信制御方法。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is applicable to electrical system monitoring and control systems in which a plurality of slave stations are connected to one central master station by a branching device to the same communication line. A communication control method that aims to reduce the load related to communication control on a master station in a system in which a communication control system is used.

〔発明の背景〕[Background of the invention]

従来は、例えば特開昭54−81.734のように複数
台の装置間に於ける共有バス使用権獲得に関する方式で
あった。しかし、これは、通信制御方式までは配慮され
ていなかった。また特公昭46−35931号では、隣
接する子局間で順次交信を行い、子局の故障時は、隣接
する子局が故障を検出し、その故障を親局に連絡して、
伝送ルートの変更等の障害回復の管理をしてもらう。
Conventionally, there has been a system for acquiring the right to use a shared bus between a plurality of devices, such as in Japanese Patent Application Laid-Open No. 54-81.734. However, this did not take into consideration the communication control method. Furthermore, in Japanese Patent Publication No. 46-35931, adjacent slave stations communicate sequentially, and when a slave station malfunctions, the adjacent slave station detects the failure and notifies the master station of the failure.
Have them manage failure recovery such as changing transmission routes.

これに対し、本発明では、マルチドロップ回線で子局間
交信は全子局が受信でき、各子局で、交信の時間監視及
び故障回復ができ、親局の負荷が低減できる。
In contrast, in the present invention, communication between slave stations can be received by all slave stations through a multi-drop line, and each slave station can monitor communication time and perform failure recovery, thereby reducing the load on the master station.

〔発明の目的〕[Purpose of the invention]

本発明は、親局1台に対し、複数台の子局が同一回線に
分岐装置により接続されているネットワ−クシステムに
於いて、親局の負荷を軽減させることを目的とした通信
制御方式を提供することにある。
The present invention is a communication control method for reducing the load on a master station in a network system in which a plurality of slave stations are connected to one master station via a branching device on the same line. Our goal is to provide the following.

〔発明の概要〕[Summary of the invention]

最近の計算機技術の進歩により、小規模な子局システム
でも、多少複雑な通信制御手順を実現することが可能と
なってきた。
Recent advances in computer technology have made it possible to implement somewhat complex communication control procedures even in small-scale slave station systems.

従来技術でも、当初、親局が全子局に対し、順次行って
きた問合せを、第1子局のみとし、以降の問合せを子局
間で行なわせることにより、親局り負荷の軽減をさせる
等の手法がとられてきた。
In the conventional technology, the load on the master station is reduced by initially making inquiries from the master station sequentially to all slave stations only to the first slave station, and making subsequent inquiries between the slave stations. Such methods have been taken.

しかし、従来技術では、1つでも子局が故障すると、そ
の問合せが途絶え、以降の問合せが行えなくなる。
However, in the prior art, if even one slave station fails, the inquiry is interrupted and subsequent inquiries cannot be made.

本発明は、マルチドロップ回線で、全子局が同一回線に
接続されている特徴を活かし、回線に送出される問合せ
を全子局がモニターし、次に自局に問合せが来るべき時
間監視を行い、他の子局の故障が原因で問合せが途絶え
た場合、監視の時間に従い、残っている正常な子局によ
り問合せを復旧させる方式を開発した。
The present invention utilizes the feature that all slave stations are connected to the same line in a multi-drop line, so that all slave stations monitor inquiries sent to the line, and monitor the time when the next inquiry should arrive at their own station. We have developed a method in which if the inquiry is interrupted due to a failure of another slave station, the inquiry is restored by the remaining normal slave stations according to the monitoring time.

〔発明の実施例] 第1図に親局11台に対し、同一の通信回線の下に複数
台の子局を分岐装置により接続する通信ネットワークシ
ステム(以下、マルチドロップという。)を示す。
[Embodiments of the Invention] FIG. 1 shows a communication network system (hereinafter referred to as multi-drop) in which a plurality of slave stations are connected to 11 master stations via a branching device under the same communication line.

親局が送信する信号はルートJより分岐装置(B)を経
由し、ルート2,3,4.5に送信される。子局の送信
する信号は、各々ルート2,3f4.5よりルート1に
送信される。
The signal transmitted by the master station is transmitted from route J via branching device (B) to routes 2, 3, 4.5. Signals transmitted by the slave stations are transmitted to route 1 from routes 2 and 3f4.5, respectively.

第2図では、このマルチドロップに於ける従来の通信制
御手順を説明する。
In FIG. 2, a conventional communication control procedure in this multidrop will be explained.

(1)親局は子局のデータを一定周期(T、)で収集に
行く。まず、5A=1として、データ呼出しを示す符号
Pと合せて子局に送信する。これを受けた子局では、自
分の番号と一致している局、即ち子局−1だけがこれに
応答する権利がある。子局−1−では、特に親局に送信
するデータが無い場合はNAKを送信する。親局ではこ
れを受信し、次の子局−2にSA (=2)Pを発行し
、以下順次、子局−3,4にデータの送信の問合せを行
う。
(1) The master station collects data from the slave stations at regular intervals (T,). First, 5A=1 is set, and the data is transmitted to the slave station together with the code P indicating a data call. Among the slave stations receiving this, only the station whose number matches its own, ie, slave station-1, has the right to respond. The slave station -1- transmits a NAK especially when there is no data to be transmitted to the master station. The master station receives this, issues SA (=2)P to the next slave station-2, and subsequently inquires slave stations-3 and 4 about data transmission.

(2)子局に送信するデータがある場合は、自分の局番
号の5A−Pが親局から送信された時、その応答として
、TXT (データ)を送信する。
(2) If there is data to be transmitted to the slave station, when the master station transmits its own station number 5A-P, it transmits TXT (data) as a response.

親局では、これを受信し、受信完了を意味するACK符
号を送信し、次の子局への問合せを繰返す。
The master station receives this, transmits an ACK code indicating completion of reception, and repeats the inquiry to the next slave station.

(3)一般的に電力系統システムでは、系統事故でもな
い限り子局のデータは頻繁には発生しないので、上記(
1−)の場合が多く、親局の問合せの為の処理負荷が無
駄である。
(3) In general, in power grid systems, slave station data does not occur frequently unless there is a grid failure, so the above (
1-) is often the case, and the processing load for the inquiry of the master station is wasted.

第3図に本発明の通信制御手順を説明する。FIG. 3 explains the communication control procedure of the present invention.

(1)親局は1問合せ符号5A−Pは、子局−1に対し
てのみ行う。この符号を受信した子局では5A=1の番
号と一致する子局−1のみが応答できる権利がある。子
局−1にデータがないとき、子局−1は、従来の様なN
AKではなく、親局に替ってSA (=2)Pの問合せ
符号を送信する。これで応答する権利が子局−2に移る
(1) The master station issues one inquiry code 5A-P only to the slave station-1. Among the slave stations that have received this code, only slave station-1 that matches the number 5A=1 has the right to respond. When there is no data in slave station-1, slave station-1 has N
Instead of AK, it transmits an inquiry code of SA (=2)P on behalf of the master station. The right to respond now shifts to slave station-2.

子局−2にデータが無ければ、同様に5A(=3)Pを
発行し、応答する権利を子局−3に移す。以下これを繰
返し最終の子局−4にデータが無いときは、NAKを送
信する。
If the slave station-2 has no data, it similarly issues 5A(=3)P and transfers the right to respond to the slave station-3. This process is repeated thereafter, and when the final slave station-4 has no data, it transmits a NAK.

(2)子局−3に送信するデータがある場合、子局−1
から(7)SA (=3)Pを受けてTXT (データ
)を送るが、親局では、現在どの子局に権利があるか管
理していないので、そのTXTの送り元が分からない。
(2) If there is data to be sent to slave station-3, slave station-1
The master station receives (7) SA (=3) P and sends TXT (data), but since the master station does not manage which slave station currently has the rights, it does not know the source of the TXT.

そこで子局では、TXTの前に自局の番号SA (=3
)を付加する。
Therefore, in the slave station, the own station number SA (=3
) is added.

この5A−TXTを親局が受信し、受信完了のACKを
返す。子局−3では、このAC’Kを受信して、子局−
4に応答の権利を譲る為5A(=4)Pを送信する。
The master station receives this 5A-TXT and returns an ACK indicating completion of reception. The slave station-3 receives this AC'K and transmits the
5A(=4)P is sent to transfer the right of response to 4.

(3)この様にして、親局による複数子局の応答の権利
の管理の一部を子局側に降すことにより、親局の通信制
御手段に関する処理負荷を軽減することができる。
(3) In this way, by offloading part of the management of the rights of responses of multiple slave stations by the master station to the slave stations, it is possible to reduce the processing load on the communication control means of the master station.

第4図に情報伝送を行う計算機システムの構成例を示す
FIG. 4 shows an example of the configuration of a computer system that transmits information.

(1)親局の計算機(Cpu)からのポーリング(SA
、−P)は、ルー1〜]、通信制御装置(cr、c)、
ルート2、モデム(M)を経由して回線(ルー1へ3)
に送出される。
(1) Polling (SA) from the master station computer (Cpu)
, -P) is Rou1~], communication control device (cr, c),
Route 2, line via modem (M) (3 to route 1)
will be sent to.

(2)回線では分岐装ff1(13)により各子局ヘル
ー1〜4−,5,6.7を通して送出される。
(2) On the line, the signal is transmitted by branching device ff1 (13) through each slave station Hellu 1 to 4-, 5, and 6.7.

(3)子局−3を例にとると、ルート6、モデム(M)
、ルー1−8、通信制御装置(CLC)、ルー1へ9を
経由し、子局−3の計算機(CPU)に渡される。
(3) Taking slave station-3 as an example, route 6, modem (M)
, route 1-8, communication control device (CLC), route 1 to route 9, and is passed to the computer (CPU) of slave station-3.

(4)cpuでは、通信制御手順を管理しているプログ
ラム(CNTRL )が、通信制御手順を規定したマト
リクステーブル(MTRX)に従い、2,3項(図−2
,3)で述べだ通信制御手順を実行する。
(4) In the CPU, the program (CNTRL) that manages the communication control procedure runs items 2 and 3 (Figure 2) according to the matrix table (MTRX) that defines the communication control procedure.
, execute the communication control procedure mentioned in 3).

尚、親局に送るデータは、子局内の各種データ処理プロ
グラム(APLl、2・・N)により作成され、データ
エリア(DATA)に格納され。
Note that the data to be sent to the master station is created by various data processing programs (APL1, 2...N) in the slave station and stored in the data area (DATA).

CNTRLはこのDATへの中をルーjへ11で見て、
親局へ送信すべきデータの有無を確認し、データがあれ
ば、これを送信する。
CNTRL looks inside this DAT at 11 to Rouj,
Check whether there is data to be sent to the master station, and if there is data, send it.

第5図に従来の通信制御手順マトリクスを示す。FIG. 5 shows a conventional communication control procedure matrix.

(第3図のMTRXの内容を示す。) (1)伝送が全(行なわれていない状態「]−」がアイ
ドルであるが、この時、要因への自局番号のポーリング
(SA−P)が来たとき、子局はデータの有無をチェッ
クし、 (a)データが無ければ、NAKを返して、状態は「1
」のままでいる。
(The contents of MTRX in Figure 3 are shown.) (1) The state "]-" in which no transmission is performed is idle, but at this time, polling of the own station number (SA-P) to the cause When the slave station comes, the slave station checks the presence or absence of data. (a) If there is no data, it returns NAK and the status becomes "1".
” remain as it is.

(b)親局に送信すべきデータ(第3図のDATA)が
あればこれをTXTとして送信し状態「2」に移る。
(b) If there is data to be transmitted to the master station (DATA in FIG. 3), it is transmitted as TXT and the state moves to state "2".

(2)親局では子局からのTXTを受信し、完了すると
、子局にACKを返すが、子局では、このACKを受信
して(即ち、状態r2Jで要因Cがあったとして)、状
態「]−」のアイドルに戻る。
(2) The master station receives TXT from the slave station, and when it is completed, returns ACK to the slave station, but the slave station receives this ACK (that is, assuming that there is a factor C in state r2J), Return to idle state "]-".

(3)子局では、要因Bの様に、自局以外の番号の5A
−Pが来ても、これは全く無視する。
(3) In the slave station, as in factor B, 5A of a number other than the own station
Even if -P comes, it is completely ignored.

第6図に従来方式の場合の回線障害時の通信制御手順を
示す。
FIG. 6 shows the communication control procedure when a line failure occurs in the conventional system.

従来方式に於いて、子局−2に故障が発生した場合を例
にとり、説明する。
In the conventional system, a case will be explained taking as an example a case where a failure occurs in slave station-2.

(1)親局は、子局−1の番号のポーリング(SA・P
)を送信する。これに対し、子局−1はデータが無けれ
ばN A Kを送信する。
(1) The master station polls the number of slave station-1 (SA/P
) to send. On the other hand, if slave station-1 has no data, it transmits NAK.

(2)次に親局は、子局−2にSA (=2)Pを送信
する。子局−2が正常であれば、本来、NAKかTXT
が返送されるはずであるが、子局−2が何らかの原因で
故障している場合何の応答も無いことになる。
(2) Next, the master station transmits SA (=2)P to slave station-2. If slave station-2 is normal, it should be NAK or TXT.
should be returned, but if slave station-2 is out of order for some reason, there will be no response.

(3)そこで、親局は子局からの応答時間(T2)を監
視し、この時間が経過したら、その子局は故障と判断し
、次の子局−3の番号の5A(=3)・Pを送信する。
(3) Therefore, the master station monitors the response time (T2) from the slave station, and when this time has elapsed, the slave station is judged to be out of order, and the next slave station -3 number 5A (=3). Send P.

(4)子局−3は正常で送信すべきデータがなければ、
NAKを返送し、以降、親局は、各子局に順次、問合せ
を行っていく。
(4) If slave station-3 is normal and there is no data to send,
After returning the NAK, the master station makes inquiries to each slave station in turn.

(5)尚、応答監視時間(T2)は、下記の様に決めら
れる。
(5) Note that the response monitoring time (T2) is determined as follows.

T2−t、+も2 第7図に本発明の通信制御手順マトリクス(MTRX)
を示す。
T2-t, +also 2 Figure 7 shows the communication control procedure matrix (MTRX) of the present invention.
shows.

(1)伝送が全く行なわれていない状態「1」がアイド
ルであるが、この時、要因Aの自局番号のポーリング(
SA−P)が来たとき、子局は、データの有無をチェッ
クし、 (、)データが無ければ、次の子局にデータの送信の権
利を譲る為、次局の番号のポーリング(SA−P)を送
信する。
(1) The state "1" in which no transmission is performed is idle, but at this time, polling of the own station number of factor A (
When SA-P) arrives, the slave station checks the presence or absence of data, and if there is no data (,), polls the next station's number (SA-P) in order to transfer the right to transmit data to the next slave station. -P).

(i)子局−1なら5A=j+1とする。(i) For slave station -1, set 5A=j+1.

(it)但し、最終子局の子局−4だけは、次に権利を
譲る必要が無い為、NAKを親局に返す。状態「1」の
まま、 (b)データが有れば、これをT X、 Tとし、自局
(jO) 番号のSAを付けて、親局へ送信し、状態「2」に移る
(it) However, only the final slave station, slave station-4, returns a NAK to the master station because it does not need to yield the right next time. Remain in state "1", (b) If there is data, set it as T X, T, attach SA of own station (jO) number, transmit to master station, and move to state "2".

(2)親局がTXTを受信完了するとACKを返すが、
子局では、状態「2」での要因Cの処理、即ち、次の子
局にデータの送信権利を譲る為次局の番号の5A−Pを
送信する。但し、最終子局は、何もせずに終了する。
(2) When the master station completes receiving TXT, it returns ACK, but
The slave station processes factor C in state "2", that is, transmits the number 5A-P of the next station in order to transfer the data transmission right to the next slave station. However, the final slave station ends without doing anything.

そして状態は「1」のアイドルに戻る。The state then returns to "1", which is idle.

(3)アイドル状態rlJで要因Bの他局番号の5A−
Pが来たとき、(例として、ポーリングの5A=jで自
局の子局番号を、jとする。)(a)その、他局番号が
、自局より若いとき、即ち、j<jの時、1つの子局間
のデータ伝送で最大かかると思われる時間をT3 とし
た場合、その応答監視時間T4をタイマーにセットする
(3) 5A- of other station number of cause B in idle state rlJ
When P comes (as an example, let's assume that the slave station number of the own station is j in polling 5A=j) (a) When the other station number is younger than the own station, that is, j<j In this case, if the maximum time expected to be taken for data transmission between one slave station is T3, then the response monitoring time T4 is set in the timer.

T4=(j、 −、i )x T3 (b)尚、T3 は、下記の様に求められる。T4=(j, -, i)x T3 (b) Note that T3 is determined as follows.

(c)その他局番号が自分より老いている時、即ち、i
>jの時は、自局のデータ送信の権利は、すでに終って
いると判断し、これを無視する。
(c) When the station number is older than the other station number, i.e.
>j, it is determined that the right of the own station to transmit data has already ended, and this is ignored.

(4)アイドル状態「1」で要因りのタイマーがセット
された時間になったとき、これは自局より若い番号の子
局が、本来なら自局にデータ送信の権利を譲る為に自局
のSA−Pを送信すべきところ、故障していて、5A−
Pが送信できないと判断し、このまま待っていても、自
局の5A−Pは送信されず、データ送信の権利が得られ
なくなるので、仮想的に自局に権利が譲られたとして、
状態rlJ 、要因Aの自局番号のS A、 −Pが来
たときと全く同じ処理を行う。
(4) When the idle state is "1" and the time set by the factor-based timer reaches the set time, this means that a slave station with a lower number than the own station would normally give up the right to send data to the own station. 5A-P was supposed to be sent, but it was out of order.
Even if it determines that P cannot transmit and continues to wait, the own station's 5A-P will not be transmitted and the right to send data will no longer be obtained, so the right will be virtually transferred to the own station.
State rlJ, SA of own station number of cause A, performs exactly the same processing as when -P arrives.

これトこより、子局の一部が故障していても健全な子局
のデータ送信には影響が無いようにする。
From this, even if some of the slave stations are out of order, the data transmission of healthy slave stations is not affected.

第8図に本発明の回線障害時の通信制御手順を示す。FIG. 8 shows a communication control procedure in the event of a line failure according to the present invention.

6項と同様に、子局−2に故障が発生した場合を例にと
り、説明する。
As in Section 6, a case where a failure occurs in slave station-2 will be explained as an example.

(1)親局は子局−1,に対し、SA (=−1)  
・Pを送信する。
(1) The master station has SA (=-1) for the slave station -1.
・Send P.

(8)子局−1は、正常で、特に送信すべきデータが無
ければ、子局−2に対し、SA (=2)・Pを送信す
る。
(8) If the slave station-1 is normal and has no particular data to transmit, it transmits SA (=2)·P to the slave station-2.

(b)この親局の送信した5A=1に対し子局−3,4
では、自分より若い番号の子局が全て故障している可能
性があるとして、応答監視時間T4 をタイマーにセラ
1〜する。値は下記(i)子局−3では、T4=2×T
3 (jj )子局−4では、T4=3XT□(2)次に、
子局−3,4では、子局−1が送信したSA (=2)
  ・Pを受信する。(上記(1)(a)項による。) (a)この5A=2を受信して、子局−3,4は、自分
より若い番号のうち、番号−1の子局は正常であると判
断し、前回セットしたタイマーを一部リセット、改めて
、下記の応答監視時間T4をセットする。
(b) For 5A=1 transmitted by this master station, slave stations -3, 4
Now, assuming that there is a possibility that all the slave stations with numbers lower than the slave station are out of order, the response monitoring time T4 is set as a timer. The value is as follows (i) For slave station -3, T4 = 2 x T
3 (jj) At slave station-4, T4=3XT□(2) Next,
For slave stations-3 and 4, the SA sent by slave station-1 (=2)
・Receive P. (According to paragraph (1) (a) above.) (a) Upon receiving this 5A=2, slave stations -3 and -4 determine that among the numbers younger than themselves, the slave station with number -1 is normal. After determining this, partially reset the timer that was set last time, and set the following response monitoring time T4 again.

(i)子局−3では、T4=T3 (ii)子局−4では、T4=2XT。(i) In slave station-3, T4=T3 (ii) For slave station-4, T4=2XT.

(b)この5A(=2)  ・Pに対し1本来応答すべ
き子局−2は故障している為、子局−3に対する問合せ
、即ち、SA、(=3)  ・Pは送信されない。
(b) Since slave station-2, which should originally respond to this 5A (=2) P, is out of order, the inquiry to slave station-3, that is, SA, (=3) P, is not sent.

(3)やがて、子局−3では、SA (=3)  ・P
を受信できず、応答監視時間T4が経過してしまう。
(3) Eventually, in slave station-3, SA (=3) ・P
cannot be received, and the response monitoring time T4 elapses.

(a)この時、子局−3では、子局−2を故障と判断し
、自局にデータの送信権が与えられたものとする。
(a) At this time, it is assumed that the slave station-3 determines that the slave station-2 is out of order and is given the right to transmit data.

(b)そこで、子局−3は、特に送信すべきデータが無
ければ、次の子局−4にデータの送信権を請る為、5A
(=4−)  ・Pを送信する。
(b) Therefore, if there is no particular data to be transmitted, slave station-3 requests the next slave station-4 for the right to transmit data, so it sends 5A
(=4-) ・Send P.

(4)子局−4では、自局の番号のポーリング5A(=
4)・Pを受信する。
(4) In slave station-4, polling 5A (=
4) Receive P.

(a)これにより、子局−3は正常と判断し、セットし
たタイマーT4をリセットする。
(a) As a result, the slave station-3 determines that it is normal and resets the set timer T4.

(b)次に、データの送信権が自分に与えられたと判断
し、データの有無をチェックし、特に送信すべきデータ
がなければ、自分が最終子局で、次にデータの送信権を
譲る子局も無い為、親局にNAKを送信する。
(b) Next, it determines that it has been given the right to send data, checks whether there is any data, and if there is no particular data to send, it becomes the final slave station and hands over the right to send data next. Since there are no slave stations, a NAK is sent to the master station.

(5)この様にして、1部子局に故障があっても全体と
しては、データの送信権の移譲は、正常に行なわれる。
(5) In this way, even if one slave station is out of order, the data transmission right is transferred normally as a whole.

本発明の実施例では、マルチドロップで接続される子局
が10局の場合、1局当り計算機の問合せ負荷が5m秒
、これを1秒間周期で行うと約5%の負荷であったもの
を10分の]の0.5  %の低負荷を実現することが
できる。
In the embodiment of the present invention, when there are 10 slave stations connected by multi-drop, the computer inquiry load per station is 5 ms, which is about 5% of the load when this is done at a 1 second cycle. A low load of 0.5% for 10 minutes can be achieved.

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

本発明によると子局の問合せのための計算機負荷を大幅
に低減することができる。
According to the present invention, the computer load for inquiries of slave stations can be significantly reduced.

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

第1図はマルチドロップシステムの構成例を、第2図は
従来システムの通信制御手順を、第3図は本発明の通信
制御手順を、第4図は通信制御を行う一般的な計算機シ
ステムの構成を、第5図は従来方式の子局の通信制御マ
トリクスを、第6図は従来方式の回線障害時の通信制御
手順を、第7図は本発明の子局の通信制御マトリクスを
、第8図は本発明の回線障害時の通信制御手順をそれぞ
れ示す。 SA・・・子局番号、P・・・ポーリング(データの有
無を問合せる符号)、NAK・・・子局でデータが無い
ことを示す符号、TXT・・・テキスト(子局から親局
に送るデータ)AC,K・・・テキストの受信の完了を
示す符号、B・・・分岐装置(同一の通信回線の下に複
数の子局を接続する場合の信号分岐を行う装置)、T1
・・・データの収集の一定周期、T2・・・従来方式の
応答監視時間、T3・・・本発明の応答監視時間。
Figure 1 shows a configuration example of a multi-drop system, Figure 2 shows the communication control procedure of a conventional system, Figure 3 shows the communication control procedure of the present invention, and Figure 4 shows a general computer system that performs communication control. 5 shows the communication control matrix of the slave station in the conventional system, FIG. 6 shows the communication control procedure in the case of a line failure in the conventional system, and FIG. 7 shows the communication control matrix of the slave station in the present invention. FIG. 8 shows the communication control procedure when a line failure occurs according to the present invention. SA...Slave station number, P...Polling (a code to inquire about the presence or absence of data), NAK...A code indicating that there is no data at the slave station, TXT...Text (sent from the slave station to the master station) Data) AC, K... Code indicating completion of text reception, B... Branching device (device for signal branching when connecting multiple slave stations under the same communication line), T1
... fixed period of data collection, T2 ... response monitoring time of conventional method, T3 ... response monitoring time of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1、1台の親局と複数台の子局が同一回線で分岐装置に
よりマルチドロップ状に接続されている構成で情報収集
の際の問合せ信号の送信に関し、親局は第1子局のみに
行い、以降、各子局が順次次の子局に問合せ信号を送信
していく通信制御方式に於いて、回線に第1子局に対す
る問合せ信号を送信し、該信号により各子局はその後自
局宛に問合せ信号が送信されるべきあらかじめ定められ
た時間を算出設定し、第2子局以降の子局は自局よりも
1つ前の子局からの問合せ信号か自局に設定した時間経
過のいずれか先に到達した信号が自局への問合せ信号で
あると判断し、親局への信号伝送あるいは次子局への問
合せ信号を発生することを特徴とする通信制御方法。
1. In a configuration in which one master station and multiple slave stations are connected in a multi-drop manner using a branching device on the same line, the master station only sends inquiry signals to the first slave station when collecting information. In a communication control method in which each slave station sequentially transmits an inquiry signal to the next slave station, an inquiry signal for the first slave station is sent to the line, and this signal causes each slave station to automatically Calculate and set the predetermined time at which an inquiry signal should be sent to the station, and the second and subsequent slave stations will receive an inquiry signal from the previous slave station or the time set for their own station. A communication control method characterized by determining that a signal that arrives first in time is an inquiry signal to the own station, and transmitting the signal to a master station or generating an inquiry signal to the next slave station.
JP60060734A 1985-03-27 1985-03-27 Method for controlling communication Pending JPS61220540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60060734A JPS61220540A (en) 1985-03-27 1985-03-27 Method for controlling communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60060734A JPS61220540A (en) 1985-03-27 1985-03-27 Method for controlling communication

Publications (1)

Publication Number Publication Date
JPS61220540A true JPS61220540A (en) 1986-09-30

Family

ID=13150790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60060734A Pending JPS61220540A (en) 1985-03-27 1985-03-27 Method for controlling communication

Country Status (1)

Country Link
JP (1) JPS61220540A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63227300A (en) * 1987-03-17 1988-09-21 Mitsubishi Cable Ind Ltd Data transmission system
JPH0440197A (en) * 1990-06-06 1992-02-10 Matsushita Electric Ind Co Ltd Collection method for abnormal information in steel tower

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63227300A (en) * 1987-03-17 1988-09-21 Mitsubishi Cable Ind Ltd Data transmission system
JPH0440197A (en) * 1990-06-06 1992-02-10 Matsushita Electric Ind Co Ltd Collection method for abnormal information in steel tower

Similar Documents

Publication Publication Date Title
JPH0583942B2 (en)
JPS61220540A (en) Method for controlling communication
JPH0675887A (en) Polling interval determining system
JPH0421150Y2 (en)
JPS6121642A (en) Data collecting system
JPS6158357A (en) Data communication system
JPH088573B2 (en) Data communication method of control system
JPH06224975A (en) Method for resetting modules connected with each other, and system using this method
JPH03268152A (en) Information processing network system
JPS59225402A (en) Automatic control method
Defeo et al. An evaluation plan of bus architectures and protocols using the NASA Ames intelligent redundant actuation system
JPS5938806A (en) Automatic operation system of system equipment and device
JPS61118803A (en) Programmable controller system
JPS6326758A (en) Packet communication equipment by dynamic polling
JPS6141248A (en) Rolling type remote supervisory and controlling equipment
JPH01152838A (en) High speed data collection system and high speed terminal supervision system
JPH0346855B2 (en)
JPH07210485A (en) Application proces communication method between information processors and information processor using the same
JPS63113714A (en) Communication network for closed area
JPH1141673A (en) Data collection method
JPS60241154A (en) Multiplex answer telegram control system
JPS63194445A (en) Multipoint communication system
JPH04183033A (en) Transmission abnormality treatment
JPH05151129A (en) Network input/output device
WO1996033466A1 (en) Performing input/output operations in a multiprocessor system