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

      Hey everyone. Having a bit of an issue using a switch for my probe. The logic will not invert with my N.O. switch. I have tried M574 E0 S1 and S0 to no avail and I have also used M558 and added I1 to its line. No change will set my E0 endstop to untriggered when nothing is pressing on it.

      Also, I am on the latest non-beta firmware.

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

        @madmattco

        Can you post your M558 line from config.g

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

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

          M558 P4 H5 I1 F120 T3000

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

            @madmattco

            What do you get if you enter M119 via the G Code console? At the end of the line, it should report the Z probe status. If it's not triggered, it will say " Z probe: not stopped". If it's triggered, it'll say "Z probe: at min end stop".

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

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

              M119
              Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop

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

                @madmattco

                Sorry, I meant run M119 with the switch both triggered and not triggered. So as it is, the firmware reads that its is triggered. Now trigger the switch and run M119 again and it should say "not stopped". If thta works, then the logic is inverted and you need to change it. If it shows "at min stop" whether the switch is triggered or not, then it would indicate a wiring problem or faulty switch, rather than a configuration/ firmware issue.

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

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

                  If i trigger it, M119 still shows the same. But I can see the E0 endstop changing in the machine properties tab

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman
                    last edited by

                    That's odd. Try adding Z1 to your M584. You should only need it with firmware 1.19 or earlier but .....

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

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

                      I dont think it liked that. This is on a delta btw. Sorry for forgetting to mention that in the first place

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

                        @madmattco said in Switch Z-probe not inverting:

                        I dont think it liked that. This is on a delta btw. Sorry for forgetting to mention that in the first place

                        Ahhhh. Yes, sorry - I know nothing about Deltas (strange mystical devices☺ ) .

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

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

                          Do you think I would have better luck if i issued a P5 or P7 instead of P4 on M558?

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

                            @madmattco said in Switch Z-probe not inverting:

                            Do you think I would have better luck if i issued a P5 or P7 instead of P4 on M558?

                            Not if you've wired it E0. According to the Wiki, P5 is for the Z probe connector and P7 is for the Z end stop connector. Having said that, I don't know if it makes any difference or if you have to use a different connector on a Delta. I know they home at Z max but that's the limit of my knowledge. Sorry but I'm fresh out of ideas. Hopefully, someone more knowledgable than I will step in and help you out.

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

                            1 Reply Last reply Reply Quote 0
                            • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA