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.

488 Special <strong>Instructions</strong> (FBC, DDT, DTR, PID)Diagnostic Detect (DDT)The DDT instruction compares bits in a Source array with bits in aReference array to determine changes of state.Operands:Relay LadderOperand Type Format DescriptionSource 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 resultsdo not use CONTROL.POS in the subscriptCmp control CONTROL structure control structure for the compareLength DINT immediate number of bits to comparePosition DINT immediate current position in the sourceinitial value 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 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!