EasyManua.ls Logo

Mitsubishi MELSEC Q Series

Mitsubishi MELSEC Q Series
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.1 Type Conversion Functions
5.1.24
Double word (unsigned)/32-bit string type
→
word (unsigned)/16-bit string type conversion
5-73
5
APPLICATION
FUNCTIONS
DWORD_TO_WORD(_E)
DWORD_TO_WORD(_E)
5.1.24 Double word (unsigned)/32-bit string type → word
(unsigned)/16-bit string type conversion
DWORD_TO_WORD(_E)
Function
Operation processing
Converts double word (unsigned)/32-bit string type data input to into word (unsigned)/16-
bit string type data, and outputs the operation result from .
DWORD_TO_WORD(_E)
_E: With EN/ENO
indicates any of the following
functions.
DWORD_TO_WORD
DWORD_TO_WORD_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Double word (unsigned)/32-bit string
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Word (unsigned)/16-bit string
Universal
UD
High
Performance
EN ENO
ds
DWORD_TO_WORD_E
(EN, s, d);ENO:=
Structured ladder
ST
DWORD_TO_WORD_E
s
d
Double word (unsigned)/32-bit string type
High-order 16-bit data is discarded.
12345678H
Word (unsigned)/16-bit string type
5678H
12345678H
5678H
0
0
001011000100100
1234 567 8
0 1
1
0
0
1
1
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals