Can anyone help me to solve the problem with Makino Seiki 1992 model VMC with Fanuc O-M control.

Is tapping is possible in this machine ??. It works on tapping cycle but the spindle orientation is missing thus thread getting damaged during retraction. How to solve.

This machine is with auto tool changer.