5.1.8
Word (signed), double word (signed) type → single-precision
real type conversion
INT_TO_REAL(_E)
DINT_TO_REAL(_E)
Structured ladder
INT_TO_REAL_E
EN
ENO
s
d
Input argument,
EN:
Executing condition (TRUE: Execution, FALSE: Stop)
s:
Input
Output argument,
ENO:
Output status (TRUE: Normal, FALSE: Error)
d:
Output
Function
Operation processing
(1) INT_TO_REAL, INT_TO_REAL_E
Converts word (signed) type data input to
the operation result from
Word (signed) type
5.1.8 Word (signed), double word (signed) type
INT_TO_REAL(_E), DINT_TO_REAL(_E)
ST
ENO:=
(EN, s, d);
INT_TO_REAL_E
.
d
1234
→
INT_TO_REAL(_E), DINT_TO_REAL(_E)
_E: With EN/ENO
indicates any of the following
functions.
INT_TO_REAL
DINT_TO_REAL
:Bit
:Word (signed), double word (signed)
:Bit
:Single-precision real
into single-precision real type data, and outputs
s
1234.0
Single-precision real type
5.1 Type Conversion Functions
single-precision real type conversion
High
Performance
Universal
UD
INT_TO_REAL_E
DINT_TO_REAL_E
5
5-23