Skip to content

Commit 89b4e0b

Browse files
committed
✨ Z_CLEARANCE_BLTOUCH_HS
MarlinFirmware/Marlin#25655
1 parent b3f7e34 commit 89b4e0b

File tree

310 files changed

+2791
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+2791
-621
lines changed

config/default/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 3 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/3DFabXYZ/Migbot/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/ADIMLab/Gantry v1/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/ADIMLab/Gantry v2/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Alfawise/U20-bltouch/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Alfawise/U20/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/AliExpress/UM2pExt/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A2/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A2plus/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A6/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A8/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A8plus/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/A9/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/E10/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/E16/BTT SKR 1.3/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

config/examples/Anet/E16/Stock/Configuration_adv.h

+9-2
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@
966966
*/
967967
//#define BLTOUCH_SET_5V_MODE
968968

969+
// Safety: Enable voltage mode settings in the LCD menu.
970+
//#define BLTOUCH_LCD_VOLTAGE_MENU
971+
969972
/**
970973
* Safety: Activate if connecting a probe with an unknown voltage mode.
971974
* V3.0: Set a probe into mode selected above at Marlin startup. Required for 5V mode on 3.0
@@ -984,8 +987,12 @@
984987
*/
985988
//#define BLTOUCH_HS_MODE true
986989

987-
// Safety: Enable voltage mode settings in the LCD menu.
988-
//#define BLTOUCH_LCD_VOLTAGE_MENU
990+
#if ENABLED(BLTOUCH_HS_MODE)
991+
// The probe Z offset (M851 Z) is the height at which the probe triggers.
992+
// This must be large enough to keep the probe pin off the bed and prevent
993+
// it from snagging on the bed clips.
994+
#define Z_CLEARANCE_BLTOUCH_HS 7 // Extra Z Clearance
995+
#endif
989996

990997
#endif // BLTOUCH
991998

0 commit comments

Comments
 (0)