flipping heck! In the BL Touch documentation I was directed to it failed to mention a vital piece of information.
Note there are two Z End stop Pins;
Z Stop (Normal)
Probe Molex Socket End Stop Pins (Z Probe In & Grnd)
If you have normally High End stops defined you have to have specifically set the Z End Stop to Probe in a separate line stanza ;
; Endstops
M574 X1 Y1 S1 ; Set active high endstops
M574 Z1 S2 ; Set z probe endstop
Previously I was thinking that I had to disable the normal Z end Stop to stop it overriding the Z Probe End Stop;
M574 X1 Y1 Z0 S1 ; Set active high endstops
when that did not work I thought ,,,, well maybe the code is overloading the normal End Stop GCODE and you had to set it to normally High and not disabling it;
M574 X1 Y1 Z1 S1 ; Set active high end stops
This did not work and because it was set to normally High and the Z Stop was not connected ..... therefore the printer always thought it was at Z=0!
You need both;
M574 X1 Y1 Z0 S1 ; Set active high endstops
M574 Z1 S2 ; Set z probe endstop
This is the problem with RepRap ,,,, you are left guessing at what the developers had decided to implement and when you have poor documentation ... it causes chaos !!
Bad RepRap Firmware 🙂