Right tapping cycle.
The G84 tapping cycle initiates the right hand tapping operation at defined XY position at defined height, defined depth for specified thread pitch. G84 cycle can be repeated at any given XY position until cycle is cancelled with G80 or with any other motion command(G01/G00).
Spindle synchronisation can be enabled under File/Settings/Input&Output/Spindle → Synchronisation → Enable
Tapping cycle phases:
Phase 1: XY position
The tapping XY position is determined by the active distance mode and optional XY parameters.
When the cycle code does not include optional XY parameters, the tapping process will occur at the current machine position. This applies regardless of whether the active distance mode is G90 or G91.
If G90 is active and the cycle code includes XY parameters, the tapping process will take place at the position specified by the XY parameters.
If G91 is active and the cycle code includes XY parameters, the tapping process will take place at the position defined by the XY parameters, taking into account the G91 distance mode.
Phase 2: R level
R level is Z height where tapping starts. R level is set with parameter R. Machine Z axis travels to R plane at traverse speed.
Phase 3: Spindle
If spindle is already ON and cycle code does not use parameter S, spindle speed remains as set with pre-existing S value.
If spindle is already ON and cycle code uses parameter S, new spindle speed is set with parameter S value.
If spindle is OFF and cycle code uses parameter S, spindle is turned ON and spindle speed is set with S value.
If spindle is OFF and cycle code does not use parameter S, spindle is turned ON and spindle speed remains as set with pre-existing S value.
Phase 4: Tapping
Tapping operation is determined by the Z and K parameters used with the cycle code as also with TNG spindle synchronisation settings configuration.
The Z axis will descend to the bottom Z level at a synchronized feed rate. The feed rate is calculated using the spindle speed value and parameter K.
Spindle speed used for calculation of synchronised motion can be the one set by S command, or the one that TNG calculates using index or encoder AB signals.
Phase 5: Bottom Z, spindle reverse and tapping
Once machine reaches bottom Z level position, spindle is reversed and machine retracts at synchronised feedrate to pre-defined retract height.
Retract height is defined with G98/G99, which can be either R plane or init height value.
If G98 is active, retract height is init height.
If G99 is active, retract height is R plane.
Phase 7: Spindle (OFF)
Spindle is turned off at retract height.
G84 <X> <Y> R Z K <S>
G98 G84 X0 Y0 R1 Z-15 K1 S750