2 - 44 Basic NC G Codes
704-0115-307
WinMax Lathe NC Programming
Example—G91 Incremental
The following sample NC program changes from G90 to G91:
N10
(msg, lathe doc sample inc G42 tool rad 0.1)
N20
G90
G40 G94 T0000
(absolute mode, cutter compensation off, offset 0)
N30 G07 G00 X2.5 T0101
(radius programming,)
(rapid to X, tool 1 offset 1)
N40 Z3
(rapid to Z)
N60
G91
X-2
(incremental mode, rapid to X)
N70 G96 S350 M03
(CSS, X axis at .5in,)
(spindle speed 350 and clockwise)
N80 G01 G95 F.01 X-.5
(face, RPM 0.01)
N120 G00 Z1
(rapid to Z)
N125 G42
(cutter compensation right, skip if block del on)
N130 X.5 Z-1
(rapid to XZ)
N160 G01 X.5 Z-1
(taper)
N170 X.7
(face)
N180 Z-1.7
(turn)
N190 X.2
(face)
N200 Z-.3
(turn)
/N230 G00 G40 X.6
(cutter compensation off, rapid to X, skip if)
(block del on)
N240 Z3
(rapid to Z)
N900 M30
(end of program, rewind)
Summary of Contents for winmax
Page 14: ...xiv List of Tables 704 0115 307 WinMax Lathe NC Programming...
Page 20: ...xx Programming and Operation Information 704 0115 307 WinMax Lathe NC Programming...
Page 98: ...2 50 Basic NC G Codes 704 0115 307 WinMax Lathe NC Programming...
Page 208: ...4 94 ISNC G Codes 704 0115 307 WinMax Lathe NC Programming...
Page 236: ...5 28 ISNC M Codes 704 0115 307 WinMax Lathe NC Programming...
Page 238: ...6 2 E Codes 704 0115 307 WinMax Lathe NC Programming...
Page 254: ...12 Index 704 0115 307 WinMax Lathe NC Programming...