F_Scale

F_Scale 1:

A raw analog signal value is scaled to the specified range of measurements and returned as the function value. If the value of the raw signal extends beyond the upper or lower measurement range, the corresponding limit value is output. There must be a difference of at least 0.01 between the upper and lower limit values for the raw data. If this is not the case, the lower limit value is output.

F_Scale 2:

VAR_INPUT

fRawData                   : LREAL;
fRawDataLowerOffLimit      : LREAL;
fRawDataUpperOffLimit      : LREAL;
fScaleDataLowerOffLimit    : LREAL;
fScaleDataUpperOffLimit    : LREAL;

fRawData: Raw data.

fRawDataLowerOffLimit: Lower limit for raw data.

fRawDataUpperOffLimit: Upper limit for raw data.

fScaleDataLowerOffLimit: Lower limit of scaled measurement.

fScaleDataUpperOffLimit: Upper limit of scaled measurement.