DE2720817A1 - NC machine tool punched tape testing - using final and intermediate bit summation and sum check - Google Patents

NC machine tool punched tape testing - using final and intermediate bit summation and sum check

Info

Publication number
DE2720817A1
DE2720817A1 DE19772720817 DE2720817A DE2720817A1 DE 2720817 A1 DE2720817 A1 DE 2720817A1 DE 19772720817 DE19772720817 DE 19772720817 DE 2720817 A DE2720817 A DE 2720817A DE 2720817 A1 DE2720817 A1 DE 2720817A1
Authority
DE
Germany
Prior art keywords
sentence
longitudinal
sum
read
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
DE19772720817
Other languages
German (de)
Inventor
Friedrich Ing Grad Hellwig
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.)
Siemens AG
Original Assignee
Siemens AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens AG filed Critical Siemens AG
Priority to DE19772720817 priority Critical patent/DE2720817A1/en
Priority to JP5491678A priority patent/JPS53139431A/en
Publication of DE2720817A1 publication Critical patent/DE2720817A1/en
Ceased 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K5/00Methods or arrangements for verifying the correctness of markings on a record carrier; Column detection devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • Numerical Control (AREA)
  • Communication Control (AREA)

Abstract

The method is for testing NC machine tool punched tape data and involves intermediate storage and testing of the data which is transferred from the tape reader in character sized blocks. It is designed for simplicity and reliability. The sum of all characters read is formed in a first control operating mode during transfer of the data. For actual machine control mode the sum is again formed and checked against the original result. The control data set is accepted only upon agreement of the two results. The equipment items are typically a punched paper tape (1), a tape reader (2), a slow-operating summation unit (3), memory (4), comparator (5), and error display unit (6).

Description

Verfahren zum Prüfen der Lochstreifeninformation bei numerischProcedure for checking the punched tape information at numeric

gesteuerten Werkzeugmaschinen Die Erfindung bezieht sich auf ein Verfahren um Prüfen der Lochstreifeninfomation bei numerisch gesteuerten Werkzeugmaschinen, bei denen die zeichenweise vom Lochstreifenleser gelesenen Sätze vor Ausgabe an die Steuerung zwischengespeichert und überprüft werden. (Vgl. Siemens-Zeitschrift 1973, Sonderheft "Steuerungen und Antriebe zur Automatisierung der Werkzeugmaschine", S. 45).controlled machine tools The invention relates to a method to check the punched tape information on numerically controlled machine tools, in which the sentences read character by character by the tape reader before output the control can be cached and checked. (See Siemens magazine 1973, special issue "Controls and drives for the automation of machine tools", P. 45).

Bei jeder informationsverarbeitenden Anlage haben die elektromechanischen Geräte, z.B. die Lochstreifenleser, die höchste Fehlerrate. Da bei numerisch gesteuerten Werkzeugmaschinen Lesefehler zu Ausschuß oder Werkzeugbruch führen können, muß diese Informationsschnittstelle gut überwacht werden. Die Fehler in der Takt- und in der Informationsspur lassen sich durch Kontrolle der Lochanzahl erkennen. Bei Auftreten eines Lesefehlers wird in der Regel die Steuerung stillgesetzt. Da ein Teil der Lesefehler auf verschmutzte Lochstreifen oder verschmutzte Leser zurückzuführen ist, kann in solchen Fällen noch einmal der Leser auf den Satzanfang zurückgesteuert und die Information neu eingelesen werden. Erst wenn im gleichen Satz wieder ein Fehler auftritt, hält die Uberwachungseinrichtung den Leser an.In every information processing system, the electromechanical Devices, e.g. the punched tape reader, have the highest error rate. As with numerically controlled Machine tool read errors can lead to scrap or tool breakage, this must Information interface can be monitored well. The errors in the clock and in the Information tracks can be identified by checking the number of holes. When occurring In the event of a read error, the control is usually shut down. As part of the Read errors can be traced back to dirty paper tape or dirty readers is, in such cases the reader can be steered back to the beginning of the sentence and the information is read in again. Only when in the same sentence again If an error occurs, the monitoring device stops the reader.

Bei einer derartigen Prüfung der Informationen durch eine Überwachung der Lochanzahl können u.U. Doppelfehler übersehen werden.When the information is checked in this way by monitoring the number of holes, double faults may be overlooked.

Außerdem erfordert diese Prüfungsmöglichkeit von vornherein die Berücksichtigung von Vorschriften bei der Erstellung des Lochstreifens.In addition, this check option requires consideration from the outset of regulations when creating the punched tape.

Die Aufgabe der vorliegenden Erfindung besteht darin, ein ein- faches und betriebssicheres Verfahren zum Prüfen der gelesenen Information anzugeben.The object of the present invention is to provide a single fold and to specify a reliable method for checking the information read.

Diese Aufgabe wird erfindungsgemäß dadurch gelöst, daß in einer ersten Betriebsart der Steuerung für jeden Satz nur die Längssumme aller gelesenen Zeichen gebildet und abgespeichert wird und daß bei der Steuerung der Werkzeugmaschine erneut die Längssumme der gelesenen Zeichen je Satz gebildet und mit der gespeicherten Längs summe des betreffenden Satzes verglichen wird und daß nur bei Ubereinstimmung der Summen der gerade gelesene Satz für die Bearbeitung des Werkstückes freigegeben wird. Auf diese Weise läßt sich mit relativ geringen Spelcheraufwand für die Längssummen nahezu die gleiche Sicherheit gegen Fehler erreichen als wenn z.B. die Information von einem Halbleiterspeicher abgenommen wird. Außerdem brauchen Vorschriften huber zulässige Zeichenanzahl (gerade, ungerade) bei der Programmierung von vornherein nicht berücksichtigt zu werden.This object is achieved in that in a first Operating mode of the control for each record only the longitudinal sum of all read characters is formed and stored and that again when controlling the machine tool the longitudinal sum of the characters read per sentence is formed and compared with the saved Longitudinal sum of the sentence in question is compared and that only if they match the sums of the block that has just been read is released for machining the workpiece will. In this way, it is possible to calculate the longitudinal sums with relatively little effort achieve almost the same level of security against errors as, for example, the information is removed from a semiconductor memory. Also, regulations need huber permissible number of characters (even, odd) when programming from the start not to be considered.

Das geschilderte Verfahren hat ferner noch den Vorteil, daß Manipulationen am Lochstreifen während des Betriebes, z.B. Öffnen der Leseklappe und verkehrtes Einlegen des Bande als Fehler erkannt werden.The method described also has the advantage that manipulations on the punched tape during operation, e.g. opening the reading flap and wrong Insertion of the ribbon can be recognized as an error.

Anhand einer Zeichnung sei die Erfindung näher erläutert; es zeigen: Figur 1 die zahlenmäßige Darstellung eines Satzes, Figur 2 das Abbild der Längssummen eines Lochstreifenprogrammes in einem Speicher und Figur 3 eine Schaltungsanordnung zur Durchführung des Prüfverfahrens.The invention will be explained in more detail with the aid of a drawing; show it: FIG. 1 shows the numerical representation of a sentence, FIG. 2 shows the image of the longitudinal sums a punched tape program in a memory and FIG. 3 shows a circuit arrangement to carry out the test procedure.

In Figur 1 ist in Zeile 1 ein abzuarbeitender Satz eines Lochstreifenprogrammes näher beschrieben. Der hier beispielsweise dargestellte Satz 5 lautet: N5 X 105000 S 21 M03 LE' In der linken Spalte in Figur 1 sind die einzelnen Zeichen dieses Satzes untereinander angeschrieben. Jedes dieser Zeichen entspricht im ISO- oder EIA-Code einem bestimmten Bit-Muster auf dem Achtspurlochstreifen. Der Einfachheit halber ist das Bit-Muster in der rechten Spalte in Hexa-Dezimaldarstellung gezeigt. Bei der Hexa-Dezimaldarstellung werden jeweils vier Bit eines Zeichens zusammengefaßt und entsprechend ihrer binürn \JertiRkeit durch eine Zahl zwischen 0 und 15 dargestellt. Diese Schreibweise ist in der Rechnertechnik üblich.In FIG. 1, line 1 shows a record of a punched tape program to be processed described in more detail. The sentence 5 shown here as an example is: N5 X 105000 S 21 M03 LE 'In the left column in Figure 1 are the individual characters of this sentence written to each other. Each of these characters corresponds in the ISO or EIA code a certain bit pattern on the Eight-lane perforated strip. Of simplicity For the sake of this, the bit pattern is shown in the right column in hexadecimal notation. In the hexadecimal representation, four bits of a character are combined and represented by a number between 0 and 15 according to their binary value. This notation is common in computer technology.

Beim zeichenweisen Lesen des Satzes werden die einzelnen Zahlen addiert und die sich ergebende Summe, im vorliegenden Fall BA, abgespeichert. Auf die Speicherung des Ubertrages 4 wird verzichtet.When reading the sentence character by character, the individual numbers are added and the resulting sum, in the present case BA, is stored. On the storage of the transfer 4 is waived.

Wie in Figur 2 dargestellt, ergibt sich dann für ein ganzes Lochstreifenprogramm zwischen dem Anfangskriterium 50 LF und dem Endkriterium M02 / M03 das dargestellte Speichermuster, wobei auf Platz 5 der Satz 5 mit dem Wert BA gespeichert ist.As shown in FIG. 2, this then results for an entire program of punched tape between the start criterion 50 LF and the end criterion M02 / M03 the one shown Storage pattern, where set 5 with the value BA is stored in location 5.

Betriebsmäßig läuft der Vorgang derart, daß in einer speziellen ersten Betriebsart (Längssumme feststellen und abspeichern) der Anwenderlochstreifen in die numerische Steuerung eingelesen wird.Operationally, the process runs in such a way that in a special first Operating mode (determine and save the longitudinal total) of the user tapes in the numerical control is read in.

Dabei wird zwischen dem Lochstreifenanfangskriterium und dem Endkriterium für jeden Satz die Längs summe aller gelesenen Zeichen zwischen N und LF jedes Satzes gebildet und abgespeichert.There is a difference between the start criterion and the end criterion for each sentence the longitudinal sum of all read characters between N and LF of each sentence formed and saved.

Beim Rücklauf in dieser Betriebsart wird nochmals geprüft, ob die ermittelten Längssummen stimmen. Diese Prüfung wird in einfacher Weise dadurch erreicht, daß beim cklauf des Lochstreifens nacheinander die einzelnen anfallenden Zeichen jedes Satzes von der gespeicherten Längs summe des betreffenden Satzes subtrahiert werden. Weicht das Ergebnis von Null ab, so muß ein Fehler vorliegen. Im anderen Fall kann die gebildete Längssumme als richtig angesehen werden.When returning in this operating mode, it is checked again whether the determined longitudinal sums are correct. This test is achieved in a simple manner by that with the return of the perforated tape the individual characters that arise one after the other of each sentence is subtracted from the stored longitudinal sum of the relevant sentence will. If the result deviates from zero, there must be an error. In the other In this case, the formed longitudinal total can be regarded as correct.

In der späteren Betriebsart-Automatik wird erneut geprüft, ob die eingelesene Information mit der abgespeicherten Information übereinstimmt, d.h., ob die Längssumme jedes ne eingelesenen Satzes mit der gespeicherten Längssumme übereinstimmt. Ist dies nicht der Fall, so wird eine Fehlermeldung abgegeben und der Satz wird nicht zur Bearbeitung freigegeben.In the later automatic operating mode, it is checked again whether the the read-in information matches the stored information, i.e. whether the longitudinal sum of each ne scanned sentence with the stored longitudinal sum matches. If this is not the case, an error message is issued and the record is not released for processing.

Eine schaltungsmäßige Realisierung dieses Verfahrens zeigt Figur 3. Das vom Lochstreifen 1 mittels des Lcchstreifenlesers 2 gelesene Zeichen wird in eine Einrichtung 3 zur Summenbildung und Speicherung gegeben. Aus den einzelnen Zeichen jedes Satzes wird die Längssumme gebildet und über Leitungen 7 in einen Speicher 4 (vgl. Fig. 2) an entsprechenden Flätzen eingeschrieben. Im nachfolgenden Automatikbetrieb wird wieder bei jedem neu eingelesenen Satz die Summe der Zeichen gebildet und das Ergebnis auf der Leitung 8 an einen Vergleicher 5 geführt, an dem gleichzeitig über Leitung 9 das vorher abgespeicherte Längssummenergebnis des betreffenden Satzes steht. Stellt der Vergleicher 5 fest, daß die beiden Summen übereinstimmen, so wird über Leitung 10 ein Befehl an die Einrichtung 3 zur Freigabe des gerade gelesenen Satzes gegeben. Dieser Satz geht dann über Leitung 11 an die numerische Steuerung Stg zwecks Befehlsausführung.A circuit implementation of this method is shown in FIG. 3. The character read from the punched tape 1 by means of the tape reader 2 is shown in a device 3 is given for summation and storage. From the individual Characters of each sentence, the longitudinal sum is formed and converted into one via lines 7 Memory 4 (cf. FIG. 2) is written in at corresponding locations. In the following Automatic mode is the sum of the characters again for each new record that is read in formed and the result passed on line 8 to a comparator 5 on which at the same time via line 9 the previously stored longitudinal total result of the relevant Sentence stands. If the comparator 5 determines that the two sums match, so a command is sent to the device 3 via line 10 to release the currently given sentence. This record then goes over line 11 to the numeric Control Stg for the purpose of executing commands.

