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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

328 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Boolean NOT (BNOT)The BNOT instruction complements a boolean input.To perform a bitwise NOT, see page 13-315.Operands:Structured TextIF NOT operand THEN;END_IF;Use NOT as an operator within an expression. The operand must be aBOOL values or expressions that evaluate to BOOL values. Thisexpression evaluates whether operand is cleared (false).See Structured Text Programming for information on the syntax ofexpressions within structured text.Function BlockOperand Type Format DescriptionBNOT tag FBD_BOOLEAN_NOT structure BNOT structureFBD_BOOLEAN_NOT StructureInput Parameter Data Type DescriptionEnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.Default is set.In BOOL Input to the instruction.Default is set.Output Parameter Data Type Description:EnableOut BOOL Enable output.Out BOOL The output of the instruction.Description:The BNOT instruction complements a boolean input.Out = NOT InArithmetic Status Flags:Fault Conditions:not affectednonePublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!