Unique G Codes
Unique G Codes
•Description of Codes
•Code Format
•Effects of Settings
•Unique Features
•Examples
G12/G13-CIRCULAR
POCKET MILLING
• Used for milling circular pockets
• G12 [D.. ] [F… ] [I…] [K… ] [L…]
[Q…] [Z…] (Clockwise move)
• G13 is used for counter clockwise
moves
D - Tool radius offset selection
F - Feedrate
I - Radius of first circle(or finished circle
if no K)
K - Radius of finished circle (optional)
L - Loop count for deeper pockets (used
with a G91)
Q - Incremental radius step (required
with K)
Z - Depth of cut (or increment with L)
This is an standard feature
G12/G13-CIRCULAR
POCKET MILLING (cont)
• G12 and G13 are Non-modal
• Cutter Compensation is included
in this routine
• Use D00 to ignore tool offset
• Use I without K and Q for small
pockets or holes
• When using K and Q, only K
should be the radius of the
desired finished pocket
• Position cutter in a previous block
or add an X and Y to the G12/G13
line
G12 Example using I
(Finished Radius)
O0010 ;
T1 M06 ;
G90 G54 G00 X1.0 Y1.0 ;
S1500 M03 ;
G43 Z0.1 H1 M08;
G12 Z-0.5 I0.4 D01 F15. ;
G00 Z0.1 M09 ;
G28 G91 Y0 Z0 ;
M30 ;