Stellt der Vergleicher fest, daß sich die Lägssummen unterscheiden, so wird ein Warnsignal an eine Anzeige 6 gegeben und gegebenenfalls die Satzlesung wiederholt.If the comparator determines that the length sums differ, so a warning signal is given to a display 6 and possibly the sentence reading repeated.

Falls die Forderung gestellt wird, daß das Programm an beliebiger Stelle gestartet werden kann, ist es erforderlich, zusätzlich zur Längssumme die Satznummer zu speicher. Ferner müssen die Sätze, mit denen das Programm begonnen werden kann, mit Satznummer geschrieben sein. Dies ist aber bei Hauptsätzen fast immer der Fall.If the request is made that the program can be run at any Position can be started, it is necessary, in addition to the longitudinal total, the Record number to be saved. Furthermore, the sentences with which the program started can be written with a record number. But this is almost the case with main clauses always the case.

In einer weiteren Ausgestaltung der Erfindung kann es auch vorteilhaft sein, die Gesamtlängssumme aller Zeichen eines Werkstückprogrammes zu bilden und als Uberwachungskriterium zu verwenden.In a further embodiment of the invention, it can also be advantageous be to form the total length sum of all characters in a workpiece program and to be used as a monitoring criterion.

4 Patentansprüche 3 Figuren4 claims 3 figures

Claims (4)

Patentansprüche Verfahren zum Prüfen der Lochstreifeninformation bei numerisch gesteuerten Werkzeugmaschinen, bei denen die zeichenweise vom Lochstreifenleser gelesenen Sätze vor Ausgabe an die Steuerung zwischengespeichert und überprüft werden, dadurch gekennzeichnet, daß in einer ersten Betriebsart der Steuerung für jeden Satz nur die Längs summe aller gelesenen Zeichen gebildet und abgespeichert wird und daß bei der Steuerung der 'Verkzeugmaschine erneut die Längs summe der gelesenen Zeichen je Satz gebildet und mit der vorher gespeicherten Längssumme des betreffenden Satzes verglichen wird und daß nur bei ubereinstimmung der Summen der gelesene Satz für die Bearbeitung des Werkstückes freigegeben wird. Claims method for checking the punched tape information with numerically controlled machine tools, where the character by character from the tape reader read records are temporarily stored and checked before being output to the controller, characterized in that in a first operating mode of the controller for each Sentence only the longitudinal sum of all read characters is formed and saved and that in the control of the 'machine tool again the longitudinal sum of the read Characters formed per sentence and with the previously saved longitudinal sum of the relevant Sentence is compared and that only if the sums match the sentence read is released for machining the workpiece. 2. Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß beim Rücklauf des Lochstreifens (1) nacheinander die einzelnen anfallenden Zeichen jedes Satzes (N5) von der gespeicherten Längssumme des betreffenden Satzes subtrahiert und ein Steuersignal ausgegeben wird, wenn das Ergebnis von Null abweicht. 2. The method according to claim 1, characterized in that the return of the perforated tape (1) the individual characters of each sentence one after the other (N5) subtracted from the stored longitudinal total of the relevant sentence and a Control signal is output when the result deviates from zero. 3. Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß die Längs summe aller Zeichen des i'rogrammes gebildet und abgespeichert wird. 3. The method according to claim 1, characterized in that the longitudinal sum of all characters in the program is formed and saved. 4. Schaltungsanordnung zur Lurchfdhrung des Verfahrens nach Anspruch 1, gekennzeichnet durch eine dem Lochstreifenleser (2) zugeordnete Einrichtung (3) zur Längsummenbildung und Speicherung jedes Satzes, einen Speicher (4) für die Längssummen aller Sätze und ein an beide Einrichtungen (3, 4) angeschlossenes Vergleichsglied (5), welches die Satzweitergabe steuert. 4. Circuit arrangement for carrying out the method according to claim 1, characterized by a device (3) assigned to the punched tape reader (2) for the formation of the longitudinal totals and storage of each record, a memory (4) for the longitudinal totals of all sets and a comparison element connected to both devices (3, 4) (5), which controls the transfer of records.
DE19772720817 1977-05-09 1977-05-09 NC machine tool punched tape testing - using final and intermediate bit summation and sum check Ceased DE2720817A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE19772720817 DE2720817A1 (en) 1977-05-09 1977-05-09 NC machine tool punched tape testing - using final and intermediate bit summation and sum check
JP5491678A JPS53139431A (en) 1977-05-09 1978-05-09 Method of and device for checking punched tape data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19772720817 DE2720817A1 (en) 1977-05-09 1977-05-09 NC machine tool punched tape testing - using final and intermediate bit summation and sum check

