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

[3.4.0b7 - 3.4.0b7+2] Something amiss with heating

Scheduled Pinned Locked Moved Solved
Beta Firmware
2
6
362
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
    OwenD
    last edited by 9 Jan 2022, 23:36

    This probably relates to a couple of other posts regarding strange things happening with heating.
    Apologies for the verbosity, but wanted to ensure it's explained properly.

    I noticed the other day that my filament change macros were failing with a heater error saying that the maximum excursion limit had been exceeded.
    This was occurring at the final stage of the macros.
    So the basic sequence was
    1: The filament is heated to just over the cold retract value.
    2: The filament is withdrawn
    3: The filament is heated to just over the cold extrude value
    4 The filament is fed

    The config.g of each filament contains the cold retract and extrude temps.
    The load & unload macros for all filaments simply call a universal load/unload macro.
    So the actual process involves several macros and setting/resetting temps and values several times.

    With 3.4.0b7 (also tried 3.4.0b7+2), when it gets to the final command to set the extrude temperature, the temp increases to the command value, but rather than settling at that temp, the temperature drops continually as if the heater was turned off, despite it still showing as active.

    temp-chart.png

    The macro continues as can be seen by the attempts to wait for the temp to settle on extrude temp which occur after the error.
    Ultimately the change fails when it continually tries to extrude below the temp.

    Screenshot 2022-01-10 at 09-27-15 3Dprinter.png

    I spent a day adding comments and trying to debug my code thinking I had screwed something up, and tried reducing the calls to external macros in case it was a nesting limit, but no change.

    If I roll back to 3.4.0b6, the sequence completes successfully!

    I have attached all the relevant macros in a zip file (renamed to txt to allow upload)
    There's a lot more echos etc than normal as I was trying to see where it went pear shaped.

    macros.zip.txt

    1 Reply Last reply Reply Quote 1
    • undefined
      OwenD
      last edited by 11 Jan 2022, 04:24

      @dc42
      I have narrowed the source of the issue to the use of

      G10 R0 S0
      

      in my do_moves_for_unload.g file

      If I replace that with

      M568 A0
      

      Then everything works fine.
      So it seems if you turn off a heater with G10 S0 R0, it will not turn back on.
      .This only seems to be the case when it comes from a macro.
      Sending the commands from the command line works normally, even if you mix G10 and M568

      undefined 1 Reply Last reply 11 Jan 2022, 14:49 Reply Quote 1
      • undefined
        dc42 administrators @OwenD
        last edited by dc42 1 Nov 2022, 14:49 11 Jan 2022, 14:49

        @owend thanks for pinning this down. I have reproduced this issue and I am investigating it.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        undefined 1 Reply Last reply 12 Jan 2022, 11:13 Reply Quote 0
        • undefined
          dc42 administrators @dc42
          last edited by dc42 1 Dec 2022, 11:13 12 Jan 2022, 11:13

          I have now tracked this issue down. The issue occurs when you use a heater and you then let it cool down to below 25C. I will have a fix soon.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          undefined 1 Reply Last reply 12 Jan 2022, 19:52 Reply Quote 2
          • undefined
            dc42 administrators
            last edited by 12 Jan 2022, 18:49

            This is fixed in 3.4.0beta7+2, see https://forum.duet3d.com/topic/26787/unofficial-rrf-3-4-0beta7-2-files.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 1
            • undefined
              OwenD @dc42
              last edited by 12 Jan 2022, 19:52

              @dc42
              3.4.0b7+4 does appear to have fixed the issue I was experiencing when G10 R0 S0 was used.
              I put it back in and the macros perform correctly.

              Given the graphs I showed and the fact that the ambient temp is in excess of 30 degrees here, I disagree with the 25 degree thing, but it's a moot point.

              Thanks for the quick action!

              1 Reply Last reply Reply Quote 0
              • undefined OwenD has marked this topic as solved 12 Jan 2022, 19:54
              5 out of 6
              • First post
                5/6
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA