[go: up one dir, main page]

WO2007036175A1 - Procede pour produire un signal d'erreur - Google Patents

Procede pour produire un signal d'erreur Download PDF

Info

Publication number
WO2007036175A1
WO2007036175A1 PCT/DE2005/001741 DE2005001741W WO2007036175A1 WO 2007036175 A1 WO2007036175 A1 WO 2007036175A1 DE 2005001741 W DE2005001741 W DE 2005001741W WO 2007036175 A1 WO2007036175 A1 WO 2007036175A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
error
action information
module
error signal
Prior art date
Application number
PCT/DE2005/001741
Other languages
German (de)
English (en)
Inventor
Jürgen BAUEREISS
Martina Zeilmann
Original Assignee
Siemens Aktiengesellschaft
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Priority to DE112005003774T priority Critical patent/DE112005003774A5/de
Priority to PCT/DE2005/001741 priority patent/WO2007036175A1/fr
Publication of WO2007036175A1 publication Critical patent/WO2007036175A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3604Analysis of software for verifying properties of programs
    • G06F11/3612Analysis of software for verifying properties of programs by runtime analysis

Definitions

  • the invention relates to a method for generating an error signal indicating an error in the course of a process program comprising a plurality of individual processing steps of an electronic data processing system.
  • error signals are known, for example, from so-called debugger tools that are used in the development of execution programs for data processing systems.
  • the debugger tool runs parallel to the sequence program and, in the case of an error in the sequence program (eg in the case of a program termination), determines at which single processing step or in which program line the error has occurred.
  • An error signal identifying the program line enables the program developer to find the cause of the program error and to make suitable program changes.
  • Debugger tools of the type described are used in program development and do not allow error identification in later program operation.
  • Error messages are that in the case of very extensive and complex sequence programs, these often do not permit an immediate assignment as to which program point the error has occurred, so that the user of the download program often has no indication of what is wrong.
  • the invention is therefore based on the object, a method for generating an error signal that delivers better usable error signals during normal operation of an AbIaufProgramms in case of error than before.
  • a program module-specific action information is stored before or during its activation.
  • Such action information identifies the respective program module and contains a hierarchy indication which indicates which hierarchical position the program module holds in the program hierarchy of the sequence program and / or which relation it has to the uppermost program hierarchy. If an error occurs
  • Program module the associated action information is deleted.
  • a significant advantage of the invention is that it allows the generation of very detailed error signals, which are very understandable both to the programmers of the sequence program and to their users. Because, according to the invention, two or more individual processing steps are combined to form functional program modules and individual action information is stored for each program module before it is activated, error signals can be formed that accurately locate the error within the program hierarchy of the program. As a result of the combination according to the invention of the "bundling" of individual processing steps into functional program modules or "function modules" on the one hand and the assignment of an indirect or immediate one Hierarchy of the respective function modules on the other hand can thus achieve that a very comprehensive and very understandable error indication can be generated.
  • the deletion of the stored action information can be carried out particularly simply and thus advantageously, for example, in the course of saving the action information of the respectively next program module to be processed.
  • the stored action information is deleted by overwriting with the action information of the respectively next program module to be processed.
  • Action information in each case an action-individual error text is stored and when the error text is emitted together with the output signal or as part of the output signal optically or acoustically to the outside.
  • the invention also relates to an error signal generating device for generating an error signal which causes an error in the execution of a plurality of processing signals. steps comprehensive flow program of an electronic data processing system displays.
  • Such error signal generating devices are - as already mentioned in connection with the inventive method - used for example for generating error signals indicating a division by zero or the like.
  • the object of the invention is to achieve that, during normal operation of the readout program, fault signals which can be utilized in the event of a fault are supplied better than before.
  • a monitoring module is connected to a memory area in which, for functional program modules which consist of two or more individual processing steps of the sequence program, an action information stores the respective program module before or during their activation the AbIaufprogramms identified and containing a hierarchical indication that indicates which hierarchical position the program module in the program hierarchy of the sequence program has or what relation it has to the top program hierarchy, and that a signal output device in the presence of the auxiliary signal reads the memory area and an error signal as an output signal generated, which indicates the action information directly or indirectly.
  • FIG. 1 shows an electronic data processing system which is equipped with an exemplary embodiment of an error signal generating device according to the invention
  • FIG. 2 shows, by way of example, the storage of
  • FIGS. 3, 4, 5, 6 show, by way of example, the optical output of error signals in the form of error windows, which can be displayed on a screen in the event of an error, and
  • Figure 7 shows an electronic data processing system, which is equipped with a second embodiment of an error signal generating device according to the invention.
  • FIG. 1 shows an electronic data processing system 10, which comprises a microprocessor device 20.
  • the microprocessor device 20 is connected via a data bus 30 to a memory area 40 in which a run on the data processing system 10 running program 40 'is stored.
  • the data processing system 10 is also equipped with an internal error signal generator 100.
  • the error signal generator 100 like the sequence program 40 ', makes use of the microprocessor device 20;
  • it includes a memory area 110, in which a monitor the program execution of AbIaufProgramms 40 'monitoring monitoring module 110' is stored.
  • the error signal generating device 100 is furthermore equipped with a signal output device 130, with which an output signal SA can be emitted optically or acoustically as an error signal.
  • the signal output device 130 may be formed by a speaker, a monitor or the like, for example.
  • the various components of the error signal generation device 100 are connected to one another via the data bus 30 as well as to the memory area 40 of the exit program 40 '.
  • the data processing system 10 with the error signal generating device 100 is operated as follows:
  • the error signal generating device 100 monitors the program flow continuously.
  • the monitoring module 110 ' controls the beginning of predefined functional program modules of the sequence program 40' stored in the monitoring module 110 '.
  • Such functional program modules include two or more individual processing steps of the run program 40 'and may define relatively complex portions of the run program 40'.
  • the functional program modules are thus not formed by individual individual processing steps, but by a combination of several such individual processing steps.
  • the combination of the individual processing steps to functional program modules is carried out during programming of the sequence program 40 'and the monitoring module 110' preferably such that each functional program module refers to a predetermined technical functionality of AbIaufProgramms 40 '.
  • one of the functional program modules can be formed by all those individual processing steps that relate to the reading of parameters into the sequence program 40 'of the data processing system 10.
  • Another functional program module can be formed, for example, by a work package such as "Check parameterization" or "Query user action".
  • the monitoring module 110 As soon as the monitoring module 110 'recognizes that a new functional program module of the download program 40' is being started, it preferably already stores in an action information memory area 140 before or immediately after activation of the respective program module, for example through a subarea of the memory area 110 of the monitoring module 110 ', an action information A relating to the program module to be started.
  • the monitoring module 110 stores, as action information A, identification information that identifies the program module of the sequence program 40' to be started; In addition, the monitoring module 110 'stores which hierarchical position the respective program module has within the program hierarchy of the exit program 40' or which relation it has to the uppermost program hierarchy of the execution program 40.
  • the identification information for the respective program module makes it possible for the user of the run program 40 'as well as in advance when programming the run program 40' the programmer to carry out a clear error assignment in the event of an error.
  • the additional "hierarchy specification" makes it possible to ascertain in which program section the sequence program 40 'is currently or how far it has already progressed from the program sequence, namely, the progress of the sequence program 40' is a valuable indicator for a program correct assignment of an error occurred.
  • the monitoring module 110 If an error (eg program termination) occurs during the execution of the functional program module, this is detected by the monitoring module 110 'of the error signal generation device 100. In this case, the monitoring module 110 generates an auxiliary signal H for the signal output device 130, which then reads the current action information A from the action information memory area 140 and displays to the program user an output signal SA indicating the action information A directly or indirectly as an error signal.
  • the output signal SA thus also indicates the identification and hierarchy information contained in the action information A.
  • the monitoring module 110 ' is preferably configured such that, when a new action information is stored, it deletes the respectively old action information of the previously successfully executed functional program module.
  • Such a deletion of the "obsolete" action information can be effected, for example, by the fact that the respective new "current” action information overwrites the previous "old” action information.
  • the hierarchy specification of the action information allows a very accurate assignment of the error to the work package currently being executed by the execution program 40 '.
  • FIG. 2 shows an exemplary embodiment of a possible program sequence of the sequence program 40 'in the form of a table.
  • the leftmost column lists the respective action type of the runtime program 40 'over time.
  • the respective action type indicates whether the respective program module is a main program part or a subprogram part of the execution program 40 '.
  • the second column of the table lists the respective functional program module M of the execution program 40 '. It can be seen that a total of three program modules are called within the scope of the program section "Read parameters”, namely the program modules "read parameter”, "read command line” and "read registry".
  • Read parameters namely the program modules "read parameter”, "read command line” and "read registry”.
  • the respectively associated action information A is listed, which stores the monitoring module 110 'when the respective program module M is activated.
  • an action information is stored which identifies the respective program module very precisely, preferably unambiguously.
  • the action information contains instructions that identify the respective position or the position of the program module within the hierarchy of the sequence program 40.
  • the action information A to the program module "Registry read” indicates that the respective program module hierarchy on the parent program section “reading the parameters” and also refers to the "main program” via the again higher-level program section "program start”.
  • the identification of the program module its hierarchical position within the execution program 40 'can also be determined precisely.
  • the action information A becomes more extensive the deeper the program module is located in the hierarchy of the sequence program 40 '.
  • error signals are shown by way of example which are output by the signal output device 130 as output signals SA in the case of an error.
  • the output signals SA have action-specific error texts T which, for example, together with the respective action information A are stored by the monitoring module 110 'in the action information memory area 140:
  • the output signal SA according to FIG. 3 indicates that an error has occurred at the program start and that the installation of the program should be repeated.
  • the output signal SA according to FIG. 4 indicates that an error has occurred during the reading of the parameters and that the installation of the program should be repeated.
  • the output signal SA according to FIG. 5 indicates that an error has occurred during the reading of the registry and the installation should be repeated.
  • the output signal SA according to FIG. 6 indicates that an error has occurred when reading the "registry key start-up mask " (value does not exist) and that the installation should be repeated.
  • the drain program 40 'and the monitoring module 110' are separate Software modules.
  • the monitoring module 110 ' may also be completely implemented in the sequence program 40' and form an integral part of the sequence program 40 '.
  • Such a variant is shown in FIG. Otherwise, the alternative variant works like the variant according to FIG. 1, so that reference is made to the above statements with regard to the mode of operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

L'invention concerne un procédé pour produire un signal d'erreur indiquant une erreur lors du déroulement d'un programme séquentiel (40') d'une unité de traitement de données électronique (10), pourvu d'une pluralité d'étapes de traitement individuelles. L'objectif de cette invention est de fournir un procédé pour produire un signal d'erreur, permettant d'obtenir, en cas d'erreur pendant le fonctionnement normal du programme séquentiel, des signaux d'erreur mieux exploitables qu'auparavant. A cet effet, pendant chaque passage de programme du programme séquentiel (40') pour chaque module de programme fonctionnel (M), constitué de deux ou de plusieurs étapes de traitement individuelles du programme séquentiel (40'), une information d'action (A) est enregistrée avant ou pendant son activation, laquelle information identifie le module de programme associé (M) et contient une indication de hiérarchie indiquant la position hiérarchique du module de programme dans la hiérarchie du programme séquentiel ou son rapport avec la hiérarchie de programme la plus haute ; l'information d'action enregistrée (A) est lue lorsqu'une erreur apparaît dans le programme séquentiel et un signal de sortie (SA) est produit en tant que signal d'erreur, lequel signal fournit directement ou indirectement l'information d'action (A), et l'information d'action associée est supprimée après un traitement réussi sans erreur de chaque module de programme fonctionnel.
PCT/DE2005/001741 2005-09-27 2005-09-27 Procede pour produire un signal d'erreur WO2007036175A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE112005003774T DE112005003774A5 (de) 2005-09-27 2005-09-27 Verfahren zum Erzeugen eines Fehlersignals
PCT/DE2005/001741 WO2007036175A1 (fr) 2005-09-27 2005-09-27 Procede pour produire un signal d'erreur

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/DE2005/001741 WO2007036175A1 (fr) 2005-09-27 2005-09-27 Procede pour produire un signal d'erreur

Publications (1)

Publication Number Publication Date
WO2007036175A1 true WO2007036175A1 (fr) 2007-04-05

Family

ID=36118317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/DE2005/001741 WO2007036175A1 (fr) 2005-09-27 2005-09-27 Procede pour produire un signal d'erreur

Country Status (2)

Country Link
DE (1) DE112005003774A5 (fr)
WO (1) WO2007036175A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470491B1 (en) * 1999-03-29 2002-10-22 Inventec Corporation Method for monitoring computer programs on window-based operating platforms
WO2002095585A1 (fr) * 2001-05-24 2002-11-28 Techtracker, Inc. Signatures de piles pour execution de programme
US6574792B1 (en) * 2000-03-22 2003-06-03 International Business Machines Corporation Dynamically generating expanded user messages in a computer system
WO2003090105A1 (fr) * 2001-03-02 2003-10-30 Computer Associates Think, Inc. Procede et dispositif pour creer des messages de description de contexte

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470491B1 (en) * 1999-03-29 2002-10-22 Inventec Corporation Method for monitoring computer programs on window-based operating platforms
US6574792B1 (en) * 2000-03-22 2003-06-03 International Business Machines Corporation Dynamically generating expanded user messages in a computer system
WO2003090105A1 (fr) * 2001-03-02 2003-10-30 Computer Associates Think, Inc. Procede et dispositif pour creer des messages de description de contexte
WO2002095585A1 (fr) * 2001-05-24 2002-11-28 Techtracker, Inc. Signatures de piles pour execution de programme

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
EFE K: "A PROPOSED SOLUTION TO THE PROBLEM OF LEVELS IN ERROR-MESSAGE GENERATION", COMMUNICATIONS OF THE ASSOCIATION FOR COMPUTING MACHINERY, ACM, NEW YORK, NY, US, vol. 30, no. 11, November 1987 (1987-11-01), pages 948 - 955, XP000758420, ISSN: 0001-0782 *
GRAHAM S L ET AL: "AN EXECUTION PROFILER FOR MODULAR PROGRAMS", SOFTWARE PRACTICE AND EXPERIENCE, JOHN WILEY & SONS, LTD, GB, vol. 13, no. 7, 1983, pages 671 - 685, XP000783781, ISSN: 0038-0644 *

Also Published As

Publication number Publication date
DE112005003774A5 (de) 2008-08-28

Similar Documents

Publication Publication Date Title
DE2735397C2 (de) Überwachungseinrichtung für eine programmgesteuerte Maschine
WO2005111752A1 (fr) Systeme de diagnostic base sur les connaissances pour un systeme technique complexe pourvu de deux bases de connaissances separees pour le traitement de donnees techniques de systeme et de reclamations de clients
EP1265146A2 (fr) Procédé et dispositif de déboggage
DE102004055971B4 (de) Verfahren und Vorrichtung zur sicheren Parametierung gemäß IEC 61508 SIL 1 bis 3 oder EN 954-1 Kategorie 1 bis 4
DE4305522C2 (de) Einrichtung zur rechnergestützten Diagnose eines aus Modulen bestehenden technischen Systems
DE10307342A1 (de) Vorrichtung und Verfahren zur modellbasierten On-Board-Diagnose
DE112014002979T5 (de) Entwicklungswerkzeug, Programmänderungsgerät undProgrammänderungssystem
EP3001310B1 (fr) Procédé et dispositif d'actualisation de micrologiciels pour des composants d'un système d'automatisation industriel
DE102016011020A1 (de) Kontaktplan-Überwachungsvorrichtung mit der Fähigkeit, zusätzlich eine Betriebssituation einer CNC in einem Kommentar anzuzeigen
EP0048991A1 (fr) Méthode et dispositif pour le traitement des conditions d'interruption pendant le déroulement des opérations dans les systèmes de traitement de données à commande microprogrammée
DE102011107646A1 (de) Verfahren und System zur dynamischen Verteilung von Programmfunktionen in verteilten Steuerungssystemen
EP2496993B1 (fr) Procédé de protection de changements de programme par l'utilisateur final par des contrats formels et vérification de programme dans la technique d'automation
EP2483775A1 (fr) Procédé et agencement d'installation et de configuration d'un système informatique
WO2005022382A2 (fr) Procede d'installation d'une composante programme
WO2007036175A1 (fr) Procede pour produire un signal d'erreur
EP2037341B1 (fr) Système de programmation
DE102005015063B4 (de) Vorrichtung und Verfahren zur automatischen Erzeugung von Steueranweisungen für Rundläufermaschinen
DE10041111A1 (de) Verfahren zum Überarbeiten eines in einer Programmiersprache verfaßten Computerprogramms
DE102015008751A1 (de) Numerische steuerung mit funktion zur automatischen rekonstruktion von einstellungen und funktion zum verhindern falscher einstellungen
WO2015124320A1 (fr) Commande à programme enregistré dynamique servant à émuler un appareil de commande
DE102005040916A1 (de) Speicheranordnung und Betriebsverfahren dafür
EP1226473A2 (fr) Procede pour reguler des mecanismes et des systemes techniques, dispositif et logiciel de commande appropries
DE10135285B4 (de) Speichereinrichtung und Verfahren zum Betreiben eines eine Speichereinrichtung enthaltenden Systems
WO2009103728A1 (fr) Procédé et dispositif de stockage de données d’information
WO2011137464A1 (fr) Procédé d'enregistrement, de reconstruction et d'analyse sélectifs du déroulement d'un programme de commande

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1120050037746

Country of ref document: DE

REF Corresponds to

Ref document number: 112005003774

Country of ref document: DE

Date of ref document: 20080828

Kind code of ref document: P

122 Ep: pct application non-entry in european phase

Ref document number: 05802572

Country of ref document: EP

Kind code of ref document: A1