I wired up my limit switches to IO17-IO20 on P1, set them to Xmin, X2min, Ymin, Y2Min, and Inverted (because I have them wired through switches to some GND pins on P1).
When I go into HAL Show, I can switch them from Yellow to Red by manually pressing the switches. If I manually home the axis then they similarly go Red. Also checked in Hal Meter. Electrically everything seems fine.
My machine is an XXYYZ gantry. So the error seems to be pointing at the Y2 switch but this switch operates fine.
If I manually close the Y2 switch, I still get a 'Joint 3 on limit switch error'.
Strangely, One of my forays into PNCConf and not changing anything, when I came out and retried it, I got a 'Joint 1 on limit switch error' but there was no physical change to the switches or wiring.
Then it went back to Joint 3.
I'm now just confused. Thoughts?
Here's some screenshots and my .hal/.ini files.