---
tag: m0220
title: Set Feedrate Percentage
brief: Set the global feedrate percentage.
author: thinkyhead

group: motion

codes: [ M220 ]

parameters:
  -
    tag: S
    optional: true
    description: Feedrate percentage
    values:
      -
        tag: percent
        type: int
  -
    tag: B
    optional: true
    description: Back up current factor
    values:
      -
        tag: flag
        type: bool
  -
    tag: R
    optional: true
    description: Restore the last-saved factor
    values:
      -
        tag: flag
        type: bool

examples:

-
    pre: Set feedrate to 80%
    code: M220 S80
-
    pre: Report feedrate
    code: M220
-
    pre: Back up current feedrate
    code: M220 B
---
Set speed percentage factor, aka "Feed Rate" which applies to all G-code-based moves in all (X, Y, Z, and E) axes. Report the current speed percentage factor if no parameter is specified.
