NX Check Tool Inserts Every 5 Minutes

2023-09-25T11:22:58Z
NX for Manufacturing

Summary


Details

Check the inserts for wear. Interval chosen is 5 minutes. How can this be done in Post Configurator?

Solution

The sample code below sets the variable "i" to the integer of 5 at the start of program. In before motion, the cutting time checks to see if the variable "i" has reached the threshold of 5 minutes. The NC output can be placed in the proc tool_time .

LIB_GE_command_buffer_edit_insert MOM_start_of_program_LIB PROGRAMSTART init_var _START_PRG_INIT after @START_OF_PROGRAM #------------------------------------------------------------ proc init_var {} { #------------------------------------------------------------ global i   set i "5" } LIB_GE_command_buffer_edit_insert MOM_before_motion MOM_before_motion_ENTRY_end tool_time _TOOLTEST after @DEFAULT_ENTRY #------------------------------------------------------------ proc tool_time {} { #------------------------------------------------------------ global mom_cutting_time i   if {$mom_cutting_time >= $i} {      MOM_output_literal "\NEWLINE"      MOM_output_text "$mom_cutting_time Minute Interval Go Home - Change Insert\n"      MOM_output_literal "\NEWLINE"      incr i 5   } }

KB Article ID# PL8713072

Contents

SummaryDetails

Associated Components

Manufacturing Post Configurator