Welcome! Log In Create A New Profile

Advanced

Marlin 2.0 Spindle Power Slope

Posted by kd6hq 
Marlin 2.0 Spindle Power Slope
October 05, 2019 06:59AM
In Marlin 2.0 the following is stated:
/**
* The M3 & M4 commands use the following equation to convert PWM duty cycle to speed/power
*
* SPEED/POWER = PWM duty cycle * SPEED_POWER_SLOPE + SPEED_POWER_INTERCEPT
* where PWM duty cycle varies from 0 to 255
*
* set the following for your controller (ALL MUST BE SET)
*/
#define SPEED_POWER_SLOPE 118.4 // DJB
#define SPEED_POWER_INTERCEPT 0
#define SPEED_POWER_MIN 5000
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
#else
#define SPEED_POWER_SLOPE 0.3922
#define SPEED_POWER_INTERCEPT 0
#define SPEED_POWER_MIN 10
#define SPEED_POWER_MAX 100 // 0-100%

If I change the "SPEED_POWER_MIN / MAX to match my spindle will the "SPEED_POWER_SLOPE" need to be recalculated?
If so, how is it calculated?
Sorry, only registered users may post in this forum.

Click here to login