• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Random moves while printing RRF 3.4.6+ custom

Scheduled Pinned Locked Moved Solved
Firmware developers
2
3
151
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    tcamguil
    last edited by tcamguil 18 Jul 2024, 13:44

    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

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 18 Jul 2024, 20:06

      Please try 3.5.2 or the 3.6 alpha.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        tcamguil
        last edited by 24 Jul 2024, 06:53

        I upgraded to 3.5.2 and it seems the issue is gone.

        Thanks for the help

        1 Reply Last reply Reply Quote 1
        • undefined Phaedrux marked this topic as a question 29 Jul 2024, 22:13
        • undefined Phaedrux has marked this topic as solved 29 Jul 2024, 22:13
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA