
Chapter 4. Basic instructions
4-3
4.1.2
AND, AND NOT
AND
AND NOT
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#
D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
AND
AND NOT
O O
O O
O O O
O
1
1) AND
a) Functions
-
The NO contact series connection
-
Read the on/off data of the specified device ( ), performs the AND operation of that data and
the previous operation result, and use it as a new operation result.
2) AND NOT
a) Functions
-
The NC contact series connection
-
Read the on/off data of the specified device ( ), performs the AND operation of that data and
the previous operation result, and use it as a new operation result.
3) Program example
The P061 contact will be switched on when the P020 and P021 are on and the P022 is off.
S
AND
AND NOT
( )
( )
S
S
S
S
P020
( P061 )
P021
P022
AND
AND NOT
S
S