DE112012005645T5 - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
DE112012005645T5
DE112012005645T5 DE112012005645.0T DE112012005645T DE112012005645T5 DE 112012005645 T5 DE112012005645 T5 DE 112012005645T5 DE 112012005645 T DE112012005645 T DE 112012005645T DE 112012005645 T5 DE112012005645 T5 DE 112012005645T5
Authority
DE
Germany
Prior art keywords
instruction
axis
tool change
positioning
tool
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.)
Withdrawn
Application number
DE112012005645.0T
Other languages
German (de)
Inventor
c/o Mitsubishi Electric Corp. Iuchi Yukihiro
c/o Mitsubishi Electric Corp. Fujino Daisuke
c/o Mitsubishi Electric Corp. Ono Shunro
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of DE112012005645T5 publication Critical patent/DE112012005645T5/en
Withdrawn legal-status Critical Current

Links

Images

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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • 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/4155Numerical 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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • 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/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32105Calculate machining axis, best feasible orientation for machining
    • 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/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36361Tool change time, program for optimal tool change time

Abstract

Zur effektiven Verwendung einer Werkzeugwechselzeit, während eine Interferenz eines Werkzeugs und eines Werkstücks verhindert wird, enthält eine numerische Steuervorrichtung (1) eine Programmanalyseeinheit (2), die konfiguriert ist zum vorab Abrufen einer Werkzeugwechselanweisung (12) und einer Nach-dem-Wechsel-Positionierungsanweisung (11) von einem Bearbeitungsprogramm (7) und zum Ausgeben der Werkzeugwechselanweisung (12) und der Nach-dem-Wechsel-Positionierungsanweisung (11), eine Werkzeugwechsel-Anweisungsausgabeeinheit (5), die konfiguriert ist, um zu bewirken, auf Grundlage der Werkzeugwechselanweisung (12), dass eine Werkzeugmaschine einen Werkzeugwechselbetrieb ausführt, und eine Bewegungsanweisungs-Bestimmungseinheit (3) und eine Interpolationseinheit (4), die konfiguriert sind zum Starten, wenn die Nach-dem-Wechsel-Positionierungsanweisung (11) eine Achsenkomponentenanweisung zum Positionieren einer Achse mit Bezug auf den Werkzeugwechselbetrieb ist, auf die Beendigung des Werkzeugwechselbetriebs warten, einer Steuerung der Achse auf Grundlage der Achsenkomponentenanweisung, und zum Starten, wenn die Nach-dem-Wechsel-Positionierungsanweisung (11) eine Achsenkomponentenanweisung zum Positionieren einer Achse unter Bezug auf den Werkzeugwechselbetrieb ist, ohne auf die Beendigung des Werkzeugwechselbetriebs zu warten, einer Steuerung der Achse auf Grundlage der Achsenkomponentenanweisung.In order to effectively use a tool change time while preventing interference of a tool and a workpiece, a numerical control device (1) includes a program analysis unit (2) configured to prefetch a tool change instruction (12) and an after-change positioning instruction (11) from a machining program (7) and for outputting the tool change instruction (12) and the post-change positioning instruction (11), a tool change instruction output unit (5) configured to effect based on the tool change instruction (12) that a machine tool performs a tool changing operation, and a movement instruction determination unit (3) and an interpolation unit (4) configured to start when the after-the-change positioning instruction (11) is an axis component instruction for positioning an axis with respect to the tool change operation, to the termination of the W wait for tool change operation, control of the axis based on the axis component instruction, and to start when the post-change positioning instruction (11) is an axis component instruction for positioning an axis with reference to the tool change operation without waiting for the termination of the tool change operation a control of the axis based on the axis component instruction.

Description

ErfindungsgebietTHE iNVENTION field

Die vorliegende Erfindung betrifft eine Vorrichtung zur numerischen Steuerung, die eine Werkzeugmaschine, die einen Werkzeugwechsel ausführen kann, numerisch steuert.The present invention relates to a numerical control apparatus that numerically controls a machine tool that can perform a tool change.

Hintergrundbackground

Gegenwärtig gibt es eine numerische Steuervorrichtung, mit der ein Nutzer durch Kennzeichnung eines Werkzeugs von einem Bearbeitungsprogramm bewirken kann, dass eine Werkzeugmaschine eine Bearbeitung durchführt, während eine Ersetzung des Werkzeugs für jede Art von Bearbeitung durchgeführt wird. Eine Reihe von Operationen bzw. Betriebsschritten zum Ersetzen des Werkzeugs enthält eine Bewegung einer Position, an der der Werkzeugwechsel möglich ist, ein Wechsel des Werkzeugs und eine Bewegung zu einer Position, an der die Bearbeitung gestartet wird. Die erforderliche Zeit für die Reihe von Betriebsschritten zum Wechseln des Werkzeugs (eine Werkzeugwechselzeit) ist die Zeit, in der ein Werkstück nicht bearbeitet wird. Im Fall der Bearbeitung, bei der der Wechsel eines Werkzeugs oft durchgeführt wird, beeinflusst die Werkzeugwechselzeit eine Bearbeitungszeit stark. Eine Reduzierung in der Werkzeugwechselzeit ist daher wünschenswert.At present, there is a numerical control device with which a user can cause a machine tool to perform a machining by designating a tool from a machining program, while performing replacement of the tool for each kind of machining. A series of operations for replacing the tool includes moving a position where the tool change is possible, changing the tool, and moving to a position where machining is started. The time required for the series of tool change operation steps (a tool change time) is the time in which a workpiece is not machined. In the case of machining in which the change of a tool is often performed, the tool changing time greatly influences a machining time. A reduction in tool change time is therefore desirable.

Patentliteratur 1 offenbart andererseits eine Technologie zum vorab Abrufen (engl. pre-fetching) eines Bearbeitungsprogramms, und wenn die nächste Anweisung einer Werkzeugwechselanweisung eine Positionierungsanweisung ist, wird bewirkt, dass ein Werkzeugwechselbetrieb und ein Positionierungsbetrieb parallel arbeiten, um eine Werkzeugwechselzeit effektiv zu nutzen.On the other hand, Patent Literature 1 discloses a technology for pre-fetching a machining program, and when the next instruction of a tool change instruction is a positioning instruction, a tool change operation and a positioning operation are caused to work in parallel to effectively use a tool change time.

Patentliteraturpatent literature

  • Patentliteratur 1: Japanische Patentanmeldung mit der Veröffentlichungsnummer H11-300577 Patent Literature 1: Japanese Patent Application Publication No. H11-300577

ZusammenfassungSummary

Technisches ProblemTechnical problem

Gemäß der in der Patentliteratur 1 beschriebenen Technologie wird jedoch die Positionierungsanweisung, die parallel mit dem Werkzeugwechselbetrieb durchgeführt wird, nur gemäß einer Bestimmung bestimmt, ob oder ob nicht die Positionierungsanweisung eine Schneideanweisung ist. Selbst dann, wenn es eine Positionierungsanweisung für eine Achse gibt, die nicht während des Werkzeugwechselbetriebs bewegt werden soll, wird der Positionierungsbetrieb daher parallel mit dem Werkzeugwechselbetrieb ausgeführt. Es treten daher Probleme darin auf, dass zum Beispiel ein Werkzeugwechsel nicht durchgeführt werden kann und ein Werkzeug und ein Werkstück miteinander interferieren.According to the technology described in Patent Literature 1, however, the positioning instruction performed in parallel with the tool change operation is determined only according to a determination as to whether or not the positioning instruction is a cutting instruction. Therefore, even if there is a positioning instruction for an axis which is not to be moved during the tool change operation, the positioning operation is executed in parallel with the tool change operation. There are therefore problems in that, for example, a tool change can not be performed and a tool and a workpiece interfere with each other.

Die vorliegende Erfindung ist angesichts des obenstehenden erfolgt, und es ist eine Aufgabe der vorliegenden Erfindung, eine numerische Steuervorrichtung zu erhalten, die eine Werkzeugwechselzeit effektiv nutzt, während eine Interferenz eines Werkzeugs und eines Werkstücks vermieden wird.The present invention has been made in view of the above, and it is an object of the present invention to obtain a numerical control device which effectively utilizes a tool changing time while avoiding interference of a tool and a workpiece.

Lösung des Problemsthe solution of the problem

Um die obenstehenden Probleme zu lösen, ist eine numerische Steuervorrichtung gemäß einem Aspekt der vorliegenden Erfindung konfiguriert und umfasst: eine Programmanalyseeinheit, konfiguriert zum vorab Abrufen, aus einem Bearbeitungsprogramm, einer ersten Anweisung zum Anweisen eines Werkzeugwechselbetriebs und einer zweiten Anweisung zum Anweisen nur einer Positionierung einer Achse, die in einer Werkzeugmaschine enthalten, wobei die zweite Anweisung der ersten Anweisung folgt, und zum Ausgeben der ersten Anweisung und der zweiten Anweisung; eine Werkzeugwechsel-Anweisungsausgabeeinheit, konfiguriert, um zu bewirken, auf Grundlage der durch die Programmanalyseeinheit ausgegebenen ersten Anweisung, dass die Werkzeugmaschine den Werkzeugwechselbetrieb ausführt; und eine Achsensteuereinheit, konfiguriert zum Starten, wenn die durch die Programmanalyseeinheit ausgegebene zweite Anweisung einer Anweisung zum Positionieren der ersten Achse mit Bezug auf den Werkzeugwechselbetrieb ist, Steuern der ersten Achse auf Grundlage der zweiten Anweisung, nach einem Warten auf die Beendigung des Werkzeugwechselbetriebs auf Grundlage der ersten Anweisung, und zum Starten, wenn die durch die Programmanalyseeinheit ausgegebene zweite Anweisung eine Anweisung zum Positionieren der zweiten Achse ohne Bezug auf den Werkzeugwechselbetrieb ist, einer Steuerung der zweiten Achse auf Grundlage der zweiten Anweisung, ohne auf die Beendigung des Werkzeugwechsels auf Grundlage der ersten Anweisung zu warten.In order to solve the above problems, a numerical control apparatus according to one aspect of the present invention is configured and includes: a program analysis unit configured to pre-fetch from a machining program, a first tool change instruction instruction, and a second instruction instruction instruction only one Axis included in a machine tool, the second instruction following the first instruction, and outputting the first instruction and the second instruction; a tool change instruction issuing unit configured to effect, on the basis of the first instruction output by the program analyzing unit, that the machine tool is performing tool change operation; and an axis control unit configured to start when the second instruction issued by the program analysis unit is an instruction for positioning the first axis with respect to the tool change operation, controlling the first axis based on the second instruction, after waiting for the tool change operation to end the first instruction, and for starting, when the second instruction output by the program analysis unit is an instruction for positioning the second axis without reference to the tool change operation, controlling the second axis based on the second instruction, without waiting for the tool change to be completed on the basis of the second instruction to wait for the first instruction.

Vorteilhafte Effekte der ErfindungAdvantageous Effects of the Invention

Numerische Steuervorrichtung gemäß der vorliegenden Erfindung startet, wenn eine Positionierungsanweisung zum Ausführen nur einer Positionierung einer Achse nach einer Werkzeugwechselanweisung eine Anweisung zum Positionieren einer Achse in Bezug auf den Werkzeugwechselbetrieb ist, eine Steuerung auf Grundlage der Positionierungsanweisung, nachdem auf die Beendigung des Werkzeugwechselbetriebs gewartet wird, und startet, wenn die Positionierungsanweisung eine Anweisung zum Positionieren einer Achse ohne Bezug auf den Werkzeugwechselbetrieb ist, eine Steuerung auf Grundlage der Positionierungsanweisung, ohne auf die Beendigung des Werkzeugwechsels zu warten. Es ist daher möglich, eine Werkzeugwechselzeit effektiv zu verwenden, während eine Interferenz eines Werkzeugs und eines Werkstücks vermieden wird.A numerical control apparatus according to the present invention starts when a positioning instruction for performing only positioning of an axis after a tool change instruction starts an instruction for positioning an axis with respect to The tool change operation is a control based on the positioning instruction after waiting for the tool change operation to finish, and when the positioning instruction is an instruction for positioning an axis without reference to the tool change operation, starts control based on the positioning instruction without the termination to wait for the tool change. It is therefore possible to effectively use a tool changing time while avoiding interference of a tool and a workpiece.

Kurze Beschreibung der ZeichnungenBrief description of the drawings

1 ist ein Diagramm der Konfiguration einer numerischen Steuervorrichtung gemäß einer ersten Ausführungsform. 1 FIG. 10 is a diagram of the configuration of a numerical control apparatus according to a first embodiment. FIG.

2 ist ein Diagramm eines Maschinenkonfigurationsbeispiels einer Werkzeugmaschine, die durch eine numerische Steuervorrichtung 1 gesteuert wird. 2 FIG. 10 is a diagram of a machine configuration example of a machine tool provided by a numerical control device. FIG 1 is controlled.

3 ist ein Diagramm zur Erläuterung eines Hardware-Konfigurationsbeispiels der numerischen Steuervorrichtung 1. 3 FIG. 15 is a diagram for explaining a hardware configuration example of the numerical control device. FIG 1 ,

4 ist ein Flussdiagramm zur Erläuterung des Betriebs einer Programmanalyseeinheit in der ersten Ausführungsform. 4 FIG. 10 is a flowchart for explaining the operation of a program analyzing unit in the first embodiment. FIG.

5-1 ist ein Flussdiagramm zur Erläuterung des Betriebs einer Bewegungsanweisungs-Bestimmungseinheit in der ersten Ausführungsform. 5-1 FIG. 10 is a flowchart for explaining the operation of a movement-instruction determining unit in the first embodiment. FIG.

5-2 ist ein Flussdiagramm zur Erläuterung des Betriebs der Bewegungsanweisungs-Bestimmungseinheit in der ersten Ausführungsform. 5-2 FIG. 12 is a flowchart for explaining the operation of the movement-instruction determining unit in the first embodiment. FIG.

6 ist ein Diagramm eines spezifischen Beispiels eines Bearbeitungsprogramms. 6 Fig. 10 is a diagram of a specific example of a machining program.

7-1 ist ein Zeitdiagramm zur Erläuterung des Betriebs für Achsen, das durchgeführt wird, wenn die numerische Steuervorrichtung in der ersten Ausführungsform das Bearbeitungsprogramm ausführt. 7-1 FIG. 13 is a timing chart for explaining the operation for axes performed when the numerical control apparatus in the first embodiment executes the machining program. FIG.

7-2 ist ein Zeitdiagramm zur Erläuterung eines Betriebs für die Achsen, das durchgeführt wird, wenn das Bearbeitungsprogramm sequentiell für jeden Block ausgeführt wird. 7-2 FIG. 15 is a timing chart for explaining an operation for the axes performed when the machining program is sequentially executed for each block.

8 ist ein Diagramm der Konfiguration einer numerischen Steuervorrichtung gemäß einer zweiten Ausführungsform. 8th FIG. 15 is a diagram of the configuration of a numerical control apparatus according to a second embodiment. FIG.

9 ist ein Flussdiagramm zur Erläuterung des Betriebs einer Programmanalyseeinheit in der zweiten Ausführungsform. 9 FIG. 10 is a flowchart for explaining the operation of a program analysis unit in the second embodiment. FIG.

10-1 ist ein Flussdiagramm zur Erläuterung des Betriebs einer Bewegungsanweisungs-Bestimmungseinheit in der zweiten Ausführungsform. 10-1 FIG. 10 is a flowchart for explaining the operation of a movement-instruction determining unit in the second embodiment. FIG.

10-2 ist ein Flussdiagramm zur Erläuterung des Betriebs der Bewegungsanweisungs-Bestimmungseinheit in der zweiten Ausführungsform. 10-2 FIG. 12 is a flowchart for explaining the operation of the movement-instruction determining unit in the second embodiment. FIG.

10-3 ist ein Flussdiagramm zur Erläuterung des Betriebs der Bewegungsanweisungs-Bestimmungseinheit in der zweiten Ausführungsform. 10-3 FIG. 12 is a flowchart for explaining the operation of the movement-instruction determining unit in the second embodiment. FIG.

11 ist ein Diagramm eines spezifischen Beispiels eines Bearbeitungsprogramms. 11 Fig. 10 is a diagram of a specific example of a machining program.

12-1 ist ein Zeitdiagramm zur Erläuterung des Betriebs für Achsen, das durchgeführt wird, wenn die numerische Steuervorrichtung in der zweiten Ausführungsform das Bearbeitungsprogramm ausführt. 12-1 FIG. 15 is a time chart for explaining the operation for axes performed when the numerical control apparatus in the second embodiment executes the machining program. FIG.

12-2 ist ein Zeitdiagramm zur Erweiterung des Betriebs für die Achsen, das durchgeführt wird, wenn das Bearbeitungsprogramm sequentiell für jeden Block ausgeführt wird. 12-2 FIG. 15 is a timing chart for expanding the operation for the axes, which is performed when the machining program is sequentially executed for each block.

Beschreibung der AusführungsformenDescription of the embodiments

Ausführungsformen einer numerischen Steuervorrichtung gemäß der vorliegenden Erfindung werden im Folgenden detailliert mit Bezug auf die Zeichnungen erläutert. Es wird vermerkt, dass die vorliegende Erfindung nicht auf die Ausführungsformen beschränkt ist.Embodiments of a numerical control apparatus according to the present invention will be explained below in detail with reference to the drawings. It should be noted that the present invention is not limited to the embodiments.

Erste AusführungsformFirst embodiment

1 ist ein Diagramm der Konfiguration einer numerischen Steuervorrichtung gemäß einer ersten Ausführungsform der vorliegenden Erfindung. Wie in der Figur gezeigt, enthält eine numerische Steuervorrichtung 1 eine Programmanalyseeinheit 2, eine Bewegungsanweisungs-Bestimmungseinheit 3, eine Interpolationseinheit 4, eine Werkzeugwechsel-Anweisungsausgabeeinheit 5 und eine Parameterspeichereinheit 6. 1 FIG. 10 is a diagram of the configuration of a numerical control apparatus according to a first embodiment of the present invention. FIG. As shown in the figure, includes a numerical control device 1 a program analysis unit 2 a movement instruction determination unit 3 , an interpolation unit 4 , a tool change instruction issue unit 5 and a parameter storage unit 6 ,

Die Parameterspeichereinheit 6 hat darin vorab verschiedene Parameter für die numerische Steuervorrichtung 1 gespeichert, um eine Werkzeugmaschine zu steuern. Als einer der Parameter ist eine Maschinenstrukturinformation 17 gespeichert. Die Maschinenstrukturinformation 17 ist eine Information, die beschreibt, zu welcher Achse eine Achse in Bezug auf einen Werkzeugwechselbetrieb und eine Achse ohne Bezug auf den Werkzeugwechselbetrieb entspricht.The parameter storage unit 6 has in advance various parameters for the numerical control device 1 stored to control a machine tool. One of the parameters is machine structure information 17 saved. The machine structure information 17 is an information describing to which axis an axis corresponds with respect to a tool change operation and an axis without reference to the tool change operation.

2 ist ein Diagramm eines Maschinenkonfigurationsbeispiels einer Werkzeugmaschine, die durch die numerische Steuervorrichtung 1 gesteuert wird. Gemäß diesem Beispiel enthält eine Werkzeugmaschine 100 ein Werkzeugmagazin 101, Werkzeuge 102a bis 102c, und einen Tisch 103. Ein Werkstück (in der Figur nicht gezeigt) ist an dem Tisch 103 fixiert. Der Tisch 103 wird durch eine X-Achsen-Steuerung und eine Y-Achsen-Steuerung angesteuert. Ein Werkzeug 102b, das an dem Werkzeugmagazin 101 befestigt ist, wird durch eine Z-Achsen-Steuerung angesteuert, und bearbeitet das an dem Tisch 103 fixierte Werkstück. Wenn das Werkzeug 102b durch ein Werkzeug 102a oder ein Werkzeug 102c ersetzt bzw. gewechselt wird, nachdem das Werkzeug 102b in eine Werkzeugwechselposition an der Z-Achse bewegt wird, wird das Werkzeugmagazin 101 rotiert, bis das Werkzeug 102a oder das Werkzeug 102c eine Position erreicht, an der das Werkzeug 102a oder das Werkzeug 102c durch die Z-Achsen-Steuerung angesteuert werden kann. Wenn die Werkzeugmaschine 100 derart konfiguriert ist, muss die Z-Achse während des Werkzeugwechselbetriebs in der Werkzeugwechselposition still stehen. Eine willkürliche bzw. beliebige Ansteuerung der Z-Achse ist daher nicht möglich. Ein beliebiger Betrieb der X-Achse und der Y-Achse ist während des Werkzeugwechselbetriebs möglich. Das heißt, dass die Z-Achse einer Achse in Bezug auf den Werkzeugwechselbetrieb entspricht. Die X-Achse und die Y-Achse entsprechen Achsen ohne Bezug auf den Werkzeugwechselbetrieb. Ein Werkzeug, das durch die Z-Achsen-Steuerung unter den Werkzeugen 102a bis 102c angesteuert werden kann, wird einfach als ein Werkzeug 102 bezeichnet. 2 FIG. 15 is a diagram of a machine configuration example of a machine tool provided by the numerical control device 1 is controlled. According to this example contains a machine tool 100 a tool magazine 101 , Tools 102 to 102c , and a table 103 , One Workpiece (not shown in the figure) is at the table 103 fixed. The table 103 is controlled by an X-axis controller and a Y-axis controller. A tool 102b attached to the tool magazine 101 is attached, is controlled by a Z-axis controller, and works on the table 103 fixed workpiece. When the tool 102b through a tool 102 or a tool 102c replaced or changed after the tool 102b is moved to a tool change position on the Z axis, the tool magazine 101 rotates until the tool 102 or the tool 102c reaches a position where the tool 102 or the tool 102c can be controlled by the Z-axis control. When the machine tool 100 thus configured, the Z-axis must stand still during the tool change operation in the tool change position. An arbitrary or any control of the Z-axis is therefore not possible. Any operation of the X-axis and Y-axis is possible during tool change operation. This means that the Z-axis corresponds to an axis with respect to the tool change operation. The X-axis and the Y-axis correspond to axes without reference to the tool change operation. A tool created by the Z-axis control under the tools 102 to 102c can be controlled simply as a tool 102 designated.

Die Programmanalyseeinheit 2 liest ein Bearbeitungsprogramm 7 Block für Block, bis die Programmanalyseeinheit 2 eine Werkzeugwechselanweisung 12 erreicht. Nach dem Lesen der Werkzeugwechselanweisung 12 führt die Programmanalyseeinheit 2 ein vorab Abrufen (engl. pre-fetches) von Blöcken nach der Werkzeugwechselanweisung 12 durch, bis die Programmanalyseeinheit 2 eine Anweisung erreicht, bei der es sich nicht um eine Positionierungsanweisung handelt.The program analysis unit 2 reads a machining program 7 Block by block until the program analyzer unit 2 a tool change instruction 12 reached. After reading the tool change instruction 12 leads the program analysis unit 2 a pre-fetches of blocks after the tool change instruction 12 through, until the program analysis unit 2 reaches an instruction that is not a positioning instruction.

Es wird vermerkt, dass in der Ausführungsform die Positionierungsanweisung auf Anweisungen verweist, die nur die Ausführung einer Positionierung bewirken. Eine Positionierungsanweisung, die ein Bearbeiten enthält, wie zum Beispiel eine Schneideanweisung, ist in der Ausführungsform nicht in der Positionierungsanweisung enthalten. Kontinuierliche oder darüber hinaus gehende Positionierungsanweisungen, die der Werkzeugwechselanweisung 12 folgen, werden als Nach-dem-Wechsel-Positionierungsanweisungen (Nach-dem-Wechsel-Positionierungsanweisungen 11) bezeichnet. Positionierungsanweisungen außer den Nach-dem-Wechsel-Positionierungsanweisungen 11 und Positionierungsanweisungen, die andere Operation beinhalten, werden einfach als Bewegungsanweisungen 10 bezeichnet. Die Nach-dem-Wechsel-Positionierungsanweisung 11 wird manchmal durch Anweisungen zum jeweiligen Positionieren einer Vielzahl von Achsen ausgebildet. Die Anweisung für jede der Achsen, welche die Nach-dem-Wechsel-Positionierungsanweisung 11 ausbildet, wird als eine Achsenkomponentenanweisung bezeichnet.It is noted that in the embodiment, the positioning instruction refers to instructions that only effect the execution of a positioning. A positioning instruction containing a machining such as a cutting instruction is not included in the positioning instruction in the embodiment. Continuous or more detailed positioning instructions, the tool change instruction 12 are followed as post-change positioning instructions (post-change positioning instructions 11 ) designated. Positioning instructions other than the post-change positioning instructions 11 and positioning instructions involving other operation become simple as movement instructions 10 designated. The post-change positioning instruction 11 is sometimes formed by instructions for respectively positioning a plurality of axes. The instruction for each of the axes representing the post-change positioning instruction 11 is called an axis component instruction.

Die Programmanalyseeinheit 2 gibt, unter den Leseanweisungen, die Bewegungsanweisungen 10 und die Nach-dem-Wechsel-Positionierungsanweisung 11 an die Bewegungsanweisungs-Bestimmungseinheit 3 aus und gibt die Werkzeugwechselanweisung 12 an die Werkzeugwechsel-Anweisungsausgabeeinheit 5 aus.The program analysis unit 2 gives, under the reading instructions, the movement instructions 10 and the post-change positioning instruction 11 to the movement instruction determination unit 3 and gives the tool change instruction 12 to the tool change instruction issue unit 5 out.

Die Bewegungsanweisungs-Bestimmungseinheit 3 und die Interpolationseinheit 4 funktionieren als Achsensteuereinheiten, die konfiguriert sind zum Ausführen, in Kooperation miteinander, einer Steuerung einer Achse, basierend auf der Nach-dem-Wechsel-Positionierungsanweisung 11 zu dem Zeitpunkt, basierend auf einer Bestimmung, ob die Nach-dem-Wechsel-Positionierungsanweisung 11 eine Anweisung zum Positionieren einer Achse in Bezug auf einen Werkzeugwechselbetrieb ist.The movement instruction determination unit 3 and the interpolation unit 4 function as axis control units configured to execute, in cooperation with each other, an axis control based on the post-change positioning instruction 11 at the time, based on a determination, if the post-change positioning instruction 11 is an instruction to position an axis with respect to a tool change operation.

Bezüglich der Nach-dem-Wechsel-Positionierungsanweisung 11 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 insbesondere, auf Grundlage der Maschinenstrukturinformation 17, die in der Parameterspeichereinheit 6 gespeichert ist, für jede Achsenkomponentenanweisung, ob eine angewiesene Achse mit dem Werkzeugwechselbetrieb zusammenhängt bzw. in Beziehung steht. Wenn die angewiesene Achse mit dem Werkzeugwechselbetrieb in Beziehung steht, wird auf die Beendigung des Werkzeugwechselbetriebs gewartet, und wenn die angewiesene Achse nicht mit dem Werkzeugwechselbetrieb in Beziehung steht, gibt die Bewegungsanweisungs-Bestimmungseinheit 3, ohne ein Warten auf die Beendigung des Werkzeugwechselbetriebs die Achsenkomponentenanweisung an die Interpolationseinheit 4 als eine Bewegungsanweisung 13 aus. Die Bewegungsanweisungs-Bestimmungseinheit 3 kann erkennen, ob die Achsen sich bewegen oder sich nicht bewegen, indem eine Feedback-Position 15 überprüft wird, die durch einen Servo-Verstärker 8 ausgegeben wird. In Bezug auf die Bewegungsanweisung 10 gibt die Bewegungsanweisungs-Bestimmungseinheit 3 Achsenkomponentenanweisungen, die in der Bewegungsanweisung 10 enthalten sind, an die Interpolationseinheit 4 jeweils als Bewegungsanweisungen 13 aus.Regarding the post-change positioning instruction 11 determines the movement instruction determination unit 3 in particular, based on the machine structure information 17 in the parameter memory unit 6 is stored, for each axis component instruction, whether a commanded axis is related to the tool change operation. When the instructed axis is related to the tool change operation, the completion of the tool change operation is awaited, and when the instructed axis is not related to the tool change operation, the move instruction determination unit gives 3 without waiting for the tool change operation to complete, the axis component instruction to the interpolation unit 4 as a movement instruction 13 out. The movement instruction determination unit 3 can detect if the axes are moving or not moving by giving a feedback position 15 is checked by a servo amplifier 8th is issued. Regarding the movement instruction 10 gives the move instruction determination unit 3 Axis component instructions included in the motion statement 10 are included, to the interpolation unit 4 each as movement instructions 13 out.

Wenn die Bewegungsanweisung 13 von der Bewegungsanweisungs-Bestimmungseinheit 3 eingegeben wird, berechnet die Interpolationseinheit 4 eine Bewegungsgröße 14 für jede Interpolationsperiode auf Grundlage der eingegebenen Bewegungsanweisung 13, und gibt die berechnete Bewegungsgröße 14 für jede der Interpolationsperioden an den Servo-Verstärker 8 aus, der in der Werkzeugmaschine 100 enthalten ist.If the movement instruction 13 from the movement instruction determination unit 3 is input, the interpolation unit calculates 4 a movement size 14 for each interpolation period based on the inputted move instruction 13 , and returns the calculated amount of movement 14 for each of the interpolation periods to the Servo amplifier 8th out in the machine tool 100 is included.

Wenn die Werkzeugwechselanweisung 12 von der Programmanalyseeinheit 2 eingegeben wird, weist die Werkzeugwechsel-Anweisungsausgabeeinheit 5 eine Wechselvorrichtung 9, die in der Werkzeugmaschine 100 enthalten ist, an, ein Werkzeug zu wechseln bzw. zu ersetzen. Mit anderen Worten bewirkt die Werkzeugwechsel-Anweisungsausgabeeinheit 5, auf Grundlage der Werkzeugwechselanweisung 12, die durch die Programmanalyseeinheit 2 ausgegeben wird, dass die Werkzeugmaschine 100 einen Werkzeugwechselbetrieb ausführt. Wenn der Wechsel des Werkzeugs abgeschlossen ist, gibt die Werkzeugwechselvorrichtung 9 ein Wechselbeendigungssignal 16 in die Bewegungsanweisungs-Bestimmungseinheit 3 ein.If the tool change instruction 12 from the program analysis unit 2 is inputted, instructs the tool change instruction output unit 5 a changing device 9 working in the machine tool 100 is included to change or replace a tool. In other words, the tool change instruction output unit operates 5 , based on the tool change instruction 12 by the program analysis unit 2 is issued that the machine tool 100 performs a tool change operation. When the tool change is completed, the tool changer returns 9 a change completion signal 16 in the movement instruction determination unit 3 one.

3 ist ein Diagramm zur Erläuterung eines Hardware-Konfigurationsbeispiels der numerischen Steuervorrichtung 1. Wie in der Figur gezeigt, enthält die numerische Steuervorrichtung 1 eine Arithmetikeinheit 201, eine Speichervorrichtung 202, eine Eingabevorrichtung 203, eine Anzeigevorrichtung 204 und eine Werkzeugmaschinen-Verbindungsschnittstelle (I/F) 205. Die Arithmetikeinheit 201, die Speichervorrichtung 202, die Eingabevorrichtung 203, die Anzeigevorrichtung 204 und die Werkzeugmaschinen-Verbindungs-I/F 205 sind miteinander durch einen Bus verbunden. 3 FIG. 15 is a diagram for explaining a hardware configuration example of the numerical control device. FIG 1 , As shown in the figure, the numerical control device includes 1 an arithmetic unit 201 , a storage device 202 , an input device 203 , a display device 204 and a machine tool connection interface (I / F) 205 , The arithmetic unit 201 , the storage device 202 , the input device 203 , the display device 204 and the machine tool connection I / F 205 are connected to each other by a bus.

Die Speichervorrichtung 202 ist durch einen nicht-flüchtigen Speicher, einen flüchtigen Speicher oder eine Kombination des nicht-flüchtigen Speichers und des flüchtigen Speichers konfiguriert. Die Speichervorrichtung 202 hat darin ein Bearbeitungsprogramm 7 und ein numerisches Steuerprogramm 206 vorab gespeichert. Die Speichervorrichtung 202 hat darin vorab Parameter gespeichert, und funktioniert als die Parameterspeichereinheit 6.The storage device 202 is configured by a nonvolatile memory, a volatile memory, or a combination of the nonvolatile memory and the volatile memory. The storage device 202 has a machining program in it 7 and a numerical control program 206 saved in advance. The storage device 202 has stored parameters in advance, and functions as the parameter storage unit 6 ,

Die Arithmetikeinheit 201 ist zum Beispiel eine CPU (engl. Central Processing Unit). Die Arithmetikeinheit 201 führt das numerische Steuerprogramm 206 aus, um dadurch als die Programmanalyseeinheit 2, die Bewegungsanweisungs-Bestimmungseinheit 3, die Interpolationseinheit 4 und die Werkzeugwechsel-Anweisungsausgabeeinheit 5 zu arbeiten.The arithmetic unit 201 is for example a CPU (Central Processing Unit). The arithmetic unit 201 performs the numerical control program 206 to thereby act as the program analysis unit 2 , the movement instruction determination unit 3 , the interpolation unit 4 and the tool change instruction issue unit 5 to work.

Die Eingabevorrichtung 203 ist ein Eingabemittel für einen Empfangsbetrieb für die numerische Steuervorrichtung 1 und eine Eingabe zum Editieren des Bearbeitungsprogramms 7, das in der Speichervorrichtung 202 gespeichert ist. Die Eingabevorrichtung 203 ist zum Beispiel durch eine Tastatur konfiguriert. Die Anzeigevorrichtung 204 ist durch eine Flüssigkristallanzeige oder dergleichen konfiguriert, und führt eine Anzeige und Ausgabe einer Anzeigeinformation für einen Nutzer durch, die durch die Arithmetikeinheit 201 erzeugt wird. Es wird vermerkt, dass die Eingabevorrichtung 203 und die Anzeigevorrichtung 204 durch eine Berührungsfeldvorrichtung konfiguriert sein kann.The input device 203 is an input means for a receiving operation for the numerical control device 1 and an input for editing the machining program 7 that in the storage device 202 is stored. The input device 203 is configured for example by a keyboard. The display device 204 is configured by a liquid crystal display or the like, and performs display and output of display information to a user inputted through the arithmetic unit 201 is produced. It is noted that the input device 203 and the display device 204 may be configured by a touch panel device.

Die Werkzeugmaschinen-Verbindungs-I/F (205) ist eine Verbindungsschnittstelle, die konfiguriert ist zum Verbinden der Werkzeugmaschine 100 und der numerischen Steuervorrichtung 1. Die Werkzeugmaschinen-Verbindungs-I/F 205 überträgt insbesondere die Bewegungsgröße 14 an den Servo-Verstärker 8, der in der Werkzeugmaschine 100 enthalten ist, und empfängt die Feedback-Position 15, die durch den Servo-Verstärker 8 ausgegeben wird. Die Werkzeugmaschinen-Verbindungs-I/F 205 überträgt eine Werkzeugwechselanweisung an die Werkzeugwechselvorrichtung 9 und empfängt das Werkzeugwechsel-Beendigungssignal 16, das durch die Werkzeugwechselvorrichtung 9 ausgegeben wird.The Machine Tool Connection I / F ( 205 ) is a connection interface configured to connect the machine tool 100 and the numerical control device 1 , The Machine Tool Connection I / F 205 transfers in particular the amount of movement 14 to the servo amplifier 8th who is in the machine tool 100 is included and receives the feedback position 15 through the servo amplifier 8th is issued. The Machine Tool Connection I / F 205 transmits a tool change instruction to the tool changer 9 and receives the tool change completion signal 16 that by the tool changer 9 is issued.

Die Programmanalyseeinheit 2, die Bewegungsanweisungs-Bestimmungseinheit 3, die Interpolationseinheit 4 und Werkzeugwechsel-Anweisungsausgabeeinheit 5 werden realisiert durch Software erläutert. Die funktionalen Blöcke können jedoch als Hardware oder eine Kombination aus Hardware und Soft realisiert werden. Es wird auf Grundlage von Designbeschränkungen, die der gesamten Vorrichtung auferlegt sind, bestimmt, ob die funktionalen Blöcke als Hardware realisiert werden, oder als Software realisiert werden.The program analysis unit 2 , the movement instruction determination unit 3 , the interpolation unit 4 and tool change instruction issuing unit 5 are explained realized by software. However, the functional blocks can be implemented as hardware or a combination of hardware and soft. It is determined whether the functional blocks are realized as hardware or realized as software based on design constraints imposed on the entire device.

Der Betrieb der numerischen Steuervorrichtung 1 in der ersten Ausführungsform der vorliegenden Erfindung wird erläutert. 4 ist ein Flussdiagramm zur Erläuterung des Betriebs der Programmanalyseeinheit 2 gemäß der ersten Ausführungsform. Wie in der Figur gezeigt, liest die Programmanalyseeinheit 2 zuerst eine Anweisung, die in dem Bearbeitungsprogramm 7 beschrieben ist, durch nur einen Block aus (Schritt S101). Die Programmanalyseeinheit 2 bestimmt, ob die ausgelesene Anweisung die Werkzeugwechselanweisung 12 ist (Schritt S102). Wenn die gelesene Anweisung nicht die Werkzeugwechselanweisung 12 ist (Nein im Schritt S102), führt die Programmanalyseeinheit 2 eine Verarbeitung im Schritt S107 aus, die im Folgenden erläutert wird.The operation of the numerical control device 1 in the first embodiment of the present invention will be explained. 4 Fig. 10 is a flowchart for explaining the operation of the program analysis unit 2 according to the first embodiment. As shown in the figure, the program analysis unit reads 2 First, a statement in the editing program 7 is described by only one block (step S101). The program analysis unit 2 determines whether the instruction read out the tool change instruction 12 is (step S102). If the read instruction does not have the tool change instruction 12 is (No at step S102), the program analyzing unit executes 2 processing in step S107, which will be explained below.

Wenn die gelesene Anweisung die Werkzeugwechselanweisung 12 ist (Ja im Schritt S102), gibt die Programmanalyseeinheit 2 die Werkzeugwechselanweisung 12 an die Werkzeugwechsel-Anweisungsausgabeeinheit 5 aus (Schritt S103). Die Programmanalyseeinheit 2 liest den nächsten Block aus (Schritt S104) und bestimmt, ob oder ob nicht die gelesene Anweisung eine Positionierungsanweisung ist (das heißt, die Nach-dem-Wechsel-Positionierungsanweisung 11). Wenn die gelesene Anweisung die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S105), gibt die Programmanalyseeinheit 2 die Nach-dem-Wechsel-Positionierungsanweisung 11 an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S106). Die Programmanalyseeinheit 2 führt danach die Verarbeitung im Schritt S104 aus.If the read statement is the tool change instruction 12 is (Yes in step S102), the program analysis unit gives 2 the tool change instruction 12 to the tool change instruction issue unit 5 from (step S103). The program analysis unit 2 reads out the next block (step S104) and determines whether or not the read instruction is a positioning instruction (that is, the post-change positioning instruction 11 ). If the read instruction is the post-change positioning instruction 11 is (Yes in step S105), the Program analysis unit 2 the post-change positioning instruction 11 to the movement instruction determination unit 3 from (step S106). The program analysis unit 2 thereafter executes the processing in step S104.

Wenn die gelesene Anweisung nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S105), entspricht die gelesene Anweisung der Bewegungsanweisung 10. In diesem Fall gibt die Programmanalyseeinheit 2 die Bewegungsanweisung 10 an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S107) und beendet den Betrieb.If the read instruction does not have the post-change positioning instruction 11 is (No at step S105), the read instruction corresponds to the movement instruction 10 , In this case, the program analyzer gives 2 the movement instruction 10 to the movement instruction determination unit 3 from (step S107) and stops the operation.

Wie oben erläutert, gibt die Programmanalyseeinheit 2 die gelesene Anweisung an den funktionalen Block entsprechend der Anweisung aus, Block für Block, bis die Werkzeugwechselanweisung 12 gelesen wird. Wenn die Werkzeugwechselanweisung 12 gelesen wird, führt die Programmanalyseeinheit 12 ein vorab Abrufen (engl. pre-fetches) der Werkzeugwechselanweisung 12 und der Nach-dem-Wechsel-Positionierungsanweisung 11 durch und gibt kontinuierlich die vorab abgerufenen Anweisungen an die Bewegungsanweisungs-Bestimmungseinheit 3 aus.As explained above, the program analyzer gives 2 the read instruction to the functional block according to the instruction, block by block until the tool change instruction 12 is read. If the tool change instruction 12 is read, the program analyzer performs 12 a pre-fetches of the tool change instruction 12 and the post-change positioning instruction 11 and continuously gives the prefetched instructions to the move instruction determination unit 3 out.

5-1 und 5-2 sind Flussdiagramme zum Erläutern des Betriebs der Bewegungsanweisungs-Bestimmungseinheit 3 in der ersten Ausführungsform. Die Bewegungsanweisungs-Bestimmungseinheit 3 verarbeitet sequentiell, in der Reihenfolge des Empfangs, die Bewegungsanweisung 10 und die Nach-dem-Wechsel-Positionierungsanweisung 11, die von der Programmanalyseeinheit 2 ausgegeben werden. Die Bewegungsanweisungs-Bestimmungseinheit 3 bestimmt zuerst, ob eine Achsenkomponentenanweisung zum Positionieren einer Achse in Beziehung mit einem Werkzeugwechselbetrieb gehalten (engl. retained) wurde (Schritt S201). Die Achsenkomponentenanweisung für die Achse in Bezug auf den Werkzeugwechselbetrieb wurde durch eine Verarbeitung im Schritt S215 gehalten, der später beschrieben wird. 5-1 and 5-2 FIG. 10 are flowcharts for explaining the operation of the movement-instruction determining unit. FIG 3 in the first embodiment. The movement instruction determination unit 3 sequentially processes, in the order of reception, the motion instruction 10 and the post-change positioning instruction 11 provided by the program analysis unit 2 be issued. The movement instruction determination unit 3 first determines whether an axis component instruction for positioning an axis has been retained in relation to a tool change operation (step S201). The axis component instruction for the axis with respect to the tool change operation was held by a processing in step S215 which will be described later.

Wenn die Achsenkomponentenanweisung zur Positionierung der Achse in Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S201), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf das Werkzeugwechsel-Beendigungssignal 16 und bestimmt, ob der Werkzeugwechselbetrieb abgeschlossen wurde (S202). Wenn der Werkzeugwechselbetrieb abgeschlossen wurde (Ja S22), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf die Feedback-Position 15 und bestimmt, ob die Achse in Bezug auf den Werkzeugwechselbetrieb sich bewegt (Schritt S203). Wenn sich die Achse in Bezug auf den Werkzeugwechselbetrieb nicht bewegt (Nein im Schritt S203), gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die gehaltene Achsenkomponentenanweisung an die Interpolationseinheit 4 aus (Schritt S204) und gibt das Zurückhalten der Achsenkomponentenanweisung frei (Schritt S205). Die Interpolationseinheit 4 startet folglich die Ausgabe der Bewegungsgröße 14 für jede Interpolationsperiode in Bezug auf die Achsenkomponentenanweisung.When the axis component instruction for positioning the axis has been held in relation to the tool change operation (Yes in step S201), the move instruction determination unit refers 3 on the tool change completion signal 16 and determines whether the tool change operation has been completed (S202). When the tool change operation has been completed (Yes S22), the movement instruction determination unit refers 3 to the feedback position 15 and determines whether the axis is moving with respect to the tool change operation (step S203). If the axis does not move with respect to the tool change operation (No in step S203), the move instruction determination unit gives 3 the held axis component instruction to the interpolation unit 4 from (step S204) and enables the retention of the axis component instruction (step S205). The interpolation unit 4 thus starts the output of the motion size 14 for each interpolation period with respect to the axis component instruction.

Wenn die Achsenkomponentenanweisung zur Positionierung der Achse in Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S201), wenn der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S202), wenn die Achse in Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Ja im Schritt S203) oder nach der Verarbeitung im Schritt S205, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, ob eine Achsenkomponentenanweisung zum Positionieren einer Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Schritt S206). Die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb wurde durch eine Verarbeitung im Schritt S219 gehalten, die später beschrieben wird.If the axis component instruction for positioning the axis with respect to the tool change operation has not been held (No at step S201), if the tool change operation has not been completed (No at step S202), if the axis does not move with respect to the tool change operation (Yes at step S203) or after the processing in step S205, the movement-instruction determining unit determines 3 whether an axis component instruction for positioning an axis has been held without reference to the tool change operation (step S206). The axis component instruction for positioning the axis without reference to the tool change operation was held by a processing in step S219 which will be described later.

Wenn die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt 206), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf die Feedback-Position 15 und bestimmt, ob die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich bewegt (Schritt S207). Wenn die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S207), gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die gehaltene Achsenkomponentenanweisung an die Interpolationseinheit 4 aus (Schritt S208) und gibt die Zurückhaltung der Achsenkomponentenanweisung frei (Schritt S209).If the axis component instruction for positioning the axis has been held without reference to the tool change operation (Yes in step 206), the move instruction determination unit refers 3 to the feedback position 15 and determines whether the axis is moving without reference to the tool change operation (step S207). If the axis does not move without reference to the tool change operation (No in step S207), the move instruction determination unit gives 3 the held axis component instruction to the interpolation unit 4 from (step S208), and releases the restraint of the axis component instruction (step S209).

In einem Fall, bei dem die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S206), bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, ob oder ob nicht ein Verarbeitungszielblock die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Schritt S210), wenn die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich bewegt (Ja im Schritt S207), oder nach der Verarbeitung im Schritt S209). Es wird vermerkt, dass das Verarbeitungsziel sequentiell in einer Blockeingabe eingestellt wird, die dem Verarbeitungszielblock gemäß Schritt S210 folgt, wie später erläutert wird.In a case where the axis component instruction for positioning the axis has not been held without reference to the tool change operation (No at step S206), the move instruction determination unit determines 3 Whether or not a processing target block is the post-change positioning instruction 11 is (step S210) when the axis moves without referring to the tool change operation (Yes in step S207) or after the processing in step S209). It is noted that the processing target is sequentially set in a block input following the processing target block in step S210, as will be explained later.

Wenn der Verarbeitungszielblock die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S210), bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, ob oder ob nicht der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb enthält (Schritt S211). Wenn der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S211), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf das Werkzeugwechsel-Beendigungssignal 16 und bestimmt, ob der Werkzeugwechselbetrieb abgeschlossen wurde (Schritt S212). Wenn der Werkzeugwechselbetrieb abgeschlossen wurde (Ja im Schritt S211), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf die Feedback-Position 15 und bestimmt, ob die Achse in Bezug auf den Werkzeugwechselbetrieb sich bewegt (Schritt S213). Wenn die Achse in Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S113), gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb, enthalten in dem Verarbeitungszielblock, an die Interpolationseinheit 4 aus (Schritt S214).If the processing target block is the post-change positioning instruction 11 is (Yes in step S210), the movement-instruction determining unit determines 3 whether or not the Processing target block contains the Achsenkomponenteneinweisung for positioning the axis with respect to the tool change operation (step S211). If the processing target block includes the axis component instruction for positioning the axis with respect to the tool change operation (Yes in step S211), the move instruction determination unit refers 3 on the tool change completion signal 16 and determines whether the tool change operation has been completed (step S212). When the tool change operation has been completed (Yes in step S211), the move instruction determination unit refers 3 to the feedback position 15 and determines whether the axis is moving with respect to the tool change operation (step S213). If the axis does not move with respect to the tool change operation (No in step S113), the move instruction determination unit gives 3 the axis component instruction for positioning the axis with respect to the tool change operation included in the processing target block to the interpolation unit 4 off (step S214).

Wenn der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S212), oder wenn sich die Achse in Bezug auf den Werkzeugwechselbetrieb bewegt (Ja im Schritt S213), erhält die Bewegungsanweisungs-Bestimmungseinheit 3 die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb, die in dem Verarbeitungszielblock enthalten ist, ohne die Achsenkomponentenanweisung auszugeben (Schritt S215).If the tool change operation has not been completed (No at step S212), or when the axis moves with respect to the tool change operation (Yes at step S213), the move instruction determination unit obtains 3 the axis component instruction for positioning the axis with respect to the tool change operation included in the processing target block without outputting the axis component instruction (step S215).

Wenn der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb nicht enthält (Nein im Schritt S211), und zwar nach der Verarbeitung im Schritt S214 oder der Verarbeitung im Schritt S215, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, ob der Verarbeitungszielblock die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält (Schritt S216). Wenn der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S216), bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, unter Bezugnahme auf die Feedback-Position 15, ob sich die Achse ohne Bezug auf den Werkzeugwechselbetrieb bewegt (Schritt S217). Wenn sich die Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht bewegt (Nein im Schritt S217), gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb, enthalten in dem Verarbeitungszielblock, an die Interpolationseinheit 4 aus (Schritt S218). Wenn sich die Achse ohne Bezug auf den Werkzeugwechselbetrieb bewegt (Ja im Schritt S217), erhält die Bewegungsanweisungs-Bestimmungseinheit 3 die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb, enthalten in dem Verarbeitungszielblock, ohne eine Ausgabe der Achsenkomponentenanweisung (Schritt S219).When the processing target block does not include the axis component instruction for positioning the axis with respect to the tool change operation (No at step S211) after the processing at step S214 or the processing at step S215, the move instruction determination unit determines 3 whether the processing target block includes the axis component instruction for positioning the axis without reference to the tool change operation (step S216). When the processing target block includes the axis component instruction for positioning the axis without reference to the tool change operation (Yes in step S216), the move instruction determination unit determines 3 , referring to the feedback position 15 whether the axis is moving without reference to the tool change operation (step S217). If the axis does not move without reference to the tool change operation (No in step S217), the move instruction determination unit gives 3 the axis component instruction for positioning the axis without reference to the tool change operation contained in the processing target block to the interpolation unit 4 off (step S218). When the axis moves without reference to the tool change operation (Yes in step S217), the move instruction determination unit obtains 3 the axis component instruction for positioning the axis without reference to the tool change operation included in the processing target block without an output of the axis component instruction (step S219).

Wenn der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht enthält (Nein im Schritt S216), stellt die Bewegungsanweisungs-Bestimmungseinheit 3, nach der Verarbeitung im Schritt S218 oder der Verarbeitung im Schritt S219, einen Block, der dem Verarbeitungszielblock folgt, als das nächste Verarbeitungsziel ein (Schritt S220) und führt die Verarbeitung im Schritt S201 aus.If the processing target block does not include the axis component instruction for positioning the axis without referring to the tool change operation (No in step S216), the move instruction determination unit sets 3 after the processing in step S218 or the processing in step S219, a block following the processing target block, as the next processing target (step S220) and executes the processing in step S201.

Wenn der Verarbeitungszielblock nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S210), das heißt, wenn der Verarbeitungszielblock die Bewegungsanweisung 10 ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, ob alle Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben wurden (Schritt S221). Ein Zustand, bei dem alle Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben wurden, verweist auf einen Zustand, in dem alle Achsenkomponentenanweisungen, die in der Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten sind, ausgegeben wurden. Wenn die Nach-dem-Wechsel-Positionierungsanweisung 11, die noch nicht ausgegeben wurde, vorhanden ist (Nein im Schritt S221), führt die Bewegungsanweisungs-Bestimmungseinheit 3 die Verarbeitung im Schritt S201 aus. Wenn alle Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben wurden (Ja im Schritt S221), verweist die Bewegungsanweisungs-Bestimmungseinheit 3 auf die Feedback-Position 15 und bestimmt, ob die Bewegung der Achsen in Bezug auf die Anweisung bis zu dem vorhergehenden Block (das heißt, der Betrieb bis zu dem vorhergehenden Block) abgeschlossen wurde) (Schritt S222). Wenn die Bewegung der Achse in Bezug auf die Anweisungen bis zu dem vorhergehenden Block nicht abgeschlossen wurde (Nein im Schritt S222), führt die Bewegungsanweisungs-Bestimmungseinheit 3 die Verarbeitung im Schritt S222) erneut aus. Wenn die Bewegung der Achse in Bezug auf die Anweisung bis zu dem vorhergehenden Block abgeschlossen wurde (Ja im Schritt S222), führt die Bewegungsanweisungs-Bestimmungseinheit 3 die Bewegungsanweisung 10 aus, wobei es sich um den Verarbeitungszielblock handelt, an die Interpolationseinheit 4 (Schritt S223), und beendet den Betrieb.If the processing target block is not the post-change positioning instruction 11 is (No at step S210), that is, when the processing target block is the move instruction 10 , determines the motion instruction determination unit 3 See if any post-change positioning instructions 11 have been issued (step S221). A condition in which all post-change positioning instructions 11 indicates a condition in which all of the axis component instructions contained in the post-change positioning instruction 11 are included. If the post-change positioning instruction 11 which has not yet been issued exists (No at step S221), guides the movement instruction determination unit 3 the processing in step S201. If all post-change positioning instructions 11 are issued (Yes in step S221), the movement instruction determination unit refers 3 to the feedback position 15 and determines whether the movement of the axes with respect to the instruction up to the previous block (that is, the operation up to the previous block) has been completed) (step S222). If the movement of the axis with respect to the instructions up to the previous block has not been completed (No at step S222), the move instruction determination unit performs 3 the processing in step S222) again. When the movement of the axis has been completed with respect to the instruction up to the previous block (Yes in step S222), the move instruction determination unit performs 3 the movement instruction 10 , which is the processing target block, to the interpolation unit 4 (Step S223), and ends the operation.

Der Betrieb der numerischen Steuervorrichtung 1 in der ersten Ausführungsform der vorliegenden Erfindung wird insbesondere mit Bezug auf ein spezifisches Beispiel des Bearbeitungsprogramms 7 beschrieben. 6 ist ein Diagramm des spezifischen Beispiels des Bearbeitungsprogramms 7, das bei der Beschreibung in der ersten Ausführungsform verwendet wird. N11 bis N14, beschrieben für Linien an der linken Seite des Bearbeitungsprogramms 7, geben Blocknummern jeweiliger Anweisungen an, die in den Linien beschrieben werden, und diesen entsprechen.The operation of the numerical control device 1 in the first embodiment of the present invention will be particularly with reference to a specific example of the machining program 7 described. 6 is a diagram of the specific example of the machining program 7 which is used in the description in the first embodiment. N11 to N14, described for lines on the left side of the machining program 7 , indicate block numbers of respective instructions described in the lines corresponding to them.

Die Programmanalyseeinheit 2 führt eine im Folgenden erläuterte Verarbeitung an dem in 6 gezeigten Bearbeitungsprogramm 7 aus. Zuerst liest die Programmanalyseeinheit 2 den Nil-Block von dem Bearbeitungsprogramm 7 gemäß der Verarbeitung im Schritt S101. Gemäß der Bestimmungsverarbeitung im Schritt S102, bestimmt die Programmanalyseeinheit 2, dass der N11-Block die Werkzeugwechselanweisung 12 ist (Ja im Schritt S102) und gibt den Nil-Block an die Werkzeugwechsel-Anweisungsausgabeeinheit aus (Schritt S103). Die Programmanalyseeinheit liest den N12-Block, wobei es sich um den nächsten Block handelt, gemäß der Verarbeitung im Schritt S104. Gemäß der Bestimmungsverarbeitung im Schritt S105, bestimmt die Programmanalyseeinheit 2, dass der N12-Block die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S105) und gibt den N12-Block an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S106).The program analysis unit 2 performs a processing explained below on the in 6 shown machining program 7 out. First, the program analyzer reads 2 the Nile block from the editing program 7 according to the processing in step S101. According to the determination processing in step S102, the program analysis unit determines 2 in that the N11 block is the tool change instruction 12 is (Yes in step S102) and outputs the Nil block to the tool change instruction output unit (step S103). The program analysis unit reads the N12 block, which is the next block, according to the processing in step S104. According to the determination processing in step S105, the program analysis unit determines 2 in that the N12 block is the post-change positioning instruction 11 is (Yes in step S105) and gives the N12 block to the move instruction determination unit 3 from (step S106).

Nach der Ausgabe des N12-Blocks liest die Programmanalyseeinheit 2 den N13-Block gemäß der Verarbeitung im Schritt S104. Gemäß der Bestimmungsverarbeitung im Schritt S105 bestimmt die Programmanalyseeinheit 2, dass der N13-Block die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S105) und gibt den N13-Block an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S106). Die Programmanalyseeinheit 2 liest den N14-Block gemäß der Verarbeitung im Schritt S104. Der N14-Block ist eine Schneideanweisung, das heißt, die Bewegungsanweisung 10. Gemäß der Bestimmungsverarbeitung im Schritt S105, bestimmt die Programmanalyseeinheit 2 daher, dass der N14-Block nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S105) und gibt den N14-Block an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S107).After the output of the N12 block, the program analyzer reads 2 the N13 block according to the processing in step S104. According to the determination processing in step S105, the program analysis unit determines 2 in that the N13 block is the post-change positioning instruction 11 is (Yes in step S105) and gives the N13 block to the movement instruction determination unit 3 from (step S106). The program analysis unit 2 reads the N14 block according to the processing in step S104. The N14 block is a cutting instruction, that is, the move instruction 10 , According to the determination processing in step S105, the program analysis unit determines 2 therefore, the N14 block does not have the post-change positioning instruction 11 is (No at step S105) and gives the N14 block to the movement instruction determination unit 3 from (step S107).

Wie oben erläutert, gibt die Programmanalyseeinheit 2 den N11-Block, wobei es sich um die Werkzeugwechselanweisung 12 handelt, an die Werkzeugwechsel-Anweisungsausgabeeinheit 5 aus, gibt den N12-Block und den N13-Block, wobei es sich um die Nach-dem-Wechsel-Positionierungsanweisungen 11 handelt, an die Bewegungsanweisungs-Bestimmungseinheit 3 aus, und gibt den N14-Block, wobei es sich um die Bewegungsanweisung 10 handelt, an die Bewegungsanweisungs-Bestimmungseinheit 3 aus.As explained above, the program analyzer gives 2 the N11 block, which is the tool change instruction 12 to the tool change instruction issue unit 5 indicates the N12 block and the N13 block, which are the post-change positioning instructions 11 to the movement instruction determination unit 3 off, and gives the N14 block, which is the move instruction 10 to the movement instruction determination unit 3 out.

Die Bewegungsanweisungs-Bestimmungseinheit 3 führt eine im Folgenden erläuterte Verarbeitung an den N12-Block bis N14-Block aus, die von der Programmanalyseeinheit 2 gesendet werden. Gemäß der Bestimmungsverarbeitung am Schritt S201 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 zuerst, dass die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S201). Gemäß der Bestimmungsverarbeitung im Schritt S206, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S206). Gemäß der Verarbeitung im Schritt S210, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass der N12-Block die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S110). Der N12-Block ist nur durch eine Achsenkomponentenanweisung zum Positionieren der Z-Achse ausgebildet, wobei es sich um die Achse im Bezug auf den Werkzeugwechselbetrieb handelt. Gemäß der Bestimmungsverarbeitung im Schritt S211, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass der Verarbeitungszielblock (der N12-Block) die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S211). Wenn der Werkzeugwechselbetrieb nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 gemäß der Bestimmungsverarbeitung im Schritt S212, dass der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S212) und erhält die Achsenkomponentenanweisung, die den N12-Block ausbildet (Schritt S215). Gemäß der Bestimmungsverarbeitung im Schritt S216, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht enthält (Nein im Schritt S216), stellt den folgenden N13-Block als den Verarbeitungszielblock ein, und führt die Bestimmungsverarbeitung im Schritt S201 aus.The movement instruction determination unit 3 performs processing explained below to the N12 block to N14 block generated by the program analysis unit 2 be sent. According to the determination processing at step S201, the movement-instruction determining unit determines 3 first, that the axis component instruction for positioning the axis with respect to the tool change operation has not been held (No at step S201). According to the determination processing in step S206, the movement-instruction determining unit determines 3 in that the axis component instruction for positioning the axis has not been held without reference to the tool change operation (No at step S206). According to the processing in step S210, the movement-instruction determining unit determines 3 in that the N12 block is the post-change positioning instruction 11 is (Yes in step S110). The N12 block is formed only by an axis component instruction for positioning the Z axis, which is the axis with respect to the tool change operation. According to the determination processing in step S211, the movement-instruction determining unit determines 3 therefore, the processing target block (the N12 block) includes the axis component instruction for positioning the axis with respect to the tool change operation (Yes in step S211). If the tool change operation has not been completed, the move instruction determination unit determines 3 according to the determination processing in step S212 that the tool change operation has not been completed (No in step S212), and obtains the axis component instruction forming the N12 block (step S215). According to the determination processing in step S216, the movement-instruction determining unit determines 3 in that the processing target block does not include the axis component instruction for positioning the axis without reference to the tool change operation (No in step S216), sets the following N13 block as the processing target block, and executes the determination processing in step S201.

