JPH0276337A - Automatic diagnosis method for failures in multiplex communication - Google Patents
Automatic diagnosis method for failures in multiplex communicationInfo
- Publication number
- JPH0276337A JPH0276337A JP22801888A JP22801888A JPH0276337A JP H0276337 A JPH0276337 A JP H0276337A JP 22801888 A JP22801888 A JP 22801888A JP 22801888 A JP22801888 A JP 22801888A JP H0276337 A JPH0276337 A JP H0276337A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication device
- line
- communication equipment
- main line
- 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
Links
Landscapes
- Time-Division Multiplex Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、複数個のシーケンス回路等の通信装置間を、
アイソレーションユニットを介して通信幹線に直列接続
した多重通信システムにおいて、通信装置自体あるいは
隣接する通信装置を接続する通信幹線に故障を生じたか
否かの検出を自動的に行なうための、多重通信における
故障の自動診断方法に関する。DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention provides communication between a plurality of communication devices such as sequence circuits,
In a multiplex communication system connected in series to a communication main line via an isolation unit, this technology is used to automatically detect whether or not a failure has occurred in the communication device itself or in the communication main line connecting adjacent communication devices. Concerning automatic failure diagnosis method.
(従来の技術)
工作機械の制御装置等におけるシーケンス回路は、被加
工物を順次次工程に送って加工をするために、シーケン
ス回路相互間をアイソレーションユニットを介した通信
装置で接続し、これら通信装置相互間で通信の授受をす
ることが従来から行なわれている、第3図にその一例を
示す、この図において1.2.3.=−、nはそれぞれ
通信装置であって、図示しないシーケンス回路の出力信
号を、必要に応じて他のシーケンス回路に伝送するもの
である。(Prior art) Sequence circuits in machine tool control devices, etc., connect each sequence circuit with a communication device via an isolation unit in order to send workpieces to successive processes and process them. FIG. 3 shows an example of a conventional method of transmitting and receiving communications between communication devices. =- and n are communication devices, respectively, which transmit output signals of a sequence circuit (not shown) to other sequence circuits as necessary.
これら通信装置1.2.3.+、nは、それぞれ分岐ス
イッチ4を介して通信幹線5によって接続されており、
また第1番目の通信装置lと最終位置の通信装置nの間
がループ予備線6で接続され、さらに隣接する通信装置
間が二重予備線7で接続されている0分岐スイッチ4は
、各通信装置間を常時接続している通信幹線5のほか、
ループ予備線6と二重予備線7で接続する切換えを行な
うものであり、必要に応じて作業者が手動操作で切換え
るものである。These communication devices 1.2.3. + and n are connected by a communication main line 5 via a branch switch 4, respectively.
Further, the 0 branch switch 4 connects the first communication device l and the communication device n at the final position with a loop backup line 6, and further connects adjacent communication devices with a double backup line 7. In addition to the communication trunk line 5 that constantly connects communication devices,
The loop backup line 6 and the double backup line 7 are connected to each other by switching, and the operator manually switches the connection as necessary.
このような構成の従来の多重通信装置では、通信装置1
.2.3.+、n自体が故障し、あるいはこれら通信装
置1.2.3.m、nを接続する通信幹線5に故障があ
ったとき、作業者が複数個の分岐スイッチ4を順次切換
えることによって、故障した通信装置1.2.3.−+
、nまたはこれらの間を接続する通信幹線5の故障部位
を発見していた。そして故障部位の発見後、通信幹線5
が故障しているときには、ループ予備線6あるいは二重
予備線7を用いて通信を継続し、適当な時期に通信幹線
5を修理あるいは交換することになる。In a conventional multiplex communication device having such a configuration, communication device 1
.. 2.3. +, n itself is out of order, or these communication devices 1.2.3. When there is a failure in the communication main line 5 that connects the communication devices 1.2.3. −+
, n, or a faulty part of the communication main line 5 connecting these has been discovered. After discovering the faulty part, communication trunk 5
When the main line 5 is out of order, the loop backup line 6 or double backup line 7 is used to continue communication, and the communication main line 5 is repaired or replaced at an appropriate time.
(発明が解決しようとする課題)
上記従来の技術では、故障発見のための分岐スイッチの
操作に多大の時間がかかり、システムのダウンタイムが
長くなるという問題があった。また通信?A置置体体故
障と、これを接続している通信幹線の断線等の故障との
識別に多くの時間を要する問題もあった0本発明は、こ
れらの問題を解決することを課題として成されたもので
ある。(Problems to be Solved by the Invention) The above-mentioned conventional technology has a problem in that it takes a lot of time to operate a branch switch to discover a fault, resulting in extended system downtime. Communication again? There was also the problem that it took a lot of time to distinguish between a failure of the A-mounted body and a failure such as a disconnection of the communication main line connecting it.The present invention was made with the aim of solving these problems. It is something that
(課題を解決するための手段)
本発明の方法は、複数個の通信装置をアイソレーション
ユニットを介して通信幹線で直列接続すると共に、第1
番目の通信装置と最終位置の通信装置とを接続するルー
プ予備線を設け、前記通信幹線あるいはこれに接続され
たいずれかの通信装置に故障があったときに、前記ルー
プ予備線を使用して他の通信装置相互間での通信を継続
する多重通信において、前記通信幹線とループ予備線と
の間を接続するスイッチ回路を設け、親局から、第1番
目の通信装置から最終位置の通信装置までを順にポーリ
ングし、応答があるか否か、および応答がない通信装置
があるときにはそれが何番目の通信装置であるかの検出
を行ない、該検出があったときに前記スイッチ回路をオ
ンにして通信幹線とループ予備線との接続を行ない、こ
のループ予備線を流れる通信電流の状態から、前記応答
がない通信装置が、該通信装置自体の故障であるのか、
該通信装置と隣接する通信装置とを結ぶ通信幹線の故障
であるのかを自動的に判別することを特徴とする多重通
信における故障の自動診断方法である。(Means for Solving the Problems) The method of the present invention connects a plurality of communication devices in series via a communication main line via an isolation unit, and
A loop backup line is provided to connect the communication device at the final position and the communication device at the final position, and when there is a failure in the communication main line or any communication device connected to it, the loop backup line is used. In multiplex communication that continues communication between other communication devices, a switch circuit is provided to connect the communication main line and the loop protection line, and from the master station to the first communication device to the final communication device. and detects whether there is a response or not, and if there is a communication device that does not respond, what number of communication device it is, and when such a detection occurs, turns on the switch circuit. The communication main line and the loop backup line are connected, and from the state of the communication current flowing through the loop backup line, it is possible to determine whether the communication device that does not respond is due to a failure of the communication device itself.
This is an automatic diagnosis method for a failure in multiplex communication, characterized by automatically determining whether the failure is in a communication main line connecting the communication device and an adjacent communication device.
(作用)
このような構成の本発明に係る故障の自動診断方法は、
スイッチ回路の操作と、この操作によって検出される値
からの故障部位の判別とをマイクロコンピュータによっ
て行なわせることにより、自動化が完全になり、この操
作のために必要となる時間を著しく短縮できることにな
る。(Operation) The automatic failure diagnosis method according to the present invention having such a configuration is as follows:
By having a microcomputer perform the operation of the switch circuit and the determination of the faulty part from the values detected by this operation, automation becomes complete and the time required for this operation can be significantly reduced. .
(実施例)
次に、まず本発明に係る故障の自動診断方法を実施する
ために準備する回路を、第1図について説明する。符号
1.2,3.++、nで示すものは前記同様の通信装置
である。なお、ここでいう通信装置には、たとえばPC
等のリンク機器等も含まれる。各通信装置ii1.2.
3.=、nには、それぞれアイソレーションユニット8
が接続されており、このアイソレーションユニット8は
通信幹線5によって相互に直列接続されている。なお、
この通信幹線5の各通信装置の間の部分には、図示しな
い親局のスイッチボックスへ至るタップ5aが設けられ
ている。第1番目の通信製fillと最終位置の通信装
置nとはループ予備線6で接続されており、このループ
予備線6と通信幹線5には、これらを接続するスイッチ
回路9が接続されている、スイッチ回路9はマイクロコ
ンピュータlOによって、オン、オフ制御される。各通
信装置および通信幹線の間には図示しないスイッチがあ
って、マイクロコンピュータlOで自動的にオン、オフ
制御を行うことができる。(Example) Next, a circuit prepared for carrying out the automatic failure diagnosis method according to the present invention will be described with reference to FIG. Code 1.2,3. Those indicated by ++ and n are communication devices similar to those described above. Note that the communication device here includes, for example, a PC.
This also includes link devices such as. Each communication device ii1.2.
3. =, n each have an isolation unit 8
The isolation units 8 are connected to each other in series via the communication main line 5. In addition,
A tap 5a leading to a switch box of a master station (not shown) is provided in a portion of the communication main line 5 between each communication device. The first communication fill and the communication device n at the final position are connected by a loop backup line 6, and a switch circuit 9 is connected to the loop backup line 6 and the communication main line 5. , the switch circuit 9 is controlled on/off by a microcomputer IO. There is a switch (not shown) between each communication device and the communication main line, and the microcomputer IO can automatically control the switch on and off.
本発明に係る故障の自動診断方法は、次の手順で行なわ
れる。まず親局から、第1番目の通信装置から最終位置
の通信装置までを順にポーリングする(第2図における
ステップ11)、そしてこのポーリングに対して応答が
あるか否か、および応答がない通信装置があるときには
それが何番目の通信装置であるかの検出を行なう(ステ
ップ12)、この検出があったときにはマイクロコンピ
ュータlOが前記スイッチ回路9をオンにして(ステッ
プ!3)通信幹線5とループ予・備線6との接続を行な
い、このループ予備線6を流れる通信電流の状態から、
前記応答がない通信装置が、この通信装置自体の故障で
あるのか、この通信装置と隣接する通信装置とを結ぶ通
信幹線5の故障であるのかを判別することになる。The automatic failure diagnosis method according to the present invention is performed in the following steps. First, the master station polls in order from the first communication device to the communication device at the final location (step 11 in Figure 2), and then checks whether there is a response to this polling and the communication device that does not respond. If so, it is detected which communication device it is (step 12), and when this detection occurs, the microcomputer IO turns on the switch circuit 9 (step! 3) and connects the communication main line 5 and the loop. After connecting with the backup/backup line 6, from the state of the communication current flowing through this loop backup line 6,
It is determined whether the communication device receiving no response is due to a failure in the communication device itself or a failure in the communication main line 5 connecting this communication device and an adjacent communication device.
故障が通信装置自体であるのか、通信装置を接続する通
信幹線であるのかの識別は次のようにして行なう、第1
図に示す装置は作動させるに当り、まず第1番目の通信
装置lから順次ポーリングし、その後に通信を開始する
が、通信中に異常が発生したら再度ポーリングを行なう
、このように再度ポーリングをしたとき、故障した通信
装置からは応答がないので、そのとき故障の通信装置を
知ることができる0次にスイッチ回路9をオンさせ(ス
テップ葺3)、ループ予備線6を活かし、上記応答がな
かった通信装置からの応答の有無を確認する(ステップ
目)。Identification of whether the failure is in the communication device itself or in the communication main line that connects the communication device is done as follows.
When the device shown in the figure operates, it first polls the first communication device l and then starts communication, but if an abnormality occurs during communication, it polls again. When there is no response from the failed communication device, the 0th switch circuit 9 is turned on (step 3), which allows the user to know the failed communication device, and the loop backup line 6 is utilized to detect the failure. Check whether there is a response from the received communication device (step 1).
応答があったときには、その通信装置から手前側の通信
幹線(応答があった通信装置をmとしたときm−1とm
の間の部分)に異常があると判断する。この場合、根本
的には通信幹線5を張り直すことになるが、成敗えずは
ループ予備線6を用いることにより、そのまま通信を再
開することができる。応答がない場合には、前記mの通
信装置が故障したものと判断することができる。この場
合には、その通信装置を交換することになるが、特にシ
ステムが分散されている場合には、他の通信装置により
バックアップすることも可能である以上のロジックはマ
イクロコンピュータ!0のROMに組込んで実施するこ
とができるが、これは各通信装置および通信幹線がアイ
ソレーションされていて初めて可能なものとなる。従来
通信幹線の短絡および地絡の故障が発生した場合、通信
再開まで多くの時間を必要としたが、本発明方法によれ
ば、これを短時間で解決できることになる。When there is a response, the communication main line from the communication device to the front side (m-1 and m when the communication device that received the response is m)
It is determined that there is an abnormality in the area between In this case, basically the communication main line 5 has to be rewired, but if all else fails, communication can be resumed as is by using the loop backup line 6. If there is no response, it can be determined that the m communication device is out of order. In this case, the communication device will have to be replaced, but especially if the system is distributed, it may be possible to back it up with another communication device. 0 ROM, but this is only possible if each communication device and communication main line are isolated. Conventionally, when a failure due to a short circuit or a ground fault occurs in a communication main line, it takes a long time to restart communication, but according to the method of the present invention, this problem can be solved in a short time.
なお、本発明の方法はマイクロコンピュータlOによら
ず、作業者が手動操作で実施することも理論的には可能
であるが、そのようにしたときには、故障に迅速に対応
するという本発明の目的に沿い難いことになる。Note that although it is theoretically possible for the method of the present invention to be carried out manually by an operator without using the microcomputer, the purpose of the present invention, which is to quickly respond to failures, is achieved by doing so. It will be difficult to follow.
(発明の効果)
本発明は以上説明したように構成した多重通信における
故障の自動診断方法であるから、すべての通信故障に対
して自動診断が可能となる。そして通信幹線の故障に対
しては完全に自動復帰ができる。そしてこの場合の故障
発見時間と通信幹線のループ予備線への代替えに要する
時間とを一瞬のものとすることができる。(Effects of the Invention) Since the present invention is a method for automatically diagnosing failures in multiplex communication configured as described above, it is possible to automatically diagnose all communication failures. In addition, complete automatic recovery is possible in the event of a breakdown in the communications main line. In this case, the time required to discover the failure and the time required to replace the communication main line with the loop protection line can be made instantaneous.
第1図は本発明方法を適用する回路例の系統図、第2図
は第1図のものの作動説明用のフローチャート図、第3
図は従来のものの系統図である。
1.2.3.n−通信装置
5−通信幹線
6−ループ予備線
8−アイソレーションユニット
9−スイッチ回路
1G−マイクロコンピュータ
特 許 出願人 トヨタ自動車株式会社第1図
5 通信幹縄
6 ループ予4s婦
8 アイソレージうンコニヅト
9 ヌイ・ノナ回路
10 マイクロコンピュータ
第2図
第3図FIG. 1 is a system diagram of an example of a circuit to which the method of the present invention is applied, FIG. 2 is a flowchart for explaining the operation of the circuit shown in FIG. 1, and FIG.
The figure is a conventional system diagram. 1.2.3. n-Communication device 5-Communication main line 6-Loop reserve line 8-Isolation unit 9-Switch circuit 1G-Microcomputer patent Applicant Toyota Motor Corporation Fig. 1 5 Communication main line 6 Loop pre-4s woman 8 Isolation unit 9 Nui Nona circuit 10 Microcomputer Figure 2 Figure 3
Claims (1)
介して通信幹線で直列接続すると共に、第1番目の通信
装置と最終位置の通信装置とを接続するループ予備線を
設け、前記通信幹線あるいはこれに接続されたいずれか
の通信装置に故障があったときに、前記ループ予備線を
使用して他の通信装置相互間での通信を継続する多重通
信において、前記通信幹線とループ予備線との間を接続
するスイッチ回路を設け、親局から、第1番目の通信装
置から最終位置の通信装置までを順にポーリングし、応
答があるか否か、および応答がない通信装置があるとき
にはそれが何番目の通信装置であるかの検出を行ない、
該検出があったときに前記スイッチ回路をオンにして通
信幹線とループ予備線との接続を行ない、このループ予
備線を流れる通信電流の状態から、前記応答がない通信
装置が、該通信装置自体の故障であるのか、該通信装置
と隣接する通信装置とを結ぶ通信幹線の故障であるのか
を自動的に判別することを特徴とする多重通信における
故障の自動診断方法。(1) A plurality of communication devices are connected in series via a communication main line via an isolation unit, and a loop reserve line is provided to connect the first communication device and the communication device at the final position, and the communication main line or this In multiplex communication in which communication is continued between other communication devices using the loop protection line when there is a failure in any of the communication devices connected to the communication main line and the loop protection line, A switch circuit is provided to connect the communication devices, and the master station polls the communication devices in order from the first communication device to the communication device at the final location, and checks whether there is a response or not, and if there is a communication device that does not respond, what it is. Detecting whether it is the second communication device,
When this detection occurs, the switch circuit is turned on to connect the communication main line and the loop backup line, and from the state of the communication current flowing through the loop backup line, it is determined that the communication device that does not respond is the communication device itself. 1. A method for automatically diagnosing a failure in multiplex communication, the method comprising automatically determining whether the failure is a failure in a communication device or a failure in a communication main line connecting the communication device and an adjacent communication device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22801888A JPH0276337A (en) | 1988-09-12 | 1988-09-12 | Automatic diagnosis method for failures in multiplex communication |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22801888A JPH0276337A (en) | 1988-09-12 | 1988-09-12 | Automatic diagnosis method for failures in multiplex communication |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0276337A true JPH0276337A (en) | 1990-03-15 |
Family
ID=16869902
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22801888A Pending JPH0276337A (en) | 1988-09-12 | 1988-09-12 | Automatic diagnosis method for failures in multiplex communication |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0276337A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6337867B1 (en) | 1997-03-12 | 2002-01-08 | Nec Corporation | Multiplexor |
-
1988
- 1988-09-12 JP JP22801888A patent/JPH0276337A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6337867B1 (en) | 1997-03-12 | 2002-01-08 | Nec Corporation | Multiplexor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0494695B1 (en) | Loop mode transmission system with bus mode backup and a method of maintaining continuity thereof | |
| HK1006053B (en) | Loop mode transmission system with bus mode backup and a method of maintaining continuity thereof | |
| JPH0276337A (en) | Automatic diagnosis method for failures in multiplex communication | |
| JP3622401B2 (en) | Method of detecting short circuit in monitoring system for disaster prevention, monitoring method for disaster prevention using the same, monitoring system for disaster prevention | |
| JP3539536B2 (en) | Fire alarm system | |
| JPH04503434A (en) | How to monitor computer networks | |
| JP3784199B2 (en) | Transmission path redundancy method and system using the method | |
| JP2620249B2 (en) | Multiplex communication system of sequence controller | |
| JP2682427B2 (en) | Failure detection method on loop transmission line | |
| JP2695853B2 (en) | Multiplex communication system of sequence controller | |
| JPH05292067A (en) | Redundancy configuration control method | |
| JPS63318823A (en) | Trouble detecting system | |
| JP2737294B2 (en) | Duplex receiver | |
| JP3971828B2 (en) | Line failure countermeasure device | |
| JP2621629B2 (en) | Digital wireless transmission system | |
| JPS63227234A (en) | Bus fault detection/diagnosis circuit | |
| JPH10327215A (en) | Monitor and control system | |
| JPH07202861A (en) | Standby line changeover control system | |
| JPH08265422A (en) | Method for switching line | |
| JP3069813B2 (en) | Monitoring control method | |
| JP3484667B2 (en) | Line monitoring system | |
| JPS6242421B2 (en) | ||
| JPS6148249A (en) | Line switching device | |
| JPH07123106A (en) | Method of detecting abnormal points in communication system | |
| JPH0779274A (en) | Multiplexer test circuit |