machines/systems/flexibot/docs/marlin/_gcode/M204.md
2025-03-11 23:32:39 +01:00

1.5 KiB

tag title brief author group codes notes parameters videos examples
m0204 Set Starting Acceleration Set the starting acceleration for moves by type. thinkyhead motion
M204
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<accel>` is deprecated. Use separate paremeters `M204 P<accel> T<accel>` instead.
tag optional description values
P true Printing acceleration. Used for moves that include extrusion (i.e., which employ the current tool).
tag type
accel float
tag optional description values
R true Retract acceleration. Used for extruder retraction moves.
tag type
accel float
tag optional description values
T true Travel acceleration. Used for moves that include no extrusion.
tag type
accel float
tag optional description values
S true Legacy parameter for move acceleration. Set both printing and travel acceleration.
tag type
accel float
Mnvj6xCzikM
pre code
Set acceleration for printing moves to 2400mm/s/s 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.