Can not configure motors properly all of a sudden
-
So this is a new one for me. All of a sudden my motors just homed to the min instead of the max. Trying to trouble shoot this, i placed it in the center and started commanding movements.
+X gives me a -Y, +Y gives me a -X. Simple enough, but very weird for it to randomly happen. So this being a CoreXY, i invert the B stepper. But it didnt work. After a few times trying to fix it, i ended up just going through all the permutations. And I'm thinking something happened with the kinematic calculations somehow.
Motor 0.6 is my A motor, defined as X in the config, 0.5 is B / Y. All commands are in the (+x,+y) direction. 0 is backwards, 1 is forwards.
A B = (X, Y)
0 0 = (-Y, -X) = invert B motor
0 1 = (-X, -Y) = invert A and B motor
1 0 = (-Y, -X) = Invert B motor
1 1 = (-X, -Y) = Invert A and B motor.Now for many reasons, none of this made sense to me. So just for another round of trial and error, i swapped motor. so in the firmware i made 0.6 defined as Y in the config, 0.5 as X. Again, all commands are in the (+x,+y) direction. 0 is backwards, 1 is forwards.
A B = (X, Y)
0 0 = (-Y,+X) = swap A and B motor
0 1 = (-Y, +X) = swap A and B motor
1 0 = (-X, -Y) = Invert A and B motor
1 1 = (-X, -Y) = Invert A and B motor.There has to be something up with the calculations right? I just dont know how it goes from working all of a sudden to not. The only thing i did was move to the .5 beta, but it was working fine all day. then tonight it just randomly stopped. Flashed 3.3 stable back on, but still no joy. Attached is the config file as maybe i fat fingered something and just didnt catch it. As stupid as i will feel for wasting all this time, i hope it is something that simple.
-
@thenotoriousmo
Extruder is also P0.6? I'm sure you want to use 0.4 and 0.5 for AB motors, since 0.4 is unused in your config; AB Drives M569 P0.6 S0 ; physical drive 0.6 goes M569 P0.5 S0 ; physical drive 0.5 goes ; Extruder M569 P0.6 S1 ; physical drive 0.6 goes M572 D0 S0.015 ;PA
-
@o_lampe extruder is 0.4. Not sure how that happened.
Edit:
And that fixed my freakin problem.... damn now i feel stupid. Not sure how i fat fingered that in randomly....
Thanks for that catch and i realize that i just wasted more time than I'm proud of and didn't see that.
Just out of curiosity, why would calling that cause this issue? Seems like they should both spin unless they were fighting the direction command?
Thanks again