en-us_products:mpino_studio2:box_functions:timer:toff
Table of Contents
TOFF Box Function
Off Delay Timer
Category: Timer Box Functions
Behavior
Turns the done state ON immediately with the input. After the input turns OFF, the done state turns OFF when the set time has elapsed.
Syntax and Arguments
Syntax: TOFF T0 100
- Target — timer memory T<n> (16-bit) or DT<n> (32-bit)
- Time (preset) — 10ms ticks by default (1ms or 10ms in the settings). A number (ticks), a time unit like 1m10s, or a memory address such as
D10
Behavior Example
| Run condition | Before | Command entered | Expected result |
|---|---|---|---|
| Left condition ON → OFF | T0 done contact=ON | TOFF T0 100 | 1 s later (default unit) → T0 done contact=OFF |
Cautions
- A numeric time is a tick count. By default, the TON family uses 10 ms per tick and the TAON family uses 100 ms per tick; you can change this for each project in Timer Unit Settings. Changing the unit also changes the actual time of a numeric value.
- If you enter a memory address such as
D10in the time field, you can change the time while running, for example from an HMI. The memory value is a tick count, not a time: with the default unit,TOFF T0 D10uses 5 seconds when D10 is 500. For details, see Set the Preset from Memory.
Box Functions in the Same Category
- TON View details — On Delay Timer
- TPL View details — Pulse Timer
- TMON View details — Monostable / One-shot Timer
- TMR View details — Retentive 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/toff.txt · Last modified: by 127.0.0.1
