JP4651018B2 - Method for assigning device addresses to substations of a network, substation for a network and main station for a network - Google Patents

Method for assigning device addresses to substations of a network, substation for a network and main station for a network Download PDF

Info

Publication number
JP4651018B2
JP4651018B2 JP2005243439A JP2005243439A JP4651018B2 JP 4651018 B2 JP4651018 B2 JP 4651018B2 JP 2005243439 A JP2005243439 A JP 2005243439A JP 2005243439 A JP2005243439 A JP 2005243439A JP 4651018 B2 JP4651018 B2 JP 4651018B2
Authority
JP
Japan
Prior art keywords
address
substation
network
main station
communication
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
JP2005243439A
Other languages
Japanese (ja)
Other versions
JP2006067591A (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.)
Bosch Rexroth AG
Original Assignee
Bosch Rexroth AG
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 Bosch Rexroth AG filed Critical Bosch Rexroth AG
Publication of JP2006067591A publication Critical patent/JP2006067591A/en
Application granted granted Critical
Publication of JP4651018B2 publication Critical patent/JP4651018B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats

Landscapes

  • Small-Scale Networks (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A network slave unit address assignment procedure sends initialisation telegrams with part IP (Internet Protocol) addresses from a master station, sets a slave real time communications address, generates a full address from them and sends them in an answer telegram to the master station. Independent claims are included for network slave and master stations using the procedure.

Description

本発明は、ネットワークのサブステーションへのデバイスアドレスの割り当てのための方法、ネットワークのためのサブステーション及びネットワークのためのメインステーションに関する。より詳しく言えば、本発明はメインステーションによるネットワークのサブステーションへのデバイスアドレスの割り当てのための方法に関する。本発明はさらに例えば自動化技術におけるフィールドバスネットワークのようなネットワークのためのサブステーション及びメインステーションに関する。   The present invention relates to a method for assignment of device addresses to substations of a network, a substation for a network and a main station for a network. More particularly, the present invention relates to a method for assigning device addresses to substations of a network by a main station. The invention further relates to a substation and a main station for a network, for example a fieldbus network in automation technology.

通常はネットワーク内に存在するサブステーションは固定された一意的なデバイスアドレスを有し、デバイスアドレスを介してそれぞれのサブステーションは一意的にアドレス指定可能である。デバイスアドレスは一般にMACアドレスと呼ばれ、複数バイトを含み、このようなデバイスアドレスは従来のIP通信デバイスでは通常は固定的にハードウェアにおいて設定され、マーケットにおいて使用可能な各IP通信デバイスに対して一意的である。ネットワークの初期化フェーズにおいて個々のサブステーションのデバイスアドレスがメインステーションに通信され、この結果、メインステーションはネットワークの個々のサブステーションに望み通りにアクセスすることができる。さらに、初期化フェーズにおいてIPアドレスがネットワークのサブステーションに割り当てられる。これらのIPアドレスは手動で定められるか又はDHCPによって与えられる。 Typically, substations that exist in the network have a fixed and unique device address through which each substation is uniquely addressable. The device address is generally called a MAC address and includes a plurality of bytes. Such a device address is normally fixedly set in hardware in a conventional IP communication device, and for each IP communication device usable in the market. Be unique. During the initialization phase of the network, the device addresses of the individual substations are communicated to the main station so that the main station can access the individual substations of the network as desired. Furthermore, an IP address is assigned to a network substation in the initialization phase. These IP addresses are either manually defined or given by DHCP.

しかし、通常は、サブステーションがユーザによって望み通りにアクセスされる場合には、IPアドレスがもとめられて入力されなければならないか乃至はIPアドレスが初期化フェーズの後で各サブステーションに割り当てられなければならない。これは、ユーザがメインステーションにおける割り当て情報を見ることなしにはネットワークのサブステーションのIPアドレス乃至はデバイスアドレスを知ることができず、従って所期のアドレス指定を行うことができないという欠点を有する。   However, normally, if a substation is accessed as desired by the user, an IP address must be determined and entered or an IP address must be assigned to each substation after the initialization phase. I must. This has the disadvantage that the user cannot know the IP address or device address of the substation in the network without looking at the assignment information in the main station, and therefore cannot perform the intended addressing.

リアルタイム通信のためには通常ネットワークにおいてサブステーションの各々に通信アドレスが割り当てられ、通信アドレスを介してデバイスがダイレクトにリアルタイムチャネルにおいてアドレス指定可能である。   For real-time communication, a communication address is usually assigned to each substation in the network, and the device can be addressed directly in the real-time channel via the communication address.

本発明の課題はデバイスアドレスの割り当てのための方法を提供することであり、本発明の更に別の課題は、そのデバイスアドレスが自動的に割り当てられるネットワークのためのサブステーションを提供することであり、さらにネットワークのためのメインステーションを提供することである。   An object of the present invention is to provide a method for device address assignment, and yet another object of the present invention is to provide a substation for a network to which the device address is automatically assigned. And to provide a main station for the network.

上記課題は、デバイスアドレスの割り当てのための方法において、ネットワークのサブステーションはポイント・トゥ・ポイントコネクションを介して接続されており、以下のステップ、すなわちメインステーションからサブステーションへ初期化テレグラムを送信し、この初期化テレグラムはデバイスアドレスの一部分を有するステップ、サブステーションの設定された通信アドレスを検出するステップ、デバイスアドレスの受信された部分に依存して及び通信アドレスに依存して完全なデバイスアドレスを生成するステップ、デバイスからメインステーションへ通信アドレス及び/又はデバイスアドレスを含む応答テレグラムを送信するステップを有することによって解決され、
上記課題は、ネットワークのためのサブステーションにおいて、メインステーションから初期化テレグラムを受信するための受信ユニットを有し、サブステーションの通信アドレスを提供するための通信アドレス提供ユニットを有し、初期化テレグラムからデバイスアドレスの一部分をもとめ、完全なデバイスアドレスをデバイスアドレスの受信された部分に依存して及び通信アドレスに依存して生成するための制御ユニットを有し、デバイスアドレス及び/又は通信アドレスを含む応答テレグラムを送信するための送信ユニットを有することによって解決され、
上記課題は、ネットワークのためのメインステーションにおいて、デバイスアドレスの一部分を提供するためにネットワーク通信及びIP通信チャネルを制御するための制御ユニットを有し、初期化テレグラムを送信するための送信ユニットを有し、初期化テレグラムはデバイスアドレスの部分を含み、通信アドレス及び/又は完全なデバイスアドレスを含む応答テレグラムをIP通信チャネルを介して受信するための受信ユニットを有することによって解決される。
The problem is that in the method for device address assignment, the network sub-stations are connected via a point-to-point connection, and the initialization telegram is transmitted from the main station to the sub-station as follows: This initialization telegram has a part of the device address, a step of detecting the set communication address of the substation, a complete device address depending on the received part of the device address and depending on the communication address. Resolving by having a step of generating a response telegram including a communication address and / or device address from the device to the main station;
An object of the present invention is to provide a substation for a network having a receiving unit for receiving an initialization telegram from a main station, a communication address providing unit for providing a communication address of the substation, and an initialization telegram Having a control unit for determining a part of the device address from and generating a complete device address depending on the received part of the device address and depending on the communication address, including the device address and / or the communication address Solved by having a transmission unit for transmitting the response telegram,
The above problem is that a main station for a network has a control unit for controlling a network communication and an IP communication channel to provide a part of a device address, and a transmission unit for transmitting an initialization telegram. However, the initialization telegram includes a device address portion and is solved by having a receiving unit for receiving a response telegram including the communication address and / or the complete device address via the IP communication channel.

本発明の更に別の有利な実施形態は従属請求項に記載されている。   Further advantageous embodiments of the invention are described in the dependent claims.

本発明の第1の局面によれば、ネットワークにおいてサブステーションにデバイスアドレスを割り当てるための方法が設けられる。ネットワークのサブステーションはポイント・トゥ・ポイントコネクションを介して接続されている。本発明の方法は以下のステップを有し、すなわちメインステーションからサブステーションへ初期化テレグラムを送信し、この初期化テレグラムはデバイスアドレスの一部分を有するステップ、リアルタイム通信のためにサブステーションの設定された通信アドレスを検出するステップ、デバイスアドレスの受信された部分によって及び通信アドレスによって完全なデバイスアドレスを生成するステップ、サブステーションからメインステーションへ通信アドレス及び/又はデバイスアドレスを含む応答テレグラムを送信するステップを有する。 According to a first aspect of the invention, a method is provided for assigning device addresses to substations in a network. Network substations are connected via point-to-point connections. The method of the present invention comprises the following steps: sending an initialization telegram from the main station to the substation, the initialization telegram having a part of the device address, the substation configured for real-time communication Detecting a communication address, generating a complete device address according to the received part of the device address and by the communication address, transmitting a response telegram including the communication address and / or device address from the substation to the main station. Have.

本発明の方法の目的は、サブステーションにデバイスアドレスを割り当てること及びデバイスアドレスをサブステーションにおいてもメインステーションにおいても分かるようにすることである。原理的にはデバイスアドレスは予め決定された範囲において自由に調整可能であるが、デバイスアドレスは、ユーザがデバイスアドレスの部分の知識及び設定可能な通信アドレスの知識においてデバイスアドレスをもとめることができるように調整される。よって、例えばデバイスアドレスが複数バイトを有し、これらの複数バイトのうちの一部分がユーザに知られている。さらに、リアルタイム通信のための通信アドレスは例えば手動でサブステーションにおいて設定可能であり、この結果、ユーザに知られているデバイスアドレスの部分及び同様に知られている通信アドレスが一緒になってサブステーションの完全なデバイスアドレスを形成する。こうして、所定のサブステーションに適合するデバイスアドレスを見出すためのデバイスアドレスに対する物理的なサブステーションの割り当てリストを有しているメインステーションにユーザがまず最初にアクセスする必要が無くなる。 The purpose of the method of the invention is to assign a device address to the substation and to make the device address known at both the substation and the main station. In principle, the device address can be freely adjusted within a predetermined range, but the device address can be obtained by the user in knowledge of the part of the device address and knowledge of the configurable communication address. Adjusted to Thus, for example, the device address has a plurality of bytes, and a part of these plurality of bytes is known to the user. Furthermore, the communication address for real-time communication can be set manually in the substation, for example, so that the part of the device address known to the user and the communication address also known together are combined together in the substation. Form the complete device address. This eliminates the need for the user to first access a main station having a physical substation assignment list for device addresses to find a device address that matches a given substation.

とりわけイーサネットネットワーク標準(プロトコル、ネットワークトポロジ及びハードウェア)との関連においてスイッチドネットワーク(スイッチドイーサネットSwitched Ethernet)及び増幅器(リピータ)を有するネットワークが公知である;スイッチドイーサネットテクノロジを有するネットワークはスイッチドネットワークとも呼ばれる。本発明はあらゆるタイプのこのようなネットワークに対して、すなわちスイッチングされる及び/又はスイッチングされない、リピータによって構成されたネットワークに対してイーサネット標準によって使用されうる。   In particular, networks with switched networks and amplifiers (repeaters) are known in the context of Ethernet network standards (protocols, network topologies and hardware); networks with switched Ethernet technology are switched Also called a network. The present invention can be used by the Ethernet standard for any type of such network, i.e. for networks configured by repeaters that are switched and / or not switched.

本発明の更に別の実施形態によれば、初期化テレグラムはさらにIPアドレスの一部分を有する。サブステーションの完全なIPアドレスはIPアドレスの受信された部分によって及び通信アドレスによって生成される。通信アドレス及び/又は完全なIPアドレスを含む応答テレグラムがサブステーションからメインステーションに送信される。従って、完全なIPアドレスはIPアドレスの部分及び設定され通信アドレスからメインステーション又はサブステーションのいずれかにおいて生成されうる。重要なことは、本発明の方法の終了後にはIPアドレスはメインステーションにもサブステーションにも存在し、この結果、IP通信がIP通信チャネルにおいて行われることである。 According to yet another embodiment of the invention, the initialization telegram further comprises a portion of an IP address. The complete IP address of the substation is generated by the received part of the IP address and by the communication address. A response telegram containing the communication address and / or the complete IP address is transmitted from the substation to the main station. Therefore, the full IP address may be generated in any one of the parts and the set communication address of the IP address of the main station or sub-station. Importantly, after the method of the present invention is finished, the IP address exists in both the main station and the substation, so that IP communication takes place in the IP communication channel.

代替的に、サブステーションの完全なIPアドレスの生成がIPアドレスの予め設定された部分によって及び送信された通信アドレスによってメインステーションにおいて生成され、この後で、応答テレグラムの受信に対する応答として完全なIPアドレスを含む確認テレグラムがメインステーションからデバイスに送信される。   Alternatively, the generation of the complete IP address of the substation is generated at the main station by the preset part of the IP address and by the transmitted communication address, after which the complete IP as a response to receipt of the response telegram A confirmation telegram containing the address is sent from the main station to the device.

本発明の更に別の局面によれば、ネットワークのためのサブステーションが設けられる。このサブステーションはメインステーションから初期化テレグラムを受信するための受信ユニットを有する。デバイスナンバー提供ユニットによってサブステーションの通信アドレスが提供される。さらに初期化テレグラムからデバイスアドレスの一部分をもとめ、完全なデバイスアドレスをデバイスアドレスの受信された部分に依存して及び通信アドレスに依存して生成するための制御ユニットが設けられる。送信ユニットによってデバイスアドレス及び/又は通信アドレスを含む応答テレグラムが送信される。こうしてサブステーションがネットワークのために使用され、このネットワークは設定され乃至は設定可能な通信アドレスによってデバイスアドレスを定める。デバイスアドレスの生成はサブステーション内で行われ、次いで送信ユニットによって応答テレグラムにおいてメインステーションに送信される。 According to yet another aspect of the invention, a substation for a network is provided. This substation has a receiving unit for receiving an initialization telegram from the main station. The communication number of the substation is provided by the device number providing unit. Furthermore, a control unit is provided for determining a part of the device address from the initialization telegram and generating a complete device address depending on the received part of the device address and depending on the communication address. A response telegram including a device address and / or a communication address is transmitted by the transmission unit. Thus substations are used for network, this network is to set determines the device address by a configurable communication address. The generation of the device address takes place in the substation and is then transmitted by the transmission unit in the response telegram to the main station.

本発明の更に別の実施形態によれば、制御ユニットは、初期化テレグラムからさらにIPアドレスの一部分をもとめ、完全なIPアドレスをIPアドレスの受信された部分によって及び通信アドレスによって生成する。送信ユニットは通信アドレス及び/又は完全なIPアドレスを含む応答テレグラムを、サブステーションが完全なIPアドレスを生成すべきか又はメインステーションが完全なIPアドレスを生成すべきかに依存して送信するように構成されている。応答テレグラムが通信アドレスのみを含む場合には、受信ユニットは、完全なIPアドレスを有する確認テレグラムを送信された応答テレグラムに対する応答として受信するように構成される。   According to yet another embodiment of the invention, the control unit further determines a part of the IP address from the initialization telegram and generates a complete IP address by the received part of the IP address and by the communication address. The sending unit is configured to send a response telegram including a communication address and / or a complete IP address depending on whether the substation should generate a complete IP address or the main station should generate a complete IP address Has been. If the response telegram includes only the communication address, the receiving unit is configured to receive a confirmation telegram with the complete IP address as a response to the transmitted response telegram.

本発明のさらに別の局面によれば、デバイスアドレスの一部分を提供するための制御ユニットを有するネットワークのためのメインステーションが設けられる。さらにメインステーションは初期化テレグラムを送信するための送信ユニットを有し、この初期化テレグラムはデバイスアドレスの部分を含む。さらに通信アドレス及び/又は完全なデバイスアドレスを含む応答テレグラムを受信するための受信ユニットが設けられている。   According to yet another aspect of the invention, a main station for a network is provided having a control unit for providing a portion of the device address. Furthermore, the main station has a transmission unit for transmitting an initialization telegram, which initialization telegram includes a part of the device address. Furthermore, a receiving unit is provided for receiving a response telegram including the communication address and / or the complete device address.

本発明の更に別の実施形態によれば、初期化テレグラムにIPアドレスの一部分を設けるために制御ユニットは送信ユニットを制御する。さらに、完全なIPアドレスを有する確認テレグラムを応答テレグラムの受信に対する応答として受信するように受信ユニットが構成されている。   According to yet another embodiment of the invention, the control unit controls the transmitting unit to provide a part of the IP address in the initialization telegram. Further, the receiving unit is configured to receive a confirmation telegram having a complete IP address as a response to receiving the response telegram.

本発明の有利な実施例を以下において添付した図面に基づいて詳しく説明する。   Advantageous embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

図1はネットワークの可能なネットワークトポロジを示し、
図2は図1のネットワークのためのサブステーションのブロック回路図を示し、
図3は図1のネットワークのためのメインステーションのブロック回路図を示し、
図4は図1のネットワークにおいてサブステーションでデバイスアドレスを自動的に提供するための本発明の方法を説明するためのフローチャートを示し、
図5は更に別の実施形態によるデバイスアドレスの自動的な提供のための本発明の方法を説明するためのフローチャートを示す。
FIG. 1 shows a possible network topology of the network,
FIG. 2 shows a block circuit diagram of a substation for the network of FIG.
3 shows a block circuit diagram of the main station for the network of FIG.
FIG. 4 shows a flow chart for explaining the method of the present invention for automatically providing a device address at a substation in the network of FIG.
FIG. 5 shows a flow chart illustrating the method of the present invention for automatic provision of device addresses according to yet another embodiment.

図1にはリングネットワークが図示されており、このリングネットワークはメインステーション1及び複数のサブステーション2を有する。各サブステーション2はデータ入力側及びこれとは別個のデータ出力側を有し、これらのデータ出入力側は中間増幅器を介して互いに接続される。ネットワークコネクションによってネットワーク加入者は互いに接続されており、これらのネットワークコネクションにおいて2つの通信チャネルが実現される。第1の通信チャネル、リアルタイム通信チャネルにおいて、メインステーション1はデータパケットを送信し、第1のデータパケットはサブステーション2に対するデータを含み、データパケットには所定の時間窓が設けられており、これらの所定の時間窓はそれぞれサブステーション2のうちの1つに割り当てられている。所定の時間窓の中のデータはサブステーション2によってデータパケットから読み出される。メインステーション1はリアルタイム通信信号においてさらに第2のデータパケットを送信し、この第2のデータパケットは同様にデータのスペースホルダとして時間窓を有し、それぞれのサブステーション2に割り当てられた時間窓には送信すべきデータが挿入され、このようにして変更された第2のデータパケットは次のネットワーク加入者へと挿入されたデータと共に転送される。最後のサブステーション2はこの場合第2のデータパケットを再びメインステーション1に返送し、この第2のデータパケットはこうしてサブステーション2からメインステーションへと送信されるデータによって充填されている。   FIG. 1 shows a ring network, which has a main station 1 and a plurality of substations 2. Each substation 2 has a data input side and a separate data output side, and these data input / output sides are connected to each other via an intermediate amplifier. Network subscribers are connected to each other by network connections, and two communication channels are realized in these network connections. In the first communication channel and the real-time communication channel, the main station 1 transmits a data packet, the first data packet includes data for the substation 2, and the data packet is provided with a predetermined time window. Each of the predetermined time windows is assigned to one of the substations 2. Data within a predetermined time window is read from the data packet by the substation 2. The main station 1 further transmits a second data packet in the real-time communication signal, and this second data packet also has a time window as a space holder for data, and in the time window assigned to each substation 2. The data to be transmitted is inserted and the second data packet modified in this way is forwarded with the inserted data to the next network subscriber. The last substation 2 then returns the second data packet back to the main station 1, which is thus filled with the data transmitted from the substation 2 to the main station.

更なる通信チャネル、IP通信チャネルでは、データパケットがメインステーション1ならびにサブステーション2の各データ入力側に印加されていない場合に、ネットワーク加入者の各々、すなわちメインステーション1ならびにサブステーション2がデータパケットを送信することができる。すなわち、ネットワークが使用されなくなるやいなや、ネットワーク加入者のうちの1つがデータを伝達するためにデータパケットを送信することができる。リアルタイム通信チャネル及びIP通信チャネルは2つの時間領域によって形成され、これら2つの時間領域においてそれぞれ相応の通信チャネルが使用され、これがサイクリックに次々と行われる。   In a further communication channel, the IP communication channel, each of the network subscribers, i.e. main station 1 and substation 2, receives data packets when no data packet is applied to each data input of main station 1 and substation 2. Can be sent. That is, as soon as the network is no longer used, one of the network subscribers can send a data packet to convey the data. The real-time communication channel and the IP communication channel are formed by two time domains, and corresponding communication channels are respectively used in these two time domains, and this is performed cyclically one after another.

リアルタイム通信チャネルにおける通信のために、ネットワークの各サブステーション2に通信アドレスが割り当てられる。通信アドレスはサブステーション2においてそれぞれ手動で設定されるか又は固定的に予め設定されている。このような通信アドレスは例えば1と254との間の数であればよく、従って、1バイトの形式において示されうる。 For communication in the real-time communication channel, a communication address is assigned to each substation 2 of the network. The communication address is set manually in the substation 2 or is preset in advance. Such a communication address may be a number between 1 and 254, for example, and can thus be shown in 1-byte format.

IP通信チャネルのためには、サブステーション2の各々にデバイスアドレスが割り当てられなければならない。ここに図示されたフィールドバスデータネットワークでは、サブステーション2にデバイスアドレスが割り当てられなければならない。サブステーション2がIP通信チャネルにおいてデータを送信することもできる場合、さらにサブステーション2にIPアドレスも割り当てられなければならない。 For the IP communication channel, each substation 2 must be assigned a device address . Fieldbus data network illustrated in here, must device address assigned to the sub-station 2. If the substation 2 can also transmit data on the IP communication channel, the substation 2 must also be assigned an IP address.

図2に示されているように、このようなサブステーション2は受信回路3を有し、この受信回路3はデータ入力側Eに接続されており、データをネットワークを介して受信することができる。さらに、データをデータ出力側Aを介してネットワークに次のネットワークステーションに送信するための送信ユニット4が設けられている。サブステーション2はさらに異なる通信チャネルを動作するための制御ユニット5を有する。受信ユニット3と送信ユニット4との間には中間増幅器8が設けられており、この中間増幅器8はIP通信チャネルの間にデータをデータ入力側からデータ出力側へと送出する。   As shown in FIG. 2, such a substation 2 has a receiving circuit 3, and this receiving circuit 3 is connected to the data input side E, and can receive data via a network. . Furthermore, a transmission unit 4 for transmitting data to the next network station via the data output side A is provided. The substation 2 further has a control unit 5 for operating different communication channels. An intermediate amplifier 8 is provided between the reception unit 3 and the transmission unit 4, and the intermediate amplifier 8 sends data from the data input side to the data output side during the IP communication channel.

リアルタイム通信チャネルにおいてデータパケットを受信ユニット3から送信ユニット4に転送するために中間増幅器8が同様に接続されているが、データを相応のデータパケットから抽出し制御ユニット5に供給することならびにデータを制御ユニット5によって転送すべきデータパケットに挿入することもできる。初期化フェーズの間の初期化のためにサブステーション2は初期化テレグラムの受信を予期する。この初期化テレグラムは受信ユニット3から初期化ユニット6に転送される。この初期化ユニット6において受信されたテレグラムからデバイスアドレスの一部分がもとめられ、デバイスアドレスのこの部分と通信アドレス提供ユニット7によって提供される設定された通信アドレスとが互いに結合され、この結果、完全なデバイスアドレスが形成される。完全なデバイスアドレスは例えばデバイスアドレスのこの部分と手動で設定された通信アドレスとの簡単なつなぎ合わせによって決定される。デバイスアドレスのこの部分と通信アドレスとの別の種類の組み合わせも考えられるが、通信アドレスを知っていれば簡単に完全なデバイスアドレスをもとめられるようにユーザがこの組み合わせをあとづけることができると有利である。 An intermediate amplifier 8 is likewise connected to transfer the data packet from the receiving unit 3 to the transmitting unit 4 in the real-time communication channel, but extracts the data from the corresponding data packet and supplies it to the control unit 5 as well as the data. It can also be inserted into the data packet to be transferred by the control unit 5. Substation 2 expects to receive an initialization telegram for initialization during the initialization phase. This initialization telegram is transferred from the reception unit 3 to the initialization unit 6. The portion of the device address from the received telegrams in the initialization unit 6 is determined, and the set communication address is provided with the portion of the device address by the communication address providing unit 7 are coupled to each other, as a result, a complete A device address is formed. The complete device address is determined, for example, by a simple stitching of this part of the device address with a manually set communication address. Other types of combinations of this part of the device address and the communication address are also conceivable, but it would be advantageous if the user could follow up this combination so that knowing the communication address could easily find the complete device address It is.

完全なデバイスアドレスは初期化ユニット6から送信ユニット4を介してネットワークに応答テレグラムとして送出され、この結果、メインステーション1は当該サブステーション2に割り当てられたデバイスアドレスを知らされる。   The complete device address is sent from the initialization unit 6 to the network via the transmission unit 4 as a response telegram, so that the main station 1 is informed of the device address assigned to the substation 2.

同じように初期化テレグラムにIPアドレスの一部分を含むことができ、このIPアドレスが初期化ユニット6においてリアルタイム通信のための通信アドレスと結合され、一意的である完全なIPアドレスが形成される。完全なIPアドレスは同様に応答テレグラムにおいて送信ユニット4を介してメインステーション1に送出され、この結果、メインステーション1において完全なIPアドレスと当該サブステーション2との間の固定された割り当てが存在することになる。   Similarly, the initialization telegram can include a portion of the IP address, which is combined with the communication address for real-time communication in the initialization unit 6 to form a complete IP address that is unique. The complete IP address is also sent to the main station 1 via the transmission unit 4 in the response telegram, so that there is a fixed assignment between the complete IP address and the substation 2 in the main station 1. It will be.

代替的な実施形態では、初期化ユニット6は通信アドレスを直接送信ユニット4を介してメインステーション1に送信し、この通信アドレスは通信アドレス提供ユニット7によって提供される。この場合、必ずしも初期化テレグラムがデバイスアドレスの部分を含む必要はない。メインステーション1が通信アドレスを受け取るや否や、メインステーションは定められたやり方によって完全なデバイスアドレス及び完全なIPアドレスをデバイスアドレスの予め設定された部分及びIPアドレスの予め設定された部分によって及び通信された通信アドレスに依存して決定し、これらを確認テレグラムにおいて当該サブステーション2に伝達する。   In an alternative embodiment, the initialization unit 6 transmits a communication address to the main station 1 via the direct transmission unit 4, which is provided by the communication address providing unit 7. In this case, the initialization telegram does not necessarily include the device address part. As soon as the main station 1 receives the communication address, the main station is communicated in a defined manner with the complete device address and the complete IP address by the preset part of the device address and the preset part of the IP address. These are determined depending on the communication address, and these are transmitted to the substation 2 in the confirmation telegram.

メインステーションの実施形態は図3に図示されている。メインステーション10は受信ユニット11及び送信ユニット12を有し、これらは相応のネットワーク線路によってサブステーション2に接続されている。メインステーション10は同様に初期化ユニット13を有し、この初期化ユニット13は制御ユニット15によって制御されて初期化テレグラムを形成し、これを送信ユニット12を介して送出する。初期化テレグラムはデバイスアドレスの一部分を含み、このデバイスアドレスはサブステーション2によって受信され、そこで設定され通信アドレスの助けによって完全なデバイスアドレスへと処理される。 An embodiment of the main station is illustrated in FIG. The main station 10 has a receiving unit 11 and a transmitting unit 12, which are connected to the substation 2 by corresponding network lines. The main station 10 likewise has an initialization unit 13 which is controlled by the control unit 15 to form an initialization telegram which is sent out via the transmission unit 12. The initialization telegram contains a part of the device address, which is received by the substation 2 and processed into a complete device address with the help of the communication address set there.

応答テレグラムとしてメインステーション10は受信ユニット11によって完全なデバイスアドレスを受信し、この結果、完全なデバイスアドレスと当該サブステーションとの間の割り当てがメインステーションのメモリ14において行われうる。同様に、初期化テレグラムはIPアドレスの一部分を含み、このIPアドレスがサブステーションにおいて完全なものにされ、応答テレグラムを介してメインステーション10に返送されることも可能である。代替的に、メインステーション10が完全なデバイスアドレスを応答テレグラムにおいて受信し、これから完全なIPアドレスを生成し、確認テレグラムを送信ユニット12を介して当該サブステーション2に送信することもでき、この結果、そこに同様にこのサブステーション2に割り当てられる一意的なIPアドレスが存在する。   As a response telegram, the main station 10 receives the complete device address by means of the receiving unit 11 so that an assignment between the complete device address and the substation can be made in the memory 14 of the main station. Similarly, the initialization telegram includes a portion of the IP address, which can be completed at the substation and sent back to the main station 10 via the response telegram. Alternatively, the main station 10 can receive the complete device address in the response telegram, generate a complete IP address from it, and send a confirmation telegram to the substation 2 via the transmission unit 12, resulting in this There is also a unique IP address assigned to this substation 2 as well.

図4において本発明の方法を説明するためのフローチャートが図示されている。本発明の方法はネットワーク、例えば自動化技術のためのフィールドバスネットワークにおける初期化とデバイスアドレス及びIPアドレスの割り当てに関する。初期化のために、メインステーションは初期化テレグラムを送信し、この初期化テレグラムはデバイスアドレスの一部分及び/又はIPアドレスの一部分を含み、この初期化テレグラムはサブステーションによって受信される。サブステーションはまず最初にリアルタイム通信のための設定された通信アドレスを検出し、これから完全なデバイスアドレスならびに完全なIPアドレスを生成する。次いで完全なデバイスアドレス及び完全なIPアドレスを有する応答テレグラムがサブステーションからメインステーションへ送信される。これによって完全なデバイスアドレス及び完全なIPアドレスがサブステーションにもメインステーションにも存在し、この結果、メインステーションにおいて当該サブステーションと完全なデバイスアドレス及び完全なIPアドレスとの間の割り当てが存在することになる。 FIG. 4 shows a flowchart for explaining the method of the present invention. The method of the invention relates to initialization and device address and IP address assignment in a network, for example a fieldbus network for automation technology. For initialization, the main station transmits an initialization telegram, which includes a part of the device address and / or a part of the IP address, which is received by the substation. The substation first detects the configured communication address for real-time communication, and generates a complete device address as well as a complete IP address therefrom. A response telegram with the complete device address and complete IP address is then transmitted from the substation to the main station. This ensures that the complete device address and the complete IP address are present at both the substation and the main station, so that there is an assignment between the substation and the complete device address and the complete IP address at the main station. It will be.

代替的な方法は図5に図示されている。ここでは初期化テレグラムがメインステーションから送信され、これによってサブステーションは、そこで設定され通信アドレスを検出し、これを応答テレグラムにおいてメインステーションに送信することを要求される。次いで、メインステーションにおいて完全なデバイスアドレス及び完全なIPアドレスがそこにあるデバイスアドレスの部分及びIPアドレスの部分及び伝達された通信アドレスに依存して生成され、続いて完全なデバイスアドレス及び完全なIPアドレスを有する確認テレグラムが当該サブステーションに送信される。 An alternative method is illustrated in FIG. Here, an initialization telegram is transmitted from the main station, whereby the substation is required to detect the communication address set there and transmit it to the main station in a response telegram. The complete device address and complete IP address are then generated at the main station depending on the device address portion and IP address portion and the transmitted communication address, followed by the complete device address and complete IP address. A confirmation telegram having an address is transmitted to the substation.

本発明の更なる実施形態によれば、通信アドレスの代わりにIPアドレスも固定的に予め設定することが、例えば手動で設定することができ、これからリアルタイム通信のための通信アドレスが導出される。この場合、通信アドレスはIPアドレスに相応し、完全なIPアドレスは固定的に予め設定されるIPアドレスによって決定される。 According to a further embodiment of the present invention, by setting the IP address is also fixedly in advance instead of the communication address, for example manually can be set, is derived a communication address for future real-time communication. In this case, the communication address corresponds to the IP address, and the complete IP address is determined by a fixed and preset IP address.

例えばリアルタイム通信チャネルの通信アドレスとして5が設定されるならば、1つの例ではデバイスアドレス及びIPアドレスも同様に5で終了し、例えばIPアドレスとして192.168.0.5である。従って、IPアドレスの最初の3バイトが初期化テレグラムによってメインステーションからサブステーションに送信され、この結果、255個の異なるIPアドレスが与えられうる。 For example, if 5 is set as the communication address of the real-time communication channel, in one example, the device address and the IP address similarly end with 5, for example, 192.168.0.5 as the IP address. Therefore, the first 3 bytes of the IP address are sent from the main station to the substation by the initialization telegram, so that 255 different IP addresses can be given.

任意に、アドレスのタイムアウトに関する取り決めが可能であり、この結果、サブステーションの動作中でもそのアドレスの習得された部分は可変的である。   Arbitrarily, an address timeout arrangement is possible, so that the learned part of the address is variable even during operation of the substation.

代替的に、上記のデータネットワークのサブステーション2の各々に本発明の初期化方法によってデバイスアドレス及びIPアドレスが割り当てられうるが、デバイスアドレス及びIPアドレスが例えば入力ユニットによって固定的にプリセット可能であり、この入力ユニットにこれらのアドレスが入力されうるように構成することもできる。   Alternatively, each substation 2 of the data network can be assigned a device address and an IP address by the initialization method of the present invention, but the device address and the IP address can be fixedly preset by an input unit, for example. It is also possible to configure so that these addresses can be input to this input unit.

データネットワークにおいて通常リザーブされるIPアドレスに関して取り決めがなされていた場合、メインステーションがこのサブステーション自体と同一のIPアドレスを有するかどうかをサブステーションがさらに検査することができる。メインステーションが同一のアドレスを有しているとこのサブステーションが識別する場合には、このサブステーションはリザーブされた領域から取り出される新しいIPアドレスを使用する。   If an arrangement has been made for the IP address normally reserved in the data network, the substation can further check whether the main station has the same IP address as the substation itself. If this substation identifies that the main station has the same address, this substation uses the new IP address taken from the reserved area.

ネットワークの可能なネットワークトポロジを示す。Fig. 2 shows a possible network topology of the network. 図1のネットワークのためのサブステーションのブロック回路図を示す。2 shows a block circuit diagram of a substation for the network of FIG. 図1のネットワークのためのメインステーションのブロック回路図を示す。2 shows a block circuit diagram of a main station for the network of FIG. 図1のネットワークにおいてサブステーションでデバイスアドレスを自動的に提供するための本発明の方法を説明するためのフローチャートを示す。2 shows a flow chart for explaining the method of the present invention for automatically providing device addresses at substations in the network of FIG. 更に別の実施形態によるデバイスアドレスの自動的な提供のための本発明の方法を説明するためのフローチャートを示す。6 shows a flow chart for explaining the method of the present invention for automatic provision of device addresses according to yet another embodiment.

符号の説明Explanation of symbols

1 メインステーション
2 サブステーション
3 受信ユニット
4 送信ユニット
5 制御ユニット
6 初期化ユニット
7 通信アドレス提供ユニット
8 中間増幅器
10 メインステーション
11 受信ユニット
12 送信ユニット
13 初期化ユニット
14 メモリ
15 制御ユニット
DESCRIPTION OF SYMBOLS 1 Main station 2 Substation 3 Reception unit 4 Transmission unit 5 Control unit 6 Initialization unit 7 Communication address provision unit 8 Intermediate amplifier 10 Main station 11 Reception unit 12 Transmission unit 13 Initialization unit 14 Memory 15 Control unit

Claims (2)

ネットワークのサブステーションへのデバイスアドレスの割り当てのための方法において、
前記ネットワークの前記サブステーションはポイント・トゥ・ポイントコネクションを介して接続されており
メインステーションからサブステーションへ、デバイスアドレスの一部分を含む初期化テレグラムを送信するステップ、
サブステーションの設定された通信アドレスを該サブステーションにおいて検出し、応答テレグラムで前記メインステーションへ送信するステップ、
前記メインステーションにおいて、デバイスアドレスの前記一分及サブステーションの設定された通信アドレスに依存して完全なデバイスアドレスを生成し、かつ、IPアドレスの予め設定された部分と該通信アドレスとによって該サブステーションに対応する完全なIPアドレスを生成するステップ、
前記メインステーションから前記完全なデバイスアドレス及び完全なIPアドレスを確認テレグラムで前記サブステーションへ送信するステップを有する、ネットワークのサブステーションへのデバイスアドレスの割り当てのための方法。
In a method for assigning device addresses to network substations,
The substations of the network are connected via a point-to-point connection ;
From the main station to the sub-station, it sends initialization telegram comprising a portion of the device address step,
The set communication address of the substation is detected in the sub-station, sending to the main station in response telegram,
In the main station, depending on the set communication address of the part content及 beauty substation device address to generate a full device address, and, by a preset portion and the communication address of the IP address Generating a complete IP address corresponding to the substation ;
A method for assigning a device address to a substation of a network , comprising sending the complete device address and complete IP address from the main station to the substation in a confirmation telegram .
ネットワークのためのメインステーション(10)において、
前記ネットワークはサブステーションを有し、
ネットワーク通信及びIP通信チャネルを制御し、前記サブステーションのデバイスアドレスの一部分を提供するための制御ユニット(15)を有し、
送信ユニット(12)および受信ユニット(11)を有し、
前記制御ユニット(15)は、初期化テレグラムで前記デバイスアドレスの一部分を前記サブステーションへ送信するように、前記送信ユニット(12)を制御し
前記サブステーションが前記初期化テレグラムに応答して送信した応答テレグラムであって、該サブステーションの設定された通信アドレスを含む応答テレグラムが、前記受信ユニット(11)によって受信され、
当該メインステーション(10)において、デバイスアドレスの前記一部分及びサブステーションの設定された通信アドレスに依存して完全なデバイスアドレスが生成され、かつ、IPアドレスの予め設定された部分と該通信アドレスとによって該サブステーションに対応する完全なIPアドレスが生成され、
前記完全なデバイスアドレスおよび前記完全なIPアドレスが前記送信ユニット(12)によって、前記サブステーションへ確認テレグラムで送信されることを特徴とする、ネットワークのためのメインステーション(10)。
In the main station (10) for the network,
The network has substations;
A control unit (15) for controlling network communication and IP communication channels and providing a part of the device address of said substation ;
A transmission unit (12) and a reception unit (11);
The control unit (15) controls the transmission unit (12) to transmit a part of the device address to the substation in an initialization telegram.
A response telegram transmitted by the substation in response to the initialization telegram, the response telegram including the communication address set by the substation being received by the receiving unit (11);
In the main station (10), a complete device address is generated depending on the part of the device address and the communication address set in the substation, and the predetermined part of the IP address and the communication address A complete IP address corresponding to the substation is generated,
Main station (10) for a network, characterized in that the complete device address and the complete IP address are transmitted by the transmitting unit (12) in a confirmation telegram to the substation.
JP2005243439A 2004-08-24 2005-08-24 Method for assigning device addresses to substations of a network, substation for a network and main station for a network Expired - Fee Related JP4651018B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102004041092A DE102004041092A1 (en) 2004-08-24 2004-08-24 A method for assigning a device address to a substation in a network and a substation and a main station for a network

Publications (2)

Publication Number Publication Date
JP2006067591A JP2006067591A (en) 2006-03-09
JP4651018B2 true JP4651018B2 (en) 2011-03-16

Family

ID=35241081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005243439A Expired - Fee Related JP4651018B2 (en) 2004-08-24 2005-08-24 Method for assigning device addresses to substations of a network, substation for a network and main station for a network

Country Status (4)

Country Link
EP (1) EP1631042B1 (en)
JP (1) JP4651018B2 (en)
AT (1) ATE379920T1 (en)
DE (2) DE102004041092A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006018163B4 (en) * 2006-04-19 2008-12-24 Siemens Ag Method for automatic address assignment
DE102007053330B4 (en) * 2007-11-08 2019-01-31 Blum-Novotest Gmbh Method for regulating the transmitting power of a transmitting / receiving device in a position measuring system for a machine and transceiver device
US7827333B1 (en) * 2008-02-04 2010-11-02 Nvidia Corporation System and method for determining a bus address on an add-in card
DE102009045127B8 (en) 2009-09-29 2011-12-22 Carl Zeiss Nts Gmbh Method for assigning identifiers to bus-system-connected units
DE102010031798B4 (en) 2010-07-20 2021-11-11 Robert Bosch Gmbh Automation network and procedures for its operation
CN110505319A (en) * 2019-08-07 2019-11-26 金陵科技学院 A kind of RS485 is from device address auto-allocation method and system
CN111817939B (en) * 2020-07-22 2022-01-28 浙江中控技术股份有限公司 Master station redundancy implementation system and method based on industrial Ethernet protocol

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078171A (en) * 1998-07-28 2000-03-14 Alstom Entreprise Sa Method for allocating computer address to equipment of system for operating industrial facilities

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3838152A1 (en) * 1988-11-10 1990-05-31 Kloeckner Moeller Elektrizit METHOD AND IDENTIFICATION OF BUS PARTICIPANTS
US6345294B1 (en) * 1999-04-19 2002-02-05 Cisco Technology, Inc. Methods and apparatus for remote configuration of an appliance on a network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078171A (en) * 1998-07-28 2000-03-14 Alstom Entreprise Sa Method for allocating computer address to equipment of system for operating industrial facilities

Also Published As

Publication number Publication date
EP1631042A1 (en) 2006-03-01
DE502005002086D1 (en) 2008-01-10
ATE379920T1 (en) 2007-12-15
JP2006067591A (en) 2006-03-09
EP1631042B1 (en) 2007-11-28
DE102004041092A1 (en) 2006-03-09

Similar Documents

Publication Publication Date Title
JP4651018B2 (en) Method for assigning device addresses to substations of a network, substation for a network and main station for a network
US20050018677A1 (en) Method and system for generating IP addresses of access terminals and transmitting messages for generation of IP addresses in an IP system
EP2273722B1 (en) Upnp device for preventing network address conflict in consideration of remote access and method thereof
US8103784B2 (en) Communication device and communication control method using efficient echonet address determination scheme
US20060045119A1 (en) Main station and substation in a network and a method for transmitting data in a network
US8190697B2 (en) Automated configuration of device communication settings
JP2853662B2 (en) Mobile host compatible network
TWI491231B (en) Proxy mechanism for mesh-type networks
KR20040045806A (en) Architecture and method of a common protocol for transferring data between different network protocols and a common protocol packet
EP1499072B1 (en) Method for interconnecting a PLC LAN with any other non-PLC LAN
US20070168440A1 (en) Bandwidth-saving discovery on dual-stack upnp devices
CN109936490B (en) Virtual home network sharing method and system based on VXLAN and OpenFlow
JP5293658B2 (en) Communication system, base station, communication apparatus, switch, and communication method
JP3808079B2 (en) Gateway device and control method thereof
CN112995038B (en) Access method of PROFINET protocol in industrial SDN
JP2007081456A (en) Converter
EP1817892B1 (en) Method and system for opening a network link
KR20010039791A (en) A communication apparatus and communication method, and media
JP2007096539A (en) Conversion apparatus
WO2005039125A1 (en) Home link setting method, home gateway device, and mobile terminal
CN116018785A (en) Method for operating a network
KR100226781B1 (en) Method for recognizing node
KR20120059724A (en) System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan
KR101002811B1 (en) Method and apparatus for providing ip multicasting packet ternaling
US20080123563A1 (en) Conference Voice Station And Conference System

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100916

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101112

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101210

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees