hbot homes correctly but prints mirrored ,
-
change y homing in the homeall or the homey
; homeall.g
; called to home all axesM280 P7 S90
G91 ; relative positioning
G1 H2 Z5 F800 ; lift Z relative to current position
G1 H1 X-445 Y-540 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-445 ; home X axis
G1 H1 Y-540 ; home Y axis
G1 X5 Y5 F800 ; go back a few mm
G1 H1 X-445 F200 ; move slowly to X axis endstop (second pass)
G1 H1 Y-540 F200 ; move slowly to Y axis endstop (second pass)
G1 H1 Z-905 F400 ; home Z axis
G1 Z5 F200 F800 ; go back a few mm
G1 H1 Z-905 F100 ; move slowly to Z axis endstop (second pass)G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
G91 ; relative positioning
G1 Z5 F800 ; lift Z relative to current position
G90 ; absolute positioning
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time)
M280 P7 S90
G91 ; relative positioning
G1 H2 Z5 F800 ; lift Z relative to current position
G1 H1 Y-540 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F800 ; go back a few mm
G1 H1 Y-540 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F800 ; lower Z again
G90 ; absolute positioning -
BOTH , Remove ALL the minus sign for Y
eg G1 H1 Y-540 F1800 to just G1 H1 Y540 F1800
I missed a bit , Change all the positive Y to a minus
G1 Y5 F800 to G1 Y-5 F800
So really invert anything use the Y axis , ONLY THE Ys NOT THE X or Zs
-
changes made. yaxis moves away from the endstops now when homed, all else works as it should
this is a coreXY hbot setup.
i can change the direction of the steppers if needed by a switch on the driver, as they are external.
-
So we did it in the end ? .
-
no
homing x and y travels to the correct corner and has been fixed,the only thing that is wrong is the y axis movement, ONLY after it has been homed.
-
Have you done this to your homing file Y and All ?
BOTH , Remove ALL the minus sign for Y
eg G1 H1 Y-540 F1800 to just G1 H1 Y540 F1800
Change all the positive Y to a minus
G1 Y5 F800 to G1 Y-5 F800
So really invert anything use the Y axis , ONLY THE Ys NOT THE X or Zs -
i have, problem is when i change thoes it messes with the direction of x, and no matter what direction i change the steppers via the switch x or y is always in the wrong direction
-
ONLY CHANGE Y .. Leave x and z alone .
-
@peter247
yes only changed all the y stuff -
and just Y motor direction ?
-
changing the y info only affects the homing direction of the y axis , yes
so changing it the way you want makes the y axis home away from the endstop -
this would be so much easier if the x and y steppers were not working together to move the x/y "coreXY"
-
Changing the Home file swaps the direction and goes away from the end stop , so you change the direction of the motor to fix it.
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 .
But you need to tell to head to the back and change the direction of the motors too , you need to change both at the same time.
-
the homing directions are all correct, its only after its homed that y motion is backwards,,, so when i am on the web gui and manually click on the y+ or - in the machine movement section the movement is opposite in only the y axis
-
-
@peter247
if i do that then y homing is reversed too, along with y manual travel -
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 .