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

    Having trouble setting the z offset

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    26
    6.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.
    • KeeganBundefined
      KeeganB
      last edited by

      Should your M558 be "P4" instead of "P5"?

      I'm not really sure here, but that is all that caught my eye.

      Artemis
      Rostock Max v2
      Orion

      1 Reply Last reply Reply Quote 0
      • vhowardundefined
        vhoward
        last edited by

        That should be P5 for the BL Touch. Thanks for looking.

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

          @vhoward:

          My printer homes with the bl touch as the z end stop fine. I also does the bed compensation and gives a report of the bed after it done the probing. Just can't adjust the z offset. The weird part is, I have installed a Duet Ethernet on a different printer with a BL Touch and that one works fine. I did the install on this Duetwifi the same and can't figure out why the z offset refuses to change. I had this board working with an inductive sensor and it worked, but was not consistent.

          1. Do you by any chance have your homez.g and Z homing part of homeall.g configured as if you are using an endstop switch, instead of using G30 commands?

          2. Have you checked whether the G31 command in config.g is being overridden by one 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
          • vhowardundefined
            vhoward
            last edited by

            The files were all created with the configurator. The homeall.g has never worked correctly and when I look at the file, it is greek to me. When I home all, it starts with the x axis and the x axis starts grinding and slowly moves away from the endstop. I have to either cut the power of press the emergency stop to get it to stop. However, I can home the machine by homing each axis separately. The configurator will not let you configure a z endstop, only a probe. Or I never figured out how to get the configurator to configure a z endstop. This machine operated fine with the inductive sensor I had installed and I could change the z offset no problem. It just wasn't consistent. The G31 line in config.g has the z offset as 0 and the override file has the z offset as 2.4. I have been changing the z offset in the override file as that is what should be being used. They are posted above.

            1 Reply Last reply Reply Quote 0
            • vhowardundefined
              vhoward
              last edited by

              For some reason, I can now change the z offset in the config override file and it takes effect now.

              1 Reply Last reply Reply Quote 0
              • KeeganBundefined
                KeeganB
                last edited by

                Well congrats I guess?! That’s odd.

                Artemis
                Rostock Max v2
                Orion

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

                  @vhoward:

                  The files were all created with the configurator. The homeall.g has never worked correctly and when I look at the file, it is greek to me. When I home all, it starts with the x axis and the x axis starts grinding and slowly moves away from the endstop. I have to either cut the power of press the emergency stop to get it to stop. However, I can home the machine by homing each axis separately.

                  Please post your homing files.

                  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
                  • vhowardundefined
                    vhoward
                    last edited by

                    ; homeall.g
                    ; called to home all axes
                    ;
                    ; generated by RepRapFirmware Configuration Tool on Thu Apr 27 2017 06:26:16 GMT-0700 (PDT)

                    ; Relative positioning
                    G91

                    ; Lift Z
                    G1 Z5 F6000

                    ; Course home X or Y
                    ;G1 X-305 Y-305 F1800 S1
                    ; Course home X
                    G1 X-305
                    ; Course home Y
                    G1 Y-305

                    : Move away from the endstops
                    G1 X5 Y5 F6000

                    ; Fine home X
                    G1 X-305 F360 S1
                    ; Fine home Y
                    G1 Y-305 S1

                    ; Move Z down until the switch triggers
                    G1 Z-285 F1800 S1

                    ; Absolute positioning
                    G90

                    ; Tell the firmware where we are
                    G92 Z2.5

                    ; Uncomment the following line to lift the nozzle after probing
                    ;G1 Z5 F100

                    A little late, but here is my homeall.g file.

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

                      The G1 X-305 Y-305 … is commented out so you need to remove the semi colon from the beginning of that line.

                      The next lines G1 X-305 and G1 Y-305 (course homing X and Y) don't have an S1 parameters so they will ignore the end stop switch. They should be G1 X-305 S1 and G1 Y-305 S1

                      The bed is being probed at the X0 Y0 position for the Z axis and while it will work, it's generally better to probe the centre of the bed
                      for Z home so you might want to add something like G1 X150 Y150 F6000 before the G1 Z-285 move.

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

                      1 Reply Last reply Reply Quote 0
                      • vhowardundefined
                        vhoward
                        last edited by

                        Thanks. Still learning the g-code world. Didn't even notice the first line was commented out.

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

                          @vhoward:

                          Thanks. Still learning the g-code world. Didn't even notice the first line was commented out.

                          No worries. Read and inwardly digest this and you'll become an expert https://duet3d.com/wiki/G-code. 🙂 Alternatively bookmark it for easy reference in the future.

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

                          1 Reply Last reply Reply Quote 0
                          • vhowardundefined
                            vhoward
                            last edited by

                            My home all is now working like it is supposed to. And my z offset is working.

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