---
tag: g021
title: Millimeter Units
brief: Set Units to Millimeters.
author: thinkyhead

group: units
since: 1.1.0
requires: INCH_MODE_SUPPORT

codes: [ G21 ]

example:
  -
    code:
      - G21 ; set units to millimeters
---

Set units to millimeters. In this mode, all positions, offsets, rates, accelerations, etc., specified in G-code parameters are interpreted as millimeters.
