Skip to content

[BUG] M204 T5000 causes overacceleration #20277

@espr14

Description

@espr14

Bug Description

Too high travel speed causes in some moves extreme acceleration and speed. Seem like double or tripple of the max of the motors.

Configuration Files

Marlin.zip

Steps to Reproduce

  1. Set some normal jerk (min.speed) / max. speed / acceleration for X motor.
  2. Send M204 T9999
  3. Run this G code
    test X.zip

Expected behavior:

Head moves smoothly and every move has the same acceleration. The longer moves have higher max. speed. No weird sounds.

Actual behavior:

Move to X70 and back to X10 is with extreme acceleration (much more than max. acc. of the motor) and it's the fastest speed of all moves of this test. It's sound like it's pushing its limits.

Additional Information

The same behavior is in bugfix-2.0.x. I had to turn off Junction deviation and S-curve because these were loosing steps much more than with classic jerk. However, I haven't tested this test with them. The same issue happens with M204 P so M204 R is suspected as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions