PTZ set pan/tilt limits

I use the AI tracking on my S340 but when tracking close to the wall it is mounted on at night, the ir gets blows out the picture and you can’t see much in the picture.
If I had a limit I could stop it rotating too far at night.