CNC mill program example for cnc machinists.
CNC Mill Programming Example
CNC Program
G0 X-60 Y0 G1 X-70 (P1) G2 X-25.02 Y25.97 R30 (P2) G1 X2.46 Y10.13 (P3) G3 X8.5 Y10.92 R5 (P4) G1 X18.79 Y21.21 (P5) G2 X25.13 Y-26.05 I21.21 J-21.21 (P6) G1 X-5 Y-8.66 (P7) G3 X-12.14 Y-11.13 R5 (P8) G2 X-70 Y0 R30 (P1) G1 X-60
G M S T Codes Explanation
Code | Description |
---|---|
G00 | Rapid traverse |
G01 | Linear interpolation |
G02 | Circular interpolation CW |
G03 | Circular interpolation CCW |