# \[Marlin] M204 - Set Starting Acceleration

{% hint style="success" %}
**📅Update: 2020/09/18**
{% endhint %}

## Description

Set the preferred starting acceleration for moves of different types.

## Notes

* View the current setting with [`M503`](https://app.gitbook.com/docs/gcode/M503.html).
* If `EEPROM_SETTINGS` is enabled, these are saved with [`M500`](https://app.gitbook.com/docs/gcode/M500.html), loaded with [`M501`](https://app.gitbook.com/docs/gcode/M501.html), and reset with [`M502`](https://app.gitbook.com/docs/gcode/M502.html).
* Legacy `M204 S<accel>` is deprecated. Use separate paremeters `M204 P<accel> T<accel>` instead.

## Usage

`M204` `[P<accel>]` `[R<accel>]` `[S<accel>]` `[T<accel>]`

### Parameters

* `[P<accel>]` Printing acceleration. Used for moves that include extrusion (i.e., which employ the current tool).
* `[R<accel>]` Retract acceleration. Used for extruder retraction moves.
* `[S<accel>]` Legacy parameter for move acceleration. Set both printing and travel acceleration.
* `[T<accel>]` Travel acceleration. Used for moves that include no extrusion.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m204-set-starting-acceleration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
