DE102004039447A1 - Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken - Google Patents

Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken Download PDF

Info

Publication number
DE102004039447A1
DE102004039447A1 DE200410039447 DE102004039447A DE102004039447A1 DE 102004039447 A1 DE102004039447 A1 DE 102004039447A1 DE 200410039447 DE200410039447 DE 200410039447 DE 102004039447 A DE102004039447 A DE 102004039447A DE 102004039447 A1 DE102004039447 A1 DE 102004039447A1
Authority
DE
Germany
Prior art keywords
address
identifier
master
subscriber
participants
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.)
Ceased
Application number
DE200410039447
Other languages
German (de)
Inventor
Dieter Dr. Eckardt
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.)
Siemens AG
Original Assignee
Siemens 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 Siemens AG filed Critical Siemens AG
Priority to DE200410039447 priority Critical patent/DE102004039447A1/en
Publication of DE102004039447A1 publication Critical patent/DE102004039447A1/en
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0052Assignment of addresses or identifiers to the modules of a bus system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Small-Scale Networks (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method involves determining random addresses of subscribers (2,...10) and allocating them as addresses. These allocated addresses are marked as taken by all other subscribers. For each allocated address, an identifier of a corresponding subscriber is stored in the master (12).

Description

Die Erfindung bezieht sich auf ein Verfahren zur automatischen Adressvergabe an Teilnehmern eines Systems, wobei jeder Teilnehmer einen einstellbaren Adressspeicher aufweist und über einen vorbestimmten Kanal empfangsbereit ist, und wobei zu Beginn des Verfahrens jeder Teilnehmer eine Zufallsadresse aus einem vorbestimmten Adressraum aufweist.The The invention relates to a method for automatic address assignment to participants in a system, each participant being an adjustable one Has address memory and over is ready to receive a predetermined channel, and at the beginning the method of each participant a random address from a predetermined Has address space.

Kommunikationssysteme allgemein und Bussysteme im speziellen benötigen die Vergabe von Adressen an die einzelnen Teilnehmer (Slaves), damit diese eindeutig von einem Master angesprochen werden können. Die Vergabe der Adressen wird bei handelsüblichen Systemen manuell durchgeführt, d.h., bei jedem Gerät wird eine eindeutige Adresse eingestellt. In ausgedehnten Systemen kommt es aber immer wieder zu Doppelvergaben, was zumindest die Inbetriebnahme beeinträchtigt. Andererseits kann eine einmalige manuelle Adressvergabe auch störend sein, da die Adressen in der Zeit danach auch jedem Servicepersonal bekannt sein müssen, um beispielsweise vor Ort über drahtlose Bedienpanels Servicearbeiten oder -abfragen vornehmen zu können.communications systems In general and bus systems in particular require the assignment of addresses to the individual participants (slaves), so that they are clearly different from a master can be addressed. The assignment of the addresses will be at commercial Systems are carried out manually, i. with every device a unique address is set. In extended systems But there are always double awards, which at least the Commissioning impaired. On the other hand, a one-time manual address assignment can also be annoying since the addresses in the time after also known to every service staff have to be around for example, over in the field wireless operator panels perform service work or queries to be able to.

Diese Problematik wird beispielsweise dadurch gelöst, dass der Adressraum entsprechend groß gewählt wird und weltweit eine eindeutige Adresse vergeben wird oder durch Zusatzmaßnahmen, wie beispielsweise einem sogenannten Daisy-Chain-Verfahren, eine sukzessive Inbetriebnahme des gesamten Systems möglich wird, in dem immer nur der jeweils freigeschaltete Teilnehmer angesprochen wird und dadurch sehr einfach an jeden Teilnehmer eine eindeutige Adresse durch den Master vergeben werden kann. Außerdem ist bei drahtlos arbeitenden Bedien- und Beobachtungsgeräten eine automatische Adressvergabe sehr hilfreich, da diese Geräte dann zusammen mit den zu bedienenden Geräten temporär eine eindeutige Adresszuweisung vornehmen und damit einen Datenverkehr selbständig vorbereiten können. Ansonsten müsste die eingestellte Adresse von außen sichtbar angeschrieben sein oder durch andere Mittel zugängig gemacht werden.These Problem is solved, for example, that the address space is chosen to be large and a unique address is given worldwide or through additional measures, such as a so-called daisy-chain method, a gradual start-up of the entire system possible in which only the respectively activated subscriber is addressed becomes and thereby very simply to each participant a clear one Address can be assigned by the master. Besides that is for wireless operating and monitoring devices one automatic address allocation very helpful, since these devices then together with the devices to be used temporarily make a unique address assignment and thus be able to independently prepare a data traffic. Otherwise should the set address from outside be visibly written or made accessible by other means become.

Aus der DE 33 47 357 A1 ist eine Einrichtung zum Vergeben von Adressen an steckbaren Baugruppen bekannt. Um steckbare Baugruppen seitens einer Steuereinrichtung Adressen für einen adressgesteuerten Datenaustausch zuzuführen, ist gemäß dieser Einrichtung jeder Baugruppe zum einen eine den Typ der Baugruppe kennzeichnende Baugruppenkennung eingeprägt. Ferner wird jeder Baugruppe eine Steckplatzkennung über einen Geber mitgeteilt. Während einer Initialisierungsphase werden alle Baugruppen über die Steckplatzkennung aufgerufen und teilen der Steuereinheit ihre jeweiligen Baugruppenkennungen mit. Von der Steuereinheit werden daraufhin über Adressierung der Steckplatzkennungen den Baugruppen deren relevanten Adressen mitgeteilt, die für den weiteren Datenaustausch verwendet werden. Mit dieser Einrichtung kann ohne manuellen Eingriff allein mit Hilfe der Steuereinheit den Baugruppen Adressen für den Datenaustausch zugewiesen werden. Dabei wird davon ausgegangen, dass die Baugruppen steckbar in einem vorgegebenen räumlichen Ordnungssystem angeordnet sind. Wesentlich ist auch, dass für jeden Steckplatz eine spezifische Steckplatzkennung zur Verfügung steht.From the DE 33 47 357 A1 is a device for assigning addresses to plug-in modules known. In order to supply plug-in modules on the part of a control device addresses for an address-controlled data exchange, according to this device each module on the one hand, a module type characterizing the module identifier is impressed. Furthermore, each module is informed of a slot identifier via a transmitter. During an initialization phase, all modules are called via the slot identifier and inform the control unit of their respective module identifiers. From the control unit are then informed of addressing the slot identifiers the modules whose relevant addresses that are used for further data exchange. With this device can be assigned without manual intervention alone with the help of the control unit to the modules addresses for data exchange. It is assumed that the modules are arranged pluggable in a given spatial order system. It is also essential that a specific slot identifier is available for each slot.

Der Erfindung liegt nun die Aufgabe zugrunde, ein Verfahren zur automatischen Adressvergabe an Teilnehmern eines Systems anzugeben, das auch über drahtlose Master ausgeführt werden kann.Of the The invention is based on the object, a method for automatic Specify address assignment to subscribers of a system, which also uses wireless Master executed can be.

Diese Aufgabe wird mit den in Anspruch 1 angegebenen Verfahrensschritten erfindungsgemäß gelöst, wobei diese Teilnehmer des Systems über einen vorbestimmten Kanal immer empfangsbereit sind, und in der Lage sind, eine Adresse aus einem vorbestimmten Adressraum einstellen zu können, wobei mit Starten des Verfahrens jeder Teilnehmer des Systems eine Zufallsadresse aufweist.These The object is achieved by the method steps specified in claim 1 solved according to the invention, wherein these participants of the system over a predetermined channel are always ready to receive, and in the Are able to set an address from a predetermined address space to be able to with the start of the procedure each participant of the system a random address having.

Mittels diesem erfindungsgemäßen Verfahren werden diese Zufallsadressen aus einem vorbestimmten Adressraum eines jeden Teilnehmers ermittelt und diesen als Adresse zugewiesen, wobei diese zugewiesene Adresse von allen anderen Teilnehmern des Systems als belegt gekennzeichnet wird. Die Ermittlung der Zufallsadressen der Teilnehmer des Systems erfolgt derart, dass die Teilnehmer mit einer Adresse des vorbestimmten Adressraums aufgefordert werden, ihre Kennung zu senden. Auf diese Aufforderung kann keine Antwort, eine Antwort oder mehrere Antworten kommen. Keine Antwort bedeutet, dass kein Teilnehmer dieses Systems diese Adresse als Zufallsadresse aufweist. Ist eine Kennung nicht unverfälscht, bedeutet dies, dass wenigstens zwei Teilnehmer diese aufgerufene Adresse als Zufallsadresse aufweisen. Damit signalisiert das zerstörte Antworttelegramm eine Kollision wenigstens zweier Teilnehmer. In diesem Fall werden die an der Kollision beteiligten Teilnehmer aufgefordert, ihre Zufallsadressen zu ändern. Ist eine Kennung unverfälscht erkennbar, bedeutet dies, dass nur ein Teilnehmer dieser aufgerufenen Adresse als Zufallsadresse aufweist. In diesem Fall wird diese aufgerufene Adresse dem Teilnehmer als Adresse zugewiesen, wobei die anderen Teilnehmer diese Adresse als belegt markieren. Diese Verfahrensschritte müssen für jede Adresse des vorbestimmten Adressraums wiederholt werden. Treten Kollisionen auf, so müssen für jede Kollision die Adressen des vorbestimmten Adressraums in der angegebenen Weise verfahren werden. Wenn keine Kollisionen mehr auftreten und keine Antworten mehr eintreffen, ist jedem Teilnehmer des Systems eine Adresse automatisch zugewiesen worden.By means of this method according to the invention, these random addresses are determined from a predetermined address space of each subscriber and assigned to this subscriber as an address, whereby this assigned address is marked as occupied by all other subscribers of the system. The determination of the random addresses of the participants of the system is such that the participants are requested with an address of the predetermined address space to send their identifier. There can be no answer, one answer or multiple answers to this request. No answer means that no participant in this system has this address as a random address. If an identifier is not genuine, this means that at least two users have this called address as a random address. Thus, the destroyed response telegram signals a collision of at least two participants. In this case, the participants involved in the collision are asked to change their random addresses. If an identifier is unaltered, this means that only one subscriber has this called address as a random address. In this case, this called address is assigned to the subscriber as an address, with the other subscribers marking this address as busy. These method steps must be for each address of the predetermined address space be repeated. If collisions occur, the addresses of the predetermined address space must be traversed in the manner indicated for each collision. If there are no more collisions and no replies are received, each participant in the system has been automatically assigned an address.

Somit erhält man ein Verfahren, mit dem automatisch jedem Teilnehmer eines Systems eine Adresse zugewiesen werden kann, wobei eine Doppelvergabe von Adressen verhindert wird. Außerdem kann dieses Verfahren auch über einen drahtlosen Master ausgeführt werden. Mit diesem erfindungsgemäßen Verfahren erfolgt die Adressierung symbolisch, wobei die Zuordnung zwischen Symbolik und vergebener Adresse automatisch erfolgt.Consequently receives One is a procedure that automatically assigns each participant of a system an address can be assigned, whereby a double allocation of Addresses is prevented. In addition, can this procedure also over running a wireless master become. With this method according to the invention the addressing takes place symbolically, the assignment between Symbolism and assigned address is done automatically.

Vorteilhafte Ausgestaltungen des erfindungsgemäßen Verfahrens zur automatischen Adressvergabe sind den Unteransprüchen 2 bis 12 zu entnehmen.advantageous Embodiments of the inventive method for automatic address assignment are the dependent claims 2 to 12 to remove.

Zur weiteren Erläuterung der Erfindung wird auf die Zeichnung Bezug genommen, in der das Verfahren für ein drahtloses Kommunikationssystem und ein Bussystem schematisch veranschaulicht wird.to further explanation The invention is referred to the drawing, in which the Procedure for a wireless communication system and a bus system schematically is illustrated.

1 zeigt ein drahtloses Kommunikationssystem und die 2 zeigt ein Bussystem. 1 shows a wireless communication system and the 2 shows a bus system.

Das drahtlose Kommunikationssystem gemäß 1 weist mehrere Teilnehmer 2, 4, 6, 8 und 10 und einen Master 12 auf. Diese Teilnehmer 2 bis 10, die auch als Slave bezeichnet werden, sind in dieser Darstellung nebeneinander angeordnet. Diese Teilnehmer 2 bis 10 können jedoch auch in einer Produktionshalle verstreut angeordnet sein. Der Master 12 ist beispielsweise ein drahtloses Bedienpanel, mit dem beispielsweise ein Servicemann Servicearbeiten oder -abfragen vor Ort vornehmen kann. Jeder Teilnehmer 2 bis 10 weist eine Kennung auf, die symbolisch sein kann. Beispielsweise hat der Teilnehmer 2 die Kennung X34-Y12 und der Teilnehmer 4 die Kennung X34-Z33. Diese Kennungen symbolisieren jeweils den Ort des jeweiligen Teilnehmers 2 bzw. 4 in einem systemweiten Koordinatensystem. Damit handelt es sich bei diesen Kennungen um Ortskennzeichen. Als Kennung kann beispielsweise auch die Seriennummer des Teilnehmers verwendet werden. Allgemein können Daten der Informations- und Auskunftsfunktionen als Kennung dienen. Jeder Teilnehmer 2 bis 10 und der Master 12 weist außerdem jeweils eine Sende- und Empfangseinrichtung 14 und ein optisches Element 16, beispielsweise eine lichtemitierende Diode, auf. Als Sende- und Empfangseinrichtung 14 ist eine drahtlose Einrichtung vorgesehen. Die drahtlose Einrichtung 14 kann eine Ultraschall-Sende- und Empfangseinrichtung oder eine Infrarot-Sende- und Empfangseinrichtung sein. Vom Master 12 ist einerseits ein kommunizierender Teil 18 und ein Speicher 20 separat dargestellt.The wireless communication system according to 1 has several participants 2 . 4 . 6 . 8th and 10 and a master 12 on. These participants 2 to 10 , which are also referred to as slave, are arranged side by side in this illustration. These participants 2 to 10 However, they can also be scattered in a production hall. The master 12 is, for example, a wireless control panel, with which, for example, a service man can perform service work or queries on site. Every participant 2 to 10 has an identifier that can be symbolic. For example, the participant has 2 the identifier X34-Y12 and the subscriber 4 the identifier X34-Z33. These identifiers each symbolize the location of each participant 2 respectively. 4 in a system-wide coordinate system. Thus, these identifiers are location identifiers. As an identifier, for example, the serial number of the subscriber can be used. In general, data of the information and information functions can serve as an identifier. Every participant 2 to 10 and the master 12 also has a respective transmitting and receiving device 14 and an optical element 16 For example, a light emitting diode on. As transmitting and receiving device 14 a wireless device is provided. The wireless device 14 may be an ultrasonic transmitting and receiving device or an infrared transmitting and receiving device. From the master 12 On the one hand, it is a communicative part 18 and a memory 20 shown separately.

In der 2 ist das Kommunikationssystem gemäß 1 als Bussystem dargestellt. D.h., die Teilnehmer 2 bis 10 und der Master 12 sind mittels eines Busses untereinander kommunikativ verbunden. Dazu weist jeder Teilnehmer 2 bis 10 eine Sende- und Empfangseinrichtung 22 auf. Diese Sende- und Empfangseinrichtung 22 sind mittels eines Busses 24 miteinander verbunden. Vom Master 12 ist ebenfalls ein kommunizierender Teil 18 und ein Speicher 20 schematisch dargestellt. Auch bei diesem Bussystem sind die Teilnehmer 2 bis 10 nebeneinander angeordnet. Sie können jedoch auch in einer Produktionshalle verstreut angeordnet sein. Die Teilnehmer 2 und 4 weisen jeweils dieselben Kennungen wie in der Ausführungsform gemäß 1 auf.In the 2 is the communication system according to 1 shown as bus system. That is, the participants 2 to 10 and the master 12 are communicatively connected to each other by means of a bus. This is indicated by each participant 2 to 10 a transmitting and receiving device 22 on. This transmitting and receiving device 22 are by means of a bus 24 connected with each other. From the master 12 is also a communicative part 18 and a memory 20 shown schematically. Also in this bus system are the participants 2 to 10 arranged side by side. However, they can also be scattered in a production hall. The participants 2 and 4 each have the same identifiers as in the embodiment according to 1 on.

Anhand der Ausführungsform gemäß 1 soll nun das erfindungsgemäße Verfahren zur automatischen Adressvergabe näher beschrieben werden:
Voraussetzung für das erfindungsgemäße Verfahren ist, dass jeder Teilnehmer 2 bis 10 prinzipiell fähig sein muss, eine Adresse zwischen 1 und N einstellen zu können, wobei jeder Teilnehmer 2 bis 10 über einen vorbestimmten Kanal immer empfangsbereit sein muss. Dieser Kanal wird als Kommandokanal benutzt. Über diesen Kanal werden die Kommandos des Verfahrens an die Teilnehmer 2 bis 10 des Systems übertragen.
Based on the embodiment according to 1 Now, the inventive method for automatic address assignment will be described in more detail:
Prerequisite for the inventive method is that each participant 2 to 10 in principle must be able to get an address between 1 and N to be able to adjust, each participant 2 to 10 must always be ready to receive over a predetermined channel. This channel is used as a command channel. Through this channel, the commands of the procedure to the participants 2 to 10 of the system.

Damit das Verfahren zur automatischen Adressvergabe gestartet wird, wird über den Kommandokanal das Kommando RESET an alle Teilnehmer 2 bis 10 des Systems vom Master 12 übertragen. Mit der Übertragung dieses Kommandos weisen die Teilnehmer 2 bis 10 in ihren Adressspeicher jeweils eine Zufallsadresse zwi schen 1 und N auf. Das nächste Kommando, das vom Master 12 an alle Teilnehmer 2 bis 10 des Systems übertragen wird, heißt ECHO adr 1. Aufgrund dieses Kommandos sollen alle Teilnehmer 2 bis 10 mit der Zufallsadresse 1 ihre Kennung an den Master 12 senden.To start the procedure for automatic address assignment, the command RESET is sent to all participants via the command channel 2 to 10 of the system from the master 12 transfer. With the transmission of this command the participants point 2 to 10 in their address memory in each case a random address between tween 1 and N up. The next command, that of the master 12 to all participants 2 to 10 of the system is called ECHO adr 1 , Because of this command all participants should 2 to 10 with the random address 1 their identifier to the master 12 send.

Empfängt der Master 12 ein unzerstörtes Antworttelegramm, das die Kennung eines der Teilnehmer 2, 4, 6, 8 oder 10 enthält, so sendet der Master 12 das Kommando HOLD adr 1 an alle Teilnehmer 2 bis 10 des Systems. Das bedeutet, dass der Teilnehmer mit der Zufallsadresse 1 diese Adresse festschreiben soll, wogegen die Teilnehmer, die diese Zufallsadresse 1 nicht aufweisen, diese Adresse 1 als belegt markieren sollen. Danach überträgt der Master 12 das Kommando ECHO adr 2 an die verbleibenden Teilnehmer 4 bis 10.Receives the master 12 an undeleted response telegram that is the identifier of one of the participants 2 . 4 . 6 . 8th or 10 contains, so sends the master 12 the command HOLD adr 1 to all participants 2 to 10 of the system. This means that the participant with the random address 1 this address is to commit, whereas the participants, this random address 1 do not have this address 1 should mark as occupied. Afterwards the master transfers 12 the command ECHO adr 2 to the remaining participants 4 to 10 ,

Empfängt der Master 12 kein Antworttelegramm, so weist keiner der Teilnehmer 2 bis 10 die Adresse 1 als Zufallsadresse auf. Danach sendet der Master 12 an alle Teilnehmer 2 bis 10 das Kommando ECHO adr 2.Receives the master 12 no answer telegram, so no one of the participants 2 to 10 the address 1 as a random address. Then the master sends 12 to all participants 2 to 10 the command ECHO adr 2 ,

Empfängt der Master 12 ein zerstörtes Antworttelegramm, so haben wenigstens zwei Teilnehmer, deren Zufallsadressen gleich der genannten Adresse 1 sind, ihre Kennung an den Master 12 gesendet. Wenn mehrere Teilnehmer gleichzeitig den Master 12 ihre Kennung senden, kann der Master 12 keine dieser empfangenen Kennungen unverfälscht erkennen. In diesem Fall liegt eine sogenannte Kollision vor. Aufgrund des zerstörten Antworttelegramms überträgt der Master 12 das Kommando CHANGE adr 1 an die Teilnehmer mit der Zufallsadresse 1. Dieses Kommando veranlasst diese beiden Teilnehmer jeweils ihre Zufallsadresse zu ändern. Die Änderung dieser Zufallsadresse erfolgt beispielsweise mittels eines Zufallsgenerators. Adressen des vorbestimmten Adressraumes, die als belegt markiert sind, sind bei der Adressverstellung ausgeschlossen. Daran anschließend überträgt der Master 12 das Kommando ECHO adr 2 an alle Teilnehmer 2 bis 10 oder nochmals ECHO adr 1, um Kollisionsfreiheit zu prüfen.Receives the master 12 a destroyed answer telegram, so have at least two participants whose random addresses equal to the address mentioned 1 are, their identifier to the master 12 Posted. If several participants simultaneously the master 12 can send their ID, the master can 12 recognize any of these received identifiers unadulterated. In this case, there is a so-called collision. Due to the destroyed reply telegram, the master transmits 12 the command CHANGE adr 1 to the participants with the random address 1 , This command causes these two participants each to change their random address. The change of this random address, for example, by means of a random number generator. Addresses of the predetermined address space, which are marked as occupied, are excluded in the address adjustment. Subsequently, the master transfers 12 the command ECHO adr 2 to all participants 2 to 10 or again ECHO adr 1 to check collision freedom.

Sobald das Kommando ECHO adr 2 übertragen ist, wird das Antworttelegramm in der beschriebenen Art und Weise ausgewertet, und die Kommandos HOLD adr 2 bzw. CHANGE adr 2 übertragen. Danach folgt das Kommando ECHO adr 3, ECHO adr 4, ..., ECHO adr N. Sobald das Antworttelegramm auf das Kommando ECHO adr N ausgewertet ist, sind alle Adressen 1 bis N des vorbestimmten Adressraums abgearbeitet. Sind dabei eine oder mehrere Kollisionen aufgetreten, so müssen die Adressen 1 bis N des vorbestimmten Adressraums noch einmal oder mehrmals abgearbeitet werden. Erst wenn keine Kollisionen mehr auftreten oder keine Antworttelegramme mehr beim Master 12 ankommen, ist das Verfahren zur automatischen Adressvergabe abgeschlossen. D.h., jedem Teilnehmer 2, ...,10 ist eine Adresse zwischen 1 und N aus einem vorbestimmten Adressraum zugewiesen worden.As soon as the command ECHO adr 2 is transmitted, the response telegram is evaluated in the manner described, and the commands HOLD adr 2 or CHANGE adr 2 transfer. This is followed by the command ECHO adr 3 , ECHO adr 4 , ..., ECHO adr N. As soon as the response telegram has been evaluated for the command ECHO adr N, all addresses are 1 processed to N of the predetermined address space. If one or more collisions have occurred, the addresses must be 1 to N of the predetermined address space are processed once or more times. Only when there are no more collisions or no response telegrams at the master 12 arrive, the procedure for automatic address assignment is completed. That means, every participant 2 , ..., 10 is an address between 1 and N have been assigned from a predetermined address space.

Für die Änderung der Zufallsadressen von Teilnehmern 2 bis 10 dieses Systems wird ein Zufallszahlengenerator verwendet. Zufallszahlengeneratoren können auf unterschiedlichster Art und Weise konstruiert werden. Im vorliegenden Fall ist nur wichtig, dass ausschließlich ganze Zahlen im Bereich 1 bis N erzeugt werden. Die statistische Verteilung ist nebensächlich. Vorteilhaft ist jedoch eine Gleichverteilung. Beispielsweise könnte ein rückgekoppeltes Schieberegister als sogenanntes Pseudozufallsgenerator eingesetzt werden. Damit die Schieberegister in den verschiedenen Geräten nicht alle stets die gleichen Zufallszahlen generieren, müssen die Schieberegister mit unterschiedlichen Startwerten ausgestattet werden. Dies kann z.B. dadurch geschehen, dass die Seriennummer des Gerätes als Startwert benutzt wird.For changing the random addresses of participants 2 to 10 This system uses a random number generator. Random number generators can be constructed in a variety of ways. In the present case it is only important that only integers in the range 1 to N are generated. The statistical distribution is secondary. However, an equal distribution is advantageous. For example, a feedback shift register could be used as a so-called pseudo-random generator. So that the shift registers in the various devices do not all always generate the same random numbers, the shift registers must be equipped with different starting values. This can be done, for example, by using the serial number of the device as the start value.

Nach erfolgter Adressvergabe werden die Teilnehmer 2, ...,10 wie gehabt angesprochen. Es ist dann auch Betrieb im Querverkehr möglich.After the address has been assigned, the participants become 2 , ..., 10 as mentioned. It is then possible to operate in cross traffic.

Zur korrekten Adressierung hält der Master 12 eine Tabelle, die über das beschriebene erfindungsgemäße Verfahren aufgebaut ist, in der die vergebenen Adressen mit der Kennung des jeweiligen Teilnehmers 2 bis 10 verknüpft ist. Ferner führt jeder Teilnehmer 2 bis 10 eine Tabelle mit, in der die belegten Adressen 1 bis N markiert sind. Diese Tabelle verliert nach Abschluss der Autoadressierung ihre Bedeutung und kann gelöscht werden.For correct addressing, the master holds 12 a table which is constructed via the described inventive method, in which the assigned addresses with the identifier of the respective subscriber 2 to 10 is linked. Furthermore, each participant leads 2 to 10 a table with, in which the occupied addresses 1 to N are marked. This table loses its meaning after completion of the auto-addressing and can be deleted.

Ferner kann zur Ermittlung des erfolgreichen Abschlusses der Autoadressierung ein Kommando CLOSE an die Teilnehmer 2 bis 10 des Systems übermittelt werden.Furthermore, to determine the successful completion of auto-addressing, a CLOSE command can be sent to the participants 2 to 10 be transmitted to the system.

Der Aufbau einer Kommunikationsverbindung zwischen dem Master 12 und einem der Teilnehmer 2, 4, 6, 8 oder 10 erfolgt durch das Senden des Kommandos CALL adr 1, ...,N über den Kommandokanal. Aufgrund dieses Kommandos wird der Master 12 mit dem entsprechenden Teilnehmer mit der Adresse 1, ...,N aufgebaut und eine bereits bestehende Verbindung beendet, und der neu angesprochene Teilnehmer sendet seine Kennung an den Master 12. Wegen der während der Adressvergabe erzeugten Liste im Master 12, kann programmtechnisch der Aufruf eines Teilnehmers 2 bis 10 des Systems auch durch einen symbolischen Namen erfolgen. Danach kann so verfahren werden, wie bisher auch. Zum Kanalwechsel wird einfach wieder das Kommando CALL adr 1, ...,N abgesetzt.The establishment of a communication connection between the master 12 and one of the participants 2 . 4 . 6 . 8th or 10 is done by sending the command CALL adr 1 , ..., N via the command channel. Because of this command becomes the master 12 with the appropriate participant with the address 1 , ..., N and an already existing connection is terminated, and the newly addressed subscriber sends his ID to the master 12 , Because of the list generated during address assignment in the master 12 , programmatically, can call a subscriber 2 to 10 of the system also by a symbolic name. After that you can do it the way you did before. To change channels, the command CALL adr 1 , ..., N deposed.

Mittels diesen erfindungsgemäßem Verfahren erfolgt eine automatische Adressvergabe in Master-Slave-Systemen durch Nutzung eines festen Kommandokanals und einer eindeutigen, frei wählbaren Kennung der Teilnehmer 2 bis 10. Diese Kennung kann auch optisch erfolgen, indem das Gerät eine lichtemitierende Diode 16 einschaltet oder in einem vorhandenen Display entsprechende Symbole oder Texte ausgibt. Für die Durchführung der automatischen Adressvergabe werden die Kommandos ECHO, CHANGE, HOLD und RESET benötigt. Für den Kommunikationsbe trieb wird das Kommando CALL verwendet. Die Adressierung kann nun symbolisch erfolgen, die Zuordnung zwischen Symbolik und vorgegebener Adresse erfolgt automatisch. Die Vergabe gleicher symbolischer Namen kann größtenteils während der Autoadressierungsphase erkannt werden. Durch ein weiteres Kommando "PING Symbolische Adresse" kann abgeprüft werden, ob jeder Teilnehmer ansprechbar ist und ob das Antworttelegramm unzerstört ist. Zusammen mit der Eindeutigkeit der Einträge in der Liste im Master 12 lässt sich automatisch sicherstellen, dass alle Teilnehmer 2, ...,10 ansprechbar sind, keine Doppelvergabe von Adressen existieren und keine Kennung doppelt vergeben wurden.By means of this inventive method, an automatic address assignment in master-slave systems by using a fixed command channel and a unique, freely selectable identifier of the participants 2 to 10 , This identifier can also be made optically by the device being a light-emitting diode 16 turns on or outputs corresponding symbols or texts in an existing display. To execute the automatic address assignment, the commands ECHO, CHANGE, HOLD and RESET are required. The command CALL is used for the communications operation. The addressing can now be done symbolically, the assignment between the symbols and the given address is automatic. The allocation of the same symbolic names can largely be recognized during the auto-addressing phase. By another command "PING Symbolic Address" can be checked whether each part is responsive and whether the response telegram is unbroken. Along with the uniqueness of the entries in the list in the master 12 automatically ensures that all participants 2 , ..., 10 are addressable, no duplication of addresses exist and no identifier was awarded twice.

Claims (12)

Verfahren zur automatischen Adressvergabe an Teilnehmern (2, ...,10) eines Systems, wobei jeder Teilnehmer (2, ...,10) einen einstellbaren Adressspeicher aufweist und über einen vorbestimmten Kanal empfangsbereit ist, und wobei zu Beginn des Verfahrens jeder Teilnehmer (2, ...,10) eine Zufallsadresse aus einem vorbestimmten Adressraum aufweist, mit folgenden Verfahrensschritten: a) Master (12) sendet ein Startsignal über den vorbestimmten Kanal an alle Teilnehmer (2, ...,10) des Systems, b) Master (12) fordert alle Teilnehmer (2, ...,10) mit einer ersten Adresse (1, ...,N) des vorbestimmten Adressraums auf, ihre Kennung zu senden, c) wird die Kennung eines Teilnehmers (2, ...,10) unverfälscht empfangen, so fordert der Master (12) diesen Teilnehmer auf, diese Adresse (1, ...,N) festzuschreiben, wogegen die anderen Teilnehmern (2, ...,10) diese Adresse (1, ...,N) als belegt kennzeichnen, d) wird die Kennung nicht unverfälscht empfangen, so fordert der Master (12) die antwortenden Teilnehmern auf, ihre Zufallsadressen zu ändern, e) wird keine Kennung empfangen, wird zur nächsten Adresse übergegangen und f) die Verfahrensschritte b) bis e) werden für jede Adresse des vorbestimmten Adressraums so lange ausgeführt, bis allen Teilnehmern (2, ...,10) eine Adresse (1, ...,N) des vorbestimmten Adressraums zugewiesen sind.Method for automatic address assignment to subscribers ( 2 , ..., 10 ) of a system, each participant ( 2 , ..., 10 ) has an adjustable address memory and is ready to receive over a predetermined channel, and at the beginning of the method each subscriber ( 2 , ..., 10 ) has a random address from a predetermined address space, with the following method steps: a) master ( 12 ) sends a start signal over the predetermined channel to all subscribers ( 2 , ..., 10 ) of the system, b) Master ( 12 ) calls on all participants ( 2 , ..., 10 ) with a first address ( 1 , ..., N) of the predetermined address space to send their identifier, c) the identifier of a subscriber ( 2 , ..., 10 ) received unadulterated, the master demands ( 12 ) this subscriber, this address ( 1 , ..., N) whereas the other participants ( 2 , ..., 10 ) this address ( 1 , ..., N) mark as occupied, d) if the identifier is not received in an unadulterated manner, the master requests ( 12 ) the responding subscribers to change their random addresses, e) no identifier is received, is transferred to the next address and f) the method steps b) to e) are carried out for each address of the predetermined address space until all participants ( 2 , ..., 10 ) an address ( 1 , ..., N) of the predetermined address space are assigned. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die vergebenen Adressen (1, ...,N) des vorbestimmten Adressraums jeweils mit einer zugehörigen Kennung im Master (12) abgelegt sind.Method according to Claim 1, characterized in that the addresses assigned ( 1 , ..., N) of the predetermined address space, each with an associated identifier in the master ( 12 ) are stored. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass in jedem Teilnehmer des Systems die belegten Adressen (1, ...,N) abgelegt sind.Method according to claim 1 or 2, characterized in that in each participant of the system the assigned addresses ( 1 , ..., N) are stored. Verfahren nach einem der vorgenannten Ansprüche, dadurch gekennzeichnet, dass die Kennung eines Teilnehmers (2, ..., 10) optisch erfolgt.Method according to one of the preceding claims, characterized in that the identifier of a subscriber ( 2 , ..., 10 ) optically. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass die Kennung eines Teilnehmers (2, ...,10) des Systems ein Ortskennzeichen eines systemweiten Koordinatensystems ist.Method according to one of Claims 1 to 3, characterized in that the identifier of a subscriber ( 2 , ..., 10 ) of the system is a location identifier of a system-wide coordinate system. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass die Kennung eines Teilnehmers (2, ...,10) des Systems eine Seriennummer ist.Method according to one of Claims 1 to 3, characterized in that the identifier of a subscriber ( 2 , ..., 10 ) of the system is a serial number. Verfahren nach einem der vorgenannten Ansprüche, dadurch gekennzeichnet, dass das System ein drahtloses Kommunikationssystem ist.Method according to one of the preceding claims, characterized characterized in that the system is a wireless communication system is. Verfahren nach einem der Ansprüche 1 bis 6, dadurch gekennzeichnet, dass das System ein Bussystem ist.Method according to one of claims 1 to 6, characterized that the system is a bus system. Verfahren nach Anspruch 3, dadurch gekennzeichnet, dass die abgelegten belegten Adressen (1, ...,N) nach Abschluss der Autoadressierung gelöscht werden.Method according to Claim 3, characterized in that the stored assigned addresses ( 1 , ..., N) are deleted after completion of the auto-addressing. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass für die optische Kennung eine Leuchtdiode (16) vorgesehen ist.A method according to claim 4, characterized in that for the optical identifier a light emitting diode ( 16 ) is provided. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass für die optische Kennung ein Symbol in einem Display des Teilnehmers (2, ...,10) angezeigt wird.A method according to claim 4, characterized in that for the optical identifier, a symbol in a display of the subscriber ( 2 , ..., 10 ) is shown. Verfahren nach einem der vorgenannten Ansprüche, dadurch gekennzeichnet, dass der Adressraum größer ist als die Anzahl der Teilnehmer.Method according to one of the preceding claims, characterized characterized in that the address space is greater than the number of Attendees.
DE200410039447 2004-08-13 2004-08-13 Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken Ceased DE102004039447A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE200410039447 DE102004039447A1 (en) 2004-08-13 2004-08-13 Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE200410039447 DE102004039447A1 (en) 2004-08-13 2004-08-13 Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken

Publications (1)

Publication Number Publication Date
DE102004039447A1 true DE102004039447A1 (en) 2005-12-15

Family

ID=35404502

Family Applications (1)

Application Number Title Priority Date Filing Date
DE200410039447 Ceased DE102004039447A1 (en) 2004-08-13 2004-08-13 Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken

Country Status (1)

Country Link
DE (1) DE102004039447A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005047378A1 (en) * 2005-09-27 2007-03-29 E.G.O. Elektro-Gerätebau GmbH Identification signal allocating method, involves radiating wirelessly transmitted signals using transmitter, receiving signals by bus subscribers of data bus, and assigning identification signal to subscribers based on received signals
EP2503763A1 (en) 2011-03-18 2012-09-26 ebm-papst Mulfingen GmbH & Co. KG Method for allocating network addresses for ventilators
DE102012022299A1 (en) * 2012-11-14 2014-05-15 Bürkert Werke GmbH BUS system, method for operating a BUS system and fluidic system with a BUS system
DE202016104114U1 (en) 2015-08-14 2016-08-09 Ebm-Papst Mulfingen Gmbh & Co. Kg Network configuration for assigning network addresses to fans in a network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0265575A1 (en) * 1986-10-30 1988-05-04 International Business Machines Corporation Data processing system having automatic address allocation arrangements for addressing interface cards
DE4308568A1 (en) * 1993-03-18 1994-09-22 Telefunken Microelectron Method for operating a data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0265575A1 (en) * 1986-10-30 1988-05-04 International Business Machines Corporation Data processing system having automatic address allocation arrangements for addressing interface cards
DE4308568A1 (en) * 1993-03-18 1994-09-22 Telefunken Microelectron Method for operating a data processing system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005047378A1 (en) * 2005-09-27 2007-03-29 E.G.O. Elektro-Gerätebau GmbH Identification signal allocating method, involves radiating wirelessly transmitted signals using transmitter, receiving signals by bus subscribers of data bus, and assigning identification signal to subscribers based on received signals
EP2503763A1 (en) 2011-03-18 2012-09-26 ebm-papst Mulfingen GmbH & Co. KG Method for allocating network addresses for ventilators
US9065858B2 (en) 2011-03-18 2015-06-23 cbm-papst Mulfingen GmbH & Co. KG Method for assigning network addresses for fans
DE102012022299A1 (en) * 2012-11-14 2014-05-15 Bürkert Werke GmbH BUS system, method for operating a BUS system and fluidic system with a BUS system
US20140189131A1 (en) * 2012-11-14 2014-07-03 Buerkert Werke Gmbh BUS-System, Verfahren zum Betrieb eines BUS-Systems und fluidisches System mit einem BUS-System
US10230657B2 (en) 2012-11-14 2019-03-12 Buerkert Werke Gmbh BUS system, method of operating a BUS system, and fluidic system with a BUS system
DE202016104114U1 (en) 2015-08-14 2016-08-09 Ebm-Papst Mulfingen Gmbh & Co. Kg Network configuration for assigning network addresses to fans in a network
EP3131270A1 (en) 2015-08-14 2017-02-15 ebm-papst Mulfingen GmbH & Co. KG Network configuration and method for allocating network addresses to ventilator in a network
DE102015113489A1 (en) 2015-08-14 2017-02-16 Ebm-Papst Mulfingen Gmbh & Co. Kg Network configuration and method for assigning network addresses to fans in a network
US10812444B2 (en) 2015-08-14 2020-10-20 Ebm-Papst Mulfingen Gmbh & Co. Kg Network configuration and method for assigning of network addresses to fans in a network

Similar Documents

Publication Publication Date Title
EP2503763B1 (en) Method for allocating network addresses for ventilators
DE3424866C2 (en) Method and arrangement for the transmission of data, in particular in an aircraft
DE19713240C2 (en) Procedure for automatic address assignment in a CAN network
DE102005004265B4 (en) Method and device for assigning network subscriber device addresses in Profinet-IO network
DE10040438A1 (en) Address assignment procedure for at least one new bus device connected to a bus system
EP2287689A1 (en) Apparatus and method for addressing a slave unit
EP2266297B1 (en) Automatic bus address assignment using collision testing
DE19721740B4 (en) Control method for media access on a serial bus
EP3955529A1 (en) Unit for a bus system, master / slave bus system with a plurality of units and method for addressing units of a bus system
EP2733910B1 (en) BUS system, method for operating a BUS system and fluid system with a BUS system
EP3242466A1 (en) Method for configuring communication devices of an industrial automation system and configuration data distributor unit
DE102014003066B4 (en) Method for semi-automatic address determination for bus participants of a mixed star / serial lighting network for use in vehicles
EP1199846A1 (en) Method for automaticallly configuring a device in a filed bus system
EP3298730B1 (en) Bus system and method for assigning addresses of bus components of a bus system
EP0290894B1 (en) Method for distributing the actual address tables in "n" ring networks
DE102008004798A1 (en) User configuring arrangement for use in bus linked system of industrial switchgear, has module requested by master to begin configuration process, included in bus, where module provides information about configuration of users in bus
DE102004007233B3 (en) Automation component installation method for automation system using server of automation system for supplying automation component to be installed with commuication address
DE102004039447A1 (en) Automatic address allocation to subscribers of system, by storing identifier of corresponding subscriber in master, and marking allocated addresses as taken
EP3035600B1 (en) Method for diagnosing the accessibility of network participants, network participants and IP-based network
EP1642207B1 (en) Allocation of station addresses to communication users in a bus system
WO2016037932A1 (en) Communication device, communication system and method for the synchronised sending of messages
WO2005107173A1 (en) Device for allocating addresses in a standardized field bus system
DE102017117225B3 (en) Communication system with bus and coding line
EP2232782B1 (en) Method for the configuration of addresses in a communication network
DE102015214133A1 (en) Integrated circuit for operating on a bus and method for operating the integrated circuit

Legal Events

Date Code Title Description
OAV Applicant agreed to the publication of the unexamined application as to paragraph 31 lit. 2 z1
OP8 Request for examination as to paragraph 44 patent law
8131 Rejection