cocktailyogi преди 10 години
родител
ревизия
ad3b770c1a
променени са 2 файла, в които са добавени 43 реда и са изтрити 6 реда
  1. 37
    0
      Marlin/example_configurations/SCARA/Configuration.h
  2. 6
    6
      Marlin/example_configurations/SCARA/Configuration_adv.h

+ 37
- 0
Marlin/example_configurations/SCARA/Configuration.h Целия файл

@@ -292,6 +292,43 @@
292 292
 #define EXTRUDE_MINTEMP 150
293 293
 #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
294 294
 
295
+/*================== Thermal Runaway Protection ==============================
296
+This is a feature to protect your printer from burn up in flames if it has
297
+a thermistor coming off place (this happened to a friend of mine recently and
298
+motivated me writing this feature).
299
+
300
+The issue: If a thermistor come off, it will read a lower temperature than actual.
301
+The system will turn the heater on forever, burning up the filament and anything
302
+else around.
303
+
304
+After the temperature reaches the target for the first time, this feature will 
305
+start measuring for how long the current temperature stays below the target 
306
+minus _HYSTERESIS (set_temperature - THERMAL_RUNAWAY_PROTECTION_HYSTERESIS).
307
+
308
+If it stays longer than _PERIOD, it means the thermistor temperature
309
+cannot catch up with the target, so something *may be* wrong. Then, to be on the
310
+safe side, the system will he halt.
311
+
312
+Bear in mind the count down will just start AFTER the first time the 
313
+thermistor temperature is over the target, so you will have no problem if
314
+your extruder heater takes 2 minutes to hit the target on heating.
315
+
316
+*/
317
+// If you want to enable this feature for all your extruder heaters,
318
+// uncomment the 2 defines below:
319
+
320
+// Parameters for all extruder heaters
321
+//#define THERMAL_RUNAWAY_PROTECTION_PERIOD 40 //in seconds
322
+//#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 4 // in degree Celsius
323
+
324
+// If you want to enable this feature for your bed heater,
325
+// uncomment the 2 defines below:
326
+
327
+// Parameters for the bed heater
328
+//#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds
329
+//#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius
330
+//===========================================================================
331
+
295 332
 //===========================================================================
296 333
 //=============================Mechanical Settings===========================
297 334
 //===========================================================================

+ 6
- 6
Marlin/example_configurations/SCARA/Configuration_adv.h Целия файл

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

Loading…
Отказ
Запис