DE102017208818A1 - Initialization of data bus users - Google Patents

Initialization of data bus users Download PDF

Info

Publication number
DE102017208818A1
DE102017208818A1 DE102017208818.4A DE102017208818A DE102017208818A1 DE 102017208818 A1 DE102017208818 A1 DE 102017208818A1 DE 102017208818 A DE102017208818 A DE 102017208818A DE 102017208818 A1 DE102017208818 A1 DE 102017208818A1
Authority
DE
Germany
Prior art keywords
data
bus
data bus
data packet
subscriber
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
DE102017208818.4A
Other languages
German (de)
Inventor
Daniel JEROLM
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.)
Wago Verwaltungs GmbH
Original Assignee
Wago Verwaltungs 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 Wago Verwaltungs GmbH filed Critical Wago Verwaltungs GmbH
Priority to DE102017208818.4A priority Critical patent/DE102017208818A1/en
Priority to CN201880034529.1A priority patent/CN110663225B/en
Priority to EP18726426.2A priority patent/EP3632051A1/en
Priority to PCT/EP2018/062941 priority patent/WO2018215295A1/en
Publication of DE102017208818A1 publication Critical patent/DE102017208818A1/en
Priority to US16/693,964 priority patent/US11736318B2/en
Pending legal-status Critical Current

Links

Images

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/40169Flexible bus arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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/42Loop networks
    • H04L12/423Loop 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

Ein Verfahren zum Betrieb eines Datenbusteilnehmers (7a, 7b, ..., 7n) eines Lokalbusses (6), insbesondere eines Ringbusses ist beschrieben, das Verfahren aufweisend Empfangen eines ersten Datenpakets (17) über den Lokalbus (6), wobei das erste Datenpaket (17) eine Adresse (19) des Datenbusteilnehmers (7a, 7b, ..., 7n) an den es gerichtet ist und zumindest eine Instruktionsliste (27a, 27b, 27n) mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten (25a, 25b, 25c) aufweist, Empfangen eines zweiten Datenpakets (22) über den Lokalbus (6), wobei das zweite Datenpaket (24) Prozessdaten (25a, 25b, 25c) aufweist und Ausführen von Instruktionen der zumindest einen Instruktionsliste (27a, 27b, 27n) zum Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c). Des Weiteren ist ein entsprechender Datenbusteilnehmer (7a, 7b, ..., 7n) und ein Lokalbusmaster beschrieben.A method for operating a data bus subscriber (7a, 7b,..., 7n) of a local bus (6), in particular a ring bus, is described, the method comprising receiving a first data packet (17) via the local bus (6), wherein the first data packet (17) an address (19) of the data bus subscriber (7a, 7b, ..., 7n) to which it is addressed and at least one instruction list (27a, 27b, 27n) having a set of instructions for processing process data (25a, 25b , 25c), receiving a second data packet (22) via the local bus (6), the second data packet (24) having process data (25a, 25b, 25c) and executing instructions of the at least one instruction list (27a, 27b, 27n). for processing the received process data (25a, 25b, 25c). Furthermore, a corresponding data bus subscriber (7a, 7b,..., 7n) and a local bus master are described.

Description

Gebiet der ErfindungField of the invention

Die Erfindung betrifft im Allgemeinen die Initialisierung von Datenbusteilnehmern und im Speziellen die Programmierung von Datenbusteilnehmern eines Ringbusses mit Hilfe von Instruktionslisten.The invention generally relates to the initialization of data bus subscribers, and more particularly to the programming of data bus subscribers of a ring bus by means of instruction lists.

Stand der TechnikState of the art

Datenbusteilnehmer finden sich zumeist in Automatisierungsanlagen. Ein Datenbusteilnehmer dient zum Steuern oder Überwachen eines Prozesses einer Automatisierungsanlage. Dies wird bewerkstelligt durch eine Ausgabe von Steuersignalen z.B. an Aktoren und/oder durch einen Empfang von Messsignalen z.B. von Sensoren der Automatisierungsanlage.Data bus users are usually found in automation systems. A data bus subscriber serves to control or monitor a process of an automation system. This is accomplished by an output of control signals e.g. on actuators and / or by receiving measurement signals, e.g. of sensors of the automation system.

Automatisierungsanlagen werden insbesondere zur Steuerung von industriellen Anlagen, Gebäuden sowie von Verkehrsmitteln eingesetzt. Für die Steuerung einer Automatisierungsanlage sind zumeist mehrere Sensoren und Aktoren notwendig. Diese überwachen und steuern den von der Anlage ausgeführten Prozess. Die unterschiedlichen Sensoren und Aktoren einer Automatisierungsanlage werden dabei häufig auch als Automatisierungsgeräte bezeichnet.Automation systems are used in particular for the control of industrial plants, buildings and means of transport. For the control of an automation system usually several sensors and actuators are necessary. These monitor and control the process performed by the plant. The different sensors and actuators of an automation system are often referred to as automation devices.

Diese Automatisierungsgeräte können entweder direkt mit einer Steuerung der Automatisierungsanlage verbunden werden, oder können zunächst mit Ein- und Ausgangsmodulen, die häufig auch als E/A-Module bezeichnet werden, verbunden werden. Diese können dann wiederum direkt mit der Steuerung verbunden werden. Die Automatisierungsgeräte können dabei entweder direkt in den E/A-Modulen integriert sein oder können mit diesen über Kabel oder kabellos verbunden sein.These automation devices can either be connected directly to a control system of the automation system, or can first be connected to input and output modules, which are often referred to as I / O modules. These can in turn be connected directly to the controller. The automation devices can either be integrated directly in the I / O modules or can be connected to them via cable or wirelessly.

Die Steuerung einer Automatisierungsanlage wird in der Regel mit Hilfe einer oder mehrerer speicherprogrammierbaren Steuerungen, SPS, bewerkstelligt. Die SPSs können dabei hierarchisch oder dezentral in einer Automatisierungsanlage angeordnet sein. Dabei gibt es bei den SPS unterschiedliche Leistungsklassen, so dass diese je nach Rechen- und Speicherkapazität unterschiedliche Steuerungen und Regelungen übernehmen können. Eine SPS hat im einfachsten Fall Eingänge, Ausgänge, ein Betriebssystem (Firmware) und eine Schnittstelle, über die ein Anwenderprogramm geladen werden kann. Das Anwenderprogramm legt fest, wie die Ausgänge in Abhängigkeit von den Eingängen geschaltet werden sollen. Dabei können die Eingänge und Ausgänge mit den Automatisierungsgeräten und/oder den E/A-Modulen verbunden werden und anhand der im Anwenderprogramm hinterlegten Logik kann der Prozess, der von der Automatisierungsanlage durchgeführt wird, überwacht beziehungsweise gesteuert werden. Dabei wird die Überwachung des Prozesses durch die Sensoren bewerkstelligt und die Steuerung des Prozesses durch die Aktoren. Die Steuerung kann auch als zentrale Steuerung oder Zentraleinheit bezeichnet werden und übernimmt zumindest für ein mit der Steuerung verbundenes Automatisierungsgerät oder E/A-Modul die Steuerung.The control of an automation system is usually accomplished with the help of one or more programmable logic controllers, PLC. The PLCs can be arranged hierarchically or decentrally in an automation system. There are different performance classes for the PLC, so that they can take over different controls and regulations depending on the computing and storage capacity. In the simplest case, a PLC has inputs, outputs, an operating system (firmware) and an interface via which a user program can be loaded. The user program defines how the outputs are to be switched depending on the inputs. The inputs and outputs can be connected to the programmable controllers and / or the I / O modules, and the logic stored in the user program can be used to monitor or control the process performed by the automation system. In this case, the monitoring of the process is accomplished by the sensors and the control of the process by the actuators. The controller can also be referred to as a central controller or central unit and assumes control of at least one automation device or I / O module connected to the controller.

Allerdings ist das direkte Verbinden der Automatisierungsgeräte mit der zumindest einen Steuerung oder der E/A-Module mit der zumindest einen Steuerung in Form einer parallelen Verdrahtung, d.h. von jedem Automatisierungsgerät oder jedem E/A-Modul wird je eine Leitung zur übergeordneten Steuerung verlegt, sehr aufwendig. Gerade bei steigendem Automatisierungsgrad einer Automatisierungsanlage wächst der Verkabelungsaufwand bei paralleler Verdrahtung. Dies ist mit großem Aufwand bei der Projektierung, Installation, Inbetriebnahme und Wartung verbunden.However, the direct connection of the automation devices to the at least one controller or the I / O modules to the at least one controller in the form of a parallel wiring, i. Each automation device or each I / O module relocates one line to the higher-level control, which is very expensive. Especially with increasing degree of automation of an automation system, the cabling effort increases with parallel wiring. This is associated with great effort in the design, installation, commissioning and maintenance.

Daher werden heutzutage in der Automatisierungstechnik zumeist Bussysteme eingesetzt, mit denen die Automatisierungsgeräte beziehungsweise die E/A-Module an die Steuerung angeschlossen werden können. Die Teilnehmer eines Bussystems werden auch als Busteilnehmer bezeichnet. Weil auf dem Bussystem Daten ausgetauscht werden, werden die Busteilnehmer auch häufig als Datenbusteilnehmer bezeichnet. Um die Anbindung der einzelnen Automatisierungsgeräte beziehungsweise der E/A-Module mit dem Bussystem noch weiter zu vereinfachen, werden heutzutage häufig einzelne Gruppen von Automatisierungsgeräten beziehungsweise E/A-Modulen mit Hilfe eines spezialisierten Lokalbusses zunächst untereinander zu einem Lokalbussystem verbunden und anschließend wird zumindest ein Teilnehmer dieses Lokalbusses mit dem Bussystem verbunden, welches mit der Steuerung verbunden ist. For this reason, automation systems usually use bus systems today, with which the automation devices or the I / O modules can be connected to the controller. The subscribers of a bus system are also referred to as bus subscribers. Because data is exchanged on the bus system, bus subscribers are also often referred to as data bus subscribers. In order to simplify the connection of the individual automation devices or the I / O modules with the bus system even more, nowadays individual groups of automation devices or I / O modules with the help of a specialized local bus are initially connected to each other to a local bus system and then at least one Subscriber of this local bus connected to the bus system, which is connected to the controller.

Dabei kann sich das Lokalbussystem von dem Bussystem unterscheiden, welches eingesetzt wird, um die Verbindung mit der Steuerung zu realisieren.In this case, the local bus system may differ from the bus system, which is used to realize the connection with the controller.

Der mit dem Bussystem der Steuerung verbundene Teilnehmer einer Gruppe von Lokalbusteilnehmern wird häufig auch als Lokalbusmaster bezeichnet. Alternativ wird auch die Bezeichnung Kopfstation des Lokalbussystems verwendet. Dieser Lokalbusmaster kann gegenüber anderen Lokalbusteilnehmer weitere Logiken, Schaltungen oder Funktionalitäten beinhalten, die zur Anbindung an das Bussystem der Steuerung notwendig sind. Auch kann der Lokalbusmaster selbst eine SPS beinhalten. Auch kann dieser Teilnehmer Logiken und Schaltungen zur Umsetzung zwischen den zwei Bussystemen aufweisen. Der Lokalbusmaster kann daher auch als Gateway oder Busumsetzer ausgebildet sein und sorgt für eine Umsetzung der im Format des einen Bussystems vorliegenden Daten in das Format des Lokalbussystems und umgekehrt. Zumeist aber nicht zwingend, ist der Lokalbusmaster auf die Anbindung des Lokalbusses an den übergeordneten Bus spezialisiert.The subscriber of a group of local bus subscribers connected to the bus system of the controller is often referred to as a local bus master. Alternatively, the term headend of the local bus system is used. In comparison to other local bus subscribers, this local bus master can contain further logic, circuits or functionalities which are necessary for connection to the bus system of the controller. Also, the local bus master itself may include a PLC. Also, this participant can logics and circuits to implement between the two bus systems exhibit. The local bus master can therefore also be designed as a gateway or bus converter and ensures conversion of the data present in the format of the one bus system into the format of the local bus system and vice versa. In most cases, however, not mandatory, the local bus master is specialized in the connection of the local bus to the parent bus.

Die zum Einsatz kommenden Lokalbusse sind zumeist auf die speziellen Einsatzerfordernisse der Automatisierungsgeräte beziehungsweise E/A-Module abgestimmt oder berücksichtigen deren spezielle Hardwareausgestaltung. Dabei bilden die Gruppen an Automatisierungsgeräten beziehungsweise E/A-Modulen des Lokalbussystems zumeist eine Untergruppe der Automatisierungsanlage zur Ausführung einer speziellen Aufgabe in dem von der Automatisierungsanlage ausgeführten Prozess. Die auf den Bussen ausgetauschten Daten für den Prozess werden auch häufig als Lokalbusdaten oder Prozessdaten bezeichnet, weil diese Daten Informationen zur Regelung beziehungsweise Steuerung des von der Automatisierungsanlage ausgeführten Prozesses beinhaltet. Diese Daten können dabei unter anderem Messdaten, Steuerungsdaten, Zustandsdaten und/oder andere Informationen umfassen. Entsprechend des verwendeten Busprotokolls können diesen Daten andere Daten vorangestellt (engl. Header) oder angehängt (engl. Tail) sein. Diese anderen Daten können Informationen bezüglich der Daten beinhalten, oder Informationen bezüglich einer internen Kommunikation auf dem Lokalbus beinhalten. Hierbei ist eine Vielzahl von unterschiedlichen Informationen bekannt, die entsprechend des verwendeten Busprotokolls den Daten vorangestellt oder angefügt werden können.The local buses used are mostly tailored to the specific application requirements of the automation devices or I / O modules or take into account their special hardware design. The groups of automation devices or I / O modules of the local bus system usually form a subgroup of the automation system for performing a specific task in the process performed by the automation system. The data exchanged on the buses for the process are also often referred to as local bus data or process data, because this data includes information for controlling or controlling the executed by the automation system process. These data may include, among other things, measurement data, control data, status data and / or other information. Depending on the bus protocol used, this data may be preceded by other data (English: header) or appended (tail). These other data may include information regarding the data or include information regarding internal communication on the local bus. Here, a variety of different information is known, which can be preceded or added to the data according to the bus protocol used.

Ein Beispiel eines Lokalbusses ist ein Ringbus, der eine spezialisierte Form des Lokalbusses darstellt, wie zum Beispiel aus US 5,472,347 A bekannt. In einem Ringbus sind die Datenbusteilnehmer, zum Beispiel die Automatisierungsgeräte beziehungsweise E/A-Module, jeweils mit ihren direkt benachbarten Datenbusteilnehmern verbunden und Daten werden der Reihe nach von einem zum anderen Datenbusteilnehmer weitergeleitet. Es werden also nicht allen Datenbusteilnehmern gleichzeitig die Daten zugesandt, sondern der Reihe nach, wobei ein Datenbusteilnehmer von seinem vorgelagerten Datenbusteilnehmer Daten erhält und Daten an seinen nachgelagerten Datenbusteilnehmer weiterleitet. Zwischen dem Erhalt der Daten und der Weiterleitung kann der Datenbusteilnehmer die erhaltenen Daten verarbeiten. Wenn die Daten den letzten Datenbusteilnehmer in der Reihe erreicht haben, so werden die Daten vom letzten Datenbusteilnehmer wieder der Reihe nach zurück an den ersten Datenbusteilnehmer zurückgeleitet. Das Zurückleiten kann dabei entweder durch alle Datenbusteilnehmer geschehen oder an diesen vorbei mit Hilfe einer Bypassleitung. Der Ringbus hat also einen Abwärtsstrom und Aufwärtsstrom von Daten. Die Daten in einem Ringbus werden meist in Form von Datenpaketen übertragen, die alle Datenbusteilnehmer durchlaufen.An example of a local bus is a ring bus, which is a specialized form of local bus, such as out US 5,472,347 A known. In a ring bus, the data bus users, for example the automation devices or I / O modules, are each connected to their directly adjacent data bus users and data is forwarded in succession from one to the other data bus user. Thus, not all data bus subscribers are sent the data at the same time, but in turn, with a data bus subscriber receiving data from his upstream data bus subscriber and forwarding data to his downstream data bus subscriber. Between receiving the data and forwarding, the data bus user can process the received data. When the data has reached the last data bus subscriber in the series, the data from the last data bus subscriber is returned back to the first data bus subscriber in turn. The return can be done either by all data bus participants or past them with the help of a bypass line. So the ring bus has a down stream and up stream of data. The data in a ring bus are usually transmitted in the form of data packets that pass through all data bus users.

In einer derartigen Ringbusanordnung oder auch in einem anderen Lokalbus ist es aufwendig die Datenbusteilnehmer zu programmieren. Für die Programmierung der Datenbusteilnehmer muss beispielsweise die Übertragung auf dem Bus unterbrochen werden, oder der Datenbusteilnehmer muss über eine externe Schnittstelle programmiert werden, wobei der Datenbusteilnehmer in dieser Zeit nicht an der Kommunikation auf dem Lokalbus teilnehmen kann.In such a ring bus arrangement or in another local bus, it is complicated to program the data bus users. To program the data bus users, for example, the transmission on the bus must be interrupted or the data bus user must be programmed via an external interface, whereby the data bus user can not participate in the communication on the local bus during this time.

Ausgehend hiervon ist es die Aufgabe der vorliegenden Erfindung, ein verbessertes Verfahren, einen verbesserten Datenbusteilnehmer sowie einen Lokalbusmaster bereitzustellen, mit dem eine Programmierung der Datenbusteilnehmer auch während des Betriebs des Lokalbusses möglich ist, so dass der Datenbusteilnehmer unmittelbar nach der Programmierung während des Betriebs des Lokalbusses Prozessdaten verarbeiten kann.Based on this, it is the object of the present invention to provide an improved method, an improved data bus subscriber and a local bus master, with the programming of the data bus participants is also possible during operation of the local bus, so that the data bus user immediately after programming during operation of the local bus Process data can process.

Zusammenfassung der ErfindungSummary of the invention

Diese Aufgabe wird mit einem Verfahren und einem Datenbusteilnehmer sowie einem Verfahren und einem Lokalbusmaster entsprechend der unabhängigen Ansprüche gelöst. Vorteilhafte Ausführungsformen sind in den Unteransprüchen beschrieben.This object is achieved by a method and a data bus subscriber as well as a method and a local bus master according to the independent claims. Advantageous embodiments are described in the subclaims.

Das erfindungsgemäße Verfahren zum Betrieb eines Datenbusteilnehmers eines Lokalbusses, insbesondere eines Ringbusses, weist die Schritte auf von Empfangen eines ersten Datenpakets über den Lokalbus, wobei das erste Datenpaket eine Adresse des Datenbusteilnehmers aufweist an den es gerichtet ist und zumindest eine Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten. Gerichtet in diesem Fall bedeutet, dass die in dem Datenpaket enthaltene Instruktionsliste für einen bestimmten Datenbusteilnehmer im Lokalbus bestimmt ist. Die Instruktionen der Instruktionsliste können unterschiedlichste Verarbeitungsschritte vorgeben, die mit den Prozessdaten durchgeführt werden sollen. Die zumindest eine Instruktionsliste enthält dabei beispielsweise Instruktionen, die ein Regelwerk zur Verarbeitung der Prozessdaten vorgeben. Das Regelwerk definiert beispielsweise welche Prozessdaten von einem Datenbusteilnehmer aus einem auf dem Lokalbus durchlaufenden Datenstrom selektiert werden sollen, welche gelesen werden sollen, oder an welchen Stellen vom Datenbusteilnehmer Prozessdaten geschrieben werden sollen, und/oder welche Prozessdaten der Datenbusteilnehmer auf andere Art und Weise manipulieren soll. Die Instruktionslisten definieren dementsprechend ein Verhalten des Datenbusteilnehmers in Bezug auf die zu verarbeitenden Prozessdaten. Der Datenbusteilnehmer an den die Instruktionsliste gerichtet ist, kann die Instruktionsliste in einem Speicher speichern und die Instruktionsliste zur Verarbeitung von Prozessdaten zu einem späteren Zeitpunkt verwenden. Dazu kann die Instruktionsliste derart gespeichert werden, dass diese gezielt auffindbar ist. Das Speichern kann dabei alle Arten des Vorhaltens der Instruktionsliste umfassen. Es ist dabei nur von Bedeutung, dass der Datenbusteilnehmer Zugriff auf die empfangene zumindest eine Instruktionsliste hat, d.h. Zugriff auf den Speicher hat. Entsprechend kann die zumindest eine Instruktionsliste in dem Datenbusteilnehmer selbst gespeichert werden, beispielsweise in einem Speicher des Datenbusteilnehmers, oder in einem mit dem Datenbusteilnehmer verbundenen Speicher. Die Verbindung zwischen Datenbusteilnehmer und Speicher kann dabei kabelgebunden oder kabellos geschehen. Auch ist denkbar, dass der Speicher ein Zusatzmodul ist, welches mit dem Datenbusteilnehmer verbunden werden kann. Der Speicher kann beliebig ausgestaltet sein.The method according to the invention for operating a data bus subscriber of a local bus, in particular of a ring bus, comprises the steps of receiving a first data packet via the local bus, wherein the first data packet has an address of the data bus subscriber to which it is addressed and at least one instruction list with a set of instructions for processing process data. Directed in this case means that the instruction list contained in the data packet is intended for a particular data bus subscriber in the local bus. The instructions of the instruction list can specify a very wide variety of processing steps that are to be carried out with the process data. The at least one instruction list contains, for example, instructions that specify a set of rules for processing the process data. The set of rules defines, for example, which process data are to be selected by a data bus subscriber from a data stream passing through on the local bus, which data are to be read, or at which points data is to be written by the data bus subscriber, and / or which process data To manipulate data bus users in other ways. The instruction lists accordingly define a behavior of the data bus user with respect to the process data to be processed. The data bus subscriber to which the instruction list is directed can store the instruction list in a memory and use the instruction list for processing process data at a later time. For this purpose, the instruction list can be stored in such a way that it can be found specifically. The storage can include all types of holding the instruction list. It is only important that the data bus subscriber has access to the received at least one instruction list, ie has access to the memory. Accordingly, the at least one instruction list may be stored in the data bus subscriber itself, for example in a memory of the data bus subscriber, or in a memory connected to the data bus subscriber. The connection between data bus users and memory can be wired or wireless. It is also conceivable that the memory is an additional module which can be connected to the data bus subscriber. The memory can be configured as desired.

Das erste Datenpaket kann auch als Kommunikationsdatenpaket bezeichnet werden und vorzugsweise keine Prozessdaten enthalten. Vorteilhafterweise enthält ein Kommunikationsdatenpaket Daten insbesondere zum Programmieren und/oder zum Steuern und/oder zum Überwachen und/oder zum Identifizieren zumindest eines Datenbusteilnehmers. Vorteilhafterweise weist das Kommunikationsdatenpaket eine Adresse auf, die mindestens einem Datenbusteilnehmer zugeordnet ist. Vorzugsweise ist der Datenbusteilnehmer eingerichtet, die Adresse auszuwerten und das Kommunikationsdatenpaket zu lesen, so dass der Datenbusteilnehmer mit den in dem Kommunikationsdatenpaket vorhandenen Informationen, beispielsweise der Instruktionsliste programmiert werden kann beziehungsweise diese Informationen speichert und damit programmiert ist.The first data packet may also be referred to as a communication data packet and preferably does not contain any process data. Advantageously, a communication data packet contains data, in particular for programming and / or for controlling and / or for monitoring and / or for identifying at least one data bus user. Advantageously, the communication data packet has an address which is assigned to at least one data bus subscriber. Preferably, the data bus subscriber is set up to evaluate the address and to read the communication data packet so that the data bus subscriber can be programmed with the information present in the communication data packet, for example the instruction list, or stores and thus programs this information.

Weiter weist das erfindungsgemäße Verfahren das Empfangen eines zweiten Datenpakets über den Lokalbus auf, wobei das zweite Datenpaket Prozessdaten aufweist. Diese empfangenen Prozessdaten lassen sich dann durch Ausführen von Instruktionen der zumindest einen im ersten Datenpaket empfangenen Instruktionsliste verarbeiten.Furthermore, the method according to the invention comprises receiving a second data packet via the local bus, wherein the second data packet has process data. These received process data can then be processed by executing instructions of the at least one instruction list received in the first data packet.

Das zweite Datenpaket kann auch als Prozessdatenpaket bezeichnet werden und enthält Prozessdaten, die von den Datenbusteilnehmern des Lokalbusses gesendet und/oder empfangen werden. Vorteilhafterweise weist das Prozessdatenpaket keine Adresse zur Übertragung der Prozessdaten an einen oder von einem Datenbusteilnehmer im Lokalbus auf. In dem Prozessdatenpaket sind die Prozessdaten beispielsweise derart angeordnet, dass Datenbusteilnehmer auf Grund der jeweiligen Position der Prozessdaten in dem Prozessdatenpaket, beispielsweise ein oder mehrere Bits innerhalb eines zugeordneten zusammenhängenden Datenblocks (1 Byte), diejenigen dem jeweiligen Datenbusteilnehmer zugehörigen Prozessdaten erkennen können. Vorteilhafterweise weist das Prozessdatenpaket eine Kennung (IDE) auf, die dem Typ des Datenpakets, also dem Prozessdatenpaket zugeordnet und durch den Datenbusteilnehmer identifizierbar ist. Die Prozessdaten können auch als Lokalbusdaten bezeichnet werden.The second data packet may also be referred to as a process data packet and contains process data that is sent and / or received by the data bus users of the local bus. Advantageously, the process data packet has no address for transmitting the process data to or from a data bus subscriber in the local bus. In the process data packet, the process data are arranged, for example, in such a way that data bus users can recognize the process data associated with the respective data bus subscriber based on the respective position of the process data in the process data packet, for example one or more bits within an associated contiguous data block. Advantageously, the process data packet has an identifier (IDE) which is assigned to the type of the data packet, that is to say to the process data packet, and can be identified by the data bus user. The process data can also be referred to as local bus data.

Durch die Verwendung eines ersten Datenpakets, welches in einer lokalbuskonformen Kommunikation an einen Datenbusteilnehmer gesendet wird, kann dieser programmiert werden, ohne dass hierfür eine externe Programmierung nötig wäre. Die Programmierung findet für den Datenbusteilnehmer dementsprechend im laufenden Betrieb des Lokalbusses statt. Sobald der Datenbusteilnehmer die im ersten Datenpaket enthaltene Instruktionsliste gespeichert hat, ist die Programmierung des Datenbusteilnehmers abgeschlossen und dieser kann die in einer weiteren lokalbuskonformen Kommunikation enthaltenen Prozessdaten verarbeiten.By using a first data packet, which is sent in a locally bus-compatible communication to a data bus subscriber, this can be programmed, without the need for an external programming would be necessary. The programming takes place accordingly for the data bus subscriber during operation of the local bus. As soon as the data bus subscriber has stored the instruction list contained in the first data packet, the programming of the data bus subscriber is completed and this can process the process data contained in a further local bus-compatible communication.

In einer bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens weist dieses weiter auf, Vergleichen der im ersten Datenpaket empfangenen Adresse mit einer Adresse des Datenbusteilnehmers. Nur bei einer Übereinstimmung der Adressen speichert der Datenbusteilnehmer die im ersten Datenpaket folgende Instruktionsliste, so dass nur der Datenbusteilnehmer programmiert wird, an den die Instruktionsliste gerichtet ist. Beispielsweise kann die Adresse aber auch eine Gruppenadresse sein, d.h. mehrere Datenbusteilnehmer werden eine Übereinstimmung mit der Adresse feststellen, so dass mehrere Datenbusteilnehmer programmiert werden können. Dies ist zum Beispiel vorteilhaft, wenn mehrere Datenbusteilnehmer die gleiche Aufgabe im Automatisierungssystem übernehmen und dementsprechend auch mit gleichen Sensoren und/oder Aktoren ausgestattet sind aber beispielsweise unterschiedliche Positionen im Automatisierungsprozess einnehmen.In a preferred embodiment of the method according to the invention, this further comprises comparing the address received in the first data packet with an address of the data bus subscriber. Only if the addresses match does the data bus subscriber store the instruction list following the first data packet, so that only the data bus subscriber to which the instruction list is addressed is programmed. For example, the address may also be a group address, i. multiple data bus users will detect a match with the address so that multiple data bus users can be programmed. This is advantageous, for example, if a plurality of data bus users undertake the same task in the automation system and are accordingly also equipped with the same sensors and / or actuators but occupy different positions in the automation process, for example.

In einer bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens werden das erste und zweite Datenpaket in einem Lokalbus konformen Zyklusrahmen empfangen. D.h. die Programmierung sowie die mit der Programmierung zu verarbeitenden Prozessdaten können in dem gleichen Zyklusrahmen gesendet werden. Es ist aber auch möglich, dass das erste und zweite Datenpaket in unterschiedlichen Zyklusrahmen empfangen werden. Ein Zyklusrahmen kann dabei beispielsweise als ein wiederkehrendes (zyklisches) vorzugsweise äquidistantes Zeitintervall, in dem Daten auf dem Lokalbus übertragbar sind, definiert werden. Der Zyklusrahmen weist beispielsweise zumindest eine Startkennung (SOC) und einen Zeitbereich zur Übertragung von Daten auf. Mehrere Startkennungen (SOC) aufeinander folgender Zyklusrahmen sind dabei vorteilhafterweise in einem zeitlich äquidistanten Abstand zueinander. Der genannte Zeitbereich ist für die Übertragung der Datenpakete vorgesehen. Die Startkennung (SOC) und die Datenpakete werden über den Lokalbus übertragen und durchlaufen alle Datenbusteilnehmer. Die Startkennung (SOC) ist separat, also als eigenständiges Symbol übertragbar oder vorteilhafterweise in einem Startdatenpaket (SOC-Paket) enthalten.In a preferred embodiment of the method according to the invention, the first and second data packets are received in a cycle frame that complies with the local bus. This means that the programming as well as the process data to be processed with the programming can be sent in the same cycle frame. However, it is also possible that the first and second data packets are received in different cycle frames. For example, a cycle frame can be considered a recurring one (cyclic) preferably equidistant time interval in which data is transferable on the local bus defined. The cycle frame has, for example, at least one start identifier (SOC) and a time range for the transmission of data. Several start identifiers (SOC) of successive cycle frames are advantageously at a time equidistant from each other. The named time range is intended for the transmission of the data packets. The start identifier (SOC) and the data packets are transmitted via the local bus and pass through all the data bus users. The start identifier (SOC) is separate, ie transferable as an independent symbol or advantageously contained in a start data packet (SOC packet).

Innerhalb des Zeitbereichs des Zyklusrahmens werden keine, ein oder mehrere Datenpakete übertragen. Vorteilhafterweise werden in einem Zyklusrahmen Leerlauf-Daten (Idle-Data) eingefügt, insbesondere angrenzend an zumindest ein Datenpaket. Vorteilhafterweise bewirkt die Übertragung der Datenpakete und/oder der Leerlauf-Daten ein ununterbrochenes Signal auf dem Lokalbus. Das Signal ermöglicht es den Datenbusteilnehmern, sich auf dieses zeitlich zu synchronisieren. Vorteilhafterweise weist der Zyklusrahmen zusätzlich einen Trailer auf. Der Trailer hat eine variable Länge und folgt auf den Zeitbereich zur Datenübertragung vorzugsweise bis zur folgenden Startkennung (SOC) des nächsten Zyklusrahmens. Vorteilhafterweise weist der Trailer Leerlauf-Daten auf.Within the time range of the cycle frame, none, one or more data packets are transmitted. Advantageously, idle data (idle data) are inserted in a cycle frame, in particular adjacent to at least one data packet. Advantageously, the transmission of the data packets and / or the idle data causes an uninterrupted signal on the local bus. The signal allows the data bus users to synchronize to this time. Advantageously, the cycle frame additionally has a trailer. The trailer has a variable length and preferably follows the time range for data transmission up to the next start identifier (SOC) of the next cycle frame. Advantageously, the trailer has idle data.

Vorzugsweise wird der Zyklusrahmen von einem Lokalbusmaster erzeugt. Dieser Lokalbusmaster kann bereits entsprechend der zu verarbeitenden Prozessdaten, die Programmierung vorgeben. Dies hat den Vorteil, dass es zu keiner Unterbrechung der Kommunikation kommt. Auch ist der zusätzliche Aufwand (engl. Overhead) für den Lokalbusmaster sehr gering, weil dieser nicht eine extra Kommunikation zur Programmierung verwenden muss oder aufwendig die lokalbuskonforme Kommunikation anpassen muss, sondern der Lokalbusmaster kann die Programmierung in die normale Prozessdatenkommunikation einbinden.Preferably, the cycle frame is generated by a local bus master. This local bus master can already specify the programming according to the process data to be processed. This has the advantage that there is no interruption of the communication. The additional overhead (overhead) for the local bus master is also very low because it does not have to use extra communication for programming or has to adapt the local bus-compatible communication in a costly way, but the local bus master can integrate the programming into the normal process data communication.

In einer weiteren bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens weist das zweite Datenpaket weiter einen Instruktionslistenindex (ILI) auf. Dieser Instruktionslistenindex wird verwendet zum Auswählen einer Instruktionsliste zum Verarbeiten der empfangenen Prozessdaten. Der Instruktionslistenindex informiert den Datenbusteilnehmer darüber, welche gespeicherte Instruktionsliste verwendet werden soll. Ein Instruktionslistenindex ist also einer Instruktionsliste zugeordnet oder umgekehrt, so dass mit Hilfe des Instruktionslistenindexes die zu verwendende Instruktionsliste identifiziert werden kann. Hierzu weist der Instruktionslistenindex bevorzugt einen Wert auf, der zugeordnet ist zu einer Instruktionsliste, beispielsweise weist der Wert auf eine bestimmte Instruktionsliste hin oder auf deren Speicherplatz. Dazu kann der Wert selbst die Speicheradresse sein, wo die Instruktionsliste im Datenbusteilnehmer gespeichert ist oder wo zumindest eine erste Instruktion der Instruktionsliste gespeichert ist. Alternativ oder zusätzlich kann der Wert auch auf einen Speicherbereich hinweisen, in dem die entsprechende Instruktionsliste abgespeichert ist. In den zuvor genannten Fällen kann auch von einer direkten Zuordnung gesprochen werden. Der Wert des Instruktionslistenindex kann beispielsweise aber auch verwendet werden, als Eingabe einer Umsetzungstabelle (engl. Lookup-Tabelle, LUT). Dabei ist der Wert des Instruktionslistenindex der Eingangswert der Umsetzungstabelle. Der Ausgangswert der Umsetzungstabelle kann die Speicheradresse der ersten Instruktion in der zugehörigen Instruktionsliste sein oder anderweitig die Instruktionsliste identifizieren. Der Instruktionslistenindex kann vorzugsweise einen Wert aus einem festen Wertebereich aufweisen. Beispielsweise kann der Instruktionslistenindex aus dem Bitwertebereich zwischen 0000 bis 1111 stammen. Es ist dem Fachmann aber klar, dass auch andere Wertebereiche verwendet werden können. Die Umsetzungstabelle kann softwaretechnisch sowie hardwaretechnisch in Form von beispielsweise Logiken hinterlegt sein und eine eineindeutige Umsetzung von einem Eingangswert in einen Ausgangswert angeben, wobei der Ausgangswert einen Hinweis auf die zu verwendende Instruktionsliste gibt. Dabei hängt es von der Umsetzungstabelle ab, wie ein Zusammenhang zwischen dem Instruktionslistenindex und der Instruktionsliste hergestellt wird. Bei der Verwendung einer Umsetzungstabelle kann auch von einer indirekten Zuordnung gesprochen werden. Bei der direkten sowie indirekten Zuordnung ist aber über den Instruktionslistenindex die von dem Datenbusteilnehmer zu verwendende Instruktionsliste eineindeutig identifizierbar, d.h. auffindbar. Die über den Instruktionslistenindex aufgefundene Instruktionsliste wird dann durch den Datenbusteilnehmer ausgeführt zum Verarbeiten der Prozessdaten im zweiten Datenpaket. Es wird also der Satz von Instruktionen der ausgewählten Instruktionsliste abgearbeitet. Enthält der Instruktionslistenindex einen Verweis auf eine Instruktionsliste, die am Datenbusteilnehmer nicht vorhanden ist, so kann der Datenbusteilnehmer einen Fehler melden. Auch kann der Datenbusteilnehmer den Instruktionslistenindex ignorieren und keine Instruktionsliste für die Prozessdaten abarbeiten.In a further preferred embodiment of the method according to the invention, the second data packet further has an instruction list index (ILI). This instruction list index is used to select an instruction list for processing the received process data. The instruction list index informs the data bus user which stored instruction list to use. An instruction list index is thus assigned to an instruction list or vice versa, so that the instruction list to be used can be identified with the aid of the instruction list index. For this purpose, the instruction list index preferably has a value which is assigned to an instruction list, for example, the value indicates a specific instruction list or its memory location. For this purpose, the value itself may be the memory address where the instruction list is stored in the data bus subscriber or where at least a first instruction of the instruction list is stored. Alternatively or additionally, the value can also indicate a memory area in which the corresponding instruction list is stored. In the cases mentioned above can also be spoken of a direct assignment. The value of the instruction list index, however, can also be used, for example, as input of a look-up table (LUT). The value of the instruction list index is the input value of the conversion table. The output of the translation table may be the memory address of the first instruction in the associated instruction list or otherwise identify the instruction list. The instruction list index may preferably have a value from a fixed value range. For example, the instruction list index may be from the bit value range between 0000 to 1111. However, it is clear to the person skilled in the art that other ranges of values can also be used. The conversion table can be stored in terms of software technology and hardware in the form of, for example, logics and indicate a one-to-one conversion from an input value to an output value, the output value giving an indication of the instruction list to be used. It depends on the conversion table how a connection between the instruction list index and the instruction list is established. When using a conversion table, it is also possible to speak of an indirect assignment. In the direct and indirect assignment, however, the instruction list index to be used by the data bus subscriber is uniquely identifiable via the instruction list index, i. find. The instruction list found via the instruction list index is then executed by the data bus user to process the process data in the second data packet. Thus, the set of instructions of the selected instruction list is processed. If the instruction list index contains a reference to an instruction list which does not exist on the data bus subscriber, then the data bus subscriber can report an error. Also, the data bus user can ignore the instruction list index and not execute an instruction list for the process data.

In einer weiteren bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens weisen das erste und zweite Datenpaket eine Anzahl von Symbolen auf, wobei jedes Symbol eine Anzahl von Bits aufweist, beispielsweise 8 Bits also 1 Byte. Es ist dem Fachmann aber bewusst, dass die Stückelung der Datenpakete auch in anderen Einheiten geschehen kann, die mehr oder weniger als 8 Bits umfassen. Die Datenpakete durchlaufen den Lokalbus in Form dieser Symbole, d.h. einheitenweise, stückchenweise, oder Teile weise. Ein derartiger Teil der Datenpakete wird im Folgenden auch als Stück oder Einheit bezeichnet. D.h. die Datenbusteilnehmer haben zu jeder gegebenen Zeit immer nur einen Teil der Datenpakete vorliegen. Dabei empfängt ein Datenbusteilnehmer symbolweise die ersten und zweiten Datenpakete. Nach Verarbeitung eines Symbols sendet der Datenbusteilnehmer den gerade bearbeiteten Teil an den nachgelagerten Datenbusteilnehmer weiter und empfängt im gleichen Schritt von dem vorgelagerten Datenbusteilnehmer einen neuen Teil der Datenpakete. Ein Verarbeiten eines Teils eines Datenpakets kann auch darin bestehen, dass der Datenbusteilnehmer den Teil des Datenpakets überspringt. Zum Beispiel können alle Datenbusteilnehmer an die das erste Datenpaket nicht gerichtet ist, die zumindest eine Instruktionsliste, welche in diesem Datenpaket enthalten ist überspringen und nur der Datenbusteilnehmer an den das erste Datenpaket gerichtet ist kann die Instruktionsliste speichern. Damit eine deterministische Verarbeitungszeit gewährleistet werden kann, verbleibt jeder Teil der Datenpakete immer gleich lang an einem Datenbusteilnehmer, egal ob eine oder keine Verarbeitung stattfindet. Dies ist nötig, um den anderen Datenbusteilnehmern genügend Zeit zu geben, ihre Verarbeitungen mit den an diesen Datenbusteilnehmern vorliegenden Teilen der Datenpakete durchzuführen, bevor ein neuer Teil der Datenpakete empfangen wird. Die Verarbeitung der Teile des ersten Datenpakets kann dabei entweder aus dem Überspringen, d.h. dem der Nicht-Verarbeitung, der zumindest einen Instruktionsliste bestehen oder in deren Speicherung, wenn das erste Datenpaket an den Datenbusteilnehmer gerichtet ist, der die jeweiligen Teile empfängt. Eine Verarbeitung der Teile des zweiten Datenpakets kann darin bestehen, dass eine Bitoperation auf den empfangenen Prozessdaten ausgeführt wird. In diesem Fall kann auch davon gesprochen werden, dass die Verarbeitung bitgranular geschieht. Die Bitoperationen die durchgeführt werden können basieren beispielsweise auf einem reduzierten Instruktionssatz den der Datenbusteilnehmer ausführen kann, beispielsweise „SKIP“, „MOVE“, „NEGATION“, „INCREMENT“, „AND“ und „OR“ oder einer Kombination daraus. Welche Bitoperationen ausgeführt werden sollen ist in dem Datenbusteilnehmer mit Hilfe von Instruktionslisten hinterlegt. Eine Instruktionsliste kann dabei dem jeweiligen Datenbusteilnehmer in einem ersten Datenpaket zugesandt werden und stellt die Programmierung des Datenbusteilnehmers dar. Diese Instruktionslisten enthalten für jeden Teil des zweiten Datenpakets oder für jedes Bit des zweiten Datenpakets zumindest eine Instruktion, d.h. eine Operation die mit dem entsprechenden Bit durchgeführt werden soll. Dabei kann für jedes Symbol eine feste Anzahl oder eine vorherbestimmte Anzahl von Instruktionen in der Instruktionsliste vorhanden sein. D.h. jeder Datenbusteilnehmer führt in der Zeit die im zur Verarbeitung zur Verfügung steht eine gewisse Anzahl von Instruktionen pro Symbol aus. Soll der Datenbusteilnehmer beispielsweise mit dem Bit keine Verarbeitung durchführen, so kann die entsprechende Instruktionsliste für das entsprechende Bit leer sein oder eine „SKIP“ Instruktion aufweisen. Die Instruktionsliste kann auch die Anzahl der Wiederholungen für eine bestimmte Instruktion aufweisen. Beispielsweise kann die Instruktionsliste eine „SKIP“ Instruktion beinhalten, mit dem Hinweis diese zweimal zu wiederholen. In diesem Fall werden dann die nächsten zwei Bit nicht verarbeitet, sondern übersprungen. Auch für die Instruktionen „MOVE“, „NEGATION“, „INCREMENT“, „AND“ und „OR“ können Parameter vorgegeben sein.In a further preferred embodiment of the method according to the invention, the first and second data packet have a number of symbols, each symbol having a number of bits, for example 8 bits, ie 1 byte. However, the person skilled in the art is aware that the denominations of the data packets also occur in other units may include more or less than 8 bits. The data packets pass through the local bus in the form of these symbols, ie unit wise, piecewise, or parts wise. Such a part of the data packets is also referred to below as a piece or unit. This means that the data bus users always have only a part of the data packets at any given time. In this case, a data bus subscriber receives the first and second data packets symbol by symbol. After processing a symbol, the data bus user sends the part being processed to the downstream data bus user and in the same step receives a new part of the data packets from the upstream data bus user. Processing a portion of a data packet may also involve the data bus participant skipping the portion of the data packet. For example, all data bus subscribers to which the first data packet is not addressed may skip at least one instruction list contained in this data packet and only the data bus subscriber to which the first data packet is addressed may store the instruction list. For a deterministic processing time to be guaranteed, each part of the data packets always remains the same length on a data bus subscriber, regardless of whether there is no processing or not. This is necessary to give the other data bus users sufficient time to perform their processing on the portions of the data packets present at these data bus subscribers before a new portion of the data packets is received. In this case, the processing of the parts of the first data packet can either consist of the skipping, that is to say of non-processing, of the at least one instruction list or of its storage when the first data packet is directed to the data bus subscriber who receives the respective parts. Processing of the parts of the second data packet may be to perform a bit operation on the received process data. In this case, it can also be said that the processing is bitgranular. The bit operations that can be performed are based, for example, on a reduced instruction set that the data bus user can perform, such as "SKIP", "MOVE", "NEGATION", "INCREMENT", "AND" and "OR", or a combination thereof. Which bit operations are to be executed is stored in the data bus subscriber with the aid of instruction lists. An instruction list can be sent to the respective data bus subscriber in a first data packet and represents the programming of the data bus subscriber. These instruction lists contain for each part of the second data packet or for each bit of the second data packet at least one instruction, ie an operation performed with the corresponding bit shall be. There may be a fixed number or a predetermined number of instructions in the instruction list for each symbol. In other words, each data bus user executes a certain number of instructions per symbol during the time available for processing. If, for example, the data bus subscriber is not to carry out any processing with the bit, then the corresponding instruction list for the corresponding bit may be empty or have a "SKIP" instruction. The instruction list may also include the number of repetitions for a given instruction. For example, the instruction list may include a "SKIP" instruction with the instruction to repeat it twice. In this case, the next two bits are not processed, but skipped. Parameters may also be specified for the instructions "MOVE", "NEGATION", "INCREMENT", "AND" and "OR".

In einer weiteren bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens ist die Adresse im ersten Datenpaket eine eineindeutige Adresse des Datenbusteilnehmers, an den das erste Datenpaket gerichtet ist. In diesem Fall bedeutet gerichtet, dass die im ersten Datenpaket enthaltene Instruktionsliste nur von dem Datenbusteilnehmer gespeichert wird, dessen Adresse mit der eineindeutigen Adresse im ersten Datenpaket übereinstimmt. D.h. eine Programmierung wird nur an dem Datenbusteilnehmer vorgenommen, dessen Adresse mit der Adresse im ersten Datenpaket übereinstimmt. Das erste Datenpakt kann dementsprechend auch als gerichtetes oder bestimmtes Datenpaket bezeichnet werden, weil es für nur einen Datenbusteilnehmer oder eine bestimmte Gruppe von Datenbusteilnehmern bestimmt ist, wohingegen das zweite Datenpaket keine Adresse beinhaltet und dementsprechend als ungerichtet oder unbestimmtes Datenpaket bezeichnet werden kann. Dabei ist das zweite Datenpaket unbestimmt, weil es die Prozessdaten für alle Datenbusteilnehmer des Lokalbusses trägt. Es kann auch davon gesprochen werden, dass das erste Datenpaket eine asynchrone Kommunikation darstellt, wohingegen das zweite Datenpaket eine synchrone Kommunikation darstellt. Die Kommunikation des ersten Datenpakets ist asynchron, weil das erste Datenpaket nicht in jedem Zyklusrahmen neu gesendet werden muss, sondern nur für die Programmierung eines Datenbusteilnehmers einmal verwendet wird. Die Kommunikation des zweiten Datenpakets ist synchron, weil das zweite Datenpaket zyklisch wiederholt wird. Dabei müssen die Prozessdaten nicht immer den gleichen Wert annehmen, aber dem Fachmann ist klar, dass bei einer Automatisierung immer wieder die gleichen Prozessschritte wiederholt werden, die das Vorhandensein von zyklisch wieder auftretenden Prozessdaten nötig machen.In a further preferred embodiment of the method according to the invention, the address in the first data packet is a one-to-one address of the data bus subscriber to which the first data packet is directed. In this case, directed means that the instruction list contained in the first data packet is stored only by the data bus subscriber whose address matches the one-to-one address in the first data packet. That programming is only performed on the data bus subscriber whose address matches the address in the first data packet. Accordingly, the first data packet may also be referred to as a directed or specific data packet because it is intended for only one data bus subscriber or a particular group of data bus subscribers, whereas the second data packet may not include an address and accordingly may be referred to as an undirected or undetermined data packet. In this case, the second data packet is indefinite because it carries the process data for all data bus users of the local bus. It can also be said that the first data packet represents an asynchronous communication, whereas the second data packet represents a synchronous communication. The communication of the first data packet is asynchronous, because the first data packet does not have to be retransmitted in each cycle frame, but is only used once for programming a data bus user. The communication of the second data packet is synchronous because the second data packet is cyclically repeated. In this case, the process data does not always have to assume the same value, but it is clear to the person skilled in the art that in the case of automation, the same process steps are repeated over and over again, which necessitate the presence of cyclically recurring process data.

Die oben genannte Aufgabe wird auch gelöst durch einen Datenbusteilnehmer eines Lokalbusses, insbesondere eines Ringbusses, wobei der Datenbusteilnehmer ein Mittel zum Empfangen eines ersten Datenpakets über den Lokalbus aufweist, wobei das erste Datenpaket eine Adresse des Datenbusteilnehmers aufweist an den es gerichtet ist und zumindest eine Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten. Der erfindungsgemäße Datenbusteilnehmer weist des Weiteren ein Mittel zum Empfangen eines zweiten Datenpakets über den Lokalbus auf, wobei das zweite Datenpaket Prozessdaten aufweist. Dabei können die Mittel zum Empfangen eine Empfängerschaltung oder eine Transceiverschaltung sein. Die Schaltungen sind zum Beispiel in einem anwendungsspezifischen integrierten Schaltkreis (engl. ASIC) oder in einer Feld programmierbaren (Logik-)Gatter-Anordnung (engl. FPGA) implementiert.The above object is also achieved by a data bus subscriber of a local bus, in particular a ring bus, wherein the data bus subscriber means for receiving a first data packet over the local bus, the first data packet having an address of the data bus subscriber to which it is addressed and at least one instruction list having a set of instructions for processing process data. The data bus subscriber according to the invention furthermore has a means for receiving a second data packet via the local bus, wherein the second data packet has process data. In this case, the means for receiving may be a receiver circuit or a transceiver circuit. The circuits are implemented, for example, in an application specific integrated circuit (ASIC) or field programmable (logic) gate array (FPGA).

Der erfindungsgemäße Datenbusteilnehmer weist weiter ein Mittel zum Ausführen von Instruktionen der zumindest einen Instruktionsliste zum Verarbeiten der empfangenen Prozessdaten auf. Dabei kann das Mittel zum Ausführen ein Mikrocontroller oder eine Rechenschaltung sein, die insbesondere aus Gatterelementen eines integrierten Schaltkreises gebildet sein kann. Die Rechenschaltung kann als digitale Logik ausgebildet sein, die insbesondere zumindest als ein Teil eines Halbleiterchips ausgebildet ist. Die Schaltungen können in einem ASIC oder einem FPGA implementiert sein.The data bus subscriber according to the invention also has a means for executing instructions of the at least one instruction list for processing the received process data. In this case, the means for carrying out may be a microcontroller or an arithmetic circuit, which may in particular be formed of gate elements of an integrated circuit. The arithmetic circuit can be embodied as digital logic, which is designed, in particular, at least as a part of a semiconductor chip. The circuits may be implemented in an ASIC or an FPGA.

In einer bevorzugten Ausführungsform des erfindungsgemäßen Datenbusteilnehmers weist dieser weiter ein Mittel zum Senden des empfangenen zweiten Datenpakets an einen weiteren Datenbusteilnehmer über den Lokalbus auf. Der Datenbusteilnehmer kann dabei das zweite Datenpaket symbolweise an einen weiteren Datenbusteilnehmer über den Lokalbus senden. Dabei kann der weitere Datenbusteilnehmer ein Datenbusteilnehmer sein, der dem sendenden Datenbusteilnehmer direkt folgt. Das Senden der Daten kann dabei bei allen Datenbusteilnehmern synchronisiert sein, beispielsweise auf eine von dem Lokalbusmaster vorgegeben Zeitgebung oder kann durch das Empfangen weiterer Datenpakete hervorgerufen werden.In a preferred embodiment of the data bus subscriber according to the invention, the latter further has a means for transmitting the received second data packet to a further data bus subscriber via the local bus. The data bus subscriber can send the second data packet symbol by symbol to another data bus subscriber via the local bus. In this case, the further data bus subscriber may be a data bus subscriber who directly follows the sending data bus subscriber. The transmission of the data can be synchronized in all data bus subscribers, for example, to a predetermined by the local bus master timing or can be caused by receiving further data packets.

Die oben genannte Aufgabe wird auch gelöst durch ein Verfahren zum Betrieb eines Lokalbusmasters eines Lokalbusses, insbesondere eines Ringbusses, wobei das Verfahren aufweist Erzeugen zumindest einer Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten für einen Datenbusteilnehmer, Erzeugen eines ersten Datenpakets, wobei das erste Datenpaket aufweist eine Adresse des Datenbusteilnehmers, an den das erste Datenpaket gerichtet ist, und die zumindest eine Instruktionsliste, Erzeugen eines zweiten Datenpakets, wobei das zweite Datenpaket Prozessdaten aufweist und Senden der ersten und zweiten Datenpakete an den Datenbusteilnehmer über den Lokalbus.The above object is also achieved by a method for operating a local bus master of a local bus, in particular a ring bus, the method comprising generating at least one instruction list with a set of instructions for processing process data for a data bus subscriber, generating a first data packet, wherein the first Data packet has an address of the data bus subscriber to which the first data packet is directed, and the at least one instruction list, generating a second data packet, wherein the second data packet comprises process data and transmitting the first and second data packets to the data bus subscriber via the local bus.

In einer bevorzugten Ausführungsform des erfindungsgemäßen Verfahrens weisen das erste und zweite Datenpaket jeweils eine Anzahl von Symbolen auf, wobei jedes Symbol eine Anzahl von Bits aufweist und wobei die Datenpakete symbolweise an den Datenbusteilnehmer gesendet werden. Der Lokalbusmaster sendet dementsprechend taktweise ein erstes und zweites Datenpaket und diese durchlaufen sukzessive alle Datenbusteilnehmer in Abwärtsrichtung, d.h. vom Lokalbusmaster weg. Der letzte Datenbusteilnehmer im Lokalbus sendet dann die Teile nacheinander wieder zurück an den Lokalbusmaster in Aufwärtsrichtung, d.h. zum Lokalbusmaster hin. Dabei durchlaufen die zurückgesendeten Teile entweder wieder alle Datenbusteilnehmer oder werden an diesen vorbei an den Lokalbusmaster geleitet.In a preferred embodiment of the inventive method, the first and second data packet each have a number of symbols, each symbol having a number of bits and wherein the data packets are sent symbol by symbol to the data bus user. Accordingly, the local bus master intermittently transmits first and second data packets in cycles, and these successively traverse all data bus subscribers in the downlink direction, i.e., in the downstream direction. away from the local bus master. The last data bus subscriber in the local bus then sends the parts back one after the other back to the local bus master in the uplink direction; towards the local bus master. The returned parts either pass through all data bus users or are routed past the local bus master.

Die oben genannte Aufgabe wird auch gelöst durch einen Lokalbusmaster eines Lokalbusses, insbesondere eines Ringbusses, mit einem Datenbusteilnehmer. Dabei weist der Lokalbusmaster ein Mittel zum Erzeugen zumindest einer Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten für den Datenbusteilnehmer auf sowie ein Mittel zum Erzeugen eines ersten Datenpakets, wobei das erste Datenpaket aufweist eine Adresse des Datenbusteilnehmers, an den das erste Datenpaket gerichtet ist, und die zumindest eine Instruktionsliste. Des Weiteren weist der erfindungsgemäße Lokalbusmaster ein Mittel zum Erzeugen eines zweiten Datenpakets auf, wobei das zweite Datenpaket Prozessdaten aufweist. Dabei können die Mittel zum Erzeugen ein Prozessor, ein Mikrocontroller, oder eine Rechenschaltung, die insbesondere aus Gatterelementen eines integrierten Schaltkreises gebildet sein kann. Die Rechenschaltung kann als digitale Logik ausgebildet sein, die insbesondere zumindest als ein Teil eines Halbleiterchips ausgebildet ist. Die Schaltungen können in einem ASIC oder einem FPGA implementiert sein.The above object is also achieved by a local bus master of a local bus, in particular a ring bus, with a data bus subscriber. In this case, the local bus master has a means for generating at least one instruction list with a set of instructions for processing process data for the data bus subscriber and means for generating a first data packet, the first data packet having an address of the data bus subscriber to which the first data packet is addressed , and at least one instruction list. Furthermore, the local bus master according to the invention has a means for generating a second data packet, the second data packet having process data. In this case, the means for generating a processor, a microcontroller, or an arithmetic circuit, which may be formed in particular of gate elements of an integrated circuit. The arithmetic circuit can be embodied as digital logic, which is designed, in particular, at least as a part of a semiconductor chip. The circuits may be implemented in an ASIC or an FPGA.

Des Weiteren weist der erfindungsgemäße Lokalbusmaster ein Mittel zum Senden des ersten und zweiten Datenpakets an den Datenbusteilnehmer über den Lokalbus auf. Dabei können die beiden Datenpakete in einem Zyklusrahmen gesendet werden, den das Mittel zum Senden erzeugen kann. Das Mittel zum Senden kann die beiden Datenpakete auch in unterschiedlichen Zyklusrahmen senden und die entsprechenden Zyklusrahmen erzeugen. Das Mittel zum Senden kann eine Senderschaltung oder eine Transceiverschaltung sein. Die Schaltungen sind zum Beispiel in einem ASIC oder FPGA implementiert.Furthermore, the local bus master according to the invention has a means for transmitting the first and second data packet to the data bus subscriber via the local bus. In this case, the two data packets can be sent in a cycle frame which the means for sending can generate. The means for sending can also send the two data packets in different cycle frames and generate the corresponding cycle frames. The means for transmission may be a transmitter circuit or a transceiver circuit. The circuits are implemented, for example, in an ASIC or FPGA.

Figurenlistelist of figures

Die Erfindung wird nachfolgend anhand von Ausführungsbeispielen mit den beigefügten Zeichnungen näher erläutert. Aus den beschriebenen Ausführungsbeispielen ergeben sich weitere Einzelheiten, Merkmale und Vorteile des Gegenstands der Erfindung. Es zeigen:

  • 1 ein schematisches Blockdiagramm einer beispielhaften Automatisierungsanlage mit einer speicherprogrammierbaren Steuerung und einem beispielhaften Ringbus;
  • 2 eine schematische Darstellung eines ersten Datenpakets zum Programmieren eines Datenbusteilnehmers;
  • 3 eine schematische Darstellung eines zweiten Datenpakets zum Senden von Prozessdaten an Datenbusteilnehmer;
  • 4 ein beispielhaftes Zeitdiagramm zeigend das Durchlaufen der in den 2 und 3 gezeigten Datenpakete durch die beispielhaften Datenbusteilnehmer des in 1 gezeigten Ringbusses; und
  • 5 eine schematische Darstellung von Instruktionslisten zur Verarbeitung der in 2 gezeigten Prozessdaten des zweiten Datenpakets.
The invention will be explained in more detail with reference to embodiments with the accompanying drawings. From the described Embodiments will yield further details, features and advantages of the subject invention. Show it:
  • 1 a schematic block diagram of an exemplary automation system with a programmable logic controller and an exemplary ring bus;
  • 2 a schematic representation of a first data packet for programming a data bus subscriber;
  • 3 a schematic representation of a second data packet for sending process data to data bus participants;
  • 4 an exemplary timing diagram showing the passing in the 2 and 3 shown data packets by the exemplary data bus subscribers of in 1 shown ring bus; and
  • 5 a schematic representation of instruction lists for processing the in 2 shown process data of the second data packet.

Beschreibung bevorzugter AusführungsbeispieleDescription of preferred embodiments

1 zeigt ein schematisches Blockdiagramm einer Automatisierungsanlage. Es wird vom Fachmann verstanden werden, dass die gezeigte Automatisierungsanlage nur beispielhaft ist und alle zu der Automatisierungsanlage gehörenden Elemente, Module, Bauteile, Teilnehmer und Einheiten verschieden ausgestaltet sein können aber dennoch die hier beschriebenen Grundfunktionalitäten erfüllen können. 1 shows a schematic block diagram of an automation system. It will be understood by those skilled in the art that the automation system shown is only an example and all the elements, modules, components, participants and units belonging to the automation system can be configured differently but can nevertheless fulfill the basic functions described here.

Die in 1 gezeigte Automatisierungsanlage weist eine übergeordnete Steuerung 1 auf, die beispielsweise mit einer speicherprogrammierbaren Steuerung, SPS, realisiert werden kann. Eine derartige SPS 1 dient grundsätzlich zur Steuerung und Regelung des von der Automatisierungsanlage ausgeführten Prozesses. Heutzutage übernehmen SPSs 1 in Automatisierungsanlagen allerdings auch weitergehende Funktionen, wie zum Beispiel die Visualisierung, Alarmierung und Aufzeichnung aller den Prozess betreffenden Daten und als solche fungiert die SPS 1 als eine Mensch-Maschine Schnittstelle. Es gibt SPS 1 in unterschiedlichen Leistungsklassen, die unterschiedliche Ressourcen (Rechenkapazität, Speicherkapazität, Anzahl und Art von Ein- und Ausgängen, und Schnittstellen) aufweisen, die es der SPS 1 ermöglichen den Prozess der Automatisierungsanlage zu steuern und zu regeln. Eine SPS 1 hat zumeist einen modularen Aufbau und besteht aus einzelnen Komponenten, die jeweils eine andere Aufgabe erfüllen. Üblicherweise besteht eine SPS 1 aus einer zentralen Rechenbaugruppe (mit einem oder mehreren Hauptprozessoren und Speichermodulen) und mehreren Baugruppen mit Eingängen und Ausgängen. Derartige modular aufgebaute SPS 1 lassen sich durch Hinzufügen von Baugruppen leicht erweitern. Hierbei hängt es von der Komplexität des Prozesses und der Komplexität des Aufbaus der Automatisierungsanlage ab, welche Baugruppen in der SPS 1 integriert sein müssen. In heutigen Automatisierungsanlagen ist die SPS 1 auch zumeist kein unabhängiges System mehr, sondern die SPS 1 ist über entsprechende Schnittstellen - hier nicht dargestellt - mit dem Internet oder Intranet verbunden. Dies bedeutet, die SPS 1 ist Teil eines Netzwerks über welches oder von welchem die SPS 1 Informationen, Instruktionen, Programmierungen etc. erhalten kann. Zum Beispiel kann die SPS 1 über eine Verbindung zu einem sich im Intranet oder Internet befindlichen Computer Informationen über dem Prozess zugeführte Materialien bekommen, so dass beispielsweise durch die Kenntnis deren Anzahl oder Beschaffenheit der Prozess optimal gesteuert werden kann. Es ist auch denkbar, dass die SPS 1 durch einen Zugriff aus dem Intranet oder Internet von einem Anwender gesteuert wird. So kann beispielsweise ein Anwender mit Hilfe eines Computers, auch Leitrechner genannt, auf die SPS 1 zugreifen und deren Anwenderprogrammierung überprüfen, ändern, oder korrigieren. Dementsprechend ist der Zugriff auf die SPS 1 von einer oder mehreren Fernwarten oder Leitstellen möglich. Die Leitrechner können gegebenenfalls Visualisierungseinrichtungen zur Darstellung von Prozessabläufen haben.In the 1 shown automation system has a higher-level control 1 on, which can be realized for example with a programmable logic controller, PLC. Such a PLC 1 basically serves to control and regulate the process performed by the automation system. Nowadays PLCs take over 1 In automation systems, however, also more extensive functions, such as the visualization, alarm and recording of all process related data and as such, the PLC acts 1 as a human-machine interface. There are PLCs 1 in different performance classes, which have different resources (computing capacity, memory capacity, number and type of inputs and outputs, and interfaces) that the PLC 1 allow to control and regulate the automation system process. A PLC 1 Mostly has a modular design and consists of individual components, each fulfilling a different task. Usually there is a PLC 1 a central processing unit (with one or more main processors and memory modules) and several modules with inputs and outputs. Such modular PLC 1 can be easily expanded by adding assemblies. It depends on the complexity of the process and the complexity of the structure of the automation system, which modules in the PLC 1 must be integrated. In today's automation systems, the PLC 1 also usually no independent system, but the PLC 1 is connected via appropriate interfaces - not shown here - to the Internet or intranet. This means the PLC 1 is part of a network over which or from which the PLC 1 Information, instructions, programming, etc. can receive. For example, the SPS 1 Receive information about the process supplied materials via a connection to a computer located on the intranet or Internet, so that, for example, by knowing the number or nature of the process can be optimally controlled. It is also conceivable that the SPS 1 is controlled by an access from the intranet or Internet by a user. Thus, for example, a user with the help of a computer, also called host computer, on the PLC 1 access and check their user programming, change or correct. Accordingly, the access to the PLC 1 from one or more remote control or control centers. If necessary, the master computers can have visualization devices for displaying process sequences.

Zur Steuerung des Prozesses der Automatisierungsanlage ist die SPS 1 mit Automatisierungsgeräten verbunden. Um den Verdrahtungsaufwand gering zu halten werden für diese Verbindungen Bussysteme verwendet. In dem in 1 gezeigten Ausführungsbeispiel ist die SPS 1 mittels eines übergeordneten Busses 2, der in dem hier gezeigten Ausführungsbeispiel ein Feldbus sein kann, mit einem Lokalbusmaster 3 eines untergeordneten Lokalbussystems verbunden. An den übergeordneten Bus 2 können aber nicht nur wie in dem hier gezeigten Ausführungsbeispiel ein Lokalbusmaster 3 eines Lokalbusses angeschlossen werden, sondern auch andere beliebige Teilnehmer - hier nicht gezeigt -, die zur Kommunikation mit der SPS 1 ausgestaltet sind.The PLC is used to control the process of the automation system 1 connected to automation devices. In order to keep the wiring costs low, bus systems are used for these connections. In the in 1 embodiment shown is the PLC 1 by means of a higher-level bus 2 which may be a field bus in the embodiment shown here, with a local bus master 3 a subordinate local bus system connected. To the parent bus 2 But not only as in the embodiment shown here, a local bus master 3 A local bus can be connected, but also any other participants - not shown here - to communicate with the PLC 1 are designed.

Der übergeordnete Bus 2 ist in dem hier gezeigten Ausführungsbeispiel mit dem Lokalbusmaster 3 verbunden. Hierzu weist der Lokalbusmaster 3 eine erste Schnittstelle 4 auf, die derart ausgelegt ist, dass diese mit dem übergeordneten Bus 2 verbunden werden kann. Die Schnittstelle 4 kann hierzu beispielsweise eine Aufnahme in Form einer Buchse aufweisen und der übergeordnete Bus 2 kann einen Stecker aufweisen, der von der Buchse aufgenommen werden kann. Dabei können der Stecker und die Buchse zum Beispiel ein Modularstecker und eine Modularbuchse sein, d.h. jede Ader des übergeordneten Busses 2 wird mit einer Verbindung in der Modularbuchse elektrisch oder optisch verbunden. Dem Fachmann sind aber auch andere Möglichkeiten bekannt, wie eine Schnittstelle 4 auszulegen ist, so dass der Lokalbusmaster 3 elektrisch oder optisch mit dem übergeordneten Bus 2 verbunden werden kann. Dem Fachmann sind dabei, Schraub-, Dreh-, Klick- oder Steckverbindungen bekannt, mit deren Hilfe sich eine elektrische oder optische Verbindung herstellen lassen kann. Dabei wird zumeist ein männlicher Stecker von einem weiblichen Gegenstück aufgenommen. Diese Aufnahme stellt zumeist nicht nur die elektrische oder optische Verbindung her, sondern sorgt auch dafür, dass die beiden Teile mechanisch gekoppelt werden und nur mit Aufwendung einer bestimmten Kraft wieder voneinander gelöst werden können. Es ist aber auch denkbar, dass der übergeordnete Bus 2 fest mit der Schnittstelle 4 verdrahtet ist.The parent bus 2 is in the embodiment shown here with the local bus master 3 connected. For this purpose, the local bus master 3 a first interface 4 which is designed so that this with the parent bus 2 can be connected. the interface 4 For this purpose, for example, have a recording in the form of a socket and the parent bus 2 may have a plug which can be received by the socket. In this case, the plug and the socket may be, for example, a modular plug and a modular jack, ie, each wire of the parent bus 2 is having a connection in the modular jack electrically or optically connected. The person skilled in the art, however, also knows other possibilities, such as an interface 4 is to be interpreted, so that the local bus master 3 electrically or optically with the higher-level bus 2 can be connected. The person skilled in the art, screw, turn, click or plug connections are known, with the help of which can make an electrical or optical connection. In most cases, a male plug is picked up by a female counterpart. This recording usually does not only produce the electrical or optical connection, but also ensures that the two parts are mechanically coupled and can only be released from each other again with the application of a certain force. But it is also conceivable that the parent bus 2 stuck with the interface 4 wired.

Der Lokalbusmaster 3 in dem hier gezeigten Ausführungsbeispiel weist eine weitere zweite Schnittstelle auf, um den Lokalbusmaster 3 mit dem Lokalbus zu verbinden. An den Lokalbus sind Datenbusteilnehmer 7a, 7b, ..., 7n angeschlossen bzw. bilden diesen. Der Lokalbus ist vorteilhafterweise derart ausgebildet, dass ein vom Lokalbusmaster 3 gesendetes Datenpaket durch alle mit dem Lokalbus verbundenen Datenbusteilnehmer 7a, 7b, ..., 7n und an den Lokalbusmaster 3 zurück übertragen wird. Dabei empfängt ein Datenbusteilnehmer 7a, 7b, ..., 7n von seinem vorgelagerten Datenbusteilnehmer 7a, 7b, ..., 7n immer nur einen Teil des Datenpakets. Nach einer Zeitspanne in der die in diesem Teil enthaltenen Daten vom Datenbusteilnehmer 7a, 7b, ..., 7n verarbeitet werden können, wird der Teil an den nachgelagerten Datenbusteilnehmer 7a, 7b, ..., 7n weitergeleitet und gleichzeitig wird von dem vorgelagerten Datenbusteilnehmer 7a, 7b, ..., 7n ein neuer Teil des Datenpakets empfangen. Auf diese Weise passieren alle Teile des Datenpakets sequentiell alle Datenbusteilnehmer 7a, 7b, ..., 7n. Der Lokalbus ist vorteilhafterweise in einer ringförmigen Struktur ausgebildet. Derartige Lokalbusse können auch als Ringbus 6 bezeichnet werden. Der Lokalbus kann alternativ auch strangförmig oder sternförmig oder aus einer Kombination oder Mischform der zuvor genannten ausgebildet sein. Das Senden und Empfangen der Datenpakete wird dabei über die zweite Schnittstelle des Lokalbusmasters 3 bewerkstelligt. In dem hier gezeigten Ausführungsbeispiel teilt sich die zweite Schnittstelle in einen ersten Teil 5a und einen zweiten Teil 5b auf. Der erste Teil 5a der zweiten Schnittstelle stellt die Abwärtsverbindung im Ringbus 6 her und der zweite Teil 5b der zweiten Schnittstelle stellt die Aufwärtsverbindung im Ringbus 6 her.The local bus master 3 In the embodiment shown here has a further second interface to the local bus master 3 to connect to the local bus. To the local bus data bus participants 7a, 7b, ..., 7n are connected or form this. The local bus is advantageously designed such that one from the local bus master 3 Sent data packet through all connected to the local bus data bus 7a, 7b, ..., 7n and to the local bus master 3 is transferred back. In this case, a data bus subscriber 7a, 7b,..., 7n always receives only a part of the data packet from its upstream data bus subscriber 7a, 7b,..., 7n. After a period in which the data contained in this part can be processed by the data bus subscriber 7a, 7b,..., 7n, the part is forwarded to the downstream data bus users 7a, 7b,..., 7n and at the same time the upstream data bus user 7a, 7b, ..., 7n receive a new part of the data packet. In this way, all parts of the data packet sequentially pass all data bus users 7a, 7b, ..., 7n. The local bus is advantageously formed in an annular structure. Such local buses can also be used as a ring bus 6 be designated. Alternatively, the local bus can also be formed in a strand-shaped or star-shaped manner or from a combination or mixed form of the aforementioned. The sending and receiving of the data packets is via the second interface of the local bus master 3 accomplished. In the embodiment shown here, the second interface is divided into a first part 5a and a second part 5b. The first part 5a the second interface provides the downlink in the ring bus 6 her and the second part 5b of the second interface provides the uplink in the ring bus 6 ago.

Der Ringbus 6, dessen Datensenderichtung mit Pfeilen in dem in 1 gezeigten Ausführungsbespiel gezeigt ist, weist in dem hier gezeigten Ausführungsbeispiel mehrere Datenbusteilnehmer 7a, 7b, ..., 7n auf. Diese Datenbusteilnehmer 7a, 7b, ..., 7n weisen in dem hier gezeigten Ausführungsbeispiel jeweils eine Schnittstelle 8 auf, um Daten von einem vorgelagerten oder vorangehenden Datenbusteilnehmer 7a, 7b, ..., 7n zu empfangen. Im Fall von Datenbusteilnehmer 7a, empfängt dieser über die Schnittstelle 8 Daten von dem vorgelagerten Lokalbusmaster 3. Des Weiteren weisen die Datenbusteilnehmer 7a, 7b, ..., 7n in dem hier gezeigten Ausführungsbeispiel jeweils eine Schnittstelle 9 auf, um Daten an einen nachgelagerten oder nachfolgenden Datenbusteilnehmer 7a, 7b, ..., 7n weiterzuleiten. In Fall von Datenbusteilnehmer 7a sendet dieser Daten an den nachgelagerten Datenbusteilnehmer 7b über die Schnittstelle 9. Die Schnittstellen 8 und 9 dienen dabei zum Propagieren von Daten in Abwärtsrichtung des Ringbusses 6, d.h. von dem Lokalbusmaster 3 weg. Des Weiteren weisen die Datenbusteilnehmer 7a, 7b, ..., 7n in diesem Ausführungsbeispiel auch Schnittstellen 10 und 11 auf, zum Propagieren von Daten in Aufwärtsrichtung des Ringbusses 6, d.h. zum Lokalbusmaster 3 hin. Im Fall des Datenbusteilnehmers 7a ist Schnittstelle 10 dabei dazu ausgelegt, Daten von dem nachgelagerten oder nachfolgenden Datenbusteilnehmer 7b zu empfangen und Schnittstelle 11 ist dazu ausgelegt, Daten an den vorgelagerten oder vorangehenden Datenbusteilnehmer, hier den Lokalbusmaster 3, weiterzuleiten. Es kann also auch gesagt werden, dass die Schnittstellen 9 und 11 Senderschnittstellen sind, wohingegen die Schnittstellen 8 und 10 Empfängerschnittstellen sind.The ring bus 6 whose data sending direction is indicated by arrows in the in 1 In the exemplary embodiment shown here, a plurality of data bus subscribers 7a, 7b,..., 7n are shown. These data bus users 7a, 7b,..., 7n each have an interface in the exemplary embodiment shown here 8th to receive data from an upstream or previous data bus subscriber 7a, 7b, ..., 7n. In the case of data bus users 7a, this receives via the interface 8th Data from the upstream local bus master 3 , Furthermore, the data bus users 7a, 7b,..., 7n each have an interface in the exemplary embodiment shown here 9 to forward data to a downstream or subsequent data bus subscriber 7a, 7b, ..., 7n. In the case of data bus users 7a, this data is sent to the downstream data bus subscriber 7b via the interface 9 , The interfaces 8th and 9 serve to propagate data in the downward direction of the ring bus 6 ie from the local bus master 3 path. Furthermore, the data bus users 7a, 7b,..., 7n also have interfaces in this exemplary embodiment 10 and 11 on, to propagate data in the upward direction of the ring bus 6 ie to the local bus master 3 out. In the case of the data bus user 7a is interface 10 thereby adapted to receive data from the downstream or downstream data bus subscriber 7b and interface 11 is designed to transfer data to the upstream or previous data bus user, here the local bus master 3 to forward. So it can also be said that the interfaces 9 and 11 Transmitter interfaces are, whereas the interfaces 8th and 10 Are receiver interfaces.

In dem hier gezeigten Ausführungsbeispiel werden die Verbindungen der Schnittstellen und der SPS 1 beziehungsweise den Datenbusteilnehmern 7a, 7b, ..., 7n mit Hilfe von Kabeln oder Leiterplatten zur direkten oder indirekten Kontaktierung mittels elektrischen Kontakten realisiert. Eine andere Alternative ist, dass die einzelnen Verbindungen kabellos hergestellt werden, und die Schnittstellen die notwendigen Umsetzungen auf die verwendeten Funkstandards bereitstellen.In the embodiment shown here, the connections of the interfaces and the PLC 1 or the data bus participants 7a, 7b, ..., 7n realized by means of cables or printed circuit boards for direct or indirect contacting by means of electrical contacts. Another alternative is that the individual connections are made wirelessly, and the interfaces provide the necessary conversions to the radio standards used.

Auch wenn der Lokalbusmaster 3 und die einzelnen Datenbusteilnehmer 7a, 7b, ..., 7n in dem hier gezeigten Ausführungsbeispiel voneinander beabstandet gezeigt sind, der Lokalbusmaster 3 also dezentral angeordnet ist von den Datenbusteilnehmern 7a, 7b, ..., 7n, ist dem Fachmann bewusst, dass die Datenbusteilnehmer 7a, 7b, ..., 7n und der Lokalbusmaster 3 - der auch einen Datenbusteilnehmer des Ringbusses 6 darstellt - auch direkt miteinander verbunden werden können. Dabei können beispielsweise Kontakte des einen Datenbusteilnehmers in entsprechende Aufnahmen oder Aufnahmekontakte eines direkt benachbarten Datenbusteilnehmers greifen, um so eine elektrische Verbindung zwischen den Datenbusteilnehmern herzustellen, damit Daten in Abwärts- und Aufwärtsrichtung gesendet werden können. Beispielsweise können die Datenbusteilnehmer 7a, 7b, ...,7n an der dem Master abgewandten Seite Aufnahmen und an der dem Master zugewandten Seite Kontakte aufweisen. Werden die Datenbusteilnehmer 7a, 7b, ...,7n dann entsprechend aneinandergereiht, so greifen die Kontakte des einen Datenbusteilnehmers 7a, 7b, ..., 7n jeweils in die Aufnahmen des anderen Datenbusteilnehmers 7a, 7b, ..., 7n ein und es kann eine elektrische Verbindung erzeugt werden. Der Lokalbusmaster 3 weist dann entsprechend Kontakte an der Seite auf, die in die Aufnahmen des ersten Datenbusteilnehmers 7a greifen, um so zwischen den Schnittstellen 5a und 8 beziehungsweise den Schnittstellen 5b und 11 eine elektrische Verbindung zu erzeugen. Dem Fachmann sind aber auch noch andere Möglichkeiten, z.B. Druckkontakte, Messer- und Gabelkontakte bekannt, wie zwei direkt aneinander angeordnete Datenbusteilnehmer 7a, 7b, ..., 7n eine elektrische oder optische Verbindung herstellen können.Even if the local bus master 3 and the individual data bus subscribers 7a, 7b,..., 7n are shown spaced apart in the embodiment shown here, the local bus master 3 that is to say that the data bus users 7a, 7b,.. 3 - The also a data bus participant of the ring bus 6 represents - can also be connected directly with each other. In this case, for example, contacts of a data bus subscriber can access corresponding receptacles or receptacle contacts of a directly adjacent data bus subscriber so as to establish an electrical connection between the data bus users so that data is transmitted in the downward and upward direction can. For example, the data bus users 7a, 7b,..., 7n can have receptacles on the side facing away from the master and contacts on the side facing the master. If the data bus subscribers 7a, 7b,..., 7n are then lined up correspondingly, then the contacts of the one data bus subscriber intervene 7a , 7b, ..., 7n each into the receptacles of the other data bus 7a, 7b, ..., 7n and an electrical connection can be generated. The local bus master 3 then has corresponding contacts on the side, which engage in the receptacles of the first data bus 7a, so between the interfaces 5a and 8th or the interfaces 5b and 11 to create an electrical connection. However, the person skilled in the art also knows of other possibilities, for example pressure contacts, blade and fork contacts, as two data bus users 7a, 7b,..., 7n arranged directly next to one another can establish an electrical or optical connection.

