The invention provides a numerical control device. When the process is stopped due to abnormal detection, the action can be taken back in a short time and the tool backoff procedure is executed. Numerical control device (1) is based on the machining program to move the tool relative to the workpiece to control the machine tool that is processed. The numerical control device (1) includes: the program parsing department, parsing the processing program and generating the moving instruction data; the abnormal detection unit, detection of the exception in the processing; the retraction control unit should be retracted when the anomaly is detected. The action instruction that the control unit supplies the retracted movement of the tool from the workpiece; and the accumulative portion of the mobile amount, which accumulates the amount of movement of the tool based on the action instruction supplied from the retracted control unit, and the tool that is accumulated by the accumulative movement of the mobile amount at the end of the retracting action carried out by the retract control department. When the amount of the retracted movement is added to the coordinate value of the tool on the processing program and updates the coordinate values, the tool backoff program that moves the tool or the workpiece to the predetermined position is performed.
【技术实现步骤摘要】
数控装置
本专利技术涉及一种数控装置。
技术介绍
以往,已知有如下加工控制装置:在因停电或电源的异常引起电压降低时,将加工轨迹轮廓数据与基于工具退避计算公式的数据相加,在直到控制动作变得不能进行为止的时间内,一边继续通过工具进行加工一边使工具从工件缩回,并在工具缩回后使机床停止(例如,参照专利文献1)。现有技术文献专利文献专利文献1:日本专利第3810662号公报
技术实现思路
专利技术所要解决的问题在专利文献1所记载的加工控制装置中,虽然在进行了使工具退避到远离工件位置的缩回动作后停止加工动作,但是,为了防止在切断机床的各个电机的励磁时,因工具的意外动作而导致工件或工具发生损伤,或者为了在缩回动作后使工具或工件移动到容易再次开始运转的位置,因而在缩回动作结束后往往需要执行工具退避程序。然而,由于基于如上述的缩回动作中使用的工具退避计算式的数据与加工用程序彼此无关地生成,因此在缩回动作结束后,各电机会移动到与由加工用程序所掌握的位置不同的位置。因此,为了执行工具退避程序,需要通过重置使加工控制装置再次识别各电机的当前位置,选择工具退避程序并使循环开始。因此,重置动作、程序选择动作以及循环开始中的每一个动作都需要花费时间,从缩回动作结束到开始工具退避程序为止往往需要数秒的时间。特别是在停电时执行工具退避程序时,需要大容量的电容器模块那样的不间断电源装置,并且存在大型的机械和轴数多的机械成本变高这样的问题。本专利技术正是鉴于上述情况而完成的,其目的在于提供一种数控装置,在因检测到异常而停止加工的情况下,能够在短时间内进行缩回动作并执行工具退避程序。解决问题的手段为 ...
【技术保护点】
1.一种数控装置,其基于加工程序使工具相对于工件移动,从而控制进行加工的机床,所述数控装置的特征在于,包括:程序解析部,解析所述加工程序并生成移动指令数据;异常检测部,检测加工中的异常;缩回控制部,在通过所述异常检测部检测出异常时,所述缩回控制部供给使所述工具从所述工件退避的缩回动作的动作指令;以及移动量累计部,对基于从所述缩回控制部供给的动作指令的所述工具的移动量进行累计,其中,所述程序解析部在由所述缩回控制部进行的所述缩回动作结束时,将由所述移动量累计部累计的所述工具进行所述缩回动作的移动量与所述加工程序上的工具的坐标值相加并更新所述坐标值后,执行使所述工具或所述工件移动到预定的位置的工具退避程序。
【技术特征摘要】
2016.12.16 JP 2016-2447451.一种数控装置,其基于加工程序使工具相对于工件移动,从而控制进行加工的机床,所述数控装置的特征在于,包括:程序解析部,解析所述加工程序并生成移动指令数据;异常检测部,检测加工中的异常;缩回控制部,在通过所述异常检测部检测出异常时,所述缩回控制部供给使所述工具从所述工件退避的缩回动作的动作指令;以及移动量累计部,对基于从所述缩回控制部供给的动作指令的所述工具的移动量进行累计,其中,所述程序解析部在由所述缩回控制部进行的所述缩回动作结束时,将由所述移动量累计部累计的所述工具进行所述缩回动作的移动量与所述加工程序上的工具的坐标值相加并更新所述坐标值后,执行使所述工具或所述工件移动到预定的位置的工具退避程序。2.一种数控装置,其基于加工程序使...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。