Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Z probe variable speed and multiple probes

    General Discussion
    3
    3
    279
    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.
    • Surgikill
      Surgikill last edited by

      So I have a large corexy style printer and I'm using the IR probe. My g-code is set up so when a print starts, the bed homes at 10mm/s, then each leadscrew point on the bed is probed (4 leadscrews) adjustments are made, then the printer is homed again.

      Essentially what I want is for the bed to home at 10mm/s, and then back off 5-10mm, and home again at 2mm/s. Then, the bed tramming routine is run, and I would like it to probe each point X number of times at Y mm/s and take the average. Then, I want it to home again, at 10mm/s then back off 5-10mm and home again at 2mm/s. Is this possible? Do I need to make a custom script to do this?

      I've looked around online and all I've seen is editing the f parameter in the m558 command, but that changes the speed for all z probe and home moves.

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        You can insert the M558 F and A command into your macros right before the probing moves to alter how that specific probe behaves.

        M558 A1 F400			; Set single probing at faster feed rate
        G30 				; Do a single probe to home our Z axis
        M98 P"ZSpeedsSlow.g"		; Set lower speeds for homing
        M558 A10 F100			; Set multi probing at slower feed rate
        G30				; Probe again to get a more accurate position
        

        The backoff distance will be the dive height value of M558 for probing moves.

        Z-Bot CoreXY Build | Thingiverse Profile

        deckingman 1 Reply Last reply Reply Quote 0
        • deckingman
          deckingman @Phaedrux last edited by

          @phaedrux Might I respectfully suggest that when changing values in homing files from what is configured in config.g, it's generally best practice to put those values back to their configuration values at the end of the homing file. Leaving the probing feed rate at the lower setting probably doesn't matter in the above case but forgetting to restore something like motor currents could be a bit more of a problem. So restoring everything back to configured values is a good habit to get into.

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

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