W_UINT_REAL: Type conversion (WORD -> UINT -> REAL) (W_UINT_REAL: Type conversion (WORD -> UINT -> REAL))
Original instructions
Function description
This function converts an input value with data type WORD to data type UINT and then data type REAL.
As opposed to the WORD_TO_REAL conversion module (standard library), the W_UINT_REAL module performs a conversion to a UINT value prior to output of the REAL value. The result is, for example, that the input value FFFF is output as output value 65535.0. (Not as with the WORD_TO_REAL module, for which the output value 9.183409e-41 is set).
As additional parameters, EN and ENO are projected.
Representation in FBD
Representation:
Representation in LD
Appearance:
Representation in IL
Appearance:
LD WordValue 
W_UINT_REAL 
ST RealValue
Representation in ST
Appearance:
RealValue := W_UINT_REAL (WordValue);
Parameter description
Description of input parameters:
Parameter
Data type
Description
INP
Input value
Description of output parameters:
Parameter
Data type
Description
OUTP
Output value