Settings

 

PID Autotune

 

Hotend: M303 E0 S200 C8

 

Bed: M303 E-1 S60 C8

 


 

Would be very easy to add this. Because, for example, auto-home is:
MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
So, adding:
MENU_ITEM(gcode, "Home X/Y", PSTR("G28 X0 Y0"));
Would add the command you want :-)

 

I still need to fix the "multiple GCode commands" option, as the cooldown option:
MENU_ITEM(gcode, MSG_COOLDOWN, PSTR("M104 S0\nM140 S0"));
Only cools down the hotend, and not the heated bed. So the M140 S0 doesn't get executed.

 


 

X Y Origin offset

 

G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
M107       ;start with the fan off
G28 X0 Y0  ;move X/Y to min endstops
G28 Z0     ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G1 X40 Y32              ; Move to print origin
G92 X0 Y0 Z15.0         ; Set this coordinate to 0,0,15
G92 E0                  ;zero the extruded length
G1 F200 E3              ;extrude 3mm of feed stock
G92 E0                  ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...

 


 

3DTouch Sensor (BLTOUCH) Add to LCD menu

 


    MENU_ITEM(gcode, MSG_DISABLE_STEPPERS, PSTR("M84"));
    MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
    MENU_ITEM(gcode, "Reset 3DTOUCH",PSTR("M280 P0 S160"));
    //MENU_ITEM(gcode, "TEST 3DTOUCH",PSTR("M280 P0 S120"));
    MENU_ITEM(gcode, "Test Down 3DTOUCH",PSTR("M280 P0 S10"));
    MENU_ITEM(gcode, "Test Up 3DTOUCH",PSTR("M280 P0 S90"));
    MENU_ITEM(function, MSG_SET_HOME_OFFSETS, lcd_set_home_offsets);
    //MENU_ITEM(gcode, MSG_SET_ORIGIN, PSTR("G92 X0 Y0 Z0"));

 

Note: //MENU_ITEM(gcode, "TEST 3DTOUCH",PSTR("M280 P0 S120")); is just a constant up and down rutine.

 


 

Adding home x to the LCD is easy. All you need to do is find the following in ultralcd.cpp

 

MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));

 

Then add this after

 

MENU_ITEM(gcode, "Auto Home X", PSTR("G28 X0"));

 


 

Wilson II
Ultralcd.ccp
From Line 763
static void lcd_move_menu()
{
    START_MENU();
    MENU_ITEM(back, MSG_PREPARE, lcd_prepare_menu);
    MENU_ITEM(submenu, MSG_MOVE_10MM, lcd_move_menu_10mm);
    MENU_ITEM(submenu, MSG_MOVE_1MM, lcd_move_menu_1mm);
    MENU_ITEM(submenu, MSG_MOVE_01MM, lcd_move_menu_01mm);
    //TODO:X,Y,Z,E

 


 // the movement jogging from the lcd seems horribly inaccurate, so for testing
    // I would like to have these movements easy to go to:
    //#ifdef MOVE_MENU_PRECISE_MOVE_ITEMS
    MENU_ITEM(gcode, "Go to X=150",PSTR("G1 X150"));
    MENU_ITEM(gcode, "Go to X=20",PSTR("G1 X20"));
    MENU_ITEM(gcode, "Go to Y=150",PSTR("G1 Y150"));
    MENU_ITEM(gcode, "Go to Y=0",PSTR("G1 Y0"));
    MENU_ITEM(gcode, "Go to Z=150",PSTR("G1 Z150"));
    MENU_ITEM(gcode, "Go to Z=1",PSTR("G1 Z1"));
    //#endif

 


    END_MENU();
}

 


 

EEPROM functions are disabled by default. The good news is that it is quite simple to activate them. Simply open up your Configuration.h file, and look for this section, which is going to be very near the “Additional Features” heading:

 

 

// EEPROM
// The microcontroller can store settings in the EEPROM, e.g. max velocity...
// M500 - stores parameters in EEPROM
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
//define this to enable EEPROM support
//#define EEPROM_SETTINGS
//to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
// please keep turned on if you can.
//#define EEPROM_CHITCHAT

 

Now, simply find these two lines:

 

 

//#define EEPROM_SETTINGS
//#define EEPROM_CHITCHAT

 

And make them look like this:

 

 

  1. define EEPROM_SETTINGS
  2. define EEPROM_CHITCHAT