EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 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 #323 background imageLoading...
Page #323 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 323
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) Chapter 7
Bitwise Exclusive OR (XOR)
The XOR instruction performs a bitwise XOR operation by using the bits in Source A
and Source B and places the result in the Destination.
To p er f o r m a l o g i c a l XO R , s e e page 337
.
Operands:
Relay Ladder
Structured Text
Use XOR as an operator within an expression. This expression evaluates sourceA XOR
sourceB.
See Structured Text Programming
for information on the syntax of expressions within
structured text.
Function Block
Operand Type Format Description
Source A SINT
INT
DINT
Immediate
Tag
Value to XOR with Source B
A SINT or INT tag converts to a DINT value by zero-fill.
Source B SINT
INT
DINT
Immediate
Tag
Value to XOR with Source A
A SINT or INT tag converts to a DINT value by zero-fill.
Destination SINT
INT
DINT
Tag Stores the result
Operand Type Format Description
XOR tag FBD_LOGICAL Structure XOR structure
dest := sourceA XOR sourceB

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals