Numerical controller with inter-path waiting function
AssigneeFanuc Corporation
InventorsMakoto Haga, Masaaki Shindou
Life of this patent
Estimating the term…
Abstract
A pre-read/analysis process is carried out to analyze a code in a block, and whether or not the analyzed data contains an inter-path waiting code is determined. When the block contains an inter-path waiting code, the pre-read/analysis process is suspended, and whether or not a preset specified condition is met is judged. When the specified condition is met, inter-path waiting is started. When the inter-path waiting is established, code analysis data created before creation of execution data is discarded, and a pre-read/analysis process on the next block is immediately started.
Claims8
A numerical controller with an inter-path waiting function, having at least two control paths each sequentially pre-reading and analyzing each block of a machining program recorded in a memory or external storage device, wherein a processor of the numerical controller executes
- pre-read/analysis processes of a code analysis section that analyzes a loaded block to create code analysis data, a function code determination section that determines a function of the created code analysis data, and an execution data creation section that creates execution data for carrying out the function determined by the function code determination section are carried out in a pre-read/analysis process task;
- a pre-read/analysis suspend section suspending the pre-read/analysis process when the function code determination section determines that the block contains an inter-path waiting code;
- a specified condition judgment section checking an execution state of a block immediately before the block containing the inter-path waiting code with the pre-read/analysis process suspended by the pre-read/analysis suspend section, to judge whether or not a specified condition is met which specifies a condition for carrying out inter-path waiting commanded in the block containing the inter-path waiting code, the specified condition including at least one of a remaining amount of movement in the preceding block, a torque around any axis, a specific custom macro variable, an elapsed time from a beginning of the preceding block, a mechanical coordinate value of any axis, a feed speed resulting from axis movement in the preceding block, and a specific signal;
- an inter-path waiting section allowing suspension of the machining program for a control path targeted for the inter-path waiting commanded in the block containing the inter-path waiting code when the specified condition judgment section judges that the specified condition is met, and
- an inter-path waiting discard and resumption section determining the inter-path waiting to have been established when the inter-path waiting is carried out by the control path targeted for the inter-path waiting, using the same inter-path waiting code, discarding code analysis data created before the pre-read/analysis process is suspended, and immediately pre-reading the machining program from a block succeeding the block containing the inter-path waiting code to start a pre-read/analysis process,
- wherein processes of the a pre-read/analysis suspend section, the specified condition judgment section, the inter-path waiting section, and the inter-path waiting discard and resumption section are carried out in the pre-read/analysis process task.
Dependencies are inferred from the claim text.