|
@@ -147,7 +147,7 @@
|
147
|
147
|
// M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
|
148
|
148
|
// M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!!
|
149
|
149
|
// M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec
|
150
|
|
-// M204 - Set default acceleration: S normal moves T filament only moves (M204 S3000 T7000) in mm/sec^2 also sets minimum segment time in ms (B20000) to prevent buffer under-runs and M20 minimum feedrate
|
|
150
|
+// M204 - Set default acceleration: P for Printing moves, R for Retract only (no X, Y, Z) moves and T for Travel (non printing) moves (ex. M204 P800 T3000 R9000) in mm/sec^2
|
151
|
151
|
// M205 - advanced settings: minimum travel speed S=while printing T=travel only, B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
|
152
|
152
|
// M206 - Set additional homing offset
|
153
|
153
|
// M207 - Set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
|
|
@@ -3551,6 +3551,13 @@ inline void gcode_M203() {
|
3551
|
3551
|
* Also sets minimum segment time in ms (B20000) to prevent buffer under-runs and M20 minimum feedrate
|
3552
|
3552
|
*/
|
3553
|
3553
|
inline void gcode_M204() {
|
|
3554
|
+ if (code_seen('S')) // Kept for legacy compatibility. Should NOT BE USED for new developments.
|
|
3555
|
+ {
|
|
3556
|
+ acceleration = code_value();
|
|
3557
|
+ travel_acceleration = acceleration;
|
|
3558
|
+ SERIAL_ECHOPAIR("Setting Printing and Travelling Acceleration: ", acceleration );
|
|
3559
|
+ SERIAL_EOL;
|
|
3560
|
+ }
|
3554
|
3561
|
if (code_seen('P'))
|
3555
|
3562
|
{
|
3556
|
3563
|
acceleration = code_value();
|