Analog Control Blocks > Scaler function block

Scaler function block execution

The Scaler function block uses the input value, input range, and output range to compute the scaled output value. The percentage value of the input in its configured range is the same as the percentage value of the output in its configured range.

The block converts the input value (IN) to a percentage of the specified IN_SCALE, and next converts this percentage value back into engineering units as specified by OUT_SCALE to generate the block output (OUT). The following equations are used:

Note

The Low and High extensions in this example stand for the low and high value fields of the IN_SCALE and OUT_SCALE parameters.