Problem Homing X and Y on coreXY
-
im working on a corexy printer and i need to home first the Y axis and then the X
for doing the home of Y i need to move the X a little bit to clear some space for the X switch
my homey.g looks like this:; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.5.0-rc.2+6 on Thu Jan 25 2024 16:52:19 GMT-0300 (Argentina Standard Time) ; lift Z G91 ; relative positioning G1 H2 Z5 ; move Z relative to current position to avoid dragging nozzle over the bed G90 ;absolute positioning ; home Y G1 H2 X15 F2500 G1 H1 Y-450 F2500 ; coarse home in the -Y direction G1 Y10 F3000 ; move back 5mm G1 H1 Y-15 F300 ; fine home in the -Y direction G1 H2 Z-5 F6000 ; lower Z again
the first issue i have is when i do the
G1 H2 X15 F2500
the gantry moves in a diagonal instead of only X, the rest of the process is ok and the homing works fineand when the big problems start is the homex.g that looks like this:
; homex.g ; called to home the X axis ; ; lift Z G91 ; relative positioning G1 H2 Z5 ; move Z relative to current position to avoid dragging nozzle over the bed G90 ; absolute positioning ; home X G1 H2 X15 F6000 G1 H1 X-450 F2600 ; coarse home in the -X direction G1 X10 F6000 ; move back 5mm G1 H1 X-15 F500 ; fine home in the -X direction G1 H2 Z-5 F6000 ; lower Z again
the first move when run homex.g moves the y axis away so the rest of the process fails
both of the endstop switches are static and the gantry moves to them in both axis
where is my gcode failing?
-
Are you sure that the wireing and the configuration is correct? The axis should not move diagonal when you move one axis only.
https://docs.duet3d.com/User_manual/Machine_configuration/Configuration_coreXY -
@namenmalkav do you have M669 K1 in your config?
-
-
@namenmalkav H2 is also individual motor moves for Delta and CoreXY machines. So on a CoreXY, using H2 with a G1 move for X or Y will cause only one motor to move, hence giving you 45 degree moves that you are seeing. Using H0 instead of H2 for the X and Y moves should do the trick.