Converts engineering units values to percent given the values at 0% (p0) and 100% (p100). EUP uses standard linear interpolation.
Syntax:
'external reference' := EUP(Real value, p0, p100);
Example:
'OUT1' := EUP(IN1, 2, 8);
The example converts the value of IN1 to a percentage of the range between 2 and 8. If IN1 is 5, OUT1 is 50.