GetFloatPVal

Reads the attribute "f" of "AnalogValue" (floating-point representation of the analog value) and scales the attribute value into a TwinCAT process value of type: LREAL.

METHOD GetFloatPVal : BOOL
VAR_INPUT
    ipUnit   : I_AcsiDATypeUnit;
END_VAR
VAR_OUTPUT
    fProcess : LREAL;
END_VAR