Slic3r speed setting for X,Y,Z, E

904 views
Skip to first unread message

BoonKuey Lee

unread,
Sep 8, 2013, 4:46:46 AM9/8/13
to mend...@googlegroups.com
I am trying to slice my first print but the Z axis at F7800 (G1 Z0.300 F7800.000) is too fast and the 
motor is stalling.

My understanding of the F7800 is set from the Travel_speed (130*60) from Slic3r which is set at 130 mm/sec.
This speed is set for X, Y, Z. How do I change the Z axis? My curent Z axis can only go up to F300.

Also, I think the E speed (G1 F1800.000 E1.00000) is also too fast. Where can I change this in Slic3r?

Any help is greatly appreciated.


Here is the beginning of the gcode
; generated by Slic3r 0.9.10b on 2013-09-08 at 16:31:43

; layer_height = 0.3
; perimeters = 2
; top_solid_layers = 3
; bottom_solid_layers = 3
; fill_density = 0.4
; perimeter_speed = 65
; infill_speed = 80
; travel_speed = 130
; nozzle_diameter = 0.5
; filament_diameter = 1.75
; extrusion_multiplier = 1
; perimeters extrusion width = 0.42mm
; infill extrusion width = 0.42mm
; solid infill extrusion width = 0.42mm
; top infill extrusion width = 0.42mm
; first layer extrusion width = 0.60mm

G21 ; set units to millimeters
M107
M190 S60 ; wait for bed temperature to be reached
M104 S195 ; set temperature
G28 ; home all axes
G1 Z5 F300 ; lift nozzle
M109 S195 ; wait for temperature to be reached
G90 ; use absolute coordinates
G92 E0
M82 ; use absolute distances for extrusion
G1 F1800.000 E-1.00000
G92 E0
G1 Z0.300 F7800.000
G1 X57.850 Y57.850
G1 F1800.000 E1.00000
G1 X58.850 Y57.030 F1170.000 E1.09332
G1 X59.980 Y56.420 E1.18598
G1 .......

Sean Mitchell

unread,
Sep 8, 2013, 4:57:42 AM9/8/13
to mend...@googlegroups.com
You need to change the settings in your firmware.  Your printer should never "stall", no matter what the slicing settings try to do, that is slic3r should be able to instruct the printer to run at F30000000 in the Z direction and still have it work (though at its maximum speed, which is nowhere near 3000000000!)

If you have the EEPROM enabled (if not, see the settings in configuration.h for this), have a look at the output from M503.  You want to change the acceleration and axis max speed (M201, M203 settings).

For example, you probably have 100 as your acceleration and 5 for your max speed on Z.  Try lowering your max speed, and your acceleration a bit (but don't turn this down too much).  You can also turn up the current on the stepper driver (but not too much) by adjusting the trimpot on the Z axis driver board.  Do this repeatedly until a command like 
G1 Z50 F30000
G1 Z10 F30000

(that is, drive up to 50, drive down to 10) 
runs without stalling.  When driving up, be aware of stalls, because the software doesn't recognize a stall and will think it's at 50cm above the bed, when in fact it is sitting 2cm above ... re-home in between tests if it stalls on the way up (or tell the software where it actually is via G92 )


--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mendelmax+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
========
Sean Mitchell

echo "zvgp...@tznvy.pbz" | tr '[a-m][n-z][A-M][N-Z]' '[n-z][a-m][N-Z][A-M]'

BoonKuey Lee

unread,
Sep 9, 2013, 12:09:20 AM9/9/13
to mend...@googlegroups.com, nospam20061...@muzik.ca
Sean

I lowered the setting as suggested and now the Z axis was able to go up to F7800 without the motor stalling.  I had not gone up to test F30000.  Is there a need to go this high?  Will this speed up the printing?

However I am not sure what does the number do? Can you explain? Here is my setting.


#define DEFAULT_AXIS_STEPS_PER_UNIT   {43.94,43.94,2152.22,533.334}  // new
#define DEFAULT_MAX_FEEDRATE          {2500, 2500, 4, 2500}    // (mm/sec)
#define DEFAULT_MAX_ACCELERATION      {3000,3000,30,3000}

#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION  3000   // X, Y, Z and E max acceleration in mm/s^2 for retracts

Thanks again for the help. Again moving closure to the first print.  I am facing the PLA filament not stick to the heated bed but I till all the calibration is not setup correctly yet.

Kai Dupke

unread,
Sep 9, 2013, 1:44:33 AM9/9/13
to mend...@googlegroups.com
Hasn't the z-axis the smallest impact on printing speed?

I mean, a z-axis move needs just a bit on every layer, doubling the
speed is just a bit less - unless you print a needle standing up (and
then still you need more time to get the filament cool down).

However, let me ask otherwise, what are the usual speed settings in this
group for X and Y?

My firmware has a maximum set of 500 for X and Y, that looks pretty low,
isn't it?

greetings ki
>> On Sun, Sep 8, 2013 at 10:46 AM, BoonKuey Lee <boon...@gmail.com<javascript:>
>>> email to mendelmax+...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> ========
>> Sean Mitchell
>>
>> echo "zvgp...@tznvy.pbz" | tr '[a-m][n-z][A-M][N-Z]'
>> '[n-z][a-m][N-Z][A-M]'
>>
>



Kai Dupke
Senior Product Manager
Server Product Line
--
Phone: +49-(0)5102-9310828 Mail: kai....@suse.com
Mobile: +49-(0)173-5876766 WWW: www.suse.com

SUSE Linux Products GmbH - Maxfeldstr. 5 - 90409 Nuernberg (Germany)
GF: Jeff Hawn, Jennifer Guild, Felix Imend�rffer, HRB 16746 (AG Nurnberg)

Sean Mitchell

unread,
Sep 9, 2013, 3:41:10 AM9/9/13
to mend...@googlegroups.com
Kai hit the nail on the head with the Z axis, this only marginally slows down your print, unless you have "hopping" (z-lift) enabled (lift the printhead before doing a nonprinting move, but this IMO should be disabled). 

The values are the firmware induced speed limit (DEFAULT_MAX_FEEDRATE), and the acceleration (DEFAULT_MAX_ACCELERATION) which the axis does.  I'll take the Y axis as an example, since it's easier to visualize.  If you have a very heavy table then your motors might be able to move it at 6000mm/min (100 mm / s ), however it can't go from 0 to 6000 in an instant. Therefore, if you set your acceleration to 3000, in the first second it will go from 0-3000 then in the next second it will go from 3000 to your max speed of 6000.  If your bed still stalls at this speed, you can try increasing the current to the stepepr driver (give more power to help accelerate faster), lower the acceleration to 1500 (but now it'll take 4x longer to reach your max speed), or lower the max speed.  If you have a really light bed, and really smooth linear motion, then you can accelerate faster or with less power.

You can also play around with these values to learn what they do - if you try setting your bed acceleration to 300 (instead of 3000) and then do a move, you will notice that it takes a lot longer to reach speed, and on short moves it doesn't reach max speed at all.  

If you set your acceleration too low, you will get blobbing and bumpy circles, since it isn't accelerating fast enough around a curve (a curve is actually a bunch of straight lines, so with slow acceleration you get bumps at each of the segment ends as the deceleration, new line start, acceleration, which happens too slowly and a small lump forms).  And your print will be really slow.

I recommend you do the same tuning with each of the axes - that is ensure that no axis can stall.  You don't need to enter in exactly what I said with the F3000000, I just pick a random "insane" number, as for a minimum value I would try F12000 (12,000 mm/min or 200mm/s) at least. 

The other setting which we haven't touched on is the jerk, which to be honest I don't 100% understand.  It's something to do with acceleration at corners, that the axis doesn't completely decelerate.  If you get random skips especially when the head has to move back and fourth quickly (narrow infill) then this is what needs adjusting (down).

Finally, pay attention to the units of measure since they aren't always the same.  Sometimes it's mm/sec and sometimes it's mm/min.  


GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nurnberg)


--
You received this message because you are subscribed to the Google Groups "MendelMax Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mendelmax+...@googlegroups.com.

Kai Dupke

unread,
Sep 9, 2013, 4:46:27 AM9/9/13
to mend...@googlegroups.com
On 09/09/2013 09:41 AM, Sean Mitchell wrote:
> Kai hit the nail on the head with the Z axis, this only marginally slows
> down your print, unless you have "hopping" (z-lift) enabled (lift the
> printhead before doing a nonprinting move, but this IMO should be
> disabled).

My MM has no anti-backslash nuts on the z-axis. It would really do
hopping with such setting. I feel to let slic3r avoid crossing
perimeters is easier to get a good result.

> I recommend you do the same tuning with each of the axes - that is ensure
> that no axis can stall. You don't need to enter in exactly what I said
> with the F3000000, I just pick a random "insane" number, as for a minimum
> value I would try F12000 (12,000 mm/min or 200mm/s) at least.

How to tune them? Anyone a pointer to an axis speed tuning guide?

BTW, you have gently missed to answer what your own settings are for x
and y axis speed / acceleration....

greetings
Kai Dupke
Senior Product Manager
Server Product Line
--
Phone: +49-(0)5102-9310828 Mail: kai....@suse.com
Mobile: +49-(0)173-5876766 WWW: www.suse.com

SUSE Linux Products GmbH - Maxfeldstr. 5 - 90409 Nuernberg (Germany)

BoonKuey Lee

unread,
Sep 9, 2013, 9:31:20 AM9/9/13
to mend...@googlegroups.com
Ok. Thanks.

The number in my setting is just numbers I picked. Is there a good ratio? E.g from my setting
X, Y is set 2500 to 3000
Z is 4 to 30

I assume all these will be depend on the voltage, motor, etc

Should it be 1:1?

Reply all
Reply to author
Forward
0 new messages