Numerical control device and control method for numerical control device
AssigneeFanuc Corporation
InventorTsuyuki Shimizu
Life of this patent
Estimating the term…
Abstract
A numerical control device includes a program look-ahead unit for prereading and analyzing multiple blocks constituting a machining program, and a program execution unit for executing the blocks to control a machining operation and an auxiliary operation. The program execution unit sequentially executes the blocks in order from the initial block, and shifts an execution start time of the auxiliary operation block by an offset time corresponding to an auxiliary function code written in the auxiliary operation block.
Claims13
A numerical control device for controlling a machine tool configured to machine a workpiece with a tool, comprising:
- a program look-ahead unit configured to sequentially preread and analyze multiple blocks constituting a machining program in order from an initial one of the blocks;
- and
- a program execution unit configured to execute the blocks preread and analyzed by the program look-ahead unit to thereby control machining operations and an auxiliary operation configured to assist the machining operations, wherein:
- the multiple blocks include machining operation blocks with machining codes for performing the machining operations being written therein, and an auxiliary operation block with an auxiliary function code for performing the auxiliary operation being written therein;
- the program execution unit is configured to
- sequentially execute the blocks in order from the initial block,
- concerning the auxiliary operation block, shift an execution start time of the auxiliary operation block by an offset time corresponding to the auxiliary function code written in the auxiliary operation block,
- calculate a completion time required to complete execution of all machining operation blocks that have not yet been executed, among the already-preread machining operation blocks, at a detection time when the auxiliary operation block is detected by prereading of the program look-ahead unit, and
- start execution of the detected auxiliary operation block at the execution start time that is shifted by the offset time from the calculated completion time.
A control method for a numerical control device, the numerical control device controlling a machine tool configured to machine a workpiece with a tool, comprising:
- a look-ahead step of sequentially prereading and analyzing multiple blocks constituting a machining program in order from an initial one of the blocks;
- and
- an execution step of executing the blocks preread and analyzed in the look-ahead step to control machining operations and an auxiliary operation configured to assist the machining operations, wherein:
- the multiple blocks include machining operation blocks with machining codes for performing the machining operations being written therein, and an auxiliary operation block with an auxiliary function code for performing the auxiliary operation being written therein;
- and
- in the execution step,
- the blocks are sequentially executed in order from the initial block,
- concerning the auxiliary operation block, an execution start time of the auxiliary operation block is shifted by an offset time corresponding to the auxiliary function code written in the auxiliary operation block,
- a completion time is calculated that is required to complete execution of all machining operation blocks that have not yet been executed, among the already-preread machining operation blocks, at a detection time when the auxiliary operation block is detected by prereading in the look-ahead step, and
- execution of the detected auxiliary operation block is started at the
- execution start time that is shifted by the offset time from the calculated completion time.
Dependencies are inferred from the claim text.