Skip to content

Commit

Permalink
Increase compatibility with some extruder/probe combinations
Browse files Browse the repository at this point in the history
Use the new PROBE_OFFSET_ limits
  • Loading branch information
mriscoc committed Oct 27, 2024
1 parent 78c615a commit 4f65c63
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,10 @@
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping

// For M851 provide ranges for adjusting the X, Y, and Z probe offsets
//#define PROBE_OFFSET_XMIN -50 // (mm)
//#define PROBE_OFFSET_XMAX 50 // (mm)
//#define PROBE_OFFSET_YMIN -50 // (mm)
//#define PROBE_OFFSET_YMAX 50 // (mm)
#define PROBE_OFFSET_XMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_XMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
//#define PROBE_OFFSET_ZMIN -20 // (mm)
//#define PROBE_OFFSET_ZMAX 20 // (mm)

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/lcd/e3v2/proui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2287,9 +2287,9 @@ void applyMove() {
#endif

#if HAS_BED_PROBE
void setProbeOffsetX() { setPFloatOnClick(-60, 60, UNITFDIGITS, TERN(PROUI_EX, proUIEx.applyPhySet, nullptr)); }
void setProbeOffsetY() { setPFloatOnClick(-60, 60, UNITFDIGITS, TERN(PROUI_EX, proUIEx.applyPhySet, nullptr)); }
void setProbeOffsetZ() { setPFloatOnClick(-10, 10, 2); }
void setProbeOffsetX() { setPFloatOnClick(PROBE_OFFSET_XMIN, PROBE_OFFSET_XMAX, UNITFDIGITS, TERN(PROUI_EX, proUIEx.applyPhySet, nullptr)); }
void setProbeOffsetY() { setPFloatOnClick(PROBE_OFFSET_YMIN, PROBE_OFFSET_YMAX, UNITFDIGITS, TERN(PROUI_EX, proUIEx.applyPhySet, nullptr)); }
void setProbeOffsetZ() { setPFloatOnClick(PROBE_OFFSET_ZMIN, PROBE_OFFSET_ZMAX, 2); }

#if PROUI_EX
void setProbeZSpeed() { setPIntOnClick(60, Z_PROBE_FEEDRATE_FAST); }
Expand Down
8 changes: 4 additions & 4 deletions configurations/Ender3S1-F1/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,10 @@
#define Z_PROBE_LOW_POINT -3 // (mm) Farthest distance below the trigger-point to go before stopping // MRiscoC allows reach lower points

// For M851 provide ranges for adjusting the X, Y, and Z probe offsets
//#define PROBE_OFFSET_XMIN -50 // (mm)
//#define PROBE_OFFSET_XMAX 50 // (mm)
//#define PROBE_OFFSET_YMIN -50 // (mm)
//#define PROBE_OFFSET_YMAX 50 // (mm)
#define PROBE_OFFSET_XMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_XMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
//#define PROBE_OFFSET_ZMIN -20 // (mm)
//#define PROBE_OFFSET_ZMAX 20 // (mm)

Expand Down
8 changes: 4 additions & 4 deletions configurations/Ender3S1-F4/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,10 @@
#define Z_PROBE_LOW_POINT -3 // (mm) Farthest distance below the trigger-point to go before stopping // MRiscoC allows reach lower points

// For M851 provide ranges for adjusting the X, Y, and Z probe offsets
//#define PROBE_OFFSET_XMIN -50 // (mm)
//#define PROBE_OFFSET_XMAX 50 // (mm)
//#define PROBE_OFFSET_YMIN -50 // (mm)
//#define PROBE_OFFSET_YMAX 50 // (mm)
#define PROBE_OFFSET_XMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_XMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
//#define PROBE_OFFSET_ZMIN -20 // (mm)
//#define PROBE_OFFSET_ZMAX 20 // (mm)

Expand Down
2 changes: 1 addition & 1 deletion configurations/Ender3S1-F4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@
*
* :['SPI_HALF_SPEED', 'SPI_QUARTER_SPEED', 'SPI_EIGHTH_SPEED']
*/
//#define SD_SPI_SPEED SPI_HALF_SPEED
#define SD_SPI_SPEED SPI_HALF_SPEED

// The standard SD detect circuit reads LOW when media is inserted and HIGH when empty.
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
Expand Down
8 changes: 4 additions & 4 deletions configurations/Ender3V2-422-BLT/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,10 @@
#define Z_PROBE_LOW_POINT -3 // (mm) Farthest distance below the trigger-point to go before stopping // MRiscoC allows reach lower points

// For M851 provide ranges for adjusting the X, Y, and Z probe offsets
//#define PROBE_OFFSET_XMIN -50 // (mm)
//#define PROBE_OFFSET_XMAX 50 // (mm)
//#define PROBE_OFFSET_YMIN -50 // (mm)
//#define PROBE_OFFSET_YMAX 50 // (mm)
#define PROBE_OFFSET_XMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_XMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
//#define PROBE_OFFSET_ZMIN -20 // (mm)
//#define PROBE_OFFSET_ZMAX 20 // (mm)

Expand Down
10 changes: 5 additions & 5 deletions configurations/Ender3V2-422-MM/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@
* The probe replaces the Z-MIN endstop and is used for Z homing.
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
*/
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN // Manual mesh not have a probe

// Force the use of the probe for Z-axis homing
//#define USE_PROBE_FOR_Z_HOMING // Manual mesh not have a probe
Expand Down Expand Up @@ -1667,10 +1667,10 @@
#define Z_PROBE_LOW_POINT -2 // (mm) Farthest distance below the trigger-point to go before stopping

// For M851 provide ranges for adjusting the X, Y, and Z probe offsets
//#define PROBE_OFFSET_XMIN -50 // (mm)
//#define PROBE_OFFSET_XMAX 50 // (mm)
//#define PROBE_OFFSET_YMIN -50 // (mm)
//#define PROBE_OFFSET_YMAX 50 // (mm)
#define PROBE_OFFSET_XMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_XMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMIN -100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
#define PROBE_OFFSET_YMAX 100 // (mm) // MRiscoC increase compatibility with some extruder/probe combinations
//#define PROBE_OFFSET_ZMIN -20 // (mm)
//#define PROBE_OFFSET_ZMAX 20 // (mm)

Expand Down

0 comments on commit 4f65c63

Please sign in to comment.