Im Falle dessen, dass die Datenbusteilnehmer 7a, 7b, ..., 7n und der Lokalbusmaster 3 direkt miteinander verbunden werden sollen, können diese auch mechanische Aufnahmen oder mechanische Befestigungsmittel aufweisen, mit denen die einzelnen Datenbusteilnehmer 7a, 7b, ..., 7n und der Lokalbusmaster 3 miteinander verbunden werden können. Hierbei kann zum Beispiel ein Datenbusteilnehmer 7a, 7b, ..., 7n an einer Seite einen Vorsprung aufweisen und an der anderen Seite eine Hinterschneidung aufweisen. Werden die Datenbusteilnehmer 7a, 7b, ..., 7n dann aneinandergereiht, so greift ein Vorsprung in eine Hinterschneidung des anderen Datenbusteilnehmers 7a, 7b, ..., 7n ein, so dass eine mechanische Kopplung entsteht. Zur einfachen Aneinanderreihung der Datenbusteilnehmer 7a, 7b, ..., 7n können diese auch auf einer gemeinsamen Aufnahme, zum Beispiel einer Hutschiene angeordnet werden. Zur Befestigung auf der Hutschiene können die Datenbusteilnehmer 7a, 7b, ..., 7n entsprechende Befestigungsmittel aufweisen. Alternativ oder zusätzlich können die Datenbusteilnehmer 7a, 7b, ..., 7n auch beispielsweise lösbar verbindbare Befestigungsmittel aufweisen, mit denen die Datenbusteilnehmer 7a, 7b, ..., 7n entweder an der Hutschiene oder an einer anderen Aufnahme befestigt werden können. Dazu kann das lösbar verbindbare Befestigungsmittel austauschbar sein und ein entsprechendes Befestigungsmittel für die gewünschte Aufnahme kann mit den Datenbusteilnehmern 7a, 7b, ..., 7n verbunden werden, so dass diese an der gewünschten Aufnahme befestigt werden können.In the case of the data bus users 7a, 7b, ..., 7n and the local bus master 3 can be directly connected to each other, they can also have mechanical recordings or mechanical fastening means with which the individual data bus 7a, 7b, ..., 7n and the local bus master 3 can be connected to each other. In this case, for example, a data bus subscriber 7a, 7b,..., 7n may have a projection on one side and an undercut on the other side. If the data bus subscribers 7a, 7b,..., 7n are then lined up, a projection engages in an undercut of the other data bus subscriber 7a, 7b,..., 7n, so that a mechanical coupling is produced. For a simple juxtaposition of the data bus users 7a, 7b,..., 7n, these can also be arranged on a common receptacle, for example a DIN rail. For attachment to the top hat rail, the data bus users 7a, 7b,..., 7n can have corresponding fastening means. Alternatively or additionally, the data bus subscribers 7a, 7b,..., 7n can also have, for example, releasably connectable fastening means with which the data bus subscribers 7a, 7b,..., 7n can be fastened either to the DIN rail or to another receptacle. For this purpose, the releasably connectable fastener may be interchangeable and a corresponding fastener for the desired recording can be connected to the data bus 7a, 7b, ..., 7n, so that they can be attached to the desired recording.

Des Weiteren weisen die Datenbusteilnehmer 7a, 7b, ..., 7n in dem in 1 gezeigten Ausführungsbeispiel auch eine Verarbeitungseinheit 12 auf. Diese Verarbeitungseinheit 12 kann eine arithmetische-logische Einheit sein oder eine andere Art von Rechenwerk sein mit dessen Hilfe Daten verarbeitet werden können. Die Verarbeitungseinheit 12 ist vorzugsweise ein integraler Bestandteil des Datenbusteilnehmers 7a, 7b, ..., 7n, um eine besonders schnelle und zeitlich synchronisierte Bearbeitung der Daten sicherzustellen.Furthermore, the data bus users 7a, 7b,..., 7n in the in 1 embodiment shown, a processing unit 12 on. This processing unit 12 can be an arithmetic-logical unit or another type of arithmetic unit with which data can be processed. The processing unit 12 is preferably an integral part of the data bus subscriber 7a, 7b,..., 7n in order to ensure a particularly fast and time-synchronized processing of the data.

Die Verarbeitungseinheit 12 kann auch als Gesamtschaltung des Datenbusteilnehmers bezeichnet werden. D.h. die Verarbeitungseinrichtung 12 empfängt Daten über die Eingänge 8 und 10 und gibt Daten auf den Ausgängen 9 und 11 aus. Des Weiteren kann die Verarbeitungseinrichtung 12 Daten von den Ein-/und Ausgängen 13 und 14 empfangen beziehungsweise ausgeben. Weiterhin hat die Verarbeitungseinheit 12 Zugriff auf einen Speicher - hier nicht gezeigt - des Datenbusteilnehmers 7a, 7b, ..., 7n in dem beispielsweise Daten, Prozessdaten, oder Instruktionslisten gespeichert sind.The processing unit 12 may also be referred to as the overall circuit of the data bus subscriber. That is, the processing device 12 receives data via the inputs 8th and 10 and gives data on the outputs 9 and 11 out. Furthermore, the processing device 12 Data from the inputs and outputs 13 and 14 receive or spend. Furthermore, the processing unit has 12 Access to a memory - not shown here - the data bus subscriber 7a, 7b, ..., 7n are stored in the example, data, process data, or instruction lists.

Die Verarbeitungseinheit 12 kann dazu ausgelegt sein, empfangene Daten zu verarbeiten und Daten auszugeben. Empfangen werden können zu verarbeitende Daten entweder von einem vorgelagerten Datenbusteilnehmer oder von Eingängen 13 des Datenbusteilnehmers 7a, 7b, ..., 7n. Dabei können die Eingänge 13 des Datenbusteilnehmers 7a, 7b, ..., 7n mit Sensoren 15 verbunden sein, die zum Beispiel Messdaten, Zustandsdaten, etc. senden. Ausgegeben werden können verarbeitete Daten entweder an einen nachgelagerten Datenbusteilnehmer oder an Ausgängen 14 des Datenbusteilnehmers 7a, 7b, ..., 7n. Dabei können die Ausgänge 14 des Datenbusteilnehmers 7a, 7b, ..., 7n mit Aktoren 16 verbunden sein, die zum Beispiel mit Hilfe der an sie gerichteten Daten eine bestimmte Aktion durchführen. Wenn in Aufwärtsrichtung auch eine Verarbeitung der Daten stattfinden soll, so können Daten auch von einem nachgelagerten Datenbusteilnehmer 7a, 7b, ..., 7n empfangen werden und verarbeitete Daten an einen vorgelagerten Datenbusteilnehmer 7a, 7b, ..., 7n gesendet werden.The processing unit 12 may be configured to process received data and output data. Data to be processed can be received either from an upstream data bus subscriber or from inputs 13 of the data bus subscriber 7a, 7b, ..., 7n. The inputs can 13 of the data bus subscriber 7a, 7b,..., 7n with sensors 15 be connected, for example, the measurement data, status data, etc. send. Processed data can be output either to a downstream data bus subscriber or to outputs 14 of the data bus subscriber 7a, 7b, ..., 7n. The outputs can be 14 of the data bus subscriber 7a, 7b,..., 7n with actuators 16 be connected, for example, perform a specific action using the data directed to them. If data processing is also to take place in the upward direction, data can also be received by a downstream data bus subscriber 7a, 7b,..., 7n and processed data can be sent to an upstream data bus subscriber 7a, 7b,..., 7n.

Einfachheitshalber sind in dem hier gezeigten Ausführungsbeispiel die Datenbusteilnehmer 7a, 7b, ..., 7n nur mit einem Eingang 13 und einem Ausgang 14 gezeigt und auch nur Datenbusteilnehmer 7b ist mit Sensor 15 und Aktor 16 verbunden. Es ist dem Fachmann aber bewusst, dass die Datenbusteilnehmer 7a, 7b, ..., 7n eine Vielzahl von Ein- und Ausgängen 13 und 14 aufweisen können, und mit einer Vielzahl von unterschiedlichen Sensoren 15 und Aktoren 16 verbunden werden können. Dabei ist das die Sensoren 15 charakterisierende Merkmal, dass die Sensoren 15 Daten oder Signale aufnehmen und an den Datenbusteilnehmer 7a, 7b, ..., 7n senden, wohingegen Aktoren 16 Daten oder Signale von den Datenbusteilnehmern 7a, 7b, ..., 7n empfangen und basierend auf diesen Daten oder Signalen eine Aktion ausführen.For the sake of simplicity, in the exemplary embodiment shown here, the data bus subscribers 7a, 7b,..., 7n have only one input 13 and an exit 14 shown and only data bus 7b is with sensor 15 and actor 16 connected. However, it is known to the person skilled in the art that the data bus users 7a, 7b,..., 7n have a multiplicity of inputs and outputs 13 and 14 and with a variety of different sensors 15 and actuators 16 can be connected. And that's the sensors 15 characterizing feature that the sensors 15 Record data or signals and send to the data bus users 7a, 7b, ..., 7n, whereas actuators 16 Receive data or signals from the data bus users 7a, 7b, ..., 7n and perform an action based on these data or signals.

Alternativ können die Schnittstellen 8, 9, 10 und 11 in einer Moduleinheit integriert sein und die Datenbusteilnehmer 7a, 7b, 7n auf diese Moduleinheit aufgesteckt werden können. Die Moduleinheiten können auch als Basiselemente des Ringbusses 6 bezeichnet werden. Die Ringbusinfrastruktur wird dabei durch die Moduleinheiten aufgebaut und die Datenbusteilnehmer 7a, 7b, ..., 7n sind auswechselbar, so dass der Ringbus 6 mit beliebigen Datenbusteilnehmern 7a, 7b, ..., 7n aufgebaut werden kann. Mit Hilfe der Moduleinheiten ist auch sichergestellt, dass auch wenn ein Datenbusteilnehmer 7a, 7b, ..., 7n entfernt wird, die Kommunikation zwischen den restlichen Datenbusteilnehmern 7a, 7b, ..., 7n nicht unterbrochen wird, weil die Kommunikation über die noch vorhandenen Moduleinheiten geschieht. Alternatively, the interfaces 8th . 9 . 10 and 11 be integrated in a module unit and the data bus participants 7a, 7b, 7n can be plugged onto this module unit. The module units can also be used as basic elements of the ring bus 6 be designated. The ring bus infrastructure is constructed by the modular units and the data bus users 7a, 7b, ..., 7n are interchangeable, so that the ring bus 6 can be constructed with any data bus subscribers 7a, 7b, ..., 7n. With the help of the module units is also ensured that even if a data bus subscriber 7a, 7b, ..., 7n is removed, the communication between the remaining data bus participants 7a, 7b, ..., 7n is not interrupted, because the communication on the still existing module units happens.

Die in diesem Ausführungsbeispiel gezeigten Datenbusteilnehmer 7a, 7b, ..., 7n werden auf Grund ihrer Ein- und Ausgänge 13, 14, die mit Sensoren 15 beziehungsweise Aktoren 16 verbunden werden können, auch häufig als E/A-Module bezeichnet. Auch wenn die Datenbusteilnehmer 7a, 7b, ..., 7n in dem hier gezeigten Ausführungsbeispiel als räumlich getrennt von den Sensoren 15 beziehungsweise Aktoren 16 dargestellt sind, so können die Sensoren 15 beziehungsweise Aktoren 16 auch in dem E/A-Modul integriert sein.The data bus users shown in this embodiment 7a , 7b, ..., 7n are due to their inputs and outputs 13 . 14 that with sensors 15 or actuators 16 often referred to as I / O modules. Even if the data bus participants 7a , 7b, ..., 7n in the embodiment shown here as spatially separated from the sensors 15 or actuators 16 are shown, so the sensors 15 or actuators 16 also be integrated in the I / O module.

Der in dem hier gezeigten Ausführungsbeispiel gezeigte Ringbus 6 basiert auf einer sich zyklisch wiederholenden Abfolge von Datenpaketen bzw. Telegrammen oft Zyklusrahmenkommunikation genannt. Dabei werden von dem Lokalbusmaster 3 beispielsweise Datenpakete generiert, die einen Kopfteil, einen Prozessdatenteil oder Informationsdatenteil und einen Prüfsummenteil aufweisen. Der Prozessdatenteil oder Informationsdatenteil des Datenpakets kann dabei Nutz-, Steuer-, und Prozessdaten aufweisen - wie in den 2 und 3 gezeigt. Das eine Datenpaket oder die Datenpakete werden von dem Lokalbusmaster 3 in Abwärtsrichtung an den ersten Datenbusteilnehmer 7a des Ringbusses 6 gesendet. Dieser empfängt einen ersten Teil des Datenpakets über die Schnittstelle 8. Ein derartiger Teil des Datenpakets wird im Folgenden auch als Stück oder Einheit bezeichnet. Der Datenbusteilnehmer 7a führt dann eine Verarbeitung des Teils aus, und leitet den Teil dann an den nächsten Datenbusteilnehmer 7b über Schnittstelle 9 weiter, vorzugsweise gleichzeitig empfängt der erste Datenbusteilnehmer 7a einen zweiten Teil des Datenpakets usw. Die Größe der Teile der Datenpakete, also die Stückelung, hängt dabei von der Aufnahmekapazität der Datenbusteilnehmer 7a, 7b, ..., 7n ab, beispielsweise können zur Verarbeitung gleichzeitig eine feste Anzahl von Bits, beispielsweise 8 Bits des Datenpakets am Datenbusteilnehmer 7a, 7b, ..., 7n vorliegen.The ring bus shown in the embodiment shown here 6 is based on a cyclically repeating sequence of data packets or telegrams often called cycle frame communication. These are from the local bus master 3 For example, generates data packets that have a header, a process data part or information data part and a checksum part. The process data part or information data part of the data packet can have useful, control and process data - as in the 2 and 3 shown. The one data packet or packets are from the local bus master 3 in the downward direction to the first data bus 7a of the ring bus 6 Posted. This receives a first part of the data packet via the interface 8th , Such a part of the data packet is also referred to below as a piece or unit. The data bus subscriber 7a then carries out a processing of the part, and then passes the part to the next data bus subscriber 7b via interface 9 The size of the parts of the data packets, ie the denomination, depends on the capacity of the data bus subscribers 7a, 7b,..., 7n, for example, for processing at the same time a fixed number of bits, for example 8 bits of the data packet are present at the data bus subscriber 7a, 7b,..., 7n.

Die Datenpakete durchlaufen dementsprechend einheitenweise, stückchenweise, oder Teile weise, zum Beispiel in Teilen oder Symbolen von 8 Bits, die Datenbusteilnehmer 7a, 7b, ..., 7n. Die Datenpakete, welche vom letzten Datenbusteilnehmer, in dem hier gezeigten Ausführungsbeispiel Datenbusteilnehmer 7n, verarbeitet worden sind, durchlaufen dann in Aufwärtsrichtung den Ringbus 6, so dass die Teile ausgehend von dem letzten Datenbusteilnehmer 7n wieder in Richtung Lokalbusmaster 3 durch alle Datenbusteilnehmer 7a, 7b, ..., 7n aufwärts gesendet werden. Hierzu weist der letzte Datenbusteilnehmer 7n entweder eine schaltbare Brücke auf, die die Schnittstelle 9 mit der Schnittstelle 10 verbindet oder an den letzten Datenbusteilnehmer 7n wird eine schaltbare Brücke - hier nicht gezeigt - angeschlossen, die die Funktion übernimmt die Teile des Zyklusrahmens von der Schnittstelle 9 auf die Schnittstelle 10 zu leiten. Alternativ kann die Schnittstelle 10 des Datenbusteilnehmers 7n auch mit Hilfe einer Bypassleitung - hier nicht gezeigt - direkt mit der Schnittstelle 5b des Lokalbusmasters 3 verbunden werden.Accordingly, the data packets pass through unit-wise, piecewise, or portion wise, for example, in portions or symbols of 8 bits, the data bus subscribers 7a, 7b, ..., 7n. The data packets which have been processed by the last data bus subscriber, in the exemplary embodiment data bus subscribers 7n shown here, then pass through the ring bus in the upward direction 6 , so that the parts starting from the last data bus subscriber 7n again towards local bus master 3 are transmitted upwards by all data bus subscribers 7a, 7b,..., 7n. For this purpose, the last data bus subscriber 7n either has a switchable bridge which is the interface 9 with the interface 10 connects or to the last data bus 7n a switchable bridge - not shown here - connected, which takes over the parts of the cycle frame from the interface 9 on the interface 10 to lead. Alternatively, the interface 10 of the data bus subscriber 7n also with the help of a bypass line - not shown here - directly to the interface 5b of the local bus master 3 get connected.

In der Aufwärtsrichtung können die Datenpakete, wie in dem hier gezeigten Ausführungsbeispiel durch die einzelnen Datenbusteilnehmer 7a, 7b, ..., 7n zurück an den Lokalbusmaster 3 geschleift werden, ohne dass eine weitere Verarbeitung stattfindet. Es ist aber auch denkbar, dass in der Aufwärtsrichtung erneut eine Verarbeitung der Datenpakete stattfindet, so dass die Datenpakete zweimal verarbeitet werden, einmal auf der Abwärtsrichtung zum letzten Datenbusteilnehmer 7n und einmal in Aufwärtsrichtung zum Lokalbusmaster 3. Beispielsweise kann in Aufwärtsrichtung eine Verarbeitung durch Signalauffrischung und/oder Phasenschiebung erfolgen.In the uplink direction, the data packets, as in the exemplary embodiment shown here, can be fed back to the local bus master by the individual data bus subscribers 7a, 7b,..., 7n 3 be looped without any further processing taking place. However, it is also conceivable that processing of the data packets takes place again in the upward direction, so that the data packets are processed twice, once in the downward direction to the last data bus subscriber 7n and once in the upward direction to the local bus master 3 , For example, upstream processing may be signal refresh and / or phase shift processing.

Bei der Verarbeitung der Datenpakete in Abwärtsrichtung, d.h. von dem Lokalbusmaster 3 weg, oder in Aufwärtsrichtung, d.h. zum Lokalbusmaster 3 hin, wird die Verarbeitung mit Hilfe von Instruktionslisten bewerkstelligt, wobei die Instruktionslisten Sätze von Instruktionen beinhalten, die von der Verarbeitungseinheit 12 der Datenbusteilnehmer 7a, 7b, ..., 7n ausgeführt werden können. Die Instruktionslisten selbst können den einzelnen Datenbusteilnehmern 7a, 7b, ..., 7n in einer Initialisierungsphase vom Lokalbusmaster 3 zugesandt werden oder vorteilhaft während der laufenden Kommunikation den Datenbusteilnehmern 7a, 7b, ..., 7n zugesandt werden, so dass eine Programmierung der Datenbusteilnehmer 7a, 7b, ..., 7n ohne Unterbrechung der Kommunikation stattfindet.In the processing of the data packets in the downward direction, ie by the local bus master 3 away, or in the upward direction, ie to the local bus master 3 In addition, the processing is accomplished by means of instruction lists, the instruction lists containing sets of instructions issued by the processing unit 12 the data bus users 7a, 7b, ..., 7n can be executed. The instruction lists themselves can communicate with the individual data bus subscribers 7a, 7b,..., 7n in an initialization phase from the local bus master 3 be sent or advantageous during the ongoing communication the data bus subscribers 7a, 7b, ..., 7n sent so that programming of the data bus participants 7a, 7b, ..., 7n takes place without interrupting the communication.

2 zeigt eine schematische Darstellung eines ersten Datenpakets 17 zum Programmieren eines Datenbusteilnehmers 7a, 7b, ..., 7n ohne dass die laufende Kommunikation unterbrochen werden muss. Das erste Datenpaket 17 kann dabei in einer Abfolge von Datenpaketen der laufenden zyklischen Kommunikation eingebettet werden und zur Programmierung eines Datenbusteilnehmers 7a, 7b, ..., 7n verwendet werden. Die Programmierung des einen Datenbusteilnehmers 7a, 7b, ..., 7n findet dabei mit Hilfe von Instruktionslisteninformation statt, die in dem ersten Datenpaket 17 an den zu programmierenden Datenbusteilnehmer 7a, 7b, ..., 7n gesendet wird. 2 shows a schematic representation of a first data packet 17 for programming a data bus subscriber 7a, 7b,..., 7n without the current communication having to be interrupted. The first data packet 17 can do this in a sequence of data packets of the current cyclic Embedded communication and for programming a data bus subscriber 7a, 7b, ..., 7n are used. The programming of the one data bus subscriber 7a, 7b,..., 7n takes place with the aid of instruction list information which is stored in the first data packet 17 is sent to the data bus users to be programmed 7a, 7b, ..., 7n.

Das erste Datenpaket 17 besteht dabei aus einem allgemeinen Kopfteil, einem Informationsteil und einem Prüfsummenteil. Der Kopfteil beinhaltet ein Feld 18, welches ein eindeutiges nur einmal auftretendes Bitmuster MWR enthält, welches auch als Codewort oder Kennung bezeichnet werden kann. Die Datenbusteilnehmer 7a, 7b, ..., 7n haben die Kenntnis, dass wenn das Bitmuster MWR auftritt, Daten den Datenbusteilnehmern 7a, 7b, ..., 7n zur Verfügung gestellt werden. Dabei können diese Daten eben die Instruktionslisten für die Datenbusteilnehmer 7a, 7b, ..., 7n sein, um die Datenbusteilnehmer 7a, 7b, ..., 7n zu programmieren. Der Kopf des ersten Datenpakets 17 kann auch noch weitere Informationen enthalten, die zur Steuerung oder Fehlererkennung nötig sind - hier nicht gezeigt.The first data packet 17 consists of a general header, an information part and a checksum part. The header contains a box 18 which contains a unique bit pattern MWR occurring only once, which may also be referred to as code word or identifier. The data bus users 7a, 7b, ..., 7n are aware that when the bit pattern MWR occurs, data is provided to the data bus users 7a, 7b, ..., 7n. In this case, these data can just be the instruction lists for the data bus subscribers 7a, 7b,..., 7n to program the data bus subscribers 7a, 7b,..., 7n. The head of the first data packet 17 may also contain other information needed to control or error detection - not shown here.

Der Informationsteil des ersten Datenpakets 17 beinhaltet ein Feld 19, in dem die Adresse des anzusprechenden Datenbusteilnehmers 7a, 7b, ..., 7n hinterlegt ist. Nur der Datenbusteilnehmer 7a, 7b, ..., 7n, dessen Adresse mit der in dem Feld 19 hinterlegten Adresse übereinstimmt, liest die Instruktionslistendaten 21 des Informationsteils des ersten Datenpakets 17. Der Informationsteil kann auch noch ein weiteres Feld 20 aufweisen, welches von dem entsprechenden Datenbusteilnehmer 7a, 7b, ..., 7n dessen Adresse in Feld 19 hinterlegt ist verwendet werden kann zur Fehlererkennung, Fehlerpropagierung, oder dieses Feld 20 kann Anweisungen enthalten, wohin die Instruktionslistendaten 21 gespeichert werden sollen. Die Instruktionslistendaten 21 können zumindest eine Instruktionsliste oder mehrere Instruktionslisten beinhalten. Nach Abspeicherung der Instruktionslisten in den jeweiligen Datenbusteilnehmern 7a, 7b, ..., 7n kann auch davon gesprochen werden, dass die Programmierung des Datenbusteilnehmers 7a, 7b, ..., 7n erfolgt ist. Die Instruktionslisten weisen dabei Sätze von Instruktionen auf, die die von den Datenbusteilnehmern 7a, 7b, ..., 7n durchzuführende Verarbeitung definieren. Des Weiteren kann das erste Datenpaket 17 auch noch einen Prüfsummenteil aufweisen, mit dem eine zyklische Redundanzprüfung durchgeführt werden kann.The information part of the first data packet 17 includes a field 19 in which the address of the data bus subscriber 7a, 7b, ..., 7n to be addressed is stored. Only the data bus subscriber 7a, 7b, ..., 7n whose address matches that in the field 19 stored address reads the instruction list data 21 the information part of the first data packet 17 , The information part can also have another field 20 which of the corresponding data bus subscriber 7a, 7b, ..., 7n whose address in field 19 can be used for error detection, error propagation, or this field 20 can contain instructions to where the instruction list data 21 should be saved. The instruction list data 21 may include at least one instruction list or multiple instruction lists. After storing the instruction lists in the respective data bus subscribers 7a, 7b,..., 7n, it can also be said that the programming of the data bus subscriber 7a, 7b,..., 7n has taken place. In this case, the instruction lists have sets of instructions which define the processing to be performed by the data bus subscribers 7a, 7b,..., 7n. Furthermore, the first data packet 17 also have a Prüfsummenteil with which a cyclic redundancy check can be performed.

Nachdem ein Datenbusteilnehmer 7a, 7b, ..., 7n mit Hilfe des ersten Datenpakets 17 programmiert wurde, d.h. sobald die Instruktionsliste im Datenbusteilnehmer 7a, 7b, ..., 7n gespeichert worden ist, ist dieser Datenbusteilnehmer 7a, 7b, ..., 7n bereit Prozessdaten zu verarbeiten. Diese Prozessdaten können bereits im gleichen Zyklusrahmen, der die Programmierung des Datenbusteilnehmers 7a, 7b, ..., 7n bewerkstelligt hat, empfangen werden, nämlich in einem zweiten Datenpaket, welches dem ersten Datenpaket im Zyklusrahmen folgt. Ein derartiges zweites Datenpaket ist in 3 gezeigt. Das zweite Datenpaket 22 kann aber auch in einem anderen Zyklusrahmen empfangen werden.After a data bus subscriber 7a, 7b, ..., 7n using the first data packet 17 has been programmed, ie as soon as the instruction list has been stored in the data bus subscriber 7a, 7b,..., 7n, this data bus subscriber 7a, 7b,..., 7n is ready to process data. This process data can already be received in the same cycle frame, which has accomplished the programming of the data bus subscriber 7a, 7b,..., 7n, namely in a second data packet which follows the first data packet in the cycle frame. Such a second data packet is in 3 shown. The second data packet 22 but can also be received in another cycle frame.

3 zeigt eine schematische Darstellung eines zweiten Datenpakets 22 zum Senden von Prozessdaten an die Datenbusteilnehmer 7a, 7b, ..., 7n des Ringbusses 6. Das zweite Datenpaket 22 kann dabei in einem Zyklusrahmen der laufenden Kommunikation eingebettet werden, z.B. als Teil des Prozessdatenteils. 3 shows a schematic representation of a second data packet 22 for sending process data to the data bus users 7a, 7b, ..., 7n of the ring bus 6 , The second data packet 22 can be embedded in a cycle frame of the ongoing communication, eg as part of the process data part.

Das zweite Datenpaket 22 besteht aus einem allgemeinen Kopfteil, einem Informationsteil und einem Prüfsummenteil. Der Kopfteil beinhaltet ein Feld 23, welches ein eindeutiges nur einmal auftretendes Bitmuster IDE enthält, welches auch als Codewort oder Kennung bezeichnet werden kann. Die Datenbusteilnehmer 7a, 7b, ..., 7n haben die Kenntnis, dass wenn das Bitmuster IDE auftritt, ein Prozessdatenpaket übertragen wird. Der Kopfteil des zweiten Datenpakets 22 kann des Weiteren noch andere Informationen beinhalten, welche zur Steuerung und/oder zur Fehlersuche verwendet werden können. Der Informationsteil des zweiten Datenpakets 22 kann als erstes ein Instruktionslistenindexfeld, ILI, 24 aufweisen welches angibt, welche Instruktionsliste die Datenbusteilnehmer 7a, 7b, ..., 7n verwenden sollen. Beispielsweise kann im Normalbetrieb des Ringbusses 6 vorgesehen sein, dass alle Datenbusteilnehmer 7a, 7b, ..., 7n ihre erste Instruktionsliste verwenden, wohingegen im Fehlerfall die zweite Instruktionsliste verwendet werden soll. Es ist auch denkbar, dass eine erste Instruktionsliste Instruktionen für Prozessdaten in einem ersten Prozessdatenpaket innerhalb eines Zyklusrahmens umfasst und eine zweite Instruktionsliste kann einen zweiten Satz von Instruktionen für Prozessdaten in einem zweiten Prozessdatenpaket innerhalb eines Zyklusrahmens umfassen. Dabei kann die erste Anordnung verschieden sein von der zweiten Anordnung. Beispielsweise kann bei einem Werkzeugwechsel an einem Aktor, der an einen Datenbusteilnehmer 7a, 7b, ..., 7n angeschlossen ist, eine andere Verarbeitung nötig werden, weil in diesem Fall auch andere für das neue Werkzeug spezifische Prozessdaten, d.h. beispielsweise Bits, in einem Datenpaket im Zyklusrahmen übertragen werden. D.h. die erste Instruktionsliste kann beispielsweise vor dem Werkzeugwechsel verwendet werden, wohingegen die zweite Instruktionsliste nach dem Werkzeugwechsel verwendet wird. Der Instruktionslistenindex 24 kann auf den Speicherplatz der im Datenbusteilnehmer 7a, 7b, ..., 7n gespeicherten Instruktionsliste direkt hinweisen, oder der Instruktionslistenindex kann einen Wert aufweisen, mit dem der Datenbusteilnehmer 7a, 7b, ..., 7n beispielsweise über eine Umsetzungstabelle die entsprechende Instruktionsliste auffinden kann, so dass entsprechend des Instruktionslistenindexes 24 entweder eine erste oder eine zweite oder eine andere durch den Instruktionslistenindex 24 angezeigte Instruktionsliste verwendet werden kann.The second data packet 22 consists of a general header, an information part and a checksum part. The header contains a box 23 which contains a unique only occurring once pattern IDE, which may also be referred to as a codeword or identifier. The data bus users 7a, 7b, ..., 7n are aware that when the bit pattern IDE occurs, a process data packet is transmitted. The header of the second data packet 22 may also include other information that can be used for control and / or troubleshooting. The information part of the second data packet 22 may first comprise an instruction list index field, ILI, 24 indicating which instruction list the data bus subscribers 7a, 7b, ..., 7n should use. For example, in normal operation of the ring bus 6 be provided that all data bus 7a, 7b, ..., 7n use their first instruction list, whereas in case of error, the second instruction list is to be used. It is also conceivable that a first instruction list comprises instructions for process data in a first process data packet within a cycle frame, and a second instruction list may comprise a second set of instructions for process data in a second process data packet within a cycle frame. In this case, the first arrangement may be different from the second arrangement. For example, in a tool change to an actuator which is connected to a data bus 7a, 7b, ..., 7n, another processing will be necessary, because in this case, other specific for the new tool process data, ie, for example, bits in one Data packet are transmitted in the cycle frame. That is, the first instruction list can be used, for example, before the tool change, whereas the second instruction list is used after the tool change. The instruction list index 24 may directly refer to the memory location of the instruction list stored in the data bus subscriber 7a, 7b, ..., 7n, or the instruction list index may have a value with which the Data bus subscribers 7a, 7b, ..., 7n, for example, can find the corresponding instruction list via a conversion table, so that according to the instruction list index 24 either a first or a second or another through the instruction list index 24 displayed instruction list can be used.

Der Informationsteil des zweiten Datenpakets 22 weist des Weiteren die eigentlichen Prozessdaten 25a, 25b, 25c, ... auf. Die Prozessdaten 25a, 25b, 25c, ... werden an den Datenbusteilnehmern 7a, 7b, ..., 7n verwendet um eine Steuerung, Regelung oder Auswertung durchzuführen. Die Prozessdaten 25a, 25b, 25c, ... können beispielsweise an Aktoren abgegeben werden, um eine Stellbewegung des Aktors hervorzurufen. Die Prozessdaten 25a, 25b, 25c, ... können also Steuersignale darstellen oder von den Datenbusteilnehmern 7a, 7b, ..., 7n in entsprechende Steuersignale umgewandelt werden. Die Prozessdaten 25a, 25b, 25c,... können beispielsweise auch Messwerte darstellen, die von Sensoren aufgenommen werden, die mit den Datenbusteilnehmern 7a, 7b, ..., 7n verbundenen sind und können als Grenz- oder Stellwerte verwendet werden, um Aktoren entsprechend anzusteuern. D.h. die Datenbusteilnehmer 7a, 7b, ..., 7n setzen die Prozessdaten 25a, 25b, 25c, ... entsprechend in Steuersignale und/oder Messsignale um oder umgekehrt.The information part of the second data packet 22 also indicates the actual process data 25a . 25b . 25c , ... on. The process data 25a . 25b . 25c , ... are on the data bus users 7a , 7b, ..., 7n used to perform a control, regulation or evaluation. The process data 25a . 25b . 25c , ... can be delivered to actuators, for example, to cause an actuating movement of the actuator. The process data 25a . 25b . 25c , ... can therefore represent control signals or be converted by the data bus subscribers 7a, 7b, ..., 7n into corresponding control signals. The process data 25a . 25b . 25c , ... can also represent, for example, measured values which are recorded by sensors which are connected to the data bus users 7a, 7b,..., 7n and can be used as limit values or manipulated variables in order to actuate actuators accordingly. That is, the data bus users 7a, 7b, ..., 7n set the process data 25a . 25b . 25c , ... according to control signals and / or measuring signals to or vice versa.

Des Weiteren weist das zweite Datenpaket 22 einen Zählerwert 26 auf, der von jedem Datenbusteilnehmer 7a, 7b, ..., 7n durch den das zweite Datenpaket 22 läuft inkrementiert oder dekrementiert wird, so dass wenn das zweite Datenpaket 22 wieder am Lokalbusmaster 3 eintrifft, beziehungsweise dieser Teil des zweiten Datenpakets 22 wieder am Lokalbusmaster 3 eintrifft, bestimmt werden kann, ob alle Datenbusteilnehmer 7a, 7b, ..., 7n den Zyklusrahmen verarbeitet haben, was inhärent auch Aufschluss darüber gibt, ob ein Datenbusteilnehmer 7a, 7b, ..., 7n einen Fehler aufweist und keine Verarbeitung durchgeführt hat. Des Weiteren kann das zweite Datenpaket 22 auch noch einen Prüfsummenteil aufweisen, mit dem eine zyklische Redundanzprüfung durchgeführt werden kann.Furthermore, the second data packet 22 a counter value 26 on, from each data bus subscriber 7a, 7b, ..., 7n through the second data packet 22 running is incremented or decremented, so if the second data packet 22 again at the local bus master 3 arrives, or this part of the second data packet 22 again at the local bus master 3 arrives, it may be determined whether all the data bus subscribers 7a, 7b, ..., 7n have processed the cycle frame, which also inherently provides information as to whether a data bus subscriber 7a, 7b, ..., 7n has failed and has not performed processing , Furthermore, the second data packet 22 also have a Prüfsummenteil with which a cyclic redundancy check can be performed.

4 zeigt ein beispielhaftes Zeitdiagramm des Durchleitens des ersten und zweiten Datenpakets 17, 22 durch entsprechende Datenbusteilnehmer 7a, 7b, ..., 7n eines Ringbusses 6. In dem hier gezeigten Ausführungsbeispiel wird mit Hilfe des ersten Datenpakets 17 der zweite Datenbusteilnehmer 7b programmiert. 4 shows an exemplary timing diagram of passing the first and second data packets 17 . 22 by corresponding data bus subscribers 7a, 7b,..., 7n of a ring bus 6 , In the exemplary embodiment shown here, with the aid of the first data packet 17 the second data bus subscriber 7b is programmed.

Zur Zeit τ = 1 hat nur der Datenbusteilnehmer 7a das Bitmuster MWR des ersten Datenpakets 17 vom Lokalbusmaster 3 in einem ersten Symbol empfangen. Der Datenbusteilnehmer weiß in diesem Fall, dass die folgenden Symbole des ersten Datenpakets 17 Instruktionslistendaten 21 tragen. Zu diesem Zeitpunkt weiß der Datenbusteilnehmer 7a aber nicht, ob diese Instruktionslistendaten 21 für ihn oder einen anderen Datenbusteilnehmer 7b, ..., 7n im Ringbus 6 bestimmt sind. Der Datenbusteilnehmer 7a kann durch den Erhalt des Symbols mit dem Bitmuster MWR in einen Empfangsmodus versetzt werden. D.h. der Datenbusteilnehmer 7a erwartet Instruktionslistendaten 21, die in einem zugreifbaren Speicher gespeichert werden können. Um ein deterministisches Verhalten des Ringbusses 6 zu gewährleisten, verbleibt das Symbol eine gewisse Zeit am Datenbusteilnehmer 7a bevor dieser es an den nachgelagerten Datenbusteilnehmer, hier Datenbusteilnehmer 7b weiterleitet.At the time τ = 1, only the data bus subscriber 7a has the bit pattern MWR of the first data packet 17 from the local bus master 3 received in a first symbol. The data bus user knows in this case that the following symbols of the first data packet 17 Instruction list data 21 wear. At this time, however, the data bus user 7a does not know whether these instruction list data 21 for him or another data bus subscriber 7b, ..., 7n in the ring bus 6 are determined. The data bus subscriber 7a can be put in a receiving mode by receiving the symbol of the bit pattern MWR. That is, the data bus subscriber 7a awaits instruction list data 21 that can be stored in accessible memory. To a deterministic behavior of the ring bus 6 to ensure that the symbol remains for a certain time at the data bus subscriber 7a before it forwards it to the downstream data bus subscriber, here data bus subscriber 7b.

Zur Zeit τ = 2 hat der Datenbusteilnehmer 7a das erste Symbol an den zweiten Datenbusteilnehmer 7b weitergeleitet und ein weiteres Symbol von dem Lokalbusmaster 3 erhalten. Zu dieser Zeit τ = 2 ist auch der zweite Datenbusteilnehmer 7b in den Empfangsmodus versetzt, nämlich durch den Erhalt des Symbols mit dem Bitmuster MWR. Mit Weiterleitung des Symbols tragend das MWR Bitmuster werden alle Datenbusteilnehmer 7a, 7b, ..., 7n in den Empfangsmodus versetzt.At time τ = 2, the data bus subscriber 7a has forwarded the first symbol to the second data bus subscriber 7b and another symbol from the local bus master 3 receive. At this time τ = 2, the second data bus subscriber 7b is set in the receiving mode, namely, by obtaining the symbol of the bit pattern MWR. With the forwarding of the symbol carrying the MWR bit pattern, all the data bus users 7a, 7b,..., 7n are set to receive mode.

