I know on my machines, your Q is going to be how much it drills before it pecks back up, so for example, my G83 line in my program would look like this
"G83 R0.1 Z-1.0 F4.0 G98 Q.1"
"R" being how far it rapids down before slowing down to "F4.0" "Z" being how deep your drilling overall, and your Q being how deep it drills before pecking back up to .100 above the part. hope this helps