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.

304 Move/Logical <strong>Instructions</strong> (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)Relay LadderInitialize the tags.Reverse the bytes.Determine whether the SWPB instruction has acted on all the elements in the array.Structured Textindex := 0;SIZE (array[0],0,array_length);REPEATSWPB(array[index],REVERSE,array_bytes_reverse[index]);index := index + 1;UNTIL(index >= array_length)END_REPEAT;Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!