3D printer G-code · Marlin
M205: Jerk and junction deviation (Marlin)
Jerk and junction deviation — Sets how fast the printer may go through a corner without stopping. Marlin 2 uses junction deviation (J, often 0.01–0.08 mm) unless CLASSIC_JERK is enabled; then X, Y…
On this page
| Property | Value |
|---|---|
| Command | M205 |
| Function | Jerk and junction deviation |
| Firmware | Marlin |
| Group | Settings |
| Syntax | M205 [J<deviation>] or M205 [X Y Z E jerk] |
What does M205 do?
Sets how fast the printer may go through a corner without stopping. Marlin 2 uses junction deviation (J, often 0.01–0.08 mm) unless CLASSIC_JERK is enabled; then X, Y, Z and E jerk in mm/s are used. Higher values are faster but cause ringing.
Parameters
| Parameter | Meaning |
|---|---|
J | Junction deviation in mm |
X Y Z E | Classic jerk in mm/s |
S T | Minimum print and travel speed |
Example
M205 J0.013
M500Tips from practice
- Junction deviation ≈ 0.4 × jerk² ÷ acceleration converts classic jerk to J.
- Klipper uses square_corner_velocity instead.
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 |
M201 | Max acceleration per axis | Marlin |
M203 | Max feed rate per axis | Marlin |
M204 | Set acceleration | Marlin and Klipper |
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