Numerical controller having function of automatically selecting storage destination of machining program
AssigneeFanuc Corporation
InventorTetsuya Inoue
Life of this patent
Estimating the term…
Abstract
A numerical controller performs analysis as to whether or not an input machining program is required to be read at high speed at the time of execution of the machining program, stores the machining program in any one of a storage unit which reads a program at high speed and a storage unit which reads a program at low speed in accordance with the analysis result, and updates information on a storage destination of the machining program. In this way, the storage destination of the input machining program can be automatically selected in accordance with the contents of the machining program.
Claims8
A numerical controller for controlling a machine tool based on a plurality of machining programs, the numerical controller comprising:
- first and second storage units that store the plurality of machining programs;
- a management information storing portion that stores management information including information on a storage destination of each of the plurality of machining programs;
- a program inputting portion that reads the plurality of machining programs;
- a program analyzing portion that performs analysis of contents of each machining program among the plurality of machining programs input from the program inputting portion, to determine whether or not the each machining program is required to be read at high speed at a time of execution of the each machining program;
- and
- a program managing portion that stores the each machining program in any one of the first storage unit and the second storage unit in accordance with a result of the analysis performed by the program analyzing portion, and updates the information on the storage destination of the each machining program, the information stored in the management information storing portion, wherein
- the first storage unit has a higher reading speed than the second storage unit,
- the management information includes, for each machining program among the plurality of machining programs,
- a high-speed flag indicating whether said each machining program includes a high-speed operation instruction,
- a subprogram counter indicating a number of other machining programs, among the plurality of machining programs, which call said each machining program as a subprogram during a high-speed operation in the other machining programs, and
- a repeated call counter indicating a number of further machining programs, among the plurality of machining programs, which repeatedly call said each machining program as a subprogram.
Dependencies are inferred from the claim text.