CNC programming is not a difficult task as many think, For beginners it will be useful if they divide the drawing in some smaller parts and start programming them. Actually CNC programming take some time to master, but in short it is just a path for our tool to machine. Here is another simple CNC Lathe program.
CNC Lathe Program Example with Code
N1 T0101 ; Tool no 1 with offset no 1 FANUC Control N2 G97 S500 M03 ; Spindle rotation clockwise with 500 RPM N3 G42 G00 X0 Z0 ; P0 tool nose radius compensation active N4 G01 X25 G95 F0.3 ; N5 G01 Z-7.5 ; P1 N6 G01 X40 Z-15 ; P2 N7 G01 Z-25 ; P3 N8 G01 X60 Z-35 ; P4 N9 G40 G00 X200 Z100 ; Tool nose radius compensation cancel