Edit configurations to reduce verbosity, arrange logically
This commit is contained in:
		| @@ -518,77 +518,90 @@ | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  * @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * You must activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -624,69 +637,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -708,6 +658,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -726,7 +679,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -516,78 +516,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -623,70 +635,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -708,6 +656,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 1 | ||||
| @@ -726,7 +677,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -500,78 +500,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.3 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -607,70 +619,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -692,6 +640,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -710,7 +661,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -500,78 +500,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.3 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -607,70 +619,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -692,6 +640,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -710,7 +661,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -524,78 +524,90 @@ | ||||
| #define DEFAULT_EJERK                  4.0 | ||||
|  | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| #define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| #define Z_SERVO_ANGLES {40,85}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -630,69 +642,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -710,11 +659,12 @@ | ||||
| #define Z_CLEARANCE_DEPLOY_PROBE    3 // Z Clearance for Deploy/Stow | ||||
| #define Z_CLEARANCE_BETWEEN_PROBES  3 // Z Clearance between probe points | ||||
|  | ||||
|  | ||||
| // For M851 give a range for adjusting the Z probe offset | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| // For M851 give a range for adjusting the Z probe offset#define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -733,7 +683,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -508,78 +508,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -615,70 +627,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -700,6 +648,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -718,7 +669,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -511,78 +511,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  1.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| #define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -618,70 +630,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -703,6 +651,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -2 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX  0 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -721,7 +672,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -546,78 +546,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -653,70 +665,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -738,6 +686,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -756,7 +707,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -517,78 +517,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.5 | ||||
| #define DEFAULT_EJERK                 20.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -624,70 +636,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -709,6 +657,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -727,7 +678,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -517,78 +517,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.5 | ||||
| #define DEFAULT_EJERK                 20.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -624,70 +636,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -709,6 +657,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -727,7 +678,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -517,78 +517,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -624,70 +636,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -709,6 +657,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -727,7 +678,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -516,78 +516,90 @@ | ||||
| #define DEFAULT_ZJERK                 0.4 | ||||
| #define DEFAULT_EJERK                 5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -623,70 +635,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -708,6 +656,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -726,7 +677,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -532,78 +532,90 @@ | ||||
| #define DEFAULT_ZJERK                 0.4 | ||||
| #define DEFAULT_EJERK                 3.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -639,70 +651,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -724,6 +672,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -742,7 +693,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -537,78 +537,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                 10.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| #define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -644,70 +656,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -729,6 +677,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -747,7 +698,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -568,78 +568,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -675,70 +687,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -760,6 +708,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -778,7 +729,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -508,78 +508,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -615,70 +627,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -700,6 +648,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -718,7 +669,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -517,78 +517,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
|  //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -624,70 +636,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -709,6 +657,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -727,7 +678,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -591,78 +591,90 @@ | ||||
| #define DEFAULT_ZJERK                 DEFAULT_YJERK // Must be same as XY for delta | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled! | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| #define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -748,67 +760,6 @@ | ||||
|  | ||||
| #endif // Z_PROBE_ALLEN_KEY | ||||
|  | ||||
| /** | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled! | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -830,6 +781,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -848,7 +802,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -592,78 +592,90 @@ | ||||
| #define DEFAULT_ZJERK                 DEFAULT_YJERK // Must be same as XY for delta | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP  // A3K leave disabled! | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| #define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -749,67 +761,6 @@ | ||||
|  | ||||
| #endif // Z_PROBE_ALLEN_KEY | ||||
|  | ||||
| /** | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP // A3K leave disabled! | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -831,6 +782,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -849,7 +803,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -581,78 +581,90 @@ | ||||
| #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -735,68 +747,6 @@ | ||||
|  | ||||
| #endif // Z_PROBE_ALLEN_KEY | ||||
|  | ||||
| /** | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -818,6 +768,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -836,7 +789,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -581,71 +581,85 @@ | ||||
| #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -731,68 +745,6 @@ | ||||
|  | ||||
| #endif // Z_PROBE_ALLEN_KEY | ||||
|  | ||||
| /** | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -814,6 +766,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -832,7 +787,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -575,78 +575,90 @@ | ||||
| #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -738,68 +750,6 @@ | ||||
|  | ||||
| #endif // Z_PROBE_ALLEN_KEY | ||||
|  | ||||
| /** | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -822,6 +772,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -15 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX   5 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -840,7 +793,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -594,78 +594,90 @@ | ||||
| #define DEFAULT_ZJERK                 20.0 | ||||
| #define DEFAULT_EJERK                 20.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| #define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -802,13 +814,6 @@ | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| #define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -830,6 +835,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -848,7 +856,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -549,60 +549,42 @@ | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| #define BLTOUCH | ||||
| #define BLTOUCH_DELAY 500   // (ms) Enable and increase if needed | ||||
| #define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -638,69 +620,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -722,6 +641,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| #define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -740,7 +662,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -520,78 +520,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -627,70 +639,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -712,6 +660,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -730,7 +681,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -513,78 +513,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -620,70 +632,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -705,6 +653,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 1 | ||||
| @@ -723,7 +674,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
| @@ -522,78 +522,90 @@ | ||||
| #define DEFAULT_ZJERK                  0.4 | ||||
| #define DEFAULT_EJERK                  5.0 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
| //=========================================================================== | ||||
| // @section probes | ||||
|  | ||||
| // | ||||
| // See http://marlinfw.org/configuration/probes.html | ||||
| // | ||||
|  | ||||
| /** | ||||
|  * =========================================================================== | ||||
|  * ============================= Z Probe Options ============================= | ||||
|  * =========================================================================== | ||||
|  *    @section probes | ||||
|  * Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  * | ||||
|  * Enable this option for a probe connected to the Z Min endstop pin. | ||||
|  */ | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
| /** | ||||
|  * Z_MIN_PROBE_ENDSTOP | ||||
|  * | ||||
|  *   Probe Type | ||||
|  *   Probes are sensors/switches that are activated / deactivated before/after use. | ||||
|  * Enable this option for a probe connected to any pin except Z-Min. | ||||
|  * (By default Marlin assumes the Z-Max endstop pin.) | ||||
|  * To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below. | ||||
|  * | ||||
|  *   Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  *   You must activate one of these to use Auto Bed Leveling below. | ||||
|  *  - The simplest option is to use a free endstop connector. | ||||
|  *  - Use 5V for powered (usually inductive) sensors. | ||||
|  * | ||||
|  *   Use M851 to set the Z probe vertical offset from the nozzle. Store with M500. | ||||
|  *  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin: | ||||
|  *    - For simple switches connect... | ||||
|  *      - normally-closed switches to GND and D32. | ||||
|  *      - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  * WARNING: Setting the wrong pin may have unexpected and potentially | ||||
|  * disastrous consequences. Use with caution and do your homework. | ||||
|  * | ||||
|  */ | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| //#define Z_MIN_PROBE_PIN Z_MAX_PIN | ||||
|  | ||||
| /** | ||||
|  * Probe Type | ||||
|  * | ||||
|  * Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc. | ||||
|  * Activate one of these to use Auto Bed Leveling below. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  *   The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  *   Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  *   or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  * The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe. | ||||
|  * Use G29 repeatedly, adjusting the Z height at each point with movement commands | ||||
|  * or (with LCD_BED_LEVELING) the LCD controller. | ||||
|  */ | ||||
| //#define PROBE_MANUALLY | ||||
|  | ||||
| /** | ||||
|  *   A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   For example an inductive probe, or a setup that uses the nozzle to probe. | ||||
|  *   An inductive probe must be deactivated to go below | ||||
|  *   its trigger-point if hardware endstops are active. | ||||
|  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment. | ||||
|  *   (e.g., an inductive probe or a nozzle-based probe-switch.) | ||||
|  */ | ||||
| //#define FIX_MOUNTED_PROBE | ||||
|  | ||||
| /** | ||||
|  *   Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  *   NUM_SERVOS also needs to be set.  This is found later in this file.  Set it to | ||||
|  *   1 + the number of other servos in your system. | ||||
|  * Z Servo Probe, such as an endstop switch on a rotating arm. | ||||
|  */ | ||||
| //#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector. | ||||
| //#define Z_SERVO_ANGLES {70,0}  // Z Servo Deploy and Stow angles | ||||
|  | ||||
|  /** | ||||
|  *   The BLTouch probe emulates a servo probe. | ||||
|  *   If using a BLTouch then NUM_SERVOS, Z_ENDSTOP_SERVO_NR and Z_SERVO_ANGLES | ||||
|  *   are setup for you in the background and you shouldn't need to set/modify/enable them | ||||
|  *   with the possible exception of Z_ENDSTOP_SERVO_NR. | ||||
| /** | ||||
|  * The BLTouch probe is a Hall effect sensor that emulates a servo. | ||||
|  */ | ||||
| //#define BLTOUCH | ||||
| //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
| //#define BLTOUCH_HEATERS_OFF // if defined the printer's heaters are turned off during probe event | ||||
|  | ||||
| /** | ||||
|  *   BLTouch WARNING  -  ONLY APPLIES TO VERSIONS OF MARLIN BEFORE 15 FEB 2017 | ||||
|  *   Unless using interrupt endstops, there is a MINIMUM feedrate for Marlin to reliably | ||||
|  *   sense the BLTouch.  If the feedrate is too slow then G28 & G29 can sometimes result | ||||
|  *   in the print head being driven into the bed until manual intervention. | ||||
|  *   The minimum feedrate calculation is: | ||||
|  * | ||||
|  *     feedrate minimum =  24000 / DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  *        where feedrate is in "mm/minute" or "inches/minute" depending on the units used | ||||
|  *        in DEFAULT_AXIS_STEPS_PER_UNIT | ||||
|  * | ||||
|  *   This applies to the HOMING_FEEDRATE_Z and Z_PROBE_SPEED_FAST.  If PROBE_DOUBLE_TOUCH | ||||
|  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW. | ||||
|  */ | ||||
| #if ENABLED(BLTOUCH) | ||||
|   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed | ||||
|   //#define BLTOUCH_HEATERS_OFF // Enable if the probe seems unreliable. Heaters will be disabled for each probe. | ||||
| #endif | ||||
|  | ||||
| // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) | ||||
| //#define SOLENOID_PROBE | ||||
|  | ||||
| // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell. | ||||
| // A sled-mounted probe like those designed by Charles Bell. | ||||
| //#define Z_PROBE_SLED | ||||
| //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like. | ||||
|  | ||||
| // | ||||
| // For Z_PROBE_ALLEN_KEY see the Delta example configurations. | ||||
| // | ||||
|  | ||||
| /** | ||||
|  *   Z Probe to nozzle (X,Y) offset, relative to (0, 0). | ||||
|  *   X and Y offsets must be integers. | ||||
| @@ -629,70 +641,6 @@ | ||||
| // Use double touch for probing | ||||
| //#define PROBE_DOUBLE_TOUCH | ||||
|  | ||||
| /** | ||||
|  *   Allen Key Probe is defined in the Delta example configurations. | ||||
|  * | ||||
|  * | ||||
|  *   *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! *** | ||||
|  * | ||||
|  *   - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin. | ||||
|  *   - Use 5V for powered (usu. inductive) sensors. | ||||
|  *   - Otherwise connect: | ||||
|  *     - normally-closed switches to GND and D32. | ||||
|  *     - normally-open switches to 5V and D32. | ||||
|  * | ||||
|  *   Normally-closed switches are advised and are the default. | ||||
|  * | ||||
|  * | ||||
|  *   PIN OPTIONS\SETUP FOR Z PROBES | ||||
|  * | ||||
|  * | ||||
|  *   WARNING: | ||||
|  *   Setting the wrong pin may have unexpected and potentially disastrous consequences. | ||||
|  *   Use with caution and do your homework. | ||||
|  * | ||||
|  * | ||||
|  *   All Z PROBE pin options are configured by defining (or not defining) | ||||
|  *   the following five items: | ||||
|  *       Z_MIN_PROBE_ENDSTOP – defined below | ||||
|  *       Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN – defined below | ||||
|  *       Z_MIN_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  *       Z_MIN_PROBE_PIN - defined in the pins_YOUR_BOARD.h file | ||||
|  * | ||||
|  *   If you're using a probe then you need to tell Marlin which pin to use as | ||||
|  *   the Z MIN ENDSTOP.  Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN determines if the | ||||
|  *   Z_MIN_PIN or if the Z_MIN_PROBE_PIN is used. | ||||
|  * | ||||
|  *   The pin selected for the probe is ONLY checked during probing operations. | ||||
|  *   If you want to use the Z_MIN_PIN as an endstop AND you want to have a Z PROBE | ||||
|  *   then you’ll need to use the Z_MIN_PROBE_PIN option. | ||||
|  * | ||||
|  *   Z_MIN_PROBE_ENDSTOP also needs to be enabled if you want to use Z_MIN_PROBE_PIN. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PROBE_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. define Z_MIN_PROBE_PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. enable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTE – if Z_MIN_PIN is defined then it’ll be checked during all moves in the | ||||
|  *          negative Z direction. | ||||
|  * | ||||
|  *   The settings needed to use the Z_MIN_PIN are: | ||||
|  *       1. select the type of probe you're using | ||||
|  *       2. enable Z_MIN _PIN in your pins_YOUR_BOARD.h file | ||||
|  *       3. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  *       4. disable Z_MIN_PROBE_ENDSTOP | ||||
|  *   NOTES – if Z_MIN_PROBE_PIN is defined in the pins_YOUR_BOARD.h file then it’ll be | ||||
|  *          ignored by Marlin | ||||
|  */ | ||||
|  | ||||
| //#define Z_MIN_PROBE_ENDSTOP | ||||
| #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN | ||||
|  | ||||
|  | ||||
| // Enable Z Probe Repeatability test to see how accurate your probe is | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| /** | ||||
|  * Z probes require clearance when deploying, stowing, and moving between | ||||
|  * probe points to avoid hitting the bed and other hardware. | ||||
| @@ -714,6 +662,9 @@ | ||||
| #define Z_PROBE_OFFSET_RANGE_MIN -20 | ||||
| #define Z_PROBE_OFFSET_RANGE_MAX 20 | ||||
|  | ||||
| // Enable the M48 repeatability test to test probe accuracy | ||||
| //#define Z_MIN_PROBE_REPEATABILITY_TEST | ||||
|  | ||||
| // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 | ||||
| // :{ 0:'Low', 1:'High' } | ||||
| #define X_ENABLE_ON 0 | ||||
| @@ -732,7 +683,7 @@ | ||||
| // @section extruder | ||||
|  | ||||
| #define DISABLE_E false // For all extruders | ||||
| #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||||
| #define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled. | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user