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

CNC Z EndStop

Scheduled Pinned Locked Moved
CNC
2
3
110
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.
  • undefined
    rubens
    last edited by 26 Dec 2024, 17:32

    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?

    undefined 1 Reply Last reply 26 Dec 2024, 17:58 Reply Quote 0
    • undefined
      jay_s_uk @rubens
      last edited by 26 Dec 2024, 17:58

      @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

      undefined 1 Reply Last reply 26 Dec 2024, 18:07 Reply Quote 0
      • undefined
        rubens @jay_s_uk
        last edited by 26 Dec 2024, 18:07

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

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