CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › G332

G332 Rigid tapping retract

Siemens 840D 828D G-code · Mill and lathe

Pulls the tap out after G331 with the same lead. The spindle reverses automatically.

Format

G332 Z K

Addresses

AddressWhat it does
ZRetract position
KLead, same value and sign as in G331

How it works

Modal, G group 1 (motion).

Example program

SPOS=0 ; POSITION CONTROL
G331 Z-20 K1.5 S500 ; TAP IN
G332 Z5 K1.5 ; TAP OUT
M3 S2000 ; BACK TO SPEED CONTROL

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G331 · CYCLE84

Every G-code for Siemens 840D 828D in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G332 in the app All Siemens 840D 828D G-codes

App Store Google Play