Got this stama fanuc 0m mc 320 machine which wont move in z axis during automatic mode or mdi mode but will move normally in jog mode. When i try to make a tool change in mdi or commmand any z axis movement in a program, it stops, no alarm occurs, but if there is only xy movement in a program, it completes it normally. It has pallet roundtable. What would be a reason for such a behavior?