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

    Store location of stall detection to variable.

    Scheduled Pinned Locked Moved
    Gcode meta commands
    3
    3
    237
    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.
    • berniejundefined
      berniej
      last edited by

      Hi all,

      I am trying to figure out how I can use either sensorless homing or stall detection to measure the length of a single axis.

      Ideally, I trigger a macro that sends one axis away from the home position until it hits the end of its travel - then stores that location in a variable.

      I understand there will be limited accuracy due to the loss of steps, but that is ok for my application.

      Any help or direction would be greatly appreciated!

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @berniej
        last edited by

        @berniej You may be able to use a G1 H4 move for this (along with a stall detection endstop). So the process would be....
        0. Define an axis that is longer than the actual max axis length

        1. Home at one end of the axis
        2. define a stall detect endstop for the far end of the axis to test
        3. Perform a G1 H4 move beyond the length of the axis
        4. After the stall the current position will give the position at which the stall happened
        berniejundefined 1 Reply Last reply Reply Quote 1
        • berniejundefined
          berniej @gloomyandy
          last edited by

          @gloomyandy Thanks for the reply. I will try containing the G1 H4 in a macro with my settings for stall detection. I was not aware of the H parameter in RRF 3+.

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