JPH0318149A - Data transmission network system - Google Patents

Data transmission network system

Info

Publication number
JPH0318149A
JPH0318149A JP1152611A JP15261189A JPH0318149A JP H0318149 A JPH0318149 A JP H0318149A JP 1152611 A JP1152611 A JP 1152611A JP 15261189 A JP15261189 A JP 15261189A JP H0318149 A JPH0318149 A JP H0318149A
Authority
JP
Japan
Prior art keywords
network
network controller
controller
command
registration
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
JP1152611A
Other languages
Japanese (ja)
Inventor
Hiroyuki Takeda
竹田 弘之
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.)
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Original Assignee
Mitutoyo Corp
Mitsutoyo Kiko 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 Mitutoyo Corp, Mitsutoyo Kiko Co Ltd filed Critical Mitutoyo Corp
Priority to JP1152611A priority Critical patent/JPH0318149A/en
Publication of JPH0318149A publication Critical patent/JPH0318149A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow each controller to participate in a network at optional time by returning a registration permitting command in response to a registration requesting command sent from each controller. CONSTITUTION:When other network controller 1j except one network controller 1i participates in a network, a switching means 22 connects the controller in series with a transmission line 4 to send a registration requesting command to the controller 1i. Thus, the controller 1i receivers a registration request from other controller 1j and registers the address of the controller to a storage area 14A and sends a registration permission command. Thus, the other controller executes the data transmission on the condition of the reception of the registration permitting command.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ伝送ネットワークシステムに関する.
詳しくは、各ネットワークコントローラを任意時にネッ
トワークに参加できるようにしたデータ伝送ネットワー
クシステムに関する.[従来の技術] 従来のデータ伝送ネットワークシステムを第8図に示す
.これは、伝送回線104を通じてループ状に接続され
た複数台のネットワークコントローラ101+〜101
.から構成されている.各ネットワークコントローラ1
011〜101,は、バス111を通じて接続されたc
puit2、ROM113、RAM114、I/011
5およびI/0116から構戒されている.■/011
′5には、ホストコンピュータまたは端末が接続される
.I/0116には、前記伝送回線lO4が接続されて
いる. 各ネットワークコントローラ101.〜101.のCP
U112は、伝送回線104を通じて送信されてきたコ
マンドをI/0116を介して取込み、そのコマンドに
含まれるアドレスが自己のアドレスか否かを判断する.
自己のアドレスでなければ、そのコマンドをI/011
6を通じて次のネットワークコントローラ(第8図では
、左回り方向のネットワークコントローラ)へ送信する
.一方、自己のアドレスであれば、そのコマンドに対す
る処理を実行する. [発明が解決しようとする課題] 従来のシステムでは、上述した構成であるため、全ての
ネットワークコントローラ1011〜101.,が正常
に機能していることを条件としてネットワークが構築さ
れる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission network system.
In detail, this article relates to a data transmission network system that allows each network controller to participate in the network at any time. [Prior Art] Figure 8 shows a conventional data transmission network system. This includes a plurality of network controllers 101+ to 101 connected in a loop through a transmission line 104.
.. It is composed of. Each network controller 1
011 to 101, c connected through bus 111
puit2, ROM113, RAM114, I/011
5 and I/0116. ■/011
'5 is connected to a host computer or terminal. The transmission line IO4 is connected to I/0116. Each network controller 101. ~101. CP of
The U 112 takes in the command sent through the transmission line 104 via the I/0 116, and determines whether the address included in the command is its own address.
If it is not your own address, send the command to I/011.
6 to the next network controller (in FIG. 8, the counterclockwise network controller). On the other hand, if it is its own address, it executes the process for that command. [Problems to be Solved by the Invention] In the conventional system, since it has the above-mentioned configuration, all the network controllers 1011 to 101. , is functioning normally.

従って、各ネットワークコントローラ1011〜101
,自体が正常であるとすれば、全てのネットワークコン
トローラ1011〜101,の電源がオンされて初めて
ネットワークが構築されることになる. このことは、飼えば各ネットワークコントローラ101
1〜101.が離れた場所に配置され、かつ、全てのネ
ットワークコントローラ10l1〜101.に同時に電
源を供給できない場合、全てのネットワークコントロー
ラ1011〜101,の電源がオンされるまでには時間
がかかるため、その間ネットワークを構築できないとい
う問題がある. ここに、本発明の目的は、このような従来の問題を解決
し、各ネットワークコントローラを任意時にネットワー
クに参加させることかできるデータ伝送ネットワークシ
ステムを提供することにある. [課題を解決するための手段] そのため、本発明では、伝送回線を通じてループ状に接
続され互いにデータ伝送可能な複数台のネットワークコ
ントローラを備えたデータ伝送ネットワークシステムに
おいて、前記いずれか一のネットワークコントローラは
、前記各ネットワークコントローラのアドレスを記憶す
る記憶エリアと、他のいずれかのネットワークコントロ
ーラから登録要求コマンドを受信した際にそのネットワ
ークコントローラのアドレスを前記記憶エリアに登録し
た後登録許可コマンドを送信する制御手段とを備え、前
記他の各ネットワークコントローラは、そのネットワー
クコントローラを前記伝送回線中に直列に接続可能およ
びネットワークコントローラを伝送回線から切離しかつ
伝送回線を短絡可能な切換手段と、この切換手段によっ
てネットワークコントローラが前記伝送回線中に直列に
接続された状態において前記一のネットワークコントロ
ーラへ登録要求コマンドを送信する手段およびこの登録
要求コマンドに応答して前記一のネットワークコントロ
ーラから登録許可コマンドを受信したことを条件として
データ伝送を実行する手段を有する制御手段とを備えた
、ことを特徴とする. [作 用] いずれか一のネットワークコントローラを除く他のネッ
トワークコントローラがネットワークに参加する場合、
切換手段によってそのネットワークコントローラが伝送
回線中に直列に接続された状態とした後、一のネットワ
ークコントローラへ登録要求コマンドを送信する. すると、一のネットワークコントローラは、他のネット
ワークコントローラから登録要求コマンドを受信すると
、記憶エリアにそのネットワークコントローラのアドレ
スを登録した後、登録許可コマンドを送信する. これにより、他のネットワークコントローラは一のネッ
トワークコントローラから登録許可コマンドを受信した
ことを条件としてデータ伝送を実行できる.つまり、ネ
ットワークに参加できる.[実施例] 以下、本発明を第1図〜第7図に示ず一実施例を基に詳
細に説明する. 第7図は本実施例のシステムを示している.同システム
は、伝送回線4を通じてループ状に接続され互いにデー
タ伝送可能な複数台のネットワークコントローラ1.〜
1oと、いずれか一つ例えばネットワークコントローラ
1lに接続されそのネットワークコントローラ1、とデ
ータ伝送可能なホストコンピュータ2と、前記いずれか
一つのネットワークコントローラl1を除く池のネット
ワークコントローラ12〜1fiにそれぞれ接続されそ
のネットワークコントローラ12〜1.とデータ伝送可
能な複数台の端末3 211 3 *2〜3、,3..
2とから構成されている. 第l図は前記各ネット゛ワークコントローラ1l〜1.
のブロック図を示している。同図において、llはCP
Uである,CPUIIには、16ビットのバス12を通
じて、プログラムを格納したROM13、RAM1 4
、I/015、I/016,通信用I/017,前記c
puitの暴走をチェックするウォッチドッグタイマ1
8などがそれぞれ接続されている.なお、これらの回路
は、電源がオフしても、そのオフ時から所定時間(約5
分間)だけバッテリー19によってバックアップ、つま
り正常動作が!1続できるようになっている.また、電
源がオフすると、それが停電検出回路20で検出され、
前記CPUIIへ割込信号が与えられるようになってい
る. ここで、前記RAM14には、データを格納するデータ
記憶エリアのほかに、各ネットワークコントローラ11
〜11のアドレスを記憶するアドレス記憶エリア14A
が設けられている.また、前記I/015には、前記ホ
ストコンピュータ2?各端末32■3■2〜3ml+3
.2を接続できるようになっている.また、前記1/0
16には、エラーランプ、″READY”ランプ、その
他必要なキーやスイッチ類を配置したコントロールパネ
ル2lが接続されている.更に、通信用I/017には
、切換手段22を介して前記伝送回線4が接続されてい
る.切換手段22は、通信用I/017を伝送回線4中
に直列に接続するとともに、オアー回路23を通して前
記割込信号に基づくCPUIIからの切換指令またはウ
ォッチドッグタイマ18からの切換指令が与えられると
、通信用I/017を伝送回線4から切離しかつ伝送回
線4を短絡するよう切換動作する. 第2図に切換手段22の具体的構或を示す.同切換千段
22は、伝送回線4の入力測端子4Aおよび出力側端子
4Bと通信用I /0 1 7の入力側端子17Aおよ
び出力開端子17Bとの間にそれぞれ設けられたスイッ
チ31A,31Bと、通電によりスイッチ31A,31
Bを通信用I/017の入力側端子17Aおよび出力側
端子17Bに付勢する励磁コイル32と、前記CPUI
Iおよびウォッチドッグタイマ18からの切換指令に従
って励磁コイル32への通電を制御する制御器33と、
前記スイッチ31A.31Bが入力(pl+@子17A
および出力測端子17Bから離れる方向へ復帰した際両
スイッチ31A.31B間を短絡する短絡電路34とか
ら構成されている.なお、CPUIIは、ROM13に
格納されたプログラムに従って、第3図〜第6図に示す
フローチャートの処理を実行する.ここに、CPUIl
およびROM13により、これらの処理を実行する制御
手段が構或されている. 次に、本実施例の作用を第3図〜第6図のフローチャー
トを参照しながら説明する.なお、ネットワークの構築
に当っては、ネットワーク全体の制御権を持つネットワ
ークコントローラ(メインネットワークコントローラ)
が1台あることか条件である.ここでは、仮に、ネット
ワークコントローラ1.をメインネットワークコントロ
ーラとし、他のネットワークコントローラ12〜l.を
サブネットワークコントローラとして説明を進める. (メインネットワークコントローラ) メインネットワークコントローラ1、のCPU11は、
電源がオンされると、第3図に示すフローチャートに従
って処理を実行するとともに、停電検出回路20から割
込信号が与えられると、第4図に示すフローチャートの
処理を実行する.まず、電源がオンされると、第3図の
ステップ(以下、STと略す.)1でイニシャル処理、
例えば切換手段22のスイッチ31A,31Bを端子1
7A,17Bに切換えた後、ST2へ進み自己診断処理
を行う.例えば、RAM14およびROM13のチェッ
クやRAM14のバックアップ用電池の電圧レベルのチ
ェックを行う. 続いて、ST3へ進みループイニシャルコマンドを伝送
回線4へ送信し、S T 4でループイニシャルコマン
ドの受信を待つ.ここで、ループイニシャルコマンドを
受信すれば、つまりネットワークが構築されていること
を確認すると、ST5へ進みコントロールパネル21上
の“READY″ランプを点灯させ、続いて、ST6へ
進みサブネットワークコントローラ12〜1.から登録
要求コマンドを受信したか否かを判断する.ST6にお
いて、登録要求コマンドを受信していれば、ST7へ進
みアドレス記憶エリア14Aに登録要求コマンドに含ま
れるアドレスが有るか否かを判断する.該当アドレスが
無ければ、ST8へ進みその登録要求コマンドに含まれ
るアドレスをアドレス記憶エリア14Aに登録し、続い
て、ST9へ進み登録許可コマンドを登録要求コマンド
を送信したネットワークコントローラへ送信した後、S
T6へ戻る.なお、ST7で該当アドレスが有れば、S
TIOで登録拒否コマンドを登録要求コマンドを送信し
たネットワークコントローラへ送信した後、ST6へ戻
る. また、ST6において、登録要求コマンドを受信してい
なければ、STIIへ進みサブネットワークコントロー
ラ12〜1.から登録取消コマンドを受信したか否かを
判断する.登録取消コマンドを受信していれば、ST1
2へ進みアドレス記憶エリア14Aの中から該当アドレ
スを取消し、続いて、ST13へ進み取消完了コマンド
を登録取消コマンドを送信したネットワークコントロー
ラへ送信した後、ST6へ戻る. また、ST11において、登録取消コマンドを受信して
いなければ、ST14へ進みデータ伝送処理、つまり本
来のデータ伝送業務を実行する.一方、これらの処理の
途中で割込信号を受けると、第4図のST21へ進み制
御権放棄コマンドを送信し、ST22でいずれかのサブ
ネットワークコントロラー12〜1.からの制御権受諾
コマンドを待つ.制御権受諾コマンドを受信すると、つ
まり制御権がいずれかのサブネットワークコントローラ
で受諾されたとこを確認すると、S T 23へ進み登
録取消コマンドを送信し、ST24で制御権が移された
ネットワークコントローラ(この場合、これが以後メイ
ンネットワークコントローラとなる.)からの取消完了
コマンドを待つ.ここで、取消完了コマンドを受信する
と、ST?5へ進み切換手段22をオフさせる。つまり
、制御器33を介して励磁コイル32の通電を解除させ
る.すると、スイッチ31A,31Bが端子17A.1
7Bから離れ短絡電路34を通じて短絡される. これにより、異常が発生したネットワークコントローラ
1,が伝送回線4から切離されるとともに、伝送回線4
が短絡された状態となるので、ネットワークが正常に維
持される.同時に、制御権が他のネットワークコントロ
ーラへ移されるので、ネットワークコントローラ11は
再度ネットワークに参加したときサブネットワークコン
トローラとして機能する. (サブネットワークコントローラ) 各サブネットワークコントローラ1■〜17のCPUI
Iは、電源がオンされると、第6図に示すフローチャー
トに従って処理を実行するとともに、停電検出回R20
から割込信号が与えられると、第7図に示すフローチャ
ートの処理を実行する.まず、電源がオンされると、第
5図のステップ(以下、STと略す.)31でイニシャ
ル処理、例えば切換手段22のスイッチ31A,31B
を端子17A,17B!,:切換えた後、S T 3 
2 ヘ3(aみ自己診断処理を行う.例えば、RAM1
 4およびROMl3のチェックやRAM1 4のバッ
クアップmt池の電圧レベルのチェックを行う.続いて
、ST33へ進み登録要求コマンドを伝送回線4へ送信
した後、ST34,35へ進みメインネットワークコン
トローラ1、からの登録許可コマンドまたは登録拒否コ
マンドを待つ.ST35において、登録拒否コマンドを
受信すると、ST36へ進みコントロールパネル21上
のエラーランプを点灯させ、続いて、切換手段22をオ
フした後、終了する.従って、この場合には、ネットワ
ークへ参加できない. また、ST34において、登録許可コマンドを受信する
と、ST38へ進みコントロールパネル2l上の“RE
ADY”ラングを点灯させた後、ST40で制御権放棄
コマンドを受信したか否かを判断する.制御権放棄コマ
ンドを受信していなければ、ST4 1へ進み本来のデ
ータ伝送業務を実行する.従って、メインネットワーク
コントローラ1、から登録許可コマンドを受信したこと
を条件としてネットワークに参加、つまり本来のデータ
伝送業務を実行することができる.また、ST40にお
いて、制御権放棄コマンドを受信していれば、ST4 
2へ進み制御権受諾コマンドをメインネットワークコン
トローラ11へ送信した後、ST43へ進みメインネッ
トワークコントローラとしての処理、つまり第4図のS
T6〜ST14および第5図のS721〜ST2 5の
処理を行う.従って、メインネットワークコントローラ
11に障害が発生し、制御権を放棄した場合には、以後
他のいずれかのサブネットワークコントローラl2〜1
.がその制御権を受継ぎ、メインネットワークコントロ
ーラとして機能する.一方、停電検出回路20から割込
信号が与えられると、第6図のST5 1へ進み登録取
消コマンドを送信し、ST52でメインネットワークコ
ントローラ1lからの取消完了コマンドを待つ.取消完
了コマンドを受信すると、切換千段22をオフした後、
終了する.従って、この場合にも、異常が発生したネッ
トワークコントローラは伝送回線4から切離されるとと
もに、伝送回線4は短絡された状態となるため、ネット
ワークが正常に維持される. 従って、本実施例によれば、ネットワークを構築する複
数台のネットワークコントローラ11〜l.のうち、い
ずれか一のネットワークコントローラに異常が発生する
と、そのネットワークコントローラは伝送回線4から切
離されるとともに、伝送回線4は短絡された状態となる
ため、ネットワークコントローラに障害が発生した場合
でも、ネットワークの機能を正常に維持させることがで
きる. また、ネットワークの制御権を持つネットワークコント
ローラ1.を除く他のネットワークコントローラ12〜
l.は、自己のアドレスがネットワークコントローラl
,のアドレス記憶エリアl4Aに登録され、かつ、ネッ
トワークコントローラ1Iから登録許可コマンドを受信
したことを条件としてネットワークに参加できるように
したので、つまり各ネットワークコントローラは任意時
にネットワークに参加できるため、例えば各ネットワー
クコントローラが離れた場所に配置され全てのネットワ
ークコントローラに対して同時に電源を供給できない場
合でも、必要なネットワークコントローラの電源投入だ
けでネットワークを構築することができる. また、ネットワークの制御権を持つネットワークコント
ローラ11に異常が発生した場合、その制御権を他のネ
ットワークコントローラへ移し、以後そのネットワーク
コントローラがメインネットワークコントローラとして
機能するようにしたので、メインネットワークコントロ
ーラの障害に対してもネットワークの機能を正常に維持
させることができる. [発明の効果] 以上の通り、本発明によれば、各ネ・yトワークコント
ローラを任意時にネットワークに参加できるようにした
ので、従来のように、全てのネットワークコントローラ
の電源がオンされるまでネットワークを構築できないと
いう不都合を解消することができる.
Therefore, each network controller 1011 to 101
, themselves are normal, a network will be constructed only after all network controllers 1011 to 101 are powered on. This means that each network controller 101
1-101. are located at remote locations, and all network controllers 10l1 to 101. If power cannot be supplied to all the network controllers 1011 to 101 at the same time, it takes time for all the network controllers 1011 to 101 to be powered on, so there is a problem that a network cannot be constructed during that time. SUMMARY OF THE INVENTION An object of the present invention is to solve these conventional problems and provide a data transmission network system that allows each network controller to participate in the network at any time. [Means for Solving the Problems] Therefore, in the present invention, in a data transmission network system including a plurality of network controllers connected in a loop through a transmission line and capable of mutually transmitting data, any one of the network controllers is , a storage area for storing the address of each network controller, and control for registering the address of the network controller in the storage area and then transmitting a registration permission command when a registration request command is received from any other network controller. and switching means capable of connecting the network controller in series to the transmission line and disconnecting the network controller from the transmission line and short-circuiting the transmission line; Means for transmitting a registration request command to the one network controller in a state where the controllers are connected in series in the transmission line, and receiving a registration permission command from the one network controller in response to the registration request command. and a control means having means for executing data transmission as a condition. [Operation] When network controllers other than one of the network controllers participate in the network,
After the network controllers are connected in series in the transmission line by the switching means, a registration request command is sent to the first network controller. Then, when one network controller receives a registration request command from another network controller, it registers the address of that network controller in its storage area, and then sends a registration permission command. This allows other network controllers to perform data transmission on the condition that they receive a registration permission command from one network controller. In other words, you can participate in the network. [Example] Hereinafter, the present invention will be described in detail based on an example not shown in FIGS. 1 to 7. Figure 7 shows the system of this embodiment. The system consists of a plurality of network controllers 1.1 connected in a loop through a transmission line 4 and capable of transmitting data to each other. ~
1o, any one of them is connected to, for example, a network controller 1l and is capable of transmitting data to the network controller 1, and a host computer 2 is connected to the network controllers 12 to 1fi, excluding any one of the network controllers l1. The network controller 12-1. Multiple terminals 3 capable of data transmission 211 3 *2-3,,3. ..
It is composed of 2. FIG. 1 shows each of the network controllers 1l to 1.
The block diagram is shown. In the same figure, ll is CP
The CPU II, which is the
, I/015, I/016, communication I/017, above c
Watchdog timer 1 to check puit runaway
8 etc. are connected to each other. Note that even if the power is turned off, these circuits will continue to operate for a predetermined period of time (approximately 5
) is backed up by the battery 19, which means normal operation! It is designed to be continuous. Also, when the power is turned off, it is detected by the power failure detection circuit 20,
An interrupt signal is given to the CPU II. Here, in addition to a data storage area for storing data, the RAM 14 includes a data storage area for each network controller 11.
Address storage area 14A for storing addresses of ~11
is provided. The I/015 also includes the host computer 2? Each terminal 32■3■2~3ml+3
.. 2 can be connected. Also, the above 1/0
16 is connected to a control panel 2l on which an error lamp, a "READY" lamp, and other necessary keys and switches are arranged. Further, the transmission line 4 is connected to the communication I/017 via a switching means 22. The switching means 22 connects the communication I/017 in series to the transmission line 4, and receives a switching command from the CPU II based on the interrupt signal or a switching command from the watchdog timer 18 through the OR circuit 23. , a switching operation is performed to disconnect the communication I/017 from the transmission line 4 and short-circuit the transmission line 4. FIG. 2 shows the specific structure of the switching means 22. The switching stage 22 includes switches 31A and 31B provided respectively between the input measuring terminal 4A and the output side terminal 4B of the transmission line 4 and the input side terminal 17A and the output open terminal 17B of the communication I/017. , the switches 31A and 31 are turned on by energization.
An excitation coil 32 that energizes the input side terminal 17A and the output side terminal 17B of the communication I/017, and the CPU
a controller 33 that controls energization of the excitation coil 32 in accordance with switching commands from I and the watchdog timer 18;
The switch 31A. 31B is input (pl+@child 17A
and when the switch 31A returns to the direction away from the output measuring terminal 17B. 31B, and a short-circuit circuit 34 that short-circuits between 31B and 31B. Note that the CPU II executes the processes shown in the flowcharts shown in FIGS. 3 to 6 according to the program stored in the ROM 13. Here, CPUIl
The ROM 13 and ROM 13 constitute a control means for executing these processes. Next, the operation of this embodiment will be explained with reference to the flowcharts of FIGS. 3 to 6. When constructing a network, a network controller (main network controller) that has control over the entire network is required.
The condition is that there is one. Here, assume that network controller 1. is the main network controller, and other network controllers 12 to l. We will proceed with the explanation assuming that is a subnetwork controller. (Main network controller) The CPU 11 of the main network controller 1 is
When the power is turned on, processing is executed according to the flowchart shown in FIG. 3, and when an interrupt signal is given from the power failure detection circuit 20, processing according to the flowchart shown in FIG. 4 is executed. First, when the power is turned on, initial processing is performed in step (hereinafter abbreviated as ST) 1 in FIG.
For example, connect the switches 31A and 31B of the switching means 22 to terminal 1.
After switching to 7A and 17B, proceed to ST2 and perform self-diagnosis processing. For example, the RAM 14 and ROM 13 are checked, and the voltage level of the backup battery of the RAM 14 is checked. Next, the process proceeds to ST3 and transmits a loop initial command to the transmission line 4, and waits for reception of the loop initial command in ST4. Here, if the loop initial command is received, that is, if it is confirmed that the network has been constructed, the process proceeds to ST5, where the "READY" lamp on the control panel 21 lights up, and then the process proceeds to ST6, where the sub-network controllers 12 to 1. Determine whether or not a registration request command has been received from. If the registration request command is received in ST6, the process proceeds to ST7 and it is determined whether or not the address included in the registration request command exists in the address storage area 14A. If there is no corresponding address, proceed to ST8 and register the address included in the registration request command in the address storage area 14A, then proceed to ST9 and send a registration permission command to the network controller that sent the registration request command.
Return to T6. In addition, if there is a corresponding address in ST7, S
After the TIO sends the registration refusal command to the network controller that sent the registration request command, the process returns to ST6. If the registration request command is not received in ST6, the process advances to STII and the subnetwork controllers 12 to 1. Determine whether a registration cancellation command has been received from. If a registration cancellation command has been received, ST1
Proceed to step 2 to cancel the corresponding address from the address storage area 14A, then proceed to ST13, send a cancellation completion command to the network controller that sent the registration cancellation command, and then return to ST6. Further, if the registration cancellation command is not received in ST11, the process proceeds to ST14, and data transmission processing, that is, the original data transmission work is executed. On the other hand, if an interrupt signal is received during these processes, the process proceeds to ST21 in FIG. 4, where a command to relinquish control is transmitted, and in ST22, one of the subnetwork controllers 12 to 1. Waits for a command to accept control from. When the control right acceptance command is received, that is, when it is confirmed that the control right has been accepted by one of the subnetwork controllers, the process proceeds to ST23, and a registration cancellation command is sent, and in ST24, the network controller to which the control right has been transferred ( In this case, wait for the cancellation completion command from (this will become the main network controller from now on). Here, when the cancellation completion command is received, ST? 5, the switching means 22 is turned off. That is, the excitation coil 32 is de-energized via the controller 33. Then, switches 31A and 31B are connected to terminals 17A. 1
7B and is short-circuited through the short-circuit circuit 34. As a result, the network controller 1 in which the abnormality has occurred is disconnected from the transmission line 4, and the transmission line 4
The network is maintained normally because it is short-circuited. At the same time, since the control right is transferred to another network controller, the network controller 11 functions as a sub-network controller when it rejoins the network. (Subnetwork controller) CPUI of each subnetwork controller 1~17
When the power is turned on, I executes the process according to the flowchart shown in FIG.
When an interrupt signal is given from , the process shown in the flowchart shown in FIG. 7 is executed. First, when the power is turned on, initial processing is performed in step (hereinafter abbreviated as ST) 31 in FIG.
terminals 17A, 17B! ,: After switching, S T 3
2 F3 (Perform self-diagnosis processing. For example, RAM1
4 and ROM13, and check the voltage level of the backup mt battery of RAM14. Next, the process advances to ST33 and after transmitting a registration request command to the transmission line 4, the process advances to ST34 and ST35 to wait for a registration permission command or a registration refusal command from the main network controller 1. When the registration refusal command is received in ST35, the process proceeds to ST36, where the error lamp on the control panel 21 is turned on, and then the switching means 22 is turned off, and the process ends. Therefore, in this case, you cannot participate in the network. Also, in ST34, when the registration permission command is received, the process advances to ST38 and the “RE” on the control panel 2l is
After lighting the "ADY" rung, it is determined in ST40 whether or not a control right relinquishing command has been received.If the control right relinquishing command has not been received, the process advances to ST41 and the original data transmission operation is executed. , it is possible to participate in the network, that is, to execute the original data transmission task, on the condition that it has received a registration permission command from the main network controller 1.Furthermore, if it has received a control right relinquish command in ST40, ST4
After proceeding to ST 2 and transmitting a control right acceptance command to the main network controller 11, proceeding to ST43 and performing processing as the main network controller, that is, S in FIG.
Processes T6 to ST14 and S721 to ST2 5 in FIG. 5 are performed. Therefore, if a failure occurs in the main network controller 11 and it relinquishes control, any of the other subnetwork controllers l2 to 1
.. takes over the control rights and functions as the main network controller. On the other hand, when an interrupt signal is given from the power failure detection circuit 20, the process proceeds to ST51 in FIG. 6, transmits a registration cancellation command, and waits for a cancellation completion command from the main network controller 1l in ST52. Upon receiving the cancellation completion command, after turning off the switching stage 22,
finish. Therefore, in this case as well, the network controller in which the abnormality has occurred is disconnected from the transmission line 4, and the transmission line 4 is short-circuited, so that the network is maintained normally. Therefore, according to this embodiment, a plurality of network controllers 11 to l. If an abnormality occurs in any one of the network controllers, that network controller is disconnected from the transmission line 4 and the transmission line 4 is short-circuited, so even if a failure occurs in the network controller, It is possible to maintain normal network functions. In addition, a network controller 1. which has control authority over the network. Other network controllers excluding 12~
l. is the address of the network controller l
Since each network controller can participate in the network at any time, for example, each network controller can participate in the network at any time. Even if the network controllers are located far apart and power cannot be supplied to all network controllers at the same time, a network can be constructed simply by turning on the power to the necessary network controllers. In addition, if an abnormality occurs in the network controller 11 that has the right to control the network, the control right is transferred to another network controller and that network controller functions as the main network controller from now on. It is possible to maintain normal network functions even in the case of [Effects of the Invention] As described above, according to the present invention, each network controller can join the network at any time. This eliminates the inconvenience of not being able to construct a .

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

第1図〜第7図は本発明の一実施例を示すもので、第1
図は各ネットワークコントローラを示すブロック図、第
2図は切換手段を示す図、第3図はメインネットワーク
コントローラにおけるメインフローチャート、第4図は
メインネットワークコントローラにおける割込処理のフ
ローチャート、第5図は他のネットワークコントローラ
におけるメインフローチャート、第6図は他のネットワ
ークコントローラにおける割込処理のフローチャート、
第7図はシステム全体を示すブロック図である.第8図
は従来のシステムを示すブロック図である. 11〜1.・・・ネットワークコントローラ、4・・・
伝送回線、 11.13・・・CPUおよびROM 14A・・・アドレス記憶エリア、 22・・・切換手段. (制御手段)
Figures 1 to 7 show one embodiment of the present invention.
Figure 2 is a block diagram showing each network controller, Figure 2 is a diagram showing the switching means, Figure 3 is a main flowchart in the main network controller, Figure 4 is a flowchart of interrupt processing in the main network controller, and Figure 5 is a diagram showing other network controllers. Figure 6 is a flowchart of interrupt processing in another network controller.
Figure 7 is a block diagram showing the entire system. Figure 8 is a block diagram showing a conventional system. 11-1. ...Network controller, 4...
Transmission line, 11.13...CPU and ROM 14A...Address storage area, 22...Switching means. (control means)

Claims (1)

【特許請求の範囲】[Claims] (1)伝送回線を通じてループ状に接続され互いにデー
タ伝送可能な複数台のネットワークコントローラを備え
たデータ伝送ネットワークシステムにおいて、 前記いずれか一のネットワークコントローラは、前記各
ネットワークコントローラのアドレスを記憶する記憶エ
リアと、他のいずれかのネットワークコントローラから
登録要求コマンドを受信した際にそのネットワークコン
トローラのアドレスを前記記憶エリアに登録した後登録
許可コマンドを送信する制御手段とを備え、 前記他の各ネットワークコントローラは、そのネットワ
ークコントローラを前記伝送回線中に直列に接続可能お
よびネットワークコントローラを伝送回線から切離しか
つ伝送回線を短絡可能な切換手段と、この切換手段によ
ってネットワークコントローラが前記伝送回線中に直列
に接続された状態において前記一のネットワークコント
ローラへ登録要求コマンドを送信する手段およびこの登
録要求コマンドに応答して前記一のネットワークコント
ローラから登録許可コマンドを受信したことを条件とし
てデータ伝送を実行する手段を有する制御手段とを備え
た ことを特徴とするデータ伝送ネットワークシステム。
(1) In a data transmission network system comprising a plurality of network controllers connected in a loop through a transmission line and capable of transmitting data to each other, any one of the network controllers has a storage area for storing the address of each network controller. and a control means for registering the address of the network controller in the storage area and then transmitting a registration permission command when receiving a registration request command from any of the other network controllers, each of the other network controllers , switching means capable of connecting the network controller in series to the transmission line, disconnecting the network controller from the transmission line, and short-circuiting the transmission line; and a switching means capable of connecting the network controller in series to the transmission line; control means having means for transmitting a registration request command to the one network controller in the state, and means for executing data transmission on condition that a registration permission command is received from the one network controller in response to the registration request command. A data transmission network system comprising:
JP1152611A 1989-06-15 1989-06-15 Data transmission network system Pending JPH0318149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1152611A JPH0318149A (en) 1989-06-15 1989-06-15 Data transmission network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1152611A JPH0318149A (en) 1989-06-15 1989-06-15 Data transmission network system

Publications (1)

Publication Number Publication Date
JPH0318149A true JPH0318149A (en) 1991-01-25

Family

ID=15544178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1152611A Pending JPH0318149A (en) 1989-06-15 1989-06-15 Data transmission network system

Country Status (1)

Country Link
JP (1) JPH0318149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009010451A (en) * 2007-06-26 2009-01-15 Hitachi Ltd Transmission path system, node, and method of determining overlap of node information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009010451A (en) * 2007-06-26 2009-01-15 Hitachi Ltd Transmission path system, node, and method of determining overlap of node information

Similar Documents

Publication Publication Date Title
JPH0318149A (en) Data transmission network system
JPH0318148A (en) Data transmission network system
JPH0594236A (en) Power source controller
JP2799104B2 (en) Redundant switching device for programmable controller
JP3090159B2 (en) Redundant computer system
CN112099609A (en) Multi-node server power-on time sequence control system
JPH06110587A (en) Method and device for controlling power source of automatic transaction machine
JP2003081546A (en) Information transmission control device for elevator
JPH05303509A (en) Stand-by machine control system
JP2518085B2 (en) Transmission terminal equipment
JP2528225Y2 (en) Electronic interlocking device
JPH11202986A (en) Uninterruptible power supply system
JP2004070393A (en) Remote shutdown method
JPH05233579A (en) Hot standby duplex system
JP2001157276A (en) Communication processing method in control system
JP2985188B2 (en) Redundant computer system
JPH04209056A (en) Personal computer with communication function
JP3045748B2 (en) Power supply switching method
JPH0346855B2 (en)
JPH01154202A (en) Duplex process controller
KR0139964B1 (en) Early checking of packet bus status information in packet switch
JPS61294547A (en) Firmware load system
JPH03226857A (en) Controller program loading system
JPH04160420A (en) Uninterruptible power supply unit
JPS6077216A (en) Automatic operation control device