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 #334 background imageLoading...
Page #334 background image
334 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 7 Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Boolean OR (BOR)
The BOR instruction logically OR as many as eight boolean inputs.
To perform a bitwise OR, see page 319
.
Operands:
Structured Text
Use OR as an operator within an expression. The operands must be BOOL values or
expressions that evaluate to BOOL values. This expression evaluates whether operandA or
operandB or both are set (true).
See Appendix B
for information on the syntax of expressions within structured text.
Function Block
FBD_BOOLEAN_OR Structure
Operand Type Format Description
BOR tag FBD_BOOLEAN_OR Structure BOR structure
IF operandA OR operandB THEN
<statement>;
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.
In3 BOOL Third boolean input.
Default is cleared.
In4 BOOL Fourth boolean input.
Default is cleared.
In5 BOOL Fifth boolean input.
Default is cleared.
In6 BOOL Sixth boolean input.
Default is cleared.
In7 BOOL Seventh boolean input.
Default is cleared.
In8 BOOL Eighth 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