SetIntPVal

Scales a TwinCAT process value of type: LREAL and writes the attribute value to the attribute "i" of "AnalogValue" (integer representation of the analog value).

METHOD SetIntPVal : BOOL
VAR_INPUT
    fProcess : LREAL; 
    ipSVC    : I_AcsiDATypeScaledValueConfig;
END_VAR