This blocks computes y as integral of the input u multiplied with the gain K. If the integral reaches a given upper or lower limit, the integration is halted and only restarted if the input drives the integral away from the bounds.
The integrator is initialized with the value Y0.