JP3173959B2 - Local area network device - Google Patents

Local area network device

Info

Publication number
JP3173959B2
JP3173959B2 JP02828095A JP2828095A JP3173959B2 JP 3173959 B2 JP3173959 B2 JP 3173959B2 JP 02828095 A JP02828095 A JP 02828095A JP 2828095 A JP2828095 A JP 2828095A JP 3173959 B2 JP3173959 B2 JP 3173959B2
Authority
JP
Japan
Prior art keywords
terminal
address
terminals
monitoring device
data table
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.)
Expired - Fee Related
Application number
JP02828095A
Other languages
Japanese (ja)
Other versions
JPH08223178A (en
Inventor
忍 長原
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 Building Techno-Service Co Ltd
Original Assignee
Mitsubishi Electric Building Techno-Service 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 Mitsubishi Electric Building Techno-Service Co Ltd filed Critical Mitsubishi Electric Building Techno-Service Co Ltd
Priority to JP02828095A priority Critical patent/JP3173959B2/en
Publication of JPH08223178A publication Critical patent/JPH08223178A/en
Application granted granted Critical
Publication of JP3173959B2 publication Critical patent/JP3173959B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、例えば監視装置に伝
送線を介してマルチドロップ方式によって複数の端末機
が接続されてなるローカルエリアネットワーク(Local
Area Network:LAN)装置に関するもので、特に、ア
クセス制御方式としてCSMA/CD(Carrier Sense
Multiple Access with Collision Detection)方式のL
ANに適用して好適なもので、該LANにおける端末機
のアドレス設定技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local area network (Local Area Network) in which a plurality of terminals are connected to a monitoring device via a transmission line by a multi-drop method.
Area Network (LAN) devices, and in particular, CSMA / CD (Carrier Sense) as an access control method.
Multiple Access with Collision Detection) L
The present invention is preferably applied to an AN and relates to an address setting technique of a terminal in the LAN.

【0002】[0002]

【従来の技術】図5は監視装置に伝送線を介してマルチ
ドロップ方式によって複数の端末機が接続されてなるL
AN装置を示す構成図である。図5において、1は監視
装置、2は伝送線、3はこの伝送線2を介してマルチド
ロップ方式によって上記監視装置1に接続された防犯及
び防災等のセンサ情報を得る複数の端末機を示し、図5
(a)に示すように、監視装置1側からアドレスが「1
01」、「102」、「201」、「202」である端
末装置3が伝送線2を介して順次接続されている。
2. Description of the Related Art FIG. 5 shows an L which is composed of a plurality of terminals connected to a monitoring apparatus by a multi-drop system via a transmission line.
FIG. 2 is a configuration diagram illustrating an AN device. In FIG. 5, reference numeral 1 denotes a monitoring device, 2 denotes a transmission line, and 3 denotes a plurality of terminals connected to the monitoring device 1 via the transmission line 2 in a multi-drop manner to obtain sensor information such as crime prevention and disaster prevention. , FIG.
As shown in (a), the address is “1” from the monitoring device 1 side.
Terminal devices 3 of “01”, “102”, “201”, and “202” are sequentially connected via the transmission line 2.

【0003】従来、このようなLAN装置において、端
末機3を増設する場合の増設端末機のアドレス設定は、
例えば特開平6−195582号公報に示されているよ
うに、監視装置1に増設される端末機3のアドレスを予
め設定登録しておき、端末機3が増設された時点で該端
末機3からのアドレス要求に基づいて監視装置1から増
設された端末機3にアドレスを送信するようになされて
いる。
Conventionally, in such a LAN device, when an additional terminal 3 is added, the address setting of the additional terminal is as follows.
For example, as shown in Japanese Patent Application Laid-Open No. 6-195582, the address of the terminal 3 to be added to the monitoring device 1 is set and registered in advance, and when the terminal 3 is added, the terminal 3 The address is transmitted from the monitoring device 1 to the added terminal 3 based on the address request.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うなアドレスの設定方法では、端末機3を増設する場合
にアドレスを自由に設定することはできず、監視装置1
に増設端末機のアドレスを予め設定登録しておく必要が
あり、端末機3が増設された時点で監視装置1から端末
機3にアドレスを送信する必要があった。このため、増
設端末機3のアドレスは、監視装置1において予め設定
登録されたアドレスしか設定できないため、CSMA/
CDなどのマルチドロップ方式のローカルネットワーク
においては、端末機3の増設及び移設の自由度が高く端
末機3の増設及び移設が頻繁に行われることから、端末
機3の接続状況がどのようになっているかを管理するこ
とは難しくなっている。
However, in such an address setting method, the address cannot be set freely when the terminal 3 is added, and the monitoring device 1
It is necessary to set and register the address of the additional terminal in advance, and it is necessary to transmit the address from the monitoring device 1 to the terminal 3 when the terminal 3 is added. For this reason, the address of the extension terminal 3 can be set only in the address set and registered in advance in the monitoring device 1, so that the CSMA /
In a multi-drop type local network such as a CD, the degree of freedom in adding and relocating the terminal 3 is high, and the addition and relocation of the terminal 3 are frequently performed. It's getting harder to manage.

【0005】この発明は上述した従来例に係る問題点を
解消するためになされたもので、予め監視装置にアドレ
スを設定する必要がなく、また、端末機の自由な増設及
び移設に対応して端末機の接続状況の管理が容易に行い
得るアドレスの設定が可能なローカルエリアネットワー
ク装置を得ることを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and it is not necessary to set an address in a monitoring device in advance, and it is possible to cope with free extension and relocation of terminals. It is an object of the present invention to provide a local area network device capable of setting an address that can easily manage the connection status of a terminal.

【0006】[0006]

【課題を解決するための手段】この発明に係るローカル
エリアネットワーク装置は、監視装置に伝送線を介して
マルチドロップ方式によって複数の端末機が接続されて
なるローカルエリアネットワーク装置において、上記各
端末機に、隣接する各端末機にそれぞれアドレスを問い
合わせて返答された隣接端末機のアドレスを上記監視装
置に通知する制御手段を備えると共に、上記監視装置
に、アドレスの記憶領域の位置を示す通番に対応して各
端末機の配置位置を示すようにしたアドレスを記憶して
なる端末機アドレスデータテーブルと、端末機間に挿入
された端末機から通知された隣接端末機のアドレスに基
づいて挿入端末機のアドレスを割り当て挿入端末機に通
知すると共に該アドレスを上記端末機アドレスデータテ
ーブルに記憶させる制御手段とを備えたことを特徴とす
るものである。
According to the present invention, there is provided a local area network apparatus comprising a plurality of terminals connected to a monitoring apparatus by a multi-drop system via a transmission line. And control means for inquiring the address of each adjacent terminal to each of the adjacent terminals and notifying the address of the adjacent terminal returned to the monitoring device, and corresponding to the serial number indicating the position of the storage area of the address in the monitoring device. Then each
A terminal address data table that stores an address indicating the location of the terminal, and the address of the inserted terminal based on the address of the adjacent terminal notified from the terminal inserted between the terminals. Control means for notifying the assignment insertion terminal and storing the address in the terminal address data table.

【0007】また、他の発明に係るローカルエリアネッ
トワーク装置は、監視装置に伝送線を介してマルチドロ
ップ方式によって複数の端末機が接続されてなるローカ
ルエリアネットワーク装置において、上記監視装置に、
アドレスの記憶領域の位置を示す通番自体に監視装置側
から端末機が順次配置される位置を示すようにして当該
通番の位置に各端末機のアドレスをそれぞれ記憶してな
る端末機アドレスデータテーブルと、端末機間に挿入さ
れた端末機からのアドレス設定の問い合わせに対し上記
端末機アドレスデータテーブルに記憶されたアドレスを
参照して挿入端末機のアドレスを設定し挿入端末機に通
知すると共に該アドレスを上記端末機アドレスデータテ
ーブルに記憶させる制御手段とを備えたことを特徴とす
るものである。
A local area network device according to another invention is a local area network device in which a plurality of terminals are connected to a monitoring device via a transmission line by a multi-drop method.
The serial number indicating the location of the storage area of the address itself in the monitoring device
A terminal address data table storing the addresses of the terminals at the positions of the serial numbers so as to indicate the positions at which the terminals are sequentially arranged, and a terminal inserted between the terminals. In response to an address setting inquiry from the terminal, the address of the insertion terminal is set with reference to the address stored in the terminal address data table, the address is notified to the insertion terminal, and the address is stored in the terminal address data table. And control means.

【0008】また、上記監視装置の制御手段は、端末機
間に新たな端末機を挿入する時に、上記端末機アドレス
データテーブル内の挿入端末機に後続する端末機の記憶
領域である通番を更新して更新された通番の位置に後続
する全端末機のアドレスを移し換え記憶させることを特
徴とするものである。
When a new terminal is inserted between the terminals, the control means of the monitoring device updates the serial number, which is a storage area of the terminal following the inserted terminal, in the terminal address data table. Then, the addresses of all subsequent terminals are transferred to and stored in the updated serial number position.

【0009】さらに、上記各端末機の制御手段は、移設
時に、移設前の自局アドレスを上記監視装置に通知する
と共に、上記監視装置の制御手段は、移設前に移設端末
機から通知されたアドレスに基づいて上記端末機アドレ
スデータテーブル内の移設前の端末機に後続する全端末
機の通番を更新して更新された通番の位置に後続する全
端末機のアドレスを移し換え記憶させることを特徴とす
るものである。
Further, the control means of each terminal notifies the monitoring device of its own station address before the transfer at the time of relocation, and the control means of the monitoring device receives the notification from the relocation terminal before the relocation. Updating the serial numbers of all the terminals following the terminal before the relocation in the terminal address data table based on the address and transferring and storing the addresses of all the subsequent terminals at the updated serial number position. It is a feature.

【0010】[0010]

【作用】この発明に係るローカルエリアネットワーク装
置においては、各端末機に、隣接する各端末機にそれぞ
れアドレスを問い合わせて返答された隣接端末機のアド
レスを監視装置に通知する制御手段を備えると共に、上
記監視装置に、アドレスの記憶領域の位置を示す通番に
対応して各端末機の配置位置を示すようにしたアドレス
を記憶してなる端末機アドレスデータテーブルと、端末
機間に挿入された端末機から通知された隣接端末機のア
ドレスに基づいて挿入端末機のアドレスを割り当て挿入
端末機に通知すると共に該アドレスを上記端末機アドレ
スデータテーブルに記憶させる制御手段とを備えたこと
により、予め監視装置にアドレスを設定する必要がな
く、端末機の自由な増設及び移設に対応して端末機の接
続状況に応じたアドレス設定が自動的に行い得ると共に
アドレス管理の精度が向上する。
In the local area network device according to the present invention, each terminal is provided with control means for inquiring the address of each adjacent terminal and notifying the monitoring device of the address of the adjacent terminal returned, In the above monitoring device, a serial number indicating the location of the address storage area
Corresponding to the terminal address data table storing the address indicating the arrangement position of each terminal and the address of the adjacent terminal notified from the terminal inserted between the terminals. Control means for allocating the address of the insertion terminal based on the notification and notifying the insertion terminal and storing the address in the terminal address data table. Address setting according to the connection status of the terminal can be automatically performed in response to the free extension and relocation of the terminal, and the accuracy of address management is improved.

【0011】また、他の発明に係るローカルエリアネッ
トワーク装置においては、監視装置に、アドレスの記憶
領域の位置を示す通番自体に監視装置側から端末機が順
次配置される位置を示すようにして当該通番の位置に各
端末機のアドレスをそれぞれ記憶してなる端末機アドレ
スデータテーブルと、端末機間に挿入された端末機から
のアドレス設定の問い合わせに対し上記端末機アドレス
データテーブルに記憶されたアドレスを参照して挿入端
末機のアドレスを設定し挿入端末機に通知すると共に該
アドレスを上記端末機アドレスデータテーブルに記憶さ
せる制御手段とを備えたことにより、端末機アドレスデ
ータテーブルのアドレス記憶位置を示す通番自体に監視
装置側から端末機が順次配置される位置を示すようにし
て、端末機の増設及び移設に拘わらず通番によって端末
機の接続状況を容易に知り得ることができ、かつ自由な
アドレス設定が行い得ると共にアドレス管理の精度が向
上する。
In the local area network device according to another invention, the monitoring device stores the address.
Terminals are ordered from the monitoring device to the serial number itself indicating the location of the area.
A terminal address data table in which the addresses of the respective terminals are stored at the positions of the serial numbers so as to indicate the positions to be arranged next, and an address setting inquiry from a terminal inserted between the terminals is performed. Control means for setting the address of the insertion terminal by referring to the address stored in the terminal address data table, notifying the insertion terminal, and storing the address in the terminal address data table. In the terminal address data table, the serial number indicating the address storage position indicates the position where the terminal is sequentially arranged from the monitoring device side, so that the connection status of the terminal is determined by the serial number regardless of the addition and relocation of the terminal. The address can be easily obtained, the address can be set freely, and the accuracy of address management is improved.

【0012】また、上記監視装置の制御手段は、端末機
間に新たな端末機を挿入する時に、上記端末機アドレス
データテーブル内の挿入端末機に後続する端末機の記憶
領域である通番を更新して更新された通番の位置に後続
する全端末機のアドレスを移し換え記憶させることによ
り、端末機の増設に対応したアドレス管理が行い得る。
When a new terminal is inserted between the terminals, the control means of the monitoring device updates the serial number in the storage area of the terminal following the inserted terminal in the terminal address data table. By transferring and storing the addresses of all subsequent terminals to the updated serial number position, address management corresponding to the addition of terminals can be performed.

【0013】さらに、上記各端末機の制御手段は、移設
時に、移設前の自局アドレスを上記監視装置に通知する
と共に、上記監視装置の制御手段は、移設前に移設端末
機から通知されたアドレスに基づいて上記端末機アドレ
スデータテーブル内の移設前の端末機に後続する全端末
機の通番を更新して更新された通番の位置に後続する全
端末機のアドレスを移し換え記憶させることにより、端
末機の移設に対応したアドレス管理が行い得る。
Further, the control means of each of the terminals notifies the monitoring device of the own station address before the transfer at the time of relocation, and the control means of the monitoring device notifies the control unit of the monitoring device from the relocation terminal before the relocation. By updating the serial numbers of all the terminals subsequent to the terminal before the relocation in the terminal address data table based on the address and transferring and storing the addresses of all the subsequent terminals at the updated serial number position, Address management corresponding to the relocation of a terminal can be performed.

【0014】[0014]

【実施例】【Example】

実施例1.図1は実施例1に係るローカルエリアネット
ワーク装置を説明するための概念図である。図1におい
て、1は監視装置、2は伝送線、3は監視装置1の伝送
線2にマルチドロップ方式で接続されている端末機を示
し、上記監視装置1は、CPU10、各種データと制御
プログラムを記憶してなると共に後述する端末機アドレ
スデータテーブル有する記憶部11、上記CPU10に
よる制御演算結果を表示する表示部12、外部装置との
入出力部13及び伝送線2を介して端末機3と接続され
て通信制御を行うための通信制御装置14を備えてい
る。
Embodiment 1 FIG. FIG. 1 is a conceptual diagram illustrating a local area network device according to the first embodiment. In FIG. 1, reference numeral 1 denotes a monitoring device, 2 denotes a transmission line, and 3 denotes a terminal connected to the transmission line 2 of the monitoring device 1 in a multi-drop manner. The monitoring device 1 includes a CPU 10, various data and a control program. A storage unit 11 having a terminal address data table to be described later, a display unit 12 for displaying a control calculation result by the CPU 10, an input / output unit 13 for an external device, and the terminal 3 via the transmission line 2. A communication control device 14 is provided for performing communication control by being connected.

【0015】また、上記端末機3は、CPU30、各種
データと制御プログラムを記憶してなる記憶部31、上
記CPU30による制御演算結果を表示する表示部3
2、センサー情報を得るためのセンサーインターフェー
ス33、後述する切替部を介して伝送線2と接続されて
通信制御を行うための通信制御装置34及び上記CPU
30により制御されて上記通信制御部34を左隣伝送線
2aまたは右隣伝送線2bに切替接続するための切替部
35を備えており、この切替部35は、CPU30の制
御に基づいて、通常状態では左隣伝送線2a及び右隣伝
送線2bともに通信制御部34に接続するようにし、端
末機間に新たな端末機を3を挿入するとき初期状態の時
には左隣伝送線3a、右隣伝送線3bともに切り離さ
れ、増設端末機のアドレス設定時にON/OFFされて
左隣伝送線2aまたは右隣伝送線2bを交互に通信制御
部34に接続するようになされている。なお、他の端末
機も図1に示す構成と同様な構成を備える。
The terminal 3 includes a CPU 30, a storage unit 31 storing various data and a control program, and a display unit 3 for displaying a control calculation result by the CPU 30.
2. A sensor interface 33 for obtaining sensor information, a communication control device 34 connected to the transmission line 2 via a switching unit to be described later to perform communication control, and the CPU
A switching unit 35 controlled by the CPU 30 to switch and connect the communication control unit 34 to the left-side transmission line 2a or the right-side transmission line 2b is provided. In the state, both the left-side transmission line 2a and the right-side transmission line 2b are connected to the communication control unit 34. When a new terminal 3 is inserted between terminals, the left-side transmission line 3a and the right-side The transmission line 3b is cut off and turned ON / OFF when the address of the extension terminal is set, so that the left adjacent transmission line 2a or right adjacent transmission line 2b is alternately connected to the communication control unit 34. The other terminals have the same configuration as the configuration shown in FIG.

【0016】ここで、図5(a)に示すアドレスが設定
された複数の端末機3の接続構成において、図5(b)
に示すように、アドレスが「102」と「201」との
端末機3間に新たに端末機3を増設する場合の増設端末
機のアドレス設定について説明する。今、図5(a)に
示す端末機3の増設前の状態時には、監視装置1の記憶
部11内に備えられた端末機アドレスデータテーブルに
は、図2(a)に示す如く内容が記憶されている。すな
わち、端末機アドレスデータテーブルには、アドレスの
記憶領域の位置を示す通番「1、2、3、4、・・・」
に対応する端末装置3のアドレスとして「101、10
2、201、202、・・・」が記憶されており、この
アドレスによって端末機3の接続状況が管理できるよう
になされている。この場合、例えば3桁で与えられるア
ドレスのうち、最上位の桁をフロアとし、下2桁をフロ
ア毎の通し番号としており、アドレスによって端末機の
配置位置がわかるようになされている。
Here, in the connection configuration of a plurality of terminals 3 to which addresses shown in FIG. 5A are set, FIG.
As shown in (1), the address setting of an additional terminal when a new terminal 3 is added between terminals 3 having addresses "102" and "201" will be described. Now, in the state before the addition of the terminal 3 shown in FIG. 5A, the contents are stored in the terminal address data table provided in the storage unit 11 of the monitoring device 1 as shown in FIG. Have been. That is, in the terminal address data table, the serial numbers “1, 2, 3, 4,.
Of the terminal device 3 corresponding to “101, 10
, 2, 201, 202,... ", And the connection status of the terminal 3 can be managed by this address. In this case, of the three-digit address, for example, the highest digit is a floor, and the last two digits are a serial number for each floor, so that the location of the terminal can be identified by the address.

【0017】このような端末機3の接続状態で、図5
(b)に示すように、アドレスが「102」と「20
1」との端末機3間に新たに端末機3を増設する場合に
増設端末機3のアドレス設定を、端末機3内のCPU3
0による制御及び監視装置1内のCPU10による制御
を示す図3に示すフローチャートを参照して説明する。
なお、図3において、ステップS101からステップS
105までが増設端末機3内のCPU30による制御を
示し、ステップS106及びS107が監視装置1内の
CPU10による制御を示す。また、図3に示すステッ
プSの符号及びその制御内容と図5(b)に示すステッ
プSの符号及びその制御内容は合致するものである。
In such a connection state of the terminal 3, FIG.
As shown in (b), the addresses are “102” and “20”.
In the case where a new terminal 3 is added between the terminal 3 and “1”, the address setting of the additional terminal 3 is performed by the CPU 3 in the terminal 3.
The control by the CPU 0 in the monitoring apparatus 1 and the control by the CPU 10 in the monitoring apparatus 1 will be described with reference to a flowchart shown in FIG.
In FIG. 3, steps S101 to S101 are executed.
Steps up to 105 indicate control by the CPU 30 in the extension terminal 3, and steps S106 and S107 indicate control by the CPU 10 in the monitoring device 1. Also, the reference sign and its control contents of step S shown in FIG. 3 and the reference sign of step S and its control contents shown in FIG.

【0018】まず、増設端末機3のCPU30は、切替
部35を制御して左隣伝送線3a側を接続すると共に右
隣伝送線3b側を切り離して、アドレスが「102」で
ある左隣の端末機3に対しアドレスの問い合わせを行う
(ステップS101)。これに基づき、左隣の端末機3
は自局アドレス(#102)を返答するので、増設端末
機3は返答された左隣の端末機のアドレスを記憶部31
内に記憶する(ステップS102)。
First, the CPU 30 of the extension terminal 3 controls the switching unit 35 to connect the left-side transmission line 3a and disconnect the right-side transmission line 3b, and to disconnect the left-side transmission line 3b from the left-side transmission line 3b having the address "102". The terminal 3 is inquired about the address (step S101). Based on this, the terminal 3 on the left
Returns the own station address (# 102), so that the extension terminal 3 stores the address of the terminal on the left side to which the reply has been made to the storage unit 31.
(Step S102).

【0019】次に、これとは逆に、増設端末機3のCP
U30は、切替部35を制御して左隣伝送線3a側を切
り離し右隣伝送線3b側を接続して、アドレスが「20
1」である右隣の端末機3に対しアドレスの問い合わせ
を行う(ステップS103)。これに基づき、右隣の端
末機3は自局アドレス(#201)を返答するので、増
設端末機3は返答された右隣の端末機のアドレスを記憶
部31内に記憶する(ステップS104)。
Next, on the contrary, the CP of the extension terminal 3 is
U30 controls the switching unit 35 to disconnect the left side transmission line 3a side and connect the right side transmission line 3b side, and the address is “20”.
An address inquiry is made to the terminal 3 on the right, which is "1" (step S103). On the basis of this, the terminal 3 on the right side replies its own station address (# 201), so the extension terminal 3 stores the returned address of the terminal on the right side in the storage unit 31 (step S104). .

【0020】このようにして、増設端末機3は左隣端末
機と右隣端末機のアドレスを知ることができ、増設端末
機3のCPU30は、次に、切替部15を制御して左隣
伝送線3a及び右隣伝送線3bを接続する。そして、通
信制御部34及び切替部35を介して監視装置1に対し
て左隣端末機のアドレスが「102」であり、右隣端末
機のアドレスが「201」であることを通知する(ステ
ップS105)。
In this way, the extension terminal 3 can know the addresses of the left and right neighbor terminals, and the CPU 30 of the extension terminal 3 next controls the switching unit 15 to The transmission line 3a and the right transmission line 3b are connected. Then, it notifies the monitoring device 1 via the communication control unit 34 and the switching unit 35 that the address of the terminal on the left is “102” and the address of the terminal on the right is “201” (step S105).

【0021】一方、監視装置1のCPU10は、増設端
末機3からの左隣端末機及び右隣端末機のアドレスの通
知に基づいて、増設端末機3にアドレスを割り当てる。
この場合、増設端末機3が、アドレスが「102」であ
る左隣端末機の次に配置され、アドレスが「201」で
ある右隣端末機の前に配置されるということから、増設
端末機3のアドレスとして「103」を割り当て、その
アドレスを増設端末機3に通知する(ステップS10
6)。増設端末機3は、通知された自局アドレス「10
3」を記憶部31に記憶する。
On the other hand, the CPU 10 of the monitoring device 1 assigns an address to the extension terminal 3 based on the notification of the address of the left terminal and the right terminal from the extension terminal 3.
In this case, the extension terminal 3 is disposed next to the left terminal having the address “102” and is disposed before the right terminal having the address “201”. "103" is assigned as the address of the third terminal 3 and the address is notified to the extension terminal 3 (step S10).
6). The extension terminal 3 sends the notified own station address “10
3 ”is stored in the storage unit 31.

【0022】次に、監視装置1のCPU10は、記憶部
10内に備えた端末機アドレスデータテーブルの内容を
図2(b)に示す如く更新する(ステップS107)。
すなわち、アドレスとして「103」が割り当てられた
増設端末機3が、増設前のテーブル内容を示す図2
(a)において、通番が「2」の領域にアドレスが「1
02」で設定されている左隣端末機の次に配置され、通
番が「3」の領域にアドレスが「201」である右隣端
末機の前に配置されるということから、図2(b)に示
すように、増設端末機3のアドレス「103」は通番が
「3」の領域に記憶され、後続する端末機のアドレス
「201」、「202」、・・・は、順次増設前の通番
に対して1加えられた通番「4」、「5」、・・・の領
域に記憶されるように移し換えられる。
Next, the CPU 10 of the monitoring device 1 updates the contents of the terminal address data table provided in the storage unit 10 as shown in FIG. 2B (step S107).
That is, the extension terminal 3 to which "103" is assigned as the address is shown in FIG.
In (a), the address “1” is assigned to the area with the serial number “2”.
2 (b) is located next to the terminal on the left side, which is set at “02”, and is located before the terminal on the right side having the address “201” in the area with the serial number “3”. ), The address “103” of the extension terminal 3 is stored in the area with the serial number “3”, and the addresses “201”, “202”,. The serial numbers are transferred so that they are stored in areas of serial numbers “4”, “5”,.

【0023】このように、上記実施例によれば、アドレ
ス自体に端末機の配置位置を示すようにして、増設時に
は、左隣及び右隣の端末機に設定されているアドレスを
参照して増設端末機3のアドレスが自動的に割り当てら
れるので、予め監視装置1にアドレスを設定する必要が
なく、端末機の自由な増設に対応して端末機の接続状況
に応じたアドレス設定が自動的に行い得ると共に端末機
の接続状況の管理が容易なものとなり、端末機の自由な
増設及び移設に対応することができ、アドレス管理の精
度が向上するという効果がある。
As described above, according to the above embodiment, the location of the terminal is indicated in the address itself, and the extension is performed by referring to the addresses set in the left and right adjacent terminals at the time of extension. Since the address of the terminal 3 is automatically assigned, there is no need to set the address in the monitoring device 1 in advance, and the address setting according to the connection status of the terminal is automatically performed in response to the free extension of the terminal. In addition to this, the management of the connection status of the terminal can be easily performed, the terminal can be freely added and relocated, and the accuracy of address management is improved.

【0024】実施例2.次に、図4は端末機3の移設時
におけるアドレス設定に係る端末機3内のCPU30に
よる制御及び監視装置1内のCPU10による制御を示
すフローチャートである。端末機3の移設時には、移設
前の自局アドレスを監視装置1に通知し(ステップS2
01)、これに基づいて、監視装置1のCPU10は、
端末機アドレスデータテーブル内の移設前の端末機に後
続する全端末機3の通番を更新して更新された通番の位
置に後続する全端末機のアドレスを移し換え記憶させる
(ステップS202)。このようなステップを経た後
は、図3に示すフローチャートと同様なステップS10
1ないしS107を経て移設端末機のアドレス設定及び
後続する端末機の通番及びアドレスの移し換え等による
端末機アドレスデータテーブルの更新を行うことによ
り、端末機の移設に対応したアドレス管理が行い得る。
なお、この端末機の移設時には、図4において、ステッ
プS202を経た後は、図3に示すフローチャートにお
いて、増設端末機の表記は移設端末機に書き換えられる
だけで、同一の処理が行われる。
Embodiment 2 FIG. Next, FIG. 4 is a flowchart showing the control by the CPU 30 in the terminal 3 and the control by the CPU 10 in the monitoring device 1 relating to the address setting when the terminal 3 is relocated. When the terminal 3 is relocated, the own station address before the relocation is notified to the monitoring device 1 (step S2).
01), based on this, the CPU 10 of the monitoring device 1
The serial numbers of all the terminals 3 subsequent to the terminal before the relocation in the terminal address data table are updated, and the addresses of all the subsequent terminals are transferred and stored at the updated positions of the serial numbers (step S202). After these steps, a step S10 similar to the flowchart shown in FIG.
The address management corresponding to the relocation of the terminal can be performed by performing the address setting of the relocation terminal and the updating of the terminal address data table by the transfer of the serial number and the address of the subsequent terminal through 1 to S107.
When the terminal is relocated, in FIG. 4, after step S202, in the flowchart shown in FIG. 3, the notation of the extension terminal is simply replaced with the relocation terminal, and the same processing is performed.

【0025】実施例3.なお、上記各実施例において、
端末機アドレスデータテーブルのアドレス記憶位置を示
す通番自体に監視装置1側から端末機3が順次配置され
る位置を示すようにすることにより、端末機3の増設及
び移設に拘わらず通番によって端末機の接続状況を容易
に知り得ることができ、かつ自由なアドレス設定が行い
得ると共にアドレス管理の精度が向上するという効果が
ある。特に、この場合には、端末機の増設または移設を
行う際に、その端末機のアドレスは、隣接端末機のアド
レスを参照することなく、端末機アドレスデータテーブ
ルに設定されてないアドレスを設定するばよく、自由な
アドレスの設定が行い得る。
Embodiment 3 FIG. In each of the above embodiments,
The serial number indicating the address storage position of the terminal address data table indicates the position where the terminal 3 is sequentially arranged from the monitoring device 1 side, so that the terminal can be serially numbered regardless of the extension or relocation of the terminal 3. This makes it possible to easily know the connection status of the device, to perform free address setting, and to improve the accuracy of address management. In particular, in this case, when a terminal is added or relocated, the address of the terminal is set to an address not set in the terminal address data table without referring to the address of the adjacent terminal. Free setting of the address can be performed.

【0026】[0026]

【発明の効果】以上のように、この発明によれば、各端
末機に、隣接端末機にそれぞれアドレスを問い合わせて
返答された隣接端末機のアドレスを監視装置に通知する
制御手段を備えると共に、上記監視装置に、アドレスの
記憶領域の位置を示す通番に対応して各端末機の配置位
置を示すようにしたアドレスを記憶してなる端末機アド
レスデータテーブルと、端末機間に挿入された端末機か
ら通知された隣接端末機のアドレスに基づいて挿入端末
機のアドレスを割り当て挿入端末機に通知すると共に該
アドレスを上記端末機アドレスデータテーブルに記憶さ
せる制御手段とを備えたことにより、予め監視装置にア
ドレスを設定する必要がなく、端末機の自由な増設及び
移設に対応して端末機の接続状況に応じたアドレス設定
が自動的に行い得ると共にアドレス管理の精度が向上す
るという効果がある。
As described above, according to the present invention, each terminal is provided with control means for inquiring the address of the adjacent terminal and informing the monitoring device of the address of the returned adjacent terminal, to the monitoring apparatus, the address
Location of each terminal according to the serial number indicating the location of the storage area
And a terminal address data table storing an address indicating the position of the terminal, and allocating the address of the insertion terminal based on the address of the adjacent terminal notified from the terminal inserted between the terminals. And the control means for notifying the address and storing the address in the terminal address data table eliminates the need to set an address in the monitoring device in advance. There is an effect that the address setting according to the connection status of the device can be automatically performed and the accuracy of the address management is improved.

【0027】また、他の発明によれば、監視装置に、
ドレスの記憶領域の位置を示す通番自体に監視装置側か
ら端末機が順次配置される位置を示すようにして当該
番の位置に各端末機のアドレスをそれぞれ記憶してなる
端末機アドレスデータテーブルと、端末機間に挿入され
た端末機からのアドレス設定の問い合わせに対し上記端
末機アドレスデータテーブルに記憶されたアドレスを参
照して挿入端末機のアドレスを設定し挿入端末機に通知
すると共に該アドレスを上記端末機アドレスデータテー
ブルに記憶させる制御手段とを備えたことにより、端末
機アドレスデータテーブルのアドレス記憶位置を示す通
番自体に監視装置側から端末機が順次配置される位置を
示すようにして、端末機の増設及び移設に拘わらず通番
によって端末機の接続状況を容易に知り得ることがで
き、かつ自由なアドレス設定が行い得ると共にアドレス
管理の精度が向上するという効果がある。
Further, according to another aspect of the present invention, the monitoring device, A
The serial number indicating the location of the storage area of the dress itself
A terminal address data table in which the addresses of the terminals are respectively stored at the positions of the serial numbers so as to indicate the positions where the terminals are sequentially arranged, and a terminal inserted between the terminals. In response to an address setting inquiry from the terminal, the address of the insertion terminal is set by referring to the address stored in the terminal address data table, the address is notified to the insertion terminal, and the address is stored in the terminal address data table. Control means for causing the monitoring device to sequentially indicate the position at which the terminal is sequentially arranged from the monitoring device side, so that the serial number indicating the address storage position of the terminal address data table can be used regardless of extension and relocation of the terminal. The connection status of the terminal can be easily known by the serial number, the address can be set freely, and the accuracy of address management is improved. There is an effect of.

【0028】また、上記監視装置の制御手段は、端末機
間に新たな端末機を挿入する時に、上記端末機アドレス
データテーブル内の挿入端末機に後続する端末機の記憶
領域である通番を更新して更新された通番の位置に後続
する全端末機のアドレスを移し換え記憶させることによ
り、端末機の増設に対応したアドレス管理が行い得ると
いう効果がある。
When a new terminal is inserted between the terminals, the control means of the monitoring device updates the serial number which is a storage area of the terminal following the inserted terminal in the terminal address data table. By transferring and storing the addresses of all subsequent terminals to the updated serial number position, there is an effect that address management corresponding to the addition of terminals can be performed.

【0029】さらに、上記各端末機の制御手段は、移設
時に、移設前の自局アドレスを上記監視装置に通知する
と共に、上記監視装置の制御手段は、移設前に移設端末
機から通知されたアドレスに基づいて上記端末機アドレ
スデータテーブル内の移設前の端末機に後続する全端末
機の通番を更新して更新された通番の位置に後続する全
端末機のアドレスを移し換え記憶させることにより、端
末機の移設に対応したアドレス管理が行い得るという効
果がある。
Further, at the time of relocation, the control means of each terminal notifies the monitoring device of its own address before the relocation, and the control means of the monitoring device notifies the address of the self-station before the relocation from the relocation terminal. By updating the serial numbers of all the terminals subsequent to the terminal before the relocation in the terminal address data table based on the address and transferring and storing the addresses of all the subsequent terminals at the updated serial number position, This has the effect that address management corresponding to the relocation of the terminal can be performed.

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

【図1】 この発明に係るローカルエリアネットワーク
装置を説明する監視装置と端末機の構成図である。
FIG. 1 is a configuration diagram of a monitoring device and a terminal explaining a local area network device according to the present invention.

【図2】 図1の監視装置1内記憶部11に備えられる
端末機アドレスデータテーブルの内容を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing contents of a terminal address data table provided in a storage unit 11 in the monitoring device 1 of FIG.

【図3】 この発明の実施例1に係る端末機の増設時の
CPU10及び30の制御フローチャートである。
FIG. 3 is a control flowchart of CPUs 10 and 30 when a terminal is added according to the first embodiment of the present invention.

【図4】 この発明の実施例2に係る端末機の移設時の
CPU10及び30の制御フローチャートである。
FIG. 4 is a control flowchart of CPUs 10 and 30 when a terminal is relocated according to a second embodiment of the present invention.

【図5】 端末機の増設前と増設後の状態を示す動作概
念図である。
FIG. 5 is an operation conceptual diagram showing a state before and after addition of a terminal.

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

1 監視装置、10 CPU、11 記憶部、2 伝送
線、3 端末機、30 CPU。
1 monitoring device, 10 CPUs, 11 storage units, 2 transmission lines, 3 terminals, 30 CPUs.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 監視装置に伝送線を介してマルチドロッ
プ方式によって複数の端末機が接続されてなるローカル
エリアネットワーク装置において、上記各端末機に、隣
接する各端末機にそれぞれアドレスを問い合わせて返答
された隣接端末機のアドレスを上記監視装置に通知する
制御手段を備えると共に、上記監視装置に、アドレスの
記憶領域の位置を示す通番に対応して各端末機の配置位
置を示すようにしたアドレスを記憶してなる端末機アド
レスデータテーブルと、端末機間に挿入された端末機か
ら通知された隣接端末機のアドレスに基づいて挿入端末
機のアドレスを割り当て挿入端末機に通知すると共に該
アドレスを上記端末機アドレスデータテーブルに記憶さ
せる制御手段とを備えたことを特徴とするローカルエリ
アネットワーク装置。
1. In a local area network device in which a plurality of terminals are connected to a monitoring device via a transmission line by a multi-drop method, each terminal is queried for an address to an adjacent terminal, and a reply is made. the the address of the adjacent terminal has provided with a control means for notifying the monitoring device, to the monitoring device, the address
Location of each terminal according to the serial number indicating the location of the storage area
And a terminal address data table storing an address indicating the position of the terminal, and allocating the address of the insertion terminal based on the address of the adjacent terminal notified from the terminal inserted between the terminals. And a control means for notifying the terminal and storing the address in the terminal address data table.
【請求項2】 監視装置に伝送線を介してマルチドロッ
プ方式によって複数の端末機が接続されてなるローカル
エリアネットワーク装置において、上記監視装置に、
ドレスの記憶領域の位置を示す通番自体に監視装置側か
ら端末機が順次配置される位置を示すようにして当該
番の位置に各端末機のアドレスをそれぞれ記憶してなる
端末機アドレスデータテーブルと、端末機間に挿入され
た端末機からのアドレス設定の問い合わせに対し上記端
末機アドレスデータテーブルに記憶されたアドレスを参
照して挿入端末機のアドレスを設定し挿入端末機に通知
すると共に該アドレスを上記端末機アドレスデータテー
ブルに記憶させる制御手段とを備えたことを特徴とする
ローカルエリアネットワーク装置。
2. A local area network system in which a plurality of terminals which are connected by a multi-drop scheme through the transmission line to the monitoring device, to the monitoring device, A
The serial number indicating the location of the storage area of the dress itself
A terminal address data table in which the addresses of the terminals are respectively stored at the positions of the serial numbers so as to indicate the positions where the terminals are sequentially arranged, and a terminal inserted between the terminals. In response to an address setting inquiry from the terminal, the address of the insertion terminal is set by referring to the address stored in the terminal address data table, the address is notified to the insertion terminal, and the address is stored in the terminal address data table. A local area network device comprising:
【請求項3】 上記監視装置の制御手段は、端末機間に
新たな端末機を挿入する時に、上記端末機アドレスデー
タテーブル内の挿入端末機に後続する端末機の記憶領域
である通番を更新して更新された通番の位置に後続する
全端末機のアドレスを移し換え記憶させることを特徴と
する請求項1または2記載のローカルエリアネットワー
ク装置。
3. The control means of the monitoring device updates a serial number which is a storage area of a terminal following the inserted terminal in the terminal address data table when a new terminal is inserted between the terminals. 3. The local area network device according to claim 1, wherein the addresses of all subsequent terminals are transferred and stored in the updated serial number position.
【請求項4】 上記各端末機の制御手段は、移設時に、
移設前の自局アドレスを上記監視装置に通知すると共
に、上記監視装置の制御手段は、移設前に移設端末機か
ら通知されたアドレスに基づいて上記端末機アドレスデ
ータテーブル内の移設前の端末機に後続する全端末機の
通番を更新して更新された通番の位置に後続する全端末
機のアドレスを移し換え記憶させることを特徴とする請
求項3記載のローカルエリアネットワーク装置。
4. The control means of each terminal described above, at the time of relocation,
Notifying the monitoring device of the own station address before the relocation, the control means of the monitoring device transmits the terminal before the relocation in the terminal address data table based on the address notified from the relocation terminal before the relocation. 4. The local area network device according to claim 3, wherein the serial numbers of all subsequent terminals are updated, and the addresses of all subsequent terminals are transferred and stored in the updated serial number position.
JP02828095A 1995-02-16 1995-02-16 Local area network device Expired - Fee Related JP3173959B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02828095A JP3173959B2 (en) 1995-02-16 1995-02-16 Local area network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02828095A JP3173959B2 (en) 1995-02-16 1995-02-16 Local area network device

Publications (2)

Publication Number Publication Date
JPH08223178A JPH08223178A (en) 1996-08-30
JP3173959B2 true JP3173959B2 (en) 2001-06-04

Family

ID=12244194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02828095A Expired - Fee Related JP3173959B2 (en) 1995-02-16 1995-02-16 Local area network device

Country Status (1)

Country Link
JP (1) JP3173959B2 (en)

Also Published As

Publication number Publication date
JPH08223178A (en) 1996-08-30

Similar Documents

Publication Publication Date Title
EP0519732B1 (en) Apparatus and method for setting control information of a computer system
KR100257413B1 (en) Address management for remote terminals in digital loop transmission systems
US6578115B2 (en) Method and apparatus for handling invalidation requests to processors not present in a computer system
JP3173959B2 (en) Local area network device
US6772232B1 (en) Address assignment procedure that enables a device to calculate addresses of neighbor devices
US6564277B1 (en) Method and system for handling interrupts in a node controller without attached processors
JP2001117899A (en) Multi-server system
JP3137197B2 (en) Multiprocessor system
CN100588205C (en) Method and device for identifying devices connected to communication network
JPH07105804B2 (en) Address setter
JP2001333083A (en) Setting method for newly adding and deleting field device, and method for newly adding field device
JP3518513B2 (en) Data communication control system
JP3073284B2 (en) Data communication method
KR101876636B1 (en) Apparatus and Method for transmitting/receiving message
JP2746961B2 (en) Facsimile communication system
JPH04156739A (en) Communication system
JPH10247616A (en) Exposure device, semiconductor production system and manufacture of semiconductor
JP2694412B2 (en) Data transmission system
JP3168254B2 (en) Message processing method in distributed processing
EP0589447A2 (en) Method for joining a plurality of networks and seceding therefrom
JPH0895901A (en) Method and device for switching bus
JPH04195446A (en) Transmission route selection system
JP2002341907A (en) Method for transmitting/receiving data in blast furnace facility program logic controller
JPH01125141A (en) Computer address assignment system
JPH0479443A (en) Exchanging device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090330

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090330

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100330

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120330

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees