zprobe as endstop - do I need to declare it?
-
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.27Various 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
-
@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.