M67 is probably what you want. It sets the output at the moment that the next motion command starts.
Otherwise there isn't much to choose between M68 and S.
Using Z is sometimes suggested, but that can interfere with the XY motion due to path blending constraints.