Basic Information:
Printer Model: Custom Core XY
MCU / Printerboard: Manta M8P V2
Host / SBC: Raspberry CM5 8gb 32gb eMMC
klippy(17).zip (1.4 MB)
Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
Hi guys,
i have build a core xy machine and i am slowly losing it.
I basically have the problem that my x and y are swapped in klipper. like if i do x10 in mainsail it does y10 and vice versa. if i move the printhead to 0, 0 it moves to the front left, as it should and 290, 290 in the back right is also correct. when i home i have to home in the back left corner where it then should set x0, y303, and in its current state the printhead also move in that corner when homing. so the general physical movements currently are absolutely right, but are wrong in the x and y directions in klipper though. Bed mesh calibrate also has eddy move back and forth instead of left and right and test prints come out inverted. i tried inverting dir_pins, swapping plugs, etc. but that then fucks up the way the printer moves for the homing
I am sure there is something silly i oversee, but i cant wrap my head around on what. or is there a simple way to tell klipper what it currently sees as x is y and the other way around?
Appreciate any the help!
The best way I’ve found to set how X & Y works on a CoreXY is to set up a table listing whether or not the DIR pin operates normally or negated (ie with a “!”) before it:
X | Y | Result
--+---+--------------------------------------------
| | Movement with X & Y both Normal
--+---+--------------------------------------------
! | | Movement with just X negated
--+---+--------------------------------------------
! | ! | Movement with both negated
--+---+--------------------------------------------
| ! | Movement with just Y negated
I know it’s only two variables, but unless you put them down explicitly on paper and then test it, you end up missing something and going round and round and getting frustrated.
2 Likes
aw man. this did the trick for me. a little bit of method does wonders sometimes. building this thing was a single troubleshoot to get going. i had everything from switched wires that made my ebb36 explode to timer too close errors to this was wrong and that was wrong, once i fixed this there was an error with that and so on…i might have been burned out a bit and couldnt think straight anymore, but this makes so much sense!
X | Y | Result
–±–±-------------------------------------------
| | Movement with X & Y both Normal |
–±–±-------------------------------------------
! | | Movement with just X negated | x10 = y-10 y10 = x-10
–±–±-------------------------------------------
! | ! | Movement with both negated | x10 = x-10 y10 = y-10
–±–±-------------------------------------------
| ! | Movement with just Y negated |
didnt even have to go through all. at this point it was clear. Thank you so much!
2 Likes