--- tag: m0204 title: Set Starting Acceleration brief: Set the starting acceleration for moves by type. author: thinkyhead group: motion codes: [ M204 ] notes: - View the current setting with [`M503`](/docs/gcode/M503.html). - If `EEPROM_SETTINGS` is enabled, these are saved with [`M500`](/docs/gcode/M500.html), loaded with [`M501`](/docs/gcode/M501.html), and reset with [`M502`](/docs/gcode/M502.html). - Legacy `M204 S` is deprecated. Use separate paremeters `M204 P T` instead. parameters: - tag: P optional: true description: Printing acceleration. Used for moves that include extrusion (i.e., which employ the current tool). values: - tag: accel type: float - tag: R optional: true description: Retract acceleration. Used for extruder retraction moves. values: - tag: accel type: float - tag: T optional: true description: Travel acceleration. Used for moves that include no extrusion. values: - tag: accel type: float - tag: S optional: true description: Legacy parameter for move acceleration. Set both printing and travel acceleration. values: - tag: accel type: float videos: - Mnvj6xCzikM examples: - pre: Set acceleration for printing moves to 2400mm/s/s code: M204 P2400 --- Set the preferred starting acceleration (in units/s/s) for moves of different types. Send `M204` with no parameters to get current settings.