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

    Recent Upgrade to DuetWiFi w/ DC42 IR z probe

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    25
    4.2k
    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.
    • TwoToneundefined
      TwoTone
      last edited by

      @adavidm I had done that as part of the set up before auto cal.

      @dc42 please forgive the questions as I'm trying to learn.
      If during the initial auto cal I need to copy the M666 and M665 values into the config.g file and you say the config_override is not needed if calibrating before each print, how do the new values for the new calibration get saved?

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

        When you run a successful a G32, the new M665 and M666 values are used and remembered until you reset or power off the Duet.

        What I suggest is:

        1. Do initial calibration, by running auto calibration a few times until the deviation is stable (twice is probably enough), then copy the new M665 and M666 values into the M665 and M666 commands in config.g.

        2. Then whenever you power up the printer, the M665 and M666 values will be correct, or very close to correct. But you can run G32 before each print if you want, to allow for variations in temperature etc. These small variations are unlikely to be constant, so there is no need to save them for the next time you turn the printer on.

        3. Whenever you make changes to your printer, repeat #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

        1 Reply Last reply Reply Quote 0
        • adavidmundefined
          adavidm
          last edited by

          @TwoTone:

          @adavidm I had done that as part of the set up before auto cal.

          Ah, OK. In that case are you still "too high" after calibration? If so then I believe the H parameter of M665 is the one that needs to change, but this should not be done directly. See dougal1957's comment, below. Following calibration this should be the difference between Zmax (Taking endstop corrections into account) and Z0 (Taking Z-Probe offsets into account).

          The problem with tweaking this distance directly is that it will be overruled by running autocal again. Better to figure out why autocal is not getting you to the right height. How far out are you?

          Changing the G31 H parameter will ensure that the change is persisted across calibrations.

          EDIT - Changed wording to make it clear Dougal1957's advice is correct.

          1 Reply Last reply Reply Quote 0
          • Dougal1957undefined
            Dougal1957
            last edited by

            No don't tweak the M665 line it is the H param on the G31 line that needs adjusting.

            1 Reply Last reply Reply Quote 0
            • TwoToneundefined
              TwoTone
              last edited by

              Thanks again everyone, It's printing, just need to learn the Kisslicer settings now to get a good quality 1st layer.

              This is a tough process because you have to be careful in your research since you never know if what you're reading is accurate.

              Appreciate the forums here. I realized I hadn't done a PID Auto Tune since switching electronics so working on that now.

              This is what I got:
              M307 H1
              Heater 1 model: gain 415.1, time constant 185.9, dead time 9.2, max PWM 1.00, mode: PID
              Setpoint change: P8.7, I0.047, D56.0
              Load change: P8.7, I0.389, D56.0

              Do you have to limit the PWM with the S parameter? Tried researching that and can't find an answer if that is necessary.

              E3Dv6 12v with 40w heater.

              1 Reply Last reply Reply Quote 0
              • Dougal1957undefined
                Dougal1957
                last edited by

                It depends on which FW you are using think the later ones are much easier in that respect 1.18 range
                but they are still beta or RC Version's but I never ever bother about that they usually work very well and it is normally obscure bugs that get reported and don't normally effect the normal user if that makes sense

                Doug

                1 Reply Last reply Reply Quote 0
                • TwoToneundefined
                  TwoTone
                  last edited by

                  FW is 1.17e (2017-02-10)

                  I just notice that While H1 worked for the Hotend
                  H0 which I thought was the bed returns a bad parameter error.

                  I tried H2,3, and 4 - they don't return an error but don't heat the bed.

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

                    @TwoTone:

                    FW is 1.17e (2017-02-10)
                    I just notice that While H1 worked for the Hotend
                    H0 which I thought was the bed returns a bad parameter error.

                    I tried H2,3, and 4 - they don't return an error but don't heat the bed.

                    What is the command containing parameter H0 that returns an error?

                    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
                    • TwoToneundefined
                      TwoTone
                      last edited by

                      M303 H0 S130
                      Also tried without the S parameter.

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

                        Strange, lots of people have tuned their bed heaters using a command similar to that.

                        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
                        • TwoToneundefined
                          TwoTone
                          last edited by

                          I just remembered that the directions I followed for upgrading had the positive end of the bed wired directly to the PS and only used the negative for control connected to the Duet. Could that be the issue?

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

                            @TwoTone:

                            I just remembered that the directions I followed for upgrading had the positive end of the bed wired directly to the PS and only used the negative for control connected to the Duet. Could that be the issue?

                            That's for the case in which you have a separate power supply for the bed - is that what you 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 0
                            • TwoToneundefined
                              TwoTone
                              last edited by

                              No I have one PS for the entire printer.
                              But I just rewired it so that both bed wires are connected to the Duet and still get a bad parameter error.

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

                                What is the exact command you are sending?

                                Have you by any chance previously disabled the bed heater by sending M140 H-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

                                1 Reply Last reply Reply Quote 0
                                • TwoToneundefined
                                  TwoTone
                                  last edited by

                                  M303 H0 S130

                                  No I haven't disabled the bed heater. It still responds if I send a Temp to in the web interface.

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

                                    I found the problem. The default maximum bed heater temperature is 130C (send M143 H0 to display it). So you need to either use a lower target temperature in your M303 command, or increase the allowed bed temperature by sending e.g. M143 H0 S140 to increase it to 140C.

                                    I'll change the error message to make it more informative.

                                    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
                                    • TwoToneundefined
                                      TwoTone
                                      last edited by

                                      Thanks for your help.

                                      So now I'm getting Auto tune cancelled because temperature is not increasing.

                                      But the temp was increasing from 22.0 to 27 before it canceled.

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