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.20
Word (unsigned)/16-bit string, double word (unsigned)/32-bit string type
→
bit type conversion
5-61
5
APPLICATION
FUNCTIONS
WORD_TO_BOOL(_E),
DWORD_TO_BOOL(_E)
WORD_TO_BOOL(_E), DWORD_TO_BOOL(_E)
5.1.20 Word (unsigned)/16-bit string, double word (unsigned)/32-bit
string type → bit type conversion
WORD_TO_BOOL(_E), DWORD_TO_BOOL(_E)
Function
Operation processing
(1) WORD_TO_BOOL, WORD_TO_BOOL_E
Converts word (unsigned)/16-bit string type data input to into bit type data, and outputs
the operation result from .
When the input value is 0
H, FALSE is output.
When the input value is other than 0
H, TRUE is output.
WORD_TO_BOOL(_E)
DWORD_TO_BOOL(_E)
_E: With EN/ENO
indicates any of the following
functions.
WORD_TO_BOOL WORD_TO_BOOL_E
DWORD_TO_BOOL
DWORD_TO_BOOL_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Word (unsigned)/16-bit string, double word
(unsigned)/32-bit string
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Bit
Universal
UD
High
Performance
EN ENO
ds
WORD_TO_BOOL_E
(EN, s, d);ENO:=
Structured ladder
ST
WORD_TO_BOOL_E
s
d
Word (unsigned)/16-bit string type
1567H
0H
Bit type
TRUE
FALSE

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals