mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-06 22:47:35 -06:00
Update from bugfix-2.0.x and 16277
This commit is contained in:
parent
e75a52f148
commit
38d2034c25
285 changed files with 11082 additions and 3132 deletions
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -669,6 +670,7 @@
|
||||||
//#define Y2_DRIVER_TYPE A4988
|
//#define Y2_DRIVER_TYPE A4988
|
||||||
//#define Z2_DRIVER_TYPE A4988
|
//#define Z2_DRIVER_TYPE A4988
|
||||||
//#define Z3_DRIVER_TYPE A4988
|
//#define Z3_DRIVER_TYPE A4988
|
||||||
|
//#define Z4_DRIVER_TYPE A4988
|
||||||
//#define E0_DRIVER_TYPE A4988
|
//#define E0_DRIVER_TYPE A4988
|
||||||
//#define E1_DRIVER_TYPE A4988
|
//#define E1_DRIVER_TYPE A4988
|
||||||
//#define E2_DRIVER_TYPE A4988
|
//#define E2_DRIVER_TYPE A4988
|
||||||
|
@ -1944,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -413,6 +413,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1976,10 +1977,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1945,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1945,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 7
|
#define TEMP_SENSOR_BED 7
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1964,10 +1965,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -450,6 +450,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -2025,10 +2026,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1531,6 +1532,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1868,6 +1901,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1985,6 +2024,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2074,6 +2121,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2149,6 +2197,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2314,6 +2363,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2377,7 +2435,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -450,6 +450,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -2023,10 +2024,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1530,6 +1531,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1867,6 +1900,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1984,6 +2023,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2073,6 +2120,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2148,6 +2196,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2313,6 +2362,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2376,7 +2434,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 20
|
#define TEMP_SENSOR_BED 20
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1955,10 +1956,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1868,6 +1901,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1985,6 +2024,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2074,6 +2121,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2149,6 +2197,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2314,6 +2363,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2377,7 +2435,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1946,10 +1947,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1946,10 +1947,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 11
|
#define TEMP_SENSOR_BED 11
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -2061,10 +2062,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -413,6 +413,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1972,10 +1973,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -413,6 +413,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1955,10 +1956,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1947,10 +1948,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1956,10 +1957,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1954,10 +1955,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 13
|
#define TEMP_SENSOR_BED 13
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1945,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -483,7 +483,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -493,27 +493,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1533,6 +1534,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1870,6 +1903,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1987,6 +2026,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2076,6 +2123,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2151,6 +2199,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2316,6 +2365,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2379,7 +2437,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1927,10 +1928,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 2 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 2 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 5
|
#define TEMP_SENSOR_BED 5
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 60
|
#define TEMP_SENSOR_BED 60
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1932,10 +1933,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -420,6 +420,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1945,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1537,6 +1538,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1874,6 +1907,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1991,6 +2030,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2080,6 +2127,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2155,6 +2203,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2320,6 +2369,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2383,7 +2441,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1932,10 +1933,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1936,10 +1937,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 3
|
#define E0_SLAVE_ADDRESS 3
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1937,10 +1938,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -413,6 +413,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1943,10 +1944,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1954,10 +1955,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1945,10 +1946,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1947,10 +1948,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -421,6 +421,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1963,10 +1964,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1948,10 +1949,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1948,10 +1949,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1954,10 +1955,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1948,10 +1949,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1948,10 +1949,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1954,10 +1955,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1942,10 +1943,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1948,10 +1949,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1862,6 +1895,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1979,6 +2018,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2068,6 +2115,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2143,6 +2191,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2308,6 +2357,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2371,7 +2429,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1954,10 +1955,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 3
|
#define E0_SLAVE_ADDRESS 3
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 3
|
#define E0_SLAVE_ADDRESS 3
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 3
|
#define E0_SLAVE_ADDRESS 3
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 1
|
#define TEMP_SENSOR_BED 1
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1949,10 +1950,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 650
|
#define E0_CURRENT 650
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 3
|
#define E0_SLAVE_ADDRESS 3
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -414,6 +414,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1946,10 +1947,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
|
@ -412,6 +412,7 @@
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
#define TEMP_SENSOR_5 0
|
#define TEMP_SENSOR_5 0
|
||||||
#define TEMP_SENSOR_BED 0
|
#define TEMP_SENSOR_BED 0
|
||||||
|
#define TEMP_SENSOR_PROBE 0
|
||||||
#define TEMP_SENSOR_CHAMBER 0
|
#define TEMP_SENSOR_CHAMBER 0
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
|
@ -1944,10 +1945,11 @@
|
||||||
// FYSETC variant of the MINI12864 graphic controller with SD support
|
// FYSETC variant of the MINI12864 graphic controller with SD support
|
||||||
// https://wiki.fysetc.com/Mini12864_Panel/
|
// https://wiki.fysetc.com/Mini12864_Panel/
|
||||||
//
|
//
|
||||||
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
//#define FYSETC_MINI_12864_X_X // Type C/D/E/F. No tunable RGB Backlight by default
|
||||||
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
//#define FYSETC_MINI_12864_1_2 // Type C/D/E/F. Simple RGB Backlight (always on)
|
||||||
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
//#define FYSETC_MINI_12864_2_0 // Type A/B. Discreet RGB Backlight
|
||||||
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
//#define FYSETC_MINI_12864_2_1 // Type A/B. Neopixel RGB Backlight
|
||||||
|
//#define FYSETC_GENERIC_12864_1_1 // Larger display with basic ON/OFF backlight.
|
||||||
|
|
||||||
//
|
//
|
||||||
// Factory display for Creality CR-10
|
// Factory display for Creality CR-10
|
||||||
|
|
|
@ -479,7 +479,7 @@
|
||||||
//#define X_DUAL_ENDSTOPS
|
//#define X_DUAL_ENDSTOPS
|
||||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||||
#define X2_USE_ENDSTOP _XMAX_
|
#define X2_USE_ENDSTOP _XMAX_
|
||||||
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define X2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -489,27 +489,28 @@
|
||||||
//#define Y_DUAL_ENDSTOPS
|
//#define Y_DUAL_ENDSTOPS
|
||||||
#if ENABLED(Y_DUAL_ENDSTOPS)
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
||||||
#define Y2_USE_ENDSTOP _YMAX_
|
#define Y2_USE_ENDSTOP _YMAX_
|
||||||
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
|
#define Y2_ENDSTOP_ADJUSTMENT 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define Z_DUAL_STEPPER_DRIVERS
|
//
|
||||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
// For Z set the number of stepper drivers
|
||||||
//#define Z_DUAL_ENDSTOPS
|
//
|
||||||
#if ENABLED(Z_DUAL_ENDSTOPS)
|
#define NUM_Z_STEPPER_DRIVERS 1 // (1-4) Z options change based on how many
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
|
||||||
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define Z_TRIPLE_STEPPER_DRIVERS
|
#if NUM_Z_STEPPER_DRIVERS > 1
|
||||||
#if ENABLED(Z_TRIPLE_STEPPER_DRIVERS)
|
//#define Z_MULTI_ENDSTOPS
|
||||||
//#define Z_TRIPLE_ENDSTOPS
|
#if ENABLED(Z_MULTI_ENDSTOPS)
|
||||||
#if ENABLED(Z_TRIPLE_ENDSTOPS)
|
#define Z2_USE_ENDSTOP _XMAX_
|
||||||
#define Z2_USE_ENDSTOP _XMAX_
|
#define Z2_ENDSTOP_ADJUSTMENT 0
|
||||||
#define Z3_USE_ENDSTOP _YMAX_
|
#if NUM_Z_STEPPER_DRIVERS >= 3
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT2 0
|
#define Z3_USE_ENDSTOP _YMAX_
|
||||||
#define Z_TRIPLE_ENDSTOPS_ADJUSTMENT3 0
|
#define Z3_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
|
#if NUM_Z_STEPPER_DRIVERS >= 4
|
||||||
|
#define Z4_USE_ENDSTOP _ZMAX_
|
||||||
|
#define Z4_ENDSTOP_ADJUSTMENT 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1529,6 +1530,38 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thermal Probe Compensation
|
||||||
|
* Probe measurements are adjusted to compensate for temperature distortion.
|
||||||
|
* Use G76 to calibrate this feature. Use M871 to set values manually.
|
||||||
|
* For a more detailed explanation of the process see G76_M871.cpp.
|
||||||
|
*/
|
||||||
|
#if HAS_BED_PROBE && TEMP_SENSOR_PROBE && TEMP_SENSOR_BED
|
||||||
|
// Enable thermal first layer compensation using bed and probe temperatures
|
||||||
|
#define PROBE_TEMP_COMPENSATION
|
||||||
|
|
||||||
|
// Add additional compensation depending on hotend temperature
|
||||||
|
// Note: this values cannot be calibrated and have to be set manually
|
||||||
|
#ifdef PROBE_TEMP_COMPENSATION
|
||||||
|
// Max temperature that can be reached by heated bed.
|
||||||
|
// This is required only for the calibration process.
|
||||||
|
#define PTC_MAX_BED_TEMP 110
|
||||||
|
|
||||||
|
// Park position to wait for probe cooldown
|
||||||
|
#define PTC_PARK_POS_X 0.0F
|
||||||
|
#define PTC_PARK_POS_Y 0.0F
|
||||||
|
#define PTC_PARK_POS_Z 100.0F
|
||||||
|
|
||||||
|
// Probe position to probe and wait for probe to reach target temperature
|
||||||
|
#define PTC_PROBE_POS_X 90.0F
|
||||||
|
#define PTC_PROBE_POS_Y 100.0F
|
||||||
|
|
||||||
|
// Enable additional compensation using hotend temperature
|
||||||
|
// Note: this values cannot be calibrated automatically but have to be set manually
|
||||||
|
//#define USE_TEMP_EXT_COMPENSATION
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// @section extras
|
// @section extras
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1866,6 +1899,12 @@
|
||||||
#define Z3_MICROSTEPS 16
|
#define Z3_MICROSTEPS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_DRIVER_TYPE_Z4(TMC26X)
|
||||||
|
#define Z4_MAX_CURRENT 1000
|
||||||
|
#define Z4_SENSE_RESISTOR 91
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
#if AXIS_DRIVER_TYPE_E0(TMC26X)
|
||||||
#define E0_MAX_CURRENT 1000
|
#define E0_MAX_CURRENT 1000
|
||||||
#define E0_SENSE_RESISTOR 91
|
#define E0_SENSE_RESISTOR 91
|
||||||
|
@ -1983,6 +2022,14 @@
|
||||||
#define Z3_CHAIN_POS -1
|
#define Z3_CHAIN_POS -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_TMC(Z4)
|
||||||
|
#define Z4_CURRENT 800
|
||||||
|
#define Z4_CURRENT_HOME Z4_CURRENT
|
||||||
|
#define Z4_MICROSTEPS 16
|
||||||
|
#define Z4_RSENSE 0.11
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_TMC(E0)
|
#if AXIS_IS_TMC(E0)
|
||||||
#define E0_CURRENT 800
|
#define E0_CURRENT 800
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
|
@ -2072,6 +2119,7 @@
|
||||||
#define Y2_SLAVE_ADDRESS 0
|
#define Y2_SLAVE_ADDRESS 0
|
||||||
#define Z2_SLAVE_ADDRESS 0
|
#define Z2_SLAVE_ADDRESS 0
|
||||||
#define Z3_SLAVE_ADDRESS 0
|
#define Z3_SLAVE_ADDRESS 0
|
||||||
|
#define Z4_SLAVE_ADDRESS 0
|
||||||
#define E0_SLAVE_ADDRESS 0
|
#define E0_SLAVE_ADDRESS 0
|
||||||
#define E1_SLAVE_ADDRESS 0
|
#define E1_SLAVE_ADDRESS 0
|
||||||
#define E2_SLAVE_ADDRESS 0
|
#define E2_SLAVE_ADDRESS 0
|
||||||
|
@ -2147,6 +2195,7 @@
|
||||||
#define Z_HYBRID_THRESHOLD 3
|
#define Z_HYBRID_THRESHOLD 3
|
||||||
#define Z2_HYBRID_THRESHOLD 3
|
#define Z2_HYBRID_THRESHOLD 3
|
||||||
#define Z3_HYBRID_THRESHOLD 3
|
#define Z3_HYBRID_THRESHOLD 3
|
||||||
|
#define Z4_HYBRID_THRESHOLD 3
|
||||||
#define E0_HYBRID_THRESHOLD 30
|
#define E0_HYBRID_THRESHOLD 30
|
||||||
#define E1_HYBRID_THRESHOLD 30
|
#define E1_HYBRID_THRESHOLD 30
|
||||||
#define E2_HYBRID_THRESHOLD 30
|
#define E2_HYBRID_THRESHOLD 30
|
||||||
|
@ -2312,6 +2361,15 @@
|
||||||
#define Z3_SLEW_RATE 1
|
#define Z3_SLEW_RATE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AXIS_IS_L64XX(Z4)
|
||||||
|
#define Z4_MICROSTEPS 128
|
||||||
|
#define Z4_OVERCURRENT 2000
|
||||||
|
#define Z4_STALLCURRENT 1500
|
||||||
|
#define Z4_MAX_VOLTAGE 127
|
||||||
|
#define Z4_CHAIN_POS -1
|
||||||
|
#define Z4_SLEW_RATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if AXIS_IS_L64XX(E0)
|
#if AXIS_IS_L64XX(E0)
|
||||||
#define E0_MICROSTEPS 128
|
#define E0_MICROSTEPS 128
|
||||||
#define E0_OVERCURRENT 2000
|
#define E0_OVERCURRENT 2000
|
||||||
|
@ -2375,7 +2433,7 @@
|
||||||
* I not present or I0 or I1 - X, Y, Z or E0
|
* I not present or I0 or I1 - X, Y, Z or E0
|
||||||
* I2 - X2, Y2, Z2 or E1
|
* I2 - X2, Y2, Z2 or E1
|
||||||
* I3 - Z3 or E3
|
* I3 - Z3 or E3
|
||||||
* I4 - E4
|
* I4 - Z4 or E4
|
||||||
* I5 - E5
|
* I5 - E5
|
||||||
* M916 - Increase drive level until get thermal warning
|
* M916 - Increase drive level until get thermal warning
|
||||||
* M917 - Find minimum current thresholds
|
* M917 - Find minimum current thresholds
|
||||||
|
|
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