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

    Homeall.g

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    1.8k
    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.
    • Royceundefined
      Royce
      last edited by Royce

      Hi,
      I just configured my homeall.g in the system editor.
      So far, everything looks ok, except that, at the end of the homing procedure, the firmware seems to add some movements that are NOT defined in the homeall.g file.
      This is my homeall.g:

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool on Sun Jul 15 2018 21:09:13 GMT+0200 (Mitteleuropäische Sommerzeit)
      G91                     ; relative positioning
      G1 Z5 F6000 S2          ; lift Z relative to current position
      G1 S1 X-305 F1800	; move quickly to X endstop and stop there (first pass)
      G1 X5 F6000       	; go back a few mm
      G1 S1 X-305 F360        ; move slowly to X axis endstop once more (second pass)
      G1 X5 F6000       	; go back a few mm to prevent running the motor into the Y endstop mount
      
      G1 S1 Y-305 F1800 	; move quickly to Y endstop and stop there (first pass)
      G1 Y5 F6000       	; go back a few mm
      G1 S1 Y-305 F360        ; move slowly to Y axis endstop once more (second pass)
      
      
      ; config this after I did the home offset setting stuff
      ; G90                     ; absolute positioning
      ; G1 X15 Y15 F6000        ; go to first bed probe point and home Z
      ; G30                     ; home Z by probing the bed
      ; G1 Z5 F100 S2          ; uncomment this line to lift the nozzle after homing
      

      After the second homing pass on Y axis, the firmware goes to X15 Y15 and lifts Z for 10 more mm, even when this is not defined in the homeall script.
      Is there any other location where this movement may come from?
      Thanks in advance,
      Paul

      PS: At the moment this script should only home X and Y as I didnt configure the piezo orion as a z probe yet

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

        If you send G28 then homeall.g will be run first. After that, if at least one axis has been flagged as homed but there are axes remaining flagged as not homed, it will try to home those axes. So in your example, it will run homez.g after running homeall.g, because homeall.g does not home Z.

        For testing purposes you could add e.g. G92 Z0 at the end of homeall.g in order to flag Z as homed.

        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

        Royceundefined 1 Reply Last reply Reply Quote 0
        • Royceundefined
          Royce @dc42
          last edited by

          @dc42
          Perfect, that answers my question.
          Thank you!

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