EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

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
Page #68 background imageLoading...
Page #68 background image
5-34
5.1 Type Conversion Functions
5.1.11
Word (signed), double word (signed) type
word (unsigned)/16-bit string type conversion
INT_TO_WORD(_E), DINT_TO_WORD(_E)
(2) DINT_TO_WORD, DINT_TO_WORD_E
Converts double word (signed) type data input to into word (unsigned)/16-bit string type
data, and outputs the operation result from .
Operation result
(1) Function without EN/ENO
An operation is executed and the operation value is output from .
(2) Function with EN/ENO
The following table shows the executing conditions and operation results.
*1 When FALSE is output from ENO, the data output from is undefined.
In this case, create a program so that the data output from is not used.
When the DINT_TO_WORD(_E) function is executed, high-order 16-bit data
of double word (signed) type data input to input variable is discarded.
EN ENO
TRUE (Operation execution) TRUE Operation output value
FALSE (Operation stop)
FALSE
*1
Undefined value
s
d
Double word (signed) type
High-order 16-bit data is discarded.
12345678
Word (unsigned)/16-bit string type
614EH
12345678
614E
H
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
d
d
d
d
s

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals