Numerical controller provided with program pre-reading function
AssigneeFanuc Corporation
InventorTakahiro Haraguchi
Life of this patent
Estimating the term…
Abstract
A numerical controller successively pre-reads blocks of a plurality of NC programs from a memory or from a storage device connected via a network, while executing the NC programs in parallel. The execution times of the pre-read blocks are integrated in respect of all of the NC programs that are the object of pre-reading, and when an NC program having the shortest integrated execution time of the pre-read blocks can be pre-read, the next block in that NC program is pre-read. On the other hand, when that NC program cannot be pre-read, the NC program is excluded from the pre-reading objects.
Claims15
A numerical controller which executes a plurality of numerical control (“NC”) programs at a same time in parallel by successively pre-reading blocks of the plurality of NC programs from a memory or from a storage device connected via a network so that the generation of an alarm or an immediate axes stop due to the pre-reading failing to be performed in time becomes less liable to occur, the numerical controller comprising:
- non-transitory computer readable memory;
- one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the numerical controller to perform operations comprising:
- storing execution times of the respective blocks in the plurality of NC programs;
- reading out, when one block in an NC program among the plurality of NC programs is pre-read, the execution time of the pre-read block, and calculates a sum total of the execution time of the pre-read block and the execution times of other blocks in the NC program which have been pre-read;
- extracting, from the plurality of NC programs, one NC program having the smallest sum total of the execution times calculated;
- and
- subsequently performing pre-reading of one block of the NC program which is extracted and has the smallest sum total of the execution times among those of the plurality of NC programs.
A numerical controller having a program pre-reading function which executes a plurality of numerical control (“NC”) programs at a same time in parallel by successively pre-reading blocks of the plurality of NC programs from a memory or from a storage device connected via a network so that the generation of an alarm or an immediate axes stop due to the pre-reading failing to be performed in time becomes less liable to occur, the numerical controller comprising:
- non-transitory computer readable memory;
- one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the numerical controller to perform operations comprising:
- calculating execution times from contents of commands of the respective blocks in the plurality of NC programs;
- reading out, when one block in an NC program among the plurality of NC programs is pre-read, the execution time of the pre-read block calculated and calculates a sum total of the execution time of the pre-read block and the execution times of other blocks in the NC program which have been pre-read;
- extracting, from the plurality of NC programs, one NC program having the smallest sum total of the execution times calculated;
- and
- subsequently performing pre-reading of one block of the NC program which is extracted and has the smallest sum total of the execution times among those of the plurality of NC programs.
A numerical controller which sets a time, a position of an axis, or a position of a spindle, as a reference, and which:
- stores a plurality of pieces of table format data in which the reference time, the reference axis position or the reference spindle position is associated with a position of an axis or a spindle, other than the reference axis or the reference spindle, in a memory or a storage device connected via a network;
- and executes the plurality of pieces of table format data in parallel at the same time by successively pre-reading a block of table format data composed of (i) the reference time, the reference axis position or the reference spindle position, and (ii) the position of the axis or the spindle other than the reference axis or the reference spindle, so that the generation of an alarm or an immediate axes stop due to the pre-reading failing to be performed in time becomes less liable to occur, the numerical controller comprising:
- non-transitory computer readable memory;
- one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the numerical controller to perform operations comprising:
- storing execution times of the respective blocks in the plurality of pieces of table format data;
- reading out, when one block in a piece of table format data among the plurality of pieces of table format data is pre-read, the execution time of the pre-read block, and calculating a sum total of the execution time of the pre-read block and execution times of other blocks in the pieces of table format data which have been pre-read;
- extracting, from the plurality of pieces of table format data, one piece of table format data in which the sum total of the execution times calculated is the smallest;
- and
- subsequently performing pre-reading of one block of the piece of table format data which is extracted and has the smallest sum total of the execution times among those of the plurality of table format data.
Dependencies are inferred from the claim text.