Here is how I would do it.
The G98 sets the end of function retract level, G98 sets it to go back to the initial level (Z0)
Z-0.570 sets the depth to drill
R-0.490 sets the start point of the function and the retract level
Q0.007 sets the peck depth
The G73 pull back value must be set manually via the config section BEFORE you start the cycle.
From the X0Y0Z0 point it will rapid down to the R level and start the peck and retract cycle. It will peck .007" and retract .014" , then rapid back down to just shy of the peck depth and then peck down to the next peck level then retract. It continues this all the way down to final depth. The final peck if less than the peck depth will adhere to the final depth and stop short if needed. At eh end of function then it retracts back to the initial level Z0.000. IF you do not want it to retract back to the intial leval and just stay at teh R level then use G99 .
Sample code:
G0 X0 Y0 Z0
G98
G73 Z-.57 R-.490 Q.007 F1 (set G73 pullback to .014")
G80
M30
(;-) TP