Is it possible your z-limit switch is toggled on permanently?