Query:- G83..... what M-code do you use for peck drilling with full retracts ??
I think your #3 & #4 buttons on the keyboard have been swapped over.
The G-code is "modal", meaning it is active until changed by another G-code from the same group
ie G0, G1, G2, G3 are in one group
G17, G18, G19 are in another. A code from one group will not alter another code from a different group
So, there is no parameter to alter, just state the code on the 1st peck ( hole ), then do the pecks for that hole----you could put the pecks into a subroutine after the M30 if you had many holes to tap & use a call statement----remember to re-state the 1st peck level as all the addresses within the cycle are modal as well
ie
Code:
G95 G84 X0 Y0 R2.0 Z-10. F2.0
CALL OPECK
X10. Y0. Z-10. ( next hole, must specify the 1st peck level again)
CALL OPECK
G80 G94
...
M30
()
OPECK (Tapping Pecks) <-- yes, you can put comments here, they do help
Z-20.
Z-30.
RTS
%
G95 is feed per rev, so the feedrate is the lead/pitch of the tap ( saves remembering to alter the feedrate if you do change the programmed RPM )
---also look to see if you have the G284 function - also a rigid tap cycle