JPH10215273A - Method for discriminating position of broken loop in loop interface - Google Patents

Method for discriminating position of broken loop in loop interface

Info

Publication number
JPH10215273A
JPH10215273A JP9018200A JP1820097A JPH10215273A JP H10215273 A JPH10215273 A JP H10215273A JP 9018200 A JP9018200 A JP 9018200A JP 1820097 A JP1820097 A JP 1820097A JP H10215273 A JPH10215273 A JP H10215273A
Authority
JP
Japan
Prior art keywords
slave station
station
timer
slave
loop
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
JP9018200A
Other languages
Japanese (ja)
Inventor
Hiroshi Okubo
浩 大久保
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP9018200A priority Critical patent/JPH10215273A/en
Publication of JPH10215273A publication Critical patent/JPH10215273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Locating Faults (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the method that discriminates a position of broken loop on the occurrence of the broken loop in a loop interface in a communication system where a master station and a plurality of slave stations are connected in a loop. SOLUTION: A master station is provided with a timer A and each slave station is provided with a timer B respectively, a time of the timer A is set longer than a polling period and the timer A is started simultaneously at the transmission of each polling information (S1), and when a broken loop is detected by the expiration of the time (S5), the timers B whose times are set sequentially longer toward a direction of data communication are started (S6). When each slave station receives data from a preceding station before its timer B expires, the slave station adds its won slave station number to the data and sends the resulting data to a succeeding station and when the timer B expires before the reception of the data, the slave station sends a slave station number of its own to the succeeding station. The master station discriminates a position of a broken loop based on information including the slave station number from the final slave station of the loop.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、主局と複数の従局
がループ状に接続された通信システムにおけるループイ
ンタフェースのループ断箇所を判定する方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of judging a break in a loop interface of a communication system in which a master station and a plurality of slave stations are connected in a loop.

【0002】[0002]

【従来の技術】図8は複数の局がループ接続された通信
システムの構成例を示す図であり、図のシステムは1台
の主局と複数台の従局で構成されている。図8におい
て、主局はCRT1、制御部2及びキーボード3により
構成されており、従局A,B,C及びDも同様の構成に
なっている。各局の端末は接続ケーブル4及び5で接続
されており、各端末は接続ケーブル4を介してデータの
通信を行う。接続ケーブル4の接続は主局のS(送信
端)から従局AのR(受信端)、従局AのSから従局B
のRに接続され、最終的に最終段の従局のSから主局の
Rに戻るループ接続になっている。
2. Description of the Related Art FIG. 8 is a diagram showing an example of the configuration of a communication system in which a plurality of stations are connected in a loop, and the system shown in the figure comprises one master station and a plurality of slave stations. In FIG. 8, the master station includes a CRT 1, a control unit 2, and a keyboard 3, and the slave stations A, B, C, and D have the same configuration. The terminals of each station are connected by connection cables 4 and 5, and each terminal performs data communication via the connection cable 4. The connection cable 4 is connected from the master station S (transmission end) to the slave station A R (reception end), and from the slave station A S to the slave station B.
, And finally a loop connection that returns from the slave station S at the final stage to the master station R.

【0003】接続ケーブル5は各端末の電源の投入及び
切断を制御する制御信号の伝送路であり、主局の電源を
投入することにより、その情報が接続ケーブル5を介し
て従局Aに伝わり、従局Aの電源も投入される。従局A
の電源投入の情報は接続ケーブル5を介して従局Bに伝
わり、従局Bも同様に電源が投入される。以下同様に従
局C、従局Dにも電源投入の情報が伝わり、それぞれ電
源が投入される。これにより主局の電源を投入すること
で、全ての従局も電源が投入される。一般に通信データ
の伝送路である接続ケーブル4は、全長で1km程度ま
での使用が可能で、各端末は比較的離れたレイアウトで
使用されることが多く、場合によっては、異なる事務室
におかれて使用されることもある。
The connection cable 5 is a transmission path for a control signal for controlling the turning on and off of the power of each terminal. When the power of the master station is turned on, the information is transmitted to the slave station A via the connection cable 5, The power of the slave station A is also turned on. Slave station A
Is transmitted to the slave station B via the connection cable 5, and the slave station B is similarly turned on. Similarly, the power-on information is transmitted to the slave stations C and D, and the power is turned on. Thus, by turning on the power of the master station, the power of all the slave stations is also turned on. In general, the connection cable 4, which is a transmission line for communication data, can be used up to about 1 km in total length, and each terminal is often used in a relatively distant layout. In some cases, the terminals are placed in different offices. Sometimes used.

【0004】図9の(a),(b)は図8の主局及び従
局のハードウェア構成を示したブロック図である。図9
の(a)において、11はCPU、12はCPU周辺回
路、13はメモリ、14は表示部制御回路、15は表示
部、16は入力制御回路、17は入力部、18は通信制
御回路、19はCPUバスであり、主局及び従局は上記
11〜19で構成されている。また表示部15と入力部
17を除く各部は、CPUバス19で接続され、CPU
11により制御される。この構成で、オペレータから入
力されたデータを表示部15に表示したり、通信制御回
路18を介して各端末とのデータの送受信を行う。図9
の(b)は、同図の(a)の通信制御回路のブロック図
であり、通信制御回路18は、制御回路21、レシーブ
素子22及びドライブ素子23で構成されている。そし
てシリアルデータをレシーブ素子22で受け、制御回路
21でデータ処理を行い、シリアルデータをドライブ素
子23で出力する。
FIGS. 9A and 9B are block diagrams showing hardware configurations of the master station and the slave stations in FIG. FIG.
11A, reference numeral 11 denotes a CPU, 12 denotes a CPU peripheral circuit, 13 denotes a memory, 14 denotes a display unit control circuit, 15 denotes a display unit, 16 denotes an input control circuit, 17 denotes an input unit, 18 denotes a communication control circuit, 19 Denotes a CPU bus, and the master station and the slave stations are constituted by 11 to 19 described above. The respective units except the display unit 15 and the input unit 17 are connected by a CPU bus 19,
11. With this configuration, data input by the operator is displayed on the display unit 15, and data is transmitted / received to / from each terminal via the communication control circuit 18. FIG.
2B is a block diagram of the communication control circuit of FIG. 1A, and the communication control circuit 18 includes a control circuit 21, a receiving element 22, and a drive element 23. Then, the serial data is received by the receiving element 22, data processing is performed by the control circuit 21, and the serial data is output by the drive element 23.

【0005】図10は図8のシステムの電源投入時の通
信シーケンスを示すタイムチャートである。図8のシス
テムのループインターフェースは、ポーリング方式で通
信をしており、ポーリングに使用しているデータ(一定
周期毎に各端末に送信要求があるか否を問い合わせるデ
ータ)を“トークン”と称して以降の説明をする。図1
0のタイムチャートにおいて、システムへの電源投入
後、主局が従局Aに対してトークンを出力し、従局Aは
トークンを受けて自装置が動作可能状態であることを示
すデータ(図ではCNA)を付加して従局Bにデータを
送出する。従局Bはトークンを受けて自装置が動作可能
状態であることを示すデータ(図ではCNB)を付加し
て従局Cにデータを送出する。従局Cと従局Dも同様の
動作を行い、最終的に主局には、主局が送出したトーク
ンとそれに付加されている従局AからDが動作可能状態
であるデータ(P,CNA,CNB,CNC,CND)
を受信する。これにより主局は電源投入後の従局の状態
を確認する。その後、主局は一定周期でトークンを送出
するポーリング動作をしており、従局は自装置から送出
したいデータがある場合は、送出したいデータをこのト
ークンに付加することで主局にデータを送出する。
FIG. 10 is a time chart showing a communication sequence when the power of the system shown in FIG. 8 is turned on. The loop interface of the system shown in FIG. 8 communicates by a polling method, and data used for polling (data for inquiring each terminal whether there is a transmission request at regular intervals) is called a "token". The following will be described. FIG.
In the time chart of 0, after the power supply to the system is turned on, the master station outputs a token to the slave station A, and the slave station A receives the token and indicates that its own device is in an operable state (CNA in the figure). And sends the data to the slave station B. Upon receiving the token, the slave station B sends data to the slave station C with data (CNB in the figure) indicating that the own apparatus is operable. The slave station C and the slave station D perform the same operation. Finally, the master station sends the token sent by the master station and the data (P, CNA, CNB, CNC, CND)
To receive. Thus, the master station checks the state of the slave station after the power is turned on. After that, the master station performs a polling operation of sending a token at a fixed period, and the slave station sends data to the master station by adding the data to be sent to the token when there is data to be sent from its own device. .

【0006】図11は図8のシステムの主局から従局へ
のデータ通信シーケンス例を示すタイムチャートであ
る。図8のシステムの主局は、フレーム形式で従局にデ
ータを送出する。図11のフレーム内の記号には以下の
意味がある。 BP:そのフレームにデータが付加されていることを示
す。 ADB:そのフレームの宛先を示しており、ADBは従
局B宛のフレームであることを示している。 ADM:そのフレームの送り元装置を示しており、AD
Mは主局が送出したフレームであることを示す。 DATA:処理すべき実データを示す。 図11のタイムチャートにおいて、いま主局は従局Aに
対し、図のようなフレームを送出したとする。従局Aは
フレームの内容を解析し、自装置宛のフレームではない
ことを判定し、受けたフレームを従局Bにそのまま送出
する。従局Bは受信したフレームの内容を解析し、自装
置宛のフレームであることを認識し、そのフレームのデ
ータを自装置のメモリにコピーして受けたフレームをそ
のまま従局Cに送出する。従局Cも自装置宛のフレーム
ではないことを認識し、受けたフレームをそのまま従局
Dに送出する。従局Dも自装置宛のフレームではないこ
とを認識し、受けたフレームをそのまま主局に送出す
る。このようにして主局は従局Bに所要のデータ通信を
行う。
FIG. 11 is a time chart showing an example of a data communication sequence from the master station to the slave station in the system shown in FIG. The master station of the system in FIG. 8 sends data to slave stations in a frame format. The symbols in the frame of FIG. 11 have the following meanings. BP: Indicates that data is added to the frame. ADB: Indicates the destination of the frame, and ADB indicates that the frame is addressed to the slave station B. ADM: Indicates the source device of the frame, AD
M indicates a frame transmitted by the master station. DATA: Indicates actual data to be processed. In the time chart of FIG. 11, it is assumed that the master station has transmitted a frame as shown to the slave station A. The slave station A analyzes the contents of the frame, determines that the frame is not addressed to itself, and sends the received frame to the slave station B as it is. The slave station B analyzes the content of the received frame, recognizes that the frame is addressed to the own apparatus, copies the data of the frame to the memory of the own apparatus, and sends the received frame to the slave station C as it is. The slave station C also recognizes that it is not a frame addressed to itself, and sends the received frame to the slave station D as it is. The slave station D also recognizes that the frame is not addressed to itself, and sends the received frame to the master station as it is. In this way, the master station performs required data communication with the slave station B.

【0007】図12は図8のシステムの主局の通信制御
処理を示すフローチャートであり、図のSに続く数値は
ステップ番号を示す。図12のフローチャートにおい
て、システムへの電源投入(S81を参照)後に、主局
は自局のタイマーをスタートさせ(S82を参照)、ト
ークンを従局Aに送出する(S83を参照)。そして従
局からトークンを受信したか否かを判別する(S84を
参照)。そしてトークンを受信した場合(S84の判別
結果がYESの場合)は、受信したトークンに従局から
のデータが付加されているか否かを判別し(S85を参
照)、データが付加されている場合には付加されている
データの解析処理を行い(S86を参照)、データが付
加されていない場合には次のトークン出力処理へ移る
(S87を参照)。またS84の判別結果がNOの場合
(トークンを受信していない場合)は、S82でスター
トさせたタイマーがタイムアウトになったか否かを判別
し(S88を参照)、タイムアウトになっていない場合
にはS84へ戻り、タイムアウトになっている場合には
ループ断として復旧操作待ちになる(S89を参照)。
FIG. 12 is a flowchart showing a communication control process of the master station in the system shown in FIG. 8. Numerical values following S in FIG. 8 indicate step numbers. In the flowchart of FIG. 12, after powering on the system (see S81), the master station starts its own timer (see S82) and sends a token to slave station A (see S83). Then, it is determined whether or not a token has been received from the slave station (see S84). If a token has been received (if the determination result in S84 is YES), it is determined whether or not data from the slave station has been added to the received token (see S85). Performs the analysis processing of the added data (see S86), and if the data is not added, proceeds to the next token output processing (see S87). If the result of the determination in S84 is NO (if no token has been received), it is determined whether or not the timer started in S82 has timed out (see S88). Returning to S84, if the time-out has occurred, the loop is interrupted and a recovery operation waits (see S89).

【0008】図13は図8のシステムの従局の通信制御
処理を示すフローチャートであり、図のSに続く数値は
ステップ番号を示す。図13のフローチャートにおい
て、システムへの電源投入(S91を参照)後に、各従
局は自局のタイマーをスタートさせ(S92を参照)、
トークンを受信したか否かを判別する(S93を参
照)。そしてトークンを受信した場合(S93の判別結
果がYESの場合)は、受信したデータが自装置宛フレ
ームか否かを判別し(S94を参照)し、自装置宛フレ
ームの場合には、そのフレームを装置内のメモリにコピ
ーした後に(S95を参照)、S96へ進み、自装置宛
フレームでない場合には直ちにS96へ移る。S96で
は、ループの次の従局に受信したフレームをそのまま出
力し(S96を参照)、次のトークン待ちになる(S9
7を参照)。S93の判別結果がNOの場合(トークン
を受信してない場合)は、S92でスタートさせた自局
のタイマーがタイムアウトになったか否かを判別し(S
98を参照)、タイムアウトになっていない場合にはS
93へ戻り、タイムアウトになっている場合にはループ
断としてトークン待ちになる(S99を参照)。
FIG. 13 is a flowchart showing the communication control processing of the slave station in the system shown in FIG. 8. Numerals following S in the figure show step numbers. In the flowchart of FIG. 13, after power-on to the system (see S91), each slave station starts its own timer (see S92),
It is determined whether or not a token has been received (see S93). If the token is received (if the determination result in S93 is YES), it is determined whether or not the received data is a frame addressed to the own device (refer to S94). Is copied to the memory in the apparatus (see S95), and the process proceeds to S96. If the frame is not the frame addressed to the own device, the process immediately proceeds to S96. In S96, the received frame is output as it is to the slave station next to the loop (see S96), and the next token waits (S9).
7). If the determination result of S93 is NO (if no token has been received), it is determined whether or not the timer of the own station started in S92 has timed out (S93).
98), if not timed out, S
Returning to 93, if the time-out has occurred, the loop is broken and the token waits (see S99).

【0009】[0009]

【発明が解決しようとする課題】図14は図8のシステ
ムのループインタフェースでの故障例を示す図である。
図14においては、従局Bと従局Cの間の接続ケーブル
4が断線している。この状態では、主局から送出したポ
ーリングのトークンが従局Bまでしか伝送されず、トー
クンは主局まで戻らないことになる。この場合、主局及
び従局共に図13及び図14の通信制御処理におけるト
ークン待ちのタイムアウトによって、ループインタフェ
ースに異常が発生したと判定し、異常検出をしたことを
示す表示をし、オペレータに確認を促す。オペレータは
このインタフェース異常の原因調査のために、各端末装
置の配線や各端末装置の動作確認をする必要があるが、
各端末装置がそれぞれ離れて設置されている場合は、こ
の異常原因の探索作業にかなり手間がかかるという問題
があった。
FIG. 14 is a diagram showing an example of a failure in the loop interface of the system shown in FIG.
In FIG. 14, the connection cable 4 between the slave station B and the slave station C is broken. In this state, the polling token transmitted from the master station is transmitted only to the slave station B, and the token does not return to the master station. In this case, both the master station and the slave stations determine that an abnormality has occurred in the loop interface due to the timeout of the token wait in the communication control processing of FIGS. 13 and 14, display a message indicating that the abnormality has been detected, and confirm with the operator. Prompt. The operator needs to check the wiring of each terminal device and the operation of each terminal device to investigate the cause of this interface abnormality.
When the terminal devices are installed separately from each other, there is a problem that the work of searching for the cause of the abnormality takes a considerable amount of time.

【0010】[0010]

【課題を解決するための手段】本発明に係るループイン
タフェースのループ断箇所判定方法は、主局と複数の従
局がループ状に接続され、主局から各従局に送信する所
定周期毎のポーリング情報に基づき、主局と従局間及び
従局相互間のデータ通信を行うシステムにおけるループ
インタフェースのループ断箇所を判定する方法におい
て、前記主局と各従局にそれぞれ第1及び第2のタイマ
ーを設け、前記第1のタイマーは、その値を前記ポーリ
ング情報の送信周期よりも長時間に設定しておき、前記
ポーリング情報の送信と同時に始動させ、そのタイムア
ウトにより主局と従局はそれぞれループ断を検出し、前
記第2のタイマーは、前記ループ断の検出後にそれぞれ
始動させると共に各従局におけるタイマー値をデータ通
信の通信方向に従い順次長時間となるようにそれぞれ設
定しておき、各従局は、前記第2のタイマーのタイムア
ウト以前に通信方向の前の従局からその従局番号を受信
したときには、この受信情報に自装置の従局番号を付加
した情報を通信方向の次の従局へ送信し、またそのタイ
ムアウトにより自装置の従局番号を通信方向の次の従局
へ送信するようにし、前記主局は通信方向の最後の従局
から受信できる前記単数又は複数の従局番号を含む情報
に基づきループ断箇所を判定するものである。その結
果、ループインタフェースにループ断が発生した場合
に、ループインタフェースのどの部分が正常で、どの部
分が正常でないかを明確に判定できるので、オペレータ
による故障原因の探索作業の効率が向上する。
According to the present invention, there is provided a loop interface determining method for a loop interface in which a master station and a plurality of slave stations are connected in a loop, and polling information is transmitted from the master station to each slave station at predetermined intervals. A method for determining a loop break point of a loop interface in a system for performing data communication between a master station and a slave station and between slave stations, wherein a first and a second timer are provided for the master station and each slave station, The first timer has its value set to be longer than the transmission cycle of the polling information, and is started at the same time as the transmission of the polling information. The second timer is started after the detection of the loop break, and the timer value in each slave station is set according to the communication direction of data communication. Each slave station is set so as to be the next long time. When the slave station receives the slave station number from the preceding slave station in the communication direction before the timeout of the second timer, the slave station number of its own apparatus is included in the received information. The added information is transmitted to the next slave in the communication direction, and the timeout is used to transmit the slave number of the own device to the next slave in the communication direction, and the master station can receive from the last slave station in the communication direction. The loop break point is determined based on information including one or more slave station numbers. As a result, when a loop break occurs in the loop interface, it is possible to clearly determine which part of the loop interface is normal and which part is not normal, thereby improving the efficiency of the operator's work of searching for the cause of the failure.

【0011】[0011]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施形態1 図1は本発明の実施形態1に係る主局の通信制御処理を
示すフローチャートであり、図のSに続く数値はステッ
プ番号を示す。なお、本実施形態1における通信システ
ムの構成及び主局、従局のハードウェア構成は図8、9
と同様のものである。図1のフローチャートを説明す
る。図1のS1ではタイマーAをスタートさせ、S2で
は従局Aにトークンを送出する。S3では、S2で送出
したトークンがループインタフェースを一周して戻って
くるのを監視し、トークンを受信したか否かを判別す
る。トークンを受信した場合はS4へ進み、受信しない
場合はS5へ移る。
Embodiment 1 FIG. 1 is a flowchart showing a communication control process of a master station according to Embodiment 1 of the present invention. Numerical values following S in FIG. 1 indicate step numbers. The configuration of the communication system and the hardware configurations of the master station and the slave stations according to the first embodiment are shown in FIGS.
Is similar to The flowchart of FIG. 1 will be described. In S1 of FIG. 1, the timer A is started, and in S2, the token is sent to the slave station A. In S3, it is monitored that the token sent in S2 returns around the loop interface, and it is determined whether or not the token has been received. If a token has been received, the process proceeds to S4; otherwise, the process proceeds to S5.

【0012】図1のS4では、トークンに従局からのデ
ータが付加されているか否かを判別し、データが付加さ
れている場合は、S10で付加されているデータの解析
処理を行う。また従局からのデータが付加されていない
場合は、次のトークンの出力のためS1に戻る。S3で
トークンを受信していない場合、S5でタイマーAがタ
イムアウトになっているか否かを判定する。ここでタイ
マーAの値は、正常の動作状態において主局から周期的
に送出されるトークンの周期よりも長い時間に設定して
おく。従ってタイマーAがタイムアウトになるというこ
とは、ループインタフェースにループ断等の故障があっ
て、主局から送出されたトークンがループを一周して戻
ってこないことを意味する。S5における判別結果がタ
イムアウトでない場合は、S3へ戻りトークンの受信を
監視する。またS5での判別結果がタイムアウトであっ
た場合は、S6へ進み、次のタイマーBをスタートさせ
る。ここでタイマーBの値は一度ループ断となった後、
従局からデータが送られくるまでの時間より長い時間に
設定しておく。従ってタイマーBがタイムアウトになっ
た以後には、従局から主局に送出されるデータはないも
のと考える。
In S4 of FIG. 1, it is determined whether or not data from a slave station has been added to the token. If data has been added, analysis processing of the added data is performed in S10. If the data from the slave station has not been added, the process returns to S1 to output the next token. If the token has not been received in S3, it is determined in S5 whether the timer A has timed out. Here, the value of the timer A is set to a time longer than the cycle of the token periodically transmitted from the master station in the normal operation state. Therefore, when the timer A times out, it means that the loop interface has a failure such as a break in the loop, and the token sent from the master station does not return after going around the loop. If the result of the determination in S5 is not a timeout, the process returns to S3 to monitor the reception of the token. If the result of the determination in S5 is a timeout, the process proceeds to S6 and the next timer B is started. Here, after the value of timer B is once broken,
The time is set to be longer than the time until data is sent from the slave station. Therefore, it is considered that there is no data transmitted from the slave station to the master station after the timer B times out.

【0013】図1のS7では、従局からのデータ受信の
有無を判別し、データの受信をしていた場合は、S8
で、その受信データを解析してデータを送ってきた従局
を認識する。その後S9へ進み、S8における認識結果
を基に正常に接続されている従局と異常な従局を表示部
に表示してオペレータに確認を促す。S7の判別結果が
従局からのデータ受信をしていないという場合には、S
11で、タイマーBがタイムアウトになっているか否か
を判別し、タイムアウトでない場合はS7へ戻り従局か
らデータを受信しているかを確認する。S11の判別結
果がタイムアウトになっている場合はS9へ進み、S7
及びS11の判別結果に基づき正常でないと判定される
従局を表示部に表示してオペレータに確認を促す。
In S7 of FIG. 1, it is determined whether or not data has been received from a slave station. If data has been received, the process proceeds to S8.
Then, the received data is analyzed to recognize the slave station that sent the data. Thereafter, the process proceeds to S9, and based on the recognition result in S8, the normally connected slave station and the abnormal slave station are displayed on the display unit to prompt the operator to confirm. If the result of determination in S7 is that data has not been received from the slave station,
At 11, it is determined whether or not the timer B has timed out. If not, the process returns to S7 to confirm whether or not data has been received from the slave station. If the result of the determination in S11 has timed out, the process proceeds to S9 and proceeds to S7.
A slave station determined to be not normal based on the determination result of S11 and S11 is displayed on the display unit to prompt the operator to confirm.

【0014】図2は本発明の実施形態1に係る従局の通
信制御処理を示すフローチャートであり、図のSに続く
数値はステップ番号を示す。図2は本通信システムの従
局A,B,C,Dの通信制御処理を示すものであり、以
下図2のフローチャートを説明する。図2のS21では
タイマーAをスタートさせ、S22ではトークンを受信
したか否を判別する。トークンを受信した場合はS23
で受信したフレームの解析を行い、自装置宛のフレーム
か否かを判別する。自装置宛のフレームであった場合
は、S24へ進み、自装置宛のフレームを装置内のメモ
リにコピーした後、S25へ進み、前記受信したフレー
ムをそのままループの次の従局(従局Dは主局)に送出
する。S23で自装置宛のフレームでないと判別された
場合はS25へ進んだ後、S21に戻り次のトークンを
待つ。
FIG. 2 is a flowchart showing a communication control process of the slave station according to the first embodiment of the present invention. Numerical values following S in FIG. 2 indicate step numbers. FIG. 2 shows a communication control process of the slave stations A, B, C, and D of the communication system. The flowchart of FIG. 2 will be described below. In S21 of FIG. 2, the timer A is started, and in S22, it is determined whether a token has been received. S23 when the token is received
The analysis of the received frame is performed to determine whether or not the frame is addressed to the own device. If the frame is addressed to the own device, the flow advances to S24 to copy the frame addressed to the own device to the memory in the device. Then, the flow advances to S25, and the received frame is directly sent to the next slave station (the slave station D is Station). If it is determined in S23 that the frame is not addressed to the own device, the process proceeds to S25, and returns to S21 to wait for the next token.

【0015】S22でトークンを受信していないと判別
した場合はS26へ移り、タイマーAがタイムアウトに
なっいるか否かを判別し、タイムアウトでない場合はS
22へ戻りトークンを受信しているか確認する。ここで
タイマーAの値は、主局の場合と同様に、正常状態にお
いて主局から周期的に送出されるトークンの周期よりも
長時間に設定しておく。S26の判別結果がタイムアウ
トの場合にはS27へ進み、タイマーBをスタートさせ
る。ここで各従局のタイマーBの値は、S26でループ
断を検出した後に、全段の従局から従局番号が送られて
くるまでの時間よりも長い時間に予め設定されるが、と
くにデータ通信の通信方向に従い順次長時間の異なる値
となるように、各従局A,B,C,Dにおけるタイマー
値B1 ,B2 ,B3 ,B4 は、B1 <B2 <B3 <B4
となるようにそれぞれ設定される。
If it is determined in S22 that the token has not been received, the process proceeds to S26, where it is determined whether or not the timer A has timed out.
Return to step 22 to check whether the token has been received. Here, similarly to the case of the main station, the value of the timer A is set to be longer than the period of the token periodically transmitted from the main station in the normal state. If the result of the determination in S26 is a timeout, the process proceeds to S27, and the timer B is started. Here, the value of the timer B of each slave station is set in advance to a time longer than the time until the slave station number is transmitted from all the slave stations after detecting the loop break in S26. The timer values B 1 , B 2 , B 3 , and B 4 at each of the slave stations A, B, C, and D are set to B 1 <B 2 <B 3 <B 4 so that the timer values B 1 , B 2 , B 3 , and B 4 sequentially become different values depending on the communication direction.
Are respectively set so that

【0016】S27の次にS28へ進み、ループ前の従
局からデータを受信しているか否かを判別し、データを
受信している場合にはS29へ進み、受信データに自装
置の従局番号を付加してループの次の従局にそのデータ
を送出する。その後S30で端末装置がループ断を検出
している状態であることを表示部に表示してオペレータ
による復旧操作待ちになる。
After S27, the process proceeds to S28, in which it is determined whether or not data has been received from the slave station before the loop. If data has been received, the process proceeds to S29, where the slave data of the own apparatus is added to the received data. In addition, the data is sent to the next slave station in the loop. After that, in S30, it is displayed on the display unit that the terminal device has detected the loop break, and the operation waits for a recovery operation by the operator.

【0017】S28でループの前の従局からデータを受
信していないと判別された場合は、S31に進み、タイ
マーBがタイムアウトになっているか否かを判別し、タ
イムアウトになっていない場合はS28に戻りループの
前段の従局からデータを受信しているか確認する。S3
1でタイムアウトになっていると判別された場合は、S
32に進み、ループの次の従局に自装置の従局番号を送
出する。その後S30に進み、ループ断の復旧操作待ち
となる。
If it is determined in S28 that data has not been received from the slave station before the loop, the flow advances to S31 to determine whether or not the timer B has timed out. To check if data is received from the slave station at the preceding stage of the loop. S3
If it is determined that the time-out has occurred at 1, the processing proceeds to S
Proceed to 32 to send the slave station number of the own device to the slave station next to the loop. Thereafter, the process proceeds to S30, and waits for a loop break recovery operation.

【0018】図3は本発明の実施形態1に係るループ断
線時の主局、従局の通信動作例を示すシーケンス図であ
り、主局及び従局が前記図1及び図2の通信制御処理を
それぞれ実行することにより、図14のように従局Bと
従局Cの間でインタフェースの断線事故が発生している
場合には、図3のように動作する。以下図3の動作を説
明する。本システムに電源が投入されると、主局は従局
Aにトークン(図のPで示す)を送出する。従局Aはト
ークンを受信すると、トークン(P)に自装置が動作可
能状態であることを示すデータ(図のCNAで示す)を
付加して従局Bにフレームを送出する。従局Bも受信デ
ータ(P,CNA)に、自装置が動作可能状態であるこ
とを示すデータ(図のCNBで示す)を付加して従局C
にフレームを送出する。
FIG. 3 is a sequence diagram showing a communication operation example of the master station and the slave station when the loop is broken according to the first embodiment of the present invention. The master station and the slave station perform the communication control processing of FIGS. 1 and 2, respectively. By performing the above operation, if an interface disconnection accident occurs between the slave station B and the slave station C as shown in FIG. 14, the operation is performed as shown in FIG. Hereinafter, the operation of FIG. 3 will be described. When power is supplied to the system, the master station sends a token (indicated by P in the figure) to the slave station A. Upon receiving the token, the slave station A adds data (indicated by CNA in the figure) indicating that the own device is operable to the token (P), and sends a frame to the slave station B. The slave station B also adds data (indicated by CNB in the figure) indicating that the own device is in an operable state to the reception data (P, CNA), and
Send the frame to

【0019】しかし、従局BとCの間で断線しているた
め、従局Cはフレーム(P,CNA,CNB)を受信し
ない。そのため図の破線で示す通信ルートを介して主局
にトークンが返らないので、タイマーAの設定時間(図
のXX秒で示す)経過後主局がタイマーAのタイムアウ
トを検出する。このタイマーAのタイムアウト検出によ
り主局はループ断と判断して次のトークンの出力は行わ
なくなり従局かのデータ待ち状態になる。その後、従局
AがタイマーB1 のタイムアウトになり従局Aの従局番
号(図のAで示す)を従局Bに送出する。従局Bは従局
Aから従局番号(A)を受信することにより、それに従
局Bの従局番号(図のBで示す)を付加して従局Cに送
出するが、インタフェース断線のため従局Cはそのデー
タ(A,B)を受信しない。また従局BはタイマーAの
タイムアウト後、さらに自局のタイマーB2 のタイムア
ウトになると従局Bの従局番号(B)を従局Cに送出す
るが、従局Cはこれも受信しない。
However, since there is a disconnection between the slave stations B and C, the slave station C does not receive the frames (P, CNA, CNB). Therefore, the token is not returned to the main station via the communication route indicated by the broken line in the figure, and the main station detects the timeout of the timer A after the elapse of the set time of the timer A (indicated by XX seconds in the figure). By detecting the timeout of the timer A, the master station determines that the loop has been broken, and does not output the next token, and waits for data from the slave station. Thereafter, the slave station A times out the timer B 1 and sends the slave station A's slave station number (shown by A in the figure) to the slave station B. When the slave station B receives the slave station number (A) from the slave station A, it adds the slave station number of the slave station B (shown by B in the figure) and sends it to the slave station C. (A, B) is not received. The slave station B after the timeout of the timer A, but sends a further time out of the timer B 2 of the own station when the slave station slave station number of B (B) in the slave station C, the slave station C is also not received.

【0020】従局CはタイマーAのタイムアウト後、さ
らに自局のタイマーB3 のタイムアウトになると自装置
の従局番号(図のCで示す)を従局Dに送出する。従局
Dは従局Cからそれを受信して自装置の従局番号を付加
して(図のC,Dで示す)主局にデータを送出する。主
局は従局から受信したデータの解析を行い、正常に接続
されている従局と異常が発生している従局を判定する。
図3の例では、主局に従局CとDの従局番号が送られて
きたことから従局Cの受信回路の前段以前で故障が発生
しているものと判定される。この判定により主局は従局
Cの受信回路の前段以前に故障がある旨を表示部に表示
し、オペレータに確認を促す。また、ループ断検出後、
主局に従局からデータが送られてこなかった場合は、主
局の受信回路の前段以前の部分で故障が発生していると
考えることができる。なお、各従局A〜Dにおけるタイ
マーB1 〜B4 の値は、図2で説明したように、B1
2 <B3 <B4 となるようにそれぞれ設定されてい
る。
After the timer A times out, the slave station C sends its slave station number (shown by C in the figure) to the slave station D when the timer of its own station B 3 further times out. The slave station D receives it from the slave station C, adds the slave station number of its own device, and sends the data to the master station (indicated by C and D in the figure). The master station analyzes the data received from the slave stations and determines a normally connected slave station and an abnormal slave station.
In the example of FIG. 3, since the slave station numbers of the slave stations C and D have been sent, it is determined that a failure has occurred before the preceding stage of the receiving circuit of the slave station C. By this determination, the master station displays on the display unit that there is a failure before the preceding stage of the receiving circuit of the slave station C, and prompts the operator to confirm. Also, after detecting loop break,
When data is not sent from the slave station of the master station, it can be considered that a failure has occurred in a portion before the preceding stage of the receiving circuit of the master station. Note that the value of the timer B 1 .about.B 4 in each slave station A~D, as described in FIG. 2, B 1 <
They are set so that B 2 <B 3 <B 4 .

【0021】以上のように本実施形態1によれは、主局
および従局にループ断検出後にデータの送受信処理を設
け、ループインタフェースのどの部分が正常で、どの部
分が正常でないかを明確に判定できるため、オペレータ
による故障原因の探索作業の効率が良くなることが期待
できる。また、この機能のために特別なハードウェアは
必要ない。例えばタイマーA,Bは主局、従局の制御部
内のメモリに予め設定されたタイマー設定値と、クロッ
ク等の単位時間信号の計数値との比較判別により、タイ
ムアウトになったか否かを判別することができる。
As described above, according to the first embodiment, the master station and the slave station are provided with data transmission / reception processing after detecting a loop break, and it is possible to clearly determine which part of the loop interface is normal and which part is not normal. Therefore, it is expected that the efficiency of the operation of searching for the cause of the failure by the operator is improved. Also, no special hardware is required for this function. For example, the timers A and B determine whether or not a time-out has occurred by comparing a timer setting value preset in a memory in a control unit of a master station or a slave station with a count value of a unit time signal such as a clock. Can be.

【0022】実施形態2 図4は本発明の実施形態2に係る主局と従局の通信制御
回路を示す図である。なお、本実施形態2における通信
システムの構成は図8と同一であるが、その主局、従局
のハードウェア構成は図9における通信制御回路のみが
異なるものになっている。図4において、実施形態2に
係る主局と従局の各通信制御回路20は、制御回路2
1、レシーブ素子22、ドライブ素子23、リレー24
及び25で構成されている。また26はリレー制御信号
であり、Sは送信端、Rは受信端である。そして主局と
従局は同一の構成になっている。
Embodiment 2 FIG. 4 is a diagram showing a communication control circuit of a master station and slave stations according to Embodiment 2 of the present invention. The configuration of the communication system according to the second embodiment is the same as that of FIG. 8, but the hardware configurations of the master station and the slave stations are different only in the communication control circuit in FIG. In FIG. 4, each communication control circuit 20 of the master station and the slave station according to the second embodiment includes a control circuit 2
1, receive element 22, drive element 23, relay 24
And 25. 26 is a relay control signal, S is a transmitting end, and R is a receiving end. The master station and the slave station have the same configuration.

【0023】各通信制御回路20は、入力シリアルデー
タをリレー24を介してレシーブ素子22で受け、制御
回路21でデータ処理を行い、出力シリアルデータをド
ライブ素子23からリレー25を介して出力する。また
リレー24及び25は制御回路21から出力されるリレ
ー制御信号26によって、ループインタフェースの通信
方向が次の順方向と逆方向となるように各切換接点が制
御される。
Each communication control circuit 20 receives input serial data at a receiving element 22 via a relay 24, performs data processing at a control circuit 21, and outputs output serial data from a drive element 23 via a relay 25. The switching contacts of the relays 24 and 25 are controlled by the relay control signal 26 output from the control circuit 21 so that the communication direction of the loop interface is opposite to the next forward direction.

【0024】順方向通信 主局と各従局のリレー24及び25の各切換接点が図4
に示された状態の場合が順方向通信の接続を示してお
り、ループインタフェースの順方向通信順序は次の通り
である。 順方向通信順序:主局−従局A−従局B−従局C−従局
D−主局 また順方向通信路を形成するための順方向接続状態は次
の通りである。 順方向接続状態:主局のS−従局AのR−従局AのS−
従局BのR−従局BのS−従局CのR−従局CのS−従
局DのR−従局のS−主局のR。
Forward communication Each switching contact of the relays 24 and 25 of the master station and each slave station is shown in FIG.
The state shown in (1) indicates the connection of the forward communication, and the forward communication order of the loop interface is as follows. Forward communication order: master station-slave station A-slave station B-slave station C-slave station D-master station A forward connection state for forming a forward communication path is as follows. Forward connection state: S of master station-R of slave station A-S of slave station A-
R of slave B-S of slave B-R of slave C-S of slave C-R of slave D-R of slave S-R of master.

【0025】逆方向通信 主局と各従局のリレー24及び25の切換接点が図4に
示された状態と反対側に切換えられた状態の場合が逆方
向通信の接続であり、ループインタフェースの逆方向通
信順序は次のと通りである。 逆方向通信順序:主局−従局D−従局C−従局B−従局
A−主局 また逆方向通信路を形成するための逆方向接続状態は次
の通りである。 逆方向接続状態:主局のR−従局AのS−従局AのR−
従局BのS−従局BのR−従局CのS−従局CのR−従
局DのS−従局DのR−主局のS。
Reverse communication The case where the switching contacts of the relays 24 and 25 of the master station and the slave stations are switched to the opposite side from the state shown in FIG. The direction communication order is as follows. Reverse communication order: master station-slave station D-slave station C-slave station B-slave station A-master station The reverse connection state for forming a reverse communication path is as follows. Reverse connection state: R of master station-S of slave station A-R of slave station A-
S of slave B-R of slave B-S of slave C-R of slave C-S of slave D-R of slave D-S of master.

【0026】図5は本発明の実施形態2に係る主局の通
信制御処理を示すフローチャートであり、図のSに続く
数字はステップ番号を示す。図5のフローチャートを説
明する。図5のS41ではタイマーAとタイマーCを共
にスタートさせ、S42では主局は従局Aにトークンを
送出する。ここでタイマーCの値は、タイマーAの値と
タイマーBのうちの最大値との和よりも長時間に設定す
る。タイマーCの目的は、タイマーCのタイムアウトに
より、通信方向を順方向と順方向に切換えること及びこ
の切換に応じて各従局のタイマーBの値を変更すること
である。なおタイマーAの値は、図1の場合と同様に設
定する。S43は、S42で送出したトークンがループ
インタフェースを一周して戻ってくるのを監視し、トー
クンを受信したか否かを判別する。トークンを受信した
場合はS44へ進み、受信しない場合はS45へ移る。
FIG. 5 is a flowchart showing a communication control process of the master station according to the second embodiment of the present invention. The numeral following S in the figure indicates a step number. The flowchart of FIG. 5 will be described. In S41 of FIG. 5, both the timer A and the timer C are started. In S42, the master station sends a token to the slave station A. Here, the value of the timer C is set to be longer than the sum of the value of the timer A and the maximum value of the timer B. The purpose of the timer C is to switch the communication direction between the forward direction and the forward direction by the timeout of the timer C, and to change the value of the timer B of each slave station according to the switching. The value of the timer A is set in the same manner as in FIG. In step S43, it is monitored that the token transmitted in step S42 returns around the loop interface, and it is determined whether or not the token has been received. If a token has been received, the process proceeds to S44; otherwise, the process proceeds to S45.

【0027】図5のS44では、トークンに従局からの
データが付加されているか否かを判別し、データが付加
されている場合は、S54で付加されているデータの解
析処理をする。また従局からのデータが付加されていな
い場合は、次のトークンの出力のためS41へ戻る。S
43でトークンを受信していない場合、S45でタイマ
ーAがタイムアウトになっているか否かを判別し、タイ
ムアウトでない場合は、S43へ戻りトークンの受信を
監視する。S45での判別結果がタイムアウトであった
場合は、S46へ進み、タイマーBをスタートさせる。
なおタイマーBの値は図1の場合と同様に設定する。
In S44 of FIG. 5, it is determined whether or not data from the slave station is added to the token. If data is added, the data added is analyzed in S54. If the data from the slave station has not been added, the process returns to S41 to output the next token. S
If the token has not been received at 43, it is determined at S45 whether or not the timer A has timed out. If not, the process returns to S43 to monitor the reception of the token. If the result of the determination in S45 is a timeout, the process proceeds to S46, and the timer B is started.
The value of the timer B is set in the same manner as in FIG.

【0028】S47では、従局からのデータ受信の有無
を判別し、データの受信をしていた場合は、S49で、
その受信データを解析してデータを送ってきた従局を認
識する。その後S50へ進む。S47の判別結果が従局
からのデータ受信をしていないという場合には、S48
で、タイマーBがタイムアウトになっているか否かを判
別し、タイムアウトでない場合はS47へ戻り従局から
データを受信しているかを確認する。S48の判別結果
がタイムアウトになっている場合はS50へ進む。S5
0では、タイマーCがタイムアウトになってるか否かを
判別し、タイムアウトになっていれば直ちにS51へ進
み、タイムアウトになっていない場合には、タイムアウ
トになるまで待つ。そしてタイマーCがタイムアウトに
なったときにS51へ進む。
In S47, it is determined whether or not data has been received from the slave station. If data has been received, in S49,
The received data is analyzed to recognize the slave station that sent the data. Then, the process proceeds to S50. If the result of determination in S47 is that data has not been received from the slave station,
Then, it is determined whether or not the timer B has timed out. If not, the process returns to S47 to confirm whether or not data has been received from the slave station. If the result of the determination in S48 has timed out, the flow proceeds to S50. S5
In the case of 0, it is determined whether or not the timer C has timed out, and if it has timed out, the process proceeds immediately to S51, and if not, the process waits until the time out. When the timer C times out, the process proceeds to S51.

【0029】S51では、図4のリレー24及び25の
切換接点を前記順方向接続状態から逆方向接続状態(図
4の切換接点を反対側)に切換える。そしてS52へ進
む。S52では、S51でリレー24及び25の切換接
点を切換える前のループインタフェースの順方向通信路
と、切換えた後の逆方向通信路における両方向の通信路
によるチェックがすんでいるか否かを判別する。そして
一方向の通信路によるチェックしかすんでいない場合
は、S41に戻り(図5のイを参照)、他方向の通信路
によりS41〜S51の処理を再度行う。
In S51, the switching contacts of the relays 24 and 25 in FIG. 4 are switched from the forward connection state to the reverse connection state (the switching contact in FIG. 4 is on the opposite side). Then, the process proceeds to S52. In S52, it is determined whether or not the check by the two-way communication path in the loop communication path before switching the switching contacts of the relays 24 and 25 in S51 and the backward communication path after switching is completed. Then, if the check has only been performed on the communication path in one direction, the process returns to S41 (see A in FIG. 5), and the processing in S41 to S51 is performed again on the communication path in the other direction.

【0030】S52で、両方向の通信路によるチェック
がすんだと判別されると、S53へ移り、S49で取得
したデータを送ってきた従局番号に基づき、接続状態が
正常な従局と異常な従局について、両方向での通信をし
た結果を共に表示部に表示してオペレータに確認を促
す。
If it is determined in S52 that the check by the two-way communication path has been completed, the process moves to S53, and based on the slave number from which the data acquired in S49 has been transmitted, the slave having a normal connection state and the slave having an abnormal connection state are determined. The result of the communication in both directions is displayed together on the display unit to prompt the operator to confirm.

【0031】図6は本発明の実施形態2に係る従局の通
信制御処理を示すフローチャートであり、図のSに続く
数値はステップ番号を示す。図6は本通信システムの従
局A,B,C,Dの通信制御処理を示すものであり、以
下図6のフローチャートを説明する。図6のS61では
タイマーAとタイマーCを共にスタートさせ、S62で
はトークンを受信したか否かを判別する。ここでタイマ
ーAとCの値は図5の場合と同様に設定する。トークン
を受信した場合はS63で受信したフレームの解析を行
い、自装置宛のフレームか否かを判別する。自装置宛の
フレームであった場合は、S64へ進み、受信したフレ
ームを装置内のメモリにコピーした後、S65へ進み、
前記受信したフレームをそのままループの次の従局(従
局Dは主局)に送信する。S63で自装置宛のフレーム
でないと判別された場合はS65へ進んだ後、S61へ
戻り次のトークンを待つ。
FIG. 6 is a flowchart showing the communication control processing of the slave station according to the second embodiment of the present invention. The numeral following S in FIG. 6 indicates a step number. FIG. 6 shows a communication control process of the slave stations A, B, C, and D of the communication system. The flowchart of FIG. 6 will be described below. In S61 of FIG. 6, both the timer A and the timer C are started, and in S62, it is determined whether or not a token has been received. Here, the values of the timers A and C are set as in the case of FIG. When the token is received, the frame received is analyzed in S63, and it is determined whether or not the frame is addressed to the own device. If the frame is addressed to the own device, the process proceeds to S64, and after copying the received frame to the memory in the device, the process proceeds to S65,
The received frame is transmitted as it is to the next slave station in the loop (the slave station D is the master station). If it is determined in S63 that the frame is not addressed to the own device, the process proceeds to S65, and returns to S61 to wait for the next token.