Zu diesem Zeitpunkt ist nur die Achsenkomponentenanweisung für die Z-Achse, die den N11-Block ausbildet, in dem beibehaltenen Zustand engl. retained state). Gemäß der Bestimmungsverarbeitung im Schritt S201 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass die Achsenkomponentenanweisungen zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb beibehalten wurde (Ja im Schritt S201). Wenn der Werkzeugwechselbetrieb noch nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 gemäß der Bestimmungsverarbeitung im Schritt S202, dass der Werkzeugwechselbetrieb noch nicht abgeschlossen wurde (Nein im Schritt S202). Gemäß der Bestimmungsverarbeitung im Schritt S06, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S206). Der N13-Block, wobei es sich um den Verarbeitungszielblock handelt, ist die Nach-dem-Wechsel-Positionierungsanweisung 11. Gemäß der Bestimmungsverarbeitung im Schritt S210 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass der N13-Block die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S210). Der N13-Block ist durch Achsenkomponentenanweisungen zum jeweiligen Positionieren der X-Achse und der Y-Achse ausgebildet, wobei es sich um Achsen ohne Bezug auf den Werkzeugwechselbetrieb handelt. Gemäß der Bestimmungsverarbeitung im Schritt S211 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse im Bezug auf den Werkzeugwechselbetrieb nicht enthält (Nein im Schritt S211). Gemäß der Bestimmungsverarbeitung im Schritt S216 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass der Verarbeitungszielblock die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S216). Gemäß der Bestimmungsverarbeitung im Schritt S217, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S217). Gemäß der Verarbeitung im Schritt S218 gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die Achsenkomponentenanweisungen für die X-Achse und die Y-Achse, die den N13-Block ausbilden, an die Interpolationseinheit 4 aus. Gemäß der Verarbeitung im Schritt S220 stellt die Bewegungsanweisungs-Bestimmungseinheit 3 den N14-Block als den Verarbeitungszielblock ein und führt die Verarbeitung im Schritt S201 aus.At this time, only the axis component instruction for the Z axis forming the N11 block is in the preserved state. retained state). According to the determination processing in step S201, the movement-instruction determining unit determines 3 therefore, the axis component instructions for positioning the axis with respect to the tool change operation have been maintained (Yes in step S201). If the tool change operation has not been completed yet, the move instruction determination unit determines 3 according to the Determination processing in step S202 that the tool change operation has not yet been completed (No in step S202). According to the determination processing in step S06, the movement-instruction determining unit determines 3 in that the axis component instruction for positioning the axis has not been held without reference to the tool change operation (No at step S206). The N13 block, which is the processing target block, is the post-change positioning instruction 11 , According to the determination processing in step S210, the movement-instruction determining unit determines 3 therefore, the N13 block is the post-change positioning instruction 11 is (Yes in step S210). The N13 block is formed by axis component instructions for respectively positioning the X-axis and the Y-axis, which are axes unrelated to the tool change operation. According to the determination processing in step S211, the movement-instruction determining unit determines 3 therefore, the processing target block does not include the axis component instruction for positioning the axis with respect to the tool change operation (No at step S211). According to the determination processing in step S216, the movement-instruction determining unit determines 3 in that the processing target block includes the axis component instruction for positioning the axis without reference to the tool change operation (Yes in step S216). According to the determination processing in step S217, the movement-instruction determining unit determines 3 in that the axis does not move without reference to the tool change operation (No at step S217). According to the processing in step S218, the movement-instruction determining unit outputs 3 the axis component instructions for the X-axis and the Y-axis, which form the N13 block, to the interpolation unit 4 out. According to the processing in step S220, the movement instruction determination unit 3 enter the N14 block as the processing target block and execute the processing in step S201.

Zu diesem Zeitpunkt ist die Achsenkomponentenanweisung für die Z-Achse, die den N11-Block ausbildet, noch immer in dem beibehaltenen Zustand. Gemäß der Verarbeitung im Schritt S201 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass die Achsenkomponentenanweisung für die Achse in Bezug auf den Werkzeugwechselbetrieb beibehalten bzw. gehalten wurde (Ja im Schritt S101). Wenn der Werkzeugwechselbetrieb noch nicht abgeschlossen ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 gemäß der Bestimmungsverarbeitung im Schritt S202, dass der Werkzeugwechselbetrieb noch nicht abgeschlossen wurde (Nein im Schritt S202). Die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb wurde nicht beibehalten. Gemäß der Bestimmungsverarbeitung im Schritt S206, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht beibehalten bzw. gehalten wurde (Nein im Schritt S206). Der N14-Block ist die Bewegungsanweisung 10. Gemäß der Bestimmungsverarbeitung im Schritt S210 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass der N14-Block nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S210). Zu diesem Zeitpunkt ist die Achsenkomponentenanweisung für die Z-Achse, die den N11-Block ausbildet, noch immer in dem beibehaltenen Zustand. In der Bestimmungsverarbeitung im Schritt S221 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass die Nach-dem-Wechsel-Positionierungsanweisung 11, die noch nicht ausgegeben wurde, vorhanden ist (Nein im Schritt S211) und führt die Bestimmungsverarbeitung im Schritt S201 aus.At this time, the axis component instruction for the Z axis forming the N11 block is still in the preserved state. According to the processing in step S201, the movement-instruction determining unit determines 3 therefore, the axis component instruction for the axis has been maintained with respect to the tool change operation (Yes in step S101). When the tool change operation is not completed yet, the move instruction determination unit determines 3 according to the determination processing in step S202, that the tool change operation has not yet been completed (No in step S202). The axis component instruction for positioning the axis without reference to the tool change operation has not been retained. According to the determination processing in step S206, the movement-instruction determining unit determines 3 therefore, the axis component instruction for positioning the axis without reference to the tool change operation has not been kept (No at step S206). The N14 block is the move instruction 10 , According to the determination processing in step S210, the movement-instruction determining unit determines 3 therefore, the N14 block does not have the post-change positioning instruction 11 is (No in step S210). At this time, the axis component instruction for the Z axis forming the N11 block is still in the preserved state. In the determination processing in step S221, the movement-instruction determining unit determines 3 therefore, the post-change positioning instruction 11 which has not yet been issued exists (No in step S211) and executes the determination processing in step S201.

Gemäß der Verarbeitung im Schritt S201 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 anschließend, dass die Achsenkomponentenanweisung für die Achse mit Bezug auf den Werkzeugwechselbetrieb beibehalten bzw. gehalten wurde (Ja im Schritt S201). Wenn der Werkzeugwechselbetrieb abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 gemäß der Bestimmungsverarbeitung im Schritt S202, dass der Werkzeugwechselbetrieb abgeschlossen wurde (Ja im Schritt S202). Gemäß der Bestimmungsverarbeitung im Schritt S203, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass die Achse mit Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S203), gibt die gehaltene Achsenkomponentenanweisung für die Z-Achse an die Interpolationseinheit 4 aus (Schritt S204), und gibt das Zurückhalten der Achsenkomponentenanweisung für die Z-Achse frei (Schritt S205). Der N14-Block ist die Bewegungsanweisung 10. Gemäß der Bestimmungsverarbeitung im Schritt S210 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3 daher, dass der N14-Block, wobei es sich um den Verarbeitungszielblock handelt, nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S110). In der Bestimmungsverarbeitung im Schritt S121 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, dass alle Nach-dem-Wechsel-Positionierungsanweisungen 11 bereits ausgegeben wurden (Ja im Schritt S211). Durch Wiederholen der Bestimmungsverarbeitung im Schritt S222, wartet die Bewegungsanweisungs-Bestimmungseinheit 3 darauf, dass die Bewegung der Achsen für den Nil-Block bis zu dem N13-Block abgeschlossen ist. Nach der Bewegungsbeendigung gibt die Bewegungsanweisungs-Bestimmungseinheit 3 die Schneideanweisung für den N14-Block, wobei es sich um die Bewegungsanweisung 10 handelt, an die Interpolationseinheit 4 aus (Schritt S223) und beendet den Betrieb.According to the processing in step S201, the movement-instruction determining unit determines 3 subsequently, the axis component instruction for the axis has been maintained with respect to the tool change operation (Yes in step S201). When the tool change operation has been completed, the move instruction determination unit determines 3 according to the determination processing in step S202 that the tool change operation has been completed (Yes in step S202). According to the determination processing in step S203, the movement-instruction determining unit determines 3 in that the axis with respect to the tool change operation does not move (No at step S203), outputs the held axis component instruction for the Z axis to the interpolation unit 4 from (step S204), and releases the retention of the axis component instruction for the Z-axis (step S205). The N14 block is the move instruction 10 , According to the determination processing in step S210, the movement-instruction determining unit determines 3 therefore, the N14 block, which is the processing target block, is not the post-change positioning instruction 11 is (No in step S110). In the determination processing in step S121, the movement-instruction determining unit determines 3 that all post-change positioning instructions 11 already issued (Yes in step S211). By repeating the determination processing in step S222, the movement-instruction determining unit waits 3 that the movement of the axes for the Nile block is completed up to the N13 block. After the movement completion, the movement instruction determination unit gives 3 the cutting instruction for the N14 block, which is the movement instruction 10 to the interpolation unit 4 from (step S223) and stops the operation.

7-1 ist ein Zeitdiagramm zur Erläuterung von Operationen für die Achsen, die durchgeführt werden, wenn die numerische Steuervorrichtung 1 das in 6 gezeigte Bearbeitungsprogramm 7 ausführt. In 7-2, als ein Vergleichsbeispiel der ersten Ausführungsform, ist ein Zeitdiagramm gezeigt, das Operationen für die Achsen erläutert, die durchgeführt werden, wenn das Bearbeitungsprogramm 7 sequentiell für jeden der Blöcke ausgeführt wird. Mit der numerischen Steuervorrichtung 1 gemäß der ersten Ausführungsform wird, wie in der Fig. gezeigt, der Positionierungsbetrieb (N13) für die X-Achse und die Y-Achse simultan mit dem Werkzeugwechselbetrieb (N11) gestartet. Der Positionierungsbetrieb (N12) für die Z-Achse wird nach Beendigung des Werkzeugwechsels (N11) gestartet. Der Schneidebetrieb (N14) für die X-Achse wird nach Beendigung des Positionierungsbetriebs (N13) für die Y-Achse und des Positionierungsbetriebs (N12) für die Z-Achse gestartet. Gemäß diesem Zeitdiagramm wird ersichtlich, dass der Positionierungsbetrieb (N13) parallel während der Ausführung des Werkzeugwechselbetriebs (N11) ausgeführt wird, und eine Werkzeugwechselzeit effektiv verwendet wird. Statt dem Positionierungsbetrieb (N12) für die Z-Achse, wobei es sich um die Achse in Bezug auf den Werkzeugwechselbetrieb handelt, wird der Positionierungsbetrieb (N13) für die X-Achse oder die Y-Achse, wobei es sich um die Achsen ohne Bezug auf den Werkzeugwechselbetrieb handelt, parallel mit dem Werkzeugwechselbetrieb (N11) ausgeführt. Es ist daher möglich, eine Interferenz eines Werkzeugs und eines Werkstücks zu verhindern. Gemäß dem Vergleichsbeispiel ist andererseits ersichtlich, dass eine längere Zeit erforderlich ist, als wenn die numerische Steuervorrichtung 1, für die erste Ausführungsform angewendet wird, das Bearbeitungsprogramm 7 ausführt, da der N11-Block bis N14-Block sequentiell ausgeführt werden. Durch Anwenden der ersten Ausführungsform für die numerische Steuervorrichtung ist es daher möglich, die Werkzeugwechselzeit effektiv zu verwenden, während eine Interferenz eines Werkzeugs und eines Werkstücks verhindert wird, sodass es möglich ist, eine Bearbeitungszeit verglichen mit dem Vergleichsbeispiel zu reduzieren. 7-1 FIG. 13 is a timing chart for explaining operations for the axes performed when the numerical control device. FIG 1 this in 6 shown processing program 7 performs. In 7-2 As a comparative example of the first embodiment, a timing chart explaining operations for the axes performed when the machining program is shown is shown 7 is executed sequentially for each of the blocks. With the numerical control device 1 According to the first embodiment, as shown in the figure, the positioning operation (N13) for the X-axis and the Y-axis is started simultaneously with the tool change operation (N11). The positioning operation (N12) for the Z axis is started after the tool change (N11) is completed. The X axis cutting operation (N14) is started after completion of the Y axis positioning operation (N13) and the Z axis positioning operation (N12). According to this time chart, it can be seen that the positioning operation (N13) is executed in parallel during the execution of the tool change operation (N11), and a tool change time is effectively used. Instead of the positioning operation (N12) for the Z axis, which is the axis with respect to the tool change operation, the positioning operation (N13) becomes the X axis or the Y axis, which are the unrelated axes on the tool change operation, executed in parallel with the tool change operation (N11). It is therefore possible to prevent interference of a tool and a workpiece. On the other hand, according to the comparative example, it is understood that a longer time is required than when the numerical control device 1 , applied to the first embodiment, the machining program 7 because the N11 block is executed sequentially until the N14 block. Therefore, by applying the first embodiment to the numerical control apparatus, it is possible to effectively use the tool changing time while preventing interference of a tool and a workpiece, so that it is possible to reduce a machining time as compared with the comparative example.

Es wird vermerkt, dass in der obenstehenden Beschreibung das in 2 gezeigte Maschinenkonfigurationsbeispiel als das Maschinenkonfigurationsbeispiel der Werkzeugmaschine erläutert wird, die durch die numerische Steuervorrichtung 1 gesteuert wird. Die numerische Steuervorrichtung 1 kann jedoch jede Werkzeugmaschine steuern, solang ein Werkzeugwechsel in der Werkzeugmaschine möglich ist.It is noted that in the above description the in 2 is shown as the machine configuration example of the machine tool explained by the numerical control device 1 is controlled. The numerical control device 1 however, can control any machine tool as long as a tool change is possible in the machine tool.

Gemäß der ersten Ausführungsform enthält die numerische Steuervorrichtung 1, wie oben beschrieben, die Programmanalyseeinheit 2, die konfiguriert ist zum vorab Abrufen der Werkzeugwechselanweisung 12 und der Nach-dem-Wechsel-Positionierungsanweisung 11 von dem Bearbeitungsprogramm 7 und die Anweisungen ausgibt, sowie die Werkzeugwechsel-Anweisungsausgabeeinheit 5, die konfiguriert ist, zu bewirken, dass auf Grundlage der Werkzeugwechselanweisung 12, die durch die Programmanalyseeinheit 2 ausgegeben wird, die Werkzeugmaschine 1 den Werkzeugwechselbetrieb ausführt, sowie die Bewegungsanweisungs-Bestimmungseinheit 3 und die Interpolationseinheit 4, konfiguriert zum Starten, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11, die durch die Programmanalyseeinheit 2 ausgegeben wird, die Achsenkomponentenanweisung zum Positionieren einer Achse in Bezug auf den Werkzeugwechselbetrieb ist, zum Warten auf die Beendigung des Werkzeugwechselbetriebs, zum Steuern der Achse auf Grundlage der Achsenkomponentenanweisung und zum Warten, wenn die durch die Programmanalyseeinheit 2 ausgegebene Nach-dem-Wechsel-Positionierungsanweisung 11 eine Achsenkomponentenanweisung zum Positionieren einer Achse ohne Bezug auf den Werkzeugwechselbetrieb ist, ohne auf die Beendigung des Werkzeugwechselbetriebs zu warten, einer Steuerung der Achse auf Grundlage der Achsenkomponentenanweisung. Die numerische Steuervorrichtung 1 kann daher eine Werkzeugwechselzeit effizient nutzen, während eine Interferenz des Werkzeugs 102 und eines Werkstücks verhindert wird.According to the first embodiment, the numerical control device includes 1 as described above, the program analysis unit 2 , which is configured to pre-fetch the tool change instruction 12 and the post-change positioning instruction 11 from the machining program 7 and outputs the instructions, as well as the tool change instruction issue unit 5 that is configured to effect based on the tool change instruction 12 by the program analysis unit 2 is issued, the machine tool 1 performs the tool change operation, and the movement instruction determination unit 3 and the interpolation unit 4 configured to start when the post-change positioning instruction 11 by the program analysis unit 2 which is the axis component instruction for positioning an axis with respect to the tool change operation, waiting for the completion of the tool change operation, controlling the axis based on the axis component instruction, and waiting when being executed by the program analysis unit 2 issued post-change positioning instruction 11 An axis component instruction for positioning an axis without reference to the tool change operation is, without waiting for the completion of the tool change operation, to control the axis based on the axis component instruction. The numerical control device 1 Therefore, it can efficiently use a tool change time while interfering with the tool 102 and a workpiece is prevented.

Die Anweisungsbestimmungseinheit 3 und die Interpolationseinheit 4 sind konfiguriert zum Starten, wenn die durch die Programmanalyseeinheit 2 ausgegebene Nach-dem-Wechsel-Positionierungsanweisung 11 eine Achsenkomponentenanweisung zum Positionieren einer Achse in Bezug auf einen Werkzeugwechselbetrieb enthält und eine Achsenkomponentenanweisung zum Positionieren einer Achse ohne Bezug auf den Werkzeugwechselbetrieb, und Warten auf die Beendigung des Werkzeugwechselbetriebs, einer Steuerung auf Grundlage der Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb, die in der Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist, und zum Starten, ohne auf die Beendigung des Werkzeugwechselbetriebs zu warten, einer Steuerung auf Grundlage der Achsenkomponentenanweisung zum Positionieren der Achsen ohne Bezug auf den Werkzeugwechselbetrieb, die in der Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist. Selbst dann, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11 die Achsenkomponentenanweisung zum Positionieren der Achsen in Bezug auf den Werkzeugwechselbetrieb und die Achsenkomponentenanweisung zum Positionieren der Achsen ohne Bezug auf den Werkzeugwechselbetrieb enthält, kann die numerische Steuervorrichtung 1 daher einen Zeitpunkt für den Steuerungsstart für jede der Achsen anpassen. Es ist daher möglich, eine Werkzeugwechselzeit effektiv zu nutzen.The instruction determination unit 3 and the interpolation unit 4 are configured to be started by the program analyzer 2 issued post-change positioning instruction 11 an axis component instruction for positioning an axis with respect to a tool change operation and an axis component instruction for positioning an axis without reference to the tool change operation, and waiting for the completion of the tool change operation, a control based on the axis component instruction for positioning the axis with respect to the tool change operation, in the post-change positioning instruction 11 and to start without waiting for the tool change operation to complete, a control based on the axis component instruction for positioning the axes without referring to the tool change operation included in the post-change positioning instruction 11 is included. Even if the post-change positioning instruction 11 the axis component instruction for positioning the axes with respect to the tool change operation and the axis component instruction for positioning the axes without reference to contains the tool change operation, the numerical control device 1 therefore, adjust a timing for the control start for each of the axes. It is therefore possible to effectively use a tool changing time.

Zweite AusführungsformSecond embodiment

Bevor der Werkzeugwechselbetrieb ausgeführt wird, wird das Werkzeug, wie oben beschrieben, zu einer Werkzeugwechselposition an der Z-Achse bewegt. Eine numerische Steuervorrichtung in einer zweiten Ausführungsform startet einen Positionierungsbetrieb für eine Achse ohne Bezug auf einen Werkzeugwechselbetrieb, wenn ein Werkzeug eine Position erreicht, die vorab eingestellt ist, und an der es garantiert ist, dass das Werkzeug und das Werkstück nicht miteinander interferieren, und zwar auf halben Weg bei der Bewegung des Werkzeugs zu der Werkzeugwechselposition. Es ist daher möglich, eine Bearbeitungszeit weiter zu reduzieren, verglichen mit der numerischen Steuervorrichtung 1 der ersten Ausführungsform.Before the tool change operation is performed, the tool is moved to a tool change position on the Z axis as described above. A numerical control apparatus in a second embodiment starts a positioning operation for an axis without referring to a tool change operation when a tool reaches a position that is set in advance, and at which it is guaranteed that the tool and the workpiece do not interfere with each other halfway through the movement of the tool to the tool change position. It is therefore possible to further reduce a processing time as compared with the numerical control device 1 the first embodiment.

8 ist ein Diagramm der Konfiguration der numerischen Steuervorrichtung gemäß der zweiten Ausführungsform der vorliegenden Erfindung. Es wird vermerkt, dass unter den Komponenten, die in einer numerischen Steuervorrichtung 1a in der zweiten Ausführungsform enthalten sind, Komponenten, die gleiche Funktionen wie die Funktionen in der ersten Ausführungsform aufweisen, durch die gleichen Bezugszeichen bezeichnet werden, und eine redundante Erläuterung der Komponenten vermieden wird. 8th FIG. 10 is a diagram of the configuration of the numerical control apparatus according to the second embodiment of the present invention. FIG. It is noted that among the components used in a numerical control device 1a are included in the second embodiment, components having the same functions as the functions in the first embodiment are denoted by the same reference numerals, and a redundant explanation of the components is avoided.

Die numerische Steuervorrichtung 1a in der zweiten Ausführungsform enthält eine Programmanalyseeinheit 18, eine Bewegungsanweisungs-Bestimmungseinheit 19, die Interpolationseinheit 4, eine Werkzeugwechsel-Anweisungsausgabeeinheit 20 und eine Parameterspeichereinheit 21.The numerical control device 1a in the second embodiment includes a program analysis unit 18 a movement instruction determination unit 19 , the interpolation unit 4 , a tool change instruction issue unit 20 and a parameter storage unit 21 ,

Parameterspeichereinheit 21 speichert eine Interferenzvermeidungs-Bereichsinformation 24 neben der Maschinenstrukturinformation 17. Die Interferenzvermeidungs-Bereichsinformation 24 ist eine Information, die einen Betriebsbereich (einen Interferenzvermeidungsbereich) einer Achse in Bezug auf einen Werkzeugwechselbetrieb beschreibt, in dem garantiert ist, dass das Werkzeug 102 und das Werkstück nicht miteinander interferieren.Parameter storage unit 21 stores interference avoidance area information 24 in addition to the machine structure information 17 , The interference avoidance area information 24 is an information describing an operating range (an interference avoidance range) of an axis with respect to a tool change operation in which it is guaranteed that the tool 102 and the workpiece do not interfere with each other.

Die Programmanalyseeinheit 18 liest das Bearbeitungsprogramm 7 Block für Block, bis die Programmanalyseeinheit 18 die Werkzeugwechselanweisung 12 erreicht. Nach dem Lesen einer Werkzeugwechselpositions-Return-Anweisung 22, gibt die Programmanalyseeinheit 18 die Werkzeugwechselpositions-Return-Anweisung 22 an die Bewegungsanweisungs-Bestimmungseinheit 19 aus. Die Werkzeugwechselpositions-Return-Anweisung 22 ist eine Anweisung zum Bewegen des Werkzeugs 102 (mit anderen Worten, eine Achse mit Bezug auf den Werkzeugwechselbetrieb) zu einer Werkzeugwechselposition. Es wird vermerkt, dass ein Betrieb zum Bewegen des Werkzeugs 102 zu der Werkzeugwechselposition als ein Wechselpositions-Return-Betrieb bezeichnet wird.The program analysis unit 18 reads the machining program 7 Block by block until the program analyzer unit 18 the tool change instruction 12 reached. After reading a tool change position return instruction 22 , gives the program analysis unit 18 the tool change position return instruction 22 to the movement instruction determination unit 19 out. The tool change position return instruction 22 is an instruction to move the tool 102 (In other words, an axis with respect to the tool change operation) to a tool change position. It is noted that a operation for moving the tool 102 to the tool change position is called a change position return operation.

Nach dem Lesen der Werkzeugwechselanweisung 12 führt die Programmanalyseeinheit 18 ein vorab Abrufen von Blöcken nach der Werkzeugwechselanweisung 12 durch, bis die Programmanalyseeinheit 18 eine Anweisung erreicht, bei der es sich nicht um eine Positionierungsanweisung handelt. Die Programmanalyseeinheit 18 gibt, unter den eingelesenen Anweisungen, die Bewegungsanweisung 10 und die Nach-dem-Wechsel-Positionierungsanweisung 11 an die Bewegungsanweisungs-Bestimmungseinheit 19 aus und gibt die Werkzeugwechselanweisung 12 an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus.After reading the tool change instruction 12 leads the program analysis unit 18 a prefetching of blocks after the tool change instruction 12 through, until the program analysis unit 18 reaches an instruction that is not a positioning instruction. The program analysis unit 18 gives, under the read instructions, the movement instruction 10 and the post-change positioning instruction 11 to the movement instruction determination unit 19 and gives the tool change instruction 12 to the tool change instruction issue unit 20 out.

Wenn die Werkzeugwechsel-Positions-Return-Anweisung 22 eingegeben wird, gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Bewegungsanweisung 13 für den Wechselpositions-Return-Betrieb an die Interpolationseinheit 4 aus. Während der Ausführung des Wechsel-Positions-Return-Betriebs gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Nach-dem-Wechsel-Positionierungsanweisung 11 aus, die parallel ausgeführt werden kann, wenn die Achse in Bezug auf den Werkzeugwechselbetrieb eine Position erreicht, die gemäß der Interferenzvermeidungs-Bereichsinformation 24 bestimmt wird. Wenn der Wechsel-Positions-Return-Betrieb abgeschlossen wurde, gibt die Bewegungsanweisungs-Bestimmungseinheit 19 ein Werkzeugwechsel-Positions-Return-Beendigungssignal 23 an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus.When the tool change position return statement 22 is inputted, gives the move instruction determination unit 19 the movement instruction 13 for the exchange position return operation to the interpolation unit 4 out. During the execution of the change position return operation, the move instruction determination unit gives 19 the post-change positioning instruction 11 which can be executed in parallel when the axis reaches a position with respect to the tool change operation, according to the interference avoidance area information 24 is determined. When the change position return operation has been completed, the move instruction determination unit gives 19 a tool change position return completion signal 23 to the tool change instruction issue unit 20 out.

In Bezug auf die Bewegungsanweisung 10 gibt die Bewegungsanweisungs-Bestimmungseinheit 19 Achsenkomponentenanweisung, die in der Bewegungsanweisung 10 enthalten sind, an die Interpolationseinheit 4 jeweils als Bewegungsanweisungen 13 aus. In Bezug auf die Nach-dem-Wechsel-Positionierungsanweisung 11, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 3, auf Grundlage der in der Speichereinheit 21 gespeicherten Maschinenstrukturinformation 17, für jede der Achsenkomponentenanweisungen, ob eine angewiesene Achse mit dem Werkzeugwechselbetrieb in Beziehung steht. Wenn die angewiesene Achse mit dem Werkzeugwechselbetrieb in Beziehung steht, gibt die Bewegungsanweisungs-Bestimmungseinheit 19, wartend auf die Beendigung des Werkzeugwechselbetriebs und dann, wenn die angewiesene Achse nicht mit dem Werkzeugwechselbetrieb in Beziehung steht, die Achsenkomponentenanweisung an die Interpolationseinheit 4 als die Bewegungsanweisung 13 aus. Es wird vermerkt, dass die Bewegungsanweisungs-Bestimmungseinheit 3 erkennen kann, ob sich die Achsen bewegen oder sich nicht bewegen, indem die Feedback-Position 15 überprüft wird, die durch einen Servoverstärker 8 ausgegeben wird.Regarding the movement instruction 10 gives the move instruction determination unit 19 Axis component statement in the motion statement 10 are included, to the interpolation unit 4 each as movement instructions 13 out. Regarding the post-change positioning instruction 11 , determines the motion instruction determination unit 3 , based on in the storage unit 21 stored machine structure information 17 , for each of the axis component instructions, whether a commanded axis is related to tool change operation. When the instructed axis is related to the tool change operation, the move instruction determination unit gives 19 waiting for the tool change operation to finish and when the commanded axis is not related to the tool change operation, the axis component instruction to the interpolation unit 4 as the movement instruction 13 out. It is noted that the movement instruction determination unit 3 can detect if the axes are moving or not moving by the feedback position 15 is checked by a servo amplifier 8th is issued.

Wenn die Werkzeugwechselanweisung 12 von der Programmanalyseeinheit 18 eingegeben wird, nach Beendigung des Wechsel-Positions-Return-Betriebs, weist die Werkzeugwechsel-Anweisungsausgabeeinheit 20 die Werkzeugwechselvorrichtung 9, die in der Werkzeugmaschine 100 enthalten ist, an, ein Werkzeug zu wechseln. Die Werkzeugwechsel-Anweisungsausgabeeinheit 20 bestimmt, unter Bezugnahme auf das Werkzeugwechsel-Positions-Return-Beendigungssignal 23, ob der Wechsel-Positions-Return-Betrieb abgeschlossen wurde. Wenn der Wechsel des Werkzeugs abgeschlossen wurde, gibt die Werkzeugwechselvorrichtung 9 das Werkzeugwechsel-Beendigungssignal 16 in die Bewegungsanweisungs-Bestimmungseinheit 19 ein.If the tool change instruction 12 from the program analysis unit 18 is entered after completion of the change position return operation, the tool change instruction issue unit instructs 20 the tool changing device 9 working in the machine tool 100 is included, to change a tool. The tool change instruction issue unit 20 determined with reference to the tool change position return completion signal 23 whether the exchange position return operation has been completed. When the change of the tool has been completed, the tool changer gives 9 the tool change completion signal 16 in the movement instruction determination unit 19 one.

9 ist ein Flussdiagramm zur Erläuterung des Betriebs der Programmanalyseeinheit 18 gemäß der zweiten Ausführungsform. Wie in der Figur gezeigt, liest die Programmanalyseeinheit 18 zuerst eine Anweisung, die in dem Bearbeitungsprogramm 7 beschrieben ist, um einen Block aus (Schritt S301). Die Programmanalyseeinheit 18 bestimmt, ob die ausgelesene Anweisung die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Schritt S302). Wenn die ausgelesene Anweisung nicht die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Nein im Schritt S302), führt die Programmanalyseeinheit 18 eine Verarbeitung im Schritt S310 aus, wie später beschrieben wird. 9 Fig. 10 is a flowchart for explaining the operation of the program analysis unit 18 according to the second embodiment. As shown in the figure, the program analysis unit reads 18 First, a statement in the editing program 7 is described by one block (step S301). The program analysis unit 18 determines whether the read statement is the tool change position return statement 22 is (step S302). If the read statement does not return the tool change position return statement 22 is (No at step S302), the program analysis unit executes 18 processing in step S310, as will be described later.

Wenn die ausgelesene Anweisung die Werkzeugwechselpositions-Return-Anweisung 22 ist (Ja im Schritt S302), gibt die Programmanalyseeinheit 18 die Werkzeugwechsel-Positions-Return-Anweisung 22 an die Bewegungsanweisungs-Bestimmungseinheit 19 aus (Schritt S303). Die Programmanalyseeinheit 18 liest den nächsten Block aus (Schritt S304) und bestimmt, ob die ausgelesene Anweisung die Werkzeugwechselanweisung 12 ist (S305) ist. Wenn die ausgelesene Anweisung nicht die Werkzeugwechselanweisung 12 ist (Nein im Schritt S305), führt die Programmanalyseeinheit 18 die Verarbeitung an Schritt S310 aus.If the read statement contains the tool change position return instruction 22 is (Yes in step S302), the program analysis unit gives 18 the tool change position return statement 22 to the movement instruction determination unit 19 from (step S303). The program analysis unit 18 reads out the next block (step S304) and determines whether the read instruction is the tool change instruction 12 is (S305) is. If the read statement does not include the tool change instruction 12 is (No at step S305), the program analyzing unit executes 18 the processing at step S310.

Wenn die ausgelesene Anweisung die Werkzeugwechselanweisung 12 ist (Ja im Schritt S305), gibt die Programmanalyseeinheit 18 die Werkzeugwechselanweisung 12 an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus (Schritt S306). Die Programmanalyseeinheit 18 liest den nächsten Block aus (Schritt S307) und bestimmt, ob die ausgelesene Anweisung eine Positionierungsanweisung ist (das heißt, die Nach-dem-Wechsel-Positionierungsanweisung 11) (Schritt S308). Wenn die ausgelesene Anweisung die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S308, geht die Programmanalyseeinheit 18 die Nach-dem-Wechsel-Positionierungsanweisung 11 an die Bewegungsanweisungs-Bestimmungseinheit 3 aus (Schritt S309). Danach führt die Programmanalyseeinheit 18 die Verarbeitung im Schritt S307 aus.If the statement read out the tool change instruction 12 is (Yes in step S305), the program analysis unit gives 18 the tool change instruction 12 to the tool change instruction issue unit 20 from (step S306). The program analysis unit 18 reads the next block (step S307) and determines whether the read-out instruction is a positioning instruction (that is, the post-change positioning instruction 11 ) (Step S308). If the read statement contains the post-change positioning instruction 11 (Yes, in step S308, the program analysis unit goes 18 the post-change positioning instruction 11 to the movement instruction determination unit 3 from (step S309). Thereafter, the program analysis unit performs 18 the processing in step S307.

Wenn die ausgelesene Anweisung nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S308), entspricht die ausgelesene Anweisung der Bewegungsanweisung 10. Die Programmanalyseeinheit 18 gibt die Bewegungsanweisung 10 an die Bewegungsanweisungs-Bestimmungseinheit 19 aus (Schritt S310) und beendet den Betrieb.If the read statement does not include the post-change positioning instruction 11 is (No at step S308), the read instruction corresponds to the move instruction 10 , The program analysis unit 18 gives the movement instruction 10 to the movement instruction determination unit 19 from (step S310) and ends the operation.

10-1, 10-2 und 10-3 sind Flussdiagramme zum Erläutern des Betriebs der Bewegungsanweisungs-Bestimmungseinheit 19 in der zweiten Ausführungsform. Die Bewegungsanweisungs-Bestimmungseinheit 19 verarbeitet sequentiell die Bewegungsanweisung 10, die Nach-dem-Wechsel-Positionierungsanweisung 11 und die Werkzeugwechsel-Positions-Return-Anweisung 22, die von der Programmanalyseeinheit 2 ausgegeben werden. Die Bewegungsanweisungs-Bestimmungseinheit 19 bestimmt zuerst, ob Verarbeitungszielblock die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Schritt S401). Wenn der Verarbeitungszielblock nicht die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Nein im Schritt S401), führt die Bewegungsanweisungs-Bestimmungseinheit 19 eine Verarbeitung im Schritt S406 aus, die später beschrieben wird. Wenn der Verarbeitungszielblock die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Ja im Schritt S401), gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Werkzeugwechsel-Positions-Return-Anweisung 22 an die Interpolationseinheit 4 aus (Schritt S402). Um die Position des Werkzeugs 102 zu der Werkzeugwechselposition zu bewegen, berechnet die Interpolationseinheit 4 die Bewegungsgröße 14 für jede Interpolationsperiode und gibt sequentiell die berechnete Bewegungsgröße 14 für jede der Interpolationsperioden an den Servo-Verstärker 8 aus. 10-1 . 10-2 and 10-3 FIG. 10 are flowcharts for explaining the operation of the movement-instruction determining unit. FIG 19 in the second embodiment. The movement instruction determination unit 19 sequentially process the move instruction 10 , the post-exchange positioning instruction 11 and the tool change position return instruction 22 provided by the program analysis unit 2 be issued. The movement instruction determination unit 19 first determines if processing target block the tool change position return instruction 22 is (step S401). If the processing target block is not the tool change position return instruction 22 is (No at step S401), the movement instruction determination unit performs 19 processing in step S406 which will be described later. If the processing target block is the tool change position return instruction 22 is (Yes in step S401), gives the move-instruction determining unit 19 the tool change position return statement 22 to the interpolation unit 4 from (step S402). To the position of the tool 102 to move to the tool change position calculates the interpolation unit 4 the amount of movement 14 for each interpolation period, and sequentially returns the calculated amount of motion 14 for each of the interpolation periods to the servo amplifier 8th out.

Die Bewegungsanweisungs-Bestimmungseinheit 19 bestimmt danach, auf Grundlage der Feedback-Position 15 eine Achse zum Bewegen des Werkzeugs 102 (das heißt, der Z-Achse, wobei es sich um die Achse in Bezug auf den Werkzeugwechselbetrieb handelt) und dem Interferenzvermeidungsbereich, ob das Werkzeug 102 den Interferenzvermeidungsbereich erreicht hat (Schritt S403). Wenn das Werkzeug 102 den Interferenzvermeidungsbereich nicht erreicht hat (Nein im Schritt S403), führt die Bewegungsanweisungs-Bestimmungseinheit 19 die Bestimmungsverarbeitung im Schritt S403 erneut aus.The movement instruction determination unit 19 determined according to this, based on the feedback position 15 an axis for moving the tool 102 (that is, the Z axis, which is the axis with respect to the tool change operation) and the interference avoidance area, whether the tool 102 has reached the interference avoidance area (step S403). When the tool 102 the Has not reached the interference avoidance range (No at step S403), the motion instruction determination unit performs 19 the determination processing in step S403 again.

Wenn das Werkzeug 102 den Interferenzvermeidungsbereich erreicht (Ja im Schritt S403), bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, ob ein Block, der dem Verarbeitungszielblock folgt, eingegeben wurde (Schritt S404). Wenn ein Block, der dem Verarbeitungszielblock folgt, nicht eingegeben wurde (Nein im Schritt S404), beendet die Bewegungsanweisungs-Bestimmungseinheit 19 den Betrieb. Wenn ein Block, der dem Verarbeitungszielblock folgt, eingegeben wurde (Ja im Schritt S404), stellt die Bewegungsanweisungs-Bestimmungseinheit 19 den nächsten Block als Verarbeitungsziel ein (Schritt S405).When the tool 102 reaches the interference avoidance area (Yes in step S403), determines the move-instruction determining unit 19 whether a block following the processing target block has been input (step S404). If a block following the processing target block has not been input (No at step S404), the move-instruction determining unit ends 19 the company. When a block following the processing target block has been input (Yes in step S404), the motion instruction determination unit sets 19 the next block as a processing destination (step S405).

Die Bewegungsanweisungs-Bestimmungseinheit 19 bestimmt, ob die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Schritt S406). Eine Verarbeitung im Schritt S406 bis zum Schritt S425 durch die Bewegungsanweisungs-Bestimmungseinheit 19 ist gleich zu den Schritten S201 bis S220 durch die Bewegungsanweisungs-Bestimmungseinheit 3 in der ersten Ausführungsform. Eine Erläuterung der Verarbeitung bei Schritt S406 bis zum Schritt S425 wird daher weggelassen.The movement instruction determination unit 19 determines whether the axis component instruction for positioning the axis has been held with respect to the tool change operation (step S406). Processing in step S406 to step S425 by the move-instruction determining unit 19 is equal to the steps S201 to S220 by the movement-instruction determining unit 3 in the first embodiment. An explanation of the processing in step S406 to step S425 is therefore omitted.

Nach der Einstellung des folgenden Blocks als das nächste Verarbeitungsziel gemäß der Verarbeitung im Schritt S425, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, ob das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 bereits ausgegeben wurde (Schritt S426). Wenn die Werkzeugwechsel-Positions-Return-Beendigungsanweisung 23 nicht ausgegeben wurde (Nein im Schritt S426), bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, ob eine Bewegung (Return bzw. Rückkehr) des Werkzeugs 102 zu der Werkzeugwechselposition bereits abgeschlossen ist (Schritt S427). Wenn die Rückkehr des Werkzeugs 102 zu der Werkzeugwechselposition abgeschlossen wurde (Ja im Schritt S427), gibt die Bewegungsanweisungs-Bestimmungseinheit 19 das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus (schritt S428).After setting the following block as the next processing target according to the processing in step S425, the move-instruction determining unit determines 19 Whether the tool change position return completion signal 23 has already been issued (step S426). When the tool change position return completion instruction 23 has not been issued (No at step S426), the movement-instruction determining unit determines 19 , whether a movement (return or return) of the tool 102 to the tool change position has already been completed (step S427). When the return of the tool 102 has been completed to the tool change position (Yes in step S427), gives the move instruction determination unit 19 the tool change position return completion signal 23 to the tool change instruction issue unit 20 off (step S428).

Für den Fall, dass das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 ausgegeben wurde (Ja im Schritt S426), führt die Bewegungsanweisungs-Bestimmungseinheit 19 die Verarbeitung im Schritt S406 aus, wenn die Rückkehr des Werkzeugs 102 zu der Werkzeugwechselposition nicht abgeschlossen wurde (Nein im Schritt S427), oder nach der Verarbeitung im Schritt S428.In the event that the tool change position return completion signal 23 is issued (Yes in step S426), the movement instruction determination unit executes 19 the processing in step S406 when the return of the tool 102 to the tool change position has not been completed (No at step S427), or after the processing at step S428.

Wenn ein Bestimmungsresultat durch die Bestimmungsverarbeitung im Schritt S415 Nein ist, das heißt, der Verarbeitungszielblock nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, ob alle Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben wurden (Schritt S429). Wenn die Nach-dem-Wechsel-Positionierungsanweisung 11, die noch nicht ausgegeben wurde, vorhanden ist (Nein im Schritt S429), führt die Bewegungsanweisungs-Bestimmungseinheit 19 die Verarbeitung im Schritt S426 aus. Wenn alle Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben wurden (Ja im Schritt S429), verweist die Bewegungsanweisungs-Bestimmungseinheit auf die Feedback-Position 15 und bestimmt, ob der Betrieb bis zu dem vorhergehenden Block abgeschlossen wurde (Schritt S430). Wenn eine Bewegung einer Achse für eine Anweisung bis zu dem vorhergehenden Block nicht abgeschlossen wurde (Nein im Schritt S430), führt die Bewegungsanweisungs-Bestimmungseinheit 19 die Verarbeitung im Schritt S430 erneut aus. Wenn die Bewegung der Achse für die Anweisung des für den vorhergehenden Block abgeschlossen wurde (Ja im Schritt S430), gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Bewegungsanweisung 10, wobei es sich um den Verarbeitungszielblock handelt, an Interpolationseinheit 4 aus (Schritt S431) und beendet den Betrieb.When a determination result by the determination processing in step S415 is No, that is, the processing target block is not the post-change positioning instruction 11 , determines the motion instruction determination unit 19 See if any post-change positioning instructions 11 have been issued (step S429). If the post-change positioning instruction 11 which has not yet been issued exists (No at step S429), the motion instruction determination unit 19 processing in step S426. If all post-change positioning instructions 11 are issued (Yes in step S429), the movement instruction determination unit refers to the feedback position 15 and determines whether the operation has been completed until the previous block (step S430). If movement of an axis for one instruction has not been completed up to the previous block (No in step S430), the move instruction determination unit performs 19 the processing in step S430 again. When the movement of the axis for the instruction of the previous block has been completed (Yes in step S430), the move instruction determination unit gives 19 the movement instruction 10 , which is the processing target block, to interpolation unit 4 from (step S431) and ends the operation.

Der Betrieb der numerischen Steuervorrichtung 1a in der zweiten Ausführungsform der vorliegenden Erfindung wird insbesondere mit Bezug auf ein spezifisches Beispiel des Bearbeitungsprogramms 7 beschrieben. 11 ist ein Diagramm des spezifischen Beispiels des Bearbeitungsprogramms 7, das bei der Beschreibung in der zweiten Ausführungsform verwendet wird. N21 bis N25, beschrieben für jede Linie an der linken Seite des Bearbeitungsprogramms 7, zeigen Blocknummern für eine jeweilige Anweisung an, die in den Linien beschrieben ist, die diesen entspricht.The operation of the numerical control device 1a In the second embodiment of the present invention will be specifically described with reference to a specific example of the machining program 7 described. 11 is a diagram of the specific example of the machining program 7 used in the description in the second embodiment. N21 to N25 described for each line on the left side of the machining program 7 , indicate block numbers for each instruction described in the lines corresponding to them.

Die Programmanalyseeinheit 18 führt eine Verarbeitung, die im Folgenden beschrieben wird, an dem in 11 gezeigten Bearbeitungsprogramm 7 aus. Zuerst liest die Programmanalyseeinheit 18 den N21-Block von dem Bearbeitungsprogramm 7 gemäß der Verarbeitung im Schritt S301. Gemäß der Bestimmungsverarbeitung im Schritt S302, bestimmt die Programmanalyseeinheit 18, dass der N21-Block die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Ja im Schritt S302). Gemäß der Verarbeitung im Schritt S303 gibt die Programmanalyseeinheit 18 den N21-Block an die Bewegungsanweisungs-Bestimmungseinheit 19 aus. Gemäß der Verarbeitung im Schritt S304 liest die Programmanalyseeinheit 118 den N22-Block, der dem N21-Block folgt. Gemäß der Bestimmungsverarbeitung im Schritt S305, bestimmt die Programmanalyseeinheit 18, dass der gelesene N22-Block die Werkzeugwechselanweisung 12 ist (Ja im Schritt S305). Gemäß der Verarbeitung im Schritt S306 gibt die Programmanalyseeinheit 18 den N22-Block an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus. Gemäß der Verarbeitung im Schritt 307 liest die Programmanalyseeinheit 18 den N23-Block, der dem N22-Block folgt. Gemäß der Bestimmungsverarbeitung im Schritt S308 bestimmt die Programmanalyseeinheit 18, dass der gelesene N23-Block die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S308). Gemäß der Verarbeitung im Schritt S309 gibt die Programmanalyseeinheit 18 den N23-Block an die Bewegungsanweisungs-Bestimmungseinheit 19 aus. Gemäß der Loop-Verarbeitung im Schritt S307, Ja im Schritt S308 und Schritt S309 und der Verarbeitung im Schritt S310, gibt die Programmanalyseeinheit 18 danach den N24-Block, wobei es sich um die Nach-dem-Wechsel-Positionierungsanweisung 11 handelt und den N25-Block, wobei es sich um die Bewegungsanweisung 10 handelt, an die Bewegungsanweisungs-Bestimmungseinheit 19 aus.The program analysis unit 18 performs processing described below in which 11 shown machining program 7 out. First, the program analyzer reads 18 the N21 block from the machining program 7 according to the processing in step S301. According to the determination processing in step S302, the program analysis unit determines 18 in that the N21 block is the tool change position return instruction 22 is (Yes in step S302). According to the processing in step S303, the program analysis unit outputs 18 the N21 block to the motion instruction determination unit 19 out. According to the processing in step S304, the program analyzing unit reads 118 the N22 block following the N21 block. According to the determination processing in step S305, the Program analysis unit 18 in that the read N22 block is the tool change instruction 12 is (Yes in step S305). According to the processing in step S306, the program analysis unit outputs 18 the N22 block to the tool change instruction issue unit 20 out. According to the processing in the step 307 reads the program analyzer 18 the N23 block following the N22 block. According to the determination processing in step S308, the program analysis unit determines 18 in that the read N23 block is the post-change positioning instruction 11 is (Yes in step S308). According to the processing in step S309, the program analysis unit issues 18 the N23 block to the motion instruction determination unit 19 out. According to the loop processing in step S307, Yes in step S308 and step S309 and the processing in step S310, the program analysis unit issues 18 then the N24 block, which is the post-change positioning instruction 11 trades and the N25 block, which is the motion statement 10 to the movement instruction determination unit 19 out.

Wie oben erläutert, gibt die Programmanalyseeinheit 18 den N22-Block, wobei es sich um die Werkzeugwechselanweisung 12 handelt, an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus, und gibt den N21-Block, wobei es sich um die Werkzeugwechsel-Positions-Return-Anweisung 22 handelt, den N23-Block und den N24-Block, wobei es sich um die Nach-dem-Wechsel-Positionierungsanweisungen 11 handelt, und den N25-Block, wobei es sich um die Bewegungsanweisung 10 handelt, an die Bewegungsanweisungs-Bestimmungseinheit 19 aus.As explained above, the program analyzer gives 18 the N22 block, which is the tool change instruction 12 to the tool change instruction issue unit 20 off, and returns the N21 block, which is the tool change position return statement 22 the N23 block and the N24 block, which are the post-change positioning instructions 11 trades, and the N25 block, which is the motion statement 10 to the movement instruction determination unit 19 out.

Die Bewegungsanweisungs-Bestimmungseinheit 19 führt eine Verarbeitung, die im Folgenden beschrieben wird, an dem N21-Block und dem N23-Block bis N25-Block aus, die von der Programmanalyseeinheit 18 gesendet werden. Gemäß der Bestimmungsverarbeitung am Schritt S401, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 zuerst, dass der N21-Block, wobei es sich um einen ersten Verarbeitungszielblock handelt, die Werkzeugwechsel-Positions-Return-Anweisung 22 ist (Schritt S401). Gemäß der Verarbeitung am Schritt S402 gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Werkzeugwechsel-Positions-Return-Anweisung 22 an die Interpolationseinheit 4 aus. Durch die Wiederholung der Bestimmungsverarbeitung im Schritt S403 wartet die Bewegungsanweisungs-Bestimmungseinheit 19 darauf, dass das Werkzeug 102 den Interferenzvermeidungsbereich erreicht. Nachdem das Werkzeug 102 den Interferenzvermeidungsbereich erreicht, führt die Bewegungsanweisungs-Bestimmungseinheit 19 die Bestimmungsverarbeitung im Schritt S404 aus und bestimmt, dass der nächste Block vorhanden ist (Ja im Schritt S404). Gemäß der Verarbeitung im Schritt S405, stellt die Bewegungsanweisungs-Bestimmungseinheit 19 den N23-Block, wobei es sich um den nächsten Block handelt, als den Verarbeitungszielblock ein.The movement instruction determination unit 19 Executes a processing described below at the N21 block and the N23 block through N25 block executed by the program analyzing unit 18 be sent. According to the determination processing at step S401, the movement-instruction determining unit determines 19 first, that the N21 block, which is a first processing target block, the tool change position return instruction 22 is (step S401). According to the processing at step S402, the movement-instruction determining unit outputs 19 the tool change position return statement 22 to the interpolation unit 4 out. By repeating the determination processing in step S403, the movement-instruction determining unit waits 19 that the tool 102 reached the interference avoidance area. After the tool 102 reaches the interference avoidance area, the motion instruction determination unit performs 19 the determination processing in step S404 and determines that the next block is present (Yes in step S404). According to the processing in step S405, the movement instruction determination unit 19 the N23 block, which is the next block, as the processing target block.

Gemäß der Bestimmungsverarbeitung im Schritt S406 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb nicht beibehalten wurde (Nein im Schritt S406). Gemäß der Bestimmungsverarbeitung im Schritt S411 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht beibehalten wurde (Nein im Schritt S411). Gemäß der Verarbeitung im Schritt S415 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass der N23-Block, die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S415).According to the determination processing in step S406, the movement-instruction determining unit determines 19 subsequently, the axis component instruction for positioning the axis with respect to the tool change operation has not been retained (No at step S406). According to the determination processing in step S411, the movement-instruction determining unit determines 19 in that the axis component instruction for positioning the axis has not been retained without reference to the tool change operation (No at step S411). According to the processing in step S415, the movement-instruction determining unit determines 19 in that the N23 block, the post-change positioning instruction 11 is (Yes in step S415).

Der N23-Block wird durch eine Achsenkomponentenanweisung zum Positionieren der Z-Achse ausgebildet, wobei es sich um die Achse in Bezug auf den Werkzeugwechselbetrieb handelt, und eine Achsenkomponentenanweisung zum Positionieren der Z-Achse, wobei es sich um die Achse ohne Bezug auf den Werkzeugwechselbetrieb handelt. Gemäß der Bestimmungsverarbeitung im Schritt S416 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass der Verarbeitungszielblock (der N23-Block) die Achsenkomponentenanweisung zum Positionieren der Achse mit Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S416). Wenn der Werkzeugwechselbetrieb nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, gemäß der Bestimmungsverarbeitung im Schritt S417, dass der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S417) und setzt das Halten der Achsenkomponentenanweisung für die Z-Achse fort, die in dem N23-Block enthalten ist (Schritt S420). Der N23-Block enthält eine Achsenkomponentenanweisung für die X-Achse. Gemäß der Bestimmungsverarbeitung im Schritt S421, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass der Verarbeitungszielblock die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält (Ja im Schritt S421). Gemäß der Bestimmungsverarbeitung im Schritt S422 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S422). Gemäß der Verarbeitung im Schritt S423, geht die Bewegungsanweisungs-Bestimmungseinheit 19 die Achsenkomponentenanweisung für die X-Achse, enthalten in dem N23-Block, an die Interpolationseinheit 4 aus. Gemäß der Verarbeitung im Schritt S425 stellt die Bewegungsanweisungs-Bestimmungseinheit 19 den folgenden N24-Block als den Verarbeitungszielblock ein.The N23 block is formed by an axis component instruction for positioning the Z-axis, which is the axis with respect to the tool change operation, and an axis component instruction for positioning the Z-axis, which is the axis without reference to the tool change operation is. According to the determination processing in step S416, the movement-instruction determining unit determines 19 therefore, the processing target block (the N23 block) includes the axis component instruction for positioning the axis with respect to the tool change operation (Yes in step S416). If the tool change operation has not been completed, the move instruction determination unit determines 19 according to the determination processing in step S417, that the tool change operation has not been completed (No in step S417) and continues holding the Z axis axis component instruction contained in the N23 block (step S420). The N23 block contains an axis component instruction for the X axis. According to the determination processing in step S421, the movement-instruction determining unit determines 19 therefore, the processing target block includes the axis component instruction for positioning the axis without reference to the tool change operation (Yes in step S421). According to the determination processing in step S422, the movement-instruction determining unit determines 19 in that the axis does not move without reference to the tool change operation (No at step S422). According to the processing in step S423, the movement-instruction determining unit goes 19 the axis component instruction for the X-axis contained in the N23 block to the interpolation unit 4 out. In accordance with the processing in step S425 the movement instruction determination unit 19 insert the following N24 block as the processing target block.

Gemäß der Bestimmungsverarbeitung im Schritt S426, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 nicht ausgegeben wurde (Nein im Schritt S426). Wenn die Rückkehr des Werkzeugs 102 zu der Werkzeugwechselposition zu diesem Zeitpunkt nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, gemäß der Bestimmungsverarbeitung im Schritt S427, dass das Werkzeug 102 nicht zu der Werkzeugwechselposition zurückgekehrt ist (Nein im Schritt S427).According to the determination processing in step S426, the movement-instruction determining unit determines 19 subsequently, that the tool change position return completion signal 23 was not issued (No at step S426). When the return of the tool 102 to the tool change position at this time has not been completed, the move instruction determination unit determines 19 according to the determination processing in step S427, that the tool 102 has not returned to the tool change position (No at step S427).

Zu diesem Zeitpunkt wurde nur die Achsenkomponentenanweisung für die Z-Achse, enthalten in dem N23-Block, gehalten. Gemäß der Bestimmungsverarbeitung im Schritt S406 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass die Achsenkomponentenanweisung zum Positionieren der Achse mit Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S406). Wenn der Werkzeugwechselbetrieb zu diesem Zeitpunkt nicht beendet wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, gemäß der Bestimmungsverarbeitung im Schritt S407, dass der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S407). Gemäß der Bestimmungsverarbeitung im Schritt S411 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S411).At this time, only the Z axis axis component instruction contained in the N23 block was kept. According to the determination processing in step S406, the movement-instruction determining unit determines 19 therefore, the axis component instruction for positioning the axis has been held with respect to the tool change operation (Yes in step S406). If the tool change operation has not been completed at this time, the move instruction determination unit determines 19 according to the determination processing in step S407, that the tool change operation has not been completed (No in step S407). According to the determination processing in step S411, the movement-instruction determining unit determines 19 in that the axis component instruction for positioning the axis has not been held without reference to the tool change operation (No at step S411).

Gemäß der Bestimmungsverarbeitung im Schritt S415 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass der N24-Block, wobei es sich um den Verarbeitungszielblock handelt, die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Ja im Schritt S415). Der N24-Block enthält nur eine Achsenkomponentenanweisung zum Positionieren der Y-Achse ohne Bezug auf den Werkzeugwechselbetrieb. Die Bewegungsanweisungs-Bestimmungseinheit 19 bestimmt daher ein Nein in der Bestimmungsverarbeitung im Schritt S416 und bestimmt ein Ja in der Bestimmungsverarbeitung im Schritt S421. Wenn zu diesem Zeitpunkt die Bewegung der X-Achse gemäß der Achsenkomponentenanweisung, die den N23-Block ausbildet, nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Verarbeitung im Schritt S422, dass sich die Achse ohne Bezug auf den Werkzeugwechselbetrieb bewegt (Ja im Schritt S422). Gemäß der Verarbeitung im Schritt S424 hält die Bewegungsanweisungs-Bestimmungseinheit 19 die Achsenkomponentenanweisung zur Positionierung der Y-Achse, die den N24-Block ausbildet. Gemäß der Verarbeitung im Schritt S425 stellt die Bewegungsanweisungs-Bestimmungseinheit 19 den folgenden N25-Block als den Verarbeitungszielblock ein.According to the determination processing in step S415, the movement-instruction determining unit determines 19 subsequently, the N24 block, which is the processing target block, the post-change positioning instruction 11 is (Yes in step S415). The N24 block contains only one axis component instruction for positioning the Y-axis without reference to the tool change operation. The movement instruction determination unit 19 therefore, determines No in the determination processing in step S416, and determines Yes in the determination processing in step S421. At this time, if the X-axis movement according to the Axis Component instruction forming the N23 block has not been completed, the move-instruction determining unit determines 19 according to the processing in step S422, the axis moves without reference to the tool change operation (Yes in step S422). According to the processing in step S424, the movement-instruction determining unit stops 19 the Y axis axis component instruction which forms the N24 block. According to the processing in step S425, the movement-instruction determining unit 19 enter the following N25 block as the processing target block.

Gemäß der Bestimmungsverarbeitung im Schritt S426 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 nicht ausgegeben wurde (Nein im Schritt S426). Wenn die Rückkehr (Return) des Werkzeugs 102 zu der Werkzeugwechselposition zu diesem Zeitpunkt abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Bestimmungsverarbeitung im Schritt S427, dass das Werkzeug 102 zu der Werkzeugwechselposition zurückkehrt (Ja im Schritt S427). Gemäß der Verarbeitung im Schritt S428 gibt die Bewegungsanweisungs-Bestimmungseinheit 19 das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 an die Werkzeugwechsel-Anweisungsausgabeeinheit 20 aus. Die Werkzeugwechsel-Anweisungsausgabeeinheit 20 hat bereits die Werkzeugwechselanweisung 12 gemäß der Verarbeitung im Schritt S306 durch die Programmanalyseeinheit 18 empfangen. Bei Empfang des Werkzeugwechsel-Positions-Return-Beendigungssignals 23 gibt die Werkzeugwechsel-Anweisungsausgabeeinheit 20 daher die Werkzeugwechselanweisung 12 an die Werkzeugwechselvorrichtung 9 aus, und der Werkzeugwechselbetrieb wird gestartet.According to the determination processing in step S426, the movement-instruction determining unit determines 19 subsequently, that the tool change position return completion signal 23 was not issued (No at step S426). When the return (return) of the tool 102 has been completed to the tool change position at this time, the move instruction determination unit determines 19 according to the determination processing in step S427, that the tool 102 returns to the tool change position (Yes in step S427). According to the processing in step S428, the movement instruction determination unit gives 19 the tool change position return completion signal 23 to the tool change instruction issue unit 20 out. The tool change instruction issue unit 20 already has the tool change instruction 12 according to the processing in step S306 by the program analyzing unit 18 receive. Upon receiving the tool change position return completion signal 23 gives the tool change instruction issue unit 20 therefore the tool change instruction 12 to the tool changing device 9 off, and the tool change operation is started.

Zu diesem Zeitpunkt wird die Achsenkomponentenanweisung für die Z-Achse, enthalten in dem N21-Block, und die Achsenkomponentenanweisung für die Y-Achse, die den N24-Block ausbildet, gehalten. Gemäß der Bestimmungsverarbeitung im Schritt S406 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass die Achsenkomponentenanweisung zur Positionierung der Achse in Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S406). Wenn der Werkzeugwechselbetrieb für diesen Zeitpunkt nicht abgeschlossen ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, gemäß der Bestimmungsverarbeitung im Schritt S407, dass der Werkzeugwechselbetrieb nicht abgeschlossen wurde (Nein im Schritt S407). Gemäß der Bestimmungsverarbeitung im Schritt s411 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S411). Wenn die Bewegung der X-Achse gemäß der Achsenkomponentenanweisung, die in dem N23-Block enthalten ist, zu diesem gegenwärtigen Zeitpunkt nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Bestimmungsverarbeitung im Schritt S412, dass die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich bewegt (Ja im Schritt S412).At this time, the axis component instruction for the Z axis included in the N21 block and the axis component instruction for the Y axis constituting the N24 block are held. According to the determination processing in step S406, the movement-instruction determining unit determines 19 therefore, the axis component instruction for positioning the axis has been held in relation to the tool change operation (Yes in step S406). If the tool change operation is not completed for this time, the move instruction determination unit determines 19 according to the determination processing in step S407, that the tool change operation has not been completed (No in step S407). According to the determination processing in step s411, the movement-instruction determining unit determines 19 in that the axis component instruction for positioning the axis has been held without reference to the tool change operation (Yes in step S411). If the movement of the X axis according to the axis component instruction included in the N23 block has not been completed at this present time, the move instruction determination unit determines 19 according to the Determination processing in step S412 that the axis moves without referring to the tool change operation (Yes in step S412).

Der N25-Block, wobei es sich um den gegenwärtigen Verarbeitungszielblock handelt, ist eine Schneideanweisung. Gemäß der Bestimmungsverarbeitung im Schritt S415 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass der Verarbeitungszielblock nicht die Nach-dem-Wechsel-Positionierungsanweisung 11. ist (Nein im Schritt S415). Da die gehaltene Achsenkomponentenanweisung vorhanden ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 in der Bestimmungsverarbeitung im Schritt S429, dass die Nach-dem-Wechsel-Positionierungsanweisung 11, die noch nicht ausgegeben wurde, vorhanden ist (Nein im Schritt S423).The N25 block, which is the current processing target block, is a cutting instruction. According to the determination processing in step S415, the movement-instruction determining unit determines 19 therefore, the processing target block does not have the post-change positioning instruction 11 , is (No at step S415). Since the held axis component instruction exists, the move instruction determination unit determines 19 in the determination processing in step S429, that the post-change positioning instruction 11 that has not yet been issued exists (No at step S423).

In der Bestimmungsverarbeitung im Schritt S426 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 bereits ausgegeben wurde (Ja im Schritt S426).In the determination processing in step S426, the movement-instruction determining unit determines 19 subsequently, that the tool change position return completion signal 23 has already been issued (Yes in step S426).

Zu diesem Zeitpunkt werden die Achsenkomponentenanweisung für die Z-Achse, enthalten in dem N23-Block, und die Achsenkomponentenanweisung für die Y-Achse, die den N24-Block ausbildet, gehalten. Gemäß der Bestimmungsverarbeitung im Schritt S406 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt s406). Wenn der Werkzeugwechselbetrieb zu diesem Zeitpunkt beendet wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Bestimmungsverarbeitung im Schritt S407, dass der Werkzeugwechselbetrieb abgeschlossen wurde (Ja im Schritt S407). Gemäß der Bestimmungsverarbeitung im Schritt S408 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achse mit Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S408). Gemäß der Verarbeitung im Schritt S409 gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die gehaltene Achsenkomponentenanweisung für die Z-Achse, enthalten in dem N23-Block, an die Interpolationseinheit 4 aus, und gemäß der Verarbeitung im Schritt S410 gibt die Bewegungsanweisungs-Bestimmungseinheit 19 das Zurückhalten der Achsenkomponentenanweisung für die Z-Achse, enthalten in dem N23-Block frei. Gemäß der Bestimmungsverarbeitung im Schritt S411 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S411). Wenn die Bewegung der X-Achse gemäß der Achsenkomponentenanweisung, die in dem N23-Block enthalten ist, zu diesem gegenwärtigen Zeitpunkt nicht abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Bestimmungsverarbeitung im Schritt S412, dass die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich bewegt (Ja im Schritt S412).At this time, the axis component instruction for the Z axis included in the N23 block and the axis component instruction for the Y axis constituting the N24 block are held. According to the determination processing in step S406, the movement-instruction determining unit determines 19 therefore, the axis component instruction for positioning the axis has been held without reference to the tool change operation (Yes in step s406). When the tool change operation has been completed at this time, the move instruction determination unit determines 19 according to the determination processing in step S407, that the tool change operation has been completed (Yes in step S407). According to the determination processing in step S408, the movement-instruction determining unit determines 19 in that the axis does not move with respect to the tool change operation (No at step S408). According to the processing in step S409, the movement-instruction determining unit outputs 19 the held axis component instruction for the Z axis contained in the N23 block to the interpolation unit 4 from, and according to the processing in step S410, the movement-instruction determining unit 19 retaining the axis component instruction for the Z axis, free in the N23 block. According to the determination processing in step S411, the movement-instruction determining unit determines 19 in that the axis component instruction for positioning the axis has been held without reference to the tool change operation (Yes in step S411). If the movement of the X axis according to the axis component instruction included in the N23 block has not been completed at this present time, the move instruction determination unit determines 19 according to the determination processing in step S412, the axis moves without referring to the tool change operation (Yes in step S412).

Der N25-Block, wobei es sich um den gegenwärtigen Verarbeitungszielblock handelt, ist eine Schneideanweisung. Gemäß der Bestimmungsverarbeitung im Schritt S415 bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass der Verarbeitungszielblock nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S415). Da die gehaltene Achsenkomponentenanweisung vorhanden ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 in der Bestimmungsverarbeitung im Schritt S429, dass die Nach-dem-Wechsel-Positionierungsanweisung 11 vorhanden ist, die noch nicht ausgegeben wurde (Nein im Schritt S429).The N25 block, which is the current processing target block, is a cutting instruction. According to the determination processing in step S415, the movement-instruction determining unit determines 19 therefore, the processing target block does not have the post-change positioning instruction 11 is (No at step S415). Since the held axis component instruction exists, the move instruction determination unit determines 19 in the determination processing in step S429, that the post-change positioning instruction 11 is present, which has not yet been issued (No in step S429).

In der Bestimmungsverarbeitung im Schritt S426, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 anschließend, dass das Werkzeugwechsel-Positions-Return-Beendigungssignal 23 bereits ausgegeben wurde (Ja im Schritt S426).In the determination processing in step S426, the movement-instruction determining unit determines 19 subsequently, that the tool change position return completion signal 23 has already been issued (Yes in step S426).

Zu diesem Zeitpunkt wurde nur die Achsenkomponentenanweisung für die Y-Achse, die den N24-Block ausbildet, gehalten. Gemäß der Bestimmungsverarbeitung im Schritt S406, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 daher, dass die Positionierungsanweisung für die Achse in Bezug auf den Werkzeugwechselbetrieb nicht gehalten wurde (Nein im Schritt S406). Gemäß der Bestimmungsverarbeitung im Schritt S411, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass die Positionierungsanweisung für die Achse ohne Bezug auf den Werkzeugwechselbetrieb gehalten wurde (Ja im Schritt S411). Wenn zu diesem Zeitpunkt die Bewegung der X-Achse gemäß der Achsenkomponentenanweisung, die in dem N23-Block enthalten ist, abgeschlossen wurde, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß der Bestimmungsverarbeitung im Schritt S412, dass die Achse ohne Bezug auf den Werkzeugwechselbetrieb sich nicht bewegt (Nein im Schritt S412). Gemäß der Bestimmungsverarbeitung im Schritt S413, gibt die Bewegungsanweisungs-Bestimmungseinheit 19 die Achsenkomponentenanweisung für die Y-Achse, die den N24-Block ausbildet, an die Interpolationseinheit 4 aus, und die Bewegungsanweisungs-Bestimmungseinheit 19 gibt gemäß der Verarbeitung im Schritt S414 das Zurückhalten der Achsenkomponentenanweisung für die Y-Achse, die den N24-Block ausbildet, frei.At this time, only the Y axis axis component instruction that forms the N24 block was held. According to the determination processing in step S406, the movement-instruction determining unit determines 19 therefore, the positioning instruction for the axis with respect to the tool change operation has not been held (No at step S406). According to the determination processing in step S411, the movement-instruction determining unit determines 19 in that the positioning instruction for the axis has been held without reference to the tool change operation (Yes in step S411). At this time, if the movement of the X-axis in accordance with the axis-component instruction included in the N23 block has been completed, the move-instruction determining unit determines 19 according to the determination processing in step S412, that the axis does not move without reference to the tool change operation (No in step S412). According to the determination processing in step S413, the movement instruction determination unit gives 19 the axis component instruction for the Y-axis, which forms the N24 block, to the interpolation unit 4 from, and the movement instruction determination unit 19 According to the processing in step S414, the retention of the Y-axis axis component instruction forming the N24 block is released.

Gemäß der Bestimmungsverarbeitung im Schritt S415, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19, dass der Verarbeitungszielblock (der N25-Block) nicht die Nach-dem-Wechsel-Positionierungsanweisung 11 ist (Nein im Schritt S415). Da keine gehaltene bzw. zurückgehaltene Achsenkomponentenanweisung vorhanden ist, bestimmt die Bewegungsanweisungs-Bestimmungseinheit 19 in der Bestimmungsverarbeitung im Schritt S429, dass alle Nach-dem-Wechsel-Positionierungsanweisungen 11 bereits ausgegeben wurden (Ja im Schritt S429). Durch Wiederholen der Bestimmungsverarbeitung im Schritt S430 wartet die Bewegungsanweisungs-Bestimmungseinheit 19 darauf, dass der Betrieb für den N23-Block und den N24-Block abgeschlossen wird. Nachdem der Betrieb für den N23-Block und den N24-Block abgeschlossen wurde, gibt die Bewegungsanweisungs-Bestimmungseinheit 19 gemäß dem Schritt S431 die Schneideanweisung des N25-Blocks an die Interpolationseinheit 4 aus und beendet den Betrieb.According to the determination processing in step S415, the movement instruction determines determining unit 19 in that the processing target block (the N25 block) does not have the post-change positioning instruction 11 is (No at step S415). Since there is no held axis component instruction, the move instruction determination unit determines 19 in the determination processing in step S429, that all post-change positioning instructions 11 already issued (Yes in step S429). By repeating the determination processing in step S430, the movement-instruction determining unit waits 19 that the operation for the N23 block and the N24 block is completed. After the operation for the N23 block and the N24 block has been completed, the motion instruction determination unit gives 19 in step S431, the cutting instruction of the N25 block to the interpolation unit 4 and stops the operation.

