Hi I need to implement a PID controller in codesys where it seems to behave different from my simulations. I found the integral part is adapted compared to the output limitations in codesys does anyone know what this means?
I have attached a picture of the describtion of the block
Thanks
I have not read the text as it is too small on my smart phone screen ;-) But I suspect they mean that internal integration windup has been limited (this is a good thing)
So the integral part of the PID Loop will not integrate internally beyond the output limit (this is mostly called anti-reset windup). In other words the internal integrator stops integrating after reaching the minimum or maximum output value. This means that if your input error changes polarity, the output of the PIDloop will immediately react in the opposite direction, without having to undo the internal windup.
Last edit: hermsen 2022-10-01