PLC Archive:Scaling Analog Input Values
From ControlWiki
Scaling Analog Input Values
contributed by: Simone Stefani
Link to File
Click here to view program file.
Abstract
An S7 example to manage the "any" parameter. The function makes a conversion of any type of input in function of MAX and MIN of input and MAX & MIN of output. Furthermore check the alarm limit area of input signal and generate the overflow alarm.
Disclaimer
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.