【0032】S62でトークンを受信していないと判別
した場合はS66へ移り、タイマーAがタイムアウトに
なっているか否かを判別し、タイムアウトでない場合は
S62へ戻りトークンを受信しているか確認する。S6
6の判別結果がタイムアウトの場合はS67へ進み、タ
イマーBをスタートさせる。ここで各従局のタイマーB
の値は、最初は図2の場合と同様に設定するが、その後
データ通信の通信方向を順方向から逆方向に切換える際
に、この切換えに応じてタイマーBの値を変更する必要
がある。即ち、順方向における各従局A,B,C,Dに
おけるタイマー値B1 ′,B2 ′,B3 ′,B4 ′はB
1 ′<B2 ′<B3 ′<B4 ′となるようにそれぞれ設
定され、逆方向における各従局A,B,C,Dにおける
タイマー値B1 ″,B2 ″,B3 ″,B4 ″はB1 ″>
2 ″>B3 ″>B4 ″となるようにそれぞれ設定され
る。
If it is determined in step S62 that the token has not been received, the process proceeds to step S66, and it is determined whether or not the timer A has timed out. If not, the process returns to step S62 to confirm whether or not the token has been received. S6
If the result of the determination in 6 is a timeout, the process proceeds to S67 and the timer B is started. Here, timer B of each slave station
Is initially set in the same manner as in FIG. 2, but when the communication direction of data communication is subsequently switched from the forward direction to the reverse direction, the value of the timer B needs to be changed in accordance with this switching. That is, the timer values B 1 ′, B 2 ′, B 3 ′, B 4 ′ at the slave stations A, B, C, D in the forward direction are represented by B
1 ′ <B 2 ′ <B 3 ′ <B 4 ′, and the timer values B 1 ″, B 2 ″, B 3 ″, B at the slave stations A, B, C, D in the reverse direction. 4 "B 1">
B 2 "> B 3"> each B 4 so as to "set.

【0033】S67の次にS68へ進み、ループの前段
の従局からデータを受信しているか否かを判別し、デー
タを受信している場合にはS71へ進み、データを受信
していない場合にはS69へ進む。S71では、受信デ
ータに自装置の従局番号を付加してループの次の従局に
そのデータを送出し、その後S72へ進む。
After S67, the process proceeds to S68, in which it is determined whether or not data has been received from a slave station at the preceding stage of the loop. If data has been received, the process proceeds to S71. If data has not been received, the process proceeds to S71. Goes to S69. In S71, the slave station number of the own apparatus is added to the received data, and the data is transmitted to the slave station next to the loop, and then the process proceeds to S72.

【0034】S68でループの前段の従局からデータを
受信していないと判別された場合は、S69において、
タイマーBがタイムアウトになっているか否かを判別
し、タイムアウトになっていない場合はS68に戻りル
ープの前段の従局からデータを受信しているか確認す
る。S69でタイムアウトになっていると判別された場
合は、S70に進み、ループの次の従局に自装置の従局
番号を送出する。その後S72に進む。S72では、タ
イマーCがタイムアウトになっているか否かを判別し、
タイムアウトになっていれば直にS73へ進み、タイム
アウトになっていない場合には、タイムアウトになるま
で待つ。そしてタイマーCがタイムアウトになったとき
にS73へ進む。
If it is determined in S68 that data has not been received from the slave station at the preceding stage of the loop, then in S69,
It is determined whether or not the timer B has timed out. If the time has not timed out, the process returns to S68 to confirm whether data has been received from the slave station at the preceding stage of the loop. If it is determined in S69 that the time-out has occurred, the flow advances to S70 to send the slave station number of the own apparatus to the slave station next to the loop. Then, the process proceeds to S72. In S72, it is determined whether or not the timer C has timed out,
If the time-out has occurred, the process proceeds directly to S73, and if not, the process waits until the time-out occurs. When the timer C times out, the process proceeds to S73.

【0035】S73では、図4のリレー24及び25の
切換接点を前記順方向接続状態から逆方向接続状態(図
4の切換接点を反対側)に切換える。そしてS74へ進
む。S74では、S73でリレー24及び25の切換接
点を切換える前のループインタフェースの順方向通信路
と、切換えた後の逆方向通信路における両方向の通信路
におけるチェックがすんでいるか否かを判別する。そし
て一方向の通信路によるチェックしかすんでいない場合
は、S75へ進み、両方向の通信路によるチェックがす
んでいる場合は、S76へ進む。
In S73, the switching contacts of the relays 24 and 25 in FIG. 4 are switched from the forward connection state to the reverse connection state (the switching contact in FIG. 4 is on the opposite side). Then, the process proceeds to S74. In S74, it is determined whether or not the check has been made in the forward communication path of the loop interface before switching the switching contacts of the relays 24 and 25 in S73 and in the two-way communication path in the backward communication path after switching. If the check using only the one-way communication channel has been completed, the process proceeds to S75. If the check using the two-way communication channel has been completed, the process proceeds to S76.

【0036】S75では、タイマーBの値をB′から予
めプログラム上に保持しているB″の値に変更し、逆方
向での通信確認をするためにS61に戻り(図6のイを
参照)、S61〜S73の処理を再度行う。S74で両
方向での通信確認が完了していると判別された場合は、
S76へ進み、タイマーBの値をB″から予めプログラ
ム上に保持しているB′の値に戻し、従局の通信制御処
理の動作を終了する。
In S75, the value of the timer B is changed from B 'to the value of B "previously stored in the program, and the flow returns to S61 to confirm the communication in the reverse direction (see FIG. 6A). ), And repeat the processing of S61 to S73.If it is determined in S74 that the communication confirmation in both directions has been completed,
Proceeding to S76, the value of the timer B is returned from B "to the value of B 'previously stored in the program, and the operation of the communication control processing of the slave station ends.

【0037】ここで、S75,S76において、タイマ
ーBの値を変更する理由を説明する。タイマーBは、タ
イマーAでループ断を検出した後に、従局が次の局に自
装置番号を送出するタイミングを作っている。そのた
め、各従局が同時に出力しないように各従局で時間をず
らす必要があり、図3における従局A〜DのタイマーB
1 〜B4 の値は、B1 <B2 <B3 <B4 として説明し
た。しかし実施形態2においては、2つの通信方向を有
するので、この通信方向に従って順次長時間となるよう
に各従局のタイマーBの値を変更する必要がある。即
ち、通信方向が順方向通信(主局→従局A→従局B→従
局C→従局D→主局)の場合には、各従局A,B,C,
DのタイマーBの値は、B1 ′<B2 ′<B3 ′<
4 ′とし、逆方向通信(主局→従局D→従局C→従局
B→従局A→主局)の場合には、B1 ″>B2 ″>
3 ″>B4 ″とする必要があるためである。
Here, the reason why the value of the timer B is changed in S75 and S76 will be described. Timer B sets the timing at which the slave station sends its own device number to the next station after detecting the loop break by timer A. Therefore, it is necessary to shift the time in each slave station so that each slave station does not output simultaneously, and the timer B of the slave stations A to D in FIG.
The value of 1 .about.B 4 has been described as B 1 <B 2 <B 3 <B 4. However, in the second embodiment, since there are two communication directions, it is necessary to change the value of the timer B of each slave station so that the time becomes longer sequentially according to the communication directions. That is, when the communication direction is forward communication (master station → slave station A → slave station B → slave station C → slave station D → master station), each slave station A, B, C,
The value of the timer B of D is B 1 ′ <B 2 ′ <B 3 ′ <
B 4 ′. In the case of reverse communication (master station → slave station D → slave station C → slave station B → slave station A → master station), B 1 ″> B 2 ″>
This is because it is necessary to satisfy B 3 ″> B 4 ″.

【0038】図7は本発明の実施形態2に係るループ断
線時の主局、従局の通信動作例を示すシーケンス図であ
り、主局及び従局が前記図5及び図6の通信制御処理を
それぞれ実行することにより、従局Aと従局Bの間及び
従局Bと従局C間でインターフェースの断線事故が発生
している場合には、図7のように動作する。以下図7の
動作を説明する。本システムに電源が投入されると、ま
ず順方向通信による動作を行う。即ち、主局は従局Aに
トークン(図のPで示す)を送出する。従局Aはトーク
ンを受信すると、トークン(P)に自装置が動作可能状
態であることを示すデータ(図のCNAで示す)を付加
したフレーム(P,CNA)を従局Bに送出する。しか
し、従局Aと従局Bの間で断線しているため従局Bはこ
のフレームを受信しない。
FIG. 7 is a sequence diagram showing a communication operation example of the master station and the slave station when the loop is broken according to the second embodiment of the present invention. The master station and the slave station perform the communication control processing of FIGS. 5 and 6, respectively. As a result, when an interface disconnection accident occurs between the slave station A and the slave station B and between the slave station B and the slave station C, the operation is performed as shown in FIG. Hereinafter, the operation of FIG. 7 will be described. When the power is turned on to the system, first, an operation by forward communication is performed. That is, the master station sends a token (indicated by P in the figure) to the slave station A. When the slave station A receives the token, it sends a frame (P, CNA) to the slave station B in which data (indicated by CNA in the figure) indicating that the own device is operable is added to the token (P). However, since the line between the slave station A and the slave station B is broken, the slave station B does not receive this frame.

【0039】そのため従局Bは、タイマーAのタイムア
ウト後に、タイマーB2 ′をスタートさせ、タイマーB
2 ′がタイムアウトになると従局Cに対して自装置の従
局番号を送出する。しかし、従局Bと従局Cの間も断線
しているので従局Cは従局Bからのデータを受信しな
い。そのため、従局Cは、タイマーAのタイムアウト後
に、タイマB3 ′をスタートさせ、タイマーB3 ′がタ
イムアウトになると、自装置の従局番号(図のCで示
す)を従局Dに送出する。従局Dは従局Cの従局番号
(C)を受信し、そのフレームに自装置の従局番号
(D)を付加し(図C,Dで示す)、て主局に送る。主
局はそれを受信する。
Therefore, the slave station B starts the timer B 2 ′ after the timer A times out, and
When 2 'times out, it sends its slave station number to slave station C. However, the slave station B does not receive data from the slave station B because the slave station B and the slave station C are disconnected. Therefore, the slave station C starts the timer B 3 ′ after the timer A times out. When the timer B 3 ′ times out, the slave station C sends the slave station number (indicated by C in the figure) of the slave station to the slave station D. The slave station D receives the slave station number (C) of the slave station C, adds the slave station number (D) of its own apparatus to the frame (shown in FIGS. C and D), and sends the frame to the master station. The master station receives it.

【0040】その後さらに時間が経過し、各装置がタイ
マーCのタイムアウトを検出すると、通信制御回路部の
リレー24及び25を切換える。即ち通信方向を順方向
通信から逆方向通信に切換える。主局は、逆方向通信に
より、従局Dにトークンを出力し、従局Dはそのトーク
ンに自装置が動作可能状態であることを示すデータを付
加して(図のP,CNDで示す)従局Cにフレームを送
出する。従局Cは受信したフレームに自装置が動作可能
状態であることをしめすデータを付加して(図のP,C
ND,CNCで示す)従局Bにフレームを送出する。し
かし、従局Cと従局Bの間で断線が生じているので、従
局Bにはそのフレームが届かない。
When the time further elapses and each device detects the timeout of the timer C, the relays 24 and 25 of the communication control circuit are switched. That is, the communication direction is switched from forward communication to backward communication. The master station outputs a token to the slave station D by reverse communication, and the slave station D adds data indicating that the own device is in an operable state to the slave station (indicated by P and CND in the figure). Send the frame to The slave station C adds to the received frame data indicating that the apparatus itself is operable (P, C in the figure).
A frame is transmitted to the slave station B (indicated by ND and CNC). However, since the disconnection has occurred between the slave station C and the slave station B, the frame does not reach the slave station B.

【0041】そのため従局Bは、タイマーAのタイムア
ウト後にタイマーB2 ″をスタートさせ、タイマー
2 ″がタイムアウトになると従局Aに対して自装置の
従局番号(図のBで示す)を送出する。しかし、従局B
と従局Aの間も断線しているので従局Aは何も受信しな
い。そのため従局AもタイマーAのタイムアウト後にタ
イマB1 ″をスタートさせ、タイマB1 ″がタイムアウ
トになると自装置の従局番号(図のAで示す)を主局に
送出する。主局は従局Aの従局番号(A)のみを受信す
る。図7の例では、最初の順方向の通信時には、主局に
従局Cと従局Dの従局番号が送られたことから従局Cの
受信回路の前段以前が故障しているものと考えることが
できる。また次の逆方向の通信時には、主局に従局Aの
従局番号が送られてきたことから、従局Aの受信回路の
前段以前が故障しているものと考えることができる。こ
の2つの通信方向の情報によって主局は、従局Cの受信
回路の前段以前と従局Aの受信回路の前段以前が故障し
ている旨を表示部に表示し、オペレータに確認を促すこ
とができる。
Therefore, the slave station B starts the timer B 2 ″ after the timer A times out. When the timer B 2 ″ times out, the slave station B sends its slave station number (indicated by B in the figure) to the slave station A. However, slave station B
And the slave station A are also disconnected, so the slave station A does not receive anything. Therefore, the slave station A also starts the timer B 1 ″ after the timer A times out, and when the timer B 1 ″ times out, sends the slave station number (indicated by A in the figure) of its own device to the master station. The master station receives only the slave station number (A) of the slave station A. In the example of FIG. 7, since the slave station numbers of the slave station C and the slave station D are transmitted at the time of the first forward communication, it can be considered that the preceding stage of the receiving circuit of the slave station C is out of order. . At the time of the next reverse communication, since the slave station number of the slave station A has been sent, it can be considered that the preceding stage of the receiving circuit of the slave station A is out of order. Based on the two communication direction information, the master station can display on the display section that a failure has occurred in the stage before the receiving circuit of the slave station C and before the stage of the receiving circuit in the slave station A, and can prompt the operator to confirm. .

【0042】以上のように本実施形態2によれば、主局
及び従局にループ断検出後にデータの送受信処理を設け
ると共に、主局及び従局の通信制御回路にリレーを設け
てループインタフェースの通信方向を順方向と逆方向の
両方向でデータの送受信処理をする制御にしたことによ
り、最大2箇所の故障を一回の探索で検出することかで
きる。また両方向で探索により、故障が一箇所のみであ
った場合は、その箇所を特定でき、ループインタフェー
スのどの部分が正常で、どの箇所が故障であるかを明確
に判定できるため、オペレータによる故障原因の探索作
業の効率が良くなることが期待できる。
As described above, according to the second embodiment, the master station and the slave station are provided with the data transmission / reception processing after detecting the loop break, and the communication control circuits of the master station and the slave station are provided with relays to provide the communication direction of the loop interface. Is controlled to perform data transmission / reception processing in both the forward and reverse directions, so that a maximum of two failures can be detected by one search. In addition, if only one location has a failure by searching in both directions, the location can be specified, and it is possible to clearly determine which part of the loop interface is normal and which location is the failure. Can be expected to be more efficient.

【0043】なお上記実施形態1,2における主局、従
局のタイマーA,B及びCは、それぞれ特許請求の範囲
に記載の第1、第2及び第3のタイマーに相当するもの
である。
The timers A, B, and C of the master station and the slave stations in the first and second embodiments correspond to the first, second, and third timers described in the claims, respectively.

【0044】[0044]

【発明の効果】以上のように本発明によれば、主局と複
数の従局がループ状に接続され、主局から各従局に送信
する所定周期毎のポーリング情報に基づき、主局と従局
間及び従局相互間のデータ通信を行うシステムにおける
ループインタフェースのループ断箇所を判定する方法に
おいて、前記主局と各従局にそれぞれ第1及び第2のタ
イマーを設け、前記第1のタイマーは、その値を前記ポ
ーリング情報の送信周期よりも長時間に設定しておき、
前記ポーリング情報の送信と同時に始動させ、そのタイ
ムアウトにより主局と従局はそれぞれループ断を検出
し、前記第2のタイマーは、前記ループ断の検出後にそ
れぞれ始動させると共に各従局におけるタイマー値をデ
ータ通信の通信方向に従い順次長時間となるようにそれ
ぞれ設定しておき、各従局は、前記第2のタイマーのタ
イムアウト以前に通信方向の前の従局からその従局番号
を受信したときには、この受信情報に自装置の従局番号
を付加した情報を通信方向の次の従局へ送信し、またそ
のタイムアウトにより自装置の従局番号を通信方向の次
の従局へ送信するようにし、前記主局は通信方向の最後
の従局から受信できる前記単数又は複数の従局番号を含
む情報に基づきループ断箇所を判定するようにしたの
で、ループインタフェースにループ断が発生した場合
に、ループインタフェースのどの部分が正常で、どの部
分が正常でないかを明確に判定できるので、オペレータ
による故障原因の探索作業の効率が向上する。
As described above, according to the present invention, the master station and a plurality of slave stations are connected in a loop, and the master station and the slave stations are connected to each other based on polling information transmitted from the master station to each slave station at predetermined intervals. And a method of determining a loop break point of a loop interface in a system for performing data communication between slave stations, wherein a first timer and a second timer are provided for the master station and each slave station, and the first timer Is set longer than the transmission cycle of the polling information,
The polling information is started at the same time as the transmission of the polling information, and the timeout causes the master station and the slave station to detect a loop break, respectively. The second timer is started after the loop break is detected, and the timer value in each slave station is communicated by data communication. Each slave station is set so as to take a long time sequentially according to the communication direction of the slave station. When the slave station receives the slave station number from the slave station in the communication direction before the timeout of the second timer, the slave station automatically includes the slave station information in the received information. The information to which the slave station number of the device is added is transmitted to the next slave station in the communication direction, and the slave station number of the own apparatus is transmitted to the next slave station in the communication direction due to the time-out. Since the loop break point is determined based on the information including the single or plural slave numbers which can be received from the slave station, the loop interface is determined. If the loop disconnection occurs in the scan, which part of the loop interface is normal, since what parts are not normal can be determined clearly, improving the efficiency of search work fault cause by the operator.

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

【図1】本発明の実施形態1に係る主局の通信制御処理
を示すフローチャートである。
FIG. 1 is a flowchart illustrating communication control processing of a master station according to Embodiment 1 of the present invention.

【図2】本発明の実施形態1に係る従局の通信制御処理
を示すフローチャートである。
FIG. 2 is a flowchart illustrating a communication control process of a slave station according to the first embodiment of the present invention.

【図3】本発明の実施形態1に係るループ断線時の主
局、従局の通信動作例を示すシーケンス図である。
FIG. 3 is a sequence diagram illustrating a communication operation example of a master station and a slave station at the time of loop disconnection according to the first embodiment of the present invention.

【図4】本発明の実施形態2に係る主局、従局の通信制
御回路を示す図である。
FIG. 4 is a diagram illustrating a communication control circuit of a master station and a slave station according to a second embodiment of the present invention.

【図5】本発明の実施形態2に係る主局の通信制御処理
を示すフローチャートである。
FIG. 5 is a flowchart showing communication control processing of a master station according to Embodiment 2 of the present invention.

