EasyManuals Logo

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 #37 background imageLoading...
Page #37 background image
5.1 Type Conversion Functions
5.1.1 Bit type
word (signed), double word (signed) type conversion
5-3
5
APPLICATION
FUNCTIONS
BOOL_TO_INT(_E),
BOOL_TO_DINT(_E)
BOOL_TO_INT(_E), BOOL_TO_DINT(_E)
(2) BOOL_TO_DINT, BOOL_TO_DINT_E
Converts bit type data input to into double word (signed) type data, and outputs the
operation result from .
When the input value is FALSE, 0 is output in double word (signed) type data.
When the input value is TRUE, 1 is output in double word (signed) type data.
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.
EN ENO
TRUE (Operation execution) TRUE Operation output value
FALSE (Operation stop)
FALSE
*1
Undefined value
s
d
Bit type
TRUE
FALSE
Double word (signed) type
1
0
d
d
d
d

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