Bug report - multiple heaters induced Panel Due bug



  • Panel Due i5 with firmware 1.23.2

    4 heaters been configured: H0 (Bed), H1 (Chamber), H3 (Tool 0), H4 (Tool 1)
    H2 didn't used.

    I set each temperature as: H0=20, H1=21, H3=23, H4=4

    On DWC everything looks good:
    2020-03-02 21.37.31 (resized).jpg

    On Panel Due i5...
    2020-03-02 21.37.45 (resized).jpg

    1. Chamber icon is missing
    2. H2 was displayed as 2000'c (aka not connected) even it's not used.
    3. Using... it lead to more strange behavior... video is easier to explain: https://youtu.be/tQO-coQhFPg
      Basically... H2 input on Panel Due will goes H4. H3 input will lead to error. H4 input will lead to error

    While everything works good at DWC.

    Suggestion:
    It probably be better idea to use "0" for Tool0 icon, instead of current "1"

    Related config.g as following

    M307 H7 A-1 C-1 D-1                     ; disable the heater7(duet:E6/PWM5@duex5) to free up PWM5
    
    ; Heater-Bed
    M305 P0 X0 T100000 B4138 R4700          ; set heater0(duet:BED@duet2wifi) to use thermistor0(duet:BED@duet2wifi), add ADC parameters
    M143 H0 S120                            ; set temperature limit for heater0 to 120C
    
    ; Heater-Chamber
    M141 H1                                 ; set heater1(duet:E0@duet2wifi) as chamber
    M305 P1 X1 T100000 B4138 R4700          ; set heater1(duet:E0@duet2wifi) to use thermistor1(duet:E0@duet2wifi), add ADC parameters
    M143 H1 S80                             ; set temperature limit for heater1 to 80C
    
    ; Heater-Tools
    M305 P3 X204                            ; set heater3(duet:E2@duex5) to use PT100(channel204@duex5)
    M143 H3 S280                            ; set temperature limit for heater3 to 280C
    M305 P4 X205                            ; set heater4(duet:E3@duex5) to use PT100(channel205@duex5)
    M143 H4 S280                            ; set temperature limit for heater4 to 280C
    
    ; Tools
    M563 P0 S"Tool 0" D0 H3 F0              ; define tool0 as "Tool 0", using drive5(D0)+heater3(H3)+fan0(F0)     // D0=drive5 as it's re-sequenced after drive4
    G10 P0 X0 Y0 Z0                         ; set tool0 axis offsets
    G10 P0 R0 S0                            ; set initial tool0 active and standby temperatures to 0C
    M563 P1 S"Tool 1" D1 H4 F0              ; define tool0 as "Tool 1", using drive6(D1)+heater3(H3)+fan0(F0)     // D1=drive6 as it's re-sequenced after drive4
    G10 P0 X0 Y0 Z0                         ; set tool0 axis offsets
    G10 P0 R0 S0                            ; set initial tool0 active and standby temperatures to 0C
    

    First post 😜


  • Moderator

    @titusou said in Bug report - multiple heaters induced Panel Due bug:

    1. Chamber icon is missing

    There is no chamber icon on the PanelDue. The PanelDue doesn't support setting the chamber temperature. It has been requested, eg https://forum.duet3d.com/topic/13625/paneldue-chamber-temperature

    H2 was displayed as 2000'c (aka not connected) even it's not used.

    The PanelDue is not smart. It displays the heaters in order from the first defined heater to the last, sequentially. So it shows ALL heaters between first and last defined heater. You have defined H0, H1, H3, H4. It shows H0, H1, H2, H3, H4, even though H2 is not defined.

    Using... it lead to more strange behavior ... H2 input on Panel Due will goes H4. H3 input will lead to error. H4 input will lead to error

    The extra H2 heater, and the chamber heater, is confusing the PanelDue. It would be best to define the heaters sequentially, with the bed first, then tools, then chamber (which should then show at the end, though would not be settable), with no spare heaters between. So bed is H0, Tool 0 is H1, Tool 1 is H2, Chamber is H3. This should then display 4 heaters, with no gaps. If you are going to add more tools/heaters, at them after H2, moving Chamber to the last connection.

    Also...

    M305 P0 X0 T100000 B4138 R4700          ; set heater0(duet:BED@duet2wifi) to use thermistor0(duet:BED@duet2wifi), add ADC parameters
    M305 P1 X1 T100000 B4138 R4700          ; set heater1(duet:E0@duet2wifi) to use thermistor1(duet:E0@duet2wifi), add ADC parameters
    

    T100000 B4138 is the default thermistor setting, for a Honeywell 135-104QAD-J01 thermistor that shipped with hot ends from RepRapPro, who have been out of business for 4 years! So I doubt you have the correct thermistor settings, and likely the temperature your bed and chamber are reporting are not accurate. All 100k ohm thermistors have a resistance of 100k ohms at 25C, and will be fairly accurate at room temperature, but they report very differently as they get hotter. So please check what thermistors you have in your bed and chamber, and set them correctly.

    Ian



  • @dc42 could you or anyone familiar with panelDue firmware try to fix this, please? I made a similar request on github issues earlier (and not so friendly - sorry about that) but got no reply. It seems that the firmware has not been updated much for almost 1 year, despite its flaws.
    If you don't intend to continue development / support then I would at least ask you to let us know and discontinue production / sales. If I had known, I would have invested in another wifi-enabled touchscreen in order to at least have DWC.

    This is what is displayed on my 7"panel running 1.23.2 firmware:

    IMG_20200307_123702.jpg

    Only heater 0 is configured, touch screen does not work (need to press buttons in column heater1 to actually edit value of corresponding column.....)

    Setup in config.g:

    ; Heaters
    M307 H0 B0 S1.00                                   ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 C0 R4700                     ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120                                       ; Set temperature limit for heater 0 to 120C
    ; Disable Heater 1 and 2 (not used)
    M307 H1 A-1 C-1 D-1 ;
    M307 H2 A-1 C-1 D-1 ;
    M305 P3 S"DueX Heater 0" T100000 B4138 C0 R4700 X3                ; Set thermistor + ADC parameters for heater 1 and remap it to channel 3
    M143 H3 S280                                       ; Set temperature limit for heater 1 to 280C
    M307 H3 A595.1 C124.8 D7.8 B0								 ; Set PID values
    M305 P4 S"DueX Heater 1" T100000 B4138 C0 R4700 X4                  ; Set thermistor + ADC parameters for heater 2 and remap it to channel 4
    M143 H4 S280                                       ; Set temperature limit for heater 2 to 280C
    ; M307 H4 A C D B0								 ; Set PID values
    M305 P5 S"DueX Heater 2" T100000 B4138 C0 R4700 X5                  ; Set thermistor + ADC parameters for heater 3 and remap it to channel 5
    M143 H5 S280                                       ; Set temperature limit for heater 3 to 280C
    ; M307 H5 A C D B0								 ; Set PID values
    M305 P6 S"DueX Heater 3" T100000 B4138 C0 R4700 X6                  ; Set thermistor + ADC parameters for heater 4 and remap it to channel 6
    M143 H6 S280                                       ; Set temperature limit for heater 4 to 280C
    ; M307 H6 A C D B0								 ; Set PID values
    M305 P7 S"DueX Heater 4" T100000 B4138 C0 R4700 X7                  ; Set thermistor + ADC parameters for heater 5 and remap it to channel 7
    M143 H7 S280                                       ; Set temperature limit for heater 5 to 280C
    ; M307 H7 A C D B0								 ; Set PID values
    

    PS: How does it work on E3D toolchanger?? Do things work on Duet3 / PanelDue the way they are supposed or is no / another display used for E3D?



  • @Googliola I got this fixed by rewiring as what @droftarts suggested: H0 bed, H1 tool0, H2 tool1, H3 chamber.

    Yep I tried the same "disable heater", no joy. Do the rewiring with bed>tool>chamber sequence. Seems the only way. Not idea but at least it works.


  • Moderator

    @titusou I updated the PanelDue page with the current limitations to make these issues clear. See https://duet3d.dozuki.com/Wiki/Connecting_an_LCD_control_panel#Section_Limitations

    Ian



  • @titusou Thanks for pointing that out. I still think that this is not an acceptable solution. Why would I need to rewire my heaters just to get things right on the panel? Wiring is complex anyway, so I tried to simplify it by using Duex5 for all my heaters (except bed of course). So, still, I think PanelDue is an inferior solution to any wifi enabled touch screen device out there. And I cannot recommend to buy it - except for simple default setups, which is not what Duet boards are made for, right?

    I won't keep banging my head on the same spot regarding this issue, but still hope that this will be fixed soon. Or then I just toss it and replace it with wifi touch.


Log in to reply