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.

480 Special <strong>Instructions</strong> (FBC, DDT, DTR, PID)File Bit Comparison (FBC)The FBC instruction compares bits in a Source array with bits in aReference array.Operands:Relay LadderOperand Type Format Description:Source DINT array tag array to compare to the referencedo not use CONTROL.POS in the subscriptReference DINT array tag array to compare to the sourcedo not use CONTROL.POS in the subscriptResult DINT array tag array to store the resultdo not use CONTROL.POS in the subscriptsCmp control CONTROL structure control structure for the compareLength DINT immediate number of bits to comparePosition DINT immediate current position in the sourceinitial value is typically 0Result CONTROL structure control structure for the resultscontrolLength DINT immediate number of storage locations in the resultPosition DINT immediate current position in the resultinitial value is typically 0ATTENTIONUse different tags for the compare control structure and theresult control structure. Using the same tag for both couldresult in unpredictable operation, possibly causing equipmentdamage and/or injury to personnel.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!