Is Q the total depth or the depth of each peck?+−
Each peck, and always positive and incremental. The total depth is the Z. With Z-60, R2 and Q8 the control makes eight 8 mm pecks down to the Z-60 coordinate.
When do I use G83 and when G73?+−
G73 backs off only a few tenths or millimeters inside the hole: it breaks the chip but does not clear it, and it is fast. G83 pulls the drill out to the R plane on every peck: it is slower but it is the only thing that works past four or five diameters and in long chipping material.
What Q value do I use?+−
As a starting point, one drill diameter for the first pecks and half a diameter from four or five diameters deep. If the hole gets long and the machine starts to sound different or the spindle load climbs, drop Q before you break the drill.
Does G83 pull the drill out of the hole on every peck?+−
On Fanuc, yes: the retract goes all the way to the R plane. On Haas it depends on Setting 52, which can leave the retract above the last peck instead of clearing the hole. If the detail matters to you, check your machine manual before you rely on it.
Can you peck when tapping too?+−
Yes, but with other codes: some controls accept Q inside the G84 rigid tapping cycle, and Fanuc has G84.2 and G84.3 for peck tapping. It depends on the machine option, so check it before you run it with a tap down the hole.