Individual Axis Homing LCD menu items
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							a454a88f9c
						
					
				
				
					commit
					09150cae79
				
			@@ -870,6 +870,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -853,6 +853,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -851,6 +851,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -862,6 +862,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -864,6 +864,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -887,6 +887,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -870,6 +870,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -865,6 +865,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -878,6 +878,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -891,6 +891,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -862,6 +862,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -870,6 +870,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -999,6 +999,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -999,6 +999,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -1003,6 +1003,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -996,6 +996,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -1004,6 +1004,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -873,6 +873,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -864,6 +864,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
 | 
			
		||||
//
 | 
			
		||||
//#define REVERSE_MENU_DIRECTION
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Individual Axis Homing
 | 
			
		||||
//
 | 
			
		||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 | 
			
		||||
//
 | 
			
		||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// SPEAKER/BUZZER
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
@@ -64,6 +64,15 @@
 | 
			
		||||
#ifndef MSG_AUTO_HOME
 | 
			
		||||
  #define MSG_AUTO_HOME                       "Auto home"
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef MSG_AUTO_HOME_X
 | 
			
		||||
  #define MSG_AUTO_HOME_X                     "Home X"
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef MSG_AUTO_HOME_Y
 | 
			
		||||
  #define MSG_AUTO_HOME_Y                     "Home Y"
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef MSG_AUTO_HOME_Z
 | 
			
		||||
  #define MSG_AUTO_HOME_Z                     "Home Z"
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef MSG_LEVEL_BED_HOMING
 | 
			
		||||
  #define MSG_LEVEL_BED_HOMING                "Homing XYZ"
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
@@ -1093,6 +1093,11 @@ static void lcd_prepare_menu() {
 | 
			
		||||
  // Auto Home
 | 
			
		||||
  //
 | 
			
		||||
  MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
 | 
			
		||||
  #if ENABLED(INDIVIDUAL_AXIS_HOMING_MENU)
 | 
			
		||||
    MENU_ITEM(gcode, MSG_AUTO_HOME_X, PSTR("G28 X"));
 | 
			
		||||
    MENU_ITEM(gcode, MSG_AUTO_HOME_Y, PSTR("G28 Y"));
 | 
			
		||||
    MENU_ITEM(gcode, MSG_AUTO_HOME_Z, PSTR("G28 Z"));
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  //
 | 
			
		||||
  // Set Home Offsets
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user