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