JPH02146841A - Data link system for programmable controller - Google Patents

Data link system for programmable controller

Info

Publication number
JPH02146841A
JPH02146841A JP6114289A JP6114289A JPH02146841A JP H02146841 A JPH02146841 A JP H02146841A JP 6114289 A JP6114289 A JP 6114289A JP 6114289 A JP6114289 A JP 6114289A JP H02146841 A JPH02146841 A JP H02146841A
Authority
JP
Japan
Prior art keywords
data link
unit
station
master station
programmable controller
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
JP6114289A
Other languages
Japanese (ja)
Inventor
Fumie Matsuura
松浦 史恵
Hideo Shikida
式田 秀男
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 JP6114289A priority Critical patent/JPH02146841A/en
Publication of JPH02146841A publication Critical patent/JPH02146841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To attain the continuity of a data link by multiplexing a data link unit of a master station and selecting other unit when one unit is faulty. CONSTITUTION:The master station is provided with data link units 10a, 10b. Then a data is sent from the unit 10a to each station and sends a data transmission end command. The switching unit 9 of the master station monitors whether or not a series of operation is implemented normally within a prescribed time. When a unit 9 detects a fault in the unit 10a executing data link, the unit 9 switches over the unit 10a into the standby unit 10b to make the unit 10b to continue the data link.

Description

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

(従来の技術) 第4図は従来のこの種のプログラマブルコントローラの
データリンクシステムを説明するもので、図において(
1) はデータリンクユニット、(2)はプログラマブ
ルコントローラ、(3)は入出カニニットを示し、デー
タリンクシステムにおける各局は上記データリンクユニ
ット(1)   プログラマブルコントローラ(2)、
入出カニニット(3)から構成されており、各局と各局
の間は局間テーブル(4)により接続されている。ここ
で、局(5)を親局、局(6)を第1局、局(7)を第
2局、局(8)を第3局とし、親局(5) により子局
の第1゜2.3局(5)〜(8)は制御されている。
(Prior Art) Fig. 4 explains a conventional data link system of this type of programmable controller.
1) is a data link unit, (2) is a programmable controller, and (3) is an input/output crab unit, and each station in the data link system is the data link unit (1), programmable controller (2),
It consists of an input/output unit (3), and each station is connected by an inter-station table (4). Here, station (5) is the master station, station (6) is the first station, station (7) is the second station, station (8) is the third station, and the master station (5) is the first station of the slave station.゜2.3 Stations (5) to (8) are controlled.

次に動作について説明する。まず、親局(5)のデータ
リンクユニット(1)は下位につながる子局(6)、(
7)、(8)のデータリンクユニット(1)へデータリ
ンクに必要なデータを送信し、そのすべてのデータの送
信が完了すると、データ送信完了指令を子局(6)、(
7)、(8)へ送信するようになされ、親局(5)から
データ送信完了指令を受信した子局(6)、 (7)、
 (III)のデータリンクユニット(1)は自局のプ
ログラマブルコントローラ(2)とデータのリフレッシ
ュを実行し、リフレッシュしたデータを親局(5)へ送
信するようになされている。
Next, the operation will be explained. First, the data link unit (1) of the master station (5) connects to the slave stations (6), (
The data necessary for the data link is transmitted to the data link unit (1) of 7) and (8), and when the transmission of all the data is completed, a data transmission completion command is sent to the slave station (6), (
7), (8), and received the data transmission completion command from the master station (5), the slave stations (6), (7),
The data link unit (1) (III) refreshes data with the programmable controller (2) of its own station, and transmits the refreshed data to the master station (5).

また、子局(6)、())、(8)からデータを受信し
た親局(5)のデータリンクユニット(1)は自局のプ
ログラマブルコントローラ(1)とデータのリフレッシ
ュを行ない再びデータを子局(6)、(7)、(8)へ
送信するようになされており、この一連の動作をくり返
すようになされている。
In addition, the data link unit (1) of the master station (5), which has received data from the slave stations (6), ()), and (8), refreshes the data with the programmable controller (1) of its own station and sends the data again. The signal is transmitted to the slave stations (6), (7), and (8), and this series of operations is repeated.

この時、子局の第2局(7)に異常が発生すると、親局
(5)は第1局(6) と第3局(8)へ第2局(7)
を切り離す指令を送信しその指令を受信した第1局(6
)と第3局(8)は送信方向を変えて親局(5)と交信
する。
At this time, if an abnormality occurs in the second station (7) of the slave station, the master station (5) will send the first station (6) and third station (8) to the second station (7).
The first station (6
) and the third station (8) change the transmission direction and communicate with the master station (5).

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

従来のデータリンクシステムは以上のように構成されて
いたので、親局のデータリンクユニットに異常が発生す
ると子局への指令が全く不可能となりデータリンクが中
断するという問題点があった。
Since the conventional data link system was configured as described above, there was a problem in that if an abnormality occurred in the data link unit of the master station, commands to the slave stations would be completely impossible and the data link would be interrupted.

この発明は上記のような問題点を解消する為になされた
もので、データリンクを実行している親局のデータリン
クユニットに異常が発生しても待機中のデータリンクユ
ニットに切換えてデータリンクを続行できるプログラマ
ブルコントローラのデータリンクシステムを提供するこ
とを目的とする。
This invention was made to solve the above-mentioned problems. Even if an abnormality occurs in the data link unit of the master station that is executing the data link, the data link unit is switched to the standby data link unit and the data link is continued. The purpose is to provide a programmable controller data link system that can continue.

〔課題を解決するための手段〕[Means to solve the problem]

第1の発明に係るプログラマブルコントローラのデータ
リンクシステムは、プログラマブルコントローラのデー
タリンクシステムにおいて、下位のプログラマブルコン
トローラを制御する親局に、複数のデータリンクユニッ
トとそのデータリンクユニットの切換えを実行する切換
えユニットとを備えたものである。
A data link system for a programmable controller according to a first aspect of the present invention includes a plurality of data link units and a switching unit that performs switching between the data link units in a master station that controls a lower programmable controller. It is equipped with the following.

また、第2の発明に係るプログラマブルコントローラの
データリンクシステムは、プログラマブルコントローラ
のデータリンクシステムにおいて、下位のプログラマブ
ルコントローラを制御する親局に、複数のデータリンク
ユニットとこれに対応した複数のバイパスユニット及び
上記データリンクユニットの切換えを上記バイパスユニ
ットを制御して実行する切換えユニットとを備えたもの
である。
Moreover, in the data link system for a programmable controller according to the second invention, a master station that controls a lower programmable controller includes a plurality of data link units, a plurality of bypass units corresponding thereto, and a master station that controls a lower programmable controller. and a switching unit that controls the bypass unit to switch the data link unit.

〔作用) 第1の発明においては、親局の切換えユニットにより自
局のデータリンクユニットを監視しデータリンクを実施
しているデータリンクユニットに異常が発生するともう
一方の待機中のデータリンクユニットへ切換える。
[Operation] In the first invention, the switching unit of the master station monitors the data link unit of its own station, and when an abnormality occurs in the data link unit that is performing the data link, the switching unit switches to the other standby data link unit. Switch.

また、第2の発明においては、親局の切換えユニットに
より自局のデータリンクユニットを監視しデータリンク
を実施しているデータリンクユニットに異常が発生する
とバイパスユニットを介してもう一方の待機中のデータ
リンクユニットへ切換える。
In addition, in the second invention, the switching unit of the master station monitors the data link unit of its own station, and if an abnormality occurs in the data link unit that is performing the data link, the switching unit of the other station is switched to the other standby unit via the bypass unit. Switch to data link unit.

〔実施例〕〔Example〕

第1の発明の一実施例を第4図と同一部分は同一符号を
付して示す第1図について説明する。第1図において、
(10a)、 (10b)は親局のデータリンクユニッ
ト、(9)は親局のデータリンクユニットの切換えを行
なう切換えユニット、(4a)、(4b)は各局間を接
続する局間ケーブルを示し、この実施例においては、親
局のデータリンクユニットを2重化するとともにこの2
重化されたデータリンクユニットの切換えを実行する切
換えユニット(9)を親局に設けている。
An embodiment of the first invention will be described with reference to FIG. 1, in which the same parts as in FIG. 4 are denoted by the same reference numerals. In Figure 1,
(10a) and (10b) are the data link units of the master station, (9) are the switching units that switch between the data link units of the master station, and (4a) and (4b) are the inter-station cables that connect each station. , In this embodiment, the data link unit of the master station is duplicated, and these two
A switching unit (9) for switching the duplicated data link units is provided in the master station.

上記構成において、親えたことを特徴とすニット(10
a)、(10b)は通常一方のデータリンクユニットに
よりデータリンクを実施しており、ここでは、今データ
リンクユニット(10a)が局間ケーブル(4a)で接
続された各局とデータリンクしているとし、データリン
クユニット(10b)は待機状態にあり、このデータリ
ンクユニット(10b)は局間ケーブル(4b)により
各局と接続されている。
In the above configuration, the knit (10
In a) and (10b), the data link is usually performed by one data link unit, and here, the data link unit (10a) is currently performing the data link with each station connected by the inter-office cable (4a). The data link unit (10b) is in a standby state, and this data link unit (10b) is connected to each station by an interoffice cable (4b).

ここでは、従来のデータリンクシステムと同様にして、
データリンクユニット(10a)から各局にデータを送
信し、データ送信完了指令を送信している。この一連の
動作が一定時間内に正常に行なわれているかを親局の切
換えユニット(9)は監視しており、この切換えユニッ
ト(9) によりデータリンクを実施しているデータリ
ンクユニット(10a)に異常が検知されると、切換え
ユニット(9)はもう一方の待機中のデータリンクユニ
ット(10b)へ切換えを行ないデータリンクを続行す
る。
Here, in the same way as the conventional data link system,
Data is transmitted from the data link unit (10a) to each station, and a data transmission completion command is transmitted. The switching unit (9) of the master station monitors whether this series of operations is performed normally within a certain period of time, and the data link unit (10a) which performs the data link by this switching unit (9). When an abnormality is detected, the switching unit (9) switches to the other standby data link unit (10b) and continues the data link.

次に、第2図は第2の発明の一実施例を示すもので、第
1図実施例と異なる点は、親局(5)に、データリンク
ユニット(10a)   (10b)  に対応してバ
イパスユニット(lla)   (llb)を設けた点
であり、データリンクユニット(10a)   (10
b)の切替の際は、切替ユニット(9)によりバイパス
ユニット(lla)、 (txb)を制御することによ
りこのバイパスユニット(lla)、 (llb)を介
して行なわれるようになされている。
Next, FIG. 2 shows an embodiment of the second invention, which differs from the embodiment in FIG. Bypass units (lla) (llb) are provided, and data link units (10a) (10
The switching in b) is performed via the bypass units (lla) and (llb) by controlling the bypass units (lla) and (txb) by the switching unit (9).

すなわち、第3図は、上記バイパスユニット(lla)
、(ttb)の状態を説明する図で、同図(a)はデー
タリンクを行なっている状態、同図(b)はデータリン
クを行なっていない待機状態を示し、この状態切替は切
替ユニット(9)により行なわれる。
That is, FIG. 3 shows the bypass unit (lla)
, (ttb), in which (a) shows a state in which a data link is performed, and (b) shows a standby state in which no data link is performed. This state switching is performed by the switching unit ( 9).

したがって、この実施例によればデータリンクユニット
を2重化する場合、第1図実施例に比し局間ケーブル(
4)の数を、第4図に示す従来例と同様な数とすること
がで籾、二重化する必要がない。
Therefore, according to this embodiment, when duplicating the data link unit, the inter-office cable (
By setting the number of rice grains (4) to the same number as in the conventional example shown in FIG. 4, there is no need to double the rice grains.

なお、上記各実施例では切換えユニタリンクユニット(
10a)、(10b)の監視を行なうが、データリンク
ユニット(10a)、(10b)の中、一方がデータリ
ンクユニット(10a)、(10b)の他方を監視して
もよく、あるいはデータリンクユニット(10a)、(
10b)の自己チエツクによる監視でもよい。
In addition, in each of the above embodiments, the switching unitar link unit (
10a) and (10b), one of the data link units (10a) and (10b) may monitor the other of the data link units (10a) and (10b), or one of the data link units (10a) and (10b) may monitor the other. (10a), (
10b) may also be monitored by self-check.

(発明の効果) 以上のように第1と第2の発明によれば、親局のデータ
リンクユニットを多重化したので、一方のデータリンク
ユニットに異常が発生しても待機中のデータリンクユニ
ットへ切換えてデータリンクを続行することができ、ま
たデータリンクを続行したまま故障データリンクユニッ
トを修復することができる。
(Effects of the Invention) As described above, according to the first and second inventions, the data link units of the master station are multiplexed, so even if an abnormality occurs in one of the data link units, the standby data link unit remains The data link unit can be switched to continue the data link, and the failed data link unit can be repaired while the data link continues.

さらに、第2の発明によれば、多重化されたデータリン
クユニット切替をバイパスユニットを介して行なうよう
にしたので、局間ケーブルを多重化する必要もなくデー
タリンクユニットシステムを構築できる。
Further, according to the second invention, since the multiplexed data link unit switching is performed via the bypass unit, it is possible to construct a data link unit system without the need to multiplex interoffice cables.

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

第1図と第2図はそれぞれ第1と第2の発明の各実施例
によるデータリンクシステム構成図、第3図(a)、(
b)は第2図実施例におけるバイパスユニットの状態説
明図、第4図は従来のデータリンクシステム構成図であ
る。 (10a)、 (10b)は親局のデータリンクユニッ
ト(lla)、(ttb)は親局のバイパスユニット(
2) はプログラマブルコントローラ(9)は切換えユ
ニット (5)は親局 (6)〜(8)は子局 なお、各図中、同一符号は同−又は相当部分を示す。
FIGS. 1 and 2 are data link system configuration diagrams according to embodiments of the first and second inventions, respectively, and FIGS. 3(a) and (
b) is a state explanatory diagram of the bypass unit in the embodiment of FIG. 2, and FIG. 4 is a diagram of the configuration of a conventional data link system. (10a) and (10b) are the data link unit (lla) of the master station, and (ttb) is the bypass unit (lla) of the master station.
2) The programmable controller (9) is the switching unit (5), and the master station (6) to (8) are slave stations. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)プログラマブルコントローラのデータリンクシス
テムにおいて、下位のプログラマブルコントローラを制
御する親局に、複数のデータリンクユニットとそのデー
タリンクユニットの切換えを実行する切換えユニットと
を備えたことを特徴とするプログラマブルコントローラ
のデータリンクシステム。
(1) In a programmable controller data link system, a programmable controller characterized in that a master station that controls a lower programmable controller includes a plurality of data link units and a switching unit that switches the data link units. data link system.
(2)プログラマブルコントローラのデータリンクシス
テムにおいて、下位のプログラマブルコントローラを制
御する親局に、複数のデータリンクユニットとこれに対
応した複数のバイパスユニット及び上記データリンクユ
ニットの切換えを上記バイパスユニットを制御して実行
する切換えユニットとを備えたことを特徴とするプログ
ラマブルコントローラのデータリンクシステム。
(2) In a programmable controller data link system, a master station that controls a lower programmable controller has a plurality of data link units, a plurality of corresponding bypass units, and a master station that controls the switching of the data link units by controlling the bypass unit. A data link system for a programmable controller, characterized in that it is equipped with a switching unit that executes the program.
JP6114289A 1988-08-04 1989-03-14 Data link system for programmable controller Pending JPH02146841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6114289A JPH02146841A (en) 1988-08-04 1989-03-14 Data link system for programmable controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP63-195225 1988-08-04
JP19522588 1988-08-04
JP6114289A JPH02146841A (en) 1988-08-04 1989-03-14 Data link system for programmable controller

Publications (1)

Publication Number Publication Date
JPH02146841A true JPH02146841A (en) 1990-06-06

Family

ID=26402176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6114289A Pending JPH02146841A (en) 1988-08-04 1989-03-14 Data link system for programmable controller

Country Status (1)

Country Link
JP (1) JPH02146841A (en)

Similar Documents

Publication Publication Date Title
JPH02146841A (en) Data link system for programmable controller
JPH01145701A (en) Data link system for programmable controller
JPS6053398A (en) Remote supervisory controller
JPH02153632A (en) Transmission line switching system
JPH0414939A (en) Wire communication system
JPH09305206A (en) Controller for hydraulic power plant
JPS63285053A (en) Fault processing system for network management equipment
JPS62213347A (en) Line switching system
JPH01260942A (en) Cross connect device
JPH0559616B2 (en)
JPS63248255A (en) On-line data transmission system
JPH03192892A (en) Switching control circuit
JPS62140155A (en) Automatic switching circuit for data bus of device
JPS62127957A (en) Control system for time division common bus
JPH08195767A (en) Method for monitoring backup ring
JPS6083452A (en) Redundancy constitution system
JPH0477151A (en) Reserve line switching system for packet exchange
JPS61194939A (en) Communication controller
JPH0653944A (en) Line switching control system
JPS60144028A (en) Testing method of transmission line changeover switch
JPS617901A (en) Digital control device
JPH0314398A (en) Digital cont roller system
JPS63161752A (en) Decentralized processing packet exchange
JPS62271538A (en) Communication switching control system in data way
JPS6076820A (en) Self-diagnosis system