Lathe Coordinate System
Workpiece Zero Point
• Coordinate system zero point is
– centerline of spindle (X)
• with normal spindle rotation, machining is in +X
– finish face of part (Z)
• Machining is in –Z if Z=0 is finish face
• Second ops may use back side of part as Z=0
• X dimensions are diameter, not radius
Lathe Tooling
• Turning
• Boring
• OD Grooving
• ID Grooving
• Face Grooving
• OD Threading
• ID Threading
CNC Lathe Programming
G-Codes for Turning
Limit spindle speed
G50
Return to reference point
G28
Metric system
G21
Inch system
G20
Dwell
G04
CCW Circular interpolation
G03
CW Circular interpolation
G02
Linear interpolation (feeding)
G01
Rapid positioning
G00
G-Codes for Turning
Feed per revolution mode
G99
Feed per minute mode
G98
Constant spindle speed mode
G97
Constant surface speed mode
G96
Threading cycle
G76
Facing cycle
G72
Roughing cycle
G71
Finishing cycle
G70
Select work coord system #1
G54
M-Codes for Turning
Program end
M30
Open chuck
M11
Close chuck
M10
Stop coolant
M09
Start coolant
M08
Stop spindle
M05
Start spindle (reverse rotation)
M04
Start spindle (normal rotation)
M03
Opt. Program Stop (panel controlled)
M01
Program Stop
M00

lecture_cnclathe1.pdf

  • 1.
  • 2.
    Workpiece Zero Point •Coordinate system zero point is – centerline of spindle (X) • with normal spindle rotation, machining is in +X – finish face of part (Z) • Machining is in –Z if Z=0 is finish face • Second ops may use back side of part as Z=0 • X dimensions are diameter, not radius
  • 22.
    Lathe Tooling • Turning •Boring • OD Grooving • ID Grooving • Face Grooving • OD Threading • ID Threading
  • 23.
  • 24.
    G-Codes for Turning Limitspindle speed G50 Return to reference point G28 Metric system G21 Inch system G20 Dwell G04 CCW Circular interpolation G03 CW Circular interpolation G02 Linear interpolation (feeding) G01 Rapid positioning G00
  • 25.
    G-Codes for Turning Feedper revolution mode G99 Feed per minute mode G98 Constant spindle speed mode G97 Constant surface speed mode G96 Threading cycle G76 Facing cycle G72 Roughing cycle G71 Finishing cycle G70 Select work coord system #1 G54
  • 26.
    M-Codes for Turning Programend M30 Open chuck M11 Close chuck M10 Stop coolant M09 Start coolant M08 Stop spindle M05 Start spindle (reverse rotation) M04 Start spindle (normal rotation) M03 Opt. Program Stop (panel controlled) M01 Program Stop M00