3xY Axis Endstops only low or high works, not both
-
I am in the stage of setting up a 9'x12' CNC machine. I have a 5 pepperl+fuchs sensors on the machine. I am trying to setup my y-axis to have 2 high endstops (used for squaring the gantry) and 1 low endstop to determine the length of the bed (that way I can move the end stop and not have to reprogram the gcode).
When I have all the y endstops active, it will only tell me when the low endstop is triggered. If I rem out the Y1 endstop (as shown in the code below) and send M119, it will tell me the high endstops are triggered (as it should).
TLDR; Everything works independently, but if I add in the Y1 endstop, the system does not send a message when the Y2 are triggered.
Board: Duet 3 MB6HC (MB6HC)
Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.6 (2023-07-21) (Web UI is same)GCode:
; Endstops M574 X1 S1 P"!io4.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io1.in M574 Y2 S1 P"!io5.in+!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io3.in ;M574 Y1 S1 P"!io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io3.in M574 Z2 S1 P"!io3.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io5.in
-
As far as I know RRF 3.4.6 does not support endstops at both ends of an axis.
I don't know if 3.5.x will.
It would be nice.
Frederick
-
@fcwilt Thanks for the information.
-
-
@MiniFireDragon RRF only supports one endstop per motor. Endstops are only active during homing moves; the rest of the time they can be repurposed as triggers. You could set up the low endstop as a trigger, and any move the hits that trigger stops the axis and sets the Y axis to 0 with G92. See https://docs.duet3d.com/en/User_manual/Tuning/Triggers
Ian
-
@droftarts Thanks, this maybe useful.