User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:timer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en-us_products:mpino_studio2:box_functions:timer [2026/09/09 18:44] – 바깥 편집 127.0.0.1en-us_products:mpino_studio2:box_functions:timer [2026/09/10 01:05] (current) – 바깥 편집 127.0.0.1
Line 5: Line 5:
 {{ :en-us_products:mpino_studio2:timer-behavior.svg?1000 |These commands create a completion state from an input condition and elapsed time. }} {{ :en-us_products:mpino_studio2:timer-behavior.svg?1000 |These commands create a completion state from an input condition and elapsed time. }}
  
-This ladder screen shows TON connected to a contact condition. +===== Common Rules =====
- +
-{{ :en-us_products:mpino_studio2:ladder-timer-ton-2x.png?1000 |This ladder screen shows TON connected to a contact condition. }} +
- +
-{{ :en-us_products:mpino_studio2:timer-examples.svg?1000 |Box-function inputs and example results }} +
- +
-===== 1. Common Rules =====+
  
 The ''TON'' family uses a 10 ms tick; the ''TAON'' family uses a 100 ms tick. A number is a tick count, and time literals such as ''1h30m'', ''10s'', and ''500ms'' are accepted. Use ''T'' for a 16-bit timer and ''DT'' for a 32-bit timer. A bit contact for the timer address reads its done state. Initialize a retentive timer with a ladder RESET coil, not box-function ''RST''. The ''TON'' family uses a 10 ms tick; the ''TAON'' family uses a 100 ms tick. A number is a tick count, and time literals such as ''1h30m'', ''10s'', and ''500ms'' are accepted. Use ''T'' for a 16-bit timer and ''DT'' for a 32-bit timer. A bit contact for the timer address reads its done state. Initialize a retentive timer with a ladder RESET coil, not box-function ''RST''.
Line 17: Line 11:
 {{ :en-us_products:mpino_studio2:timer-current-done.svg?1000 |Timer current value and done state }} {{ :en-us_products:mpino_studio2:timer-current-done.svg?1000 |Timer current value and done state }}
  
-{{ :en-us_products:mpino_studio2:timer-time-preview-marked.svg?1000 |① Time literal and its tick conversion }} +===== Box Function List =====
- +
-① Entering ''1m10s'' shows its conversion to 70 seconds and 7000 ticks above the input. +
- +
-===== 2. TON and TAON ===== +
- +
-==== TON ==== +
- +
-**On Delay Timer** +
- +
-Accumulates time while the input is ON and turns the done state ON at the set value. When the input turns OFF, the current and done states reset to zero. +
- +
-**Syntax:** ''TON T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON | T0=0 | ''TON T0 100'' | 1 s later → T0=100, T0 done contact=ON | +
- +
-==== TAON ==== +
- +
-**On Delay Timer · 100ms** +
- +
-Provides the same on-delay behavior as TON with a 100 ms tick. +
- +
-**Syntax:** ''TAON T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON | T0=0 | ''TAON T0 100'' | 10 s later → T0=100, T0 done contact=ON | +
- +
-{{ :en-us_products:mpino_studio2:timer-ton-taon-timing.svg?1000 |Input, current value, and done state over time }} +
- +
-===== 3. TOFF and TAOFF ===== +
- +
-==== TOFF ==== +
- +
-**Off Delay Timer** +
- +
-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:** ''TOFF T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON → OFF | T0 done contact=ON | ''TOFF T0 100'' | 1 s later → T0 done contact=OFF | +
- +
-==== TAOFF ==== +
- +
-**Off Delay Timer · 100ms** +
- +
-Provides the same off-delay behavior as TOFF with a 100 ms tick. +
- +
-**Syntax:** ''TAOFF T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON → OFF | T0 done contact=ON | ''TAOFF T0 100'' | 10 s later → T0 done contact=OFF | +
- +
-{{ :en-us_products:mpino_studio2:timer-toff-taoff-timing.svg?1000 |Input, current value, and done state over time }} +
- +
-===== 4. TPL and TAPL ===== +
- +
-==== TPL ==== +
- +
-**Pulse Timer** +
- +
-Turns the done state ON when the input changes to ON. It turns OFF when the input turns OFF or the set time expires, whichever happens first. +
- +
-**Syntax:** ''TPL T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition turns ON once | T0=0 | ''TPL T0 100'' | 0 s → T0 done contact=ON; 1 s later → OFF | +
- +
-==== TAPL ==== +
- +
-**Pulse Timer · 100ms** +
- +
-Provides the same input-held pulse behavior as TPL with a 100 ms tick. +
- +
-**Syntax:** ''TAPL T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition turns ON once | T0=0 | ''TAPL T0 100'' | 0 s → T0 done contact=ON; 10 s later → OFF | +
- +
-{{ :en-us_products:mpino_studio2:timer-tpl-tapl-timing.svg?1000 |Input, current value, and done state over time }} +
- +
-===== 5. TMON and TAMON ===== +
- +
-==== TMON ==== +
- +
-**Monostable / One-shot Timer** +
- +
-Starts one pulse when the input turns ON and holds the done state ON for the set time. Input changes and retriggers are ignored during that pulse. +
- +
-**Syntax:** ''TMON T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition turns ON once | T0=0 | ''TMON T0 100'' | 0 s → T0 done contact=ON; 1 s later → OFF | +
- +
-==== TAMON ==== +
- +
-**Monostable Timer · 100ms** +
- +
-Provides the same one-shot pulse behavior as TMON with a 100 ms tick. +
- +
-**Syntax:** ''TAMON T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition turns ON once | T0=0 | ''TAMON T0 100'' | 0 s → T0 done contact=ON; 10 s later → OFF | +
- +
-{{ :en-us_products:mpino_studio2:timer-tmon-tamon-timing.svg?1000 |Input, current value, and done state over time }} +
- +
-===== 6. TMR and TAMR ===== +
- +
-==== TMR ==== +
- +
-**Retentive Timer** +
- +
-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:** ''TMR T0 100'' +
- +
-^ 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 | +
- +
-==== TAMR ==== +
- +
-**Retentive Timer · 100ms** +
- +
-Provides the same retentive behavior as TMR with a 100 ms tick. Use a ladder RESET coil to initialize it. +
- +
-**Syntax:** ''TAMR T0 100'' +
- +
-^ Run condition ^ Before ^ Command entered ^ Expected result ^ +
-| Left condition ON | T0=40 | ''TAMR T0 100'' | 6 seconds (60 ticks) → T0=100, T0 done contact=ON | +
- +
-{{ :en-us_products:mpino_studio2:timer-tmr-tamr-timing.svg?1000 |Input, current value, and done state over time }} +
- +
-===== 7. Troubleshooting =====+
  
-Symptom What to check +Command Meaning 
-The delay is ten times longer than expected. | Check the 10 ms tick for the TON family and the 100 ms tick for the TAON family. | +[[en-us_products:mpino_studio2:box_functions:timer:ton|TON]] | Accumulates time while the input is ON and turns the done state ON at the set value. | 
-The done contact does not turn OFF. | For the TMR family, initialize the timer address with a RESET coil. |+| [[en-us_products:mpino_studio2:box_functions:timer:toff|TOFF]] | Turns the done state ON immediately with the input. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:tpl|TPL]] | Turns the done state ON when the input changes to ON. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:tmon|TMON]] | Starts one pulse when the input turns ON and holds the done state ON for the set time. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:tmr|TMR]] | Accumulates time while the input is ON. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:taon|TAON]] | Provides the same on-delay behavior as TON with a 100 ms tick. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:taoff|TAOFF]] | Provides the same off-delay behavior as TOFF with a 100 ms tick. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:tapl|TAPL]] | Provides the same input-held pulse behavior as TPL with a 100 ms tick. | 
 +[[en-us_products:mpino_studio2:box_functions:timer:tamon|TAMON]] | Provides the same one-shot pulse behavior as TMON with a 100 ms tick. | 
 +| [[en-us_products:mpino_studio2:box_functions:timer:tamr|TAMR]] | Provides the same retentive behavior as TMR with a 100 ms tick. |
  
 ===== Related Documentation ===== ===== Related Documentation =====
  
   * [[en-us_products:mpino_studio2:box_functions|Phase 4 · Box Functions]]   * [[en-us_products:mpino_studio2:box_functions|Phase 4 · Box Functions]]
-  * [[en-us_products:mpino_studio2:box_functions:counter|Counter Box Functions]] 
   * [[en-us_products:mpino_studio2|MPINO STUDIO 2 User Manual]]   * [[en-us_products:mpino_studio2|MPINO STUDIO 2 User Manual]]
  
en-us_products/mpino_studio2/box_functions/timer.1788947072.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki