CNC Lathe
Fanuc CNC Direct Programming of Profile (angles and round edges) Example
O0012; N10 G10 P0 Z-200; N20 T303; (PROFILING) N30 G50 S2200; N40 G96 G99 S230 F0.12 M4 M8 M200; N50 G0 X0 Z3; N60 G1 Z0 ; (P1) N70 ,A90…
CNC Cylindrical interpolation Program Example
O0005; N10 G10 P0 Z-165; N20 T404; N30 G50 S2000; N40 G96 S200 G99 F.2 M4 M8 M200; N50 G0 X69.282 Z2; N60 G1 Z-20; N70 G3 X69.282 Z-60 R40;…
CNC Program Outside Turning with Radius
O0004; N10 G10 P0 Z-110; N20 T303; N30 G50 S2500; N40 G96 S220 G99 F.2 M4 M8 M200; N50 G0 X30 Z2; N60 G1 Z-22; N70 G2 X40 Z-27 R5;…
CNC Lathe Inside Turning / Boring Program Example
O0003; N10 G10 P0 Z-85; N20 T606; N30 G50 S2000; N40 G96 G99 S180 F.2 M4 M8 M200; N50 G0 X44 Z2; N60 G1 Z0; N70 X40 Z-2 F.15; N80…
CNC School Multiple Radius Arc G02 G03 CNC Lathe Program
N05 G94 M06 T0101 N10 G00 X0 Z0 M04 S600 N15 G01 X30 F30 N20 G03 X40 Z-5 R5 N25 G01 Z-25 N30 G02 X50 Z-30 R5 N35 G01 Z-50…
CNC School Radius Arc G02 G03 CNC Lathe Program Example
N05 G94 M06 T0101 N10 G00 X0 Z0 M04 S360 N15 G01 X30 F30 N20 G03 X50 Z-10 R10 N25 G01 Z-40 N30 G02 X70 Z-50 R10 N35 G01 Z-100…
CNC School Taper Turning CNC Program Example
N05 G94 M06 T0101 N10 G00 X0 Z0 M04 S600 N15 G01 X30 F30 N20 G01 X80 Z-70 N25 G01 X100 N30 G01 Z-30 N35 G00 X120 N40 G00 Z10…
CNC School Basic CNC Program Example CNC Turning
N05 G94 M06 T0101 N10 G00 X0 Z0 M04 S600 N15 G01 X50 F30 N20 G01 Z-40 N25 G01 X80 N30 G01 Z-60 N35 G01 X100 N40 G01 Z-100 N45…
Cut Screw with Threads On Both Ends (Dowel Screw) using CNC G76 Thread Cycle
N01 G90 F0.2 S1200 T0101 M04 N10 G00 X30 Z5 N20 G00 X30 Z0 N30 G76 P010160 Q10 N40 G76 X27.6 Z-40 P1200 Q100 F2 (RH THREAD FROM Z0 TO…
CNC Lathe Subprogram Call Multiple Times Example
Main Program: N5 G90 F0.2 S1200 T0101 M04 N10 G00 X40 Z0 N20 M98 P37000 (call subprog O7000 three times) N30 G01 W-30 N40 G28 U0 W0 N50 M05 M30…
CNC Program Example using G73 Pattern Repeating Cycle G76 Threading Cycle
N5 G90 F0.2 S1200 T0101 M04 N10 G00 X30 Z2 N15 G00 Z0 N20 G01 X0 (Facing operation) N21 G00 X30 Z2 N30 G73 U7 R14 (Pattern Repeating Canned Cycle)…
G76 LH (Left hand) Thread Example Program
N0 G90 F0.5 S1200 T0101 M04 N20 G00 X30 Z2 N40 G71 G71 U0.5 R0.5 (Roughing Cycle) N50 G71 P60 Q110 U0.05 W0.05 N60 G01 X15 Z0 N70 G01 X15…
Fanuc G76 Left hand Thread G75 Grooving Example CNC Lathe
N0 G90 F0.2 S1200 T0101 M04 N10 G00 X42 Z2 N21 G71 U1 R0.5 N22 G71 P50 Q90 U0.05 W0.05 N50 G03 X20 Z-10 R10 N60 G01 X24 Z-20 N70…
OD Turning with G73 Pattern Repeating Cycle CNC Lathe Example Program
Main Program: N0 G90 F0.2 S1200 T0101 M04 N10 G00 X42 Z2 N30 M98 P12000 (call subprog O2000 once) N130 G28 U0 W0 N140 M05 M30 Subprogram: O2000; N30 G73…
CNC Lathe Component Machining with G73 G76 Cycles
To determine U= (Max. Dia of wp- min dia of profile)/2 = (35-25)/2 = 5 N0 G90 F0.2 S1200 T0101 M04 N10 G00 X38 Z2 N30 G73 U5 R10 N40…
CNC Lathe Program Exercise for Beginners G71 Turning Cycle
N0 G90 F0.5 S1200 T0101 M03 N10 G00 X35 Z2 N30 G71 U0.5 R1 N35 G71 P36 Q90 U0.05 W0.05 N36 G01 X20 Z0 N50 G01 X20 Z-15 N60 G02…
CNC Turning Exercise using G71 Turning Cycle
N0 G90 F0.5 S1200 T0101 M03 N10 G00 X30 Z2 N11 G71 U0.5 R0.5 N12 G71 P30 Q80 U0.05 W0.05 N30 G01 X20 Z0 N40 G01 X20 Z-20 N50 G01…
CNC Lathe Program OD Turning Drilling ID Boring with G71 G74 G01
% O0111 (EX.NO.1); (BILLET DIA38.0*L36.0); N1 (OPN OD PROFILE TURNING); N2 G28 U0.0 W0.0; N3 G92 S2500; N4 G96 S180 M03; N5 T0000; N6 T0101; N7 G00 X40.0 Z1.0; N8…
Drilling Brass 40mm Deep Using G74 Drilling Cycle CNC Turning Program
G97 S1446 M03 G00 T0101 G00 X0. Z2. G74 R2. G74 Z-40. Q5000 F0.1 G00 Z5. M05 T0100 G28 W0. G28 U0. M30
Contour Turning using G71 Turning Cycle CNC Lathe Example
G90 G21 G18 G55; T0400 M06 S2000 M03; G00 Z0.0; X31.0; G01 X30 F60; G71 U0.5R0.2; G71 P2 Q3 ; N2 G01 X0.0; X14.14 Z-7.07; Z-17.07; X19.14; Z-54.76; X25.4; N3…
Contour Turning using G72 Facing Cycle CNC Lathe Example Program
G90 G21 G18 G55; T0400 M06; S2000 M03; G00 Z0.0; X31.0; G01 X30 F60; G72 W0.5 R0.2; G72 P2 Q3 ; N2 G01 Z-40.69; G03 X 23.92 Z-37.69 R3; G02…
Component Grooving Parting with G75 Cycle CNC Lathe Program
G90 G20 G18 G55; T0400 M06; S2000 M03; G00 Z0.0; X1.200; G01 X1.150 F3; G71 U0.020 R0.010; G71 P2 Q3 ; N2 G01 X1.025; Z-2.420; N3 X1.150; G28 X0.0; G28…
Simple Threading CNC Lathe Program Example G33
% N10 T103 M06 N20 G97 S640 M03 N30 G00 X36.93 Z7.5 M08 N40 G33 K2.5 Z-52 N50 G00 X45 N60 Z7.5 N70 X200 Z200 M09 N80 M30
Simple Contour Turning with Radius CNC Lathe Program Example
% N10 T105 M06 D2500 N20 G96 S150 G95 F.2 M04 N30 G00 X32 Z34 M08 N40 G01 X-1 N50 G00 X29.6 Z36 N60 G01 Z24 N70 G02 X39.6 Z19…
Simple Boring Operation CNC Lathe Program Example
% N10 T04 M06 N20 G97 S830 G95 F0.1 M03 N30 G00 X38 Z23 M08 N40 G01 X38 Z-13 N50 G00 X34 N60 G00 Z200 M09 N70 G00 X200 Z200…
Simple Grooving in X-axis CNC Lathe Program Example
% N10 T08 M06 N20 G96 S80 G95 F0.05 M03 N30 G00 X54 Z-29 M08 N40 G01 X40 N50 G00 X60 N60 G00 X200 Z200 M09 N70 M30
Simple Diameter Turning CNC Lathe Program Example
% N10 T104 M06 N20 G97 S2000 G95 F0.1 M03 N30 G00 X18 Z2 M08 N40 G01 Z-22 N50 G01 X26 N60 G00 X200 Z200 M09 N70 M30
Simple Facing CNC Lathe Program Example
% N10 T03 M06 N20 G96 S150 G95 F0.1 D2500 (D = Maximum spindle speed) N30 G00 X54 Z-2 M03 M08 N40 G01 X-1 N50 G00 X200 Z200 M09 N60…
CNC Lathe Programming Example Radius Dimensioning
% Albero N010 G00 X150 Z200 T0101 M06 N020 G92 S2400 N030 G96 G95 F0.3 S300 M04 M08 N040 X50 Z-2 N050 G01 X-0.5 N060 G00 Z0 N070 X41 N080…
Okuma Program Example for Coolant Driven Bar-puller Grippex
. ;SUB Program . G0 X0 Z55 T090909 ;Change to Grippex (example) G0 Z-2 ;Approach bar to be pulled M08 ;Coolant ON, Grippex clamp G04 F2 ;Dwell G0 M84 ;Chuck…
Fanuc Programming Instructions for Coolant Driven Bar-puller Grippex
O0001 ;SUB Program G0 T1212 M5 X0. Z30. G1 G98 Z-80. F3000 M8 ;Coolant ON, Grippex clamp G4 U1. ;Dwell M69 ;Chuck unclamp G4 U0.1 ;Dwell G1 Z-1. ;Pulling-out the…