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.

Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) 309FBD_LOGICAL StructureInput Parameter Data Type DescriptionEnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.Default is set.SourceA DINT Value to OR with SourceB.Valid = any integerSourceB DINT Value to OR with SourceA.Valid = any integerOutput Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.Dest DINT Result of the instruction. Arithmetic status flags are set for this output.Description:When enabled, the instruction evaluates the OR operation:If the Bit InSource A IsAnd the Bit InSource B IsThe Bit In theDestination Is0 0 00 1 11 0 11 1 1If you mix integer data types, the instruction fills the upper bits of thesmaller integer data types with 0s so that they are the same size as thelargest data type.Arithmetic Status FlagsFault Conditions:Execution:Conditionprescanrung-condition-in is falserung-condition-in is truepostscanArithmetic status flags are affected.noneRelay LadderActionThe rung-condition-out is set to false.The rung-condition-out is set to false.The instruction performs a bitwise OR operation.The rung-condition-out is set to true.The rung-condition-out is set to false.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!