On a complex piece of machinery like a 3d printer, there are many things that can go wrong. One thing that I see, from time to time, is that the machine won’t home. The first thing that I check when this happens is the cables. Every once in a while, a cable can get situated right between the Z sensor and the Z motor and prevent the Z axis from homing correctly.