Publications (1)

Publication Number Publication Date
DE2720817A1 true DE2720817A1 (en) 1978-11-23

Family

ID=6008442

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19772720817 Ceased DE2720817A1 (en) 1977-05-09 1977-05-09 NC machine tool punched tape testing - using final and intermediate bit summation and sum check

Country Status (2)

Country Link
JP (1) JPS53139431A (en)
DE (1) DE2720817A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07122885B2 (en) * 1993-02-16 1995-12-25 日本電気株式会社 Library verification device
JP6566919B2 (en) * 2016-08-15 2019-08-28 株式会社ユニバーサルエンターテインメント Game machine
JP6615241B2 (en) * 2018-01-23 2019-12-04 株式会社ユニバーサルエンターテインメント Game machine
JP6611841B2 (en) * 2018-03-05 2019-11-27 株式会社ユニバーサルエンターテインメント Game machine

Also Published As

Publication number Publication date
JPS53139431A (en) 1978-12-05

Similar Documents

Publication Publication Date Title
DE2913999C2 (en) Device for testing system programs of numerical controls for machine tools
EP0744676B1 (en) Method and device for safe operation of a numerical control on a machine-tool or a robot
DE2614000C2 (en) Diagnostic device for testing functional units
DE2735397C2 (en) Monitoring device for a program-controlled machine
DE2312707A1 (en) TEST REQUIREMENTS FOR A COMPUTER
DE3206891A1 (en) METHOD FOR ERROR DIAGNOSIS FOR PROGRAMMABLE CONTROLLERS
DE2258917A1 (en) CONTROL DEVICE
DE2210325A1 (en) Data processing system
DE2518588C3 (en) Method for monitoring the consistency of code signal groups in telecommunications equipment
DE2715029C3 (en) Circuit arrangement for diagnosing or testing functional hardware errors in a digital EDP system
DE3788332T2 (en) TREATMENT METHOD OF NUMERICALLY CONTROLLED MACHINES.
DE2720817A1 (en) NC machine tool punched tape testing - using final and intermediate bit summation and sum check
EP0009600B1 (en) Method and interface device for carrying out maintenance operations over an interface between a maintenance processor and a plurality of individually testable functional units of a data processing system
EP0151810B1 (en) Method and circuit arrangement for testing a program in data processing systems
DE1763875A1 (en) Machine tool control system
DE2642251A1 (en) Control device for computer controlled-machine tool - has number of program blocks with registers in which all data are recorded in case of interruption
DE3490339C2 (en) Procedure for changing a program for an NC control
EP0945799B1 (en) Method and system for avoiding storage of outdated messages from a data preprocessing device in the memory of a computer
EP0540536B1 (en) Cryptographic device with a display for indentification of a defective function in the device
DE3413886C2 (en)
DE3912705C2 (en) Method and arrangement for controlling data exchange in the case of write requests from processing units to a cache memory
DE1424756B2 (en) Circuit arrangement for the error-proof introduction or reintroduction of programs into the main memory of a data processing system
DE2505475C3 (en) Method and device for checking errors in a programmable logic unit for the execution of logical operations
DE2723689A1 (en) Testing machine tool workpiece program - with program stored in separate memory and then transferred to register in machine numerical control
DE2441776C3 (en) Circuit arrangement for monitoring the input of data into a memory

Legal Events

Date Code Title Description
OD Request for examination
8120 Willingness to grant licences paragraph 23
8131 Rejection