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.

326 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Execution:Conditionprescaninstruction first scaninstruction first runEnableIn is clearedEnableIn is setpostscanFunction Block ActionNo action taken.No action taken.No action taken.EnableOut is cleared.The instruction executes.EnableOut is set.No action taken.Example 1:This example performs an exclusive OR on bool_in1 and bool_in2and places the result in value_result_xor.If BOOL_IN1 Is If BOOL_IN2 Is Then VALUE_RESULT_XOR Is0 0 00 1 11 0 11 1 0Structured Textvalue_result_xor := bool_in1 XOR bool_in2;Function BlockPublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!