You'd have to share the gcode files being used so we can see what is happening.

Please post your config.g and your homeall.g and homez.g