[go: up one dir, main page]

JPH04330836A - Communication controller and communication control method - Google Patents

Communication controller and communication control method

Info

Publication number
JPH04330836A
JPH04330836A JP3181049A JP18104991A JPH04330836A JP H04330836 A JPH04330836 A JP H04330836A JP 3181049 A JP3181049 A JP 3181049A JP 18104991 A JP18104991 A JP 18104991A JP H04330836 A JPH04330836 A JP H04330836A
Authority
JP
Japan
Prior art keywords
transmitting
communication control
control device
loop
loop 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
JP3181049A
Other languages
Japanese (ja)
Inventor
Takeshi Yokobayashi
武 横林
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.)
Japan Steel Works Ltd
Original Assignee
Japan Steel Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Steel Works Ltd filed Critical Japan Steel Works Ltd
Priority to JP3181049A priority Critical patent/JPH04330836A/en
Publication of JPH04330836A publication Critical patent/JPH04330836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To enable a communication between a primary station and the other secondary station even when a fault occurs at one part of the secondary station, or a power source is not supplied. CONSTITUTION:A transmitting and receiving part 12 having a receiving terminal Rx and a transmitting terminal Tx, CPU 13 which outputs a clear command to a WDT 16 at every constant time interval, and WDT 16 which starts a clock when the power source is supplied, drives a relay 17 until a clock value is beyond a prescribed value, and stops the driving of the relay 17 when the clock value is beyond the prescribed value, are connected through an inside bus 15 with one another. As for the relay 17, the first pole make contact a1 is connected with the receiving terminal Rx of the transmitting and receiving part 12, the first pole brake contact b1 is connected with the second pole brake contact b2, the first pole common c1 is connected with an upstream side loop circuit 18, the second pole make contact a2 is connected with the transmitting terminal Tx of the transmitting and receiving part 12, and the second pole common c2 is connected with a downstream side loop circuit 18.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ループ式伝送ネットワ
ークの二次局用の通信制御装置および通信制御方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device and a communication control method for a secondary station in a loop type transmission network.

【0002】0002

【従来の技術】従来の通信制御装置には、図5に示すよ
うに、一次局用の通信制御装置31および複数の二次局
用の通信制御装置32,33,34,35,36等があ
り、これら各局の通信制御装置31,32,33,34
,35,36はループ回線18によりループ状に接続さ
れてループ式伝送ネットワークを構成する。使用される
伝送データは、例えばHDLC手順で採用されているフ
レームと呼ばれる形で送信され、通常、一次局の通信制
御装置31から各二次局の通信制御装置31,32,3
3,34,35,36を順次中継しながらループ回線1
8を図示時計回りに進むようになっている。
2. Description of the Related Art As shown in FIG. 5, a conventional communication control device includes a communication control device 31 for a primary station, communication control devices 32, 33, 34, 35, 36, etc. for a plurality of secondary stations. Yes, communication control devices 31, 32, 33, 34 of these stations
, 35, and 36 are connected in a loop by a loop line 18 to form a loop transmission network. The transmission data used is transmitted, for example, in a form called a frame adopted in the HDLC procedure, and is usually transmitted from the communication control device 31 of the primary station to the communication control devices 31, 32, 3 of each secondary station.
Loop line 1 while sequentially relaying 3, 34, 35, 36
8 in the clockwise direction shown in the diagram.

【0003】上記各通信制御装置31,32,33,3
4,35,36は、それぞれ図6に示すように、上流側
のループ回線18に接続されている受信端Rxおよび下
流側のループ回線18に接続されている送信端Txを備
え、上流側および下流側の各ループ回線18と内部との
間のインタフェースをする送受信部42と、制御手段と
しての中央処理装置(以下、「CPU」という。)43
およびメモリ44とが、内部バス45を介して接続され
た構成となっている。最近では、上記各通信制御装置3
1,32,33,34,35,36内の各回路は、それ
ぞれ1ないし数チップのLSIに収められている。
[0003] Each of the above communication control devices 31, 32, 33, 3
4, 35, and 36 each include a receiving end Rx connected to the upstream loop line 18 and a transmitting end Tx connected to the downstream loop line 18, as shown in FIG. A transmitting/receiving unit 42 that interfaces between each loop line 18 on the downstream side and the inside, and a central processing unit (hereinafter referred to as "CPU") 43 as a control means.
and memory 44 are connected via an internal bus 45. Recently, each of the above communication control devices 3
Each of the circuits 1, 32, 33, 34, 35, and 36 is housed in one or several chips of LSI.

【0004】上記送受信部42は、図7に示すように、
前記受信端Rxに入力端が接続されているレシーバ51
と、該レシーバ51の出力端に入力端が接続され、内部
バス45(図6参照)を介してCPU43(図6参照)
に図示しない出力端が接続されている受信回路54と、
セレクタ53を介して入力端が前記レシーバ51の出力
端に接続され、出力端が前記送信端Txに接続されてい
るドライバ52と、内部バス45(図6参照)を介して
CPU43(図6参照)に図示しない入力端が接続され
、前記セレクタ53を介して出力端が前記ドライバ52
の入力端に接続されている送信回路55とから構成され
ている。
[0004] As shown in FIG. 7, the transmitting/receiving section 42
a receiver 51 whose input end is connected to the receiving end Rx;
The input terminal is connected to the output terminal of the receiver 51, and the input terminal is connected to the CPU 43 (see FIG. 6) via the internal bus 45 (see FIG. 6).
a receiving circuit 54 to which an output end (not shown) is connected;
A driver 52 whose input terminal is connected to the output terminal of the receiver 51 via a selector 53 and whose output terminal is connected to the transmitting terminal Tx, and the CPU 43 (see FIG. 6) via an internal bus 45 (see FIG. 6) ) is connected to an input terminal (not shown), and an output terminal is connected to the driver 52 via the selector 53.
and a transmitting circuit 55 connected to the input terminal of the transmitter.

【0005】上記セレクタ53は、通常、図7に示すよ
うに、送信回路55を切り離し、ドライバ52の入力端
をレシーバ51の出力端に接続しているので、各二次局
の通信制御装置31,32,33,34,35,36で
は、それぞれ上流側の各局からの伝送データを取り込む
と同時に、その伝送データの下流側の各局への中継もし
ている。したがって、一次局の通信制御装置31から出
された伝送データはすべての二次局の通信制御装置31
,32,33,34,35,36へ伝わり、かつ一巡し
て一次局の通信制御装置31に戻ってくる。各二次局の
通信制御装置31,32,33,34,35,36が送
信を行うときは、セレクタ53を送信回路55側に切り
換えて上流側からの伝送データを遮断し、当該局自身の
伝送データを下流側に送信し、一次局の通信制御装置3
1へ伝える。
The selector 53 normally disconnects the transmitting circuit 55 and connects the input end of the driver 52 to the output end of the receiver 51, as shown in FIG. , 32, 33, 34, 35, and 36 respectively take in transmission data from each station on the upstream side, and at the same time, relay the transmission data to each station on the downstream side. Therefore, the transmission data sent from the communication control device 31 of the primary station is transmitted to the communication control device 31 of all the secondary stations.
, 32, 33, 34, 35, and 36, and returns to the communication control device 31 of the primary station after making a complete loop. When the communication control devices 31, 32, 33, 34, 35, and 36 of each secondary station transmit, the selector 53 is switched to the transmission circuit 55 side to cut off the transmission data from the upstream side, and the station itself Transmits the transmission data to the downstream side and transmits the transmission data to the communication control device 3 of the primary station.
Tell 1.

【0006】[0006]

【発明が解決しようとする課題】上記従来の技術では、
一部の二次局において、通信制御装置のハードウェアの
故障や障害、またはソフトウェアの障害などの何らかの
原因で送受信部のセレクタが送信回路側に切り換わった
ままになるような障害が発生した場合、ループ回線が遮
断されたままとなってしまうため、一次局および障害が
発生した二次局間の通信が不能となるばかりでなく、ネ
ットワークのすべての局間の通信が不能となる。また、
二次局の通信制御装置のいずれかに電源が供給されてい
ない場合にも、そのレシーバおよびドライバが動作しな
いため、同様にネットワークのすべての局間の通信が不
能となるという問題点がある。
[Problem to be solved by the invention] In the above conventional technology,
In some secondary stations, if a failure occurs in which the transmitter/receiver selector remains switched to the transmitter circuit side due to a hardware failure or failure in the communication control device, or a software failure. Since the loop line remains cut off, not only communication between the primary station and the failed secondary station becomes impossible, but also communication between all stations in the network becomes impossible. Also,
Even if power is not supplied to any of the communication control devices of the secondary station, the receiver and driver thereof will not operate, resulting in a similar problem in that communication between all stations in the network will be disabled.

【0007】本発明は、上記従来の技術の有する問題点
に鑑みてなされたものであり、ループ式伝送ネットワー
クにおいて、一部の二次局に障害が発生した場合や、電
源が供給されていない場合でも、一次局および他の二次
局間の通信が可能な通信制御装置および通信制御方法を
提供することを目的とする。
The present invention has been made in view of the problems of the conventional technology described above, and is applicable when a failure occurs in some secondary stations or when power is not supplied to a loop transmission network. It is an object of the present invention to provide a communication control device and a communication control method that enable communication between a primary station and other secondary stations even in the case of a secondary station.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
、本発明の通信制御装置は、伝送方向の上流側から伝送
データを受信する受信端と、伝送方向の下流側へ伝送デ
ータを送信する送信端とを備えた送受信部をそれぞれ有
する複数の二次局が、一次局およびループ回線によりル
ープ状に接続されたループ式伝送ネットワークの二次局
用として用いられる通信制御装置において、前記送受信
部の障害時、当該送受信部をバイパスするバイパス手段
を有することを特徴とするものである。
[Means for Solving the Problems] In order to achieve the above object, a communication control device of the present invention includes a receiving end that receives transmission data from the upstream side in the transmission direction, and a reception end that transmits the transmission data to the downstream side in the transmission direction. In a communication control device used for a secondary station of a loop-type transmission network in which a plurality of secondary stations each having a transmitting/receiving unit with a transmitting end are connected in a loop to a primary station by a loop line, the transmitting/receiving unit The device is characterized by having a bypass means for bypassing the transmitting/receiving section in the event of a failure of the transmitting/receiving section.

【0009】本発明の通信制御装置は、バイパス手段が
、上流側のループ回線と接続され、かつ送受信部の送信
端とは遮断される第1の状態と、前記送受信部の送信端
と接続され、かつ上流側のループ回線とは遮断される第
2の状態とが切り換え可能であり、通信制御装置に電源
が供給されていないときは常に前記第1の状態となる切
換端を有し、該切換端が下流側のループ回線に接続され
ており、通信制御装置に電源が供給され、かつ計時値が
所定の値を越えないとき、前記切換端を前記第2の状態
にする計時手段と、通信制御装置が正常に動作している
ときは、前記計時手段の計時値が所定の値を越えないよ
うに該計時値を一定時間毎にクリアする制御手段とを有
する構成とすることができる。
The communication control device of the present invention has a first state in which the bypass means is connected to the upstream loop line and disconnected from the transmitting end of the transmitting/receiving section, and a first state in which the bypass means is connected to the transmitting end of the transmitting/receiving section. , and has a switching end that can be switched between a second state in which the loop line on the upstream side is cut off, and that is always in the first state when power is not supplied to the communication control device, a timekeeping means for setting the switching end to the second state when the switching end is connected to a downstream loop line, power is supplied to the communication control device, and a timed value does not exceed a predetermined value; When the communication control device is operating normally, the communication control device may be configured to include a control means for clearing the time value of the time measurement means at regular intervals so that the time value does not exceed a predetermined value.

【0010】この場合において、切換端は、メーク接点
が送受信部の送信端に接続されているリレーのコモンで
あることが可能である。
In this case, the switching end can be a common of a relay whose make contact is connected to the transmitting end of the transceiver section.

【0011】また、本発明の通信制御装置は、バイパス
手段が、送受信部の受信端と接続され、かつ前記送受信
部の送信端とは遮断される第1の状態と、前記送受信部
の送信端と接続され、かつ前記送受信部の受信端とは遮
断される第2の状態とが切り換え可能であり、通信制御
装置に電源が供給されていないときは常に前記第1の状
態となる切換端を有し、該切換端が下流側のループ回線
に接続されており、通信制御装置に電源が供給され、か
つ計時値が所定の値を越えないとき、前記切換端を前記
第2の状態にする計時手段と、通信制御装置が正常に動
作しているときは、前記計時手段の計時値が所定の値を
越えないように該計時値を一定時間毎にクリアする制御
手段とを有する構成とすることもできる。
Further, the communication control device of the present invention has a first state in which the bypass means is connected to the receiving end of the transmitting/receiving section and is cut off from the transmitting end of the transmitting/receiving section; and a second state in which it is connected to the receiving end of the transmitter/receiver and is disconnected from the receiving end of the transmitting/receiving section, and the switching end is always in the first state when power is not supplied to the communication control device. and when the switching end is connected to a downstream loop line, power is supplied to the communication control device, and the clock value does not exceed a predetermined value, the switching end is placed in the second state. The communication control device is configured to have a timekeeping means and a control means for clearing the timed value of the timekeeping means at regular intervals so that the timed value does not exceed a predetermined value when the communication control device is operating normally. You can also do that.

【0012】この場合において、切換端は、ブレーク接
点が送受信部の受信端に接続され、メーク接点が送受信
部の送信端に接続されているリレーのコモンであること
が可能である。
[0012] In this case, the switching terminal can be a common of a relay whose break contact is connected to the receiving end of the transmitting/receiving section and whose make contact is connected to the transmitting end of the transmitting/receiving section.

【0013】さらに、本発明の通信制御方法は、伝送方
向の上流側から伝送データを受信する受信端と、伝送方
向の下流側へ伝送データを送信する送信端とを備えた送
受信部をそれぞれ有する複数の二次局が、一次局および
ループ回線によりループ状に接続されたループ式伝送ネ
ットワークの二次局の通信制御方法において、二次局に
電源が供給されていないときは、前記送受信部の送信端
をループ回線から遮断し、かつ上流側および下流側の各
ループ回線を互いに接続する第1の状態にし、二次局に
電源が供給されると、計時を開始し、上流側および下流
側の各ループ回線間を遮断するとともに、下流側のルー
プ回線および前記送受信部の送信端間を互いに接続する
第2の状態に切り換え、二次局が正常に動作していると
きは、前記計時値が所定の値を越えないように前記計時
値を一定時間毎にクリアし、前記計時値が所定の値を越
えると、前記第1の状態に戻り、当該二次局のみを切り
離し、上流側のループ回線および下流側のループ回線を
互いに接続してループ式伝送ネットワークを復旧するこ
とを特徴とするものである。
Furthermore, the communication control method of the present invention each includes a transmitting/receiving section having a receiving end that receives transmission data from the upstream side in the transmission direction, and a transmitting end that transmits the transmission data to the downstream side in the transmission direction. In a communication control method for a secondary station in a loop transmission network in which a plurality of secondary stations are connected in a loop by a primary station and a loop line, when power is not supplied to the secondary station, When the transmitting end is cut off from the loop line and the loop lines on the upstream and downstream sides are connected to each other, the transmitting end is set to the first state, and when power is supplied to the secondary station, timekeeping starts and the loop lines on the upstream and downstream sides are connected to each other. When the secondary station is operating normally, the time value is The time value is cleared at regular intervals so that the time value does not exceed a predetermined value, and when the time value exceeds a predetermined value, the state returns to the first state, disconnects only the secondary station, and disconnects the upstream station. This system is characterized in that a loop line and a downstream loop line are connected to each other to restore a loop type transmission network.

【0014】[0014]

【作用】通信制御装置に電源が供給されていないときは
、送受信部の受信端および上流側のループ回線を互いに
接続し、かつ前記送受信部の送信端をループ回線から遮
断する第1の状態になっている。したがって、一次局お
よび他の二次局が既に立ち上がっている場合、これら各
局の間の通信は可能である。
[Operation] When power is not supplied to the communication control device, the receiving end of the transmitting/receiving section and the upstream loop line are connected to each other, and the transmitting end of the transmitting/receiving section is cut off from the loop line. It has become. Therefore, if the primary station and other secondary stations are already up, communication between these stations is possible.

【0015】通信制御装置に電源が供給されると、計時
手段の計時が開始され、上流側および下流側の各ループ
回線間を遮断するとともに、下流側のループ回線および
送受信部の送信端間を互いに接続する第2の状態に切り
換わる。通信制御装置が正常に動作しているときは、計
時手段の計時値が所定の値を越えないように制御手段が
計時値を一定時間毎にクリアするから、前記第2の状態
が続く。
[0015] When power is supplied to the communication control device, the timer starts measuring time, and the loop lines on the upstream and downstream sides are cut off, and the loop line on the downstream side and the transmitting end of the transmitting/receiving section are cut off. Switch to a second state in which they are connected to each other. When the communication control device is operating normally, the second state continues because the control means clears the time value of the time measurement means at regular intervals so that the time value does not exceed a predetermined value.

【0016】何らかの障害が発生し、計時手段の計時値
が所定の値を越えると、切換端は前記第1の状態に戻り
、当該二次局の通信制御装置のみを切り離し、上流側の
ループ回線および下流側のループ回線を互いに接続して
ループ式伝送ネットワークを復旧する。したがって、一
次局および他の二次局間の通信は、依然として可能であ
る。
When some kind of failure occurs and the time value of the timer exceeds a predetermined value, the switching end returns to the first state, disconnects only the communication control device of the secondary station, and disconnects the upstream loop line. and downstream loop lines to each other to restore the loop transmission network. Therefore, communication between the primary station and other secondary stations is still possible.

【0017】[0017]

【実施例】本発明の実施例を図面に基づいて説明する。[Embodiment] An embodiment of the present invention will be explained based on the drawings.

【0018】図1は本発明の通信制御装置の第1の実施
例の構成を示し、本実施例の通信制御装置11は、図5
に示すループ式伝送ネットワークの各二次局に適用可能
である。本実施例では、上流側のループ回線18に接続
されている受信端Rxおよび後述するリレー17の第1
極のメーク接点a2に接続されている送信端Txを備え
、上流側および下流側の各ループ回線18と内部との間
のインタフェースをする送受信部12と、制御手段とし
ての中央処理装置(以下、「CPU」という。)13お
よびメモリ14とが、内部バス15を介して接続された
構成に、計時手段としてのウォッチドッグタイマ16お
よび切換端としてのコモンc2を有するリレー17が付
加された構成となっている。ただし、下流側のループ回
線18および送受信部12の送信端Tx間は直接接続さ
れておらず、リレー17を介してのみ接続されるように
構成されており、また、CPU13には後述するクリア
命令を出力するプログラムが付加されている。
FIG. 1 shows the configuration of a first embodiment of the communication control device of the present invention, and the communication control device 11 of this embodiment is shown in FIG.
It is applicable to each secondary station of the loop transmission network shown in FIG. In this embodiment, the receiving end Rx connected to the upstream loop line 18 and the first
A transmitting/receiving unit 12 includes a transmitting end Tx connected to the make contact a2 of the pole and serves as an interface between each loop line 18 on the upstream side and the downstream side and the inside, and a central processing unit (hereinafter referred to as a central processing unit) as a control means. (referred to as "CPU") 13 and memory 14 are connected via an internal bus 15, and a watchdog timer 16 as a clock means and a relay 17 having a common c2 as a switching terminal are added. It has become. However, the loop line 18 on the downstream side and the transmitting end Tx of the transmitting/receiving unit 12 are not directly connected, but are configured to be connected only via the relay 17, and the CPU 13 is provided with a clear command to be described later. A program that outputs is attached.

【0019】ウォッチドッグタイマ(以下、「WDT」
という。)16は、図示しない計時カウンタを備え、内
部バス15を介してCPU13と接続されており、電源
が供給されると初期値から前記計時カウンタによる計時
を開始し、CPU13からクリア命令が出力されると前
記計時カウンタをクリアして、再び初期値から計時を開
始する。そして、WDT16は、計時中は、前記計時カ
ウンタの計時値が所定の値(以下、「タイムアウト値」
という。)を越えるまでリレー17を駆動するための駆
動信号を出力し、前記計時値が前記タイムアウト値を越
えると前記駆動信号の出力を停止するように構成されて
いる。
[0019] Watchdog timer (hereinafter referred to as "WDT")
That's what it means. ) 16 is equipped with a time counter (not shown) and is connected to the CPU 13 via the internal bus 15. When power is supplied, the time counter starts measuring time from the initial value, and a clear command is output from the CPU 13. The time counter is cleared and time measurement is restarted from the initial value. During time measurement, the WDT 16 sets the time value of the time counter to a predetermined value (hereinafter referred to as "timeout value").
That's what it means. ) is configured to output a drive signal for driving the relay 17 until the timeout value exceeds the timeout value, and to stop outputting the drive signal when the timeout value exceeds the timeout value.

【0020】送受信部12の障害時、当該送受信部12
をバイパスするバイパス手段としてのリレー17は、少
なくとも二極構成となっており、それらのうち、第1極
のメーク接点a1は送受信部12の受信端Rxに接続さ
れ、第1極および第2極のブレーク接点b2は互いに接
続され、第1極のコモンc1は上流側のループ回線18
に接続されている。また、第2極のメーク接点a2は送
受信部12の送信端Txに接続され、切換端としての第
2極のコモンc2は下流側のループ回線18に接続され
ている。図示しないリレーコイルはWDT16の前記駆
動信号の出力端に接続されている。
[0020] When a failure occurs in the transmitter/receiver 12, the transmitter/receiver 12
The relay 17, which serves as a bypass means for bypassing the The break contacts b2 are connected to each other, and the first pole common c1 is connected to the upstream loop line 18.
It is connected to the. Further, the make contact a2 of the second pole is connected to the transmitting end Tx of the transmitting/receiving section 12, and the common c2 of the second pole as a switching end is connected to the loop line 18 on the downstream side. A relay coil (not shown) is connected to the output end of the drive signal of the WDT 16.

【0021】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0022】通信制御装置11に電源が供給されていな
いときは、リレー17の第1極のコモンc1が同ブレー
ク接点b1側に、第2極のコモンc2が同ブレーク接点
b2側にそれぞれ接続された状態になっており、上流側
および下流側の各ループ回線18が互いに短絡され、か
つ送受信部12の送信端Txが各ループ回線18からそ
れぞれ遮断された第1の状態になっている。したがって
、一次局および他の二次局が既に立ち上がっている場合
、これら各局の間の通信は可能である。
When power is not supplied to the communication control device 11, the first pole common c1 of the relay 17 is connected to the break contact b1 side, and the second pole common c2 is connected to the break contact b2 side. The upstream and downstream loop lines 18 are short-circuited to each other, and the transmitting end Tx of the transmitting/receiving section 12 is disconnected from each loop line 18, which is the first state. Therefore, if the primary station and other secondary stations are already up, communication between these stations is possible.

【0023】通信制御装置11に電源が供給されると、
WDT16の計時カウンタの計時が開始されるとともに
、WDT16からリレー17を駆動するための駆動信号
が出力される。リレー17は、第1極のコモンc1が同
メーク接点a1側に、第2極のコモンc2が同メーク接
点a2側にそれぞれ切り換わって第2の状態となり、上
流側および下流側の各ループ回線18間が遮断されると
ともに、下流側のループ回線18および送受信部12の
送信端Tx間が接続されて運用状態となる。
[0023] When power is supplied to the communication control device 11,
The time counter of the WDT 16 starts counting time, and a drive signal for driving the relay 17 is output from the WDT 16 . The relay 17 switches the first pole common c1 to the make contact a1 side and the second pole common c2 to the make contact a2 side to enter the second state, and each loop line on the upstream side and downstream side 18 is cut off, and the loop line 18 on the downstream side and the transmitting end Tx of the transmitting/receiving section 12 are connected to become operational.

【0024】この運用状態中、正常に動作しているCP
U13は、付加されたプログラムにより、WDT16の
計時カウンタの計時値が初期値から前記タイムアウト値
となる時間より若干短い一定時間間隔毎にクリア命令を
出力し、WDT16の計時カウンタをクリアする。WD
T16の計時カウンタは、計時値が前記タイムアウト値
を越えることなくカウントアップとクリアを繰り返すた
め、リレー17を駆動するための駆動信号を出力し続け
る。したがって、通信制御装置11としては、図5およ
び図6にそれぞれ示す従来の通信制御装置32〜36と
実質的に同様の動作をする(すなわち互換性を有する)
[0024] During this operational state, the CP that is operating normally
U13 outputs a clear command according to the added program at fixed time intervals slightly shorter than the time when the time value of the time counter of the WDT 16 changes from the initial value to the timeout value, thereby clearing the time counter of the WDT 16. W.D.
The time counter T16 repeats counting up and clearing without the time value exceeding the timeout value, so it continues to output a drive signal for driving the relay 17. Therefore, the communication control device 11 operates substantially in the same way as the conventional communication control devices 32 to 36 shown in FIGS. 5 and 6, respectively (i.e., is compatible).
.

【0025】何らかの障害により、一定時間間隔毎に出
力されるべきクリア命令が出力されないためWDT16
がクリアされず、WDT16の計時値が前記タイムアウ
ト値を越えると、WDT16はリレー17を駆動するた
めの駆動信号の出力を停止し、リレー17の各接点は、
上述した電源が供給されていないときの状態に戻り、当
該二次局の通信制御装置11のみを切り離し、上流側お
よび下流側の各ループ回線18を短絡してループ式伝送
ネットワークを復旧する。したがって、一次局および他
の二次局間の通信は、依然として可能である。
[0025] Due to some failure, the clear command that should be output at regular time intervals is not output, so WDT16
is not cleared and the clock value of the WDT 16 exceeds the timeout value, the WDT 16 stops outputting the drive signal for driving the relay 17, and each contact of the relay 17
Returning to the state described above when power is not supplied, only the communication control device 11 of the secondary station is disconnected, and each loop line 18 on the upstream and downstream sides is short-circuited to restore the loop transmission network. Therefore, communication between the primary station and other secondary stations is still possible.

【0026】図2は本発明を射出成形機に適用したよう
すを示し、射出成形機20の各部位には制御盤ユニット
21、型盤エジェクタ制御ユニット22、ローカルボッ
クスユニット23および射出制御ユニット24がそれぞ
れ設けられ、各制御ユニットを接続するケーブル25は
図示しないダクトの中を通って配線されている。
FIG. 2 shows how the present invention is applied to an injection molding machine, and each part of the injection molding machine 20 includes a control panel unit 21, a mold plate ejector control unit 22, a local box unit 23, and an injection control unit 24. A cable 25 that is provided and connects each control unit is routed through a duct (not shown).

【0027】このように、各制御ユニットをループ回線
で接続された射出成形機では、1箇所の制御ユニットの
通信制御装置に障害が発生した場合でも、障害が発生し
た制御ユニットのみを切り離し運転することが可能であ
るから、射出成形機の安全性および信頼性を向上するこ
とができる。また、このような射出成形機20を複数台
設置してそれぞれ二次局とする(射出成形機以外の二次
局が併存していてもよい。)とともに、これらをループ
回線で接続し、1箇所の制御装置で集中制御するように
すれば、障害が発生した射出成形機のみを切り離し、他
の射出成形機は正常に運転することが可能であるから、
システム全体が停止してしまうようなことが少なくなる
。射出成形機は、一般に高能率が要求されるので、他の
機械に障害が発生しても運転を継続できれば無人システ
ム化を推進でき、成形品のコスト低減も可能となる。
In this way, in an injection molding machine in which each control unit is connected by a loop line, even if a failure occurs in the communication control device of one control unit, only the failed control unit can be disconnected and operated. Therefore, the safety and reliability of the injection molding machine can be improved. In addition, a plurality of such injection molding machines 20 may be installed, each serving as a secondary station (a secondary station other than the injection molding machine may coexist), and these may be connected via a loop line to provide one By centralizing control using local control devices, it is possible to disconnect only the injection molding machine where the problem has occurred and allow the other injection molding machines to operate normally.
This reduces the chances of the entire system stopping. Injection molding machines generally require high efficiency, so if they can continue operating even if other machines fail, it will be possible to promote unmanned systems and reduce the cost of molded products.

【0028】図3は本発明の通信制御装置の第2の実施
例の構成を示す。
FIG. 3 shows the configuration of a second embodiment of the communication control device of the present invention.

【0029】本実施例の通信制御装置11aでは、リレ
ー17aは、第1の実施例と同様に二極構成となってお
り、それらのうち、第1極のブレーク接点b1は上流側
のループ回線18および送受信部12の受信端Rxに接
続され、第1極のコモンc1は第2極のブレーク接点b
2に接続され、切換端としての第2極のコモンc2は下
流側のループ回線18に接続され、第2極のメーク接点
a2は送受信部12の送信端Txに接続されている。そ
の他の構成は、図1に示す第1の実施例と同様であるの
で、説明を省略する。
In the communication control device 11a of this embodiment, the relay 17a has a two-pole structure as in the first embodiment, and the break contact b1 of the first pole is connected to the upstream loop line. 18 and the receiving end Rx of the transmitting/receiving section 12, the first pole common c1 is connected to the second pole break contact b
2, the second pole common c2 serving as a switching end is connected to the loop line 18 on the downstream side, and the second pole make contact a2 is connected to the transmitting end Tx of the transmitting/receiving section 12. The rest of the configuration is the same as that of the first embodiment shown in FIG. 1, so a description thereof will be omitted.

【0030】以上説明した各実施例では、リレー17の
うちの二極を用いた構成としているが、これに限らず、
例えばリレー17のうちの一極のみを用いた構成として
もよい。この場合、図4に示す第3の実施例である通信
制御装置11bのように、一極のみを用いたリレー17
bのブレーク接点b2を上流側のループ回線18および
送受信部12の受信端Rxに接続し、切換端としてのコ
モンc2を下流側のループ回線18に接続し、メーク接
点a2を送受信部12の送信端Txに接続すればよい。
In each of the embodiments described above, the structure uses two poles of the relay 17, but the structure is not limited to this.
For example, a configuration using only one pole of the relay 17 may be used. In this case, the relay 17 using only one pole, like the communication control device 11b which is the third embodiment shown in FIG.
The break contact b2 of b is connected to the loop line 18 on the upstream side and the receiving end Rx of the transmitting/receiving section 12, the common c2 as a switching end is connected to the loop line 18 on the downstream side, and the make contact a2 is connected to the transmitting end Rx of the transmitting/receiving section 12. Just connect it to the end Tx.

【0031】また、各実施例では、切換端としてリレー
のコモンを用いているが、これに限らず、例えばフォト
モスリレー(アナログスイッチ)等を用いてもよい。
Further, in each of the embodiments, a relay common is used as a switching terminal, but the switching terminal is not limited to this, and for example, a photoMOS relay (analog switch) or the like may be used.

【0032】また、CPU13は、一定時間間隔毎にク
リア命令を出力するのみでなく、一次局との間であらか
じめ設定された時間間隔毎に一次局側からの伝送データ
のフレームを正常に受け取らなかったときはクリア命令
を出力しないようにしておけば、通信制御のハードウェ
アおよびソフトウェアをチェックすることもでき、より
効果的である。
[0032] In addition, the CPU 13 not only outputs a clear command at regular time intervals, but also detects when a frame of transmitted data from the primary station is not normally received at preset time intervals with the primary station. It is more effective if the clear command is not output when the communication control hardware and software are checked.

【0033】[0033]

【発明の効果】本発明は上述のとおり構成されているの
で、以下に記載するような効果を奏する。
[Effects of the Invention] Since the present invention is constructed as described above, it produces the following effects.

【0034】ループ式伝送ネットワークにおいて、一部
の二次局に障害が発生した場合や、電源が供給されてい
ない場合でも、当該二次局の通信制御装置11のみを切
り離し、上流側および下流側の各ループ回線18を短絡
してループ式伝送ネットワークを復旧することができ、
他の二次局および一次局間の通信が可能となる。したが
って、ネットワークのシステム全体としての信頼性が増
す。
In a loop type transmission network, even if a failure occurs in some secondary stations or power is not supplied, only the communication control device 11 of the secondary station is disconnected and the upstream and downstream sides are disconnected. The loop transmission network can be restored by short-circuiting each loop line 18,
Communication between other secondary stations and primary stations becomes possible. Therefore, the reliability of the network as a whole increases.

【0035】特に、二次局が射出成形機である場合は、
成形品のコストを低減できる。
In particular, when the secondary station is an injection molding machine,
The cost of molded products can be reduced.

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

【図1】本発明の通信制御装置の第1の実施例の構成を
示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing the configuration of a first embodiment of a communication control device of the present invention.

【図2】本発明を射出成形機に適用した例を示す斜視図
である。
FIG. 2 is a perspective view showing an example in which the present invention is applied to an injection molding machine.

【図3】本発明の通信制御装置の第2の実施例の構成を
示す概略構成図である。
FIG. 3 is a schematic configuration diagram showing the configuration of a second embodiment of the communication control device of the present invention.

【図4】本発明の通信制御装置の第3の実施例の構成を
示す概略構成図である。
FIG. 4 is a schematic configuration diagram showing the configuration of a third embodiment of the communication control device of the present invention.

【図5】ループ式伝送ネットワークの構成例を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration example of a loop-type transmission network.

【図6】通信制御装置の従来例を示す概略構成図である
FIG. 6 is a schematic configuration diagram showing a conventional example of a communication control device.

【図7】図6に示す通信制御装置中の送受信部の構成を
示す概略構成図である。
7 is a schematic configuration diagram showing the configuration of a transmitting/receiving section in the communication control device shown in FIG. 6. FIG.

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

11,11a,11b    通信制御装置12   
 送受信部 13    中央処理装置 14    メモリ 15    内部バス 16    ウォッチドッグタイマ 17,17a,17b    リレー 18    ループ回線 20    射出成形機 21    制御盤ユニット 22    型盤エジェクタ制御ユニット23    
ローカルボックスユニット24    射出制御ユニッ
ト 25    ケーブル
11, 11a, 11b communication control device 12
Transmission/reception unit 13 Central processing unit 14 Memory 15 Internal bus 16 Watchdog timer 17, 17a, 17b Relay 18 Loop line 20 Injection molding machine 21 Control panel unit 22 Mold plate ejector control unit 23
Local box unit 24 Injection control unit 25 Cable

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  伝送方向の上流側から伝送データを受
信する受信端(Rx)と、伝送方向の下流側へ伝送デー
タを送信する送信端(Tx)とを備えた送受信部(12
)をそれぞれ有する複数の二次局が、一次局およびルー
プ回線(18)によりループ状に接続されたループ式伝
送ネットワークの二次局用として用いられる通信制御装
置において、前記送受信部(12)の障害時、当該送受
信部(12)をバイパスするバイパス手段(17)を有
することを特徴とする通信制御装置。
Claim 1: A transmitting/receiving unit (12
) in a communication control device used as a secondary station of a loop-type transmission network in which a plurality of secondary stations each having a primary station and a loop line (18) are connected in a loop by a loop line (18). A communication control device comprising bypass means (17) that bypasses the transmitter/receiver (12) in the event of a failure.
【請求項2】  バイパス手段(17)が、上流側のル
ープ回線(18)と接続され、かつ送受信部(12)の
送信端(Tx)とは遮断される第1の状態と、前記送受
信部(12)の送信端(Tx)と接続され、かつ上流側
のループ回線(18)とは遮断される第2の状態とが切
り換え可能であり、通信制御装置に電源が供給されてい
ないときは常に前記第1の状態となる切換端(c2)を
有し、該切換端(c2)が下流側のループ回線(18)
に接続されており、通信制御装置に電源が供給され、か
つ計時値が所定の値を越えないとき、前記切換端(c2
)を前記第2の状態にする計時手段(16)と、通信制
御装置が正常に動作しているときは、前記計時手段(1
6)の計時値が所定の値を越えないように該計時値を一
定時間毎にクリアする制御手段(13,14)とを有す
る請求項1記載の通信制御装置。
2. A first state in which the bypass means (17) is connected to the upstream loop line (18) and is cut off from the transmitting end (Tx) of the transmitting/receiving section (12); (12) is connected to the transmitting end (Tx) and is cut off from the upstream loop line (18), and when power is not supplied to the communication control device, The loop line (18) has a switching end (c2) that is always in the first state, and the switching end (c2) is on the downstream side.
is connected to the communication control device, and when power is supplied to the communication control device and the clock value does not exceed a predetermined value, the switching end (c2
) to the second state, and when the communication control device is operating normally, the clocking means (16)
2. The communication control device according to claim 1, further comprising control means (13, 14) for clearing the timed value at regular intervals so that the timed value does not exceed a predetermined value.
【請求項3】  切換端(c2)は、メーク接点(a2
)が送受信部(12)の送信端(Tx)に接続されてい
るリレー(17)のコモンである請求項2記載の通信制
御装置。
[Claim 3] The switching end (c2) is a make contact (a2
) is a common of a relay (17) connected to a transmitting end (Tx) of the transmitting/receiving section (12).
【請求項4】  バイパス手段(17)が、送受信部(
12)の受信端(Rx)と接続され、かつ前記送受信部
(12)の送信端(Tx)とは遮断される第1の状態と
、前記送受信部(12)の送信端(Tx)と接続され、
かつ前記送受信部(12)の受信端(Rx)とは遮断さ
れる第2の状態とが切り換え可能であり、通信制御装置
に電源が供給されていないときは常に前記第1の状態と
なる切換端(c2)を有し、該切換端(c2)が下流側
のループ回線(18)に接続されており、通信制御装置
に電源が供給され、かつ計時値が所定の値を越えないと
き、前記切換端(c2)を前記第2の状態にする計時手
段(16)と、通信制御装置が正常に動作しているとき
は、前記計時手段(16)の計時値が所定の値を越えな
いように該計時値を一定時間毎にクリアする制御手段(
13,14)とを有する請求項1記載の通信制御装置。
4. The bypass means (17) includes a transmitting/receiving section (
12) is connected to the receiving end (Rx) of the transmitter/receiver (12) and disconnected from the transmitter end (Tx) of the transmitter/receiver (12); and is,
and a second state in which the receiving end (Rx) of the transmitting/receiving unit (12) is cut off, and the switching is always in the first state when power is not supplied to the communication control device. when the switching end (c2) is connected to the downstream loop line (18), power is supplied to the communication control device, and the timed value does not exceed a predetermined value; When the timer (16) for setting the switching end (c2) in the second state and the communication control device are operating normally, the timer value of the timer (16) does not exceed a predetermined value. A control means (
13, 14). The communication control device according to claim 1.
【請求項5】  切換端(c2)は、ブレーク接点(b
2)が送受信部(12)の受信端(Rx)に接続され、
メーク接点(a2)が送受信部(12)の送信端(Tx
)に接続されているリレー(17)のコモンである請求
項4記載の通信制御装置。
5. The switching end (c2) is a break contact (b
2) is connected to the receiving end (Rx) of the transmitting/receiving section (12),
The make contact (a2) is connected to the transmitting end (Tx) of the transmitting/receiving section (12).
5. The communication control device according to claim 4, wherein the communication control device is a common of a relay (17) connected to a relay (17).
【請求項6】  伝送方向の上流側から伝送データを受
信する受信端(Rx)と、伝送方向の下流側へ伝送デー
タを送信する送信端(Tx)とを備えた送受信部(12
)をそれぞれ有する複数の二次局が、一次局およびルー
プ回線(18)によりループ状に接続されたループ式伝
送ネットワークの二次局の通信制御方法において、二次
局に電源が供給されていないときは、前記送受信部(1
2)の送信端(Tx)をループ回線(18)から遮断し
、かつ上流側および下流側の各ループ回線(18)を互
いに接続する第1の状態にし、二次局に電源が供給され
ると、計時を開始し、上流側および下流側の各ループ回
線間(18)を遮断するとともに、下流側のループ回線
(18)および前記送受信部(12)の送信端(Tx)
間を互いに接続する第2の状態に切り換え、二次局が正
常に動作しているときは、前記計時値が所定の値を越え
ないように前記計時値を一定時間毎にクリアし、前記計
時値が所定の値を越えると、前記第1の状態に戻り、当
該二次局のみを切り離し、上流側のループ回線(18)
および下流側のループ回線(18)を互いに接続してル
ープ式伝送ネットワークを復旧することを特徴とする通
信制御方法。
6. A transmitting/receiving unit (12) comprising a receiving end (Rx) that receives transmission data from the upstream side in the transmission direction, and a transmitting end (Tx) that transmits the transmission data to the downstream side in the transmission direction.
) in a communication control method for a secondary station in a loop transmission network in which a plurality of secondary stations each having a primary station and a loop line (18) are connected in a loop by a loop line (18), wherein power is not supplied to the secondary station. When the transmitting/receiving unit (1
The transmitting end (Tx) of 2) is cut off from the loop line (18), and the upstream and downstream loop lines (18) are connected to each other in the first state, and power is supplied to the secondary station. Then, time measurement is started, and the connections between the upstream and downstream loop lines (18) are cut off, and the downstream loop line (18) and the transmitting end (Tx) of the transmitting/receiving section (12) are cut off.
When the secondary station is operating normally, the clock value is cleared at regular intervals so that the clock value does not exceed a predetermined value, and the clock When the value exceeds a predetermined value, the state returns to the first state, disconnects only the secondary station, and disconnects the upstream loop line (18).
and a downstream loop line (18) are connected to each other to restore a loop transmission network.
JP3181049A 1991-03-04 1991-07-22 Communication controller and communication control method Pending JPH04330836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181049A JPH04330836A (en) 1991-03-04 1991-07-22 Communication controller and communication control method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3-18213 1991-03-04
JP1821391 1991-03-04
JP3181049A JPH04330836A (en) 1991-03-04 1991-07-22 Communication controller and communication control method

Publications (1)

Publication Number Publication Date
JPH04330836A true JPH04330836A (en) 1992-11-18

Family

ID=26354860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181049A Pending JPH04330836A (en) 1991-03-04 1991-07-22 Communication controller and communication control method

Country Status (1)

Country Link
JP (1) JPH04330836A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014007601A (en) * 2012-06-25 2014-01-16 Hitachi Ltd Built-in interface circuit
JP2018133653A (en) * 2017-02-14 2018-08-23 日本電信電話株式会社 Optical node device, ring network system, and failure recovery method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014007601A (en) * 2012-06-25 2014-01-16 Hitachi Ltd Built-in interface circuit
JP2018133653A (en) * 2017-02-14 2018-08-23 日本電信電話株式会社 Optical node device, ring network system, and failure recovery method

Similar Documents

Publication Publication Date Title
US4464658A (en) Multipoint data communication system with collision detection
EP0494695B1 (en) Loop mode transmission system with bus mode backup and a method of maintaining continuity thereof
HK1006053B (en) Loop mode transmission system with bus mode backup and a method of maintaining continuity thereof
JP3181963B2 (en) Transmission terminal equipment
JPH04330836A (en) Communication controller and communication control method
JPH0352016A (en) Double actuation system for power unit
JP2679775B2 (en) Communication method between CPUs
JP2002135337A (en) Network connection device
JPH079465Y2 (en) LAN interface
JP2771385B2 (en) Data transmission equipment
JPH085380B2 (en) Parallel multiple electronic interlocking device
JP2728959B2 (en) Communication device
JPH08206Y2 (en) Parallel multiple electronic interlocking device
JPH0644764B2 (en) Data transmission system
JPH0191547A (en) Common bus system
JPH0338937A (en) Network module
JPS60197045A (en) Loop connection control system
JPS62203441A (en) Abnormality processing circuit for repeater
JP2568295B2 (en) Control output coordination device in remote control device
JP3125683B2 (en) Transmission right monitoring device in loop type network
JPS6046898B2 (en) Dual transmission line switching method
JPH022258A (en) Signal line duplicated loopback system
JPS6048937B2 (en) Duplex line switching device
JPS60185449A (en) Information transmitter
KR20010018464A (en) Apparatus for surveillance of stationary operation of serial communication part in exchange system