Edited [Kossel Mini] ABL not working on Marlin1.1.0RC2 probing out of printbed October 28, 2015 08:44AM |
Registered: 9 years ago Posts: 21 |
#define X_MIN_PIN -1 (...) #define Y_MIN_PIN -1
>>> G29 SENDING:G29 G29 Auto Bed Leveling ?Probe (F)ront position out of range.
configuration.h: #define DELTA #if ENABLED(DELTA) // Make delta curves from many straight lines (linear interpolation). // This is a trade-off between visible corners (not enough segments) // and processor overload (too many expensive sqrt calls). #define DELTA_SEGMENTS_PER_SECOND 200 // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them // Center-to-center distance of the holes in the diagonal push rods. #define DELTA_DIAGONAL_ROD 214.0 // mm // Horizontal offset from middle of printer to smooth rod center. #define DELTA_SMOOTH_ROD_OFFSET 145.0 // mm // Horizontal offset of the universal joints on the end effector. #define DELTA_EFFECTOR_OFFSET 19.9 // mm // Horizontal offset of the universal joints on the carriages. #define DELTA_CARRIAGE_OFFSET 19.5 // mm // Horizontal distance bridged by diagonal push rods when effector is centered. #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET) // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers). #define DELTA_PRINTABLE_RADIUS 95 #endif const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //#define DISABLE_MAX_ENDSTOPS //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing. //=========================================================================== //============================ Bed Auto Leveling ============================ //=========================================================================== // @section bedlevel #define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line) //#define DEBUG_LEVELING_FEATURE //#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled. #if ENABLED(AUTO_BED_LEVELING_FEATURE) // There are 2 different ways to specify probing locations: // // - "grid" mode // Probe several points in a rectangular grid. // You specify the rectangle and the density of sample points. // This mode is preferred because there are more measurements. // // - "3-point" mode // Probe 3 arbitrary points on the bed (that aren't colinear) // You specify the XY coordinates of all 3 points. // Enable this to sample the bed in a grid (least squares solution). // Note: this feature generates 10KB extra code size. #define AUTO_BED_LEVELING_GRID // Deltas only support grid mode. #if ENABLED(AUTO_BED_LEVELING_GRID) // set the rectangle in which to probe #define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS - 10) #define LEFT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS #define RIGHT_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS #define FRONT_PROBE_BED_POSITION -DELTA_PROBABLE_RADIUS #define BACK_PROBE_BED_POSITION DELTA_PROBABLE_RADIUS //#define DELTA_PROBABLE_RADIUS (DELTA_PRINTABLE_RADIUS-20) //MR: Changed from (DELTA_PRINTABLE_RADIUS-10) //#define LEFT_PROBE_BED_POSITION (10-DELTA_PROBABLE_RADIUS) //MR: Changed from -DELTA_PROBABLE_RADIUS //#define RIGHT_PROBE_BED_POSITION (DELTA_PROBABLE_RADIUS-10) //MR: Changed from DELTA_PROBABLE_RADIUS //#define BACK_PROBE_BED_POSITION (DELTA_PROBABLE_RADIUS-10) //MR: Changed from DELTA_PROBABLE_RADIUS //#define FRONT_PROBE_BED_POSITION (10-DELTA_PROBABLE_RADIUS) //MR: Changed from -DELTA_PROBABLE_RADIUS #define MIN_PROBE_EDGE 10 // The Z probe square sides can be no smaller than this. // Non-linear bed leveling will be used. // Compensate by interpolating between the nearest four Z probe values for each point. // Useful for deltas where the print surface may appear like a bowl or dome shape. // Works best with ACCURATE_BED_LEVELING_POINTS 5 or higher. #define AUTO_BED_LEVELING_GRID_POINTS 2 #else // !AUTO_BED_LEVELING_GRID // Arbitrary points to probe. // A simple cross-product is used to estimate the plane of the bed. /* #define ABL_PROBE_PT_1_X 15 #define ABL_PROBE_PT_1_Y 180 #define ABL_PROBE_PT_2_X 15 #define ABL_PROBE_PT_2_Y 20 #define ABL_PROBE_PT_3_X 170 #define ABL_PROBE_PT_3_Y 20 */ #define ABL_PROBE_PT_1_X 0 #define ABL_PROBE_PT_1_Y 70 #define ABL_PROBE_PT_2_X -60 #define ABL_PROBE_PT_2_Y -35 #define ABL_PROBE_PT_3_X 60 #define ABL_PROBE_PT_3_Y -35 #endif // AUTO_BED_LEVELING_GRID // Offsets to the Z probe relative to the nozzle tip. // X and Y offsets must be integers. #define X_PROBE_OFFSET_FROM_EXTRUDER 0.0 //MR: Changed from 3.5 #define Y_PROBE_OFFSET_FROM_EXTRUDER 16 //MR: Changed from 17 #define Z_PROBE_OFFSET_FROM_EXTRUDER -3.45 // Z probe to nozzle Z offset: -below (always!) #define Z_RAISE_BEFORE_HOMING 4 // (in mm) Raise Z axis before homing (G28) for Z probe clearance. // Be sure you have this distance over your Z_MAX_POS in case. #define XY_TRAVEL_SPEED 1000 // X and Y axis travel speed between probes, in mm/min. #define Z_RAISE_BEFORE_PROBING 15 // How much the Z axis will be raised before traveling to the first probing point. #define Z_RAISE_BETWEEN_PROBINGS 2 // How much the Z axis will be raised when traveling from between next probing points #define Z_RAISE_AFTER_PROBING 50 // How much the Z axis will be raised after the last probing point. //#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine. // Useful to retract a deployable Z probe. //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell. //#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. // Allen key retractable z-probe as seen on many Kossel delta printers - [reprap.org] // Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN. #define Z_PROBE_ALLEN_KEY #if ENABLED(Z_PROBE_ALLEN_KEY) // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29, // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe. // Kossel Mini #define Z_PROBE_ALLEN_KEY_DEPLOY_1_X 30.0 #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Y DELTA_PRINTABLE_RADIUS #define Z_PROBE_ALLEN_KEY_DEPLOY_1_Z 100.0 #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_TRAVEL_SPEED #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 5.0 // 0 #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0 #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_TRAVEL_SPEED/10) #define Z_PROBE_ALLEN_KEY_STOW_DEPTH 15 // Move the probe into position #define Z_PROBE_ALLEN_KEY_STOW_1_X -21 // -64 #define Z_PROBE_ALLEN_KEY_STOW_1_Y 93 // 56 #define Z_PROBE_ALLEN_KEY_STOW_1_Z 24 // 23 #define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_TRAVEL_SPEED // Move the nozzle down further to push the probe into retracted position. #define Z_PROBE_ALLEN_KEY_STOW_2_X Z_PROBE_ALLEN_KEY_STOW_1_X #define Z_PROBE_ALLEN_KEY_STOW_2_Y Z_PROBE_ALLEN_KEY_STOW_1_Y #define Z_PROBE_ALLEN_KEY_STOW_2_Z (Z_PROBE_ALLEN_KEY_STOW_1_Z-Z_PROBE_ALLEN_KEY_STOW_DEPTH) #define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_TRAVEL_SPEED/10) // Raise things back up slightly so we don't bump into anything #define Z_PROBE_ALLEN_KEY_STOW_3_X Z_PROBE_ALLEN_KEY_STOW_2_X #define Z_PROBE_ALLEN_KEY_STOW_3_Y Z_PROBE_ALLEN_KEY_STOW_2_Y #define Z_PROBE_ALLEN_KEY_STOW_3_Z (Z_PROBE_ALLEN_KEY_STOW_1_Z+Z_PROBE_ALLEN_KEY_STOW_DEPTH) #define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE (XY_TRAVEL_SPEED/2) #endif // If you have enabled the bed auto leveling and are using the same Z probe for Z homing, // it is highly recommended you let this Z_SAFE_HOMING enabled!!! #define Z_SAFE_HOMING // This feature is meant to avoid Z homing with Z probe outside the bed area. // When defined, it will: // - Allow Z homing only after X and Y homing AND stepper drivers still enabled. // - If stepper drivers timeout, it will need X and Y homing again before Z homing. // - Position the Z probe in a defined XY point before Z Homing when homing all axis (G28). // - Block Z homing only when the Z probe is outside bed area. #if ENABLED(Z_SAFE_HOMING) #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28). #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28). #endif // Support for a dedicated Z probe endstop separate from the Z min endstop. // If you would like to use both a Z probe and a Z min endstop together, // uncomment #define Z_MIN_PROBE_ENDSTOP and read the instructions below. // If you still want to use the Z min endstop for homing, disable Z_SAFE_HOMING above. // Example: To park the head outside the bed area when homing with G28. // // WARNING: // The Z min endstop will need to set properly as it would without a Z probe // to prevent head crashes and premature stopping during a print. // // To use a separate Z probe endstop, you must have a Z_MIN_PROBE_PIN // defined in the pins_XXXXX.h file for your control board. // If you are using a servo based Z probe, you will need to enable NUM_SERVOS, // Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES in the R/C SERVO support below. // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin // in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, // otherwise connect to ground and D32 for normally closed configuration // and 5V and D32 for normally open configurations. // Normally closed configuration is advised and assumed. // The D32 pin in Aux 4 on RAMPS maps to the Arduino D32 pin. // Z_MIN_PROBE_PIN is setting the pin to use on the Arduino. // Since the D32 pin on the RAMPS maps to D32 on Arduino, this works. // D32 is currently selected in the RAMPS 1.3/1.4 pin file. // All other boards will need changes to the respective pins_XXXXX.h file. // // WARNING: // Setting the wrong pin may have unexpected and potentially disastrous outcomes. // Use with caution and do your homework. // #define Z_MIN_PROBE_ENDSTOP #endif // AUTO_BED_LEVELING_FEATURE
Re: Edited [Kossel Mini] ABL not working on Marlin1.1.0RC2 probing out of printbed November 17, 2015 09:10AM |
Registered: 8 years ago Posts: 916 |
Re: Edited [Kossel Mini] ABL not working on Marlin1.1.0RC2 probing out of printbed November 17, 2015 09:37AM |
Registered: 8 years ago Posts: 916 |