JP2000059411A - Communication line changeover device - Google Patents

Communication line changeover device

Info

Publication number
JP2000059411A
JP2000059411A JP10228008A JP22800898A JP2000059411A JP 2000059411 A JP2000059411 A JP 2000059411A JP 10228008 A JP10228008 A JP 10228008A JP 22800898 A JP22800898 A JP 22800898A JP 2000059411 A JP2000059411 A JP 2000059411A
Authority
JP
Japan
Prior art keywords
communication
communication device
slave
data
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10228008A
Other languages
Japanese (ja)
Inventor
Akito Kataoka
章人 片岡
Hideyuki Nonogaki
秀幸 野々垣
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.)
Okuma Corp
Original Assignee
Okuma Corp
Okuma Machinery Works 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 Okuma Corp, Okuma Machinery Works Ltd filed Critical Okuma Corp
Priority to JP10228008A priority Critical patent/JP2000059411A/en
Publication of JP2000059411A publication Critical patent/JP2000059411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily specify a fault occurrence position on the occurrence of a fault and to allow a normal slave communication device to send/receive communication data on the occurrence of the fault by controlling connection switching of a connection section and a communication output of a driver. SOLUTION: On the occurrence of a broken line in a communication path 5c, since the input signal to a communication processing section 11C of a slave communication device 1C is interrupted, the communication processing section 11C detects the broken line and transmits a broken line detection signal to a master communication device 2. A changeover control section 12 of the master communication device 2 and changeover control sections 12A-12C of slave communication devices 1A-1C close connection sections 10, 10A-10C and stop outputs of drivers 31, 31A-31C at the same time, after confirming no signal in the communication path. Then the slave communication devices 1A, 1B receive communication data and output reply data with respect to communication data output from the master communication device 2 to the slave communication devices 1A-1C, but the slave communication device 1C does not output reply data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マスタ通信装置に
複数のスレーブ通信装置を電気的にループ状の通信路を
使用して接続する通信路切替え装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication path switching apparatus for connecting a plurality of slave communication apparatuses to a master communication apparatus by using an electrically looped communication path.

【0002】[0002]

【従来の技術】図4は、従来のマスタ通信装置に、複数
のスレーブ通信装置を電気的にループ状の通信路を使用
して接続する通信装置の一例を示すブロック図である。
マスタ通信装置2の主制御部21からの通信データ出力
は、ドライバ31、接続ケーブル4A、スレーブ通信装
置1Aのレシーバ32A、通信路5Aを経由して通信処
理部11Aへ入力される。通信処理部11Aでは必要な
データの受け渡しを行ない、後段の通信装置へ通信デー
タを出力する。同様に、スレーブ通信装置1Aの通信処
理部11Aからの通信データ出力は、通信路6A、ドラ
イバ31A、接続ケーブル4B、スレーブ通信装置1B
のレシーバ32B、通信路5Bを経由して通信処理部1
1Bへ入力される。通信処理部11Bでは必要なデータ
の受け渡しを行ない、後段の通信装置へ通信データを出
力する。同様に、スレーブ通信装置1Bの通信処理部1
1Bからの通信データ出力は、通信路6B、ドライバ3
1B、接続ケーブル4C、スレーブ通信装置1Cのレシ
ーバ32C、通信路5Cを経由して通信処理部11Cへ
入力される。通信処理部11Cでは必要なデータの受け
渡しを行ない、後段の通信装置へ通信データを出力す
る。同様に、スレーブ通信装置1Cの通信処理部11C
からの通信データ出力は、通信路6C、ドライバ31
C、接続ケーブル4D、マスタ通信装置2のレシーバ3
2を経由して主制御部21へ入力され、信号がループ状
に接続された通信経路が確保されている。
2. Description of the Related Art FIG. 4 is a block diagram showing an example of a communication device for connecting a plurality of slave communication devices to a conventional master communication device by using an electrically looped communication path.
The communication data output from the main control unit 21 of the master communication device 2 is input to the communication processing unit 11A via the driver 31, the connection cable 4A, the receiver 32A of the slave communication device 1A, and the communication path 5A. The communication processing unit 11A exchanges necessary data and outputs communication data to a subsequent communication device. Similarly, the communication data output from the communication processing unit 11A of the slave communication device 1A includes the communication path 6A, the driver 31A, the connection cable 4B, and the slave communication device 1B.
Communication processing unit 1 via the receiver 32B and the communication path 5B
1B. The communication processing unit 11B exchanges necessary data and outputs communication data to a communication device at a subsequent stage. Similarly, the communication processing unit 1 of the slave communication device 1B
The communication data output from the communication path 6B, the driver 3
1B, the connection cable 4C, the receiver 32C of the slave communication device 1C, and the communication path 11C to be input to the communication processing unit 11C. The communication processing unit 11C exchanges necessary data and outputs communication data to a subsequent communication device. Similarly, the communication processing unit 11C of the slave communication device 1C
The communication data output from the communication path 6C and the driver 31
C, connection cable 4D, receiver 3 of master communication device 2
2, a communication path is input to the main control unit 21 and a signal is connected to form a loop.

【0003】ここで、各接続ケーブルのデータの一例を
図5(A)〜(D)に示す。マスタ通信装置2は、図5
(A)に示すようにスレーブ通信装置1A、1B、1C
に対するデータA1、データB1、データC1をある時
間間隔をおいて出力する(接続ケーブル4Aのデー
タ)。スレーブ通信装置1Aは自スレーブ通信装置あて
のデータA1を受信し、図5(B)に示すように応答と
してデータa1を出力し、他スレーブ通信装置あてのデ
ータB1、データC1はそのまま出力する(接続ケーブ
ル4Bのデータ)。なお、接続ケーブル4Aのデータと
接続ケーブル4Bのデータとの時間差は、スレーブ通信
装置1Aでの処理時間による遅れを示している。スレー
ブ通信装置1Bは自スレーブ通信装置あてのデータB1
を受信し、図5(C)に示すように応答としてデータb
1を出力し、他スレーブ通信装置からのデータa1、他
スレーブ通信装置あてのデータC1はそのまま出力する
(接続ケーブル4Cのデータ)。なお、接続ケーブル4
Bのデータと接続ケーブル4Cのデータとの時間差は、
スレーブ通信装置1Bでの処理時間による遅れを示して
いる。スレーブ通信装置1Cは自スレーブ通信装置あて
のデータC1を受信し、図5(D)に示すように応答と
してデータc1を出力し、他スレーブ通信装置からのデ
ータa1、データb1はそのまま出力する(接続ケーブ
ル4Dのデータ)。なお、接続ケーブル4Cのデータと
接続ケーブル4Dのデータとの時間差は、スレーブ通信
装置1Cでの処理時間による遅れを示している。以下同
様に、マスタ通信装置2からデータA2、データB2と
順次出力され、これら一連の通信データの送受信をある
時間間隔をおいて継続して行なう。本例ではスレーブ通
信装置が3台の場合の説明であるが、接続するスレーブ
通信装置を増減させても同様に接続して動作させること
が可能である。
Here, an example of data of each connection cable is shown in FIGS. The master communication device 2 is shown in FIG.
As shown in (A), the slave communication devices 1A, 1B, 1C
Are output at certain time intervals (data of the connection cable 4A). The slave communication device 1A receives the data A1 addressed to its own slave communication device, outputs data a1 as a response as shown in FIG. 5B, and outputs the data B1 and data C1 addressed to the other slave communication devices as they are ( Data of connection cable 4B). Note that the time difference between the data of the connection cable 4A and the data of the connection cable 4B indicates a delay due to the processing time in the slave communication device 1A. The slave communication device 1B stores data B1 addressed to its own slave communication device.
, And as a response, as shown in FIG.
1 and the data a1 from the other slave communication device and the data C1 to the other slave communication device are output as they are (data of the connection cable 4C). In addition, connection cable 4
The time difference between the data of B and the data of connection cable 4C is
This shows a delay due to the processing time in the slave communication device 1B. The slave communication device 1C receives the data C1 addressed to its own slave communication device, outputs data c1 as a response as shown in FIG. 5D, and outputs data a1 and data b1 from other slave communication devices as they are ( Data of connection cable 4D). Note that the time difference between the data of the connection cable 4C and the data of the connection cable 4D indicates a delay due to the processing time in the slave communication device 1C. Similarly, data A2 and data B2 are sequentially output from the master communication device 2, and a series of transmission and reception of these communication data is continuously performed at a certain time interval. In this example, the description is for a case where there are three slave communication devices. However, even if the number of slave communication devices to be connected is increased or decreased, the slave communication devices can be similarly connected and operated.

【0004】[0004]

【発明が解決しようとする課題】従来のマスタ通信装置
に複数のスレーブ通信装置を電気的にループ状の通信路
を使用して接続する通信装置では、通信路の一部分に障
害が発生すると通信経路が遮断される。例えば、図4の
接続ケーブル4A又は通信路5Aで断線が発生した場
合、スレーブ通信装置1Aの通信処理部11Aが断線を
検出してマスタ通信装置2の主制御部21へ断線検出を
送信することにより、断線箇所が接続ケーブル4A又は
通信路5Aであることを特定することが出来る。同様
に、スレーブ通信装置1Bが断線を検出した場合は通信
路6A又は接続ケーブル4B又は通信路5Bで、スレー
ブ通信装置1Cが断線を検出した場合は通信路6B又は
接続ケーブル4C又は通信路5Cで、マスタ通信装置2
が断線を検出した場合は通信路6C又は接続ケーブル4
Dで断線していることを特定することが出来る。
In a communication apparatus in which a plurality of slave communication apparatuses are electrically connected to a conventional master communication apparatus by using a loop-shaped communication path, when a failure occurs in a part of the communication path, a communication path is established. Is shut off. For example, when a disconnection occurs in the connection cable 4A or the communication path 5A in FIG. 4, the communication processing unit 11A of the slave communication device 1A detects the disconnection and transmits a disconnection detection to the main control unit 21 of the master communication device 2. Thus, it can be specified that the disconnection point is the connection cable 4A or the communication path 5A. Similarly, when the slave communication device 1B detects the disconnection, the communication path 6A or the connection cable 4B or the communication path 5B. When the slave communication device 1C detects the disconnection, the communication path 6B or the connection cable 4C or the communication path 5C. , Master communication device 2
If the disconnection is detected, the communication path 6C or the connection cable 4
D indicates that the wire is disconnected.

【0005】ところが、上記どの場合も断線区間が確認
できるだけで、それ以上の断線箇所の特定を行なうこと
ができないという問題点があった。また、各スレーブ通
信装置は、前段からの通信経路の信号無しを確認した時
点で各スレーブ通信装置の制御を停止させるため、正常
なスレーブ通信装置の制御も停止することになる。その
ため、今まで実施した一連の処理が無駄になったり、ス
レーブ通信装置がアクチュエータの動作処理をしている
場合は、正常なスレーブ通信装置の制御対象が危険箇所
で停止しても、発生した障害を復旧するまでは安全箇所
にまで退避させることができないという問題点があっ
た。
However, in any of the above cases, there is a problem that only the disconnection section can be confirmed, and no further disconnection location can be specified. Further, since each slave communication device stops the control of each slave communication device when it confirms that there is no signal on the communication path from the preceding stage, the control of the normal slave communication device also stops. Therefore, if the series of processing performed so far is wasted, or if the slave communication device is processing the operation of the actuator, even if the control target of the normal slave communication device stops at the dangerous place, However, there is a problem that it is not possible to evacuate to a safe place until the vehicle is restored.

【0006】本発明は上記の問題点を解決するためにな
されたもので、本発明は、障害発生時に障害発生箇所の
特定を容易にするとともに、障害発生時に正常なスレー
ブ通信装置は通信データを送受信することによって制御
を可能とし、マスタ通信装置に複数のスレーブ通信装置
を電気的にループ状の通信路を使用して接続する通信装
置の通信路切替え装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems. The present invention makes it easy to specify the location of a failure when a failure occurs, and a normal slave communication device transmits communication data when a failure occurs. An object of the present invention is to provide a communication path switching device of a communication device that enables control by transmitting and receiving, and that connects a plurality of slave communication devices to a master communication device electrically using a loop communication path.

【0007】[0007]

【課題を解決するための手段】本発明は、ドライバ及び
レシーバを備えたマスタ通信装置と、複数のスレーブ通
信装置とを、前記ドライバと別の通信装置のレシーバに
接続させ、前記マスタ通信装置に前記複数のスレーブ通
信装置を電気的にループ状の通信路を使用して接続する
通信装置の通信路切替え装置に関するもので、本発明の
上記目的は、前記ドライバの出力を前記レシーバの入力
に接続する接続部と、前記接続部の接続切替え及び前記
ドライバの通信出力を制御する切替制御部とを設けるこ
とによって達成される。
According to the present invention, a master communication device having a driver and a receiver, and a plurality of slave communication devices are connected to a receiver of another communication device with the driver, and the master communication device is connected to the master communication device. The present invention relates to a communication path switching device of a communication apparatus that electrically connects the plurality of slave communication apparatuses using a communication path in a loop shape, and an object of the present invention is to connect an output of the driver to an input of the receiver. This is achieved by providing a connection unit that performs connection switching and a switching control unit that controls connection switching of the connection unit and communication output of the driver.

【0008】また、前段からの出力信号の有無により前
記切替制御部が前記接続部を切替え、前記ドライバの通
信出力を制御することによって、前記マスタ通信装置か
らの指令により前記切替制御部が前記接続部を切替え、
前記ドライバの通信出力を制御することによって、より
効果的に達成される。更に、前記スレーブ通信装置の前
記接続部は電源立ち上げ前は常に閉じた状態であり、電
源立ち上げ時に前記スレーブ通信装置の前記切替制御部
が自己診断を行ない、正常に通信を行なうことができる
と判断した時のみ前記スレーブ通信装置の前記接続部を
切替えることによっても、上記目的は達成される。
The switching control section switches the connection section according to the presence or absence of an output signal from the preceding stage, and controls the communication output of the driver, so that the switching control section responds to a command from the master communication device. Switch the part,
It is more effectively achieved by controlling the communication output of the driver. Further, the connection unit of the slave communication device is always closed before power is turned on, and the switching control unit of the slave communication device performs a self-diagnosis when the power is turned on, so that communication can be performed normally. The above object is also achieved by switching the connection unit of the slave communication device only when it is determined that

【0009】[0009]

【発明の実施の形態】図1は、本発明のマスタ通信装置
に複数のスレーブ通信装置を電気的にループ状の通信路
を使用して接続する通信路切替え装置の一実施形態を示
すブロック図であり、従来技術を示す図4と同一表記に
て示される機能、処理は同一なので一部説明を省略す
る。本発明ではマスタ通信装置2内に新たに切替制御部
12及び接続部10が設けられ、各スレーブ通信装置1
A、1B、1C内にそれぞれ新たに切替制御部12A、
12B、12C及び接続部10A、10B、10Cが設
けられている。正常時はマスタ通信装置2内と各スレー
ブ通信装置1A、1B、1C内の接続部はオープンであ
り、従来技術と同様に接続ケーブル4A、4B、4C、
4Dの各データは図5の正常時のデータに示したよう
に、マスタ通信装置2からの各スレーブ通信装置1A、
1B、1Cに向けた通信データ出力に対し、各スレーブ
通信装置1A、1B、1Cはそれぞれ必要なデータの受
け渡しを行ない、後段の通信装置へ通信データを出力す
る。上記説明で接続部は、通信路に電気信号を用いる場
合の一例として電気的な接点素子を使用するものとして
説明したが、通信路に光信号を使用する場合にも光送受
信モジュールと電気接点の組合せ、又は光セレクタによ
る光導波路の直接切替により容易に実現できる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of a communication path switching apparatus for connecting a plurality of slave communication apparatuses to a master communication apparatus of the present invention using an electrically looped communication path. The functions and processes indicated by the same notations as those in FIG. 4 showing the related art are the same, and a description thereof will be partially omitted. In the present invention, a switching control unit 12 and a connection unit 10 are newly provided in the master communication device 2, and each of the slave communication devices 1
A, a new switching control unit 12A in each of 1B and 1C,
12B, 12C and connection parts 10A, 10B, 10C are provided. In a normal state, the connection portions in the master communication device 2 and the slave communication devices 1A, 1B, and 1C are open, and the connection cables 4A, 4B, 4C,
As shown in the normal data in FIG. 5, each data of 4D is a slave communication device 1A from the master communication device 2,
In response to the communication data output to 1B and 1C, each of the slave communication devices 1A, 1B and 1C exchanges necessary data, and outputs the communication data to the subsequent communication device. In the above description, the connection unit has been described as using an electrical contact element as an example in the case of using an electric signal in a communication path. It can be easily realized by combination or direct switching of the optical waveguide by an optical selector.

【0010】図2は、本発明のマスタ通信装置2に3台
のスレーブ通信装置1A、1B、1Cを電気的にループ
状の通信路を使用して接続する通信路切替え装置の一動
作例を示すブロック図であり、本図を用いて断線(図示
×印)が発生した場合の通信路切替え装置の動作を説明
する。最初に、通信路5Cで断線が発生した場合(障害
発生箇所a)、スレーブ通信装置1Cの通信処理部11
Cへの入力信号が遮断されるため、通信処理部11Cが
断線を検出して、マスタ通信装置2に断線検出を送信す
る。ここで、マスタ通信装置2の切替制御部12、スレ
ーブ通信装置1A、1B、1Cの切替制御部12A、1
2B、12Cは前段からの通信経路の信号無しの確認に
より、接続部10、10A、10B、10Cをクローズ
すると同時に、それぞれドライバ31、31A、31
B、31Cの出力を停止させる。その後、マスタ通信装
置2の主制御部21はスレーブ通信装置1Aに対する通
信データを出力し、スレーブ通信装置1Aの通信処理部
11Aは前記通信データを受信して、マスタ通信装置2
へ応答データを出力する。マスタ通信装置2の主制御部
21はスレーブ通信装置1Aからの応答データを受信す
ると、今度はスレーブ通信装置1Bに対する通信データ
を出力し、スレーブ通信装置1Bの通信処理部11Bは
前記通信データを受信して、マスタ通信装置2へ応答デ
ータを出力する。マスタ通信装置2の主制御部21はス
レーブ通信装置1Bからの応答データを受信すると、今
度はスレーブ通信装置1Cに対する通信データを出力す
るが、スレーブ通信装置1Cの通信路5Cが断線してい
るため前記通信データを受信することができず、応答デ
ータを出力しない。このときの接続ケーブル4A、4
B、4C、4Dの各データの一例を図3(A)の異常時
のデータ1に示す。これは、マスタ通信装置2からの各
スレーブ通信装置1A〜1Cに向けた通信データ出力に
対し、スレーブ通信装置1A、1Bはそれぞれの通信デ
ータを受信して応答データを出力するが、スレーブ通信
装置1Cは応答データを出力しないことを示している。
以上の動作により、マスタ通信装置2の主制御部21
は、接続ケーブル及び通信路4A、5A、6A、4B、
5B、6B、4C、6C、4Dの経路では接続良好を確
認でき、断線が発生した可能性のある通信路5Cの経路
を限定できるので、その部分の不具合確認のみで障害発
生箇所を特定でき、復旧を容易にする事ができる。
FIG. 2 shows an operation example of a communication path switching apparatus for connecting three slave communication apparatuses 1A, 1B and 1C to the master communication apparatus 2 of the present invention by using an electrically looped communication path. FIG. 3 is a block diagram illustrating the operation of the communication path switching device when a disconnection (indicated by X) occurs, with reference to FIG. First, when a disconnection occurs in the communication path 5C (failure occurrence point a), the communication processing unit 11 of the slave communication device 1C
Since the input signal to C is cut off, the communication processing unit 11C detects the disconnection and transmits a disconnection detection to the master communication device 2. Here, the switching control unit 12 of the master communication device 2 and the switching control units 12A, 1A of the slave communication devices 1A, 1B, and 1C.
2B and 12C close the connection units 10, 10A, 10B, and 10C by confirming that there is no signal on the communication path from the preceding stage, and at the same time, drivers 31, 31A, and 31C respectively.
B, output of 31C is stopped. Thereafter, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1A, and the communication processing unit 11A of the slave communication device 1A receives the communication data and
Outputs response data to Upon receiving the response data from the slave communication device 1A, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1B, and the communication processing unit 11B of the slave communication device 1B receives the communication data. Then, response data is output to master communication device 2. When receiving the response data from the slave communication device 1B, the main control unit 21 of the master communication device 2 outputs the communication data to the slave communication device 1C, but the communication path 5C of the slave communication device 1C is disconnected. The communication data cannot be received, and no response data is output. Connection cables 4A, 4
An example of each data of B, 4C, and 4D is shown in Data 1 at the time of abnormality in FIG. In response to the communication data output from the master communication device 2 to each of the slave communication devices 1A to 1C, the slave communication devices 1A and 1B receive the respective communication data and output response data. 1C indicates that no response data is output.
By the above operation, the main control unit 21 of the master communication device 2
Are connection cables and communication paths 4A, 5A, 6A, 4B,
With the paths 5B, 6B, 4C, 6C, and 4D, good connection can be confirmed, and the path of the communication path 5C where a disconnection may have occurred can be limited. Recovery can be facilitated.

【0011】次に、接続ケーブル4Cで断線が発生した
場合(障害発生箇所b)、スレーブ通信装置1Cの通信
処理部11Cへの入力信号が遮断されるため、通信処理
部11Cが断線を検出して、マスタ通信装置2に断線検
出を送信する。ここで、マスタ通信装置2の切替制御部
12、スレーブ通信装置1A、1B、1Cの切替制御部
12A、12B、12Cは前段からの通信経路の信号無
しの確認により接続部10、10A、10B、10Cを
クローズすると同時に、それぞれドライバ31、31
A、31B、31Cの出力を停止させる。その後、マス
タ通信装置2の主制御部21はスレーブ通信装置1Aに
対する通信データを出力し、スレーブ通信装置1Aの通
信処理部11Aは前記通信データを受信してマスタ通信
装置2へ応答データを出力する。マスタ通信装置2の主
制御部21はスレーブ通信装置1Aからの応答データを
受信すると、今度はスレーブ通信装置1Bに対する通信
データを出力し、スレーブ通信装置1Bの通信処理部1
1Bは前記通信データを受信して、マスタ通信装置2へ
応答データを出力する。マスタ通信装置2の主制御部2
1はスレーブ通信装置1Bからの応答データを受信する
と、今度はスレーブ通信装置1Cに対する通信データを
出力し、スレーブ通信装置1Cの通信処理部11Cは前
記通信データを受信して、マスタ通信装置2へ応答デー
タを出力する。このときの接続ケーブル4A、4B、4
Dの各データの一例を図3(B)の異常時のデータ2に
示す。これは、マスタ通信装置2からの各スレーブ通信
装置1A〜1Cに向けた通信データ出力に対し、スレー
ブ通信装置1A、1B、1Cはそれぞれの通信データを
受信して、応答データを出力することを示している。以
上の動作により、マスタ通信装置2の主制御部21は、
接続ケーブル及び通信路4A、5A、6A、4B、5
B、6B、5C、6C、4Dの経路では接続良好を確認
でき、断線が発生した可能性のある接続ケーブル4Cの
経路を限定できるので、その部分の不具合確認のみで障
害発生箇所を特定でき、復旧を容易にする事ができる。
Next, when a disconnection occurs in the connection cable 4C (failure occurrence point b), an input signal to the communication processing unit 11C of the slave communication device 1C is cut off, and the communication processing unit 11C detects the disconnection. Then, the disconnection detection is transmitted to the master communication device 2. Here, the switching control unit 12 of the master communication device 2 and the switching control units 12A, 12B, and 12C of the slave communication devices 1A, 1B, and 1C confirm that there is no signal on the communication path from the preceding stage. As soon as 10C is closed, the drivers 31 and 31 are closed.
The output of A, 31B and 31C is stopped. Thereafter, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1A, and the communication processing unit 11A of the slave communication device 1A receives the communication data and outputs response data to the master communication device 2. . When receiving the response data from the slave communication device 1A, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1B, and then outputs the communication data to the slave communication device 1B.
1B receives the communication data and outputs response data to the master communication device 2. Main control unit 2 of master communication device 2
1 receives the response data from the slave communication device 1B, and then outputs communication data to the slave communication device 1C. The communication processing unit 11C of the slave communication device 1C receives the communication data and sends it to the master communication device 2. Output response data. At this time, the connection cables 4A, 4B, 4
An example of each data of D is shown in Data 2 at the time of abnormality in FIG. This means that, in response to communication data output from the master communication device 2 to each of the slave communication devices 1A to 1C, the slave communication devices 1A, 1B, and 1C receive respective communication data and output response data. Is shown. By the above operation, the main control unit 21 of the master communication device 2
Connection cables and communication paths 4A, 5A, 6A, 4B, 5
In the paths B, 6B, 5C, 6C, and 4D, good connection can be confirmed, and the path of the connection cable 4C in which the disconnection may have occurred can be limited. Recovery can be facilitated.

【0012】次に、通信路6Bで断線が発生した場合
(障害発生箇所c)、スレーブ通信装置1Cの通信処理
部11Cへの入力信号が遮断されるため、通信処理部1
1Cが断線を検出して、マスタ通信装置2に断線検出を
送信する。ここで、マスタ通信装置2の切替制御部1
2、スレーブ通信装置1A、1B、1Cの切替制御部1
2A、12B、12Cは前段からの通信経路の信号無し
の確認により接続部10、10A、10B、10Cをク
ローズすると同時に、それぞれドライバ31、31A、
31B、31Cの出力を停止させる。その後、マスタ通
信装置2の主制御部21はスレーブ通信装置1Aに対す
る通信データを出力し、スレーブ通信装置1Aの通信処
理部11Aは前記通信データを受信して、マスタ通信装
置2へ応答データを出力する。マスタ通信装置2の主制
御部21はスレーブ通信装置1Aからの応答データを受
信すると、今度はスレーブ通信装置1Bに対する通信デ
ータを出力するが、スレーブ通信装置1Bの通信路6B
が断線しているため前記通信データを受信することがで
きず、応答データを出力しない。次に、マスタ通信装置
2の主制御部21はスレーブ通信装置1Cに対する通信
データを出力し、スレーブ通信装置1Cの通信処理部1
1Cは前記通信データを受信してマスタ通信装置へ応答
データを出力する。このときの接続ケーブル4A、4
B、4C、4Dの各データの一例を図3(C)の異常時
のデータ3に示す。これは、マスタ通信装置2からの各
スレーブ通信装置1A〜1Cに向けた通信データ出力に
対し、スレーブ通信装置1A、1Cはそれぞれの通信デ
ータを受信して応答データを出力するが、スレーブ通信
装置1Bは応答データを出力しないことを示している。
以上の動作により、マスタ通信装置2の主制御部21
は、接続ケーブル及び通信路4A、5A、6A、4B、
5B、4C、5C、6C、4Dの経路では接続良好を確
認でき、断線が発生した可能性のある通信路6Bの経路
を限定できるので、その部分の不具合確認のみで障害発
生箇所を特定でき、復旧を容易にする事ができる。
Next, when a disconnection occurs in the communication path 6B (fault occurrence point c), an input signal to the communication processing unit 11C of the slave communication device 1C is cut off.
1C detects the disconnection and transmits a disconnection detection to the master communication device 2. Here, the switching control unit 1 of the master communication device 2
2. Switching control unit 1 of slave communication devices 1A, 1B, 1C
2A, 12B, and 12C close the connection units 10, 10A, 10B, and 10C by confirming that there is no signal on the communication path from the previous stage, and at the same time, drivers 31, 31A,
The output of 31B and 31C is stopped. Thereafter, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1A, and the communication processing unit 11A of the slave communication device 1A receives the communication data and outputs response data to the master communication device 2. I do. When receiving the response data from the slave communication device 1A, the main control unit 21 of the master communication device 2 outputs the communication data to the slave communication device 1B, but the communication path 6B of the slave communication device 1B.
Cannot receive the communication data because it is disconnected, and does not output response data. Next, the main control unit 21 of the master communication device 2 outputs communication data to the slave communication device 1C, and the communication processing unit 1 of the slave communication device 1C.
1C receives the communication data and outputs response data to the master communication device. Connection cables 4A, 4
An example of each data of B, 4C, and 4D is shown in Data 3 at the time of abnormality in FIG. In response to the communication data output from the master communication device 2 to each of the slave communication devices 1A to 1C, the slave communication devices 1A and 1C receive the respective communication data and output response data. 1B indicates that no response data is output.
By the above operation, the main control unit 21 of the master communication device 2
Are connection cables and communication paths 4A, 5A, 6A, 4B,
With the paths 5B, 4C, 5C, 6C, and 4D, good connection can be confirmed, and the path of the communication path 6B where the disconnection may have occurred can be limited. Recovery can be facilitated.

【0013】また、各スレーブ通信装置1A〜1Cが前
段からの通信経路の信号無しを確認した時点で、各スレ
ーブ通信装置の制御を停止したとしても、上記動作によ
り通信経路の接続良好を確認できたスレーブ通信装置に
関しては、通信データの送受信が可能である。このた
め、中断した一連の処理を完了させたり、スレーブ通信
装置がアクチュエータの動作処理をしている場合は、正
常なスレーブ通信装置の制御対象が危険箇所で停止して
も、発生した障害を復旧させる前に安全箇所にまで退避
させることができる。
Further, even if the control of each slave communication device is stopped when each of the slave communication devices 1A to 1C confirms that there is no signal on the communication path from the preceding stage, the connection of the communication path can be confirmed by the above operation. The slave communication device can transmit and receive communication data. For this reason, if a series of interrupted processes are completed or the slave communication device is performing actuator operation processing, even if the control target of the normal slave communication device stops at a dangerous place, the fault that has occurred is recovered. It can be evacuated to a safe place before it is made to work.

【0014】上記説明では、前段からの出力信号の有無
によりマスタ通信装置2及びスレーブ通信装置1A、1
B、1Cの接続部10、10A、10B、10Cを切替
える場合の説明を行なったが、マスタ通信装置2の主制
御部21からの指令により接続部10、10A、10
B、10Cをクローズして、主制御部21が出力した通
信データに対する各スレーブ通信装置からの応答信号の
有無を判断することにより、通信経路の障害発生箇所の
特定を行なう事も可能である。
In the above description, the master communication device 2 and the slave communication devices 1A, 1A
A description has been given of the case where the connection units 10, 10A, 10B, and 10C of B and 1C are switched, but the connection units 10, 10A, and 10C are switched in response to a command from the main control unit 21 of the master communication device 2.
By closing B and 10C and determining the presence or absence of a response signal from each slave communication device to the communication data output by the main control unit 21, it is also possible to specify the location where a failure has occurred in the communication path.

【0015】[0015]

【発明の効果】以上のように、本発明のマスタ通信装置
に複数のスレーブ通信装置を電気的にループ状の通信路
を使用して接続する通信路切替え装置によれば、マスタ
通信装置及び各スレーブ通信装置のドライバの出力をレ
シーバの入力に接続する接続部と、前記接続部の接続切
替え及び前記ドライバの通信出力を制御する切替制御部
とを設けたことにより、断線発生時に通信経路の接続を
変更することにより断線発生箇所を特定することができ
るため、障害発生時の復旧を容易にする事ができる。ま
た、正常なスレーブに関しては通信データの送受信が可
能であるため、中断した一連の処理を完了させたり、ス
レーブ通信装置がアクチュエータの動作処理をしている
場合は、正常なスレーブ通信装置の制御対象が危険箇所
で停止しても、発生した障害を復旧させる前に安全箇所
にまで退避させることができる。
As described above, according to the communication path switching device for connecting a plurality of slave communication devices to the master communication device of the present invention by using an electrically looped communication path, the master communication device and each By providing a connection unit that connects the output of the driver of the slave communication device to the input of the receiver, and a switching control unit that controls the connection switching of the connection unit and the communication output of the driver, the connection of the communication path when disconnection occurs Can be identified to identify the location where the disconnection has occurred, thereby facilitating recovery in the event of a failure. In addition, since communication data can be transmitted and received with respect to a normal slave, if a series of interrupted processes is completed, or if the slave communication device is performing actuator operation processing, the control target of the normal slave communication device Even if the vehicle stops at a dangerous place, it can be evacuated to a safe place before the trouble that has occurred is restored.

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

【図1】本発明の通信路切替え装置の一実施形態を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a communication path switching device of the present invention.

【図2】本発明の通信路切替え装置の断線時の動作を説
明する為の一実施形態を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment for explaining an operation of the communication path switching device according to the present invention at the time of disconnection.

【図3】本発明の通信路切替え装置の断線時における各
接続ケーブルのデータの一例を示す図である。
FIG. 3 is a diagram showing an example of data of each connection cable when the communication path switching device of the present invention is disconnected.

【図4】従来の通信装置の一実施形態を示すブロック図
である。
FIG. 4 is a block diagram showing an embodiment of a conventional communication device.

【図5】従来の通信装置の正常時における各接続ケーブ
ルのデータの一例を示す図である。
FIG. 5 is a diagram illustrating an example of data of each connection cable when the conventional communication device is normal.

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

1A、1B、1C スレーブ通信装置 10、10A、10B、10C 接続部 11A、11B、11C 通信処理部 12A、12B、12C 切替制御部 2 マスタ通信装置 21 主制御部 31、31A、31B、31C ドライバ 32、32A、32B、32C レシーバ 4A、4B、4C、4D 接続ケーブル 5A、5B、5C 通信路(スレーブ通信装置入力
側) 6A、6B、6C 通信路(スレーブ通信装置出力
側) A1、B1、C1 データ(スレーブ通信装置への通
信データ) a1、b1、c1 データ(スレーブ通信装置の応答
データ)
1A, 1B, 1C Slave communication device 10, 10A, 10B, 10C Connection unit 11A, 11B, 11C Communication processing unit 12A, 12B, 12C Switching control unit 2 Master communication device 21 Main control unit 31, 31A, 31B, 31C Driver 32 , 32A, 32B, 32C Receiver 4A, 4B, 4C, 4D Connection cable 5A, 5B, 5C Communication path (slave communication apparatus input side) 6A, 6B, 6C Communication path (slave communication apparatus output side) A1, B1, C1 Data (Communication data to slave communication device) a1, b1, c1 data (response data of slave communication device)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ドライバ及びレシーバを備えたマスタ通信
装置と、複数のスレーブ通信装置とを、前記ドライバと
別の通信装置のレシーバに接続させ、前記マスタ通信装
置に前記複数のスレーブ通信装置を電気的にループ状の
通信路を使用して接続する通信装置において、前記ドラ
イバの出力を前記レシーバの入力に接続する接続部と、
前記接続部の接続切替え及び前記ドライバの通信出力を
制御する切替制御部とを備えたことを特徴とする通信路
切替え装置。
A master communication device including a driver and a receiver, and a plurality of slave communication devices are connected to a receiver of another communication device with the driver, and the master communication device electrically connects the plurality of slave communication devices. In a communication device connected using a loop-like communication path, a connection unit that connects the output of the driver to the input of the receiver,
A communication path switching device, comprising: a switching control unit that controls connection switching of the connection unit and communication output of the driver.
【請求項2】前段からの出力信号の有無により前記切替
制御部が前記接続部を切替え、前記ドライバの通信出力
を制御するようになっている請求項1に記載の通信路切
替え装置。
2. The communication path switching device according to claim 1, wherein the switching control section switches the connection section depending on the presence or absence of an output signal from a preceding stage, and controls the communication output of the driver.
【請求項3】前記マスタ通信装置からの指令により前記
切替制御部が前記接続部を切替え、前記ドライバの通信
出力を制御するようになっている請求項1に記載の通信
路切替え装置。
3. The communication path switching device according to claim 1, wherein the switching control unit switches the connection unit in response to a command from the master communication device, and controls a communication output of the driver.
【請求項4】前記スレーブ通信装置の前記接続部は電源
立ち上げ前は常に閉じた状態であり、電源立ち上げ時に
前記スレーブ通信装置の前記切替制御部が自己診断を行
ない、正常に通信を行なうことができると判断した時の
み前記スレーブ通信装置の前記接続部を切替えるように
なっている請求項1、2又は3に記載の通信路切替え装
置。
4. The connection section of the slave communication device is always closed before power is turned on. When the power is turned on, the switching control section of the slave communication device performs self-diagnosis and performs normal communication. 4. The communication path switching device according to claim 1, wherein the connection unit of the slave communication device is switched only when it is determined that the connection can be performed.
JP10228008A 1998-08-12 1998-08-12 Communication line changeover device Pending JP2000059411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10228008A JP2000059411A (en) 1998-08-12 1998-08-12 Communication line changeover device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10228008A JP2000059411A (en) 1998-08-12 1998-08-12 Communication line changeover device

Publications (1)

Publication Number Publication Date
JP2000059411A true JP2000059411A (en) 2000-02-25

Family

ID=16869741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10228008A Pending JP2000059411A (en) 1998-08-12 1998-08-12 Communication line changeover device

Country Status (1)

Country Link
JP (1) JP2000059411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754730B2 (en) * 2002-04-15 2004-06-22 D-Link Corporation Intelligent apparatus for sharing a user I/O interface among all intelligent modules thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754730B2 (en) * 2002-04-15 2004-06-22 D-Link Corporation Intelligent apparatus for sharing a user I/O interface among all intelligent modules thereof

Similar Documents

Publication Publication Date Title
EP1407860B1 (en) Robot controller with wireless communication between a robot and a portable teaching operating part
US8001306B2 (en) Interface unit and communication system having a master/slave structure
JPH117322A (en) Remote control method for motor and device therefor
US5091796A (en) Optical communication system having an improved protection line switching mechanism
US6975811B1 (en) Optical one-to-one protection switching apparatus
JP3679944B2 (en) Information transmission equipment
JP2000059411A (en) Communication line changeover device
US6934434B1 (en) Circuit for switching optical paths
JPH11205321A (en) Communication path switching device
WO2022202386A1 (en) I/o unit
JP2000092751A (en) Supervisory control system
JP2606130B2 (en) Loop network
JP2844862B2 (en) Equipment switching method for remote monitoring and control system
JPH1188391A (en) Network management system
JPH01231539A (en) Multi-point terminal system
JPH01228292A (en) Control right switching system for duplex remote supervisory and controlling equipment
JP2568295B2 (en) Control output coordination device in remote control device
KR100547278B1 (en) Most path expander
JPH02143750A (en) Transmission line branching device
JP3185710B2 (en) Automatic switching of order wire for MS shared protection ring system
JPS63252044A (en) Line restoration method in data transmission system
JP2002019611A (en) Train traffic control system and interlocking device
JPS6386636A (en) Data transmission system
JPH0286236A (en) Clock switching circuit
KR0174563B1 (en) Alternating circuit of main / reserve in paging transmitter

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041102