EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP Series

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #246 background imageLoading...
Page #246 background image
2 Instructions
2-210
CP1E CPU Unit Instructions Reference Manual(W483)
Logic Instructions
ANDW/ANDL
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
LOGICAL AND ANDW @ANDW 034
Takes the logical AND of corresponding bits in sin-
gle words of word data and/or constants.
DOUBLE LOGICAL AND ANDL @ANDL 610
Takes the logical AND of corresponding bits in
double words of word data and/or constants.
Symbol
ANDW ANDL
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
ANDW ANDL ANDW ANDL
I
1
Input 1
WORD DWORD 1 2
I
2
Input 2
WORD DWORD 1 2
R Result word WORD DWORD 1 2
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
I
1
, I
2
OK OK OK OK OK OK OK OK OK
OK
--- --- ---
R ---
Name Label Operation
Error Flag P_ER OFF
Equals Flag P_EQ ON when the result is 0.
OFF in all other cases.
Negative Flag P_N ON when the leftmost bit of R is 1.
OFF in all other cases.
I1: Input 1
I
2: Input 2
R: Result word
ANDW(034)
I
1
I2
R
I1: Input 1
I
2: Input 2
R: Result word
ANDL(610)
I
1
I2
R

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals