LinuxCNC G code Reference

  1. Index
  2. Non-Modal
  3. Motion
  4. Plane
  5. Distance
  6. Feed
  7. Units
  8. Cutter Comp
  9. Tool Offset
  10. Cycle Return
  11. Coordinate System
  12. Path Control
  13. Spindle
  14. Lathe

Units Mode Group 6

Group 6 G codes specify the Unit of Measure used.
For complete descriptions click on the G code to see the LinuxCNC Manual.

G code Function Format Parameters
G20 Inch Units G20 n/a
G21 Millimeter Units G21 n/a