MaslowCNC/Firmware

Sled falling behind error triggers repeatedly if there is a big discrepancy between target and pos

Opened this issue · 5 comments

As described here: https://forums.maslowcnc.com/t/constant-calibration-interruptions/3540

There is a case under which the sled position error is triggered repeatedly. I'm not sure exactly what the issue is in the forum post. I will add to this issue when we know more

Does this movement need to be exempt from position error checking like the motor test?

I'm not sure, I think the issue might be when there is a step change in position and the computed position and actual position don't align anymore

I've been able to replicate this by using the "set chain lengths manual" button

Unfortunately (or fortunately) the issue does not seem to be with the error detection code. The error is real and is being detected correctly by the new detection code. I'm still looking into it

I think that the issue was caused by a bug in the code related to the chain pitch tolerance...so unrelated. I will ask the OP if they had changed the chain pitch settings