Effects of the antiferromagnetic spin structure on antiferromagnetically induced perpendicular magnetic anisotropy