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

    CNC Z EndStop

    Scheduled Pinned Locked Moved
    CNC
    2
    3
    112
    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.
    • rubensundefined
      rubens
      last edited by

      Hi,

      I'm making a CNC with a Duet 3 Mini 5+ board and I'm using firmware version 3.5.1. and I want to use this as a endstop for the Z axis:

      screenshootprobe.png

      This is the code I am using:

      ; Endstops
      M574 X1 P"io1.in" S1 ; configure X axis endstop
      M574 Y1 P"io0.in" S1 ; configure Y axis endstop
      M574 Z1 P"!io2.in" S1 ; configure Z axis endstop
      

      and this is the connection I used for it:

      screenshoot.png

      It doesn't give me any errors, but the Z axis doesn't stop. I've checked the cables several times and it shows 5 volts.

      What could I be doing wrong?

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @rubens
        last edited by

        @rubens always connect endstops like that between iox.in and gnd. Never 3.3 or 5v

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        rubensundefined 1 Reply Last reply Reply Quote 0
        • rubensundefined
          rubens @jay_s_uk
          last edited by

          @jay_s_uk Thanks, that worked, I was going crazy.

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