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.

96 Timer and Counter <strong>Instructions</strong> (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)Timer On Delay (TON)The TON instruction is a non-retentive timer that accumulates timewhen the instruction is enabled (rung-condition-in is true).This instruction is available in structured text and function block asTONR, see page 4-110.Operands:Relay LadderOperand Type Format DescriptionTimer TIMER tag timer structurePreset DINT immediate how long to delay (accumulate time)Accum DINT immediate total msec the timer has countedinitial value is typically 0TIMER StructureMnemonic Data Type Description.EN BOOL The enable bit indicates that the TON instruction is enabled..TT BOOL The timing bit indicates that a timing operation is in process.DN BOOL The done bit is set when .ACC ≥ .PRE..PRE DINT The preset value specifies the value (1 msec units) which the accumulated value must reachbefore the instruction sets the .DN bit..ACC DINT The accumulated value specifies the number of milliseconds that have elapsed since theTON instruction was enabled.Description:The TON instruction accumulates time until:• the TON instruction is disabled• the .ACC ≥ .PREThe time base is always 1 msec. For example, for a 2-second timer,enter 2000 for the .PRE value.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!