DE102008063468A1 - Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit - Google Patents
Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit Download PDFInfo
- Publication number
- DE102008063468A1 DE102008063468A1 DE200810063468 DE102008063468A DE102008063468A1 DE 102008063468 A1 DE102008063468 A1 DE 102008063468A1 DE 200810063468 DE200810063468 DE 200810063468 DE 102008063468 A DE102008063468 A DE 102008063468A DE 102008063468 A1 DE102008063468 A1 DE 102008063468A1
- Authority
- DE
- Germany
- Prior art keywords
- control unit
- error
- buffer
- drive
- drive control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25143—Buffer for communication between two cpu
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25431—Dual Port memory
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33156—Communication between two processors over shared, dualport ram
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35373—Data storage, buffer
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Die Erfindung betrifft ein Verfahren zum Betrieb eines Antriebssystems, welches eine Steuerungseinheit und auch eine Antriebsregelungseinheit umfasst, und ein nach dem Verfahren arbeitendes Antriebssystem. Das Antriebssystem kombiniert also die originäre Antriebsfunktionalität mit einer Steuerungsfunktionalität. Dazu umfasst die Steuerungseinheit einen zur Aufnahme einer Steuerungssoftware vorgesehenen Speicher und eine für deren Ausführung vorgesehene Verarbeitungseinheit nach Art eines Prozessors oder dergleichen. Die Antriebsregelungseinheit umfasst eine Antriebsregelungsfunktionalität, die in Software, Hardware und/oder Firmware oder Kombinationen daraus implementiert ist. Steuerungseinheit und Antriebsregelungseinheit umfassen jeweils einen eigenen Prozessor oder eine vergleichbare Verarbeitungseinheit, so dass eine von der Antriebsregelungseinheit umfasste Verarbeitungseinheit im Betrieb eine Ausführung der Antriebsregelungsfunktionalität übernimmt.The Invention relates to a method for operating a drive system, which comprises a control unit and also a drive control unit, and a drive system operating according to the method. The drive system combines the original drive functionality with a control functionality. This includes the control unit a memory provided for receiving a control software memory and a processing unit provided for the execution thereof in the manner of a processor or the like. The drive control unit includes a drive control functionality that works in software, Hardware and / or firmware or combinations thereof implemented is. Control unit and drive control unit each comprise a separate processor or comparable processing unit, such that a processing unit included in the drive control unit during operation assumes an execution of the drive control functionality.
In dem Bestreben zur Automatisierung technischer Prozesse vorgesehene Geräte und Einrichtungen, immer stärker miteinander zu vernetzen und dabei auch eine durchgängige funktionale Interaktion oder eine Integration bisher unabhängiger Funktionalitäten in einem Gerät zu ermöglichen, sind bereits Ansätze bekannt geworden, Antriebssysteme wie hier und nachfolgend beschrieben zu realisieren, die sowohl eine Steuerungseinheit wie auch eine Antriebsregelungseinheit umfassen. Das Antriebssystem bietet dann neben den üblichen Funktionen zur Antriebsregelung auch eine Möglichkeit zur Realisierung zumindest einfacher logischer Verknüpfungen. Dafür ist eine Koordinierung oder Synchronisation von Steuerungseinheit und Antriebsregelungseinheit notwendig, und üblicherweise fungiert die Antriebsregelungseinheit als Master, derart, dass sich ein von der Steuerungseinheit abgearbeiteter Steuerungs zyklus nach einem von der Antriebsregelungseinheit abgearbeiteten Antriebsregelungszyklus richtet, insbesondere derart, dass Startzeitpunkte für Steuerungszyklen anhand des Antriebsregelungszyklus abgeleitet werden.In aimed at the automation of technical processes Devices and equipment, more and more with each other to network and at the same time a continuous functional Interaction or integration of previously independent functionalities to allow in a device are already approaches become known, drive systems as described here and below to realize that both a control unit as well as a Drive control unit include. The drive system then offers In addition to the usual functions for drive control, too a way to realize at least simple logical Connections. This is a coordination or Synchronization of control unit and drive control unit necessary, and usually the drive control unit functions as master, such that a processed by the control unit Control cycle according to a processed by the drive control unit Drive control cycle is directed, in particular such that start times derived for control cycles based on the drive control cycle become.
In
der älteren, nicht vorveröffentlichten Anmeldung
Indem der Antriebsbaustein als Repräsentant der Antriebsregelungseinheit und als Schnittstelle zur Antriebsregelungsfunktionalität fungiert, wird die Antriebsregelungseinheit durch die Steuerungseinheit beeinflussbar. Die Antriebsregelungsfunktionalität liegt üblicherweise fest und ist in Software, Firmware und/oder Hardware oder Kombinationen daraus implementiert. Indem die Struktur des Puffers, der zum Datenaustausch zwischen Antriebsbaustein und Antriebsregelungseinheit verwendet wird, im Zusammenhang mit einer Erstellung der Antriebsregelungsfunktionalität festgelegt wird, kann der Puffer nach Dimension und davon umfassten Daten an die jeweilige Antriebsregelungsfunktionalität angepasst werden. Nachdem in dem Puffer z. B. von der Steuerungseinheit ermittelte Sollwerte an die Antriebsregelungseinheit übertragen werden, ist selbstverständlich nur eine Übermittlung solcher Sollwerte sinnvoll, die auch von der Antriebsregelungseinheit verarbeitet werden können. Welche Sollwerte von der Antriebsregelungseinheit verarbeitet werden können, liegt wiederum spä testens im Zusammenhang mit der Erstellung der Antriebsregelungsfunktionalität fest, so dass im Puffer für jeden potentiell übergebbaren Sollwert eine Speicherstelle reserviert werden kann. Damit können Antriebsbaustein und Antriebsregelungseinheit auf vergleichsweise einfache Art und Weise Daten austauschen, indem die Antriebsregelungseinheit und die Steuerungseinheit den Puffer auslesen und bestimmten Speicherstellen, denen eine bestimmte Bedeutung (z. B. Geschwindigkeitssollwert) zugewiesen ist, die jeweiligen Daten entnehmen und für die Antriebsregelung bzw. die Prozesssteuerung verwenden. Entsprechend kann auch der Antriebsbaustein Daten für die Antriebsregelungseinheit in dem Puffer bereitstellen, indem Daten unmittelbar in jeweils dafür vorgesehene Speicherstellen eingetragen werden.By doing the drive block as a representative of the drive control unit and as an interface to the drive control functionality acts, the drive control unit by the control unit influenced. The drive control functionality is usually is fixed and is in software, firmware and / or hardware or combinations thereof implemented. By changing the structure of the buffer used for data exchange used between drive block and drive control unit in connection with the creation of the drive control functionality The buffer can be dimensioned by dimension and by it Data to the respective drive control functionality be adjusted. After in the buffer z. B. from the control unit determined setpoint values are transmitted to the drive control unit is, of course, only a transmission Such setpoints useful, which also from the drive control unit can be processed. Which setpoints from the drive control unit can be processed, is in the worst case again in connection with the creation of the drive control functionality, so that in the buffer for each potentially submitable Setpoint a memory location can be reserved. With that you can Drive block and drive control unit to comparatively simple way to exchange data by the drive control unit and the control unit read the buffer and certain memory locations, which have a specific meaning (eg speed setpoint) assigned, take the respective data and for use the drive control or the process control. Corresponding Also, the drive block data for the drive control unit in the buffer by putting data directly into each envisaged storage locations are entered.
Eine Aufgabe der Erfindung besteht darin, bekannte Antriebssysteme mit einer Funktionsintegration wie vorstehend beschrieben, also Antriebssysteme mit Steuerungseinheit und Antriebsregelungseinheit, so zu verbessern, dass Steuerungsfunktionalität und Antriebsfunktionalität nahtlos ineinander greifen und dennoch die komplette von einem nur als Antrieb fungierenden System bekannte Antriebsfunktionalität auch z. B. im Hinblick auf Geschwindigkeit erhalten bleibt.A The object of the invention is known drive systems with a functional integration as described above, so drive systems with control unit and drive control unit, so to improve that control functionality and drive functionality seamlessly mesh and yet the complete one only known as drive system known drive functionality also z. B. is maintained in terms of speed.
Diese Aufgabe wird erfindungsgemäß mit einem Verfahren zum Betrieb eines Antriebssystems, welches eine Steuerungseinheit und eine Antriebsregelungseinheit umfasst, mit den Merkmalen des Anspruchs 1 gelöst. Dazu ist bei einem Verfahren zum Betrieb eines solchen Antriebssystems, dessen Antriebsregelungseinheit eine Fehlerbehandlungsfunktionalität umfasst und bei dem für einen Datenaustausch zwischen Steuerungseinheit und Antriebsregelungseinheit ein Puffer verwendet wird, vorgesehen, dass ein Teil des Puffers oder ein zusätzlicher Puffer als Fehlerpuffer verwendet wird und dass der Fehlerpuffer als Schnittstelle zum Übertragen von Fehlerinformationen zwischen der Steuerungseinheit und der Fehlerbehandlungsfunktionalität der Antriebsregelungsregelungseinheit fungiert.This object is achieved with a method for operating a drive system, which comprises a control unit and a drive control unit, with the features of claim 1. This is in a method for operating such a drive system whose An operation control unit includes error handling functionality and in which a buffer is used for data exchange between the control unit and the drive control unit, provided that a part of the buffer or an additional buffer is used as an error buffer and that the error buffer as an interface for transmitting error information between the control unit and the error handling functionality the drive control control unit functions.
Der Vorteil der Erfindung besteht darin, dass ein von der Antriebsregelungseinheit bereits umfasster so genannter Error-Handler – die Fehlerbehandlungsfunktionalität – zentral für die Behandlung von Fehlermeldungen eines gesamten Antriebssystems verwendet wird. Das Antriebssystem als Kombination aus Antrieb und Steuerung stellt sich in Betrieb wie ein reiner Antrieb dar, so dass eventuelle auf Seiten der Steuerungseinheit auftretende Fehler mittels der Fehlerbehandlungsfunktionalität der Antriebsregelungseinheit angezeigt werden und/oder abfragbar sind.Of the Advantage of the invention is that one of the drive control unit already included so-called error handlers - the error handling functionality - centrally used for the treatment of error messages of an entire drive system becomes. The drive system as a combination of drive and control puts itself in operation like a pure drive, so that eventual Errors occurring on the part of the control unit by means of the error handling functionality the drive control unit are displayed and / or queried.
Die oben genannte Aufgabe wird mit den gleichen Vorteilen mit einem Antriebssystem mit den Merkmalen des unabhängigen Vorrichtungsanspruchs gelöst. Dazu fungiert bei einem gattungsgemäßen Antriebssystem ein Teil des Puffers oder ein zusätzlicher Puffer als Fehlerpuffer und dieser als Schnittstelle zwischen Steuerungsprogramm und Fehlerbehandlungsfunktionalität.The The above object is with the same advantages with a Drive system with the features of the independent device claim solved. For this purpose acts in a generic Drive system part of the buffer or an additional Buffer as error buffer and this as interface between control program and error handling functionality.
Vorteilhafte Ausgestaltungen der Erfindung sind Gegenstand der Unteransprüche. Dabei verwendete Rückbeziehungen weisen auf die weitere Ausbildung des Gegenstandes des Hauptanspruches durch die Merkmale des jeweiligen Unteranspruches hin; sie sind nicht als ein Verzicht auf die Erzielung eines selbständigen, gegenständlichen Schutzes für die Merkmalskombinationen der rückbezogenen Unteransprüche zu verstehen. Des Weiteren ist im Hinblick auf eine Auslegung der Ansprüche bei einer näheren Konkretisierung eines Merkmals in einem nachgeordneten Anspruch davon auszugehen, dass eine derartige Beschränkung in den jeweils vorangehenden Ansprüchen nicht vorhanden ist.advantageous Embodiments of the invention are the subject of the dependent claims. The relationships used point to further education the subject of the main claim by the features of the respective Unteranspruches out; they are not considered a waiver of achievement an independent, objective protection for the characteristic combinations of the referenced ones Understand subclaims. Furthermore, with regard to to an interpretation of the claims in a closer Concretization of a feature in a subordinate claim assume that such a restriction in the respective previous claims is not present.
Bevorzugt ist vorgesehen, dass der Fehlerpuffer als Schnittstelle zum Übertragen von Fehlerinformationen aus der Steuerungseinheit an die Fehlerbehandlungsfunktionalität der Antriebsregelungseinheit fungiert. Der Fehlerpuffer wird dann also nur für eine Übertragungsrichtung, nämlich von der Steuerungseinheit zur Antriebsregelungseinheit, verwendet. Dies erleichtert eine Zugriffskontrolle bei der Verwendung des Fehlerpuffers, weil z. B. kein gleichzeitiger schreibender Zugriff auf den Fehlerpuffer sowohl von Seiten der Steuerungseinheit als auch von Seiten der Antriebsregelungseinheit vorkommen kann. Wenn auf Seiten der Antriebsregelungseinheit eine Fehlersituation vorliegt, die der Steuerungseinheit zu signalisieren ist, können dafür andere Wege verwendet werden, z. B. indem die Steuerungseinheit nach Verstreichen einer vorgegebenen oder vorgebbaren Zeitspanne erkennt, dass die Antriebsregelungseinheit keine aktuellen Daten in den zum allgemeinen Datenaustausch zwischen Steuerungseinheit und Antriebsregelungseinheit verwendeten Puffer eingetragen hat.Prefers it is provided that the error buffer as an interface for transmitting error information from the control unit to the error handling functionality the drive control unit acts. The error buffer then becomes So only for one transmission direction, namely from the control unit to the drive control unit. This facilitates access control when using the error buffer, because, for. For example, no concurrent write access to the error buffer both on the part of the control unit and on the part of the Drive control unit may occur. If on the part of the drive control unit a Error situation is present, to signal the control unit is, other ways can be used for this, z. B. by the control unit after the lapse of a predetermined or predetermined period of time recognizes that the drive control unit no current data in the for general data exchange between Control unit and drive control unit used buffers has registered.
Wenn die Fehlerbehandlungsfunktionalität der Antriebsregelungseinheit als einzige Schnittstelle des Antriebssystems zum externen Zugriff auf Fehlerfunktionen fungiert, ist die Kapselung der vom Antriebssystem umfassten Steuerungseinheit besonders gut gelöst. Die vom Antriebssystem umfasste Steuerungseinheit ist dann für den jeweiligen Benutzer vollkommen transparent und eventuelle Fehlersituationen auf Seiten der Steuerungseinheit werden durch die Antriebsregelungseinheit als Fehlermeldungen des Antriebssystems insgesamt ausgegeben oder sind dort abrufbar.If the error handling functionality of the drive control unit as the only interface of the drive system for external access functioning on fault functions, the encapsulation is that of the drive system included control unit particularly well. The ones from Drive system included control unit is then for the respective user completely transparent and possible error situations on the part of the control unit are by the drive control unit as error messages of the drive system in total output or are available there.
Vorteilhaft ist vorgesehen, dass aus der Steuerungseinheit Fehlerinformationen vom Steuerungsprogramm und/oder einem im Speicher der Steuerungseinheit vorgehaltenen Betriebssystem übertragen werden. Durch eine derartige Ausgestaltung ist sichergestellt, dass zum einen Fehlerinformationen, die im Bereich des Steuerungsprogramms oder im Bereich des Betriebssystems auftreten, an die Antriebsregelungseinheit übertragen werden. Zum anderen ist durch die Einschaltung auch des Betriebssystems in die Übermittlung von Fehlerinformationen sichergestellt, dass Fehlerinformationen auch dann noch übermittelt werden können, wenn die Ausführung des Steuerungsprogramms unterbrochen oder angehalten wurde, z. B. aufgrund eines durch das Steuerungsprogramm verursachten Laufzeitfehlers. Als Ursache für derartige Laufzeitfehler kommen numeri sche Fehler, wie z. B. Zahlenüberlauf und dergleichen, aber auch Fehler wie z. B. eine Zykluszeitüberschreitung durch das Steuerungsprogramm, in Betracht. Bei derartigen Situationen ist die Ausführung des Betriebssystems normalerweise nicht betroffen, so dass Fehlerinformationen wegen der nicht mehr gegebenen Verfügbarkeit des Steuerungsprogramms aus der Steuerungseinheit nur noch vom Betriebssystem oder einer vergleichbaren, als übergeordnete Einheit fungierenden Softwarefunktionalität übertragen werden.Advantageous is provided that from the control unit error information from the control program and / or one in the memory of the control unit reserved operating system. By a Such an embodiment ensures that, on the one hand, error information, in the area of the control program or in the area of the operating system occur, are transmitted to the drive control unit. To the Another is through the involvement of the operating system in the transmission of error information ensures that error information can still be transmitted even if the execution of the control program is interrupted or was stopped, z. B. due to a by the control program caused runtime error. As a cause for such Runtime errors come numi cal errors, such. B. number overflow and the like, but also errors such. B. a cycle timeout through the control program, into consideration. In such situations the operating system is usually not affected, so that error information because of no longer given Availability of the control program from the control unit only from the operating system or a comparable, as a parent Unit acting software functionality transferred become.
Wenn sowohl das Steuerungsprogramm als auch das Betriebssystem für die Übermittlung von Fehlerinformationen an die Antriebsregelungseinheit in Betracht kommen, ist vorgesehen, dass dem Fehlerpuffer ein Statuswort zugeordnet ist, in dem das Betriebssystem bei unterbrochener Ausführung des Steuerungsprogramms ein Fehlerbit setzt. Das Setzen des Fehlerbits kommt zusätzlich oder alternativ zur eigentlichen Übermittlung der jeweiligen Fehlerinformation in Betracht. Der Zugriff auf das Statuswort ist normalerweise schneller als der Zugriff auf eine komplette in dem Fehlerpuffer übermittelte Fehlerinformation und ein im Statuswort gesetztes Fehlerbit kann auf Seiten der Antriebsregelungseinheit für die automatische Generierung eines Signals, z. B. eines so genannten Interrupts, verwendet werden, um eine Behandlung eines im Bereich der Steuerungseinheit aufgetretenen Fehlers auf Seiten der Antriebsregelungseinheit in Echtzeit oder quasi in Echtzeit zu ermöglichen, z. B. derart, dass ein Antrieb abgeschaltet oder zumindest in einen sicheren Zustand überführt wird, wenn die Ausführung des Steuerungsprogramms unterbrochen wurde.If both the control program and the operating system for the transmission of error information to the drive control unit come into consideration, it is provided that the error buffer is associated with a status word in which the operating system in an interrupted execution of Control program sets an error bit. The setting of the error bit is additionally or alternatively to the actual transmission of the respective error information into consideration. The access to the status word is usually faster than the access to a complete error information transmitted in the error buffer and an error bit set in the status word can be provided on the part of the drive control unit for the automatic generation of a signal, e.g. As a so-called interrupts used to allow treatment of an error occurred in the area of the control unit on the part of the drive control unit in real time or quasi in real time, for. B. such that a drive is switched off or at least transferred to a safe state when the execution of the control program has been interrupted.
Das Statuswort eignet sich im Betrieb des Antriebssystems für eine bidirektionale Übermittlung von Fehlerinformationen zwischen Steuerungseinheit und Antriebsregelungseinheit. Dabei kommt das Statuswort auch dann, wenn ansonsten Fehlerinformationen in dem Fehlerpuffer nur von der Steuerungseinheit an die Antriebsregelungseinheit übermittelt werden, auch zur Übermittlung von Statusinformationen über die Antriebsrege lungseinheit an die Steuerungseinheit in Betracht. Wenn solche Statusinformationen auch Aussagen über den Betriebszustand der Antriebsregelungseinheit, insbesondere eventuell vorliegende Fehler, erlauben, ist damit ein zwar eingeschränkter, aber gleichwohl hinreichender Weg für eine Übermittlung von Fehlerinformationen an die Steuerungseinheit eröffnet. Während der sonstige Bereich des Fehlerpuffers bei dessen undirektionaler Verwendung von der Steuerungseinheit nur geschrieben und von der Antriebsregelungseinheit nur gelesen wird, ist für das Statuswort vorgesehen, dass dieses von Steuerungseinheit und Antriebsregelungseinheit gelesen und/oder geschrieben wird.The Status word is suitable for operation of the drive system for a bidirectional transmission of error information between the control unit and the drive control unit. It comes the status word even if otherwise error information in the error buffer transmitted only from the control unit to the drive control unit also for the transmission of status information about the drive control treatment unit to the control unit into consideration. If such status information also statements about the Operating state of the drive control unit, in particular possibly present errors, is thus a limited, but nevertheless sufficient way for a transmission opened by error information to the control unit. While the other area of the error buffer in its unidirectional use of the control unit only written and read only by the drive control unit is for the status word provided by this control unit and Drive control unit is read and / or written.
Weiter bevorzugt ist vorgesehen, dass der Fehlerpuffer als Ringpuffer mit einer Anzahl von Ringpufferelementen organisiert ist, so dass in dem Fehlerpuffer eine Mehrzahl von Fehlerinformationen gespeichert werden kann, ohne dass bei Auftreten mehrerer Fehler der jeweils zuletzt auftretende Fehler zu einer Fehlerinformation führt, die vorangehende, auf Seiten der Antriebsregelungseinheit eventuell roch nicht behandelte Fehlerinformation überschreibt.Further Preferably, it is provided that the error buffer as a ring buffer with a number of ring buffer elements is organized so that in the error buffer stores a plurality of error information can be without each occurrence of multiple errors last error leads to error information, the previous, possibly smelled on the part of the drive control unit overrides unhandled error information.
Für einen Fehlerpuffer mit Ringpufferelementen ist vorgesehen, dass im Statuswort des Fehlerpuffers z. B. festgehalten wird, wie viele Ringpufferelemente belegt sind oder zur Verfügung stehen oder welches Ringpufferelement bei einem nächst folgenden Schreibzugriff, also einer Eintragung einer neuen Fehlerinformation durch die Steuerungseinheit, zu verwenden ist. Auf diese Weise kann der Zugriffskontrolle für den Fehlerpuffer vollständig über das Statuswort abgewickelt werden.For an error buffer with ring buffer elements is provided that in the status word of the error buffer z. For example, it is noted how many Ring buffer elements are occupied or available or which ring buffer element at a next write access, that is, a registration of a new error information by the control unit, to use. In this way, the access control for the error buffer completely via the status word be handled.
Wenn der Ringpuffer z. B. 32 Ringpufferelemente umfasst, kann mit jeweils fünf Bit des Statusworts die maximale Anzahl der noch zur Verwendung zur Verfügung stehenden Ringpufferelemente kodiert werden. Ein Ringpufferelement steht immer dann zur Verwendung zur Verfügung, wenn darin keine Fehlerinformation gespeichert ist oder wenn die gespeicherte Fehlerinformation bereits verarbeitet wurde. Der zugehörige Eintrag im Status wort wird im Folgenden kurz als Anzahl freier Ringpufferelemente bezeichnet und der Eintrag ist für Steuerungseinheit und Antriebsregelungseinheit zugreifbar.If the ring buffer z. B. comprises 32 ring buffer elements, can each with five bits of the status word the maximum number of still available Use available ring buffer elements are encoded. A ring buffer element is always available for use, if there is no error information stored in it or if the stored error information has already been processed. The associated In the following, an entry in the status word will be referred to as the number of free ring buffer elements and the entry is for control unit and Accessible drive control unit.
Die beiden Einheiten, die den Fehlerpuffer verwenden, also Steuerungseinheit und Antriebsregelungseinheit, verwalten jeweils einen Schreib- bzw. Lesezeiger zur Kodierung des für den nächstfolgenden Schreib- oder Lesezugriff zu verwendenden Ringpufferelements. Immer wenn ein solcher Zugriff erfolgt ist, erfolgt je nach jeweiliger Implementierung vor oder nach dem Zugriff eine Inkrementierung oder Dekrementierung des jeweiligen Zeigers. Zur Vermeidung kollidierender Zugriffe auf die Pufferelemente wird die im Statuswort kodierte Anzahl freier Ringpufferelemente verwendet. Mit jedem Schreibzugriff dekrementiert die Steuerungseinheit diesen Wert und mit jedem abgeschlossenen Lesezugriff erfolgt eine Inkrementierung durch die Antriebsregelungseinheit. Kollidierende Zugriffe, z. B. in Form eines schreibenden Zugriff auf ein noch nicht verarbeitetes Ringpufferelement, können dann sicher vermieden werden, wenn die Steuerungseinheit stets das durch den Schreibzeiger kodierte Ringpufferelement verwendet und einen Schreibzugriff nur dann vornimmt, wenn das Statuswort noch zumindest ein freies Ringpufferelement ausweist.The Both units that use the error buffer, that is, control unit and drive control unit, each manage a read or write pointer for the coding of the next writing or read access to use ring buffer element. Always when such access has taken place, depending on the respective implementation or after accessing an increment or decrement of the respective pointer. To avoid colliding accesses the buffer elements becomes the number coded in the status word Ring buffer elements used. Decremented with each write access the control unit this value and with each completed Read access is incremented by the drive control unit. conflicting Requests, z. B. in the form of a write access to a still unprocessed ring buffer element, can then safely can be avoided if the control unit always by the write pointer coded ring buffer element used and a write access only then, if the status word still at least one free ring buffer element identifies.
Ein ebenfalls vom Statuswort umfasstes Kontrollbit ist vorgesehen um kollidierende Zugriffe auf die im Statuswort kodierte Anzahl freier Ringpufferelemente zu vermeiden. Die Verwendung des Kontrollbits kann derart vorgesehen sein, dass die Antriebsregelungseinheit das Kontrollbit setzt, wenn sich die Anzahl zur Verfügung stehender Ringpufferelemente erhöht hat und der korrespondierende Eintrag im Statuswort entsprechend verändert wird. Bei gesetztem Kontrollbit darf die Steuerungseinheit diese Eintrag nicht lesen und nicht schreiben. Ein Zugriff durch die Steuerungseinheit ist nur zugelassen, wenn das Kontrollbit nicht gesetzt ist.One Control bit also included in the status word is provided at colliding accesses to the number of free coded in the status word Ring buffer elements to avoid. The use of the control bit can be provided such that the drive control unit the Control bit sets as the number becomes available Has increased ring buffer elements and the corresponding Entry in the status word is changed accordingly. When set Control bit, the control unit must not read this entry and do not write. An access by the control unit is only permitted if the control bit is not set.
Wenn jedem Ringpufferelement ein eigenes Statuswort zugeordnet ist, ist eine alternative Ausführung einer besonders si cheren Koordination bei einem Zugriff auf die einzelnen Ringpufferelemente möglich, z. B. derart, dass eines der Ringpufferelemente durch die Antriebsregelungseinheit gelesen und für sonstige Zugriffe gesperrt wird, während gleichzeitig ein anderes Ringpufferelement durch die Steuerungseinheit geschrieben wird und währenddessen ebenfalls für sonstige Zugriffe gesperrt ist.If each ring buffer element is assigned its own status word, an alternative embodiment of a particularly secure coordination in access to the individual ring buffer elements is possible, for. B. such that one of the Ringpufferele mente is read by the drive control unit and locked for other access, while at the same time another ring buffer element is written by the control unit and is also locked for other accesses.
Wenn je nach Fehlerinformation die zu übertragenden Daten als neutrales Bitmuster in den Fehlerpuffer oder eines der Ringpufferelemente eingetragen werden und dem Bitmuster zu dessen Interpretation ein Code zugeordnet ist, können auch komplexe Fehlerinformationen übermittelt werden, ohne dass dafür für Struktur und Layout des Fehlerpuffers oder der Ringpufferelemente besondere Vorkehrungen getroffen werden müssen. Die Fehlerinformation wird als neutrales Bitmuster eingetragen und ein Typ der Fehlerinformation, der diese z. B. bei einer Übermittlung nur einer Fehlernummer als ganze Zahl (byte, word, integer, etc.) kennzeichnet, geht nicht verloren, wenn dem Bitmuster zu dessen Interpretation ein Code zugeordnet ist. Mit einem solchen Code ist z. B. auch spezifizierbar, dass als Fehlerinformation eine Zeichenkette einer bestimmten Länge (String) übermittelt wird, oder dass die Struktur auf einem durch den Code identifizierten zusammengesetzten Datentyp basiert.If depending on the error information the data to be transmitted as neutral bit pattern in the error buffer or one of the ring buffer elements be entered and the bit pattern for its interpretation Code is assigned, even complex error information can be transmitted without having to do it for structure and layout the error buffer or the ring buffer elements made special arrangements Need to become. The error information is considered neutral Bit pattern entered and a type of error information, this z. B. in a transmission of only one error number than integer (byte, word, integer, etc.) is not possible lost if a code is assigned to the bit pattern for its interpretation is. With such a code is z. B. also be specified that as error information a string of a certain length (String) or that the structure is on a based on the code identified composite data type based.
Die oben genannte Aufgabe wird auch mit einem Antriebssystem der eingangs genannten Art gelöst, das nach dem Verfahren wie hier und im Folgenden beschrieben arbeitet und dazu Mittel zur Durchführung des Verfahrens umfasst. Die Erfindung ist dabei bevorzugt in Software implementiert. Die Erfindung ist damit einerseits auch ein Computerprogramm mit durch einen Computer ausführbaren Programmcodeanweisungen und andererseits ein Speichermedium mit einem derartigen Computerprogramm sowie schließlich auch ein Antriebssystem, in dessen Speicher als Mittel zur Durchführung des Verfahrens und seiner Ausgestaltungen ein solches Computerprogramm geladen oder ladbar ist. Das Computerprogramm ist dabei ein verteiltes Computerprogramm, dessen Teile auf Seiten der Steuerungseinheit von dem Steuerungsprogramm und/oder einem Betriebssystem der Steuerungseinheit und auf Seiten der Antriebsregelungseinheit von der Fehlerbehandlungsfunktionalität umfasst sind.The The above object is also achieved with a drive system of the beginning mentioned type solved by the method as here and described below works and this means for implementation of the method. The invention is preferably in software implemented. On the one hand, the invention is therefore also a computer program with computer executable program code instructions and on the other hand a storage medium with such a computer program as well as finally a drive system, in its memory as means for carrying out the method and its embodiments such a computer program is loaded or loadable. The computer program is a distributed computer program whose parts are on pages the control unit of the control program and / or a Operating system of the control unit and on the part of the drive control unit are included by the error handling functionality.
Nachfolgend wird ein Ausführungsbeispiel der Erfindung anhand der Zeichnung näher erläutert. Einander entsprechende Gegenstände oder Elemente sind in allen Figuren mit den gleichen Bezugszeichen versehen. Das oder jedes Ausführungsbeispiel ist nicht als Einschränkung der Erfindung zu verstehen. Vielmehr sind im Rahmen der vorliegenden Offenbarung zahlreiche Abänderungen und Modifikationen möglich, insbesondere solche Varianten und Kombinationen, die zum Beispiel durch Kombination oder Abwandlung von einzelnen in Verbindung mit den im allgemeinen oder speziellen Beschreibungsteil beschriebenen sowie in den Ansprüchen und/oder der Zeichnung enthaltenen Merkmalen bzw. Elementen oder Verfahrensschritten für den Fachmann im Hinblick auf die Lösung der Aufgabe entnehmbar sind und durch kombinierbare Merkmale zu einem neuen Gegenstand oder zu neuen Verfahrensschritten bzw. Verfahrensschrittfolgen führen.following An embodiment of the invention with reference to the drawing explained in more detail. Corresponding objects or elements are in all figures with the same reference numerals Mistake. The or each embodiment is not to be understood as a limitation of the invention. Much more are numerous modifications within the scope of the present disclosure and modifications possible, especially such variants and combinations, for example, by combination or modification of individual in conjunction with the general or special Description part described and in the claims and / or the drawing contained features or elements or steps for the expert with regard to the solution of Task are removable and by combinable features to a new subject or to new process steps or process steps to lead.
Es zeigenIt demonstrate
Einem
Verwender des Antriebssystems
Für
einen Benutzer des Antriebssystems
Nachdem
in dem Antriebssystem
Eine
Fehlerbehandlungsfunktionalität und deren Vorhandensein
auf Seiten der Antriebsregelungseinheit
Durch
die Verwendung des Fehlerpuffers
Im
Betrieb des Antriebssystems
Ein
Eintrag von Fehlerinformationen in den Fehlerpuffer
Fehlerinformationen,
die durch das Steuerungsprogramm
Im
Statuswort
Darüber
hinaus ist das Statuswort
Mit
dem Fehlerpuffer
Damit
lässt sich die Erfindung zusammengefasst kurz wie folgt
beschreiben: Es werden ein Verfahren zum Betrieb eines Antriebssystems
ZITATE ENTHALTEN IN DER BESCHREIBUNGQUOTES 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 The documents listed by the applicant have been automated generated and is solely for better information recorded by the reader. The list is not part of the German Patent or utility model application. The DPMA takes over no liability for any errors or omissions.
Zitierte PatentliteraturCited patent literature
- - DE 102008023873 [0003, 0028] - DE 102008023873 [0003, 0028]
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200810063468 DE102008063468A1 (en) | 2008-12-17 | 2008-12-17 | Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200810063468 DE102008063468A1 (en) | 2008-12-17 | 2008-12-17 | Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102008063468A1 true DE102008063468A1 (en) | 2010-02-25 |
Family
ID=41566909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE200810063468 Ceased DE102008063468A1 (en) | 2008-12-17 | 2008-12-17 | Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102008063468A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19836126A1 (en) * | 1998-08-10 | 2000-02-24 | Siemens Ag | Controller especially for motor vehicle |
DE102005001430A1 (en) * | 2004-09-30 | 2006-04-13 | Robert Bosch Gmbh | Method for describing memory contents and for describing the transfer of memory contents |
DE102008023873A1 (en) | 2008-05-16 | 2009-08-27 | Siemens Aktiengesellschaft | Drive system operating method, involves using buffer for exchanging data between drive component and drive regulation unit, initializing buffer by drive regulation unit, and temporizing initialization of buffer by control unit |
-
2008
- 2008-12-17 DE DE200810063468 patent/DE102008063468A1/en not_active Ceased
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19836126A1 (en) * | 1998-08-10 | 2000-02-24 | Siemens Ag | Controller especially for motor vehicle |
DE102005001430A1 (en) * | 2004-09-30 | 2006-04-13 | Robert Bosch Gmbh | Method for describing memory contents and for describing the transfer of memory contents |
DE102008023873A1 (en) | 2008-05-16 | 2009-08-27 | Siemens Aktiengesellschaft | Drive system operating method, involves using buffer for exchanging data between drive component and drive regulation unit, initializing buffer by drive regulation unit, and temporizing initialization of buffer by control unit |
Non-Patent Citations (3)
Title |
---|
Wikipedia: Inter-process communication, URL: http://en.wikipedia.org/wiki/Inter-process_communi ation * |
Wikipedia: Inter-process communication, URL: http://en.wikipedia.org/wiki/Inter-process_communication Wikipedia: Synchronous optical networking, URL: http://en.wikipedia.org/wiki/Synchronous_Digital_Hierarchy |
Wikipedia: Synchronous optical networking, URL: http://en.wikipedia.org/wiki/Synchronous_Digital_H erarchy * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1329816B1 (en) | Method for automatic dynamic unloading of data flow processors (dfp) as well as modules with bidimensional or multidimensional programmable cell structures (fpgas, dpgas or the like) | |
DE2856483C2 (en) | ||
DE2209282C3 (en) | Data processing system | |
EP0951682B1 (en) | IO-AND MEMORY BUS SYSTEM FOR DFPs AND UNITS WITH TWO-OR MULTI- DIMENSIONALLY PROGRAMMABLE CELL STRUCTURES | |
DE3610433C2 (en) | Method for controlling a machine with a programmable logic controller with a function chart interpreter | |
CH620306A5 (en) | ||
WO1998029952A1 (en) | METHOD FOR AUTOMATIC DYNAMIC UNLOADING OF DATA FLOW PROCESSORS (DFP) AS WELL AS MODULES WITH BIDIMENSIONAL OR MULTIDIMENSIONAL PROGRAMMABLE CELL STRUCTURES (EPGAs, DPGAs OR THE LIKE) | |
EP0524344A1 (en) | Configurable machine tool control | |
DE102004027033A1 (en) | Influencing device for control units | |
DE2758023C3 (en) | Connection circuit for an input / output interface of a data processing system | |
DE102014005557A1 (en) | Numerical control device | |
EP2407842B1 (en) | Method for operating machines or machines in a machine series and design system | |
EP2520991B1 (en) | Method for controlled intervention into the behaviour of a sub-module | |
DE1499206B2 (en) | COMPUTER SYSTEM | |
DE102014219711A1 (en) | Method for power plant simulation | |
DE102014105207A1 (en) | Method for operating a communication network and communication network | |
DE2720842A1 (en) | DATA TRANSFER SYSTEM | |
EP2133763A1 (en) | Method for operating an automation system | |
DE102008023873A1 (en) | Drive system operating method, involves using buffer for exchanging data between drive component and drive regulation unit, initializing buffer by drive regulation unit, and temporizing initialization of buffer by control unit | |
DE102008063468A1 (en) | Drive system operating method, involves utilizing part of buffer as error buffer, where error buffer functions as interface for transmitting error information between control unit and error handling functionality of drive control unit | |
DE2932394A1 (en) | INTELLIGENT, PROGRAMMABLE PROCESS CONTROL ARRANGEMENT | |
DE1449546A1 (en) | Circuit arrangement for the asynchronous control of data transmission | |
AT501880B1 (en) | MEMORY PROGRAMMABLE CONTROL | |
EP2216695B1 (en) | Method for operating an automation system, corresponding computer program and system or device working according to the method | |
EP3583516B1 (en) | Graph associated with a packaging system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OAV | Applicant agreed to the publication of the unexamined application as to paragraph 31 lit. 2 z1 | ||
OP8 | Request for examination as to paragraph 44 patent law | ||
8131 | Rejection |