JP2003134115A - Communication equipment and address setting method for the same - Google Patents

Communication equipment and address setting method for the same

Info

Publication number
JP2003134115A
JP2003134115A JP2001332285A JP2001332285A JP2003134115A JP 2003134115 A JP2003134115 A JP 2003134115A JP 2001332285 A JP2001332285 A JP 2001332285A JP 2001332285 A JP2001332285 A JP 2001332285A JP 2003134115 A JP2003134115 A JP 2003134115A
Authority
JP
Japan
Prior art keywords
address
communication device
sub
message
earliest
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
JP2001332285A
Other languages
Japanese (ja)
Inventor
Isamu Sho
偉 蒋
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.)
Yamatake Building Systems Co Ltd
Original Assignee
Yamatake Building Systems 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 Yamatake Building Systems Co Ltd filed Critical Yamatake Building Systems Co Ltd
Priority to JP2001332285A priority Critical patent/JP2003134115A/en
Publication of JP2003134115A publication Critical patent/JP2003134115A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To automatically set an inherent address on a communication network by avoiding address overlapping. SOLUTION: A memory part 4 of first start communication equipment is provided with an address management table 42 for unitarily managing the use state of each subaddress, and an address managing means 3C of the first start communication equipment transmits an address management message showing an unused subaddress acquired from the address management table 42 to the communication network 1. Address setting means 3D of respective subsequent start communication equipment set an unused subaddress as a self- subaddress on the basis of the address management message, and notify the first start communication equipment of the subaddress with an address return message, and the address managing means 3C of the first start communication equipment makes the use state of the subaddress notified with the address return message to be in use in the address management table 42.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信機器およびそ
のアドレス設定方法に関し、特に各通信機器に固有のア
ドレスを用いて他の通信機器とデータ通信を行う通信機
器およびそのアドレス設定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device and an address setting method thereof, and more particularly to a communication device for performing data communication with another communication device using an address unique to each communication device and an address setting method thereof. is there.

【0002】[0002]

【従来の技術】一般に、通信ネットワークに接続された
複数の通信機器相互間でデータ通信を行う場合、各通信
機器に予め設定されている当該通信ネットワーク上で固
有のアドレスを用いてデータ通信相手を指定するものと
なっている。例えば、代表的な通信ネットワークである
イーサネット(Ethernet:登録商標)では、上記アドレ
スとしてMAC(Media Access Control)アドレスが用
いられる。
2. Description of the Related Art Generally, when performing data communication between a plurality of communication devices connected to a communication network, a data communication partner is set using a unique address preset on each communication device on the communication network. It is designated. For example, in Ethernet (registered trademark), which is a typical communication network, a MAC (Media Access Control) address is used as the address.

【0003】従来、このような通信機器では、通信ネッ
トワークに接続された他の通信機器とのアドレス重複を
回避するため、少なくともアドレスの一部を当該通信機
器ごとに任意に変更可能な構成となっている。例えば、
図9(a)に示すように、通信機器91にディップスイ
ッチ92を設け、このディップスイッチ92を切替設定
することによりアドレス重複を回避したり、図9(b)
に示すように、通信機器93とPC(パソコン)95と
を通信ケーブル94で接続し、PC95から通信機器9
3のアドレスを変更設定することによりアドレス重複を
回避するものとなっていた。
Conventionally, in such a communication device, in order to avoid address duplication with other communication devices connected to the communication network, at least a part of the address can be arbitrarily changed for each communication device. ing. For example,
As shown in FIG. 9A, the communication device 91 is provided with a DIP switch 92, and by setting the DIP switch 92 to be switched, avoiding address duplication, or FIG. 9B.
As shown in FIG. 3, the communication device 93 and the PC (personal computer) 95 are connected by a communication cable 94, and the PC 95 connects the communication device 9 to the communication device 9.
The address duplication was avoided by changing and setting the address of No. 3.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の通信機器では、アドレスを設定する際、ユー
ザの手作業が必要となり、複数の通信機器についてアド
レス設定する場合には、大きな作業負担となるという問
題点があった。また、手作業ではアドレスの設定ミスが
発生する可能性もあり、そのミスが見過ごされてアドレ
ス重複が存在したままデータ通信が開始された場合は、
通信効率の低下だけでなく通信機器が誤動作する可能性
もあり、通信ネットワークを用いて制御を行うシステム
へ多大な影響を与える可能性もあった。本発明はこのよ
うな課題を解決するためのものであり、アドレス重複を
回避して通信ネットワーク上で固有のアドレスを自動設
定できる通信機器およびそのアドレス設定方法を提供す
ることを目的としている。
However, in such a conventional communication device, a user's manual work is required when setting an address, and when setting an address for a plurality of communication devices, a heavy work load is required. There was a problem that Also, there is a possibility that an address setting error will occur manually, and if the error is overlooked and data communication is started with address duplication existing,
Not only the communication efficiency may decrease, but also the communication device may malfunction, which may have a great influence on the system that controls using the communication network. The present invention is intended to solve such a problem, and an object of the present invention is to provide a communication device capable of avoiding address duplication and automatically setting a unique address on a communication network, and an address setting method thereof.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明にかかる通信機器は、通信ネットワー
クに接続されてそれぞれ固有のアドレスを用いて他の通
信機器とデータ通信を行うとともに、電源投入により起
動した後に自己のアドレスのすべてまたはその一部を構
成する自サブアドレスを設定する通信機器であって、電
源投入により起動した際、通信ネットワークに接続され
ている通信機器のうち、当該通信機器が最先に起動した
通信機器であるかどうか判断する起動処理手段と、この
起動処理手段により当該通信機器が最先起動通信機器で
あると判断された場合に動作して、当該最先起動通信機
器に後続して起動した他の後続起動通信機器へ、未使用
のサブアドレスを通知するアドレス管理メッセージを送
信するアドレス管理手段と、起動処理手段により当該通
信機器が後続起動通信機器であると判断された場合に動
作して、最先起動通信機器からのアドレス管理メッセー
ジで通知された未使用のサブアドレスを当該後続起動通
信機器の自サブアドレスとして設定するアドレス設定手
段とを備えるものである。
In order to achieve such an object, a communication device according to the present invention is connected to a communication network to perform data communication with other communication devices using respective unique addresses. , A communication device that sets its own sub-address that composes all or part of its own address after it is started by turning on the power, and is the one of the communication devices connected to the communication network when starting by turning on the power. A startup processing unit that determines whether or not the communication device is the earliest activated communication device, and operates if the communication device is determined to be the earliest activated communication device by the activation processing unit. An address manager that sends an address management message that notifies unused subaddresses to other subsequent startup communication devices that have started after the startup communication device. Means and the activation processing means operate when the communication device is determined to be a subsequent activation communication device, and the unused subaddress notified by the address management message from the earliest activation communication device is used for the subsequent activation communication. And an address setting means for setting the device as its own sub-address.

【0006】サブアドレスの使用状態を確認する構成と
して、アドレス設定手段で、自サブアドレスを設定した
後、その自サブアドレスを含むアドレス返信メッセージ
を最先起動通信機器へ返送し、アドレス管理手段で、後
続起動通信機器からのアドレス返信メッセージに応じて
当該サブアドレスが使用中となったことを確認するよう
にしてもよい。
As a configuration for confirming the usage status of the sub-address, after the address setting means sets the own sub-address, an address reply message including the own sub-address is returned to the earliest starting communication device, and the address managing means starts the subsequent operation. It may be possible to confirm that the sub address is in use in response to an address reply message from the communication device.

【0007】サブアドレスの重複設定を回避するため、
アドレス管理手段で、後続起動通信機器からのアドレス
返信メッセージにより通知されたサブアドレスがすでに
他の通信機器で使用されている場合は、当該サブアドレ
スを持つ後続起動通信機器へ、すでに設定されているサ
ブアドレスを初期化して再設定させるためのリセットメ
ッセージを送信し、アドレス設定手段で、最先起動通信
機器からのリセットメッセージに応じて、自サブアドレ
スを初期化し新たなアドレス管理メッセージによる自サ
ブアドレスの設定を行うことを確認するようにしてもよ
い。
In order to avoid duplicate setting of subaddresses,
In the address management means, if the sub-address notified by the address reply message from the subsequent activation communication device is already used by another communication device, the sub-address already set to the subsequent activation communication device having the sub-address is set. Sending a reset message for initialization and resetting, and the address setting means initializes its own subaddress according to the reset message from the earliest starting communication device and sets its own subaddress by a new address management message. May be confirmed.

【0008】また、本発明にかかる通信機器のアドレス
設定方法は、通信ネットワークに接続されてそれぞれ固
有のアドレスを用いて他の通信機器とデータ通信を行う
とともに、電源投入により起動した後に自己のアドレス
のすべてまたはその一部を構成する自サブアドレスを設
定する通信機器のアドレス設定方法であって、通信ネッ
トワークに接続された各通信機器のうち最先に起動した
最先起動通信機器から、その最先起動通信機器に後続し
て起動した他の後続起動通信機器へ、未使用のサブアド
レスを通知するアドレス管理メッセージを送信し、後続
起動通信機器で、最先起動通信機器からのアドレス管理
メッセージで通知された未使用のサブアドレスを当該後
続起動通信機器の自サブアドレスとして設定するように
したものである。
Further, the communication device address setting method according to the present invention is connected to a communication network to perform data communication with other communication devices by using respective unique addresses, and after starting by turning on the power, the own address is set. Is a method for setting the address of a communication device that sets all or part of its own sub-address, which is the first activated communication device that is activated first among the communication devices connected to the communication network. An address management message that notifies an unused sub-address is sent to other subsequent activation communication devices that have been activated following the activation communication device, and the subsequent activation communication device is notified by the address management message from the earliest activation communication device. The unused subaddress is set as the own subaddress of the subsequent activation communication device.

【0009】サブアドレスの使用状態を確認する方法と
して、後続起動通信機器で、自サブアドレスを設定した
後、その自サブアドレスを含むアドレス返信メッセージ
を最先起動通信機器へ返送し、最先起動通信機器で、後
続起動通信機器からのアドレス返信メッセージに応じて
当該サブアドレスが使用中となったことを確認するよう
にしてもよい。
As a method of confirming the usage state of the sub-address, after setting the own sub-address in the subsequent activation communication device, an address reply message including the own sub-address is returned to the earliest activation communication device, and the first activation communication device The sub-address may be confirmed to be in use in response to an address reply message from the subsequent activation communication device.

【0010】サブアドレスの重複設定を回避するため、
最先起動通信機器で、後続起動通信機器からのアドレス
返信メッセージにより通知されたサブアドレスがすでに
他の通信機器で使用されている場合は、当該サブアドレ
スを持つ後続起動通信機器へ、すでに設定されているサ
ブアドレスを初期化して再設定させるためのリセットメ
ッセージを送信し、後続起動通信機器で、最先起動通信
機器からのリセットメッセージに応じて、自サブアドレ
スを初期化し新たなアドレス管理メッセージによる自サ
ブアドレスの設定を行うことを確認するようにしてもよ
い。
In order to avoid duplication of subaddresses,
In the earliest startup communication device, if the sub-address notified by the address reply message from the subsequent startup communication device is already used by another communication device, it is already set to the subsequent startup communication device with the sub-address. A reset message for initializing and resetting the subaddress is sent, and the subsequent startup communication device initializes its own subaddress in response to the reset message from the earliest startup communication device and sets its own subaddress by a new address management message. You may confirm that it does.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明の一実施の形
態にかかる通信機器および通信ネットワークの構成を示
すブロック図である。通信機器1A,1B,1C,…
は、それぞれ通信ネットワーク1に接続されており、こ
の通信ネットワーク1を介して相互にデータ通信を行う
装置である。これら通信機器1A,1B,1C,…は、
同一構成を有しており、それぞれ通信I/F部2、制御
部3およびメモリ部4が設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a communication device and a communication network according to an embodiment of the present invention. Communication equipment 1A, 1B, 1C, ...
Are devices that are respectively connected to the communication network 1 and perform data communication with each other via the communication network 1. These communication devices 1A, 1B, 1C, ...
It has the same configuration and includes a communication I / F unit 2, a control unit 3, and a memory unit 4, respectively.

【0012】通信I/F部2は、通信ネットワーク1を
介して他の通信機器との間で信号を送受信することによ
りデータ通信を行うインターフェース回路部である。制
御部3は、CPUなどのマイクロプロセッサやその周辺
回路からなり、所定のプログラムを実行することにより
当該通信機器を制御する制御回路部である。この制御部
3には、上記ハードウェア資源とプログラムからなるソ
フトウェアとが協働することにより実現される機能手段
として、メッセージ送受信手段3A、起動処理手段3
B、アドレス管理手段3Cおよびアドレス設定手段3D
が設けられている。
The communication I / F unit 2 is an interface circuit unit that performs data communication by transmitting and receiving signals to and from other communication devices via the communication network 1. The control unit 3 includes a microprocessor such as a CPU and its peripheral circuits, and is a control circuit unit that controls the communication device by executing a predetermined program. The control unit 3 includes a message transmitting / receiving unit 3A and a start processing unit 3 as functional units realized by cooperation of the above hardware resources and software consisting of programs.
B, address management means 3C and address setting means 3D
Is provided.

【0013】メッセージ送受信手段3Aでは、通信I/
F部2を介して他の通信機器とメッセージがやり取りさ
れる。特に、通信ネットワーク1上を流れるメッセージ
のうち、当該通信機器のアドレスや特定アドレスが送信
先アドレスとして設定されているメッセージのみを受信
する。ここでは、他の通信機器と所望のデータをやり取
りするためのメッセージに加えて、当該通信機器さらに
は他の通信機器のアドレスを管理設定するためのアドレ
ス管理設定用のメッセージも取り扱われる。
In the message transmitting / receiving means 3A, communication I /
Messages are exchanged with other communication devices via the F unit 2. In particular, among the messages flowing on the communication network 1, only the message in which the address or the specific address of the communication device is set as the destination address is received. Here, in addition to a message for exchanging desired data with another communication device, an address management setting message for managing and setting the address of the communication device and another communication device is also handled.

【0014】起動処理手段3Bは、電源投入により起動
した際、通信ネットワーク1に接続されている各通信機
器のうち、当該通信機器が最先に起動した通信機器であ
るかどうか判断する。アドレス管理手段3Cは、起動処
理手段3Bにより当該通信機器が最先起動通信機器であ
ると判断された場合に動作して、当該通信機器に後続し
て起動した他の後続起動通信機器へ、未使用のサブアド
レスを通知するアドレス管理メッセージを送信すること
により、後続起動通信機器のサブアドレスを管理する。
When the activation processing means 3B is activated by turning on the power, it determines whether or not the communication equipment connected to the communication network 1 is the earliest activated communication equipment. The address managing means 3C operates when the communication processing device 3B determines that the communication device is the earliest activation communication device, and does not notify the other subsequent activation communication device activated after the communication device. The sub-address of the subsequent activation communication device is managed by transmitting an address management message that notifies the sub-address of use.

【0015】アドレス設定手段3Dは、起動処理手段3
Bにより当該通信機器が後続起動通信機器であると判断
された場合に動作して、最先起動通信機器からのアドレ
ス管理メッセージで通知された未使用のサブアドレスを
当該後続起動通信機器の自サブアドレスとして設定す
る。メモリ部4は、制御部3の処理動作に必要な情報を
記憶するためのメモリ回路である。ここでは、当該通信
機器に割り当てたアドレスすなわち自サブアドレス41
が記憶される。また、必要に応じて、各通信機器で使用
されるアドレスの使用状態を一元管理するためのアドレ
ス管理テーブル42も記憶される。
The address setting means 3D is a start processing means 3
It operates when B determines that the communication device is the subsequent activation communication device, and uses the unused subaddress notified by the address management message from the earliest activation communication device as its own subaddress of the subsequent activation communication device. Set. The memory unit 4 is a memory circuit for storing information necessary for the processing operation of the control unit 3. Here, the address assigned to the communication device, that is, its own sub-address 41
Is memorized. Further, if necessary, an address management table 42 for centrally managing the usage status of addresses used in each communication device is also stored.

【0016】以下では、代表的な通信ネットワークであ
るイーサネットを例とし、このイーサネットで用いられ
るMAC(Media Access Control)アドレスを各通信機
器で設定する場合について説明する。図2にMACアド
レスの構成図を示す。MACアドレスは、6バイト長
(48ビット長)を有しており、上位5バイト分(byte
6〜byte2/40ビット長)については、当該通信機器の
メーカおよび当該製品に対して予め割り当てられた固有
のアドレス、すなわち機器メーカ固有アドレス51が使
用される。そして、残りの下位1バイト分(byte1/8
ビット長)が、ユーザにより任意に設定可能なアドレス
すなわちサブアドレス52として使用される。
In the following, a case will be described in which Ethernet, which is a typical communication network, is taken as an example, and a MAC (Media Access Control) address used in this Ethernet is set in each communication device. FIG. 2 shows a configuration diagram of the MAC address. The MAC address has a 6-byte length (48-bit length), and the upper 5 bytes (byte
For 6 to byte 2/40 bit length), a unique address previously assigned to the maker of the communication device and the product, that is, the device maker unique address 51 is used. Then, the remaining lower 1 byte (byte 1/8
(Bit length) is used as an address or subaddress 52 that can be arbitrarily set by the user.

【0017】したがって、このようなMACアドレス構
成を用いる場合、各通信機器のメーカが異なれば、当然
機器メーカ固有アドレス51が異なるためアドレス重複
は発生しない。しかし、実際には同一メーカで同一機種
の通信機器を複数用いる場合も多く、このような場合は
これら通信機器間でサブアドレス52を調整する必要が
ある。
Therefore, when such a MAC address configuration is used, if the makers of the respective communication devices are different, the device manufacturer's unique address 51 is naturally different, so that no address duplication occurs. However, in reality, there are many cases where a plurality of communication devices of the same model are used by the same manufacturer, and in such a case, it is necessary to adjust the sub-address 52 between these communication devices.

【0018】本実施の形態では、このサブアドレス52
を各通信機器で重複なく自動設定するようにしたもので
ある。特に、MACアドレスの場合、サブアドレス52
は1バイト長を有しているため256種類のサブアドレ
スを設定できるが、アドレス値「255」については、
放送形態のメッセージに利用する共通アドレスとしてシ
ステムで予約されており、実際に自動設定に使用できる
アドレス範囲は、「0」〜「254」となる。
In the present embodiment, this subaddress 52
Is automatically set in each communication device without duplication. In particular, in the case of a MAC address, the sub address 52
Has a 1-byte length, 256 types of subaddresses can be set. However, for the address value "255",
It is reserved by the system as a common address used for broadcast type messages, and the address range that can be actually used for automatic setting is "0" to "254".

【0019】また、本実施の形態では、サブアドレスを
設定する際、各通信機器への電源投入の順序すなわち起
動順序を利用してそれぞれの通信機器でサブアドレスを
設定するようにしている。そして、最先に起動された通
信機器ですべてのサブアドレスの使用状態を管理するも
のとし、そのための管理テーブルとして前述したアドレ
ス管理テーブル42がメモリ部4で記憶管理される。し
たがって、アドレス管理テーブル42は、すべての通信
機器に必要なものではなく、最先に起動された最先起動
通信機器に設けておけばよい。
Further, in this embodiment, when setting the sub-address, the sub-address is set in each communication device by utilizing the power-on sequence of each communication device, that is, the activation sequence. Then, it is assumed that the communication device that is activated first manages the usage states of all subaddresses, and the address management table 42 described above is stored and managed in the memory unit 4 as a management table for that purpose. Therefore, the address management table 42 is not necessary for all communication devices, but may be provided for the earliest activated communication device activated first.

【0020】図3に、アドレス管理テーブルの構成例を
示す。ここでは、各サブアドレスごとに使用状態フラグ
が記憶されており、使用状態フラグが「1」の場合、そ
のサブアドレスがいずれかの通信機器で使用されている
ことを示し、使用状態フラグが「0」の場合、そのサブ
アドレスがいずれの通信機器でも使用されていないこと
を示している。
FIG. 3 shows a configuration example of the address management table. Here, a usage status flag is stored for each sub-address, and when the usage status flag is "1", it indicates that the sub-address is used by any communication device, and the usage status flag is "0". In the case of, it indicates that the sub address is not used in any communication device.

【0021】次に、図4を参照して、本発明の動作を説
明する。図4は、本発明にかかる通信機器の動作として
電源投入時の起動処理を示すフローチャートである。通
信機器で電源投入された場合、制御部3の起動処理手段
3Bでは、図4に示す起動処理を開始する。まず、メッ
セージ送受信手段3Aにより通信ネットワーク1からの
メッセージを所定期間だけ受信待ちし(ステップ10
0)、通信ネットワーク1上に動作中の通信機器が存在
するかどうか確認する。なお、受信待ちするメッセージ
としては、すべてのメッセージを対象としてもよく、特
定のメッセージのみ、例えば最先起動通信機器からのア
ドレス管理メッセージのみを対象としてもよい。
Next, the operation of the present invention will be described with reference to FIG. FIG. 4 is a flowchart showing an activation process at power-on as an operation of the communication device according to the present invention. When the communication device is powered on, the activation processing means 3B of the control unit 3 starts the activation processing shown in FIG. First, the message transmitting / receiving unit 3A waits for a message from the communication network 1 for a predetermined period (step 10).
0), It is confirmed whether or not there is a communication device operating on the communication network 1. Note that the message waiting to be received may be all messages or only specific messages, for example, only the address management message from the earliest activation communication device.

