| Nombre | Tipo | Arranque | Comentario |
|---|---|---|---|
| ▾ Input | |||
| Setpoint | Real | — | Consigna de nivel (%) |
| Input | Real | — | PV escalada con NORM_X/SCALE_X (%) |
| Gain | Real | Ganancia proporcional | |
| Ti | Real | Tiempo integral (s) | |
| Td | Real | Tiempo derivativo (s) | |
| Cycle | Real | 0.05 | Periodo del OB30 (s) |
| ▾ Output · ▾ Static (se crean al asignarlas: #I, #PrevInput…) | |||
#I := #I + #Gain * #Error * #Cycle / #Ti; dentro de un IF #Ti > 0.0 THEN … END_IF;#U := #P + #I; y sólo integra si NOT ((#U >= 100.0 AND #Error > 0.0) OR (#U <= 0.0 AND #Error < 0.0)).