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

    Reading Heated Chamber Temperature with M141 does not work

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    6
    297
    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.
    • CR3Dundefined
      CR3D
      last edited by CR3D

      Hi Community,

      we want to read out the chamber temperature with the command M141 for a host, but it does not work.

      For example the bed temperature reading with M141 works perfectly.

      In DWC the Chamber Temperature is shown correctly, also in the object model.

      Here are the Pics, the actual used firmware and the config:

      b5da0139-259d-4177-bb09-6f67896bce13-image.png

      8cca726f-571c-4622-aeb6-1beb3f5b7219-image.png

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" A"Druckbett" T100000 B4092          ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                                    ; create bed heater output on out0 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"temp1" Y"thermistor" A"Links" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1                                    ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
      
      M308 S2 P"temp2" Y"thermistor" A"Rechts" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2
      M950 H2 C"out2" T2                                    ; create nozzle heater output on out2 and map it to sensor 2
      M307 H2 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
      
      
      ;Chamber Temp
      M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek
      M950 H3 C"1.out8" T3                           ; create chamber heater output on e1heat and map it to sensor 3
      M307 H3 B0 S1.00                               ; disable bang-bang mode for the chamber heater and set PWM limit
      M141 P0 H3                                        ; map chamber to heater 3
      M143 H3 S70                                  ; set temperature limit for heater 3 to 80C
      

      Thank you in advance

      Regards Christian (CR-3D)

      Christian from CR-3D
      Homepage:
      www.cr-3d.de

      Facebook:
      https://www.facebook.com/cr3d.official

      Our Discord Server
      https://discord.gg/SxRaPNuRdA

      Thingiverse Profile:
      https://www.thingiverse.com/cr-3d_official/about

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

        Does the output change if the chamber heater is actually active that the time you check it?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @CR3D
          last edited by

          @cr3d said in Reading Heated Chamber Temperature with M141 does not work:

          M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek
          M950 H3 C"1.out8" T3 ; create chamber heater output on e1heat and map it to sensor 3

          This violates one of the limitations listed at https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          CR3Dundefined 1 Reply Last reply Reply Quote 1
          • CR3Dundefined
            CR3D @dc42
            last edited by

            @dc42

            Ok thank you! This was for testing -> i will place the heater to the mainboard and then it should work?

            Christian from CR-3D
            Homepage:
            www.cr-3d.de

            Facebook:
            https://www.facebook.com/cr3d.official

            Our Discord Server
            https://discord.gg/SxRaPNuRdA

            Thingiverse Profile:
            https://www.thingiverse.com/cr-3d_official/about

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @CR3D
              last edited by

              @cr3d said in Reading Heated Chamber Temperature with M141 does not work:

              @dc42

              Ok thank you! This was for testing -> i will place the heater to the mainboard and then it should work?

              Yes; or connect the thermistor to board 1.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              CR3Dundefined 1 Reply Last reply Reply Quote 0
              • CR3Dundefined
                CR3D @dc42
                last edited by

                @dc42 Thank you!

                Short report:

                I have added the Heater to Board 0 (mainboard) and now the M141 command works well!

                ; Heaters
                M308 S0 P"temp0" Y"thermistor" A"Druckbett" T100000 B4092          ; configure sensor 0 as thermistor on pin temp0
                M950 H0 C"out0" T0                                    ; create bed heater output on out0 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"temp1" Y"thermistor" A"Links" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
                M950 H1 C"out1" T1                                    ; create nozzle heater output on out1 and map it to sensor 1
                M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
                
                M308 S2 P"temp2" Y"thermistor" A"Rechts" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2
                M950 H2 C"out2" T2                                    ; create nozzle heater output on out2 and map it to sensor 2
                M307 H2 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
                
                
                ;Chamber Temp
                M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek
                M950 H3 C"out7" T3                           ; create chamber heater output on e1heat and map it to sensor 3
                M307 H3 B0 S1.00                               ; disable bang-bang mode for the chamber heater and set PWM limit
                M141 P0 H3                                        ; map chamber to heater 3
                M143 H3 S70                                  ; set temperature limit for heater 3 to 80C
                
                

                2d63a80c-0b66-43fa-b31d-3f8d28406db8-image.png

                Thank you for your help! 🙂

                Christian from CR-3D
                Homepage:
                www.cr-3d.de

                Facebook:
                https://www.facebook.com/cr3d.official

                Our Discord Server
                https://discord.gg/SxRaPNuRdA

                Thingiverse Profile:
                https://www.thingiverse.com/cr-3d_official/about

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