Here is a cnc program example for Fanuc cnc control. This is a very simple and easy cnc program example also shows
- Use of G02 Arc/Radius in Fanuc cnc program
- Use of Chamfer in Fanuc cnc program
- Use of G42/G40 Tool Nose Compensation
- Use of G92 Maximum Spindle Speed
- Use of G96 Constant Cutting Speed
Fanuc CNC Program Code
N10 T2 N20 G92 S1200 M42 N30 G96 S150 M04 N40 G00 X-1 Z5 M08 N50 G01 Z0 G42 F0.2 N60 G01 X24 C2 N70 G01 Z-28 N80 G01 X32 Z-50 N90 G01 Z-56 N100 G02 X40 Z-60 R4 N110 G01 Z-75 N120 G01 X60 G40 N130 G00 X150 Z100 N140 M30