Solved Random moves while printing RRF 3.4.6+ custom
-
Some time ago I noticed that while printing the printer would sometimes stop all moves while the status said it was still printing. I ran the M122 command with the printer stuck and the diagnostic said that the number of segments left was way too high to be correct. (I think I saw a post on this forum of someone having a similar issue)
The first solution I found was to pause the print and resume it.My current solution was to set segmentsLeft to be signed and check that it was greater than zero instead of different than zero in the LockMovementAndWaitForStandstill function.
With this fix in place the Duet now moves randomly to the edge of the build volume, generates a "G1/G2/G3: intermediate position outside machine limits" message before coming back to the print in progress instead of stopping all moves.I have the following questions:
- Do you have a cleaner fix to this issue available for the RepRapFirmware 3.4.6 or an idea of where in the code the variable would become negative and why.
- Do you know if this issue has been fixed in the RepRapFirmware 3.5.2 release ?
Thanks
-
Please try 3.5.2 or the 3.6 alpha.
-
I upgraded to 3.5.2 and it seems the issue is gone.
Thanks for the help
-
-