NX
Tool Number Exceeds Limit on Carousel - Abort Postprocessing to Avoid Wrong NC Output
2021-10-06T23:27:53Z
NX for Manufacturing
Summary
Details
If the Tool Number exceeds the "Maximum" value, many posts are set to "Truncate Value" for "Violation Handling".
Truncate (Definition in NX Documentation) The maximum or minimum value is used instead of the value specified in NX.
The "WORD" tab with a "Maximum" value is displayed in the image below.
In the example above...if the program calls for Tool Number 43...the nc output will truncate the value to 41.
Solution
Change the "Violation Handling" to "Abort Process" (Please see image below). Note: An "Information" window can be sent to the user to alert them as to why the "Abort" happened and in this case...what Tool needs to be addressed.
#===============================================================================
# Exported Custom Commands created by plms SAMPLE ONLY...NOT FOR PRODUCTION USE
# on Friday, March 05 2021, 14:39:25 -0500
#===============================================================================
proc PB_CMD_check_tool_number { } {
#===============================================================================
global mom_tool_number mom_tool_name
if {$mom_tool_number > 41 } {
MOM_output_to_listing_device "####################################"
MOM_output_to_listing_device "###### Tool Number > 41 ####"
MOM_output_to_listing_device "###### Check Tool - $mom_tool_name ####"
MOM_output_to_listing_device "####################################"
MOM_abort "###### Postprocessing Aborting - Check Tool: $mom_tool_name #####"
}
}
Note: Sample Information Window is in the image below... Note: "Output" warning image is below...
Hardware/Software Configuration
Platform: all OS: n/a OS Version: n/a Product: NX Application: CAM Version: V1961 Function: POSTBUILDER