PAN is always the first element in an angle vector, not the last. Look in the manual for "Euler angle". But there is no function to set a hinge angle. Maybe you're confusing this with the hinge axis?