EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #480 background imageLoading...
Page #480 background image
3. Instructions
442
CS/CJ/NSJ Series Instructions Reference Manual (W474)
XORW/XORL
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
EXCLUSIVE OR XORW @XORW 036
Takes the logical exclusive OR of corresponding
bits in single words of word data and/or constants.
DOUBLE EXCLUSIVE OR XORL @XORL 612
Takes the logical exclusive OR of corresponding
bits in double words of word data and/or con-
stants.
Symbol
XORW XORL
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description
Data type Size
XORW XORL XORW XORL
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/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
XORW
I
1
, I
2
OK OK OK OK OK OK OK OK OK OK
OK
OK --- OK --- --- --- ---
R ---
XORL
I
1
, I
2
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---
R ---
Name Label Operation
Error Flag ER OFF
Equals Flag = • ON when the result is 0.
• OFF in all other cases.
Negative Flag 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
XORW(036)
I
1
I2
R
I1: Input 1
I
2: Input 2
R: Result word
XORL(612)
I
1
I2
R

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals