JPH05344141A - Loop type signal transmission system - Google Patents

Loop type signal transmission system

Info

Publication number
JPH05344141A
JPH05344141A JP4172056A JP17205692A JPH05344141A JP H05344141 A JPH05344141 A JP H05344141A JP 4172056 A JP4172056 A JP 4172056A JP 17205692 A JP17205692 A JP 17205692A JP H05344141 A JPH05344141 A JP H05344141A
Authority
JP
Japan
Prior art keywords
control device
data
optical fiber
fiber cable
terminal
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
JP4172056A
Other languages
Japanese (ja)
Inventor
Makoto Yokoyama
誠 横山
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.)
Kawamura Electric Inc
Original Assignee
Kawamura Electric Inc
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 Kawamura Electric Inc filed Critical Kawamura Electric Inc
Priority to JP4172056A priority Critical patent/JPH05344141A/en
Publication of JPH05344141A publication Critical patent/JPH05344141A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the loop type signal transmission system which can automatically, easily and speedily continue the operation of an entire system even when an optical fiber cable is disconnected. CONSTITUTION:This system is provided with a monitor line 18 for successively connect a controller 3 reversely to an optical fiber cable 4, and a CPU 1 to detect abnormality when there is no input from the optical fiber cable 4 to the controller 3 for prescribed time, and to detect an abnormal signal when there is no input from the monitor line 18 to the controller. Then, when the CPU 1 detects any abnormality, the controller 3 connects the optical fiber cable 4 and the monitor line 18 to form a new loop.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は中央制御装置と端末制御
装置とがループ状に接続された信号伝送方式において発
生した断線等の異常を検知し、自動的に新しいループを
形成して端末制御装置を通常運転するためのループ式信
号伝送方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention detects an abnormality such as a wire break in a signal transmission system in which a central control unit and a terminal control unit are connected in a loop, and automatically forms a new loop to control the terminal. The present invention relates to a loop type signal transmission system for normal operation of a device.

【0002】[0002]

【従来の技術】従来よりLANシステム内等に配設され
た端末制御装置で発生した異常を検知して中央制御装置
に通報するシステムが広く使用されている。ここに、L
ANシステムは、一般的にホストコンピュータを中心と
して端末制御装置(端末コンピュータや各種のインテリ
ジェント端末)をローカルエリア内で接続し、各装置と
ホストコンピュータとの間でデータの送受を行ない得る
ようにしたシステムをいい、また、ローカルエリアとは
同一敷地内や同一建物内のような限られた範囲を示すも
のと考えられている。
2. Description of the Related Art Conventionally, a system has been widely used which detects an abnormality occurring in a terminal control device arranged in a LAN system or the like and notifies the central control device of the abnormality. Where L
The AN system generally connects a terminal control device (terminal computer and various intelligent terminals) centered around a host computer in a local area so that data can be transmitted and received between each device and the host computer. It refers to a system, and the local area is considered to indicate a limited area such as the same site or the same building.

【0003】従来より使用されているループ式信号伝送
装置の構成を図14に示す。中央制御装置であるホスト
コンピュータ10に7つの端末制御装置17a,17
b,17c,17d,17e,17f,17gが順次信
号線である光ファイバケーブル4により接続されてい
る。光ファイバケーブル4は、シリアルデータの伝送路
として使用される。ホストコンピュータ10は、アドレ
スデータを送信したり、端末制御装置17から送られて
くるI/Oデータを管理する装置である。
FIG. 14 shows the configuration of a loop type signal transmission device which has been conventionally used. The host computer 10, which is a central control unit, has seven terminal control units 17a, 17
b, 17c, 17d, 17e, 17f and 17g are sequentially connected by an optical fiber cable 4 which is a signal line. The optical fiber cable 4 is used as a transmission path for serial data. The host computer 10 is a device that sends address data and manages I / O data sent from the terminal control device 17.

【0004】次に、上記構成を有する従来のループ状信
号伝送方式の作用を説明する。ホストコンピュータ10
は、各端末制御装置17に接続する各端末機器の有する
データ等を収集するために図13に示すシリアルデータ
を光ファイバケーブル4を介して伝送する。伝送される
シリアルデータは、開始フラグ11の後にデータ12が
続き、その後にデータ等のエラーをチェックするための
FCS(フレームチェックシーケンス)13が続き、そ
の後に終了フラグ14が続いている。端末制御装置17
は、シリアルI/Oによりシリアルデータを受信し、C
PUは受信したデータをRAMに記憶する。
Next, the operation of the conventional loop signal transmission system having the above configuration will be described. Host computer 10
Transmits the serial data shown in FIG. 13 via the optical fiber cable 4 in order to collect the data and the like of each terminal device connected to each terminal control device 17. The serial data to be transmitted has a start flag 11 followed by data 12, followed by an FCS (frame check sequence) 13 for checking an error such as data, and then an end flag 14. Terminal control device 17
Receives serial data via serial I / O, and
The PU stores the received data in the RAM.

【0005】次に受信したデータにエラーが存在しない
か否かをFCSにより演算チェックする。そして、エラ
ーがない場合、CPUがホストコンピュータ10の指令
をデータから読みだし、その指令およびROMに記憶さ
れている制御プログラムに基づいて、端末機器の状態デ
ータをパラレルI/Oから読み込んで、シリアルデータ
に状態データを書き込む。一方、エラーが検出された場
合、図15に示すように、開始フラグ11に続けてエラ
ー電文15、およびエラーを検出した端末制御装置17
のアドレスを故障端末アドレス16とし、それにFCS
13と終了フラグ14とを続けてシリアルデータを作成
していた。
Next, an operation check is performed by the FCS to determine whether the received data has an error. Then, if there is no error, the CPU reads the command of the host computer 10 from the data, and based on the command and the control program stored in the ROM, reads the status data of the terminal device from the parallel I / O, and serially reads the data. Write status data to the data. On the other hand, when an error is detected, as shown in FIG. 15, the start flag 11 is followed by an error message 15, and the terminal control device 17 that has detected the error.
Address is set as the faulty terminal address 16 and FCS
13 and the end flag 14 are continued to create serial data.

【0006】そして、機器端末の状態データやエラーデ
ータの記録されたシリアルデータは、シリアルI/Oお
よび光ファイバケーブル4を介して次の端末制御装置1
7に送信される。ホストコンピュータ10は、シリアル
データを読みとってデータが正常であれば、そのデータ
により各端末機器の状態を把握する。また、エラー電文
が出ている場合は、外部にエラー発生を表示すると共
に、故障を検出した故障端末アドレスを表示する。その
表示により、使用者は故障の発生カ所を知り速やかに故
障を修復することが可能となる。
Then, the serial data in which the status data of the device terminal and the error data are recorded is transferred to the next terminal control device 1 via the serial I / O and the optical fiber cable 4.
Sent to 7. The host computer 10 reads the serial data and, if the data is normal, grasps the state of each terminal device from the data. When an error message is output, the error occurrence is displayed on the outside and the address of the failed terminal where the failure is detected is displayed. The display enables the user to know where the failure has occurred and to promptly repair the failure.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
ループ式信号伝送装置では、以下のような問題があっ
た。すなわち、光ファイバケーブル3が一箇所で断線し
た場合に、I/Oデータがホストコンピュータ10に戻
らないので、システム全体の動作が停止してしまう問題
があった。このことは光ファイバケーブル4の断線のみ
ならず、例えば、1つの端末制御装置17に接続されて
いるモータ等の端末機器を交換する場合でも、端末制御
装置17の電源等を落として工事することが多いため、
システム全体が停止し、通常運転を行いたい他の端末制
御装置17まで停止される問題を含んでいた。
However, the conventional loop type signal transmission device has the following problems. That is, when the optical fiber cable 3 is broken at one place, the I / O data is not returned to the host computer 10, so that there is a problem that the operation of the entire system is stopped. This means not only the disconnection of the optical fiber cable 4, but also when replacing the terminal device such as a motor connected to one terminal control device 17, the power supply of the terminal control device 17 should be turned off to perform the work. Because there are many
There was a problem in that the entire system stopped, and the other terminal control devices 17 desired to perform normal operation were also stopped.

【0008】上記問題を解決する手段として、ホストコ
ンピュータ10が常に全体のループ式信号伝送システム
の監視を行い、断線が発生した箇所を検出し特定し、障
害の発生等を割り込み等の方法により各端末制御装置1
7に通知し、新たなループ等を形成して信号の伝送路を
確保することが知られていた。しかし、新たなループ形
成を全てホストコンピュータ10の指示により行ってい
たため、ホストコンピュータ10のプログラムが極めて
煩雑であり、余分なメモリ等によりコストアップを生じ
ていた。また、回復に要する時間も10〜20秒と長く
かかり、その間にシステム停止に起因するトラブルが発
生する可能性があり問題であった。そのため、実際に
は、端末機器を交換する場合等では、システム全体を停
止して行っていた。また、断線が回復した場合も通常の
ループに戻すのに人手を介し、複雑な手順と長い時間が
必要であった。
As a means for solving the above problems, the host computer 10 constantly monitors the entire loop type signal transmission system, detects and specifies the location where the wire breakage occurs, and interrupts the occurrence of a failure by a method such as interruption. Terminal control device 1
It has been known to notify No. 7 and form a new loop or the like to secure a signal transmission path. However, since the new loop formation is all performed according to the instruction of the host computer 10, the program of the host computer 10 is extremely complicated, and the cost is increased due to the extra memory. Further, the time required for recovery is as long as 10 to 20 seconds, and there is a possibility that trouble due to the system stop may occur during that time, which is a problem. Therefore, in actuality, when replacing a terminal device, the entire system is stopped. In addition, even when the wire break was recovered, it took a lot of manpower to return to the normal loop, which required a complicated procedure and a long time.

【0009】本発明は前記従来技術の問題点を解消する
ためになされたものであり、光ファイバケーブルの断線
があっても、システム全体の稼働を自動的、容易かつ迅
速に継続することができるループ式信号伝送方式を提供
することを目的とする。
The present invention has been made to solve the above-mentioned problems of the prior art. Even if the optical fiber cable is broken, the operation of the entire system can be continued automatically, easily and quickly. It is an object to provide a loop type signal transmission system.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するため
本発明のループ式信号伝送方式は、1台の中央制御装置
と2以上の端末制御装置とを単方向性の光ファイバケー
ブルによりループ状に接続し、中央制御装置から1つの
端末制御装置にデータを伝送するとデータを受けた該端
末制御装置が順次自己のデータを変更しながら他の端末
制御装置にデータを伝送し、最後にデータを中央制御装
置に戻すループ式信号伝送方式であって、中央制御装置
から順次前記端末制御装置を光ファイバケーブルとは逆
方向に接続するモニタ線と、中央制御装置および端末制
御装置に光ファイバケーブルからの入力が所定時間ない
場合に異常を検出する異常検出手段と、中央制御装置お
よび端末制御装置にモニタ線からの入力が所定時間ない
場合に異常信号を検出するモニタ手段とを有し、異常検
出手段およびモニタ手段が異常を検出した場合に、中央
制御装置および端末制御装置が光ファイバケーブルとモ
ニタ線とを接続させ、新たなループを形成する。
In order to achieve the above object, the loop type signal transmission system of the present invention comprises one central control unit and two or more terminal control units which are looped by a unidirectional optical fiber cable. When the central control unit transmits data to one terminal control unit, the terminal control unit that receives the data sequentially transmits the data to another terminal control unit while changing its own data, and finally transmits the data. A loop-type signal transmission method for returning to the central control unit, wherein a monitor line for sequentially connecting the terminal control unit from the central control unit in a direction opposite to the optical fiber cable, and an optical fiber cable for the central control unit and the terminal control unit Abnormality detection means for detecting an abnormality when there is no input for a predetermined time, and an abnormality signal when there is no input from the monitor line for the central control unit and terminal control unit. And a monitor means for output, when the abnormality detection means and monitoring means detects an abnormality, the central control device and the terminal control device is connected to the optical fiber cable and the monitor line to form a new loop.

【0011】[0011]

【作用】前記構成を有する本発明のループ式信号伝送方
式の端末制御装置は、中央制御装置または他の端末制御
装置からデータの伝送を受けると、順次自己のデータを
変更しながら別の端末制御装置にデータを伝送し、最後
にデータを中央制御装置に戻す。中央制御装置は、シリ
アルデータを読みとってデータが正常であれば、そのデ
ータにより各端末機器の状態を把握する。
When the terminal control device of the loop type signal transmission system of the present invention having the above-mentioned configuration receives data transmission from the central control device or another terminal control device, another terminal control device sequentially changes its own data. It transmits the data to the device and finally returns the data to the central controller. The central control device reads the serial data and, if the data is normal, grasps the state of each terminal device from the data.

【0012】また、中央制御装置および端末制御装置の
異常検出手段は、中央制御装置および端末制御装置に光
ファイバケーブルからの入力が所定時間ない場合に異常
を検出する。また、モニタ手段は、中央制御装置および
端末制御装置にモニタ線からの入力が所定時間ない場合
に異常信号を検出する。そして、CPUおよびモニタ手
段が異常を検出した場合に、中央制御装置および端末制
御装置が光ファイバケーブルとモニタ線とを接続させ、
新たなループを形成する。従って、光ファイバケーブル
が断線しても自動的に新たなループが形成されるので、
ループ式信号伝送方式は通常運転を継続することができ
る。
Further, the abnormality detecting means of the central control unit and the terminal control unit detects the abnormality when there is no input from the optical fiber cable to the central control unit and the terminal control unit for a predetermined time. Further, the monitor means detects the abnormal signal when there is no input from the monitor line to the central controller and the terminal controller for a predetermined time. When the CPU and the monitor means detect an abnormality, the central controller and the terminal controller connect the optical fiber cable and the monitor line,
Form a new loop. Therefore, even if the optical fiber cable is broken, a new loop is automatically formed.
The loop signal transmission method can continue normal operation.

【0013】[0013]

【実施例】以下、本発明を具体化した一実施例に基づい
て図面を参照しつつ詳細に説明する。図5は本実施例の
ループ式信号伝送方式の全体構成を示す説明図である。
中央制御装置である主局D3に3つの端末制御装置A
3、B3,C3が順次光ファイバケーブル4により接続
されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the drawings. FIG. 5 is an explanatory diagram showing the overall configuration of the loop signal transmission system of this embodiment.
The main station D3, which is a central controller, has three terminal controllers A
3, B3, C3 are sequentially connected by the optical fiber cable 4.

【0014】本実施例で使用している主局制御装置D3
と端末制御装置A3、B3,C3との基本構成は図1お
よび図3に示すように同じである。図3は制御装置内で
の信号の伝送経路を概念的に示している。入力および出
力用の各々の光ファイバケーブル4が各々受光器5およ
び投光器6を介して制御装置3に接続している。また、
光ファイバケーブルからなるモニタ線18が各々受光器
7および投光器8を介して制御装置3に接続している。
すなわち、データ入力Hは受光器5から入力され、デー
タ出力Jは等光器6から出力される。また、モニタ入力
Kは受光器7から入力され、モニタ出力Iは等光器8か
ら出力される。
Main station controller D3 used in this embodiment
The basic configurations of the terminal control devices A3, B3 and C3 are the same as shown in FIGS. FIG. 3 conceptually shows a signal transmission path in the control device. The respective input and output optical fiber cables 4 are connected to the control device 3 via a light receiver 5 and a light projector 6, respectively. Also,
A monitor line 18 made of an optical fiber cable is connected to the control device 3 via the light receiver 7 and the light projector 8.
That is, the data input H is input from the light receiver 5, and the data output J is output from the isolator 6. The monitor input K is input from the light receiver 7, and the monitor output I is output from the isolator 8.

【0015】主局および端末の制御装置3の具体的な回
路構成を図1に示す。光ファイバケーブル4は、受光器
5および投光器6を介して光データリンク24に接続し
ている。また、モニタ線18は、受光器7および投光器
8を介して光データリンク25に接続している。光デー
タリンク24,25は、各々処理回路26に接続してい
る。処理回路26には、CPU1,セレクタ22および
波形整形増幅回路23が接続している。また、セレクタ
22にはパルス発生回路21が接続している。CPU1
には、端末制御装置の制御プログラム等を記憶したRO
Mおよび一時的にデータ等を記憶するRAM(図示せ
ず。)が接続している。
A specific circuit configuration of the control device 3 of the main station and the terminal is shown in FIG. The optical fiber cable 4 is connected to the optical data link 24 via the light receiver 5 and the light projector 6. Further, the monitor line 18 is connected to the optical data link 25 via the light receiver 7 and the light projector 8. The optical data links 24, 25 are each connected to a processing circuit 26. The processing circuit 26 is connected to the CPU 1, the selector 22, and the waveform shaping amplifier circuit 23. Further, the pulse generation circuit 21 is connected to the selector 22. CPU1
In the RO, the control program of the terminal control device is stored.
M and a RAM (not shown) for temporarily storing data etc. are connected.

【0016】次に、上記構成を有するループ式信号伝送
方式の作用を説明する。主局制御装置D3および各端末
制御装置A3,B3,C3は、端末機器の有するデータ
等を収集するために、以下の動作を行う。正常運転が行
われているときのループ式信号伝送システムの概念図を
図5に示す。ここで、図1に示すCPU1のP0出力は
ハイレベルHでありP1出力はローレベルLである。そ
して、図2に示すように処理回路26は、3aの状態と
なる。
Next, the operation of the loop type signal transmission system having the above configuration will be described. The master station control device D3 and each terminal control device A3, B3, C3 perform the following operations in order to collect data and the like of the terminal equipment. FIG. 5 shows a conceptual diagram of the loop type signal transmission system when the normal operation is performed. Here, the P0 output of the CPU 1 shown in FIG. 1 is at a high level H and the P1 output is at a low level L. Then, as shown in FIG. 2, the processing circuit 26 enters the state of 3a.

【0017】3aの状態における処理回路の作用を図4
の(a)に示す。すなわち、受光器5から入力されたデ
ータ入力MはCPU1のIN端子に入力し、通常の必要
な処理が行われる。すなわち、主局制御装置D3の指令
をデータから読みだし、その指令およびROMに記憶さ
れている制御プログラムに基づいて、端末機器の状態デ
ータを読み込んで、シリアルデータに状態データを書き
込む。そして、シリアルデータのうち自己の端末装置で
必要とするデータを読み込んでRAMに記憶する。そし
て、データ出力IはOUT端子から出力され投光器6か
ら出力される。
The operation of the processing circuit in the state of 3a is shown in FIG.
(A) of. That is, the data input M input from the light receiver 5 is input to the IN terminal of the CPU 1 and the usual necessary processing is performed. That is, the command of the master station control device D3 is read from the data, the status data of the terminal device is read based on the command and the control program stored in the ROM, and the status data is written in the serial data. Then, of the serial data, the data required by its own terminal device is read and stored in the RAM. Then, the data output I is output from the OUT terminal and output from the projector 6.

【0018】一方、モニタ信号は主局制御装置D3が、
所定のパルス信号を発生している。モニタ信号はモニタ
入力Jとして受光器7から入力され、モニタ2を経由し
てモニタ出力Kは等光器8から出力される。同時に、モ
ニタ入力JはCPU1のモニタ入力端子MOに入力され
る。モニタ2は、データ信号が正常にある場合は、入力
されるモニタ入力Jを波形整形増幅回路23により整形
増幅処理してモニタ出力Kとして出力する。
On the other hand, the monitor signal is sent by the master station controller D3.
A predetermined pulse signal is generated. The monitor signal is input from the light receiver 7 as the monitor input J, and the monitor output K is output from the equalizer 8 via the monitor 2. At the same time, the monitor input J is input to the monitor input terminal MO of the CPU 1. When the data signal is normal, the monitor 2 performs the shaping amplification processing of the input monitor input J by the waveform shaping amplification circuit 23 and outputs it as the monitor output K.

【0019】次に、本発明の主要部である故障発生時の
作用について説明する。図6の9に示す箇所で光ファイ
バケーブル4およびモニタ線18が断線した場合を説明
する。この場合、端末制御装置B3にデータが入力しな
くなる。そして、所定時間以上データ信号の入力がない
とき、CPU1は直前の光ファイバケーブル4で断線等
の異常が発生したと判断し、POの出力をローレベルL
にし、P1の出力をハイレベルHに変更する。
Next, the operation of the present invention when a failure occurs, which is the main part of the present invention, will be described. A case where the optical fiber cable 4 and the monitor wire 18 are disconnected at the location shown in 9 of FIG. 6 will be described. In this case, no data is input to the terminal control device B3. When no data signal is input for a predetermined time or more, the CPU 1 determines that an abnormality such as a break has occurred in the optical fiber cable 4 immediately before, and the output of PO is set to low level L.
Then, the output of P1 is changed to the high level H.

【0020】そして、処理回路26は図7にループ式信
号伝送システムの全体状態を示すように、端末制御装置
B3の状態が図4の(b)に示す作用を行うようにセッ
トされる。すなわち、モニタ線18からのモニタ入力J
がCPU1のIN端子に入力される。また、光ファイバ
ケーブル4からのデータ入力MがCPU1のMO端子に
入力される。これにより、データ入力はモニタ入力とし
てCPU1に入力され、片方のループは復帰できる。
Then, the processing circuit 26 is set so that the state of the terminal control device B3 performs the operation shown in FIG. 4 (b), as shown in the overall state of the loop type signal transmission system in FIG. That is, the monitor input J from the monitor line 18
Is input to the IN terminal of the CPU 1. Further, the data input M from the optical fiber cable 4 is input to the MO terminal of the CPU 1. As a result, the data input is input to the CPU 1 as a monitor input, and one loop can be restored.

【0021】また、CPU1は、異常の検出をしたとき
図15に示すように、開始フラグ11に続けてエラー電
文15、およびエラーを検出した端末制御装置17のア
ドレスを故障端末アドレス16とし、それにFCS13
と終了フラグ14とを続けてシリアルデータを作成し出
力する。そして、機器端末の状態データやエラーデータ
の記録されたシリアルデータは、シリアルI/Oおよび
光ファイバケーブル4を介して次の端末制御装置C3に
送信される。
Further, when an abnormality is detected, the CPU 1 sets the error message 15 following the start flag 11 and the address of the terminal control device 17 in which the error is detected to the faulty terminal address 16 as shown in FIG. FCS13
And the end flag 14 in succession to create and output serial data. Then, the serial data in which the status data of the device terminal and the error data are recorded is transmitted to the next terminal control device C3 via the serial I / O and the optical fiber cable 4.

【0022】また、端末制御装置C3は、エラー電文1
5を受信したときは、モニタ信号をチェックし、モニタ
信号を受信できれば、3aの状態を維持して図15に示
すシリアルデータをそのまま出力する。また、主局制御
装置D3は、エラー電文15を受信したときは、モニタ
信号をチェックする。モニタ信号が受信できれば、シリ
アルデータを読みとって、そのデータにより各端末機器
の状態を把握する。
Further, the terminal control device C3 uses the error message 1
When 5 is received, the monitor signal is checked, and if the monitor signal can be received, the state of 3a is maintained and the serial data shown in FIG. 15 is output as it is. Further, when the error message 15 is received, the master station control device D3 checks the monitor signal. If the monitor signal can be received, the serial data is read and the state of each terminal device is grasped from the data.

【0023】また、主局制御装置D3は、外部にエラー
発生を表示し、故障を検出した故障端末アドレスを表示
する。その表示により、使用者は故障の発生カ所を知り
速やかに故障を修復することが可能となる。ただし、主
局制御装置D3の直前で光ファイバケーブル4が断線等
した場合には、アドレスは送られてこないので、エラー
を検出した時点でエラー表示のみ行いアドレスは表示し
ない。
Further, the master station control device D3 externally displays the occurrence of an error and the address of the faulty terminal where the fault is detected. The display enables the user to know where the failure has occurred and to promptly repair the failure. However, if the optical fiber cable 4 is broken immediately before the master station control device D3, the address is not sent, so only the error is displayed when the error is detected, and the address is not displayed.

【0024】次に、端末制御装置A3について説明す
る。断線9によりモニタ信号の入力が停止する。そし
て、エラー信号が入力すると、CPU1は、POの出力
をローレベルLにし、P1の出力をハイレベルHに変更
する。
Next, the terminal control device A3 will be described. The disconnection 9 stops the input of the monitor signal. When an error signal is input, the CPU 1 changes the output of PO to low level L and the output of P1 to high level H.

【0025】これにより、処理回路26は図8にループ
式信号伝送システムの全体状態を示すように、端末制御
装置B3の状態が図4の(b)に示す作用を行うように
セットされる。すなわち、モニタ線18からのモニタ入
力JがCPU1のIN端子に入力される。また、光ファ
イバケーブル4からのデータ入力MがCPU1のMO端
子に入力される。そして、データ入力はモニタ入力とし
てCPU1に入力され、残りの片方のループが復帰さ
れ、ループ全体がつながり信号伝送が再開できる。以上
の動作により、光ファイバケーブル4およびモニタ線1
8が同時に断線した場合でも、1秒以下の短時間でルー
プを復帰できるので、システムの信頼性が向上する。
As a result, the processing circuit 26 is set so that the state of the terminal control device B3 performs the operation shown in FIG. 4 (b), as shown in the overall state of the loop type signal transmission system in FIG. That is, the monitor input J from the monitor line 18 is input to the IN terminal of the CPU 1. Further, the data input M from the optical fiber cable 4 is input to the MO terminal of the CPU 1. Then, the data input is input to the CPU 1 as a monitor input, the remaining one loop is restored, the entire loop is connected, and signal transmission can be restarted. By the above operation, the optical fiber cable 4 and the monitor line 1
Even if 8 are disconnected at the same time, the loop can be recovered in a short time of 1 second or less, so the system reliability is improved.

【0026】次に、光ファイバケーブル4およびモニタ
線18の断線9が復帰した場合を説明する。断線が復帰
した場合、図9に示すように、端末制御装置B3へのデ
ータ信号Mが復活され、CPU1のモニタ端子MOに入
力される。CPU1は、これにより復帰を確認しPOを
ハイレベルH、P1をローレベルLとして、処理回路2
6の状態を図4の(a)の状態に戻す。また、CPU1
は、復旧コマンドを送出する。
Next, the case where the disconnection 9 of the optical fiber cable 4 and the monitor wire 18 is restored will be described. When the disconnection is restored, as shown in FIG. 9, the data signal M to the terminal control device B3 is restored and input to the monitor terminal MO of the CPU1. With this, the CPU 1 confirms the return, sets PO to the high level H and P1 to the low level L, and sets the processing circuit 2
The state of 6 is returned to the state of FIG. Also, CPU1
Sends a recovery command.

【0027】端末制御装置A3は、モニタ信号Kが復活
され、CPU1のモニタ端子MOに入力される。CPU
1は、これにより復帰を確認しPOをハイレベルH、P
1をローレベルLとして、処理回路26の状態を図4の
(a)の状態に戻す。また、主局制御装置D3は、復旧
コマンドを受けると、エラー表示を停止する。以上の動
作により、光ファイバケーブル4およびモニタ線18の
断線が復帰した場合に、1秒以下の短時間で自動的に通
常状態にループを復旧できるので、システムの信頼性が
向上する。
In the terminal control device A3, the monitor signal K is restored and input to the monitor terminal MO of the CPU1. CPU
1 confirms the return by this, and sets PO to high level H, P
1 is set to the low level L, and the state of the processing circuit 26 is returned to the state of FIG. Further, when the master station control device D3 receives the recovery command, it stops the error display. By the above operation, when the disconnection of the optical fiber cable 4 and the monitor line 18 is recovered, the loop can be automatically restored to the normal state in a short time of 1 second or less, so that the system reliability is improved.

【0028】次に、図10に示すように、光ファイバケ
ーブル4のみが断線した場合を説明する。この場合も、
端末制御装置B3にデータが入力しなくなる。そして、
所定時間以上データ信号の入力がないとき、CPU1は
直前の光ファイバケーブル4で断線等の異常が発生した
と判断し、POの出力をローレベルLにし、P1の出力
をハイレベルHに変更する。そして、処理回路26は図
7にループ式信号伝送システムの全体状態を示すよう
に、端末制御装置B3の状態が図4の(b)に示す作用
を行うようにセットされる。
Next, a case where only the optical fiber cable 4 is broken as shown in FIG. 10 will be described. Again,
Data will not be input to the terminal control device B3. And
When no data signal is input for a predetermined time or longer, the CPU 1 determines that an abnormality such as disconnection has occurred in the immediately preceding optical fiber cable 4, changes the output of PO to low level L, and changes the output of P1 to high level H. .. Then, the processing circuit 26 is set so that the state of the terminal control device B3 performs the operation shown in FIG. 4B, as shown in the overall state of the loop type signal transmission system in FIG.

【0029】また、CPU1が異常を判断すると、モニ
タ信号Kが停止されるので、端末制御装置A3の状態が
図4の(c)に示す作用を行うようにセットされる。端
末制御装置C3と主局制御装置D3の動作は光ファイバ
ケーブル4とモニタ線18が同時に切断した場合と同じ
であり説明を省略する。そして、図11に示すようにル
ープの両側が接続され復帰され、ループ全体がつながり
信号伝送が再開できる。以上の動作により、光ファイバ
ケーブル4およびモニタ線18が同時に断線した場合で
も、1秒以下の短時間でループを復帰できるので、シス
テムの信頼性が向上する。復旧については、光ファイバ
ケーブル4およびモニタ線18が同時に断線した場合と
同じなので説明を省略する。
When the CPU 1 judges an abnormality, the monitor signal K is stopped, and the state of the terminal control device A3 is set so as to perform the operation shown in FIG. 4 (c). The operations of the terminal control device C3 and the master station control device D3 are the same as when the optical fiber cable 4 and the monitor line 18 are disconnected at the same time, and a description thereof will be omitted. Then, as shown in FIG. 11, both sides of the loop are connected and restored so that the entire loop is connected and signal transmission can be restarted. By the above operation, even when the optical fiber cable 4 and the monitor line 18 are simultaneously broken, the loop can be restored in a short time of 1 second or less, so that the system reliability is improved. The restoration is the same as the case where the optical fiber cable 4 and the monitor line 18 are disconnected at the same time, and the description thereof will be omitted.

【0030】次に、図12に示すようにモニタ線のみが
断線した場合を説明する。データ信号Mは正常に送られ
ているので、主局制御装置C3および各端末制御装置A
3,B3,C3は、通常のデータ送受信を行う。端末制
御装置A3にモニタ信号Kが入力しないので、端末制御
装置A3は、所定時間経過してもデータ信号Mとしてエ
ラー信号が送られてこないことを確認し、モニタエラー
をデータ信号として出力する。また、端末制御装置A3
はセレクタ22を切り換えてモニタ出力としてのパルス
信号をモニタ線18に出力する。モニタ信号を出力する
のは、モニタ線18の断線により、主局制御装置からの
モニタ信号を受けられない端末制御装置のためである。
Next, a case where only the monitor line is broken as shown in FIG. 12 will be described. Since the data signal M is sent normally, the master station controller C3 and each terminal controller A
3, B3 and C3 perform normal data transmission / reception. Since the monitor signal K is not input to the terminal control device A3, the terminal control device A3 confirms that the error signal is not sent as the data signal M even after the lapse of a predetermined time, and outputs the monitor error as the data signal. In addition, the terminal control device A3
Switches the selector 22 to output a pulse signal as a monitor output to the monitor line 18. The monitor signal is output because the terminal control device cannot receive the monitor signal from the master station control device due to the disconnection of the monitor line 18.

【0031】モニタエラー信号を受信した端末制御装置
B3は、ワーニング信号と自分のアドレスとをデータ信
号として出力する。主局制御装置D3は、モニタ線の異
常を示すために、ワーニング表示およびアドレスを表示
する。以上説明したように、モニタ線18が断線したと
きは、通常の信号の伝送を継続し、主局制御装置D3に
モニタ線の断線を表示して使用者に警告する。使用者が
モニタ線18を復旧した場合、光ファイバケーブル4お
よびモニタ線18が同時に断線した場合と同じ方式で復
旧される。
Upon receiving the monitor error signal, the terminal control device B3 outputs the warning signal and its own address as a data signal. The master station control device D3 displays a warning display and an address in order to indicate the abnormality of the monitor line. As described above, when the monitor line 18 is disconnected, the normal signal transmission is continued, the monitor line disconnection is displayed on the master station control device D3, and the user is warned. When the user restores the monitor line 18, it is restored in the same manner as when the optical fiber cable 4 and the monitor line 18 are simultaneously disconnected.

【0032】以上説明したように、本実施例のループ式
伝送方式によれば、光ファイバケーブル4やモニタ線1
8のいずれがどの位置で断線した場合でも、端末制御装
置自体の回路が自動的に新しいループを形成するので、
システム全体が停止するのは1秒以下であるため、個別
の端末制御装置に接続している端末機器を稼働し続ける
ことができる。また、1つの端末制御装置に接続する端
末機器を交換する場合に、該端末制御装置の電源を落と
しても、他の端末制御装置をそのまま稼働することが可
能であり、システム全体の使い勝手が向上する。
As described above, according to the loop type transmission system of this embodiment, the optical fiber cable 4 and the monitor line 1 are used.
Even if any of 8 breaks at any position, the circuit of the terminal control device itself automatically forms a new loop.
Since the entire system stops for 1 second or less, it is possible to continue operating the terminal equipment connected to the individual terminal control device. Further, when the terminal device connected to one terminal control device is replaced, even if the power of the terminal control device is turned off, the other terminal control devices can be operated as they are, and the usability of the entire system is improved. To do.

【0033】尚、本発明は前記実施例に限定されるもの
ではなく、本発明の要旨を逸脱しない範囲内において種
々の変形、改良が可能である。すなわち、処理回路26
をプログラムにより行わせることも可能である。
The present invention is not limited to the above embodiments, and various modifications and improvements can be made without departing from the gist of the present invention. That is, the processing circuit 26
It is also possible to perform by a program.

【0034】[0034]

【発明の効果】以上説明した通り本発明のループ式信号
伝送方式は、中央制御装置から順次前記端末制御装置を
光ファイバケーブルとは逆方向に接続するモニタ線と、
中央制御装置および端末制御装置に光ファイバケーブル
からの入力が所定時間ない場合に異常を検出する異常検
出手段と、中央制御装置および端末制御装置にモニタ線
からの入力が所定時間ない場合に異常信号を検出するモ
ニタ手段とを有し、異常検出手段およびモニタ手段が異
常を検出した場合に、中央制御装置および端末制御装置
が光ファイバケーブルとモニタ線とを接続させ、新たな
ループを形成するので、光ファイバケーブル4の断線が
発生しても、システム全体が停止するのは短時間であ
り、個別の端末制御装置に接続している端末機器を稼働
し続けることができる。また、断線等を復帰した場合
に、自動的かつ迅速に通常運転に復旧できる。
As described above, according to the loop type signal transmission system of the present invention, the central control unit sequentially connects the terminal control unit in the direction opposite to the optical fiber cable, and the monitor line,
Abnormality detection means for detecting an abnormality when there is no input from the optical fiber cable to the central control unit and terminal control unit, and an abnormality signal when there is no input from the monitor line to the central control unit and terminal control unit When the abnormality detecting means and the monitoring means detect an abnormality, the central control unit and the terminal control unit connect the optical fiber cable and the monitor line to form a new loop. Even if the optical fiber cable 4 is broken, the entire system is stopped for a short time, and the terminal equipment connected to the individual terminal control device can continue to operate. Further, when the disconnection or the like is restored, the normal operation can be restored automatically and quickly.

【0035】また、1つの端末制御装置に接続する端末
機器を交換する場合に、該端末制御装置の電源を落とし
ても、ループがすぐに復旧できるので、他の端末制御装
置をそのまま稼働することが可能であり、システム全体
の使い勝手が向上する。
When the terminal equipment connected to one terminal control device is replaced, even if the power supply to the terminal control device is turned off, the loop can be immediately restored, so that the other terminal control devices can be operated as they are. It is possible to improve the usability of the entire system.

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

【図1】本発明に係る一実施例のループ式信号伝送方式
に使用される制御装置の内部構成を示す回路図である。
FIG. 1 is a circuit diagram showing an internal configuration of a control device used in a loop signal transmission system according to an embodiment of the present invention.

【図2】CPUの制御条件を示す説明図である。FIG. 2 is an explanatory diagram showing control conditions of a CPU.

【図3】本発明に係る一実施例のループ式信号伝送方式
に使用される制御装置の信号の伝達経路を示す概念図で
ある。
FIG. 3 is a conceptual diagram showing a signal transmission path of a control device used in a loop type signal transmission system according to an embodiment of the present invention.

【図4】本発明に係る一実施例のループ式信号伝送方式
に使用される制御装置の信号の伝達経路の変更を示す概
念図である。
FIG. 4 is a conceptual diagram showing a change of a signal transmission path of a control device used in a loop type signal transmission system according to an embodiment of the present invention.

【図5】本発明に係る一実施例のループ式信号伝送方式
の通常状態を示す概念図である。
FIG. 5 is a conceptual diagram showing a normal state of a loop signal transmission system according to an embodiment of the present invention.

【図6】ループ式信号伝送方式の断線状態を示す第1説
明図である。
FIG. 6 is a first explanatory diagram showing a disconnection state of the loop signal transmission system.

【図7】ループ式信号伝送方式の断線状態を示す第2説
明図である。
FIG. 7 is a second explanatory diagram showing a disconnection state of the loop signal transmission system.

【図8】ループ式信号伝送方式の断線状態を示す第3説
明図である。
FIG. 8 is a third explanatory diagram showing a broken state of the loop signal transmission system.

【図9】ループ式信号伝送方式の断線状態を示す第4説
明図である。
FIG. 9 is a fourth explanatory diagram showing a broken state of the loop signal transmission system.

【図10】ループ式信号伝送方式の断線状態を示す第5
説明図である。
FIG. 10 is a fifth diagram showing a broken state of the loop signal transmission system.
FIG.

【図11】ループ式信号伝送方式の断線状態を示す第6
説明図である。
FIG. 11 is a sixth diagram showing a disconnection state of the loop signal transmission system.
FIG.

【図12】ループ式信号伝送方式の断線状態を示す第7
説明図である。
FIG. 12 is a seventh diagram showing a disconnection state of the loop signal transmission system.
FIG.

【図13】正常な状態でのデータ信号を示す説明図であ
る。
FIG. 13 is an explanatory diagram showing a data signal in a normal state.

【図14】従来のループ式信号伝送方式を示す概念図で
ある。
FIG. 14 is a conceptual diagram showing a conventional loop signal transmission system.

【図15】異常発生状態でのデータ信号を示す説明図で
ある。
FIG. 15 is an explanatory diagram showing a data signal in an abnormal state.

【符号の説明】 1 CPU 2 モニタ 3 制御装置 4 光ファイバケーブル 22 セレクタ 26 処理回路 A3 主局制御回路 B3 端末制御装置 C3 端末制御装置 D3 端末制御装置[Explanation of Codes] 1 CPU 2 Monitor 3 Control Device 4 Optical Fiber Cable 22 Selector 26 Processing Circuit A3 Main Station Control Circuit B3 Terminal Control Device C3 Terminal Control Device D3 Terminal Control Device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1台の中央制御装置と2以上の端末制御
装置とを単方向性の光ファイバケーブルによりループ状
に接続し、中央制御装置から1つの端末制御装置にデー
タを伝送するとデータを受けた該端末制御装置が順次自
己のデータを変更しながら他の端末制御装置にデータを
伝送し、最後にデータを中央制御装置に戻すループ式信
号伝送方式において、 前記中央制御装置から順次前記端末制御装置を前記光フ
ァイバケーブルとは逆方向に接続するモニタ線と、 前記中央制御装置および前記端末制御装置に前記光ファ
イバケーブルからの入力が所定時間ない場合に異常を検
出する異常検出手段と、 前記中央制御装置および前記端末制御装置に前記モニタ
線からの入力が所定時間ない場合に異常信号を検出する
モニタ手段とを有し、 前記異常検出手段および前記モニタ手段が異常を検出し
た場合に、前記中央制御装置および前記端末制御装置が
前記光ファイバケーブルと前記モニタ線とを接続させ、
新たなループを形成することを特徴とするループ式信号
伝送方式。
1. A central control unit and two or more terminal control units are connected in a loop by a unidirectional optical fiber cable, and data is transmitted from the central control unit to one terminal control unit. In the loop type signal transmission system, in which the received terminal control device sequentially changes its own data and transmits the data to another terminal control device, and finally returns the data to the central control device, wherein the central control device sequentially A monitor line that connects the control device in the opposite direction to the optical fiber cable, and an abnormality detection unit that detects an abnormality when there is no input from the optical fiber cable to the central control device and the terminal control device for a predetermined time, The central control unit and the terminal control unit, and monitor means for detecting an abnormal signal when there is no input from the monitor line for a predetermined time, When the detection means and the monitoring means detects an abnormality, the central control device and the terminal control device is connected with said monitoring line and said optical fiber cable,
A loop-type signal transmission method characterized by forming a new loop.
JP4172056A 1992-06-05 1992-06-05 Loop type signal transmission system Pending JPH05344141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4172056A JPH05344141A (en) 1992-06-05 1992-06-05 Loop type signal transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4172056A JPH05344141A (en) 1992-06-05 1992-06-05 Loop type signal transmission system

Publications (1)

Publication Number Publication Date
JPH05344141A true JPH05344141A (en) 1993-12-24

Family

ID=15934720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4172056A Pending JPH05344141A (en) 1992-06-05 1992-06-05 Loop type signal transmission system

Country Status (1)

Country Link
JP (1) JPH05344141A (en)

Similar Documents

Publication Publication Date Title
JP4054509B2 (en) Field device control system and computer-readable storage medium
JPH05344141A (en) Loop type signal transmission system
JPH0223120B2 (en)
JP2555472B2 (en) Distributed control system with signal cable connection status monitoring function
JPS6398242A (en) Series data exchanger
CN220455472U (en) Switch detection device and robot
JP2637313B2 (en) Double transmission bus type transmission system
JPH06284477A (en) Controller
JPS6312602Y2 (en)
JPH09244740A (en) Remote monitor and control equipment
JPS5850372B2 (en) Data collection and distribution processing system
CN117951069A (en) Server system, communication method and server
JP2706027B2 (en) Programmable controller
JPH0454747A (en) Data transfer system
JP2004334548A (en) Failure monitoring system for distributed supervisory control system
JPH0228798A (en) Disaster prevention monitoring device
JPS63318823A (en) Trouble detecting system
JPH02231603A (en) Duplex switch system
JPS58159635A (en) Remote monitoring control system
JP2563632B2 (en) Double transmission bus type transmission system
JPH11161387A (en) Hot-line insertion/extraction detection system
JPS5924352A (en) Recovery processing system for fault of clock system
JPS59198047A (en) Time-division multiplex transmission system
JPS59123946A (en) System control system
JPH04207652A (en) On-vehicle multiplex transmission system