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

multiple Z-Probe trigger heights in config-override.g

Scheduled Pinned Locked Moved
General Discussion
4
12
556
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
    benecito
    last edited by 17 Jul 2021, 15:31

    I have 2 Z-Probes configured in RRF3.3 where the first (K0) is an IR-probe, and the second (K1) is a switch (type 8).
    If I save my trigger height using M500 P31 I only have values for the first one. Is there a way to store both? As a matter of fact the second one would be enough but if I switch K0 and K1 the IR probe does not work anymore (which I believe was one of the limitations)

    undefined 1 Reply Last reply 17 Jul 2021, 15:49 Reply Quote 0
    • undefined
      fcwilt @benecito
      last edited by 17 Jul 2021, 15:49

      @benecito

      In theory the trigger height settings for each probe is a constant that once determined does not change.

      Just enter the values into the config.g and forego the use of config-override.g

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 1 Reply Last reply 17 Jul 2021, 16:11 Reply Quote 0
      • undefined
        benecito @fcwilt
        last edited by 17 Jul 2021, 16:11

        @fcwilt In theory you are right 😉
        But there are occasions where you might want to (or need to) change them. And I don't want my customers to go into config or alike but only use G-Code commends. And they will most likely need to change them at some point.

        undefined 1 Reply Last reply 17 Jul 2021, 16:48 Reply Quote 0
        • undefined
          fcwilt @benecito
          last edited by 17 Jul 2021, 16:48

          @benecito said in multiple Z-Probe trigger heights in config-override.g:

          @fcwilt In theory you are right 😉
          But there are occasions where you might want to (or need to) change them. And I don't want my customers to go into config or alike but only use G-Code commends. And they will most likely need to change them at some point.

          So you think that limiting customers to executing G-code commands will prevent them from messing things up?

          Never underestimate the power of a customer to mess things up. Some of them seem to view it as a challenge 😉

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 17 Jul 2021, 16:51 Reply Quote 0
          • undefined
            benecito @fcwilt
            last edited by 17 Jul 2021, 16:51

            @fcwilt said in multiple Z-Probe trigger heights in config-override.g:

            So you think that limiting customers to executing G-code commands will prevent them from messing things up?

            Never underestimate the power of a customer to mess things up. Some of them seem to view it as a challenge 😉

            Well, the beautiful thing about my setup is, they need a password for it. But I'm sure someone will try hard enough to manage to mess something up 🙄
            Still I don't want to make it too easy

            1 Reply Last reply Reply Quote 1
            • undefined
              benecito
              last edited by 27 Jul 2021, 05:41

              So there is no way to do this? I mean you can set it in config-override for one probe and you can create multiple probes. Would it not make sense to store the values for all the probes in config-override?
              Not jet implemented, not planned or did I do something wrong?
              @dc42 @Phaedrux

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 27 Jul 2021, 17:49

                I'm not sure if the mechanism for M500 P31 to save multiple probes is implemented yet. The multiprobe feature is still quite new. I'll see where it's at.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 27 Jul 2021, 18:06

                  @phaedrux said in multiple Z-Probe trigger heights in config-override.g:

                  I'm not sure if the mechanism for M500 P31 to save multiple probes is implemented yet. The multiprobe feature is still quite new. I'll see where it's at.

                  Yes the code is written to save the trigger heights of multiple Z probes.

                  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

                  undefined 1 Reply Last reply 27 Jul 2021, 18:08 Reply Quote 0
                  • undefined
                    dc42 administrators @dc42
                    last edited by dc42 27 Jul 2021, 18:08

                    ... and it is working for me:

                    ; config-override.g file generated in response to M500 at 2021-07-27 19:07
                    ; This is a system-generated file - do not edit
                    ; Delta parameters
                    M665 L361.676:361.676:361.676 R180.659 H470.213 B150.0 X-0.308 Y-0.171 Z0.000
                    M666 X-1.052 Y0.116 Z0.936 A0.37 B0.07
                    ; Heater model parameters
                    M307 H0 R0.197 C1182.100:1182.100 D2.40 S1.00 V0.0 B0 I0
                    M307 H1 R8.030 C99.000:99.000 D0.70 S1.00 V24.0 B0 I0
                    ; Z probe parameters
                    G31 K0 P100 X0.0 Y0.0 Z-0.10
                    G31 K1 P500 X0.0 Y0.0 Z0.70
                    ; Workplace coordinates
                    G10 L2 P1 X0.00 Y0.00 Z0.00
                    G10 L2 P2 X0.00 Y0.00 Z0.00
                    G10 L2 P3 X0.00 Y0.00 Z0.00
                    G10 L2 P4 X0.00 Y0.00 Z0.00
                    G10 L2 P5 X0.00 Y0.00 Z0.00
                    G10 L2 P6 X0.00 Y0.00 Z0.00
                    G10 L2 P7 X0.00 Y0.00 Z0.00
                    G10 L2 P8 X0.00 Y0.00 Z0.00
                    G10 L2 P9 X0.00 Y0.00 Z0.00
                    

                    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
                      benecito
                      last edited by 27 Jul 2021, 20:31

                      @dc42
                      Is it working in the 3.4 beta or in 3.3 as well? I tried on 3.3 the day I posted it, but it didn‘t work for me - if I had two probes it only saved one on them.
                      But if it should work on 3.3 I‘ll try again!

                      undefined 1 Reply Last reply 27 Jul 2021, 20:33 Reply Quote 0
                      • undefined
                        dc42 administrators @benecito
                        last edited by 27 Jul 2021, 20:33

                        @benecito I tested in 3.4beta, however I don't recall changing that area of code between 3.3 and 3.4beta.

                        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

                        undefined 1 Reply Last reply 27 Jul 2021, 20:42 Reply Quote 0
                        • undefined
                          benecito @dc42
                          last edited by 27 Jul 2021, 20:42

                          @dc42
                          Thanks I‘ll try as soon as I find time and get back to you if needed.

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