Ah, i only guessed you were inches by the small numbers Z-2 etc, you will need those made up to something like Z-100 or so.
Anyway, if the motion does NOT stop regardless of probe then there is a configuration issue somewhere.
I have had NO luck in reproducing a probe input using the keyboard etc, never could get that to work.
I would NOT bother with the CS_LABS M31 code yet - its more complex and harder to debug, it will NOT work unless you can get the motion to stop when the plate is grounded - that is rule No1 to fix. The code DOES work though as i use it all the time.