And/And Not - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

AND/AND NOT

Instruction
AND
AND NOT
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
---
Operand Specifications
Word addresses
Area
CIO
WR
HR
AND
OK
OK
OK
AND NOT
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.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
@AND, %AND,
AND
!AND, !@AND,
!%AND
@AND NOT,
%AND NOT,
AND NOT
!AND NOT,
!@AND NOT,
!%AND NOT
AND
Description
---
AR
T
C
DM
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
Indirect DM addresses
Constants
@DM
*DM
---
---
---
2 Instructions
Function
AND NOT
Interrupt tasks
OK
Size
---
CF
Pulse bits
TR bits
OK
OK
---
2-9
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents