Standard Bitwise Boolean Functions; Boolean And, Boolean Or, Boolean Exclusive Or, And Boolean Not - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

5.4

Standard Bitwise Boolean Functions

Boolean AND, boolean OR, boolean exclusive OR, and boolean
NOT
AND_E, OR_E, XOR_E, NOT(_E)
High
Basic
Process
performance
Structured ladder/FBD
AND_E
EN
ENO
s1
s2
to
s28
The following function(s) can go in the dotted squares.
AND_E, OR_E, XOR_E, NOT, NOT_E
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
• AND_E
Performs Boolean AND on bit, word (unsigned)/16-bit string or double word (unsigned)/32-bit string type data input to (s1) to
(s28) bit by bit, and outputs the operation result from (d) in the same data type as that of (s1) to (s28).
Ex.
Word (unsigned)/16-bit string type data
s1
1
1
1
1
s2
0
0
0
1
d
0
0
0
1
The number of pins of variable 's' can be changed in the range from 2 to 28.
5 APPLICATION FUNCTIONS
140
5.4 Standard Bitwise Boolean Functions
LCPU
Redundant Universal
ST
ENO:=
AND_E
d
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
s1 to s28(_IN)
Input
(s1 only for NOT(_E))
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
1
1
1
1
0
0
AND
0
0
1
0
0
0
Boolean AND
0
0
1
0
0
0
(EN, s1, s2 ... s28, d);
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
Data type
Bit
ANY_BIT
Bit
ANY_BIT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents