Programming a Counter-Clockwise Arc on a Lathe
G3 Example
The code to program a G3 counter-clockwise arc on a lathe is: G3X______ Z_______ R_______
%
O0016 (PROGRAM NUMBER)
(LATHE PART)
G50S2500 (MAXIMUM SPINDLE SPEED)
T0101 (TOOL CALL, TOOL OFFSET CALL)
G96S500M3 (CONSTANT SURFACE SPEED, TURN SPINDLE ON AT 500RPM)
(TURNING OPERATION)
G0G54G90X1.00Z0.1M8 ( G54 WORK COORDINATE, RAPID TO X1.0, Z.1, COOLANT ON)
G1G99Z-2.0F.003 (TURN PART TO X1.0, Z-2.0)
G3X2.0Z-2.5R.5 (CUT RADIUS)
G1Z-4.0 (TURNS PART TO Z-4.0)
G0X2.5 (RAPID TO X2.5)
G0Z.1 (RAPID TO Z.1)
G0X6.5M9 (RAPID TO X 6.5, COOLANT OFF)
M30 (END OF PROGRAM)
%