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

Duet 3 G31 'Heater Number'

Scheduled Pinned Locked Moved
General Discussion
4
16
568
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.
  • undefined
    Garfield
    last edited by 5 Jan 2020, 02:01

    Makes a little more sense - been at it for days so probably need to take a time out .... read so much I'm going word blind.

    On the G31 I was hoping to make use of the temperature compensation in the probe that I have - a BLTouch takes up too much space and I'd need to redesign my whole X Axis to accommodate so it isn't high on my preference list.

    If you consider my aluminium frame height of 540mm that I intend to enclose the expansion for a 10°C increase in temperature would be 0.11988mm, if I were to raise the temperature 20°C then the increase is 0.23976mm. Of course this occurs over the initial period of the print but I guess you could say that temperatures should be stabilised before you start - then no compensation is required.

    Trying to fix a problem that doesn't really exist I guess if the workflow changes a bit. I'll sleep on it ....

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by dc42 1 May 2020, 09:15 5 Jan 2020, 09:13

      @Garfield, your config looks OK to me so I don't know why you are getting that message. I will investigate it. I also need to change the error message to say "sensor" instead of "heater" in RRF3.

      I was intending to remove the temperature compensation facility because I didn't think anyone was using it; but when I became aware of Pinda probes with built in thermistors, I changed my mind.

      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

      1 Reply Last reply Reply Quote 1
      • undefined
        Danal
        last edited by 5 Jan 2020, 09:20

        @dc42 said in Duet 3 G31 'Heater Number':

        I was intending to remove the temperature compensation facility because I didn't think anyone was using it; but when I became aware of Pinda probes with built in thermistors, I changed my mind.

        Should we remove that statement from the dozuki?

        Delta / Kossel printer fanatic

        undefined 1 Reply Last reply 5 Jan 2020, 10:16 Reply Quote 0
        • undefined
          dc42 administrators @Danal
          last edited by 5 Jan 2020, 10:16

          @Danal said in Duet 3 G31 'Heater Number':

          @dc42 said in Duet 3 G31 'Heater Number':

          I was intending to remove the temperature compensation facility because I didn't think anyone was using it; but when I became aware of Pinda probes with built in thermistors, I changed my mind.

          Should we remove that statement from the dozuki?

          I already have.

          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

          1 Reply Last reply Reply Quote 1
          • undefined
            dc42 administrators
            last edited by dc42 1 May 2020, 10:21 5 Jan 2020, 10:19

            @Garfield, first check that you are getting a sensible temperature reading on sensor 2. Name the sensor in the M308 command using an A parameter, then look in the Extras tab of DWC to see the reading.

            If you do get a good reading but you still get that error message, try adding a short delay between the M308 command that creates sensor 2 and the G31 command that uses it, for example by inserting G4 P500 command between those lines in config.g.

            [Edited]

            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

            1 Reply Last reply Reply Quote 0
            • undefined
              Garfield
              last edited by 5 Jan 2020, 10:20

              I'm on it - 👍 I shall let you know.

              1 Reply Last reply Reply Quote 0
              • undefined
                Garfield
                last edited by 5 Jan 2020, 11:05

                Same error with the delay, the sensor is reading - showing 23.9 perhaps a tad high but I hadn't got as far as verifying calibrations but it is definitely reading (called it PINDA) .

                Pinda.png

                1 Reply Last reply Reply Quote 0
                • undefined
                  Garfield
                  last edited by Garfield 1 May 2020, 16:07 5 Jan 2020, 16:07

                  This seems to be working now BUT ....

                  It didn't work following a board reset, power cycling the Duet seems to have resolved, the error has disappeared.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 5 Jan 2020, 18:22

                    Thanks. I've rewritten that code in RRF 3.1 so that the delay should not be needed.

                    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

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Garfield
                      last edited by 9 Jan 2020, 17:57

                      Well unfortunately no code change but the error is now back ... so I still get the error.

                      Definition code as confirmation

                      ; PINDA - Z-Probe
                      M308 S2 P"temp2" Y"thermistor" T100000 A"PINDA" B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2
                      G4 P500
                      M558 P5 C"!io5.in" H2 F120 T6000                      ; set Z probe type to switch
                      G31 P1 X-57 Y-7 Z2.0 C0.2 S40 H2                      ; set Z probe trigger, offset, trigger height, temperature compensation
                      

                      error has returned ...

                      G31 Error.png

                      undefined 1 Reply Last reply 14 Apr 2020, 02:35 Reply Quote 0
                      • undefined
                        antlestxp @Garfield
                        last edited by 14 Apr 2020, 02:35

                        @Garfield how far did you get with setting up your pinda. I have the v2 installed currently along with the temperature readout. I am seeing huge changes in probe height depending on temperature. Not sure how to get it to actually compensate for the temperature it reads.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Garfield
                          last edited by Garfield 14 Apr 2020, 08:21

                          It is working pretty well now, took a while to dial in. The compensation is done in the G31 line, the C0.2 S40, which is the compensation I'm applying and the temperature I base it on, it seems mostly to work although I do occasionally see glitches in the matrix when it comes to the initial layer. If I use an Aluminium compensation (expansion coeefficient) it doesn't seem to work as well.

                          The trigger height, not the Z2.0, but the actual height that triggers the probe does seem to vary regardless of temperature change, as yet I've found no solution. Basically if I run concecutive probes in the same spot the trigger height will change by a very tiny amount until you get to the 10th iteration or so and then it seems to stabilise.

                          I know my bed movement is consistent and accurate as I have measured it with a dial test indicator.

                          I now have it mostly working so I haven't pursued this much - suppose I should - but the pursuit of perfection is a never ending pursuit

                          undefined 1 Reply Last reply 15 Apr 2020, 19:16 Reply Quote 0
                          • undefined
                            antlestxp @Garfield
                            last edited by 15 Apr 2020, 19:16

                            @Garfield I am going to see if your c0.2 works for me. I can't find any details on how it is calculated as well as the s40. Right now I left out the C and S command and only home or probe the bed at room temperature. I am also using the the temperature of the pinda as reference. I wonder if it would be best to use the bed. I was hoping to be able to get it to home with at least some heat in the bed. If I try and run another print with the bed still warm I risk the nozzle hitting the bed.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Garfield
                              last edited by 15 Apr 2020, 19:44

                              The S40 is basically the temperature at which the Z height is correct with no 'adjustment' for temperature - as in the calibration point with no adjustment needed.

                              I thought the co-efficient would be the co-efficient of expansion for the bulk of the materials - in my case mostly aluminium but that as a thermal expansion co-efficient of 0.000023 (m/m per Deg C), which I tried but it doesn't function as expected, I keep telling myself to inspect the code and see how the formula is applied but never got around to it.

                              Basically what I tried was to set S to my room temp (21), calibrate Z, then heat my bed to 80 Deg C, I expected the trigger height to be reduced by 0.008 (ish) but the trigger height simply isn't repeatable enough to claim any accuracy - and the number so small that I stopped caring to be honest.

                              I guess at some point I will circle around to it again.

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