12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

322 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Boolean OR (BOR)The BOR instruction logically ORs as many as eight boolean inputs.To perform a bitwise OR, see page 13-308.Operands:Structured TextIF operandA OR operandB THEN;END_IF;Use OR as an operator within an expression. The operands must beBOOL values or expressions that evaluate to BOOL values. Thisexpression evaluates whether operandA or operandB or both areset (true).See Appendix B for information on the syntax of expressions withinstructured text.Function BlockOperand Type Format DescriptionBOR tag FBD_BOOLEAN_OR structure BOR structureFBD_BOOLEAN_OR StructureInput Parameter Data Type DescriptionEnableIn 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.Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!