JPS63252043A - Line restoration method in data transmission system - Google Patents

Line restoration method in data transmission system

Info

Publication number
JPS63252043A
JPS63252043A JP8654187A JP8654187A JPS63252043A JP S63252043 A JPS63252043 A JP S63252043A JP 8654187 A JP8654187 A JP 8654187A JP 8654187 A JP8654187 A JP 8654187A JP S63252043 A JPS63252043 A JP S63252043A
Authority
JP
Japan
Prior art keywords
line
slave station
station
loopback
signal 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
Application number
JP8654187A
Other languages
Japanese (ja)
Inventor
Hiroshi Ogawa
浩 小川
Masaomi Kamatani
鎌谷 将臣
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP8654187A priority Critical patent/JPS63252043A/en
Publication of JPS63252043A publication Critical patent/JPS63252043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To attain actual data transmission while having only to connect a slave station to the system simply and physically by sending a dummy signal in the slave station not in existence in a signal line input nor a loopback line input. CONSTITUTION:When a slave station 2c is not connected to a slave station 2b which is switched to reflect the signal line input to a loopback line, since the signal line input exists, the slave station 2c is brought into the data sending enable state. Conversely, if the slave station 2c is connected to a slave station 2d switched to reflect the loopback line input to the signal line, although no signal is supplied from the connected slave station without any modification provided, since the slave station 2c outputs a dummy signal and the slave station 2d receives the signal line input and the loopback line input, the station is switched into the data through state. Then, the slave station 2c is switched to reflect the loopback line input to the signal line to enable the data transmission.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明はデータ伝送システムにおける回線復帰方法に
関し、さらに詳細にいえば、親局に対して複数の子局が
信号線、およびループバック線により直列状に接続され
たポーリング方式のデータ伝送システムにおいて、子局
の追加接続を行なわせ、子局の誤切断を行なわせないた
めの回線復帰方法に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a line recovery method in a data transmission system, and more specifically, the present invention relates to a line recovery method in a data transmission system. The present invention relates to a line restoration method for connecting additional slave stations and preventing erroneous disconnection of slave stations in a serially connected polling data transmission system.

〈従来の技術〉 従来からポーリング方式のデータ伝送システムとして、
親局からのデータ伝送、および子局からのデータ伝送を
1本の伝送線により行なわせ、データ送出とデータ受信
とに対応するボート等の切替制御を不要にしたものが提
供されている。
<Conventional technology> As a polling-based data transmission system,
A system has been proposed in which data transmission from a master station and data transmission from a slave station are performed through a single transmission line, eliminating the need for switching control of a boat or the like corresponding to data transmission and data reception.

第1図はこのようなデータ伝送システムの構成を示す図
であり、1つの親局に対して複数の子局が、入力信号に
対して必要な処理を施した状態で送出する信号線、およ
び入力信号をそのまま送出するループバック線により直
列状に接続されている。
FIG. 1 is a diagram showing the configuration of such a data transmission system, in which a plurality of slave stations send out input signals after having undergone necessary processing to one master station, and They are connected in series by a loopback line that sends out the input signal as is.

第1図Aは各局の状態を示す概略図であり、1つの親局
(1)に対して5つの子局(2a) (2b)−(2e
)が、入力信号に対して必要な処理を施した状態で送出
する信号線(3)、および入力信号をそのまま送出する
ループバック線(4)により直列状に接続され、かつ全
体としてループ状に形成されている。
FIG. 1A is a schematic diagram showing the status of each station, with one master station (1) and five slave stations (2a) (2b) - (2e
) are connected in series by a signal line (3) that sends out the input signal after performing the necessary processing, and a loopback line (4) that sends out the input signal as it is, and the entire line is looped. It is formed.

したがって、親局(1)から送出されるデータを信号線
(3)を通して順次子局(2a) (2b)・・・(2
e)に供給することができると、ともに、各子局からの
応答データを信号線(3)を通して親局(1)に供給す
ることができる。さらに詳細に説明すれば、親局(1)
から送出されるデータとして、子局のアドレスデータを
含むデータを使用することにより、所望の子局にのみデ
ータ伝送を行なうことができるとともに、子局から送出
されるデータに自己のアドレスを含ませることにより、
親局(1)において、何れの子局からの応答データであ
るかを識別させ、必要な処理を行なわせることができる
Therefore, data sent from the master station (1) is sequentially transmitted through the signal line (3) to the slave stations (2a) (2b)...(2).
e), the response data from each slave station can be supplied to the master station (1) through the signal line (3). To explain in more detail, the master station (1)
By using data that includes the address data of the slave station as the data sent from the slave station, it is possible to transmit data only to the desired slave station, and also include the own address in the data sent from the slave station. By this,
The master station (1) can identify which slave station the response data is from and perform necessary processing.

また、上記各局は、信号線入力、およびループバック線
入力の有無に対応して互に異なる状態に自動的に切替制
御されるものであり、親局と子局により切替制御方法は
異なる。
Further, each of the above-mentioned stations is automatically controlled to switch to different states depending on the presence or absence of signal line input and loopback line input, and the switching control method is different depending on the master station and the slave station.

具体的には、子局においては、両入力が存在する場合に
は、各信号線入力をそれぞれ出力するデータスルー状態
(第2図A参照)に切替えられ、信号線入力のみが存在
する場合には、信号線入力をループバック線に折返して
送出する状態(第2図B参照)に切替えられ、ループバ
ック線入力のみが存在する場合には、ループバック線入
力を信号線に折返して送出する状態(第2図C参照)に
切替えられ、何れの入力も存在しない場合には、信号線
入力をループバック線に折返して送出する状態(第2図
B参照)に切替えられるようにしている。
Specifically, in the slave station, when both inputs are present, the slave station is switched to the data through state (see Figure 2 A) in which each signal line input is output respectively, and when only the signal line input is present, is switched to the state in which the signal line input is looped back to the loopback line and sent out (see Figure 2 B), and if only the loopback line input exists, the loopback line input is looped back to the signal line and sent out. When the state is switched to the state (see FIG. 2C) and there is no input, the state is switched to the state where the signal line input is looped back to the loopback line and sent out (see FIG. 2B).

親局においては、両入力が存在し、かつ、子局において
入力断が存在しない場合には、信号線入力をループバッ
ク線に折返して送出する状態(第2図B参照)に切替え
られ、両入力が存在し、かつ子局において入力断が存在
する場合には、各信号線入力をそれぞれ出力するデータ
スルー状態(第2図A参照)に切替えられ、信号線入力
のみが存在する場合には、信号線入力をループバック線
に折返して送出する状態(第2図B参照)に切替えられ
、ループバック線入力のみが存在する場合には、ループ
バック線入力を信号線に折返して送出する状!!!(第
2図C参照)に切替えられ、何れの入力も存在しない場
合には、信号線入力をループバック線に折返して送出す
る状態(第2図B参照)に切替えら、れるようにしてい
る。
In the master station, if both inputs are present and there is no input disconnection in the slave station, the state is switched to the state in which the signal line input is looped back to the loopback line and sent out (see Figure 2 B), and both If there is an input and there is an input disconnection at the slave station, it is switched to the data through state (see Figure 2 A) in which each signal line input is output respectively, and if only the signal line input is present, When the signal line input is switched to the loopback line and sent out (see Figure 2 B), and only the loopback line input exists, the loopback line input is turned back to the signal line and sent out! ! ! (See Figure 2 C), and if there is no input, the signal line input is looped back to the loopback line and sent out (See Figure 2 B). .

したがって、何れの局同士の間においても断線状態が発
生していなければ、第1図Aに示すようにループ状の接
続状態が形成されていることになるが、何れかの局同士
の間において断線状態が発生していれば、例えば、第1
図Bに示すように、子局(2b)が、信号線入力をルー
プバック線(4)に折返す状態となるように切替制御さ
れるとともに、子局(2c)が、ループバック線入力を
信号線(3)に折返す状態となるように切替制御される
Therefore, if no disconnection occurs between any stations, a loop-like connection will be formed as shown in Figure 1A. If a disconnection condition has occurred, for example,
As shown in Figure B, the slave station (2b) is switched to a state where the signal line input is looped back to the loopback line (4), and the slave station (2c) is switched to the loopback line input. Switching control is performed so that the signal line is turned back to the signal line (3).

この結果、断線状態発生部を通すことなく、親局(1)
から信号線口)を通して順次子局(2a) (2b)に
データを伝送し、その後、子局(2b)において折返さ
れてループバック線(4)を通して子局(2C)にデー
タを伝送し、子局(2c)から信号線(3)を通して順
次子局(2d) (2e)にデータを伝送し、最終的に
親局(1)にデータが返送される。
As a result, the main station (1)
The data is sequentially transmitted to the slave station (2a) (2b) through the signal line (signal line port), and then looped back at the slave station (2b) and transmitted to the slave station (2C) through the loopback line (4), Data is sequentially transmitted from the slave station (2c) to the slave stations (2d) (2e) through the signal line (3), and finally sent back to the master station (1).

尚、他の部分において断線状態が発生した場合にも各局
が信号入力状態に対応して切替制御させられるのである
から、同様にデータの伝送、および親局に対するデータ
の返送を行なうことができる。
Furthermore, even if a disconnection state occurs in other parts, each station is controlled to switch according to the signal input state, so that data transmission and data return to the master station can be performed in the same way.

〈発明が解決しようとする問題点〉 上記の構成のデータ伝送システムにおいては、子局が、
親局からデータの供給を受けた場合にのみ必要に応じて
応答データを送出する機能、および信号線入力と、ルー
プバック線入力との状態に基いて自己の状態を自動的に
切替える機能のみを有しているのであるから、外部から
データが供給されなければ自己の状態を切替えることが
全くできず、新たな子局の追加接続を行なうための作業
性が低下してしまうという問題がある。
<Problems to be solved by the invention> In the data transmission system with the above configuration, the slave station
Only the function to send response data as necessary only when data is supplied from the master station, and the function to automatically switch its own status based on the status of the signal line input and loopback line input. Therefore, unless data is supplied from the outside, it is impossible to switch its own state at all, and there is a problem in that the workability for connecting a new slave station decreases.

さらに詳細に説明すれば、上記第1図Bに示す状態にお
いて、子局(2b)に対して新たに子局を接続する場合
には、子局(2b)から信号線入力が与えられるのであ
るから、新たな子局は信号線入力をループバック線に折
返す状態になり、新たな子局のループバック線出力が子
局(2b)に供給されるので、上記子局(2b)が自動
的のデータスルー状態になり、新たな子局の接続を簡単
に行なうことができる。
To explain in more detail, in the state shown in FIG. 1B above, when a new slave station is connected to the slave station (2b), a signal line input is given from the slave station (2b). As a result, the new slave station returns the signal line input to the loopback line, and the loopback line output of the new slave station is supplied to the slave station (2b), so the slave station (2b) automatically The target device enters a data-through state, and new slave stations can be easily connected.

しかし、上記子局(2c)に対して新たな子局を接続す
る場合には、両局の間を物理的に接続しただけではデー
タ伝送を行ない得る状態にはならない。
However, when connecting a new slave station to the slave station (2c), data transmission is not possible just by physically connecting the two stations.

即ち、子局(2C)はループバック線入力を信号線(3
)に折返して出力しているだけであるから、新たな子局
には全く信号が供給されない状態であり、信号線入力を
ループバック線に折返す状態のままであるとともに、全
く信号を送出しない状態に保持され続ける。したがって
、子局(2c)の状態も従前のままに保持され続け、新
たな子局を含むデータ伝送システムは、物理的に接続さ
れているだけであって、実際にはデータ伝送を行ない得
ない状態のままである。
That is, the slave station (2C) connects the loopback line input to the signal line (3
), so no signal is supplied to the new slave station, and the signal line input is still looped back to the loopback line, and no signal is sent out at all. remain in the state. Therefore, the status of the slave station (2c) continues to be maintained as before, and the data transmission system including the new slave station is only physically connected and cannot actually perform data transmission. The condition remains.

以上の説明から明らかなように、信号線(3)、および
ループバック線(4)を単に接続しただけではデータ伝
送システムが確立されたことにはならないのであるから
、データ伝送システム全体として一旦動作を停止させ(
例えば、電源を遮断し)、その後、データ伝送システム
全体としての立上げ動作を行なわなければならないこと
になり、操作が繁雑になるのみならず、新たな子局を接
続してからデータ伝送システムが確立されるまでに長時
間が必要になるという問題がある。
As is clear from the above explanation, simply connecting the signal line (3) and the loopback line (4) does not mean that a data transmission system has been established. (
For example, the power must be cut off), and then the data transmission system as a whole must be started up, which not only complicates the operation, but also requires the data transmission system to be restarted after connecting a new slave station. The problem is that it takes a long time to get established.

この問題は、新たな子局を接続する場合のみならず、デ
ータ伝送システムの一部に断線が発生し、その後、再び
断線が発生した場合において、何れかの断線箇所を復旧
させる場合にも同様に発生するのである。
This problem occurs not only when connecting a new slave station, but also when a disconnection occurs in a part of the data transmission system, and then when the disconnection occurs again, the same problem occurs when restoring any of the disconnections. It occurs in

尚、新たな子局の接続、或は、断線箇所の復旧を、信号
線入力をループバック線に折返す状態が選択されている
子局に対して行なえば、作業を簡単に行なうことができ
るのであるが、各子局の状態を簡単に識別することは殆
ど不可能であり、しかも、親局(1)に対する接続順位
についても、作業員が簡単に識別することができるもの
ではないので、上記の問題が発生する可能性がかなり高
いことになる。
The work can be easily done by connecting a new slave station or restoring a broken line to a slave station whose signal line input is looped back to the loopback line. However, it is almost impossible to easily identify the status of each slave station, and furthermore, it is not possible for workers to easily identify the connection order to the master station (1). There is a high possibility that the above problem will occur.

この結果、データ伝送システムが完全には確立されてい
ないことが識別されるまでに長時間がかかることになる
という問題もある。
As a result, there is also the problem that it takes a long time to identify that the data transmission system is not completely established.

〈発明の目的〉 この発明は上記の問題点に鑑みてなされたものであり、
信号線、およびループバック線を使用して1つの親局に
対して複数の子局を接続したポーリング方式のデータ伝
送システムにおける子局の追加接続、断線発生箇所の復
旧を簡単に行なうことができる回線復帰方法を提供する
ことを目的としている。
<Object of the invention> This invention was made in view of the above problems,
Easily connect additional slave stations and restore broken lines in a polling data transmission system in which multiple slave stations are connected to one master station using signal lines and loopback lines. The purpose is to provide a method for returning the line.

く問題点を解決するための手段〉 上記の目的を達成するための、この発明の回線復帰方法
は、未接続状態の子局が信号線からループバック線への
折返し状態であるとともに、信号線入力、ループバック
線入力の少なくとも一方が供給されるまでの間ダミー伝
送データを送出することにより折返し状態になっている
子局をデータスルー状態に強制的に切替え、上記未接続
状態の子局を接続する方法である。
Means for Solving the Problems> In order to achieve the above object, the line restoration method of the present invention is such that a slave station in an unconnected state is in a loopback state from a signal line to a loopback line, and a signal line By sending dummy transmission data until at least one of the input and loopback line input is supplied, the slave station in the loopback state is forcibly switched to the data through state, and the slave station in the unconnected state is switched to the data through state. It's a way to connect.

但し、上記未接続状態の子局としては、回線切断部に隣
接する局であるとともに、所定時間だけダミー伝送デー
タを送出するものであってもよく、この場合において、
上記所定時間が、各局が回線状態の変化を検出し得る最
長時間よりも長い時間であることが好ましい。
However, the slave station in the unconnected state may be a station adjacent to the line disconnection part and may also be one that transmits dummy transmission data for a predetermined period of time; in this case,
Preferably, the predetermined time is longer than the longest time during which each station can detect a change in line status.

く作用〉 以上の回線復帰方法であれば、親局に対して複数の子局
が、入力信号に対して必要な処理を施した状態で送出す
る信号線、および入力信号をそのまま送出するループバ
ック線により直列状に接続され、かつ各局が、信号線入
力、およびループバック線入力の状態に基いて各線単独
のデータスルー状態、信号線からループバック線への折
返し状態、或はループバック線から信号線への折返し状
態の何れかの状態に切替えられているポーリング方式の
データ伝送システムにおいて、新たな子局、或は断線が
発生して切離された状態の子局を接続する場合には、当
該子局を単に物理的に接続するだけでよく、そのままで
データ伝送可能状態を確立することができる。
With the above line recovery method, multiple slave stations send out the input signal with the necessary processing performed on the signal line to the master station, and loopback where the input signal is sent out as is. They are connected in series by wires, and each station can change the data-through state of each line alone, the loopback state from the signal line to the loopback line, or the data-through state from the loopback line based on the status of the signal line input and loopback line input. In a polling data transmission system that has been switched to either the loopback state to the signal line, when connecting a new slave station or a slave station that has been disconnected due to a disconnection, , it is sufficient to simply connect the slave station physically, and a state in which data transmission is possible can be established as is.

即ち、上記子局が信号線入力をループバック線に折返す
状態に切替えられている局に接続された場合には、信号
線入力が存在するのでそのままデータ伝送可能状態にな
る。逆に、上記子局がループバック線入力を信号線に折
返す状態に切替えられている局に接続された場合には、
そのままであれば、既接続局からは全く信号が供給され
ないのであるが、接続されるべき子局がダミー信号を出
力しているのであるから、上記局には信号線入力、およ
びループバック線入力が供給される状態になるためデー
タスルー状態に切替えられ、この結果、上記子局にはル
ープバック線入力が存在する状態になるため、ループバ
ック線入力を信号線に折返す状態に切替えられ、データ
伝送可能状態になる。
That is, when the slave station is connected to a station that has been switched to a state in which the signal line input is looped back to the loopback line, the signal line input is present, so data transmission is possible as is. Conversely, if the above slave station is connected to a station whose loopback line input is switched back to the signal line,
If this is the case, no signal will be supplied from the already connected station, but since the slave station to be connected is outputting a dummy signal, the above station will have a signal line input and a loopback line input. is supplied, so the state is switched to a data through state, and as a result, the slave station has a loopback line input, so it is switched to a state where the loopback line input is looped back to the signal line, Data transmission becomes possible.

そして、上記未接続状態の子局が、回線切断部に隣接す
る局であるとともに、所定時間だけダミー伝送データを
送出するものである場合には、隣合う子局同士の間に存
在するデータ入力有無検出タイミングのずれに起因する
仮想的な断線状態の発生を防止し、データ伝送システム
の全子局に対するデータ伝送可能状態を確保することが
できる。
If the above-mentioned unconnected slave station is a station adjacent to the line disconnection section and transmits dummy transmission data for a predetermined period of time, the data input existing between the adjacent slave stations is It is possible to prevent the occurrence of a virtual disconnection state due to a shift in the presence/absence detection timing, and to ensure a state in which data transmission is possible to all slave stations of the data transmission system.

また、この場合における所定時間が、各局が回線状態の
変化を検出し得る最長時間よりも長い時間に設定されて
いれば、上記の作用を確実に達成することができる。
Further, if the predetermined time in this case is set to a time longer than the longest time during which each station can detect a change in line status, the above effect can be reliably achieved.

〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.

第1図はこの発明の回線復帰方法を実施するデータ伝送
システムの構成を示す概略図であり、1つの親局(1)
に対して複数個の子局が、信号線C3)、およびループ
バック線(4)により直列状に接続されている。そして
、第1図Aは親局(1)と全ての子局(2a) (2b
)・・・(2e)がループ状に接続された状態を示して
おり、第1図Bは子局(2b)と子局(2C)との間に
断線が発生した状態を示しており、第1図Cは親局(1
)と子局(2a)との間に断線が発生した状態を示して
おり、第1図りは親局(1)と子局(2e)との間に断
線が発生した状態を示しており、第1図Eは子局(2C
)の両側に断線が発生した状態を示している。
FIG. 1 is a schematic diagram showing the configuration of a data transmission system implementing the line restoration method of the present invention, in which one master station (1)
A plurality of slave stations are connected in series by a signal line C3) and a loopback line (4). Figure 1A shows the master station (1) and all slave stations (2a) (2b
)...(2e) shows a state where they are connected in a loop, and FIG. 1B shows a state where a disconnection has occurred between the slave station (2b) and the slave station (2C), Figure 1C shows the master station (1
) and a slave station (2a), and the first diagram shows a state where a disconnection has occurred between a master station (1) and a slave station (2e), Figure 1 E shows the slave station (2C
) shows a state where a wire breakage has occurred on both sides.

第2図は各局の状態を概略的に示す図であり、第2図A
は信号線入力、およびループバック線入力をそれぞれそ
のまま出力する(但し、信号線入力については、必要に
応じて伝送制御装置(5)により処理が施された状態で
出力する)データスルー状態を示し、第2図Bは信号線
入力をそのまま出力するとともに、ループバック線に折
返して出力する(但し、信号線入力に対して、必要に応
じて伝送制御装置(5)により処理が施された状態で出
力する)第1の折返し状態を示し、第2図Cはループバ
ック線入力を信号線に折返して比重する(但し、ループ
バック線入力に対して、必要に応じて伝送制御装置(5
)により処理が施された状態で出力する)第2の折返し
状態を示している。
Figure 2 is a diagram schematically showing the status of each station, and Figure 2A
indicates a data through state in which the signal line input and loopback line input are output as they are (however, the signal line input is output after being processed by the transmission control device (5) as necessary). , Fig. 2B outputs the signal line input as it is, and loops it back to the loopback line and outputs it (however, the signal line input is processed by the transmission control device (5) as necessary). Figure 2C shows the first folding state in which the loopback line input is folded back to the signal line.
) is shown in the second folded state, which is output in a state processed by ).

第3図Aは親局(1)の状態切替を行なうための構成を
示す概略図であり、信号線入力部に信号有無判定用のセ
ンサ(lla)を接続しているとともに、信号線入力を
遮断するためのリレー接点(12a)を接続しており、
ループバック線入力部に信号有無判定用のセンサ(ll
b)を接続しているとともに、ループバック線入力を遮
断するためのリレー接点(12c)を接続している。そ
して、上記信号線入力部と信号線出力部との間に伝送制
御部(5)を接続し、ループバック線出力部にループバ
ック線出力を阻止するためのリレー接点(12b)を接
続し、上記伝送制御部(5)を挾んで、信号線とループ
バック線とを互に接続するためのリレー接点(12d)
 (12e)を接続している。尚、子局の状態切替を行
なうための構成は親局と同一であるから説明を省略する
FIG. 3A is a schematic diagram showing the configuration for switching the state of the master station (1), in which a sensor (lla) for determining the presence or absence of a signal is connected to the signal line input section, and a signal line input is connected to the signal line input section. A relay contact (12a) is connected to cut it off.
A sensor for determining the presence or absence of a signal (ll
b) is connected, and a relay contact (12c) for cutting off the loopback line input is also connected. A transmission control unit (5) is connected between the signal line input unit and the signal line output unit, and a relay contact (12b) for blocking loopback line output is connected to the loopback line output unit, A relay contact (12d) for connecting the signal line and the loopback line with each other across the transmission control unit (5).
(12e) is connected. Note that the configuration for switching the status of the slave station is the same as that of the master station, so a description thereof will be omitted.

第3図Bは親局において上記各リレー接点を駆動するた
めの制す回路を示す電気回路図であり、伝送制御部にお
いて、各子局の信号線・ループバック線の信号入力の有
無を判定する機能を有している。上記センサ(11a)
 (1lb)の出力信号が供給されるORゲート(13
a)からの出力信号は、インバータ(15a)により反
転させられて、ORゲート(14a)に供給されている
。また、上記センサ(lLa)の出力信号は直接上記O
Rゲート(L4a)にも供給されている。上記ORゲー
ト(14a)からの出力信号はそのままリレー駆動用増
幅14 (tea) (18b)に供給され、リレー;
イル(17a)(17b)への通電を制御し、リレー接
点(12a) (12b)の開閉状態を制御するように
している。
FIG. 3B is an electric circuit diagram showing a control circuit for driving each of the above-mentioned relay contacts in the master station, and the transmission control section determines whether or not there is a signal input to the signal line/loopback line of each slave station. It has a function. The above sensor (11a)
(1lb) of OR gates (13
The output signal from a) is inverted by an inverter (15a) and supplied to an OR gate (14a). In addition, the output signal of the sensor (lLa) is directly connected to the O
It is also supplied to the R gate (L4a). The output signal from the OR gate (14a) is directly supplied to the relay driving amplifier 14 (tea) (18b), and the relay;
The relay contacts (12a) and (12b) are controlled to open and close by controlling energization of the relay contacts (17a) and (17b).

上記センサ(lia)の出力信号はインバータ(15b
)により反転させられて、ANDゲート(13b)に供
給されている。上記センサ(ttb)からの出力信号は
、ANDゲート(L3b) (L3c)に供給されてい
る。
The output signal of the sensor (lia) is transferred to the inverter (15b
) is inverted and supplied to the AND gate (13b). The output signal from the sensor (ttb) is supplied to AND gates (L3b) (L3c).

伝送制御部からの子局信号線断有信号(lie)は、A
NDゲート(18c)に供給されている。上記ANDゲ
ート(13b)からの出力信号は、ORゲート(14b
)に供給されるとともに、リレー駆動用増幅器(led
)に供給され、リレーコイル(17d)への通電を制御
し、リレー接点(12d)の開閉状態を制御している。
The slave station signal line disconnection signal (lie) from the transmission control section is A
It is supplied to the ND gate (18c). The output signal from the AND gate (13b) is output from the OR gate (14b).
) and relay drive amplifier (LED
), which controls the energization of the relay coil (17d) and controls the open/close state of the relay contact (12d).

上記ANDゲート(13c)からの出力信号が供給され
るORゲート(14b)からの出力信号は、リレー駆動
用増幅器(lee)に供給され、リレーコイル(17c
)への通電を制御し、リレー接点(12c)の開閉状態
を制御している。上記センサ(lla)からの出力信号
は、ANDゲート(13d)に供給されているとともに
、伝送制御部からの子局信号線断有信号(llc)は、
インバータ(15d)により反転されてANDゲート(
13d)に供給されている。
The output signal from the OR gate (14b) to which the output signal from the AND gate (13c) is supplied is supplied to the relay driving amplifier (lee), and the output signal from the relay coil (17c) is supplied to the relay driving amplifier (lee).
) and controls the open/close state of the relay contact (12c). The output signal from the sensor (lla) is supplied to the AND gate (13d), and the slave station signal line disconnection signal (llc) from the transmission control section is
It is inverted by the inverter (15d) and the AND gate (
13d).

ANDゲート(13d)からの出力信号は、ORゲート
(14c)に供給されている。上記センサ(llb)か
らの出力信号は、インバータ(15c)により反転され
て、ORゲート (L4c)に供給されている。上記O
Rアゲ−(14c)からの出力信号は、リレー駆動用増
幅器(lee)に供給され、リレーコイル(17e)へ
の通電を制御し、リレー接点(12e)の開閉状態を制
御している。
The output signal from the AND gate (13d) is supplied to the OR gate (14c). The output signal from the sensor (llb) is inverted by an inverter (15c) and supplied to an OR gate (L4c). O above
The output signal from the R-game (14c) is supplied to a relay drive amplifier (lee), which controls the energization of the relay coil (17e) and the open/close state of the relay contact (12e).

したがって、信号線入力、ループバック線入力が共に存
在し、かつ、子局に入力線断のない時には、リレー接点
(12a) (12b) (12e)のみが導通状態に
なり、親局(1)は第1の折返し状態になる(第2図B
参照)。また、信号線入力、ループバック線入力が共に
存在し、かつ、子局に入力線断が存在する時には、リレ
ー接点(12a) (12b) (12c)のみが導通
状態になり、親局(1)は、第2図Aに示すように、デ
ータスルー状態になる。また、信号線入力が存在し、ル
ープバック線入力がない時には、リレー接点(12a)
 (12b) (12e)のみが導通状態になり、親局
(1)は第1の折返し状態になる(第2図B参照)。ま
た、信号線入力がなく、ループバック線入力が存在する
時には、リレー接点(12c) (12d)のみが導通
状態になり、親局(1)は第2の折返し状態になる(第
2図C参照)。
Therefore, when both the signal line input and the loopback line input are present and there is no input line break in the slave station, only the relay contacts (12a) (12b) (12e) are in a conductive state, and the master station (1) is in the first folded state (Fig. 2B
reference). Furthermore, when both the signal line input and the loopback line input are present, and there is an input line break in the slave station, only the relay contacts (12a), (12b), and (12c) become conductive, and the master station (1 ) enters a data-through state, as shown in FIG. 2A. Also, when there is a signal line input and there is no loopback line input, the relay contact (12a)
Only (12b) and (12e) become conductive, and the master station (1) enters the first folding state (see FIG. 2B). Furthermore, when there is no signal line input and there is a loopback line input, only the relay contacts (12c) and (12d) become conductive, and the master station (1) enters the second folding state (Fig. 2C reference).

第3図Cは子局において上記各リレー接点を駆動するた
めの制御回路を示す電気回路図であり、センサ(21a
)からの出力信号をORゲート(24a)に供給してい
るとともに、インバータ(23b)により反転してAN
Dゲート(24b)に供給している。
FIG. 3C is an electric circuit diagram showing a control circuit for driving each of the above-mentioned relay contacts in a slave station, and shows a sensor (21a
) is supplied to the OR gate (24a), and is inverted by the inverter (23b) and output to the AN
It is supplied to the D gate (24b).

センサ(21b)からの出力信号は、インバータ(23
a)により反転されて、ORゲート(24a)に供給さ
れるとともに、リレー駆動用増幅器(2Bc)に供給さ
れて、リレーコイル(27c)への通電を制御しており
、しかも、インバータ(23c)により反転されてリレ
ー駆動用増幅器(28e)に供給され、リレーコイル(
27e)への通電を制御しているとともに、ANDゲー
ト(24b)に供給されている。ORゲート(24a)
からの出力信号はリレー駆動用増幅器(28a) (2
ab)に供給され、リレーコイル(27a) (27b
)への通電を制御し、リレー接点(22a) (22b
)の開閉状態を制御するようにしている。ANDゲート
(24b)からの出力信号は、リレー駆動用増幅器(2
6d)に供給され、リレーコイル(27d)への通電を
制御し、リレー接点(22d)の開閉状態を制御するよ
うにしている。
The output signal from the sensor (21b) is sent to the inverter (23
a) is inverted and supplied to the OR gate (24a), and is also supplied to the relay driving amplifier (2Bc) to control the energization of the relay coil (27c).Moreover, the inverter (23c) is inverted and supplied to the relay drive amplifier (28e), and the relay coil (
27e), and is also supplied to the AND gate (24b). OR gate (24a)
The output signal from the relay drive amplifier (28a) (2
ab) and relay coils (27a) (27b
), relay contacts (22a) (22b
) to control the opening/closing state. The output signal from the AND gate (24b) is sent to the relay driving amplifier (24b).
6d) to control energization to the relay coil (27d) and control the open/close state of the relay contact (22d).

センサ(21a) (21b)からの出力信号は、OR
アゲ−(24c)に供給されて、その出力信号は、イン
バータ(25d)により反転されてANDゲート(24
d)に供給され、ダミー信号の出力を制御している。
The output signals from the sensors (21a) (21b) are OR
The output signal is inverted by an inverter (25d) and is supplied to an AND gate (24c).
d) and controls the output of the dummy signal.

したがって、信号線入力、ループバック線入力が共に存
在するときは、リレー接点(22a) (22b)(2
2c)が導通状態になり、子局はデータスルー状態にな
る(第2図C参照)。信号線入力が存在し、ループバッ
ク線入力が存在しないときは、リレー接点(22a) 
(22b) (22e)が導通状態になり、子局は第1
の折返し状態になる(第2図B参照)。信号線入力が存
在せず、ループバック線入力が存在するときは、リレー
接点(22c) (22e)のみが導通状態になり、子
局は第2の折返し状態になる(第2図C参照)。信号線
入力、ループバック線入力が共に存在しないときには、
リレー接点(22a) (22b)(22e)が導通状
態になり、子局は第1の折返し状態になる(第2図B参
照)。また、この時にANDゲート(24d)からは、
ダミー信号が出力され、信号線に流される。
Therefore, when both signal line input and loopback line input exist, relay contacts (22a) (22b) (2
2c) becomes conductive, and the slave station enters the data-through state (see FIG. 2C). When the signal line input is present and the loopback line input is not present, the relay contact (22a)
(22b) and (22e) become conductive, and the slave station
(See Figure 2B). When there is no signal line input and there is a loopback line input, only the relay contacts (22c) (22e) are in the conductive state, and the slave station is in the second folding state (see Figure 2C). . When neither signal line input nor loopback line input exists,
The relay contacts (22a), (22b), and (22e) become conductive, and the slave station enters the first folding state (see FIG. 2B). Also, at this time, from the AND gate (24d),
A dummy signal is output and sent to the signal line.

上記の構成のデータ伝送システムの動作は次のとおりで
ある。
The operation of the data transmission system having the above configuration is as follows.

第1図Aに示すループ状の接続状態においては、親局(
1)の信号線出力として送出されるデータが信号線口)
を通して順次子局(2a) (2b)・・・(2e)に
供給されるとともに、各子局からの応答データも信号線
O)を通して親局(1)に返送される。
In the loop-shaped connection state shown in FIG. 1A, the master station (
1) The data sent as the signal line output is the signal line port)
The response data from each slave station is also sent back to the master station (1) through the signal line O).

また、第1図B、C,Dに示すように、子局同士の間、
或は親局と子局との間で1箇所だけ断線状態が発生して
いる場合には、親局(1)から送出されるデータが信号
線c3)、およびループバック線(4)を通して順次各
子局に供給されるとともに、各子局からの応答データも
信号線t3)、およびループバック線(4)を通して親
局(1)に返送される。
Furthermore, as shown in FIG. 1B, C, and D, between slave stations,
Alternatively, if there is a disconnection in only one place between the master station and the slave station, the data sent from the master station (1) will be sent sequentially through the signal line c3) and the loopback line (4). The data is supplied to each slave station, and the response data from each slave station is also sent back to the master station (1) through the signal line t3) and the loopback line (4).

第1図Eに示すように、子局(2C)の両側において断
線が発生している場合には、子局(2C)を除く他の子
局に対するデータの伝送、および親局(1)へのデータ
返送が行なわれる。
As shown in Figure 1E, if a disconnection occurs on both sides of the slave station (2C), data transmission to other slave stations other than the slave station (2C) and to the master station (1) data is returned.

そして、第1図Eに示す状態から、第1図Bに示すよう
に、子局(2C)を子局(2d)の側に接続する場合に
は、単に子局(2c) (2d)の信号線端子同士、お
よびループバック線端子同士を接続するだけでよい。さ
らに詳細に説明すれば、上記両子局を単に物理的に接続
しただけでは、子局(2d)が第2の折返し状態である
から、子局(2C)に対しては全く伝送データを供給す
ることができないのである。
When connecting the slave station (2C) to the slave station (2d) from the state shown in Figure 1E, as shown in Figure 1B, simply connect the slave station (2c) (2d). All you need to do is connect the signal line terminals and the loopback line terminals. To explain in more detail, if the above two slave stations are simply connected physically, the slave station (2d) will be in the second loopback state, so it will not supply any transmission data to the slave station (2C). It is not possible.

