5-70
5.1 Type Conversion Functions
5.1.23
Word (unsigned)/16-bit string type
→
double word (unsigned)/32-bit string type conversion
WORD_TO_DWORD(_E)
5.1.23 Word (unsigned)/16-bit string type → double word
(unsigned)/32-bit string type conversion
WORD_TO_DWORD(_E)
Function
Operation processing
Converts word (unsigned)/16-bit string type data input to into double word (unsigned)/32-
bit string type data, and outputs the operation result from .
After data conversion, high-order 16 bits are filled with 0s.
WORD_TO_DWORD(_E)
_E: With EN/ENO
indicates any of the following
functions.
WORD_TO_DWORD
WORD_TO_DWORD_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Word (unsigned)/16-bit string
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
WORD_TO_DWORD_E
(EN, s, d);ENO:=
Structured ladder
ST
WORD_TO_DWORD_E
s
d
Word (unsigned)/16-bit string type
5678H
Double word (unsigned)/32-bit string type
00005678H