From 53be78c9496f3fa2df191fb7dc621affdb2e1dc1 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 26 Jul 2011 18:17:52 +0200 Subject: New implementation of TEMP_RESIDENCY_TIME. We now wait for the target temp to be esablished and maintained for residency time +/- a configurable hysteresis --- Sprinter/Configuration.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Sprinter/Configuration.h') diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 3073393..1798642 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -143,8 +143,9 @@ char uuid[] = "00000000-0000-0000-0000-000000000000"; // If the temperature has not increased at the end of that period, the target temperature is set to zero. It can be reset with another M104/M109 //#define WATCHPERIOD 5000 //5 seconds -// Wait this long after achieving target temperature on M109 before continuing with print (seconds) -//#define TEMP_RESIDENCY_TIME 20 +// Actual temperature must be close to target for this long before M109 returns success +//#define TEMP_RESIDENCY_TIME 20 // (seconds) +//#define TEMP_HYSTERESIS 5 // (C°) range of +/- temperatures considered "close" to the target one //// The minimal temperature defines the temperature below which the heater will not be enabled #define MINTEMP 5 -- cgit v1.2.1