Zur Zeit τ = 3 empfängt der erste Datenbusteilnehmer 7a vom Lokalbusmaster 3 ein Symbol des ersten Datenpakets 17, in dem eine eineindeutige Adresse des Datenbusteilnehmers 7a, 7b, ... 7n ausgewiesen ist, an den die Instruktionslistendaten 21 gerichtet sind. In dem hier gezeigten Ausführungsbeispiel enthält dieses Symbol die Information, dass die Instruktionslistendaten 21 für den zweiten Datenbusteilnehmer 7b bestimmt sind. D.h. führt der erste Datenbusteilnehmer 7a einen Vergleich seiner eineindeutigen Adresse mit der eineindeutigen Adresse in dem empfangenen Symbol durch, so wird der Datenbusteilnehmer 7a feststellen, dass seine Adresse und die im Symbol angegebene Adresse nicht übereinstimmen. In diesem Fall kann der Datenbusteilnehmer 7a seinen Empfangsmodus verlassen, weil bekannt ist, dass die folgenden Instruktionslistendaten 21 nicht für diesen Datenbusteilnehmer 7a bestimmt sind. Dabei ist für den ersten Datenbusteilnehmer 7a nicht relevant für wen die Instruktionslistendaten 21 bestimmt sind, sondern nur dass sie nicht für ihn bestimmt sind was sich aus dem Vergleich ergibt.At time τ = 3, the first data bus subscriber 7a receives from the local bus master 3 a symbol of the first data packet 17 in which a one-to-one address of the data bus subscriber 7a, 7b, ... 7n is indicated to which the instruction list data 21 are directed. In the embodiment shown here, this symbol contains the information that the instruction list data 21 are intended for the second data bus subscriber 7b. That is, the first data bus subscriber 7a performs a comparison of its one-to-one address with the one-to-one address in the received symbol, the data bus subscriber 7a will find that its address and the address indicated in the symbol do not match. In this case, the data bus subscriber 7a can leave his receive mode because it is known that the following instruction list data 21 are not intended for this data bus subscriber 7a. In this case, for the first data bus subscriber 7a, it is not relevant for whom the instruction list data 21 are determined, but only that they are not intended for him what results from the comparison.

In dem hier gezeigten Ausführungsbeispiel hat zur Zeit τ = 4 der erste Datenbusteilnehmer 7a das Symbol mit der Adresse an den zweiten Datenbusteilnehmer 7b weitergeleitet. Dieser hat einen Vergleich der im Symbol ausgewiesenen eineindeutigen Adresse mit seiner eineindeutigen Adresse durchgeführt und hat festgestellt, dass es eine Übereinstimmung gibt. D.h. die folgenden Instruktionslistendaten 21 sind für den Datenbusteilnehmer 7b bestimmt. Sobald der Datenbusteilnehmer 7b in den folgenden Symbolen also die Instruktionslistendaten 21 empfängt, werden diese in einen zugreifbaren Speicher gespeichert. D.h. der zweite Datenbusteilnehmer 7b wird programmiert.In the embodiment shown here, at the time τ = 4, the first data bus subscriber 7a the symbol with the address to the second data bus 7b forwarded. He has performed a comparison of the one-to-one address shown in the symbol with his one-to-one address and has determined that there is a match. That is, the following instruction list data 21 are intended for the data bus subscriber 7b. Once the data bus 7b in the following Symbols therefore the instruction list data 21 receive, these are stored in an accessible memory. That is, the second data bus subscriber 7b is programmed.

Die weiteren Datenbusteilnehmer 7n durch die das erste Datenpaket 17 symbolweise läuft, werden zwar durch das Symbol mit dem MWR Bitmuster in den Empfangsmodus versetzt, ein Vergleich mit dem folgenden die Adresse tragenden Symbol zeigt aber, dass die Instruktionslistendaten 21 nicht für diese Datenbusteilnehmer 7n bestimmt sind, so dass diese den Empfangsmodus wieder verlassen können.The further data bus subscribers 7n through which the first data packet 17 symbol by symbol, the bit pattern is put into receive mode by the symbol with the MWR, but a comparison with the following symbol carrying the address shows that the instruction list data 21 are not intended for these data bus 7n participants, so that they can leave the receiving mode again.

In dem hier gezeigten Ausführungsbeispiel folgt dem ersten Datenpaket 17 das zweite Datenpaket 22. Auch dieses Datenpaket 22 durchläuft den Ringbus 6, d.h. die Datenbusteilnehmer 7a, 7b, ..., 7n symbolweise.In the embodiment shown here follows the first data packet 17 the second data packet 22 , Also this data package 22 goes through the ring bus 6 ie the data bus users 7a, 7b,..., 7n symbol by symbol.

Zu einer angenommenen Zeit τ = n empfängt der erste Datenbusteilnehmer 7a ein Symbol mit dem Bitmuster IDE, welches den Datenbusteilnehmer 7a in einen Verarbeitungsmodus versetzt, weil dieses Bitmuster anzeigt, dass die folgenden Symbole Prozessdaten 25a, 25b, 25c,... tragen. Das empfangene Symbol mit dem Bitmuster IDE wird dann weiter durch die Datenbusteilnehmer 7b, ..., 7n geleitet, um diese in den Verarbeitungsmodus zu versetzen. Dem Symbol mit dem IDE Bitmuster folgt ein Symbol mit einem Instruktionslistenindex, ILI. Durch den Instruktionslistenindex bekommt der Datenbusteilnehmer 7a Kenntnis darüber, welche gespeicherte Instruktionsliste dieser verwenden soll, um die folgenden Prozessdaten 25a, 25b, 25c, ... zu Verarbeiten. Auch dieser Instruktionslistenindex wird durch alle Datenbusteilnehmer 7b, ..., 7n geleitet. Beim zweiten Datenbusteilnehmer 7b kann dieser Instruktionslistenindex beispielsweise auf die gerade gespeicherte Instruktionsliste hinweisen, die über die Instruktionslistendaten 21 des ersten Datenpakets 17 empfangen wurde. Es ist also im gleichen Zyklusrahmen möglich eine Programmierung des Datenbusteilnehmers 7b vorzunehmen sowie die Programmierung direkt im Anschluss zu verwenden, um Prozessdaten 25a, 25b, 25c, ... zu verarbeiten.At an assumed time τ = n, the first data bus subscriber 7a receives a symbol having the bit pattern IDE, which places the data bus subscriber 7a in a processing mode, because this bit pattern indicates that the following symbols are process data 25a . 25b . 25c ,... wear. The received symbol with the bit pattern IDE is then further passed through the data bus subscribers 7b, ..., 7n to put them in the processing mode. The icon with the IDE bit pattern is followed by a symbol with an instruction list index, ILI. By means of the instruction list index, the data bus subscriber 7a becomes aware of which stored instruction list this is to use, with the following process data 25a . 25b . 25c , ... to process. This instruction list index is also routed through all the data bus subscribers 7b,..., 7n. In the case of the second data bus subscriber 7b, this instruction list index can point, for example, to the instruction list currently stored, that via the instruction list data 21 of the first data packet 17 was received. It is therefore possible in the same cycle frame to carry out a programming of the data bus subscriber 7b and to use the programming directly afterwards to process data 25a . 25b . 25c , ... to process.

Auch wenn in dem in 2 bis 4 diskutierten Ausführungsbeispiel von ersten und zweiten Datenpaketen 17, 22 gesprochen wurde, die im gleichen Zyklusrahmen gesendet werden, so ist dem Fachmann klar, dass das erste und zweite Datenpaket 17, 22 auch in unterschiedlichen Zyklusrahmen gesendet werden können, und dass ein Zyklusrahmen auch nur eins der gezeigten Datenpakete 17, 22 enthalten kann.Although in the in 2 to 4 discussed embodiment of first and second data packets 17 . 22 it is clear to those skilled in the art that the first and second data packets 17 . 22 can also be sent in different cycle frames, and that a cycle frame is only one of the data packets shown 17 . 22 may contain.

Eine Verarbeitung der Prozessdaten 25a, 25b, 25c, ... mit Hilfe des Instruktionslistenindexes und der gespeicherten Instruktionslisten ist in 5 gezeigt.A processing of the process data 25a . 25b . 25c , ... with the help of the instruction list index and the stored instruction lists is in 5 shown.

5 zeigt eine beispielhafte Verarbeitung von Prozessdaten 25a, 25b, 25c,... mit Hilfe von Instruktionslisten 27a, 27b, 27n. In dem hier gezeigten Ausführungsbeispiel sind die Instruktionslisten 27a, 27b, 27n als Tabellen dargestellt. Dabei ist die Instruktionsliste 27a im Datenbusteilnehmer 7a gespeichert, die Instruktionsliste 27b im Datenbusteilnehmer 7b und die die Instruktionsliste 27n im Datenbusteilnehmer 7n. Jede Zeile der Tabellen enthält in dem hier gezeigten Ausführungsbeispiel zwei Instruktionen, die mit dem gerade am Datenbusteilnehmer 7a, 7b, ..., 7n anhängigen Symbol des Datenpaketes ausgeführt werden können. Dem Fachmann ist aber bewusst, dass auch wenn hier nur zwei Instruktionen für zwei Arbeitstakte exemplarisch gezeigt sind, auch eine andere Anzahl von Instruktionen pro Symbol ausgeführt werden können. Des Weiteren ist dem Fachmann klar, dass die Instruktionslisten 27a, 27b, 27n, auch für jedes Bit in den Symbolen der Prozessdaten 25a, 25b, 25c, ... eine eigene Instruktion aufweisen können. Nur der Einfachheit halber und zum Zwecke der Übersichtlichkeit wurde hier darauf verzichtet entsprechende Instruktionen für jedes Bit anzugeben. 5 shows an exemplary processing of process data 25a . 25b, 25c , ... with the help of instruction lists 27a . 27b . 27n , In the embodiment shown here are the instruction lists 27a . 27b . 27n shown as tables. Here is the instruction list 27a stored in the data bus subscriber 7a, the instruction list 27b in the data bus subscriber 7b and the instruction list 27n in the data bus subscriber 7n. In the exemplary embodiment shown here, each row of the tables contains two instructions that can be executed with the symbol of the data packet currently pending on the data bus subscriber 7a, 7b,..., 7n. The skilled person is aware, however, that even if only two instructions for two work cycles are shown here by way of example, a different number of instructions per symbol can be executed. Furthermore, it is clear to the person skilled in the art that the instruction lists 27a . 27b , 27n, also for each bit in the symbols of the process data 25a . 25b . 25c , ... can have their own instruction. For the sake of simplicity and for the sake of clarity, it has been omitted here to specify corresponding instructions for each bit.

Sobald der erste Datenbusteilnehmer 7a das Symbol mit dem Instruktionslistenindex 24 empfängt, sucht dieser entsprechend des Instruktionslistenindexes 24 die passende Instruktionsliste heraus. In dem hier gezeigten Ausführungsbeispiel hat der Datenbusteilnehmer 7a zwei Instruktionslisten gespeichert, nämlich Instruktionsliste 27a' und 27a“. In dem hier gezeigten Ausführungsbeispiel verweist der Instruktionslistenindex 24 auf die Instruktionsliste 27a', beispielsweise auf den Speicherplatz der ersten Instruktion der entsprechenden Instruktionsliste 27a'. Mit dem Erhalt des nächsten Symbols, welches die Prozessdaten 25a trägt, werden die ersten Instruktionen in der Instruktionsliste 27a' ausgeführt. Die erste Zeile der Instruktionsliste 27a' des Datenbusteilnehmers 7a ist leer, was mit „---“ gekennzeichnet ist. D.h. der Datenbusteilnehmer 7a führt mit dem ersten empfangenen Symbol keine Verarbeitung aus, weil keine Instruktion vorhanden ist. Anstelle von leeren Instruktionen kann die Instruktionsliste 27a' an dieser Stelle auch „SKIP“ Instruktionen aufweisen. Auch für das nächste Symbol welches die Prozessdaten 25b trägt hat der Datenbusteilnehmer 7a keine Instruktionen in seiner Instruktionsliste 27a'. D.h. auch diese Prozessdaten 25b werden nicht verarbeitet durch den Datenbusteilnehmer 7a, sondern verbleiben an diesem nur für eine gewisse Zeit, beispielsweise zwei Arbeitstakte, um ein deterministisches Verhalten des Ringbusses 6 zu gewährleisten, so dass jeder Datenbusteilnehmer 7a, 7b, ..., 7n für jedes gerade vorliegende Symbol die gleiche Zeit zur Verfügung hat. Erst für das dritte den Datenbusteilnehmer 7a erreichende Symbol weist diese Instruktionen auf, nämlich Lese „R“ (engl. Read) die Prozessdaten 25c und Schreibe „W“ (engl. Write) die Prozessdaten 25c in den Ausgang 14, der beispielsweise mit einem Aktor 16 verbunden sein kann, um dort eine Stellbewegung hervorzurufen.Once the first data bus subscriber 7a the symbol with the instruction list index 24 receives, this searches according to the instruction list index 24 the appropriate instruction list out. In the embodiment shown here, the data bus subscriber 7a has stored two instruction lists, namely instruction list 27a ' and 27a ". In the embodiment shown here, the instruction list index refers 24 on the instruction list 27a ' for example, the location of the first instruction of the corresponding instruction list 27a ' , With the receipt of the next symbol, which the process data 25a carries the first instructions in the instruction list 27a ' executed. The first line of the instruction list 27a ' of the data bus subscriber 7a is empty, which is marked with "---". That is, the data bus subscriber 7a does not carry out processing with the first received symbol because there is no instruction. Instead of empty instructions, the instruction list 27a ' at this point also have "SKIP" instructions. Also for the next symbol which the process data 25b the data bus subscriber 7a has no instructions in its instruction list 27a ' , That means also this process data 25b are not processed by the data bus subscriber 7a, but remain at this only for a certain time, for example, two work cycles to a deterministic behavior of the ring bus 6 to ensure that each data bus subscriber 7a, 7b, ..., 7n has the same time for each symbol currently present. Only for the third symbol reaching the data bus subscriber 7a has this instruction, namely read "R" (English Read) the process data 25c and write "W" (write) the process data 25c in the exit 14 for example with an actor 16 can be connected to cause a setting movement there.

Auch der Datenbusteilnehmer 7b in dem hier gezeigten Ausführungsbeispiel hat zwei Instruktionslisten gespeichert, nämlich Instruktionsliste 27b' und 27b“. Dabei kann zumindest eine Instruktionsliste 27b', 27b“ eine sein, die dem Datenbusteilnehmer 7b zuvor über die Instruktionslistendaten 21 des ersten Datenpakets 17 mitgeteilt wurde. D.h. es kann eine sein, mit der der Datenbusteilnehmer 7b direkt vor dem Erhalt der Prozessdaten 25a, 25b, 25c,... programmiert wurde. In dem hier gezeigten Ausführungsbeispiel enthält die Instruktionsliste 27b' in der ersten Zeile die Instruktion Lese „R“ und zwar die Prozessdaten 25a aus dem ersten den Datenbusteilnehmer 7b erreichenden Symbol nach dem Symbol, welches den Instruktionslistenindex 24 trägt. Die zweite Instruktion lautet Schreibe „W“ und zwar die gerade gelesenen Prozessdaten 25a und zwar in den Speicher an Speicherposition oxoo. Für das zweite den Datenbusteilnehmer 7b erreichende Symbol weist die Instruktionsliste Verarbeitungsschritte auf, die aber nicht direkt mit den von diesem Symbol getragenen Prozessdaten 25b verbunden sind, sondern nur die Zeit ausnutzen, die der Datenbusteilnehmer 7b hat, bevor er das Symbol weiterleiten muss. In dem hier gezeigten Ausführungsbeispiel weist die Instruktionsliste 27b' die Instruktionen auf, dass der Eingang 13 des Datenbusteilnehmers 7b gelesen wird, was mit „R“ gekennzeichnet ist und dass aus dem Speicher die zuvor gespeicherten Prozessdaten 25a gelesen werden. Das Lesen des Eingangs kann zum Beispiel darin bestehen, einen Sensorwert eines mit dem Eingang 13 verbundenen Sensors 15 zu lesen. Für das dritte den Datenbusteilnehmer 7b erreichende Symbol weist die Instruktionsliste 27b' die Instruktionen auf eine bitweise Kombination „AND“ des vom Eingang 13 gelesenen Wertes und den Prozessdaten 25a zu erstellen und diese Kombination in das Symbol zu schreiben, d.h. die Prozessdaten 25c zu überschreiben. Die Prozessdaten 25c können überschrieben werden, weil diese bereits vom ersten Datenbusteilnehmer 7a gelesen wurden und diese von keinem weiteren Datenbusteilnehmer 7b, ..., 7n mehr benötigt werden. Auf diese Weise kann der berechnete Wert an den Lokalbusmaster 3 beziehungsweise die Steuerung 1 weitergeleitet werden. Es ist dem Fachmann bewusst, dass hier auch andere Berechnungen beziehungsweise Bitoperationen durchgeführt werden können und die angegebenen Bitoperationen nur dem Zwecke der Veranschaulichung dienen aber nicht als beschränkend zu verstehen sind.Also, the data bus subscriber 7b in the embodiment shown here has stored two instruction lists, namely instruction list 27b ' and 27b ". In this case, at least one instruction list 27b ', 27b "may be one that precedes the data bus subscriber 7b via the instruction list data 21 of the first data packet 17 was communicated. That is, it may be one with which the data bus subscriber 7b directly before receiving the process data 25a . 25b . 25c , ... was programmed. In the embodiment shown here contains the instruction list 27b ' in the first line the instruction read "R" namely the process data 25a from the first symbol reaching the data bus subscriber 7b after the symbol which contains the instruction list index 24 wearing. The second instruction is write "W", namely the process data just read 25a namely in the memory at memory location oxoo. For the second symbol reaching the data bus subscriber 7b, the instruction list has processing steps that are not directly related to the process data carried by this symbol 25b but only exploit the time the data bus subscriber 7b has before forwarding the symbol. In the embodiment shown here, the instruction list 27b ' the instructions on that the entrance 13 the data bus subscriber 7b is read, which is marked with "R" and that from the memory, the previously stored process data 25a to be read. The reading of the input may be, for example, a sensor value of one with the input 13 connected sensor 15 to read. For the third symbol reaching the data bus subscriber 7b has the instruction list 27b ' the instructions on a bitwise combination "AND" of the input 13 read value and the process data 25a and to write this combination in the symbol, ie the process data 25c to overwrite. The process data 25c can be overwritten because these are already from the first data bus user 7a were read and these are no longer needed by any other data bus subscriber 7b, ..., 7n. In this way, the calculated value can be sent to the local bus master 3 or the controller 1 to get redirected. It is obvious to the person skilled in the art that other calculations or bit operations can also be carried out here and the specified bit operations are for the purpose of illustration only but are not to be understood as limiting.

Auch der Datenbusteilnehmer 7n kann zwei Instruktionslisten 27n' und 27n“ aufweisen, wobei durch den Instruktionslistenindex 24 angezeigt wird, welche der Instruktionslisten 27n' oder 27n' verwendet werden soll. In dem hier gezeigten Ausführungsbeispiel weist der Instruktionslistenindex 24 alle Datenbusteilnehmer 7a, 7b, ..., 7n an ihre erste Instruktionsliste zu verwenden, d.h. auch der Datenbusteilnehmer 7n verwendet seine erste Instruktionsliste, nämlich Instruktionsliste 27n'. Diese Instruktionsliste 27n' weist in dem hier gezeigten Ausführungsbeispiel nur eine Instruktion für das zweite diesen Datenbusteilnehmer 7n nach dem Instruktionslistenindex 24 erreichende Symbol auf, wobei diese Instruktion lautet Lese „R“ Prozessdaten 25b.The data bus subscriber 7n can also have two instruction lists 27n ' and 27n With the instruction list index 24 is displayed which of the instruction lists 27n ' or 27n ' should be used. In the embodiment shown here, the instruction list index 24 all data bus users 7a , 7b, ..., 7n to use their first instruction list, ie also the data bus subscriber 7n uses its first instruction list, namely instruction list 27n ' , This instruction list 27n ' In the exemplary embodiment shown here, only one instruction for the second data bus subscriber 7n follows the instruction list index 24 reaching symbol, where this instruction reads "R" process data 25b ,

Dem Fachmann ist bewusst, dass die hier gezeigten Beispiele von Instruktionslisten nicht einschränkend zu verstehen sind und jegliche Art von Instruktionsliste und jegliche Kombinationen von Instruktionen in der Implementierung der Erfindung vorkommen kann, ohne dass von der erfinderischen Idee abgewichen wird.It will be appreciated by those skilled in the art that the examples of instruction lists shown herein are not intended to be limiting and any type of instruction list and any combinations of instructions may be included in the implementation of the invention without departing from the inventive idea.

Die hierin beschriebenen Verfahren können auch implementiert werden als ein computerlesbares Medium beinhaltend Code, der bewirkt, dass ein Computer zumindest eines der beschriebenen Verfahren ausführt. Das computerlesbare Medium kann dabei beliebig implementiert sein und auf deinem Trägermedium wie einer DVD, CD, Festplatte, oder anderweitiger Trägermedien bereitgestellt werden.The methods described herein may also be implemented as a computer readable medium including code that causes a computer to perform at least one of the described methods. The computer-readable medium can be implemented arbitrarily and provided on your carrier medium such as a DVD, CD, hard disk, or other carrier media.

BezugszeichenlisteLIST OF REFERENCE NUMBERS

11
speicherprogrammierbare Steuerung (SPS)programmable logic controller (PLC)
22
übergeordneter Bushigher-level bus
33
LokalbusmasterLokalbusmaster
44
erste Schnittstellefirst interface
5a,b5a, b
zweite Schnittstellesecond interface
66
Ringbusringbus
7a, b, n7a, b, n
DatenbusteilnehmerDatenbusteilnehmer
88th
erste Abwärtsdatenschnittstellefirst downlink data interface
99
zweite Abwärtsdatenschnittstellesecond downlink data interface
1010
erste Aufwärtsdatenschnittstellefirst upstream data interface
1111
zweite Aufwärtsdatenschnittstellesecond upstream data interface
1212
Verarbeitungseinheitprocessing unit
13, 1413, 14
Ein-/AusgängeInput / Output
1515
Sensorsensor
1616
Aktoractuator
1717
erstes Datenpaketfirst data packet
1818
MWR CodewortMWR codeword
1919
Adresseaddress
20 20
weiteres Feldanother field
2121
InstruktionslistendatenInstruction list data
2222
zweites Datenpaketsecond data packet
2323
IDE CodewortIDE codeword
2424
InstruktionslistenindexInstruction List Index
25a, b, c25a, b, c
Prozessdatenprocess data
2626
Zählerwertcount
27a, b, c27a, b, c
Instruktionslisteninstruction lists

ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte PatentliteraturCited patent literature

  • US 5472347 A [0011]US 5472347A [0011]

Claims (13)

Ein Verfahren zum Betrieb eines Datenbusteilnehmers (7a, 7b, ..., 7n) eines Lokalbusses (6), insbesondere eines Ringbusses, das Verfahren aufweisend: Empfangen eines ersten Datenpakets (17) über den Lokalbus (6), wobei das erste Datenpaket (17) eine Adresse (19) des Datenbusteilnehmers (7a, 7b, ..., 7n) an den es gerichtet ist und zumindest eine Instruktionsliste (27a, 27b, 27n) mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten (25a, 25b, 25c) aufweist; Empfangen eines zweiten Datenpakets (22) über den Lokalbus (6), wobei das zweite Datenpaket (24) Prozessdaten (25a, 25b, 25c) aufweist; und Ausführen von Instruktionen der zumindest einen Instruktionsliste (27a, 27b, 27n) zum Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c).A method of operating a data bus subscriber (7a, 7b, ..., 7n) of a local bus (6), in particular a ring bus, the method comprising: Receiving a first data packet (17) via the local bus (6), wherein the first data packet (17) is an address (19) of the data bus subscriber (7a, 7b, ..., 7n) to which it is addressed and at least one instruction list (27a , 27b, 27n) having a set of instructions for processing process data (25a, 25b, 25c); Receiving a second data packet (22) via the local bus (6), the second data packet (24) having process data (25a, 25b, 25c); and Executing instructions of the at least one instruction list (27a, 27b, 27n) for processing the received process data (25a, 25b, 25c). Das Verfahren nach Anspruch 1, wobei das erste und zweite Datenpaket (17, 22) Nutzdaten eines Zyklusrahmens oder zweier Zyklusrahmen sind.The procedure according to Claim 1 wherein the first and second data packets (17, 22) are payload data of a cycle frame or two cycle frames. Das Verfahren nach einem der vorhergehenden Ansprüche, wobei das erste und zweite Datenpaket (17, 22) eine Anzahl von Symbolen aufweisen, wobei jedes Symbol eine Anzahl von Bits aufweist.The method of any one of the preceding claims, wherein the first and second data packets (17, 22) comprise a number of symbols, each symbol having a number of bits. Das Verfahren nach Anspruch 3, wobei das Empfangen des ersten und zweiten Datenpakets (17, 22) aufweist, symbolweises Empfangen der Symbole des ersten und zweiten Datenpakets (17, 22).The procedure according to Claim 3 wherein receiving the first and second data packets (17, 22) comprises symbolically receiving the symbols of the first and second data packets (17, 22). Das Verfahren nach einem der Ansprüche 3 und 4, wobei das Ausführen von Instruktionen das symbolweise Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c) aufweist, wobei jedes Symbol mit einer festen Anzahl von Instruktionen der Instruktionsliste (27a, 27b, 27n) verarbeitet wird.The method according to one of Claims 3 and 4 wherein the executing of instructions comprises symbol-by-word processing of the received process data (25a, 25b, 25c), each symbol being processed with a fixed number of instructions of the instruction list (27a, 27b, 27n). Das Verfahren nach Anspruch 5, wobei das symbolweise Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c) aufweist, bitgranulares Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c).The procedure according to Claim 5 wherein the symbol-wise processing of the received process data (25a, 25b, 25c) comprises bit granular processing of the received process data (25a, 25b, 25c). Das Verfahren nach Anspruch 6, wobei das bitgranulare Verarbeiten aufweist: Ausführen einer Bitoperation auf zumindest einem Bit des empfangenen Symbols zum Erhalten zumindest eines verarbeiteten Prozessdatums.The procedure according to Claim 6 wherein the bitgranular processing comprises: performing a bit operation on at least one bit of the received symbol to obtain at least one processed process datum. Das Verfahren nach einem der vorhergehenden Ansprüche, wobei die Adresse eine eineindeutige Adresse ist, die verwendet wird zur adressierten Kommunikation mit dem Datenbusteilnehmer (7a, 7b, ..., 7n).The method of any one of the preceding claims, wherein the address is a one-to-one address used for addressed communication with the data bus subscriber (7a, 7b, ..., 7n). Ein Datenbusteilnehmer (7a, 7b, ..., 7n) eines Lokalbusses (6), insbesondere eines Ringbusses, der Datenbusteilnehmer (7a, 7b, ..., 7n) aufweisend: ein Mittel zum Empfangen eines ersten Datenpakets (17) über den Lokalbus (6), wobei das erste Datenpaket (17) eine Adresse (19) des Datenbusteilnehmers (7a, 7b, ..., 7n) an den es gerichtet ist und zumindest eine Instruktionsliste (27a, 27b, 27n) mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten (25a, 25b, 25c) aufweist; ein Mittel zum Empfangen eines zweiten Datenpakets (22) über den Lokalbus (6), wobei das zweite Datenpaket (24) Prozessdaten (25a, 25b, 25c) aufweist; und ein Mittel zum Ausführen von Instruktionen der zumindest einen Instruktionsliste (27a, 27b, 27n) zum Verarbeiten der empfangenen Prozessdaten (25a, 25b, 25c).A data bus subscriber (7a, 7b, ..., 7n) of a local bus (6), in particular of a ring bus, comprising data bus subscribers (7a, 7b, ..., 7n): a means for receiving a first data packet (17) via the local bus (6), wherein the first data packet (17) an address (19) of the data bus subscriber (7a, 7b, ..., 7n) is directed to it and at least one An instruction list (27a, 27b, 27n) having a set of instructions for processing process data (25a, 25b, 25c); means for receiving a second data packet (22) via the local bus (6), the second data packet (24) having process data (25a, 25b, 25c); and means for executing instructions of the at least one instruction list (27a, 27b, 27n) for processing the received process data (25a, 25b, 25c). Der Datenbusteilnehmer (7a, 7b, ..., 7n) nach Anspruch 9, weiter aufweisend: ein Mittel zum Senden des empfangenen zweiten Datenpakets (22) an einen weiteren Datenbusteilnehmer (7a, 7b, ..., 7n) über den Lokalbus (6).The data bus subscriber (7a, 7b, ..., 7n) after Claim 9 , further comprising: means for transmitting the received second data packet (22) to another data bus subscriber (7a, 7b, ..., 7n) via the local bus (6). Ein Verfahren zum Betrieb eines Lokalbusmasters (3) eines Lokalbusses (6), insbesondere eines Ringbusses, wobei das Verfahren aufweist: Erzeugen zumindest einer Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten (25a, 25b, 25c) für einen Datenbusteilnehmer (7a, 7b, ..., 7n); Erzeugen eines ersten Datenpakets (17), wobei das erste Datenpaket (17) aufweist eine Adresse (19) des Datenbusteilnehmers (7a, 7b, ..., 7n), an den das erste Datenpaket (17) gerichtet ist, und die zumindest eine Instruktionsliste (27a, 27b, 27n); Erzeugen eines zweiten Datenpakets (22), wobei das zweite Datenpaket (22) Prozessdaten (25a, 25b, 25c) aufweist; und Senden der ersten und zweiten Datenpakete (17, 22) an den Datenbusteilnehmer (7a, 7b, ..., 7n) über den Lokalbus (6).A method for operating a local bus master (3) of a local bus (6), in particular a ring bus, the method comprising: Generating at least one instruction list with a set of instructions for processing process data (25a, 25b, 25c) for a data bus subscriber (7a, 7b, ..., 7n); Generating a first data packet (17), wherein the first data packet (17) has an address (19) of the data bus subscriber (7a, 7b, ..., 7n) to which the first data packet (17) is directed, and which at least one Instruction List (27a, 27b, 27n); Generating a second data packet (22), the second data packet (22) having process data (25a, 25b, 25c); and Sending the first and second data packets (17, 22) to the data bus subscriber (7a, 7b, ..., 7n) via the local bus (6). Das Verfahren nach Anspruch 11, wobei das erste und zweite Datenpaket (17, 22) jeweils eine Anzahl von Symbolen aufweisen, wobei jedes Symbol eine Anzahl von Bits aufweist und wobei die Datenpakete (17, 22) symbolweise an den Datenbusteilnehmer (7a, 7b, ..., 7n) gesendet werden.The procedure according to Claim 11 wherein the first and second data packets (17, 22) each comprise a number of symbols, each symbol having a number of bits, and wherein the data packets (17, 22) are applied to the data bus subscriber (7a, 7b, ..., 7n ). Ein Lokalbusmaster (3) eines Lokalbusses (6), insbesondere eines Ringbusses, mit einem Datenbusteilnehmer (7a, 7b, ..., 7n), der Lokalbusmaster (3) aufweisend: ein Mittel zum Erzeugen zumindest einer Instruktionsliste mit einem Satz von Instruktionen zum Verarbeiten von Prozessdaten (25a, 25b, 25c) für einen Datenbusteilnehmer (7a, 7b, ..., 7n); ein Mittel zum Erzeugen eines ersten Datenpakets (17), wobei das erste Datenpaket (17) aufweist eine Adresse (19) des Datenbusteilnehmers (7a, 7b, ..., 7n), an den das erste Datenpaket (17) gerichtet ist, und die zumindest eine Instruktionsliste (27a, 27b, 27n); ein Mittel zum Erzeugen eines zweiten Datenpakets (22), wobei das zweite Datenpaket (22) Prozessdaten (25a, 25b, 25c) aufweist; und ein Mittel zum Senden des ersten und zweiten Datenpakets (17, 22) an den Datenbusteilnehmer (7a, 7b, ..., 7n) über den Lokalbus (6).A local bus master (3) of a local bus (6), in particular a ring bus, having a data bus subscriber (7a, 7b, ..., 7n), the local bus master (3) comprising: means for generating at least one instruction list with a set of instructions for Processing process data (25a, 25b, 25c) for a data bus subscriber (7a, 7b, ..., 7n); a means for generating a first data packet (17), wherein the first data packet (17) comprises a Address (19) of the data bus subscriber (7a, 7b, ..., 7n) to which the first data packet (17) is addressed, and the at least one instruction list (27a, 27b, 27n); a means for generating a second data packet (22), the second data packet (22) having process data (25a, 25b, 25c); and means for transmitting the first and second data packets (17, 22) to the data bus subscriber (7a, 7b, ..., 7n) via the local bus (6).
DE102017208818.4A 2017-05-24 2017-05-24 Initialization of data bus users Pending DE102017208818A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
DE102017208818.4A DE102017208818A1 (en) 2017-05-24 2017-05-24 Initialization of data bus users
CN201880034529.1A CN110663225B (en) 2017-05-24 2018-05-17 Initialization of data bus user devices
EP18726426.2A EP3632051A1 (en) 2017-05-24 2018-05-17 Initialization of data bus subscribers
PCT/EP2018/062941 WO2018215295A1 (en) 2017-05-24 2018-05-17 Initialization of data bus subscribers
US16/693,964 US11736318B2 (en) 2017-05-24 2019-11-25 Initialization of data bus subscribers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102017208818.4A DE102017208818A1 (en) 2017-05-24 2017-05-24 Initialization of data bus users

Publications (1)

Publication Number Publication Date
DE102017208818A1 true DE102017208818A1 (en) 2018-11-29

Family

ID=62222656

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102017208818.4A Pending DE102017208818A1 (en) 2017-05-24 2017-05-24 Initialization of data bus users

Country Status (5)

Country Link
US (1) US11736318B2 (en)
EP (1) EP3632051A1 (en)
CN (1) CN110663225B (en)
DE (1) DE102017208818A1 (en)
WO (1) WO2018215295A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5472347A (en) 1993-09-17 1995-12-05 Allen-Bradley Company, Inc. System for interconnecting I/O modules for data communications over a common backplane

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5165024A (en) * 1990-04-12 1992-11-17 Apple Computer, Inc. Information transfer and receiving system with a ring interconnect architecture using voucher and ticket signals
US5457683A (en) * 1993-05-07 1995-10-10 Apple Computer, Inc. Link and discovery protocols for a ring interconnect architecture
US6510141B1 (en) * 1996-11-27 2003-01-21 Dynarc Inc. Dha Dynamic Network Architecture Inc. Link auto-configuration protocol specification topology
JPH10228421A (en) * 1997-02-14 1998-08-25 Nec Ic Microcomput Syst Ltd Memory access control circuit
US6496516B1 (en) * 1998-12-07 2002-12-17 Pmc-Sierra, Ltd. Ring interface and ring network bus flow control system
KR100497078B1 (en) * 1999-08-30 2005-06-27 아이피플렉스 가부시키가이샤 Program product and data processor
US20020004897A1 (en) * 2000-07-05 2002-01-10 Min-Cheng Kao Data processing apparatus for executing multiple instruction sets
WO2002015517A2 (en) * 2000-08-16 2002-02-21 Microchip Technology Incorporated Remote configuration of network node via controller area network messages
US20020191603A1 (en) * 2000-11-22 2002-12-19 Yeshik Shin Method and system for dynamic segmentation of communications packets
US20020084655A1 (en) 2000-12-29 2002-07-04 Abb Research Ltd. System, method and computer program product for enhancing commercial value of electrical power produced from a renewable energy power production facility
US20030167348A1 (en) * 2001-07-02 2003-09-04 Globespanvirata, Inc. Communications system using rings architecture
DE10337699B4 (en) * 2003-08-16 2006-01-12 Phoenix Contact Gmbh & Co. Kg Method and device for transmitting data over a bus network using the broadcast principle
US8626882B2 (en) * 2005-10-07 2014-01-07 GM Global Technology Operations LLC Reconfigurable communication for distributed embedded systems
US7539888B2 (en) * 2006-03-31 2009-05-26 Freescale Semiconductor, Inc. Message buffer for a receiver apparatus on a communications bus
CN101178644B (en) * 2006-11-10 2012-01-25 上海海尔集成电路有限公司 Microprocessor structure based on sophisticated instruction set computer architecture
US8782771B2 (en) 2007-06-19 2014-07-15 Rockwell Automation Technologies, Inc. Real-time industrial firewall
US8122279B2 (en) * 2008-04-21 2012-02-21 Kabushiki Kaisha Toshiba Multiphase clocking systems with ring bus architecture
US9444757B2 (en) * 2009-04-27 2016-09-13 Intel Corporation Dynamic configuration of processing modules in a network communications processor architecture
US8291136B2 (en) * 2009-12-02 2012-10-16 International Business Machines Corporation Ring buffer
WO2014006448A1 (en) 2012-07-03 2014-01-09 Freescale Semiconductor, Inc. Cut through packet forwarding device
US8824603B1 (en) * 2013-03-01 2014-09-02 Futurewei Technologies, Inc. Bi-directional ring-bus architecture for CORDIC-based matrix inversion
KR101576050B1 (en) 2014-09-12 2015-12-11 한국전기연구원 Method, apparatus and system for upgrading software of nodes
CN105046913A (en) * 2015-07-09 2015-11-11 广西牛博物联信息技术有限公司 Remote environmental monitoring data acquisition system
US9871674B2 (en) * 2015-09-30 2018-01-16 International Business Machines Corporation Bridging between differing communication buses

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5472347A (en) 1993-09-17 1995-12-05 Allen-Bradley Company, Inc. System for interconnecting I/O modules for data communications over a common backplane

Also Published As

Publication number Publication date
EP3632051A1 (en) 2020-04-08
CN110663225B (en) 2022-02-18
CN110663225A (en) 2020-01-07
US11736318B2 (en) 2023-08-22
US20200092136A1 (en) 2020-03-19
WO2018215295A1 (en) 2018-11-29

Similar Documents

Publication Publication Date Title
EP3632040B1 (en) Processing of process data
EP3632052A1 (en) Module unit for connecting a data bus participant
EP3632050B1 (en) Bus converter
EP3632056B1 (en) Initalization of a local bus
EP3632049B1 (en) Status signal output
EP3632053B1 (en) Processing of process data
EP3631630B1 (en) Distributed processing of process data
DE102017208818A1 (en) Initialization of data bus users
EP3632055B1 (en) Transmission of data on a local bus
EP3632054B1 (en) Determination of nodes of a local data bus
DE102017012250B4 (en) Transfer of data on a local bus
EP3632066B1 (en) Pre-loading of instructions
DE2114522A1 (en) One-bit data transmission system
EP2418551A1 (en) Diagnosis method for a field bus system designed in accordance with the AS interface standard

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: H04L0012403000

Ipc: H04L0012240000

R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: H04L0012240000

Ipc: H04L0041000000

R016 Response to examination communication