Setting Z-Axis Home

In this post there are some visuals that might help.