The RE and MRE models do calculations to create a cam table that is used to position the die.
A recent SCN, SCN 4266, fixed a bug that artificially limited where the home sensor could be due to incorrect calculations that resulted. Fixing that bug opened up those same calculations to an infinite loop.
The calculations in question, iteratively determine the angle of the rotor (motor) given a linear position of the die.
The initial calculations had an error if the initial guess provided to the iteration resulted in a negative error. When that bug was fixed using an ABS comparison, unknowingly, the function was then open to new failure. The error could begin to ping pong between positive and negative values, failing to get below the accuracy threshold.
The infinite loop was resolved by requiring the absolute error to be constantly decreasing. Once it fails to decrease, we have found the closest angle, within the resolution our available math functions provide.
| Model | Version | Released |
|---|---|---|
| XL2CL | 5.80.00 | 11/30/2021 |
| XL2CL | 4.68.03 | 5/26/2020 |