I have a feeling you have an issue with mastering... Is this a top loader or side slung robot? The mastering positions for the major axis are different between the two.... If the wrist is doing funky thinks start there with the mastering. To check the wrist...
Two Pointers, One Fixed, One as close to X/Y zero on the faceplate as possible.
Teach a point with axis 4 and 6 at zero, axis 5 bent down to meet up the two pointers.
Teach a second point in the same position, go into point data change the NUT to a FUT
Jog the robot up and away from the pointer
Step the robot to the now modified second point
If the pointers line up as they did at point one your minor axis mastering is good.
If the point is off, move only one axis to line up the points, single axis master half the amount you needed to move.
Rinse and repeat, to check your work...
Have fun... these ones are fun 