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

    zprobe as endstop - do I need to declare it?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    2
    116
    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.
    • achrnundefined
      achrn
      last edited by

      I'm using an inductive probe (actually a genuine Prusa Pinda v2) as Z probe and endstop on a Mini 5.

      Mainboard: Duet 3 Mini 5+ (Mini5plus) with firmware: RepRapFirmware for Duet 3 Mini 5+ 3.4.5 (2022-11-30)
      The probe is actually on a toolboard: Duet TOOL1LC rev 1.1 or later (actually 1.3) firmware version 3.4.4 (2022-10-14 11:46:33)
      Duet WiFi Server Version: 1.27

      Various forum posts basiucally say if you've configured a z probe (which I have), then it will just get used automatically for z endstop.

      https://docs.duet3d.com/User_manual/Reference/Gcodes#m574-set-endstop-configuration says "Snnn 1 = ... 2 = Z probe (when used to home an axis other than Z)," and other forum messages say you don't need to specify to use a zprobe as low end endstop.

      However, if I don't have M574 Z1 S2 in my config.g I get "G28 Error: Failed to enable endstops" if I try and homez.

      Does this indicate something else is misconfigured in my setup?

      My z-probe configuration:

      ; Z-Probe settings for PINDA 2
      ; mostly taken from https://forum.duet3d.com/topic/30780/prusa-mk2-5s-pinda-v2-probe-issue?_=1675322414029
      M558 P8 C"^121.io2.in" H3 F600 T6000         ; set Z probe type to unfiltered switch and the dive height, speed
      M308 S8 P"121.temp1" A"Pinda" Y"thermistor" T100000 B3950 ; pinda thermistor
      G31 P500 X23 Y5 Z0.4 H8 T0.02 S23            ; set Z probe trigger value, offsets, trigger height and temperature compensation 
      M557 X25:240 Y6:204 P6:5                     ; define mesh grid
      M376 H8                                      ; compensate first 8mm only
      

      My homez.g:

      ; homez.g
      ; called to home the Z axis
      ;
      G91               ; relative positioning
      G1 H2 Z2 F900     ; lift Z relative to current position, but only 2mm
      G1 H1 Z-215 F900  ; move Z down until the endstop is triggered
      G90               ; absolute positioning
      
      G1 Z5 F900        ; move clear of bed
      

      The full config file is: config.g

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @achrn
        last edited by

        @achrn your Z homing file is wrong for homing using the Z probe. Please read https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_cartesian#homing-z.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

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