【0022】ここで、メッセージが受信されなかった場
合は(ステップ101:YES)、通信ネットワーク1
上に動作中の通信機器が他に存在しないと判断し、当該
通信機器が最先に起動された最先起動通信機器となるこ
とから、他の通信機器のアドレスを管理するためアドレ
ス管理手段3Cを起動し(ステップ102)、一連の起
動処理を終了する。また、任意のメッセージが受信され
た場合は(ステップ101:NO)、通信ネットワーク
1上に動作中の通信機器が存在すると判断して、最先起
動通信機器によるアドレス管理処理に基づき自サブアド
レスを設定するためのアドレス設定手段3Dを起動し
(ステップ103)、一連の起動処理を終了する。
Here, if the message is not received (step 101: YES), the communication network 1
Since it is determined that there is no other communication device in operation and the communication device is the earliest activated communication device activated first, the address management means 3C for managing the address of the other communication device. Is started (step 102), and a series of start-up processing is ended. If any message is received (step 101: NO), it is determined that there is a communication device in operation on the communication network 1, and the own subaddress is set based on the address management process by the earliest activation communication device. The address setting means 3D is activated (step 103), and a series of activation processing is terminated.

【0023】次に、図5を参照して、最先起動通信機器
におけるアドレス管理処理について説明する。図5はア
ドレス管理処理を示すフローチャートである。最先起動
通信機器となった通信機器のアドレス管理手段3Cで
は、まず、自サブアドレスとしてサブアドレス「0」を
選択し、メモリ部4へ自サブアドレス41として登録す
るとともに、アドレス管理テーブル42のうちサブアド
レス「0」の使用状態フラグを「1」に設定し、サブア
ドレス「0」が使用中であることを登録する(ステップ
110)。
Next, the address management processing in the earliest activation communication device will be described with reference to FIG. FIG. 5 is a flowchart showing the address management process. In the address management means 3C of the communication device which is the earliest activated communication device, first, the sub-address “0” is selected as the self-sub-address, the self-sub-address 41 is registered in the memory unit 4, and the sub-address “ The use state flag of "0" is set to "1", and the fact that the sub address "0" is in use is registered (step 110).

【0024】そして、最先起動通信機器より後に電源投
入されて起動した他の通信機器のアドレスを管理するた
めのアドレス管理メッセージを、メッセージ送受信手段
3Aを介して通信ネットワーク1上へ送信する(ステッ
プ111)。図6にアドレス管理メッセージの構成例を
示す。アドレス管理メッセージ6の構成は、全体してイ
ーサネットで用いられる一般的なメッセージの構成と同
様であり、各部の詳細な説明は省略する。本実施の形態
で用いられるアドレス管理メッセージ6では、特に、送
信先MACアドレス61のサブアドレスとして放送形態
用サブアドレス「255」が用いられ、送信元MACア
ドレス62のサブアドレスとしてステップ110で設定
したサブアドレス「0」が用いられる。
Then, an address management message for managing the address of another communication device which is powered on and started after the earliest starting communication device is transmitted to the communication network 1 via the message transmitting / receiving means 3A (step 111). FIG. 6 shows a configuration example of the address management message. The configuration of the address management message 6 is the same as the configuration of a general message used in Ethernet as a whole, and detailed description of each unit will be omitted. In the address management message 6 used in the present embodiment, in particular, the broadcast form subaddress “255” is used as the subaddress of the destination MAC address 61, and the subaddress “0” set in step 110 is set as the subaddress of the source MAC address 62. Is used.

【0025】また、このアドレス管理メッセージ6で
は、自装置のアドレス設定処理を行う他の通信機器すな
わち後続起動通信機器に対してサブアドレスの使用状態
を通知するため、サブアドレス使用状態情報63が格納
されている。このサブアドレス使用状態情報63は、ア
ドレス管理テーブル42で管理されている各サブアドレ
スの使用状態フラグから構成されている。後続起動通信
機器では、このサブアドレス使用状態情報63を参照
し、自サブアドレスとして未使用のサブアドレスを選択
する。
Further, in the address management message 6, the sub-address use state information 63 is stored in order to notify the other communication device which performs the address setting process of the own device, that is, the subsequent activated communication device, in order to notify the sub-address use state. There is. The sub-address usage status information 63 is composed of usage status flags of each sub-address managed by the address management table 42. The subsequent activation communication device refers to this sub-address use state information 63 and selects an unused sub-address as its own sub-address.

【0026】最先起動通信機器のアドレス管理手段3C
では、このようなアドレス管理メッセージを通信ネット
ワーク1上へ送信した後、他の通信機器からのアドレス
返信メッセージを所定期間だけ受信待ちする(ステップ
112)。図7にアドレス返信メッセージの構成例を示
す。このアドレス返信メッセージ7は、他の通信機器で
アドレス管理メッセージ6を受信して設定した自サブア
ドレスを、最先起動通信機器へ通知するためのメッセー
ジである。
Address management means 3C of the earliest starting communication device
Then, after transmitting such an address management message on the communication network 1, it waits for reception of an address reply message from another communication device for a predetermined period (step 112). FIG. 7 shows a configuration example of the address reply message. The address reply message 7 is a message for notifying the earliest starting communication device of its own sub-address set by receiving the address management message 6 by another communication device.

【0027】アドレス返信メッセージ7の構成は、全体
してイーサネットで用いられる一般的なメッセージの構
成と同様であり、各部の詳細な説明は省略する。本実施
の形態で用いられるアドレス返信メッセージ7では、特
に、送信先MACアドレス71として、アドレス管理メ
ッセージ6の送信元アドレス(サブアドレス=「0」)
が用いられ、送信元MACアドレス71のサブアドレス
として当該通信機器で設定した自サブアドレスが用いら
れる。なお、アドレス返信メッセージ7自体には有効な
情報が格納されず、仮のダミーデータ73が格納され
る。
The structure of the address reply message 7 is the same as the structure of a general message used in the Ethernet as a whole, and detailed description of each part is omitted. In the address reply message 7 used in the present embodiment, in particular, as the transmission destination MAC address 71, the transmission source address of the address management message 6 (sub address = “0”)
Is used, and the own sub-address set in the communication device is used as the sub-address of the source MAC address 71. It should be noted that the address reply message 7 itself does not store valid information, but stores temporary dummy data 73.

【0028】このようなアドレス返信メッセージが受信
された場合(ステップ113:YES)、最先起動通信
機器のアドレス管理手段3Cでは、そのアドレス返信メ
ッセージの送信元MACアドレスから送信元サブアドレ
スを抽出してアドレス管理テーブル42とを照合し(ス
テップ114)、その送信元サブアドレスの使用状態を
確認する(ステップ115)。ここで、その送信元サブ
アドレスが未使用状態であれば(ステップ115:YE
S)、アドレス管理テーブル42のうち当該送信元サブ
アドレスの使用状態フラグを「1」に設定して、使用中
であることを登録する(ステップ116)。そして、ス
テップ111へ戻って、更新されたアドレス管理テーブ
ル42の内容が反映された新たなアドレス管理メッセー
ジを送信し、新たに起動した他の通信機器のためのアド
レス管理処理を継続する。
When such an address reply message is received (step 113: YES), the address management means 3C of the earliest starting communication device extracts the sender subaddress from the sender MAC address of the address reply message. The address management table 42 is collated (step 114), and the use state of the transmission source sub-address is confirmed (step 115). Here, if the transmission source sub-address is in an unused state (step 115: YE
S) In the address management table 42, the use status flag of the transmission source subaddress is set to "1" to register that it is in use (step 116). Then, returning to step 111, a new address management message in which the updated contents of the address management table 42 are reflected is transmitted, and the address management process for another newly activated communication device is continued.

【0029】一方、送信元サブアドレスが使用中状態で
あった場合は(ステップ115:NO)、アドレスの重
複設定が生じていると判断し、そのサブアドレスを有す
る各後続起動通信機器に対してそれぞれのサブアドレス
を初期化し再設定させるためリセットメッセージを通信
ネットワーク1上へ送信し(ステップ116)、ステッ
プ111へ戻る。なお、リセットメッセージについて
は、アドレス返信メッセージ7(図7)と同様の構成を
有しており、詳細な説明は省略する。なお、ダミーデー
タ73に代えて当該メッセージがリセットメッセージで
あることを示すメッセージ種別情報が格納されている。
On the other hand, if the transmission source sub-address is in use (step 115: NO), it is determined that an address duplication setting has occurred, and each succeeding starting communication device having that sub-address has its own address. A reset message is transmitted over the communication network 1 to initialize and reset the subaddress (step 116), and the process returns to step 111. Note that the reset message has the same configuration as the address reply message 7 (FIG. 7), and detailed description thereof will be omitted. Note that instead of the dummy data 73, message type information indicating that the message is a reset message is stored.

【0030】このリセットメッセージを受信した後続起
動通信機器では、各自がランダムな時間を待ってから、
新たなアドレス管理メッセージによるアドレス設定処理
を再度実行する。なお、ランダム時間待ちの目的は、各
自のアドレス設定処理の再開タイミングがずれるように
するためのものであり、これによりアドレスの重複設定
の再発生を確実に防ぐことができる。また、ステップ1
13でアドレス返信メッセージが受信されなかった場合
も(ステップ113:NO)、ステップ111へ戻って
新たなアドレス管理メッセージを送信し、新たに起動し
た他の通信機器のためのアドレス管理処理を継続する。
Each of the subsequent activation communication devices that have received this reset message waits for a random time, and then
The address setting process using the new address management message is executed again. The purpose of waiting for the random time is to shift the restart timing of the address setting processing of each one, so that reoccurrence of duplicate address setting can be reliably prevented. Also, step 1
Even when the address reply message is not received in step 13 (step 113: NO), the process returns to step 111, a new address management message is transmitted, and the address management process for the newly activated other communication device is continued. .

【0031】次に、図8を参照して、最先起動通信機器
に後続して電源投入されて起動した後続起動通信機器に
おけるアドレス設定処理について説明する。図8はアド
レス設定処理を示すフローチャートである。後続起動通
信機器のアドレス設定手段3Dでは、まず、所定期間だ
けアドレス管理メッセージを受信待ちし(ステップ12
0)、最先起動通信機器からのアドレス管理メッセージ
が受信された場合は(ステップ121:YES)、その
アドレス管理メッセージ6のサブアドレス使用状態情報
63(図6参照)を取得する。
Next, with reference to FIG. 8, the address setting processing in the subsequent activation communication device which is activated after being powered on after the earliest activation communication device will be described. FIG. 8 is a flowchart showing the address setting process. The address setting means 3D of the subsequent activation communication device first waits for an address management message for a predetermined period (step 12).
0) When the address management message from the earliest activation communication device is received (step 121: YES), the sub-address use state information 63 (see FIG. 6) of the address management message 6 is acquired.

【0032】そして、そのサブアドレス使用状態情報6
3から未使用状態のサブアドレス、例えば最も若い未使
用状態のサブアドレスから順に選択し(ステップ12
2)、自サブアドレス41としてメモリ部4へ登録する
(ステップ123)。その後、設定した自サブアドレス
を最先起動通信機器へ通知するため、図7で示したアド
レス返信メッセージ7を通信ネットワーク1上へ送信し
(ステップ124)、一連のアドレス設定処理を終了す
る。これにより、上記アドレス返信メッセージが最先起
動通信機器で受信され、上記サブアドレスが重複使用さ
れないようアドレス管理されることになる。
Then, the subaddress use state information 6
3 to an unused subaddress, for example, the youngest unused subaddress in order (step 12
2) Then, it is registered in the memory section 4 as its own subaddress 41 (step 123). After that, in order to notify the earliest activation communication device of the set own sub-address, the address reply message 7 shown in FIG. 7 is transmitted to the communication network 1 (step 124), and a series of address setting processing is ended. As a result, the address return message is received by the earliest activation communication device, and the address is managed so that the subaddress is not used again.

【0033】このように、本実施の形態では、通信ネッ
トワーク1に接続された複数の通信機器のうち、最先に
起動した通信機器のメモリ部4に各サブアドレスの使用
状態を一元管理するアドレス管理テーブル42を設け、
その最先起動通信機器のアドレス管理手段3Cでは、自
サブアドレスを設定した後、アドレス管理テーブル42
から取得した未使用のサブアドレスを示すアドレス管理
メッセージを通信ネットワーク1へ送信するようにした
ものである。そして、各後続起動通信機器のアドレス設
定手段3Dでは、このアドレス管理メッセージに基づき
未使用のサブアドレスを選択して自サブアドレスとして
設定し、設定したサブアドレスをアドレス返信メッセー
ジにより最先起動通信機器へ通知し、最先起動通信機器
のアドレス管理手段3Cでは、このアドレス返信メッセ
ージで通知されたサブアドレスの使用状態をアドレス管
理テーブル42で使用中とするようにしたものである。
As described above, in the present embodiment, of the plurality of communication devices connected to the communication network 1, the address management for centrally managing the usage state of each sub-address in the memory unit 4 of the communication device which is activated first. Provide a table 42,
In the address management means 3C of the earliest starting communication device, after setting its own sub-address, the address management table 42 is set.
The address management message indicating the unused sub-address acquired from the communication network 1 is transmitted to the communication network 1. Then, the address setting means 3D of each subsequent activation communication device selects an unused subaddress based on the address management message and sets it as its own subaddress, and notifies the earliest activation communication device of the set subaddress by an address reply message. In the address management means 3C of the earliest start-up communication device, the use status of the sub-address notified by the address reply message is set to be in use in the address management table 42.

【0034】したがって、各通信機器について、アドレ
ス重複を回避して通信ネットワーク上で固有のアドレス
を設定することができる。これにより、従来のように、
ユーザの手作業で各通信機器のアドレスを設定する必要
がなくなり、アドレス設定に要していた作業負担がほど
んどなくなり、複数の通信機器についてアドレス設定す
る場合には、極めて大幅にその作業負担が軽減される。
さらに、手作業に起因するアドレス設定ミスがなくな
り、アドレス重複に起因する通信効率の低下や通信機器
の誤動作が発生しなくなり、通信ネットワークを用いて
制御を行うシステムへの影響が皆無となる。
Therefore, for each communication device, it is possible to avoid address duplication and set a unique address on the communication network. This allows you to
There is no need for the user to manually set the address of each communication device, and the work load required for address setting is almost eliminated. When setting addresses for multiple communication devices, the work load is extremely large. It will be reduced.
Furthermore, address setting errors due to manual work are eliminated, communication efficiency is not reduced and communication devices do not malfunction due to address duplication, and there is no effect on the system that controls using the communication network.

【0035】また、イーサネットでは、複数の通信機器
間におけるメッセージの送信順序について、CSMA/
CD(Carrier Sense Multiple Access with Collision
Detection:搬送波感知多重アクセス/衝突検出)方式
を用いている。このCSMA/CD方式は、通信回線上
のキャリア検出信号を監視して、他の通信機器が送信中
でなければデータ送信を行い、送信中であればデータ送
信を延期し、キャリア検出信号が検出されなくなった時
点で、データ送信する方式である。また、データ衝突が
起こった際には、ジャム信号(妨害信号)を送信した
後、乱数に応じた待ち時間後に再送するものである。し
たがって、複数の後続起動通信機器から同時にアドレス
返信メッセージが送信されることはほとんどない。
Also, in Ethernet, the transmission order of messages between a plurality of communication devices is CSMA /
CD (Carrier Sense Multiple Access with Collision
Detection: Carrier-sensitive multiple access / collision detection) method is used. This CSMA / CD system monitors a carrier detection signal on a communication line, transmits data when other communication equipment is not transmitting, delays data transmission when transmitting, and detects the carrier detection signal. It is a method of transmitting data when it is no longer available. Further, when a data collision occurs, a jam signal (interfering signal) is transmitted and then retransmitted after a waiting time corresponding to a random number. Therefore, an address reply message is rarely transmitted from a plurality of subsequently activated communication devices at the same time.

【0036】しかしながら、ほぼ同時に電源投入されて
起動した複数の後続起動通信機器で、同一のアドレス管
理メッセージに基づき、並列してアドレス設定処理が行
われる可能性もある。本実施の形態では、このような場
合を想定して、最先起動通信機器のアドレス管理手段3
Cでは、複数の後続起動通信機器から同一サブアドレス
の使用が通知された場合、当該サブアドレスを持つ後続
起動通信機器に対してサブアドレスの初期化を指示する
リセットメッセージを送信し、これら後続起動通信機器
では、このリセットメッセージの受信に応じて、一旦設
定した自サブアドレスを初期化し、各自がランダムな時
間を待ってから、新たなアドレス管理メッセージによる
アドレス設定処理を再度実行するようにしたので、アド
レス重複設定を完全に回避できる。
However, there is a possibility that a plurality of subsequent activation communication devices that are powered on and activated at almost the same time will perform address setting processing in parallel based on the same address management message. In the present embodiment, assuming such a case, the address management means 3 of the earliest starting communication device 3
In C, when the use of the same subaddress is notified from a plurality of subsequent activation communication devices, a reset message instructing initialization of the subaddress is transmitted to the subsequent activation communication device having the subaddress, and these subsequent activation communication devices are , In response to the reception of this reset message, the own sub-address that has been set once is initialized, and after each person waits for a random time, the address setting process by the new address management message is executed again. Can be completely avoided.

【0037】以上では、アドレス管理メッセージで未使
用のサブアドレスを通知する際、各サブアドレスごとに
設けられた使用状態フラグからなるサブアドレス使用状
態情報63を送信する場合を例として説明したが、これ
に限定されるものではない。例えば、最先起動通信機器
のアドレス管理手段3Cで、アドレス管理テーブル42
から未使用のサブアドレス、例えば最も若い未使用状態
のサブアドレスから順に選択し、その選択したサブアド
レスをアドレス管理メッセージで通知するようにしても
よい。
In the above description, when the unused subaddress is notified by the address management message, the subaddress use state information 63 including the use state flag provided for each subaddress is transmitted as an example. However, the present invention is not limited to this. It is not something that will be done. For example, in the address management means 3C of the earliest activation communication device, the address management table 42
It is also possible to select an unused sub-address from, for example, the youngest unused sub-address in order, and notify the selected sub-address by an address management message.

【0038】[0038]

【発明の効果】以上説明したように、本発明は、通信ネ
ットワークに接続された各通信機器のうち最先に起動し
た最先起動通信機器から、その最先起動通信機器に後続
して起動した他の後続起動通信機器へ、未使用のサブア
ドレスを通知するアドレス管理メッセージを送信し、後
続起動通信機器で、最先起動通信機器からのアドレス管
理メッセージで通知された未使用のサブアドレスを当該
後続起動通信機器の自サブアドレスとして設定するよう
にしたので、各通信機器について、アドレス重複を回避
して通信ネットワーク上で固有のアドレスを設定するこ
とができる。これにより、従来のように、ユーザの手作
業で各通信機器のアドレスを設定する必要がなくなり、
アドレス設定に要していた作業負担がほどんどなくな
り、複数の通信機器についてアドレス設定する場合に
は、極めて大幅にその作業負担が軽減される。さらに、
手作業に起因するアドレス設定ミスがなくなり、アドレ
ス重複に起因する通信効率の低下や通信機器の誤動作が
発生しなくなり、通信ネットワークを用いて制御を行う
システムへの影響が皆無となる。
As described above, according to the present invention, the earliest activated communication equipment that is activated first among the communication equipments connected to the communication network is activated subsequent to the earliest activated communication equipment. Sends an address management message that notifies an unused sub-address to another subsequent activation communication device, and the subsequent activation communication device activates the unused sub-address notified by the address management message from the earliest activation communication device. Since it is set as its own sub-address of the communication device, it is possible to avoid address duplication and set a unique address on the communication network for each communication device. This eliminates the need for the user to manually set the address of each communication device, as in the past.
The work load required for address setting is almost eliminated, and when setting addresses for a plurality of communication devices, the work load is significantly reduced. further,
The address setting error caused by the manual work is eliminated, the communication efficiency is not deteriorated due to the address duplication, and the malfunction of the communication device does not occur, and there is no influence on the control system using the communication network.

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

