3D printer G-code · Marlin
M201: Max acceleration per axis (Marlin)
Max acceleration per axis — Sets the highest acceleration each axis may use, in mm/s². M204 sets the acceleration that is really used for printing and travel, limited by these values.
On this page
| Property | Value |
|---|---|
| Command | M201 |
| Function | Max acceleration per axis |
| Firmware | Marlin |
| Group | Settings |
| Syntax | M201 [X] [Y] [Z] [E] |
What does M201 do?
Sets the highest acceleration each axis may use, in mm/s². M204 sets the acceleration that is really used for printing and travel, limited by these values.
Parameters
| Parameter | Meaning |
|---|---|
X Y Z E | Max acceleration in mm/s² |
Example
M201 X3000 Y3000 Z100 E5000Tips from practice
- Klipper uses max_accel in [printer] and ignores M201.
Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.
Related commands
More settings commands
| Command | Function | Firmware |
|---|---|---|
M500 | Save settings to EEPROM | Marlin |
M501 | Load settings from EEPROM | Marlin |
M502 | Factory reset (firmware defaults) | Marlin |
M503 | Report settings | Marlin |
M203 | Max feed rate per axis | Marlin |
M204 | Set acceleration | Marlin and Klipper |
M205 | Jerk and junction deviation | Marlin |
M906 | Stepper motor current (TMC) | Marlin |
SAVE_CONFIG | Save calibration to printer.cfg | Klipper |
SET_VELOCITY_LIMIT | Speed, acceleration and corner limits | Klipper |
FIRMWARE_RESTART | Restart (RESTART / FIRMWARE_RESTART) | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator