Process control instructions
959
Part III FP Instructions
ST
When programming with structured text, enter the following:
if (bScale) then
SCALE_INT_UINT(iInput := iInput,
iInputLowerLimit := -50,
iInputUpperLimit := 1000,
uiOutputLowerLimit := 0,
uiOutputUpperLimit := 2000,
uiOutput => uiOutput);
end_if;