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

How to Set Z home

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
5
301
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
    Keith53
    last edited by 7 Feb 2020, 01:31

    I am using a switch to home XYZ. When I home Z the nozzle is about .3mm below the bed. I have been trying figure out how to set it so it knows this. When I home XY the web interface shows X-33 Y-10 but Z still shows Z0.0.
    ; Axis Limits
    M208 X-33 Y-10 Z-0.3 S1 ; set axis minima
    M208 X220 Y220 Z240 S0 ; set axis maxima

    I also tried editing the homeZ.g and the homeall.g
    G92 Z0.3 ; set Z position to axis minimum (you may want to adjust this)

    What am I doing Wrong?

    undefined 1 Reply Last reply 7 Feb 2020, 02:22 Reply Quote 0
    • undefined
      Phaedrux Moderator @Keith53
      last edited by 7 Feb 2020, 02:22

      Can you post your homing files? Maybe your full config.g too.

      Do you mean that the nozzle is pushing into the bed surface? How are you measuring -0.3?

      When you trigger the endstop the position is set to either the minima or maxima from M208. So triggering the zmin endstop should set the position to -0.3 as you have that as your minima. Unless it's being reset with an G92 Z after hitting the endstop.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 8 Feb 2020, 00:26 Reply Quote 0
      • undefined
        Danal
        last edited by 7 Feb 2020, 02:24

        @Keith53 said in How to Set Z home:

        G92 Z0.3 ; set Z position to axis minimum (you may want to adjust this)

        Have you tride G91 Z-0.3?

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 1
        • undefined
          Keith53 @Phaedrux
          last edited by 8 Feb 2020, 00:26

          @Phaedrux said in How to Set Z home:

          Can you post your homing files? Maybe your full config.g too.

          Do you mean that the nozzle is pushing into the bed surface? How are you measuring -0.3?

          When you trigger the endstop the position is set to either the minima or maxima from M208. So triggering the zmin endstop should set the position to -0.3 as you have that as your minima. Unless it's being reset with an G92 Z after hitting the endstop.

          The G92 Z0 was resetting it in the homeall.g and homez.g files. I commented out ;G92 Zxxx and now when it is on the Z end stop it shows what is in M208 below Thanks!

          M208 X-33 Y-10 Z-0.3 S1

          Not sure why G92 Z-.03 did not work. I use G92 on mills at work sounds like it should do the same thing on the printer.

          G92 "Change Work Coordinate System"
          G92 X0 Y0 Z=VTOFH[VTLCN]+12.7
          This would set where the spindle is now to X0 Y0 and Z would be the current tool in the spindles length+12.7

          undefined 1 Reply Last reply 8 Feb 2020, 00:46 Reply Quote 0
          • undefined
            Phaedrux Moderator @Keith53
            last edited by 8 Feb 2020, 00:46

            @Keith53 said in How to Set Z home:

            Not sure why G92 Z-.03 did not work.

            I'd have to see the actual file to venture a guess.

            Using G92 in the homing files is a bit of a kludge honestly. Best to refrain if possible.

            Z-Bot CoreXY Build | Thingiverse Profile

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