I have X, Y and Z home switches wired in series and connected to a single parallel port pin. Here is what happens when I hit the "Ref" buttons in Mach3...
The X axis works as expected - goes left until the switch opens, then slowly crawls right until the switch closes.
But the Y axis only works as expected SOMETIMES. Most of the time it just goes one direction until the switch opens, then immediately stops. If I jog the Y axis away from the switch and hit the "Ref" button again, eventually it will reference properly. Sometimes it takes 5 or more attempts.
The Z axis works MOST of the time, although I think a few times it did the same as the Y axis.
What do you think is the problem? Contact bounce? Something else? All the switches seem to work properly when I push them by hand and watch the I/O status.