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 #337 background imageLoading...
Page #337 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 337
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) Chapter 7
Boolean Exclusive OR
(BXOR)
The BXOR performs an exclusive OR on two boolean inputs.
To p er f o r m a b i t w i s e XO R , s e e page 323
.
Operands:
Structured Text
Use XOR as an operator within an expression. The operands must be BOOL values or
expressions that evaluate to BOOL values. This expression evaluates whether only
operandA or only operandB is set (true).
See Appendix B
for information on the syntax of expressions within structured text.
Function Block
FBD_BOOLEAN_XOR Structure
Operand Type Format Description
BXOR tag FBD_BOOLEAN_XOR Structure BXOR structure
IF operandA XOR operandB THEN
<statement>;
END_IF;
Input Parameter Data Type Description
EnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.
Default is set.
In1 BOOL First boolean input.
Default is cleared.
In2 BOOL Second boolean input.
Default is cleared.
Output Parameter Data Type Description
EnableOut BOOL Enable output.
Out BOOL The output of the instruction.

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