GE 90-30/20/Micro Universal Remote User Manual


 
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-101
4
—>REAL (INT, DINT, BCD-4, WORD)
The Convert to Real function is used to output the real value of the input data. The original data is
not changed by this function.
When the function receives power flow, it performs the conversion, making the result available via
output Q. The function passes power flow when power is received, unless the specified conversion
would result in a value that is out of range.
It is possible for a loss of precision to occur when converting from DINT to REAL since the
number of significant bits is reduced to 24.
Note
This function is only available on 350 and 360 series CPUs, Release 9 or later, or
on all releases of CPU352.
_____
| |
(enable) —| INT
_|
(ok)
| |
| TO_ |
| |
| REAL|
(value to be converted) —|IN Q|— (output parameter Q)
|_____|
Parameters:
Parameter Description
enable When the function is enabled, the conversion is performed.
IN IN contains a reference for the integer value to be converted to REAL.
ok The ok output is energized when the function is performed without error.
Q Q contains the REAL form of the original value in IN.