Numerical controller and program editing method having machining cycle generation function
AssigneeFanuc Corporation
InventorYasuhiro Ota
Life of this patent
Estimating the term…
Abstract
Disclosed is a numerical controller that recognizes a range between a machining command for a tool number previously designated by an NC program for machining control and a machining command for the next tool number as a single machining process, generates a machining cycle command from the recognized single machining process, and generates an NC program in which the single machining process on the NC program is replaced by the generated machining cycle command.
Claims9
A numerical controller that performs machining control of a machine tool by using a numerical controller (“NC”) program, the numerical controller including a processor configured to perform a method for controlling the machining of a workpiece, the method comprising:
- recognizing, by the processor as a single machining process for a first tool, one or more blocks of machining commands for a first tool number previously designated by a first NC program based on a block for a tool change command for a second tool number being designated by the first NC program;
- identifying, by the processor from a tool data list, a machining type and associated tool figure data based on the first tool number previously designated by the first NC program, wherein a machining type and associated tool figure data are predefined for each tool number of a plurality of tool numbers;
- identifying, by the processor from a cutting conditions table, cutting conditions for the single machining process based on the identified machining type;
- generating, by the processor, a machining area figure for the identified cutting conditions by extracting all cutting feed commands for the identified cutting conditions from one or more blocks of the first NC program for the single machining process;
- generating, by the processor, a machining cycle command for the first tool from the recognized single machining process for the first tool based on the identified cutting conditions and generated machining area figure;
- generating, by the processor, a new NC program in which the recognized single machining process for the first tool of the first NC program is replaced by the generated machining cycle command for the first tool, wherein the new NC program has a smaller number of blocks than blocks of the first NC program;
- and
- controlling of the machine tool by using the new NC program.
A computer-implemented program editing method for generating a numerical controller (“NC”) program for a numerical controller that performs machining control of a machine tool, the NC program being partly replaced by a machining cycle command, the program editing method comprising the steps of:
- recognizing, by a processor as a single machining process for a first tool, one or more blocks of machining commands for a first tool number previously designated by a first NC program based on a block for a tool change command for a second tool number being designated by the first NC program;
- identifying, by the processor from a tool data list, a machining type and associated tool figure data based on the first tool number previously designated by the first NC program, wherein a machining type and associated tool figure data are predefined for each tool number of a plurality of tool numbers;
- identifying, by the processor from a cutting conditions table, cutting conditions for the single machining process based on the identified machining type;
- generating, by the processor, a machining area figure for the identified cutting conditions by extracting all cutting feed commands for the identified cutting conditions from one or more blocks of the first NC program for the single machining process;
- generating, by the processor, a machining cycle command for the first tool from the recognized single machining process for the first tool based on the identified cutting conditions and generated machining area figure;
- and
- generating, by the processor, a new NC program in which the recognized single machining process for the first tool of the first NC program is replaced by the generated machining cycle command for the first tool, wherein the new NC program has a smaller number of blocks than blocks of the first NC program,
- wherein the numerical controller performs machining control of the machine tool by using the new NC program.
Dependencies are inferred from the claim text.