hbot homes correctly but prints mirrored ,
-
if i change a motor direction by the switch or cable conection, then it messes up x axis too
-
@tracar said in hbot homes correctly but prints mirrored ,:
if i do that then y homing is reversed too
yes so swap the motor direction ... Please read the last 10 post ?
I REPEAT
the old homing file say move to the front , but the motor direction is wrong too , so to head to the back , which you call correct homing .
Change both !!!
-
changed both stepper directions. now y is correct in every way and x is reversed with homing, and x manual travel is also reversed
-
@tracar
Both stepper direction ... NO JUST Y .LEAVE X and Z alone .
-
Follow this for testing corexy motor movement.
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement
This is key for Corexy.
Sounds like you got the endstops and homing directions working correctly. This last test will tell you how to get the motors going correctly. It's a bit different because of corexy using two motors together for motion.
-
So I'm lost about corexy , can he just change the y motor direction ?
or is it me who is wrong ? -
@peter247 said in hbot homes correctly but prints mirrored ,:
The link answers all.
-
SORRY !!!! , look like I was wrong I did know about corexy , both motors ?
I'm 100% sure about the homing file needing changing , and know that the motor direction need changing , but I'm lost how to change it on a corexy.
-
You're on the right track. On a cartesian printer it's easy because it's one motor and direction per axis. With corexy there is motor direction of rotation and also which motor is connected to which driver that also matters.
The movement test in the link isolates each motor so you can see which direction it's going by itself and then from the results it tells you what to change.
-
So from your link is way to fix is ?
If it moves towards +X and -Y, or towards -X and +Y, then either turn the power off and swap the X and Y motor connections, or use M584 in config.g to swap the X and Y motor drivers over.
My head hurts !!! Brain Overload !!!!
-
@peter247 brain overload x2
-
M569 P0 S0 ; X motor runs forwards
M569 P1 S0 ; Y motor runs forwardsSet that first.
Test for the correct X motor movement by sending these commands from the console:
G91
G1 S2 X10 F3000If the head moves diagonally in the +X and +Y directions, all is well. If it moves in the -X and -Y directions, change the S parameter to S1 in the M569 P0 command. If it moves towards +X and -Y, or towards -X and +Y, then either turn the power off and swap the X and Y motor connections, or use M584 in config.g to swap the X and Y motor drivers over.
When you have the X motor moving correctly, test the Y motor by sending from the console:
G91
G1 S2 Y10 F3000If the head moves diagonally in the +X and -Y directions, all is well. If it moves in the -X and +Y directions, change the S parameter in the M569 P1 command to S1.
Y+ meaning to the back
-
You do need to change the Y homing files , but I think you may have to play to get the direction correct.
Don't forget to invert all the moves or the G1 Y5 F800 will push it into the end stop.
-
The homing direction for Y should be positive direction to the endstop at the rear.
-
@Phaedrux said in hbot homes correctly but prints mirrored ,:
M569 P0 S0 ; X motor runs forwards
M569 P1 S0 ; Y motor runs forwardsim not using the built in drivers , all are external
my config is currently this for x and y:
M569 P5 S1 T5 R1 ; physical drive x goes forwards
M569 P6 S1 T5 R1 ; physical drive y goes forwards -
@tracar said in hbot homes correctly but prints mirrored ,:
@Phaedrux said in hbot homes correctly but prints mirrored ,:
M569 P0 S0 ; X motor runs forwards
M569 P1 S0 ; Y motor runs forwardsim not using the built in drivers , all are external
my config is currently this for x and y:
M569 P5 S1 T5 R1 ; physical drive x goes forwards
M569 P6 S1 T5 R1 ; physical drive y goes forwardsOk, well the idea is that you're setting the motors to rotate in a forward direction, however you do that. I believe that would make it clockwise.
-
i have set to this
M569 P5 S0 T5 R1 ; physical drive x goes forwards
M569 P6 S0 T5 R1 ; physical drive y goes forwardsthe
G91
G1 S2 X10 F3000they both move towards the back left corner (where the endstops are )
so x moves in a negative and y in a positive -
@tracar said in hbot homes correctly but prints mirrored ,:
so x moves in a negative and y in a positive
If it moves towards +X and -Y, or towards -X and +Y, then either turn the power off and swap the X and Y motor connections, or use M584 in config.g to swap the X and Y motor drivers over.
So swap your X and Y motor plugs.
-
changed drives to :
M584 X6 Y5 Z7:8 E3 ; set drive mappingnow with
G91
G1 S2 X10 F3000x and y move to the negative. so heading x to 0 and y to 0
which is the front left side of the printer. -
@tracar said in hbot homes correctly but prints mirrored ,:
x and y move to the negative.
If it moves in the -X and -Y directions, change the S parameter to S1 in the M569 P0 command. Or in your case, flip the direction on your external stepper for the P0 driver, labeled as X.
Actually that might be wrong because you've now remapped which driver X is assigned to. You're now using driver 6? Flip that one.