what is the calculation delay in PID used for?

Hi Falk, I appreciate your response.

I have another question related to PID which is stupid but I have to ask it because I am cunfused all the time about it. in the example given of C-Script based PI-Contreller.

I am not sure what I actually should insert in the Kp and Ki variable, is it

Kp=0.45*Ku

Ki=Kp/Ti.

or

Kp=k

Ki= Ti

please find the picture attached

cheers,

EMdude