Welcome! Log In Create A New Profile

Advanced

Setting default feedrate / printspeed

Posted by LittleNyanCat 
Setting default feedrate / printspeed
February 25, 2018 08:20AM
Can you guys tell me where i change the default printspeed / feedrate in Marlin's code?

My printer runs fine at 300% printspeed with no sideffects, so i want to set it as default in Marlin's code, yes im aware tha eeprom is a thing and I could use it, but i want to hard-code it into my firmware so i dont have to change it again if a flash my firmware.


Many thanks! smiling smiley

Edited 1 time(s). Last edit at 02/25/2018 08:20AM by LittleNyanCat.
Re: Setting default feedrate / printspeed
February 25, 2018 10:14AM
In configuration.h


//============================== Movement Settings ============================
//=============================================================================
// @section motion

/**
* Default Settings
*
* These settings can be reset by M502
*
* You can set distinct factors for each E stepper, if needed.
* If fewer factors are given, the last will apply to the rest.
*
* Note that if EEPROM is enabled, saved values will override these.
*/

/**
* Default Axis Steps Per Unit (steps/mm)
* Override with M92
* X, Y, Z, E0 [, E1[, E2[, E3]]]
*/
//#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
/**
* Default Max Feed Rate (mm/s)
* Override with M203
* X, Y, Z, E0 [, E1[, E2[, E3]]]
*/
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
Sorry, only registered users may post in this forum.

Click here to login