|
|
@ -74,7 +74,7 @@ |
|
|
|
// User-specified version info of this build to display in [Pronterface, etc] terminal window during
|
|
|
|
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
|
|
|
|
// build by the user have been successfully uploaded into firmware.
|
|
|
|
#define STRING_CONFIG_H_AUTHOR "(Florian S, ANET A2 config 26.8.18)" // Who made the changes.
|
|
|
|
#define STRING_CONFIG_H_AUTHOR "(Modmike, Anet A2 Plus)" // Who made the changes.
|
|
|
|
#define SHOW_BOOTSCREEN |
|
|
|
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
|
|
|
|
#define STRING_SPLASH_LINE2 WEBSITE_URL // will be shown during bootup in line 2
|
|
|
@ -125,7 +125,7 @@ |
|
|
|
* |
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] |
|
|
|
*/ |
|
|
|
#define BAUDRATE 115200 |
|
|
|
#define BAUDRATE 250000 |
|
|
|
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
|
//#define BLUETOOTH
|
|
|
@ -133,7 +133,7 @@ |
|
|
|
// The following define selects which electronics board you have.
|
|
|
|
// Please choose the name from boards.h that matches your setup
|
|
|
|
#ifndef MOTHERBOARD |
|
|
|
#define MOTHERBOARD BOARD_RAMPS_14_EFB |
|
|
|
#define MOTHERBOARD BOARD_ANET_10 |
|
|
|
#endif |
|
|
|
|
|
|
|
// Optional custom name for your RepStrap or other custom machine
|
|
|
@ -151,7 +151,7 @@ |
|
|
|
#define EXTRUDERS 1 |
|
|
|
|
|
|
|
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
|
|
|
#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0 |
|
|
|
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75 |
|
|
|
|
|
|
|
// For Cyclops or any "multi-extruder" that shares a single nozzle.
|
|
|
|
//#define SINGLENOZZLE
|
|
|
@ -228,7 +228,6 @@ |
|
|
|
//#define HOTEND_OFFSET_Y {0.0, 5.00} // (mm) relative Y-offset for each nozzle
|
|
|
|
//#define HOTEND_OFFSET_Z {0.0, 0.00} // (mm) relative Z-offset for each nozzle
|
|
|
|
|
|
|
|
|
|
|
|
// @section machine
|
|
|
|
|
|
|
|
/**
|
|
|
@ -312,12 +311,12 @@ |
|
|
|
* |
|
|
|
* :{ '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" } |
|
|
|
*/ |
|
|
|
#define TEMP_SENSOR_0 11 |
|
|
|
#define TEMP_SENSOR_0 5 |
|
|
|
#define TEMP_SENSOR_1 0 |
|
|
|
#define TEMP_SENSOR_2 0 |
|
|
|
#define TEMP_SENSOR_3 0 |
|
|
|
#define TEMP_SENSOR_4 0 |
|
|
|
#define TEMP_SENSOR_BED 11 |
|
|
|
#define TEMP_SENSOR_BED 5 |
|
|
|
#define TEMP_SENSOR_CHAMBER 0 |
|
|
|
|
|
|
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
|
|
@ -352,12 +351,12 @@ |
|
|
|
// When temperature exceeds max temp, your heater will be switched off.
|
|
|
|
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
|
|
|
|
// You should use MINTEMP for thermistor short/failure protection.
|
|
|
|
#define HEATER_0_MAXTEMP 250 |
|
|
|
#define HEATER_0_MAXTEMP 275 |
|
|
|
#define HEATER_1_MAXTEMP 275 |
|
|
|
#define HEATER_2_MAXTEMP 275 |
|
|
|
#define HEATER_3_MAXTEMP 275 |
|
|
|
#define HEATER_4_MAXTEMP 275 |
|
|
|
#define BED_MAXTEMP 130 |
|
|
|
#define BED_MAXTEMP 150 |
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//============================= PID Settings ================================
|
|
|
@ -382,9 +381,9 @@ |
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
|
|
|
|
// Ultimaker
|
|
|
|
//#define DEFAULT_Kp 22.2
|
|
|
|
//#define DEFAULT_Ki 1.08
|
|
|
|
//#define DEFAULT_Kd 114
|
|
|
|
#define DEFAULT_Kp 22.2 |
|
|
|
#define DEFAULT_Ki 1.08 |
|
|
|
#define DEFAULT_Kd 114 |
|
|
|
|
|
|
|
// MakerGear
|
|
|
|
//#define DEFAULT_Kp 7.0
|
|
|
@ -396,11 +395,6 @@ |
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
|
|
|
|
// Default A2
|
|
|
|
#define DEFAULT_Kp 22.2 |
|
|
|
#define DEFAULT_Ki 1.08 |
|
|
|
#define DEFAULT_Kd 114 |
|
|
|
|
|
|
|
#endif // PIDTEMP
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
@ -438,9 +432,9 @@ |
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
//#define DEFAULT_bedKp 10.00
|
|
|
|
//#define DEFAULT_bedKi .023
|
|
|
|
//#define DEFAULT_bedKd 305.4
|
|
|
|
#define DEFAULT_bedKp 10.00 |
|
|
|
#define DEFAULT_bedKi .023 |
|
|
|
#define DEFAULT_bedKd 305.4 |
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//from pidautotune
|
|
|
@ -448,12 +442,6 @@ |
|
|
|
//#define DEFAULT_bedKi 1.41
|
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
|
|
|
|
|
// ANET A2
|
|
|
|
// original Bed + 0.3mm Heat conducting into 4mm borosilicate (PID-Autotune: M303 E-1 S60 C5):
|
|
|
|
#define DEFAULT_bedKp 295.00 |
|
|
|
#define DEFAULT_bedKi 35.65 |
|
|
|
#define DEFAULT_bedKd 610.21 |
|
|
|
|
|
|
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
#endif // PIDTEMPBED
|
|
|
|
|
|
|
@ -554,9 +542,9 @@ |
|
|
|
#endif |
|
|
|
|
|
|
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
|
|
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
|
|
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
|
|
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
|
|
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
|
|
@ -634,25 +622,14 @@ |
|
|
|
* Override with M92 |
|
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
|
*/ |
|
|
|
//#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }
|
|
|
|
|
|
|
|
// ANET A2 Firmwae V2.0 defaults: (steps/mm)
|
|
|
|
// Xsteps/mm: +100.0, Ysteps/mm: +100.0, Zsteps/mm: +0400.0, eSteps/mm: +0095.0
|
|
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT {100, 100, 400, 95} |
|
|
|
//#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 400, 95}
|
|
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT {100, 100, 400, 95 } |
|
|
|
|
|
|
|
/**
|
|
|
|
* Default Max Feed Rate (mm/s) |
|
|
|
* Override with M203 |
|
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
|
*/ |
|
|
|
//#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
|
|
|
|
|
|
|
// ANET A2 Firmware V2.0 defaults (Vmax):
|
|
|
|
// Vmax x: 400, Vmax y: 400, Vmax z: 4, Vmax e: 25
|
|
|
|
#define DEFAULT_MAX_FEEDRATE {400, 400, 4, 25} |
|
|
|
//#define DEFAULT_MAX_FEEDRATE {400, 400, 20, 50}
|
|
|
|
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } |
|
|
|
|
|
|
|
/**
|
|
|
|
* Default Max Acceleration (change/s) change = mm/s |
|
|
@ -660,12 +637,7 @@ |
|
|
|
* Override with M201 |
|
|
|
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] |
|
|
|
*/ |
|
|
|
//#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
|
|
|
|
|
|
// ANET A2 Firmware V2.0 defaults (Amax):
|
|
|
|
// Amx x: 9000, Amax Y: 5000, Amax z: 50, Amax e: 10000
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 9000, 5000, 50, 10000 } |
|
|
|
//#define DEFAULT_MAX_ACCELERATION { 10000, 10000, 200, 10000 }
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 } |
|
|
|
|
|
|
|
/**
|
|
|
|
* Default Acceleration (change/s) change = mm/s |
|
|
@ -675,19 +647,9 @@ |
|
|
|
* M204 R Retract Acceleration |
|
|
|
* M204 T Travel Acceleration |
|
|
|
*/ |
|
|
|
//#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
|
|
|
//#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
|
|
|
//#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
|
|
|
|
// ANET A2 Firmware V2.0 defaults:
|
|
|
|
// Accel: 1000 A-retract: 1000
|
|
|
|
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
//#define DEFAULT_ACCELERATION 2000 // X, Y, Z and E acceleration for printing moves
|
|
|
|
//#define DEFAULT_RETRACT_ACCELERATION 2000 // E acceleration for retracts
|
|
|
|
//#define DEFAULT_TRAVEL_ACCELERATION 4000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
|
|
|
|
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Default Jerk (mm/s) |
|
|
@ -697,12 +659,10 @@ |
|
|
|
* When changing speed and direction, if the difference is less than the |
|
|
|
* value set here, it may happen instantaneously. |
|
|
|
*/ |
|
|
|
// ANET A2 Firmware V2.0 defaults (jerk):
|
|
|
|
// Vxy-jerk: 20, Vz-jerk: +000.30, Ve-jerk: 10
|
|
|
|
#define DEFAULT_XJERK 20.0 |
|
|
|
#define DEFAULT_YJERK 20.0 |
|
|
|
#define DEFAULT_XJERK 10.0 |
|
|
|
#define DEFAULT_YJERK 10.0 |
|
|
|
#define DEFAULT_ZJERK 0.3 |
|
|
|
#define DEFAULT_EJERK 10.0 |
|
|
|
#define DEFAULT_EJERK 5.0 |
|
|
|
|
|
|
|
/**
|
|
|
|
* S-Curve Acceleration |
|
|
@ -728,7 +688,7 @@ |
|
|
|
* |
|
|
|
* Enable this option for a probe connected to the Z Min endstop pin. |
|
|
|
*/ |
|
|
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN |
|
|
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Z_MIN_PROBE_ENDSTOP |
|
|
@ -763,7 +723,7 @@ |
|
|
|
* Use G29 repeatedly, adjusting the Z height at each point with movement commands |
|
|
|
* or (with LCD_BED_LEVELING) the LCD controller. |
|
|
|
*/ |
|
|
|
#define PROBE_MANUALLY |
|
|
|
//#define PROBE_MANUALLY
|
|
|
|
//#define MANUAL_PROBE_START_Z 0.2
|
|
|
|
|
|
|
|
/**
|
|
|
@ -793,11 +753,11 @@ |
|
|
|
* These options are most useful for the BLTouch probe, but may also improve |
|
|
|
* readings with inductive probes and piezo sensors. |
|
|
|
*/ |
|
|
|
#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
|
|
|
//#define PROBING_HEATERS_OFF // Turn heaters off when probing
|
|
|
|
#if ENABLED(PROBING_HEATERS_OFF) |
|
|
|
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
|
|
|
|
#endif |
|
|
|
#define PROBING_FANS_OFF // Turn fans off when probing
|
|
|
|
//#define PROBING_FANS_OFF // Turn fans off when probing
|
|
|
|
//#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
|
|
|
|
|
|
|
|
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
|
|
|
@ -834,28 +794,22 @@ |
|
|
|
//#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 // Y offset: -front +behind [the nozzle]
|
|
|
|
//#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
|
|
|
|
|
|
|
//ANET A2 with BLTouch/3D-Touch mounted right to the nozzle
|
|
|
|
#define X_PROBE_OFFSET_FROM_EXTRUDER 39 // X offset: -left +right [of the nozzle]
|
|
|
|
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front +behind [the nozzle]
|
|
|
|
#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]
|
|
|
|
|
|
|
|
// Certain types of probes need to stay away from edges
|
|
|
|
#define MIN_PROBE_EDGE 10 |
|
|
|
//#define MIN_PROBE_EDGE 10
|
|
|
|
|
|
|
|
// X and Y axis travel speed (mm/m) between probes
|
|
|
|
#define XY_PROBE_SPEED 8000 |
|
|
|
//#define XY_PROBE_SPEED 6000
|
|
|
|
//#define XY_PROBE_SPEED 8000
|
|
|
|
|
|
|
|
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
|
|
|
#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z |
|
|
|
//#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
|
|
|
|
|
|
|
|
// Feedrate (mm/m) for the "accurate" probe of each point
|
|
|
|
#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 3) |
|
|
|
//#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
|
|
|
|
|
|
|
|
// The number of probes to perform at each point.
|
|
|
|
// Set to 2 for a fast/slow probe, using the second probe result.
|
|
|
|
// Set to 3 or more for slow probes, averaging the results.
|
|
|
|
#define MULTIPLE_PROBING 2 |
|
|
|
//#define MULTIPLE_PROBING 2
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Z probes require clearance when deploying, stowing, and moving between |
|
|
@ -871,17 +825,10 @@ |
|
|
|
* Example: `M851 Z-5` with a CLEARANCE of 4 => 9mm from bed to nozzle. |
|
|
|
* But: `M851 Z+1` with a CLEARANCE of 2 => 2mm from bed to nozzle. |
|
|
|
*/ |
|
|
|
#if 1 // 0 for less clearance
|
|
|
|
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
|
|
|
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
|
|
|
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
|
|
|
//#define Z_AFTER_PROBING 5 // Z position after probing is done
|
|
|
|
#else |
|
|
|
#define Z_CLEARANCE_DEPLOY_PROBE 5 // Z Clearance for Deploy/Stow
|
|
|
|
#define Z_CLEARANCE_BETWEEN_PROBES 3 // Z Clearance between probe points
|
|
|
|
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
|
|
|
//#define Z_AFTER_PROBING 3 // Z position after probing is done
|
|
|
|
#endif |
|
|
|
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
|
|
|
|
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
|
|
|
|
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
|
|
|
|
//#define Z_AFTER_PROBING 5 // Z position after probing is done
|
|
|
|
|
|
|
|
#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
|
|
|
|
|
|
|
@ -915,17 +862,14 @@ |
|
|
|
// @section machine
|
|
|
|
|
|
|
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
|
|
|
#define INVERT_X_DIR false |
|
|
|
//#define INVERT_Y_DIR true
|
|
|
|
//#define INVERT_Z_DIR false
|
|
|
|
//ANET A2:
|
|
|
|
#define INVERT_Y_DIR true |
|
|
|
#define INVERT_Z_DIR false |
|
|
|
#define INVERT_X_DIR true |
|
|
|
#define INVERT_Y_DIR false |
|
|
|
#define INVERT_Z_DIR true |
|
|
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
|
#define INVERT_E0_DIR false |
|
|
|
#define INVERT_E0_DIR true |
|
|
|
#define INVERT_E1_DIR false |
|
|
|
#define INVERT_E2_DIR false |
|
|
|
#define INVERT_E3_DIR false |
|
|
@ -949,36 +893,16 @@ |
|
|
|
// @section machine
|
|
|
|
|
|
|
|
// The size of the print bed
|
|
|
|
//#define X_BED_SIZE 200
|
|
|
|
//#define Y_BED_SIZE 200
|
|
|
|
#define X_BED_SIZE 220 |
|
|
|
#define Y_BED_SIZE 270 |
|
|
|
|
|
|
|
// Travel limits (mm) after homing, corresponding to endstop positions.
|
|
|
|
//#define X_MIN_POS 0
|
|
|
|
//#define Y_MIN_POS 0
|
|
|
|
//#define X_MAX_POS X_BED_SIZE
|
|
|
|
//#define Y_MAX_POS Y_BED_SIZE
|
|
|
|
//#define Z_MIN_POS 0
|
|
|
|
//#define Z_MAX_POS 200
|
|
|
|
|
|
|
|
// ANET A2 Firmware V2.0 defaults:
|
|
|
|
//#define X_BED_SIZE 220
|
|
|
|
//#define Y_BED_SIZE 270
|
|
|
|
//#define X_MIN_POS 0
|
|
|
|
//#define Y_MIN_POS 0
|
|
|
|
//#define Z_MIN_POS 0
|
|
|
|
//#define Z_MAX_POS 220
|
|
|
|
|
|
|
|
// ANET A2 with glass bed clamps and safety margin, X0/Y0 0 front left bed edge:
|
|
|
|
#define X_BED_SIZE 190 |
|
|
|
#define Y_BED_SIZE 250 |
|
|
|
#define X_MIN_POS -7 |
|
|
|
#define Y_MIN_POS -5 |
|
|
|
#define X_MIN_POS 0 |
|
|
|
#define Y_MIN_POS 0 |
|
|
|
#define Z_MIN_POS 0 |
|
|
|
#define Z_MAX_POS 180 |
|
|
|
|
|
|
|
|
|
|
|
#define X_MAX_POS X_BED_SIZE |
|
|
|
#define Y_MAX_POS Y_BED_SIZE |
|
|
|
#define Z_MAX_POS 200 |
|
|
|
|
|
|
|
/**
|
|
|
|
* Software Endstops |
|
|
@ -1068,13 +992,13 @@ |
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
|
#define MESH_BED_LEVELING |
|
|
|
//#define MESH_BED_LEVELING
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Normally G28 leaves leveling disabled on completion. Enable |
|
|
|
* this option to have G28 restore the prior leveling state. |
|
|
|
*/ |
|
|
|
#define RESTORE_LEVELING_AFTER_G28 |
|
|
|
//#define RESTORE_LEVELING_AFTER_G28
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable detailed logging of G28, G29, M48, etc. |
|
|
@ -1111,14 +1035,14 @@ |
|
|
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
|
|
|
|
|
// Set the number of grid points per dimension.
|
|
|
|
#define GRID_MAX_POINTS_X 4 |
|
|
|
#define GRID_MAX_POINTS_X 3 |
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
|
|
|
|
|
// Set the boundaries for probing (where the probe can reach).
|
|
|
|
//#define LEFT_PROBE_BED_POSITION 15
|
|
|
|
//#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - 15)
|
|
|
|
//#define FRONT_PROBE_BED_POSITION 15
|
|
|
|
//#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - 15)
|
|
|
|
//#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
|
|
|
|
//#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
|
|
|
|
//#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
|
|
|
|
//#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
|
|
|
|
|
|
|
|
// Probe along the Y axis, advancing X after each column
|
|
|
|
//#define PROBE_Y_FIRST
|
|
|
@ -1166,10 +1090,10 @@ |
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
#define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed
|
|
|
|
#define GRID_MAX_POINTS_X 5 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
#define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X |
|
|
|
|
|
|
|
#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
|
|
|
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
|
|
|
|
|
|
|
#endif // BED_LEVELING
|
|
|
|
|
|
|
@ -1190,7 +1114,7 @@ |
|
|
|
* Add a bed leveling sub-menu for ABL or MBL. |
|
|
|
* Include a guided procedure if manual probing is enabled. |
|
|
|
*/ |
|
|
|
#define LCD_BED_LEVELING |
|
|
|
//#define LCD_BED_LEVELING
|
|
|
|
|
|
|
|
#if ENABLED(LCD_BED_LEVELING) |
|
|
|
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
|
|
|
@ -1232,7 +1156,7 @@ |
|
|
|
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
|
|
|
|
// - Prevent Z homing when the Z probe is outside bed area.
|
|
|
|
//
|
|
|
|
#define Z_SAFE_HOMING |
|
|
|
//#define Z_SAFE_HOMING
|
|
|
|
|
|
|
|
#if ENABLED(Z_SAFE_HOMING) |
|
|
|
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
|
|
|
@ -1314,7 +1238,7 @@ |
|
|
|
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
|
|
|
|
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
|
|
|
//
|
|
|
|
#define EEPROM_SETTINGS // Enable for M500 and M501 commands
|
|
|
|
#define EEPROM_SETTINGS // Enable for M500 and M501 commands
|
|
|
|
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
|
|
|
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
|
|
|
|
|
|
@ -1348,11 +1272,11 @@ |
|
|
|
// Preheat Constants
|
|
|
|
#define PREHEAT_1_TEMP_HOTEND 200 |
|
|
|
#define PREHEAT_1_TEMP_BED 60 |
|
|
|
#define PREHEAT_1_FAN_SPEED 0 // ANET A2 default is 255
|
|
|
|
#define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
#define PREHEAT_2_TEMP_HOTEND 240 |
|
|
|
#define PREHEAT_2_TEMP_BED 80 |
|
|
|
#define PREHEAT_2_FAN_SPEED 0 // ANET A2 default is 255
|
|
|
|
#define PREHEAT_2_TEMP_HOTEND 230 |
|
|
|
#define PREHEAT_2_TEMP_BED 100 |
|
|
|
#define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Nozzle Park |
|
|
@ -1365,7 +1289,7 @@ |
|
|
|
* P1 Raise the nozzle always to Z-park height. |
|
|
|
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS. |
|
|
|
*/ |
|
|
|
#define NOZZLE_PARK_FEATURE |
|
|
|
//#define NOZZLE_PARK_FEATURE
|
|
|
|
|
|
|
|
#if ENABLED(NOZZLE_PARK_FEATURE) |
|
|
|
// Specify a park position as { X, Y, Z }
|
|
|
@ -1465,7 +1389,7 @@ |
|
|
|
* |
|
|
|
* View the current statistics with M78. |
|
|
|
*/ |
|
|
|
#define PRINTCOUNTER |
|
|
|
//#define PRINTCOUNTER
|
|
|
|
|
|
|
|
//=============================================================================
|
|
|
|
//============================= LCD and SD support ============================
|
|
|
@ -1588,7 +1512,7 @@ |
|
|
|
//
|
|
|
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
|
|
|
//
|
|
|
|
#define INDIVIDUAL_AXIS_HOMING_MENU |
|
|
|
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
|
|
|
|
|
|
|
//
|
|
|
|
// SPEAKER/BUZZER
|
|
|
@ -1848,7 +1772,7 @@ |
|
|
|
//
|
|
|
|
// ANET and Tronxy Graphical Controller
|
|
|
|
//
|
|
|
|
#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
|
|
|
|
#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6
|
|
|
|
// A clone of the RepRapDiscount full graphics display but with
|
|
|
|
// different pins/wiring (see pins_ANET_10.h).
|
|
|
|
|
|
|
|