The invention provides a numerical control device, can start again conditions carefully specify the program read after inhibition of prefetching, sequentially reading each block of program instruction and analyzes the instruction will be executed, the analytical results are saved in processing readahead buffer memory, according to the analytical results stored in the buffer memory. A block of instructions executed according to control machine, the numerical control device has the following functions: to read from the program into the code block to stop reading, the reading process is stopped, which is characterized in that the numerical control device has a start condition determining part again, to determine whether they meet the by the end of the reading instruction code reading again start conditions; start again in the first reading, by the determination section determines the conditions started again Meet the conditions to start again, the reading processing started again, again the start condition is related to the mechanical condition.
【技术实现步骤摘要】
数值控制装置
本专利技术涉及一种数值控制装置,特别是涉及具有基于条件指定的加工程序预读开始功能的数值控制装置。
技术介绍
根据数值控制装置的机器种类存在具有如下预读功能的机器种类:在比执行程序的时间点早的阶段,在数值控制装置的存储器上预先读出程序内的块(程序块)来开始解析。这样的预读功能存在可以最小限度地抑制进行加工时解析程序的延迟对加工造成的影响这样的优点,而另一方面当在之前的程序涉及的加工动作结束之前存在不能解析的块时,有时会引起各种问题。例如,图7所示的程序O0001包含使用了在工具处于距离工件规定距离以内时为1的定制宏变量#100的宏语句“IF[#100EQ1]GOTO100”,该宏语句表示确认Z轴的移动结束地点的工具与工件之间的距离而记述于程序内。在运转这样的程序O0001时,当在通过移动指令“G00Z100.0”使Z轴从0.0向100.0移动结束之前预读出宏语句“IF[#100EQ1]GOTO100”时,宏语句与轴移动指令不同而与预读和解析处理一起被执行,因此,存在不能在正确位置确认工具与工件之间的距离,而直接进行IF语句的判定和GOTO语句的跳转(分 ...
【技术保护点】
一种数值控制装置,依次读出程序的各块的指令并对该指令进行解析,执行将该解析结果保存于缓冲存储器的预读处理,根据保存于该缓冲存储器的解析结果来执行预读出的块的指令从而控制机械,所述数值控制装置具有如下功能:在从程序中读出插入了使预读停止的代码的块时,使所述预读处理停止,其特征在于,所述数值控制装置具有:再次开始条件判定部,其判定是否满足由使所述预读停止的代码指令的预读的再次开始条件;以及预读先行再次开始部,在由所述再次开始条件判定部判定为满足了所述再次开始条件时,使所述预读处理再次开始,所述再次开始条件是与所述机械的状态有关的条件。
【技术特征摘要】
2016.05.12 JP 2016-0962621.一种数值控制装置,依次读出程序的各块的指令并对该指令进行解析,执行将该解析结果保存于缓冲存储器的预读处理,根据保存于该缓冲存储器的解析结果来执行预读出的块的指令从而控制机械,所述数值控制装置具有如下功能:在从程序中读出插入了使预读停止的代码的块时,使所述预读处理停止,其特征在于,所述数值控制装置具有:再次开始条件判定部,其判定是否满足由使所述预...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。