Marlin: The head is not stopping on the endstops after every homing

Created on 3 Nov 2016  Â·  13Comments  Â·  Source: MarlinFirmware/Marlin

Hello, Please I need help to change the Z hight after every homing. It's moving down after every homing about like 10cm. I don't want that to happen. Where I can change it please?
I tried to put // before "do_blocking_move_to_z(delta_clip_start_height);" and it was ok, but when the head is moving down to do auto-leveling; it did crazy leveling in the air near the bed and the first point only touched the bed in the center (not on the side as usual).
Thank you!
Best regards

Bug? Feature! Calibration

Most helpful comment

Replace '[top_of_buildroom]' with your printer's number for it.

All 13 comments

Probing begins with a sideways move to the first probing point. That is impossible with a DELTA at 0,0,top. For that the nozzle is driven down after homing by exactly the move you removed. Put it in again and all is well.

Or manually drive down before probing or doing any move in x/y direction..

I don't know if this applies, but on a Cartesian machine, the following #defines (in Configuration.h) determine what X, Y & Z are set to when doing a G28 command. Definitely had me pulling my hair out for a while.

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0        // G28 sets X position to this value after homing
#define Y_MIN_POS 0        // G28 sets Y position to this value after homing
#define Z_MIN_POS 0        // G28 sets Z position to this value after homing

I don't know if this applies…

On a DELTA the XY are 0,0 after homing, and the Z is MANUAL_Z_HOME_POS which is at the top of the machine. Note that the min/max positions and the home positions are not the same thing, and in fact you can alter them to be able to move past the home positions.

Thank you all. I'll try to find the best method, because I don't want the nozzle to crash right on my tall print anymore :).

Is there any special reason for homing your machine with a part on the bed?

If you just want to move the nozzle away from your part when finished use 'G0 X0 Y0 Z[top_of_buildroom]'.

G28 is not a 'go to home position' but a 'find where you are'. If your machine wasn't a DELTA this would be more obvious. Homing to z-min would be disastrous.

Thank You Blue-Marlin I got your point, I tried G0 X0 Y0 Z[top_of_buildroom] in my G-code, it went down to the center of my deltas bed. What g-code should I write in the ending-script to move the arms up to the endstops and stay there after a print is done?

Replace '[top_of_buildroom]' with your printer's number for it.

Great! thank you!

I also had problems with this.

I'm running a Mini Kossel (Delta), and it had Marlin 1.1.0 RC6, when it did G28 it would go up to homing, hit endstops, lower a bit and slowly go up again, hit endstops again, and stop there.

When I updated to RC7 (and also BugFix), it does the same procedure as in RC6, but instead of stopping at the top (with endstops triggered), it then lowers some 58mm.
Acceptable when homing at the start, but since I also had a G28 in the end gcode (as default in slicing programs), printing tall parts can be dangerous, because it would lower the hotend on top of the print.

I understood what Blue-Marlin commented (it would just require to modify the end gcode), but I'm also curious to know where this setting is modified, since I would also like to have the RC6 behaviour in another delta that I'm building and need to do some testing.
Is there a way to set G28 in BugFix as it was in RC6, to hit the endstops and just stay there?

Obviously a G28 at the end of a print is a terrible idea. On Cartesians this would crush the printed object. Be sure to smack whoever is adding that to their slicers as a standard thing. The only safe procedure is to do a final G0 move to the desired position – one you know will be clear.

Lol, it was fine when using RC6 on delta machines, since it would just home
to the top and rest there :)

Can you point in what file can whe modify that setting, if possible?

Cumprimentos,
D.er Hugo Barrocas

Can you point in what file can we modify that setting, if possible?

At this time there's no option to disable the lowering of the carriage to the "safe zone" at the end of G28. The best option is to use G0 Z300 (or whatever your top-most Z is) at the end of the print.

Ok, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShadowOfTheDamn picture ShadowOfTheDamn  Â·  3Comments

W8KDB picture W8KDB  Â·  4Comments

StefanBruens picture StefanBruens  Â·  4Comments

Tamonir picture Tamonir  Â·  3Comments

Anion-anion picture Anion-anion  Â·  3Comments