MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.28k stars 19.23k forks source link

[FR] homeing required before auto level #21269

Closed tome9111991 closed 3 years ago

tome9111991 commented 3 years ago

Hi. look for a function that allows auto level to start only after homeing has been carried out.

thinkyhead commented 3 years ago

By default ABL will throw an error if you send G29 before homing with G28. UBL's behavior is to only home if needed. You can use the undocumented G29 N to force homing to occur before leveling. You can also enable NO_MOTION_BEFORE_HOMING for more strict limits on motion before homing.

tome9111991 commented 3 years ago

If NO_MOTION_BEFORE_HOMING enable Still work to move any axis manuel with lcd pannel before homeing?

borland1 commented 3 years ago

With manual bed leveling (MBL), mesh bed leveling is disabled prior to Homing being performed. Why would this be any different with UBL?

enderextender commented 3 years ago

On the Ender 3V2 the auto level menu is on the top level. Thus users will just hit that instead of homing first. Ill have to tweak the menu or something to force it to G28 first. This should be default behavior imho

tome9111991 commented 3 years ago

I have ender3v2. accidentally started auto level on lcd before homeing. the nozzles crash into bed

enderextender commented 3 years ago

I think this is a bug. dwin.cpp in lcd/dwin/e3v2

#if HAS_ONESTEP_LEVELING

  /* Leveling */
  void HMI_Leveling() {
    Popup_Window_Leveling();
    DWIN_UpdateLCD();
    queue.inject_P(PSTR("G28O\nG29"));
  }

#endif

the PSTR says G280 but it should be G28

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.