Inverse Kinematics 5-axis milling machine R2017x

When I create new 5-axis milling machine (BRAL), inverse kinematic does not work correct.

I create Engineering Connections, Mechanism and generate NC machine. But when I move rotary axis, machine rotate in wrong direction.

I took standart scenario in

\B419\win_b64\startup\Manufacturing\CENITCE\Scenarios\MPS_ZIMMERMANN_100001_PROCESS_5XMILL_SCENARIO

5-axis machine works well, but when I delete and recreate the same engineering connetction between X and Y axis, then machine move in wrong direction as well.