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

    Home Z several times and get average

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    4
    174
    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.
    • simplesimsonundefined
      simplesimson
      last edited by simplesimson

      Hi,

      setup: CoreXY Using dc42 IR probe for Z endstop + leveling
      Iยดm having trouble with my IR Probe it does create inconsistent values.
      To get it printing anyways i want to home z 5 times and get an average value of the 5 homings. How can I do this?

      G30 S-1 outputs

      14:43:13Stopped at height 0.498 mm
      14:43:03Stopped at height 0.505 mm
      14:42:54Stopped at height 0.500 mm
      14:42:45G30 S-1
      Stopped at height 0.502 mm

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

        See the M558 A and S parameters. A5 S0 should do what you want.

        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

        simplesimsonundefined 1 Reply Last reply Reply Quote 0
        • simplesimsonundefined
          simplesimson @dc42
          last edited by

          @dc42 hey ๐Ÿ™‚ thanks for your answer

          my M558 (config.g) looks like this:
          M558 P1 H2.5 F120 T9000 I0 R1 A5 S0.1

          But when doing G28 at the start of the print it doesnt check 5 times.
          It just uses my homeall.g
          can i define a special M558 in homeall.g?

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

            @simplesimson said in Home Z several times and get average:

            @dc42 hey ๐Ÿ™‚ thanks for your answer

            my M558 (config.g) looks like this:
            M558 P1 H2.5 F120 T9000 I0 R1 A5 S0.1

            But when doing G28 at the start of the print it doesnt check 5 times.
            It just uses my homeall.g
            can i define a special M558 in homeall.g?

            Does it probe twice? You've set the tolerance to 0.1mm (S parameter), so it will only probe twice if the two readings differ by no more than 0.1mm. I suggested you use S0.

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA