Bed time now but this is a very simple concept. When you touch the probe it just completes the circuit from Gnd to Input +

This is why if your input is working and setup correctly in Mach3 then it must be a wiring or probe problem. To test this and bypass the wire/probe then just put a short wire across the pins going to the probe wires.