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) 313Execution:Relay LadderConditionprescanrung-condition-in is falserung-condition-in is truepostscanActionThe 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.Function BlockConditionprescaninstruction first scaninstruction first runEnableIn is clearedEnableIn is setpostscanActionNo action taken.No action taken.No action taken.EnableOut is cleared.The instruction executes.EnableOut is set.No action taken.Example:When enabled, the XOR instruction performs a bitwise XOR operationon SourceA and SourceB and places the result in the destination tag.value_1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1value_2 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0value_result_xor 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!