Boolean Or (Bor); Structured Text; Function Block; Fbd_Boolean_Or Structure - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 7
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)

Boolean OR (BOR)

IF operandA OR operandB THEN
<statement>;
Input Parameter
Data Type
EnableIn
BOOL
In1
BOOL
In2
BOOL
In3
BOOL
In4
BOOL
In5
BOOL
In6
BOOL
In7
BOOL
In8
BOOL
Output Parameter
Data Type
EnableOut
BOOL
Out
BOOL
334
The BOR instruction logically OR as many as eight boolean inputs.
To perform a bitwise OR, see
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

Function Block

Operand
BOR tag

FBD_BOOLEAN_OR Structure

Description
Enable input. If cleared, the instruction does not execute and outputs are not updated.
Default is set.
First boolean input.
Default is cleared.
Second boolean input.
Default is cleared.
Third boolean input.
Default is cleared.
Fourth boolean input.
Default is cleared.
Fifth boolean input.
Default is cleared.
Sixth boolean input.
Default is cleared.
Seventh boolean input.
Default is cleared.
Eighth boolean input.
Default is cleared.
Description
Enable output.
The output of the instruction.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
319.
for information on the syntax of expressions within structured text.
Type
FBD_BOOLEAN_OR
Format
Description
Structure
BOR structure

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents