One of two things is going on, either your z home switch is on the verge of not making, or the z drive has been changed and someone didn't widen the marker pulse width in the drive. Check the pitch of your z screw, and make marks at where it happens to find it's home on the column, see if the marks aren't a consistent distance apart. consistent such as the same as one revolution of the screw, or sometimes two or three.