how to prevent rotation wrapping in full body ik

i have applied full body ik for a industrial robot arm. the problem is when i try to rotate the arm more than 360 degree it rotates in opposite direction to reach that location but i want it to rotate in same direction without this effect. how to solve it. can some one give me solution, I’m new to unreal