Welcome! Log In Create A New Profile

Advanced

X Y distance after endstop bump

Posted by DOYT 
X Y distance after endstop bump
June 21, 2017 04:30PM
Hi guys. How can I setup my Marlin in order to have a specific distance of the hotend from endstops after homing? Like a X, Y offset.... I don't want my X, Y endstops to stay pressed after the second bump. Thanks!
Re: X Y distance after endstop bump
June 21, 2017 07:40PM
This is normal operation. Why would you not want your machine to stop homing at 0?
You can do a small bit of code and run it like:

G28
G1 F1000 X5Y5

That will home and then move 5mm from the switch.
Re: X Y distance after endstop bump
June 22, 2017 04:01AM
Because my physical print size is different than my print area. After the axis hit both X Y switch I want X go to +5mm and Y +5mm. At those values my nozzle will be exactly on the left down corner of the print bed. Otherwise will stay in the midair. What you say is exactly what I want to implement but in Marlin firmware. I don't want to do this on Custom start G-code from slicer.
Re: X Y distance after endstop bump
June 22, 2017 04:24AM
all you do its correctly define your homing positions

in configuration.h

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0

change to

// Travel limits after homing (units are in mm)
#define X_MIN_POS -5
#define Y_MIN_POS -5
#define Z_MIN_POS 0

It wont un bump the endstops, but 0,0 will be where it should be when you print
Sorry, only registered users may post in this forum.

Click here to login