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

    Heaters not remapping upgrading from RRFv2 to v3.3

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    2
    4
    203
    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.
    • grabercarsundefined
      grabercars
      last edited by

      I finally decided to take the plunge and upgrade my deltabot printer from v2 to v3 firmware. This was very scary in concept, and not so hard in reality. Except that the bed and hotend heaters didn't remap properly. Honestly the V3 codes are much harder for me to understand and 5 hours into this I still can't edit my way out of the problem. Aside from feeling like a loser, the heater remapping is my problem that I need help with.

      I'm using a 24v SuperVolcano hotend and a 110v SSR controlled bed heater. Because of this I have the heater and bed outputs remapped/swapped. The bed heater mosfet being better suited to the current draw from the 80W SuperVolcano heater, and the Duet hotend mosfet controlling the bed SSR.

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later

      My functional 'Heaters' code from my V2 config.sys is;

      ; Heaters
      M140 H1                                     ; remap heated bed to heater 1
      M307 H1 B0 S1.0                             ; disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B4388 R4700                 ; set thermistor + ADC parameters for heater 0
      M143 H0 S290                                ; set temperature limit for heater 0 to 280C
      M305 P1 T100000 B3950 R4700                 ; set thermistor + ADC parameters for heater 1
      M143 H1 S120                                ; set temperature limit for heater 1 to 120C
      

      I used the RRF config tool and uploaded my v2 JSON template, specifying V3 config.sys output. But this is not working.

      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0                                   ; create nozzle heater output on bedheat and map it to sensor 0
      M307 H0 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
      M143 H0 S290                                            ; set temperature limit for heater 0 to 290C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4092           ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                                    ; create bed heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00                                        ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H1                                                 ; map heated bed to heater 1
      M143 H1 S120                                            ; set temperature limit for heater 1 to 120C
      
      1 Reply Last reply Reply Quote 0
      • grabercarsundefined
        grabercars
        last edited by grabercars

        RRF Config Tool Settings:

        What am I doing wrong here?

        I/O Mapping screenshot:

        bd24f27e-8c4e-42c8-bf67-cc877203b2e5-image.png

        Heaters screenshot:

        6edc76ad-882e-40e0-b6a7-2de41348f880-image.png

        Web Interface screenshot: Notice that the bed heat is working but the hotend is disabled:
        This is what I get when using the code generated above by the RRF Config Tool.
        c85d0aee-0b0d-4cdf-8da0-364025d53659-image.png

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

          Please post your full config.g. Perhaps your tool definition doesn't have the heater assigned to it.

          Going through the config tool when I select it all the same way you have it, it does deselect the heater entirely for the tool, so somehow it has confused it.

          Try doing this instead,
          991d9b11-d853-429e-b431-f25eab83ad3f-Screen Shot 2021-06-29 at 4.59.12 PM.png
          Screen Shot 2021-06-29 at 4.59.12 PM.png

          which does seem to work and give s you this gcode:

          ; Heaters
          M308 S0 P"e0temp" Y"thermistor" T100000 B3950           ; configure sensor 0 as thermistor on pin e0temp
          M950 H0 C"e0heat" T0                                    ; create bed heater output on e0heat and map it to sensor 0
          M307 H0 B0 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
          M308 S1 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin bedtemp
          M950 H1 C"bedheat" T1                                   ; create nozzle heater output on bedheat and map it to sensor 1
          M307 H1 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
          M143 H1 S280                                            ; set temperature limit for heater 1 to 280C
          
          ; Fans
          M950 F0 C"fan0" Q500                                    ; create fan 0 on pin fan0 and set its frequency
          M106 P0 S0 H-1                                          ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"fan1" Q500                                    ; create fan 1 on pin fan1 and set its frequency
          M106 P1 S1 H1 T45                                       ; set fan 1 value. Thermostatic control is turned on
          
          ; Tools
          M563 P0 D0 H1 F0                                        ; define tool 0
          G10 P0 X0 Y0 Z0                                         ; set tool 0 axis offsets
          G10 P0 R0 S0                                            ; set initial tool 0 active and standby temperatures to 0C
          

          Z-Bot CoreXY Build | Thingiverse Profile

          grabercarsundefined 1 Reply Last reply Reply Quote 0
          • grabercarsundefined
            grabercars @Phaedrux
            last edited by

            @phaedrux -- Problem resolved on my end.

            Thank you very much for getting me over that hurdle. I'm very appreciative of your time and expertise with something that really had me stumped.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA