12.25
Converting DINT to DWORD
DINT_TO_DWORD
This function converts a value from DINT data type to DWORD data type.
Structured text
d:=DINT_TO_DWORD(s);
Setting data
■Description, type, data type
Argument
s (IN)
d
Processing details
■Operation processing
• This function converts the value input to (s) from DINT data type to DWORD data type, and output the converted value from
(d).
(s)
12345678
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.
12 TYPE CONVERSION FUNCTIONS
150
12.25 Converting DINT to DWORD
Description
Input
Output
BC614EH
DWORD
(d)
Type
Data type
Input variable
DINT
Output variable
DWORD