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

Z Axis Homing ..

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
17
4.3k
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
    Sink
    last edited by 7 Aug 2017, 06:52

    Perfect ..
    Thanks again ..

    1 Reply Last reply Reply Quote 0
    • undefined
      krzaku
      last edited by 7 Aug 2017, 23:16

      If I may join in on this, I'm having troubles with Z homing too. I have an NPN NO inductive sensor connected to the E0 endstop header, I did what it says in the link @dc42 sent, but when I send G30 (no parameters, but I also tried the current X/Y, with no difference) the head moves to 0/0 AND BEYOND, mashing the Y axis and grinding the belt. This is after I homed the X/Y axis of course. Version 1.19RC5.

      1 Reply Last reply Reply Quote 0
      • undefined
        number40fan
        last edited by 8 Aug 2017, 00:37

        ; Z homing file for Prusa i3 or similar printer using a Z probe for Z homing

        You have a switch, right?

        1 Reply Last reply Reply Quote 0
        • undefined
          krzaku
          last edited by 8 Aug 2017, 00:42

          Yes, but the Z probe is configured in mode 4, switch mode, as per instructions in the wiki.

          1 Reply Last reply Reply Quote 0
          • undefined
            number40fan
            last edited by 8 Aug 2017, 00:54

            Ok, just wanted to make sure that wasn't the issue. Does the switch change when you run M119? Is there a difference in the Homing files between switch and probe? I haven't looked at the wiki for your particular printer.

            1 Reply Last reply Reply Quote 0
            • undefined
              number40fan
              last edited by 8 Aug 2017, 01:07 8 Aug 2017, 01:01

              ; Z homing file for Prusa i3 or similar printer using a Z probe for Z homing
              G91
              G1 Z5 F200
              ;G1 X100 Y100 F9000
              ;G30
              ; Un-comment the following line if you want the head to actually move to Z=0 after homing
              G1 Z-200 S1 F100 ; move Z down until the switch triggers
              G90 ; back to absolute mode
              G92 Z0.3 ; tell the firmware that we are at Z=0.3mm

              What happens if you try this?

              1 Reply Last reply Reply Quote 0
              • undefined
                number40fan
                last edited by 8 Aug 2017, 01:14

                Sorry, krzaku, thought I was talking with the OP.

                1 Reply Last reply Reply Quote 0
                • undefined
                  krzaku
                  last edited by 8 Aug 2017, 11:57

                  G1 S1 for Z axis doesn't work, because the Z probe is not connected to the Z endstop port, but to the E0 endstop.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 8 Aug 2017, 12:22

                    Actually it will work if you include the Z1 parameter in the M558 command and Z0 in the M574 command, because then the Z probe will be used as the Z endstop too. However, that's not what you should be doing; if you want to home Z using a Z probe you should use G30 not G1 S1.

                    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
                      krzaku
                      last edited by 8 Aug 2017, 12:41

                      That's exactly what I've been doing, and it's grinding the belt like I said. According to the wiki, G30 with no parameters shouldn't move the head at all. I also tried G29, and it goes to the same position at the start as G30, grinding the belt as well.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 8 Aug 2017, 12:47

                        G30 with no parameters will move the head down until the Z probe triggers.

                        Have you tested the Z probe? i.e. gradually lower the head towards the bed ands watch the Z probe reading in DWC. For a switch-type Z probe, the reading will change from 0 to 1000 when the probe triggers.

                        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
                          krzaku
                          last edited by 8 Aug 2017, 15:58 8 Aug 2017, 12:58

                          But it shouldn't move the head in the X/Y axis, should it? And yes, the probe is working for sure. I also tried it in switch mode, connecting it to the Z endstop header, and homing (with G1 S1) worked fine then. Even if the probe wasn't working, it wouldn't explain why the carriage mashes the Y axis and tries to go beyond while grinding the belt.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 8 Aug 2017, 16:55

                            G30 with no parameters should not move the head in the XY plane. Are you finding that it does? If so, please let us know which firmware version you are running, what commands you are sending prior to G30, and post your config.g file.

                            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
                              deckingman
                              last edited by 8 Aug 2017, 18:55

                              The G30 moving in X and Y sounds awfully like deploy probe is being run. That's exactly what I ran into when upgrading to one of the 1.19 releases (can't remember which one) and I should have read the release notes which state that the deploy and retract probe files should be deleted from .sys. Once I deleted those files (in accordance with the release notes), G30 worked as expected.

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

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                krzaku
                                last edited by 8 Aug 2017, 19:53

                                @deckingman that's it! Removing those files fixed my issue. I skimmed over the release notes, when I should've read them more closely…

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