Control the max Alieron Angle in Stablize mode

Hi all ,

I have new Design plane , but I have to control the max roll angle in stab mode ,


when the roll angle = 35 degree I want the Stab Mode to give the max PWM which is ( 1900 )

Hope I can get the solution of my problem asap .

Best regards.