Adding GCode to reduce ringing

Thoughts about Raise3D, 3D printing and making in general.
p-trax
Posts: 23
Joined: Mon Sep 05, 2016 9:43 pm

Adding GCode to reduce ringing

Postby p-trax » Mon Nov 07, 2016 6:23 pm

Has anyone played with the gcode (on this or other printers) to reduce the ringing effects? I was given the following code to decrease acceleration, without sacrificing speed.

m201 600x 600y

But as I have no knowledge of these types of adjustments I am unsure if i should add this blindly.

Thoughts and comments appreciated.

User avatar
Trhuster
Posts: 394
Joined: Tue Mar 22, 2016 6:01 am
Location: Sweden
Contact:

Re: Adding GCode to reduce ringing

Postby Trhuster » Mon Nov 07, 2016 7:05 pm

Well, you lower the acceleration in X/Y printing moves from 1000 to 600. So yes it can reduce ringing but print will be slower.

Jetguy
Posts: 1841
Joined: Tue Mar 22, 2016 1:40 am

Re: Adding GCode to reduce ringing

Postby Jetguy » Mon Nov 07, 2016 8:29 pm

Jerk has a lot more to do with ringing than raw acceleration.
The location of firmware source and the default values in it so you even know what you are changing https://github.com/Raise3D/Marlin-Raise ... guration.h
Lines 555 to 568
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration in mm/s^2 for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves

// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)
#define DEFAULT_XYJERK 12.0 // (mm/sec)
#define DEFAULT_ZJERK 0.4 // (mm/sec)
#define DEFAULT_EJERK 5.0 // (mm/sec)

So then we go to here for gcode http://reprap.org/wiki/G-code
M205: Advanced settings
Sprinter and Marlin:

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

Sprinter / Marlin Example:

M205 X30 Z5 ; Set X/Y Jerk to 30mms, Z jerk to 5mms

Now that is a poor example since if we look at source, it's already 12 and 0.4 for XY and Z
You want to go less to slow down and reduce ringing and really, we only care about XY.
M205 X10
That sets it to 10 from previous 12mm/s for XY
I would suggest going in 2mm/s increments.

Again, by default, acceleration is 1000 and 12 for jerk
Lowering acceleration seriously slows the entire print down because depending on segment length, you may never reach the feedrate speed because you spend all the time accelerating and decelerating.
Jerk matters because it's the speed where NO acceleration happens at or below that speed. Lowering it reduces literally the jerk on the mechanics that causes the ringing.

Jetguy
Posts: 1841
Joined: Tue Mar 22, 2016 1:40 am

Re: Adding GCode to reduce ringing

Postby Jetguy » Mon Nov 07, 2016 8:32 pm

Run this test print and change the settings each time.
http://www.thingiverse.com/thing:8870
Attachments
Y_copy_display_large_preview_featured.jpg

p-trax
Posts: 23
Joined: Mon Sep 05, 2016 9:43 pm

Re: Adding GCode to reduce ringing

Postby p-trax » Mon Nov 07, 2016 8:55 pm

Fantastic, thank you very much.

User avatar
walshlg
Posts: 1340
Joined: Wed Mar 23, 2016 12:01 pm

Re: Adding GCode to reduce ringing

Postby walshlg » Mon Nov 07, 2016 9:02 pm

Thanks for the tutorial Jetguy - this might be a nice addition to you website!

User avatar
SteveWallin
Posts: 15
Joined: Sun Mar 26, 2017 2:20 pm

Re: Adding GCode to reduce ringing

Postby SteveWallin » Mon Apr 10, 2017 4:34 pm

I'm just beginning to learn more about GCode, when adding to/customizing your start or end scripts, does it matter in what order you add different lines/commands? Are there any best practices?

As an example, take the M205 X10 command. Does it make any difference if I were to place that as the very top line or as the very bottom one? And even if any willy nilly order works, would the printer ideally prefer to have things ordered in any way?

User avatar
Vicky@Raise3D
Posts: 2550
Joined: Fri Mar 25, 2016 3:54 am

Re: Adding GCode to reduce ringing

Postby Vicky@Raise3D » Tue Apr 11, 2017 10:09 am

The codes will be carried out one by one.
So the top one goes first After it finishes, it will move to the next line.
And don't put several commands in one line.


Return to “General”

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 3 guests