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

      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
                              • resamundefined
                                resam
                                last edited by

                                I think the DWC display is not aware of any invert flags you configured.
                                Don't rely on the raw value displayed in DWC. Use M119 instead.

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

                                  @resam https://puu.sh/AP6v0/8242eb7b3f.png bottom line is not triggered. top is triggered.

                                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                  • resamundefined
                                    resam
                                    last edited by

                                    And does it change with M558 P4 I1 H5 F120 T3000?

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

                                      @resam No. Thats my dilemma. Its driving me nuts lol

                                      1 Reply Last reply Reply Quote 0
                                      • resamundefined
                                        resam
                                        last edited by

                                        Did you try:
                                        M574 X2 Y2 Z0 S0 and M558 P4 I1 H5 F120 T3000 (or I0)

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

                                          Will having Z set to 0 work properly when on a delta?

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

                                            @madmattco so if you send:

                                            M558 I1 does the probe setting change;
                                            0_1530457869993_b531902b-be8e-4e97-9072-15863069a2ea-image.png

                                            Ignore my other settings in the screen shot
                                            As you can see you can send M558 with no parameters to get a read out of the current settings
                                            Try M119 after both M558 I0 and M558 I1

                                            www.duet3d.com

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