z speed when paused/canceled and beyond
-
Hi,
when I pause a print, the z speed turns to 1 mm/s, can't find anyplace this is taken from.
; pause.g
; called when a print from SD card is pausedM83 ; relative extruder moves
G1 E-10 F3600 ; retract 10mm of filament
G91 ; relative positioning
G1 Z5 ; lift Z by 5mm
G90 ; absolute positioning
G1 X0 Y0 ; go to X=0 Y=0This is my pause.g
; stop.g
; called when a print is cancelled after a pause.
M104 S0 ; cool down nozzle
M140 S0 ; cool down bed
;G28 ; home all
M107 ; turn off fanThis is my cancel.g
Thanks
-
@runklestiltskin The Z axis feed rate will come from the last command that set it - most likely the slicer when printing. To use a different feed rate, just just add it to the G1 Z move so G1 Z5 Fnnn (where nn is the speed you want to use).
Be aware that any subsequent G1 Z moves will happen at this new feedrate until another G1 Z Fnnn is used.
-
@deckingman Thanks for your response.
But even if I add M203 Z50 and
G1 Z5 F600 the movement speed remains at 1mm/s and I have no idea where this is coming from. -
This post is deleted! -
@runklestiltskin I just replied but didn't read your post fully. Anyway, the speeds are in mm/min so 600 mm/min should give you 10mm/sec. BUT, it depends on what you have the acceleration set to. If that is low, then 5mm may not be long enough to accelerate up to speed during the first 2.5mm, then decelerate back down to zero. So first try a longer move e.g. 100mm and if that shows an increase in speed then you know you have to increase the acceleration.
-
@deckingman Thanks man, I went with M203 X5000 Y5000 Z5000 and G1 Z5 F5000. Now I can live with the speed. I am not sure what's causing this, cause I read on the marlin website, that M203 is in units/second underneath the description there, the example said mm/s.
Changing G1 Z5 Fnn didn't gave any result.
For now I will keep it that way.
Thanks again.
-
@runklestiltskin Ahh, yes. For some reason I overlooked the obvious possibility that the speed was being limited by the maximum speed threshold in your configuration file.
It's probably best not to look at the Marlin web site when looking for RepRap firmware settings . If you had looked here https://duet3d.dozuki.com/Wiki/Gcode#Section_M203_Set_maximum_feedrate
you'd have seen that the units are mm/min.Anyway, glad you are now sorted.
-
@runklestiltskin said in z speed when paused/canceled and beyond:
Z5000
If your Z axis is lead screw based that may be a dangerously high limit to set. If at some point your gcode asks for a very high rate of speed for the Z axis you may get binding or skipped steps. Setting it to a safe limit for the Z axis like 600mm/min (10mm/s) should be enough for most printers.
-
@phaedrux thanks man, it's a delta.
-
@deckingman thanks again, I thought, that the both had better interchangeablility.
-
@deckingman i think than I will have to change thus cura as well, might be the problem, since cura sets M203 Z7, which would result in a problem.
-
@runklestiltskin
in cura set the g code flavor to reprap instead of marlin. -
@runklestiltskin What @Veti said because M203 Z7 will set the maximum Z speed to 7mm/min.
And why the hell is Cura changing the maximum feed rate threshold? It's a pet hate of mine when slicers mess with configuration settings. I can sort of understand why some people might want to allow the slicer to mess with accelerations but maximum speed setting? All the slicer should do is send G1 Z Fnnn which will set the feed rate for that and all subsequent moves. I can't for the life of me think why it beneficial to have the slicer override the maximum speeds that one sets in config.g, because the slicer has no idea of what the printer's capabilities are.
-
@deckingman since 4.1 Cura came with the option to set "maximum z speed" by default it's 0 and it causes a lot of pausing while z hopping and stuff.
So again it's my fault for not changing from marlin to reprap after switching from the crappy anycubic firmware to the duet board.
Thanks a lot for making this clear to me. Sorry.
-
@deckingman just checked the gcode since I changed to reprap in my slicer, the M203 Z420 replaced the M203 Z7 that was previously inserted.
Awesome support.
-
@runklestiltskin said in z speed when paused/canceled and beyond:
@deckingman just checked the gcode since I changed to reprap in my slicer, the M203 Z420 replaced the M203 Z7 that was previously inserted.
Awesome support.
Glad to help.
PS - I'm just a user like you. One of many on these forums who try to help other users where and when we can.
-
@runklestiltskin said in z speed when paused/canceled and beyond:
@deckingman thanks again, I thought, that the both had better interchangeablility.
Recent firmware with accept me of the Marlin specific gcode commands but in the case of max speed they just the same gcode, but different units.