Table of Contents

TMR Box Function

Retentive Timer

Category: Timer Box Functions

Behavior

Accumulates time while the input is ON. When it turns OFF, the current and done states are retained; counting resumes from that value on the next ON. Use a ladder RESET coil to initialize it.

Syntax and Arguments

Syntax: TMR T0 100

Behavior Example

Run condition Before Command entered Expected result
Left condition ON T0=40 TMR T0 100 0.6 seconds (60 ticks) → T0=100, T0 done contact=ON

TMR input, current value, and done state

Cautions

Box Functions in the Same Category