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

    Duet 2 Wifi 3 Heater control using bed output + messed up tools

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    40
    1.4k
    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.
    • mikep91undefined
      mikep91 @DIY-O-Sphere
      last edited by

      @DIY-O-Sphere

      Yeah i enabled it to check if my 3rd heater shows up in that spot - that happens some times... :S

      DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
      • DIY-O-Sphereundefined
        DIY-O-Sphere @mikep91
        last edited by

        @mikep91
        You are mapping heater1 to the bed....

        (UTC+1)

        mikep91undefined 1 Reply Last reply Reply Quote 0
        • mikep91undefined
          mikep91 @DIY-O-Sphere
          last edited by

          Yes I need to use the "bedheat" output to heat up my 3rd heater as the two other heater outputs is used.

          However I am mismatching sensors, tools and heaters somehow in my config, so nothing aligns up :(!

          @DIY-O-Sphere wtf.jpg

          mikep91undefined 1 Reply Last reply Reply Quote 0
          • mikep91undefined
            mikep91 @mikep91
            last edited by

            @mikep91

            This one bedheater shows 101c but that doesnt show anywhere in my DWC - vise versa

            DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
            • DIY-O-Sphereundefined
              DIY-O-Sphere @mikep91
              last edited by

              @mikep91

              ; Heaters
              M140 H-1                                   ; disable heated bed (overrides default heater mapping)
              
              M308 S0 P"spi.cs3" Y"rtd-max31865"          ; configure sensor 0 as PT100 on pin spi.cs3
              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 S120                                ; set temperature limit for heater 0 to 120C
              
              M308 S1 P"spi.cs1" Y"rtd-max31865"  ; configure sensor 1 as thermocouple via CS pin spi.cs1
              M950 H1 C"e0heat" T1                        ; create nozzle heater output on e0heat 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
              
              M308 S2 P"spi.cs2" Y"rtd-max31865" ; configure sensor 2 as thermocouple via CS pin spi.cs2
              M950 H2 C"e1heat" T2                        ; create nozzle heater output on e1heat and map it to sensor 2
              M307 H2 B0 S1.00                            ; disable bang-bang mode for heater  and set PWM limit
              M143 H2 S280                                ; set temperature limit for heater 2 to 280C
              
              
              ; Tools
              
              M563 P0 H0 F0                               ; define tool 1
              G10 P0 X0 Y0 Z0                             ; set tool 1 axis offsets
              G10 P0 R0 S0                                ; set initial tool 1 active and standby temperatures to 0C
              
              M563 P1 H1 F0                               ; define tool 2
              G10 P1 X0 Y0 Z0                             ; set tool 2 axis offsets
              G10 P1 R0 S0                                ; set initial tool 2 active and standby temperatures to 0C
              
              M563 P2 H2 F0                               ; define tool 3
              G10 P2 X0 Y0 Z0                             ; set tool 3 axis offsets
              G10 P2 R0 S0                                ; set initial tool 3 active and standby temperatures to 0C
              

              Try that

              (UTC+1)

              mikep91undefined 1 Reply Last reply Reply Quote 0
              • mikep91undefined
                mikep91 @DIY-O-Sphere
                last edited by

                @DIY-O-Sphere

                Does not work properly either.

                I think maybe my heaters, sensors & tools is mismatching somehow.

                When i PID turned heater 3 it didnt heat properly either.

                DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                • DIY-O-Sphereundefined
                  DIY-O-Sphere @mikep91
                  last edited by

                  @mikep91

                  I suspect the firmware is confused because it is not a complete configuration.
                  Maybe you can describe what you want to do.
                  As I understand it, you only want to control 3 heaters?

                  (UTC+1)

                  mikep91undefined 1 Reply Last reply Reply Quote 0
                  • mikep91undefined
                    mikep91 @DIY-O-Sphere
                    last edited by

                    @DIY-O-Sphere

                    Yes i want to control just 3 different heaters (all for an extruder/hotend), one from the bed output on the duet. two others from the regular E outputs.
                    and all with 3 different sensors - PT100 on the duet aswell

                    Then i want to map the 3 sensors and heaters to heater 1 2 and 3 , but it keeps turning up as they are mixed up, or one of them on the bed heater output...

                    Looking something like this:

                    M308 S0 P"spi.cs3" Y"rtd-max31865" ; configure sensor 0 as PT100 on pin spi.cs3
                    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 S280 ; set temperature limit for heater 0 to 120C

                    M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1
                    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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

                    M308 S2 P"spi.cs2" Y"rtd-max31865" ; configure sensor 2 as thermocouple via CS pin spi.cs2
                    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
                    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                    M143 H2 S280 ; set temperature limit for heater 2 to 280C

                    I am quite confused of the P1, P2 and how to configure them to the correct "tool" in the dwc and duet display - so i am sure my heaters match etc.

                    M563 P1 H0 F0 ; define tool 1
                    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
                    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

                    M563 P2 H1 F0 ; define tool 2
                    G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
                    G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

                    M563 P3 H2 F0 ; define tool 3
                    G10 P3 X0 Y0 Z0 ; set tool 3 axis offsets
                    G10 P3 R0 S0 ; set initial tool 3 active and standby temperatures to 0C

                    DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                    • DIY-O-Sphereundefined
                      DIY-O-Sphere @mikep91
                      last edited by

                      @mikep91
                      The tool count starts with 0.
                      So P0 Is tool1

                      (UTC+1)

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

                        Also make sure your firmware is update and that DWC version matches. You should also update your paneldue firmware.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        mikep91undefined 1 Reply Last reply Reply Quote 0
                        • mikep91undefined
                          mikep91 @Phaedrux
                          last edited by

                          @Phaedrux

                          Paneldue is up to 1.25 now this was updated and works great!

                          Looking at the PT100 - which side is spi.cs1 & which side is spi.cs2? when i plug another one on top - i suppose that becomes spi.cs3&4?

                          pt100.png

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

                            The sides have silk screen labels of RTD1 and RTD2.
                            And yes when you stack two of them the next ones are spi.cs3 & 4.

                            Z-Bot CoreXY Build | Thingiverse Profile

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

                              @mikep91 said in Duet 2 Wifi 3 Heater control using bed output + messed up tools:

                              Paneldue is up to 1.25

                              Should probably update to the 3.x firmware there as well.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              mikep91undefined 1 Reply Last reply Reply Quote 0
                              • mikep91undefined
                                mikep91 @Phaedrux
                                last edited by mikep91

                                @Phaedrux

                                The 1.25 works on 2x setups with only 2 heaters - I am only having problems assigning the heaters on the 3rd setup that needs 3 heaters.

                                Could a problem be that i start up by assigning H0? Looking at the duet display - i am using the 3 marked heaters. - e0heat - e1heat and H3 "bedheat"

                                heater123.png

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

                                  Why are you using the expansion header? Why not the actual bed heater output?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  mikep91undefined 1 Reply Last reply Reply Quote 0
                                  • mikep91undefined
                                    mikep91 @Phaedrux
                                    last edited by mikep91

                                    @Phaedrux

                                    It is for controlling a 3 heater hotend (Dyze Pulsar)

                                    Therefor I am turning off the bed heater - but my tool mapping seems to be wrong so i keep getting the 3rd temperature on the bed heater output instead of a 3rd tool - and at the same time I'm get them mismatched somehow....

                                    Will do some wiring checks and numbering of wires tomorrow hopefully sort it up.

                                    Am not using heated bed - so I know I should do a H-1 to turn it off. but the mapping seems to go on that tool

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

                                      Are you using a heated bed, or not?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      mikep91undefined 1 Reply Last reply Reply Quote 0
                                      • mikep91undefined
                                        mikep91 @Phaedrux
                                        last edited by mikep91

                                        @Phaedrux

                                        No - not controlled off the DUET - duet is only supposed to be controlling 3 heaters in one hotend

                                        Elaborated in answer above

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

                                          @mikep91 said in Duet 2 Wifi 3 Heater control using bed output + messed up tools:

                                          Am not using heated bed - so I know I should do a H-1 to turn it off. but the mapping seems to go on that tool

                                          If you're not using a bed heater you can use the output for your 3rd extruder heater, then you don't need to use the expansion headers, which aren't really intended to be used directly by a heater.

                                          If you don't define a bed heater you don't need a H-1 to disable it.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          mikep91undefined 1 Reply Last reply Reply Quote 0
                                          • mikep91undefined
                                            mikep91 @Phaedrux
                                            last edited by

                                            @Phaedrux

                                            Makes sense and would be alot better as the connections on the expansion is quite poor compared to the bed and extruder connections.

                                            How would the M command look for mapping the 3rd heater to the bed instead of the expansion?

                                            M308 S1 P"spi.cs3" Y"rtd-max31865" ;
                                            M950 H1 C"bedheat" T0 ;
                                            M307 H1 B0 S1.00 ;
                                            M143 H1 S280 ;

                                            Something like this - whilst not using H-1 to cancel it out?

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