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

    Z axis Endstop switch

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    122
    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.
    • usas12undefined
      usas12
      last edited by usas12

      Hi guys,

      I have an issue with my Z axis, stops (possibly stalling out almost immediately) during negative movement on the homing command, also my Z axis endstop will not stop that axis from moving. If i manually depress the switch the light goes off on the board. It's plugged into the Zstop port. I'm running RR 3.2 firmware, Duet 2, Core X Y. This is a new install. Any help would be much appreciated.

      Regards

      ; Endstops
      M574 X1 Y1 S3 ; Set X / Y endstop stall detection
      M574 Z1 S2 ; Set Z endstop probe
      M558 P7 X0 Y0 Z2 H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
      M557 X10:290 Y20:180 S40 ; Define mesh grid

      ; homez.g
      ; called to home the Z axis

      T-1 ;just in case there is a tool coupled, go try to drop it at the dock

      M98 P/macros/Coupler - Unlock ;Open Coupler

      G91 ; Relative mode
      G1 H2 Z5 F5000 ; Lower the bed
      G90 ; back to absolute positioning

      G1 X150 Y100 F50000 ; Position the endstop above the bed centre

      G91 ; Relative mode

      G4 P500 ; wait 500msec
      G1 Z-999 S1 F1000 ; Move Z down until the switch triggers (first pass)

      G4 P500 ; wait 500msec
      G1 Z5 F5000 ; Lift Z

      G4 P500 ; wait 500msec
      G1 Z-999 S1 F300 ; Move Z down until the switch triggers (second pass)

      G4 P500 ; wait 500msec
      G1 Z5 F5000 ; Drop the Bed

      G90 ; Back to absolute positioning

      1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        Hi,

        Your M558 command does not follow the documentation for firmware 3.2.

        Perhaps after you correct it things will work.

        And I don't think you need the G4 commands when homing Z.

        I've never used G4 when homing any axis on any of my printers and things work fine.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • usas12undefined
          usas12
          last edited by

          SOLVED

          M574 Z1 S1 P"zstop"

          fixed it

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