NX Post with option "Generate Group Output" shows three % (rewind stop code) but client only need two of them

2022-07-19T00:50:51Z
NX for Manufacturing

Summary


Details

When Using option 'Generate Group Output' the post will output three % (rewind stop code) and the user only need two rewind stop code.

Solution

A default Post Builder post with the option 'Generate Group Output' turn on will output a rewind stop code at every program start or sub-program start and that will error out on some controllers. 

The custom command below will allow the user to get only rewind stop code at the beginning and at the end of the program (with no redundant rewind codes at each program group). 

##PB_CMD_ percent_sign_for_group_postglobal mom_group_nameglobal mom_parent_group_name 

if { [string match $mom_parent_group_name $mom_group_name] } {MOM_do_template rewind_stop_code}

Just remove the % code in the Program Start Sequence event, create a custom command, paste the content above in, and it will produce only a rewind stop code at beginning and end of each program group, regardless of how many sub-program groups exist in the main program .

Notes

KB Article ID# PL8008755

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder