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

    Homeall runs homez

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    126
    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.
    • graybilldustinundefined
      graybilldustin
      last edited by

      Is it common for homeall to run homez after all of the gcode in homeall? It is happening for me and I can't find any documentation that this is supposed to happen. I am writing my x and y homing code in homeall and during testing it's still running homez. I can confirm this because if I go comment out everything in homez and run homeall again it doesn't do it. After further testing if I remove everything in my homeall except this:

      G91               			; relative positioning
      G1 H2 Z10 F3000    			; lift Z relative to current position
      

      It works fine. It just lifts Z up 10mm. But as soon as I add the next line:

      G91               			; relative positioning
      G1 H2 Z10 F3000    			; lift Z relative to current position
      
      G1 H1 X-325 Y400 F6000 			; move quickly to X and Y axis endstop and stop there (first pass)
      

      It now lifts Z 10mm, homes X and Y once, then runs whatever is in my homez file. I am completely lost here.

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

        @graybilldustin if you use G28 without parameters to home all axes, or you specify all axes in the G28 command, then RRF will flag all axes as not homed and then run homeall.g. If after that some axes are still flagged as not homed then RRF will run the individual homing files for those axes.

        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

        graybilldustinundefined 1 Reply Last reply Reply Quote 0
        • graybilldustinundefined
          graybilldustin @dc42
          last edited by

          @dc42 Ok interesting so for now I will just comment out my homez file and finish writing my homeall file and once that is done it should no longer run homez after. Thanks!

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