Move machine with feed speed towards position, immediately stop when sensor is signaled and store position to probe parameters.
Stop is on contact, error if failure.
G31 <X..W>
G31 X100
G38.1, G38.2, G38.3, G38.4, G38.5