DE3242631A1 - Programmable control device - Google Patents

Programmable control device

Info

Publication number
DE3242631A1
DE3242631A1 DE19823242631 DE3242631A DE3242631A1 DE 3242631 A1 DE3242631 A1 DE 3242631A1 DE 19823242631 DE19823242631 DE 19823242631 DE 3242631 A DE3242631 A DE 3242631A DE 3242631 A1 DE3242631 A1 DE 3242631A1
Authority
DE
Germany
Prior art keywords
command
data
monitoring
output
program
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.)
Granted
Application number
DE19823242631
Other languages
German (de)
Other versions
DE3242631C2 (en
Inventor
Tadashi Hirakata Osaka Inoue
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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
Priority claimed from JP56184730A external-priority patent/JPS5886650A/en
Priority claimed from JP19193681A external-priority patent/JPS5894005A/en
Priority claimed from JP56195459A external-priority patent/JPS5897703A/en
Priority claimed from JP56198826A external-priority patent/JPS5899805A/en
Application filed by Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Publication of DE3242631A1 publication Critical patent/DE3242631A1/en
Application granted granted Critical
Publication of DE3242631C2 publication Critical patent/DE3242631C2/de
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13037Tracing
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13052Display of ladder diagram
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13128Relay ladder diagram, RLL RLD KOP
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14097Display of error messages

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

After adding individual identification numbers to a number of user instructions contained in a user program and storing these in the memory, the identification number of a locking instruction is added during monitoring reproduction when control data of the user program are being monitored, if the object of the monitoring is related to the locking instruction. <IMAGE>

Description

Beschreibung description

Die Erfindung bezieht sich auf eine programmierbare Steuereinrichtung und richtet sich insbesondere auf eine Uberwachungssteuertechnik, mit der die Überwachung von Verriegelungsbefehlen leicht durchgeführt werden kann. The invention relates to a programmable control device and is aimed in particular at a monitoring control technique with which the monitoring locking commands can be easily performed.

Bekanntlich ist die üblichste programmierbare Steuereinrichtung eine solche des sogenannten "Leiterdiagrammtyps". Nach dem Aufbau dieses Typs von programmierbarer Steuereinrichtung kann nämlich durch wiederholte aufeinanderfolgende Ausführung einer Gruppe von in einem Benutzerprogrammspeicher gespeicherten Befehlen die Folgesteuerung, die einem durch die Gruppe der Befehle ausgedrückten Relaisleiterdiagramm entspricht, äquivalent realisiert werden. As is known, the most common programmable controller is one those of the so-called "ladder diagram type". After building this type of programmable Namely, control means can be performed by repeated sequential execution sequence control of a group of commands stored in a user program memory, corresponding to a relay ladder diagram expressed by the group of commands, can be realized equivalent.

Bei dieser Art von programmierbarer Steuereinrichtung sind Verriegelungsbefehl und Verriegelungsendbefehl im allgemeinen als eine Art von Benutzerbefehl definiert und eine Verriegelungsverarbeitungsfunktion vorgesehen, welche in der Lage ist, die Ausgabe abhängig von der Erfüllung oder Nichterfüllung von Bedingungen des Verriegelungsbefehls während der Ausführung einer Gruppe von zwischen dem. In this type of programmable controller there are interlock commands and End Lock Command generally defined as a type of user command and a lock processing function is provided which is capable of the output depending on the fulfillment or non-fulfillment of conditions of the interlocking command while running a group of between the.

Verriegelungsbefehl und dem Verriegelungsendbefehl angeordneten Befehlen zu sperren.Interlocking command and the interlocking end command arranged commands to lock.

Ein Beispiel eines Programms, welches diesen Verriegelungsbefehl enthält, ist in Fig. 1A in Form eines Relaisleiterdiagramms, das als Quellenprogramm wirkt, gezeigt, und Fig, 1B gibt eine Programmliste wieder, die das Programm in Form eines Objektprogramms unter Verwendung von Mnemonik angibt. In beiden Figuren zeigt ~,IL" den Verriegelungsbefehl (interlock instruction) und ILE den Verriegelungsendbefehl (interlock end instruction). In diesem Beispiel von Programm ist der IL-Befehl in Adresse 101, der ILE-Befehl in Adresse 181 gesetzt, und ein zwischen diesen beiden Befehlen liegendes Programm A ist der Steuer- gegenstand des Verriegelungsbefehls. Ferner gilt, daß die Verriegelungsbedingung des IL-Befehls in Adresse 101 der Kontakt 51 in Fig. 1A und der LD(51)-Befehl in Adresse 100 in Fig. 1B ist. Das heißt, der OUT-Befehl von Programm A wird wie normalerweise ausgeführt, wenn der-Kontakt 51 ein bzw. 1 ist, und seine Ausgangslogik wird nach dem Eingangszustand eines jeden OUT-Befehls bestimmt. Wenn jedoch der Kontakt 51 aus bzw. "O" ist, wird der Programmausführungsvorgang so umgeschaltet, daß die im Programm A enthaltenen Ausgänge bzw. Ausgaben gesperrt werden und diese alle auf aus bzw. "O" gesetzt werden. An example of a program that uses this lock command is in Fig. 1A in relay ladder diagram form as source code acts, and Fig. 1B shows a program list that the program in Specifies the form of an object program using mnemonic. In both figures shows ~, IL "the interlock instruction and ILE the interlock end command (interlock end instruction). In this example from the program, the IL instruction is in Address 101, the ILE command set in address 181, and one between these two Program A is the control subject of the locking command. It also applies that the interlocking condition of the IL command in address 101 is the contact 51 in Figure 1A and the LD (51) instruction is in address 100 in Figure 1B. That is, the OUT command from program A is carried out as normal if the contact 51 is a or 1, and its output logic is based on the input state of each OUT command is determined. However, if the contact 51 is off or "O", the program execution process is switched so that the outputs or outputs contained in program A are blocked and these are all set to off or "O".

Auf der Benutzerseite dieser Art von programmierbarer Steuereinrichtung wird der Zustand des zu einem gegebenen Benutzerbefehl gehörigen Steuersignals ebenfalls häufig während der Ausführung des Programms überwacht. Für diese Befehlsüberwachung stehen drei Methoden zur Verfügung: die Methode, die eine Programmadresse des zu überwachenden Befehls eingibt (diese wird "Adressenzuordnungsmethode" genannt), die Methode, die den zu überwachenden Befehl selbst eingibt (diese wird "Befehlszuordnungsmethode" genannt) und die Methode, die die Befehle in den Adressen vor oder nach einem bestimmten qerade überwachten Befehl sequentiell überwacht, indem Andressenerhöhunq/Erniedrigun#s-Tasten verwendet werden (diese wird "Aufspürmethode" oder "Verfolgungsmethode" genannt). Programmierbare Steuereinrichtungen aus jüngerer Zeit gestatten die Überwachung nach irgendeiner dieser Methoden. On the user side, this type of programmable controller the state of the control signal associated with a given user command will also be frequently monitored while the program is running. For this command monitoring There are three methods available: the method that assigns a program address to the enter the monitoring command (this is called the "address mapping method"), the method that enters the command to be monitored itself (this is called the "command assignment method" called) and the method that the commands in the addresses before or after a particular q Command just monitored is sequentially monitored by increasing / decreasing address buttons (this is called the "tracking method" or "tracking method"). More recent programmable controllers allow monitoring any of these methods.

Bei jeder der durch diese proqrammierbaren Steuereinrichtunqen nutzbaren Methoden, werden, wenn ein Benutzerbefehl als Gegenstand der Uberwachung speziell bestimmt wird, die zur Ausführung dieses Benutzerbefehls gehörigen Steuerdaten (Steuerdaten wie etwa (#er logische Zustand des Ein/Ausgabe-Signals mit der Nummer, die im Benutzerbefehl verwendet wird, die numerischen Daten des Zeitgebers/Zählers, wenn der Benutzerbefehl ein Zeitgeber/Zähler-Befehl ist, die Logik des Leistungsflußregisters, welche das Er- gebnis einer durch den Benutzerbefehl ausgeführten logischen Operation ist, usw.) als Überwachungsdaten auf die Programmkonsole übertragen und wiedergegeben. Wenn beispielsweise die Adresse 147 im Programm der Fig. 1B als Gegenstand der Überwachung herausgegriffen wird, dann werden der logische Zustand des Kontaktes 56, wenn der AND(56)-Befehl ausgeführt ist, und der logische Zustand des Leistungsflußregisters, wenn dieser Befehl ausgeführt ist, als Überwachungsdaten auf die Programmkonsole überw tragen und wiedergegeben.With each of the control devices that can be programmed by this Methods are specifically used when a user command is the subject of surveillance is determined, the control data belonging to the execution of this user command (control data such as (# the logical state of the input / output signal with the number given in the user command used the numeric data of the timer / counter when the user command is a timer / counter instruction, the logic of the power flow register which the He- result of a logical executed by the user command Operation is, etc.) transferred as monitoring data to the program console and reproduced. For example, if the address 147 in the program of FIG. 1B is the subject the monitoring is picked out, then the logical state of the contact 56, if the AND (56) instruction is executed and the logic state of the power flow register, when this command is executed, as monitoring data on the program console transmitted and reproduced.

Ferner sind übliche programmierbare Steuereinrichtungen getrennt von dieser Befehlsüberwachbng mit Ein/Ausgabe-Überwachungsfunktionen versehen. Ein/Aus gabe-Überwachung bedeutet, daß bei Eingabe einer Ein/Ausgabe-Nummer als Gegenstand der Überwachung unter Verwendung von Tasten auf der Programmkonsole der logische Zustand des Ein, AU8-gabe-Signals der Ein/Ausgabe-Nummer wiedergegeben wird. Common programmable controllers are also separated provided by this command monitoring with input / output monitoring functions. On off Gabe monitoring means that when you enter an input / output number as an object the monitoring using buttons on the program console is the logical State of the input, output signal of the input / output number is displayed.

Durch vollständige Ausnutzung dieser Befehlsüberwachung und Ein/Ausgabe-Überwachung beim gerade ausgeführten Programm ist es möglich, jede Änderung zwischen externen Ein/Ausgabe-Signalen zu überwachen, indem sie zum Ausführungsvorgang der einzelnen Benutzerbefehle im Programm in Beziehung gesetzt wird, oder nur notwendige Ein/Ausgabe-Signale herauszuziehen und die Änderung zu bestätigen.By making full use of this command monitoring and input / output monitoring when the program is currently running, it is possible to make any changes between external Monitor I / O signals by referring to the execution process of each User commands in the program are related, or only necessary input / output signals pull out and confirm the change.

Beim Überwachen eines OUT-Befehls oder eines Ausgangssignals im Programm A zwischen den in Fig. 1A und Fig. 1B gezeigten Verriegelungsbefehlen entstehen jedoch die folgenden beschriebenen Probleme. Das heißt, wenn auch kein Problem vorliegt, wenn die Verriegelungsbedingung "1" ist und die Ausgabesperrung durch die Verriegelung nicht erfolgt, so kann doch gelegentlich ein Wiederspruch zwischen der Eingangsbedingung des OUT-Befehls und dem tatsächlichen Ausgangszustand "O" hervorgerufen werden, wenn die Verriegelungsbedingung "O"ist und die Ausgangssignale der OUT-Befehle im Programm A alle auf "O" gesetzt worden sind. When monitoring an OUT command or an output signal in the program A arise between the locking commands shown in FIGS. 1A and 1B however, the problems described below. That is, even if there is no problem, when the interlock condition is "1" and the output interlock by the interlock does not take place, there may occasionally be a contradiction between the entry condition the OUT command and the actual output state "O" are caused, if the interlock condition is "O" and the output signals of the OUT commands im Program A have all been set to "O".

Wenn die Ausgabesperre durch die Verriegelung erfolgt ist, wird ein Ausgangssignal 23 aus bzw. "0", auch wenn beide Kontakte 54 und 56 beispielsweise ein bzw. "1" sind. In diesem Fall wird zur Überwachung des OUT(23)-Befehls und zur Überprüfung des Grundes, warum das Ausgangssignal 23 aus bzw. "O" ist, ein Dekrement auf die Adresse als den Gegenstand der Überwachung gegeben, und die Überwachung wird in Bezug auf den AND(56)-Befehl der Adresse 147 durchgeführt. Wenn die Logik des Leistungsflußregisters bei Ausführung von AND(56) 1 ist, stellt sich dabei dann heraus, daß der logische Widerspruch zwischen dem AND.(56)-Befehl und dem OUT(23)-Befehl auf den Verriegelungsbefehl zurückgeht. Der Grund für das Auftreten der Ausgabesperre durch die Verriegelung läßt sich durch diese Überwachung jedoch in keiner Weise feststellen. Er wird also nach der erwähnten Aufspürmethode die Programmadresse sequentiell dekrementiert, der IL-Befehl der Adresse 101 herausgefunden, zusätzlich wird die Adresse als Gegenstand der Überwachung dekrementiert und der LD(51)-Befehl der Adresse 100 überwacht, wonach die Ursache das erste Mal herausgefunden werden kann. Ferner kann, wo nur ein einziger Verrieselunasbefehl im Benutzerprogramm verwendet wird, die Überwachung des Verriegelungsbefehls mit der erwähnten Befehlszuordnungsmethode durchgeführt werden. Diese Methode läßt sich jedoch nicht anwenden, wo mehrere Verriegelungsbefehle im Benutzerprogramm verwendet werden, so daß es zum Herausfinden der Ursache, warum der OUT-Befehl im Programm A zwischen den Verriegelungsbefehlen "O" ist, und daher zur Überwachung der relevanten Verriegelungsbefehle üblicherweise notwendig war,die Überwachungsadressen eine nach der anderen mittels der sehr mühsamen erwähnten Aufspürmethode zurückzuverfolgen.If the dispensing block has been activated by the interlock, a Output signal 23 off or "0", even if both contacts 54 and 56, for example are on or "1". In this case, the OUT (23) command is monitored and the Checking the reason why the output signal 23 is off or "O", a decrement on the address given as the subject of surveillance, and surveillance is performed with respect to the AND (56) instruction of address 147. If the logic of the power flow register is 1 when AND (56) is executed, this then arises found out that the logical contradiction between the AND. (56) instruction and the OUT (23) instruction goes back to the interlock command. The reason why the output lock occurred however, the interlock does not allow this monitoring in any way determine. So it becomes the program address according to the tracking method mentioned sequentially decremented, the IL instruction of address 101 found out, in addition the address is decremented as the object of monitoring and the LD (51) command the address 100 is monitored, after which the cause can be found out for the first time can. Furthermore, where only a single leakage command is used in the user program the monitoring of the interlocking command with the mentioned command assignment method be performed. However, this method cannot be used where there are several interlocking commands used in the user agent so that it can figure out the cause why the OUT command in program A is "O" between the interlock commands, and therefore to monitor the relevant locking commands was usually necessary, the Monitoring addresses one after the other by means of the very laborious tracking method mentioned retrace.

Bekanntlich sind die meisten der jüngeren, mittleren und größeren programmierbaren Steuereinrichtungen mit graphischen Programmkonsolen auf der Basis von Kathodenstrahl- röhren-Bildschirmeinheiten versehen. Diese Art von Programmkonsole ist mit der Funktion der Wiedergabe des Folgeschaltungsdiagramms eines bestimmten Leiterdiagrammtyps, wie es in Ficl. 1A aezeigt ist, auf dem Bildschirm durch BetAtigung der Tasten einer Zehnertastaturvorrichtunq zur Eingabe der Schaltungselementnummern und von Symboltasten, die den verschiedenen Schaltungssymbolen, zu denen Schaltkreiselemente wie Kontakte und Relais sowie deren Verknüpfunqsrelationen qehören, entsprechen, versehen. Ferner ist sie mit einer Assembliereinrichtung versehen, welche das auf der Anzeigeeinheit als Quellenprogramm produzierte Leiterdiagramm in ein Objektprogramm, wie es in Fig. 1B gezeigt ist, umwandelt und es in den Benutzerprogrammspeicher der Haupteinheit der programmierbaren Steuereinrichtung schreibt, und ebenso mit einer Überwachungsanzeigefunktion zur Wiedergabe des im Benutzerprogrammspeicher in Objektsprache gespeicherten Benutzerprogramms auf dem Bildschirm nach Rückassemblierung des Benutzerprogramms in Form eines Leiterdiagramms als Quellenprogramm und auch zusätzlich zur Wiedergabe des letzten logischen Zustands (Steuerzustand infolge der Programmausführung) der #~in/Ausgabe-Nummer, die durch die einzelnen zur Überwachung angezeigten Benutzerbefehle zu verarbeiten ist, auf dem Leiterdiagramm durch Veränderung der Helligkeit oder durch andere Mittel. Da sowohl der Inhalt des Benutzerprogramms als auch der Fortschritt des tatsächlichen Steuerzustands als Ergebnis der Ausführung des Benutzerprogramms gemeinsam nach dieser graphischen Uberwachungsanzeige-Methode erfaßt werden können, ist diese Methode für die Überwachung extrem wirkungsvoll. As is known, most of them are younger, middle and taller programmable control devices with graphic program consoles on the basis of cathode ray tube screen units provided. These Kind of program console is with the function of reproducing the sequence circuit diagram of a particular type of ladder diagram, as shown in Fig. 1A is shown on the screen by actuating the keys of a ten-key device to enter the circuit element numbers and of symbol keys that represent the various circuit symbols to which circuit elements how contacts and relays as well as their linkage relations belong, correspond, Mistake. Furthermore, it is provided with an assembly device, which on the ladder diagram produced by the display unit as a source program in an object program, as shown in Fig. 1B and converts it to user program memory the main unit of the programmable controller writes, and also writes with a monitor display function for displaying the data in the user program memory User program stored in object language on the screen after reassembly of the user program in the form of a ladder diagram as source code and also in addition to the reproduction of the last logical state (control state as a result of the program execution) the # ~ in / output number used by the individual for monitoring User commands displayed to be processed is to be processed on the ladder diagram by changing the brightness or by other means. Since both the content of the user agent as well as the progress of the actual control state as a result of the execution of the user program together according to this graphical monitoring display method can be detected, this method is extremely effective for monitoring.

Durch Einschränkunaen wie etwa durch die beschränkte Anzeiqefläche des Bildschirms ist es nicht möglich, qleichzeitict das gesamte Benutzerprogranmi während der Überwachungsanzeige in Form eines Leiterdiagramms auf dem Bildschirm wiederzugeben. Due to restrictions such as the limited display area of the screen, it is not possible to run the entire user program at the same time during monitoring display in the form of a ladder diagram on the screen to reproduce.

Deshalb wird gemäß dem Aufbau der programmierbaren Steuer- einrichtung während der Überwachung ein zu überwachender Benutzerbefehl oder die Programmadresse, in welcher der Benutzerbefehl gespeichert ist, eingegeben, so daß der zugeordnete Benutzerbefehl und die vorgegebene Anzahl von Benutzerbefehlen in Adressen vor oder nach dem zugeordneten Benutzerbefehl in die Form eines Leiterdiagramms rückumgewandelt und wiedergegeben werden (Teil des Gesamtprogramms), wonach mit dieser Wiedergabe der logische Zustand der einzelnen Ein/Ausgabe-Daten und anderer zusätzlich in Form einer Helligkeitsvariation oder dergleichen wiedergegeben werden.Therefore, according to the structure of the programmable control Facility a user command to be monitored or the program address during monitoring, in which the user command is stored, entered so that the associated User command and the specified number of user commands in addresses before or converted back into the form of a ladder diagram according to the assigned user command and are played back (part of the overall program), after which this playback the logical status of the individual input / output data and other additional data a brightness variation or the like can be reproduced.

Auch bei dieser Leiterdiagrammüberwachung ergibt sich jedoch das gleiche Problem wie das oben beschriebene bei der Überwachung des OUT-Befehls oder des Ausgangsbefehls, wenn der Benutzerbefehltzwischen den Verriegelungsbefehlen in Programm A, wie es in den Fign. 1A und 1B gezeigt ist, überwacht wird. Wenn beispielsweise ein (im Programm A enthaltener) Benutzerbefehl, der erheblich weg vom IL-Befehl in Adresse 101 liegt, als Gegenstand der Überwachung zugeordnet wird, kann die Schaltung der Verrieqelunqsbefehle 100 und 101 nicht in dem auf dem Bildschirm wiedergegebenen Leiterdiagramm angezeigt werden. In einem solchen Wiedergabezustand kann dann, wenn ferner die Ausgabesperre durch die Verriegelung auf das Programm A angewandt worden ist, ein einen logischen Widerspruch enthaltendes Leiterdiagramm gelegentlich wiedergegeben werden, in welchem beispielsweise der Ausgang 23 aus bzw. "O" wird, während beide Kontakte 54 und 56 an bzw. "1" sind. However, this also applies to this ladder diagram monitoring same problem as described above when monitoring the OUT command or of the output command if the user command is between the interlocking commands in program A, as shown in FIGS. 1A and 1B is monitored. For example, if a user command (included in program A) that moves significantly away from the IL command is in address 101, is assigned as the subject of monitoring, the circuit can the locking commands 100 and 101 are not in that displayed on the screen Ladder diagram are displayed. In such a playback state, if Furthermore, the output lock has been applied to program A by the interlock is, a ladder diagram containing a logical contradiction is occasionally reproduced in which, for example, the output 23 is off or "O", while both Contacts 54 and 56 are at and "1" respectively.

Die Ursache für diese Art von Uberwachungsanzeige mit widersprüchlicher Logik läßt sich nicht aus der Anzeige allein beurteilen, sie wird vielmehr in manchen Fällen sogar als Störung mißverstanden und verwirrt damit den Bediener. Selbst wenn sich ein Bediener bewußt wird, daß der logische Widerspruch in der Anzeige auf den Verriegelungsbefehl zurückgeht, ist er nicht in der Lage, die gesamte Ursache für das Auftreten der Ausgabesperre durch die Verriegelung aus der Anzeige allein herauszufinden. Um diese Gesamtursache herauszufinden, wird die zu überwachende Programmadresse sequentiell dekrementiert, wird die Operation so durchgeführt, daß die Schaltungen, die weiter oberhalb des Leiterdiagramms liegen, als Benutzerprogramm auf dem Bildschirm wiedergegeben werden, wird die Wiedergabe einer einen Verriegelungsbefehl enthaltenden Schaltung auf dem Bildschirm gesucht, und erst dann läßt sich der Ausführungszustand des Verriegelungsbefehls das erste Mal feststellen. The cause of this type of monitoring display with contradicting Logic cannot be judged from the display alone; rather, it becomes in some Cases even misunderstood as an error, thus confusing the server. Even if an operator becomes aware that the logical contradiction in the display is directed to the Locking command goes back, he is unable to complete the whole root cause for the occurrence of the output lock by locking from the display alone to find out. To find out this overall cause, the one to be monitored is used Program address is sequentially decremented, the operation is performed so that the circuits further above the ladder diagram as a user program are played back on the screen, the playback of a becomes a lock command containing circuit is searched for on the screen, and only then can the execution status of the locking command for the first time.

Diese Überwachungsmethode, bei der das auf dem Bildschirm wiedergegebene Leiterdiagramm durch sequentielles Inkrementieren oder Dekrementieren der zu überwachenden Adressen hinauf-und hinuntergeschoben wird, wird Auf spürmethode genannt, wobei eine auf dieser Aufspürmethode beruhende Überwachung sehr mühsam wird, wenn das Benutzerprogramm umfangreicher wird. Insbesondere wenn die Anzahl der Schaltungen des Leiterdiagramms, die auf einem Bildschirm wiedergegeben werden können, gering ist, wird der Uberwachungsvorgang mit dem Herausfinden der erforderlichen Schaltungen mittels der Aufspürmethode äußerst mühsam.This monitoring method in which what is displayed on the screen Ladder diagram by sequentially incrementing or decrementing those to be monitored Moving addresses up and down is called the tracking method, where surveillance based on this detection method becomes very troublesome if that User program becomes more extensive. Especially when the number of circuits of the ladder diagram that can be displayed on a screen are low the monitoring process starts with figuring out the necessary circuits extremely troublesome by means of the detection method.

Die Erfindung erfolgte vor dem Hintergrund der oben beschriebenen herkömmlichen Probleme, wobei Hauptziel der Erfindung die Schaffung einer leicht benutzbaren programmierbaren Steuereinrichtung ist, welche die Überwachung in einfacher Weise während der Ausführung eines mehrere Verriegelungsbefehle enthaltenden Benutzerprogramms gestattet. The invention has been made in the light of those described above conventional problems, the main aim of the invention being to provide an easily usable programmable control device, which makes monitoring easier Manner during the execution of a user program containing several locking commands allowed.

Ein spezielleres Ziel der Erfindung ist die Schaffung einer programmierbaren Steuereinrichtung, welche in der Lage ist, die nützliche Uberwachungswiedergabe mit zugeordneten individuellen Identifikationsnummern durch Vorabhinzufügung der individuellen Identifikationsnummern zu den einzelnen Verriegelungsbefehlen in ihrem Benutzerprogramm und durch Speicherung der Verriegelungsbefehle in dem Benutzerprogramm durchzuführen. A more specific object of the invention is to provide a programmable one Control device which is capable of the useful monitoring playback with assigned individual identification numbers by adding the individual identification numbers for the individual locking commands in their User program and by storing the locking commands in the user program perform.

Ein weiteres Ziel der Erfindung ist die Schaffung einer programmierbaren Steuereinrichtung, welche in der Lage ist, die Überwachungswiedergabe auch der Identifikationsnummer eines bestimmten Verriegelungsbefehls durchzuführen, wenn ein zwischen dem Verriegelungsbefehl und einem Verriegelungsendbefehl liegendes Benutzerprogramm Gegenstand der Überwachung geworden ist und der Ausgabesperrzustand durch wenigstens diesen Verriegelungsbefehl während der Ausführung eines Benutzerprogramms aufgetreten ist. Another object of the invention is to provide a programmable Control device, which is able to monitor playback also the identification number to perform a specific interlock command if there is a between the interlock command and an end-of-lock instruction user program subject to monitoring has become and the output inhibited state by at least this interlock command occurred during the execution of a user program.

Ein weiteres Ziel der Erfindung ist die Schaffung einer programmierbaren Steuereinrichtung, welche in der Lage ist, die Überwachungswiedergabe auch der Identifikationsnummer eines bestimmten Verriegelungsbefehls durchzuführen, wenn eine Ein/Ausgabe-Nummer als Gegenstand der Überwachung vorgegeben worden ist, diese Ein/Ausgabe-Nummer verwendende Ausgabebefehle unter den sequentiell aus dem Speicher während der Ausführung des Benutzerprogramms ausgelesenen Benutzerbefehlen wieder aufgefunden worden sind und die Ausgangsbefehle sich als zu dem Verriegelungsbefehl in Beziehung stehend erwiesen haben. Another object of the invention is to provide a programmable Control device, which is able to monitor playback also the identification number to perform a specific interlock command if an input / output number has been specified as the subject of the monitoring, using this input / output number Output commands among the sequential from memory during the execution of the User commands read out by the user program have been found again and the output commands were found to be related to the interlock command to have.

Ein weiteres Ziel der Erfindung ist die Schaffung einer programmierbaren Steuereinrichtung, welche in der Lage ist, auch die Identifikationsnummer eines zu einem gerade wiedergegebenen Leiterdiagramm gehörigen Verriegelungsbefehlsauf ihrem Bildschirm wiederzugeben, wenn die programmierbare Steuereinrichtung mit der Funktion der Durchführung der Uberwachungswiedergabe nach Umwandlung eines Teils eines Benutzerprogramms als Gegenstand der Überwachung in die Form eines Leiterdiagramms versehen ist. Another object of the invention is to provide a programmable Control device, which is able to also the identification number of a interlock command associated with a ladder diagram being reproduced to reproduce their screen when the programmable controller with the Function of performing surveillance playback after converting a part of a user program as the subject of supervision in the form of a ladder diagram is provided.

Im folgenden wird die Erfindung in Verbindung mit der beigefügten Zeichnung im einzelnen beschrieben. Auf dieser zeigt bzw. zeigen Fign. 1A ein Beispiel eines Verriegelungsbefehle enthal-und 1B tenden Benutzerprogramms bei herkömmlichen programmierbaren Steuereinrichtungen, Fig. 2 ein Blockschaltbild des groben Aufbaus der programmirbaren Steuereinrichtung gemäß der Erz in dung, Fig. 3 ein Beispiel für die Anordnung einer Anzeigeeinheit und einer Tastatur einer Programmkonsole 7, Fig. 4 ein Flußdiagramm, das die Grundztige eines Systemprogramms wiedergibt, welches das Arbeiten der in Fig. 2 gezeigten CPU 4 vorgibt, Fig. 5 ein Flußdiagramm, welches die Grundzüge des Arbeitens der Programmkonsole 7 wiedergibt, und Fign. 6A jeweils schematische Darstellungen eines Beispiels der und6C derUberwachungswiedergabe, wie sie bei der Anwendung der Erfindung erfolgt. In the following the invention in connection with the appended Drawing described in detail. On this shows or show FIGS. 1A an example a user program containing locking commands and 1B in conventional programmable control devices, FIG. 2 shows a block diagram of the rough structure the programmable control device according to the ore in manure, Fig. 3 is an example for the arrangement of a display unit and a keyboard of a program console 7, Fig. 4 is a flow chart showing the principles of a system program; which specifies the operation of the CPU 4 shown in Fig. 2, Fig. 5 is a flow chart, which reproduces the main features of the operation of the program console 7, and FIGS. 6A each schematic representations of an example of FIGS. 6 and 6C of the surveillance playback; as it takes place in the application of the invention.

Fig. 2 ist ein Blockschaltbild, das grob den Aufbau einer die Erfindung verkörpernden programmierbaren Steuereinrichtung zeigt. Diese programmierbare Steuereinrichtung umfaßt im wesentlichen einen Benutzerprogrammspeicher 1, der ein Benutzerprogramm speichert; eine Ein/Ausgabe-Schaltung 2, welche externe Eingangssignale annimmt und außerdem externe Ausgangssignale abgibt; einen Ein/Ausgabe-Speicher 3, der als Pufferspeicher für der Ein/Ausgabe-Schaltung 2 entsprechende Ein/Ausgabe-Daten wirkt; eine Befehisaus- führungseinrichtung, welche die einzelnen Befehle des Benutzerprogrammspeichers 1 mit hoher Geschwindigkeit sequentiell ausführt, die Verarbeitung entsprechend den Daten des Ein/Ausgabe-Speichers 3 durchführt und Ausgangsdaten des Ein/Ausgabe-Speichers 3 basierend auf den Verarbeitun#serqebnissen revidiert und wieder einschreibt; und eine Ein/Ausgabe-Aktualisierungseinrichtung, welche die Ausgangsdaten der Ein/Ausgabe-Schaltung 2 in einen vorgegebenen Bereich des Ein/Ausgabe-Speichers 3 schreibt und die Ausgangsdaten des vorgegebenen Bereichs des Ein/Ausgabe-Speichers 3 in der Ausgabeschaltung der Ein/Ausgabe-Schaltung 2 setzt. Die globale Zeitsteuerung für die Befehlsausführungseinrichtung, die Ein/Ausgabe-Aktualisierungseinrichtung und andere wird durch die CPU (Zentraleinheit) 4 verwirklicht, die aus einem sogenannten Mikroprozessor besteht. Die CPU 4 führt das in einem ROM (Lesespeicher) 5 gespeicherte Systemprogramm aus, benutzt einen RAM (Direktzugriffspeicher) 6 als System-Arbeitsspeicher und führt den Steuervorgang in Verbindung mit der Befehlsausführungseinrichtung und der Ein/Ausgabe-Aktualisierungseinrichtung, die Zeitsteuerung für das System als Ganzes und die Erzeugung von Programm bezogen auf eine Programmkonsole 7 bzw. den Steuervorgang für die Überwachung als den wesentlichen Punkt der Erfindung durch. Fig. 2 is a block diagram showing the outline of the structure of the present invention embodying programmable controller shows. This programmable controller essentially comprises a user program memory 1, which is a user program stores; an input / output circuit 2 which accepts external input signals and also emits external output signals; an input / output memory 3, which as Buffer memory for the input / output circuit 2 corresponding input / output data acts; an authority guidance device, which the individual commands of the user program memory 1 sequentially at high speed, performs the processing in accordance with the data of the input / output memory 3, and Output data of the input / output memory 3 based on the processing results revises and re-inscribes; and an input / output update device, which the output data of the input / output circuit 2 in a predetermined range of the input / output memory 3 and the output data of the predetermined area of the input / output memory 3 in the output circuit of the input / output circuit 2 puts. The global timing for the command executor, the I / O update facility and others are realized by the CPU (Central Processing Unit) 4 composed of a so-called Microprocessor. The CPU 4 maintains that stored in a ROM (read-only memory) 5 System program off, uses a RAM (random access memory) 6 as system main memory and carries out the control process in connection with the instruction execution device and the I / O updater, the timing for the system as a whole and the generation of programs related to a program console 7 or the control process for the monitoring as the essential point of the invention.

Die Programmkonsole 7 umfaßt eine Anzeigeeinheit 7A, eine Tastatur 7B und eine diese beiden mit der CPU 4 verbindende Steuerschaltung 7C, wird verwendet, wenn ein bestimmtes Benutzerprogramm in den Programmspeicher 1 geschrieben wird, und gibt den Uberwachungsbefehl während der Ausführung des Programms, mit welchem die von der CPU 4 gelieferten Uberwachungsdaten auf den Überwachungsbefehl hin angezeigt werden. The program console 7 comprises a display unit 7A, a keyboard 7B and a control circuit 7C connecting these two to the CPU 4 is used, when a specific user program is written into program memory 1, and issues the monitoring command during the execution of the program with which the monitoring data supplied by the CPU 4 are displayed in response to the monitoring command will.

Fig. 3 ist eine Außenansicht der Tastatur 7B und der Anzeigeeinheit 7A der Programmkonsole 7. Wie in dieser Figur gezeigt, umfaßt die Anzeigeeinheit 7A eine Punktmatrix-Zeichenanzeigeeinheit mit einer oberen und einer unteren Anzeigezeile. Die Tastatur umfaßt ein Zehnertaätenfeld zur Eingabe der Programmadressen und Ein/Ausgabenummern, Befehlscode-Tasten, die den verschiedenen Arten von Befehlscodes einschließlich des IL-Befehls (Verriegelungsbefehl) und des ILE-Befehls (Verriegelungsendbefehl) entsprechen, und verschiedene Arten von Funktionstasten für Überwachung, Wiederaufwindung, Aufspürung oder Schreiben umfaßt. Fig. 3 is an external view of the keyboard 7B and the display unit 7A of the program console 7. As shown in this figure, the display unit comprises 7A shows a dot matrix character display unit having an upper and a lower Display line. The keyboard includes a ten-key field for entering the program addresses and input / output numbers, Command code buttons showing the different types of command codes including the IL command (interlocking command) and the ILE command (interlocking end command) correspond, and various kinds of function keys for monitoring, rewinding, Tracking or writing included.

Fig. 4 ist ein Flußdiagramm, das die Grundzüge des durch die CPU 4 auszuführenden Systemprogramms wiedergibt. Fig. 4 is a flow chart showing the principles of the CPU 4 reproduces the system program to be executed.

Ebenso ist Fig. 5 ein Flußdiagramm, das das Arbeiten der in der Programmkonsole 7 vorhandenen Steuerschaltung 7C wiedergibt. Der durch die CPU 4 ausgeführte Steuervorgang wird nun Schritt für Schritt unter Bezugnahme auf Fig. 4 beschrieben. Der erste Schritt 501 nach der Anfangsverarbeitung ist das Bedingungsverarbeitungsprogramm, welches Signale mit der Programmkonsole 7 austauscht. Im nachfolgenden Schritt 502 wird die Eingabeaktualisierung durchgeführt, mit welcher die jüngsten auf die Ein/Ausgabe-Schaltung 2 gegebenen externen Eingangssignale in den vorgegebenen Bereich des Ein/Ausgabe-Speichers 3 genommen werden.Likewise, Fig. 5 is a flow diagram illustrating the operation of the program console 7 reproduces existing control circuit 7C. The control process performed by the CPU 4 will now be described step by step with reference to FIG. The first Step 501 after the initial processing is the condition processing routine, which exchanges signals with the program console 7. In the subsequent step 502 the input update is performed with which the most recent on the input / output circuit 2 given external input signals in the given area of the input / output memory 3 can be taken.

Der nächste Schritt 503 und weitere nachfolgende Schritte sind alles Ausführungsprogrammteile des Benutzerprogramms, wobei in Schritt 503 ein Befehl aus der ersten Adresse des Benutzerprogrammspeichers 1 ausgelesen wird. Wenn der ausgelesene Benutzerbefehl weder ein Verriegelungsbefehl noch ein Verriegelungsendbefehl ist, geht der Vorgang von Schritt 504 nach 505 und 506 weiter, und der Befehl wird in Schritt 506 ausgeführt. In diesem Fall sind ein Ein/ Ausgabe-Kennzeichen FO zur Speicherung der Logik des Ein/ Ausgabe-Signals, dessen Nummer der Gegenstand des Befehls, der gerade ausgeführt wird, ist, und ein Operationskennzeichen F1 als vorher erwähntes Leistungsflußregister im RAM 6 gesetzt worden, und wenn ein bestimmter Benutzerbefehl im Schritt 506 ausgeführt wird, werden diese Kennzeichen FO und F1 jeweils revidiert und wieder eingeschrieben.The next step 503 and subsequent steps are all Execution program parts of the user program, wherein in step 503 a command is read from the first address of the user program memory 1. If the The user command read out is neither a locking command nor a locking end command the process advances from step 504 to 505 and 506 and the command becomes executed in step 506. In this case, an input / output identifier FO is used Storage of the logic of the input / output signal, the number of which is the subject of the Command currently being executed and an operation flag F1 than before mentioned power flow register has been set in RAM 6, and if a certain User command is executed in step 506, these flags are FO and F1 each revised and re-registered.

Im nachfolgenden Schritt 507 wird geprüft, ob der Benutzerbefehl, der gerade ausgeführt wird, Gegenstand der Befehtsüberwachung ist oder nicht. Wie weiter oben beschrieben, kann die Zuordnung des Gegenstands der Befehlsüberwachung durch die Programmkonsole auf zwei Weisen geschehen: die Zuordnung der Programmadresse und die Zuordnung des Befehls selbst. Beide werden in Schritt 507 geprüft. Wenn die Zuordnung des Gegenstands der Überwachung erfolgt ist, geht der Ablauf nach Schritt 508 weiter und es wird der Vorgang der Übertragung des Kennzeichens FO, des Kennzeichens F1 und anderer später noch beschriebener Überwachungsdaten auf die Programmkonsole 7 durchgeführt.In the following step 507 it is checked whether the user command, which is currently being carried out, is or is not subject to surveillance. As As described above, the assignment of the object of command monitoring can be done done by the program console in two ways: the assignment of the program address and the assignment of the command itself. Both are checked in step 507. if the assignment of the subject of surveillance has been made, the sequence follows Step 508 continues and the process of transmitting the identifier FO, of the flag F1 and other monitoring data to be described later the program console 7 carried out.

Wenn im Schritt 507 der Benutzerbefehl nicht als der Gegenstand der Befehlsüberwachung befunden wird, geht der Vorgang nach Schritt 509 weiter und es wird geprüft, ob die von dem gerade in Ausführung befindlichen Benutzerbefehl benutzte Ein/Ausgabe-Nummer Gegenstand der Ein/Ausgabe-Überwachung geworden ist. Das heißt, es wird beurteilt, ob die im Operanden des Benutzerbefehles gespeicherte Ein/Ausgabe-Nummer mit der von der Programmkonsole 7 her als Gegenstand der Überwachung zugeordeten Ein/Ausgabe-Nummer zusammenfällt. Wenn beide Nummern zusammenfallen, geht der Vorgang nach Schritt 510 weiter, wo beurteilt wird, ob der Benutzerbefehl ein OUT-Befehl (Ausgabe-Befehl) oder nicht ist. If, in step 507, the user command is not considered the subject of Command monitoring is found, the process continues to step 509 and es a check is made as to whether the was used by the user command currently being executed I / O number has become the subject of I / O monitoring. This means, it is judged whether the input / output number stored in the operand of the user command with the assigned from the program console 7 as the subject of monitoring Input / output number coincides. If both numbers coincide, the process goes to step 510, where it is judged whether the user command is an OUT command (Output command) or not.

Wenn er der OUT-Befehl ist, geht die Operation nach Schritt 511 weiter und es wird der Vorgang der Übertragung der Überwachungsdaten, welche die auf den später beschriebenen Verriegelungsbefehl bezogenen Daten und auch die auf den logischen Zustand des Ausgangssignals der entsprechenden Ein/ Ausgabe-Nummer bezogenen Daten enthalten, auf die Programmkonsole 7 durchgeführt.If it is the OUT command, the operation continues to step 511 and it becomes the act of transmitting the monitoring data that the data related to the interlocking command described later and also the data relating to the logical State of the output signal of the data related to the corresponding input / output number included, carried out on the program console 7.

Mit Beendigung des Schrittes 508 geht die Operation nach Schritt 512 weiter, wenn in Schritt 509 ein NEIN festgestellt wird, ein NEIN in Schritt 510 festgestellt wird oder der Schritt 511 beendet ist. Im Schritt 512 wird beurteilt, ob der gerade in Ausführung befindliche Benutzerbefehl ein Endbefehl ist oder nicht, wobei, falls er nicht der Endbefehl ist, die Programmadresse im Schritt 513 um eins erhöht und nach dem früheren Schritt 503 zurückgekehrt wird. Upon completion of step 508, the operation proceeds to step 512, if NO in step 509, then NO in step 509 510 is determined or step 511 is ended. In step 512, it is judged if the user command currently being executed is an end command or not, where, if it is not the end instruction, the program address in step 513 by one is increased and returned to the earlier step 503.

Das heißt, die Schritte 503 bis 513 werden wiederholt ausgeführt, bis der im letzten Teil des Benutzerprogramms eingesetzte Endbefehl im Schritt 512 festgestellt wird, und die Operation schreitet nach Schritt 514 vor, wenn die Ausführung bis zum Endbefehl beendet ist. Im Schritt 514 wird der Ausgangsaktualisierungsvorgang durchgeführt, in welcher die durch die Durchführung des Benutzerprogramms revidierten und wieder eingeschriebenen Ausgangsdaten des Ein/Ausgabe-Speichers 3 in der Ausgangs schaltung der Ein/Ausgabe-Schaltung 2 gesetzt werden.That is, steps 503 to 513 are repeatedly carried out, until the end command used in the last part of the user program in step 512 is determined, and the operation proceeds to step 514 when execution until the end command is finished. In step 514, the output update process carried out in which the revised by the execution of the user program and rewritten output data of the input / output memory 3 in the output circuit of the input / output circuit 2 can be set.

Im nachfolgenden Schritt 515 wird beurteilt, ob eine Anforderung für die Ein/Ausgabe-Überwachung von der Programmkonsole 7 her vorliegt, wobei, wenn dies nicht der Fall ist, die Schritte 516 und 517 übersprungen werden und die Operation nach dem ersten Schritt 501 zurückgekehrt. In the subsequent step 515, it is judged whether there is a request for the input / output monitoring from the program console 7, where, if if this is not the case, steps 516 and 517 are skipped and the operation returned after the first step 501.

Bei der die Erfindung verkörpernden programmierbaren Steuereinrichtung wird die individuelle Identifikationsnummer zu dem im Benutzerprogrammspeicher 1 gespeicherten Verriegelungsbefehl hinzu gefügt. Das heißt, es wurde, wie in Fig. 1B gezeigt, bei der herkömmlichen programmierbaren Steuereinrichtung ein an einen Verriegelungsbefehl angehefteter Operand nicht verwendet und die Daten des Operanden wurden alle gelöscht. Bei der Erfindung ist jedoch eine individuelle IL-Nummer für den Operanden des Verriegelungsbefehls errichtet bzw. vorgesehen. In the programmable controller embodying the invention the individual identification number becomes that in user program memory 1 saved locking command added. That is, as shown in Fig. 1B, in the conventional programmable controller, a to a Interlock command, attached operand not used and the data of the operand have all been deleted. In the invention, however, there is an individual IL number for the operand of the interlock command is established or provided.

Nach Fig. 4 wird, wenn der aus dem Benutzerprogrammspeicher 1 ausgelesene Benutzerbefehl im Schritt 503 als Verriegelungsbefehl befunden wird, ein JA im Schritt 504 beurteilt und die Operation geht nach Schritt 518 weiter. According to FIG. 4, when the read out from the user program memory 1 User command in step 503 is found to be a locking command, a YES in step 504 is judged, and the operation proceeds to step 518.

Im Schritt 518 wird beurteilt, ob das Operationskennzeichen F1 gesetzt ist oder nicht. Dabei bildet das Operations- kennzeichen F1 die Daten, die die Erfüllung oder Nichterfüllung des Zustandes des entsprechenden Verriegelungsbefehls anzeigen. Wenn F1="1" auftritt, bedeutet dies, daß der OUT-Befehl zwischen den Verriegelungsbefehlen im Programm auf übliche Weise auszuführen ist, und in diesem Fall geht die Operation vom Schritt 518 nach dem davorliegenden Schritt 507 weiter. Ferner bedeutet F1="0" den Ausgabesperrzustand, in welchem die zwischen den Verriegelungsbefehlen im Programm angeordneten OUT-Befehle alle auf "O" zu setzen sind. In diesem Fall geht die Operation nach Schritt 519 weiter, das im RAM 6 vorgesetzte Verriegelungskennzeichen F2 wird gesetzt, wonach die im Operanden des entsprechenden Verriegelungsbefehls vorgesetzte IL-Nummer in das IL-Nummernregister RO, das auch im RAM vorgesetzt ist, geschrieben wird. Dann geht die Operation nach Schritt 507 weiter.In step 518, it is judged whether the operation flag F1 is set is or not. The operational mark F1 the Data indicating the fulfillment or non-fulfillment of the state of the corresponding interlocking command Show. When F1 = "1" occurs, it means that the OUT command is between the interlock commands in the program is to be performed in the usual way, and in this case the operation goes from step 518 to the preceding step 507. Furthermore, F1 = "0" the output lock state, in which the between the lock commands in the program arranged OUT commands must all be set to "O". In this case the operation goes after step 519, the locking identifier placed in front of the RAM 6 becomes F2 set, after which the preceding one in the operand of the corresponding interlock command IL number written in the IL number register RO, which is also in front of the RAM will. Then the operation continues to step 507.

Wenn der im Schritt 503 ausgelesene Benutzerbefehl ein Verriegelungsendbefehl ist, dann wird ein JA im Schritt 505 beurteilt, die Operation geht nach Schritt 520 weiter, das Verriegelungskennzeichen F2 wird rückgesetzt und das IL-Nummernregister RO geklärt. Die Operation geht dann nach Schritt 507 weiter. Wenn, wie oben beschrieben, ein bestimmter Verriegelungsbefehl im Benutzerprogramm ausgeführt wird, wird das Verriegelungskennzeichen F2 gesetzt, wenn der Ausgabesperrzustand durch den Verriegelungsbefehl aufgetreten ist, und dann wird die IL-Nummer des Verriegelungsbefehls im Register R gespeichert. Wenn der Verriegelungsendbefehl, der zusammen mit dem VeIriegelungsbefehl ein Paar bildet, ausgeführt ist, wird das Kennzeichen F2 rückgesetzt und das Register RO geräumt. If the user command read out in step 503 is a lock end command is then judged YES in step 505, the operation goes to step 520 further, the interlocking identifier F2 is reset and the IL number register RO clarified. Operation then continues to step 507. If, as described above, a certain interlock command is executed in the user program, the Lock flag F2 set if the output lock status is due to the lock command has occurred, and then the IL number of the interlock command is in the register R saved. If the interlocking end command, together with the interlocking command forms a pair is executed, the flag F2 is reset and the register RO vacated.

Im folgenden wird nun der Programmteil des Schrittes 508 für die Übertragung der Überwachungsdaten im einzelnen beschrieben. Im Falle des Befehlsüberwachungsbefehls der weiter oben erwähnten Adressenzuordnunqsmethode oder Aufspürunqsmethode wird eine Adresse als Geben stand der Überwachung zugeordnet. In diesem Fall werden der Benutzerbefehl in der zugeordneten Adresse, das Ein/Ausgabe-Kennzeichen FO, das Operationskennzeichen F1, das Verriegelungskennzeichen F2 und der Inhalt des IL-Nummernregisters RO als Überwachungsdaten auf die Programmkonsole 7 übertragen Auch wo der Überwachungsbefehl in Form der Befehlszuordnungsmethode vorliegt, werden die Adresse des Benutzerbefehis als Gegenstand der Überwachung nach der Methode, FO, F1, F2 und WO als Monitordaten auf die Programmkonsole 7 übertragen. Das heißt, wenn der zwischen dem Verriegelungsbefehl und dem Verriegelungsendbefehl angeordnete Benutzerbefehl als Gegenstand der Überwachung zugeordnet ist, werden die Daten von F2="1" und die IL-Nummer des Registers RO auf die Programmkonsole 7 übertragen, wenn der Ausgabesperrzustand durch den Verriegelungsbefehl aufgetreten ist. The program part of step 508 for the Transmission of the monitoring data is described in detail. In the case of the command supervision command the address allocation method or tracking method mentioned above an address as a give was assigned to monitoring. In this In this case, the user command in the assigned address will be the input / output identifier FO, the operation identifier F1, the interlocking identifier F2 and the content of the IL number register RO is transferred to the program console 7 as monitoring data Also where the monitoring command is available in the form of the command assignment method the address of the user command as the subject of surveillance according to the method, FO, F1, F2 and WO are transferred to the program console 7 as monitor data. This means, if the one placed between the locking command and the locking end command User command is assigned as the subject of monitoring, the data are from F2 = "1" and the IL number of the register RO transferred to the program console 7, when the output lock condition has occurred by the lock command.

Im folgenden wird nun der Programmteil der Übertragung von Überwachungsdaten im Schritt 511 erläutert. Dieser Schritt 511 wird ausgeführt, wenn der im Schritt 503 ausgelesene Benutzerbefehl ein OUT-Befehl ist und außerdem die -Ein/Ausgabe-Nummer, die durch den OUT-Befehl verwendet wird, als Gegenstand der Ein/Ausgabe7Überwachung zugeordnet worden ist. In diesem Fall wird die Logik des Ausgangssignals dieser Nummer zu den Uberwachungsdaten und gleichzeitig werden das Verriegelungskennzeichen F2 und der Inhalt des IL-Nummernregisters RO als Überwachungsdaten auf die Programmkonsole 7 übertragen. Daher werden, wo das Ausgangssignal der relevanten Nummer durch den zwischen dem Verriegelungsbefehl und dem Verriegelungsendbefehl angeordneten Ausgangsbefehl verwendet wird und außerdem die Ausgabesperrbedingung durch den Verriegelungsbefehl aufgetreten ist, die Daten von F2="1" und die IL-Nummer des Registers RO auf die Programmkonsole 7 übertragen. The following now describes the program part of the transmission of monitoring data explained in step 511. This step 511 is carried out if the in step 503 read out user command is an OUT command and also the input / output number, which is used by the OUT command as the object of the input / output monitoring has been assigned. In this case the logic of the output signal becomes this The number for the monitoring data and, at the same time, the interlocking identifier F2 and the content of the IL number register RO as monitoring data on the program console 7 transferred. Therefore, where the output of the relevant number will be through the output command arranged between the interlocking command and the interlocking end command is used and also the output lock condition by the lock command has occurred, the data of F2 = "1" and the IL number of the register RO to the Transfer program console 7.

Im folgenden werden nun die Schritte 516 und 517 deren Beschreibung oben weggelassen wurde, im einzelnen er- läutert. Die Vorgänge in diesen Schritten werden wirksam, wenn die durch die Ein/Ausgabe-Überwachungszuordnung zugeordnete Ein/Ausgabe-Nummer für einen anderen als den OUT-Befehl verwendet wird. Das heißt, das Benutzerprogramm wird einmal voll durchgeführt, die Ausgangsaktualisierung ausgeführt, im Schritt 515 beurteilt,ob die Anforderung der Ein/ Ausgabe-Uberwachung erfolgt ist oder nicht, die Operation schreitet nach Schritt 516 fort, wenn eine solche Anforderung erfolgt ist, und schließlich wird beurteilt, ob der Vorgang für die Anforderung beendet ist oder nicht. Diese Beurteilung erfolgt zur Bestimmung, ob der Schritt 511 auf die Anforderung der Ein/Ausgabe-Überwachung hin ausgeführt worden ist. Wenn der Schritt 511 bereits ausgeführt worden ist, bedeutet dies, daß der Vorgang auf die Anforderung der Ein/Ausgabe-Überwachung hin beendet ist, so daß also der Schritt 517 übersprungen wird und die Operation nach Schritt 501 zurückkehrt. Wenn der Vorgang für die Ein/Ausgabe-überwachung nicht beendet ist, geht die Operation nach Schritt 517 weiter, der Zustand des Ein/Ausgabe-Signals der zugeordneten Ein/Ausgabe-Nummer wird aus dem Ein/Ausgabe-Speicher 3 ausgelesen, und die Daten dieses Ein/Ausgabe-Signals und des Verriegelungskennzeichens F2="0" (dies zeigt das Fehlen einer Beziehung zum Verriegelungskennzeichen an) werden als Uberwachungsdaten auf die Programmkonsole 7 übertragen. Steps 516 and 517 will now be described below was omitted above, in detail purifies. The operations in these steps take effect when set by the I / O monitor mapping assigned input / output number is used for a command other than the OUT command. That is, the user program is fully executed once, the output update executed, it is judged in step 515 whether the request of the input / output monitoring is done or not, the operation proceeds to step 516 if any such a request has been made, and finally it is judged whether the operation is for the request is finished or not. This assessment is made to determine whether step 511 is carried out in response to the input / output monitoring request has been. If step 511 has already been carried out, it means that the process is ended on the request of the input / output monitoring, so that is, step 517 is skipped and the operation returns to step 501. If the I / O monitoring operation is not finished, the operation goes continues after step 517, the state of the input / output signal of the associated input / output number is read out from the input / output memory 3, and the data of this input / output signal and the lock flag F2 = "0" (this shows the lack of a relationship to the lock indicator) are sent as monitoring data on the program console 7 transferred.

Im folgenden wird nun mit Bezugnahme auf das Flußdiagramm der Fig. 5 die Operation auf der Seite der Programmkonsole 7 erläutert. Wenn die Adresse des zu überwachenden Benutzerbefehls oder der Befehl selbst über die Tastatur 7B eingegeben wird und ein Aufspür- oder Wiedergewinnungsbefehl gegeben wird, dann wird diese Tasteneingabe sequentiell in den Schritte 601, 602 und 603 empfangen und die Adresse als Gegenstand der Überwachung oder der Befehl durch die Verarbeitungsoperation des Schritts 604 an die CPU 4 gesandt. An der CPU 4 werden diese von der Programmkonsole 7 kommenden Überwachungsanforderungsdaten empfangen und während der Bedienungsverarbeitung im Schritt 501 registriert. In the following, with reference to the flow chart of FIG. 5 explains the operation on the program console 7 side. If the address of the user command to be monitored or the command itself via the keyboard 7B is entered and a trace or retrieve command is given, then this key input is received sequentially in steps 601, 602 and 603 and the address as the subject of supervision or the command by the processing operation of step 604 is sent to the CPU 4. On the CPU 4 these are from the program console 7th incoming monitoring request data received and during of the operation processing in step 501.

Wenn die Schritte 507 bis 508 durch die CPU 4 ausgeführt werden, werden die Überwachungsdaten auf die Programmkonsole 7 übertragen.When steps 507 to 508 are executed by the CPU 4, transfer the monitoring data to the program console 7.

Auf der Seite der Programmkonsole 7 wird die Antwort von der Seite der CPU 4 im Schritt 605 abgewartet, und wenn eine Antwort vorliegt, werden die von der CPU 4 übertragenen Überwachungsdaten im Schritt 606 empfangen. Im nachfolgenden Schritt 607 wird beurteilt, ob das Verriegelungskennzeichen F2 "1" ist oder nicht, das heißt, ob der Ausgabesperrzustand aufgetreten ist oder nicht. Wenn F2=c1011, geht die Operation nach Schritt 608 weiter und es werden die Programmadresse als Gegenstand der Überwachung, Befehl, und Inhalt der Kennzeichen F0 und F1 auf der Anzeigeeinheit 7A wiedergegeben. Falls F2="1", geht die Operation nach Schritt 609 weiter und dann werden die Adresse als Gegenstand der Uberwachung, Befehl, Inhalt der Kennzeichen FO und F1 zusätzlich zur im Register R0 gespeicherten IL-Nummer auf die Anzeigeeinheit 7A angezeigt. Wenn ein Benutzer bis zum Schritt 609 auf die Anzeige schaut, kann er erfahren, daß der gerade überwachte Benutzerbefehl der zwischen den Verriegelungsbefehlen angeordnete Befehl ist, daß die Ausgabesperrung durch die Verriegelungsbefehle gerade erfolgt und was die Nummern der Verriegelungsbefehle sein werden. On the side of the program console 7 is the answer from the side of the CPU 4 waited in step 605, and if there is an answer, the received monitoring data transmitted from the CPU 4 in step 606. In the following In step 607, it is judged whether or not the lock flag F2 is "1", that is, whether or not the output inhibit condition has occurred. If F2 = c1011, the operation continues to step 608 and the program address as Subject of the monitoring, command, and content of the flags F0 and F1 on the Display unit 7A reproduced. If F2 = "1", the operation goes to step 609 further and then the address as the subject of monitoring, command, content the identifiers FO and F1 in addition to the IL number stored in register R0 displayed on the display unit 7A. If a user clicked the Message, he can learn that the user command just monitored is the one between The command arranged in the interlocking commands is that the output is interlocked the locking commands just done and what the numbers of the locking commands will be.

Fig. 6A zeigt ein Beispiel einer Überwachungsanzeige, wie sie durch die oben angegebene Operation erfolgt. Dieses Beispiel entspricht dem in Beispiel der Fig. 1 angegebenen Benutzerprogramm und ist speziell für den OUT(23)-Befehl in Adresse 148 gemacht. In dieser Überwachungsanzeige wird ausgedrückt, daß das Ausgangssignal der durch den OUT(23)-Befehl benutzten Nummer 23 AUS ist und daß der OUT (23)-Befehl zwischen dem Verriegelungsbefehl und dem Verriegelungsendbefehl, deren Identifikationsnummer 6 ist, angeordnet ist, und daß auch die Ausgabesperre durch den Verriegelungsbefehl erfolgt ist. Figure 6A shows an example of a monitor display as shown by the above operation occurs. This example corresponds to the example of Fig. 1 and is specific to the OUT (23) command made in address 148. This monitoring display expresses that the Output of number 23 used by the OUT (23) instruction is OFF and that the OUT (23) command between the interlock command and the interlock end command, whose identification number is 6, is arranged, and that too the output block has been effected by the interlock command.

Wenn die zu überwachende Ein/Ausgabe-Nummer über die Tastatur 7B eingegeben und ein Ein/Ausgabe-Überwachungsbefehl erteilt wird, dann wird die Tasteneingabe durch die Schritte von 610 bis 602, 603 und bis 610 empfangen und dann die Ein/Ausgabe-Nummer als Gegenstand der Überwachung durch die Verarbeitungsoperation in Schritt 611 an die CPU 4 gesandt. An der CPU 4 werden von der Proqrammkonsole 7 her die ttberwachungsanforderungsdaten empfanden und durch die Bedienungsverarbeitung in Schritt 501 registriert. Wenn dann die Schritte von 509 bis 510 und bis 511 in der CPU 4 ausgeführt werden oder die Schritte 515 bis 516 und bis 517 ausgeführt werden, werden die Überwachungsdaten auf die Programmkonsole 7 übertragen. If the input / output number to be monitored is via the keyboard 7B is input and an input / output monitoring command is issued, then the key input becomes through steps 610 to 602, 603 and to 610 and then the input / output number as the subject of monitoring by the processing operation in step 611 the CPU 4 sent. The monitoring request data are sent to the CPU 4 from the program console 7 and registered by the operation processing in step 501. if then the steps from 509 to 510 and to 511 are carried out in the CPU 4 or steps 515 through 516 and through 517 are executed, the monitoring data becomes transferred to the program console 7.

Auf seiten der Programmkonsole 7 wird im Schritt 612 eine Antwort von seiten der CPU 4 abgewartet und, wenn die Antwort erfolgt, werden im Schritt 613 die von der CPU 4 übertragenen Überwachungsdaten empfangen. Im nachfolgenden Schritt 614 wird beurteilt, ob das Verriegelungskennzeichen F2 "1" ist, das heißt, ob der Ausgabesperrzustand aufgetreten ist oder nicht, und wenn F2="0", geht die Operation nach Schritt 615 weiter und der logische Zustand des Ein/Ausgabe-Signals der Ein/Ausgabe-Nummer als des Gegenstands der Überwachung wird auf der Anzeigeeinheit 7A wiedergegeben. Wenn F2="1", geht die Operation nach Schritt 616 weiter, der logische Zustand des Ausgangssignals der Ein/Ausgabe-Nummer als des Gegenstands der Überwachung sowie die im Register R0 gespeicherte IL-Nummer werden auf der Anzeigeeinheit 7A angezeigt und ebenso wird das Auftreten der Ausgabesperre durch den Verriegelungsbefehl wiedergegeben. A response is received on the part of the program console 7 in step 612 waited on the part of the CPU 4 and, if the answer is given, in step 613 received the monitoring data transmitted by the CPU 4. In the following In step 614, it is judged whether the lock flag F2 is "1", that is, whether or not the output inhibit state has occurred, and when F2 = "0", the Operation continues after step 615 and the logic state of the input / output signal the I / O number as the object of monitoring is shown on the display unit 7A reproduced. If F2 = "1", the operation continues to step 616, the logical one State of the output signal of the input / output number as the object of monitoring as well as the IL number stored in the register R0 are shown on the display unit 7A displayed and also the occurrence of the output lock is indicated by the lock command reproduced.

Fig. 6B zeigt ein Beispiel einer durch die oben angegebene Operation durchgeführten Überwachungsanzeige. Dieses Beispiel entspricht dem im Beispiel der Fig. .1gezeigten Benutzerprogramm, bei welchem die Ein/Ausgabe-Nummer 24 als Gegenstand der Überwachung eingegeben worden ist. Bei dieser Überwachungsanzeige wird zum Ausdruck gebracht, daß das Ausgangssignal der Nummer 24 AUS ist und daß der die Ein/ Ausgabe-Nummer 24 benutzende OUT(24)-Befehl zwischen dem Verriegelungsendbefehl und dem Verriegelungsbefehl der Identifikationsnummer 6 liegt und daß die Ausgabesperre durch den Verriegelungsbefehl erfolgt ist. Fig. 6B shows an example of an operation by the above-mentioned operation performed monitoring display. This example corresponds to the example of Fig. 1 shown User program in which the input / output number 24 has been entered as the subject of surveillance. With this monitoring display is expressed that the output of number 24 is OFF and that the OUT (24) command using input / output number 24 between the lock end command and the locking command of the identification number 6 is and that the output lock has taken place through the locking command.

Wenn es gewünscht wird, den Eingabe und andere Bedingungen de s des Verriegelungsbefehls zu überwachen, werden daher die Codetasten des Verriegelungsbefehls als des Gegenstands der Überwachung und die gerade auf der Anzeigeeinheit 7A in Wiedergabe befindliche IL-Nummer eingegeben, um den Wiedergewinnungsbefehl zu erteilen. Wenn ein Verriegelungsbefehl mit einer bestimmten IL-Nummer, der als Gegenstand der Überwachung zugeordnet ist, während der Ausführung des Benutzerprogramm ausgeführt wird, wird dies in der CPU 4 im Schritt 507 festgestellt und die Uberwachungsdaten des Verriegelungsbefehls werden auf der Anzeigeeinheit 7A wiedergegeben. Im Inhalt der Anzeige ist die Adresse des relevanten Verriegelungsbefehls ebenfalls enthalten. In diesem Zustand wird, wenn die Dekrement-Taste der Uberwachungsadresse gedrückt wird, die Adresse als Gegenstand der Überwachung um 1 vermindert, der Gegenstand der Überwachung wird speziell durch die oben angegebene Aufspürmethode bestimmt, und die vor dem entsprechenden Verriegelungsbefehl eingesetzten Benutzerbefehle köm1en aufeinanderfolgend überwacht werden. Gemäß der beschriebenen programmierbaren Steuereinrichtung nach der Erfindung kann der relevante Verriegelungsbefehl als Gegenstand der Überwachung aus dem Überwachungszustand eines Benutzerbefehls, auch wenn eine Anzahl von Verriegelungsbefehlen im Benutzerprogramm benutzt werden, unmittelbar überwacht werden, ohne die Überwachungsadressen sequentiell #urückzuverfolgen. If required, the input and other conditions of the To monitor the interlocking command, the code buttons of the interlocking command are therefore used as the subject of surveillance and that is currently on the display unit 7A in FIG IL number currently being played is entered to issue the retrieval command. When an interlocking command with a specific IL number is used as the subject associated with monitoring, executed during the execution of the user agent is determined in the CPU 4 in step 507 and the monitoring data of the locking command are displayed on the display unit 7A. In content the display also contains the address of the relevant interlocking command. In this state, if the decrement key is pressed the monitoring address the address as the object of monitoring is reduced by 1, the object the monitoring is specifically determined by the detection method specified above, and the user commands used before the corresponding locking command can be monitored consecutively. According to the programmable described Control device according to the invention can be the relevant locking command as Subject to monitoring from the monitoring state of a user command, too if a number of interlocking commands are used in the user program, immediately can be monitored without sequentially # tracing back the monitoring addresses.

Wie oben im einzelnen erläutert, wird gemäß der die Erfindung verkörpernden programmierbaren Steuereinrichtung dem Verriegelungsbefehl im Benutzerprogramm eine individuelle Identifikationsnummer gegeben, und es kann, wenn ein zwischen den Verriegelungsbefehleneines Programmes angeordnetes Ausgangssignal Gegenstand der Überwachung geworden ist, die Nummer des Verriegelungsbefehls für die Überwachung wiedergegeben werden, so daß es sehr einfach möglich wird, die Überwachung des Verriegelungsbefehls durchzuführen, was eine erhebliche Bequemlichkeit bei der Benutzung mit sich bringt. As discussed in detail above, in accordance with FIG. 1 embodying the invention programmable control device to the locking command in the user program given individual identification number, and it can, if one between the locking commands one The output signal ordered by the program has become the object of monitoring, the number of the interlocking command for the monitoring are reproduced, so that it is very easy to monitor the locking command, which brings considerable convenience in use.

Ferner gilt, daß bei der oben beschriebenen Ausführungsform, die IL-Nummer im Register R0 nur gespeichert wird, wenn der Ausgabesperrzustand durch den Verriegelungsbefehl aufgetreten ist. Natürlich ist es jedoch unabhängig vom Vorhandensein oder Fehlen des Ausgabesperrzustands möglich, die IL-Nummer des Verriegelungsbefehls im Register R0 zu speichern und diese Nummer zur Überwachung anzuzeigen. In diesem Fall sollte zusätzlich angezeigt werden, ob der Ausgabesperrzustand durch den Verriegelungsbeehl aufgetreten ist oder nicht (ob die Ausgabesperre aufgetreten ist oder nicht). Furthermore, in the embodiment described above, the IL number is only stored in register R0 when the output lock status is through the interlock command has occurred. Of course, it is independent of the Presence or absence of the output inhibited state possible, the IL number of the interlock command in register R0 and display this number for monitoring. In this In this case, it should also be indicated whether the output lock status is due to the lock command has occurred or not (whether or not the output lock has occurred).

Wie oben beschrieben, ist auch eine eine Bildschirmvorrichtung (auf Kathodenstrahlröhrenbasis) verwendende graphische Programmkonsole als eine der Überwachungsanzeigemethoden bekannt. Nach dieser Methode wird ein Teil des Benutzerprogramms als Gegenstand der Überwachung in die Form eines Leiterdiagramms zurückassembliert und auf dem Bildschirm wiedergegeben, und gleichzeitig werden die mit der Ausführung der einzelnen im Leiterdiagramm enthaltenen Benutzerbefehle verbundenen Steuerdaten in Form einer Variation in der Helligkeit der Anzeigelinien oder einer Variation im Gefüge ausgedrückt und zusätzlich angezeigt. Die Erfindung läßt sich natürlich auch auf diese Art von Leiterdiagramm-Überwachunqsanzeige anwenden. Das heißt, genau wie bei der oben beschriebenen Ausführungsform werden die zum Benutzerbefehl als dem Gegenstand der Überwachung gehörigen Steuerdaten sowie die Identifikationsnummer eines Benutzerbefehls und die Daten, die zeigen, ob der Ausgabesperrzustand durch den Verriegelungsbefehl aufgetreten ist oder nicht, falls notwendig, auf die Programmkonsole übertragen. Auf seiten der Programmkonsole wird die Identifikationsnummer des Verriegelungsbefehls mit Buchstaben und Ziffern in dem Teil des relevanten Benutzerbefehls auf# dem auf dem Bildschirm wiedergegebenen Leiterdiagramm wiedergegeben. As described above, a display device (on CRT base) using graphical program console as one of the monitoring display methods known. According to this method, a part of the user program becomes the subject of the monitoring back-assembled in the form of a ladder diagram and on the Screen reproduced, and at the same time with the execution of each control data contained in the ladder diagram in the form of a Expression of a variation in the brightness of the display lines or a variation in the structure and also displayed. The invention can of course also be applied to this type of Apply ladder diagram monitoring display. That means exactly how in the embodiment described above, the user command becomes the Control data belonging to the monitoring as well as the identification number of a user command and the data showing whether the output lock state by the interlock command has occurred or not, if necessary, to the program console transfer. The identification number of the interlock command is displayed on the program console with letters and numbers in the part of the relevant user command on the # that on the ladder diagram displayed on the screen.

Fig. 6C zeigt ein Beispiel einer Anzeige, wenn die Erfindung auf die Leiterdiagramm-Uberwachungsanzeige angewandt wird. Dieses Beispiel entspricht dem in Fig. 1 angegebenen Benutzerprogramm und die Schaltungseinheit des Leiterdiagramms bestehend aus zurtckassemblierten vier Befehlen Cd(54), ORNOT(55), AND(56) und OUT(23) wird in diesem Beispiel auf dem Bildschirm wiedergegeben. Diese Wiedergabe tritt auf, wenn irgendeiner der genannten vier Befehle Gegenstand der Uberwachung wird. In diesem Beispiel der Überwachungsanzeige wird der EIN-Zustand an Kontakten 54 und 56 und der AUS-Zustand am Kontakt 55 und Ausgangsrelais 23 durch die dicke Linie einerseits und die dünne Linie andererseits der Schaltungsverdrahtung ausgedrückt. Zusätzlich werden das Vorhandensein der genannten vier Befehle zwischen dem Verriegelungsendbefehl und dem Verriegelungsbefehl mit Identifikationsnummer 6 sowie das Auftreten einer Ausgabesperre durch den Verriegelungsbefehl durch die zusätzliche Anzeige "IL-06" auf die Wiedergabe des Ausganasrelais 23 hin ausgedrückt. Fig. 6C shows an example of a display when the invention is on the ladder diagram supervision display is applied. This example corresponds the user program indicated in Fig. 1 and the circuit unit of the ladder diagram Consists of four reassembled commands Cd (54), ORNOT (55), AND (56) and OUT (23) is shown on the screen in this example. This playback occurs when any of the above four commands becomes the subject of surveillance. In this example of the monitoring display, the ON state on contacts 54 becomes and 56 and the OFF state at contact 55 and output relay 23 by the thick line on the one hand and the thin line on the other hand expressed the circuit wiring. In addition, the presence of said four commands between the lock end command and the locking command with identification number 6 and the occurrence of a Output lock through the locking command through the additional display "IL-06" expressed on the reproduction of the Ausganasrelais 23 out.

LeerseiteBlank page

Claims (8)

Programmierbare Steuereinrichtung Patentansprüche 1. Programmierbare Steuereinrichtung, g e k e n n -z e i c h n e t durch eine Verriegelungsdaten-Speichereinrichtung zur vorübergehenden Speicherung einer zu einem in einem Benutzerprogramm enthaltenen Verriegelungsbefehl hinzugefügten Identifikationsnummer während der Ausführung des Verriegelungsbefehls und zum Halten dieser Identifikationsnummer bis zur Ausführung eines mi.t dem Verriegelungsbefehl im ITfl Benutzorprogramm ein Paar bildenden Verriegelunqsendbefehls, eine Datenherauszieheinrichtung zum Herausziehen von als Gegenstand der Uberwachung zugeordneten Steuerdaten aus den letzten Daten einer Befehlsfolge, die sich als Ergebnis der Ausführung des Benutzerprogramms ändert, und eine Uberwachungsdatenübertragungseinrichtung zur Ubertragung der in der Verriegelungsdaten-Speichereinrichtung gespeicherten Daten und der durch die Datenherauszieheinrichtung herausgezogenen Steuerdaten auf eine Uberwachungsanzeigeeinrichtung und zur Anzeige dieser Daten in Beziehung zueinander.Programmable control device Claims 1. Programmable Control device, g e k e n n -z e i c h n e t by a locking data storage device for the temporary storage of a to a contained in a user program Interlock command added identification number during execution of the Locking command and to hold this identification number until execution a locking end command that forms a pair with the locking command in the ITfl user program, one Data extraction device for extracting data assigned as the subject of surveillance Control data from the last data in a command sequence that is the result of the Execution of the user program changes, and a monitoring data transmission device for transferring the data stored in the locking data storage device Data and the control data extracted by the data extractor a monitoring display and for displaying this data in relation to one another. 2. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Verriegelungsdaten-Speichereinrichtung eine Einrichtung zur Prüfung des Vorhandenseins oder Fehlens der Ausgabesperrbedingungen durch den Verriegelungsbefehl, und eine Einrichtung zur vorübergehenden Speicherung von Daten der Prüfergebnisse bis zur Ausführung des Verriegelungsendbefehls aufweist. 2. Programmable control device according to claim 1, characterized g e it is not noted that the lock data storage device is a device to check the presence or absence of the output lock conditions by the Lock command, and a device for temporarily storing data the test results up to the execution of the interlocking end command. 3. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k enn z e i c h n e t , daß die Verriegelungsdaten-Speichereinrichtung eine Einrichtung zur Prüfung des Vorhandenseins oder Fehlens der Ausgabesperrbedingungen durch den Verriegelungsbefehl, und eine Einrichtung zur vorübergehenden Speicherung der Identifikationsnummer als eines Ergebnisses der Prüfung bis zur Ausführung des Verriegelunqsendbefehls erst nach Auftreten der Ausgabeszerrbedinaungen aufweist. 3. Programmable control device according to claim 1, characterized g e It is indicated that the lock data storage device is a device to check the presence or absence of the output lock conditions by the Lock command, and a device for temporarily storing the identification number as a result of the test up to the execution of the interlocking end command only after the output distortion conditions have occurred. 4. Programmierbare Steuereillrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Datenherauszieheinrichtung eine Einrichtung zum aufeinanderfolgenden Vergleich, nach Geben eines Benutzerbefehls als Gegenstand der Uberwachung, des Benutzerbefehls mit anderen sequentiell auszuführenden Benutzerbefehlen, zur Feststellung damit zusammenfallender Benutzerbefehle und zum Herausziehen von zur Ausführung der Benutzerbefehle gehörigen Steuerdaten aufweist. 4. Programmable control device according to claim 1, characterized in that g It is not noted that the data extractor is a device for successive comparison after giving a user command as an object the monitoring, the user command with others to be executed sequentially User commands, to identify user commands that coincide with them and for Has extraction of control data belonging to the execution of the user commands. 5. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Datenherauszieheinrichtung eine Einrichtung zum Herausziehen, nach Geben einer Programmadresse als Gegenstand der Uberwachung, von zur Ausführung eines Benutzerbefehls in der Programmadresse gehörigen Steuerdaten aufweist. 5. Programmable control device according to claim 1, characterized g e it is not indicated that the data extraction device has a device for Extract, after giving a program address as the object of monitoring, from Control data belonging to the execution of a user command in the program address having. 6. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Datenherauszieheinrichtung eine Einrichtung zur Wiederauffindung, nach Geben einer Ein/Ausgabe-Nummer als Gegenstand der Überwachung, eines Ausgangsbefehls mit dieser Ein/Ausgabe-Nummer aus den sequentiell auszuführenden Ausgangsbefehlen und zum Herausziehen von diese Ein/Ausgabe-Nummer habenden Steuerdaten nach Ausführung des Ausgangsbefehls aufweist. 6. Programmable control device according to claim 1, characterized g e it does not indicate that the data extraction device has a device for Recovery, after giving an input / output number as the subject of surveillance, an output command with this input / output number from those to be executed sequentially Output commands and for extracting control data having this input / output number after executing the output command. 7. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Überwachungsanzeigeeinrichtung eine Zeichenanzeigeeinheit und eine Anzeigesteuereinrichtung zur Anzeige eines Codes des Verriegelungsbefehls und der Identifikationsnummer mit Buchstaben und Ziffern zusätzlich zu Buchstaben und Ziffern zum Ausdrücken von Steuerdaten, Ein/Ausgabe-Nummer, Befehlseode und Programmadresse als Gegenständen der Überwachung aufweist. 7. Programmable control device according to claim 1, characterized g e It is not noted that the monitoring display device is a character display unit and display control means for displaying a code of the lock command and the identification number with letters and numbers in addition to letters and digits for expressing control data, input / output number, command code and Has program address as objects of monitoring. 8. Programmierbare Steuereinrichtung nach Anspruch 1, dadurch g e k e n n z e i c h n e t , daß die Uberwachungsanzeigeeinrichtung eine Kathodenstrahlröhren-Bi ld- schirmanzeigeeinheit, eine Leiterdiagrammanzeigeeinrichtung zur Wiedergabe eines Leiterdiagramms durch Umwandlung eines Teils eines Benutzerprogramms als des Gegenstandes der Überwachung in Anzeigedaten eines Leiterdiagramms, und eine Anzeigesteuereinrichtung zur zusätzlichen Anzeige der Steuerdaten, eines Codes des Verriegelungsbefehls und der Identifikationsnummer während der Wiedergabe des Leiterdiagramms aufweist. 8. Programmable control device according to claim 1, characterized g e it is not indicated that the monitoring display device is a cathode ray tube device ld- screen display unit, a ladder diagram display device for rendering a ladder diagram by converting part of a user program as the object of monitoring in display data of a ladder diagram, and a display control device for additionally displaying the control data, a code the locking command and the identification number during playback of the Has ladder diagram.
DE19823242631 1981-11-18 1982-11-18 Programmable control device Granted DE3242631A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP56184730A JPS5886650A (en) 1981-11-18 1981-11-18 Programmable controller
JP19193681A JPS5894005A (en) 1981-11-30 1981-11-30 Programmable controller
JP56195459A JPS5897703A (en) 1981-12-04 1981-12-04 Programmable controller
JP56198826A JPS5899805A (en) 1981-12-09 1981-12-09 Graphic system monitor display system of programable controller

Publications (2)

Publication Number Publication Date
DE3242631A1 true DE3242631A1 (en) 1983-05-26
DE3242631C2 DE3242631C2 (en) 1987-10-08

Family

ID=27475178

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19823242631 Granted DE3242631A1 (en) 1981-11-18 1982-11-18 Programmable control device

Country Status (1)

Country Link
DE (1) DE3242631A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3520510A1 (en) * 1984-06-07 1986-05-22 Omron Tateisi Electronics Co., Kyoto PROGRAMMABLE CONTROL UNIT
EP0239780A2 (en) * 1986-02-28 1987-10-07 Licentia Patent-Verwaltungs-GmbH Method and apparatus for signalling and reporting errors and causes of disturbances in the course of processes conducted or controlled by automatization means
EP0444535A2 (en) * 1990-02-27 1991-09-04 Mitsubishi Denki Kabushiki Kaisha Programmable controller having automatic control of interlock process
EP0483862A2 (en) * 1990-10-31 1992-05-06 Mitsubishi Denki Kabushiki Kaisha Control apparatus controlling process
US6810433B1 (en) 1999-01-25 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Peripheral device for programmable controller
CN103116309A (en) * 2013-01-31 2013-05-22 中国水利水电第七工程局有限公司 Start/stop PLC (programmable logic control) method for equipment of aggregate processing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DE-Z: Elektronik 1977, Heft 4, S. 72 - 78 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3520510A1 (en) * 1984-06-07 1986-05-22 Omron Tateisi Electronics Co., Kyoto PROGRAMMABLE CONTROL UNIT
EP0239780A2 (en) * 1986-02-28 1987-10-07 Licentia Patent-Verwaltungs-GmbH Method and apparatus for signalling and reporting errors and causes of disturbances in the course of processes conducted or controlled by automatization means
EP0239780A3 (en) * 1986-02-28 1989-04-12 Licentia Patent-Verwaltungs-GmbH Method and apparatus for signalling and reporting errors and causes of disturbances in the course of processes conducted or controlled by automatization means
EP0444535A3 (en) * 1990-02-27 1994-06-29 Mitsubishi Electric Corp Programmable controller having automatic control of interlock process
EP0444535A2 (en) * 1990-02-27 1991-09-04 Mitsubishi Denki Kabushiki Kaisha Programmable controller having automatic control of interlock process
US5437048A (en) * 1990-02-27 1995-07-25 Mitsubishi Denki Kabushiki Kaisha Programmable controller acting as a master station and having automatic control of interlock process by using an operation complete address flag
EP0483862A2 (en) * 1990-10-31 1992-05-06 Mitsubishi Denki Kabushiki Kaisha Control apparatus controlling process
EP0483862A3 (en) * 1990-10-31 1993-11-18 Mitsubishi Electric Corp Control apparatus controlling process
US5577216A (en) * 1990-10-31 1996-11-19 Mitsubishi Denki Kabushiki Kaisha Controlling process for a controlling apparatus having a CPU and special function units
US6810433B1 (en) 1999-01-25 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Peripheral device for programmable controller
US6850993B2 (en) 1999-01-25 2005-02-01 Mitsubishi Denki Kabushiki Kaisha Peripheral device for programmable controller
US6948005B2 (en) 1999-01-25 2005-09-20 Mitsubishi Denki Kabushiki Kaisha Peripheral device for programmable controller
CN103116309A (en) * 2013-01-31 2013-05-22 中国水利水电第七工程局有限公司 Start/stop PLC (programmable logic control) method for equipment of aggregate processing system
CN103116309B (en) * 2013-01-31 2014-11-05 中国水利水电第七工程局有限公司 Start/stop PLC (programmable logic control) method for equipment of aggregate processing system

Also Published As

Publication number Publication date
DE3242631C2 (en) 1987-10-08

Similar Documents

Publication Publication Date Title
DE2226290C2 (en) Device and method for displaying information on a display device that can be refreshed cyclically
EP0304129B1 (en) Method and device for processing an identifying signal
DE2536616C3 (en) Circuit arrangement for connecting an input / output device containing an input keyboard and a display device via a bus line to a microprocessor belonging to a microcomputer
DE3520510C2 (en)
DE2818974A1 (en) DATA STATION FOR DATA PROCESSING SYSTEMS
DE1524225B2 (en) METHOD OF OPERATING AN EDITING AND PLAYBACK DEVICE
DE3047251A1 (en) COMPUTER
DE2541090A1 (en) DEVICE FOR CODING AND / OR PREFERABLY SIMULTANEOUS DISPLAY OF A GRAPHIC
DE1524239A1 (en) Method for localizing a fault in a system with at least two computing devices working in parallel
DE3401784A1 (en) PROGRAMMABLE CONTROL
DE1474062B2 (en) DATA PROCESSING SYSTEM WITH A NUMBER OF BUFFER MEMORIES
DE3320213A1 (en) ELECTRONIC COMPUTER WITH TEST POSSIBILITY
DE2801610A1 (en) PROCEDURE FOR DEFINING INITIAL VALUES FOR TEXT PROCESSING
DE2115971A1 (en) Data processing system
DE2005806A1 (en) Data storage and viewing device
DE60217729T2 (en) METHOD FOR DETECTING AN ELECTRONIC DEVICE IN A MULTI CONTROL SYSTEM
DE3242631A1 (en) Programmable control device
DE2006672C3 (en) Data display device
EP1652340B1 (en) Message analysis device and method for analysis
WO2001098901A2 (en) Method and device for optimising a test programme
EP0708941B1 (en) Process for testing an object-oriented programme
DE3714514A1 (en) Device and method for word processing
DE1499170C3 (en) Data processing system
DE2014729A1 (en) Data processing system with at least one data processing unit
DE3331090A1 (en) COMMAND TRANSLATING CALCULATOR

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
D2 Grant after examination
8364 No opposition during term of opposition
8339 Ceased/non-payment of the annual fee