ltrail
Member
I am new to programming the Siemens Step 7 Micro/Win software. But I found a useful subroutine albeit Function Call on the internet to provide scaling of analog inputs. After I copied the routines in LDR into my Networks, I realized that they ought to be in the SBR areas instead of Main. Anyway, I cannot find a block that provides the following:
EN, analog input from temperature transducer, Min Value, Max Value on left side of function block. Then ENO and Raw (Scaled) output in LDR on the right. Is this a technique for more sophisticated software than what I am useing? Or is there a method, say in STL to generate this. I want to install such in a Network in Main as a Call to a Subroutine using the input from a sensor that is unscaled. Thanks.
EN, analog input from temperature transducer, Min Value, Max Value on left side of function block. Then ENO and Raw (Scaled) output in LDR on the right. Is this a technique for more sophisticated software than what I am useing? Or is there a method, say in STL to generate this. I want to install such in a Network in Main as a Call to a Subroutine using the input from a sensor that is unscaled. Thanks.