5-36
5.1 Type Conversion Functions
5.1.12
Word (signed), double word (signed) type
→
double word (unsigned)/32-bit string type conversion
INT_TO_DWORD(_E), DINT_TO_DWORD(_E)
5.1.12 Word (signed), double word (signed) type → double word
(unsigned)/32-bit string type conversion
INT_TO_DWORD(_E), DINT_TO_DWORD(_E)
Function
Operation processing
(1) INT_TO_DWORD, INT_TO_DWORD_E
Converts word (signed) type data input to into double word (unsigned)/32-bit string type
data, and outputs the operation result from .
INT_TO_DWORD(_E)
DINT_TO_DWORD(_E)
_E: With EN/ENO
indicates any of the following
functions.
INT_TO_DWORD INT_TO_DWORD_E
DINT_TO_DWORD DINT_TO_DWORD_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 word (unsigned)/32-bit string
Universal
UD
High
Performance
EN ENO
ds
INT_TO_DWORD_E
(EN, s, d);ENO:=
Structured ladder
ST
INT_TO_DWORD_E
s
d
Word (signed) type
Always filled with 0s.
-325
Double word (unsigned)/32-bit string type
0000FEBBH
-325 11111110 1 0 1110 11
10000000000000000 1111110 1 0 1110 11
0000FEBB
H
Data conversion