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

Disable Heaters when probing

Scheduled Pinned Locked Moved
Firmware wishlist
4
14
2.3k
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
    GaRv3
    last edited by 2 May 2018, 15:03 5 Feb 2018, 15:01

    Well, I found that I need to create these scripts.

    In deployprobe.g I could use M144 to set the bet to its standby temperature, but how do I set the standby temperature? This would have to be 0 to make this work. In DWC there is not input field for the bed standby temperature.
    Additionally I could add M140 without any parameters to set the bed to its active temperature in retractprobe.g to enable the bed again.

    So how may I set the bed standby temp? M140 sets the active temp only.

    Btw. M144 does not toggle it. It turns it to standby and M140 without parameters turns it to active with the previous temp.

    1 Reply Last reply Reply Quote 0
    • undefined
      GaRv3
      last edited by 5 Feb 2018, 15:18

      Well, setting it back to active using M140 without parameters does not work on the Duet Wifi. The Documentations says about M144:
      "Switch the bed to its standby temperature. M140 turns it back to its active temperature; no need for any arguments for that use of M140."
      Is this a bug?

      The standby temp can be set using M140 Rnn. But this does not help, if it can't be reactivated using M140.

      1 Reply Last reply Reply Quote 0
      • undefined
        GaRv3
        last edited by 2 May 2018, 15:31 5 Feb 2018, 15:31

        Ok, so what I found now is that deployprobe.g and retractprobe.g are not executed at all.
        Btw.: I am using an NPN capacitive sensor connected to the E0 Endstop connector with mode 4 for M558. Maybe the scripts are not executed when using this mode!?!

        1 Reply Last reply Reply Quote 0
        • undefined
          GaRv3
          last edited by 2 May 2018, 17:12 5 Feb 2018, 17:09

          My final request would be:

          • Execute deployprobe.g and retractprobe.g when probing even when using mode 4 o M558 is set.
          • A command to disable all or specific heaters from scripts (e.g. retractprobe.g)
          • A command to enable the disabled heaters again and set them to the previous temperatures from script that does not know the temperatures (e.g. deployprobe.g).
          • Fix M144 -> M140 (setting the original temp)
          1 Reply Last reply Reply Quote 0
          • undefined
            garyd9
            last edited by 5 Feb 2018, 19:37

            @GaRv3:

            Well, setting it back to active using M140 without parameters does not work on the Duet Wifi. The Documentations says about M144:
            "Switch the bed to its standby temperature. M140 turns it back to its active temperature; no need for any arguments for that use of M140."
            Is this a bug?

            The standby temp can be set using M140 Rnn. But this does not help, if it can't be reactivated using M140.

            oops. I thought M144 was a toggle. My mistake. I don't use the command, but looked it up to try and help you.

            As for M140 with no args not setting it back to the active temperature, it sounds like either a bug or an error in the documentation. dc42?

            As for the other questions…

            I have no idea how you set the standby temperature, but I'd guess that it defaults to 0 (which is exactly what you want if you need to turn off the heater.)

            deploy/retract: If they aren't called, it's because of the probe type. There are g-code (m-code, actually) commands to call scripts directly, or just insert the needed commands into your script that wants to turn the heater on/off.

            (This isn't to take away from your requests... I'm just trying to help you accomplish what you need immediately.)

            "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

            1 Reply Last reply Reply Quote 0
            • undefined
              Chipsa82
              last edited by 5 Feb 2018, 19:41

              GaRv3, do you have any details on why turning off the heaters should be beneficial in terms of probe accuracy? Quite interested in this, thanks!

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 6 Feb 2018, 00:17

                @GaRv3:

                Ok, so what I found now is that deployprobe.g and retractprobe.g are not executed at all.
                Btw.: I am using an NPN capacitive sensor connected to the E0 Endstop connector with mode 4 for M558. Maybe the scripts are not executed when using this mode!?!

                Are you running old firmware? Firmware 1.19 and later run deployprobe.g and retractprobe.g automatically before and after probing, unless you execute M401 (which runs deployprobe.g) explicitly first.

                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
                  GaRv3
                  last edited by 6 Feb 2018, 02:17

                  No, I am at 1.20

                  I added M144 to deployprobe.g which should set the bed heater to standby. It does so when I enter M144 in the console but not when doing a mesh compensation probing G29 at the beginning of a gcode file. The heater stays active all the time and keeps heating the bed.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 6 Feb 2018, 09:20

                    Do you have your deployprobe.g and retractprobe.g files in the correct location? They should be in /sys. You can also put M117 commands in them to check that they are being executed.

                    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
                      GaRv3
                      last edited by 6 Feb 2018, 13:05

                      Ok, I had a typo in the deployprobe.g filename.

                      But this is not gonna work anyway because of the following reasons.

                      1. M140 (without parameters) does NOT reactivate the heater. This probably is a bug.

                      2. The scripts are called at the very beginning and end of the mesh calibration. This is not what is needed for sensors of this type because the leveling will take a while and bed temperature drops quite a lot which will result in completely different offsets at the start and end. The heaters have to be turned off when the probe moves down (until it triggers) and back on, when the probe starts moving up again (right after triggering). So the bed heater would be shut off several times (at each probe position) for a second or so when the probe moves down and stay on for the rest of the time. This would keep the bed temperature relatively stable and allow precise mesh compensation.

                      3. The hotend still cannot be turned off and on again.

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