しかし、子局(2C)においては、信号線入力、および
ループバック線入力の何れも存在していないのであるか
ら、第1の折返し状態に切替えられているとともに、ダ
ミー信号を送出する状態になっており、このダミー信号
が上記子局(2d)に供給される。したがって、子局(
2d)は信号線入力、およびループバック線入力の両方
が存在することになり、データスルー状態に切替えられ
、伝送データを信号線G)を通して子局(2C)に供給
する。この結果、子局(2C)は、信号線入力のみが存
在する状態になり、第2の折返し状態に切替えられ、親
局(1)からの伝送データの受信、および親局(1)へ
のデータ返送を行ない得る状態になる。
However, since neither the signal line input nor the loopback line input exists in the slave station (2C), it is switched to the first loopback state and is also in the state of sending out a dummy signal. This dummy signal is supplied to the slave station (2d). Therefore, the slave station (
2d) has both a signal line input and a loopback line input, is switched to the data through state, and supplies transmission data to the slave station (2C) through the signal line G). As a result, the slave station (2C) enters a state in which only the signal line input exists, and is switched to the second loopback state, receiving transmission data from the master station (1) and transmitting data to the master station (1). The state is now ready for data return.

逆に、子局(2c)を子局(2b)に接続する場合には
、子局(2b)が信号線を通して伝送データを出力して
いるので、単に信号線端子同士、およびループバック線
端子同士を物理的に接続するだけで、親局(1)からの
伝送データの受信、および親局(1)へのデータ返送を
行ない得る状態になる。
Conversely, when connecting the slave station (2c) to the slave station (2b), since the slave station (2b) outputs transmission data through the signal line, simply connect the signal line terminals to each other and the loopback line terminal. Simply by physically connecting them, a state is created in which transmission data can be received from the master station (1) and data can be sent back to the master station (1).

即ち、何れの側の子局に対して物理的な接続を行なった
場合にも、システム全体としての立上げ動作等を行なう
ことなく、新たな子局を含むデータ伝送システムの確立
を自動的に行なうことかできる。そして、データ伝送シ
ステムが確立された後は、ダミー信号の送出を停止する
ので、必要な伝送データのみが伝送され、或は返送され
ることになる。
In other words, when a physical connection is made to a slave station on either side, a data transmission system including a new slave station can be automatically established without starting up the entire system. I can do what I do. After the data transmission system is established, the transmission of the dummy signal is stopped, so that only the necessary transmission data is transmitted or returned.

また、上記第1図Eに示す状態は、子局(2b)と子局
(2c)との間にのみ実際の断線が発生した場合にも発
生する可能性があるが、上記実施例においては、このよ
うな状態の発生をも確実に防止することができる。
Furthermore, the state shown in FIG. 1E above may occur even when an actual disconnection occurs only between the slave station (2b) and the slave station (2c), but in the above embodiment, , it is possible to reliably prevent the occurrence of such a situation.

さらに詳細に説明すると、各子局における入力有無判別
動作を非同期で行なわせている場合には、子局(2b)
と子局(2c)との間において断線が発生して信号線入
力が存在しなくなったことを子局(2c)が検出する前
に子局(2d)が検出するという事態が発生することが
ある。
To explain in more detail, when the input presence/absence determination operation in each slave station is performed asynchronously, the slave station (2b)
A situation may occur in which the slave station (2d) detects that a disconnection occurs between the slave station and the slave station (2c) and the signal line input no longer exists before the slave station (2c) detects that the signal line input no longer exists. be.

そして、この場合には、先ず、子局(2d)が第2の折
返し状態に切替制御されるので、子局(2c)が完全に
孤立した状態になってしまう。
In this case, first, the slave station (2d) is controlled to switch to the second loopback state, so that the slave station (2c) becomes completely isolated.

しかし、このような状態になれば、子局(2c)からダ
ミー信号を送出するので、子局(2c) (Zd)の間
において物理的な断線が発生していなければ、子局(2
d)は自動的にデータスルー状態に切替制御され(第1
図F参照)、子局(2d)の切替制御に伴なって子局(
2C)が第2の折返し状態に切替制御されるので、僅か
な時間遅れだけで、再び第1図Bに示す状態に復帰する
However, if this situation occurs, the slave station (2c) will send out a dummy signal, so if there is no physical disconnection between the slave stations (2c) and (Zd), the slave station (2c) will transmit a dummy signal.
d) is automatically controlled to switch to the data through state (first
(see Figure F), the slave station (2d) is controlled to switch over.
2C) is controlled to switch to the second folding state, the state shown in FIG. 1B is returned to again with only a slight time delay.

即ち、真に断線が発生した箇所のみに対応して子局が切
替制御され、断線が発生していないにも拘わらず切離さ
れてしまう子局の存在を皆無にすることができる。
That is, the switching of slave stations is controlled only in response to the location where a true disconnection has occurred, and it is possible to completely eliminate the existence of slave stations that are disconnected even though no disconnection has occurred.

以上の説明は、子局(2c)に着目して行なったが、他
の子局に関して断線が発生した場合にも、同様の切替制
御を行ない、自動的に回線復帰を達成することができる
Although the above explanation has focused on the slave station (2c), even if a disconnection occurs in another slave station, similar switching control can be performed to automatically restore the line.

尚、この発明は上記の実施例に限定されるものではなく
、例えば各局における状態の切替えをマイクロコンピュ
ータ等により行なわせることが可能である他、この発明
の要旨を変更しない範囲内において種々の設計変更を施
すことが可能である。
Note that this invention is not limited to the above-mentioned embodiments; for example, it is possible to use a microcomputer or the like to switch the status of each station, and various designs may be made without changing the gist of this invention. It is possible to make changes.

〈発明の効果〉 以上のようにこの発明は、信号線入力、およびループバ
ック線入力の何れも存在しなくなった子局においてダミ
ー信号を送出するようにしているのであるから、単に物
理的な接続状態を確保するだけで実際のデータ伝送を行
ない得る状態に復帰させることができ、復帰動作を簡素
化することができるという特有の効果を奏する。
<Effects of the Invention> As described above, the present invention transmits a dummy signal at a slave station where neither signal line input nor loopback line input exists, so it is possible to simply connect the physical connection. It is possible to return to a state in which actual data transmission can be performed simply by securing the state, and this has the unique effect of simplifying the return operation.

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

第1図はこの発明の回線復帰方法を実施するためのデー
タ伝送システムの一例を示す概略図、第2図は各局の切
替状態を説明する概略図、第3図Aは親局の状態切替を
行なうための構成を示す概略図、 第3図Bは親局において各リレー接点を駆動するための
制御回路を示す電気回路図、 第3図Cは子局において各リレー接点を駆動するための
制御回路を示す電気回路図。 (1)−・・親局、(2a) (2b) −(2e)−
子局、(3)・・・信号線、(4)・・・ループバック
線、(5)・・・伝送制御部 第3図(C)
FIG. 1 is a schematic diagram showing an example of a data transmission system for implementing the line restoration method of the present invention, FIG. 2 is a schematic diagram explaining the switching state of each station, and FIG. 3A is a diagram showing the switching state of the master station. Figure 3B is an electrical circuit diagram showing the control circuit for driving each relay contact in the master station, and Figure 3C is the control circuit for driving each relay contact in the slave station. Electrical circuit diagram showing a circuit. (1) --- Master station, (2a) (2b) -(2e)-
Slave station, (3)...Signal line, (4)...Loopback line, (5)...Transmission control section Fig. 3 (C)

Claims (1)

【特許請求の範囲】 1、親局に対して複数の子局が、入力信号 に対して必要な処理を施した状態で送出 する信号線、および入力信号をそのまま 送出するループバック線により直列状に 接続され、かつ各局が、信号線入力、お よびループバック線入力の状態に基いて 各線単独のデータスルー状態、信号線か らループバック線への折返し状態、或は ループバック線から信号線への折返し状 態の何れかの状態に切替えられているポ ーリング方式のデータ伝送システムにお いて、未接続状態の子局が信号線からル ープバック線への折返し状態であるとと もに、信号線入力、ループバック線入力 の少なくとも一方が供給されるまでの間 ダミー伝送データを送出することにより 折返し状態になっている子局をデータス ルー状態に強制的に切替え、上記未接続 状態の子局を接続することを特徴とする データ伝送システムにおける回線復帰方 法。 2、未接続状態の子局が、回線切断部に隣 接する局であるとともに、所定時間だけ ダミー伝送データを送出するものである 上記特許請求の範囲第1項記載のデータ 伝送システムにおける回線復帰方法。 3、所定時間が、各局が回線状態の変化を 検出し得る最長時間よりも長い時間であ る上記特許請求の範囲第2項記載のデー タ伝送システムにおける回線復帰方法。[Claims] 1. Multiple slave stations receive input signals from the master station. Send after performing necessary processing on Leave the signal line and input signal as is. in series by the loopback line that sends out connected, and each station has a signal line input, and the state of the loopback line input. Data through status of each line alone, signal line? to the loopback line, or Wrap pattern from loopback line to signal line A port that has been switched to one of the states ring-type data transmission system. and an unconnected slave station is connected to the signal line. If it is in the state of returning to the loop back line. Also, signal line input, loopback line input until at least one of the By sending dummy transmission data Data transfer the slave station that is in the loopback state. Forcibly switch to loop state, above unconnected It is characterized by connecting the status slave stations. How to restore a line in a data transmission system Law. 2. An unconnected slave station is located next to the disconnected line. It is a station that connects to the station and only for a specified time. This is to send dummy transmission data. Data set forth in claim 1 above A line recovery method in a transmission system. 3. For a specified period of time, each station detects changes in the line status. The time is longer than the longest detectable time. The data set forth in claim 2 above Line recovery method in data transmission system.
JP8654187A 1987-04-08 1987-04-08 Line restoration method in data transmission system Pending JPS63252043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8654187A JPS63252043A (en) 1987-04-08 1987-04-08 Line restoration method in data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8654187A JPS63252043A (en) 1987-04-08 1987-04-08 Line restoration method in data transmission system

Publications (1)

Publication Number Publication Date
JPS63252043A true JPS63252043A (en) 1988-10-19

Family

ID=13889862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8654187A Pending JPS63252043A (en) 1987-04-08 1987-04-08 Line restoration method in data transmission system

Country Status (1)

Country Link
JP (1) JPS63252043A (en)

Similar Documents

Publication Publication Date Title
US5387902A (en) Data networks
CA2566005A1 (en) Protected switching ring
CN105684361A (en) Bus system, and method for operating such a bus system
US4446551A (en) Data highway system with dual transmitting loop lines
JP3452117B2 (en) I / O device control method
US6393020B1 (en) Gated multi-drop communication system
JP3679944B2 (en) Information transmission equipment
JPS62226271A (en) Automatic switching device for pos loop
JPS63252043A (en) Line restoration method in data transmission system
JP2552786B2 (en) Signal switching device
JPH0151222B2 (en)
JPS63252044A (en) Line restoration method in data transmission system
JP3713949B2 (en) Ring network data transfer method
JPH01297931A (en) Isolation control system for short-circuited transmission line in multiplexed transmission control system
WO2022157990A1 (en) Network equipment and network system
JPS6126346A (en) Controlling system of loop network
JP3339377B2 (en) Line switching device
JP3020547B2 (en) Automatic line blocking method
JP2009130536A (en) Line connection device and communication system
JPH07101883B2 (en) Redundant loop back system
JPH0453331A (en) Loop processing system for bus type network
JP2000059411A (en) Communication line changeover device
JPH04330836A (en) Communication controller and communication control method
JPH0818606A (en) Discontinuity detection method
JPS598451A (en) Transmission controller