|
@@ -74,7 +74,7 @@
|
74
|
74
|
// User-specified version info of this build to display in [Pronterface, etc] terminal window during
|
75
|
75
|
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
|
76
|
76
|
// build by the user have been successfully uploaded into firmware.
|
77
|
|
-#define STRING_CONFIG_H_AUTHOR "(Florian S, ANET A2 config 26.8.18)" // Who made the changes.
|
|
77
|
+#define STRING_CONFIG_H_AUTHOR "(Modmike, Anet A2 Plus)" // Who made the changes.
|
78
|
78
|
#define SHOW_BOOTSCREEN
|
79
|
79
|
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
|
80
|
80
|
#define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2
|
|
@@ -125,7 +125,7 @@
|
125
|
125
|
*
|
126
|
126
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
127
|
127
|
*/
|
128
|
|
-#define BAUDRATE 115200
|
|
128
|
+#define BAUDRATE 250000
|
129
|
129
|
|
130
|
130
|
// Enable the Bluetooth serial interface on AT90USB devices
|
131
|
131
|
//#define BLUETOOTH
|
|
@@ -133,7 +133,7 @@
|
133
|
133
|
// The following define selects which electronics board you have.
|
134
|
134
|
// Please choose the name from boards.h that matches your setup
|
135
|
135
|
#ifndef MOTHERBOARD
|
136
|
|
- #define MOTHERBOARD BOARD_RAMPS_14_EFB
|
|
136
|
+ #define MOTHERBOARD BOARD_ANET_10
|
137
|
137
|
#endif
|
138
|
138
|
|
139
|
139
|
// Optional custom name for your RepStrap or other custom machine
|
|
@@ -151,7 +151,7 @@
|
151
|
151
|
#define EXTRUDERS 1
|
152
|
152
|
|
153
|
153
|
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
154
|
|
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
|
|
154
|
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
|
155
|
155
|
|
156
|
156
|
// For Cyclops or any "multi-extruder" that shares a single nozzle.
|
157
|
157
|
//#define SINGLENOZZLE
|
|
@@ -228,7 +228,6 @@
|
228
|
228
|
//#define HOTEND_OFFSET_Y {0.0, 5.00} // (mm) relative Y-offset for each nozzle
|
229
|
229
|
//#define HOTEND_OFFSET_Z {0.0, 0.00} // (mm) relative Z-offset for each nozzle
|
230
|
230
|
|
231
|
|
-
|
232
|
231
|
// @section machine
|
233
|
232
|
|
234
|
233
|
/**
|
|
@@ -312,12 +311,12 @@
|
312
|
311
|
*
|
313
|
312
|
* :{ '0': "Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '501':"100K Zonestar (Tronxy X3A)", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950 1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '20':"PT100 (Ultimainboard V2.x)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '66':"Dyze Design 4.7M High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-4':"Thermocouple + AD8495", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595",'998':"Dummy 1", '999':"Dummy 2" }
|
314
|
313
|
*/
|
315
|
|
-#define TEMP_SENSOR_0 11
|
|
314
|
+#define TEMP_SENSOR_0 5
|
316
|
315
|
#define TEMP_SENSOR_1 0
|
317
|
316
|
#define TEMP_SENSOR_2 0
|
318
|
317
|
#define TEMP_SENSOR_3 0
|
319
|
318
|
#define TEMP_SENSOR_4 0
|
320
|
|
-#define TEMP_SENSOR_BED 11
|
|
319
|
+#define TEMP_SENSOR_BED 5
|
321
|
320
|
#define TEMP_SENSOR_CHAMBER 0
|
322
|
321
|
|
323
|
322
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
@@ -352,12 +351,12 @@
|
352
|
351
|
// When temperature exceeds max temp, your heater will be switched off.
|
353
|
352
|
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
|
354
|
353
|
// You should use MINTEMP for thermistor short/failure protection.
|
355
|
|
-#define HEATER_0_MAXTEMP 250
|
|
354
|
+#define HEATER_0_MAXTEMP 275
|
356
|
355
|
#define HEATER_1_MAXTEMP 275
|
357
|
356
|
#define HEATER_2_MAXTEMP 275
|
358
|
357
|
#define HEATER_3_MAXTEMP 275
|
359
|
358
|
#define HEATER_4_MAXTEMP 275
|
360
|
|
-#define BED_MAXTEMP 130
|
|
359
|
+#define BED_MAXTEMP 150
|
361
|
360
|
|
362
|
361
|
//===========================================================================
|
363
|
362
|
//============================= PID Settings ================================
|
|
@@ -382,9 +381,9 @@
|
382
|
381
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
383
|
382
|
|
384
|
383
|
// Ultimaker
|
385
|
|
- //#define DEFAULT_Kp 22.2
|
386
|
|
- //#define DEFAULT_Ki 1.08
|
387
|
|
- //#define DEFAULT_Kd 114
|
|
384
|
+ #define DEFAULT_Kp 22.2
|
|
385
|
+ #define DEFAULT_Ki 1.08
|
|
386
|
+ #define DEFAULT_Kd 114
|
388
|
387
|
|
389
|
388
|
// MakerGear
|
390
|
389
|
//#define DEFAULT_Kp 7.0
|
|
@@ -396,11 +395,6 @@
|
396
|
395
|
//#define DEFAULT_Ki 2.25
|
397
|
396
|
//#define DEFAULT_Kd 440
|
398
|
397
|
|
399
|
|
- // Default A2
|
400
|
|
- #define DEFAULT_Kp 22.2
|
401
|
|
- #define DEFAULT_Ki 1.08
|
402
|
|
- #define DEFAULT_Kd 114
|
403
|
|
-
|
404
|
398
|
#endif // PIDTEMP
|
405
|
399
|
|
406
|
400
|
//===========================================================================
|
|
@@ -438,9 +432,9 @@
|
438
|
432
|
|
439
|
433
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
440
|
434
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
441
|
|
- //#define DEFAULT_bedKp 10.00
|
442
|
|
- //#define DEFAULT_bedKi .023
|
443
|
|
- //#define DEFAULT_bedKd 305.4
|
|
435
|
+ #define DEFAULT_bedKp 10.00
|
|
436
|
+ #define DEFAULT_bedKi .023
|
|
437
|
+ #define DEFAULT_bedKd 305.4
|
444
|
438
|
|
445
|
439
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
446
|
440
|
//from pidautotune
|
|
@@ -448,12 +442,6 @@
|
448
|
442
|
//#define DEFAULT_bedKi 1.41
|
449
|
443
|
//#define DEFAULT_bedKd 1675.16
|
450
|
444
|
|
451
|
|
- // ANET A2
|
452
|
|
- // original Bed + 0.3mm Heat conducting into 4mm borosilicate (PID-Autotune: M303 E-1 S60 C5):
|
453
|
|
- #define DEFAULT_bedKp 295.00
|
454
|
|
- #define DEFAULT_bedKi 35.65
|
455
|
|
- #define DEFAULT_bedKd 610.21
|
456
|
|
-
|
457
|
445
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
458
|
446
|
#endif // PIDTEMPBED
|
459
|
447
|
|
|
@@ -554,9 +542,9 @@
|
554
|
542
|
#endif
|
555
|
543
|
|
556
|
544
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
557
|
|
-#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
558
|
|
-#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
559
|
|
-#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
545
|
+#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
546
|
+#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
547
|
+#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
560
|
548
|
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
561
|
549
|
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
562
|
550
|
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
@@ -634,25 +622,14 @@
|
634
|
622
|
* Override with M92
|
635
|
623
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
636
|
624
|
*/
|
637
|
|
-//#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
|
638
|
|
-
|
639
|
|
-// ANET A2 Firmwae V2.0 defaults: (steps/mm)
|
640
|
|
-// Xsteps/mm: +100.0, Ysteps/mm: +100.0, Zsteps/mm: +0400.0, eSteps/mm: +0095.0
|
641
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT {100, 100, 400, 95}
|
642
|
|
-//#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 400, 95}
|
|
625
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT {100, 100, 400, 95 }
|
643
|
626
|
|
644
|
627
|
/**
|
645
|
628
|
* Default Max Feed Rate (mm/s)
|
646
|
629
|
* Override with M203
|
647
|
630
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
648
|
631
|
*/
|
649
|
|
-//#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
650
|
|
-
|
651
|
|
-// ANET A2 Firmware V2.0 defaults (Vmax):
|
652
|
|
-// Vmax x: 400, Vmax y: 400, Vmax z: 4, Vmax e: 25
|
653
|
|
-#define DEFAULT_MAX_FEEDRATE {400, 400, 4, 25}
|
654
|
|
-//#define DEFAULT_MAX_FEEDRATE {400, 400, 20, 50}
|
655
|
|
-
|
|
632
|
+#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
656
|
633
|
|
657
|
634
|
/**
|
658
|
635
|
* Default Max Acceleration (change/s) change = mm/s
|
|
@@ -660,12 +637,7 @@
|
660
|
637
|
* Override with M201
|
661
|
638
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
|
662
|
639
|
*/
|
663
|
|
-//#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
664
|
|
-
|
665
|
|
-// ANET A2 Firmware V2.0 defaults (Amax):
|
666
|
|
-// Amx x: 9000, Amax Y: 5000, Amax z: 50, Amax e: 10000
|
667
|
|
-#define DEFAULT_MAX_ACCELERATION { 9000, 5000, 50, 10000 }
|
668
|
|
-//#define DEFAULT_MAX_ACCELERATION { 10000, 10000, 200, 10000 }
|
|
640
|
+#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
669
|
641
|
|
670
|
642
|
/**
|
671
|
643
|
* Default Acceleration (change/s) change = mm/s
|
|
@@ -675,19 +647,9 @@
|
675
|
647
|
* M204 R Retract Acceleration
|
676
|
648
|
* M204 T Travel Acceleration
|
677
|
649
|
*/
|
678
|
|
-//#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
679
|
|
-//#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
680
|
|
-//#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
681
|
|
-
|
682
|
|
-// ANET A2 Firmware V2.0 defaults:
|
683
|
|
-// Accel: 1000 A-retract: 1000
|
684
|
|
-#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
685
|
|
-#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
686
|
|
-#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
687
|
|
-//#define DEFAULT_ACCELERATION 2000 // X, Y, Z and E acceleration for printing moves
|
688
|
|
-//#define DEFAULT_RETRACT_ACCELERATION 2000 // E acceleration for retracts
|
689
|
|
-//#define DEFAULT_TRAVEL_ACCELERATION 4000 // X, Y, Z acceleration for travel (non printing) moves
|
690
|
|
-
|
|
650
|
+#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
|
651
|
+#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
|
652
|
+#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
691
|
653
|
|
692
|
654
|
/**
|
693
|
655
|
* Default Jerk (mm/s)
|
|
@@ -697,12 +659,10 @@
|
697
|
659
|
* When changing speed and direction, if the difference is less than the
|
698
|
660
|
* value set here, it may happen instantaneously.
|
699
|
661
|
*/
|
700
|
|
-// ANET A2 Firmware V2.0 defaults (jerk):
|
701
|
|
-// Vxy-jerk: 20, Vz-jerk: +000.30, Ve-jerk: 10
|
702
|
|
-#define DEFAULT_XJERK 20.0
|
703
|
|
-#define DEFAULT_YJERK 20.0
|
|
662
|
+#define DEFAULT_XJERK 10.0
|
|
663
|
+#define DEFAULT_YJERK 10.0
|
704
|
664
|
#define DEFAULT_ZJERK 0.3
|
705
|
|
-#define DEFAULT_EJERK 10.0
|
|
665
|
+#define DEFAULT_EJERK 5.0
|
706
|
666
|
|
707
|
667
|
/**
|
708
|
668
|
* S-Curve Acceleration
|
|
@@ -728,7 +688,7 @@
|
728
|
688
|
*
|
729
|
689
|
* Enable this option for a probe connected to the Z Min endstop pin.
|
730
|
690
|
*/
|
731
|
|
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
691
|
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
732
|
692
|
|
733
|
693
|
/**
|
734
|
694
|
* Z_MIN_PROBE_ENDSTOP
|
|
@@ -763,7 +723,7 @@
|
763
|
723
|
* Use G29 repeatedly, adjusting the Z height at each point with movement commands
|
764
|
724
|
* or (with LCD_BED_LEVELING) the LCD controller.
|
765
|
725
|
*/
|
766
|
|
-#define PROBE_MANUALLY
|
|
726
|
+//#define PROBE_MANUALLY
|
767
|
727
|
//#define MANUAL_PROBE_START_Z 0.2
|
768
|
728
|
|
769
|
729
|
/**
|
|
@@ -793,11 +753,11 @@
|
793
|
753
|
* These options are most useful for the BLTouch probe, but may also improve
|
794
|
754
|
* readings with inductive probes and piezo sensors.
|
795
|
755
|
*/
|
796
|
|
-#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
|
756
|
+//#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
797
|
757
|
#if ENABLED(PROBING_HEATERS_OFF)
|
798
|
758
|
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
|
799
|
759
|
#endif
|
800
|
|
-#define PROBING_FANS_OFF // Turn fans off when probing
|
|
760
|
+//#define PROBING_FANS_OFF // Turn fans off when probing
|
801
|
761
|
//#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
|
802
|
762
|
|
803
|
763
|
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
|
|
@@ -834,28 +794,22 @@
|
834
|
794
|
//#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 // Y offset: -front +behind [the nozzle]
|
835
|
795
|
//#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
836
|
796
|
|
837
|
|
-//ANET A2 with BLTouch/3D-Touch mounted right to the nozzle
|
838
|
|
-#define X_PROBE_OFFSET_FROM_EXTRUDER 39 // X offset: -left +right [of the nozzle]
|
839
|
|
-#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front +behind [the nozzle]
|
840
|
|
-#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
841
|
|
-
|
842
|
797
|
// Certain types of probes need to stay away from edges
|
843
|
|
-#define MIN_PROBE_EDGE 10
|
|
798
|
+//#define MIN_PROBE_EDGE 10
|
844
|
799
|
|
845
|
800
|
// X and Y axis travel speed (mm/m) between probes
|
846
|
|
-#define XY_PROBE_SPEED 8000
|
847
|
|
-//#define XY_PROBE_SPEED 6000
|
|
801
|
+//#define XY_PROBE_SPEED 8000
|
848
|
802
|
|
849
|
803
|
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
850
|
|
-#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
|
|
804
|
+//#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
|
851
|
805
|
|
852
|
806
|
// Feedrate (mm/m) for the "accurate" probe of each point
|
853
|
|
-#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 3)
|
|
807
|
+//#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
|
854
|
808
|
|
855
|
809
|
// The number of probes to perform at each point.
|
856
|
810
|
// Set to 2 for a fast/slow probe, using the second probe result.
|
857
|
811
|
// Set to 3 or more for slow probes, averaging the results.
|
858
|
|
-#define MULTIPLE_PROBING 2
|
|
812
|
+//#define MULTIPLE_PROBING 2
|
859
|
813
|
|
860
|
814
|
/**
|
861
|
815
|
* Z probes require clearance when deploying, stowing, and moving between
|
|
@@ -871,17 +825,10 @@
|
871
|
825
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle.
|
872
|
826
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle.
|
873
|
827
|
*/
|
874
|
|
-#if 1 // 0 for less clearance
|
875
|
|
- #define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
876
|
|
- #define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
877
|
|
- #define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
878
|
|
- //#define Z_AFTER_PROBING 5 // Z position after probing is done
|
879
|
|
-#else
|
880
|
|
- #define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow
|
881
|
|
- #define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points
|
882
|
|
- #define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
883
|
|
- //#define Z_AFTER_PROBING 3 // Z position after probing is done
|
884
|
|
-#endif
|
|
828
|
+#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
|
829
|
+#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
|
830
|
+#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
|
831
|
+//#define Z_AFTER_PROBING 5 // Z position after probing is done
|
885
|
832
|
|
886
|
833
|
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
887
|
834
|
|
|
@@ -915,17 +862,14 @@
|
915
|
862
|
// @section machine
|
916
|
863
|
|
917
|
864
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
918
|
|
-#define INVERT_X_DIR false
|
919
|
|
-//#define INVERT_Y_DIR true
|
920
|
|
-//#define INVERT_Z_DIR false
|
921
|
|
-//ANET A2:
|
922
|
|
-#define INVERT_Y_DIR true
|
923
|
|
-#define INVERT_Z_DIR false
|
|
865
|
+#define INVERT_X_DIR true
|
|
866
|
+#define INVERT_Y_DIR false
|
|
867
|
+#define INVERT_Z_DIR true
|
924
|
868
|
|
925
|
869
|
// @section extruder
|
926
|
870
|
|
927
|
871
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
928
|
|
-#define INVERT_E0_DIR false
|
|
872
|
+#define INVERT_E0_DIR true
|
929
|
873
|
#define INVERT_E1_DIR false
|
930
|
874
|
#define INVERT_E2_DIR false
|
931
|
875
|
#define INVERT_E3_DIR false
|
|
@@ -949,36 +893,16 @@
|
949
|
893
|
// @section machine
|
950
|
894
|
|
951
|
895
|
// The size of the print bed
|
952
|
|
-//#define X_BED_SIZE 200
|
953
|
|
-//#define Y_BED_SIZE 200
|
|
896
|
+#define X_BED_SIZE 220
|
|
897
|
+#define Y_BED_SIZE 270
|
954
|
898
|
|
955
|
899
|
// Travel limits (mm) after homing, corresponding to endstop positions.
|
956
|
|
-//#define X_MIN_POS 0
|
957
|
|
-//#define Y_MIN_POS 0
|
958
|
|
-//#define X_MAX_POS X_BED_SIZE
|
959
|
|
-//#define Y_MAX_POS Y_BED_SIZE
|
960
|
|
-//#define Z_MIN_POS 0
|
961
|
|
-//#define Z_MAX_POS 200
|
962
|
|
-
|
963
|
|
-// ANET A2 Firmware V2.0 defaults:
|
964
|
|
-//#define X_BED_SIZE 220
|
965
|
|
-//#define Y_BED_SIZE 270
|
966
|
|
-//#define X_MIN_POS 0
|
967
|
|
-//#define Y_MIN_POS 0
|
968
|
|
-//#define Z_MIN_POS 0
|
969
|
|
-//#define Z_MAX_POS 220
|
970
|
|
-
|
971
|
|
-// ANET A2 with glass bed clamps and safety margin, X0/Y0 0 front left bed edge:
|
972
|
|
-#define X_BED_SIZE 190
|
973
|
|
-#define Y_BED_SIZE 250
|
974
|
|
-#define X_MIN_POS -7
|
975
|
|
-#define Y_MIN_POS -5
|
|
900
|
+#define X_MIN_POS 0
|
|
901
|
+#define Y_MIN_POS 0
|
976
|
902
|
#define Z_MIN_POS 0
|
977
|
|
-#define Z_MAX_POS 180
|
978
|
|
-
|
979
|
|
-
|
980
|
903
|
#define X_MAX_POS X_BED_SIZE
|
981
|
904
|
#define Y_MAX_POS Y_BED_SIZE
|
|
905
|
+#define Z_MAX_POS 200
|
982
|
906
|
|
983
|
907
|
/**
|
984
|
908
|
* Software Endstops
|
|
@@ -1068,13 +992,13 @@
|
1068
|
992
|
//#define AUTO_BED_LEVELING_LINEAR
|
1069
|
993
|
//#define AUTO_BED_LEVELING_BILINEAR
|
1070
|
994
|
//#define AUTO_BED_LEVELING_UBL
|
1071
|
|
-#define MESH_BED_LEVELING
|
|
995
|
+//#define MESH_BED_LEVELING
|
1072
|
996
|
|
1073
|
997
|
/**
|
1074
|
998
|
* Normally G28 leaves leveling disabled on completion. Enable
|
1075
|
999
|
* this option to have G28 restore the prior leveling state.
|
1076
|
1000
|
*/
|
1077
|
|
-#define RESTORE_LEVELING_AFTER_G28
|
|
1001
|
+//#define RESTORE_LEVELING_AFTER_G28
|
1078
|
1002
|
|
1079
|
1003
|
/**
|
1080
|
1004
|
* Enable detailed logging of G28, G29, M48, etc.
|
|
@@ -1111,14 +1035,14 @@
|
1111
|
1035
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
1112
|
1036
|
|
1113
|
1037
|
// Set the number of grid points per dimension.
|
1114
|
|
- #define GRID_MAX_POINTS_X 4
|
|
1038
|
+ #define GRID_MAX_POINTS_X 3
|
1115
|
1039
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
1116
|
1040
|
|
1117
|
1041
|
// Set the boundaries for probing (where the probe can reach).
|
1118
|
|
- //#define LEFT_PROBE_BED_POSITION 15
|
1119
|
|
- //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
|
1120
|
|
- //#define FRONT_PROBE_BED_POSITION 15
|
1121
|
|
- //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
|
|
1042
|
+ //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
|
|
1043
|
+ //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
|
|
1044
|
+ //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
|
|
1045
|
+ //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
|
1122
|
1046
|
|
1123
|
1047
|
// Probe along the Y axis, advancing X after each column
|
1124
|
1048
|
//#define PROBE_Y_FIRST
|
|
@@ -1166,10 +1090,10 @@
|
1166
|
1090
|
//===========================================================================
|
1167
|
1091
|
|
1168
|
1092
|
#define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed
|
1169
|
|
- #define GRID_MAX_POINTS_X 5 // Don't use more than 7 points per axis, implementation limited.
|
|
1093
|
+ #define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
1170
|
1094
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
1171
|
1095
|
|
1172
|
|
- #define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
|
1096
|
+ //#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
1173
|
1097
|
|
1174
|
1098
|
#endif // BED_LEVELING
|
1175
|
1099
|
|
|
@@ -1190,7 +1114,7 @@
|
1190
|
1114
|
* Add a bed leveling sub-menu for ABL or MBL.
|
1191
|
1115
|
* Include a guided procedure if manual probing is enabled.
|
1192
|
1116
|
*/
|
1193
|
|
-#define LCD_BED_LEVELING
|
|
1117
|
+//#define LCD_BED_LEVELING
|
1194
|
1118
|
|
1195
|
1119
|
#if ENABLED(LCD_BED_LEVELING)
|
1196
|
1120
|
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
|
|
@@ -1232,7 +1156,7 @@
|
1232
|
1156
|
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
|
1233
|
1157
|
// - Prevent Z homing when the Z probe is outside bed area.
|
1234
|
1158
|
//
|
1235
|
|
-#define Z_SAFE_HOMING
|
|
1159
|
+//#define Z_SAFE_HOMING
|
1236
|
1160
|
|
1237
|
1161
|
#if ENABLED(Z_SAFE_HOMING)
|
1238
|
1162
|
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
|
|
@@ -1314,7 +1238,7 @@
|
1314
|
1238
|
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
|
1315
|
1239
|
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
1316
|
1240
|
//
|
1317
|
|
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
|
|
1241
|
+#define EEPROM_SETTINGS // Enable for M500 and M501 commands
|
1318
|
1242
|
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
1319
|
1243
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
1320
|
1244
|
|
|
@@ -1348,11 +1272,11 @@
|
1348
|
1272
|
// Preheat Constants
|
1349
|
1273
|
#define PREHEAT_1_TEMP_HOTEND 200
|
1350
|
1274
|
#define PREHEAT_1_TEMP_BED 60
|
1351
|
|
-#define PREHEAT_1_FAN_SPEED 0 // ANET A2 default is 255
|
|
1275
|
+#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
1352
|
1276
|
|
1353
|
|
-#define PREHEAT_2_TEMP_HOTEND 240
|
1354
|
|
-#define PREHEAT_2_TEMP_BED 80
|
1355
|
|
-#define PREHEAT_2_FAN_SPEED 0 // ANET A2 default is 255
|
|
1277
|
+#define PREHEAT_2_TEMP_HOTEND 230
|
|
1278
|
+#define PREHEAT_2_TEMP_BED 100
|
|
1279
|
+#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
1356
|
1280
|
|
1357
|
1281
|
/**
|
1358
|
1282
|
* Nozzle Park
|
|
@@ -1365,7 +1289,7 @@
|
1365
|
1289
|
* P1 Raise the nozzle always to Z-park height.
|
1366
|
1290
|
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS.
|
1367
|
1291
|
*/
|
1368
|
|
-#define NOZZLE_PARK_FEATURE
|
|
1292
|
+//#define NOZZLE_PARK_FEATURE
|
1369
|
1293
|
|
1370
|
1294
|
#if ENABLED(NOZZLE_PARK_FEATURE)
|
1371
|
1295
|
// Specify a park position as { X, Y, Z }
|
|
@@ -1465,7 +1389,7 @@
|
1465
|
1389
|
*
|
1466
|
1390
|
* View the current statistics with M78.
|
1467
|
1391
|
*/
|
1468
|
|
-#define PRINTCOUNTER
|
|
1392
|
+//#define PRINTCOUNTER
|
1469
|
1393
|
|
1470
|
1394
|
//=============================================================================
|
1471
|
1395
|
//============================= LCD and SD support ============================
|
|
@@ -1588,7 +1512,7 @@
|
1588
|
1512
|
//
|
1589
|
1513
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
1590
|
1514
|
//
|
1591
|
|
-#define INDIVIDUAL_AXIS_HOMING_MENU
|
|
1515
|
+//#define INDIVIDUAL_AXIS_HOMING_MENU
|
1592
|
1516
|
|
1593
|
1517
|
//
|
1594
|
1518
|
// SPEAKER/BUZZER
|
|
@@ -1848,7 +1772,7 @@
|
1848
|
1772
|
//
|
1849
|
1773
|
// ANET and Tronxy Graphical Controller
|
1850
|
1774
|
//
|
1851
|
|
-#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
|
|
1775
|
+#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
|
1852
|
1776
|
// A clone of the RepRapDiscount full graphics display but with
|
1853
|
1777
|
// different pins/wiring (see pins_ANET_10.h).
|
1854
|
1778
|
|