![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831156.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-39
Ver. 1
6.9.2 AND, AND NOT, ANDP, ANDN
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
AND
AND NOT
S O O O O O O O O - O O - O -
-
-
1/2
-
-
-
ANDP
ANDN
S O O O O O O O O - O O - O -
-
-
2
1) AND, AND NOT
(1) AND is A contact series-Connected instruction, and AND NOT is B contact series-connected instruction.
(2) AND or AND NOT operation of previous operation result and specified contact (S) is regarded as its result.
2) ANDP, ANDN
(1) ANDP is A contact series-connected instruction at Rising Pulse, and ANDN is B contact series-connected
instruction at Falling Pulse.
(2) Applicable contact changes when ANDP is at Rising Pulse and ANDN is at Falling Pulse, AND or AND NOT
operation of previous operation result and specified contact (S) is regarded as its result.
3) Program Example
(1) After Input Condition P00020 and P00021 is AND operated, its result and P00022 is AND NOT operated, will
be output in P00060. D00020.3 value and P00023 is ANDN operated, its result and P00024 is ANDP
operated to output in P00061.
[Ladder Program] [Mnemonic Program]
Remark
(1) AND/AND NOT Instruction if used with index formula increases the number of steps by 1.
0
4
P00021 P00022
D00020.3
P00020
P00023 P00024
P00060
P00061
N
P
Operand
Description
Data Type
S
Bit device’s contact / Word device’s bit contact
BIT
AND S
AND NOT S
ANDP S
ANDN S
P
N
Step
Mnemonic Operand
0
LOAD
P00020
1
AND
P00021
2
AND NOT
P00022
3
OUT
P00060
4
LOAD
D00020.3
5
ANDP
P00023
6
ANDN
P00024
7
OUT
P00061
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...