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.

Sequencer <strong>Instructions</strong> (SQI, SQO, SQL) 425Example:When enabled, the SQI instruction passes value_2 through the maskto determine whether the result is equal to the current element inarray_dint. The masked comparison is true, so the rung-condition-outgoes true.SQI Operand Example Values (DINTs Displayed In Binary)Sourcexxxxxxxx xxxxxxxx xxxx0101 xxxx1010Mask 00000000 00000000 00001111 00001111Arrayxxxxxxxx xxxxxxxx xxxx0101 xxxx1010A 0 in the mask means the bit is not compared (designated by xxxx inthis example).Use SQI without SQOIf you use the SQI instruction without a paired SQO instruction, youhave to externally increment the sequencer array.The SQI instruction compares the source value. The ADD instructionincrements the sequencer array. The GRT determined whetheranother value is available to check in the sequencer array. The MOVinstruction resets the position value after completely stepping throughthe sequencer array one time.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!