|
@@ -36,16 +36,6 @@
|
36
|
36
|
#define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius
|
37
|
37
|
#endif
|
38
|
38
|
|
39
|
|
-/**
|
40
|
|
- * Automatic Temperature:
|
41
|
|
- * The hotend target temperature is calculated by all the buffered lines of gcode.
|
42
|
|
- * The maximum buffered steps/sec of the extruder motor is called "se".
|
43
|
|
- * Start autotemp mode with M109 S<mintemp> B<maxtemp> F<factor>
|
44
|
|
- * The target temperature is set to mintemp+factor*se[steps/sec] and is limited by
|
45
|
|
- * mintemp and maxtemp. Turn this off by excuting M109 without F*
|
46
|
|
- * Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp.
|
47
|
|
- * On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
|
48
|
|
- */
|
49
|
39
|
#if ENABLED(PIDTEMP)
|
50
|
40
|
// this adds an experimental additional term to the heating power, proportional to the extrusion speed.
|
51
|
41
|
// if Kc is chosen well, the additional required power due to increased melting should be compensated.
|
|
@@ -56,14 +46,16 @@
|
56
|
46
|
#endif
|
57
|
47
|
#endif
|
58
|
48
|
|
59
|
|
-
|
60
|
|
-//automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.
|
61
|
|
-//The maximum buffered steps/sec of the extruder motor are called "se".
|
62
|
|
-//You enter the autotemp mode by a M109 S<mintemp> B<maxtemp> F<factor>
|
63
|
|
-// the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp
|
64
|
|
-// you exit the value by any M109 without F*
|
65
|
|
-// Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.
|
66
|
|
-// on an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
|
|
49
|
+/**
|
|
50
|
+ * Automatic Temperature:
|
|
51
|
+ * The hotend target temperature is calculated by all the buffered lines of gcode.
|
|
52
|
+ * The maximum buffered steps/sec of the extruder motor is called "se".
|
|
53
|
+ * Start autotemp mode with M109 S<mintemp> B<maxtemp> F<factor>
|
|
54
|
+ * The target temperature is set to mintemp+factor*se[steps/sec] and is limited by
|
|
55
|
+ * mintemp and maxtemp. Turn this off by excuting M109 without F*
|
|
56
|
+ * Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp.
|
|
57
|
+ * On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
|
|
58
|
+ */
|
67
|
59
|
#define AUTOTEMP
|
68
|
60
|
#if ENABLED(AUTOTEMP)
|
69
|
61
|
#define AUTOTEMP_OLDWEIGHT 0.98
|