Hi Jim.
Yes all the code is under one button.
The thing is that when you press stop alone it loses pulses and therefore position. The pause seems to decelerate it before stopping the movement allowing the buffer to empty normally not losing any ticks.
I like the reset button to put the machine in a particular state, (no offsets, g54,g90,g21,etc,etc) and for the sake of the above mentioned machine position want to stop any movement appropriately before resetting all those states should the button get arbitrarily pressed during cycle execution. (kind of muddy explanation).
Currently a pause button push then a reset button push works just fine. Just wanted to be under one button so I dont have to tell every operator to push pause before reset else machine will need rehoming.
Thanks
Jim