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

    Adding a TronXY XY-08N Inductive Sensor MIN Z Stop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    17
    4.8k
    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.
    • DennisHallundefined
      DennisHall @dc42
      last edited by

      @dc42 Oh, of course, sorry for my wake-up response 😉

      Coffee (or in American... Cofifee).

      Right, it does need more than 3.3V.
      Will do.

      Best Regards,

      1 Reply Last reply Reply Quote 0
      • DennisHallundefined
        DennisHall @dc42
        last edited by DennisHall

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • DennisHallundefined
          DennisHall
          last edited by

          Deleted my last reply as I see the following diagram has no diode so expect the previous link is using the built-in diode.
          Better Diagram

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

            The diode is recommended when using Duet WiFi/Ethernet boards earlier than revision 1.04.

            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

            DennisHallundefined 2 Replies Last reply Reply Quote 0
            • DennisHallundefined
              DennisHall @dc42
              last edited by

              @dc42 Got it.

              I've connected up per the last diagram I posted and the sensor is responsive in all the right ways 🙂

              Now I need to focus on my G-Code to make Home at bed center and set the probe.

              Thanks for all the valuable feedback and support you provide in this forum.
              I'm very grateful.

              Best Regards,

              1 Reply Last reply Reply Quote 0
              • DennisHallundefined
                DennisHall @dc42
                last edited by DennisHall

                @dc42 I'm at the point now where I'm testing my gcode for this and found that my TronXY XY-08N inductive z-probe is not working properly with my Duet2 WiFi using my Ultrabase hetbed by AnyCubic.

                With my RAMPS systems this combination works.

                I'm wondering if my cgode could be tuned better.
                Here is my z-probe gcode in the config.g file:
                ; Z-Probe
                M574 Z1 S2
                M558 P5 I1 H5 F100 T36000
                G31 P250 X-32 Y-10 Z-0.5
                M557 X20:200 Y20:200 S40

                As a test, I threw another aluminum bed on top of the AnyCubic hetbed and did a Home Z test and it worked fine, but with the AnyCubic, it seems the ability to sense the metal below is not working with my Duet2 WiFi controller.

                I have tried different T and F settings with M558 and also tried different P settings with G31.

                Any suggestions?

                Best Regards,

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

                  Please run the static test decribed at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe and tell us the results.

                  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

                  DennisHallundefined 1 Reply Last reply Reply Quote 0
                  • DennisHallundefined
                    DennisHall @dc42
                    last edited by

                    @dc42 Thanks for your reply.
                    My Z-Probe is inductive, so no retraction, etc...

                    Here are my results for each test item using my metal bed with 3mm glass on it:

                    Z-Probe static test:
                    Test item 1: With the Z probe deployed (if applicable) but not close enough to the bed to trigger it, check that the Z probe reading in Duet Web Control is zero or close to zero.
                    Response for glass: Probe reads "0"
                    Response for Ultrabase: Probe reads "0"

                    Test item 2: If your Z probe is of a type that produces a continuous output when triggered (for example IR, inductive, capacitive and switch-type probes), hold a surface below the Z probe to cause it to trigger (or jog the nozzle towards the bed until it is close enough to trigger). Check that the Z probe reading in DWC is correct (about 537 for the Mini Differential IR probe, and about 1000 for most other types).
                    Response for glass: My probe reads "1000"
                    Response for Ultrabase: My Probe reads "0"

                    PanelDue test sending G31: Results read same as above.
                    I also sent M119 and read TRIGGERED for glass and OPEN for Ultrabase.

                    Z-Probe dynamic test:
                    Test item HomeAll: X and Y trigger correctly for both bed types.
                    Response for glass: Probe reads "1000"
                    Response for Ultrabase: Probe reads "0"

                    Z-Probe calibration trigger height:
                    Here is my final - working - Z-Probe configuration that works with my 3mm glass bed:
                    ; Z-Probe
                    M574 Z1 S2
                    M558 P5 I1 H1 F100 T36000
                    G31 P250 X-32 Y-10 Z1.0
                    M557 X20:200 Y20:200 S40

                    The settings above work perfectly with the glass bed.
                    Using these settings with the Ultrabase, the Z-Probe never triggers using the Duet2 WiFi, but it does when I replace the controller with my RAMPS1.6.

                    My question / concern is not if the Z-Probe works with the Duet2 WiFi, I have proven that is does work with my glass bed.
                    I am trying to find the right g-code solution to have my Z-Probe work with the Ultrabase as it did using the RAMPS boards and Marlin F/W.
                    As previously mentioned, I have tried various g-code settings for:
                    M558 F and T, as well as for
                    G31 Z

                    Best Regards,

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

                      Does your probe have a LED that lights up when it is triggered? If so, does it light up when you trigger it with the glass bed? What about with the Ultrabase bed?

                      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

                      DennisHallundefined 1 Reply Last reply Reply Quote 0
                      • DennisHallundefined
                        DennisHall @dc42
                        last edited by DennisHall

                        @dc42 Yup, it has the red light. M119 also registers TRIGGERED coincidentally when the red light is on 🙂

                        With my glass bed, the lights are on and everyone's home.
                        With the Ultrabase, the lights are off and nobody's home.

                        In my opinion, I'm seeing the Ultrabase must be blocking out enough of the return signal to have it not register. So either a timing issue (maybe a gcode setting) or power level to the sensor.

                        It's not the end of the world as I actually like my glass bed more than the Ultrabase because glass is easy to clean without accetone, but I'm researching hotbeds for a new printer and really just perplexed why this combination works with RAMPS, but not Duet.

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

                          I am perplexed too. As I said before, the only difference reason I can think of why the trigger height would differ is if the supply voltage is different.

                          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

                          DennisHallundefined 1 Reply Last reply Reply Quote 0
                          • DennisHallundefined
                            DennisHall @dc42
                            last edited by

                            @dc42 Sorry for the delayed response. My son was married over the weekend.
                            My thoughts are the same as yours. Is How would I test the output voltage of the Duet2 WiFi for this specific setup?

                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @DennisHall
                              last edited by

                              @dennishall what did the correct wiring for your blue tronxy sensor turn out to be?

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