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

    Switch Z-probe not inverting

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    46
    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.
    • deckingmanundefined
      deckingman
      last edited by

      Just looking through the wiki, you may have to use S2 at the end of M574? - not sure.

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

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

        The E parameter was removed from M574 many firmware versions ago. Use the I1 parameter in the M558 command to invert the Z probe polarity.

        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

        madmattcoundefined 1 Reply Last reply Reply Quote 0
        • madmattcoundefined
          madmattco @dc42
          last edited by

          @dc42 said in Switch Z-probe not inverting:

          The E parameter was removed from M574 many firmware versions ago. Use the I1 parameter in the M558 command to invert the Z probe polarity.

          I tried that. It didn't work

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

            @madmattco, that's uppercase letter I followed by digit 1. Not the vertical bar character.

            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
            • madmattcoundefined
              madmattco
              last edited by

              Correct. I even did a direct copy and paste from the guide when i was testing. Nothing inverts it

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

                Which firmware version are you using?

                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
                • madmattcoundefined
                  madmattco
                  last edited by

                  RepRapFirmware for Duet 2 WiFi/Ethernet version 1.21 running on Duet WiFi 1.02 or later

                  1 Reply Last reply Reply Quote 0
                  • madmattcoundefined
                    madmattco
                    last edited by

                    Just tried the beta aswell. No luck

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

                      What is the exact M558 command that you tried? Are you certain that there isn't another M558 line later in config.g ?

                      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
                      • madmattcoundefined
                        madmattco
                        last edited by

                        0_1530394460156_config.g

                        1 Reply Last reply Reply Quote 0
                        • madmattcoundefined
                          madmattco
                          last edited by

                          It is set to I0 in that file but I also tried I1 too

                          1 Reply Last reply Reply Quote 0
                          • madmattcoundefined
                            madmattco
                            last edited by

                            Would it be prudent to try a version where the E param was still valid in M574?

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

                              That M558 command looks ok to me. Changing between I0 and I1 should make the Z probe reading when not triggered change between 0 and 1000.

                              Check that you don't have a M558 command in config-override.g.

                              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
                              • deckingmanundefined
                                deckingman
                                last edited by

                                I've just had a thought - does the switch have a series LED by any chance? The Metrol positioning switch that I use does, and so the value for the probe reading doesn't go to zero but only down to around 600 IIRC. So I use P1 for the probe type in my M558 and then in G31 I use P700 for the trigger value. Even if the switch doesn't have an LED, it might be worth checking that the Z probe reading does in fact go to zero when triggered. If it doesn't, using P1 for the probe type and setting an appropriate trigger threshold in G31 might be a solution?

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

                                1 Reply Last reply Reply Quote 0
                                • madmattcoundefined
                                  madmattco
                                  last edited by

                                  I don't have a config-override file. And there is no led here. this is a film touch switch style leveling probe that attaches to the nozzle

                                  1 Reply Last reply Reply Quote 0
                                  • madmattcoundefined
                                    madmattco
                                    last edited by

                                    @deckingman can you or @dc42 tell me exactly what the trigger value is for? ive set it at 0. 600 and 1000 so far with it making no changes.

                                    deckingmanundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                                    • deckingmanundefined
                                      deckingman @madmattco
                                      last edited by

                                      @madmattco

                                      DC42 is the man really but as he's on vacation and taking some well earned time off, I'll do my best. When you use a Z probe with a output that isn't a simple on-off, the probe reading will change when it gets near or at the trigger point. So when it isn't triggered, it'll read 1,000 ( I think) and when it is triggered, it'll read something else. If it's a simple switch, that "something else" will be zero but with say an IR probe, it'll be about 500 or less. What does it show for you on the machine properties tab?

                                      Ian
                                      https://somei3deas.wordpress.com/
                                      https://www.youtube.com/@deckingman

                                      madmattcoundefined 1 Reply Last reply Reply Quote 0
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators @madmattco
                                        last edited by

                                        @madmattco

                                        It should show 0 when not triggered and 1000 when triggered if its a simple switch.

                                        www.duet3d.com

                                        madmattcoundefined 1 Reply Last reply Reply Quote 0
                                        • madmattcoundefined
                                          madmattco @T3P3Tony
                                          last edited by

                                          @t3p3tony It does the opposite of that

                                          1 Reply Last reply Reply Quote 0
                                          • madmattcoundefined
                                            madmattco @deckingman
                                            last edited by

                                            @deckingman https://puu.sh/AP65q/df543c1ca3.png is untriggered.
                                            https://puu.sh/AP66h/a74ec1a9b0.png is triggered

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