Welcome! Log In Create A New Profile

Advanced

LCD Menu's Additions

Posted by RepRot 
LCD Menu's Additions
January 07, 2016 07:50PM
LCD Menu's Changes.
Description: .................. Allows more Custom Menus to be added for LCD Screen. See below examples.
Marlin Sketch: ................ultralcd.h
Line: ................................656 - Inserted below - MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
.........................................Or find a menu or submenu to place required new menu items.
Change added ................MENU_ITEM(gcode, "Auto Home X/Y", PSTR("G28 X0 Y0"));
........................................ MENU_ITEM(gcode, "Auto Home Z", PSTR("G28 Z0"));
.........................................MENU_ITEM(gcode, "Lower Heatbed", PSTR("G1 Z200));
.........................................MENU_ITEM(gcode, "Pause Print", PSTR("M600"));
.........................................MENU_ITEM(gcode, "Resume Print", PSTR("M24));
.........................................MENU_ITEM(gcode, "Turn On H/B Fan", PSTR("M42 P4 S255"));
.........................................MENU_ITEM(gcode, "Turn Off H/B Fan", PSTR("M42 P4 S0"));

Edited 1 time(s). Last edit at 01/07/2016 07:54PM by RepRot.
Re: LCD Menu's Additions
January 07, 2016 08:05PM
RepRot, are you suggesting these as changes to the main line code? At a minimum the wording would need to be changed. For example a lot (most???) of printers do not lower the heat bed. They raise the extruder. The wording of anything in the menu's should be neutral.
Re: LCD Menu's Additions
January 07, 2016 08:40PM
Roxy, With CoreXY printers you usually lower the print bed after a print is finished so it is handy to have this feature available.
CoreXY printers print beds are often cantilevered and any force on them can upset alignments if not at there lowest position. If you have a bad print and wish to abort then you need to lower the print bed before the part is removed.
I have used this LCD menu often when not printing from a PC.

My main reason of the post is to give people options on customising their LCD menu if they wish. It also gives people a better understanding of how the Marlin firmware works.
Cheers
Re: LCD Menu's Additions
January 08, 2016 10:48PM
Quote
RepRot
Roxy, With CoreXY printers you usually lower the print bed after a print is finished so it is handy to have this feature available.

Ok! I don't have a CoreXY and have a lot to learn about them. Can you post the code?
Sorry, only registered users may post in this forum.

Click here to login