10.4.4
Data Type Conversion Functions Convert to
Real Data
The Convert to Real function outputs the real value equivalent 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.
Note that loss of precision can occur when converting from Double-Precision Integer to
Real data, because since the number of significant bits is reduced to 24.
Value to be converted
OK
Enable
INT_
TO
REAL
IN
Output
Q
10.4.4.1
Parameters of the Convert to Real Function
Input/ Output
Choices
Description
enable
flow
When the function is enabled, the conversion is
performed.
IN
R, AI, AQ, constant
For INT only: I, Q, M, T, G
IN contains a reference for the integer value to
be converted to Real.
ok
flow, none
OK is energized when the function is performed
without error.
Q
R, AI, AQ
The Real form of the original value in IN.
10.4.4.2
Example
In the example, the integer value of input IN is 678. The result value placed in %T0016 is
678.000.
%I0002
%T0001
%R0016
INT
_
TO
REAL
IN Q
Instruction Set Reference
GFK-1503E User Manual 159
For public disclosure
Содержание VersaMax PLC
Страница 1: ...GE Intelligent Platforms GFK 1503E VersaMax PLC User Manual September 2015 For public disclosure ...
Страница 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Страница 317: ......
Страница 318: ...GE Intelligent Platforms 1 800 433 2682 1 434 978 5100 www ge ip com GFK 1503E For public disclosure ...