Using Z endstop as Failsafe External Trigger
-
I use Z probe for ABL and Homing.
my machine also has a Z endstopI would like to configure the Z endstop as a failsafe trigger so incase the Probe Fails.
the Z endstop will stop the machine before it breaks something.How Do I assign the M581 to use the Z endstop, and Halt movement if triggered
This is my current setup
; Endstops M574 X2 S1 P"!xstop" ; X max active high endstop switch M574 Y2 S1 P"!ystop" ; Y max active high endstop switch M574 Z1 S1 P"!zstop" ; Z min active high endstop switch ;Euclid Settings M574 E1 S2 ;configure Z-probe endstop for low end on Z ; M558 K0 P5 C"^zprobe.in" H4 F1000:500 60 T9000 A1 S0.01 ; K0 for probe 0, P5 for NC switch, C for input pin,
-
You can't use it as an endstop during a probing move. But you could configure it as an e-stop that would halt the printer when triggered.
Take a look here: https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_E_stop#firmware-configuration
-
@phaedrux E-Stop would work
Something like this?
M574 Z1 S1 P"!zstop" ; Z min active high endstop switch M950 J1 C"!zstop" M581 P1 T0 S1 R0
-
@adamfilip said in Using Z endstop as Failsafe External Trigger:
M574 Z1 S1 P"!zstop" ; Z min active high endstop switch
Omit this line. You can't use the zstop pin more than once. You can alternate using them if you want, in which case you'd have to free up the pin before reassigning it.
M950 J1 C"nil" ; would unassign it from the estop duty.
M574 Z1 S1 P"nil" ; would unassign it from the endstop duty.
-
@phaedrux Thank you