hbot homes correctly but prints mirrored ,
-
think im getting somewhere.
homing works and reports as
x0
y535
z5
z moves dow 5 after homing , all good hereafter homing, when i jog X+ it goes away from the end-stop and moves to the right,
and when i give Y+ its travel is reversed, it should be moving towards the sensors , to the back of the machine, y- moves it towards the sensors and the back of the machine.
what needs to be changed to correct y motion travel? -
X homing to the left and Zero ... correct !!
Y homing to the back and 535mm ... correct !!!
Z 5mm correct if it is 5mm off the glass , you may need the set the offset -
@tracar said in hbot homes correctly but prints mirrored ,:
after homing, when i jog X+ it goes away from the end-stop and moves to the right, this is correct!
and when i give Y+ its travel is reversed, it should be moving towards the sensors , to the back of the machine, y- moves it towards the sensors and the back of the machine.
what needs to be changed to correct y motion travel? -
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 25 2020 08:01:23 GMT-0600 (Mountain Daylight Time); General preferences
G31 X0 Y0 Z0 P25
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet2" ; set printer name
M669 K1 ; select CoreXY mode; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P5 S1 T5 R1 ; physical drive x goes forwards
M569 P6 S1 T5 R1 ; physical drive y goes forwards
M569 P7 S1 T5 R1 ; physical drive z goes forwards
M569 P8 S1 T5 R1 ; physical drive z2 goes forwards
M569 P3 S1 ; physical drive extruder goes forwards
M584 X5 Y6 Z7:8 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X200.00 Y200.00 Z200.00 E138.23 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X25000.00 Y25000.00 Z2500.00 E2400.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X300 Y300 Z300 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X440 Y535 Z900 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-low endstop for high end on X via pin xstop
M574 Y2 S1 P"!ystop" ; configure active-low endstop for high end on Y via pin ystop
M574 Z1 S1 P"!zstop" ; configure active-low endstop for low end on Z via pin zstop; Z-Probe
M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T24000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z0.445 ; set Z probe trigger value, offset and trigger height
M557 X50:400 Y50:500 S50 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
M569 P0 S0 changes the direction ? S0 or S1
BUT HAVE YOU CHANGED THIS
; 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
The Y should be a positive number not minus.
-
getting closer !!!!
-
the homing works as it should,
the only issue now is when i manually move it in the x and y coordinates , the x works as it should.. but the y is reversedmoving x+ moves it to the right and away from the endstop
moving y+ does not move and y- moves it away from the endstop towards the front of the printer.
y machine movement needs to be reversed.
-
You need to change Y homing to a positive and change the direction of the motor .. You must do both !!!!!!
You are back to my first post what's wrong .
end stops are correct. -
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"