You don't need a M574 command for the Z probe, except in the unusual case that you are using the Z probe to home the X or Y axis, as a few printers do.