C-Axis Lathe Programming Example with Live Tooling on Haas CNC

Live Tooling Lathe Programming with C-Axis

This is a live tooling lathe programming example which shows the use of driven tool (live tooling) and C-Axis on Haas cnc lathe machine.

For a brief introduction of live tooling and related M-Codes on Haas cnc lathe machine read

This cnc program exmple controls the main spindle with C-Axis commands, but the same program example which uses Spindle Orientation M19 can be found here
Live Tooling Lathe Programming Code – Spindle Orientation Haas CNC

C-Axis Lathe Programming Example

C-Axis Lathe Programming Exmaple with Live Tooling

C-Axis Lathe Programming Exmaple with Live Tooling

N10 T101
N15 G54
N20 G00 X3.0 Z0.1
N25 G98
N30 M154
N35 C0
N40 M133 P2000
N45 G01 Z-0.5 F40.0
N50 G00 Z0.1
N55 C120
N60 G01 Z-0.5
N65 G00 Z0.1
N70 C240
N75 G01 Z-0.5
N80 G00 Z0.1
N85 M155
N90 M135

CNC Code Explanation

N25 G98 Feed per minute.

N30 M154 C-Axis Engage.
N85 M155 C-Axis Disengage.
These codes engage and turn on and off the C-axis motor.
The C-axis provides high-precision bi-directional spindle motion that is fully interpolated with X and/or Z motion.

N40 M133 P2000 Turn on live tool forward 2000 rpm.

N35 C0
N55 C120
N70 C240
C-Axis commands turns main spindle 0,120,240 degrees.

N90 M135 Live Tool Drive Stop

Leave a Reply