Thank you all for the various hints. After a number of frustrating days wrestling with 2560, RAMPS, switches, and Arduino IDE I have finally been able to track down the issue. 1) the declaration of each endstop pin needed INPUT_PULLUP so that it would correctly register the opening and closing of the switch otherwise the registration was almost random (thanks to normw for that) 2) Having swappby KangaGorillaPig - General
Unfortunately not true for me. I tested the resistance by probing the end of the crimp pins in the terminal block. When I swapped the z switch wires into the X pins the switch is registered correctly. Which is why I suspect it is in the marlin firmware. Although I would be happy to be wrong.by KangaGorillaPig - General
Thanks for the attention, but... I know I am a beginner however given that the z_max is always triggered regardless of the z switch position simply reversing (inverting) the switch logic will now show the z_max as never triggered regardless of switch position, is this not the case?by KangaGorillaPig - General
I am just begining the 3D printer journey, and am new to every aspect. Have bought a mini Kossel, finished assembly, uploaded marlin to arduino, connected laptop via Pronterface and can issue M119 to see end stop status. However the z_max is always triggered regardless of the manual state of the switch, i.e. if I manually depress the switch and issue M119 the result do not change. I think thesby KangaGorillaPig - General