12.28
Converting DINT to LREAL
DINT_TO_LREAL
This function converts a value from DINT data type to LREAL data type.
Structured text
d:=DINT_TO_LREAL(s);
Setting data
■Description, type, data type
Argument
Description
s (IN)
Input
d
Output
Processing details
■Operation processing
• This function converts the value input to (s) from DINT data type to LREAL data type, and output the converted value from
(d).
(s)
16543521
DINT
• Input a DINT data type value to (s).
■Operation result
The operation processing is performed. The operation result is output from (d).
Operation error
There is no operation error.
(d)
16543521.0
LREAL
Type
Data type
Input variable
DINT
Output variable
LREAL
12 TYPE CONVERSION FUNCTIONS
12.28 Converting DINT to LREAL
12
153