And/And Not - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

AND/AND NOT

Instruction
AND
AND NOT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
---
Operand Specifications
Word addresses
Area
CIO
WR
HR
AR
AND bit
operand
OK
OK
OK
OK
AND NOT
bit operand
*1 CJ2 CPU Units only.
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 specification, the specified
bit in I/O memory is read. If there is an immediate refreshing specification, the status of the Basic Input Unit's
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 Basic
Input Unit's input terminals is read.
140
Mnemonic
Variations
@AND, %AND,
AND
!AND, !@AND,
!%AND
@AND NOT,
%AND NOT,
AND NOT
!AND NOT,
!@AND NOT,
!%AND NOT
AND
Block program areas
Step program areas
OK
OK
Description
---
Indirect DM/EM
@DM
T
C
DM
EM
@EM
*1
*1
OK
OK
OK
OK
Function
code
Takes a logical AND of the status of the specified
---
operand bit and the current execution condition.
Reverses the status of the specified operand bit
---
and takes a logical AND with the current execution
condition.
Subroutines
OK
Data type
BOOL
Registers
addresses
Con-
stants
*DM
DR
*EM
---
---
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
AND NOT
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
---
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
OK
OK
OK
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents