RTO (retentive timer, on-delay)

The RTO instruction increases an internal timer when input is active, but does not reset the internal timer when input changes to inactive.
Operation details:
  • For
    Micro810
    LC10 or
    Micro820
    L20E controllers, the RTO internal timer does not persist through a power cycle by default. To persist the internal timer, set the Retained configuration parameter to true.
  • For
    Micro850
    L50E controllers, the RTO internal timer persists through a power cycle.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the
Micro810
LC10,
Micro820
L20E,
Micro850
L50E, and
Micro870
L70E controllers.
RTO
RTO
RTO parameter
Parameter
Parameter type
Data type
Description
IN
Input
BOOL
Input control.
  • TRUE: Rising edge, starts increasing internal timer.
  • FALSE: Falling edge, stops and does not reset the internal timer.
RST
Input
BOOL
  • TRUE: Rising edge, resets the internal timer.
  • FALSE: Does not reset internal timer.
PT
Input
TIME
Maximum programmed on-delay time. PT is defined using the Time data type.
Q
Output
BOOL
  • TRUE: Programmed on-delay time is elapsed.
  • FALSE: Program on-delay time has not elapsed.
ET
Output
TIME
Current elapsed time.
Values range from 0ms through 1193h2m47s294ms.
ET is defined using the Time data type.

RTO examples

RTO timing diagram example
RTO timing diagram example
RTO function block diagram example
RTO function block diagram example
RTO ladder diagram example
RTO ladder diagram example
RTO structured text example
RTO structured text example
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal