• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    simplesimson
    last edited by simplesimson 16 Apr 2020, 12:40

    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
    • undefined
      dc42 administrators
      last edited by 16 Apr 2020, 13:50

      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

      undefined 1 Reply Last reply 16 Apr 2020, 15:52 Reply Quote 0
      • undefined
        simplesimson @dc42
        last edited by 16 Apr 2020, 15:52

        @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?

        undefined 1 Reply Last reply 16 Apr 2020, 18:32 Reply Quote 0
        • undefined
          dc42 administrators @simplesimson
          last edited by 16 Apr 2020, 18:32

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