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.14k stars 19.2k forks source link

Bed leveling after starting the printer does not go back to park position #6842

Closed Lyonidaspay closed 6 years ago

Lyonidaspay commented 7 years ago

Hello. I noticed that the nozzle did not go back to the start/park position after fishing probing. I have a BLTouch installed and working fine till now ( no crashes for me), I just noticed that when doing a bed leveling with the LCD menu, directly after starting the printer, the procedure goes well, but at the end the nozzel stays at the last probing position and does not come back the start/park position.

I have a BLTouch not connected to Z_MIN_ENDSTOP, it's connected to dedicated pin, I also still have the Z_MIN_ENDSTOP working fine. When homing Z axis, it's the Z_MIN_ENDSTOP that actually stops the Z mouvement not the BLTouch ( pin ), But when probing it's the BLTouch ( pin) that stops the Z mouvement.

Bob-the-Kuhn commented 7 years ago

All the above is as expected.

If you want to use the Z probe to home and to probe then:

  1. It MUST be connected to Z_MIN_PIN
  2. the current Z_MIN sensor must be disconnected
  3. disable Z_MIN_PROBE_ENDSTOP
  4. enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
Lyonidaspay commented 7 years ago

Thanks, but I need to probe with Z_MIN_PROBE_ENDSTOP, and Home Z axis with Z_MIN_ENDSTOP. For now I only need the nozzel to go back to it park position after leveling .

fiveangle commented 7 years ago

G29 does not home afterward as far as i am aware, and never has on my system.

Bob-the-Kuhn commented 7 years ago

There's a method to automatically execute commands after G29. For your case I think it would be similar to the following:

define Z_PROBE_END_SCRIPT "G0 X0 Y0"

Lyonidaspay commented 7 years ago

Thank you. I Will try it and give you a feed back. Just to let you know, I have the nozzle parked with the probe away from the bed on X Y HOMING so I can't use the probe as a Z min endstop. I'm working on a FILAMENT JAM sensor and I hope it would replace the RUNOUT sensor.
A FILAMENT JAM sensor would detect both RUNOUT and nozzle JAM . It is a retary encoder touching the FILAMENT. When the encoder is turning the FILAMENT is moving and when stoped it will pause ,park the nozzle and show a menu on the LCD for two options : 1 - FILAMENT Change ( call FILAMENT RUNOUT M600) 2 - FILAMENT JAM ( retract and extrude with the panel encoder)

Work in progress. If you can help with this !

Bob-the-Kuhn commented 7 years ago

If you enable Z_SAFE_HOMING then G28 will do the Z probe at the position you specify with Z_SAFE_HOMING_X_POINT and Z_SAFE_HOMING_Y_POINT.

github-actions[bot] commented 2 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.