Welcome! Log In Create A New Profile

Advanced

Marlin DEFAULT_MAX_FEEDRATE

Posted by spaceman 
Marlin DEFAULT_MAX_FEEDRATE
September 09, 2012 06:27PM
Hello

I've set my DEFAULT_MAX_FEEDRATE in the Configuration.h and uploaded them to the machine. However, when I slice a file with Slic3r, the Z feedrate in the Gcode tries to travel faster than the DEFAULT_MAX_FEEDRATE that I just set. The feedrates for X and Y however are fine.

If I give a G28 (or and move) command in Pronterface, all axis move at normal rates.

Can anyone tell me why the firmware seems not to be overriding the Gcode F rates? Or is that not what is going on?
Re: Marlin DEFAULT_MAX_FEEDRATE
September 14, 2012 08:31AM
spaceman, I just had a very similar sounding error, that the guys on this board helped figure out over in the "General" section... might be helpful..
thread titled "Strange Z axis Error"
[forums.reprap.org]


in beautiful southern, Maryland...
Re: Marlin DEFAULT_MAX_FEEDRATE
September 14, 2012 10:17PM
TonyG Wrote:
-------------------------------------------------------
> spaceman, I just had a very similar sounding
> error, that the guys on this board helped figure
> out over in the "General" section... might be
> helpful..
> thread titled "Strange Z axis Error"
> [forums.reprap.org]

Thanks for the tip TonyG, but ours was a .... 'operator error' issue. Being new to Marlin/Pronterface, and coming from RepG we didn't do our converting properly, or even at all. So for those looking for clues, here is what we did:

Pronterface works in mm/min
Slic3r GUI is in mm/s
Gcode is mm/min
Marlin is mm/sec.

We set a rediculously high number in the Configuration.h for the MAX_FEEDRATE.
Then we used Pronterface command line to send ever-increasing speeds to the printer until the axis failed.
We subtracted 10% of that number and used the new number as the MAX_FEEDRATE.
Repeated for each axis.

Example for axis 'X':
  1. Set MAX_FEEDRATE to 900. (REMEBER THIS IS IN MM/SEC)
  2. Send G1 X100 F6000. (the Fxxxx is the speed number and is in mm/min)
  3. If stepper does not fail, increase Fxxxx until fail.
  4. When stepper fails, take last non-failing number, subract 10% (the subraction is a personal choice) and divide by 60 (to get mm/sec)
  5. Set this number as MAX_FEEDRATE in Configuration.H for this axis.
Sorry, only registered users may post in this forum.

Click here to login