Improvement - Cleanup duplicated M204 - Set default acceleration #2183

thiagopeixoto16 opened this Issue Jul 28, 2014 · 2 comments


None yet

2 participants


When activating acceleration setting I can see some double commands like below.
On the first occurrence we have a change of acceleration without need.

It causes extra bytes on g-code, additional processing time to generate g-code and unnecessary communication cycles with the printer.

In the attached case, we have 7,968 duplicated occurrences from 45,836, so a rate of around 17% of duplicated commands.

Is it possible to remove the unnecessary commands?

Case details:


alexrj commented Aug 3, 2014

Thank you, done

@alexrj alexrj closed this Aug 3, 2014
@alexrj alexrj added this to the 1.2.0 milestone Aug 3, 2014
@alexrj alexrj added the Fixed label Aug 3, 2014

I has to come here and congratulate you for the improvement.
You not only removed the sequential duplicated cases but all the duplication cases along the movement commands.
Just to illustrate, I had a file with around 14,000 M204 commands, but now with the fix it contains only 5,500 (!).


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment