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

    How to do simple Z homing with endstop?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    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.
    • sinned6915undefined
      sinned6915
      last edited by sinned6915

      I need to revert my Cartesian hardware back to simple Z endstop homing. I have a working mechanical Z endstop switch to set the Zmin like I used to with Marlin. I figured I would run through the configurator and generated the config line I needed, piece of cake.... test the switchs via M119, they all check out.

      The result is I get is an interactive menu of sorts to set Z height. I just want dumb, stupid, Z endstop. Does RRF do this?

      Here are my config lines-

      ; Endstops
      M574 X2 Y2 S0                            ; Set active low Endstops
      M574 Z1 S1                               ; TEMP SET ENDSTOP Z MIN
      
      ; Z-Probe
      ; M574 Z1 S2                             ; Set endstops controlled by probe
      ; M558 P8 I1 R0.4 H5 F420 T6600          ; Piezo Probe settings
      
      M558 P0 I1 R0.6 H5 F840 T7200            ; TEMP Change probe to 0 for no probe
      
      ; G31 P500 X0 Y0 Z0.0                    ; TEMP comment out for no probe 
      
      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        you will need to change the homing scripts as well.

        i.e. homez
        G91 ; relative positioning
        G1 Z5 F6000 S2 ; lift Z relative to current position
        G1 S1 Z-205 F1800 ; move Z down until the endstop is triggered
        G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

        and homeall

        G91 ; relative positioning
        G1 Z5 F6000 S2 ; lift Z relative to current position
        G1 S1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
        G1 X5 Y5 F6000 ; go back a few mm
        G1 S1 X-235 Y-215 F360 ; move slowly to X and Y axis endstops once more (second pass)
        G1 S1 Z-205 F1800 ; move Z down stopping at the endstop
        G90 ; absolute positioning
        G92 Z0 ; set Z to axis minimum (you may want to adjust this)

        1 Reply Last reply Reply Quote 0
        • sinned6915undefined
          sinned6915
          last edited by

          DHO! I did not think of that.

          @Veti 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