I've seen that using a Siemens 840D controller template.
My first tests (if nobody has a better solution)...
1) See if the cycle is defined in a macro call ("macro" tab on the first dialog you show). See if that can be edited. (if that's what you want to edit)
2) Add PB_CMD custom commands to do what you want. Note you may also have to edit the existing ones. You may have to MOM_disable_address to "turn off" the output you don't want, then turn it back on later.
Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2 I'd rather be e-steamed than e-diseaseled