Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Equipment >> CNC Machine

CNC Milling Program Tutorial: G01, G02, G03, G90, G91 Commands Explained

A cnc mill program for cnc machinists programmers, who have started to learning basic cnc programming techniques.

CNC Mill Example Program

CNC Milling Program Tutorial: G01, G02, G03, G90, G91 Commands Explained

CNC Program

N40 G90 G00 X0 Y0
N50 G01 X-10 Y-20 R8         (P1)
N60 G01 X-50 R10             (P2)
N70 Y10                      (P3)
N80 X-19.97 Y25.01           (P4)
N90 G03 X7.97 Y38.99 R18     (P5)
N100 G01 X30 Y50             (P6) 
N110 G91 X10.1 Y-10.1        (P7)
N120 G90 G02 X59.9 Y20.1 R14 (P8)
N130 G01 X70 Y10             (P9)
N140 Y-20 R10                (P10)
N150 X50                     (P11)
N160 G03 X30 R10             (P12)
N170 G01 X10 R8              (P13)
N180 X0 Y0

G M S T Codes Explanation

CodeDescription
G00Rapid traverse
G01Linear interpolation
G02Circular interpolation CW
G03Circular interpolation CCW
G90Absolute command
G91Increment command

CNC Machine

  1. Fanuc CNC Programming Guide: A Simple, Feature‑Rich Example
  2. CNC Milling Example: G90 Absolute, G91 Incremental, and Circular G02/G03 Interpolation
  3. CNC Milling Circular Interpolation: Practical G02/G03 G‑Code Program Example
  4. Master CNC Arc Programming: G02 & G03 Joint Arc Example
  5. Master CNC Milling: G02 & G03 Circular Interpolation Programming Guide
  6. CNC Milling Program Tutorial: G01, G02, G03, G90, G91 Commands Explained
  7. Master G02 & G03 Circular Interpolation: CNC Mill Example Program
  8. Mastering CNC Milling: G91, G41, G43 Code Usage Explained
  9. CNC Milling Program: Converting G90 Absolute to G91 Incremental Mode with G03 Example
  10. CNC Lathe Programming: Arc Radius Example Using G02 & G03 Codes