f100 (faster than possible-mach3 will throttle back) g21 (mm and absolute) m98 p1 l5 (run subroutine 5 times) m30 (rewind and stop) O1 (letter o - this subroutine must be run 5 times) g01 z-10 (first position) g01 z1 (do a feedrate move and move back)