Boolean And (Band); Structured Text; Function Block; Fbd_Boolean_And 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

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

Boolean AND (BAND)

IF operandA AND 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
The BAND instruction logically AND as many as eight boolean inputs.
To perform a bitwise AND, see
Operands:

Structured Text

Use AND or the ampersand sign '&' as an operator within an expression. The operands
must be BOOL values or expressions that evaluate to BOOL values. This expression
evaluates whether operandA and operandB are both set (true).
See
Appendix B

Function Block

Operand
BAND tag

FBD_BOOLEAN_AND Structure

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents