FUNCTION_BLOCK SCALE_TIME

Hover on a highlighted element
to pop up its description (if any).

ECC
ALGORITHM REQ IN Java :
   OUT.value = (long)(IN.value *Math.max(0.0,Math.min(1.0,SCALE.value)));
END_ALGORITHM

An instance of this Function Block type provides a linear scaling of an input TIME value DT according to the table below. Its operation is defined by the Execution Control Chart (ECC) and algorithm shown above.

SCALE OUT
SCALE < 0.0 0.0
0.0 ≤ SCALE ≤ 1.0 SCALE * DT
SCALE > 1.0 DT

See E_PWM for an example of the use of an instance of this type.