5-26
5.1 Type Conversion Functions
5.1.9 Word (signed), double word (signed) type
→
double-precision real type conversion
INT_TO_LREAL(_E), DINT_TO_LREAL(_E)
5.1.9 Word (signed), double word (signed) type → double-precision
real type conversion
INT_TO_LREAL(_E), DINT_TO_LREAL(_E)
Function
Operation processing
(1) INT_TO_LREAL, INT_TO_LREAL_E
Converts word (signed) type data input to into double-precision real type data, and
outputs the operation result from .
INT_TO_LREAL(_E)
DINT_TO_LREAL(_E)
_E: With EN/ENO
indicates any of the following
functions.
INT_TO_LREAL INT_TO_LREAL_E
DINT_TO_LREAL DINT_TO_LREAL_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Word (signed), double word (signed)
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Double-precision real
Universal
UD
EN ENO
ds
INT_TO_LREAL_E
(EN, s, d);ENO:=
Structured ladder
ST
INT_TO_LREAL_E
s
d
Word (signed) type Double-precision real type
1234 1234.0