changing endstop side(min or max)doesnt change homing direction
-
This is a corexy machine running duet maestro and rrf3 and changing the line:M574 Y2 S1 to M574 Y1 S1 and the y axis moves the same direction when i try to home(the wrong direction) Ive got the other endtsop working perfectly
-
@jcwild changing the endstop position doesn't change the homing direction, it just tells the firmware to use the minimum or maximum axis limits when it's triggered.
You either need to adjust the homing file for that axis or adjust the motor mapping/directions to move in the right direction -
@jay_s_uk wow ummm ok. now i feel like i have no idea what im doing again. i just swapped motor connectors to get both axis going the correct directions and now the y endstop stopped triggering.
-
@jcwild best check your wiring, run
M98 P"config.g"
to make sure you don't have any issues and use M119 to check the trigger status -
@jcwild said in changing endstop side(min or max)doesnt change homing direction:
@jay_s_uk wow ummm ok. now i feel like i have no idea what im doing again. i just swapped motor connectors to get both axis going the correct directions and now the y endstop stopped triggering.
Changing the motor connections changed the physical direction of movement but it didn't alter the logical direction of movement.
The homing movement needs to be towards the endstop sensor and the endstop configuration has to match the location of the endstop sensor, either at the low end of the axis or the high end.
Please copy-and-past your config.g file and your various homing files using the </> tag, one tag per file.
Frederick
-
Take a look at this guide for setting up your corexy, particularly the motor tests to determine if they are connected correctly and turning the right directions.
https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_coreXY
Once you have that solved you can configure the endstop positions with M574 Y1 low end of travel, M574 Y2 high end of travel, for example.
Then your homing files need to move in the positive or negative direction to move towards the endstops.
-
@phaedrux ok so I input this: G91 G1 H2 X10 F3000
and printhead moves X- and Y- ok, so i change M569 P0 S0 to S1 in the config. save and reset and so i input the G91 G1 H2 X10 F3000 and it again move negative in both directions, and thats all the guide says to do.Inputting: G91 G1 H2 Y10 F3000 and it moves X- and Y+ and again changing M569 P1 S0 to S1 in the config changes nothing when inputting this command again.
-
@jcwild said in changing endstop side(min or max)doesnt change homing direction:
@phaedrux ok so I input this: G91 G1 H2 X10 F3000
and printhead moves X- and Y- ok, so i change M569 P0 S0 to S1 in the config. save and reset and so i input the G91 G1 H2 X10 F3000 and it again move negative in both directions, and thats all the guide says to do.Inputting: G91 G1 H2 Y10 F3000 and it moves X- and Y+ and again changing M569 P1 S0 to S1 in the config changes nothing when inputting this command again.
I never found changing M569 to work for my CoreXY.
What I did to get mine to work was change M669.
As I understand it M669 K1 is equivalent to
M669 X1:1:0 Y1:-1:0 Z0:0:1
On my printer I had to use
M669 X-1:1:0 Y-1:-1:0 Z0:0:1
The first two values for X and Y are, I believe, always going to be 1 or -1.
So I just changed one value at a time, then reset and tested, until everything moved correctly.
Notice that I ended up changing the first X value from 1 to -1 and the first Y value from 1 to -1.
I never bothered to take the time to understand what each value does. If I had I probably wouldn't have needed to use trial-and-error.
Frederick
-
@fcwilt this is getting me somewhere! using your m669 line (after decoding the emoji conversion) got the x axis working the right way round and the y axis going reverse
-
@fcwilt Got it! changed Y-10 to Y 1:1:0 and that did it. so im pretty sure what it corresponds to are the 3 motion motors, normally called x y and z and the 1, -1 and 0 are which direction the stepper motor should turn, 1 for forwards ,-1 for backwards and 0 for none. Thanks for the help