【図1】 本発明の一実施の形態にかかる通信機器およ
び通信ネットワークの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication device and a communication network according to an embodiment of the present invention.

【図2】 MACアドレスの構成図である。FIG. 2 is a configuration diagram of a MAC address.

【図3】 アドレス管理テーブルの構成例である。FIG. 3 is a configuration example of an address management table.

【図4】 通信機器での起動処理を示すフローチャート
である。
FIG. 4 is a flowchart showing a startup process in a communication device.

【図5】 最先起動通信機器でのアドレス管理処理を示
すフローチャートである。
FIG. 5 is a flowchart showing an address management process in the earliest activation communication device.

【図6】 アドレス管理メッセージの構成例である。FIG. 6 is a configuration example of an address management message.

【図7】 アドレス返信メッセージの構成例である。FIG. 7 is a configuration example of an address reply message.

【図8】 後続起動通信機器でのアドレス設定処理を示
すフローチャートである。
FIG. 8 is a flowchart showing an address setting process in a subsequent activation communication device.

【図9】 従来のアドレス設定方法を示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a conventional address setting method.

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

1…通信ネットワーク、1A,1B,1C…通信機器、
2…通信I/F部、3…制御部、3A…メッセージ、3
B…起動処理手段、3C…アドレス管理手段、3D…ア
ドレス設定手段、4…メモリ部、41…自サブアドレ
ス、42…アドレス管理テーブル、51…機器メーカ固
有アドレス、52…サブアドレス、6…アドレス管理メ
ッセージ、61…送信先MACアドレス、62…送信元
MACアドレス、63…サブアドレス使用状態情報、7
…アドレス返信メッセージ、71…送信先MACアドレ
ス、72…送信元MACアドレス、73…ダミーデー
タ。
1 ... communication network, 1A, 1B, 1C ... communication equipment,
2 ... communication I / F section, 3 ... control section, 3A ... message, 3
B ... Startup processing means, 3C ... Address management means, 3D ... Address setting means, 4 ... Memory part, 41 ... Own subaddress, 42 ... Address management table, 51 ... Device manufacturer unique address, 52 ... Subaddress, 6 ... Address management message , 61 ... Destination MAC address, 62 ... Source MAC address, 63 ... Sub-address use status information, 7
... address reply message, 71 ... destination MAC address, 72 ... source MAC address, 73 ... dummy data.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 通信ネットワークに接続されてそれぞれ
固有のアドレスを用いて他の通信機器とデータ通信を行
うとともに、電源投入により起動した後に自己のアドレ
スのすべてまたはその一部を構成する自サブアドレスを
設定する通信機器であって、 電源投入により起動した際、前記通信ネットワークに接
続されている通信機器のうち、当該通信機器が最先に起
動した通信機器であるかどうか判断する起動処理手段
と、 この起動処理手段により当該通信機器が最先起動通信機
器であると判断された場合に動作して、当該最先起動通
信機器に後続して起動した他の後続起動通信機器へ、未
使用のサブアドレスを通知するアドレス管理メッセージ
を送信するアドレス管理手段と、 前記起動処理手段により当該通信機器が後続起動通信機
器であると判断された場合に動作して、前記最先起動通
信機器からのアドレス管理メッセージで通知された未使
用のサブアドレスを当該後続起動通信機器の自サブアド
レスとして設定するアドレス設定手段とを備えることを
特徴とする通信機器。
1. A self-sub address that is connected to a communication network and performs data communication with another communication device by using a unique address of each, and after starting by power-on, forms all or part of its own address A communication device to be set, which, when activated upon power-on, determines whether or not the communication device connected to the communication network is the communication device that has been activated first, This startup processing unit operates when it is determined that the communication device is the earliest startup communication device, and sends an unused sub-address to another subsequent startup communication device that has started after the earliest startup communication device. Address management means for transmitting an address management message for notifying that the communication device is a subsequent activation communication device by the activation processing means. And an address setting unit that operates when it is determined that the unused subaddress notified by the address management message from the earliest activation communication device is set as the own subaddress of the subsequent activation communication device. And communication equipment.
【請求項2】 請求項1記載の通信機器において、 前記アドレス設定手段は、前記自サブアドレスを設定し
た後、その自サブアドレスを含むアドレス返信メッセー
ジを前記最先起動通信機器へ返送し、 前記アドレス管理手段は、前記後続起動通信機器からの
アドレス返信メッセージに応じて当該サブアドレスが使
用中となったことを確認することを特徴とする通信機
器。
2. The communication device according to claim 1, wherein the address setting means, after setting the own subaddress, returns an address reply message including the own subaddress to the earliest starting communication device, and manages the address. The communication device is characterized in that the means confirms that the sub-address is in use in response to an address reply message from the subsequent activation communication device.
【請求項3】 請求項2記載の通信機器において、 前記アドレス管理手段は、前記後続起動通信機器からの
アドレス返信メッセージにより通知されたサブアドレス
がすでに他の通信機器で使用されている場合は、当該サ
ブアドレスを持つ後続起動通信機器へ、すでに設定され
ているサブアドレスを初期化して再設定させるためのリ
セットメッセージを送信し、 前記アドレス設定手段は、前記最先起動通信機器からの
リセットメッセージに応じて、前記自サブアドレスを初
期化し新たなアドレス管理メッセージによる自サブアド
レスの設定を行うことを確認することを特徴とする通信
機器。
3. The communication device according to claim 2, wherein when the sub-address notified by the address reply message from the subsequent activation communication device is already used in another communication device, the address management means Subsequent startup communication device having a sub-address, sending a reset message for initializing and resetting the already set sub-address, the address setting means, in response to the reset message from the earliest startup communication device, A communication device, characterized in that the own sub-address is initialized and it is confirmed that the own sub-address is set by a new address management message.
【請求項4】 通信ネットワークに接続されてそれぞれ
固有のアドレスを用いて他の通信機器とデータ通信を行
うとともに、電源投入により起動した後に自己のアドレ
スのすべてまたはその一部を構成する自サブアドレスを
設定する通信機器のアドレス設定方法であって、 前記通信ネットワークに接続された各通信機器のうち最
先に起動した最先起動通信機器から、その最先起動通信
機器に後続して起動した他の後続起動通信機器へ、未使
用のサブアドレスを通知するアドレス管理メッセージを
送信し、 前記後続起動通信機器で、最先起動通信機器からのアド
レス管理メッセージで通知された未使用のサブアドレス
を当該後続起動通信機器の自サブアドレスとして設定す
ることを特徴とする通信機器のアドレス設定方法。
4. A sub-address, which is connected to a communication network and performs data communication with another communication device by using a unique address of each, and which has all or part of its own address after being activated by power-on. A method for setting an address of a communication device to be set, wherein, from among the communication devices connected to the communication network, the first activated communication device that is activated first and the other activated after the earliest activated communication device are activated. An address management message for notifying an unused sub-address is transmitted to the subsequent activation communication device, and the unused sub-address notified by the address management message from the earliest activation communication device is transmitted to the subsequent activation communication device. A method for setting an address of a communication device, which is characterized in that the device is set as its own sub-address.
【請求項5】 請求項4記載の通信機器のアドレス設定
方法において、 前記後続起動通信機器で、前記自サブアドレスを設定し
た後、その自サブアドレスを含むアドレス返信メッセー
ジを前記最先起動通信機器へ返送し、 前記最先起動通信機器で、前記後続起動通信機器からの
アドレス返信メッセージに応じて当該サブアドレスが使
用中となったことを確認することを特徴とする通信機器
のアドレス設定方法。
5. The communication device address setting method according to claim 4, wherein the subsequent activation communication device sets the self subaddress, and then returns an address reply message including the self subaddress to the earliest activation communication device. Then, the address setting method of the communication device, wherein the earliest startup communication device confirms that the sub-address is in use in response to an address reply message from the subsequent startup communication device.
【請求項6】 請求項5記載の通信機器のアドレス設定
方法において、 前記最先起動通信機器で、前記後続起動通信機器からの
アドレス返信メッセージにより通知されたサブアドレス
がすでに他の通信機器で使用されている場合は、当該サ
ブアドレスを持つ後続起動通信機器へ、すでに設定され
ているサブアドレスを初期化して再設定させるためのリ
セットメッセージを送信し、 前記後続起動通信機器で、前記最先起動通信機器からの
リセットメッセージに応じて、前記自サブアドレスを初
期化し新たなアドレス管理メッセージによる自サブアド
レスの設定を行うことを確認することを特徴とする通信
機器のアドレス設定方法。
6. The communication device address setting method according to claim 5, wherein the sub-address notified by the address reply message from the subsequent activation communication device is already used by another communication device in the earliest activation communication device. If it is, a reset message for initializing and resetting the already set sub address is transmitted to the subsequent activation communication device having the sub address, and the subsequent activation communication device sends the reset message from the earliest activation communication device. The address setting method of the communication device, wherein it is confirmed that the own sub-address is initialized and the own sub-address is set by a new address management message in response to the reset message.
JP2001332285A 2001-10-30 2001-10-30 Communication equipment and address setting method for the same Pending JP2003134115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001332285A JP2003134115A (en) 2001-10-30 2001-10-30 Communication equipment and address setting method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001332285A JP2003134115A (en) 2001-10-30 2001-10-30 Communication equipment and address setting method for the same

Publications (1)

Publication Number Publication Date
JP2003134115A true JP2003134115A (en) 2003-05-09

Family

ID=19147723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001332285A Pending JP2003134115A (en) 2001-10-30 2001-10-30 Communication equipment and address setting method for the same

Country Status (1)

Country Link
JP (1) JP2003134115A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010011082A (en) * 2008-06-26 2010-01-14 Nec Access Technica Ltd Mac address write system, write control terminal, setting apparatus, mac address allocation method and program
WO2010064563A1 (en) * 2008-12-01 2010-06-10 パイオニア株式会社 Data processing apparatus, system thereof, method thereof, program thereof, and recording medium in which that program has been recorded
JP5020386B2 (en) * 2008-12-01 2012-09-05 パイオニア株式会社 Data processing apparatus, system thereof, method thereof, program thereof, and recording medium recording the program
JP7109224B2 (en) 2018-03-28 2022-07-29 三菱電機エンジニアリング株式会社 Communication system and upper equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010011082A (en) * 2008-06-26 2010-01-14 Nec Access Technica Ltd Mac address write system, write control terminal, setting apparatus, mac address allocation method and program
WO2010064563A1 (en) * 2008-12-01 2010-06-10 パイオニア株式会社 Data processing apparatus, system thereof, method thereof, program thereof, and recording medium in which that program has been recorded
JP5020386B2 (en) * 2008-12-01 2012-09-05 パイオニア株式会社 Data processing apparatus, system thereof, method thereof, program thereof, and recording medium recording the program
JP7109224B2 (en) 2018-03-28 2022-07-29 三菱電機エンジニアリング株式会社 Communication system and upper equipment

Similar Documents

Publication Publication Date Title
US5630061A (en) System for enabling first computer to communicate over switched network with second computer located within LAN by using media access control driver in different modes
TW484066B (en) Network interface device which allows peripherals to utilize network transport services
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN100571191C (en) Keep the VRRP technology of VR confidentiality
US9112882B2 (en) Method and apparatus for the fast detection of connectivity loss between devices in a network
WO2009048819A1 (en) Addressing multiple devices on a shared bus
JP3359094B2 (en) Communication system, method in which parent node recognizes states of multiple child nodes, and method of recognizing new terminal in communication system having multiple terminals
CN111294416A (en) Method for obtaining IP address and related product
JP4145274B2 (en) Network equipment
JP2003134115A (en) Communication equipment and address setting method for the same
JP4143277B2 (en) Communication system, connection setting method and connection setting program for exchange and terminal
EP1608126B1 (en) Method for the discovery of devices connected to an IP network and device to carry out said method
CN110495157B (en) Communication system for serial communication between communication devices
CN102984811A (en) Drive-free network processing method and drive-free network processing device
JP2000293272A (en) Unit and method for power supply control over common equipment
JP2002099473A (en) Method and device for collecting service information of network, and record medium storing service information collection program of network
US7933231B1 (en) Configuration of devices using layer 2 protocol
JP2003258878A (en) Method for deciding address for network system, and network terminal
CN110620725A (en) Method for expanding out-of-band interface of switching equipment and switching equipment
CN102315958B (en) Method for loading file by communication blank panel and transmitting loaded file by host machine end
WO2024017121A1 (en) Batch control method and apparatus
TWI254541B (en) IP address setting method and node of network
JP4159540B2 (en) Communication device, IP address setting method of the communication device, and IP address setting program
JP2000295257A (en) Remote power source supply method for network system and remote power source controller
KR20050102052A (en) Remote administration method for network device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060418

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060619

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060801