mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-12-27 17:59:44 -07:00
Sync from bugfix-2.0.x
This commit is contained in:
parent
19ccae84e4
commit
14001a82a7
164 changed files with 6943 additions and 3222 deletions
|
|
@ -1084,6 +1084,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1587,6 +1589,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2773,7 +2777,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2783,13 +2787,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2800,25 +2808,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2867,6 +2875,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2981,9 +2992,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE LOW
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE LOW
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE LOW
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1910,6 +1910,8 @@
|
|||
// IMPORTANT: The U8glib library is required for Graphical Display!
|
||||
// https://github.com/olikraus/U8glib_Arduino
|
||||
//
|
||||
// NOTE: If the LCD is unresponsive you may need to reverse the plugs.
|
||||
//
|
||||
|
||||
//
|
||||
// RepRapDiscount FULL GRAPHIC Smart Controller
|
||||
|
|
|
|||
|
|
@ -1540,6 +1540,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2663,7 +2665,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_POWERUP_DELAY 5000 // (ms) Delay to allow the spindle/laser to come up to speed/power
|
||||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
|
|
@ -2776,9 +2778,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1089,6 +1089,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1592,6 +1594,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2778,7 +2782,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2788,13 +2792,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2805,25 +2813,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2872,6 +2880,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2986,9 +2997,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1093,6 +1093,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE false // Disable steppers when SD Print is finished
|
||||
|
|
@ -1595,6 +1597,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2781,7 +2785,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2791,13 +2795,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2808,25 +2816,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2875,6 +2883,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2989,9 +3000,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1915,6 +1915,8 @@
|
|||
// IMPORTANT: The U8glib library is required for Graphical Display!
|
||||
// https://github.com/olikraus/U8glib_Arduino
|
||||
//
|
||||
// NOTE: If the LCD is unresponsive you may need to reverse the plugs.
|
||||
//
|
||||
|
||||
//
|
||||
// RepRapDiscount FULL GRAPHIC Smart Controller
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2985,9 +2996,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1074,6 +1074,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1580,6 +1582,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2766,7 +2770,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2776,13 +2780,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2793,25 +2801,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2860,6 +2868,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2974,9 +2985,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1087,6 +1087,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2763,7 +2767,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2773,13 +2777,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2790,25 +2798,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2857,6 +2865,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2971,9 +2982,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE LOW
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1084,6 +1084,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1587,6 +1589,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2773,7 +2777,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2783,13 +2787,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2800,25 +2808,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2867,6 +2875,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2981,9 +2992,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1087,6 +1087,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1593,6 +1595,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2779,7 +2783,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2789,13 +2793,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2806,25 +2814,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2873,6 +2881,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2987,9 +2998,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1087,6 +1087,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE (HIGH)
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1590,6 +1592,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2776,7 +2780,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2786,13 +2790,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2803,25 +2811,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2870,6 +2878,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2984,9 +2995,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1090,6 +1090,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1593,6 +1595,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2779,7 +2783,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2789,13 +2793,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2806,25 +2814,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2873,6 +2881,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2987,9 +2998,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2773,7 +2777,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2783,13 +2787,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2800,25 +2808,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2867,6 +2875,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2981,9 +2992,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2773,7 +2777,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2783,13 +2787,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2800,25 +2808,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2867,6 +2875,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2981,9 +2992,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1587,6 +1589,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2773,7 +2777,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2783,13 +2787,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2800,25 +2808,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2867,6 +2875,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2981,9 +2992,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1076,6 +1076,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1579,6 +1581,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2765,7 +2769,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2775,13 +2779,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2792,25 +2800,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2859,6 +2867,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2973,9 +2984,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1090,6 +1090,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1592,6 +1594,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2778,7 +2782,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2788,13 +2792,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2805,25 +2813,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2872,6 +2880,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2986,9 +2997,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1090,6 +1090,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1592,6 +1594,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2778,7 +2782,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2788,13 +2792,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2805,25 +2813,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2872,6 +2880,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2986,9 +2997,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1588,6 +1590,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2774,7 +2778,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2784,13 +2788,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2801,25 +2809,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2868,6 +2876,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2982,9 +2993,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE LOW
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1589,6 +1591,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2775,7 +2779,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2785,13 +2789,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2802,25 +2810,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2869,6 +2877,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2983,9 +2994,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1085,6 +1085,8 @@
|
|||
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
|
||||
//#define SD_DETECT_STATE HIGH
|
||||
|
||||
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
|
||||
|
||||
#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls
|
||||
|
||||
#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
|
||||
|
|
@ -1587,6 +1589,8 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* Probing Margins
|
||||
*
|
||||
* Override PROBING_MARGIN for each side of the build plate
|
||||
* Useful to get probe points to exact positions on targets or
|
||||
* to allow leveling to avoid plate clamps on only specific
|
||||
|
|
@ -2767,7 +2771,7 @@
|
|||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
#define SPINDLE_LASER_ACTIVE_HIGH false // Set to "true" if the on/off function is active HIGH
|
||||
#define SPINDLE_LASER_PWM true // Set to "true" if your controller supports setting the speed/power
|
||||
#define SPINDLE_LASER_PWM_INVERT true // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||
|
||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR and LPC)
|
||||
|
||||
|
|
@ -2777,13 +2781,17 @@
|
|||
* - PERCENT (S0 - S100)
|
||||
* - RPM (S0 - S50000) Best for use with a spindle
|
||||
*/
|
||||
#define CUTTER_POWER_DISPLAY PWM255
|
||||
#define CUTTER_POWER_UNIT PWM255
|
||||
|
||||
/**
|
||||
* Relative mode uses relative range (SPEED_POWER_MIN to SPEED_POWER_MAX) instead of normal range (0 to SPEED_POWER_MAX)
|
||||
* Best use with SuperPID router controller where for example S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
* Relative Cutter Power
|
||||
* Normally, 'M3 O<power>' sets
|
||||
* OCR power is relative to the range SPEED_POWER_MIN...SPEED_POWER_MAX.
|
||||
* so input powers of 0...255 correspond to SPEED_POWER_MIN...SPEED_POWER_MAX
|
||||
* instead of normal range (0 to SPEED_POWER_MAX).
|
||||
* Best used with (e.g.) SuperPID router controller: S0 = 5,000 RPM and S255 = 30,000 RPM
|
||||
*/
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX] instead of directly
|
||||
//#define CUTTER_POWER_RELATIVE // Set speed proportional to [SPEED_POWER_MIN...SPEED_POWER_MAX]
|
||||
|
||||
#if ENABLED(SPINDLE_FEATURE)
|
||||
//#define SPINDLE_CHANGE_DIR // Enable if your spindle controller can change spindle direction
|
||||
|
|
@ -2794,25 +2802,25 @@
|
|||
#define SPINDLE_LASER_POWERDOWN_DELAY 5000 // (ms) Delay to allow the spindle to stop
|
||||
|
||||
/**
|
||||
* M3/M4 uses the following equation to convert speed/power to PWM duty cycle
|
||||
* Power = ((DC / 255 * 100) - SPEED_POWER_INTERCEPT)) * (1 / SPEED_POWER_SLOPE)
|
||||
* where PWM DC varies from 0 to 255
|
||||
* M3/M4 Power Equation
|
||||
*
|
||||
* Set these required parameters for your controller
|
||||
* Each tool uses different value ranges for speed / power control.
|
||||
* These parameters are used to convert between tool power units and PWM.
|
||||
*
|
||||
* Speed/Power = (PWMDC / 255 * 100 - SPEED_POWER_INTERCEPT) / SPEED_POWER_SLOPE
|
||||
* PWMDC = (spdpwr - SPEED_POWER_MIN) / (SPEED_POWER_MAX - SPEED_POWER_MIN) / SPEED_POWER_SLOPE
|
||||
*/
|
||||
#define SPEED_POWER_SLOPE 118.4 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 5000
|
||||
#define SPEED_POWER_MAX 30000 // SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 5000 // (RPM)
|
||||
#define SPEED_POWER_MAX 30000 // (RPM) SuperPID router controller 0 - 30,000 RPM
|
||||
#define SPEED_POWER_STARTUP 25000 // (RPM) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
#else
|
||||
|
||||
#define SPEED_POWER_SLOPE 0.3922 // SPEED_POWER_SLOPE = SPEED_POWER_MAX / 255
|
||||
#define SPEED_POWER_INTERCEPT 0
|
||||
#define SPEED_POWER_MIN 0
|
||||
#define SPEED_POWER_MAX 100 // 0-100%
|
||||
#define SPEED_POWER_STARTUP 80 // The default value for speed power when M3 is called without arguments
|
||||
#define SPEED_POWER_INTERCEPT 0 // (%) 0-100 i.e., Minimum power percentage
|
||||
#define SPEED_POWER_MIN 0 // (%) 0-100
|
||||
#define SPEED_POWER_MAX 100 // (%) 0-100
|
||||
#define SPEED_POWER_STARTUP 80 // (%) M3/M4 speed/power default (with no arguments)
|
||||
|
||||
/**
|
||||
* Enable inline laser power to be handled in the planner / stepper routines.
|
||||
|
|
@ -2861,6 +2869,9 @@
|
|||
// Turn off the laser on G0 moves with no power parameter.
|
||||
// If a power parameter is provided, use that instead.
|
||||
//#define LASER_MOVE_G0_OFF
|
||||
|
||||
// Turn off the laser on G28 homing.
|
||||
//#define LASER_MOVE_G28_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -2975,9 +2986,21 @@
|
|||
* Activate to make volumetric extrusion the default method,
|
||||
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
|
||||
*
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter.
|
||||
* M200 D0 to disable, M200 Dn to set a new diameter (and enable volumetric).
|
||||
* M200 S0/S1 to disable/enable volumetric extrusion.
|
||||
*/
|
||||
//#define VOLUMETRIC_DEFAULT_ON
|
||||
|
||||
//#define VOLUMETRIC_EXTRUDER_LIMIT
|
||||
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
|
||||
/**
|
||||
* Default volumetric extrusion limit in cubic mm per second (mm^3/sec).
|
||||
* This factory setting applies to all extruders.
|
||||
* Use 'M200 [T<extruder>] L<limit>' to override and 'M502' to reset.
|
||||
* A non-zero value activates Volume-based Extrusion Limiting.
|
||||
*/
|
||||
#define DEFAULT_VOLUMETRIC_EXTRUDER_LIMIT 0.00 // (mm^3/sec)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue