EP4264889A1 - Method for address configuration for a master-slave system - Google Patents

Method for address configuration for a master-slave system

Info

Publication number
EP4264889A1
EP4264889A1 EP21831011.8A EP21831011A EP4264889A1 EP 4264889 A1 EP4264889 A1 EP 4264889A1 EP 21831011 A EP21831011 A EP 21831011A EP 4264889 A1 EP4264889 A1 EP 4264889A1
Authority
EP
European Patent Office
Prior art keywords
address
fieldbus
new slave
unit
slave unit
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
EP21831011.8A
Other languages
German (de)
French (fr)
Inventor
Norbert STRACK
Jürgen Eggeling
Reiner WITTENHORST
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.)
Beko Technologies GmbH
Original Assignee
Beko Technologies GmbH
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 Beko Technologies GmbH filed Critical Beko Technologies GmbH
Publication of EP4264889A1 publication Critical patent/EP4264889A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • 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/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/4026Bus for use in automation systems
    • 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/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • 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/695Types of network addresses using masks or ranges of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the invention relates to a method for address configuration for a master/slave system via a fieldbus with the features of the preamble of claim 1, a method for address configuration for a master/slave system via a fieldbus with the features of the preamble of claim 14, a Master unit for a master/slave system having the features of the preamble of claim 15 and a master/slave system with a fieldbus for serial data transmission having the features of the preamble of claim 16.
  • field bus systems are known from the prior art, with which different sensors or also actuators can be connected to control or data logger units.
  • Such fieldbus systems usually have a comparatively low bandwidth and a comparatively simple data transmission protocol. This allows less complex electronic devices to be used for communication on the fieldbus, which in turn allows such devices to be provided at low cost. In this way, a large number of simple and therefore inexpensive sensors or actuators can also be connected to the fieldbus in a cost-effective manner.
  • field bus systems are often characterized by being particularly robust and reliable when it comes to data transmission.
  • MODBUS field bus system known from the prior art
  • MODBUS is defined in different variants both on the physical level and on higher levels.
  • Information on MODBUS from the prior art can be found in particular in the document "MODBUS over Serial Line Specification and Implementation Guide VI.02" which can be accessed from the website modbus.org. The invention is based on this document as being most obvious.
  • a master unit with a large number of slave units is provided.
  • each slave unit should be assigned a unique number and thus an address, with which address the slave unit is then addressed by the master unit for data transmission can.
  • the problem with such fieldbuses based on the master/slave principle is that the operator of the respective fieldbus himself must ensure that these unique addresses of the slave units are managed. So he not only has to organizationally allocate and manage the appropriate addresses, but also ensure that each slave unit has its correct address programmed. The process of programming the address is not only often different for each slave unit, but can also be complex.
  • US Pat. No. 8,190,697 B2 from the prior art describes a method for dynamic address allocation in a fieldbus based on the master/slave approach according to MODBUS.
  • the method specifically provides that slave units can be put into a pseudo-master mode in which they can, as it were, independently and thus without a request from the master, send a message to the master. In this way, slave units can "report" dynamically via the fieldbus to the master, which can be informed in this way about new slave units on the fieldbus.
  • the object of the invention is therefore to enable the process of dynamically allocating addresses to slave units in a manner which is more closely based on the existing fieldbus protocol.
  • the object is achieved by the features of the characterizing part of claim 1.
  • the object is achieved by the features of the characterizing part of claim 14.
  • the object is solved by the features of the characterizing part of claim 15.
  • the object is achieved by the features of the characterizing part of claim 16.
  • dynamic address assignment can be implemented by dividing the address area for the slave units into at least two areas. Specifically, newly connected slave units are initially either assigned a random or pseudo-random address in the first area or programmed into them in some other way, which first area can be referred to as the dynamic area. This dynamic range is sequentially polled by the master unit. If exactly one slave unit is found at an address in the dynamic range, it is assigned a new address in the second range and this is noted. Since this address is valid until further notice after an address from this area has been assigned, this area can also be referred to as a static area. In this way it becomes possible to connect slave units to a fieldbus during its operation and to configure them.
  • the proposed method of a first aspect of the invention is used for address configuration for a master/slave system via a fieldbus for serial data transmission, with a master unit being connected to the fieldbus.
  • the fieldbus can also have other lines, such as a line for a supply voltage and a ground line.
  • the field bus provides serial data transmission via a two-pole data line.
  • the line for the supply voltage preferably provides a voltage of at least 20 volts, in particular essentially 24 volts.
  • the data transmission as such preferably takes place via exactly two poles or wires.
  • the master unit can basically be any device that at least temporarily assumes the role of the master in communication via the fieldbus.
  • the fieldbus has a physical interface in accordance with EIA-485.
  • EIA-485 is also referred to as RS-485.
  • the fieldbus has a supply line for providing a supply voltage, which supply voltage is preferably essentially 24 V. It is also preferred that the fieldbus has a ground line and/or a shield.
  • the proposed method of the first aspect of the invention is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range.
  • the number range for addresses can be encoded by 8 bits.
  • the dynamic range and the static range are disjunctive to each other. This means that each address can belong exclusively to either the dynamic area or the static area.
  • the static area and the dynamic area do not have to be closed areas.
  • the dynamic range consists of even addresses and the static range consists of odd addresses.
  • the static area and the dynamic area each form a closed address area. In other words, there is no address in the dynamic range between two addresses in the static range and vice versa.
  • the static range and the dynamic range can have any size. However, it is preferred that the static range is larger than the dynamic range and in particular that the static range is at least three times as large as the dynamic range. In other words, the static area then has at least three times as many addresses as the dynamic area.
  • the dynamic range consists of exactly one address. This address can then be referred to as a fixed initial address. It may be that both the static range and the dynamic range are fixed. However, it is also possible that both the static range and the dynamic range are fundamentally changeable.
  • the proposed method of the first aspect of the invention is further characterized in that at least one new slave unit is connected to the fieldbus, that the at least one new slave unit is programmed with a respective initial fieldbus address from the dynamic range , via which initial fieldbus address the at least one new slave unit can be addressed and that the master unit queries the dynamic range of the addresses of slave units.
  • the at least one new slave unit means those slave units for which an address configuration is carried out as described.
  • the at least one new slave unit can be programmed with a respective initial fieldbus address from the dynamic range in any desired manner.
  • This state can therefore be brought about both by programming from the outside—that is to say from outside the new slave unit—and by a process which takes place purely within the new slave unit.
  • Such programming can also have already taken place during the manufacture of the new slave unit.
  • further slave units can be connected to the fieldbus for which the address configuration described here is not carried out. These other slave units can then simply keep the address that is assigned to them. It may be the case that the further slave units which are connected to the fieldbus and for which the address configuration described here is not carried out are assigned an address which is in a particular predefined legacy system range of addresses.
  • This legacy range of addresses is disjunctive to the static range and dynamic range. In other words, each address can belong to at most one domain from the group consisting of static domain, dynamic domain and legacy domain.
  • the legacy system area is preferably known to the master unit.
  • the master unit can also know the addresses of the other slave units for which the address configuration described here is carried out and which are located in the legacy system area.
  • these addresses can be manually programmed into the master unit.
  • these addresses can also be communicated to the master unit in other ways.
  • the dynamic range can be queried by the master unit as often as required. It is not necessary for the dynamic range to be fully interrogated. In this respect, it may be that the dynamic range is queried once. It can also be the case that the dynamic range is queried at irregular intervals or for an external event. It is preferred that the dynamic range is queried cyclically or periodically. In particular, the dynamic range can be queried with an interval or a period which is between 1 second and 5 minutes, preferably between 10 seconds and 3 minutes and in particular between 30 seconds and 2 minutes.
  • the proposed method of the first aspect of the invention is further characterized in that the master unit receives a respective response message from the at least one new slave unit to the query, that the master unit selects a desired fieldbus address from the static area to the at least one new slave unit so that the at least one new slave unit is programmed with the target fieldbus address instead of the initial fieldbus address and so that the at least one new slave unit has the target fieldbus address can be addressed.
  • the response message is received following the query already mentioned.
  • Querying the dynamic range can also include reading out the at least one new slave unit at the addresses in the dynamic range.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that querying the dynamic range includes sending a respective query message for each address in the dynamic range, with the respective query message being addressed to a single address in the dynamic range.
  • the query message can also be a read message or a read command.
  • the target fieldbus address from the statics area can be of any origin. It is preferred that the master unit determines the target fieldbus address. In particular, this determination can be based on the response message.
  • the response message includes device identification data.
  • the device identification data may include device type information for specifying a device type of the respective new slave unit.
  • the interrogation of the device identification data has the advantage that the length of the device identification data increases the probability of a collision if more than one new slave unit is assigned the same address in the dynamic range.
  • the query message is the "Read Device Identification" message, preferably according to the MODBUS protocol.
  • the master unit sends a message to read out the device identification data to the respective new slave unit, whereby this message can be understood as a query message or as a read command, whereupon this new slave unit sends a message with the desired device identification data to the Master unit sends, which in turn receives this message.
  • this message In the context of MODBUS, for example, it is a "request” and an associated "reply”.
  • the target fieldbus address can basically be any address from the statics area. Basically, the above determination of the target fieldbus address can also take place arbitrarily on the basis of the device identification data. On the one hand, it is conceivable that the target fieldbus address is determined using a table from the response message or the device identification data, that is to say that a target fieldbus address is assigned in particular to some or even all possible device identification data. On the other hand, it is also possible that, in addition to the device identification data, other data, which may also be determined randomly or pseudo-randomly, are included in the determination of the target fieldbus address. Programming the target fieldbus address means nothing other than that the new slave unit then uses this target fieldbus address as the new address for addressing via the fieldbus.
  • the dynamic range can be queried by the master unit in any order, and in particular also in a random or pseudo-random order.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the master unit interrogates the dynamic range of the addresses of slave units by successively interrogating a series of addresses, preferably in ascending or descending order.
  • the address queried in each case is either always higher or always lower than the previously queried address, with a jump forward or backward of course starting at a specific address.
  • it may be a continuous series of addresses. This means that the series of addresses queried is complete.
  • any further communication can take place between the master unit and the at least one new slave unit.
  • a further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that before querying the dynamic range, the master unit broadcasts a configuration command by which the at least one new slave unit is placed in a configuration mode.
  • a respective random address from the dynamic range is preferably programmed into the new slave units in the configuration mode as the initial fieldbus address.
  • This random address can in particular be an address which was determined pseudo-randomly.
  • the random address may be generated by the new slave unit itself. The same applies to programming the random address as stated above for programming the initial fieldbus address.
  • the programming of the random address can be a process that takes place purely within the new slave unit.
  • the configuration command therefore preferably results in the at least one new slave unit being placed in the configuration mode and thus in a state in which the target fieldbus address can be programmed.
  • the configuration command itself can result in the initial fieldbus address being determined or programmed in as the address of the new slave unit.
  • the respective initial fieldbus address is programmed or determined as an address in response to a further command in addition to the configuration command, which further command is sent out after the configuration command.
  • Sending out the configuration command in a broadcast means that not exactly one new slave unit is addressed by the configuration command, but rather a large number be addressed equally by new slave units or even all new slave units.
  • the initial fieldbus address can be determined either randomly or pseudo-randomly and is a random address in both cases.
  • the master unit broadcasts an unlocking command, which programs the at least one new slave unit to, upon receipt of the configuration command, to be put into configuration mode.
  • Sending the unlocking command in the broadcast means that not exactly one new slave unit is addressed by the unlocking command, but rather that a large number of new slave units or even all new slave units are addressed by the unlocking command.
  • the unlocking command and, if applicable, the configuration command are therefore preparatory measures before the dynamic range is queried.
  • the master unit transmits a locking command to the at least one new slave unit after the transmission of the desired fieldbus address unit is programmed to ignore the configuration command.
  • the at least one new slave unit which was previously unlocked and which has received and accepted the target fieldbus address from the statics area, is locked again.
  • This allows the configuration command to be broadcast again without reassigning a dynamic domain address to those new slave units that have already been assigned a static domain address.
  • This also allows, in the event of collisions, to broadcast the configuration command again while leaving the already configured new slave units configured.
  • the response message and the device identification data can include any additional information.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the response message or the device identification data manufacturer information to indicate a manufacturer of the respective new slave unit, a serial number of the respective new slave unit, a software version number to indicate a Version of software on the respective new-slave unit, production data specifying information about the production of the respective new-slave unit and/or specification data for specifying the respective new-slave unit.
  • a further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that a large number of new slave units are connected to the fieldbus, each new slave unit in the large number of new slave units has a respective initial Fieldbus address is programmed, via which respective initial fieldbus address the respective new slave unit can be addressed and that the master unit receives the respective response message from at least one new slave unit of the plurality of new slave units receives. In this way, the address configuration for several newly connected new slave units can be carried out at the same time.
  • the master unit when the master unit receives the respective response message from exactly one new slave unit of the plurality of new slave units, the master unit sends to exactly one new -slave unit transmits the target fieldbus address, with exactly one new slave unit being programmed with the target fieldbus address instead of the initial fieldbus address, so that the new slave unit has the target fieldbus address is accessible.
  • the queried initial fieldbus address is programmed into only one new slave unit, so that only the one new slave unit responds to the query. It is also preferred that after the transmission of the desired fieldbus address to exactly one new slave unit, the master unit requests a next address in the dynamic range.
  • the response can be in different ways.
  • the master unit when the master unit responds to a query for an address from the dynamic range, the respective response message from more than one new slave unit of the plurality of new slaves units, the master unit requests a next address from the dynamic range. An address in the dynamic area is then first searched for, for which only one new slave unit responds to the query, so that it can be provided with an address in the static area accordingly.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that when the master unit responds to a query for an address from the dynamic range with the respective response message from more than one new slave unit of the plurality of new slave Receives units, the master unit puts more than one new slave unit into a configuration mode, so that a respective random address from the dynamic range is programmed as the initial fieldbus address of the respective more than one new slave unit .
  • the more than one new slave unit is placed in configuration mode by the master unit broadcasting the configuration command.
  • the aim here is that through the new allocation of random addresses - which can also be pseudo-random - those new slave units which previously had a common initial fieldbus address now have different initial fieldbus addresses, so that also no more collision occurs. This approach can be repeated until all slave units with an address in the dynamic domain have been assigned a respective unique address in the static domain.
  • a further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the receipt of the respective response message from more than one new Slave unit of the plurality of new slave units is determined by the master unit based on a respective test value of the respective response message. In other words, there are errors in the check value of the response messages, from which the collision can be inferred. It is preferred that the respective test value was generated by a cyclic redundancy test.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that based on the response message, preferably based on the device identification data, an additional information record is determined from a device database and the new slave unit is programmed based on the additional information record. Basically, this additional information record can serve any purpose. It is preferred that a measurement range and/or measurement units and/or a measurement resolution and/or a calibration cycle of the new slave unit is programmed based on the additional information set. In this way it can be ensured that values measured by the new slave unit are not jeopardized by faulty measuring ranges or by a calibration cycle that deviates from the specifications.
  • user data may be entered by a user and the new slave unit programmed based on the user data. It may be the case here that before the user data is entered, at least part of the response message, preferably the device identification data, has been presented to the user. In this way, the data from the new slave unit can be reacted to by the user's input, ie by providing the user data which is appropriate from the user's point of view for this particular new slave unit.
  • a preferred embodiment of the proposed method of the first aspect of the invention is characterized in that at least a subset of the at least one new slave unit is electrically supplied for operation via the supply line of the fieldbus. In this way, a fieldbus separate line for the electrical supply for this at least one new slave unit is unnecessary.
  • the proposed method of a second aspect of the invention is used for address configuration for a master/slave via a fieldbus for serial data transmission, with a master unit being connected to the fieldbus.
  • the proposed method of the second aspect of the invention is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range, that a new slave unit is connected to the fieldbus that the new slave unit is programmed with a respective initial fieldbus address from the dynamic range, via which initial fieldbus address the new slave unit can be addressed in each case, that the new slave unit responds to a query the master unit transmits a response message to the master unit that the new slave unit receives a target fieldbus address from the statics area from the master unit and that the new slave unit receives the target fieldbus address address is programmed instead of the initial fieldbus address so that the new slave unit can be addressed via the target fieldbus address.
  • the proposed master unit is for a master/slave system, which master/slave system uses a field bus for serial data transmission, the master unit being connectable to the field bus.
  • the proposed master unit is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range, that the master unit is set up to use the dynamic range of the addresses to query slave units, that the master unit is set up to receive a respective response message from the at least one new slave unit in response to the query, that the master unit is set up to select a target fieldbus address from the To transmit statics area to the at least one new slave unit, so that the at least one new slave unit is programmed with the desired fieldbus address instead of the initial fieldbus address and so that the at least one new slave Unit can be addressed via the target fieldbus address.
  • the proposed master/slave system has a fieldbus for serial data transmission.
  • the proposed master/slave system is characterized in that the master/slave system has a proposed master unit, which master unit is connected to the fieldbus.
  • the proposed master/slave system is further characterized in that the master/slave system has a new slave unit connected to the fieldbus, that the new slave unit has a respective initial fieldbus address from the dynamic range the initial fieldbus address via which the new slave unit can be addressed is programmed, that the new slave unit is set up to transmit a response message to the master unit in response to a query from the master unit, that the new slave unit is arranged to receive a target fieldbus address from the statics area from the master unit and that the new slave unit is arranged to receive the target fieldbus address instead of the Initial fieldbus address is programmed so that the new slave unit can be addressed via the target fieldbus address.
  • Preferred refinements, features and properties of the proposed method of the first aspect of the invention correspond to those of the proposed method of the second aspect of the invention, the proposed master unit and/or the proposed master/slave system. This also applies vice versa in each case.
  • FIG. 1 shows a schematic view of an exemplary embodiment of a proposed master/slave system with a proposed master unit for executing the proposed method in a first state
  • FIG. 2 shows the embodiment of FIG. 1 in a second state after the first state
  • 3 shows the embodiment of FIG. 1 in a third state after the second state
  • FIG. 4 shows the embodiment of FIG. 1 in a fourth state after the third state
  • Fig. 5 shows the embodiment of FIG. 1 in a fifth state after the fourth state
  • FIG. 6 shows the embodiment of FIG. 1 in a sixth state after the fifth state.
  • a master unit 1 and a total of six new slave units 2a-f are connected to a fieldbus 3, which corresponds to the MODBUS standard.
  • the physical interface of the fieldbus conforms to EIA-485, also known as R.S-485.
  • the new slave units 2a-f are each different types of industrial sensors.
  • the master unit 1 first sent an unlocking command 5 and then a configuration command 6 in a broadcast, so that all new slave units 2a-f received both commands.
  • the unlocking command 5 serves to "unlock" the receiving new slave units 2a-f in the sense that they react to the configuration command 6 at all, by being put into a configuration mode on the configuration command 6. Without one before received unlocking command 5, the new slave units 2a-f ignore the configuration command 6.
  • the configuration command 6 assigns a respective pseudo-randomly generated initial fieldbus address 4a-f to the previously unlocked new slave units 2a-f—in this case all new slave units 2a-f programmed in the dynamic range, which corresponds to the slave address for communication via fieldbus 3.
  • the dynamic range includes the values from 201 to 246 and the static range the values 31 to 200.
  • the addresses of both the dynamic range and the static range can be identified via one byte - i.e. 8 bits - can be encoded.
  • the first initial fieldbus address 4a of the first new slave unit 2a has the value 246, the second initial fieldbus address 4a of the second new slave unit 2b has the value 224, the third initial fieldbus address 4c of the third new slave unit 2c has the value 238, the fourth initial fieldbus address 4d of the fourth new slave unit 2d has the value 231, the fifth initial fieldbus address 4e of the fifth new slave unit 2e has the value 214 and the sixth initial fieldbus address 4f of the sixth new slave unit 2f also has the value 231.
  • the fourth new slave unit 2d and the sixth new slave unit 2f therefore each have an identical address Initial fieldbus address 4d, f.
  • the master unit 1 sends a readout command for reading out the device identification data, for which a first readout command 7a is shown here as an example, to the corresponding address, i.e. one readout command 7 to addresses 201 to 213 in succession. Since none of the If the new slave units 2a-f connected to the fieldbus 3 have an initial fieldbus address 4a-f in this range, there is also no reaction in the form of an answer by one of the new slave units 2a-f.
  • the master unit 1 interrogates the address 214 in the dynamic range by sending a second read command 7b to precisely this address.
  • the fifth new slave unit 2e responds to this by transmitting first device identification data 8a in a response message to the master unit 1, which consequently receives it.
  • this first device identification data 8a includes an indication of the manufacturer of the new slave unit 2e, a serial number of the new slave unit 2e and a Software version number of the software running on the new slave unit 2e.
  • the master unit 1 uses the first device identification data 8a and a table stored in the data memory of the master unit 1 to determine a target fieldbus address 9 from the statics area, with here this target fieldbus address 9 has the value 50.
  • This desired fieldbus address 9 is transmitted to the fifth new slave unit 2e by an address setting message 11 and programmed into the fifth new slave unit 2e, so that the desired fieldbus address 9 is used as the new address of the fifth new slave Unit 2e functions.
  • the master unit 1 then transmits a locking command 10 to the fifth new slave unit 2e.
  • the consequence of this is that the fifth new slave unit 2e leaves the configuration mode and ignores future configuration commands 6 until it receives a further unlocking command 5. In this way, the desired fieldbus address 9 of the fifth new slave unit remains Unit 2e programmed.
  • the master unit 1 in the dynamic range continues to interrogate addresses 215 to 230 as already described for addresses 201 to 246, with no responses to these interrogations being received since none of the new slave units 2a-f is assigned an address in this range.
  • the corresponding readout commands are not shown here.
  • the master unit 1 In the state of FIG. 5, the master unit 1 in turn queries the address 231 in the dynamic range by sending a third read command 7c to precisely this address. However, since both the fourth new slave unit 2d and the sixth new slave unit 2f have this address as the respective initial fieldbus address 4d, f, these two new slave units 2d, f both respond with respective device identification data 8b, c in a respective response message. The master unit 1 now recognizes either by receiving these two response messages or by a collision and thus an error when receiving these two response messages, which is caused by the simultaneous response of the two new slave units 2d, f that two new slave -Units 2d, f the address 231 is assigned as the respective initial fieldbus address 4d, f.
  • the master unit in the state of FIG. 6 again sends out a configuration command 6 in the broadcast.
  • this configuration command 6 with the exception of the fifth new slave unit 2e, which has received the locking command 10, all new slave units 2a-d, f are given a new pseudo-randomly generated initial fieldbus address from the dynamic programmed area.
  • the procedure is then as described above for the processes after the first configuration command 6 has been sent. Since the fifth new slave unit 2e has already received a desired fieldbus address 9 in the static area and does not have to be configured further, the risk of collisions occurring again in the dynamic area is also lower during this run.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a method for address configuration for a master-slave system by means of a field bus (3) for serial data transmission, wherein a master unit (1) is connected to the field bus (3). The method is characterized in that a number range for addresses of slave units on the field bus (3) is divided into a static range and a dynamic range; in that at least one new slave unit (2a-f) is connected to the field bus (3); in that, into each of the at least one new slave units (2a-f), an initial field bus address (4a-f) from the dynamic range is programmed, by means of which initial field bus address (4a-f) the at least one new slave unit (2a-f) in question can be addressed; in that the master unit (1) queries the dynamic range of the addresses of slave units; in that the master unit (1) receives a reply message from each of the at least one new slave units (2a-f) in response to the query; in that the master unit (1) transmits a desired field bus address (9) from the static range to the at least one new slave unit (2a-f) so that the desired field bus address (9) is programmed into the at least one new slave unit (2a-f) in place of the initial field bus address (4a-f) and so that the at least one new slave unit (2a-f) can be addressed by means of the desired field bus address (9). The invention also relates to an additional method for address configuration for a master-slave system by means of a field bus, to a master unit for a master-slave system and to a master-slave system having a field bus.

Description

Verfahren zur Adresskonfiguration für ein Master/Slave-System Procedure for address configuration for a master/slave system
Die Erfindung betrifft ein Verfahren zur Adresskonfiguration für ein Master/Slave- System über einen Feldbus mit den Merkmalen des Oberbegriffs von Anspruch 1, ein Verfahren zur Adresskonfiguration für ein Master/Slave-System über einen Feldbus mit den Merkmalen des Oberbegriffs von Anspruch 14, eine Master-Einheit für ein Master/Slave-System mit den Merkmalen des Oberbegriffs von Anspruch 15 sowie ein Master/Slave-System mit einem Feldbus zur seriellen Datenübertragung mit den Merkmalen des Oberbegriffs von Anspruch 16. The invention relates to a method for address configuration for a master/slave system via a fieldbus with the features of the preamble of claim 1, a method for address configuration for a master/slave system via a fieldbus with the features of the preamble of claim 14, a Master unit for a master/slave system having the features of the preamble of claim 15 and a master/slave system with a fieldbus for serial data transmission having the features of the preamble of claim 16.
Aus dem Stand der Technik sind verschiedene Feldbussysteme bekannt mit denen unterschiedliche Sensoren oder auch Aktoren mit Steuer- oder Datenloggereinheiten verbunden werden können. Derartige Feldbussysteme weisen in der Regel eine vergleichsweise niedrige Bandbreite sowie ein vergleichsweise simples Datenübertragungsprotokoll auf. Dies ermöglicht es, weniger komplexe elektronische Vorrichtungen zur Kommunikation auf dem Feldbus zu verwenden, was wiederum die Bereitstellung solcher Vorrichtungen zu niedrigen Kosten ermöglicht. Auf diese Weise kann also eine Vielzahl auch einfacher und damit kostengünstiger Sensoren oder Aktoren auf wiederum kostengünstige Weise mit dem Feldbus verbunden werden. Ferner sind Feldbussystem häufig durch besondere Robustheit sowie Zuverlässigkeit bei der Datenübertragung gekennzeichnet. Various field bus systems are known from the prior art, with which different sensors or also actuators can be connected to control or data logger units. Such fieldbus systems usually have a comparatively low bandwidth and a comparatively simple data transmission protocol. This allows less complex electronic devices to be used for communication on the fieldbus, which in turn allows such devices to be provided at low cost. In this way, a large number of simple and therefore inexpensive sensors or actuators can also be connected to the fieldbus in a cost-effective manner. Furthermore, field bus systems are often characterized by being particularly robust and reliable when it comes to data transmission.
Ein aus dem Stand der Technik bekanntes Feldbussystem ist der MODBUS, welcher sowohl auf physikalischer Ebene als auch höheren Ebenen in verschiedenen Varianten definiert ist. Informationen zum MODBUS aus dem Stand der Technik finden sich insbesondere in dem Dokument „MODBUS over Serial Line Specification and Implementation Guide VI.02" welches von der Internetseite modbus.org abgerufen werden kann. Die Erfindung geht von diesem Dokument als nächstliegend aus. A field bus system known from the prior art is the MODBUS, which is defined in different variants both on the physical level and on higher levels. Information on MODBUS from the prior art can be found in particular in the document "MODBUS over Serial Line Specification and Implementation Guide VI.02" which can be accessed from the website modbus.org. The invention is based on this document as being most obvious.
Bei einem Feldbus gemäß MODBUS sind eine Master-Einheit mit einer Vielzahl von Slave-Einheiten vorgesehen. Innerhalb des vorgeschriebenen Adressraums, welcher durch 1 Byte und damit insgesamt 8 Bit dargestellt werden kann, soll jeder Slave-Einheit eine eindeutige Zahl und damit Adresse zugewiesen sein, durch welche Adresse die Slave-Einheit dann durch die Master-Einheit für eine Datenübertragung adressiert werden kann. Problematisch bei derartigen Feldbussen nach dem Master/Slave-Prinzip ist jedoch, dass der Betreiber des jeweiligen Feldbusses selbst dafür sorgen muss, diese eindeutigen Adressen der Slave-Einheiten zu verwalten. Er muss also nicht nur die entsprechenden Adressen organisatorisch zuteilen und verwalten, sondern auch dafür sorgen, dass jede Slave-Einheit ihre richtige Adresse einprogrammiert hat. Der Vorgang der Programmierung der Adresse ist dabei für jede Slave-Einheit nicht nur häufig jeweils anders, sondern unter Umständen auch aufwändig. In a field bus based on MODBUS, a master unit with a large number of slave units is provided. Within the prescribed address space, which can be represented by 1 byte and thus a total of 8 bits, each slave unit should be assigned a unique number and thus an address, with which address the slave unit is then addressed by the master unit for data transmission can. The problem with such fieldbuses based on the master/slave principle, however, is that the operator of the respective fieldbus himself must ensure that these unique addresses of the slave units are managed. So he not only has to organizationally allocate and manage the appropriate addresses, but also ensure that each slave unit has its correct address programmed. The process of programming the address is not only often different for each slave unit, but can also be complex.
Die US 8,190,697 B2 aus dem Stand der Technik beschreibt ein Verfahren zur dynamischen Adressvergabe bei einem Feldbus nach dem Master/Slave-Ansatz gemäß MODBUS. Das Verfahren sieht speziell vor, dass Slave-Einheiten in einen Pseudo-Master-Modus versetzt werden können, in welchem sie gleichsam selbständig und damit ohne Aufforderung vom Master eine Nachricht an den Master versenden können. Auf diese Weise können sich Slave-Einheiten dynamisch über den Feldbus bei dem Master „melden", der auf diese Weise über neue Slave-Einheiten am Feldbus unterrichtet werden kann. US Pat. No. 8,190,697 B2 from the prior art describes a method for dynamic address allocation in a fieldbus based on the master/slave approach according to MODBUS. The method specifically provides that slave units can be put into a pseudo-master mode in which they can, as it were, independently and thus without a request from the master, send a message to the master. In this way, slave units can "report" dynamically via the fieldbus to the master, which can be informed in this way about new slave units on the fieldbus.
Nachteilig an diesem Stand der Technik ist, dass bei diesem Ansatz recht drastisch in das Paradigma des Master/Slave-Systems eingegriffen wird. Es muss also Slaves die Möglichkeit gegeben werden, auf eigene Initiative eine Nachricht auszusenden. Ebenso muss der Master in der Lage sein, eine auf diese Art und Weise ausgesandte Nachricht auch zu empfangen und zu verarbeiten. Die Geräte an dem Feldbus müssen also auf eine Art und Weise funktionieren, die dem eigentlichen Prinzip des Feldbusses widerspricht. Das kann insbesondere für Bestandsgeräte ein Problem sein, welche nicht speziell für diesen abweichenden Ansatz programmiert oder umprogrammiert wurden. What is disadvantageous about this prior art is that this approach drastically interferes with the paradigm of the master/slave system. Slaves must therefore be given the opportunity to send out a message on their own initiative. The master must also be able to receive and process a message sent in this way. The devices on the fieldbus must therefore function in a way that contradicts the actual principle of the fieldbus. This can be a particular problem for legacy devices that have not been specifically programmed or reprogrammed for this different approach.
Ausgehend von diesem Stand der Technik besteht die Aufgabe der Erfindung daher darin, den Vorgang der dynamischen Zuteilung von Adressen an Slave-Einheiten auf eine Art und Weise zu ermöglichen, welche sich enger am vorhandenen Feldbusprotokoll orientiert. Proceeding from this prior art, the object of the invention is therefore to enable the process of dynamically allocating addresses to slave units in a manner which is more closely based on the existing fieldbus protocol.
Bezogen auf das Verfahren zur Adresskonfiguration für ein Master/Slave-System über einen Feldbus mit den Merkmalen des Oberbegriffs von Anspruch 1 wird die Aufgabe durch die Merkmale des kennzeichnenden Teils von Anspruch 1 gelöst. Bezogen auf das Verfahren zur Adresskonfiguration für ein Master/Slave-System über einen Feldbus mit den Merkmalen des Oberbegriffs von Anspruch 14 wird die Aufgabe durch die Merkmale des kennzeichnenden Teils von Anspruch 14 gelöst. Bezogen auf die Master-Einheit für ein Master/Slave-System mit den Merkmalen des Oberbegriffs von Anspruch 15 wird die Aufgabe durch die Merkmale des kennzeichnenden Teils von Anspruch 15 gelöst. Bezogen auf ein Master/Slave-System mit einem Feldbus zur seriellen Datenübertragung mit den Merkmalen des Oberbegriffs von Anspruch 16 wird die Aufgabe durch die Merkmale des kennzeichnenden Teils von Anspruch 16 gelöst. In relation to the method for address configuration for a master/slave system via a field bus with the features of the preamble of claim 1, the object is achieved by the features of the characterizing part of claim 1. In relation to the method for address configuration for a master/slave system via a fieldbus with the features of the preamble of claim 14, the object is achieved by the features of the characterizing part of claim 14. Regarding the master unit for a master/slave system with the features of the preamble of claim 15, the object is solved by the features of the characterizing part of claim 15. Based on a master/slave system with a field bus for serial data transmission with the features of the preamble of claim 16, the object is achieved by the features of the characterizing part of claim 16.
Wesentlich für die Erfindung ist die Erkenntnis, dass durch eine Teilung des Adressbereichs für die Slave-Einheiten in mindestens zwei Bereiche eine dynamische Adressvergabe implementiert werden kann. Und zwar wird neu angeschlossenen Slave-Einheiten initial eine zufällige oder pseudo-zufällige Adresse in dem ersten Bereich entweder zugewiesen oder ihnen auf sonstige Weise einprogrammiert, welcher erste Bereich als Dynamik-Bereich bezeichnet werden kann. Dieser Dynamik-Bereich wird durch die Master-Einheit der Reihe nach durch Abfragen untersucht. Wenn an einer Adresse in dem Dynamik-Bereich genau eine Slave-Einheit vorgefunden wird, so wird ihr eine neue Adresse in dem zweiten Bereich zugeordnet und dies vermerkt. Da nach einer Zuordnung einer Adresse aus diesem Bereich diese Adresse bis auf Weiteres gilt, kann dieser Bereich auch als Statik-Bereich bezeichnet werden. Auf diese Weise wird es möglich, Slave-Einheiten an einen Feldbus während seines Betriebs anzuschließen und sie zu konfigurieren. What is essential for the invention is the realization that dynamic address assignment can be implemented by dividing the address area for the slave units into at least two areas. Specifically, newly connected slave units are initially either assigned a random or pseudo-random address in the first area or programmed into them in some other way, which first area can be referred to as the dynamic area. This dynamic range is sequentially polled by the master unit. If exactly one slave unit is found at an address in the dynamic range, it is assigned a new address in the second range and this is noted. Since this address is valid until further notice after an address from this area has been assigned, this area can also be referred to as a static area. In this way it becomes possible to connect slave units to a fieldbus during its operation and to configure them.
Das vorschlagsgemäße Verfahren eines ersten Aspekts der Erfindung dient der Adresskonfiguration für ein Master/Slave-System über einen Feldbus zur seriellen Datenübertragung, wobei eine Master-Einheit an dem Feldbus angeschlossen ist. Dabei kann der Feldbus neben der Datenleitung auch weitere Leitungen aufweisen, so etwa eine Leitung für eine Versorgungsspannung und eine Masseleitung. Bevorzugt ist, dass der Feldbus eine serielle Datenübertragung über eine zweipolige Datenleitung bereitstellt. Vorzugsweise stellt die Leitung für die Versorgungsspannung eine Spannung von mindestens 20 Volt, insbesondere von im Wesentlichen 24 Volt bereit. Jedoch erfolgt die Datenübertragung als solche vorzugsweise über genau zwei Pole bzw. Adern. Bei der Master-Einheit kann es sich um eine im Grund beliebige Vorrichtung handeln, welche zumindest zeitweise die Rolle des Masters bei der Kommunikation über den Feldbus übernimmt. Bevorzugt ist, dass der Feldbus eine physikalische Schnittstelle gemäß EIA-485 aufweist. EIA-485 wird auch als R.S-485 bezeichnet. Bevorzugt ist, dass der Feldbus eine Versorgungsleitung zur Bereitstellung einer Versorgungsspannung aufweist, welche Versorgungsspannung vorzugsweise im Wesentlichen 24 V beträgt. Ebenso ist bevorzugt, dass der Feldbus eine Masseleitung und/oder eine Abschirmung aufweist. The proposed method of a first aspect of the invention is used for address configuration for a master/slave system via a fieldbus for serial data transmission, with a master unit being connected to the fieldbus. In addition to the data line, the fieldbus can also have other lines, such as a line for a supply voltage and a ground line. It is preferred that the field bus provides serial data transmission via a two-pole data line. The line for the supply voltage preferably provides a voltage of at least 20 volts, in particular essentially 24 volts. However, the data transmission as such preferably takes place via exactly two poles or wires. The master unit can basically be any device that at least temporarily assumes the role of the master in communication via the fieldbus. It is preferred that the fieldbus has a physical interface in accordance with EIA-485. EIA-485 is also referred to as RS-485. It is preferred that the fieldbus has a supply line for providing a supply voltage, which supply voltage is preferably essentially 24 V. It is also preferred that the fieldbus has a ground line and/or a shield.
Das vorschlagsgemäße Verfahren des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus in einen Statik-Bereich und in einen Dynamik-Bereich unterteilt ist. Hier ist bevorzugt, dass der Zahlenbereich für Adressen durch 8 Bit codiert werden kann. Damit kann der Zahlenbereich aus bis zu 256 Adressen bestehen. Der Dynamik-Bereich und der Statik-Bereich sind disjunkt zueinander. Das bedeutet, dass jede Adresse ausschließlich entweder zum Dynamik-Bereich oder zum Statik- Bereich gehören kann. Es kann Adressen geben, welche weder zum Dynamik-Bereich noch zum Statik-Bereich gehören, wofür untenstehend ein Beispiel beschrieben wird. Nicht geben kann es Adressen, welche zu beiden gehören. Grundsätzlich muss es sich bei dem Statik-Bereich und dem Dynamik-Bereich nicht um geschlossene Bereiche handeln. So könnte es etwa sein, dass der Dynamik-Bereich aus geraden Adressen und der Statik-Bereich aus ungeraden Adressen besteht. Bevorzugt ist jedoch, dass der Statik-Bereich und der Dynamik-Bereich einen jeweils geschlossenen Adressbereich bilden. Anders ausgedrückt liegt dann zwischen zwei Adressen im Statik-Bereich keine Adresse im Dynamik-Bereich und umgekehrt. The proposed method of the first aspect of the invention is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range. Here it is preferable that the number range for addresses can be encoded by 8 bits. This means that the range of numbers can consist of up to 256 addresses. The dynamic range and the static range are disjunctive to each other. This means that each address can belong exclusively to either the dynamic area or the static area. There may be addresses that do not belong to either the dynamic range or the static range, an example of which is given below. There cannot be addresses that belong to both. In principle, the static area and the dynamic area do not have to be closed areas. For example, it could be that the dynamic range consists of even addresses and the static range consists of odd addresses. However, it is preferred that the static area and the dynamic area each form a closed address area. In other words, there is no address in the dynamic range between two addresses in the static range and vice versa.
Grundsätzlich können der Statik-Bereich und der Dynamik-Bereich eine beliebige Größe aufweisen. Bevorzugt ist jedoch, dass der Statik-Bereich größer ist als der Dynamik-Bereich und insbesondere, dass der Statik-Bereich mindestens dreimal so groß ist wie der Dynamik-Bereich. Anders ausgedrückt weist der Statik-Bereich dann mindestens dreimal so viele Adressen auf wie der Dynamik-Bereich. Eine bevorzugte Variante sieht vor, dass der Dynamik-Bereich aus genau einer Adresse besteht. Diese Adresse kann dann als Fest-Initialadresse bezeichnet werden. Es kann sein, dass sowohl der Statik- Bereich als auch der Dynamik-Bereich jeweils fest vorgegeben ist. Es kann aber auch sein, dass sowohl der Statik-Bereich als auch der Dynamik-Bereich grundsätzlich veränderlich ist. Das vorschlagsgemäße Verfahren des ersten Aspekts der Erfindung ist weiter dadurch gekennzeichnet, dass mindestens eine Neu-Slave-Einheit an den Feldbus angeschlossen wird, dass der mindestens einen Neu-Slave-Einheit eine jeweilige Initial-Feldbus-Adresse aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Adresse die mindestens eine Neu-Slave-Einheit jeweils ansprechbar ist und dass die Master-Einheit den Dynamik-Bereich der Adressen von Slave-Einheiten abfragt. Mit der mindestens einen Neu-Slave-Einheit sind hier und nachfolgend diejenigen Slave-Einheiten gemeint, für welche eine Adresskonfiguration wie beschrieben vorgenommen wird. In principle, the static range and the dynamic range can have any size. However, it is preferred that the static range is larger than the dynamic range and in particular that the static range is at least three times as large as the dynamic range. In other words, the static area then has at least three times as many addresses as the dynamic area. A preferred variant provides that the dynamic range consists of exactly one address. This address can then be referred to as a fixed initial address. It may be that both the static range and the dynamic range are fixed. However, it is also possible that both the static range and the dynamic range are fundamentally changeable. The proposed method of the first aspect of the invention is further characterized in that at least one new slave unit is connected to the fieldbus, that the at least one new slave unit is programmed with a respective initial fieldbus address from the dynamic range , via which initial fieldbus address the at least one new slave unit can be addressed and that the master unit queries the dynamic range of the addresses of slave units. Here and below, the at least one new slave unit means those slave units for which an address configuration is carried out as described.
Dass der mindestens einen Neu-Slave-Einheit eine jeweilige Initial-Feldbus-Ad- resse aus dem Dynamik-Bereich einprogrammiert ist, kann grundsätzlich auf beliebige Art und Weise bewerkstelligt sein. Dieser Zustand kann also sowohl durch ein Einprogrammieren von außen - also von außerhalb der Neu-Slave-Einheit - als auch durch einen Vorgang bewerkstelligt werden, welcher rein innerhalb der Neu- Slave-Einheit stattfindet. Ein solches Einprogrammieren kann auch bereits bei der Herstellung der Neu-Slave-Einheit stattgefunden haben. In principle, the at least one new slave unit can be programmed with a respective initial fieldbus address from the dynamic range in any desired manner. This state can therefore be brought about both by programming from the outside—that is to say from outside the new slave unit—and by a process which takes place purely within the new slave unit. Such programming can also have already taken place during the manufacture of the new slave unit.
Neben der mindestens einen Neu-Slave-Einheit können weitere Slave-Einheiten an den Feldbus angeschlossen sein, für welche die hier beschriebene Adresskonfiguration nicht durchgeführt wird. Diese weiteren Slave-Einheiten können dann etwa einfach diejenige Adresse behalten, welche ihnen jeweils zugewiesen ist. Es kann dabei sein, dass den weiteren Slave-Einheiten, welche an den Feldbus angeschlossen sind und für welche die hier beschriebene Adresskonfiguration nicht durchgeführt wird, eine Adresse zugeordnet ist, welche in einem insbesondere vordefinierten Altsystem-Bereich von Adressen liegt. Dieser Altsystem-Bereich von Adressen ist disjunkt zu dem Statik-Bereich und zu dem Dynamik-Bereich. Anders ausgedrückt kann jede Adresse höchstens zu einem Bereich aus der Gruppe aus Statik- Bereich, Dynamik-Bereich und Altsystem-Bereich gehören. Vorzugsweise ist der Altsystem-Bereich der Master-Einheit bekannt. Ebenso können die Adressen der weiteren Slave-Einheiten, für welche die hier beschriebene Adresskonfiguration durchgeführt wird und welche in dem Altsystem-Bereich liegen, der Master-Einheit bekannt sein. Diese Adressen können der Master-Einheit insbesondere manuell einprogrammiert sein. Diese Adressen können der Master-Einheit aber auch auf anderem Wege mitgeteilt werden. Das Abfragen des Dynamik-Bereichs durch die Master-Einheit kann grundsätzlich beliebig oft erfolgen. Es ist nicht erforderlich, dass der Dynamik-Bereich vollständig abgefragt wird. Insofern kann es sein, dass der Dynamik-Bereich einmalig abgefragt wird. Ebenso kann es sein, dass der Dynamik-Bereich in unregelmäßigen Abständen oder auf ein äußeres Ereignis abgefragt wird. Bevorzugt ist, dass der Dynamik-Bereich zyklisch oder periodisch abgefragt wird. Insbesondere kann es sein, dass der Dynamik-Bereich mit einem Intervall oder einer Periode abgefragt wird, welche zwischen 1 Sekunde und 5 Minuten, vorzugsweise zwischen 10 Sekunden und 3 Minuten und insbesondere zwischen 30 Sekunden und 2 Minuten liegt. In addition to the at least one new slave unit, further slave units can be connected to the fieldbus for which the address configuration described here is not carried out. These other slave units can then simply keep the address that is assigned to them. It may be the case that the further slave units which are connected to the fieldbus and for which the address configuration described here is not carried out are assigned an address which is in a particular predefined legacy system range of addresses. This legacy range of addresses is disjunctive to the static range and dynamic range. In other words, each address can belong to at most one domain from the group consisting of static domain, dynamic domain and legacy domain. The legacy system area is preferably known to the master unit. The master unit can also know the addresses of the other slave units for which the address configuration described here is carried out and which are located in the legacy system area. In particular, these addresses can be manually programmed into the master unit. However, these addresses can also be communicated to the master unit in other ways. In principle, the dynamic range can be queried by the master unit as often as required. It is not necessary for the dynamic range to be fully interrogated. In this respect, it may be that the dynamic range is queried once. It can also be the case that the dynamic range is queried at irregular intervals or for an external event. It is preferred that the dynamic range is queried cyclically or periodically. In particular, the dynamic range can be queried with an interval or a period which is between 1 second and 5 minutes, preferably between 10 seconds and 3 minutes and in particular between 30 seconds and 2 minutes.
Das vorschlagsgemäße Verfahren des ersten Aspekts der Erfindung ist ferner dadurch gekennzeichnet, dass die Master-Einheit auf die Abfrage eine jeweilige Antwortnachricht von der mindestens einen Neu-Slave-Einheit empfängt, dass die Master-Einheit eine Soll-Feldbus-Adresse aus dem Statik-Bereich an die mindestens eine Neu-Slave-Einheit überträgt, sodass der mindestens einen Neu-Slave- Einheit die Soll-Feldbus-Adresse anstelle der Initial-Feldbus-Adresse einprogrammiert wird und sodass die mindestens eine Neu-Slave-Einheit über die Soll- Feldbus-Adresse ansprechbar ist. Der Empfang der Antwortnachricht erfolgt auf das bereits erwähnte Abfragen. Das Abfragen des Dynamik-Bereich kann auch ein Auslesen der mindestens einen Neu-Slave-Einheit an den Adressen des Dynamik-Bereichs umfassen. The proposed method of the first aspect of the invention is further characterized in that the master unit receives a respective response message from the at least one new slave unit to the query, that the master unit selects a desired fieldbus address from the static area to the at least one new slave unit so that the at least one new slave unit is programmed with the target fieldbus address instead of the initial fieldbus address and so that the at least one new slave unit has the target fieldbus address can be addressed. The response message is received following the query already mentioned. Querying the dynamic range can also include reading out the at least one new slave unit at the addresses in the dynamic range.
Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass das Abfragen des Dynamik-Bereichs das Aussenden einer jeweiligen Abfragenachricht je Adresse im Dynamik-Bereich umfasst, wobei die jeweilige Abfragenachricht an eine einzelne Adresse im Dynamik-Bereich adressiert ist. Bei der Abfragenachricht kann es sich auch um eine Auslesenachricht oder um einen Auslesebefehl handeln. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that querying the dynamic range includes sending a respective query message for each address in the dynamic range, with the respective query message being addressed to a single address in the dynamic range. The query message can also be a read message or a read command.
Grundsätzlich kann die Soll-Feldbus-Adresse aus dem Statik- Bereich beliebigen Ursprungs sein. Bevorzugt ist, dass die Master-Einheit die Soll-Feldbus-Adresse bestimmt. Insbesondere kann dieses Bestimmen basierend auf der Antwortnachricht erfolgen. Eine weitere bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass die Antwortnachricht Geräteidentifikationsdaten umfasst. Insbesondere kann es sein, dass die Geräteidentifikationsdaten eine Gerätetypinformation zur Angabe eines Gerätetyps der jeweiligen Neu-Slave-Einheit umfassen. Das Abfragen der Geräteidentifikationsdaten hat den Vorteil, dass durch die Länge der Geräteidentifikationsdaten die Wahrscheinlichkeit einer Kollision erhöht ist in dem Fall, dass mehr als einer Neu- Slave-Einheit die gleiche Adresse im Dynamik-Bereich zugewiesen ist. Es ist bevorzugt, dass die Abfragenachricht die Nachricht „Read Device Identification" ist, vorzugsweise gemäß dem MODBUS-Protokoll. In principle, the target fieldbus address from the statics area can be of any origin. It is preferred that the master unit determines the target fieldbus address. In particular, this determination can be based on the response message. A further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the response message includes device identification data. In particular, the device identification data may include device type information for specifying a device type of the respective new slave unit. The interrogation of the device identification data has the advantage that the length of the device identification data increases the probability of a collision if more than one new slave unit is assigned the same address in the dynamic range. It is preferred that the query message is the "Read Device Identification" message, preferably according to the MODBUS protocol.
Speziell sendet also die Master-Einheit eine Nachricht zum Auslesen der Geräteidentifikationsdaten an die jeweilige Neu-Slave-Einheit, wobei insbesondere diese Nachricht als Abfragenachricht oder als Auslesebefehl verstanden werden kann, woraufhin diese Neu-Slave-Einheit eine Nachricht mit den gewünschten Geräteidentifikationsdaten an die Master-Einheit sendet, welche wiederum diese Nachricht empfängt. Es handelt sich also etwa im Kontext des MODBUS um einen „Request" und eine dazugehörige „Reply". In particular, the master unit sends a message to read out the device identification data to the respective new slave unit, whereby this message can be understood as a query message or as a read command, whereupon this new slave unit sends a message with the desired device identification data to the Master unit sends, which in turn receives this message. In the context of MODBUS, for example, it is a "request" and an associated "reply".
Bei der Soll-Feldbus-Adresse kann es sich um eine im Grunde beliebige Adresse aus dem Statik-Bereich handeln. Die obige Bestimmung der Soll-Feldbus-Adresse kann ebenfalls im Grunde beliebig auf Basis der Geräteidentifikationsdaten erfolgen. Einerseits ist es denkbar, dass die Soll-Feldbus-Adresse anhand einer Tabelle aus der Antwortnachricht oder den Geräteidentifikationsdaten bestimmt wird, dass also insbesondere einem Teil oder sogar allen möglichen Geräteidentifikationsdaten jeweils eine Soll-Feldbus-Adresse zugeordnet ist. Andererseits kann es auch sein, dass neben den Geräteidentifikationsdaten auch weitere Daten, welche ggf. auch zufällig oder pseudo-zufällig bestimmt werden, in die Bestimmung der Soll- Feldbus-Adresse einfließen. Das Einprogrammieren der Soll-Feldbus-Adresse bedeutet nichts anderes, als dass der Neu-Slave-Einheit dann diese Soll-Feldbus- Adresse als neue Adresse für die Adressierung über den Feldbus dient. The target fieldbus address can basically be any address from the statics area. Basically, the above determination of the target fieldbus address can also take place arbitrarily on the basis of the device identification data. On the one hand, it is conceivable that the target fieldbus address is determined using a table from the response message or the device identification data, that is to say that a target fieldbus address is assigned in particular to some or even all possible device identification data. On the other hand, it is also possible that, in addition to the device identification data, other data, which may also be determined randomly or pseudo-randomly, are included in the determination of the target fieldbus address. Programming the target fieldbus address means nothing other than that the new slave unit then uses this target fieldbus address as the new address for addressing via the fieldbus.
Grundsätzlich kann der Dynamik-Bereich in beliebiger und insbesondere auch in zufälliger oder pseudo-zufälliger Reihenfolge von der Master-Einheit abgefragt werden. Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass die Master-Einheit den Dynamik-Bereich der Adressen von Slave-Einheiten abfragt indem sukzessive eine Reihe von, vorzugsweise absteigenden oder aufsteigenden Adressen abgefragt wird. Anders ausgedrückt ist die jeweils abgefragte Adresse entweder stets höher oder stets niedriger als die zuvor abgefragt Adresse, wobei natürlich ab einer bestimmten Adresse wieder vor- oder zurückgesprungen wird. Insbesondere kann es sein, dass es sich um eine kontinuierliche Reihe von Adressen handeln. Das bedeutet, dass die Reihe von abgefragten Adressen lückenlos ist. In principle, the dynamic range can be queried by the master unit in any order, and in particular also in a random or pseudo-random order. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the master unit interrogates the dynamic range of the addresses of slave units by successively interrogating a series of addresses, preferably in ascending or descending order. In other words, the address queried in each case is either always higher or always lower than the previously queried address, with a jump forward or backward of course starting at a specific address. In particular, it may be a continuous series of addresses. This means that the series of addresses queried is complete.
Grundsätzlich kann neben dem Abfragen insbesondere der Geräteidentifikationsdaten eine beliebige weitere Kommunikation zwischen der Master-Einheit und der mindestens einen Neu-Slave-Einheit erfolgen. Eine weitere bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass vor dem Abfragen des Dynamik-Bereichs die Master-Einheit einen Konfigurationsbefehl im Rundruf aussendet durch welchen die mindestens eine Neu-Slave-Einheit in einen Konfigurationsmodus versetzt wird. Vorzugsweise wird den Neu-Slave-Einheiten im Konfigurationsmodus eine jeweilige Zufallsadresse aus dem Dynamik-Bereich als Initial-Feldbus-Adresse einprogrammiert. Bei dieser Zufallsadresse kann es sich insbesondere um eine Adresse handeln, welche pseudo-zufällig bestimmt wurde. Insbesondere kann es sein, dass die Zufallsadresse durch die Neu-Slave-Einheit selbst erzeugt wird. Für das Einprogrammieren der Zufallsadresse gilt sinngemäß gleich das, was oben bereits für das Einprogrammieren der Initial-Feldbus-Adresse festgestellt wurde. Speziell kann es sich bei dem Einprogrammieren der Zufallsadresse um einen Vorgang handeln, welcher sich rein innerhalb der Neu-Slave-Einheit abspielt. In principle, in addition to querying the device identification data in particular, any further communication can take place between the master unit and the at least one new slave unit. A further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that before querying the dynamic range, the master unit broadcasts a configuration command by which the at least one new slave unit is placed in a configuration mode. A respective random address from the dynamic range is preferably programmed into the new slave units in the configuration mode as the initial fieldbus address. This random address can in particular be an address which was determined pseudo-randomly. In particular, the random address may be generated by the new slave unit itself. The same applies to programming the random address as stated above for programming the initial fieldbus address. In particular, the programming of the random address can be a process that takes place purely within the new slave unit.
Der Konfigurationsbefehl hat also vorzugsweise die Folge, dass die mindestens eine Neu-Slave-Einheit in den Konfigurationsmodus und damit in einen Zustand versetzt wird, in welchem die Soll-Feldbus-Adresse einprogrammiert werden kann. In diesem Zusammenhang kann einerseits der Konfigurationsbefehl selbst die Folge haben, dass die Initial-Feldbus-Adresse als Adresse der Neu-Slave-Einheit bestimmt bzw. einprogrammiert wird. Es kann aber auch sein, dass das Einprogrammieren oder Bestimmen der jeweiligen Initial-Feldbus-Adresse als Adresse auf einen weiteren Befehl neben dem Konfigurationsbefehl erfolgt, weicher weitere Befehl nach dem Konfigurationsbefehl ausgesendet wird. Das Aussenden des Konfigurationsbefehls im Rundruf bedeutet, dass nicht genau eine Neu-Slave-Einheit durch den Konfigurationsbefehl angesprochen wird, sondern vielmehr eine Vielzahl von Neu-Slave-Einheiten oder sogar alle Neu-Slave-Einheiten gleichermaßen angesprochen werden. Die Initial-Feldbus-Adresse kann sowohl zufällig als auch pseudo-zufällig bestimmt werden und ist in beiden Fällen eine Zufallsadresse. The configuration command therefore preferably results in the at least one new slave unit being placed in the configuration mode and thus in a state in which the target fieldbus address can be programmed. In this context, on the one hand, the configuration command itself can result in the initial fieldbus address being determined or programmed in as the address of the new slave unit. However, it may also be the case that the respective initial fieldbus address is programmed or determined as an address in response to a further command in addition to the configuration command, which further command is sent out after the configuration command. Sending out the configuration command in a broadcast means that not exactly one new slave unit is addressed by the configuration command, but rather a large number be addressed equally by new slave units or even all new slave units. The initial fieldbus address can be determined either randomly or pseudo-randomly and is a random address in both cases.
Gemäß einer bevorzugten Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist vorgesehen, dass vor dem Aussenden des Konfigurationsbefehls die Master-Einheit einen Entriegelungsbefehl im Rundruf aussendet durch welchen die mindestens eine Neu-Slave-Einheit dazu programmiert wird, bei Empfang des Konfigurationsbefehls in den Konfigurationsmodus versetzt zu werden. Das Aussenden des Entriegelungsbefehls im Rundruf bedeutet, dass nicht genau eine Neu-Slave-Einheit durch den Entriegelungsbefehl angesprochen wird, sondern dass eine Vielzahl von Neu-Slave-Einheiten oder sogar alle Neu-Slave-Einheiten durch den Entriegelungsbefehl angesprochen werden. Bei dem Entriegelungsbefehl und ggf. den Konfigurationsbefehl handelt es sich also um vorbereitende Maßnahmen vor der Abfrage des Dynamik-Bereichs. According to a preferred embodiment of the proposed method of the first aspect of the invention, it is provided that before the configuration command is sent, the master unit broadcasts an unlocking command, which programs the at least one new slave unit to, upon receipt of the configuration command, to be put into configuration mode. Sending the unlocking command in the broadcast means that not exactly one new slave unit is addressed by the unlocking command, but rather that a large number of new slave units or even all new slave units are addressed by the unlocking command. The unlocking command and, if applicable, the configuration command are therefore preparatory measures before the dynamic range is queried.
Nicht erforderlich ist es, dass alle Slave-Einheiten durch den Konfigurationsbefehl im Rundruf in den Konfigurationsmodus versetzt werden oder auf den Entriegelungsbefehl reagieren. Speziell kann es sein, dass die weiteren Slave-Einheiten im Altsystem-Bereich anders oder gar nicht auf den Konfigurationsbefehl und/oder auf den Entriegelungsbefehl reagieren. It is not necessary for all slave units to be placed in configuration mode by the broadcast configuration command or to respond to the unlock command. In particular, it may be that the other slave units in the legacy system area react differently or not at all to the configuration command and/or to the unlocking command.
Gemäß einer weiteren bevorzugten Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist vorgesehen, dass die Master-Einheit nach dem Übertragen der Soll-Feldbus-Adresse einen Verriegelungsbefehl an die mindestens eine Neu-Slave-Einheit überträgt durch welchen die mindestens eine Neu-Slave-Einheit dazu programmiert wird, den Konfigurationsbefehl zu ignorieren. Auf diese Weise wird also die mindestens eine Neu-Slave-Einheit, welche zuvor entriegelt wurde und welche den Soll-Feldbus-Adresse aus dem Statik-Bereich erhalten und übernommen hat, wieder verriegelt. Dies ermöglicht es, den Konfigurationsbefehl wieder im Rundruf auszusenden ohne denjenigen Neu-Slave-Einheiten, denen bereits eine Adresse im Statik-Bereich zugewiesen wurde, wieder eine Adresse im Dynamik-Bereich zuzuweisen. Dies erlaubt es weiter, im Falle von Kollisionen den Konfigurationsbefehl wieder im Rundruf auszusenden und dabei die bereits konfigurierten Neu-Slave-Einheiten konfiguriert zu lassen. Grundsätzlich kann die Antwortnachricht und können die Geräteidentifikationsdaten beliebige weitere Informationen umfassen. Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass die Antwortnachricht oder die Geräteidentifikationsdaten eine Herstellerinformation zur Angabe eines Herstellers der jeweiligen Neu-Slave- Einheit, eine Seriennummer der jeweiligen Neu-Slave-Einheit, eine Softwareversionsnummer zur Angabe einer Version einer Software auf der jeweiligen Neu-Slave- Einheit, Produktionsdaten zur Angabe von Informationen über die Produktion der jeweiligen Neu-Slave-Einheit und/oder Spezifikationsdaten zur Spezifikation der jeweiligen Neu-Slave-Einheit umfassen. According to a further preferred embodiment of the proposed method of the first aspect of the invention, it is provided that the master unit transmits a locking command to the at least one new slave unit after the transmission of the desired fieldbus address unit is programmed to ignore the configuration command. In this way, the at least one new slave unit, which was previously unlocked and which has received and accepted the target fieldbus address from the statics area, is locked again. This allows the configuration command to be broadcast again without reassigning a dynamic domain address to those new slave units that have already been assigned a static domain address. This also allows, in the event of collisions, to broadcast the configuration command again while leaving the already configured new slave units configured. In principle, the response message and the device identification data can include any additional information. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the response message or the device identification data manufacturer information to indicate a manufacturer of the respective new slave unit, a serial number of the respective new slave unit, a software version number to indicate a Version of software on the respective new-slave unit, production data specifying information about the production of the respective new-slave unit and/or specification data for specifying the respective new-slave unit.
Grundsätzlich kann es sein, dass nur eine Neu-Slave-Einheit an den Feldbus angeschlossen wird. Eine weitere bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass eine Vielzahl von Neu-Slave-Einheiten an den Feldbus angeschlossen wird, dass jeder Neu-Slave-Einheit der Vielzahl von Neu-Slave-Einheiten eine jeweilige Initial- Feldbus-Adresse einprogrammiert ist, über welche jeweilige Initial-Feldbus-Ad- resse die jeweilige Neu-Slave-Einheit ansprechbar ist und dass die Master-Einheit die jeweilige Antwortnachricht von mindestens einer Neu-Slave-Einheit der Vielzahl von Neu-Slave-Einheiten empfängt. Auf diese Weise kann die Adresskonfiguration für mehrere gleichzeitig neu angeschlossene Neu-Slave-Einheiten vorgenommen werden. In principle, it is possible that only one new slave unit is connected to the fieldbus. A further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that a large number of new slave units are connected to the fieldbus, each new slave unit in the large number of new slave units has a respective initial Fieldbus address is programmed, via which respective initial fieldbus address the respective new slave unit can be addressed and that the master unit receives the respective response message from at least one new slave unit of the plurality of new slave units receives. In this way, the address configuration for several newly connected new slave units can be carried out at the same time.
Gemäß einer bevorzugten Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist vorgesehen, dass wenn die Master-Einheit die jeweilige Antwortnachricht von genau einer Neu-Slave-Einheit der Vielzahl von Neu-Slave-Einheiten empfängt die Master-Einheit an die genau eine Neu-Slave- Einheit die Soll-Feldbus-Adresse überträgt, wobei der genau einen Neu-Slave-Einheit die Soll-Feldbus-Adresse anstelle der Initial-Feldbus-Adresse einprogrammiert wird, sodass die Neu-Slave-Einheit über die Soll-Feldbus-Adresse ansprechbar ist. In so einem Fall ist also nur einer Neu-Slave-Einheit die abgefragte Initial-Feldbus- Adresse einprogrammiert, sodass also auch nur die eine Neu-Slave-Einheit auf die Abfrage antwortet. Bevorzugt ist weiter, dass nach der Übertragung der Soll- Feldbus-Adresse an die genau eine Neu-Slave-Einheit die Master-Einheit eine nächste Adresse im Dynamik-Bereich abfragt. Grundsätzlich kann in dem Fall, in welchem auf die Abfrage einer Adresse im Dynamik-Bereich nicht eine Neu-Slave-Einheit sondern mehrere Neu-Slave-Einheiten antworten, auf verschiedene Art und Weise reagiert werden. Gemäß einer weiteren bevorzugten Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist vorgesehen, dass wenn die Master-Einheit auf eine Abfrage einer Adresse aus dem Dynamik-Bereich die jeweilige Antwortnachricht von mehr als einer Neu-Slave-Einheit der Vielzahl von Neu-Slave-Einheiten empfängt, die Master-Einheit eine nächste Adresse aus dem Dynamik-Bereich abfragt. Es wird dann also zunächst nach einer Adresse im Dynamik-Bereich gesucht, bei der auf die Abfrage nur eine Neu-Slave-Einheit antwortet, sodass diese entsprechend mit einer Adresse im Statik-Bereich versehen werden kann. According to a preferred embodiment of the proposed method of the first aspect of the invention, it is provided that when the master unit receives the respective response message from exactly one new slave unit of the plurality of new slave units, the master unit sends to exactly one new -slave unit transmits the target fieldbus address, with exactly one new slave unit being programmed with the target fieldbus address instead of the initial fieldbus address, so that the new slave unit has the target fieldbus address is accessible. In such a case, the queried initial fieldbus address is programmed into only one new slave unit, so that only the one new slave unit responds to the query. It is also preferred that after the transmission of the desired fieldbus address to exactly one new slave unit, the master unit requests a next address in the dynamic range. In principle, in the case in which a number of new slave units rather than one new slave unit respond to the query of an address in the dynamic range, the response can be in different ways. According to a further preferred embodiment of the proposed method of the first aspect of the invention, it is provided that when the master unit responds to a query for an address from the dynamic range, the respective response message from more than one new slave unit of the plurality of new slaves units, the master unit requests a next address from the dynamic range. An address in the dynamic area is then first searched for, for which only one new slave unit responds to the query, so that it can be provided with an address in the static area accordingly.
Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass wenn die Master-Einheit auf eine Abfrage einer Adresse aus dem Dynamik-Bereich die jeweilige Antwortnachricht von mehr als einer Neu-Slave-Einheit der Vielzahl von Neu-Slave-Einhei- ten empfängt, die Master-Einheit die mehr als eine Neu-Slave-Einheit in einen Konfigurationsmodus versetzt, sodass eine jeweilige Zufallsadresse aus dem Dynamik-Bereich als Initial-Feldbus-Adresse der jeweiligen mehr als einen Neu- Slave-Einheit einprogrammiert wird. Vorzugsweise erfolgt das Versetzen der mehr als einen Neu-Slave-Einheit in den Konfigurationsmodus durch das Aussenden des Konfigurationsbefehls im Rundruf durch die Master-Einheit. Es wird hier also angestrebt, dass durch die neue Vergabe von Zufallsadressen - welche auch pseudozufällig sein können - diejenigen Neu-Slave-Einheiten, welche zuvor noch eine gemeinsame Initial-Feldbus-Adresse aufwiesen, nunmehr unterschiedliche Initial- Feldbus-Adressen aufweisen, sodass auch keine Kollision mehr auftritt. Dieser Ansatz kann wiederholt werden, bis allen Slave-Einheiten mit einer Adresse in dem Dynamik-Bereich eine jeweilige eindeutige Adresse in dem Statik-Bereich zugeordnet wurde. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that when the master unit responds to a query for an address from the dynamic range with the respective response message from more than one new slave unit of the plurality of new slave Receives units, the master unit puts more than one new slave unit into a configuration mode, so that a respective random address from the dynamic range is programmed as the initial fieldbus address of the respective more than one new slave unit . Preferably, the more than one new slave unit is placed in configuration mode by the master unit broadcasting the configuration command. The aim here is that through the new allocation of random addresses - which can also be pseudo-random - those new slave units which previously had a common initial fieldbus address now have different initial fieldbus addresses, so that also no more collision occurs. This approach can be repeated until all slave units with an address in the dynamic domain have been assigned a respective unique address in the static domain.
Dass die Master-Einheit auf die Abfrage die jeweilige Antwortnachricht von mehr als einer Neu-Slave-Einheit erhält, dass also eine Kollision bei der abgefragten Adresse aus dem Dynamik-Bereich vorliegt, kann prinzipiell auf beliebige Art und Weise ermittelt werden. Eine weitere bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass der Empfang der jeweiligen Antwortnachricht von mehr als einer Neu- Slave-Einheit der Vielzahl von Neu-Slave-Einheiten durch die Master-Einheit anhand eines jeweiligen Prüfwerts der jeweiligen Antwortnachricht ermittelt wird. Anders ausgedrückt ergeben sich jedenfalls bei dem Prüfwert der Antwortnachrichten Fehler, aus welchen auf die Kollision geschlossen werden kann. Bevorzugt ist, dass der jeweilige Prüfwert durch eine zyklische Redundanzprüfung erzeugt wurde. The fact that the master unit receives the respective response message from more than one new slave unit to the query, that is to say that there is a collision at the queried address from the dynamic range, can in principle be determined in any manner. A further preferred embodiment of the proposed method of the first aspect of the invention is characterized in that the receipt of the respective response message from more than one new Slave unit of the plurality of new slave units is determined by the master unit based on a respective test value of the respective response message. In other words, there are errors in the check value of the response messages, from which the collision can be inferred. It is preferred that the respective test value was generated by a cyclic redundancy test.
Gemeinsam mit der Ermittlung der Soll-Feldbus-Adresse können auch weitere Informationen - wiederum deterministisch, zufällig oder pseudo-zufällig - ermittelt und dann zur Konfiguration der jeweiligen Neu-Slave-Einheit verwendet werden. Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass basierend auf der Antwortnachricht, vorzugsweise basierend auf den Geräteidentifikationsdaten, aus einer Gerätedatenbank ein Zusatzinformationssatz ermittelt wird und die Neu-Slave- Einheit basierend auf dem Zusatzinformationssatz programmiert wird. Dieser Zusatzinformationssatz kann im Grunde einem beliebigen Zweck dienen. Bevorzugt ist, dass ein Messbereich und/oder Messeinheiten und/oder eine Messauflösung und/oder ein Kalibrierzyklus der Neu-Slave-Einheit basierend auf dem Zusatzinformationssatz programmiert wird. Auf diese Weise kann sichergestellt werden, dass von der Neu-Slave-Einheit gemessene Werte nicht durch fehlerhafte Messbereiche oder durch einen von den Vorgaben abweichenden Kalibrierzyklus in Frage gestellt werden. Together with the determination of the target fieldbus address, further information can also be determined—again deterministically, randomly or pseudo-randomly—and then used to configure the respective new slave unit. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that based on the response message, preferably based on the device identification data, an additional information record is determined from a device database and the new slave unit is programmed based on the additional information record. Basically, this additional information record can serve any purpose. It is preferred that a measurement range and/or measurement units and/or a measurement resolution and/or a calibration cycle of the new slave unit is programmed based on the additional information set. In this way it can be ensured that values measured by the new slave unit are not jeopardized by faulty measuring ranges or by a calibration cycle that deviates from the specifications.
Ebenso kann es sein, dass Benutzerdaten von einem Benutzer eingegeben werden und die Neu-Slave-Einheit basierend auf den Benutzerdaten programmiert wird. Hier kann es sein, dass vor der Eingabe der Benutzerdaten zumindest ein Teil der Antwortnachricht, vorzugsweise die Geräteidentifikationsdaten, dem Benutzer dargestellt wurden. Auf diese Weise kann auf die Daten von der Neu-Slave-Einheit durch die Eingabe des Benutzers reagiert werden, indem also die aus Benutzersicht passenden Benutzerdaten für diese spezielle Neu-Slave-Einheit vorgesehen werden. Likewise, user data may be entered by a user and the new slave unit programmed based on the user data. It may be the case here that before the user data is entered, at least part of the response message, preferably the device identification data, has been presented to the user. In this way, the data from the new slave unit can be reacted to by the user's input, ie by providing the user data which is appropriate from the user's point of view for this particular new slave unit.
Eine bevorzugte Ausführungsform des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung ist dadurch gekennzeichnet, dass zumindest eine Teilmenge der mindestens einen Neu-Slave-Einheit über die Versorgungsleitung des Feldbus elektrisch für den Betrieb versorgt wird. Auf diese Weise wird eine vom Feldbus separate Leitung zur elektrischen Versorgung für diese mindestens eine Neu- Slave-Einheit entbehrlich. A preferred embodiment of the proposed method of the first aspect of the invention is characterized in that at least a subset of the at least one new slave unit is electrically supplied for operation via the supply line of the fieldbus. In this way, a fieldbus separate line for the electrical supply for this at least one new slave unit is unnecessary.
Das vorschlagsgemäße Verfahren eines zweiten Aspekts der Erfindung dient der Adresskonfiguration für ein Master/Slave über einen Feldbus zur seriellen Datenübertragung, wobei eine Master-Einheit an dem Feldbus angeschlossen ist. The proposed method of a second aspect of the invention is used for address configuration for a master/slave via a fieldbus for serial data transmission, with a master unit being connected to the fieldbus.
Das vorschlagsgemäße Verfahren des zweiten Aspekts der Erfindung ist dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus in einen Statik-Bereich und in einen Dynamik-Bereich unterteilt ist, dass eine Neu-Slave-Einheit an den Feldbus angeschlossen wird, dass der Neu-Slave- Einheit eine jeweilige Initial-Feldbus-Adresse aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Adresse die Neu-Slave-Einheit jeweils ansprechbar ist, dass die Neu-Slave-Einheit auf eine Abfrage der Master-Einheit eine Antwortnachricht an die Master-Einheit überträgt, dass die Neu-Slave-Einheit eine Soll-Feldbus-Adresse aus dem Statik-Bereich von der Master-Einheit empfängt und dass der Neu-Slave-Einheit die Soll-Feldbus-Adresse anstelle der Initial- Feldbus-Adresse einprogrammiert wird sodass die Neu-Slave-Einheit über die Soll- Feldbus-Adresse ansprechbar ist. The proposed method of the second aspect of the invention is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range, that a new slave unit is connected to the fieldbus that the new slave unit is programmed with a respective initial fieldbus address from the dynamic range, via which initial fieldbus address the new slave unit can be addressed in each case, that the new slave unit responds to a query the master unit transmits a response message to the master unit that the new slave unit receives a target fieldbus address from the statics area from the master unit and that the new slave unit receives the target fieldbus address address is programmed instead of the initial fieldbus address so that the new slave unit can be addressed via the target fieldbus address.
Die vorschlagsgemäße Master-Einheit ist für ein Master/Slave-System, welches Master/Slave-System einen Feldbus zur seriellen Datenübertragung verwendet, wobei die Master-Einheit an den Feldbus anschließbar ist. The proposed master unit is for a master/slave system, which master/slave system uses a field bus for serial data transmission, the master unit being connectable to the field bus.
Die vorschlagsgemäße Master-Einheit ist dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus in einen Statik-Bereich und in einen Dynamik-Bereich unterteilt ist, dass die Master-Einheit dazu eingerichtet ist, den Dynamik-Bereich der Adressen von Slave-Einheiten abzufragen, dass die Master-Einheit dazu eingerichtet ist, auf die Abfrage eine jeweilige Antwortnachricht von der mindestens einen Neu-Slave-Einheit zu empfangen, dass die Master-Einheit dazu eingerichtet ist, eine Soll-Feldbus-Adresse aus dem Statik- Bereich an die mindestens eine Neu-Slave-Einheit zu übertragen, sodass der mindestens einen Neu-Slave-Einheit die Soll-Feldbus-Adresse anstelle der Initial-Feld- bus-Adresse einprogrammiert wird und sodass die mindestens eine Neu-Slave- Einheit über die Soll-Feldbus-Adresse ansprechbar ist. Das vorschlagsgemäße Master/Slave-System weist einen Feldbus zur seriellen Datenübertragung auf. The proposed master unit is characterized in that a number range for addresses of slave units on the fieldbus is divided into a static range and a dynamic range, that the master unit is set up to use the dynamic range of the addresses to query slave units, that the master unit is set up to receive a respective response message from the at least one new slave unit in response to the query, that the master unit is set up to select a target fieldbus address from the To transmit statics area to the at least one new slave unit, so that the at least one new slave unit is programmed with the desired fieldbus address instead of the initial fieldbus address and so that the at least one new slave Unit can be addressed via the target fieldbus address. The proposed master/slave system has a fieldbus for serial data transmission.
Das vorschlagsgemäße Master/Slave-System ist dadurch gekennzeichnet, dass das Master/Slave-System eine vorschlagsgemäße Mastereinheit aufweist, welche an den Feldbus angeschlossene Mastereinheit. The proposed master/slave system is characterized in that the master/slave system has a proposed master unit, which master unit is connected to the fieldbus.
Das vorschlagsgemäße Master/Slave-System ist weiter dadurch gekennzeichnet, dass das Master/Slave-System eine an den Feldbus angeschlossene Neu-Slave- Einheit aufweist, dass der Neu-Slave-Einheit eine jeweilige Initial-Feldbus-Adresse aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Ad- resse die Neu-Slave-Einheit jeweils ansprechbar ist, dass die Neu-Slave-Einheit dazu eingerichtet ist, auf eine Abfrage der Master-Einheit eine Antwortnachricht an die Master-Einheit zu übertragen, dass die Neu-Slave-Einheit dazu eingerichtet ist, eine Soll-Feldbus-Adresse aus dem Statik-Bereich von der Master-Einheit zu empfangen und dass die Neu-Slave-Einheit dazu eingerichtet ist, dass die Soll- Feldbus-Adresse anstelle der Initial-Feldbus-Adresse einprogrammiert wird sodass die Neu-Slave-Einheit über die Soll-Feldbus-Adresse ansprechbar ist. The proposed master/slave system is further characterized in that the master/slave system has a new slave unit connected to the fieldbus, that the new slave unit has a respective initial fieldbus address from the dynamic range the initial fieldbus address via which the new slave unit can be addressed is programmed, that the new slave unit is set up to transmit a response message to the master unit in response to a query from the master unit, that the new slave unit is arranged to receive a target fieldbus address from the statics area from the master unit and that the new slave unit is arranged to receive the target fieldbus address instead of the Initial fieldbus address is programmed so that the new slave unit can be addressed via the target fieldbus address.
Bevorzugte Ausgestaltungen, Merkmale und Eigenschaften des vorschlagsgemäßen Verfahrens des ersten Aspekts der Erfindung entsprechen denen des vorschlagsgemäßen Verfahrens des zweiten Aspekts der Erfindung, der vorschlagsgemäßen Master-Einheit und/oder des vorschlagsgemäßen Master/Slave-Systems. Dies gilt sinngemäß auch jeweils umgekehrt. Preferred refinements, features and properties of the proposed method of the first aspect of the invention correspond to those of the proposed method of the second aspect of the invention, the proposed master unit and/or the proposed master/slave system. This also applies vice versa in each case.
Weitere vorteilhafte und bevorzugte Ausgestaltungen ergeben sich aus der nachfolgenden Beschreibung mit Bezug auf die Figuren. In der lediglich ein Ausführungsbeispiel wiedergebenden Zeichnung zeigt Further advantageous and preferred configurations result from the following description with reference to the figures. In the drawing showing only one exemplary embodiment
Fig. 1 eine schematische Ansicht eines Ausführungsbeispiels eines vorschlagsgemäßen Master/Slave-Systems mit einer vorschlagsgemäßen Master-Einheit zur Ausführung der vorschlagsgemäßen Verfahren in einem ersten Zustand, 1 shows a schematic view of an exemplary embodiment of a proposed master/slave system with a proposed master unit for executing the proposed method in a first state,
Fig. 2 das Ausführungsbeispiel der Fig. 1 in einem zweiten Zustand nach dem ersten Zustand, Fig. 3 das Ausführungsbeispiel der Fig. 1 in einem dritten Zustand nach dem zweiten Zustand, FIG. 2 shows the embodiment of FIG. 1 in a second state after the first state, 3 shows the embodiment of FIG. 1 in a third state after the second state,
Fig. 4 das Ausführungsbeispiel der Fig. 1 in einem vierten Zustand nach dem dritten Zustand, FIG. 4 shows the embodiment of FIG. 1 in a fourth state after the third state,
Fig. 5 das Ausführungsbeispiel der Fig. 1 in einem fünften Zustand nach dem vierten Zustand und Fig. 5 shows the embodiment of FIG. 1 in a fifth state after the fourth state and
Fig. 6 das Ausführungsbeispiel der Fig. 1 in einem sechsten Zustand nach dem fünften Zustand. FIG. 6 shows the embodiment of FIG. 1 in a sixth state after the fifth state.
Bei dem in der Fig. 1 gezeigten Master/Slave-System sind eine Master-Einheit 1 sowie insgesamt sechs Neu-Slave-Einheiten 2a-f an einen Feldbus 3 angeschlossen, welcher dem MODBUS-Standard entspricht. Die physikalische Schnittstelle des Feldbusses entspricht EIA-485, was auch als R.S-485 bezeichnet wird. Bei den Neu-Slave-Einheiten 2a-f handelt es sich um jeweils unterschiedliche Typen von industriellen Sensoren. In the master/slave system shown in FIG. 1, a master unit 1 and a total of six new slave units 2a-f are connected to a fieldbus 3, which corresponds to the MODBUS standard. The physical interface of the fieldbus conforms to EIA-485, also known as R.S-485. The new slave units 2a-f are each different types of industrial sensors.
In dem in der Fig. 1 gezeigten Zustand hat die Master-Einheit 1 zunächst einen Entriegelungsbefehl 5 und im Anschluss daran einen Konfigurationsbefehl 6 jeweils im Rundruf ausgesendet, sodass also alle Neu-Slave-Einheiten 2a-f beide Befehle jeweils empfangen haben. Der Entriegelungsbefehl 5 dient dazu, die empfangenden Neu-Slave-Einheiten 2a-f in dem Sinne zu „entriegeln", dass sie auf den Konfigurationsbefehl 6 überhaupt reagieren, und zwar indem sie auf den Konfigurationsbefehl 6 in einen Konfigurationsmodus versetzt werden. Ohne einen zuvor empfangenen Entriegelungsbefehl 5 ignorieren die Neu-Slave-Einheiten 2a-f den Konfigurationsbefehl 6. Da vorliegend aber alle Neu-Slave-Einheiten 2a-f den Entriegelungsbefehl 5 erhalten haben, werden auch alle Neu-Slave-Einheiten 2a-f durch den Konfigurationsbefehl 6 in den Konfigurationsmodus versetzt. Vorliegend wird durch den Konfigurationsbefehl 6 den zuvor entriegelten Neu-Slave-Einheiten 2a-f - hier also allen Neu-Slave-Einheiten 2a-f - eine jeweilige pseudo-zufällig generierte Initial-Feldbus-Adresse 4a-f aus dem Dynamik-Bereich einprogrammiert, welche der Slave-Adresse für die Kommunikation über den Feldbus 3 entspricht. Dabei umfasst der Dynamik-Bereich die Werte von 201 bis 246 und der Statik- Bereich die Werte 31 bis 200. Erkennbar sind die Adressen sowohl des Dynamik- Bereichs als auch des Statik-Bereichs über ein Byte - also 8 Bit - kodierbar. Die erste Initial-Feldbus-Adresse 4a der ersten Neu-Slave-Einheit 2a hat den Wert 246, die zweite Initial-Feldbus-Adresse 4a der zweiten Neu-Slave-Einheit 2b hat den Wert 224, die dritte Initial-Feldbus-Adresse 4c der dritten Neu-Slave-Einheit 2c hat den Wert 238, die vierte Initial-Feldbus-Adresse 4d der vierten Neu-Slave- Einheit 2d hat den Wert 231, die fünfte Initial-Feldbus-Adresse 4e der fünften Neu- Slave-Einheit 2e hat den Wert 214 und die sechste Initial-Feldbus-Adresse 4f der sechsten Neu-Slave-Einheit 2f hat ebenfalls den Wert 231. Es haben also die vierte Neu-Slave-Einheit 2d und die sechste Neu-Slave-Einheit 2f eine jeweils identische Initial-Feldbus-Adresse 4d, f. In the state shown in FIG. 1, the master unit 1 first sent an unlocking command 5 and then a configuration command 6 in a broadcast, so that all new slave units 2a-f received both commands. The unlocking command 5 serves to "unlock" the receiving new slave units 2a-f in the sense that they react to the configuration command 6 at all, by being put into a configuration mode on the configuration command 6. Without one before received unlocking command 5, the new slave units 2a-f ignore the configuration command 6. However, since all new slave units 2a-f have received the unlocking command 5 in the present case, all new slave units 2a-f are also activated by the configuration command 6 In the present case, the configuration command 6 assigns a respective pseudo-randomly generated initial fieldbus address 4a-f to the previously unlocked new slave units 2a-f—in this case all new slave units 2a-f programmed in the dynamic range, which corresponds to the slave address for communication via fieldbus 3. The dynamic range includes the values from 201 to 246 and the static range the values 31 to 200. The addresses of both the dynamic range and the static range can be identified via one byte - i.e. 8 bits - can be encoded. The first initial fieldbus address 4a of the first new slave unit 2a has the value 246, the second initial fieldbus address 4a of the second new slave unit 2b has the value 224, the third initial fieldbus address 4c of the third new slave unit 2c has the value 238, the fourth initial fieldbus address 4d of the fourth new slave unit 2d has the value 231, the fifth initial fieldbus address 4e of the fifth new slave unit 2e has the value 214 and the sixth initial fieldbus address 4f of the sixth new slave unit 2f also has the value 231. The fourth new slave unit 2d and the sixth new slave unit 2f therefore each have an identical address Initial fieldbus address 4d, f.
Im Zustand der Fig. 2 findet eine Abfrage des Dynamikbereichs bis zur Adresse 213 statt. Für diese Abfrage sendet die Master-Einheit 1 jeweils einen Auslesebefehl zum Auslesen der Geräteidentifikationsdaten, für den hier beispielhaft ein erster Auslesebefehl 7a dargestellt ist, an die entsprechende Adresse, also nacheinander je einen Auslesebefehl 7 an die Adressen 201 bis 213. Da keine der an den Feldbus 3 angeschlossenen Neu-Slave-Einheiten 2a-f eine Initial-Feldbus-Adresse 4a-f in diesem Bereich aufweist, erfolgt auch keine Reaktion in Form einer Antwort durch eine der Neu-Slave-Einheiten 2a-f. In the state of FIG. 2 an interrogation of the dynamic range up to address 213 takes place. For this query, the master unit 1 sends a readout command for reading out the device identification data, for which a first readout command 7a is shown here as an example, to the corresponding address, i.e. one readout command 7 to addresses 201 to 213 in succession. Since none of the If the new slave units 2a-f connected to the fieldbus 3 have an initial fieldbus address 4a-f in this range, there is also no reaction in the form of an answer by one of the new slave units 2a-f.
Im Zustand der Fig. 3 fragt die Master-Einheit 1 die Adresse 214 im Dynamikbereich ab indem sie einen zweiten Auslesebefehl 7b an genau diese Adresse sendet. Darauf antwortet die fünfte Neu-Slave-Einheit 2e indem sie erste Geräteidentifikationsdaten 8a in einer Antwortnachricht an die Master-Einheit 1 überträgt, welche diese folglich empfängt. Diese ersten Geräteidentifikationsdaten 8a umfassen neben der Gerätetypinformation, welche den Typ des industriellen Sensors beschreibt, welcher die Neu-Slave-Einheit 2e bildet, eine Angabe des Herstellers der Neu-Slave-Einheit 2e, eine Seriennummer der Neu-Slave-Einheit 2e und eine Softwareversionsnummer der auf der Neu-Slave-Einheit 2e ablaufenden Software. In the state of FIG. 3, the master unit 1 interrogates the address 214 in the dynamic range by sending a second read command 7b to precisely this address. The fifth new slave unit 2e responds to this by transmitting first device identification data 8a in a response message to the master unit 1, which consequently receives it. In addition to the device type information, which describes the type of industrial sensor that forms the new slave unit 2e, this first device identification data 8a includes an indication of the manufacturer of the new slave unit 2e, a serial number of the new slave unit 2e and a Software version number of the software running on the new slave unit 2e.
Im Zustand der Fig. 4 ermittelt die Master-Einheit 1 anhand der ersten Geräteidentifikationsdaten 8a und einer in dem Datenspeicher der Master-Einheit 1 abgelegten Tabelle eine Soll-Feldbus-Adresse 9 aus dem Statik-Bereich, wobei hier diese Soll-Feldbus-Adresse 9 den Wert 50 hat. Diese Soll-Feldbus-Adresse 9 wird an die fünfte Neu-Slave-Einheit 2e durch eine Adresssetznachricht 11 übertragen und der fünften Neu-Slave-Einheit 2e einprogrammiert, sodass die Soll-Feldbus- Adresse 9 als neue Adresse der fünften Neu-Slave-Einheit 2e fungiert. Anschließend überträgt die Master-Einheit 1 einen Verriegelungsbefehl 10 an die fünfte Neu-Slave-Einheit 2e. Dies hat zur Folge, dass die fünfte Neu-Slave-Einheit 2e den Konfigurationsmodus verlässt und zukünftige Konfigurationsbefehle 6 ignoriert, und zwar bis zum Empfang eines weiteren Entriegelungsbefehls 5. Auf diese Weise bleibt die Soll-Feldbus-Adresse 9 der fünften Neu-Slave-Einheit 2e einprogrammiert. In the state of FIG. 4, the master unit 1 uses the first device identification data 8a and a table stored in the data memory of the master unit 1 to determine a target fieldbus address 9 from the statics area, with here this target fieldbus address 9 has the value 50. This desired fieldbus address 9 is transmitted to the fifth new slave unit 2e by an address setting message 11 and programmed into the fifth new slave unit 2e, so that the desired fieldbus address 9 is used as the new address of the fifth new slave Unit 2e functions. The master unit 1 then transmits a locking command 10 to the fifth new slave unit 2e. The consequence of this is that the fifth new slave unit 2e leaves the configuration mode and ignores future configuration commands 6 until it receives a further unlocking command 5. In this way, the desired fieldbus address 9 of the fifth new slave unit remains Unit 2e programmed.
Nach dem Zustand der Fig. 4 fragt die Master-Einheit 1 im Dynamik-Bereich weiter die Adressen 215 bis 230 wie bereits für die Adressen 201 bis 246 beschrieben ab, wobei auf diese Abfragen keine Antworten erhalten werden da keiner der Neu- Slave-Einheiten 2a-f eine Adresse in diesem Bereich zugeordnet ist. Die entsprechenden Auslesebefehle sind hier nicht dargestellt. After the state of FIG. 4, the master unit 1 in the dynamic range continues to interrogate addresses 215 to 230 as already described for addresses 201 to 246, with no responses to these interrogations being received since none of the new slave units 2a-f is assigned an address in this range. The corresponding readout commands are not shown here.
Im Zustand der Fig. 5 wiederum fragt die Master-Einheit 1 die Adresse 231 im Dynamik-Bereich ab indem ein dritter Auslesebefehl 7c an eben diese Adresse gesendet wird. Da allerdings sowohl die vierte Neu-Slave-Einheit 2d als auch die sechste Neu-Slave-Einheit 2f diese Adresse als jeweilige Initial-Feldbus-Adresse 4d, f aufweisen, antworten diese beiden Neu-Slave-Einheiten 2d, f beide mit jeweiligen Geräteidentifikationsdaten 8b, c in einer jeweiligen Antwortnachricht. Die Master-Einheit 1 erkennt nun entweder durch Empfang dieser beiden Antwortnachrichten oder durch eine Kollision und damit einen Fehler beim Empfang dieser beiden Antwortnachrichten, welcher durch die gleichzeitige Antwort der beiden Neu- Slave-Einheiten 2d, f verursacht wird, dass zwei Neu-Slave-Einheiten 2d, f die Adresse 231 als jeweilige Initial-Feldbus-Adresse 4d, f zugewiesen ist. In the state of FIG. 5, the master unit 1 in turn queries the address 231 in the dynamic range by sending a third read command 7c to precisely this address. However, since both the fourth new slave unit 2d and the sixth new slave unit 2f have this address as the respective initial fieldbus address 4d, f, these two new slave units 2d, f both respond with respective device identification data 8b, c in a respective response message. The master unit 1 now recognizes either by receiving these two response messages or by a collision and thus an error when receiving these two response messages, which is caused by the simultaneous response of the two new slave units 2d, f that two new slave -Units 2d, f the address 231 is assigned as the respective initial fieldbus address 4d, f.
Um diese Kollision aufzulösen sendet die Master-Einheit im Zustand der Fig. 6 wieder einen Konfigurationsbefehl 6 im Rundruf aus. Auf diesen Konfigurationsbefehl 6 wird mit Ausnahme der fünften Neu-Slave-Einheit 2e, welche den Verriegelungsbefehl 10 erhalten hat, allen Neu-Slave-Einheiten 2a-d, f eine neue jeweilige pseudo-zufällig generierte Initial-Feldbus-Adresse aus dem Dynamik-Bereich einprogrammiert. Anschließend wird so vorgegangen, wie es oben für die Abläufe nach dem Aussenden des ersten Konfigurationsbefehls 6 beschrieben ist. Da hier die fünfte Neu-Slave-Einheit 2e bereits eine Soll-Feldbus-Adresse 9 in dem Statik- Bereich erhalten hat und nicht weiter konfiguriert werden muss, ist auch das Risiko erneut auftretender Kollisionen im Dynamik-Bereich bei diesem Durch- lauf geringer. In order to resolve this collision, the master unit in the state of FIG. 6 again sends out a configuration command 6 in the broadcast. In response to this configuration command 6, with the exception of the fifth new slave unit 2e, which has received the locking command 10, all new slave units 2a-d, f are given a new pseudo-randomly generated initial fieldbus address from the dynamic programmed area. The procedure is then as described above for the processes after the first configuration command 6 has been sent. Since the fifth new slave unit 2e has already received a desired fieldbus address 9 in the static area and does not have to be configured further, the risk of collisions occurring again in the dynamic area is also lower during this run.

Claims

Patentansprüche Verfahren zur Adresskonfiguration für ein Master/Slave-System über einen Feldbus (3) zur seriellen Datenübertragung, wobei eine Master-Einheit (1) an dem Feldbus (3) angeschlossen ist, dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus (3) in einen Statik- Bereich und in einen Dynamik-Bereich unterteilt ist, dass mindestens eine Neu-Slave-Einheit (2a-f) an den Feldbus (3) angeschlossen wird, dass der mindestens einen Neu-Slave-Einheit (2a-f) eine jeweilige Initial-Feld- bus-Adresse (4a-f) aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Adresse (4a-f) die mindestens eine Neu-Slave-Einheit (2a-f) jeweils ansprechbar ist, dass die Master-Einheit (1) den Dynamik-Bereich der Adressen von Slave-Einheiten abfragt, dass die Master-Einheit (1) auf die Abfrage eine jeweilige Antwortnachricht von der mindestens einen Neu-Slave-Einheit (2a-f) empfängt, dass die Master-Einheit (1) eine Soll-Feldbus-Adresse (9) aus dem Statik-Bereich an die mindestens eine Neu-Slave-Einheit (2a-f) überträgt, sodass der mindestens einen Neu- Slave-Einheit (2a-f) die Soll-Feldbus-Adresse (9) anstelle der Initial-Feld- bus-Adresse (4a-f) einprogrammiert wird und sodass die mindestens eine Neu-Slave-Einheit (2a-f) über die Soll-Feldbus-Adresse (9) ansprechbar ist. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass das Abfragen des Dynamik-Bereichs das Aussenden einer jeweiligen Abfragenachricht je Adresse im Dynamik-Bereich umfasst, wobei die jeweilige Abfragenachricht an eine einzelne Adresse im Dynamik-Bereich adressiert ist. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass die Antwortnachricht Geräteidentifikationsdaten (8a-c) umfasst, vorzugsweise, dass die Geräteidentifikationsdaten (8a-c) eine Gerätetypinformation zur Angabe eines Gerätetyps der jeweiligen Neu-Slave-Einheit (2a-f) umfassen. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass die Master-Einheit (1) den Dynamik-Bereich der Adressen von Slave-Einheiten abfragt indem sukzessive eine, insbesondere kontinuierliche, Reihe von, vorzugsweise absteigenden oder aufsteigenden, Adressen abgefragt wird. Verfahren nach einem der Ansprüche 1 bis 4, dadurch gekennzeichnet, dass vor dem Abfragen des Dynamik-Bereichs die Master-Einheit (1) einen Konfigurationsbefehl (6) im Rundruf aussendet durch welchen die mindestens eine Neu-Slave-Einheit (2a-f) in einen Konfigurationsmodus versetzt wird, vorzugsweise, dass den Neu-Slave-Einheiten (2a-f) im Konfigurationsmodus eine jeweilige Zufallsadresse aus dem Dynamik-Bereich als Initial-Feldbus- Adresse (4a-f) einprogrammiert wird. Verfahren nach Anspruch 5, dadurch gekennzeichnet, dass vor dem Aussenden des Konfigurationsbefehls (6) die Master-Einheit (1) einen Entriegelungsbefehl (5) im Rundruf aussendet durch welchen die mindestens eine Neu-Slave-Einheit (2a-f) dazu programmiert wird, bei Empfang des Konfigurationsbefehls (6) in den Konfigurationsmodus versetzt zu werden. Verfahren nach Anspruch 5 oder 6, dadurch gekennzeichnet, dass die Master-Einheit (1) nach dem Übertragen der Soll-Feldbus-Adresse (9) einen Verriegelungsbefehl (10) an die mindestens eine Neu-Slave-Einheit (2a-f) überträgt durch welchen die mindestens eine Neu-Slave-Einheit (2a-f) dazu programmiert wird, den Konfigurationsbefehl (6) zu ignorieren. Verfahren nach einem der Ansprüche 1 bis 7, dadurch gekennzeichnet, dass die Antwortnachricht, vorzugsweise die Geräteidentifikationsdaten (8a), eine Herstellerinformation zur Angabe eines Herstellers der jeweiligen Neu- Slave-Einheit (2a-f), eine Seriennummer der jeweiligen Neu-Slave-Einheit (2a-f), eine Softwareversionsnummer zur Angabe einer Version einer Software auf der jeweiligen Neu-Slave-Einheit (2a-f), Produktionsdaten zur Angabe von Informationen über die Produktion der jeweiligen Neu-Slave-Einheit (2a-f) und/oder Spezifikationsdaten zur Spezifikation der jeweiligen Neu-Slave-Einheit (2a-f) umfasst. Verfahren nach einem der Ansprüche 1 bis 8, dadurch gekennzeichnet, dass eine Vielzahl von Neu-Slave-Einheiten (2a-f) an den Feldbus (3) angeschlossen wird, dass jeder Neu-Slave-Einheit (2a-f) der Vielzahl von Neu-Slave- Einheiten (2a-f) eine jeweilige Initial-Feldbus-Adresse (4a-f) einprogrammiert ist, über welche jeweilige Initial-Feldbus-Adresse (4a-f) die jeweilige Neu-Slave-Einheit (2a-f) ansprechbar ist, dass die Master-Einheit (1) die jeweilige Antwortnachricht von mindestens einer Neu-Slave-Einheit (2a-f) der Vielzahl von Neu-Slave-Einheiten (2a-f) empfängt. erfahren nach Anspruch 9, dadurch gekennzeichnet, dass wenn die Master- Einheit (1) die jeweilige Antwortnachricht von genau einer Neu-Slave-Einheit (2a-f) der Vielzahl von Neu-Slave-Einheiten (2a-f) empfängt die Master- Einheit (1) an die genau eine Neu-Slave-Einheit (2a-f) die Soll-Feldbus-Ad- resse (9) überträgt, wobei der genau einen Neu-Slave-Einheit (2a-f) die Soll-Feldbus-Adresse (9) anstelle der Initial-Feldbus-Adresse (4a-f) einprogrammiert wird, sodass die Neu-Slave-Einheit (2a-f) über die Soll-Feldbus- Adresse (9) ansprechbar ist, vorzugsweise, dass nach der Übertragung der Soll-Feldbus-Adresse (9) an die genau eine Neu-Slave-Einheit (2a-f) die Master-Einheit (1) eine nächste Adresse im Dynamik-Bereich abfragt. Verfahren nach Anspruch 9 oder 10, dadurch gekennzeichnet, dass wenn die Master-Einheit (1) auf eine Abfrage einer Adresse aus dem Dynamik- Bereich die jeweilige Antwortnachricht von mehr als einer Neu-Slave-Einheit (2a-f) der Vielzahl von Neu-Slave-Einheiten (2a-f) empfängt die Master-Einheit (1) eine nächste Adresse aus dem Dynamik-Bereich abfragt. Verfahren nach einem der Ansprüche 9 bis 11, dadurch gekennzeichnet, dass wenn die Master-Einheit (1) auf eine Abfrage einer Adresse aus dem Dynamik-Bereich die jeweilige Antwortnachricht von mehr als einer Neu- Slave-Einheit (2a-f) der Vielzahl von Neu-Slave-Einheiten (2a-f) empfängt die Master-Einheit (1), vorzugsweise nach im Wesentlichen vollständiger Abfrage des Dynamik-Bereichs, die mehr als eine Neu-Slave-Einheit (2a-f) in einen Konfigurationsmodus versetzt, sodass eine jeweilige Zufallsadresse aus dem Dynamik-Bereich als Initial-Feldbus-Adresse (4a-f) der jeweiligen mehr als einen Neu-Slave-Einheit (2a-f) einprogrammiert wird. Verfahren nach einem der Ansprüche 1 bis 12, dadurch gekennzeichnet, dass basierend auf der Antwortnachricht, vorzugsweise basierend auf den Geräteidentifikationsdaten (8a-c), aus einer Gerätedatenbank ein Zusatzinformationssatz ermittelt wird und die Neu-Slave-Einheit (2a-f) basierend auf dem Zusatzinformationssatz programmiert wird, vorzugsweise, dass ein Messbereich und/oder ein Kalibrierzyklus der Neu-Slave-Einheit (2a-f) basierend auf dem Zusatzinformationssatz programmiert wird. 22 erfahren zur Adresskonfiguration für ein Master/Slave-System über einen Feldbus (3) zur seriellen Datenübertragung, wobei eine Master-Einheit (1) an dem Feldbus angeschlossen ist, dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus (3) in einen Statik- Bereich und in einen Dynamik-Bereich unterteilt ist, dass eine Neu- Slave-Einheit (2a-f) an den Feldbus (3) angeschlossen wird, dass der Neu- Slave-Einheit (2a-f) eine jeweilige Initial-Feldbus-Adresse (4a-f) aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Adresse (4a-f) die Neu-Slave-Einheit (2a-f) jeweils ansprechbar ist, dass die Neu- Slave-Einheit (2a-f) auf eine Abfrage der Master-Einheit eine Antwortnachricht an die Master-Einheit (1) überträgt, dass die Neu-Slave-Einheit (2a-f) eine Soll-Feldbus-Adresse (9) aus dem Statik-Bereich von der Master-Einheit (1) empfängt und dass der Neu-Slave-Einheit (2a-f) die Soll-Feldbus- Adresse (9) anstelle der Initial-Feldbus-Adresse (4a-f) einprogrammiert wird sodass die Neu-Slave-Einheit (2a-f) über die Soll-Feldbus-Adresse (9) ansprechbar ist. Master-Einheit (1) für ein Master/Slave-System, welches Master/Slave-System einen Feldbus (3) zur seriellen Datenübertragung verwendet, wobei die Master-Einheit (1) an den Feldbus (3) anschließbar ist, dadurch gekennzeichnet, dass ein Zahlenbereich für Adressen von Slave-Einheiten an dem Feldbus (3) in einen Statik-Bereich und in einen Dynamik-Bereich unterteilt ist, dass die Master-Einheit (1) dazu eingerichtet ist, den Dynamik-Bereich der Adressen von Slave-Einheiten abzufragen, dass die Master-Einheit (1) dazu eingerichtet ist, auf die Abfrage eine jeweilige Antwortnachricht von der mindestens einen Neu-Slave-Einheit (2a-f) zu empfangen, dass die Master-Einheit (1) dazu eingerichtet ist, eine Soll-Feldbus-Adresse (9) aus dem Statik-Bereich an die mindestens eine Neu-Slave-Einheit (2a-f) zu übertragen, sodass der mindestens einen Neu-Slave-Einheit (2a-f) die Soll-Feld- bus-Adresse (9) anstelle der Initial-Feldbus-Adresse (4a-f) einprogrammiert wird und sodass die mindestens eine Neu-Slave-Einheit (2a-f) über die Soll- Feldbus-Adresse (9) ansprechbar ist. Master/Slave-System mit einem Feldbus (3) zur seriellen Datenübertragung dadurch gekennzeichnet, dass das Master/Slave-System eine an den 23 Claims Method for address configuration for a master/slave system via a fieldbus (3) for serial data transmission, a master unit (1) being connected to the fieldbus (3), characterized in that a number range for addresses of slave units is divided on the fieldbus (3) into a static area and a dynamic area, that at least one new slave unit (2a-f) is connected to the fieldbus (3), that the at least one new slave unit unit (2a-f) a respective initial fieldbus address (4a-f) from the dynamic range is programmed in, via which initial fieldbus address (4a-f) the at least one new slave unit (2a -f) can be addressed in each case that the master unit (1) queries the dynamic range of the addresses of slave units, that the master unit (1) responds to the query with a respective response message from the at least one new slave unit (2a-f) receives that the master unit (1) has a target fieldbus address (9). transmits the statics area to the at least one new slave unit (2a-f), so that the at least one new slave unit (2a-f) receives the desired fieldbus address (9) instead of the initial fieldbus -Address (4a-f) is programmed and so that the at least one new slave unit (2a-f) can be addressed via the desired fieldbus address (9). The method of claim 1, characterized in that polling the dynamic range comprises sending a respective polling message per address in the dynamic range, the respective polling message being addressed to a single address in the dynamic range. Method according to Claim 1 or 2, characterized in that the response message includes device identification data (8a-c), preferably that the device identification data (8a-c) includes device type information for specifying a device type of the respective new slave unit (2a-f). . Method according to one of Claims 1 to 3, characterized in that the master unit (1) queries the dynamic range of the addresses of slave units by successively querying a, in particular continuous, series of preferably ascending or descending addresses. Method according to one of Claims 1 to 4, characterized in that before querying the dynamic range, the master unit (1) broadcasts a configuration command (6) by which the at least one new slave unit (2a-f) is placed in a configuration mode, preferably that the new slave units (2a-f) in the configuration mode, a respective random address from the dynamic range is programmed as an initial fieldbus address (4a-f). Method according to Claim 5, characterized in that before sending out the configuration command (6), the master unit (1) sends out an unlocking command (5) in a broadcast, through which the at least one new slave unit (2a-f) is programmed to do so to be placed in configuration mode upon receipt of the configuration command (6). Method according to Claim 5 or 6, characterized in that the master unit (1) transmits a locking command (10) to the at least one new slave unit (2a-f) after the desired fieldbus address (9) has been transmitted by which the at least one new slave unit (2a-f) is programmed to ignore the configuration command (6). Method according to one of Claims 1 to 7, characterized in that the response message, preferably the device identification data (8a), manufacturer information for specifying a manufacturer of the respective new slave unit (2a-f), a serial number of the respective new slave unit (2a-f), a software version number to indicate a version of a software on the respective new slave unit (2a-f), production data to indicate information about the production of the respective new slave unit (2a-f) and /or includes specification data for specifying the respective new slave unit (2a-f). The method according to any one of claims 1 to 8, characterized in that a plurality of new slave units (2a-f) is connected to the fieldbus (3), that each new slave unit (2a-f) of the plurality of new slave units (2a-f) a respective initial fieldbus address (4a-f) is programmed via which respective initial fieldbus address (4a-f) the respective new slave unit (2a-f) is addressable that the master unit (1) the receives respective response message from at least one new slave unit (2a-f) of the plurality of new slave units (2a-f). experienced according to claim 9, characterized in that when the master unit (1) receives the respective response message from exactly one new slave unit (2a-f) of the plurality of new slave units (2a-f), the master Unit (1) to which precisely one new slave unit (2a-f) transmits the target fieldbus address (9), with precisely one new slave unit (2a-f) receiving the target fieldbus address Address (9) is programmed instead of the initial fieldbus address (4a-f), so that the new slave unit (2a-f) can be addressed via the desired fieldbus address (9), preferably after the transmission the target fieldbus address (9) to which exactly one new slave unit (2a-f) the master unit (1) requests a next address in the dynamic range. Method according to Claim 9 or 10, characterized in that if the master unit (1) responds to a request for an address from the dynamic range, the respective response message from more than one new slave unit (2a-f) of the plurality of new -Slave units (2a-f) receives the master unit (1) requests a next address from the dynamic range. The method according to any one of claims 9 to 11, characterized in that when the master unit (1) to a query of an address from the dynamic range, the respective response message from more than one new slave unit (2a-f) of the plurality from new slave units (2a-f) the master unit (1) receives, preferably after substantially complete interrogation of the dynamic range, which puts more than one new slave unit (2a-f) into a configuration mode, so that a respective random address from the dynamic range is programmed as the initial fieldbus address (4a-f) of the respective more than one new slave unit (2a-f). Method according to one of Claims 1 to 12, characterized in that based on the response message, preferably based on the device identification data (8a-c), an additional information record is determined from a device database and the new slave unit (2a-f) based on the additional information record is programmed, preferably that a measuring range and/or a calibration cycle of the new slave unit (2a-f) is programmed based on the additional information record. 22 learn about the address configuration for a master/slave system via a fieldbus (3) for serial data transmission, with a master unit (1) being connected to the fieldbus, characterized in that a number range for addresses of slave units on the fieldbus (3) is divided into a static area and a dynamic area, that a new slave unit (2a-f) is connected to the fieldbus (3), that the new slave unit (2a-f) a respective initial fieldbus address (4a-f) from the dynamic range is programmed, via which initial fieldbus address (4a-f) the new slave unit (2a-f) can be addressed in each case, that the new - Slave unit (2a-f) transmits a response message to the master unit (1) in response to a query from the master unit, that the new slave unit (2a-f) has a target fieldbus address (9). static area from the master unit (1) and that the new slave unit (2a-f) receives the target fieldbus address (9) instead of the initial fieldbus Address (4a-f) is programmed so that the new slave unit (2a-f) can be addressed via the target fieldbus address (9). Master unit (1) for a master/slave system, which master/slave system uses a field bus (3) for serial data transmission, the master unit (1) being connectable to the field bus (3), characterized in that that a range of numbers for addresses of slave units on the fieldbus (3) is divided into a static range and a dynamic range, that the master unit (1) is set up to limit the dynamic range of the addresses of slave Units query that the master unit (1) is set up to receive a respective response message from the at least one new slave unit (2a-f) to the query that the master unit (1) is set up to to transmit a target fieldbus address (9) from the statics area to the at least one new slave unit (2a-f), so that the at least one new slave unit (2a-f) receives the target field bus address (9) is programmed instead of the initial fieldbus address (4a-f) and so that at least one new Slave unit (2a-f) can be addressed via the target fieldbus address (9). Master / slave system with a fieldbus (3) for serial data transmission, characterized in that the master / slave system to the 23
Feldbus angeschlossene Mastereinheit (1) nach Anspruch 14 und eine an den Feldbus (3) angeschlossene Neu-Slave-Einheit (2a-f) aufweist, dass der Neu-Slave-Einheit (2a-f) eine jeweilige Initial-Feldbus-Adresse (4a-f) aus dem Dynamik-Bereich einprogrammiert ist, über welche Initial-Feldbus-Ad- resse (4a-f) die Neu-Slave-Einheit (2a-f) jeweils ansprechbar ist, dass die Neu-Slave-Einheit (2a-f) dazu eingerichtet ist, auf eine Abfrage der Master- Einheit (1) eine Antwortnachricht an die Master-Einheit (1) zu übertragen, dass die Neu-Slave-Einheit (2a-f) dazu eingerichtet ist, eine Soll-Feldbus- Adresse (9) aus dem Statik-Bereich von der Master-Einheit (1) zu empfangen und dass die Neu-Slave-Einheit (2a-f) dazu eingerichtet ist, dass die Soll-Feldbus-Adresse (9) anstelle der Initial-Feldbus-Adresse (4a-f) einprogrammiert wird sodass die Neu-Slave-Einheit (2a-f) über die Soll-Feldbus- Adresse (9) ansprechbar ist. Fieldbus-connected master unit (1) according to Claim 14 and a new slave unit (2a-f) connected to the fieldbus (3) has that the new slave unit (2a-f) has a respective initial fieldbus address ( 4a-f) from the dynamic range is programmed, via which initial fieldbus address (4a-f) the new slave unit (2a-f) can be addressed, that the new slave unit (2a -f) is set up to transmit a response message to the master unit (1) on a query from the master unit (1) that the new slave unit (2a-f) is set up to use a target fieldbus - To receive address (9) from the statics area of the master unit (1) and that the new slave unit (2a-f) is set up so that the target fieldbus address (9) instead of the initial -Fieldbus address (4a-f) is programmed so that the new slave unit (2a-f) can be addressed via the target fieldbus address (9).
EP21831011.8A 2020-12-18 2021-12-07 Method for address configuration for a master-slave system Pending EP4264889A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102020134167.9A DE102020134167A1 (en) 2020-12-18 2020-12-18 Procedure for address configuration for a master/slave system
PCT/EP2021/084565 WO2022128618A1 (en) 2020-12-18 2021-12-07 Method for address configuration for a master-slave system

Publications (1)

Publication Number Publication Date
EP4264889A1 true EP4264889A1 (en) 2023-10-25

Family

ID=79024719

Family Applications (1)

Application Number Title Priority Date Filing Date
EP21831011.8A Pending EP4264889A1 (en) 2020-12-18 2021-12-07 Method for address configuration for a master-slave system

Country Status (5)

Country Link
US (1) US20240056418A1 (en)
EP (1) EP4264889A1 (en)
CN (1) CN116636198A (en)
DE (1) DE102020134167A1 (en)
WO (1) WO2022128618A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2055991C (en) * 1991-01-02 1997-04-22 John Harris Blevin Address management for remote terminals in digital loop transmission systems
JP2959403B2 (en) * 1994-07-25 1999-10-06 松下電工株式会社 Automatic ID assignment method and apparatus for network equipment
US8190697B2 (en) 2009-05-20 2012-05-29 Square D Company Automated configuration of device communication settings
US8700747B2 (en) * 2011-04-19 2014-04-15 Schneider Electric It Corporation System and method for automatically addressing devices in a multi-drop network
US9128811B2 (en) * 2012-06-26 2015-09-08 Intel Corporation Assigning addresses to devices on an interconnect
US10528016B2 (en) * 2017-02-07 2020-01-07 Johnson Controls Technology Company Building management system with automatic remote server query for hands free commissioning and configuration
US11316711B2 (en) * 2020-07-29 2022-04-26 Astec International Limited Systems, devices and methods for automatically addressing serially connected slave devices

Also Published As

Publication number Publication date
WO2022128618A1 (en) 2022-06-23
US20240056418A1 (en) 2024-02-15
CN116636198A (en) 2023-08-22
DE102020134167A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
EP0485878B1 (en) Method for determining the detectors' configuration of an alarm system
DE102018125894B4 (en) Method for resolving an address conflict in the Modbus RTU standard protocol
EP3669550B1 (en) Method for operating a sensor assembly in a motor vehicle on the basis of a dsi protocol
WO2002015452A2 (en) Address assignment method for at least one bus device that has recently been connected to a bus system
EP3131270B1 (en) Network configuration and method for allocating network addresses to ventilator in a network
DE102018133097B4 (en) Burning device for burning several tire pressure sensors and method of burning
EP2759096A1 (en) Method and apparatus for coupling a first sensor to at least one second sensor
EP2733910B1 (en) BUS system, method for operating a BUS system and fluid system with a BUS system
EP2825921A1 (en) Control device for controlling safety-critical processes in an automated plant and method for parameterizing the control device
EP4264889A1 (en) Method for address configuration for a master-slave system
DE102006005805A1 (en) Automatic configuration method for network, involves addressing default addresses containing field devices at same time by central unit, where field devices contain identical default addresses
WO2011072958A1 (en) Method for allocating a polling address to a field device
WO2005050924A1 (en) Method for serial allocation of addresses and monitoring the address allocation in a bus system
WO2002013450A1 (en) Communication method
DE10032533A1 (en) Method and device for monitoring and controlling machines or mechanical systems
DE102022126354B3 (en) Method for automatic address assignment in an AS-I master-slave bus system
DE3032619C2 (en) Telecontrol device with at least one central station and with further stations
DE102012203958A1 (en) Method for operating a network
EP3484127A1 (en) Method and device for the secure assignment of addresses to modules in a network, addressing device, computer program product and industrial plant
DE102012106449A1 (en) Storage of a target address in a device of a control system
EP2875438B1 (en) Registration method and bus communication device
DE102015121290A1 (en) Bus arrangement with a subscriber with modules and method for operating a bus arrangement
EP0191890A2 (en) Apparatus for decoding code words
DE102018123819A1 (en) Bus subscriber devices belonging to the bus system and method for determining and avoiding address collisions
EP3462711A1 (en) Method and device for the secure assignment of addresses to modules in a network, addressing device, computer program product and industrial plant

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: UNKNOWN

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20230621

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

DAV Request for validation of the european patent (deleted)
DAX Request for extension of the european patent (deleted)