clampingIntegration stops when the sum of the block components exceeds the output limits and the integrator output and block input have the same sign. Integration resumes when the sum of the block components exceeds the output limits and the integrator output and block input have opposite sign. Clamping is sometimes referred to as conditional integration.
The current anti-windup limits the I-part but does not stop integration. A better anti-windup scheme would be like the "clamping" method used in the simulink PID block: https://se.mathworks.com/help/simulink/slref/pidcontroller.html
clamping Integration stops when the sum of the block components exceeds the output limits and the integrator output and block input have the same sign. Integration resumes when the sum of the block components exceeds the output limits and the integrator output and block input have opposite sign. Clamping is sometimes referred to as conditional integration.