This is a very simple lathe cnc programming example. This lathe cnc programming example is for beginners level cnc programmers or for novice cnc programmers. Just simple cnc contour programming. The G code which are used in this programming example are from Fanuc cnc control.
CNC Program in Fanuc G Code
N10 G90 S500 M03 N20 G00 X25 Z5 N30 G01 G95 Z0 F1 N40 G01 Z-7.5 F0.2 N50 G01 X60 Z-35 N60 G01 Z-50 N70 G00 X62 N80 G00 X80 Z20 N90 M30