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.
config.g