Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    z-stop not triggering

    Duet Hardware and wiring
    2
    6
    151
    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.
    • Plop
      Plop last edited by

      Hi all,

      Newby here, I'm afraid. I've got a DuetWifi board for a core XY printer. The z-min stop for some reason is not triggering when I query it (x and y are fine).

      It is not the wiring or the switch as it is recognised by the software if connected to either x-min or y-min stops. Is there something wrong with the DuetWifi board? Do I need to re-map the input read by the software (i'm not using the max-endstops)? If so, how do I go about this?

      I use the 2.02 firmware version

      Thanks

      Plop

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        Can you post your config.g?

        When you click the switch by hand does it trigger the Z endstop LED on the board?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Plop
          Plop last edited by

          Just checked. The z-stop led comes on when the trigger is pressed, just like the x and y stop leds for their respective switches.

          config.g and homez.g attached

          config.gcode
          homez.gcode

          Thanks

          Plop

          1 Reply Last reply Reply Quote 0
          • Phaedrux
            Phaedrux Moderator last edited by

            You're configured to use a Z Probe, not an endstop.

            Do you have a Z probe?

            homez
            G91              ; relative positioning
            G1 H2 Z5 F6000   ; lift Z relative to current position
            G90              ; absolute positioning
            G1 X15 Y15 F6000 ; go to first probe point
            G30              ; home Z by probing the bed
            
            config
            ; Endstops
            M574 X1 Y1 S0                                   ; set active low and disabled endstops
            M574 Z1 S2                                      ; set endstops controlled by probe
            
            ; Z-Probe
            M558 P1 H5 F120 T6000                           ; set Z probe type to unmodulated and the dive height + speeds
            G31 P500 X0 Y0 Z2.5                             ; set Z probe trigger value, offset and trigger height
            M557 X15:215 Y15:195 S20                        ; define mesh grid
            

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Plop
              Plop last edited by

              Ah - that makes sense! I do have a z-probe but I haven't got to the configuration point where that is anywhere near operational. I'll work on it. Thanks for your help! I'll learn (hopefully)

              1 Reply Last reply Reply Quote 0
              • Phaedrux
                Phaedrux Moderator last edited by Phaedrux

                If you need to change your config to use a Zmin endstop you'd need to make the following changes to the sections I quoted above:

                homez
                G91              ; relative positioning
                G1 H1 Z-500 F6000   ; Move Z axis to endstop
                G1 Z3 ; back off endstop
                G1 H1 Z-500 F360 ; hit endstop again slowly
                G1 Z3 ; back off endstop
                
                config
                ; Endstops
                M574 X1 Y1 Z1 S0                                   ; set active low and disabled endstops
                

                You can leave the zprobe section as is, or add a ; to comment it out.

                Z-Bot CoreXY Build | Thingiverse Profile

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