Welcome! Log In Create A New Profile

Advanced

My HOME is messy!

Posted by yello3d 
My HOME is messy!
February 08, 2023 03:30AM
I have a messy HOME.

My HOME is at the back right side. Before it was at X0 Y0 - but with Pronterface the jog direction was wrong UP send Y to the front, LEFT send X right.

So I swapped X and Y direction:


#define INVERT_X_DIR true // was false
#define INVERT_Y_DIR true // was false


Not to have HOME now front left I also changed:

#define X_HOME_DIR 1 // was -1
#define Y_HOME_DIR 1 // was -1


Now it's homing correctly - but M114 gives me X415 Y415 instead of X0 Y0

A G0 X10 send X now to the other end.

How can I change that?

I am aware that after homing I can do G92 X0 Y0, from there X and Y move to Minus, so I wonder if that is the correct method.

Edited 1 time(s). Last edit at 02/08/2023 03:50AM by yello3d.
Re: My HOME is messy!
February 08, 2023 04:09AM
If you home to max, then the printer is at max position....

"A G0 X10 send X now to the other end." if it is in absolute position mode this is working as it should

"How can I change that?" you don't, its working normally

Printer have absolute and relative positions

G90 Absolute positioning
G91 Relative Positioning

when you home to max you set X and Y to max position

to move to x0,y0 you can either
G90
G1 X0 Y0

G91
G1 X-415 Y-415

Slicers use absolute position on X and Y, so prints will print fine

Edited 2 time(s). Last edit at 02/08/2023 04:13AM by Dust.
Re: My HOME is messy!
February 08, 2023 04:30AM
Mhm, after Homing to Max, can I tell the machine "this is Min now" ? I mean like telling Marlin direction is reversed now.

Means, I am at X0 Y0 but from here only can go positive....

Working in negative space is somehow confusing when working with min and max.

I mean, I like to have Pronterface jog in the correct direction, and work in a positive area.

Edited 1 time(s). Last edit at 02/08/2023 04:39AM by yello3d.
Re: My HOME is messy!
February 08, 2023 04:56AM
There is no negative space

print is from 0 to 415

If you home to max, then say that is 0, then your working iin negative space from -415 to 0
Re: My HOME is messy!
February 08, 2023 05:58AM
Ok, I don't want to be so negative.

I set HOME now to:

#define X_HOME_DIR -1
#define Y_HOME_DIR -1


That's in the front and sort of blocking working space. For homing purpose it's fine.

How could make it after homing go to i.e. X100 Y400 ?

G28
G0 X100 Y400 ; ?? (seems it's working)
Sorry, only registered users may post in this forum.

Click here to login