SIS function blocks > SIS Math Blocks > Logic Solver Calculation function block > Expressions in DeltaV SIS Software > Functions in Logic Solver Expressions

PEU function

PEU(x,p0,p100). Converts value x from percent of scale to engineering units given the values at 0% (p0) and 100% (p100). PEU uses standard linear interpolation.

Syntax:

'external reference' := PEU(Real value, p0, p100);

Example:

'OUT1' := PEU(IN1, 2, 8);   

The example converts the value of IN1 from a percentage to a number in the range between 2 and 8. If IN1 is 50, OUT1 is 5.