global mom_spindle_speed
global mom_operation_name
#if spindle_speed is zero show errors
if { $mom_spindle_speed == 0 } {
set errmes "\n\n 后处理提示您:工序名称为:$mom_operation_name 的主轴转速为0 S=0 请检查\n\n"
MOM_abort "$errmes"
}
#if feed is zero show errors
global feed
global mom_operation_name
if { $feed == 0 } {
set errmes "\n\n 后处理提示您:工序名称为:$mom_operation_name 的进给速度F等于0 F=0 请检查\n\n"
MOM_abort "$errmes"
}