2-9
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequence Input Instructions
2
AND/AND NOT
AND/AND NOT
Applicable Program Areas
Operands
Operand Specifications
Flags
There are no flags affected by this instruction.
Function

AND

AND is used for a normally open bit connected in series. AND cannot be directly connected to the bus
bar, and cannot be used at the beginning of a logic block. If there is no immediate refreshing specifica-
tion, the specified bit in I/O memory is read. If there is an immediate refreshing specification, the status
of the CPU Unit’s built-in input terminal is read.

AND NOT

AND NOT is used for a normally closed bit connected in series. AND NOT cannot be directly connected
to the bus bar, and cannot be used at the beginning of a logic block. If there is no immediate refreshing
specification, the specified bit in I/O memory is read. If there is an immediate refreshing specification,
the status the CPU Unit’s built-in input terminals is read.
Instruction Mnemonic Variations Function
code Function
AND AND
@AND, %AND,
!AND, !@AND,
!%AND
--- Takes a logical AND of the status of the specified
operand bit and the current execution condition.
AND NOT AND NOT
@AND NOT,
%AND NOT,
!AND NOT,
!@AND NOT,
!%AND NOT
---
Reverses the status of the specified operand bit
and takes a logical AND with the current execution
condition.
Symbol
AND AND NOT
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
--- --- BOOL ---
Area Word addresses Indirect DM addresses Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
AND OK OK OK OK OK OK --- --- --- --- OK OK ---
AND NOT