124 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 3 Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)
Retentive Timer On (RTO)
The RTO instruction is a retentive timer that accumulates time when the
instruction is enabled. This instruction is available in structured text and
function block as RTOR.
Operands:
Relay Ladder
TIMER Structure
Operand Type Format Description
Timer TIMER Tag Timer structure
Preset DINT Immediate How long to delay (accumulate time)
Accum DINT Immediate Number of milliseconds the timer has counted
Initial value is typically 0
Mnemonic Data Type Description
.EN BOOL The enable bit indicates that the RTO instruction is enabled.
.TT BOOL The timing bit indicates that a timing operation is in process
.DN BOOL The done bit indicates that .ACC ≥ .PRE.
.PRE DINT The preset value specifies the value (1 ms units) that the accumulated value must reach before the
instruction sets the .DN bit.
.ACC DINT The accumulated value specifies the number of milliseconds that have elapsed since the RTO
instruction was enabled.