en-us_products:mpino_studio2:box_functions:timer:tmr
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
- Target — timer memory T<n> (16-bit) or DT<n> (32-bit)
- Time (preset) — 10ms ticks. A number (ticks) or a time unit like 1m10s
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 |
Cautions
- A numeric time is a tick count. The TON family uses 10 ms per tick, and the TAON family uses 100 ms per tick.
- Use a ladder RESET coil, rather than box-function RST, to initialize the current and done states.
Box Functions in the Same Category
- TON View details — On Delay Timer
- TOFF View details — Off Delay Timer
- TPL View details — Pulse Timer
- TMON View details — Monostable / One-shot Timer
- TAON View details — On Delay Timer · 100ms
- TAOFF View details — Off Delay Timer · 100ms
- TAPL View details — Pulse Timer · 100ms
- TAMON View details — Monostable Timer · 100ms
- TAMR View details — Retentive Timer · 100ms
en-us_products/mpino_studio2/box_functions/timer/tmr.txt · Last modified: by 127.0.0.1
