Abstract:
The invention relates to a method for the translation of a sub-programme (2) by an interpreter (5) in a control device (4) for the control of a machine tool, production machine and/or a robot, whereby the sub-programme (2) comprises a number of process blocks which are serially read by the interpreter (5). On reading a process block by the interpreter (5), defined as a pattern instruction by graphical information and containing structure information on the data format of subsequent process blocks, a form (8), comprising said data format is generated by the interpreter (5) and stored and the parameters for a process block subsequently read by the interpreter (5) are entered on the form (8) and, similarly, a data set (9) is generated from the form (8) and the parameters of the process block. The invention relates to a corresponding control device. By means of the above, a simple rapid method for the interpretation of a sub-programme by an interpreter in a control device for the control of a machine tool, production machine and/or a robot and a corresponding control device are achieved.
Abstract:
Die Erfindung betrifft Verfahren zum Übersetzten eines Teileprogramms (2) von einem Interpreter(5) einer Steuereinrichtung (4) zur Steuerung einer Werkzeugmaschine, Produktionsmaschine und/oder eines Roboters, wobei das Teileprogramm (2) eine Vielzahl von Bearbeitungssätzen aufweist, die nacheinander vom Interpreter (5) eingelesen werden, wobei, wenn der Interpreter (5) einen Bearbeitungssatz einliest, der durch eine Graphieinformation als Patternanweisung definiert ist und Strukturinformationen über das Datenformat nachfolgender Bearbeitungssätze enthält, vom Interpreter (5) ein Formular (8) mit diesem Datenformat erzeugt und gespeichert wird und die Parameter eines nachfolgenden vom Interpreter (5) eingelesenen Bearbeitungssatzes in das Formular (8) eingetragen werden und solchermaßen aus dem Formular (8) und den Parametern des Bearbeitungssatzes ein Datensatz (9) erzeugt wird. Weiterhin betrifft die Erfindung eine diesbezügliche Steuereinrichtung. Die Erfindung schafft ein einfaches und schnelles Verfahren zum Übersetzen eines Teileprogramms von einem Interpreter einer Steuereinrichtung zur Steuerung einer Werkzeugmaschine, Produktionsmaschine und/oder eines Roboters. Weiterhin schafft die Erfindung auch eine diesbezügliche Steuereinrichtung.