How to configure both Low end and High end enstop for axis
-
Hi,
I am engineering a machine with 2 tools which each have an independent little Z-axis for auto-calibration.
The little Z axis on the left hotend (V) has a high-end microswitch endstop and on the low end a nozzle-triggered Z probe.
The little Z axis on the right hotend (W) also has a high-end microswitch endstop. But uses the nozzle 'probe' as a low-end microswitch endstop.My goal is to auto-align the Z of both tools with this system
I plan to do this by first homing V and W to their max (high-end). Then I move V down by 5mm to clear any difference between the tools, probe the bed with the left hotend and set Z=0. Then I move the 2nd tool to the same location as probed, and move the right hotend (W) down until the nozzle touches the bed (W low-end endstop switch).However, I cannot find if I connect 2 end-stops for the same axis (W) Any help?
I have tried this;
M574 W2 S1 P"1.io4.in" ; configure switch-type endstop for high end on W via pin 1.io4.in M574 W1 S1 P"2.io1.in" ; configure switch-type endstop for low end on W via pin 2.io1.in
-
@SanderLPFRG you can't configure 2 endstops for an axis at the same time.
you can however remap them on the fly, so just add the appropriate M574 line before using the endstop. -
@jay_s_uk can you give an example?
-
@SanderLPFRG well lets say you want to home to to the top
M574 W2 S1 P"1.io4.in" G1 H1 W100
and when you want to home to the bottom
M574 W1 S1 P"2.io1.in" G1 H1 W-100
-
@jay_s_uk It is working, thanks!
-
-
-
-