Example - Ladder Diagram
PIDCAL
The PIDCAL instruction performs a PID calculation operation based on the set value (SV) and process value (PV). The results are stored in the manipulation value (MV). The result of the PID calculation operation is stored in the assigned data register, S.
Ladder Diagram Example
The PIDCAL instruction performs the PID calculation every scan except the first scan of the ladder diagram program.