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

    Loosing steps when running homeall.g

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    2
    3
    133
    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.
    • Exerqtorundefined
      Exerqtor
      last edited by Exerqtor

      The small annoying issues keep proving hard to iron out.

      When i run homeall.g at least the x axis loose a couple steps (can hear it "rattle" even) when it backs of the endstops after the first pass off homing.
      I can't replicate this if i run only homex.g or homey.g.

      Anyone got a clue? (Running latest pre-release / beta on everything).

      homeall.g:

      ; homeall.g
      ; called to home all axes
      ;
      M98 P"/macros/System/Speed/speed_probing.g"								; Apply low speed & accel
      M98 P"/macros/System/Current/xy_current_low.g"								; Apply low XY currents
      M98 P"/macros/System/Current/z_current_low.g"								; Apply low Z currents
      M561													; ignore current heightmap
      
      G91													; relative positioning
      G1 H2 Z10 F6000												; lower Z(bed) relative to current position)
      G1 H1 X370 Y370 F1800											; move quickly to X or Y endstop (first pass)
      G1 H1 X370												; home X axis
      G1 H1 Y370												; home Y axis
      G1 H2 Y-5 F1800												; go back a few mm
      G1 H2 X-5												; go back a few mm
      G1 H1 X370 F360												; move slowly to X axis endstop (second pass)
      G1 H1 Y370												; then move slowly to Y axis endstop
      
      G90													; absolute positioning
      M98 P"/macros/System/Home/move_over_microswitch.g"							; move above the Z endstop switch
      G30 K1 Z-99999												; home Z by probing the bed
      
      M98 P"/macros/System/Speed/speed_printing.g"								; Restore normal speed & accel
      M98 P"/macros/System/Current/xy_current_high.g"								; Restore normal XY currents
      M98 P"/macros/System/Current/z_current_high.g"								; Restore normal Z currents
      

      The low current settings for XY are 30% of 1400mA and the low speed/accel settings are :

      M566 X900.00 Y900.00 Z20.00:20.00 P1									   ; set maximum instantaneous speed changes (mm/min) and jerk policy
      M203 X18000.00 Y18000.00 Z3000.00:3000.00								   ; set maximum speeds (mm/min)
      M201 X2000.00 Y2000.00 Z100.00:100.00									   ; set accelerations (mm/s^2)
      
      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • Exerqtorundefined Exerqtor marked this topic as a question
      • gloomyandyundefined
        gloomyandy @Exerqtor
        last edited by

        @exerqtor What sort of printer is this? You should not need to use H2 moves (in G1 H2 X-5) to move away from the endstops, they should at this point be homed, if this is a corexy you may only be moving one motor (rather than both).

        Exerqtorundefined 1 Reply Last reply Reply Quote 2
        • Exerqtorundefined
          Exerqtor @gloomyandy
          last edited by Exerqtor

          @gloomyandy

          That little typo there have caused way more cursing than one would think 🤣 . Fat finger-typing on the numpad ended up with them being H2 instead of H0, and of course that fixed all the issues, thanks dude! ♥

          1 Reply Last reply Reply Quote 0
          • Exerqtorundefined Exerqtor has marked this topic as solved
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA