Dual Endstops with Euclid
-
I have a Z endstop switch and a Euclid probe
I would like them to work together with Z endstop basically being a backup incase something doesnt work properly with Euclid mounting.
would something like this work?
M574 Z1 S1 P"!zstop" ; Z min active high endstop switch M558 K0 P5 C"!zstop+^zprobe.in" H4 F500 60 T9000 A1 S0.01
This is my current config
; 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 ; M558 K0 P5 C"^zprobe.in" H4 F500 60 T9000 A1 S0.01 G31 K0 P500 X0 Y-39 Z1.90 M557 X10:290 Y10:290 S40 ; define mesh grid S86 = Spacing 86mm
This is my homeall
G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X300 Y300 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 H2 X-5 Y-5 F6000 ; go back a few mm G1 H1 X300 Y300 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 H1 Z-205 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this) G1 Z5 F3000 G1 X150 Y150 Z25 F3000
-
Since you have a Z endstop why not simply use it alone for homing Z and use the Z probe only for G30, G32 and G29 commands?
Frederick
-
@adamfilip I would advise against that. Euclid mounting is extremely reliable, and with the use of the conditional g-code checks you will get a warning if not attached.
You can use the Z-endstop to set 0, then use the probe to 'reset' Z=0 with a G30 S-2 command to redefine Z at the probe trigger height
OR
You can use Euclid as your probe and endstop, and have the hardwired Z-endstop work as a high limit switch via M581 to be your 'failsafe' in case of a malfunction.
See https://duet3d.dozuki.com/Wiki/M581