12-1 ist ein Zeitdiagramm zur Erläuterung eines Betriebs für die Achsen, der durchgeführt wird, wenn die numerische Steuervorrichtung 1a das Bearbeitungsprogramm 7 ausführt, das in 11 gezeigt ist. In 12-2 ist ein Zeitdiagramm als ein Vergleich des zweiten Beispiels gezeigt, zur Erläuterung eines Betriebs für die Achsen, der durchgeführt wird, wenn das Bearbeitungsprogramm 7 sequentiell für jeden der Blöcke ausgeführt wird. Wie in den Figuren gezeigt, wird mit der numerischen Steuervorrichtung 1a gemäß der zweiten Ausführungsform der Positionierungsbetrieb (N23) für die X-Achse gestartet, wenn das Werkzeug 102 einen Interferenzvermeidungsbereich erreicht, der vorab während des Wechselpositions-Return-Betriebs (N21) eingestellt wird. Der Werkzeugwechselbetrieb (N22) wird zu einem Zeitpunkt gestartet, wenn der Wechselpositions-Return-Betrieb (N21) abgeschlossen wurde, und der Positionierungsbetrieb (N23) für die Z-Achse wird zu einem Zeitpunkt gestartet, wenn der Werkzeugwechselbetrieb (N22) abgeschlossen wurde. Der Positionierungsbetrieb (N24) für die Y-Achse wird zu einem Zeitpunkt gestartet, wenn der Positionierungsbetrieb (N23) für die X-Achse abgeschlossen wurde. Wenn der Positionierungsbetrieb (N23) für die X-Achse und die Y-Achse und der Positionierungsbetrieb (N24) für die Y-Achse abgeschlossen sind, wird der Schneidebetrieb (N25) für die X-Achse gestartet. Im Gegensatz dazu ist gemäß dem Vergleichsbeispiel ersichtlich, dass, da der N21-Block bis zu dem N25-Block sequentiell ausgeführt werden, eine längere Zeit erforderlich ist, verglichen damit, wenn die numerische Steuervorrichtung 1a, für die zweite Ausführungsform angewendet wird, das Bearbeitungsprogramm 7 ausführt. Mit der numerischen Steuervorrichtung 1a (für die die zweite Ausführungsform angewendet wird, wird der Startzeitpunkt des Positionierungsbetriebs (N23) für die X-Achse früher eingestellt als der Startzeitpunkt des Werkzeugwechselbetriebs (N22). Es ist daher möglich, verglichen mit der ersten Ausführungsform, eine Bearbeitungszeit weiter zu reduzieren. 12-1 FIG. 13 is a timing chart for explaining an operation for the axes performed when the numerical control device. FIG 1a the machining program 7 that runs in 11 is shown. In 12-2 FIG. 14 is a timing chart shown as a comparison of the second example for explaining an operation for the axes performed when the machining program. FIG 7 is executed sequentially for each of the blocks. As shown in the figures, with the numerical control device 1a According to the second embodiment, the positioning operation (N23) for the X-axis is started when the tool 102 reaches an interference avoidance range set in advance during the change-position return operation (N21). The tool change operation (N22) is started at a time when the change position return operation (N21) has been completed, and the Z axis positioning operation (N23) is started at a time when the tool change operation (N22) has been completed. The positioning operation (N24) for the Y-axis is started at a time when the positioning operation (N23) for the X-axis has been completed. When the positioning operation (N23) for the X-axis and the Y-axis and the positioning operation (N24) for the Y-axis are completed, the cutting operation (N25) for the X-axis is started. In contrast, according to the comparative example, it can be seen that since the N21 block is sequentially executed up to the N25 block, a longer time is required as compared with when the numerical control device 1a is applied to the second embodiment, the machining program 7 performs. With the numerical control device 1a (For which the second embodiment is applied, the start timing of the X-axis positioning operation (N23) is set earlier than the tool change operation start timing (N22), It is therefore possible to further reduce a machining time as compared with the first embodiment.

Es wird vermerkt, dass in der Erläuterung der zweiten Ausführungsform die Bewegungsanweisungs-Bestimmungseinheit 19 die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb zu dem Zeitpunkt ausgibt, wenn das Werkzeug 102 den Interferenzvermeidungsbereich während des Wechselpositions-Return-Betriebs erreicht. Der Startzeitpunkt der Achse ohne Bezug auf den Werkzeugwechselbetrieb kann jedoch höher als der Startpunkt des Werkzeugwechselbetriebs eingestellt werden, unabhängig davon, zu welchem Zeitpunkt die Achsenkomponentenanweisung ausgegeben wird, solang der Zeitpunkt vor einem Zeitpunkt ist, zu dem der Werkzeugwechselbetrieb gestartet wird, und nach dem Zeitpunkt, wenn das Werkzeug 102 den Interferenzvermeidungsbereich erreicht.It is noted that in the explanation of the second embodiment, the movement instruction determination unit 19 the axis component instruction to position the axis without reference to the tool change operation at the time when the tool 102 reaches the interference avoidance area during the change position return operation. However, the starting timing of the axis without reference to the tool change operation may be set higher than the starting point of the tool change operation regardless of when the axis component instruction is issued, as long as the timing is before a timing at which the tool change operation is started and after the timing when the tool 102 reached the interference avoidance area.

Wie oben beschrieben sind gemäß der zweiten Ausführungsform die Bewegungsanweisungs-Bestimmungseinheit 19 und die Interpolationseinheit 4 konfiguriert zum Ausführen der Steuerung zur Rückkehr der Achse in Bezug auf den Werkzeugwechselbetrieb an die Werkzeugwechselposition und, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11, die durch die Programmanalyseeinheit 18 ausgegeben wird, die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb ist, Starten der Steuerung auf Grundlage der Achsenkomponentenanweisung, die in der Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist, bevor der Werkzeugwechselbetrieb gestartet wird, nachdem die Achse in Bezug auf dem Werkzeugwechselbetrieb eine vorbestimmte Position auf halben Weg in der Bewegung zu der Werkzeugwechselposition erreicht. In der numerischen Steuervorrichtung 1a kann daher der Startzeitpunkt der Steuerung für die Nach-dem-Wechsel-Positionierungsanweisung 11 früher eingestellt werden, verglichen mit der ersten Ausführungsform. Es ist daher möglich, die Bearbeitungszeit weiter zu reduzieren.As described above, according to the second embodiment, the movement instruction determination unit 19 and the interpolation unit 4 configured to execute the control to return the axis in relation to the tool change operation to the tool change position and, if the post-change positioning instruction 11 by the program analysis unit 18 outputting the axis component instruction for positioning the axis without reference to the tool change operation, starting the control based on the axis component instruction included in the post-change positioning instruction 11 is included before the tool change operation is started after the axis reaches a predetermined position half way in the movement to the tool change position with respect to the tool change operation. In the numerical control device 1a Therefore, the start time of the controller may be for the post-change positioning instruction 11 be set earlier compared to the first embodiment. It is therefore possible to further reduce the processing time.

In der ersten und zweiten Ausführungsform behalten die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 jede der Achsenkomponentenanweisungen die die Nach-dem-Wechsel-Positionierungsanweisung 11 ausführten und geben das Zurückhalten frei und ändern den Ausgabezeitpunkt für jede der Achsenkomponenten. Die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 können jedoch auch konfiguriert sein, jede der Nach-dem-Wechsel-Positionierungsanweisungen 11 zu halten und das Zurückhalten freizugeben, und den Ausgabezeitpunkt für jede der Nach-dem-Wechsel-Positionierungsanweisungen 11 zu ändern. In einem Fall, bei dem der Ausgabezeitpunkt für jede der Nach-dem-Wechsel-Positionierungsanweisungen 11 geändert wird, sind die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 bevorzugt konfiguriert zum Ausgeben, bei Warten auf die Beendigung des Werkzeugwechselbetriebs, der Nach-dem-Wechsel-Positionierungsanweisung 11, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11 zumindest die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb enthält, und ist ebenfalls konfiguriert zum Ausgeben, ohne ein Warten auf die Beendigung des Werkzeugwechselbetriebs, der Nach-dem-Wechsel-Positionierungsanweisung 11, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11 nur durch die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb ausgebildet ist.In the first and second embodiments, the movement instruction determination units keep 3 and 19 each of the Axis Component statements represents the post-change positioning instruction 11 executed and free the retention and change the issue time for each of the axis components. The movement instruction determination units 3 and 19 however, they may also be configured each of the post-change positioning instructions 11 to hold and release the retention, and the Issue time for each of the post-change positioning instructions 11 to change. In a case where the output timing for each of the post-change positioning instructions 11 is changed, the movement instruction determination units 3 and 19 preferably configured to output, upon waiting for the tool change operation to complete, the post-change positioning instruction 11 when the post-change positioning instruction 11 at least the axis component instruction for positioning the axis with respect to the tool change operation, and is also configured to output, without waiting for the completion of the tool change operation, the post-change positioning instruction 11 when the post-change positioning instruction 11 is formed only by the axis component instruction for positioning the axis without reference to the tool change operation.

Es wird vermerkt, dass in einem Fall, bei dem dann, wenn die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 konfiguriert sind zum Ändern des Ausgabezeitpunkts für jede der Achsenkomponentenanweisung, wenn die Nach-dem-Wechsel-Positionierungsanweisung 11 die Achsenkomponentenanweisung zum Positionieren der Achse in Bezug auf den Werkzeugwechselbetrieb und die Achsenkomponentenanweisung zur Positionierung der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält, die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 manchmal nur die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb früher ausführen können. Es ist daher möglich, die Werkzeugwechselzeit effektiver zu nutzen, verglichen damit, wenn die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 konfiguriert sind zum Ändern des Ausgabezeitpunkts für jede der Nach-dem-Wechsel-Positionierungsanweisungen 11.It is noted that in a case where when the movement instruction designating units 3 and 19 are configured to change the output timing for each of the axis component instructions when the post-change positioning instruction 11 the axis component instruction for positioning the axis with respect to the tool change operation and the axis component instruction for positioning the axis without reference to the tool change operation include the move instruction designation units 3 and 19 sometimes only the axis component instruction to position the axis without reference to tool change operation may execute earlier. It is therefore possible to use the tool changing time more effectively as compared with when the movement instruction determining units 3 and 19 are configured to change the output time for each of the post-change positioning instructions 11 ,

In der ersten und zweiten Ausführungsform sind die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 konfiguriert zum Ändern des Ausgabezeitpunkts für jede der Achsenkomponentenanweisungen. In einem Fall, bei dem zwei Nach-dem-Wechsel-Positionierungsanweisungen 11 ausgegeben werden, wenn die frühere Nach-dem-Wechsel-Positionierungsanweisung 11 der zwei Nach-dem-Wechsel-Positionierungsanweisungen 11 die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb nicht enthält, und auch dann, wenn die spätere Nach-dem-Wechsel-Positionierungsanweisung 11 der zwei Nach-dem-Wechsel-Positionierungsanweisungen 11 die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält, sind die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 konfiguriert zum Ausgeben der Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb, enthalten in der späteren Nach-dem-Wechsel-Positionierungsanweisung 11, ohne auf die Beendigung des Werkzeugwechselbetriebs zu warten, und in einem Fall bei dem sowohl die frühere Nach-dem-Wechsel-Positionierungsanweisung 11 als auch die spätere Nach-dem-Wechsel-Positionierungsanweisung 11 die Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb enthält, nachdem der Betrieb auf Grundlage der Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb, enthalten in der früheren Nach-dem-Wechsel-Positionierungsanweisung 11, abgeschlossen wurde, sind die Bewegungsanweisungs-Bestimmungseinheiten 3 und 19 konfiguriert zum Ausgeben der Achsenkomponentenanweisung zum Positionieren der Achse ohne Bezug auf den Werkzeugwechselbetrieb, enthalten in der späteren Nach-dem-Wechsel-Positionierungsanweisung 11. Die numerische Steuervorrichtung 1 und 1a kann folglich, wie in 7-1 gezeigt, eine Steuerung für die Achsenkomponentenanweisung ausführen, die in der späteren Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist, und zwar früher als die Steuerung für die Achsenkomponentenanweisung, die in der späteren Nach-dem-Wechsel-Positionierungsanweisung enthalten ist, und die numerische Steuervorrichtung 1 und 1a kann, wie auch in 12-1 gezeigt, die Steuerung für die Achsenkomponentenanweisung, die in der späteren Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist, starten, der Steuerung für die Achsenkomponentenanweisung folgend, die in der früheren Nach-dem-Wechsel-Positionierungsanweisung 11 enthalten ist, und die ohne ein Warten auf die Beendigung des Werkzeugwechselbetriebs gestartet wurde. Die numerische Steuervorrichtung 1 und 1a kann daher die Steuerung für die zwei Nach-dem-Wechsel-Positionierungsanweisungen 11 in einer Bearbeitungszeit ausführen, die so kurz wie möglich ist.In the first and second embodiments, the movement instruction determination units are 3 and 19 configured to change the output time for each of the axis component instructions. In a case where two post-change positioning instructions 11 issued when the earlier post-change positioning instruction 11 the two post-change positioning instructions 11 does not include the axis component instruction for positioning the axis without reference to the tool change operation, and also when the later after-change positioning instruction 11 the two post-change positioning instructions 11 The axis component instruction for positioning the axis without reference to the tool change operation includes the move instruction designation units 3 and 19 configured to output the axis component instruction for positioning the axis without reference to the tool change operation, included in the later after-change positioning instruction 11 without waiting for the tool change operation to complete, and in a case where both the earlier post-change positioning instruction 11 as well as the later post-exchange positioning instruction 11 includes the axis component instruction for positioning the axis without reference to the tool change operation after the operation based on the axis component instruction for positioning the axis without reference to the tool change operation included in the previous post-change positioning instruction 11 , has been completed are the move instruction designation units 3 and 19 configured to output the axis component instruction for positioning the axis without reference to the tool change operation, included in the later after-change positioning instruction 11 , The numerical control device 1 and 1a can therefore, as in 7-1 shown execute a control for the Achsenkomponentenanweisung, in the later post-change positioning instruction 11 is included earlier than the control for the axis component instruction included in the later after-change positioning instruction, and the numerical control device 1 and 1a can, as well as in 12-1 shown, the control for the Achsenkomponentenanweisung, in the later post-change positioning instruction 11 Start following the control for the axis component instruction that was in the earlier post-change positioning instruction 11 is included and started without waiting for the tool change operation to finish. The numerical control device 1 and 1a Therefore, the controller may be responsible for the two post-change positioning instructions 11 in a processing time that is as short as possible.

Es wird vermerkt, dass in der ersten und zweiten Ausführungsform die Z-Achse, wobei es sich um die Achse zur Bewegung des Werkzeugs 102 handelt, als die Achse in Bezug auf den Werkzeugwechselbetrieb erläutert wurde, und die Z-Achse und die Y-Achse, wobei es sich um die Achsen zur Bewegung des Werkstücks handelt, das heißt, dem Tisch 103, sind als Achsen ohne Bezug auf den Werkzeugwechselbetrieb beschrieben. Eine Klassifikation dahingehend, ob eine Achse die Achse mit Bezug auf den Werkzeugwechselbetrieb ist, ist jedoch nicht auf darauf beschränkt.It is noted that in the first and second embodiments, the Z-axis, which is the axis for moving the tool 102 when the axis was explained in terms of the tool change operation, and the Z axis and the Y axis, which are the axes for moving the workpiece, that is, the table 103 , are described as axes without reference to tool change operation. However, a classification as to whether an axis is the axis with respect to the tool change operation is not limited thereto.

Industrielle AnwendbarkeitIndustrial applicability

Wie oben erläutert, ist die numerische Steuervorrichtung gemäß der vorliegenden Erfindung geeignet für eine numerische Steuervorrichtung anwendbar, die eine Werkzeugmaschine numerisch steuert, die einen Werkzeugwechsel ausführen kann.As explained above, the numerical control apparatus according to the present invention is suitably applicable to a numerical control apparatus that numerically controls a machine tool that can perform a tool change.

BezugszeichenlisteLIST OF REFERENCE NUMBERS

1, 1a1, 1a
Numerische SteuervorrichtungenNumerical control devices
2, 182, 18
ProgrammanalyseeinheitenProgram analysis units
3, 193, 19
Bewegungsanweisungs-BestimmungseinheitenMovement-command determining units
44
Interpolationseinheitinterpolation
5, 205, 20
Werkzeugwechsel-AnweisungsausgabeeinheitenTool change instruction output units
6, 216, 21
ParameterspeichereinheitenParameter storage units
77
Bearbeitungsprogrammediting program
88th
Servo-VerstärkerServo amplifier
99
WerkzeugwechselvorrichtungTool changing device
1010
Bewegungsanweisungmovement command
1111
Nach-dem-Wechsel-PositionierungsanweisungAfter-the-replacement positioning command
1212
WerkzeugwechselanweisungTool replacement command
1313
Bewegungsanweisungmovement instruction
1414
Bewegungsgrößemovement variable
1515
Feedback-PositionFeedback position
1616
Werkzeugwechsel-BeendigungssignalTool change completion signal
1717
MaschinenstrukturinformationMachine structure information
2222
Werkzeugwechsel-Positions-Return-AnweisungTool change position return statement
2323
Werkzeugwechsel-Positions-Return-BeendigungssignalTool change position return completion signal
2424
InterferenzvermeidungsbereichsinformationInterference avoidance area information
100100
Bearbeitungswerkzeugprocessing tool
101101
Werkzeugmagazintool magazine
102a bis c102a to c
WerkzeugeTools
103103
Tabelletable
201201
Arithmetikeinheitarithmetic unit
202202
Speichervorrichtungstorage device
203203
Eingabevorrichtunginput device
204204
Anzeigevorrichtungdisplay device
205205
Werkzeugmaschinen-Verbindungs-I/FMachine tool connection I / F
206206
Numerisches SteuerprogrammNumerical control program

Claims (5)

Numerische Steuervorrichtung, umfassend: eine Programmanalyseeinheit, konfiguriert zum vorab Abrufen, aus einem Bearbeitungsprogramm, einer ersten Anweisung zum Anweisen eines Werkzeugwechselbetriebs und einer zweiten Anweisung zum Anweisen nur einer Positionierung einer Achse, die in einer Werkzeugmaschine enthalten, wobei die zweite Anweisung der ersten Anweisung folgt, und zum Ausgeben der ersten Anweisung und der zweiten Anweisung; eine Werkzeugwechsel-Anweisungsausgabeeinheit, konfiguriert, um zu bewirken, auf Grundlage der durch die Programmanalyseeinheit ausgegebenen ersten Anweisung, dass die Werkzeugmaschine den Werkzeugwechselbetrieb ausführt; und eine Achsensteuereinheit, konfiguriert zum Starten, wenn die durch die Programmanalyseeinheit ausgegebene zweite Anweisung einer Anweisung zum Positionieren der ersten Achse mit Bezug auf den Werkzeugwechselbetrieb ist, Steuern der ersten Achse auf Grundlage der zweiten Anweisung, nach einem Warten auf die Beendigung des Werkzeugwechselbetriebs auf Grundlage der ersten Anweisung, und zum Starten, wenn die durch die Programmanalyseeinheit ausgegebene zweite Anweisung eine Anweisung zum Positionieren der zweiten Achse ohne Bezug auf den Werkzeugwechselbetrieb ist, einer Steuerung der zweiten Achse auf Grundlage der zweiten Anweisung, ohne auf die Beendigung des Werkzeugwechsels auf Grundlage der ersten Anweisung zu warten.A numerical control device, comprising: a program analysis unit configured to pre-fetch from a machining program, a first instruction for instructing a tool change operation and a second instruction for instructing only a positioning of an axis included in a machine tool, the second instruction following the first instruction, and outputting the first instruction and the second instruction; a tool change instruction issuing unit configured to effect, on the basis of the first instruction output by the program analyzing unit, that the machine tool is performing tool change operation; and an axis control unit configured to start when the second instruction issued by the program analysis unit is an instruction to position the first axis with respect to the tool change operation, controlling the first axis based on the second instruction after waiting for the tool change operation to complete based on first instruction, and for starting, when the second instruction output by the program analysis unit is an instruction for positioning the second axis without reference to the tool change operation, controlling the second axis based on the second instruction without terminating the tool change based on the first instruction Instruction to wait. Numerische Steuervorrichtung nach Anspruch 1, wobei in dem Bearbeitungsprogramm, eine dritte Anweisung, die bewirkt, dass die Werkzeugmaschine die erste Achse zu einer Werkzeugwechselposition bewegt, vor der ersten Anweisung geschrieben ist, und die Achsensteuereinheit eine Steuerung der ersten Achse auf Grundlage der dritten Anweisung ausführt, und, wenn die zweite Anweisung, die durch die Programmanalyseeinheit ausgegeben wird, die Anweisung zum Positionieren der zweiten Achse ist, die Steuerung der zweiten Achse auf Grundlage der zweiten Anweisung startet, bevor der Werkzeugwechselbetrieb auf Grundlage der ersten Anweisung gestartet wird, nachdem die erste Achse eine vorbestimmte Position auf halben Weg in der Bewegung auf Grundlage der dritten Anweisung erreicht.The numerical control apparatus according to claim 1, wherein in the machining program, a third instruction that causes the machine tool to move the first axis to a tool change position is written before the first instruction, and the axis controller executes the first axis control based on the third instruction and, if the second instruction output by the program analysis unit is the second-axis positioning instruction, the second-axis control starts based on the second instruction before the tool change operation is started based on the first instruction after the first instruction Axis reaches a predetermined position halfway in the movement based on the third instruction. Numerische Steuervorrichtung nach Anspruch 1 oder 2, wobei die Achsensteuereinheit dann, wenn die durch die Programmanalyseeinheit ausgegebene zweite Anweisung eine Anweisung zum Positionieren der ersten Achse und eine Anweisung zum Positionieren der zweiten Achse enthält, eine Steuerung der ersten Achse auf Grundlage der Anweisung zum Positionieren der ersten Achse startet, enthalten in der zweiten Anweisung, nach einem Warten auf die Beendigung des Werkzeugwechselbetriebs auf Grundlage der ersten Anweisung, und eine Steuerung der zweiten Achse auf Grundlage der Anweisung zum Positionieren der zweiten Achse startet, enthalten in der zweiten Anweisung, ohne auf die Beendigung des Werkzeugwechselbetriebs auf Grundlage der ersten Anweisung zu warten.The numerical control apparatus according to claim 1, wherein the axis control unit, when the second instruction output by the program analysis unit includes a first axis positioning instruction and a second axis positioning instruction, controls the first axis based on the positioning instruction first axis starts to be included in the second instruction, after waiting for the completion of the tool change operation based on the first instruction, and a second axis controller based on the instruction for positioning the second axis starts to be included in the second instruction, without the Stop tool change operation based on the first instruction. Numerische Steuervorrichtung nach Anspruch 3, wobei die Programmanalyseeinheit ein vorab Abrufen eines Paares der zweiten Anweisungen von dem Verarbeitungsprogramm durchführt und die zweiten Anweisungen ausgibt, und die Achsensteuereinheit dann, wenn die frühere zweite Anweisung der zwei zweiten Anweisungen, die durch die Programmanalyseeinheit ausgegeben werden, die Anweisung zum Positionieren der zweiten Achse nicht enthält und die spätere zweite Anweisung der zwei zweiten Anweisungen die Anweisung zum Positionieren der zweiten Achse enthält, eine Steuerung auf Grundlage der Anweisung zum Positionieren der zweiten Achse startet, die in der späteren zweiten Anweisung enthalten ist, ohne auf die Beendigung des Werkzeugwechselbetriebs auf Grundlage der ersten Anweisung zu warten, und dann, wenn sowohl die frühere zweite Anweisung als auch die spätere zweite Anweisung die Anweisung zum Positionieren der zweiten Achse enthalten, eine Steuerung auf Grundlage der Anweisung zum Positionieren der zweiten Achse startet, die in der späteren zweiten Anweisung enthalten ist, nach einem Beenden der Steuerung auf Grundlage der Anweisung zum Positionieren der zweiten Achse, enthalten in der früheren zweiten Anweisung.The numerical control apparatus according to claim 3, wherein the program analysis unit performs a prefetching of a pair of the second instructions from the processing program and outputs the second instructions, and the axis control unit, if the former second instruction of the two second instructions designated by the Program analysis unit that does not include the instruction for positioning the second axis and the later second instruction of the two second instructions includes the instruction for positioning the second axis, starts a control based on the instruction for positioning the second axis, which in the later second instruction is included, without waiting for the completion of the tool change operation based on the first instruction, and if both the former second instruction and the later second instruction include the instruction for positioning the second axis, control based on the instruction for positioning the second instruction The second axis, which is included in the later second instruction, starts after terminating the control based on the instruction for positioning the second axis included in the former second instruction. Numerische Steuervorrichtung nach Anspruch 4, wobei die erste Achse eine Achse ist, die bewirkt, dass die Werkzeugmaschine eine Werkzeugmaschine bewegt, und die zweite Achse ist, die bewirkt, dass die Werkzeugmaschine ein Werkstück bewegt.The numerical control apparatus according to claim 4, wherein the first axis is an axis that causes the machine tool to move a machine tool, and the second axis is that causes the machine tool to move a workpiece.
DE112012005645.0T 2012-02-06 2012-02-06 Numerical control device Withdrawn DE112012005645T5 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/052609 WO2013118241A1 (en) 2012-02-06 2012-02-06 Numeric control device

Publications (1)

Publication Number Publication Date
DE112012005645T5 true DE112012005645T5 (en) 2014-10-30

Family

ID=47789890

Family Applications (1)

Application Number Title Priority Date Filing Date
DE112012005645.0T Withdrawn DE112012005645T5 (en) 2012-02-06 2012-02-06 Numerical control device

Country Status (6)

Country Link
US (1) US9494928B2 (en)
JP (1) JP5143316B1 (en)
CN (1) CN104115079B (en)
DE (1) DE112012005645T5 (en)
TW (1) TWI498692B (en)
WO (1) WO2013118241A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016007898B4 (en) * 2015-06-30 2019-11-21 Fanuc Corporation Numerical control with advance notification of the execution of an auxiliary function

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2998066B1 (en) * 2014-09-19 2017-06-14 Mikron Agie Charmilles AG High voltage crash prevention device for machine tools
JP6105548B2 (en) * 2014-12-12 2017-03-29 ファナック株式会社 Numerical control device with interference avoidance positioning function
JP6247265B2 (en) * 2015-09-29 2017-12-13 ファナック株式会社 Tool changer
JP6423811B2 (en) * 2016-02-29 2018-11-14 ファナック株式会社 Numerical control device that can change machining conditions according to machining information
JP6665645B2 (en) * 2016-04-08 2020-03-13 ブラザー工業株式会社 Numerical control device and control method
JP6378284B2 (en) 2016-10-21 2018-08-22 ファナック株式会社 Numerical control device and control method of numerical control device
JP6687579B2 (en) * 2017-10-24 2020-04-22 ファナック株式会社 Numerical control device
JP7132166B2 (en) * 2019-04-04 2022-09-06 ファナック株式会社 Numerical controller and numerical control system
DE112021002783T5 (en) * 2020-05-15 2023-04-27 Fanuc Corporation Numerical control device and control method
WO2024042568A1 (en) * 2022-08-22 2024-02-29 ファナック株式会社 Numerical control device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746287B2 (en) * 1987-06-12 1995-05-17 ブラザー工業株式会社 Numerical control device
JP2636044B2 (en) * 1989-05-24 1997-07-30 オ−クマ株式会社 Numerical control method and apparatus
JP3224596B2 (en) * 1992-05-02 2001-10-29 ブラザー工業株式会社 Numerical control unit
JP2791733B2 (en) 1992-06-18 1998-08-27 ファナック株式会社 Tool change method
JPH1148072A (en) 1997-08-07 1999-02-23 Brother Ind Ltd Machine tool
JPH11300577A (en) * 1998-04-22 1999-11-02 Murata Mach Ltd Machine tool
JP2005040929A (en) 2003-07-25 2005-02-17 Toyoda Mach Works Ltd Machining center
JP2007179314A (en) * 2005-12-28 2007-07-12 Star Micronics Co Ltd Machine tool and program conversion method therefor
CN101233462B (en) * 2006-07-26 2012-12-05 三菱电机株式会社 Digital control apparatus
JP4199270B2 (en) * 2006-08-08 2008-12-17 ファナック株式会社 Numerical control device and numerical control method for switching between position control and pressure control
JP5415311B2 (en) * 2010-01-29 2014-02-12 株式会社森精機製作所 Method and apparatus for controlling machine tool capable of resuming automatic operation
CN101898316B (en) * 2010-06-01 2013-08-07 陕西汉江机床有限公司 Automatic tool setting device for numerical control external thread grinder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016007898B4 (en) * 2015-06-30 2019-11-21 Fanuc Corporation Numerical control with advance notification of the execution of an auxiliary function

Also Published As

Publication number Publication date
TWI498692B (en) 2015-09-01
US9494928B2 (en) 2016-11-15
WO2013118241A1 (en) 2013-08-15
JPWO2013118241A1 (en) 2015-05-11
CN104115079B (en) 2015-12-23
US20150134105A1 (en) 2015-05-14
TW201333651A (en) 2013-08-16
CN104115079A (en) 2014-10-22
JP5143316B1 (en) 2013-02-13

Similar Documents

Publication Publication Date Title
DE112012005645T5 (en) Numerical control device
EP2188684B1 (en) Virtual machine tool for representing operations of machining units of a real machine tool
EP1762919B1 (en) Simulation system
EP1480095B1 (en) Method and system for generating or visualising control data sets
DE102017009760B4 (en) Numerical control device and control method for a numerical control device
DE112012006379B4 (en) Numerical control device
DE102016014152B4 (en) Numerical control device
DE102013010853B4 (en) Numerical control device having a program restart function
DE102007045595A1 (en) Method and virtual machine tool for displaying actions of a real machine tool
EP2718776A1 (en) Method and system for simulating a working process on a machine tool
EP2188682B1 (en) Machine tool
DE102015012352A1 (en) Numerical control system
DE102014015008B4 (en) Numeric control that can set a breakpoint
DE102010010105A1 (en) Numerical control device with an axle reconfiguration option
DE102004019653B4 (en) simulation device
DE1966794B2 (en) Device for the numerical control of machine tools by means of a central data processing system
DE102014009190B4 (en) Numerical control unit with a screen display switching function following an NC program
DE102018008226A1 (en) Numerical control
DE102014105431B4 (en) Operating system for a direct numerical control
DE112021004248T5 (en) Numerical control system and robot control method
DE3311297C2 (en)
DE102015015290B4 (en) Multi-system numerical control device
DE102018003992B4 (en) Numerical control device
DE102018101654B4 (en) Control device
DE112014006931B4 (en) Numerical control device

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R082 Change of representative

Representative=s name: HOFFMANN - EITLE, DE

Representative=s name: HOFFMANN - EITLE PATENT- UND RECHTSANWAELTE PA, DE

R016 Response to examination communication
R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee