By setting Gain to 2 and NL_TBAND to 50 (with the others set to 0), the PID block provides an error squared output with a maximum gain of 2.