JPH02209041A - Method for detecting faulty slave station - Google Patents

Method for detecting faulty slave station

Info

Publication number
JPH02209041A
JPH02209041A JP3042289A JP3042289A JPH02209041A JP H02209041 A JPH02209041 A JP H02209041A JP 3042289 A JP3042289 A JP 3042289A JP 3042289 A JP3042289 A JP 3042289A JP H02209041 A JPH02209041 A JP H02209041A
Authority
JP
Japan
Prior art keywords
address
station
area
slave station
slave
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
JP3042289A
Other languages
Japanese (ja)
Inventor
Mitsuyo Hasegawa
長谷川 充世
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3042289A priority Critical patent/JPH02209041A/en
Publication of JPH02209041A publication Critical patent/JPH02209041A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To detect a slave station to be faulty early without any wait time by recognizing it at which slave station fault takes place depending on a decremented count in a count area of a circulated communication frame, returning an address of a normal slave station at present immediately and detecting the faulty slave station. CONSTITUTION:A master station 10 uses a readout section 31 to read a count from a count area 22 of a circulated communication frame, sets a rearranged number to a transmission destination address area 20 of the circulated communication frames of the number to be decremented with an instruction setting section 32 when the count is decremented sequentially, writes an instruction representing the return of its own station to a return instruction write area 23 and sends the result and writes the address of its own station to an address write area 24 of the communication frame and returns it from the slave station of the said rearrangement. Then the address of the normal slave station is recognized from the address written in the address write area 24 of the communication frame received sequentially.

Description

【発明の詳細な説明】 〔概 要〕 親局と複数の子局がループ状に接続されたループ型ネッ
トワークにての障害子局検出方法に関し、障害子局の検
出が早く出来る障害子局検出方法の提供を目的とし、 親局では、初期化部にて、通信フレームのカウント値領
域に初期値を設定して送信し、各子局では読出し加算設
定部にて、該カウント値領域よりカウント値を読み出し
、1を加算し、1を加算した値を該カウント値領域に設
定して送信すると共に、並び順として記憶し、該親局で
は、読出し部にて、周回してきた該通信フレームの該カ
ウント値領域より設定値を読み出し、子局数を把握し、
変化があれば、命令設定部にて、変化した数の周回する
通信フレームの送信先アドレス領域に、順次並び順の番
号を設定し、返送命令書込み領域に自局のアドレスを返
送しろとの命令を書き込み送信し、 これを受信した子局は、並び順アドレス検出自局アドレ
ス設定部にて、アドレスが自局の並び順に該当するかを
検出し、自局宛であれば該通信フレームのアドレス書込
み領域に自局のアドレスを書込み送信し、 該親局では、これ等の通信フレームを順次受信し、子局
アドレス認識部にて、該アドレス書込み領域より正常な
子局のアドレスを読み出し認識するように構成する。
[Detailed description of the invention] [Summary] Regarding a method for detecting a faulty slave station in a loop network in which a master station and a plurality of slave stations are connected in a loop, a faulty slave station detection method that can quickly detect a faulty slave station In order to provide a method, in the master station, the initialization unit sets an initial value in the count value area of the communication frame and transmits it, and in each slave station, the read addition setting unit sets the initial value from the count value area. The value is read out, 1 is added to it, and the value obtained by adding 1 is set in the count value area and transmitted, and it is also stored as a sort order. In the master station, the reading unit reads out the value of the circulating communication frame. Read the setting value from the count value area, grasp the number of slave stations,
If there is a change, use the command setting section to set the sequential order number in the transmission destination address area of the communication frame circulating the changed number of times, and send the address of the own station back to the return command writing area. When the slave station receives this, it detects whether the address corresponds to the order of its own station in the sorting order address detection own station address setting section, and if it is addressed to its own station, it uses the address of the communication frame. The master station writes and transmits the address of its own station in the write area, and the master station sequentially receives these communication frames, and the slave station address recognition unit reads and recognizes the normal slave station address from the address write area. Configure it as follows.

[産業上の利用分野〕 本発明は、親局と複数の子局が伝送路にてループ状に接
続されたループ型ネットワークにおいて、親局にて障害
となった子局を早(検出出来る障害子局検出方法に関す
る。
[Industrial Application Field] The present invention provides a loop network in which a master station and a plurality of slave stations are connected in a loop through a transmission path, in which a master station can detect a failed slave station quickly (a failure that can be detected). This invention relates to a slave station detection method.

〔従来の技術〕[Conventional technology]

第6図は1例のループ型ネットワークを示す図、第7図
は従来例のポーリングの場合の通信フレームのフレーム
フォーマットを示す図、第8図は従来例の障害局検出の
シーケンス図である。
FIG. 6 is a diagram showing an example of a loop type network, FIG. 7 is a diagram showing a frame format of a communication frame in the case of polling in a conventional example, and FIG. 8 is a sequence diagram for detecting a faulty station in a conventional example.

ループ型ネットワークとしては、第6図に示す如く、親
局10と、アドレスAの子局11からアドレスEの子局
15迄5局が伝送路にてループ状に接続され、アドレス
Bの子局12.及びアドレスEの子局15が障害となり
バイパスされた場合の、親局10にての障害局検出を例
にとり以下説明する。
As shown in FIG. 6, in a loop type network, a master station 10 and five stations from a slave station 11 at address A to a slave station 15 at address E are connected in a loop through a transmission path, and a slave station at address B 12. Detection of a faulty station by the master station 10 when the slave station 15 at address E becomes faulty and is bypassed will be described below as an example.

従来障害局を検出するのには、第7図に示す如く、送信
先アドレス領域20.送信元アドレス領域21を有する
周回する通信フレームの制御領域に、自局のアドレスを
返送しろとの命令を書き込む返送命令書込み領域23及
び、自局のアドレスを書き込むアドレス書込み領域24
を設け、親局10は、送信元アドレス領域21には自局
のアドレスを書込み、送信先アドレス領域20に、まず
、1番目の子局11のアドレスAを書込み、返送命令書
込み領域23には自局のアドレスを返送しろとの命令を
書き込み、第8図に示す如く送信する。
Conventionally, to detect a faulty station, as shown in FIG. 7, the destination address area 20. A return command writing area 23 in which a command to return the address of the own station is written in the control area of the circulating communication frame having the source address area 21, and an address writing area 24 in which the address of the own station is written.
The master station 10 writes its own address in the source address area 21, first writes the address A of the first slave station 11 in the destination address area 20, and writes the address A of the first slave station 11 in the return command writing area 23. A command to return the address of the own station is written and transmitted as shown in FIG.

すると、子局11は自局のアドレスAをアドレス書込み
領域24に書込み返送する。
Then, the slave station 11 writes its own address A into the address writing area 24 and sends it back.

これにより親局10は、子局11が障害でないことが判
る。
This allows the master station 10 to know that the slave station 11 is not at fault.

次には、送信先アドレス領域20に、2番目の子局12
のアドレスBを書込み、上記と同様にして、第8図に示
す如く送信する。
Next, the second slave station 12 is added to the destination address area 20.
Write address B of , and transmit as shown in FIG. 8 in the same manner as above.

この基金子局12は障害でバイパスされているので、返
送されない。
Since this funder station 12 is bypassed due to a failure, no return is made.

親局10は、返送を待っているがタイムアウトになり子
局12は障害であることを知る。
The master station 10 waits for a return, but times out and learns that the slave station 12 is at fault.

次は、送信先アドレス領域20に、3番目の子局13の
アドレスCを書込み、上記と同様にして、第8図に示す
如く送信する。
Next, the address C of the third slave station 13 is written in the destination address area 20, and the transmission is performed in the same manner as above, as shown in FIG.

すると、子局13は自局のアドレスCをアドレス書込み
領域24に書込み返送する。
Then, the slave station 13 writes its own address C into the address writing area 24 and sends it back.

これにより親局10は、子局13が障害でないことが判
る。
This allows the master station 10 to know that the slave station 13 is not at fault.

同様にして、子局14(アドレスD)は障害でないこと
が判り、子局15(アドレスE)が障害であることが判
る。
Similarly, it is determined that the slave station 14 (address D) is not at fault, and that the slave station 15 (address E) is at fault.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来の障害子局検出方法では、アドレス
書込み領域24にアドレスが書き込まれ返送されてくる
のを、親局10にてタイムアウトになる迄待ってから検
出するので、検出が遅くなる問題点がある。
However, in the conventional method of detecting a faulty slave station, the master station 10 waits until a timeout occurs in the master station 10 before detecting the address being written in the address writing area 24 and sent back, so there is a problem that the detection is delayed. be.

本発明は、親局にて、障害子局の検出が早く出来る障害
子局検出方法の提供を目的としている。
An object of the present invention is to provide a faulty slave station detection method that allows a master station to quickly detect a faulty slave station.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図(A)に示す如く、送信先アドレス領域20、送
信元アドレス領域21を有する周回する通信フレーム中
にカウント値を書き込むカウント値領域22及び、自局
のアドレスを返送しろとの命令を書き込む返送命令書込
み領域23及び、自局のアドレスを書き込むアドレス書
込み領域24を設ける。
As shown in FIG. 1(A), there is a count value area 22 in which a count value is written in a circulating communication frame that has a destination address area 20 and a source address area 21, and a command to return the address of the own station. A return command writing area 23 for writing and an address writing area 24 for writing the address of the own station are provided.

又第1図(B)に示す如く、該親局10には、初期化部
30.読出し部31.命令設定部32.子局アドレス認
識部33を、該複数の子局11,12.13.  ・・
・には、読出し加算設定部40及び、並び順アドレス検
出自局アドレス設定部41を設ける。
Further, as shown in FIG. 1(B), the master station 10 includes an initialization section 30. Reading unit 31. Command setting section 32. The slave station address recognition unit 33 is connected to the plurality of slave stations 11, 12, 13 .・・・
- is provided with a read addition setting section 40 and a sort order address detection own address setting section 41.

そして、該親局10では、該初期化部3oにて、通信フ
レームの該カウント値領域22に初期値を設定して送信
し、各子局では該読出し加算設定部40にて、該カウン
ト値領域22よりカウント値を読み出し、1を加算し、
1を加算した値を該カウント値領域22に設定して送信
すると共に、並び順として記憶する。
Then, in the master station 10, the initialization unit 3o sets an initial value in the count value area 22 of the communication frame and transmits it, and in each slave station, the read addition setting unit 40 sets the count value. Read the count value from area 22, add 1,
The value obtained by adding 1 is set in the count value area 22 and transmitted, and is also stored as the arrangement order.

該親局10では、該読出し部31にて、周回してきた該
通信フレームの該カウント値領域22より設定値を読み
出し、子局数を把握する。
In the master station 10, the readout section 31 reads out the set value from the count value area 22 of the circulating communication frame to determine the number of slave stations.

このようにして常に、子局数を把握してけおり、変化が
あれば、該命令設定部32にて、変化した数の周回する
通信フレームの送信先アドレス領域20に、順次、並び
順の番号を設定し、該返送命令書込み領域23に自局の
アドレスを返送しろとの命令を書き込み送信する。
In this way, the number of slave stations is always kept track of, and if there is a change, the command setting unit 32 sequentially sets the number in the order of arrangement in the transmission destination address area 20 of the communication frame that circulates according to the changed number. is set, and a command to return the address of the own station is written in the return command writing area 23 and transmitted.

これを受信した子局は、該並び順アドレス検出自局アド
レス設定部41にて、アドレスが自局の並び順に該当す
るかを検出し、自局宛であれば該通信フレームの該アド
レス書込み領域24に自局のアドレスを書込み送信する
The slave station that receives this detects whether the address corresponds to the order of arrangement of the own station in the order address detection own address setting section 41, and if it is addressed to the own station, writes the address in the address writing area of the communication frame. 24 and send it.

すると、該親局10では、これ等の通信フレームを順次
受信し、核子局アドレス認識部33で、該アドレス書込
み領域24より正常な子局のアドレスを読み出し認識す
る。
Then, the master station 10 sequentially receives these communication frames, and the core slave station address recognition section 33 reads and recognizes the normal slave station address from the address writing area 24.

〔作 用〕[For production]

本発明によれば、親局10は、読出し部31にて、周回
する通信フレームのカウント値領域22よりカウント値
を読み出し、カウント値が減少するかを見ることで、常
に、障害となりバイパスされている子局があるかを検出
している。
According to the present invention, the master station 10 uses the reading unit 31 to read the count value from the count value area 22 of the circulating communication frame, and by checking whether the count value decreases or not, the master station 10 always prevents the blockage from becoming an obstacle and bypassing the communication frame. Detecting whether there are any slave stations present.

そして、カウント値が減少すると、命令設定部32にて
、減少した数の周回する通信フレームの送信先アドレス
領域20に、順次、並び順の番号を設定し、該返送命令
書込み領域23に自局のアドレスを返送しろとの命令を
書き込み送信し、該当並び順の子局より、該通信フレー
ムのアドレス書込み領域24に自局のアドレスを書込み
返送させる。
Then, when the count value decreases, the command setting unit 32 sequentially sets the serial number in the transmission destination address area 20 of the communication frames circulating in the decreased number, and the own station in the return command writing area 23. A command to return the address of the communication frame is written and transmitted, and the slave stations in the corresponding arrangement order write their own addresses in the address writing area 24 of the communication frame and send them back.

そして、順次受信する通信フレームの、アドレス書込み
領域24に書き込んだアドレスより、正常な子局のアド
レスを認識する。
Then, the address of the normal slave station is recognized from the address written in the address writing area 24 of the communication frames sequentially received.

よって、障害になった子局を検出することが出来る。Therefore, a faulty slave station can be detected.

この場合は、待ち時間なく障害子局を検出することが出
来るので、検出時間を早(することが出来る。
In this case, the faulty slave station can be detected without waiting time, so the detection time can be shortened.

〔実施例〕〔Example〕

第2図は本発明の実施例の通信フレームのフレームフォ
ーマットを示す図、第3図は本発明の実施例の親局の要
部の構成を示すブロック図、第4図は本発明の実施例の
子局の構成を示すブロック図、第5図は本発明の実施例
の障害局検出のシーケンス図である。
FIG. 2 is a diagram showing the frame format of a communication frame in an embodiment of the present invention, FIG. 3 is a block diagram showing the configuration of the main part of a master station in an embodiment of the present invention, and FIG. 4 is an embodiment of the present invention. FIG. 5 is a block diagram showing the configuration of a slave station, and FIG. 5 is a sequence diagram for detecting a faulty station according to an embodiment of the present invention.

本発明の場合は、通信フレームの制’86i域に、第2
図に示す如く、第7図の従来例の場合よりも更に、カウ
ント値領域22を設ける。
In the case of the present invention, the second
As shown in the figure, a count value area 22 is further provided than in the conventional example shown in FIG.

又第6図に示す親局10には、第3図に示す如く、通常
の処理を行うデータ処理部34以外に、初期化部30.
読出し部31.命令設定部32゜子局アドレス認識部3
3を設ける。
In addition, the master station 10 shown in FIG. 6 includes an initialization section 30, in addition to a data processing section 34 that performs normal processing, as shown in FIG.
Reading unit 31. Command setting section 32゜Slave station address recognition section 3
3 will be provided.

又第6図に示す子局11〜15には、第4図に示す如く
、通常の処理を行うデータ処理部49以外に、読出し部
42.加算部43.設定部44゜自局アドレス設定部4
5.記憶部46.並び順アドレス検出・命令解析部47
.比較部48を設ける。
Further, as shown in FIG. 4, the slave stations 11 to 15 shown in FIG. 6 include a reading section 42, in addition to a data processing section 49 that performs normal processing. Addition section 43. Setting section 44゜ Own station address setting section 4
5. Storage unit 46. Sort order address detection/command analysis section 47
.. A comparison section 48 is provided.

そして、親局10では、該初期化部30にて、通信フレ
ームのカウント値領域22に初期値0を設定して送信し
、各子局では読出し部42にてカウント値領域22より
カウント値を読み出し、加算部43にて1を加算し、l
を加算した値を、設定部44にてカウント値領域22に
設定して送信すると共に、記憶部46にて並び順として
記憶する。
Then, in the master station 10, the initialization unit 30 sets the initial value 0 in the count value area 22 of the communication frame and transmits it, and in each slave station, the readout unit 42 reads the count value from the count value area 22. Read, add 1 in addition section 43, and add l
The setting unit 44 sets the added value in the count value area 22 and transmits it, and also stores it in the storage unit 46 as the arrangement order.

従って、第6図の子局11の並び順はlとなり、子局1
2の並び順は2となり、子局13,14゜15の並び順
は、3,4.5となり、カウント値領域22の値が5と
なった通信フレームが親局10に入力する。
Therefore, the arrangement order of the slave stations 11 in FIG. 6 is l, and the slave stations 1
The arrangement order of 2 is 2, and the arrangement order of slave stations 13, 14, 15 is 3, 4.5, and a communication frame whose count value area 22 is 5 is input to the master station 10.

親局10では、読出し部31にて、カウント値領域22
より5を読みだし、子局の数が5であることが判る。
In the master station 10, the reading unit 31 reads the count value area 22.
5 is read out, and it is found that the number of slave stations is 5.

若し、子局が障害になりバイパスされると、バイパスさ
れた子局には通信フレームが入力せず、カウント値に1
が加算されないので、カウント値領域22のカウント値
は障害となった子局の数だけ減少する。
If a slave station fails and is bypassed, communication frames will not be input to the bypassed slave station and the count value will be 1.
is not added, the count value in the count value area 22 decreases by the number of slave stations that have caused a problem.

減少することにより、親局10は、何れかの子局が障害
になったことが判る。
By decreasing the number, the master station 10 knows that one of the slave stations has become a failure.

この場合、子局12.15が障害になると、子局11の
並び順は1.子局13の並び順は2、子局14の並び順
は3でカウント値領域22のカウント値は3となる。
In this case, if slave station 12.15 becomes a failure, the order of slave stations 11 will be 1. The arrangement order of the slave stations 13 is 2, the arrangement order of the slave stations 14 is 3, and the count value in the count value area 22 is 3.

そこで、親局10は3つの通信フレームの送信先アドレ
ス領域20に夫々1,2.3を書込み、送信元アドレス
領域21には親局のアドレスを書込み、又夫々の通信フ
レームの返送命令書込み領域23には、自局のアドレス
を返送しろとの返送命令を書込み送信する。
Therefore, the master station 10 writes 1 and 2.3 in the destination address area 20 of the three communication frames, writes the address of the master station in the source address area 21, and writes the return command write area of each communication frame. 23, a return command to return the address of the own station is written and transmitted.

すると、子局11.13.14では、並び順アドレス検
出・命令解析部47にて、通信フレームの送信先アドレ
ス領域20より並び順のアドレスを取り込み、比較部4
8にて、記憶部46に記憶している並び順と比較し、合
致していれば、通信フレームを取り込み返送命令書込み
領域23より自局のアドレスを返送しろとの返送命令を
解読し、取り込んだ通信フレームのアドレス書込み領域
24に、自局アドレス設定部45にて自局のアドレス(
この場合は、子局11.13.”14にて自局のアドレ
スA、C,Dを夫々書き込む)を書込み、第5図に示す
如(送信する。
Then, in the slave station 11, 13, 14, the order address detection/command analysis section 47 takes in the order address from the destination address area 20 of the communication frame, and the comparison section 4
At step 8, the communication frame is compared with the arrangement order stored in the storage unit 46, and if it matches, the communication frame is fetched, the return command to return the address of the own station is decoded from the return command writing area 23, and the communication frame is fetched. The local station address setting section 45 sets the local station address (
In this case, slave stations 11.13. 14, write the addresses A, C, and D of the own station, respectively), and transmit as shown in FIG.

親局10では、この通信フレームを順次受信し、子局ア
ドレス認識部33にて、アドレス書込み領域24よりア
ドレスを読み出すことにより、アドレスがA、C,Dの
子局が正常であることを認識し、アドレスがB、Eの子
局12.15が障害であることを知る。
The master station 10 sequentially receives these communication frames, and the slave station address recognition unit 33 reads out the addresses from the address writing area 24, thereby recognizing that the slave stations with addresses A, C, and D are normal. However, it learns that slave stations 12.15 with addresses B and E are at fault.

即ち、カウント値の減少により何れかの子局に障害が発
生したことを認識し、直ぐ現在正常な子局のアドレスを
返送させ、障害の子局を検出するようにしているので、
待ち時間がなく、早く障害になった子局を検出出来る。
In other words, when the count value decreases, it is recognized that a failure has occurred in one of the slave stations, and the address of the currently normal slave station is immediately returned to detect the failed slave station.
There is no waiting time and a failed slave station can be detected quickly.

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

以上詳細に説明せる如く本発明によれば、周回している
通信フレームのカウント値領域の、カウント値の減少に
より何れかの子局に障害が発生したことを認識し、直ぐ
現在正常な子局のアドレスを返送させ、障害の子局を検
出するようにしているので、待ち時間がなく、早く障害
になった子局を検出出来る効果がある。
As explained in detail above, according to the present invention, it is recognized that a failure has occurred in one of the slave stations due to a decrease in the count value in the count value area of the circulating communication frame, and the address of the currently normal slave station is immediately set. Since the faulty slave station is detected by sending back the faulty slave station, there is no waiting time and the faulty slave station can be detected quickly.

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

第1図は本発明の原理図、 第2図は本発明の実施例の通信フレームのフレームフォ
ーマットを示す図、 第3図は本発明の実施例の親局の要部の構成を示すブロ
ック図、 第4図は本発明の実施例の子局の構成を示すブロック図
、 第5図は本発明の実施例の障害局検出のシーケンス図、 第6図は1例のループ型ネットワークを示す図、第7図
は従来例のポーリングの場合の通信フレームのフレーム
フォーマットを示ス図、 第8図は従来例の障害局検出のシーケンス図である。 図において、 10は親局、 11〜15は子局、 20は送信先アドレス領域、 21は送信元アドレス領域、 22はカウント値領域、 23は返送命令書込み領域、 24はアドレス書込み領域、 30は初期化部、 31.42は読出し部、 32は命令設定部、 33は子局アドレス認識部、 34.49はデータ処理部、 40は読出し加算設定部、 41は並び順アドレス検出自局ア 43は加算部、 44は設定部、 45は自局アドレス設定部、 46は記憶部、 ドレス設定部、 47は並び順アドレス検出・命令解析部、48は比較部
を示す。 フレーA7ズーマーll′−8示す面 メ  グ  図
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a diagram showing the frame format of a communication frame in an embodiment of the present invention. FIG. 3 is a block diagram showing the configuration of the main part of a master station in an embodiment of the present invention. , Fig. 4 is a block diagram showing the configuration of a slave station according to an embodiment of the present invention, Fig. 5 is a sequence diagram of faulty station detection according to an embodiment of the present invention, and Fig. 6 is a diagram showing an example of a loop type network. , FIG. 7 is a diagram showing the frame format of a communication frame in the case of polling in the conventional example, and FIG. 8 is a sequence diagram for detecting a faulty station in the conventional example. In the figure, 10 is a master station, 11 to 15 are slave stations, 20 is a destination address area, 21 is a source address area, 22 is a count value area, 23 is a return command writing area, 24 is an address writing area, and 30 is an address writing area. Initialization unit, 31.42 is a readout unit, 32 is an instruction setting unit, 33 is a slave station address recognition unit, 34.49 is a data processing unit, 40 is a readout addition setting unit, 41 is a sort order address detection local station address 43 44 is a setting section; 45 is a local address setting section; 46 is a storage section; address setting section; 47 is a sequence address detection/command analysis section; and 48 is a comparison section. Frame A7 zoomer ll'-8 surface meg diagram

Claims (1)

【特許請求の範囲】  親局(10)と複数の子局(11、12、13、・・
・)が伝送路にてループ状に接続されたループ型ネット
ワークにおいて、 送信先アドレス領域(20)、送信元アドレス領域(2
1)を有する周回する通信フレーム〔(A)〕中にカウ
ント値を書き込むカウント値領域(22)及び、自局の
アドレスを返送しろとの命令を書き込む返送命令書込み
領域(23)及び、自局のアドレスを書き込むアドレス
書込み領域(24)を設け、 又該親局(10)には、初期化部(30)、読出し部(
31)、命令設定部(32)、子局アドレス認識部(3
3)を、該複数の子局(11、12、13、・・・)に
は、読出し加算設定部(40)、並び順アドレス検出自
局アドレス設定部(41)を設け、 該親局(10)では、該初期化部(30)にて、通信フ
レームの該カウント値領域(22)に初期値を設定して
送信し、各子局では該読出し加算設定部(40)にて、
該カウント値領域(22)よりカウント値を読み出し、
1を加算し、1を加算した値を該カウント値領域(22
)に設定して送信すると共に、並び順として記憶し、 該親局(10)では、該読出し部(31)にて、周回し
てきた該通信フレームの該カウント値領域(22)より
設定値を読み出し、子局数を把握し、変化があれば、該
命令設定部(32)にて、変化した数の周回する通信フ
レームの送信先アドレス領域(20)に、順次並び順の
番号を設定し、該返送命令書込み領域(23)に自局の
アドレスを返送しろとの命令を書き込み送信し、 これを受信した子局は、該並び順アドレス検出自局アド
レス設定部(41)にて、アドレスが自局の並び順に該
当するかを検出し、自局宛であれば該通信フレームの該
アドレス書込み領域(24)に自局のアドレスを書込み
送信し、 該親局(10)では、これ等の通信フレームを順次受信
し、該子局アドレス認識部(33)にて、該アドレス書
込み領域(24)より正常な子局のアドレスを読み出し
認識するようにしたことを特徴とする障害子局検出方法
[Claims] A master station (10) and a plurality of slave stations (11, 12, 13, . . .
) are connected in a loop through a transmission path, the destination address area (20) and the source address area (20)
1), a count value area (22) in which a count value is written in the circulating communication frame [(A)], a return command writing area (23) in which a command to return the address of the own station is written, and An address writing area (24) is provided in which the address of
31), command setting section (32), slave station address recognition section (3
3), the plurality of slave stations (11, 12, 13, . . . ) are provided with a read addition setting section (40), a sort order address detection own station address setting section (41), and the master station ( 10), the initialization unit (30) sets an initial value in the count value area (22) of the communication frame and transmits it, and in each slave station, the read addition setting unit (40)
Read the count value from the count value area (22),
1 is added, and the value obtained by adding 1 is stored in the count value area (22
) is set and transmitted, and is stored in the sort order, and in the master station (10), the reading unit (31) reads the set value from the count value area (22) of the circulating communication frame. Read the number of slave stations, and if there is a change, use the command setting unit (32) to set the serial number in the transmission destination address area (20) of the communication frame that circulates according to the changed number. , writes and transmits a command to return its own address in the return command writing area (23), and the slave station that receives this writes the address in the sorted address detection own address setting unit (41). If it is addressed to the own station, the master station (10) writes the address of the own station in the address writing area (24) of the communication frame and sends it. Detecting a faulty slave station, the slave station address recognition section (33) reads and recognizes the address of a normal slave station from the address writing area (24). Method.
JP3042289A 1989-02-09 1989-02-09 Method for detecting faulty slave station Pending JPH02209041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3042289A JPH02209041A (en) 1989-02-09 1989-02-09 Method for detecting faulty slave station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3042289A JPH02209041A (en) 1989-02-09 1989-02-09 Method for detecting faulty slave station

Publications (1)

Publication Number Publication Date
JPH02209041A true JPH02209041A (en) 1990-08-20

Family

ID=12303519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3042289A Pending JPH02209041A (en) 1989-02-09 1989-02-09 Method for detecting faulty slave station

Country Status (1)

Country Link
JP (1) JPH02209041A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037550A (en) * 2007-08-03 2009-02-19 Delta Electronics Inc Master slave card system and its processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037550A (en) * 2007-08-03 2009-02-19 Delta Electronics Inc Master slave card system and its processing method

Similar Documents

Publication Publication Date Title
US4366535A (en) Modular signal-processing system
JPS61225946A (en) Diagnosis of second node from first node in local area network
JPH053024B2 (en)
US8996770B2 (en) Integrated link calibration and multi-processor topology discovery
JPH02209041A (en) Method for detecting faulty slave station
JPH03201636A (en) Data input controller for serial controller
JPS584427A (en) Multi-computer system having plural serial bus loops
JPH0340417B2 (en)
JPS633351B2 (en)
JP2696105B2 (en) Network interconnect circuit
JP2830491B2 (en) Bus parity error occurrence detection method
JPS6160042A (en) Identification system of arrangement order of node
JPS63168757A (en) Bus error detecting system
JPS6061859A (en) Data communication system of microcomputer
JPH01133444A (en) System bus controller
JPS63121961A (en) Data processor
JPH0324601A (en) Control method
JPH05282218A (en) Data transmitting method
JPS63121953A (en) Bus control error detection circuit
JPS5838808B2 (en) Data transfer method in multiprocessor system
JPS6113266B2 (en)
JPH0382242A (en) Polling scan transmitter
JPH07193587A (en) Communication system
JPH01158554A (en) Data processing system providing dma device
JPS6190550A (en) Node connection order error detection system