Ok, Ill try these suggestions next. The code I am currently using is attached.
The reason I’m so hung up on moving the pen up is because in the future I’m picturing moving XYZ independently and setting zero one at a time when I try to locate stock zero points. Am I correct in thinking this will need to be manual G Code commands, rather than resetting ramps? The only way resetting ramps works is if you are at the exact place in XYZ that you want to be zero.