Core XY movement issues
-
@mrehorstdmd Thank you for explaining the holes. It's difficult to analyze from a photo.
The reason for this all is still mysterious, we should place bets. I heard the British like to bet.
-
@deckingman I changed the settings in the M92 from X320 Y319 and the movement stopped and appears to be working normally. I did this based upon the 2nd link I posted as that was a similar problem as mine.
I left the M92 setting the same,adjusted so there was no movement in the Y when X was moved. I still have it set up with the motors swapped. I can set the M92 back to x320 y320 and try it both ways. I was going to take the board out of the enclosure to really examine the boardto see what I find. After some of the post I have found about board issues and pictures I have found, missing or bad solder joints, etc. -
@fxxtoo
I am looking at the belt alignment. Are they the same on both sides? Optimal would be to run them inline and not in an angle like you do as this might influence the movement if not mirrored perfectly. Or am I watching something the wrong way -
@joergs5 I thought I made the distance from the pulley blocks on the Y axis to the rail on the X axis were the same on both sides. I will check that when I get off work. Thanks for bringing that up!
rj -
@fxxtoo Ah I see. Sorry I forgot that you had set the X and Y steps per mm differently as a work around. I guess I kind of assumed that you would use the same steps per mm on both X and Y for the purpose of that test. No matter. The fact that you get the same movement with the motors physically swapped at least eliminates the motors as a cause of the problem.
-
@pro3d
I think you are talking about the belt that goes around the motor pulley and back around to the extruder mount.
This is the way I did them.
-
Can you confirm that you have physically swapped the motor connectors between A and B motors. If so what happened with the issue?
-
@t3p3tony
Hi Tony, Thanks for posting. I would like to be sure about what you are asking me to do.
At this time I have done the testing as per the docs.
G91 G1 S2 X100 F3000 ; MOVES X+ AND Y+ , as it should
G91 G1 S2 Y100 F3000 ; MOVES X+ AND Y- .
Doing a G90 G1 X100 causes Y to move about 3 mm in the + dir
Doing a G90 G1 Y100 causes X to move about 3 mm in the + dir
After changing * and still at M92 X320 Y319 doing the above,
the X only moves when the same command is sent, same as when the Y command is sent.
I have physically swapped the A and B motors, And with the M92 X320 Y319, it behaves normally. With M92 320 Y320, it reverts to Y moving a bit when moving X and vice versa. But the new A motor went to the A connector. So that is where my question comes in.
I can tell you what it will do, with the connectors in the correct places, a G90 G1 X100 command will cause X to move 100 to the plus and the Y to move ~3mm to the plus. The same with a G1 Y100.
If I swap the connectors and run it twon't that change the directions of the motors? Will I have to change those settings as well?
Should I set the steps back to M92 X320 Y320 first? Then run G1 X100 and then G1 Y100. Then swap the connectors on the board and then run the same commands, to see what it does before and after? Sorry if I seem a bit flustered, as I am.
RJ -
@fxxtoo I think what you'll need to do to accomplish what Tony is asking is to swap the motor connectors, then re-map the drives. So you'll need to add this to the start of your drive section in config.g
M584 X1 Y0
Make sure you put it at the start of the drive section. Your motor directions are all the same so they should not be affected.
So you'll physically swap the stepper connectors on the board so that what was X is now connected to Y and what was Y is now connected to X. Then by adding that line, it'll swap the drivers so you should end up with exactly the same movement. If you get a different result, then it would indicate a faulty driver.
So to be sure, set the steps per mm the same for both axes. Do the long x move first and note any Y movement, then swap the cables and re-map the drives, then repeat.
-
@deckingman
Thanks. I think we are getting closer.. Should I go back to M92 X320 Y320 for this test? -
@fxxtoo
After Checking Ians points, another idea:The pulleys, do they grind anywhere at each other? This would explain X movement when you move Y and vice versa. They must be separated by washers each and may not effect each other.
-
@fxxtoo said in Core XY movement issues:
@deckingman
Thanks. I think we are getting closer.. Should I go back to M92 X320 Y320 for this test?Yes please
-
@joergs5
No, there are shims to space them all out the same distances to keep them aligned for the belts.
thanks,
RJ -
@t3p3tony , @deckingman
So I got to do the swap test of A & B connectors. I set M92 X320 Y320 and with the cables in the correct position, homed and then did G1 X200, Y moved along with X moving about 3mm. Powered down, swapped the cables , M92 the same and tried the G1 X200 and got the same results. Just for giggles I did M92 X320 Y319 and Did not get the movement in the Y axis when X was moving. It appears to move about 3mm per 100mm move on the opposite axis. I remapped using M584 X1 Y0.
I contacted Filastruder about this and said they were forwarding it to Duet.
What is the verdict?
thanks,
RJ -
If you're swapping the cables and the results are identical, that indicates to me that it isn't the Duet controller, but rather something physical about your printer (belt paths, pulley diameter, etc).
-
@elmoret
It reproduces the error I had from the beginning. When I move X only, using G90 G1 X100, Y moves in the same direction about 3mm per 100mm movement of the X axis. It does that with the cables swapped and remapped as well. The Only time it moves correctly is when I change the steps per mm, ie M92 X320 Y 319. Then the movement in the other axis, stops.
I have already taken it apart and redone everything. I am pretty sure this is not a mechanical issue.
thanks for the reply
RJ -
@fxxtoo
What happens if you do 1/16 stepping? Just wonder if you get the same difference or another distance. Sure all the pulleys are the same? Might also be something with one motor of course. Have you tried mapping the other drivers to the xy? -
Would it be possible to try both extruder drivers on xy. Then run G1 E0100 E1-100 to see what happens then? Just thinking out loud..
-
@fxxtoo said in Core XY movement issues:
It does that with the cables swapped and remapped as well.
Right - which is why I'm saying it isn't a controller issue. Behaving identically when swapping stepper motor drivers tells me it isn't the stepper drivers or the pulse trains driving the stepper motor drivers (the microcontroller).
But Tony and dc42 are more knowledgeable than I at this.
-
@t3p3tony, @pro3d , @deckingman
Well I think I might have discovered the problem. I had a M350 command in my config.g file, before my M92 command. Reading some things that dc42 had said about microstepping and pr3d said about trying lower microstepping rates. So I moved the M92 X80 Y80 ahead of the M350 and started playing with that. It appears that might have caused my problems. I will play and post the results... I hope that is all it is..
rj