|
@@ -112,7 +112,7 @@
|
112
|
112
|
#define EXTRUDER_2_AUTO_FAN_PIN -1
|
113
|
113
|
#define EXTRUDER_3_AUTO_FAN_PIN -1
|
114
|
114
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
115
|
|
-#define EXTRUDER_AUTO_FAN_SPEED 255 // == full speed
|
|
115
|
+#define EXTRUDER_AUTO_FAN_SPEED 255 // == full speed
|
116
|
116
|
|
117
|
117
|
|
118
|
118
|
//===========================================================================
|
|
@@ -232,7 +232,13 @@
|
232
|
232
|
#define INVERT_E_STEP_PIN false
|
233
|
233
|
|
234
|
234
|
// Default stepper release if idle. Set to 0 to deactivate.
|
|
235
|
+// Steppers will shut down DEFAULT_STEPPER_DEACTIVE_TIME seconds after the last move when DISABLE_INACTIVE_? is true.
|
|
236
|
+// Time can be set by M18 and M84.
|
235
|
237
|
#define DEFAULT_STEPPER_DEACTIVE_TIME 60
|
|
238
|
+#define DISABLE_INACTIVE_X true
|
|
239
|
+#define DISABLE_INACTIVE_Y true
|
|
240
|
+#define DISABLE_INACTIVE_Z true // set to false if the nozzle will fall down on your printed part when print has finished.
|
|
241
|
+#define DISABLE_INACTIVE_E true
|
236
|
242
|
|
237
|
243
|
#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
|
238
|
244
|
#define DEFAULT_MINTRAVELFEEDRATE 0.0
|
|
@@ -341,16 +347,17 @@
|
341
|
347
|
#define USE_SMALL_INFOFONT
|
342
|
348
|
#endif // DOGLCD
|
343
|
349
|
|
|
350
|
+
|
344
|
351
|
// @section more
|
345
|
352
|
|
346
|
353
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
347
|
354
|
#define USE_WATCHDOG
|
348
|
355
|
|
349
|
356
|
#if ENABLED(USE_WATCHDOG)
|
350
|
|
-// If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
|
351
|
|
-// The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
|
352
|
|
-// However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
|
353
|
|
-//#define WATCHDOG_RESET_MANUAL
|
|
357
|
+ // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
|
|
358
|
+ // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
|
|
359
|
+ // However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
|
|
360
|
+ //#define WATCHDOG_RESET_MANUAL
|
354
|
361
|
#endif
|
355
|
362
|
|
356
|
363
|
// @section lcd
|
|
@@ -361,7 +368,6 @@
|
361
|
368
|
//#define BABYSTEPPING
|
362
|
369
|
#if ENABLED(BABYSTEPPING)
|
363
|
370
|
#define BABYSTEP_XY //not only z, but also XY in the menu. more clutter, more functions
|
364
|
|
- //not implemented for CoreXY and deltabots!
|
365
|
371
|
#define BABYSTEP_INVERT_Z false //true for inverse movements in Z
|
366
|
372
|
#define BABYSTEP_MULTIPLICATOR 1 //faster movements
|
367
|
373
|
#endif
|
|
@@ -380,7 +386,6 @@
|
380
|
386
|
#if ENABLED(ADVANCE)
|
381
|
387
|
#define EXTRUDER_ADVANCE_K .0
|
382
|
388
|
#define D_FILAMENT 2.85
|
383
|
|
- #define STEPS_MM_E 836
|
384
|
389
|
#endif
|
385
|
390
|
|
386
|
391
|
// @section extras
|
|
@@ -389,7 +394,7 @@
|
389
|
394
|
#define MM_PER_ARC_SEGMENT 1
|
390
|
395
|
#define N_ARC_CORRECTION 25
|
391
|
396
|
|
392
|
|
-const unsigned int dropsegments=5; //everything with less than this number of steps will be ignored as move and joined with the next movement
|
|
397
|
+const unsigned int dropsegments = 5; //everything with less than this number of steps will be ignored as move and joined with the next movement
|
393
|
398
|
|
394
|
399
|
// @section temperature
|
395
|
400
|
|
|
@@ -454,7 +459,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
454
|
459
|
#define FILAMENTCHANGE_ZADD 10
|
455
|
460
|
#define FILAMENTCHANGE_FIRSTRETRACT -2
|
456
|
461
|
#define FILAMENTCHANGE_FINALRETRACT -100
|
457
|
|
- #define AUTO_FILAMENT_CHANGE //This extrude filament until you press the button on LCD
|
|
462
|
+ #define AUTO_FILAMENT_CHANGE //This extrudes filament until you press the button on LCD
|
458
|
463
|
#define AUTO_FILAMENT_CHANGE_LENGTH 0.04 //Extrusion length on automatic extrusion loop
|
459
|
464
|
#define AUTO_FILAMENT_CHANGE_FEEDRATE 300 //Extrusion feedrate (mm/min) on automatic extrusion loop
|
460
|
465
|
#endif
|
|
@@ -462,7 +467,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
462
|
467
|
|
463
|
468
|
/******************************************************************************\
|
464
|
469
|
* enable this section if you have TMC26X motor drivers.
|
465
|
|
- * you need to import the TMC26XStepper library into the arduino IDE for this
|
|
470
|
+ * you need to import the TMC26XStepper library into the Arduino IDE for this
|
466
|
471
|
******************************************************************************/
|
467
|
472
|
|
468
|
473
|
// @section tmc
|
|
@@ -470,52 +475,52 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
470
|
475
|
//#define HAVE_TMCDRIVER
|
471
|
476
|
#if ENABLED(HAVE_TMCDRIVER)
|
472
|
477
|
|
473
|
|
-//#define X_IS_TMC
|
|
478
|
+ //#define X_IS_TMC
|
474
|
479
|
#define X_MAX_CURRENT 1000 //in mA
|
475
|
480
|
#define X_SENSE_RESISTOR 91 //in mOhms
|
476
|
481
|
#define X_MICROSTEPS 16 //number of microsteps
|
477
|
482
|
|
478
|
|
-//#define X2_IS_TMC
|
|
483
|
+ //#define X2_IS_TMC
|
479
|
484
|
#define X2_MAX_CURRENT 1000 //in mA
|
480
|
485
|
#define X2_SENSE_RESISTOR 91 //in mOhms
|
481
|
486
|
#define X2_MICROSTEPS 16 //number of microsteps
|
482
|
487
|
|
483
|
|
-//#define Y_IS_TMC
|
|
488
|
+ //#define Y_IS_TMC
|
484
|
489
|
#define Y_MAX_CURRENT 1000 //in mA
|
485
|
490
|
#define Y_SENSE_RESISTOR 91 //in mOhms
|
486
|
491
|
#define Y_MICROSTEPS 16 //number of microsteps
|
487
|
492
|
|
488
|
|
-//#define Y2_IS_TMC
|
|
493
|
+ //#define Y2_IS_TMC
|
489
|
494
|
#define Y2_MAX_CURRENT 1000 //in mA
|
490
|
495
|
#define Y2_SENSE_RESISTOR 91 //in mOhms
|
491
|
496
|
#define Y2_MICROSTEPS 16 //number of microsteps
|
492
|
497
|
|
493
|
|
-//#define Z_IS_TMC
|
|
498
|
+ //#define Z_IS_TMC
|
494
|
499
|
#define Z_MAX_CURRENT 1000 //in mA
|
495
|
500
|
#define Z_SENSE_RESISTOR 91 //in mOhms
|
496
|
501
|
#define Z_MICROSTEPS 16 //number of microsteps
|
497
|
502
|
|
498
|
|
-//#define Z2_IS_TMC
|
|
503
|
+ //#define Z2_IS_TMC
|
499
|
504
|
#define Z2_MAX_CURRENT 1000 //in mA
|
500
|
505
|
#define Z2_SENSE_RESISTOR 91 //in mOhms
|
501
|
506
|
#define Z2_MICROSTEPS 16 //number of microsteps
|
502
|
507
|
|
503
|
|
-//#define E0_IS_TMC
|
|
508
|
+ //#define E0_IS_TMC
|
504
|
509
|
#define E0_MAX_CURRENT 1000 //in mA
|
505
|
510
|
#define E0_SENSE_RESISTOR 91 //in mOhms
|
506
|
511
|
#define E0_MICROSTEPS 16 //number of microsteps
|
507
|
512
|
|
508
|
|
-//#define E1_IS_TMC
|
|
513
|
+ //#define E1_IS_TMC
|
509
|
514
|
#define E1_MAX_CURRENT 1000 //in mA
|
510
|
515
|
#define E1_SENSE_RESISTOR 91 //in mOhms
|
511
|
516
|
#define E1_MICROSTEPS 16 //number of microsteps
|
512
|
517
|
|
513
|
|
-//#define E2_IS_TMC
|
|
518
|
+ //#define E2_IS_TMC
|
514
|
519
|
#define E2_MAX_CURRENT 1000 //in mA
|
515
|
520
|
#define E2_SENSE_RESISTOR 91 //in mOhms
|
516
|
521
|
#define E2_MICROSTEPS 16 //number of microsteps
|
517
|
522
|
|
518
|
|
-//#define E3_IS_TMC
|
|
523
|
+ //#define E3_IS_TMC
|
519
|
524
|
#define E3_MAX_CURRENT 1000 //in mA
|
520
|
525
|
#define E3_SENSE_RESISTOR 91 //in mOhms
|
521
|
526
|
#define E3_MICROSTEPS 16 //number of microsteps
|
|
@@ -524,7 +529,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
524
|
529
|
|
525
|
530
|
/******************************************************************************\
|
526
|
531
|
* enable this section if you have L6470 motor drivers.
|
527
|
|
- * you need to import the L6470 library into the arduino IDE for this
|
|
532
|
+ * you need to import the L6470 library into the Arduino IDE for this
|
528
|
533
|
******************************************************************************/
|
529
|
534
|
|
530
|
535
|
// @section l6470
|
|
@@ -532,66 +537,63 @@ const unsigned int dropsegments=5; //everything with less than this number of st
|
532
|
537
|
//#define HAVE_L6470DRIVER
|
533
|
538
|
#if ENABLED(HAVE_L6470DRIVER)
|
534
|
539
|
|
535
|
|
-//#define X_IS_L6470
|
|
540
|
+ //#define X_IS_L6470
|
536
|
541
|
#define X_MICROSTEPS 16 //number of microsteps
|
537
|
|
- #define X_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
542
|
+ #define X_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
538
|
543
|
#define X_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
539
|
544
|
#define X_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
540
|
545
|
|
541
|
|
-//#define X2_IS_L6470
|
|
546
|
+ //#define X2_IS_L6470
|
542
|
547
|
#define X2_MICROSTEPS 16 //number of microsteps
|
543
|
|
- #define X2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
548
|
+ #define X2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
544
|
549
|
#define X2_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
545
|
550
|
#define X2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
546
|
551
|
|
547
|
|
-//#define Y_IS_L6470
|
|
552
|
+ //#define Y_IS_L6470
|
548
|
553
|
#define Y_MICROSTEPS 16 //number of microsteps
|
549
|
|
- #define Y_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
554
|
+ #define Y_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
550
|
555
|
#define Y_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
551
|
556
|
#define Y_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
552
|
557
|
|
553
|
|
-//#define Y2_IS_L6470
|
|
558
|
+ //#define Y2_IS_L6470
|
554
|
559
|
#define Y2_MICROSTEPS 16 //number of microsteps
|
555
|
|
- #define Y2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
560
|
+ #define Y2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
556
|
561
|
#define Y2_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
557
|
562
|
#define Y2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
558
|
563
|
|
559
|
|
-//#define Z_IS_L6470
|
|
564
|
+ //#define Z_IS_L6470
|
560
|
565
|
#define Z_MICROSTEPS 16 //number of microsteps
|
561
|
|
- #define Z_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
566
|
+ #define Z_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
562
|
567
|
#define Z_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
563
|
568
|
#define Z_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
564
|
569
|
|
565
|
|
-//#define Z2_IS_L6470
|
|
570
|
+ //#define Z2_IS_L6470
|
566
|
571
|
#define Z2_MICROSTEPS 16 //number of microsteps
|
567
|
|
- #define Z2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
572
|
+ #define Z2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
568
|
573
|
#define Z2_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
569
|
574
|
#define Z2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
570
|
575
|
|
571
|
|
-//#define E0_IS_L6470
|
|
576
|
+ //#define E0_IS_L6470
|
572
|
577
|
#define E0_MICROSTEPS 16 //number of microsteps
|
573
|
|
- #define E0_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
578
|
+ #define E0_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
574
|
579
|
#define E0_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
575
|
580
|
#define E0_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
576
|
581
|
|
577
|
|
-//#define E1_IS_L6470
|
578
|
|
- #define E1_MICROSTEPS 16 //number of microsteps
|
|
582
|
+ //#define E1_IS_L6470
|
579
|
583
|
#define E1_MICROSTEPS 16 //number of microsteps
|
580
|
|
- #define E1_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
584
|
+ #define E1_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
581
|
585
|
#define E1_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
582
|
586
|
#define E1_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
583
|
587
|
|
584
|
|
-//#define E2_IS_L6470
|
|
588
|
+ //#define E2_IS_L6470
|
585
|
589
|
#define E2_MICROSTEPS 16 //number of microsteps
|
586
|
|
- #define E2_MICROSTEPS 16 //number of microsteps
|
587
|
|
- #define E2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
590
|
+ #define E2_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
588
|
591
|
#define E2_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
589
|
592
|
#define E2_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
590
|
593
|
|
591
|
|
-//#define E3_IS_L6470
|
592
|
|
- #define E3_MICROSTEPS 16 //number of microsteps
|
|
594
|
+ //#define E3_IS_L6470
|
593
|
595
|
#define E3_MICROSTEPS 16 //number of microsteps
|
594
|
|
- #define E3_K_VAL 50 // 0 - 255, Higher values, are higher power. Be carefull not to go too high
|
|
596
|
+ #define E3_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
595
|
597
|
#define E3_OVERCURRENT 2000 //maxc current in mA. If the current goes over this value, the driver will switch off
|
596
|
598
|
#define E3_STALLCURRENT 1500 //current in mA where the driver will detect a stall
|
597
|
599
|
|