When using home and limits together I am not sure if you can tie all the axis together. Try just the x axis and don't series with the z and see if it works. Then you could do the z on another pin.
"If you implemented configuration two from Section 4.5, you will probably have Home switches on
the X, Y, and Z axes. Enable the Home switches boxes for these axes, and define the Port/Pin to
which each is connected. If you are combining limits and the Home switch as one signal, then you
should enable Limit --, Limit ++, and Home for each axis and allocate the same pin to Home,
Limit --, and Limit ++."