Left-hand axis CoreXY help!!
-
Were this me, here's how I would proceed:
-
Plug the motor cables into drivers, which order doesn't matter (yet).
-
Try all four M569 S combinations, one at a time, with very short moves, WITHOUT the H2. BOTH MOTORS WILL TURN. This is normal on a CoreXY.
-
Note that you will need to issue M564 H0, once, to allow 'regular' moves without homing.
-
See if any of those combinations are correct, meaning they produce the move you want in the direction you want. Again, no H2. Just regular (short) moves.
If you find the combination that moves each axis in the desired direction, you are done.
Only if necessary, swap the motor cables to the other drivers (i.e. opposite step 1) and repeat step 2.
One of those 8 combinations has to work.
-
-
@perolalars said in Left-hand axis CoreXY help!!:
@droftarts Hi and thanks for reply!!
No that page I had still to discover (didnt think there where any left for that..;-))
But tried the first command to no luckWith command: G1 H2 X10 F100 M569 P0 S1 M569 P1 S0 it moves in X+ & Y+ M569 P0 S0 M569 P1 S0 it moves in X- & Y- M569 P0 S0 M569 P1 S1 it moves in X- & Y- M569 P0 S1 M569 P1 S1 it moves in X+ & Y+
That has the X and Y motors connected to the right connectors. Either the first or the last M569 pair should be correct.
@perolalars said in Left-hand axis CoreXY help!!:
With swapped X & Y cables & command :
G1 H2 X10 F1000 G1 H2 X-10 F1000 G1 H2 Y10 F1000 G1 H2 Y-10 F1000M569 P0 S1 M569 P1 S0 it moves in +X -Y it moves in -X +Y it moves in -X -Y it moves in +X +Y M569 P0 S0 M569 P1 S0 it moves in -X +Y it moves in +X -Y it moves in -X -Y it moves in +X +Y M569 P0 S0 M569 P1 S1 it moves in -X +Y it moves in +X -Y it moves in +X +Y it moves in -X -Y M569 P0 S1 M569 P1 S1 it moves in +X -Y it moves in -X +Y it moves in +X +Y it moves in -X -Y
That doesn't, because G1 H2 X always moves X and Y in opposite directions.
No swapped cables & command :
G1 H2 X10 F1000 G1 H2 X-10 F1000 G1 H2 Y10 F1000 G1 H2 Y-10 F1000M569 P0 S1 M569 P1 S0 it moves in +X +Y it moves in -X -Y it moves in -X +Y it moves in +X -Y M569 P0 S0 M569 P1 S0 it moves in -X -Y it moves in +X +Y it moves in -X +Y it moves in +X -Y M569 P0 S0 M569 P1 S1 it moves in -X -Y it moves in +X +Y it moves in +X -Y it moves in -X +Y M569 P0 S1 M569 P1 S1 it moves in +X +Y it moves in -X -Y it moves in +X -Y it moves in -X +Y
The last one of those is correct.
-
@dc42 Hi and thanks for your input but according to this diagram https://duet3d.dozuki.com/Wiki/Test_axes_or_motors_individually the command G1 H2 Y10 F1000 should move it in -X +Y and my printer moves in +X -Y and the command G1 H2 Y-10 F1000 should move it in +X -Y and my printer moves in -X +Y .
Thats why I dont understand this! And I did reboot the firmware after every change in config and issued M564 H0 before any other command... So what am I doing wrong or dont understand? -
@perolalars I have a feeling the page I linked you to is not correct for the Y movement, as it has the same as moves in X! I think it should be that positive Y motor moves are +X and +Y, negative Y moves are -X and -Y. Sorry! In which case this version of your test should be correct:
With swapped X & Y cables & command : G1 H2 X10 F1000 G1 H2 X-10 F1000 G1 H2 Y10 F1000 G1 H2 Y-10 M569 P0 S1 M569 P1 S1 it moves in +X -Y it moves in -X +Y it moves in +X +Y it moves in -X -Y
Ian
-
@dc42 and @droftarts Now I am even more confused since dc42 is saying no swapped cables and you are saying swapped cables!?
-
That's right, that page is wrong (it was correct for firmware 1.18 and earlier). See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement.
EDIT: I've just corrected that other page.
-
@dc42 Hi David So according to that page my axis moves correctly now but since I have a left-hand axis setup (yes I know I am sorry but its a lot of work making it a right-hand) and there is no solution stated if one has one " If instead it is 90 degrees clockwise, you have a left-hand axis system, which will give you mirror-image prints" what can I do to correct it? Besides rebuilding the machine that is?
And thanks Ian for your input, I feel like I have 4 toodlers in my head now... -
@perolalars sorry! You should listen to @Danal and @dc42, because I’m doing this from memory, on my phone, while looking after two toddlers! And I don’t even have a CoreXY!
Though I still think the page I linked is incorrect. @dc42 can you check/update it?already doneIan
-
@perolalars said in Left-hand axis CoreXY help!!:
@dc42 Hi David So according to that page my axis moves correctly now but since I have a left-hand axis setup (yes I know I am sorry but its a lot of work making it a right-hand) and there is no solution stated if one has one " If instead it is 90 degrees clockwise, you have a left-hand axis system, which will give you mirror-image prints" what can I do to correct it? Besides rebuilding the machine that is?
And thanks Ian for your input, I feel like I have 4 toodlers in my head now...When you say "Left Hand"... My CoreXY, when facing the "Front", the 0,0 origin is in the right (humans right) rear. Is this the same thing you are saying?
If it is the same, I can post my config.
-
@Danal No, when looking at my printer from the front I have the origin in the left top corner (like where you start reading a book, kind off!) the Y axis are pointing toward me and the x axis going to the right
-
Got it. Yours is a true "flip" or "mirror" of chirality; mine is a simple rotation.
It is still true that one of the 8 combinations will make everything correct in "normal" X or Y moves. So you have two paths:
- Continue to try to analyze and understand and select the configuration of cables and M569s based on that analysis.
-or-
- Brute force "search" for the correct movements by trying all 8 combinations (stopping when you find the right one, of course).
I've done both in my life. These days, I'm so overloaded, I've biased more toward the brute force...
-
@Danal Thank you but that is what I have been doing and it moves correctly but it mirrors the prints, that is where I started...
It dont seams that anyone could tell what I can do about it, hardware or software wise, to correct it (the mirroring!).
I know I could mirror it in the slicer software but thats just a half way solution since I am trying to sell this printer and I want it to work correctly... -
@perolalars said in Left-hand axis CoreXY help!!:
@dc42 Hi David So according to that page my axis moves correctly now but since I have a left-hand axis setup (yes I know I am sorry but its a lot of work making it a right-hand) and there is no solution stated if one has one " If instead it is 90 degrees clockwise, you have a left-hand axis system, which will give you mirror-image prints" what can I do to correct it? Besides rebuilding the machine that is?
-
Decide which axis you are going to reverse. Standard CoreXY is that looking at the front of the machine, +X is to the right and +Y is to the back.
-
Swap the X and Y motor connections either physically or in M584, then adjust the M569 motor directions to get X and Y moving in the right directions.
-
Whichever axis you reversed the direction of, reconfigure its endstop from low to high end or vice versa in M574
-
Whichever axis you reversed, reverse the direction of all move commands for that axis in its homing file and in homeall.g.
-
-
Ohh, thanks David, you are a savior! I was feeling a bit helpless (very much that is!) not understand what to do...
I will try this and report back... Have a good weekend! -
This post is deleted! -
@Danal Maybe I have to ask you about your config file? I cant get my head around this (in spite of David´s good description, or maybe I am to tired) so maybe I have to rebuild the end stops to looking like yours... Is it possible for you to share your homing files also? Just as info...
-