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.

118 Timer and Counter <strong>Instructions</strong> (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)Retentive Timer On withReset (RTOR)The RTOR instruction is a retentive timer that accumulates time whenTimerEnable is set.This instruction is available in relay ladder as two separateinstructions: RTO (see page 4-105) and RES (see page 136).Operands:RTOR(RTOR_tag);Structured TextVariable Type Format DescriptionRTOR tag FBD_TIMER structure RTOR structureFunction Block OperandsOperand Type Format DescriptionRTOR tag FBD_TIMER structure RTOR structureFBD_TIMER StructureInput Parameter Data Type DescriptionEnableIn BOOL Function Block:If cleared, the instruction does not execute and outputs are not updated.If set, the instruction executes.Default is set.Structured Text:No effect. The instruction executes.TimerEnable BOOL If set, this enables the timer to run and accumulate time.Default is cleared.PRE DINT Timer preset value. This is the value in 1msec units that ACC must reach before timing isfinished. If invalid, the instruction sets the appropriate bit in Status and the timer doesnot execute.Valid = 0 to maximum positive integerReset BOOL Request to reset the timer. When set, the timer resets.Output Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.ACC DINT Accumulated time in milliseconds. This value is retained even while the TimerEnable input iscleared. This makes the behavior of this block different than the TONR block.EN BOOL Timer enabled output. Indicates the timer instruction is enabled.TT BOOL Timer timing output. When set, a timing operation is in progress.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!