【図6】本発明の実施形態2に係る従局の通信制御処理
を示すフローチャートである。
FIG. 6 is a flowchart illustrating communication control processing of a slave station according to the second embodiment of the present invention.

【図7】本発明の実施形態2に係るループ断線時の主
局、従局の通信動作例を示すシーケンス図である。
FIG. 7 is a sequence diagram illustrating a communication operation example of a master station and a slave station when a loop is broken according to the second embodiment of the present invention.

【図8】複数の局がループ接続された通信システムの構
成例を示す図である。
FIG. 8 is a diagram illustrating a configuration example of a communication system in which a plurality of stations are connected in a loop.

【図9】図8の主局、従局のハードウェア構成を示すブ
ロック図である。
FIG. 9 is a block diagram illustrating a hardware configuration of a master station and a slave station in FIG. 8;

【図10】図8のシステムの電源投入時の通信シーケン
スを示すタイムチャートである。
FIG. 10 is a time chart showing a communication sequence when the power of the system in FIG. 8 is turned on.

【図11】図8のシステムの主局から従局へのデータ通
信シーケンス例を示すタイムチャートである。
11 is a time chart showing an example of a data communication sequence from a master station to a slave station in the system of FIG. 8;

【図12】図8のシステムの主局の通信制御処理を示す
フローチャートである。
FIG. 12 is a flowchart showing communication control processing of a main station of the system of FIG. 8;

【図13】図8のシステムの従局の通信制御処理を示す
フローチャートである。
FIG. 13 is a flowchart showing communication control processing of a slave station in the system of FIG. 8;

【図14】図8のシステムのループインタフェースでの
故障例を示す図である。
14 is a diagram illustrating an example of a failure in a loop interface of the system in FIG. 8;

【符号の説明】[Explanation of symbols]

1 CRT 2 制御部 3 キーボード 4 接続ケーブル 5 接続ケーブル 11 CPU 12 CPU周辺回路 13 メモリ 14 表示部制御回路 15 表示部 16 入力部制御回路 17 入力部 18,20 通信制御回路 19 CPUバス 21 制御回路 22 レシーブ素子 23 ドライブ素子 DESCRIPTION OF SYMBOLS 1 CRT 2 Control part 3 Keyboard 4 Connection cable 5 Connection cable 11 CPU 12 CPU peripheral circuit 13 Memory 14 Display part control circuit 15 Display part 16 Input part control circuit 17 Input part 18, 20 Communication control circuit 19 CPU bus 21 Control circuit 22 Receive element 23 Drive element

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 主局と複数の従局がループ状に接続さ
れ、主局から各従局に送信する所定周期毎のポーリング
情報に基づき、主局と従局間及び従局相互間のデータ通
信を行うシステムにおけるループインタフェースのルー
プ断箇所を判定する方法において、 前記主局と各従局にそれぞれ第1及び第2のタイマーを
設け、 前記第1のタイマーは、その値を前記ポーリング情報の
送信周期よりも長時間に設定しておき、前記ポーリング
情報の送信と同時に始動させ、そのタイムアウトにより
主局と従局はそれぞれループ断を検出し、 前記第2のタイマーは、前記ループ断の検出後にそれぞ
れ始動させると共に各従局におけるタイマー値をデータ
通信の通信方向に従い順次長時間となるようにそれぞれ
設定しておき、各従局は、前記第2のタイマーのタイム
アウト以前に通信方向の前の従局からその従局番号を受
信したときには、この受信情報に自装置の従局番号を付
加した情報を通信方向の次の従局へ送信し、またそのタ
イムアウトにより自装置の従局番号を通信方向の次の従
局へ送信するようにし、 前記主局は通信方向の最後の従局から受信できる前記単
数又は複数の従局番号を含む情報に基づきループ断箇所
を判定することを特徴とするループインタフェースのル
ープ断箇所判定方法。
A system in which a master station and a plurality of slave stations are connected in a loop, and perform data communication between the master station and slave stations and between slave stations based on polling information transmitted from the master station to each slave station at predetermined intervals. In the method for determining a loop break point of a loop interface in the above, a first timer and a second timer are provided for each of the master station and each slave station, and the first timer has a value longer than a transmission cycle of the polling information. It is set to a time and started at the same time as the transmission of the polling information, the master station and the slave station respectively detect a loop break by the timeout, and the second timer is started after detecting the loop break, and The timer values in the slave stations are set so as to be sequentially longer according to the communication direction of data communication, and each slave station sets the second timer If the slave station number is received from the previous slave station in the communication direction before the timeout of, the information obtained by adding the slave station number of the own apparatus to the received information is transmitted to the next slave station in the communication direction. The slave station number is transmitted to the next slave station in the communication direction, and the master station determines a loop break point based on information including the one or more slave station numbers that can be received from the last slave station in the communication direction. Loop break point determination method of the loop interface to be performed.
【請求項2】 前記主局と複数の従局とをループ状に接
続してデータ通信を行う通信方向を順方向と逆方向に切
換えるループ接続切換手段を主局と各従局にそれぞれ追
加して設け、 また前記各従局における第2のタイマーの値を、前記ル
ープ接続切換手段の切換に応じ、その通信方向に従い順
次長時間となるようにそれぞれ変更するタイマー値変更
手段を各従局に追加して設け、 また前記主局及び各従局に第3のタイマーを追加して設
け、 前記第3のタイマーは、その値を前記第1タイマーの値
と第2のタイマー値のうちの最大値との和よりも長時間
に設定しておき、前記ポーリング情報の送信と同時に始
動させ、そのタイムアウトにより前記ループ接続切換手
段による接続切換及びタイマー値変更手段によるタイマ
ー値変更を行い、 前記主局は順方向と逆方向の通信方向において、それぞ
れの通信方向の最後の従局から受信できる両方向の前記
単数又は複数の従局番号を含む情報に基づきループ断箇
所を判定することを特徴とする請求項1記載のループイ
ンタフェースのループ断箇所判定方法。
2. A loop connection switching means for switching the communication direction for performing data communication by connecting the master station and a plurality of slave stations in a loop to a forward direction and a reverse direction is additionally provided for the master station and each slave station. Further, a timer value changing means for changing the value of the second timer in each of the slave stations so as to sequentially take a long time in accordance with the communication direction according to the switching of the loop connection switching means is additionally provided for each of the slave stations. Further, a third timer is additionally provided for the master station and each slave station, and the third timer calculates a value of the third timer by a sum of a value of the first timer and a maximum value of the second timer value. Is also set to a long time, is started at the same time as the transmission of the polling information, the connection is switched by the loop connection switching means and the timer value is changed by the timer value changing means due to the timeout, The station determines a loop break point in forward and reverse communication directions based on information including the single or plural slave numbers in both directions that can be received from the last slave in each communication direction. 2. The method for judging loop breakage of the loop interface according to 1.
JP9018200A 1997-01-31 1997-01-31 Method for discriminating position of broken loop in loop interface Pending JPH10215273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9018200A JPH10215273A (en) 1997-01-31 1997-01-31 Method for discriminating position of broken loop in loop interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9018200A JPH10215273A (en) 1997-01-31 1997-01-31 Method for discriminating position of broken loop in loop interface

Publications (1)

Publication Number Publication Date
JPH10215273A true JPH10215273A (en) 1998-08-11

Family

ID=11965005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9018200A Pending JPH10215273A (en) 1997-01-31 1997-01-31 Method for discriminating position of broken loop in loop interface

Country Status (1)

Country Link
JP (1) JPH10215273A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006035492A1 (en) * 2004-09-27 2006-04-06 Cell Cross Corporation Communication apparatus
JP2015162697A (en) * 2014-02-26 2015-09-07 Necエンジニアリング株式会社 Monitoring control system, monitoring device, monitoring control method, and monitoring control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006035492A1 (en) * 2004-09-27 2006-04-06 Cell Cross Corporation Communication apparatus
JP2015162697A (en) * 2014-02-26 2015-09-07 Necエンジニアリング株式会社 Monitoring control system, monitoring device, monitoring control method, and monitoring control program

Similar Documents

Publication Publication Date Title
US5079759A (en) Multiplex transmission system for vehicles having a failure diagnosis function
JPH0376620B2 (en)
US8804750B2 (en) Field device
JPH10215273A (en) Method for discriminating position of broken loop in loop interface
US6590864B1 (en) Protection switching using standby system for transmission of line status signals
US6724731B1 (en) Radio communication system and control method, and information processing apparatus used therein
JPH01256843A (en) Link control system
JP2002091519A (en) Programmable controller and erroneous wiring correcting method
JP4237101B2 (en) Double loop network system
JP2000040013A (en) Method for detecting line abnormality for duplex communication system
JP3656622B2 (en) Remote monitoring control system
JPH08293895A (en) Communication controller and communication equipment connecting system
JPH1198058A (en) Radio channel switching device
JP2024004705A (en) Network system and control method therefor
CN118295856A (en) Interrupt processing method and device for target communication
JPS5950639A (en) Method for detecting restoration of failure in loop data transmission system
JPH05252221A (en) Remote power supply applying system
KR19980038766A (en) Automatic Recovery Method of Inter-processor Communication Nodes in Exchange
JPH10112887A (en) Radio data collecting system
JP2746245B2 (en) Packet line test method
JP2601762Y2 (en) Lighting control device
JP4099851B2 (en) Data terminal communication system
JP2959860B2 (en) Multiplex transmission method
JPH05300120A (en) Method for confirming connection between equipments in digital communication system
JPH10320307A (en) Remote i/o system