NX Post processor fails with a TCL error when posting tapping operations

2021-10-06T23:27:31Z
NX for Manufacturing

Summary


Details

All other operations will post, but tapping fails with a tcl error.  The NX log file reports this information on the cause:


Solution

The failure is caused by the post expecting a value for mom_spindle_retract_nominal_value to output as an H word in the cycle block.  The Mazak control needs to see the H word for tapping as a retract feed rate modifier parameter.  If the check box and value for "Retract Speed %" is not enabled in the operation here:
the post issues the above errors.  The post needs to substitute a default value of 100% if the programmer has not defined a value on the dialog in order to trap this error. 

Add a small custom command to the tapping event handler before the block output line:
In that custom command, create logic that tests for the existence of mom_spindle_retract_nominal_value.  If this exists, do nothing and simply use that value for the H word.  If it does not exist, set it to 100 as a default:
Post now writes the H100 word in the output block even when nothing is enabled in the operation feeds and speeds for a retract percentage.  If the programmer does have this option enabled and a value entered, he gets that information.



Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: CAM
Version: V12.0.2
Function: POSTBUILDER

Ref: 002-8016080

KB Article ID# PL8016080

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder