U = Depth of cut
R = Retract value
P = Sequence number for the start of the program contour
Q = Sequence number for the end of the program contour
U = Finishing allowance in X
W = Finishing allowance in Z
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G71
Roughing Cycle
Example:
G71 U1.0 R1.0;
G71 P100 Q200 U0.2 W.05 F0.2;
N100 G00 X19.0;
G01 G42 Z0.0 F0.2;
Z-65.0 ,R5.0;
X60.0;
N200 G40 X70.0 Z5.0 F200;
Machinists Handbook
G72 W(1) R;
G72 P Q U W(2) F;
W(1) = Depth of cut
R = Retract amount
P = Sequence number for the start of the program contour
Q = Sequence number for the end of the program contour
U = Finishing allowance in X
W(2) = Finishing allowance in Z
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G72
Facing Cycle
Example:
G72 W1000 R100;
G72 P100 Q200 U0.03 W0.03 F0.01;
N100 G00 Z-0.2 S500 P11;
G01 X3.0 F0.01;
X2.0 Z-0.5;
Z-0.1;
X0.5;
N200 X0.0;
Machinists Handbook
G73 U(1) W(1) R;
G73 P Q U(2) W(2) F;
U(1) = Amount of material to be machined on the X-axis.
W(1) = Amount of material to be machined on the Z-axi
R = Amount of roughing passes
P = Sequence number for the beginning of the contour
Q = Sequence number for the end of the contour
U 2) = Finish allowance on the X-axis.
W 2)= Finish allowance on Z-axis
Z = Total depth of hole
R = Retract amount after each peck
Q = Depth of each peck (no decimal point)
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G74
Peck Drilling Cycle
Example:
G74 Z-2. R500 Q2000 F.007;
G0 X40.0 Z50.0 ;
Machinists Handbook
G75 X Z P Q F;
X = Depth of groove (dia)
Z = Distance to groove from datum
P = Depth of peck
Q = Step over amount on the Z axis
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G75
Peck Grooving Cycle
Example:
G00 X3.0 Z-6.0;
G75 X2.0 Z-1.0 P0.1 Q0.15 F.002;
G00 X10.0 Z12.0;
Machinists Handbook
G76 X Z I K D A F;
X = Core diameter of the thread
Z = End position of the thread
I = Taper
K = Depth of thread
D = Depth of rst pass
A = Tool nose angle
F = Pitch of Thread
GCodeTutor.com
G Code Cycles Lathe Reference
G76
Screw Thread Cycle (Single Line)
Example:
G97 S400 M03;
G00 X20.0 Z5.0 M08;
G76 X18.2 Z-18.0 I-.01 K900 D100 A60 F1.5;
G00 X25.0 Z10.0;
Machinists Handbook
G76 P (1) (2) (3) Q R;
G76 X Z P Q R F;
P is a six digit character, two digits each for (1), (2) and (3)
(1) = number of nishing passes
(2) = chamfering amount
(3) = included angle of the tool tip
Q = Minimum cutting depth
R = Finishing allowance
X = Minor Diameter of the thread
Z = End position of the thread
P = Depth of thread
Q = Depth of rst pass
R = Taper
F = Pitch
GCodeTutor.com
G Code Cycles Lathe Reference
G76
Screw Thread Cycle (Double Line)
Example:
G00 X20.0 Z5.0 M08;
G76 P040060 Q100 R.02;
G76 X18.2 Z-18.0 P180 Q160 F1.5;
G00 X25.0 Z10.0;
Machinists Handbook
G83 Z Q R P F;
Z = Depth of hole
Q = Peck distance
R = Distance from initial point
P = Dwell time at bottom of hole (milliseconds)
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G83
Z-axis Peck Drilling Cycle
Example:
Z1.0;
G83 Z-50.0 P500 Q2000 P1000 F0.08;
G80;
Machinists Handbook
G84 Z Q R F;
Z = Depth of hole
Q = Peck distance
R = Distance from initial point
F = Feed rate
GCodeTutor.com
G Code Cycles Lathe Reference
G84
Z-axis Tapping Cycle
Example:
X0;
G84 Z-5.0 Q2000 R1000 F0.0625;
G80 G0 X5.0;
Machinists Handbook
G87 X R Q P F;
X = Depth of hole
R = Retract Value
Q = Peck distance
P = Dwell time at bottom of hole (milliseconds)
F = Pitch
GCodeTutor.com
G Code Cycles Lathe Reference
G87
X-axis Peck Drilling Cycle
Example:
X42.0;
G87 X-19.5 R-5.0 P1000 Q2000 F30;
G80;
Machinists Handbook
G88 X R Q P F;
X = Depth of hole
R = Retract Value
Q = Peck distance
P = Dwell time at bottom of hole (milliseconds)
F = Pitch
GCodeTutor.com
G Code Cycles Lathe Reference
G88
X-axis Tapping Cycle
Example:
X42.0;
G88 Z-48.0 C90.0 X30.0 R42.0 P200 S100 F1.0;
G80;
Machinists Handbook
G Code Canned Cycles
GCodeTutor.com
Milling
Machinists Handbook
G81 X Y Z Q R F;
X = Rapid X-axis command (optional)
Y = Rapid Y-axis command (optional)
Z = Depth of hole
Q = Peck distance
R = Rapid position
F = Feed Rate
GCodeTutor.com
G Code Cycles Mill Reference
G81
Drilling Cycle
Example:
G43 Z2.0;
G81 Z-0.5 R0.15 F10.0;
X1.5 Y1.5;
G80 G00 Z2.0;
Machinists Handbook
G82 (X) (Y) Z P R F;
X = Rapid X-axis command (optional)
Y = Rapid Y-axis command (optional)
Z = Depth of hole
P = Dwell at bottom of hole
R = Rapid position
F = Feed Rate
GCodeTutor.com
G Code Cycles Mill Reference
G82
Counter bore Cycle
Example:
G43 Z2.0;
G82 Z-0.5 P1.0 R0.15 F10.0;
X2.0 Y2.0;
G80 G00 Z2.0;
Machinists Handbook
G83 (X) (Y) Z Q (I) (J) (K) P R F;
X = Rapid X-axis command (optional)
Y = Rapid Y-axis command (optional)
Z = Depth of hole
Q = Peck amount (incremental)
I = Depth of rst cut (optional)
J = Amount to reduce cutting depth each peck (optional)
K = Minimum depth of cut (optional)
P = Dwell at bottom of hole
R = Rapid position
F = Feed Rate
GCodeTutor.com
G Code Cycles Mill Reference
G83
Deep Hole Peck Drilling Cycle
Example:
G43 Z2.0;
G83 Z-2.5 I0.5 J0.1 K0.2 R0.1 F10.0;
X2.0 Y2.0;
G80 G00 Z2.0;
Machinists Handbook
G84 Z R F;
Z = Depth of thread
R = Rapid position
F = Pitch
GCodeTutor.com
G Code Cycles Mill Reference
G84
Tapping Cycle
Example:
G00 Z2.0;
G84 Z-5.0 R1.0 F36.0;
X2.0 Y2.0;
G80 G00 Z2.0;
Machinists Handbook
G85 Z R F K;
Z = Boring depth
R = Rapid position
F = feed rate
K = Number of repeats
GCodeTutor.com
G Code Cycles Mill Reference
G85
Bore in / Bore out Cycle
Example:
G43 Z2.0;
G85 Z-5.0 R1.0 F10.0;
X2.0 Y2.0;
G80 G00 Z2.0;
Machinists Handbook
G86 Z R F K;
Z = Boring depth
R = Rapid position
F = feed rate
K = Number of repeats
GCodeTutor.com
G Code Cycles Mill Reference
G86
Bore in / Rapid out Cycle
Example:
G43 Z2.0;
G86 Z-5.0 R1.0 F10.0;
X2.0 Y2.0;
G80 G00 Z2.0;
Machinists Handbook
GCodeTutor.com
Calculations
Machinists Handbook
π × D × n
1000
V
c
=
n = V
c
÷ π ÷ D × 1000
V
f
= n × fz × Z
f
z =
V
f
n
×
Z
Vc = Cutting Speed (m/min)
D = Diameter (mm)
π = Pi (3.14159)
V
f
= Feed (mm/min)
n = Spindle Speed (min )
-1
Fz = Feed per Tooth (mm/Tooth)
Z = Number of Flutes
Cutting Speed
Spindle Speed
Feed
Feed per Tooth
GCodeTutor.com
Speeds and Feeds Calculations
Machinists Handbook
GCodeTutor.com
Tapping Drill Calculations
Tap Drill Size
Drill Size
(mm)
Drill Size
(inch)
Major Diameter - Pitch
Pitch x % of Full Thread
Major Diameter -
76.98
0.01299 x % of Full Thread
Major Diameter -
TPI
Form Tap Drill Size
Form Tap Drill Size
(inch)
Form Tap Drill Size
(mm)
Major Diameter -
Pitch
2
0.0068 x % of Full Thread
Major Diameter –
Number of TPI
Pitch x % of Full Thread
Major Diameter –
147.06
Machinists Handbook
a = c sin Aa = c cos Ba = b tan A
a = b cot Bb = c cos Ab = c sin B
b = a cot Ab = a tan Bc = b sec A
c = a sec Bc = a csc Ac = b csc B
GCodeTutor.com
Trigonometry Calculations
B
c
A
b
a
b
sin A =sin B =cos A =
c
a
c
a
cos B =tan A =tan B =
c
b
a
b
c
b
a
b
a
cot A =cot B =sec A =
a
c
b
c
Sec B =csc A =csc B =
a
a
c
b
c
b
Machinists Handbook
SineCosineTangentChart
GCodeTutor.com
Trigonometry Charts
AngleSineCosineTangent
0°010
1°0.017450.999850.01746
2°0.03490.999390.03492
3°0.052340.998630.05241
4°0.069760.997560.06993
5°0.087160.996190.08749
6°0.104530.994520.1051
7°0.121870.992550.12278
8°0.139170.990270.14054
9°0.156430.987690.15838
10°0.173650.984810.17633
11°0.190810.981630.19438
12°0.207910.978150.21256
13°0.224950.974370.23087
14°0.241920.97030.24933
15°0.258820.965930.26795
16°0.275640.961260.28675
17°0.292370.95630.30573
18°0.309020.951060.32492
19°0.325570.945520.34433
20°0.342020.939690.36397
21°0.358370.933580.38386
22°0.374610.927180.40403
23°0.390730.92050.42447
24°0.406740.913550.44523
25°0.422620.906310.46631
26°0.438370.898790.48773
27°0.453990.891010.50953
28°0.469470.882950.53171
29°0.484810.874620.55431
30°0.50.866030.57735
Machinists Handbook
SineCosineTangentChart
GCodeTutor.com
Trigonometry Charts
AngleSineCosineTangent
31°0.515040.857170.60086
32°0.529920.848050.62487
33°0.544640.838670.64941
34°0.559190.829040.67451
35°0.573580.819150.70021
36°0.587790.809020.72654
37°0.601820.798640.75355
38°0.615660.788010.78129
39°0.629320.777150.80978
40°0.642790.766040.8391
41°0.656060.754710.86929
42°0.669130.743140.9004
43°0.6820.731350.93252
44°0.694660.719340.96569
45°0.707110.707111
46°0.719340.694661.03553
47°0.731350.6821.07237
48°0.743140.669131.11061
49°0.754710.656061.15037
50°0.766040.642791.19175
51°0.777150.629321.2349
52°0.788010.615661.27994
53°0.798640.601821.32704
54°0.809020.587791.37638
55°0.819150.573581.42815
56°0.829040.559191.48256
57°0.838670.544641.53986
58°0.848050.529921.60033
59°0.857170.515041.66428
60°0.866030.51.73205
Machinists Handbook
SineCosineTangentChart
GCodeTutor.com
Trigonometry Charts
AngleSineCosineTangent
61°0.874620.484811.80405
62°0.882950.469471.88073
63°0.891010.453991.96261
64°0.898790.438372.0503
65°0.906310.422622.14451
66°0.913550.406742.24604
67°0.92050.390732.35585
68°0.927180.374612.47509
69°0.933580.358372.60509
70°0.939690.342022.74748
71°0.945520.325572.90421
72°0.951060.309023.07768
73°0.95630.292373.27085
74°0.961260.275643.48741
75°0.965930.258823.73205
76°0.97030.241924.01078
77°0.974370.224954.33148
78°0.978150.207914.70463
79°0.981630.190815.14455
80°0.984810.173655.67128
81°0.987690.156436.31375
82°0.990270.139177.11537
83°0.992550.121878.14435
84°0.994520.104539.51436
85°0.996190.0871611.43005
86°0.997560.0697614.30067
87°0.998630.0523419.08114
88°0.999390.034928.63625
89°0.999850.0174557.28996
90°10Undefined
Machinists Handbook
GCodeTutor.com
Tool Geometry
Machinists Handbook
GCodeTutor.com
RH Knife Tool Geometry
F
E
C
A
B
Material
Steel15121281517
Stainless Steel1710881517
Tool Steel1210881517
Cast Iron1210581517
Aluminum16123581517
Brass210081517
Bronze210081517
Copper201216101517
A
Side Rake
B
Side Relief
C
Back Rake
D
D
End Relief
E
Side Cut
F
End Cut
Machinists Handbook
GCodeTutor.com
Drill Geometry
A
c
B
MaterialA (deg)B (deg)C (deg)
Copper1001250
Soft Brass and Bronzes1181559
Hard Brass1001550
Mild Steel1181259
cast irons901245
Manganese steel135967.5
aluminum1181259
Soft Aluminum1001550
hard alloys1351059
plastics1181259
Bakelite901545
Wood901245
Fiber901245
hard rubber901545
Heat-treated steels1251262.5
Machinists Handbook
GCodeTutor.com
Centre Drill Geometry
B
A
C
D
(Total Length)
SizeA (inches) A (mm) B (inches) B (mm) C (Inches) C (mm) D (inches) D (mm)
For over 26 years I worked as a machinist. During that time I had a toolbox with more paper-
work than I had measuring equipment.
Not only do I need charts for every kind of standard and conversion you could think of, but
also bits of paper with scribbled notes on how to use cycles on CNC machines that I have not
needed to program for years.
I have a few handbooks thrown in for good measure but none of them contained everything I
needed.
Then the mobile phone became popular, so I started collecting my notes on my phone as all
the information I needed took up a lot less space and was easier to nd while rushing to get
that part nished before my boss exploded.
I was always trying to arrange my notes and charts in a way that I could retrieve them quickly
instead of emptying my toolbox or appear like I was playing on my phone instead of working.
That’s when the idea hit me, what if someone made a handbook with everything I needed?
What if someone made it available as an ebook and as a standard book for the times when I
was working in factory’s that didn’t allow mobile phones on the shop oor.
For years I longed for such a book.
I waited for someone to make it, there are engineering books out there but they were not
aimed at machinists and either contained too much information that was irreverent to my role
or not the information that I needed.
I don’t need a book to contain crack detection or stress and strain graphs. I needed a book
that was written for machinists by a machinist.
No one made that book so I did.
I hope you nd it as useful as I do.
- Marc Cronin
For more machinist tuition please visit my website:
http://GCodeTutor.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.