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

[3.5.b1] Loading filament via DWC does not work

Scheduled Pinned Locked Moved
Beta Firmware
2
8
301
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
    Diamondback
    last edited by Diamondback 31 Dec 2022, 11:48

    Not sure why exactly, but when I try to load a filament via the DWC filament feature, it doesn't work anymore in 3.5b1. It executes a bunch of code in my load macro, but then suddenly gets stuck after displaying a message box that I need to ack. The printer then just gets stuck in Busy state until I manually reset it.

    Any ideas?

    Here's a typical load macro:

    var extrusionTemp = var.T
    var extrusionMinTemp = var.S
    var retractionMinTemp = var.R
    set global.pebbleFeedSpeed = var.F ;apply commanded pebble feed speed
    M98 P"/macros/Misc/Lights/On"
    M291 P"Heating for purge" R"Filament" S0 T5
    M98 P"/macros/Toolchanging/HomeIfNotHomed"
    M568 P{state.currentTool} S{var.extrusionTemp} R0
    M116 P{state.currentTool}
    M302 S{var.extrusionMinTemp} R{var.retractionMinTemp} ;Cold extrusion settings
    M98 P"/macros/Misc/Beep"
    M291 P"Ready to load new filament?" R"Filament" S2
    G4 S2
    G1 E75
    M98 P"/macros/Tool/Purge"
    M98 P"/macros/Tool/Cooldown"
    M98 P"/macros/Misc/Beep"

    As far as I can tell, it executes things corretly until after the M291 S2 (line 13), but none of the following stuff is ever executed.

    1 Reply Last reply Reply Quote 0
    • undefined
      Diamondback
      last edited by 31 Dec 2022, 14:51

      Update: This seems to be a DWC issue, downgrading the firmware to 3.4.5 while leaving DWC at 3.5b1 did NOT solve the problem, only downgrading DWC to 3.4.5 as well helped.

      1 Reply Last reply Reply Quote 0
      • undefined
        Diamondback
        last edited by 2 Jan 2023, 11:18

        @chrishamm maybe? I can successfully use RRF 3.5b1 with 3.4.5 DWC, but with 3.5b1 DWC it fails.

        undefined 1 Reply Last reply 2 Jan 2023, 12:45 Reply Quote 0
        • undefined
          chrishamm administrators @Diamondback
          last edited by 2 Jan 2023, 12:45

          @Diamondback I believe this is caused by the blocking message box. I am investigating.

          Duet software engineer

          undefined 1 Reply Last reply 2 Jan 2023, 16:18 Reply Quote 1
          • undefined
            chrishamm administrators @chrishamm
            last edited by 2 Jan 2023, 16:18

            @chrishamm Yes, it's the message box handling. Currently you can work-around this bug by sending M292 only using the DWC input, although I understand it isn't ideal. The corresponding bug fix will be part of 3.5-b2.

            Duet software engineer

            1 Reply Last reply Reply Quote 1
            • undefined
              Diamondback
              last edited by 2 Jan 2023, 16:50

              Awesome, thank you. Is the duplication in the check from this commit the culprit?
              https://github.com/Duet3D/DuetWebControl/commit/8b9c4ef816f5559e56c324625336deb0c43c963e

              0 chrishamm committed 24 Dec 2022, 09:18 to Duet3D/DuetWebControl
              Fixed behaviour for non-blocking message boxes
              undefined 1 Reply Last reply 2 Jan 2023, 16:56 Reply Quote 0
              • undefined
                chrishamm administrators @Diamondback
                last edited by 2 Jan 2023, 16:56

                @Diamondback Yes, it is. Stupid typo.

                Duet software engineer

                undefined 1 Reply Last reply 2 Jan 2023, 16:57 Reply Quote 0
                • undefined
                  Diamondback @chrishamm
                  last edited by 2 Jan 2023, 16:57

                  @chrishamm Oh well, it happens 🙂 Not the first time, not the last time 😄

                  1 Reply Last reply Reply Quote 0
                  • undefined Acid referenced this topic 14 Mar 2023, 12:49
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA