Welcome! Log In Create A New Profile

Advanced

How to set home position in the middle of the bad in Marlin 1.1.0-RC7

Posted by karcio 
How to set home position in the middle of the bad in Marlin 1.1.0-RC7
November 08, 2018 04:24PM
Hi Guys

I don't know how to set home point. My command g28 finish in this position

ttyUSB3 PC> m114
SENDING:M114
X:64.00 Y:159.00 Z:15.00 E:0.00 Count X: 6018 Y:15013 Z:5929


my configuration.h looks like
#define MANUAL_X_HOME_POS 100
#define MANUAL_Y_HOME_POS 100
#define MANUAL_Z_HOME_POS 15


karcio
Re: How to set home position in the middle of the bad in Marlin 1.1.0-RC7
November 08, 2018 09:27PM
I presume your doing this on some sort of Cartesian printer? (which is very odd to have 0,0 in the center of the board.)

are you homing to max or min?

If min the X and Y should be negative
if max you also need to have you bed size correctly defined in firmware
Re: How to set home position in the middle of the bad in Marlin 1.1.0-RC7
November 12, 2018 06:39PM
HI,

Sorry, some more details

Printer Malyan m150.

My home settings:
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 200
#define Y_MAX_POS 200
#define Z_MAX_POS 150

And, here you can see my home [youtu.be]


karcio
Re: How to set home position in the middle of the bad in Marlin 1.1.0-RC7
November 13, 2018 06:57AM
We did this with Z-Safe Homing did not like the nozzle on the corner of the bed.

#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)
#endif

My Proximity sensor is located 25mm behind the nozzle and firmware says 10mm to the right. (Now it is directly behind but forgot to change)

Mine does the same thing, only 10mm from center on the X Axis and only 25mm from center on the Y-Axis.

Bed 220 x 270mm and I believe this is caused by the probe offset settings.

#define X_PROBE_OFFSET_FROM_EXTRUDER 10
#define Y_PROBE_OFFSET_FROM_EXTRUDER 25

Shown Below (" Be careful!!!! Remember this is done so your probe does not go off the bed during bed leveling. ")

#if HOMING_Z_WITH_PROBE
destination[X_AXIS] -= X_PROBE_OFFSET_FROM_EXTRUDER;
destination[Y_AXIS] -= Y_PROBE_OFFSET_FROM_EXTRUDER;
#endif

And It really does not matter where the Nozzle homes

But just out of curiosity sake!!! Anyone out there! Can I safely add the Offset back just for the Z-Safe Homing to get a true Home Center the Bed.

Edited 3 time(s). Last edit at 11/14/2018 07:44PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: How to set home position in the middle of the bad in Marlin 1.1.0-RC7
January 02, 2024 04:55AM
Quote
Roberts_Clif

#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)
#endif

So if i want set my home @ y0 x0 z90

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT (X_MIN_POS + 0) 
#define Z_SAFE_HOMING_Y_POINT (Y_MIN_POS + 0) 
#define Z_SAFE_HOMING_Z_POINT (Z_MIN_POS + 90)
#endif

I use marlin as CNC
So 0 0 90 would be perfect for me

Greetz Edwin
Sorry, only registered users may post in this forum.

Click here to login