@marc8991 said in Multiple endstops on Y axis:
As I have defined M584 Y2:1 shouldn't be M574 Y1 S0 P"zstop+ystop" correct?
Your M584 command declares the Y motors to be connected to the Z and Y motor outputs, in that order. In the M574 command you must list the endstop connectors in corresponding order. Therefore, if the Y motor connected to the Z output has an endstop switch connected to the zstop input, and the Y motor connected to the Y output has an endstop switch connected to the ystop input, then your M574 command is correct. If you swapped the endstop connections over, you would need to list them as "ystop+zstop" in the M574 command.