|
|
@ -8,7 +8,7 @@
|
|
|
|
#ifdef BED_LIMIT_SWITCHING
|
|
|
|
#ifdef BED_LIMIT_SWITCHING
|
|
|
|
#define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
|
|
|
|
#define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control
|
|
|
|
#define BED_CHECK_INTERVAL 3000 //ms between checks in bang-bang control
|
|
|
|
|
|
|
|
|
|
|
|
//// Heating sanity check:
|
|
|
|
//// Heating sanity check:
|
|
|
|
// This waits for the watch period in milliseconds whenever an M104 or M109 increases the target temperature
|
|
|
|
// This waits for the watch period in milliseconds whenever an M104 or M109 increases the target temperature
|
|
|
@ -47,10 +47,10 @@
|
|
|
|
// extruder run-out prevention.
|
|
|
|
// extruder run-out prevention.
|
|
|
|
//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
|
|
|
|
//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded
|
|
|
|
//#define EXTRUDER_RUNOUT_PREVENT
|
|
|
|
//#define EXTRUDER_RUNOUT_PREVENT
|
|
|
|
#define EXTRUDER_RUNOUT_MINTEMP 190
|
|
|
|
#define EXTRUDER_RUNOUT_MINTEMP 180
|
|
|
|
#define EXTRUDER_RUNOUT_SECONDS 30.
|
|
|
|
#define EXTRUDER_RUNOUT_SECONDS 30.
|
|
|
|
#define EXTRUDER_RUNOUT_ESTEPS 14. //mm filament
|
|
|
|
#define EXTRUDER_RUNOUT_ESTEPS 14. //mm filament
|
|
|
|
#define EXTRUDER_RUNOUT_SPEED 1500. //extrusion speed
|
|
|
|
#define EXTRUDER_RUNOUT_SPEED 180. //extrusion speed
|
|
|
|
#define EXTRUDER_RUNOUT_EXTRUDE 100
|
|
|
|
#define EXTRUDER_RUNOUT_EXTRUDE 100
|
|
|
|
|
|
|
|
|
|
|
|
//These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
|
|
|
|
//These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
|
|
|
@ -345,13 +345,13 @@
|
|
|
|
// Hooke's law says: force = k * distance
|
|
|
|
// Hooke's law says: force = k * distance
|
|
|
|
// Bernoulli's principle says: v ^ 2 / 2 + g . h + pressure / density = constant
|
|
|
|
// Bernoulli's principle says: v ^ 2 / 2 + g . h + pressure / density = constant
|
|
|
|
// so: v ^ 2 is proportional to number of steps we advance the extruder
|
|
|
|
// so: v ^ 2 is proportional to number of steps we advance the extruder
|
|
|
|
//#define ADVANCE
|
|
|
|
#define ADVANCE
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef ADVANCE
|
|
|
|
#ifdef ADVANCE
|
|
|
|
#define EXTRUDER_ADVANCE_K .0
|
|
|
|
#define EXTRUDER_ADVANCE_K .0
|
|
|
|
|
|
|
|
|
|
|
|
#define D_FILAMENT 1.75
|
|
|
|
#define D_FILAMENT 1.75
|
|
|
|
#define STEPS_MM_E 836
|
|
|
|
#define STEPS_MM_E 1000
|
|
|
|
#define EXTRUTION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
|
|
|
|
#define EXTRUTION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
|
|
|
|
#define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS]/ EXTRUTION_AREA)
|
|
|
|
#define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS]/ EXTRUTION_AREA)
|
|
|
|
|
|
|
|
|
|
|
@ -420,7 +420,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
|
|
|
#ifdef FWRETRACT
|
|
|
|
#ifdef FWRETRACT
|
|
|
|
#define MIN_RETRACT 0.1 //minimum extruded mm to accept a automatic gcode retraction attempt
|
|
|
|
#define MIN_RETRACT 0.1 //minimum extruded mm to accept a automatic gcode retraction attempt
|
|
|
|
#define RETRACT_LENGTH 3 //default retract length (positive mm)
|
|
|
|
#define RETRACT_LENGTH 3 //default retract length (positive mm)
|
|
|
|
#define RETRACT_FEEDRATE 30 //default feedrate for retracting (mm/s)
|
|
|
|
#define RETRACT_FEEDRATE 35 //default feedrate for retracting (mm/s)
|
|
|
|
#define RETRACT_ZLIFT 0 //default retract Z-lift
|
|
|
|
#define RETRACT_ZLIFT 0 //default retract Z-lift
|
|
|
|
#define RETRACT_RECOVER_LENGTH 0 //default additional recover length (mm, added to retract length when recovering)
|
|
|
|
#define RETRACT_RECOVER_LENGTH 0 //default additional recover length (mm, added to retract length when recovering)
|
|
|
|
#define RETRACT_RECOVER_FEEDRATE 8 //default feedrate for recovering from retraction (mm/s)
|
|
|
|
#define RETRACT_RECOVER_FEEDRATE 8 //default feedrate for recovering from retraction (mm/s)
|
|
|
|