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

    Bug?: Tool and Heater/Sensor Relationship Switching Around

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    3
    4
    162
    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.
    • Maestroundefined
      Maestro
      last edited by Maestro

      Hi all,

      I have two chamber heaters configured on my machine, one of which heats the actual main chamber, and one which heats a filament dry-box.

      For the most part, it all works fine. However, DWC commonly decides that the sensor and active/standby settings attached to the drybox should be attached to the main chamber. I have not nailed down when this happens, there seem to be multiple provoking factors; A print starts/ends or I just walk away for a while... and bam, DWC is confused.

      It should look like this (look at chamber tool/heater columns)
      Screenshot 2023-05-29 193423.png

      But sometimes decides to reconfigure tools/heaters to this
      Darnit.png

      It attaches Chamber 0 to the "Dry-Box" sensor, instead of the appropriate "Chamber" sensor. Current, Active, and Standby columns all attach to Chamber 1 in this state; the current temperatures will change in lockstep, and if I change the Chamber 0 active/standby settings, it seems to be Chamber 1 that actually is commanded to change. So basically, the Tool is still saying "Chamber 0", but everything else on that row is behaving as it would if it were "Chamber 1".

      I suspect that this is a DWC bug, because any time I reset the machine it always reverts back to the way it should be, then eventually (and always, eventually) gets confused at some point. It never spontaneously fixes itself, only spontaneously breaks. Since it's always correct on reset, it makes me think my config is good, but here are my heater configs:

      ;===== HEATERS
      
      ; --Bed--
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed"      ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out1" Q10 T0                                 ; create bed heater output on out0 and map it to sensor 0, PWM freq 10hz
      M307 H0 B0 R0.217 C3023.6 D30.94 S1.00            ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                            ; map heated bed to heater 0
      M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
      
      ; --Hotend--
      M308 S1 P"121.temp0" Y"pt1000" A"Hot-End"						 ; configure sensor 1 as pt1000 on pin temp1
      M950 H1 C"121.out0" T1                           		; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 R2.320 K0.194:0.000 D9.05 E1.35 S1.00 B0 V24.1
      M143 H1 S350                                				 ; set temperature limit for heater 1 to 280C
      
      ; --Chamber--
      M308 S2 P"temp1" Y"thermistor" T100000 B4138 A"Chamber"      ; configure sensor 2 as thermistor on pin temp2
      M950 H2 C"out2" Q10 T2                                 ; create chamber heater output on out2 and map it to sensor 2, PWM freq 10hz
      M307 H2 B0 R1.670 C66.3 D6.97 S0.60 V24.1         ; disable bang-bang mode for the chamber heater and set PWM limit
      M141 H2                                            ; map chamber to heater 2
      M143 H2 S90                                       ; set temperature limit for heater 2 to 90C
      
      ; --Filament Box--
      M308 S3 P"temp2" Y"thermistor" T100000 B4138 A"Dry-Box"      ; configure sensor 3 as thermistor on pin temp2
      M950 H3 C"out0" Q20000 T3                                
      M307 H3 B0 R0.032 K0.060:0.000 D211.08 E1.35 S0.60			
      M141 P1 H3
      M143 H3 S80                                       ; set temperature limit for heater 3 to 80C
      ;-----
      

      Running RRF 3.4.5 and DWC 3.4.5 on a Duet 3 MB6HC.

      If someone knows how to fix this, it's much appreciated, otherwise, consider it a bug report!

      o_lampeundefined 1 Reply Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe @Maestro
        last edited by

        @Maestro Is there another instance 'talking' to the chamber heaters? Like a macro or slicer start code?
        Maybe there you've scrambled the setup?

        Maestroundefined 1 Reply Last reply Reply Quote 1
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          First I would try clearing the browser cache and doing a hard reload of the page. Maybe even re-upload the DWC files for 3.4.5 just in case.

          If it's still occuring, I would try another browser to confirm.

          Then perhaps try with the 3.5 beta to see if it's a bug that's already been resolved.

          https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.0-beta.3

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Maestroundefined
            Maestro @o_lampe
            last edited by

            Thanks Phaedrux, I had tried all of that with no luck.

            o_lampe wins the prize, my end-of-print macro contained

            M141 H2 S0
            M141 H3 S0
            

            When it needed to contain

            M141 H2 S0
            M141 P1 H3 S0
            

            Sending "M141 H3 S0" immediately--and unsurprisingly--replicates the problem, so, there we go.

            Thank you both very much! My printer otherwise seemed to be in perfect working order, so this was really bugging me more than it needed to.

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined Phaedrux marked this topic as a question
            • Phaedruxundefined Phaedrux has marked this topic as solved
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA