PID Controller (continued controlller)
This is an original Siemens control program. The controller is ‘called’ 250 times per program cycle.
After 100 program cycles one LED is lit.
Both CPUs were loaded with the same program and were started in synchronisation via a digital input.

