JPH021653A - Data link unit - Google Patents

Data link unit

Info

Publication number
JPH021653A
JPH021653A JP63142022A JP14202288A JPH021653A JP H021653 A JPH021653 A JP H021653A JP 63142022 A JP63142022 A JP 63142022A JP 14202288 A JP14202288 A JP 14202288A JP H021653 A JPH021653 A JP H021653A
Authority
JP
Japan
Prior art keywords
data link
cable
slave station
station
receiver
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
JP63142022A
Other languages
Japanese (ja)
Inventor
Masato Kato
正人 加藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63142022A priority Critical patent/JPH021653A/en
Publication of JPH021653A publication Critical patent/JPH021653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To continue the action of data link without deteriorating a whole data link system by providing a standby cable to a data link unit in addition to a normal cable. CONSTITUTION:When abnormality occurs in the cables of slave stations 11b and 11c due to disconnection and the like, the slave station 11c informs a master station 10 of error detection. The master station 10, which has received information, is connected to the slave station 11c by using a cable 13a used at an abnormal time through a receiver 15, selection units 18, 7 and 19 and a driver 17, which are respectively used at the abnormal time. Thus, the slave station 11b, in which abnormality has occurred, is bypassed by the cable 13b. Consequently, an abnormal part is detached by using the cable 13b and the action of the data link is continued.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はプログラマブルコントローラのデータリンク
ユニットに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data link unit of a programmable controller.

(従来の技術〕 第3図は従来のデータリンクユニットを用いたプログラ
マブルコントローラのシステム図を示したものである。
(Prior Art) FIG. 3 shows a system diagram of a programmable controller using a conventional data link unit.

図において、(1)はデータリンクシステムの親局を、
 (2a)〜(2f)はそれぞれ子局を示し、各ユニッ
ト間はケーブル (3)により接続されている。おのお
のの子局には前の局からのデータを受け取るためのレシ
ーバ(4) と後の局へデータを送り出すためのドライ
バ (5)とが設けられている。
In the figure, (1) indicates the master station of the data link system,
(2a) to (2f) each indicate a slave station, and each unit is connected by a cable (3). Each slave station is provided with a receiver (4) for receiving data from the previous station and a driver (5) for sending data to the subsequent station.

またリンクユニット内で種々の信号処理を行う内部回路
 (6)と、信号選択を行うためのユニット(7)とが
設けられている。さらに (8)はデータの流れ示して
いる。各子局の内部構造は全て同一の構成となっている
Further, an internal circuit (6) for performing various signal processing within the link unit and a unit (7) for performing signal selection are provided. Furthermore, (8) shows the flow of data. The internal structure of each slave station is the same.

次に上記従来ユニットの動作について説明する。親局(
1)のドライバ (5)から送出されたデータはケーブ
ル (3)を介して子局(2a)のレシーバ(4)に伝
送される。子局(2a)は受け取ったデータを内部回路
 (6)で処理し、ドライバ (5)を介して次段の子
馬(2b)にデータを送出する。
Next, the operation of the above-mentioned conventional unit will be explained. master station(
The data sent from the driver (5) of 1) is transmitted to the receiver (4) of the slave station (2a) via the cable (3). The slave station (2a) processes the received data in an internal circuit (6) and sends the data to the next foal (2b) via the driver (5).

ここで、子局(2a)内に設けられた信号選択を行うユ
ニット (7)は、受信時には受け取ったデータをその
ままドライバ (5)から送出するような形にセットし
ておく、これは受け取ったデータが自局あてとは限らな
いため、親局(1)の送出したデータあるいはそれ以前
の子局が送出したデータを次段の子局や親局へも送出す
る必要があるためである。
Here, the unit (7) that performs signal selection provided in the slave station (2a) is set in such a way that the received data is sent as is from the driver (5) at the time of reception. This is because the data is not necessarily destined for the own station, so the data sent by the master station (1) or the data sent by the previous slave stations needs to be sent to the next slave station and the master station as well.

一方、自局がデータを送出するような場合には、レシー
バ(4)とドライバ (5)との接続を切り離し、内部
回路 (6)からのデータをユニット (7)を介して
送出できるような形にセットする必要がある。
On the other hand, when the local station sends data, the receiver (4) and driver (5) are disconnected and the data from the internal circuit (6) can be sent via the unit (7). It needs to be set in shape.

このような一連の処理を各子局が行うこにより親局(1
)と子局(2a)〜(2f)との間のデータの授受が行
われる。
By performing such a series of processing on each slave station, the master station (1
) and the slave stations (2a) to (2f).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のデーリンクユニットは以上のように構成されてい
るので、ある−個所でリンクユニットが故障したり、ケ
ーブルが抜けたり、断線したりした場合、そのデータリ
ンクシステム全体がダウンしてしまうという課題があっ
た。
Conventional data link units are configured as described above, so if a link unit fails at a certain point, a cable is pulled out, or a wire is disconnected, the entire data link system will go down. was there.

この発明は上記のような課題を解消するためになれたも
ので、正常使用時にケーブルやリンクユニットの故障に
起因してリンクの一部が事故を起こした場合でも、デー
タリンクシステム全体をダウンさせることなく故障を起
こした部分をバイパスさせてリンクを継続することので
きるデータリンクユニットを提供することを目的とする
This invention was developed to solve the above problems, and even if a part of the link fails due to a cable or link unit failure during normal use, the entire data link system can be brought down. To provide a data link unit that can continue a link by bypassing a part that has caused a failure without any problems.

(課題を解決するための手段) この発明にかかるデータリンクユニットは、通常のデー
タリンクを行うレシーバ、ドライバの他に同一機能を有
する第2のレシーバと第2のドライバとを設け、さらに
第1、第2のレシーバに接続され両レシーバの切り換え
選択を行う受け口選択ユニットを設けると供に、第1、
第2のドライバに接続され、両ドライバの切り換え選択
を行う送り口選択ユニットとを設け、異常動作時には第
2のレシーバと第2のドライバからそれぞれ第3および
第4のケーブルを介して接続された親局または子局に対
し信号の送受信を行うように構成したものである。
(Means for Solving the Problems) A data link unit according to the present invention is provided with a second receiver and a second driver having the same functions in addition to a receiver and a driver that perform a normal data link, and further includes a first receiver and a second driver that have the same functions. , a receptacle selection unit connected to the second receiver for selecting and switching between the two receivers;
A feed port selection unit is provided, which is connected to the second driver and performs switching selection between both drivers, and is connected from the second receiver and the second driver via third and fourth cables, respectively, in the event of an abnormal operation. It is configured to transmit and receive signals to and from a master station or a slave station.

〔作用〕[Effect]

この発明におけるデータリンクユニットは、バイパス用
のケーブルを接続した間の局またはケーブルが異常とな
った時、バイパス用のケーブルを使用して異常部分を切
り離しデータリンクの動作を継続する。
In the data link unit of the present invention, when the station or cable connected to the bypass cable becomes abnormal, the bypass cable is used to disconnect the abnormal part and continue the data link operation.

〔実施例〕〔Example〕

以下この発明の一実旅例を第1図に基づいて説明する。 A practical example of this invention will be described below with reference to FIG.

第1図はこの発明の一実施例を示すデータリンクユニッ
トのブロック構成図である。図において、 (10)は
データリンクシステムの親局を、(lla)〜(llf
)は子局をそれぞれ示しており、親局(1G)と子局(
lla)との間は、通常データリンクを行うために使用
するケーブル(12)により接続される。また(13a
)、 (13b)は異常動作時に備え、通常のケーブル
に換えて使用するケーブルであって、通常動作時に用い
られるレシーバ(14)およびドライバ(16)と同一
の機能を有する異常時に使用するレシーバ(15)およ
びドライバ(17)にそれぞれ接続されている。
FIG. 1 is a block diagram of a data link unit showing an embodiment of the present invention. In the figure, (10) represents the master station of the data link system, (lla) to (llf
) indicates the slave stations, and the master station (1G) and slave station (
lla) is connected by a cable (12) normally used for data link. Also (13a
), (13b) are cables used in place of normal cables in preparation for abnormal operations, and are receivers (14) and (13b) used in abnormal operations that have the same functions as the receiver (14) and driver (16) used during normal operations. 15) and a driver (17), respectively.

したがってレシーバ(15)は異常があり、バイパス用
のケーブル(13a)を使用する場合に用いられる。さ
らにドライバ(17)は異常時にバイパス用のケーブル
(13b)を使用する時に用いられる。このように子局
・(lla)内には正常時に使用されるレシーバ(14
)、ドライバ(16)の他に異常時に使用されるレシー
バ(15)およびドライバ(17)が設けられているた
め、これらの切り換えを行うためのユニットが設けられ
ている。(18)はレシーバ(14)と(15)とを切
り換えてデータの受け口を選択するためのユニット、(
19)はドライバ(16)と(17)とを切り換えて送
信信号の送り口を選択するためのユニットである。第1
図に示す実施例では、子局(lla) に設けられた異
常時に使用されるレシーバ(15)およびドライバ(1
7)はそれぞれケーブル(13a)   ケーブル(1
3b)を介して親局(10)、子局(llc)のそれぞ
れ異常時使用されるドライバ、レシーバに接続されてい
る。すなわち、子局(11a)と子局(llc) とは
子局(llb)をバイパスにして接元売されている。
Therefore, the receiver (15) is used when there is an abnormality and a bypass cable (13a) is used. Furthermore, the driver (17) is used when using the bypass cable (13b) in the event of an abnormality. In this way, there is a receiver (14) in the slave station (lla) that is used during normal operation.
), a driver (16), a receiver (15) and a driver (17) that are used in the event of an abnormality, and therefore a unit for switching these is provided. (18) is a unit for switching between receivers (14) and (15) to select a data reception;
19) is a unit for switching between the drivers (16) and (17) to select the sending port of the transmission signal. 1st
In the embodiment shown in the figure, a receiver (15) and a driver (1) provided in a slave station (lla) are used in the event of an abnormality.
7) are cable (13a) and cable (1), respectively.
3b) are connected to the driver and receiver of the master station (10) and slave station (llc), respectively, which are used in the event of an abnormality. In other words, the slave station (11a) and the slave station (llc) are connected to each other by bypassing the slave station (llb).

次にこのような構成のデータリンクユニットの動作につ
いて説明する。第2図は異常時すなわちエラー検出時の
データリンクシステムの動作を説明するためのフローチ
ャートを示したものである。第2図(A)はエラーを検
出した子局の動作を、第2図(B)は親局の動作を、第
2図(C)は親局からのループ切、り換え要求に応答し
てループ切り換えを行う子局の動作をそれぞれ示してい
る。
Next, the operation of the data link unit having such a configuration will be explained. FIG. 2 shows a flowchart for explaining the operation of the data link system when an abnormality occurs, that is, when an error is detected. Figure 2 (A) shows the operation of the slave station that detected the error, Figure 2 (B) shows the operation of the master station, and Figure 2 (C) shows the response to the loop switching request from the master station. The operation of the slave station that performs loop switching is shown in each figure.

まず、ループに異常が無い場合には、第1図に示す親局
(lO)、子局(lla) 〜(llf) とも正常時
に使用されるレシーバ(14)とドライバ(16)とに
接続されたケーブル(12)を使用して交信が行われる
First, if there is no abnormality in the loop, both the master station (lO) and slave stations (lla) to (llf) shown in Fig. 1 are connected to the receiver (14) and driver (16) that are used during normal operation. Communication is carried out using a cable (12).

この時受信信号の受け口を選択するユニット(18)は
、正常時に使用するレシーバ(14)に接続され、送信
信号の送り口を選択するユニット (9)は正常時に使
用されるドライバ(18)へ接続されている。
At this time, the unit (18) for selecting the receiving signal receiving port is connected to the receiver (14) used during normal operation, and the unit (9) for selecting the transmitting signal receiving port is connected to the driver (18) used during normal operation. It is connected.

なお信号の選択を行うユニット (7)の働きは第3図
に示す従来の場合と同様であり、正常時の場合の交信動
作も従来の場合と同一である。
The function of the signal selection unit (7) is the same as in the conventional case shown in FIG. 3, and the communication operation during normal operation is also the same as in the conventional case.

次に異常が起ぎた場合の動作を第1図および第2図を用
いて説明する。なお本実施例の場合には子局(llb)
 と子局(llc) との間のケーブルが断線等により
異常を起こした場合を想定して説明する。
Next, the operation when an abnormality occurs will be explained using FIGS. 1 and 2. In this embodiment, the slave station (llb)
The explanation will be based on the assumption that the cable between the terminal and the slave station (llc) has an abnormality due to a disconnection or the like.

この場合、子局(llc)はループの異常の検出をする
ため、第2図(A)のフローチャートに従いエラー検出
を行う(ステップ201)。この場合、まだエラー検出
済み(ステップ202)ではないため受信側のループを
切り換え(ステップ203)、親Ji (10)に対し
エラー検出を報告する(ステップ204)。
In this case, the slave station (llc) performs error detection according to the flowchart of FIG. 2(A) in order to detect an abnormality in the loop (step 201). In this case, since the error has not yet been detected (step 202), the receiving side loop is switched (step 203) and the error detection is reported to the parent Ji (10) (step 204).

エラーを検出した子局(llc)はエラーが無くなるま
でエラー検出を行うが(ステップ(201) 、エラー
検出済みかどうかを判断しているため(ステップ202
)、最初のエラー検出でのみ親局(lO)に対しエラー
検、出を報告する(ステップ204)。
The slave station (llc) that detected the error continues error detection until the error disappears (step (201)), but since it has already determined whether the error has been detected (step 202).
), the error detection is reported to the master station (IO) only at the first error detection (step 204).

親局(lO)は第2図(B)に示すように、エラー検出
報告を受信すると(ステップ211)、エラー検出を報
告した1つ前の子局(llb)へループ切り換え要求を
送出する(ステップ215)。これに対し子局(llb
)はループ切り換えを要求する子局(11,c)の動作
に従い、第2図(C)に示すようなフローに従いループ
切り換え要求を受信するので(ステップ221)、送信
側のルー、プな切り換える(ステップ222)。
As shown in FIG. 2(B), when the master station (lO) receives the error detection report (step 211), it sends a loop switching request to the previous slave station (llb) that reported the error detection ( Step 215). In contrast, the slave station (llb
) receives a loop switching request according to the flow shown in FIG. 2 (C) according to the operation of the slave station (11, c) requesting loop switching (step 221), so the loop switching on the transmitting side is performed. (Step 222).

しかし第1図の接続のままではループは正常にならない
ため、子局(llc)は親局(10)へエラー回復報告
(ステップ206)を行わない。したがって親局(10
)は切り換え要求を送出したにもかかわらず(ステップ
212)、一定時間待っても(ステップ213)、エラ
ー回復を受信しないため(ステップ214)、もう一つ
前の子局(11a)へループ切り換え要求を送出する(
ステップ(215)。子局(lla)は親局(lO)か
らのループ切り換え受信により(ステップ221)、送
信側からのループを切り換える(ステップ222)。
However, if the connection as shown in FIG. 1 is maintained, the loop will not become normal, so the slave station (llc) does not report the error recovery to the master station (10) (step 206). Therefore, the master station (10
) sends a switching request (step 212), but even after waiting for a certain period of time (step 213), it does not receive an error recovery (step 214), so it loops back to the previous slave station (11a). Submit a request (
Step (215). The slave station (lla) receives the loop switching from the master station (lO) (step 221) and switches the loop from the transmitting side (step 222).

これによりエラー検出をした子局(llc)はエラー回
復を検知するため(ステップ205)、親局(lO)へ
エラー回復要求を行う(ステップ206)。
As a result, the slave station (llc) which detected the error makes an error recovery request to the master station (lO) in order to detect error recovery (step 205) (step 206).

この一連の動作ののち、ループが正常になったことを知
った親局(lO)はデータリンクを再開する。なお、上
述した実施例ではケーブルをバイパスす条ような形で子
局間を接続した場合について説明したが、第1図に示す
ケーブル(13a)のように隣の局と接続を行えば、通
常使用しているケーブルの予備として使用することがで
きる。
After this series of operations, the master station (IO), which has learned that the loop has become normal, resumes the data link. In addition, in the above-mentioned embodiment, explanation was given of the case where the slave stations are connected in the form of a strip that bypasses the cable, but if the connection is made with the neighboring station as shown in the cable (13a) shown in Fig. 1, the normal It can be used as a spare for the cable you are currently using.

また第1図に示す実施例では一重のループによるデータ
リンクシステムを説明したが、多重化ループによるデー
タリンクシステムについても同様の構成で実現すること
が可能である。
Further, in the embodiment shown in FIG. 1, a data link system using a single loop has been described, but a data link system using a multiplex loop can also be realized with a similar configuration.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明によれば、データリンクユ
ニットに、通常のケーブルに加え予備のケーブルを接続
できるような構成としたため、データリンクシステムの
一部に故障が発生してもその故障部分を切り離して接続
を行い、データリンクシステム全体をダウンさせないよ
うにして信頼性の向上を計ることができるという効果が
ある。
As explained above, according to the present invention, the data link unit is configured so that a spare cable can be connected in addition to a normal cable, so that even if a part of the data link system fails, the failed part can be repaired. The effect is that reliability can be improved by disconnecting and connecting and preventing the entire data link system from going down.

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

第1図はこの発明の一実施例にかかるデータリンクニッ
トの構成を示すブロック図、第2図はエラ7−発生時の
動作を説明するためのフローチャート、第3図は従来の
データリンクユニットを用いたシステムのシステム構成
図である。 (lO)は親局、 (lla) ”’ (1,1f)は子局、(12)は正
常時使用するケーブル、 (13a) 、 (13b)は異常時使用するケーブル
、(14) 、 (15)はレシーバ、 (16) 、 (17)はドライバ、 (18)は受信信号の受け口を選択するユニット、(1
9)は送信信号の送り口を選択するユニット。
FIG. 1 is a block diagram showing the configuration of a data link unit according to an embodiment of the present invention, FIG. 2 is a flow chart for explaining the operation when error 7 occurs, and FIG. 3 is a block diagram showing the configuration of a data link unit according to an embodiment of the present invention. It is a system configuration diagram of the system used. (lO) is the master station, (lla) ``' (1, 1f) is the slave station, (12) is the cable used in normal conditions, (13a), (13b) is the cable used in abnormal conditions, (14), ( 15) is a receiver, (16) and (17) are drivers, (18) is a unit for selecting a receiving signal receiving port, (1
9) is a unit that selects the sending port of the transmission signal.

Claims (1)

【特許請求の範囲】[Claims] 正常動作時に隣接する親局または子局から第1のケーブ
ルを介して送られてくる信号を第1のレシーバで受信し
て所定の処理を行なった後、第1のドライバから第2の
ケーブルを介して隣接する他の子局または親局に信号の
送出を行なうデータリンクユニットにおいて、同一機能
を有する第2のレシーバと第2のドライバと、前記第1
、第2のレシーバに接続され両レシーバの切換え選択を
行う受け口選択ユニットと、前記第1、第2のドライバ
に接続され両ドライバの切換え選択を行う送り口選択ユ
ニットとを設け、異常動作時には前記第2のレシーバと
第2のドライバからそれぞれ第3および第4のケーブル
を介して接続された親局又は子局に対し信号の送受信を
行うように構成したことを特徴とするデータリンクユニ
ット。
During normal operation, the first receiver receives a signal sent via the first cable from an adjacent master station or slave station, performs predetermined processing, and then transmits the signal from the first driver to the second cable. In a data link unit that transmits a signal to another adjacent slave station or a master station via a second receiver and a second driver having the same function,
, a receptacle selection unit connected to the second receiver to select switching between both receivers, and a feed selection unit connected to the first and second drivers to select switching between both drivers, and in the event of an abnormal operation, the A data link unit configured to transmit and receive signals from a second receiver and a second driver to a master station or a slave station connected via third and fourth cables, respectively.
JP63142022A 1988-06-09 1988-06-09 Data link unit Pending JPH021653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63142022A JPH021653A (en) 1988-06-09 1988-06-09 Data link unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63142022A JPH021653A (en) 1988-06-09 1988-06-09 Data link unit

Publications (1)

Publication Number Publication Date
JPH021653A true JPH021653A (en) 1990-01-05

Family

ID=15305545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63142022A Pending JPH021653A (en) 1988-06-09 1988-06-09 Data link unit

Country Status (1)

Country Link
JP (1) JPH021653A (en)

Similar Documents

Publication Publication Date Title
US4464658A (en) Multipoint data communication system with collision detection
JPH041542B2 (en)
US20040103113A1 (en) Information transmission system and information transmission method
JPH01144742A (en) Simplified node
JP2522492B2 (en) Loop network integration method
JP3082425B2 (en) Transmission line control method for data communication system
JP2682427B2 (en) Failure detection method on loop transmission line
JPS60169255A (en) Duplicated loop communication system
JPH0720121B2 (en) How to detect a fault in a ring network
JPS59107665A (en) Loop transmission system switching method
JPH02143750A (en) Transmission line branching device
JP3100464B2 (en) Packet switch
JP2800018B2 (en) Baseband network system
JPH0573305B2 (en)
JP2841686B2 (en) Transmission line switching device
JPH0520288A (en) Method for transferring data in multiplex computer
JPS60197045A (en) Loop connection control system
JPH0740692B2 (en) Ring network configuration control method
JPH03143050A (en) Loop communication system
JPH0372746A (en) Fault processing method in loop communication system and connection sequence confirming method for station
JPH02250538A (en) Multiplex transmission network communication system
JPH01101754A (en) Transmission system
JPH0583018B2 (en)
JPH0210949A (en) Integrated method for loop network
JPH0690282A (en) Faulty line recovery monitoring system