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.22
Double word (unsigned)/32-bit string type
→
word (signed), double word (signed) type conversion
5-67
5
APPLICATION
FUNCTIONS
DWORD_TO_INT(_E),
DWORD_TO_DINT(_E)
DWORD_TO_INT(_E), DWORD_TO_DINT(_E)
5.1.22 Double word (unsigned)/32-bit string type → word (signed),
double word (signed) type conversion
DWORD_TO_INT(_E), DWORD_TO_DINT(_E)
Function
Operation processing
(1) DWORD_TO_INT, DWORD_TO_INT_E
Converts double word (unsigned)/32-bit string type data input to into word (signed) type
data, and outputs the operation result from .
DWORD_TO_INT(_E)
DWORD_TO_DINT(_E)
_E: With EN/ENO
indicates any of the following
functions.
DWORD_TO_INT DWORD_TO_INT_E
DWORD_TO_DINT DWORD_TO_DINT_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 (signed), double word (signed)
Universal
UD
High
Performance
EN ENO
ds
DWORD_TO_INT_E
(EN, s, d);ENO:=
Structured ladder
ST
DWORD_TO_INT_E
s
d
Double word (unsigned)/32-bit string type
High-order 16-bit data is discarded.
BC614EH
Word (signed) type
24910
BC614EH
24910
0
0
0011110100000000 1
1
1
1
0
0
0
0
0
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
1
1
1
1
0
0

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals