PLC Archive:PID Controller
Danish all-in-one PID-Controller FB121 for Simatic S7
contributed by: Jan Steen Nielsen, Denmark
Link to File
This program contains many useful functions for the Siemens Simatic S7-300/400. Among these are mathematical functions, conversion functions, hour counters, analog input/output functions, delay (smoothing) function, PI-Controller and also an all-in-one PID-Controller. All functions are setup for simulation so you can see them working.
The file referenced above is a block diagram of the PID controller. The full set of program files, in a ZIP archive, may be downloaded here.
For all material in the PLC Archive, our site disclaimer applies. You take full responsibility for the application of any code appearing on this site, as we have made no engineering evaluation of the code nor are we, or the author, familiar with the details and risks inherent in your application.