Not sure on your other question, what exactly are you meaning by the rapid movement distance
I will try a different approach, once the machine finishes a pocket, the Gcode wants to drive the z axis 60" up before it moves to the next pocket. Once it arrives to the next pocket it then wants to drive the z axis dow 60". My z axis is only 5"
Thanks