Hi,
a block like:
g31 z-1 f20
will cause the machine to travel at 20 in/min to z = -1 inch or when the probe activates, which ever comes first. It does not turn around and drive upwards again.
It will, but you have to tell it explicitly what to do, for example:
g31 z-1 f20
g0 z1
The g0 z1 will cause the machine to drive to z =1 inch, presumably above the material, but only after Mach has latched the probe values into the pound registers.
Craig